/* ===================================================================
   Melissa McAran — MM Romantic Cozy Fantasy
   Design system: Enchanted Emerald · Antique Gold · Parchment Ivory
   =================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Backgrounds */
  --emerald:        #053D35;
  --emerald-deep:   #04332C;
  --midnight-teal:  #022B32;
  --blackwood:      #102D26;
  --washed-teal:    #2F6D68;

  /* Golds */
  --gold:           #D8B866;
  --gold-bright:    #F0D88A;
  --gold-deep:      #B7975087;

  /* Lights */
  --parchment:      #F7F0DD;
  --cream:          #FFF8E8;
  --moss:           #7B9367;
  --lavender:       #9B87B8;
  --plum:           #4B365F;

  /* Text */
  --ink:            #12332D;
  --slate:          #5C625E;
  --cream-soft:     #F3ECD8;
  --cream-dim:      rgba(247, 240, 221, 0.72);
  --cream-faint:    rgba(247, 240, 221, 0.48);

  /* Semantic */
  --bg:             var(--emerald);
  --surface:        var(--parchment);
  --on-bg:          var(--cream);
  --on-surface:     var(--ink);

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-label:   "Cinzel", Georgia, serif;
  --font-body:    "EB Garamond", Georgia, serif;

  /* Spacing scale (8pt) */
  --sp-1: 0.5rem;  --sp-2: 1rem;   --sp-3: 1.5rem;
  --sp-4: 2rem;    --sp-6: 3rem;   --sp-8: 4rem;
  --sp-12: 6rem;   --sp-16: 8rem;

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --radius:    18px;
  --radius-lg: 26px;

  /* Effects */
  --shadow-sm: 0 4px 16px rgba(2, 22, 18, 0.28);
  --shadow-md: 0 14px 40px rgba(2, 22, 18, 0.40);
  --shadow-lg: 0 28px 70px rgba(2, 22, 18, 0.55);
  --glow-gold: 0 0 28px rgba(216, 184, 102, 0.35);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:  cubic-bezier(0.4, 0, 1, 1);
  --dur-fast: 180ms;
  --dur:      300ms;
  --dur-slow: 480ms;

  /* z-index scale */
  --z-base: 1; --z-raised: 10; --z-sticky: 40; --z-overlay: 100; --z-modal: 1000;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: 1.1875rem;         /* ~19px bookish body */
  line-height: 1.7;
  color: var(--on-bg);
  background: var(--emerald);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

/* ---------- Accessibility ---------- */
:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: 50%; transform: translateX(-50%) translateY(-130%);
  top: 12px; z-index: var(--z-modal);
  background: var(--gold); color: var(--blackwood);
  padding: 0.6rem 1.2rem; border-radius: 999px; font-family: var(--font-label);
  font-size: 0.8rem; letter-spacing: 0.08em; transition: transform var(--dur) var(--ease-out);
}
.skip-link:focus { transform: translateX(-50%) translateY(0); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.5rem; }
.container-narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); position: relative; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-label);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 0.75rem;
}
.eyebrow::before, .eyebrow.flanked::after {
  content: ""; width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow.flanked::after { background: linear-gradient(90deg, var(--gold), transparent); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: 0.005em; }
.display {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 600;
}
.h2 { font-size: clamp(2.15rem, 4.4vw, 3.35rem); }
.h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.lead { font-size: 1.32rem; line-height: 1.6; color: var(--cream-dim); }
.measure { max-width: 60ch; }

/* drop-cap flourish for first letter where used */
.dropcap::first-letter {
  font-size: 1.45em; line-height: 1; color: var(--gold-bright);
  font-family: var(--font-display);
}

/* ---------- Ornamental divider ---------- */
.divider { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--gold); }
.divider span { height: 1px; width: min(120px, 22vw); background: linear-gradient(90deg, transparent, var(--gold-deep)); }
.divider span:last-child { background: linear-gradient(90deg, var(--gold-deep), transparent); }
.divider svg { width: 26px; height: 26px; opacity: 0.9; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-label);
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.95rem 1.7rem; border-radius: 999px;
  min-height: 48px;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
              background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
  position: relative; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--gold); color: var(--blackwood); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--gold-bright); transform: translateY(-2px); box-shadow: var(--shadow-md), var(--glow-gold); }
.btn-ghost { background: transparent; color: var(--cream); border: 1.5px solid var(--gold-deep); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); box-shadow: var(--glow-gold); }
/* solid teal button — pairs with the gold primary on light surfaces */
.btn-teal { background-color: var(--washed-teal); color: var(--cream); box-shadow: var(--shadow-sm); border: 1.5px solid transparent; }
.btn-teal:hover { background-color: #3a857f; color: var(--cream); transform: translateY(-2px); box-shadow: var(--shadow-md), 0 0 22px rgba(47,109,104,0.45); }
.btn-dark { background: var(--emerald); color: var(--parchment); border: 1.5px solid var(--gold-deep); }
.btn-dark:hover { background: var(--emerald-deep); border-color: var(--gold); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.985); }

/* ===================================================================
   HEADER / NAV
   =================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-sticky);
  transition: background var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
              padding var(--dur) var(--ease-out);
  padding-block: 1.1rem;
}
.site-header.scrolled {
  background: rgba(4, 51, 44, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--gold-deep), var(--shadow-sm);
  padding-block: 0.7rem;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-name {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 600;
  color: var(--gold-bright); letter-spacing: 0.01em;
}
/* Bookmania outlined wordmark (exported by the author) */
.brand-logo { display: block; height: 34px; width: auto; max-width: 100%; transition: filter var(--dur) var(--ease-out); }
.brand:hover .brand-logo { filter: brightness(1.12) drop-shadow(0 0 10px rgba(240,216,138,0.4)); }
.footer-brand .brand-logo { width: min(290px, 100%); height: auto; }
.brand .brand-sub {
  font-family: var(--font-label); font-size: 0.6rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--cream-dim); margin-top: 0.45rem;
  text-align: center; padding-left: 0.28em;
}

.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a {
  font-family: var(--font-label); font-size: 0.74rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cream-soft);
  position: relative; padding-block: 0.4rem;
  transition: color var(--dur) var(--ease-out);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--gold); transition: width var(--dur) var(--ease-out);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold-bright); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }

.nav-social { display: none; } /* social lives in the footer only */
.nav-social a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  color: var(--gold); border: 1px solid transparent;
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.nav-social a:hover { color: var(--gold-bright); border-color: var(--gold-deep); background: rgba(216,184,102,0.08); }
.nav-social svg { width: 19px; height: 19px; }

.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 12px; color: var(--gold); }
.nav-toggle svg { width: 26px; height: 26px; margin-inline: auto; }

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 6rem; padding-bottom: 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("../img/hero-village.webp");
  background-size: cover; background-position: center 30%;
  will-change: transform;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 90% at 18% 50%, rgba(4,40,34,0.92) 0%, rgba(4,40,34,0.55) 38%, rgba(4,40,34,0.05) 65%),
    linear-gradient(180deg, rgba(2,30,28,0.55) 0%, rgba(2,30,28,0) 30%, rgba(2,30,28,0.25) 70%, rgba(3,33,30,0.85) 100%);
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-card {
  max-width: 496px;
  background: linear-gradient(160deg, rgba(255,248,232,0.97), rgba(247,240,221,0.94));
  border: 1px solid rgba(216,184,102,0.55);
  border-radius: var(--radius-lg);
  padding: clamp(1.7rem, 3.2vw, 2.6rem);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-card::after { /* inner gold hairline */
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(216,184,102,0.30);
  border-radius: calc(var(--radius-lg) - 10px); pointer-events: none;
}
.hero-card .eyebrow { color: var(--washed-teal); }
.hero-card .eyebrow::before { background: linear-gradient(90deg, transparent, var(--gold)); }
.hero-title {
  color: var(--ink); margin-top: 1rem;
  font-size: clamp(2.2rem, 4.4vw, 3.35rem); line-height: 1.08;
  text-wrap: balance;
}
.hero-title em { font-style: italic; color: var(--washed-teal); }
.hero-copy { color: #45504a; margin-top: 1.1rem; font-size: 1.24rem; max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: nowrap; gap: 0.7rem; margin-top: 1.7rem; }
.hero-actions .btn { flex: 1 1 0; justify-content: center; padding: 0.85rem 0.9rem; font-size: 0.7rem; letter-spacing: 0.06em; gap: 0.4rem; }
.hero-actions .btn svg { width: 16px; height: 16px; }
@media (max-width: 460px) { .hero-actions { flex-wrap: wrap; } .hero-actions .btn { flex: 1 1 100%; } }

/* floating ember particles */
.particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-bright), rgba(240,216,138,0));
  opacity: 0; animation: rise linear infinite;
}
@keyframes rise {
  0%   { transform: translateY(0) translateX(0) scale(0.6); opacity: 0; }
  10%  { opacity: 0.9; }
  90%  { opacity: 0.7; }
  100% { transform: translateY(-92vh) translateX(40px) scale(1.1); opacity: 0; }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  z-index: 2; color: var(--cream-dim); display: grid; place-items: center; gap: 0.5rem;
  font-family: var(--font-label); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
}
.scroll-cue svg { width: 22px; height: 22px; animation: bob 2.4s var(--ease-out) infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(7px);} }

/* ===================================================================
   SECTION BACKGROUNDS & TEXTURE
   =================================================================== */
.bg-emerald   { background: var(--emerald); }
.bg-deep      { background: var(--midnight-teal); }
.bg-gradient  { background: linear-gradient(180deg, var(--emerald) 0%, var(--emerald-deep) 60%, var(--midnight-teal) 100%); }
.starfield { position: relative; }
.starfield::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 20%, rgba(240,216,138,0.7), transparent),
    radial-gradient(1px 1px at 28% 60%, rgba(247,240,221,0.5), transparent),
    radial-gradient(1.5px 1.5px at 52% 30%, rgba(240,216,138,0.5), transparent),
    radial-gradient(1px 1px at 70% 70%, rgba(247,240,221,0.4), transparent),
    radial-gradient(1.5px 1.5px at 84% 18%, rgba(240,216,138,0.6), transparent),
    radial-gradient(1px 1px at 90% 55%, rgba(247,240,221,0.45), transparent),
    radial-gradient(1px 1px at 40% 85%, rgba(240,216,138,0.4), transparent);
  background-repeat: no-repeat;
}

/* ===================================================================
   ABOUT TEASER (home)
   =================================================================== */
.about-teaser { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-teaser .about-art {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--gold-deep);
  aspect-ratio: 4 / 5;
}
.about-teaser .about-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.about-teaser h2 { color: var(--cream); }
.about-teaser h2 .accent { color: var(--gold); font-style: italic; }
.about-teaser p { color: var(--cream-dim); margin-top: 1.2rem; }

/* image gold frame mood */
.framed { position: relative; }
.framed::after {
  content: ""; position: absolute; inset: 12px; border: 1px solid rgba(240,216,138,0.4);
  border-radius: 14px; pointer-events: none; z-index: 2;
}

/* ===================================================================
   FEATURED BOOKS
   =================================================================== */
.section-head { text-align: center; display: grid; gap: 1.1rem; justify-items: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p { color: var(--cream-dim); max-width: 56ch; }

.books-grid {
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(2, minmax(0,1fr));
}
.book-card { text-align: center; display: grid; gap: 1rem; justify-items: center; }
.book-cover {
  position: relative; border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow-md); transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
  max-width: 280px;
}
.book-cover img { width: 100%; }
.book-cover::before { /* sheen */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,248,232,0.22) 47%, transparent 58%);
  transform: translateX(-120%); transition: transform 0.9s var(--ease-out);
}
.book-card:hover .book-cover { transform: translateY(-10px) rotate(-0.6deg); box-shadow: var(--shadow-lg), var(--glow-gold); }
.book-card:hover .book-cover::before { transform: translateX(120%); }
.book-card .book-series { font-family: var(--font-label); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.book-card .book-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--cream); line-height: 1.15; }
.book-card .book-tag { color: var(--cream-faint); font-size: 0.98rem; font-style: italic; }

.book-feature {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem,5vw,4.5rem); align-items: center;
}
.book-feature .cover-wrap { justify-self: center; max-width: 360px; }
.book-feature .book-cover { max-width: 360px; }
.book-feature .book-meta .eyebrow { color: var(--gold); }
.book-feature h3 { color: var(--cream); margin-top: 0.9rem; font-size: clamp(2rem,3.5vw,2.8rem); }
.book-feature .blurb { color: var(--cream-dim); margin-top: 1.1rem; }
.book-feature .book-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.placeholder-note { font-size: 0.82rem; color: var(--cream-faint); font-style: italic; margin-top: 0.8rem; }

/* ===================================================================
   QUOTE / INTERLUDE
   =================================================================== */
.interlude { text-align: center; }
.interlude blockquote {
  font-family: var(--font-display); font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  font-style: italic; line-height: 1.3; color: var(--cream); max-width: 22ch; margin-inline: auto;
}
.interlude .quote-mark { font-size: 4rem; color: var(--gold-deep); line-height: 0.4; font-family: var(--font-display); }
.interlude cite { display: block; font-family: var(--font-label); font-style: normal; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-top: 1.4rem; }

/* ===================================================================
   NEWSLETTER
   =================================================================== */
.newsletter-band {
  position: relative;
  background: linear-gradient(155deg, var(--emerald) 0%, var(--blackwood) 100%);
  border: 1px solid var(--gold-deep); border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.6rem);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem,4vw,3rem); align-items: center;
  box-shadow: var(--shadow-md); overflow: hidden;
}
.newsletter-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background: radial-gradient(60% 80% at 85% 20%, rgba(216,184,102,0.16), transparent 60%);
}
.newsletter-letter { position: relative; z-index: 1; width: clamp(150px, 22vw, 210px); }
.newsletter-content { position: relative; z-index: 1; }
.newsletter-content h2 { color: var(--cream); }
.newsletter-content p { color: var(--cream-dim); margin-top: 0.8rem; max-width: 46ch; }
.signup-form { display: flex; gap: 0.7rem; margin-top: 1.6rem; flex-wrap: wrap; }
.signup-form .field { position: relative; flex: 1 1 240px; }
.signup-form input[type="email"] {
  width: 100%; min-height: 52px; padding: 0 1.2rem; border-radius: 999px;
  background: rgba(255,248,232,0.95); color: var(--ink);
  border: 1px solid var(--gold-deep); font-family: var(--font-body); font-size: 1.02rem;
}
.signup-form input::placeholder { color: #7c8079; }
.signup-form input:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 2px; }
.form-note { font-size: 0.82rem; color: var(--cream-faint); margin-top: 0.9rem; }
.form-msg { font-size: 0.95rem; margin-top: 0.9rem; min-height: 1.2em; color: var(--gold-bright); }

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer { background: var(--midnight-teal); border-top: 1px solid var(--gold-deep); padding-block: clamp(3rem,6vw,4.5rem) 2rem; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 2.5rem; }
.footer-brand .brand-name { font-family: var(--font-display); font-size: 1.9rem; color: var(--gold-bright); }
.footer-brand .brand-sub { font-family: var(--font-label); font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--cream-dim); margin-top: 0.4rem; }
.footer-col h4 { font-family: var(--font-label); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer-col a { color: var(--cream-dim); display: inline-block; padding-block: 0.35rem; transition: color var(--dur) var(--ease-out); }
.footer-col a:hover { color: var(--gold-bright); }
.footer-about p { color: var(--cream-dim); font-size: 1rem; }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); border: 1px solid var(--gold-deep); transition: all var(--dur) var(--ease-out); }
.footer-social a:hover { color: var(--blackwood); background: var(--gold); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { text-align: center; margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid rgba(216,184,102,0.18); color: var(--cream-faint); font-size: 0.88rem; }

/* ===================================================================
   PAGE HERO (interior pages)
   =================================================================== */
.page-hero { position: relative; padding-top: 9rem; padding-bottom: 3.5rem; text-align: center; overflow: hidden; }
.page-hero .display { color: var(--cream); }
.page-hero p { color: var(--cream-dim); max-width: 54ch; margin: 1rem auto 0; }
.page-hero .eyebrow { justify-content: center; }

/* About page specific */
.bio-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.bio-portrait { position: sticky; top: 6rem; }
.bio-portrait img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--gold-deep); width: 100%; }
.bio-portrait figcaption { font-family: var(--font-label); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); text-align: center; margin-top: 1rem; }
.prose p { color: var(--cream-dim); margin-bottom: 1.3rem; }
.prose p:first-of-type { font-size: 1.34rem; color: var(--cream-soft); }
.prose h3 { color: var(--gold); font-style: italic; margin: 2rem 0 0.8rem; }

.about-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-band img { width: 100%; height: clamp(280px, 42vw, 460px); object-fit: cover; }
.about-band .band-caption {
  position: absolute; inset: auto 0 0 0; padding: clamp(1.5rem,4vw,3rem);
  background: linear-gradient(0deg, rgba(3,30,28,0.92), rgba(3,30,28,0.1));
  color: var(--cream);
}
.about-band .band-caption .h3 { color: var(--cream); }
.about-band .band-caption p { color: var(--cream-dim); margin-top: 0.5rem; max-width: 50ch; }

.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 1rem; }
.value-card {
  background: linear-gradient(160deg, rgba(16,45,38,0.7), rgba(4,51,44,0.5));
  border: 1px solid var(--gold-deep); border-radius: var(--radius); padding: 1.8rem;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.value-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.value-card .ic { color: var(--gold); width: 34px; height: 34px; margin-bottom: 1rem; }
.value-card h3 { color: var(--cream); font-size: 1.3rem; }
.value-card p { color: var(--cream-dim); font-size: 1rem; margin-top: 0.5rem; }

/* ===================================================================
   CONTACT
   =================================================================== */
.contact-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.contact-card {
  background: linear-gradient(160deg, rgba(247,240,221,0.97), rgba(247,240,221,0.92));
  border: 1px solid var(--gold-deep); border-radius: var(--radius-lg);
  padding: clamp(1.8rem,4vw,2.8rem); box-shadow: var(--shadow-md); color: var(--ink);
}
.contact-card .field-group { margin-bottom: 1.3rem; }
.contact-card label { font-family: var(--font-label); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--washed-teal); display: block; margin-bottom: 0.5rem; }
.contact-card label .req { color: #a8642f; }
.contact-card input, .contact-card textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: 12px;
  border: 1px solid rgba(47,109,104,0.4); background: #fffdf6; color: var(--ink);
  font-family: var(--font-body); font-size: 1.05rem; min-height: 50px;
}
.contact-card textarea { min-height: 150px; resize: vertical; }
.contact-card input:focus-visible, .contact-card textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.contact-card .help { font-size: 0.85rem; color: var(--slate); margin-top: 0.4rem; }
.field-error { font-size: 0.85rem; color: #b1431f; margin-top: 0.4rem; min-height: 1em; }
.contact-aside h3 { color: var(--gold); font-style: italic; }
.contact-aside p { color: var(--cream-dim); margin-top: 0.6rem; }
.contact-aside .channel { display: flex; gap: 1rem; align-items: flex-start; margin-top: 1.6rem; }
.contact-aside .channel .ic { color: var(--gold); width: 26px; height: 26px; flex: none; margin-top: 0.2rem; }
.contact-aside .channel strong { color: var(--cream); font-family: var(--font-display); font-size: 1.2rem; }
.contact-aside .channel a { color: var(--cream-dim); }
.contact-aside .channel a:hover { color: var(--gold-bright); }

/* ===================================================================
   SCROLL REVEAL
   =================================================================== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); will-change: opacity, transform; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-reveal="left"] { transform: translateX(-32px); }
[data-reveal][data-reveal="right"] { transform: translateX(32px); }
[data-reveal][data-reveal="scale"] { transform: scale(0.94); }
[data-reveal].in[data-reveal="left"],
[data-reveal].in[data-reveal="right"],
[data-reveal].in[data-reveal="scale"] { transform: none; }
[data-delay="1"]{ transition-delay: 0.08s; }
[data-delay="2"]{ transition-delay: 0.16s; }
[data-delay="3"]{ transition-delay: 0.24s; }
[data-delay="4"]{ transition-delay: 0.32s; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
  .about-teaser, .book-feature, .bio-layout, .contact-layout, .newsletter-band { grid-template-columns: 1fr; }
  .newsletter-band { text-align: center; justify-items: center; }
  .newsletter-letter { margin-inline: auto; }
  .signup-form { justify-content: center; }
  .bio-portrait { position: static; max-width: 420px; margin-inline: auto; }
  .book-feature .cover-wrap { order: -1; }
  .value-grid { grid-template-columns: 1fr; }
  .about-teaser .about-art { order: -1; }
}
@media (max-width: 760px) {
  .site-header { padding-block: 0.7rem; }
  /* two-row header: hamburger top-left, full-size logo centered below */
  .nav {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 0.35rem;
    position: relative;
  }
  .nav-toggle { display: grid; place-items: center; grid-row: 1; justify-self: start; }
  .brand { grid-row: 2; align-items: center; }
  .brand-logo { width: min(320px, 84vw); height: auto; }
  .nav-links { display: none; }
  .nav.menu-open .nav-links {
    display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
    position: absolute; top: calc(100% + 0.4rem); left: 0; right: 0;
    background: rgba(4,51,44,0.98); backdrop-filter: blur(14px);
    border: 1px solid var(--gold-deep); border-radius: var(--radius); padding: 1rem 1.2rem;
    box-shadow: var(--shadow-lg);
  }
  .nav.menu-open .nav-links a { font-size: 0.98rem; padding-block: 0.7rem; width: 100%; text-align: center; }
}
@media (max-width: 560px) {
  .books-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .book-card .book-title { font-size: 1.15rem; }
  .hero-card { padding: 1.6rem; }
  .signup-form .btn { width: 100%; justify-content: center; }
}

/* ===================================================================
   REDUCED MOTION
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .particles, .scroll-cue svg { display: none; }
  .hero-bg { transform: none !important; }
}
