/* ============================================================
   Aria Spring - author website
   Palette taken from The Cooling Hours cover: night navy,
   moon cream, and the gold of the author name.
   ============================================================ */

:root {
  --bg: #0b1522;
  --bg-2: #0f1d30;
  --bg-3: #172b45;
  --bg-4: #223b5c;
  --ink: #e9eef5;
  --ink-2: #b4c0d0;
  --ink-3: #7f8ea3;
  --moon: #efe9d9;
  --gold: #e3aa52;
  --gold-2: #f0c472;
  --gold-ink: #1a1206;
  --line: rgba(233, 238, 245, 0.12);
  --line-strong: rgba(233, 238, 245, 0.22);
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 6px 18px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --max: 1120px;
  --gutter: 20px;
  --serif: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: var(--moon); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: var(--moon);
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }

.container {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

.lede { font-size: 1.2rem; color: var(--ink-2); }
.muted { color: var(--ink-3); }

.skip-link {
  position: absolute; left: 8px; top: -60px;
  background: var(--gold); color: var(--gold-ink);
  padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 600;
}
.skip-link:focus { top: 8px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 21, 34, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 20px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moon);
  display: inline-flex; align-items: center; gap: 12px;
}
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand:hover { color: var(--gold-2); }

.nav { display: flex; gap: 6px; align-items: center; }
.nav a {
  color: var(--ink-2); font-size: 0.95rem; font-weight: 500;
  padding: 8px 14px; border-radius: 999px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--moon); background: rgba(255, 255, 255, 0.06); }
.nav .btn { margin-left: 8px; padding: 10px 18px; color: var(--gold-ink); background: var(--gold); }
.nav .btn:hover { color: var(--gold-ink); background: var(--gold-2); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-strong);
  color: var(--moon); border-radius: 10px; width: 44px; height: 44px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-2); color: var(--gold-ink); }
.btn-ghost { background: transparent; color: var(--moon); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--moon); color: var(--moon); }
.btn-small { padding: 10px 18px; font-size: 0.9rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Buy box / store picker ---------- */
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.store-picker { position: relative; }
.store-picker summary {
  list-style: none; cursor: pointer; color: var(--ink-2); font-size: 0.92rem;
  padding: 10px 4px; display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px dashed var(--line-strong);
}
.store-picker summary::-webkit-details-marker { display: none; }
.store-picker summary::after {
  content: ""; width: 7px; height: 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.store-picker[open] summary::after { transform: rotate(225deg) translateY(2px); }
.store-picker ul {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 20;
  min-width: 230px; margin: 0; padding: 8px; list-style: none;
  background: var(--bg-3); border: 1px solid var(--line-strong); border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.store-picker li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; border-radius: 8px; color: var(--ink); font-size: 0.95rem;
}
.store-picker li a:hover, .store-picker li a[aria-current="true"] { background: rgba(255, 255, 255, 0.07); color: var(--moon); }
.store-picker li a[aria-current="true"]::after { content: "\2713"; color: var(--gold); }
.buy-note { font-size: 0.85rem; color: var(--ink-3); width: 100%; margin: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 9vw, 120px) 0 0;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 42%, rgba(255,255,255,0.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 12%, rgba(255,255,255,0.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 28%, rgba(255,255,255,0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 81% 15%, rgba(255,255,255,0.65) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 92% 38%, rgba(255,255,255,0.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 55%, rgba(255,255,255,0.4) 50%, transparent 51%),
    linear-gradient(180deg, #060c16 0%, #0d1a2d 45%, #1b3250 100%);
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 80px);
  align-items: center; position: relative; z-index: 2;
  padding-bottom: clamp(80px, 12vw, 160px);
}
.hero h1 {
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500;
  margin-bottom: 0.35em;
}
.hero .tagline {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: var(--moon); margin-bottom: 1.2em;
}
.hero .lede { max-width: 54ch; margin-bottom: 2em; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-3); font-size: 0.9rem; margin-top: 26px; }
.hero__meta span::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); margin-right: 10px; vertical-align: middle;
}

.hero__cover { position: relative; display: grid; place-items: center; }
.hero__cover::before {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 233, 217, 0.22) 0%, rgba(239, 233, 217, 0.06) 40%, transparent 70%);
  filter: blur(10px); z-index: 0;
}
.hero__cover img {
  position: relative; z-index: 1; width: min(380px, 80%);
  border-radius: 6px; box-shadow: var(--shadow);
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
}
.hero__cover:hover img { transform: rotate(0deg) scale(1.01); }

.hero__mountains {
  position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: auto; z-index: 1;
  pointer-events: none;
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tint { background: var(--bg-2); }
.section--deep { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-head { max-width: 62ch; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--narrow-media { grid-template-columns: 0.8fr 1.2fr; }

.prose { max-width: 66ch; }
.prose p { color: var(--ink-2); }
.prose p.pull {
  font-family: var(--serif); font-size: 1.55rem; font-style: italic; color: var(--moon);
  line-height: 1.35; margin: 1.6em 0; padding-left: 20px; border-left: 2px solid var(--gold);
}
.prose strong { color: var(--moon); }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); background: rgba(255, 255, 255, 0.045); }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(227, 170, 82, 0.12); color: var(--gold); margin-bottom: 20px;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.5rem; margin-bottom: 0.4em; }
.card p { color: var(--ink-2); margin: 0; font-size: 0.98rem; }

/* ---------- Book grid ---------- */
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.book-card {
  display: flex; flex-direction: column; gap: 18px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: border-color 0.2s ease, transform 0.2s ease;
}
.book-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.book-card__cover {
  display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 6px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}
.book-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.book-card:hover .book-card__cover img { transform: scale(1.03); }
.book-card .eyebrow { margin-bottom: 6px; font-size: 0.7rem; }
.book-card h3 { font-size: 1.7rem; margin-bottom: 0.3em; }
.book-card h3 a { color: var(--moon); }
.book-card h3 a:hover { color: var(--gold-2); }
.book-card p { color: var(--ink-2); font-size: 0.95rem; flex: 1; }
.book-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.link { font-weight: 600; font-size: 0.95rem; }
.coming-soon {
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
  display: grid; place-items: center; text-align: center; padding: 40px 24px; color: var(--ink-3);
}
.coming-soon h3 { color: var(--ink-2); margin-bottom: 0.2em; }

/* ---------- Book detail page ---------- */
.book-hero {
  padding: clamp(40px, 7vw, 90px) 0 clamp(40px, 6vw, 72px);
  background: linear-gradient(180deg, #060c16, var(--bg));
}
.book-hero .split { align-items: start; }
.book-hero__cover img { width: min(420px, 100%); margin-inline: auto; border-radius: 6px; box-shadow: var(--shadow); }
.book-hero h1 { text-transform: uppercase; letter-spacing: 0.08em; font-size: clamp(2.4rem, 5vw, 4rem); }
.book-hero .tagline { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--moon); margin-bottom: 1.4em; }
.breadcrumb { font-size: 0.88rem; color: var(--ink-3); margin-bottom: 28px; }
.breadcrumb a { color: var(--ink-2); }
.breadcrumb span { margin: 0 8px; }

.details {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 26px;
  margin: 0; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.details div { margin: 0; }
.details dt { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.details dd { margin: 0; color: var(--moon); font-weight: 500; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 26px; }
.tags li { font-size: 0.8rem; color: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 12px; }

.share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.share span { font-size: 0.85rem; color: var(--ink-3); margin-right: 6px; }
.share a, .share button {
  font: inherit; font-size: 0.85rem; font-weight: 600; color: var(--ink-2);
  background: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 14px; cursor: pointer;
}
.share a:hover, .share button:hover { color: var(--moon); border-color: var(--moon); }

.store-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px;
}
.store-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px; color: var(--moon); font-weight: 500;
  background: rgba(255, 255, 255, 0.03);
}
.store-list a:hover { border-color: var(--gold); color: var(--gold-2); }
.store-list a::after { content: "\2197"; color: var(--gold); }

/* ---------- About ---------- */
.about-portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-4));
  display: grid; place-items: center; color: var(--moon);
  font-family: var(--serif); font-size: 5rem; letter-spacing: 0.1em;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Newsletter ---------- */
.newsletter {
  background: linear-gradient(135deg, #172b45 0%, #0f1d30 60%, #0b1522 100%);
  border: 1px solid var(--line); border-radius: 22px; padding: clamp(32px, 5vw, 60px);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
}
.newsletter h2 { margin-bottom: 0.3em; }
.newsletter p { color: var(--ink-2); margin: 0; }
.newsletter form { display: grid; gap: 12px; }
.newsletter .row { display: flex; gap: 10px; }
.newsletter input {
  flex: 1; min-width: 0; padding: 14px 18px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(0, 0, 0, 0.25); color: var(--moon);
  font: inherit; font-size: 1rem;
}
.newsletter input::placeholder { color: var(--ink-3); }
.newsletter small { color: var(--ink-3); font-size: 0.8rem; }
.form-msg { min-height: 1.4em; color: var(--gold-2); font-size: 0.92rem; margin: 0; }

/* ---------- Social pills ---------- */
.social { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.social a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  color: var(--ink); font-size: 0.9rem; font-weight: 500;
}
.social a:hover { border-color: var(--gold); color: var(--gold-2); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); padding: 56px 0 36px; background: #070e18;
  font-size: 0.92rem; color: var(--ink-3);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.site-footer h4 {
  font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-2); margin: 0 0 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--moon); }
.site-footer .brand { font-size: 1.3rem; margin-bottom: 12px; }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.82rem;
}
.footer-bottom p { margin: 0; }
[hidden] { display: none !important; }

/* ---------- Page header (simple pages) ---------- */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(24px, 4vw, 48px); background: linear-gradient(180deg, #060c16, var(--bg)); }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.page-head p { color: var(--ink-2); font-size: 1.15rem; max-width: 60ch; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__grid, .split, .split--narrow-media, .newsletter { grid-template-columns: 1fr; }
  .hero__grid { gap: 40px; }
  .hero__cover { order: -1; }
  .hero__cover img { width: min(300px, 70%); }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .book-hero__cover img { width: min(320px, 80%); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 14px var(--gutter) 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .btn { margin: 8px 0 0; }
  .nav-toggle { display: inline-block; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter .row { flex-direction: column; }
  .newsletter .row .btn { width: 100%; }
  .hero h1 { letter-spacing: 0.05em; }
}

/* ============================================================
   Spring Bookstore additions
   ============================================================ */

/* Wordmark: "SPRING" over a small gold "BOOKSTORE" */
.brand > span { display: inline-flex; flex-direction: column; line-height: 1; }
.brand small {
  font-family: var(--sans); font-size: 0.56rem; font-weight: 700;
  letter-spacing: 0.34em; color: var(--gold); margin-top: 4px;
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[id] { scroll-margin-top: 90px; }

/* Book cards */
.book-card__cover { position: relative; }
.badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--gold); color: var(--gold-ink);
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 999px;
}
.badge--status { left: auto; right: 10px; background: rgba(11, 21, 34, 0.85); color: var(--moon); border: 1px solid var(--line-strong); }
.status-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 999px;
  border: 1px dashed var(--gold); color: var(--gold-2); font-size: 0.9rem; font-weight: 600; line-height: 1;
}
.status-pill::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px rgba(227, 170, 82, 0.2);
}
.book-card__body { display: flex; flex-direction: column; flex: 1; }
.book-card__body > p:last-child { flex: 1; }
.book-card__author { color: var(--ink-3); font-size: 0.9rem; margin: -2px 0 10px; flex: 0 !important; }
.book-card__author a { color: var(--ink-2); }
.book-card__author a:hover { color: var(--gold-2); }

/* Hero cover fan */
.hero__fan { position: relative; }
.fan { position: relative; height: clamp(320px, 36vw, 500px); display: grid; place-items: center; }
.fan::before {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 233, 217, 0.2) 0%, rgba(239, 233, 217, 0.05) 40%, transparent 70%);
  filter: blur(10px);
}
.fan__item {
  position: absolute; width: min(230px, 44%); border-radius: 6px; box-shadow: var(--shadow);
  transition: transform 0.45s ease; transform-origin: bottom center;
}
.fan__item img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; }
.fan__item--0 { z-index: 3; }
.fan__item--1 { z-index: 2; transform: translateX(-52%) translateY(16px) rotate(-11deg) scale(0.9); filter: brightness(0.82); }
.fan__item--2 { z-index: 1; transform: translateX(52%) translateY(16px) rotate(11deg) scale(0.9); filter: brightness(0.82); }
.fan:hover .fan__item--1 { transform: translateX(-62%) translateY(12px) rotate(-14deg) scale(0.9); }
.fan:hover .fan__item--2 { transform: translateX(62%) translateY(12px) rotate(14deg) scale(0.9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Featured spotlight */
.spotlight {
  display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(24px, 4vw, 48px);
}
.spotlight__cover img { width: min(320px, 100%); margin-inline: auto; border-radius: 6px; box-shadow: var(--shadow); }
.spotlight h2 { text-transform: uppercase; letter-spacing: 0.06em; font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 0.15em; }
.spotlight h2 a { color: var(--moon); }
.spotlight h2 a:hover { color: var(--gold-2); }
.spotlight__author { color: var(--ink-3); margin-bottom: 1em; }
.spotlight__author a { color: var(--ink-2); }
.spotlight .tagline { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--moon); margin-bottom: 0.8em; }
.spotlight .lede { font-size: 1.05rem; margin-bottom: 1.6em; }
.spotlight__more { margin: 16px 0 0; }
.spotlight__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-3); font-size: 0.88rem; margin-top: 22px; }
.spotlight__meta span::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); margin-right: 10px; vertical-align: middle;
}

/* Author cards */
.authors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.author-card {
  display: block; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px; color: var(--ink-2);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.author-card:hover { border-color: var(--gold); transform: translateY(-3px); color: var(--ink-2); }
.author-card__portrait, .about-portrait span { font-family: var(--serif); }
.author-card__portrait {
  width: 84px; height: 84px; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-4)); color: var(--moon);
  font-size: 1.9rem; letter-spacing: 0.08em; margin-bottom: 18px; border: 1px solid var(--line-strong);
}
.author-card__portrait img { width: 100%; height: 100%; object-fit: cover; }
.author-card h3 { font-size: 1.6rem; margin-bottom: 0.15em; }
.author-card__role { color: var(--gold); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
.author-card p { font-size: 0.95rem; }
.author-card__count { color: var(--ink-3); font-size: 0.85rem; margin: 0; }

/* Author sections */
.author-section__books { margin-top: clamp(36px, 5vw, 56px); }
.author-section__books h3 { font-size: 1.5rem; margin-bottom: 20px; color: var(--ink-2); }

/* Catalogue filters */
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.filters input[type="search"], .filters select {
  font: inherit; font-size: 0.98rem; color: var(--moon);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 12px 18px; min-width: 0;
}
.filters input[type="search"] { flex: 1 1 280px; }
.filters input::placeholder { color: var(--ink-3); }
.filters select {
  flex: 0 1 260px; appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23b4c0d0' stroke-width='1.6'/></svg>");
  background-repeat: no-repeat; background-position: right 16px center;
}
.filters select option, .filters select optgroup { color: #111; background: #fff; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.chips__label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-right: 4px; }
.chip {
  font: inherit; font-size: 0.85rem; font-weight: 500; color: var(--ink-2);
  background: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 14px; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.chip:hover { color: var(--moon); border-color: var(--moon); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.results-meta { color: var(--ink-3); font-size: 0.9rem; margin: 10px 0 26px; }
.empty {
  border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 40px 24px;
  text-align: center; color: var(--ink-3); grid-column: 1 / -1;
}
.empty p { margin: 0; }

/* Notices & disclosure */
.notice {
  background: rgba(227, 170, 82, 0.08); border: 1px solid rgba(227, 170, 82, 0.3);
  border-radius: var(--radius); padding: 22px 26px; color: var(--ink-2); font-size: 0.95rem;
}
.notice strong { color: var(--moon); }
.site-footer .disclosure { max-width: 72ch; font-size: 0.82rem; line-height: 1.6; margin: 0 0 18px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.steps .card { position: relative; padding-top: 34px; }
.steps .card::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 18px; right: 22px; font-family: var(--serif); font-size: 1.6rem; color: var(--gold); opacity: 0.8;
}

@media (max-width: 900px) {
  .hero__fan { order: -1; }
  .fan { height: 300px; }
  .fan__item { width: min(180px, 46%); }
  .spotlight { grid-template-columns: 1fr; }
  .spotlight__cover img { width: min(260px, 70%); }
  .steps { grid-template-columns: 1fr; }
}

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