/* ==========================================================================
   Stories by Tiffany — Coming Soon Landing Page Styles
   Brand Palette:
     Warm Cream:    #FFF8E7
     Forest Green:  #405D35
     Autumn Gold:   #DDAA42
     Deep Burgundy: #662D35
     Dark Brown:    #3C281C
   ========================================================================== */

:root {
  --color-cream: #FFF8E7;
  --color-cream-soft: #FAF4E4;
  --color-cream-card: #FFFFFF;
  --color-green: #405D35;
  --color-green-light: #527545;
  --color-green-soft: rgba(64, 93, 53, 0.1);
  --color-gold: #DDAA42;
  --color-gold-light: #F4C76C;
  --color-gold-soft: rgba(221, 170, 66, 0.18);
  --color-burgundy: #662D35;
  --color-burgundy-soft: rgba(102, 45, 53, 0.08);
  --color-brown: #3C281C;
  --color-brown-muted: #5E4638;
  --color-border: rgba(60, 40, 28, 0.12);

  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 2px 8px rgba(60, 40, 28, 0.06);
  --shadow-md: 0 8px 24px rgba(60, 40, 28, 0.08);
  --shadow-lg: 0 16px 40px rgba(60, 40, 28, 0.12);
  --shadow-glow: 0 0 45px rgba(221, 170, 66, 0.22);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 9999px;

  --container-max: 1120px;
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-cream);
  color: var(--color-brown);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(221, 170, 66, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 35%, rgba(64, 93, 53, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(102, 45, 53, 0.06) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 10px;
  background: var(--color-burgundy);
  color: var(--color-cream);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 100;
  transition: top 0.2s ease;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  top: 10px;
}

/* Main Container */
.page-wrapper {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 24px 20px 48px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* --------------------------------------------------------------------------
   Section A: Brand Header
   -------------------------------------------------------------------------- */
.brand-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 0 8px;
}

.logo-wrapper {
  display: inline-block;
  max-width: 320px;
  width: 85%;
  transition: transform 0.3s ease;
}

.logo-wrapper:hover {
  transform: translateY(-2px);
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1004 / 885;
  object-contain: contain;
  filter: drop-shadow(0 6px 14px rgba(60, 40, 28, 0.12));
}

/* --------------------------------------------------------------------------
   Section B: Main Announcement
   -------------------------------------------------------------------------- */
.announcement-section {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--color-green-soft);
  color: var(--color-green);
  border: 1px solid rgba(64, 93, 53, 0.22);
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(221, 170, 66, 0.25);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(221, 170, 66, 0.5); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 7px rgba(221, 170, 66, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(221, 170, 66, 0); }
}

.main-headline {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-brown);
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}

.main-headline .accent-text {
  color: var(--color-green);
  position: relative;
  display: inline-block;
}

.supporting-text {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--color-brown-muted);
  margin-bottom: 12px;
  font-weight: 400;
}

.coming-soon-notice {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-burgundy);
  letter-spacing: 0.01em;
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   Section C: Featured Book Showcase
   -------------------------------------------------------------------------- */
.featured-book-section {
  background: var(--color-cream-card);
  border: 2px solid var(--color-gold-soft);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.featured-book-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-green), var(--color-gold), var(--color-burgundy));
}

.book-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.book-cover-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.book-cover-frame {
  max-width: 320px;
  width: 100%;
  border-radius: var(--radius-md);
  padding: 12px;
  background: linear-gradient(145deg, #FFFDF8 0%, #F5ECDA 100%);
  border: 2px solid rgba(221, 170, 66, 0.4);
  box-shadow: 0 16px 32px rgba(60, 40, 28, 0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.book-cover-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(60, 40, 28, 0.2);
}

.book-cover-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 365 / 375;
  object-fit: contain;
  border-radius: calc(var(--radius-md) - 6px);
}

.book-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.book-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.pill-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.pill-gold {
  background: var(--color-gold-soft);
  color: #8C620E;
  border: 1px solid rgba(221, 170, 66, 0.35);
}

.pill-burgundy {
  background: var(--color-burgundy-soft);
  color: var(--color-burgundy);
  border: 1px solid rgba(102, 45, 53, 0.2);
}

.book-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-brown);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.book-tagline {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-green);
  font-weight: 500;
}

.book-description {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-brown-muted);
}

.book-credits {
  margin-top: 6px;
  padding: 14px 18px;
  background: var(--color-cream-soft);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--color-gold);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9375rem;
}

.credit-line strong {
  color: var(--color-brown);
}

.author-name {
  color: var(--color-burgundy);
}

.illustrator-name {
  color: var(--color-green);
}

.publisher-note {
  font-size: 0.8125rem;
  color: var(--color-brown-muted);
  margin-top: 2px;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Section D: Decorative Storytelling Visual
   -------------------------------------------------------------------------- */
.storytelling-section {
  background: linear-gradient(135deg, rgba(64, 93, 53, 0.08) 0%, rgba(221, 170, 66, 0.1) 100%);
  border: 1px solid rgba(64, 93, 53, 0.18);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.storytelling-image-wrap {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(221, 170, 66, 0.4);
}

.storytelling-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 682 / 500;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.storytelling-image-wrap:hover .storytelling-img {
  transform: scale(1.03);
}

.storytelling-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.storytelling-heading {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-brown);
}

.storytelling-quote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--color-brown);
  line-height: 1.6;
}

.storytelling-closing {
  font-size: 0.95rem;
  color: var(--color-green);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Section E: Footer
   -------------------------------------------------------------------------- */
.page-footer {
  flex-shrink: 0;
  width: 100%;
  border-top: 1px solid var(--color-border);
  background: rgba(255, 248, 231, 0.85);
  backdrop-filter: blur(8px);
  padding: 24px 20px;
  margin-top: auto;
}

.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-brown-muted);
}

.copyright {
  font-weight: 500;
}

.managed-by {
  font-size: 0.8125rem;
  color: var(--color-brown-muted);
}

.tait-link {
  color: var(--color-green);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.tait-link:hover,
.tait-link:focus {
  color: var(--color-burgundy);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Responsive Layout Media Queries
   -------------------------------------------------------------------------- */

/* Tablet & Up (>= 768px) */
@media (min-width: 768px) {
  .page-wrapper {
    padding: 36px 32px 64px;
    gap: 48px;
  }

  .logo-wrapper {
    max-width: 360px;
  }

  .main-headline {
    font-size: 2.9rem;
  }

  .supporting-text {
    font-size: 1.25rem;
  }

  .coming-soon-notice {
    font-size: 1.4rem;
  }

  .featured-book-section {
    padding: 44px 40px;
  }

  .book-grid {
    grid-template-columns: 320px 1fr;
    gap: 40px;
  }

  .book-info {
    text-align: left;
  }

  .book-title {
    font-size: 2.6rem;
  }

  .storytelling-section {
    grid-template-columns: 360px 1fr;
    padding: 32px 36px;
    gap: 36px;
  }

  .storytelling-text {
    text-align: left;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Desktop & Up (>= 1024px) */
@media (min-width: 1024px) {
  .page-wrapper {
    padding: 44px 40px 72px;
    gap: 56px;
  }

  .logo-wrapper {
    max-width: 400px;
  }

  .main-headline {
    font-size: 3.25rem;
  }

  .featured-book-section {
    padding: 52px 48px;
  }

  .book-grid {
    grid-template-columns: 360px 1fr;
    gap: 52px;
  }

  .book-title {
    font-size: 3rem;
  }

  .storytelling-section {
    grid-template-columns: 420px 1fr;
    gap: 44px;
  }
}

/* Print Styles */
@media print {
  body {
    background: #FFF;
    color: #000;
  }
  .brand-logo, .book-cover-img, .storytelling-img {
    filter: none !important;
  }
}

