/* ================================================================
   AUTHOR WEBSITE — Watercolor Fantasy Design System
   Fonts: Playfair Display · Dancing Script · Lato
   Palette: Forest Greens · Warm Browns · Soft Creams · Muted Gold
   ================================================================ */

/* --- 1. CUSTOM PROPERTIES ------------------------------------ */
:root {
  /* Colors */
  --cream:          #fdf8f0;
  --cream-mid:      #f5ede0;
  --cream-dark:     #e0cdb5;
  --sage:           #7a9e7e;
  --sage-light:     #b5cdb6;
  --sage-pale:      #daeadb;
  --sage-dark:      #4e7a5a;
  --brown:          #8b6f47;
  --brown-light:    #c4956a;
  --brown-dark:     #5c4025;
  --gold:           #c9a870;
  --gold-dark:      #a07840;
  --forest:         #2d4a3e;
  --forest-dark:    #1a2e22;

  /* Text */
  --text-dark:      #3a2e22;
  --text-medium:    #6b5744;
  --text-light:     #9a8270;

  /* Typography */
  --font-heading:   'Playfair Display', Georgia, serif;
  --font-accent:    'Dancing Script', cursive;
  --font-body:      'Lato', system-ui, sans-serif;

  /* Layout */
  --nav-h:          210px;
  --container:      1100px;
  --section-pad:    5rem;

  /* Effects */
  --t:              0.3s ease;
  --shadow-sm:      0 2px 14px rgba(58, 46, 34, 0.08);
  --shadow-md:      0 8px 36px rgba(58, 46, 34, 0.13);
  --shadow-book:    8px 10px 36px rgba(26, 46, 34, 0.38), -3px 0 10px rgba(26, 46, 34, 0.12);
}

/* --- 2. RESET & BASE ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.75;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.35s ease;
  position: relative;
  min-height: 100vh;
}

body.page-loaded  { opacity: 1; }
body.page-exit    { opacity: 0; }

img { max-width: 100%; height: auto; display: block; }
ul  { list-style: none; }
a   { color: inherit; text-decoration: none; }

/* --- 3. TYPOGRAPHY ------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--forest);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.9rem); }

p {
  font-size: 1.05rem;
  color: var(--text-medium);
  line-height: 1.85;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
  margin-bottom: 0.6rem;
}

.accent-script {
  font-family: var(--font-accent);
  font-weight: 600;
  color: var(--sage-dark);
}

/* --- 4. LAYOUT ----------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

main { padding-top: var(--nav-h); }

section { padding: var(--section-pad) 0; position: relative; }

/* --- 5. WATERCOLOR BACKGROUND -------------------------------- */
.watercolor-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

/* Subtle paper grain overlay */
.watercolor-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-radial-gradient(circle at 20% 80%, rgba(139,111,71,0.022) 0px, transparent 2px),
    repeating-radial-gradient(circle at 80% 20%, rgba(122,158,126,0.018) 0px, transparent 3px),
    repeating-radial-gradient(circle at 50% 50%, rgba(201,168,112,0.014) 0px, transparent 2px);
  background-size: 5px 5px, 7px 7px, 4px 4px;
  opacity: 1;
}

/* Blurred watercolor blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: morphBlob linear infinite;
  will-change: transform, border-radius;
}

.blob-sage {
  background: radial-gradient(circle at 40% 40%, rgba(122,158,126,0.75), rgba(78,122,90,0.28));
  opacity: 0.20;
}
.blob-cream {
  background: radial-gradient(circle at 60% 55%, rgba(232,212,168,0.82), rgba(196,149,106,0.35));
  opacity: 0.26;
}
.blob-brown {
  background: radial-gradient(circle at 50% 50%, rgba(196,149,106,0.70), rgba(139,111,71,0.28));
  opacity: 0.16;
}
.blob-gold {
  background: radial-gradient(circle at 50% 45%, rgba(201,168,112,0.68), rgba(160,120,64,0.26));
  opacity: 0.14;
}

.blob-1 { width: 680px; height: 680px; top: -160px; left: -220px; animation-duration: 26s; animation-delay: 0s; }
.blob-2 { width: 520px; height: 520px; top: 8%;  right: -160px;   animation-duration: 34s; animation-delay: -9s; }
.blob-3 { width: 420px; height: 420px; top: 52%; left: 22%;        animation-duration: 29s; animation-delay: -17s; }
.blob-4 { width: 360px; height: 360px; bottom: 2%; right: 8%;      animation-duration: 23s; animation-delay: -5s; }
.blob-5 { width: 310px; height: 310px; top: 38%; left: -90px;      animation-duration: 38s; animation-delay: -13s; }

@keyframes morphBlob {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: translate(0,0) rotate(0deg); }
  20%       { border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%; transform: translate(18px,-28px) rotate(36deg); }
  40%       { border-radius: 30% 70% 45% 55% / 70% 40% 60% 30%; transform: translate(-12px,22px) rotate(72deg); }
  60%       { border-radius: 55% 45% 60% 40% / 35% 65% 35% 65%; transform: translate(24px,12px) rotate(110deg); }
  80%       { border-radius: 70% 30% 40% 60% / 55% 45% 55% 45%; transform: translate(-6px,-18px) rotate(170deg); }
}

/* --- 6. NAVIGATION ------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(253,248,240,0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(122,158,126,0.16);
  box-shadow: 0 2px 24px rgba(58,46,34,0.04);
  transition: box-shadow var(--t);
}
.nav.scrolled { box-shadow: 0 4px 32px rgba(58,46,34,0.10); }

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.4rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
}
.nav-logo:hover .nav-logo-name { color: var(--sage-dark); }

.nav-logo-name {
  font-family: 'Lora', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 4.5rem);
  color: var(--forest);
  line-height: 1;
  text-transform: uppercase;
}

.nav-logo-subtitle {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  line-height: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-medium);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--t);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--sage);
  border-radius: 2px;
  transition: width var(--t);
}
.nav-link:hover,
.nav-link.active { color: var(--forest); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 26px; height: 1.5px;
  background: var(--brown-dark);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --- 7. BUTTONS ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 0.9em 2.2em;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.14);
  transform: translateX(-105%);
  transition: transform 0.35s ease;
}
.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 4px 22px rgba(45,74,62,0.30);
}
.btn-primary:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 34px rgba(45,74,62,0.36);
}

.btn-secondary {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--sage);
}
.btn-secondary:hover {
  background: var(--sage-pale);
  border-color: var(--sage-dark);
  transform: translateY(-2px);
}

.btn-arrow { transition: transform 0.3s ease; }
.btn:hover .btn-arrow { transform: translateX(5px); }

/* Buy buttons */
.buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.9em 1.6em;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.buy-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,0.16); }
.buy-btn-amazon   { background: #7d6040; color: #fdf8f0; }
.buy-btn-bn       { background: #4e7a5a; color: #fdf8f0; }
.buy-btn-bookshop { background: #c4956a; color: #3a2e22; }
.buy-btn-store    { background: #2d4a3e; color: #fdf8f0; }

/* --- 8. HERO ------------------------------------------------- */
.hero-bridge-wrap {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 2rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Radial glow centred on content */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(253,248,240,0.35) 0%, transparent 68%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  font-weight: 400;
  line-height: 1.0;
  color: var(--forest);
  margin-bottom: 1.1rem;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--sage-dark);
  font-weight: 300;
}

.hero-tagline {
  font-family: var(--font-accent);
  font-size: clamp(1.2rem, 2.8vw, 1.9rem);
  color: var(--brown);
  margin-bottom: 2.2rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.hero-book { margin-bottom: 2.2rem; }

/* Large compass watermark behind hero */
.hero-compass {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  pointer-events: none;
  z-index: 0;
  animation: spinSlow 140s linear infinite;
  opacity: 0.7;
}
@keyframes spinSlow {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}

/* Vine decoration (right edge, desktop) */
.hero-vine {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

/* --- 9. BOOK COVER PLACEHOLDER ------------------------------- */
.book-cover-wrap {
  display: inline-block;
  position: relative;
}

.book-cover-art {
  display: block;
  border-radius: 3px 6px 6px 3px;
  overflow: hidden;
  box-shadow: var(--shadow-book);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.book-cover-art:hover {
  transform: translateY(-7px) rotate(1.5deg);
  box-shadow: 14px 20px 48px rgba(26,46,34,0.42), -3px 0 12px rgba(26,46,34,0.16);
}
/* Spine shadow */
.book-cover-art::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 10px; height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.28), rgba(0,0,0,0.08), transparent);
  z-index: 2;
}
.book-art-svg { width: 100%; height: auto; display: block; }

.hero-book .book-cover-art  { width: 195px; }
.book-cover-large .book-cover-art { width: 270px; }

/* Real book cover image */
.book-cover-real {
  display: block;
  border-radius: 3px 6px 6px 3px;
  box-shadow: var(--shadow-book);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.book-cover-real:hover {
  transform: translateY(-7px) rotate(1.5deg);
  box-shadow: 14px 20px 48px rgba(26,46,34,0.42), -3px 0 12px rgba(26,46,34,0.16);
}
.hero-book .book-cover-real       { width: clamp(195px, 16vw, 280px); }
.book-cover-large .book-cover-real { width: clamp(240px, 22vw, 320px); }

/* --- 10. SECTION ORNAMENT ------------------------------------ */
.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

/* --- 11. WAVE / ORGANIC DIVIDERS ----------------------------- */
.wave-divider {
  overflow: hidden;
  line-height: 0;
  display: block;
}
.wave-divider svg { display: block; width: 100%; }

/* --- 12. TEASER SECTION (HOME) ------------------------------- */
.teaser-section {
  background: transparent;
  padding: 4rem 0 5.5rem;
}

.teaser-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.teaser-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  color: var(--text-dark);
  line-height: 1.9;
  margin-bottom: 2.6rem;
  padding: 2rem 2.5rem;
  border-radius: 4px;
  background: rgba(253,248,240,0.72);
  border-left: 3px solid var(--sage-light);
  border-right: 3px solid var(--sage-light);
  position: relative;
}
.teaser-quote::before {
  display: none;
}

/* --- 13. PAGE HEADER ----------------------------------------- */
.page-header {
  padding: 4.5rem 0 2.5rem;
  text-align: center;
  position: relative;
}
.page-header-subtitle {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  color: var(--brown);
  margin-top: 0.5rem;
}
.page-header-rule {
  width: 60px; height: 2px;
  background: linear-gradient(to right, transparent, var(--sage), transparent);
  margin: 1.2rem auto 0;
  border: none;
}

/* --- 14. ABOUT PAGE ------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 5rem;
  align-items: start;
}

.author-photo-sticky { position: sticky; top: 100px; }

/* REPLACE: swap .photo-frame content for <img> tag */
.photo-frame {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 14px 44px 14px 44px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, var(--sage-pale), var(--cream-mid), rgba(201,168,112,0.18));
  border: 2px solid var(--sage-light);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.photo-placeholder-icon {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: rgba(122,158,126,0.18);
  border: 2px solid rgba(122,158,126,0.3);
  display: flex; align-items: center; justify-content: center;
}

.photo-placeholder-text {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-weight: 700;
  font-family: var(--font-body);
}

.author-bio h2 { margin-bottom: 1.5rem; }

.author-bio p { margin-bottom: 1.3rem; }

.bio-signature {
  font-family: var(--font-accent);
  font-size: 2.4rem;
  color: var(--sage-dark);
  display: block;
  margin-top: 2rem;
}

/* Fun facts strip */
.fun-facts {
  background: linear-gradient(135deg, rgba(122,158,126,0.08), rgba(201,168,112,0.07));
  border: 1px solid var(--cream-dark);
  border-radius: 14px;
  padding: 2.5rem;
  margin-top: 3rem;
}
.fun-facts h3 { font-size: 1.2rem; margin-bottom: 1.5rem; }
.more-about { margin-top: 1rem; }
.more-about h3 { font-size: 1.2rem; margin-bottom: 1.5rem; }
.more-about p { text-indent: 2em; }
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
}
.fact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.fact-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; }
.fact-text { font-size: 0.92rem; color: var(--text-medium); }

/* --- 15. BOOK PAGE ------------------------------------------- */
.book-showcase {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: start;
}
.book-cover-large { position: relative; }
.book-cover-large .book-cover-art { position: sticky; top: 100px; }

.book-info h1 { margin-bottom: 0.4rem; }

.book-series {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.3rem;
  display: block;
}
.book-author-line {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--brown);
  display: block;
  margin-bottom: 2rem;
}

.book-meta {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: rgba(253,248,240,0.7);
  border-radius: 10px;
  border: 1px solid var(--cream-dark);
}
.book-meta-item { text-align: center; }
.book-meta-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.book-meta-value {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--forest);
  font-weight: 600;
}

.book-synopsis { margin-bottom: 2.5rem; }
.book-synopsis p { margin-bottom: 1rem; }
/* Drop cap on first paragraph */
.book-synopsis p:first-child::first-letter {
  font-family: var(--font-heading);
  font-size: 3.8em;
  line-height: 0.7;
  float: left;
  margin: 0.08em 0.08em 0 0;
  color: var(--forest);
  font-weight: 600;
}

.buy-section { margin-top: 2rem; }
.buy-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
  display: block;
}
.buy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

/* Praise section */
.book-praise {
  background: linear-gradient(135deg, rgba(122,158,126,0.07), rgba(201,168,112,0.06));
  border-top: 1px solid var(--cream-dark);
  padding: 2rem 0 var(--section-pad);
}
.praise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.praise-card {
  background: rgba(253,248,240,0.8);
  border: 1px solid var(--cream-dark);
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
}
.praise-card blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.praise-card cite {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-style: normal;
}

/* --- 16. CONTACT PAGE ---------------------------------------- */
.contact-section {
  max-width: 640px;
  margin: 0 auto;
}
.contact-intro {
  text-align: center;
  margin-bottom: 3rem;
}
.contact-intro p { max-width: 500px; margin: 0.75rem auto 0; }

.contact-form {
  background: rgba(253,248,240,0.82);
  border: 1px solid var(--cream-dark);
  border-radius: 18px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 1.6rem; }

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-medium);
  margin-bottom: 0.55rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.88rem 1.1rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: 9px;
  background: rgba(253,248,240,0.92);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--t), box-shadow var(--t);
  appearance: none;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(122,158,126,0.16);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-light); }

.form-textarea {
  min-height: 165px;
  resize: vertical;
  line-height: 1.7;
}

.form-submit {
  width: 100%;
  justify-content: center;
  font-size: 0.95rem;
  padding: 1.05em 2em;
  margin-top: 0.5rem;
}

.form-message {
  margin-top: 1.2rem;
  padding: 0.9rem 1.1rem;
  border-radius: 9px;
  font-size: 0.95rem;
  display: none;
  transition: opacity 0.45s ease;
}
.form-message.success {
  background: rgba(122,158,126,0.14);
  color: var(--sage-dark);
  border: 1px solid var(--sage-light);
}
.form-message.error {
  background: rgba(196,100,70,0.10);
  color: #7a3020;
  border: 1px solid rgba(196,100,70,0.3);
}

/* --- 17. FOOTER ---------------------------------------------- */
.footer {
  background: var(--forest);
  color: var(--cream);
  padding: 4.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,112,0.38), transparent);
}
/* Subtle background blob in footer */
.footer::after {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78,122,90,0.18), transparent 70%);
  pointer-events: none;
}

.footer-inner { text-align: center; position: relative; z-index: 1; }

.footer-deco {
  font-family: var(--font-accent);
  font-size: 3rem;
  color: rgba(201,168,112,0.18);
  letter-spacing: 0.5rem;
  margin-bottom: 1.5rem;
}
.footer-name {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.4rem;
}
.footer-tagline {
  font-family: var(--font-accent);
  font-size: 1.05rem;
  color: var(--sage-light);
  margin-bottom: 2rem;
}
.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.3rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.footer-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(253,248,240,0.55);
  transition: color var(--t);
}
.footer-nav a:hover { color: var(--gold); }
.footer-nav span { color: rgba(201,168,112,0.35); }
.footer-copy {
  font-size: 0.78rem;
  color: rgba(253,248,240,0.34);
}

/* --- 18. SCROLL ANIMATIONS ----------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* --- 19. RESPONSIVE ------------------------------------------ */

/* ── Mid laptop (≤ 1200px) ───────────────────────────────────── */
@media (max-width: 1200px) {
  :root { --nav-h: 175px; }
}

/* ── Large tablet / small desktop (≤ 900px) ─────────────────── */
@media (max-width: 900px) {
  :root { --nav-h: 155px; }

  /* Layouts */
  .about-grid       { grid-template-columns: 200px 1fr; gap: 3rem; }
  .book-showcase    { grid-template-columns: auto 1fr; gap: 2rem; }

  /* Praise — 2 columns on tablet */
  .praise-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mobile (≤ 768px) ───────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --section-pad: 3rem;
    --nav-h: 90px;
  }

  /* Nav — compact row: logo centred, hamburger pinned right */
  .nav-inner {
    flex-direction: row;
    justify-content: center;
    padding: 0 1.5rem;
    gap: 0;
    position: relative;
  }
  .nav-logo        { gap: 0.1rem; }
  .nav-logo-name   { font-size: 1.9rem; }
  .nav-logo-subtitle { font-size: 0.55rem; letter-spacing: 0.11em; }

  .hamburger {
    display: flex;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
  }

  /* Full-screen nav overlay */
  .nav-menu {
    position: fixed;
    inset: 0;
    width: 100%; height: 100vh;
    background: rgba(253,248,240,0.97);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.8rem;
    transform: translateY(-100%);
    transition: transform 0.42s cubic-bezier(0.4,0,0.2,1);
    z-index: 999;
  }
  .nav-menu.active { transform: translateY(0); }
  .nav-link        { font-size: 1.2rem; letter-spacing: 0.14em; }

  /* Hero */
  .hero       { min-height: auto; padding: 2rem 1.5rem 2.5rem; }
  .hero-vine  { display: none; }
  .hero-tagline { font-size: clamp(1.1rem, 5vw, 1.5rem); margin-bottom: 1.4rem; }
  .hero-book  { margin-bottom: 1.4rem; }
  .hero-book .book-cover-real { width: 160px; }

  /* Teaser */
  .teaser-section { padding: 2rem 0 3rem; }
  .teaser-quote   { padding: 1.5rem; font-size: 1rem; }

  /* About */
  .about-grid           { grid-template-columns: 1fr; gap: 2rem; }
  .author-photo-sticky  { position: static; max-width: 220px; margin: 0 auto; }
  .photo-frame          { aspect-ratio: 1; }
  .more-about p         { text-indent: 1em; }
  .fun-facts ul         { columns: 1; }

  /* Book */
  .book-showcase    { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .book-cover-large { display: flex; flex-direction: column; align-items: center; }
  .book-cover-large .book-cover-real { width: 200px; }
  .book-info        { text-align: left; }
  .book-meta        { justify-content: center; }
  .buy-section      { text-align: left; }
  .buy-grid         { grid-template-columns: 1fr; }
  .book-synopsis p:first-child::first-letter { font-size: 2.8em; }
  .praise-grid      { grid-template-columns: 1fr; gap: 1rem; }
  .praise-card      { padding: 1rem; }

  /* Contact */
  .contact-form    { padding: 2rem 1.4rem; }
  .contact-section { padding: 0 0.5rem; }

  /* Footer */
  .footer-nav { gap: 0.6rem; flex-wrap: wrap; justify-content: center; }

  /* Blobs */
  .blob { filter: blur(65px); }
}

/* ── Small mobile (≤ 480px) ─────────────────────────────────── */
@media (max-width: 480px) {
  :root { --nav-h: 78px; }

  .container      { padding: 0 1.1rem; }
  .nav-logo-name  { font-size: 1.55rem; }

  /* Hero */
  .hero           { padding: 1.5rem 1rem 2rem; }
  .hero-book .book-cover-real { width: 140px; }

  /* About */
  .facts-grid     { grid-template-columns: 1fr; }
  .fun-facts      { padding: 1.5rem; }
  .fun-facts ul   { columns: 1; }

  /* Book */
  .book-meta      { gap: 1rem; flex-wrap: wrap; }
  .praise-grid    { grid-template-columns: 1fr; }

  /* Contact */
  .contact-form   { padding: 1.5rem 1rem; border-radius: 12px; }
  .teaser-quote   { padding: 1.2rem; }
}

/* ── Option 5: Full Immersion ────────────────── */
.hero-immersion-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.12;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
.hero-corner-left {
  position: absolute;
  top: 0; left: 0;
  width: 380px;
  opacity: 0.65;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}
.hero-corner-right {
  position: absolute;
  top: 0; right: 0;
  width: 220px;
  opacity: 0.60;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
  transform: scaleX(-1);
}
.about-willow-art {
  width: 100%;
  border-radius: 14px 44px 14px 44px;
  box-shadow: 0 8px 36px rgba(58,46,34,0.13);
  background: rgba(253,248,240,0.8);
  padding: 1rem;
}
.book-bridge-wrap { margin: 0; line-height: 0; position: relative; }
.book-bridge-img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.72;
}
.book-bridge-caption {
  display: block;
  text-align: center;
  font-family: var(--font-accent);
  font-size: 1rem;
  color: var(--brown);
  padding: 0.6rem 0 1rem;
  line-height: 1.4;
  background: transparent;
}
.hero-bridge-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.16;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
.page-willow-bg {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.09;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: -1;
}
.page-willow-corner-right {
  position: fixed;
  top: 70px; right: 0;
  width: 260px;
  opacity: 0.32;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
