/* =========================================================
   Yancey Williams — Author Website
   Design system & global styles
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --ink: #0f1419;          /* near-black background */
  --ink-2: #161c24;        /* raised surface */
  --ink-3: #1f2730;        /* card surface */
  --paper: #f7f3ea;        /* warm cream */
  --paper-dim: #e7e0d2;
  --muted: #9aa6b2;        /* secondary text on dark */
  --muted-2: #6b7682;
  --line: rgba(247, 243, 234, 0.10);
  --gold: #c89b50;         /* warm brass accent */
  --gold-soft: #e0c184;
  --rust: #a8503a;         /* deep accent */

  /* Typography */
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-display: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --shadow-soft: 0 12px 40px -18px rgba(0, 0, 0, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

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

body {
  font-family: var(--font-sans);
  background: var(--ink);
  color: var(--paper);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection {
  background: var(--gold);
  color: var(--ink);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-block;
}

.lead {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.5;
  color: var(--paper-dim);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: clamp(4rem, 9vw, 8rem);
}

.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-top: 0.6rem;
}

.section-head p {
  margin-top: 1rem;
  color: var(--muted);
}

.center { text-align: center; }
.center.section-head { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--gold);
  color: var(--ink);
}
.btn--primary:hover { background: var(--gold-soft); }

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

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

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(15, 20, 25, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand .brand-sub {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.35rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
  padding: 0;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  position: relative;
  padding-block: 0.4rem;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--paper); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta { margin-left: 0.5rem; }
.nav-links a.btn--primary {
  color: #000;
}
.nav-links a.btn--primary:hover {
  color: #000;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--paper);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 76px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(200, 155, 80, 0.16), transparent 55%),
    radial-gradient(90% 80% at 10% 90%, rgba(168, 80, 58, 0.18), transparent 55%),
    linear-gradient(180deg, #0c1116 0%, #0f1419 60%, #0b0f13 100%);
  z-index: -2;
}
.hero-bg::after {
  /* subtle film grain */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.04;
  mix-blend-mode: overlay;
  z-index: -1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero-copy { max-width: 640px; }
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  margin-top: 1.2rem;
  line-height: 1.02;
}
.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-soft);
}
.hero .lead { margin-top: 1.6rem; max-width: 540px; }
.hero-actions {
  margin-top: 2.4rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero stacked book art */
.hero-art {
  position: relative;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art .book {
  position: absolute;
  width: 230px;
  box-shadow: var(--shadow);
}
.hero-art .book:nth-child(1) {
  transform: rotate(-9deg) translate(-70px, 18px) scale(0.9);
  filter: brightness(0.7);
  z-index: 1;
}
.hero-art .book:nth-child(2) {
  transform: rotate(6deg) translate(72px, -10px) scale(0.92);
  filter: brightness(0.8);
  z-index: 2;
}
.hero-art .book:nth-child(3) {
  z-index: 3;
  transform: translateY(-6px);
}

/* ---------- Book cover (CSS generated) ---------- */
.cover {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 4px 9px 9px 4px;
  padding: 1.5rem 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--paper);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.cover::before {
  /* spine shading */
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 14px;
  background: linear-gradient(90deg, rgba(0,0,0,0.45), rgba(0,0,0,0));
  z-index: 2;
}
.cover::after {
  /* sheen */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 40%);
  z-index: 1;
}
.cover .cover-top,
.cover .cover-bottom { position: relative; z-index: 3; }
.cover .cover-author {
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.85;
}
.cover .cover-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.08;
  margin-top: 0.5rem;
}
.cover .cover-rule {
  width: 34px;
  height: 2px;
  background: currentColor;
  opacity: 0.7;
  margin: 0.9rem 0;
}
.cover .cover-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Image-based covers (real artwork) */
.cover--img { padding: 0; background: #11161c; }
.cover--img::before,
.cover--img::after { display: none; }
.cover--img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Per-book cover themes */
.cover--rome      { background: linear-gradient(155deg, #2a3b4d, #14202c 70%); color: #f1e7d6; }
.cover--messenger { background: linear-gradient(155deg, #5b2222, #1c0d0d 75%); color: #f3dcca; }
.cover--worlds    { background: linear-gradient(155deg, #1f3a37, #0c1816 72%); color: #dbe9df; }
.cover--jesus     { background: linear-gradient(155deg, #5a4a22, #1d160a 72%); color: #f5e9cd; }
.cover--crosshairs{ background: linear-gradient(155deg, #38323f, #120f17 75%); color: #ece6f2; }

/* ---------- Featured book ---------- */
.featured {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3.5rem);
}
.featured .featured-cover {
  justify-self: center;
  width: 100%;
  max-width: 300px;
}
.featured .featured-cover .cover {
  width: 100%;
  max-width: none;
  margin: 0;
  box-shadow: var(--shadow);
}
.featured h3 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
.featured .meta {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-top: 0.6rem;
}
.featured p { color: var(--muted); margin-top: 1.2rem; }
.featured .featured-actions { margin-top: 1.8rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Books grid ---------- */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.book-card {
  display: block;
  transition: transform 0.4s var(--ease);
}
.book-card .cover { transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease); }
.book-card:hover .cover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: var(--shadow);
}
.book-card .book-meta { margin-top: 1.1rem; }
.book-card .book-meta h3 {
  font-size: 1.25rem;
  font-family: var(--font-display);
}
.book-card .book-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}
.book-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
}
.book-card:hover .read-more .arrow { transform: translateX(4px); }
.book-card .read-more .arrow { transition: transform 0.3s var(--ease); }

/* ---------- About preview ---------- */
.about-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 30% 20%, rgba(200,155,80,0.22), transparent),
    linear-gradient(160deg, #243140, #121a22);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.portrait .monogram {
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 9rem);
  color: rgba(247, 243, 234, 0.10);
  letter-spacing: 0.05em;
}
.portrait .portrait-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.4rem;
  background: linear-gradient(0deg, rgba(8,12,16,0.9), transparent);
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--paper-dim);
  font-size: 1.05rem;
  z-index: 2;
}

/* Portrait that holds a real photo */
.portrait--photo { background: #11161c; }
.portrait--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  z-index: 0;
}

/* Photo collage (author portrait + action shots): 1 on top, 2 below */
.photo-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.photo-collage .frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: #11161c;
}
.photo-collage .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}
.photo-collage .frame:hover img { transform: scale(1.06); }
.photo-collage .frame--wide {
  grid-column: 1 / 3;
  aspect-ratio: 5 / 4;
}
.photo-collage .frame--wide img { object-position: center 22%; }
.photo-collage .frame--sm { aspect-ratio: 4 / 3; }
.photo-collage .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1.2rem;
  background: linear-gradient(0deg, rgba(8, 12, 16, 0.92), transparent);
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--paper-dim);
  font-size: 0.98rem;
  z-index: 2;
}
.photo-collage .tag {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
}

/* Framed media (lifestyle photos) */
.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 3 / 2;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Retailer chips */
.retailers { margin-top: 1.8rem; }
.retailers .retailers-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.retailer-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}
.retailer-logos a {
  background: var(--paper);
  border-radius: 9px;
  padding: 0 0.95rem;
  height: 46px;
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.retailer-logos a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.7);
}
.retailer-logos img { height: 20px; width: auto; display: block; }

.facts {
  list-style: none;
  padding: 0;
  margin-top: 1.8rem;
  display: grid;
  gap: 0.9rem;
}
.facts li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  color: var(--paper-dim);
}
.facts li .dot {
  color: var(--gold);
  font-size: 1.1rem;
  line-height: 1.4;
}

/* ---------- Pull quote ---------- */
.quote-band {
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(168,80,58,0.18), transparent 60%),
    var(--ink-2);
  border-block: 1px solid var(--line);
}
.quote-band blockquote {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}
.quote-band .mark {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold);
  line-height: 0.5;
  display: block;
  margin-bottom: 1rem;
}
.quote-band p {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--paper);
}
.quote-band cite {
  display: block;
  margin-top: 1.8rem;
  font-style: normal;
  font-family: var(--font-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold);
}

/* ---------- Newsletter / CTA band ---------- */
.cta-band {
  background: linear-gradient(160deg, #19222c, #0e141a);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.cta-band p { color: var(--muted); max-width: 540px; margin: 1rem auto 0; }
.signup {
  display: flex;
  gap: 0.7rem;
  max-width: 480px;
  margin: 2rem auto 0;
  flex-wrap: wrap;
  justify-content: center;
}
.signup input {
  flex: 1 1 240px;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.25);
  color: var(--paper);
  font-size: 0.95rem;
}
.signup input::placeholder { color: var(--muted-2); }
.signup input:focus {
  outline: none;
  border-color: var(--gold);
}
.form-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted-2);
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding-top: calc(76px + clamp(3rem, 7vw, 6rem));
  padding-bottom: clamp(2rem, 5vw, 4rem);
  position: relative;
  background:
    radial-gradient(70% 100% at 80% 0%, rgba(200,155,80,0.12), transparent 60%),
    linear-gradient(180deg, #0c1116, var(--ink));
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin-top: 0.8rem;
}
.page-hero p { color: var(--muted); margin-top: 1rem; max-width: 620px; }
.breadcrumb {
  font-size: 0.8rem;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Prose ---------- */
.prose { max-width: 680px; }
.prose p { color: var(--paper-dim); margin-top: 1.3rem; }
.prose p:first-child { margin-top: 0; }
.prose p.drop::first-letter {
  font-family: var(--font-display);
  font-size: 3.6rem;
  float: left;
  line-height: 0.8;
  padding: 0.2rem 0.6rem 0 0;
  color: var(--gold);
}
.prose h3 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  color: var(--paper);
}

/* ---------- Book detail ---------- */
.book-detail {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.book-detail .cover-wrap {
  position: sticky;
  top: 110px;
  max-width: 340px;
}
.book-detail .badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1rem;
}
.book-detail h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.book-detail .subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold-soft);
  margin-top: 0.5rem;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.detail-tags span {
  font-size: 0.78rem;
  color: var(--muted);
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

.next-book {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  margin-top: 1rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.25);
  color: var(--paper);
  font-size: 0.98rem;
  font-family: inherit;
  transition: border-color 0.25s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--gold); }

.info-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}
.info-card h3 { font-size: 1.4rem; }
.info-card .info-row {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-top: 1.4rem;
}
.info-card .info-row .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
}
.info-card .info-row a:hover { color: var(--gold-soft); }

.form-status {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--gold-soft);
  min-height: 1.2em;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: #0b0f13;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand .brand { font-size: 1.6rem; }
.footer-brand p { color: var(--muted); margin-top: 1rem; max-width: 320px; font-size: 0.95rem; }
.footer-col h4 {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.footer-col a { color: var(--muted); font-size: 0.92rem; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--paper); }

.socials { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: all 0.25s var(--ease);
}
.socials a:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.socials svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  color: var(--muted-2);
  font-size: 0.84rem;
}
.footer-bottom a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s var(--ease);
}
.footer-bottom a:hover { color: var(--gold-soft); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  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: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .featured,
  .about-split,
  .book-detail,
  .contact-grid { grid-template-columns: 1fr; }
  .book-detail .cover-wrap { position: static; margin-inline: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(12, 16, 21, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1rem 1.5rem 2rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.45s var(--ease);
    height: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 1rem 0; font-size: 1.05rem; width: 100%; }
  .nav-links .nav-cta { margin: 0.8rem 0 0; }
  .nav-links .nav-cta .btn { width: 100%; justify-content: center; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .footer-top { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
