/* Richard Feller — site styles
   Palette: midnight navy + gold, drawn from the Fear-Clearing Trilogy covers. */

:root {
  --ink: #07111f;
  --navy: #0b1a2e;
  --navy-2: #10243d;
  --navy-3: #173152;
  --line: rgba(244, 239, 230, 0.12);
  --gold: #e3b04b;
  --gold-2: #f6d27a;
  --gold-deep: #b9862a;
  --cream: #f6f1e7;
  --cream-2: #ebe3d3;
  --text: #f4efe6;
  --muted: #a9b4c4;
  --ink-text: #14233a;
  --ink-muted: #56637a;
  --radius: 18px;
  --wrap: 1200px;
  --font: "Google Sans", "Product Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.h-xl { font-size: clamp(2.1rem, 4.6vw, 4rem); }
.h-lg { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.gold { color: var(--gold); }
.grad {
  background: linear-gradient(100deg, var(--gold-2), var(--gold) 55%, #f09a3e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1rem, 1.25vw, 1.12rem); color: var(--muted); max-width: 52ch; }
.light .lead { color: var(--ink-muted); }

/* line-mask for headline reveals */
.line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.line > span { display: block; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  overflow: hidden; isolation: isolate;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold::before, .btn-ghost::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform 0.45s var(--ease);
}
.btn-gold::before { background: var(--gold-2); }
.btn-ghost { border: 1px solid rgba(244, 239, 230, 0.35); color: var(--text); }
.btn-ghost::before { background: var(--text); }
.btn-ghost:hover { color: var(--ink); border-color: var(--text); }
.btn:hover::before { transform: translateY(0); }
.light .btn-ghost { border-color: rgba(20, 35, 58, 0.3); color: var(--ink-text); }
.light .btn-ghost::before { background: var(--ink-text); }
.light .btn-ghost:hover { color: var(--cream); border-color: var(--ink-text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.link-arrow:hover { border-color: currentColor; }
.link-arrow svg { width: 15px; height: 15px; }

/* ---------- header ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-deep), var(--gold-2)); z-index: 120; }
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(7, 17, 31, 0.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.22rem; letter-spacing: -0.01em; }
.brand svg { width: 30px; height: 28px; flex: none; }
.brand img { height: 46px; width: auto; flex: none; }
.site-footer .brand img, footer .brand img { height: 58px; }
@media (max-width: 620px) { .brand img { height: 40px; } }
.brand small { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-top: -3px; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; font-size: 15px; font-weight: 500; color: rgba(244, 239, 230, 0.82);
  border-radius: 999px; transition: color 0.25s, background 0.25s;
}
.menu > li > a:hover, .menu > li > button:hover, .menu > li > a[aria-current="page"] { color: var(--gold-2); }
.menu > li > a[aria-current="page"] { background: rgba(227, 176, 75, 0.1); }
.menu .caret { width: 10px; height: 10px; transition: transform 0.3s; }
.has-drop[data-open="true"] .caret { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 10px); right: 0; width: 300px; max-height: 60vh; overflow: auto;
  background: rgba(11, 26, 46, 0.97); border: 1px solid var(--line); border-radius: 16px;
  padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.has-drop[data-open="true"] .drop { opacity: 1; visibility: visible; transform: none; }
.drop a, .drop span { display: block; padding: 8px 10px; border-radius: 9px; font-size: 13.5px; color: var(--muted); }
.drop a b, .drop span b { display: block; color: var(--text); font-weight: 600; font-size: 12px; letter-spacing: 0.08em; }
.drop a:hover { background: rgba(227, 176, 75, 0.12); color: var(--gold-2); }
.drop span { opacity: 0.4; }
.nav-cta { margin-left: 10px; padding: 11px 22px; }
/* `.menu > li > a` outranks `.btn-gold`, so restate the button's dark text (incl. hover/current) */
.menu > li > a.nav-cta,
.menu > li > a.nav-cta:hover,
.menu > li > a.nav-cta[aria-current="page"] { color: var(--ink); background: var(--gold); font-weight: 600; padding: 11px 22px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); position: relative; z-index: 111; }
.burger i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.burger i:first-child { top: 18px; } .burger i:last-child { top: 26px; }
.burger[aria-expanded="true"] i:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 105; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; padding: 100px 28px 40px;
  visibility: hidden; clip-path: circle(0% at calc(100% - 47px) 39px);
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { overflow: hidden; }
.mobile-menu a.big { display: block; font-size: clamp(2rem, 9vw, 3.2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.mobile-menu a.big:hover, .mobile-menu a.big[aria-current="page"] { color: var(--gold); }
.mobile-menu .mm-foot { margin-top: 36px; color: var(--muted); font-size: 14px; }
.mobile-menu .mm-foot a { color: var(--gold); }

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: -8% 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.94) 0%, rgba(7, 17, 31, 0.72) 42%, rgba(7, 17, 31, 0.15) 100%),
    linear-gradient(0deg, var(--navy) 0%, rgba(11, 26, 46, 0) 30%);
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 480px; }
.hero-art .tri { position: absolute; width: min(118%, 600px); top: 50%; left: 50%; transform: translate(-50%, -54%); overflow: visible; }
.hero-art .tri path { fill: none; stroke: url(#triGrad); stroke-width: 2.5; }
.hero-art .halo { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(246, 210, 122, 0.42), rgba(246, 210, 122, 0) 65%); filter: blur(12px); }
.hero-art img { position: relative; width: min(100%, 440px); filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.55)); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); transform-origin: top; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 160px 0 70px; overflow: hidden; isolation: isolate; }
.page-hero .ph-bg { position: absolute; inset: -10% 0; z-index: -2; }
.page-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 17, 31, 0.8), rgba(11, 26, 46, 0.7) 50%, var(--navy) 100%); }
.page-hero.to-cream::after { background: linear-gradient(180deg, rgba(7, 17, 31, 0.82), rgba(11, 26, 46, 0.72) 60%, rgba(11, 26, 46, 0.9) 100%); }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 22px; letter-spacing: 0.04em; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { margin: 0 8px; opacity: 0.5; }

/* ---------- sections ---------- */
.section { padding: clamp(60px, 7.5vw, 104px) 0; position: relative; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.light { background: var(--cream); color: var(--ink-text); }
.light .eyebrow { color: var(--gold-deep); }
.deep { background: var(--ink); }
.sec-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lead { margin-inline: auto; }
.sec-head h2 { margin-bottom: 12px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split.contact-split { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
.media { position: relative; border-radius: var(--radius); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.tall { aspect-ratio: 4 / 5; } .media.wide { aspect-ratio: 3 / 2; } .media.square { aspect-ratio: 1; }
.media.framed { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); }
.media .scale-in { transform: scale(1.18); }
.note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.light .note { color: var(--ink-muted); }

/* marquee band */
.band { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: var(--ink); }
.band-track { display: flex; gap: 56px; width: max-content; white-space: nowrap; font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -0.01em; color: rgba(244, 239, 230, 0.75); }
.band-track span { display: inline-flex; align-items: center; gap: 56px; }
.band-track span::after { content: ""; width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 15px solid var(--gold); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 44px; }
.stat { background: var(--navy); padding: 26px 26px; }
.stat b { display: block; font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--gold-2); margin-bottom: 10px; }
.stat span { font-size: 14px; color: var(--muted); line-height: 1.4; display: block; }

/* quote */
.pullquote { font-size: clamp(1.3rem, 2.3vw, 1.9rem); font-weight: 500; line-height: 1.35; letter-spacing: -0.015em; max-width: 30ch; }
.pullquote.center { max-width: 44ch; margin-inline: auto; }
.pullquote.wide { max-width: 30ch; }
.signature { width: 210px; margin-top: 30px; }
.signature.on-dark { filter: brightness(0) invert(1); opacity: 0.92; }

/* ---------- books ---------- */
.books { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.book-card {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--navy-2), var(--navy)); border: 1px solid var(--line);
  border-radius: 24px; padding: 34px 28px 28px; transition: border-color 0.4s;
}
.book-card:hover { border-color: rgba(227, 176, 75, 0.55); }
.book-card .tag { position: absolute; top: 18px; left: 18px; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(227, 176, 75, 0.4); border-radius: 999px; padding: 5px 12px; z-index: 2; }
.cover-wrap { perspective: 1100px; display: grid; place-items: center; padding: 36px 0 30px; }
.cover { width: 62%; max-width: 230px; border-radius: 6px; transform-style: preserve-3d; filter: drop-shadow(0 30px 34px rgba(0, 0, 0, 0.55)); will-change: transform; }
.cover img { width: 100%; border-radius: 6px; }
.book-card h3 { font-size: 1.45rem; margin-bottom: 8px; }
.book-card .sub { color: var(--muted); font-size: 15px; line-height: 1.5; margin-bottom: 20px; flex: 1; }
.book-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.price { font-size: 1.5rem; font-weight: 700; color: var(--gold-2); letter-spacing: -0.02em; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; }
.rating { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.book-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.book-actions .btn { justify-content: center; padding: 13px 16px; }

.questions { display: grid; gap: 0; counter-reset: q; border-top: 1px solid rgba(20, 35, 58, 0.14); }
.question { counter-increment: q; display: grid; grid-template-columns: 70px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(20, 35, 58, 0.14); font-size: 1.06rem; font-weight: 500; line-height: 1.45; letter-spacing: -0.01em; }
.question::before { content: "0" counter(q); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; color: var(--gold-deep); padding-top: 7px; }

/* book detail */
.detail { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.detail-cover { position: sticky; top: 120px; display: grid; place-items: center; padding: 50px 30px; border-radius: 28px; background: radial-gradient(circle at 50% 40%, var(--navy-3), var(--navy-2) 70%); border: 1px solid var(--line); perspective: 1200px; }
.detail-cover .cover { width: 70%; max-width: 310px; }
.detail h1 { font-size: clamp(2.1rem, 4vw, 3.3rem); margin-bottom: 10px; }
.detail .tagline { font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: var(--gold-2); font-weight: 500; margin-bottom: 22px; line-height: 1.35; }
.detail .buy { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin: 30px 0 14px; padding: 24px 0; border-block: 1px solid var(--line); }
.detail .buy .price { font-size: 2.2rem; }
.formats { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin: 0 0 20px; }
.prose h3 { font-size: 1.35rem; margin: 40px 0 14px; }
.prose p { color: inherit; }
.prose { max-width: 70ch; }
.dark-prose p, .dark-prose li { color: #c9d1dd; }
.ticks { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 0.45em; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 14px solid var(--gold); }
.ticks li b { color: var(--text); }
.light .ticks li b { color: var(--ink-text); }

/* reviews — slider cards (home) */
.review { background: var(--navy-2); border: 1px solid var(--line); border-radius: 20px; padding: 28px 28px 26px; margin: 0; display: flex; flex-direction: column; }
.review .qm { width: 26px; height: 20px; color: var(--gold); margin-bottom: 16px; }
.review blockquote { margin: 0 0 22px; font-size: 1.05rem; line-height: 1.6; color: #d6dce6; flex: 1; }
.review blockquote p { margin-bottom: 0.7em; }
.who b { display: block; font-size: 15px; line-height: 1.3; }
.who span { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 3px; }
.light .review { background: #fff; border-color: rgba(20, 35, 58, 0.1); }
.light .review blockquote { color: #2c3b53; }
.light .who span { color: var(--ink-muted); }
.t-slider { overflow: hidden; cursor: grab; }
.t-track { display: flex; align-items: stretch; gap: 20px; width: max-content; }
.t-track .review { width: min(400px, 82vw); flex: none; }

/* reviews page */
.rv-hero { padding-bottom: 56px; }
.rv-strip { display: flex; flex-wrap: wrap; gap: 14px 48px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.rv-strip > div { display: flex; align-items: center; gap: 12px; }
.rv-strip b { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; color: var(--gold-2); line-height: 1; }
.rv-strip span:not(.stars) { font-size: 14px; color: var(--muted); max-width: 26ch; line-height: 1.35; }
.lead-quote { display: grid; grid-template-columns: 250px 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.lq-who .qm { width: 46px; height: 35px; color: var(--gold); margin-bottom: 26px; display: block; }
.lq-who b { display: block; font-size: 1.2rem; }
.lq-who span { display: block; font-size: 14px; color: var(--muted); line-height: 1.45; margin-top: 4px; }
.lq-who .lq-tag { margin-top: 16px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.lead-quote blockquote { margin: 0; font-size: clamp(1.35rem, 2.6vw, 2.15rem); font-weight: 500; line-height: 1.32; letter-spacing: -0.018em; }
.shorts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.short { margin: 0; padding: 32px 28px 30px 0; display: flex; flex-direction: column; gap: 22px; }
.short + .short { padding-left: 28px; border-left: 1px solid var(--line); }
.short blockquote { margin: 0; font-size: 1.14rem; font-weight: 500; line-height: 1.45; letter-spacing: -0.01em; flex: 1; }
.short b { display: block; font-size: 14.5px; color: var(--gold-2); }
.short span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-top: 4px; }
.rv-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.rv-head .eyebrow { margin-bottom: 12px; }
.score { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 14px; color: var(--ink-muted); }
.score b { font-size: 2rem; letter-spacing: -0.03em; line-height: 1; color: var(--ink-text); }
.rv-list { border-bottom: 1px solid rgba(20, 35, 58, 0.14); }
.rv-row { display: grid; grid-template-columns: 250px 1fr; gap: clamp(20px, 5vw, 70px); padding: 30px 0; border-top: 1px solid rgba(20, 35, 58, 0.14); }
.rv-row header b { display: block; font-size: 1.05rem; line-height: 1.3; }
.rv-row header span:not(.stars) { display: block; font-size: 13.5px; color: var(--ink-muted); line-height: 1.5; margin-top: 5px; }
.rv-row header .stars { margin-bottom: 8px; color: var(--gold-deep); }
.rv-row .clamp { font-size: 1.08rem; line-height: 1.65; color: #2c3b53; max-width: 68ch; }
.rv-row .clamp p { margin-bottom: 0.6em; }
.rv-list.compact .rv-row { grid-template-columns: 200px 1fr; padding: 22px 0; }
.rv-list.compact .rv-row .clamp { font-size: 1rem; }
.rv-row.is-extra { display: none; }
.rv-list.all .rv-row.is-extra { display: grid; }
.show-all { margin-top: 26px; }

/* collapsible long text */
[data-more] .clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
[data-more].open .clamp { display: block; }
.clamp-box { max-height: 200px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
[data-more].open .clamp-box { max-height: none; -webkit-mask-image: none; mask-image: none; }
.more { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--gold-deep); border-bottom: 1px solid currentColor; }
.dark-prose .more, .deep .more { color: var(--gold); }
.desc { margin-top: 36px; }
.desc h2 { font-size: 1.4rem; margin-bottom: 14px; }

/* metaphysics chapters */
.chapters { display: grid; grid-template-columns: 260px 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.toc { position: sticky; top: 120px; list-style: none; margin: 0; padding: 0; border-left: 1px solid rgba(20, 35, 58, 0.16); }
.toc a { display: block; padding: 9px 0 9px 20px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14.5px; color: var(--ink-muted); line-height: 1.35; transition: color 0.25s, border-color 0.25s; }
.toc a:hover, .toc a.active { color: var(--ink-text); border-color: var(--gold-deep); font-weight: 600; }
.chapter { padding-bottom: clamp(50px, 7vw, 90px); scroll-margin-top: 110px; }
.chapter .num { font-size: 13px; font-weight: 600; letter-spacing: 0.2em; color: var(--gold-deep); margin-bottom: 12px; display: block; }
.chapter h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 16px; }
.chapter p { font-size: 1.04rem; color: #2c3b53; max-width: 64ch; }
.chapter .media { margin: 34px 0 8px; }
.chapter blockquote { margin: 30px 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--gold-deep); font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink-text); max-width: 26ch; }
.chapter blockquote cite { display: block; margin-top: 12px; font-size: 14px; font-style: normal; font-weight: 600; letter-spacing: 0.08em; color: var(--gold-deep); }
.purpose { text-align: center; padding: clamp(90px, 13vw, 170px) 0; position: relative; overflow: hidden; isolation: isolate; }
.purpose .ph-bg { position: absolute; inset: -12% 0; z-index: -2; }
.purpose .ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.purpose::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(7, 17, 31, 0.55), rgba(7, 17, 31, 0.9)); }
.purpose p.big { font-size: clamp(1.6rem, 3.4vw, 2.8rem); font-weight: 600; line-height: 1.18; letter-spacing: -0.02em; max-width: 22ch; margin: 0 auto; }

/* videos */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.video-card { background: var(--navy-2); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.video-card .frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-card video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.video-card .play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(0deg, rgba(7, 17, 31, 0.55), rgba(7, 17, 31, 0.15)); transition: opacity 0.3s; }
.video-card .play i { width: 76px; height: 76px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; transition: transform 0.4s var(--ease); }
.video-card .play:hover i { transform: scale(1.1); }
.video-card .play svg { width: 24px; height: 24px; color: var(--ink); margin-left: 4px; }
.video-card.playing .play { opacity: 0; pointer-events: none; }
.video-card h3 { font-size: 1.15rem; line-height: 1.3; padding: 22px 24px 26px; letter-spacing: -0.01em; }
.video-card h3 small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; color: var(--gold); margin-bottom: 8px; }

/* gallery */
.gallery { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 22px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.gallery figcaption { position: absolute; left: 14px; bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; padding: 6px 12px; border-radius: 999px; background: rgba(7, 17, 31, 0.72); backdrop-filter: blur(8px); color: var(--text); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.fact { padding: 28px; border-radius: var(--radius); border: 1px solid rgba(20, 35, 58, 0.12); background: #fff; }
.fact b { display: block; font-size: 2.3rem; letter-spacing: -0.03em; line-height: 1; margin-bottom: 10px; color: var(--gold-deep); }
.fact span { font-size: 14.5px; color: var(--ink-muted); line-height: 1.45; display: block; }

/* coming soon */
.soon { position: relative; overflow: hidden; }
.soon .media { max-width: 520px; margin-inline: auto; }
.soon .glow { position: absolute; width: 60vw; height: 60vw; max-width: 800px; max-height: 800px; right: -10%; top: 50%; transform: translateY(-50%); background: radial-gradient(circle, rgba(227, 176, 75, 0.18), transparent 62%); pointer-events: none; }

/* forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--text);
  background: rgba(244, 239, 230, 0.05); border: 1px solid var(--line); border-radius: 14px; padding: 15px 18px;
  transition: border-color 0.25s, background 0.25s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(169, 180, 196, 0.6); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(244, 239, 230, 0.08); }
.form .btn { justify-self: start; }
.form-msg { grid-column: 1 / -1; font-size: 14.5px; color: var(--gold-2); min-height: 1.4em; margin: 0; }
.form-msg.is-err { color: #ff9a8a; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
form[aria-busy="true"] button[type="submit"] { opacity: 0.6; pointer-events: none; }
.contact-card { background: var(--navy-2); border: 1px solid var(--line); border-radius: 28px; padding: clamp(26px, 4vw, 48px); }
.contact-aside dl { margin: 34px 0 0; display: grid; gap: 22px; }
.contact-aside dt { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.contact-aside dd { margin: 0; font-size: 1.1rem; }
.contact-aside dd a:hover { color: var(--gold-2); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding: clamp(60px, 8vw, 100px) 0 30px; }
.news { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-bottom: clamp(44px, 6vw, 70px); margin-bottom: clamp(44px, 6vw, 70px); border-bottom: 1px solid var(--line); }
.news h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 10px; }
.news p { color: var(--muted); }
.news-form { display: flex; gap: 10px; background: rgba(244, 239, 230, 0.06); border: 1px solid var(--line); border-radius: 999px; padding: 6px; }
.news-form input { flex: 1; min-width: 0; font: inherit; color: var(--text); background: none; border: 0; padding: 10px 18px; }
.news-form input:focus { outline: none; }
.news-form:focus-within { border-color: var(--gold); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-grid h3 { font-size: 12.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid li a, .foot-grid li span { color: var(--muted); font-size: 15px; transition: color 0.25s; }
.foot-grid li a:hover { color: var(--text); }
.foot-about p { color: var(--muted); font-size: 15px; max-width: 34ch; margin-top: 18px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s var(--ease); }
.social a:hover { color: var(--ink); background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.social svg { width: 17px; height: 17px; }
.copyright { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.copyright a { color: var(--text); }
.copyright a:hover { color: var(--gold); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 24px; visibility: hidden; }
.modal-back { position: absolute; inset: 0; background: rgba(4, 10, 19, 0.78); backdrop-filter: blur(6px); opacity: 0; }
.modal-box { position: relative; width: min(470px, 100%); background: var(--navy-2); border: 1px solid rgba(227, 176, 75, 0.35); border-radius: 26px; padding: 36px 32px 32px; opacity: 0; box-shadow: 0 50px 100px -30px #000; }
.modal-box h2 { font-size: 1.6rem; margin-bottom: 6px; }
.modal-box p { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.modal-x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background 0.25s, color 0.25s; }
.modal-x:hover { background: var(--text); color: var(--ink); }
.modal-x svg { width: 14px; height: 14px; }
.store { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; font-weight: 600; transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease); }
.store:hover { border-color: var(--gold); background: rgba(227, 176, 75, 0.08); transform: translateX(4px); }
.store small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.store svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* ---------- reveal baseline (only when JS is running) ---------- */
html.js [data-reveal], html.js [data-stagger] > *, html.js [data-intro] { visibility: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .menu, .nav-cta { display: none; }
  .burger { display: block; }
  .books { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .chapters { grid-template-columns: 1fr; }
  .toc { display: none; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .hero { padding-top: 120px; }
  .hero-grid, .split, .split.contact-split, .detail, .news, .lead-quote, .rv-row, .rv-list.compact .rv-row { grid-template-columns: 1fr; }
  .rv-row { gap: 12px; }
  .shorts { grid-template-columns: 1fr 1fr; }
  .short, .short + .short { padding: 24px 18px 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .short:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
  .short:nth-last-child(-n+2) { border-bottom: 0; }
  .split.rev > :first-child { order: 0; }
  .hero-art { min-height: 0; margin-top: 10px; }
  .hero-art img { width: min(74%, 330px); }
  .hero::after { background: linear-gradient(180deg, rgba(7, 17, 31, 0.9) 0%, rgba(7, 17, 31, 0.62) 55%, var(--navy) 100%); }
  .scroll-cue { display: none; }
  .detail-cover { position: static; }
  .videos, .facts { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:first-child { grid-row: auto; }
  .page-hero { padding: 150px 0 70px; }
  .question { grid-template-columns: 44px 1fr; }
}
@media (max-width: 620px) {
  .books { grid-template-columns: 1fr; }
  .shorts { grid-template-columns: 1fr; }
  .short:nth-child(even) { padding-left: 0; border-left: 0; }
  .short:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .form { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 18px; }
  .news-form { flex-direction: column; border-radius: 22px; }
  .news-form .btn { justify-content: center; }
  .brand small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue i { animation: none; }
  html.js [data-reveal], html.js [data-stagger] > *, html.js [data-intro] { visibility: visible; }
}
