/* ═══════════════════════════════════════════════════════════════════
   Suman Saran Sinha — author site
   Black-and-gold to match the covers; warm paper for reading sections.
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --ink:        #100d09;   /* dark sections */
  --ink-2:      #1a1510;
  --gold:       #d9a441;   /* fills, lines, text on dark */
  --gold-2:     #f0cd85;
  --gold-text:  #845d14;   /* gold as text on paper (≥4.5:1) */
  --on-gold:    #1a1206;
  --paper:      #fbf8f2;
  --paper-2:    #f3ecdf;
  --text:       #2a251e;
  --muted:      #6b6255;
  --line:       rgba(42, 37, 30, .12);
  --on-dark:    #f3ede2;
  --on-dark-2:  rgba(243, 237, 226, .72);
  --line-dark:  rgba(240, 205, 133, .18);

  --f-logo:  'Cinzel', 'Trajan Pro', Georgia, serif;
  --f-disp:  'Cormorant Garamond', Georgia, serif;
  --f-body:  'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r: 14px;
  --shadow: 0 10px 30px rgba(20, 14, 6, .10);
  --shadow-lg: 0 28px 60px rgba(20, 14, 6, .22);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.7;
  color: var(--text); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 600; }
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--alt { background: var(--paper-2); }
.dark { background: var(--ink); color: var(--on-dark); }
.dark a:not(.btn) { color: var(--gold-2); }
.dark a:not(.btn):hover { color: #fff; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--on-gold); padding: 8px 14px; z-index: 2000; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ── Type ─────────────────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--f-logo); font-size: .78rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .8; }
.eyebrow--dark { color: var(--gold-text); }
.h-display { font-family: var(--f-disp); font-size: clamp(2rem, 4vw, 3rem); color: var(--ink); margin-bottom: 12px; }
.h-display--light { color: var(--on-dark); }
.h-section { font-family: var(--f-disp); font-size: 1.9rem; color: var(--ink); margin: 0 0 18px; }
.subtitle { font-family: var(--f-disp); font-size: 1.35rem; font-style: italic; color: var(--muted); margin-bottom: 14px; }
.tagline { font-family: var(--f-disp); font-size: 1.3rem; font-style: italic; color: var(--gold-text); }
.lead { font-size: 1.12rem; color: var(--text); }
.lead--big { font-size: 1.25rem; line-height: 1.75; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .8; }
.section-head__sub { color: var(--muted); margin: 0; }
.dark .section-head__sub { color: var(--on-dark-2); }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .98rem/1 var(--f-body); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--gold); color: var(--on-gold); box-shadow: 0 8px 22px rgba(217, 164, 65, .32); }
.btn--primary:hover { background: var(--gold-2); color: var(--on-gold); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(16, 13, 9, .28); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(16,13,9,.04); }
.dark .btn--ghost, .btn--outline-light { background: transparent; color: var(--on-dark); border-color: rgba(243, 237, 226, .38); }
.dark .btn--ghost:hover, .btn--outline-light:hover { border-color: var(--gold-2); color: var(--gold-2); background: transparent; }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-col { display: grid; gap: 10px; }
.btn-col .btn { width: 100%; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow:hover i { transform: translateX(3px); }
.link-arrow i { transition: transform .2s; }

.tag { display: inline-block; font: 700 .68rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; vertical-align: middle; }
.tag--soon { background: var(--gold); color: var(--on-gold); }

/* ── Header ───────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 1000; height: var(--header-h);
  background: rgba(16, 13, 9, .92); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-dark); transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-family: var(--f-logo); font-weight: 600; font-size: 1.12rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); text-decoration: none; white-space: nowrap; }
.logo:hover { color: #fff; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a, .nav__drop > a {
  color: var(--on-dark-2); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 10px 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; transition: color .2s, background .2s;
}
.nav > a:hover, .nav__drop > a:hover, .nav__drop:focus-within > a { color: #fff; background: rgba(255,255,255,.06); }
.nav a[aria-current="page"] { color: var(--gold-2); }
.nav__drop { position: relative; }
.nav__drop > a i { font-size: .62rem; opacity: .7; }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  min-width: 320px; padding: 10px; border-radius: var(--r);
  background: var(--ink-2); border: 1px solid var(--line-dark); box-shadow: 0 24px 50px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__menu::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__menu a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; color: var(--on-dark); text-decoration: none; font-family: var(--f-disp); font-size: 1.12rem; font-weight: 600; line-height: 1.25; }
.nav__menu a:hover { background: rgba(255,255,255,.06); color: var(--gold-2); }
.nav__menu .nav__menu-all { font-family: var(--f-body); font-size: .85rem; color: var(--gold-2); border-top: 1px solid var(--line-dark); border-radius: 0 0 10px 10px; margin-top: 6px; padding-top: 13px; }

.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--on-dark); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { position: fixed; z-index: 999; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--ink); padding: 28px 24px 40px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav[hidden] { display: none; }
.mobile-nav > a { font-family: var(--f-disp); font-size: 1.9rem; font-weight: 600; color: var(--on-dark); text-decoration: none; padding: 8px 0; }
.mobile-nav__books { display: flex; flex-direction: column; border-left: 1px solid var(--line-dark); margin: 0 0 12px 4px; padding-left: 18px; }
.mobile-nav__books a { color: var(--on-dark-2); text-decoration: none; padding: 9px 0; font-size: 1.05rem; }
.mobile-nav a:hover { color: var(--gold-2); }

/* ── Dark glow used by heroes ─────────────────────────────────────── */
.hero, .book-hero, .page-hero, .reviews, .contact-band { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .book-hero::before, .page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 55% 70% at 75% 45%, rgba(217,164,65,.22), transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 100%, rgba(217,164,65,.08), transparent 70%);
}

/* ── Home hero ────────────────────────────────────────────────────── */
.hero { padding: 72px 0 96px; min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero__name { font-family: var(--f-disp); font-weight: 600; font-size: clamp(2.8rem, 6.4vw, 5.2rem); line-height: 1.02; color: #fff; letter-spacing: -.01em; margin-bottom: 18px; }
.hero__tagline { font-family: var(--f-disp); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--gold-2); margin-bottom: 22px; }
.hero__intro { color: var(--on-dark-2); max-width: 54ch; font-size: 1.08rem; }
.hero__fan { position: relative; height: clamp(360px, 42vw, 560px); }
.hero__fan-item { position: absolute; top: 50%; left: 50%; width: 52%; transition: transform .45s cubic-bezier(.2,.7,.2,1), filter .3s; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); }
.hero__fan-item img { width: 100%; }
.fan-3 .hero__fan-item:nth-child(1) { transform: translate(-50%, -50%) scale(1.04); z-index: 3; }
.fan-3 .hero__fan-item:nth-child(2) { transform: translate(-102%, -46%) rotate(-7deg) scale(.86); z-index: 2; }
.fan-3 .hero__fan-item:nth-child(3) { transform: translate(2%, -46%) rotate(7deg) scale(.86); z-index: 1; }
.fan-2 .hero__fan-item:nth-child(1) { transform: translate(-80%, -50%) rotate(-5deg); z-index: 2; }
.fan-2 .hero__fan-item:nth-child(2) { transform: translate(-20%, -46%) rotate(5deg) scale(.92); z-index: 1; }
.fan-1 .hero__fan-item { transform: translate(-50%, -50%); }
.hero__fan:hover .hero__fan-item { filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)) brightness(.8); }
.hero__fan .hero__fan-item:hover { filter: drop-shadow(0 34px 44px rgba(0,0,0,.6)) brightness(1.05); z-index: 5; }

/* ── Featured book ────────────────────────────────────────────────── */
.featured__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.featured__cover { display: block; max-width: 420px; justify-self: center; filter: drop-shadow(0 30px 36px rgba(20,14,6,.28)); transition: transform .4s; }
.featured__cover:hover { transform: translateY(-6px) rotate(-1deg); }

/* ── Book grid / cards ────────────────────────────────────────────── */
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 360px)); justify-content: center; gap: 28px; }
.book-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.book-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.book-card__cover { display: flex; align-items: center; justify-content: center; padding: 34px 28px 18px; background: radial-gradient(ellipse 70% 60% at 50% 55%, rgba(217,164,65,.28), transparent 70%), var(--ink); aspect-ratio: 1 / 1.02; }
.book-card__cover img, .book-card__cover .ph-cover { max-height: 100%; width: auto; max-width: 74%; filter: drop-shadow(0 18px 22px rgba(0,0,0,.5)); transition: transform .4s; }
.book-card:hover .book-card__cover img { transform: scale(1.04) rotate(-1deg); }
.book-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.book-card__body .tag { align-self: flex-start; }
.book-card__title { font-family: var(--f-disp); font-size: 1.6rem; line-height: 1.12; }
.book-card__title a { color: var(--ink); text-decoration: none; }
.book-card__title a:hover { color: var(--gold-text); }
.book-card__sub { font-size: .95rem; color: var(--muted); margin: 0; }
.book-card__tagline { font-family: var(--f-disp); font-style: italic; font-size: 1.12rem; color: var(--gold-text); margin: 0; line-height: 1.4; }
.book-card__actions { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }

/* Placeholder cover for books without artwork yet */
.ph-cover {
  aspect-ratio: 2 / 3; width: 220px; max-width: 100%; border-radius: 3px 8px 8px 3px;
  background: linear-gradient(90deg, rgba(0,0,0,.35) 0 6px, transparent 6px), radial-gradient(ellipse at 50% 35%, #3a2a12, #120d07 70%);
  border: 1px solid rgba(240,205,133,.35);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 22px; text-align: center;
}
.ph-cover__title { font-family: var(--f-logo); color: var(--gold-2); font-size: 1.15rem; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; }
.ph-cover__author { font-family: var(--f-logo); color: var(--on-dark-2); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
.ph-cover__rule { width: 50px; height: 1px; background: var(--gold); }

/* ── Quotes ───────────────────────────────────────────────────────── */
.reviews::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(217,164,65,.14), transparent 70%); }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.quote-grid--single { max-width: 820px; margin: 0 auto; grid-template-columns: 1fr; }
.quote { margin: 0; padding: 36px 36px 30px; border: 1px solid var(--line-dark); border-radius: 18px; background: rgba(255,255,255,.03); position: relative; }
.quote::before { content: '“'; position: absolute; top: -6px; left: 26px; font-family: var(--f-disp); font-size: 6rem; line-height: 1; color: var(--gold); opacity: .55; }
.quote blockquote { margin: 0 0 20px; font-family: var(--f-disp); font-size: 1.3rem; line-height: 1.55; color: var(--on-dark); font-style: italic; }
.quote figcaption { color: var(--on-dark-2); font-size: .95rem; }
.quote figcaption strong { color: var(--gold-2); }
.quote figcaption span { display: block; margin-top: 4px; font-size: .88rem; }

/* ── About teaser / portrait ──────────────────────────────────────── */
.about-teaser { display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: center; }
.portrait { position: relative; }
.portrait::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--gold); border-radius: 20px; z-index: 0; }
.portrait img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; object-position: center 30%; border-radius: 20px; background: var(--ink); box-shadow: var(--shadow-lg); }

/* ── Contact band ─────────────────────────────────────────────────── */
.contact-band { padding: 80px 0; }
.contact-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 90% at 100% 50%, rgba(217,164,65,.18), transparent 70%); }
.contact-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.contact-band p { color: var(--on-dark-2); margin: 0; }
.contact-band__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: 1px solid var(--line); color: var(--text); transition: all .2s; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold); transform: translateY(-2px); }
.dark .social a, .site-footer .social a { border-color: var(--line-dark); color: var(--on-dark); }
.dark .social a:hover, .site-footer .social a:hover { color: var(--on-gold); }

/* ── Page hero (Books / About / Contact) ──────────────────────────── */
.page-hero { padding: 88px 0 80px; }
.page-hero--tall { padding: 140px 0; }
.page-hero__title { font-family: var(--f-disp); font-size: clamp(2.6rem, 6vw, 4.4rem); color: #fff; margin-bottom: 14px; }
.page-hero__sub { color: var(--on-dark-2); font-size: 1.1rem; max-width: 60ch; margin: 0; }

/* ── Book page ────────────────────────────────────────────────────── */
.book-hero { padding: 36px 0 96px; }
.crumbs { font-size: .88rem; color: var(--on-dark-2); margin-bottom: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { text-decoration: none; }
.crumbs [aria-current] { color: var(--on-dark); }
.book-hero__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.book-hero__cover { display: flex; justify-content: center; }
.book-hero__cover img { width: 100%; max-width: 440px; filter: drop-shadow(0 40px 50px rgba(0,0,0,.6)); animation: float 7s ease-in-out infinite; }
.book-hero__cover .ph-cover { width: 300px; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-12px) rotate(.6deg); } }
.book-hero__title { font-family: var(--f-disp); font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.04; color: #fff; margin-bottom: 16px; }
.book-hero__sub { font-family: var(--f-disp); font-size: clamp(1.2rem, 2.2vw, 1.55rem); color: var(--on-dark); opacity: .9; margin-bottom: 18px; }
.book-hero__tagline { font-family: var(--f-disp); font-style: italic; font-size: 1.3rem; color: var(--gold-2); margin-bottom: 0; }
.book-hero__note { margin-top: 14px; color: var(--on-dark-2); font-size: .92rem; }

.book-body { display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: start; }
.book-body__main > div + div { margin-top: 56px; }
.book-body__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.highlights { list-style: none; padding: 0; margin: 0; counter-reset: h; display: grid; gap: 4px; }
.highlights li { counter-increment: h; position: relative; padding: 18px 0 18px 64px; border-bottom: 1px solid var(--line); }
.highlights li:last-child { border-bottom: 0; }
.highlights li::before { content: counter(h, decimal-leading-zero); position: absolute; left: 0; top: 14px; font-family: var(--f-disp); font-size: 1.8rem; font-weight: 600; color: var(--gold-text); line-height: 1.2; }

.panel { background: #fff; border-radius: 18px; padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.panel__h { font-family: var(--f-disp); font-size: 1.5rem; color: var(--ink); margin-bottom: 16px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: .95rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }

.spread__fig { margin: 0 auto; max-width: 600px; text-align: center; }
.spread__fig img { margin: 0 auto; filter: drop-shadow(0 28px 34px rgba(20,14,6,.25)); }
.spread__fig figcaption { margin-top: 18px; font-family: var(--f-logo); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.author-mini { display: grid; grid-template-columns: 160px 1fr; gap: 40px; align-items: center; max-width: 900px; }
.author-mini__photo { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; object-position: center 30%; background: var(--ink); box-shadow: 0 0 0 4px var(--paper), 0 0 0 5.5px var(--gold), var(--shadow); }
.author-mini p { color: var(--text); }

.pager { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.pager a { text-decoration: none; color: var(--ink); font-family: var(--f-disp); font-size: 1.3rem; font-weight: 600; max-width: 48%; }
.pager a span { display: block; font-family: var(--f-body); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 4px; }
.pager a:hover { color: var(--gold-text); }
.pager__next { text-align: right; margin-left: auto; }

/* ── About / Contact pages ────────────────────────────────────────── */
.about-full { display: grid; grid-template-columns: 360px 1fr; gap: 72px; align-items: start; }
.about-full__side { display: grid; gap: 40px; position: sticky; top: calc(var(--header-h) + 24px); }
.prose p { max-width: 68ch; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; max-width: 900px; margin: 0 auto; }
.panel--big { padding: 40px; }
.contact-icon { font-size: 1.7rem; color: var(--gold-text); margin-bottom: 18px; }
.panel--big .btn { word-break: break-all; }

/* ── Footer ───────────────────────────────────────────────────────── */
.site-footer { background: #0a0806; color: var(--on-dark-2); padding: 72px 0 28px; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.logo--footer { font-size: 1.05rem; display: inline-block; margin-bottom: 12px; }
.site-footer__tag { max-width: 40ch; margin-bottom: 22px; }
.site-footer__h { font-family: var(--f-logo); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 600; }
.site-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .86rem; }
.site-footer__base p { margin: 0; }

/* ── Reveal on scroll ─────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .book-hero__cover img { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .book-body { grid-template-columns: 1fr; }
  .book-body__aside { position: static; }
  .about-full { grid-template-columns: 1fr; }
  .about-full__side { position: static; max-width: 380px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: block; }
  .section { padding: 72px 0; }
  .hero { min-height: 0; padding: 48px 0 72px; }
  .hero__grid, .featured__grid, .book-hero__grid, .about-teaser { grid-template-columns: 1fr; gap: 40px; }
  .hero__fan { height: 380px; order: -1; }
  .featured__cover { max-width: 320px; }
  .book-hero__cover img { max-width: 320px; }
  .about-teaser .portrait { max-width: 340px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .container { padding: 0 16px; }
  .logo { font-size: .92rem; letter-spacing: .1em; }
  .hero__fan { height: 300px; }
  .hero__fan-item { width: 46%; }
  .book-grid { grid-template-columns: 1fr; }
  .author-mini { grid-template-columns: 1fr; gap: 24px; }
  .quote { padding: 30px 22px 24px; }
  .quote blockquote { font-size: 1.15rem; }
  .pager { flex-direction: column; }
  .pager a { max-width: 100%; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 auto; }
}
