/* BB Hamel — redesign mockup: candlelit ink, brushstrokes, roses */

/* ==================== Tokens ==================== */
:root {
  --ink: #0a0a0a;
  --ink-alt: #111111;
  --ink-raised: #161616;
  --paper: #f5f2ec;
  --paper-dim: #bdb9b3;
  --muted: #7c7874;
  --blood: #a01d35;
  --blood-hi: #d0314b;
  --gold: #d6b25e;
  --gold-dim: #a8883f;
  --hairline: rgba(214, 178, 94, 0.24);

  --font-signature: 'Mrs Saint Delafield', cursive;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1200px;
  --ease: 0.35s cubic-bezier(.2, .7, .3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--ink);
  color: var(--paper);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Paper grain over everything, so flat fills don't read as screen-perfect */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.2 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

a { color: var(--gold); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--paper); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}
h2 { font-size: clamp(2.1rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }

p { margin-bottom: 1rem; color: var(--paper-dim); }
em { color: var(--paper); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5.5rem 0; position: relative; }
.section-alt { background: var(--ink-alt); }

/* ==================== Header ==================== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* hand-ruled bottom edge instead of a crisp border */
header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline) 20%, rgba(214, 178, 94, 0.4) 50%, var(--hairline) 80%, transparent);
  pointer-events: none;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--gold);
}
.logo-rose { width: 34px; height: 62px; margin: -8px 0 -8px; }
.logo-sig {
  font-family: var(--font-signature);
  font-size: 3rem;
  line-height: 1;
  padding-top: 0.5rem;
  color: var(--gold);
}
.logo:hover .logo-sig { color: var(--paper); }

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--paper-dim);
  padding: 0.6rem 1rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0.8rem; right: 0.8rem; bottom: 0.2rem;
  height: 9px;
  background: url("../images/ornaments/brush-tick.svg") center / 100% 100% no-repeat;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.5s var(--ease);
}
.nav-links a:hover { color: var(--paper); }
.nav-links a:hover::after,
.nav-links a.active::after { clip-path: inset(0 0 0 0); }
.nav-links a.active { color: var(--gold); }

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--hairline);
  color: var(--gold);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0.35rem 0.7rem;
  border-radius: 2px;
}

/* ==================== Buttons: paint on paper ==================== */
.btn {
  display: inline-block;
  position: relative;
  isolation: isolate;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1.05rem 2.4rem;
  border: 0;
  background: none;
  cursor: pointer;
  transition: color var(--ease), transform var(--ease);
}
.btn::before {
  content: '';
  position: absolute;
  inset: -4px -10px;
  z-index: -1;
  background: center / 100% 100% no-repeat;
  transition: transform var(--ease), filter var(--ease);
}
.btn:hover::before { transform: scaleX(1.04) rotate(-0.6deg); filter: brightness(1.15); }

.btn-primary { color: var(--paper); }
.btn-primary::before { background-image: url("../images/ornaments/brush-button.svg"); }
.btn-primary:hover { color: #fff; }

.btn-gold { color: #0a0a0a; }
.btn-gold::before { background-image: url("../images/ornaments/brush-button-gold.svg"); }
.btn-gold:hover { color: #000; }

/* ==================== Hero ==================== */
.hero {
  padding: 104px 0 4.5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 40% at 50% 18%, rgba(160, 29, 53, 0.12), transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(160, 29, 53, 0.24), transparent 70%),
    var(--ink);
}

.hero-spray {
  position: absolute;
  width: min(440px, 34vw);
  opacity: 0.9;
  pointer-events: none;
}
.hero-spray-right { bottom: -20px; right: -90px; transform: scale(-1, -1) rotate(-4deg); }

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 { margin-bottom: 1.1rem; line-height: 1.05; }
.hero h1 + .letter { margin-top: 0; }

.hero-line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  color: var(--paper);
}

.hero-script {
  display: block;
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  line-height: 1.1;
  color: var(--gold);
  padding: 0.12em 0;
}
.hero-script::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 52%;
  width: min(640px, 100%);
  height: 1.8em;
  transform: translate(-50%, -50%) rotate(-2deg);
  background: url("../images/ornaments/brush-hero.svg") center / 100% 100% no-repeat;
  opacity: 0.95;
}

/* The two hero boxes read as notes, not UI cards */
.letter {
  position: relative;
  background: linear-gradient(170deg, #171717 0%, #0f0f0f 100%);
  padding: 2.25rem 2.5rem;
  margin-top: 1.75rem;
  text-align: left;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
/* double hairline frame, slightly inset, like a bookplate */
.letter::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid var(--hairline);
  outline: 1px solid rgba(214, 178, 94, 0.1);
  outline-offset: 4px;
  pointer-events: none;
}
.letter h3 { color: var(--gold); margin-bottom: 0.5rem; }
.letter p { font-size: 1rem; }
.letter .btn { margin-top: 0.4rem; }

.free-book {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.25rem;
  align-items: center;
  transform: rotate(-0.6deg);
}
.letter-cover img {
  width: 100%;
  transform: rotate(-3deg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 0 6px #f5f2ec;
}

.community { text-align: center; transform: rotate(0.4deg); }
.community p { max-width: 520px; margin-left: auto; margin-right: auto; }

/* ==================== Quick nav: inked links, not buttons ==================== */
.quick-nav-section { padding: 2.75rem 0; }

.quick-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.quick-nav a {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--paper);
  position: relative;
  padding: 0.2rem 0.2rem 0.5rem;
}
.quick-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 12px;
  background: url("../images/ornaments/brush-link.svg") center / 100% 100% no-repeat;
  opacity: 0.5;
  transition: opacity var(--ease);
}
.quick-nav a:hover { color: var(--gold); }
.quick-nav a:hover::after { opacity: 1; }
.quick-nav-rose { width: 26px; height: 26px; opacity: 0.85; }

/* ==================== Section headers ==================== */
.section-header { text-align: center; margin-bottom: 3.25rem; }
.section-header h2 { position: relative; display: inline-block; margin-bottom: 0; padding-bottom: 0.9rem; }
.section-header h2::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  width: 180px; height: 16px;
  transform: translateX(-50%) rotate(-1.5deg);
  background: url("../images/ornaments/brush-underline.svg") center / 100% 100% no-repeat;
}
.section-header p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--gold);
  margin-top: 1.1rem;
  margin-bottom: 0;
}

.divider { display: flex; justify-content: center; padding: 0.5rem 0; background: var(--ink); }
.divider img { width: 240px; opacity: 0.9; }

/* ==================== Books (markup from main.js) ==================== */
.book-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 2rem;
  margin: 0 auto;
}
.book-card { width: 164px; }

.book-card a { display: block; color: inherit; }

.book-cover {
  position: relative;
  font-size: 0;
  color: transparent;
  aspect-ratio: 2 / 3;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
  transition: transform var(--ease), box-shadow var(--ease);
}
/* thin gold mat line offset behind the cover */
.book-cover::before {
  content: '';
  position: absolute;
  inset: -7px 7px 7px -7px;
  border: 1px solid var(--hairline);
  z-index: -1;
  transition: inset var(--ease), border-color var(--ease);
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }

.book-card:nth-child(odd) .book-cover { transform: rotate(-0.8deg); }
.book-card:nth-child(even) .book-cover { transform: rotate(0.7deg); }
.book-card:hover .book-cover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 18px 34px rgba(0, 0, 0, 0.7); }
.book-card:hover .book-cover::before { inset: -10px 10px 10px -10px; border-color: var(--gold-dim); }

.book-info { padding: 1.1rem 0.2rem 0; text-align: center; }
.book-info h4 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--paper);
  margin-bottom: 0.2rem;
  line-height: 1.25;
}
.book-card:hover .book-info h4 { color: var(--gold); }
.book-info .series-name { font-size: 0.8rem; color: var(--muted); }

.series-section { margin-bottom: 4.5rem; }
.series-header {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
  text-align: center;
}
.series-header h3 { margin-bottom: 0; color: var(--paper); }
.series-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1;
  color: #d0314b;
  text-transform: lowercase;
}

/* ==================== Testimonials ==================== */
.testimonials-section { overflow: hidden; }
.testimonial-stem {
  position: absolute;
  width: 150px;
  opacity: 0.55;
  pointer-events: none;
}
.testimonial-stem-left { left: 2%; top: 12%; transform: rotate(-14deg); }
.testimonial-stem-right { right: -1%; bottom: -10%; transform: rotate(18deg) scaleX(-1); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
}

.testimonial {
  padding: 0.5rem 2.25rem 1rem;
  position: relative;
  text-align: center;
}
.testimonial + .testimonial { border-left: 1px solid var(--hairline); }

.stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 1.1rem; }
.stars i {
  width: 20px; height: 20px;
  background: url("../images/ornaments/rose.svg") center / contain no-repeat;
}

.testimonial blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--paper);
  position: relative;
}
.testimonial figcaption {
  margin-top: 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.testimonial figcaption::before { content: '\2014\00a0'; }

/* ==================== Footer ==================== */
footer {
  background: var(--ink);
  padding: 3.5rem 0 3rem;
  text-align: center;
}
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.footer-sprig { width: 220px; margin-bottom: 0.5rem; }
.footer-logo {
  font-family: var(--font-signature);
  font-size: 4.6rem;
  line-height: 1.1;
  color: var(--gold);
}
.footer-links { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 0.8rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--paper-dim); }
.footer-links a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 0.5rem; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 1.2rem 0.45rem 0.45rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--paper-dim);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: border-color var(--ease), color var(--ease), background-color var(--ease);
}
.social-icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  transition: background-color var(--ease);
}
.social-icon svg { width: 20px; height: 20px; }
.social-link:hover { border-color: var(--gold); color: var(--paper); background: rgba(214, 178, 94, 0.08); }
.social-link:hover .social-icon { background: var(--paper); }
.copyright { color: var(--muted); font-size: 0.95rem; margin: 0.75rem 0 0; }

/* ==================== Inner pages ==================== */
.page-header {
  position: relative;
  padding: 118px 0 3rem;
  text-align: center;
  background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(160, 29, 53, 0.16), transparent 70%), var(--ink);
}
.page-header-sprig { width: 190px; margin: 0 auto 0.75rem; }
.page-header h1 {
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  position: relative;
  display: inline-block;
  padding-bottom: 0.8rem;
  margin-bottom: 0;
}
.page-header h1::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  width: 170px; height: 15px;
  transform: translateX(-50%) rotate(-1.5deg);
  background: url("../images/ornaments/brush-underline.svg") center / 100% 100% no-repeat;
}
.page-header p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold);
  margin: 1.1rem 0 0;
}
.page-header .family-tree-spoiler-note { color: var(--blood-hi); font-size: 1.05rem; }

.lede { max-width: 600px; margin-left: auto; margin-right: auto; font-size: 1.05rem; }
.section-alt h2 { margin-bottom: 0.5rem; }

/* secondary action: gold words on a brushed underline */
.btn-secondary { color: var(--gold); }
.btn-secondary::before {
  inset: auto 1.4rem 0.35rem;
  height: 11px;
  background-image: url("../images/ornaments/brush-link.svg");
  opacity: 0.55;
}
.btn-secondary:hover { color: var(--paper); }
.btn-secondary:hover::before { opacity: 1; }
.btn-large { font-size: 1rem; }
/* a big standalone secondary action gets the full gold stroke */
.btn-secondary.btn-large { color: #0a0a0a; }
.btn-secondary.btn-large::before {
  inset: -4px -10px;
  height: auto;
  background-image: url("../images/ornaments/brush-button-gold.svg");
  opacity: 1;
}
.page-header + section { padding-top: 2.5rem; }

/* ---------- Reading order (markup from main.js) ---------- */
.reading-order-wrap { max-width: 820px; margin: 0 auto; }

.reading-order-section {
  position: relative;
  scroll-margin-top: 110px;
  background: linear-gradient(170deg, #171717 0%, #0f0f0f 100%);
  padding: 2.4rem 2.6rem 2.2rem;
  margin-bottom: 2.25rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}
.reading-order-section::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid var(--hairline);
  pointer-events: none;
}
.reading-order-section h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.9rem;
  color: var(--paper);
  margin-bottom: 1rem;
}
.reading-order-section h3 .series-tag { font-size: 1.05rem; }

.series-family-tree {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
  margin-bottom: 0.75rem;
}
.series-family-tree a {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: underline;
  text-decoration-color: var(--gold-dim);
  text-underline-offset: 0.25em;
}
.series-family-tree a:hover { color: var(--paper); }
.family-tree-spoiler-note { color: var(--muted); font-size: 0.85rem; font-style: italic; }

.reading-order-list { list-style: none; counter-reset: book; }
.reading-order-list li {
  counter-increment: book;
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(214, 178, 94, 0.12);
}
.reading-order-list li:last-child { border-bottom: 0; }
.reading-order-list li::before {
  content: counter(book);
  flex: 0 0 1.8rem;
  text-align: right;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--blood-hi);
}
.reading-order-list a { color: var(--paper); font-size: 1.05rem; }
.reading-order-list a:hover { color: var(--gold); }

.series-tropes { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--hairline); }
.tropes-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-dim);
  margin-bottom: 0.6rem;
}
.trope-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.trope-pill {
  font-size: 0.74rem;
  line-height: 1;
  padding: 0.4em 0.75em;
  color: var(--paper-dim);
  border: 1px solid rgba(214, 178, 94, 0.2);
  border-radius: 999px;
}

/* ---------- Contact ---------- */
.contact-section { max-width: 620px; margin: 0 auto; text-align: center; }
.contact-section > p { font-size: 1.05rem; }
.contact-info {
  position: relative;
  background: linear-gradient(170deg, #171717 0%, #0f0f0f 100%);
  padding: 2.75rem 2.5rem;
  margin-top: 2rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}
.contact-info::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid var(--hairline);
  pointer-events: none;
}
.contact-info h3 { color: var(--gold); margin-bottom: 0.75rem; }
.contact-info a[href^="mailto"] {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--paper);
  border-bottom: 1px solid var(--gold-dim);
}
.contact-info a[href^="mailto"]:hover { color: var(--gold); }
.social-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }

/* ---------- Family trees ---------- */
.family-tree-page { padding-top: 1rem; }
.family-tree-content { max-width: 900px; margin: 0 auto; }
.family-tree-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 1.25rem; margin-bottom: 1rem; }
.family-tree-figure { margin: 2.5rem 0 2rem; }
.family-tree-figure a { display: block; cursor: zoom-in; position: relative; }
/* the chart is white paper: mount it in a gold mat */
.family-tree-figure img {
  width: 100%;
  background: #fff;
  box-shadow: 0 0 0 10px #111, 0 0 0 11px var(--gold-dim), 0 24px 50px rgba(0, 0, 0, 0.6);
}
.family-tree-figure figcaption {
  margin-top: 1.6rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}
.family-tree-related { padding: 2.5rem 0 0; text-align: center; border-top: 1px solid var(--hairline); margin-top: 1rem; }
.family-tree-related h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 0.5rem; }

/* ==================== Loading ==================== */
.loading { text-align: center; padding: 3rem; color: var(--muted); font-style: italic; }

/* ==================== Utilities ==================== */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* ==================== Responsive ==================== */
@media (max-width: 900px) {
  .hero-spray { width: 300px; opacity: 0.45; }
  .hero-spray-right { right: -110px; }

  .testimonials-grid { grid-template-columns: 1fr; max-width: 560px; }
  .testimonial { padding: 2rem 1rem; }
  .testimonial + .testimonial { border-left: 0; border-top: 1px solid var(--hairline); }
  .testimonial-stem { width: 110px; opacity: 0.3; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: -1.5rem; right: -1.5rem;
    flex-direction: column;
    align-items: stretch;
    background: var(--ink);
    padding: 0.75rem 1.5rem 1.25rem;
    border-bottom: 1px solid var(--hairline);
  }
  .nav-links.active { display: flex; }
  .nav-links a { display: block; padding: 0.85rem 0.25rem; }
  .nav-links a::after { left: 0.25rem; right: auto; width: 110px; }
  .mobile-menu-btn { display: block; }

  .logo-sig { font-size: 2.5rem; }
  .logo-rose { width: 24px; height: 44px; }

  section { padding: 3.75rem 0; }
  .hero { padding-top: 96px; }

  .free-book { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; transform: none; }
  .letter-cover { width: 190px; margin: 0 auto; }
  .letter { padding: 2rem 1.5rem; }
  .community { transform: none; }

  .book-grid { gap: 2rem 1.25rem; }
  .page-header { padding-top: 100px; }
  .reading-order-section { padding: 2rem 1.5rem 1.75rem; }
  .contact-info { padding: 2.25rem 1.5rem; }
  .book-card { width: 140px; }
}

@media (max-width: 480px) {
  body { font-size: 1.06rem; }
  .book-card { width: calc(50% - 0.7rem); }
  .quick-nav { flex-direction: column; gap: 0.75rem; }
  .quick-nav-rose { width: 20px; height: 20px; }
  .hero-script::before { width: 118%; }
  .footer-logo { font-size: 3.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
