/* ==========================================================
   Norman Svelund — shared styles (all pages)
   World: night clouds -> breaking light -> golden glory
   ========================================================== */

:root {
  /* Palette (taken from the covers) */
  --night: #0E1220;        /* NIGHT INDIGO - cinematic sections, the dark before the light */
  --dusk: #231C2C;         /* STORM PLUM - transition between night and light */
  --umber: #5A3A26;        /* CLOUD UMBER - shadows inside the clouds */
  --robe: #9C3B22;         /* ROBE CRIMSON - rare accent, the Savior's robe */
  --gold: #E9B45F;         /* HALO GOLD - primary accent, the light */
  --gold-soft: #F3C77A;    /* DAWN GOLD - highlights and hover light */
  --vellum: #F5EEE2;       /* VELLUM - calm editorial pages */
  --vellum-2: #EBE1D0;     /* VELLUM SHADOW - cards and rules on light */
  --ink: #1D1A17;          /* INK - text on light sections */
  --mist: #B9AFA3;         /* MIST - muted text on dark */
  --ink-soft: #5E554B;     /* muted text on light */

  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-serif: "Cormorant Garamond", "Garamond", Georgia, serif;
  --f-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --radius: 2px;
  --max: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --pad: clamp(64px, 11vw, 150px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--night);
  color: var(--vellum);
  font-family: var(--f-sans);
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; height: 100vh; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--night); }

:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 4px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 10000;
  background: var(--gold); color: var(--night); padding: 10px 18px; text-decoration: none;
  font-weight: 700; transition: top .3s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-sans); font-size: 12px; font-weight: 700;
  letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 22px;
}
.eyebrow::before, .eyebrow.is-center::after {
  content: ""; width: 42px; height: 1px; background: currentColor; opacity: .7;
}
.on-light .eyebrow { color: #A0672A; }

.h-display {
  font-family: var(--f-display); font-weight: 500; text-transform: uppercase;
  letter-spacing: .01em; line-height: .92; margin: 0;
  font-size: clamp(44px, 7.6vw, 112px);
}
.h2 {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(34px, 4.6vw, 70px); line-height: 1.04; letter-spacing: -.005em;
  margin: 0 0 26px; text-wrap: balance;
}
.h3 {
  font-family: var(--f-serif); font-weight: 500;
  font-size: clamp(24px, 2.6vw, 40px); line-height: 1.15; margin: 0 0 14px; text-wrap: balance;
}
.lede {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  font-size: clamp(21px, 2vw, 30px); line-height: 1.4; text-wrap: pretty;
}
.muted { color: var(--mist); }
.on-light .muted { color: var(--ink-soft); }
.gold { color: var(--gold); }
.prose p { margin: 0 0 1.1em; max-width: 62ch; text-wrap: pretty; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--pad) 0; }
.on-light { background: var(--vellum); color: var(--ink); }
.on-dusk { background: var(--dusk); }

/* ---------- Buttons (one style everywhere) ---------- */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 30px; border-radius: var(--radius);
  font-family: var(--f-sans); font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn--primary {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #1b1408; box-shadow: 0 10px 30px -12px rgba(233, 180, 95, .55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -12px rgba(243, 199, 122, .85), 0 0 0 1px rgba(255, 236, 196, .4) inset; }
.btn--ghost { border-color: rgba(245, 238, 226, .45); color: var(--vellum); background: transparent; }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--gold-soft); color: var(--gold-soft); box-shadow: 0 0 28px -8px rgba(243, 199, 122, .5); }
.on-light .btn--ghost { border-color: rgba(29, 26, 23, .35); color: var(--ink); }
.on-light .btn--ghost:hover { border-color: #A0672A; color: #A0672A; }
.btn .star-ico { width: 14px; height: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; color: var(--gold);
}
.link-arrow::after { content: "\2192"; transition: transform .4s var(--ease); }
.link-arrow:hover::after { transform: translateX(6px); }

/* Visible placeholder tag: never looks like a real fact */
.ph {
  display: inline-block; font-family: var(--f-sans); font-style: normal; font-size: .72em; font-weight: 700;
  letter-spacing: .08em; padding: .2em .55em; border: 1px dashed currentColor; border-radius: 2px; opacity: .8;
}

/* ---------- Star (signature object) ---------- */
.star-ico { display: inline-block; width: 18px; height: 18px; flex: none; fill: currentColor; }
.star-ico path { fill: currentColor; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900; height: var(--header-h);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s, transform .6s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(14, 18, 32, .72); border-bottom-color: rgba(233, 180, 95, .16);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
}
.is-lite .site-header.is-scrolled { background: rgba(14, 18, 32, .94); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1480px; }
.brand {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font-family: var(--f-display); font-size: 19px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.brand .star-ico { color: var(--gold); width: 20px; height: 20px; }
.nav-list { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 38px); list-style: none; margin: 0; padding: 0; }
.nav-list a {
  position: relative; text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(245, 238, 226, .82); padding: 8px 0; transition: color .3s;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--gold-soft); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { --h: 44px; padding: 0 22px; font-size: 12px; }
.menu-btn {
  display: none; align-items: center; gap: 12px; background: none; border: 0; cursor: pointer; padding: 10px 0;
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 700;
}
.menu-btn .bars { width: 26px; height: 10px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease);
}
.menu-btn .bars::before { top: 0; } .menu-btn .bars::after { top: 8px; }
.menu-open .menu-btn .bars::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-btn .bars::after { top: 4px; transform: rotate(-45deg); }

.menu-panel {
  position: fixed; inset: 0; z-index: 890; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
  background: radial-gradient(120% 80% at 70% 10%, rgba(233, 180, 95, .18), transparent 60%), var(--night);
  clip-path: circle(0% at calc(100% - 50px) 42px); visibility: hidden;
  transition: clip-path .9s var(--ease), visibility 0s .9s;
}
.menu-open .menu-panel { clip-path: circle(150% at calc(100% - 50px) 42px); visibility: visible; transition: clip-path .9s var(--ease), visibility 0s; }
.menu-panel ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu-panel li { overflow: hidden; }
.menu-panel a {
  display: flex; align-items: baseline; gap: 18px; text-decoration: none; padding: 6px 0;
  font-family: var(--f-display); font-size: clamp(36px, 8vw, 64px); line-height: 1.12; text-transform: uppercase;
  transform: translateY(110%); transition: transform .8s var(--ease), color .3s;
}
.menu-panel a::before { counter-increment: m; content: "0" counter(m); font-family: var(--f-sans); font-size: 12px; letter-spacing: .2em; color: var(--gold); }
.menu-panel a:hover { color: var(--gold-soft); }
.menu-open .menu-panel a { transform: none; }
.menu-panel li:nth-child(1) a { transition-delay: .18s } .menu-panel li:nth-child(2) a { transition-delay: .24s }
.menu-panel li:nth-child(3) a { transition-delay: .30s } .menu-panel li:nth-child(4) a { transition-delay: .36s }
.menu-panel li:nth-child(5) a { transition-delay: .42s } .menu-panel li:nth-child(6) a { transition-delay: .48s }
.menu-panel .menu-foot { margin-top: 40px; color: var(--mist); font-family: var(--f-serif); font-style: italic; font-size: 20px; }

@media (max-width: 1180px) {
  .nav-list, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
}

/* ---------- Custom cursor (above everything) ---------- */
.cursor, .cursor-dot {
  position: fixed; left: 0; top: 0; z-index: 2147483000; pointer-events: none;
  border-radius: 50%; transform: translate3d(-100px, -100px, 0);
}
.cursor {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(243, 199, 122, .7);
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s, border-color .35s;
  mix-blend-mode: normal;
}
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold-soft); box-shadow: 0 0 14px 3px rgba(243, 199, 122, .6); }
.cursor.is-hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(243, 199, 122, .12); border-color: rgba(243, 199, 122, .9); }
.cursor.is-down { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor [role="button"], .has-cursor label { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ---------- Sound toggle ---------- */
.sound-toggle {
  position: fixed; left: 20px; bottom: 20px; z-index: 950;
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 12px;
  background: rgba(14, 18, 32, .6); border: 1px solid rgba(233, 180, 95, .3); border-radius: 40px; cursor: pointer;
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--vellum);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.is-lite .sound-toggle { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(14, 18, 32, .9); }
.sound-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.sound-bars i { width: 2px; height: 3px; background: var(--gold); border-radius: 1px; transition: height .3s; }
.sound-on .sound-bars i { animation: bar 1.1s ease-in-out infinite; }
.sound-on .sound-bars i:nth-child(2) { animation-delay: .2s } .sound-on .sound-bars i:nth-child(3) { animation-delay: .4s } .sound-on .sound-bars i:nth-child(4) { animation-delay: .1s }
@keyframes bar { 0%, 100% { height: 3px } 50% { height: 14px } }

/* ---------- Hidden stars ---------- */
.hidden-star {
  position: absolute; z-index: 5; width: 16px; height: 16px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--gold-soft); opacity: .38; transition: opacity .4s, transform .6s var(--ease), filter .4s;
}
.hidden-star svg { width: 100%; height: 100%; fill: currentColor; }
.hidden-star:hover, .hidden-star:focus-visible { opacity: 1; transform: scale(1.5) rotate(45deg); filter: drop-shadow(0 0 8px var(--gold-soft)); }
.hidden-star.is-found { opacity: .9; color: var(--gold); }
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 960; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px);
  padding: 14px 22px; background: rgba(14, 18, 32, .92); border: 1px solid rgba(233, 180, 95, .4); border-radius: 40px;
  font-family: var(--f-serif); font-style: italic; font-size: 19px; color: var(--vellum);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast small { font-family: var(--f-sans); font-style: normal; font-size: 11px; letter-spacing: .18em; color: var(--gold); text-transform: uppercase; white-space: nowrap; }

/* ---------- Reveal hooks (markup driven) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); }
.js [data-reveal="fade"] { transform: none; }
.js [data-mask] { clip-path: inset(12% 12% 12% 12%); }
.js [data-mask] img { transform: scale(1.18); }
[data-words] .w { display: inline; transition: color .25s; }

/* ---------- Grain (desktop only) ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 880; pointer-events: none; opacity: .07;
  background-image: url("../images/grain.png"); animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0) } 20% { transform: translate(-3%, 2%) } 40% { transform: translate(2%, -3%) } 60% { transform: translate(-2%, -1%) } 80% { transform: translate(3%, 3%) } 100% { transform: translate(0, 0) } }
.is-lite .grain { display: none; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; background: #090B14; color: var(--mist); padding: 110px 0 36px; overflow: hidden;
  border-top: 1px solid rgba(233, 180, 95, .14);
}
.site-footer::before {
  content: ""; position: absolute; left: 50%; top: -260px; width: 900px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(233, 180, 95, .14), transparent); pointer-events: none;
}
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 56px; }
.footer-brand .brand { font-size: 22px; color: var(--vellum); }
.footer-brand p { font-family: var(--f-serif); font-size: 20px; line-height: 1.5; font-style: italic; max-width: 40ch; margin: 22px 0 0; color: #d9cfc1; }
.footer-title { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin: 6px 0 20px; }
.footer-nav { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 30px; }
.footer-nav a { display: inline-block; text-decoration: none; padding: 5px 0; color: #d9cfc1; transition: color .3s; }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-form { display: flex; gap: 10px; margin-top: 8px; }
.footer-form input {
  flex: 1; min-width: 0; height: 50px; padding: 0 16px; background: transparent; color: var(--vellum);
  border: 1px solid rgba(245, 238, 226, .25); border-radius: var(--radius); font: inherit; font-size: 15px;
}
.footer-form input:focus { border-color: var(--gold); outline: none; }
.footer-form .btn { --h: 50px; padding: 0 20px; }
.footer-note { font-size: 13px; margin-top: 12px; }
.footer-bottom {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 80px; padding-top: 26px; border-top: 1px solid rgba(245, 238, 226, .1); font-size: 13px;
}
.footer-bottom .star-ico { color: var(--gold); width: 12px; height: 12px; vertical-align: -1px; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 480px) {
  .footer-form { flex-direction: column; }
  .footer-form input { flex: none; width: 100%; }
  .footer-form .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-mask], .js [data-mask] img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* leave room so the fixed Sound button never covers the last footer line on phones */
@media (max-width: 767px) { .site-footer { padding-bottom: 96px; } }
/* small phones: keep the brand and the menu button on one line, inside the screen */
@media (max-width: 420px) {
  .site-header .wrap { gap: 12px; }
  .brand { font-size: 16px; letter-spacing: .1em; gap: 9px; min-width: 0; }
  .brand .star-ico { width: 16px; height: 16px; }
  .menu-btn { flex: none; gap: 0; }
  .menu-btn .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 340px) { .brand { font-size: 14px; letter-spacing: .06em; } }

/* ---------- Books dropdown (desktop nav) ---------- */
.has-drop { position: relative; }
.nav-drop-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; background: none; border: 0; cursor: pointer;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(245, 238, 226, .82); transition: color .3s;
}
.nav-drop-btn::after {
  content: ""; position: absolute; left: 0; right: 18px; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav-drop-btn:hover, .nav-drop-btn.is-current, .has-drop.is-open .nav-drop-btn { color: var(--gold-soft); }
.nav-drop-btn.is-current::after, .nav-drop-btn:hover::after { transform: scaleX(1); transform-origin: left; }
.nd-caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .4s var(--ease); }
.has-drop.is-open .nd-caret { transform: translateY(1px) rotate(225deg); }
.nav-drop {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 360px; margin: 0; padding: 10px; list-style: none;
  background: rgba(14, 18, 32, .97); border: 1px solid rgba(233, 180, 95, .25); border-radius: 4px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 40px -20px rgba(243, 199, 122, .35);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.nav-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge */
.has-drop.is-open .nav-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s; }
.nav-list .nav-drop a {
  display: block; padding: 14px 16px; border-radius: 3px; text-transform: none; letter-spacing: 0;
  font-family: var(--f-serif); font-size: 20px; font-weight: 500; line-height: 1.25; color: var(--vellum);
  transition: background-color .3s, color .3s;
}
.nav-list .nav-drop a::after { display: none; }
.nav-list .nav-drop a:hover, .nav-list .nav-drop a:focus-visible, .nav-list .nav-drop a[aria-current="page"] { background: rgba(233, 180, 95, .1); color: var(--gold-soft); }
.nd-eyebrow { display: block; margin-bottom: 4px; font-family: var(--f-sans); font-size: 10px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }

/* ---------- Books group in the full-screen menu ---------- */
.menu-panel { overflow-y: auto; }
.menu-panel .menu-group {
  display: flex; align-items: baseline; gap: 18px; padding: 6px 0; color: var(--vellum);
  font-family: var(--f-display); font-size: clamp(36px, 8vw, 64px); line-height: 1.12; text-transform: uppercase;
  transform: translateY(110%); transition: transform .8s var(--ease);
}
.menu-panel .menu-group::before { counter-increment: m; content: "0" counter(m); font-family: var(--f-sans); font-size: 12px; letter-spacing: .2em; color: var(--gold); }
.menu-open .menu-panel .menu-group { transform: none; transition-delay: .24s; }
.menu-panel .menu-sub { list-style: none; margin: 0 0 8px; padding: 0 0 0 38px; }
.menu-panel .menu-sub li { overflow: hidden; }
.menu-panel .menu-sub a {
  font-family: var(--f-serif); text-transform: none; font-size: clamp(19px, 4.4vw, 26px); line-height: 1.25; padding: 5px 0; color: #E7DCCB;
}
.menu-panel .menu-sub a::before { content: "\2014"; counter-increment: none; font-family: var(--f-serif); font-size: 1em; letter-spacing: 0; color: var(--gold); }
.menu-panel .menu-sub a[aria-current="page"] { color: var(--gold-soft); }
.menu-open .menu-panel .menu-sub li:nth-child(1) a { transition-delay: .3s; }
.menu-open .menu-panel .menu-sub li:nth-child(2) a { transition-delay: .35s; }
.menu-open .menu-panel .menu-sub li:nth-child(3) a { transition-delay: .4s; }
@media (max-height: 700px) {
  .menu-panel { justify-content: flex-start; }
  .menu-panel a, .menu-panel .menu-group { font-size: clamp(28px, 6.5vw, 44px); }
}

/* footer: books list under Explore */
.footer-title--books { margin-top: 30px; }
.footer-nav--books { columns: 1; }

/* ---------- Buy buttons (Barnes and Noble) + Coming Soon badge ---------- */
.buy { display: grid; gap: 12px; margin: 0 0 18px; }
.buy-store { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.on-light .buy-store { color: #A0672A; }
.buy-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--buy { --h: 48px; padding: 0 22px; font-size: 12px; letter-spacing: .18em; }
.buy--compact .btn--buy { --h: 42px; padding: 0 16px; font-size: 11px; letter-spacing: .14em; }
.buy--center { justify-items: center; text-align: center; }
.buy--center .buy-row { justify-content: center; }
.soon-badge {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: var(--radius);
  border: 1px dashed rgba(233, 180, 95, .6); color: var(--gold-soft); background: rgba(233, 180, 95, .08);
  font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; cursor: default; user-select: none;
}
.soon-badge .star-ico { width: 14px; height: 14px; color: var(--gold); }
.on-light .soon-badge { color: #8A5A22; border-color: rgba(160, 103, 42, .6); background: rgba(160, 103, 42, .07); }
@media (max-width: 420px) { .buy-row .btn--buy { flex: 1 1 auto; padding: 0 12px; } }

/* nav alignment: links and the Books button share one box model so their text lines up exactly */
.nav-list > li { display: flex; align-items: center; }
.nav-list > li > a, .nav-drop-btn {
  display: inline-flex; align-items: center; height: 36px; padding: 0; margin: 0;
  font-family: var(--f-sans); font-size: 12px; font-weight: 600; letter-spacing: .22em; line-height: 1;
  vertical-align: middle; border: 0; -webkit-appearance: none; appearance: none;
}
.nav-drop-btn .nd-caret { display: inline-flex; flex: none; }
