/* Corpus, one-page site.
   Theme: single dark manuscript-night theme, locked.
   Shapes: cards 18px, buttons and chips full-pill. */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('assets/fonts/cormorant-garamond-v21-latin_latin-ext-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('assets/fonts/cormorant-garamond-v21-latin_latin-ext-500italic.woff2') format('woff2');
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('assets/fonts/cormorant-garamond-v21-latin_latin-ext-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('assets/fonts/figtree-v9-latin_latin-ext-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('assets/fonts/figtree-v9-latin_latin-ext-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('assets/fonts/figtree-v9-latin_latin-ext-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Menbere';
  src: url('assets/fonts/menbere-v1-ethiopic_latin-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Frank Ruhl Libre';
  src: url('assets/fonts/frank-ruhl-libre-v23-hebrew_latin_latin-ext-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Heebo';
  src: url('assets/fonts/heebo-v28-hebrew_latin_latin-ext_math_symbols-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --ink: #12100c;
  --ink-2: #181510;
  --ink-3: #1f1b14;
  --bone: #eae3d3;
  --bone-dim: rgba(234, 227, 211, 0.64);
  --bone-faint: rgba(234, 227, 211, 0.42);
  --gold: #c9a35c;
  --gold-bright: #e3c084;
  --gold-deep: rgba(201, 163, 92, 0.14);
  --line: rgba(234, 227, 211, 0.12);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  --ethiopic: 'Menbere', 'Nyala', serif;
  --hebrew: 'Frank Ruhl Libre', 'David', serif;
  --r-card: 18px;
  --shadow: 0 24px 70px rgba(4, 3, 1, 0.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---------- scrollbar (desktop widths only; phones use overlay bars) ---------- */
@media (min-width: 861px) {
  html {
    scrollbar-width: auto;
    scrollbar-color: var(--gold) var(--ink-2);
  }
  ::-webkit-scrollbar { width: 14px; height: 14px; }
  ::-webkit-scrollbar-track {
    background: var(--ink-2);
    border-inline-start: 1px solid var(--line);
  }
  ::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 999px;
    /* Padding-box clipping leaves the border as breathing room around the
       thumb, so the bar reads as a rail rather than a filled block. */
    border: 3px solid var(--ink-2);
    background-clip: padding-box;
  }
  ::-webkit-scrollbar-thumb:hover { background: var(--gold-bright); background-clip: padding-box; }
  ::-webkit-scrollbar-corner { background: var(--ink-2); }
}

/* ---------- Hebrew and right-to-left ----------
   Cormorant and Figtree carry no Hebrew, so the whole page swaps type stacks
   with the language. Everything directional elsewhere in this file uses
   logical properties, so dir="rtl" on <html> is all the mirroring needs. */
html[lang="he"] {
  --serif: 'Frank Ruhl Libre', 'David', serif;
  --sans: 'Heebo', 'Arial Hebrew', sans-serif;
}
html[lang="he"] h1,
html[lang="he"] h2,
html[lang="he"] h3 { letter-spacing: 0; line-height: 1.2; }
html[lang="he"] .eyebrow { letter-spacing: 0.08em; }
/* Hebrew has no italic tradition; gold already carries the emphasis. */
html[lang="he"] .hero-title em,
html[lang="he"] .feature-quote,
html[lang="he"] .feature-kicker,
html[lang="he"] .originals-note { font-style: normal; }
/* Search operators and file names are Latin fragments: keep them LTR runs. */
[dir="rtl"] .query-chips span { direction: ltr; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.45rem; line-height: 1.2; }

.lede {
  color: var(--bone-dim);
  max-width: 56ch;
  margin-top: 1rem;
  font-size: 1.1rem;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

section { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 5vw, 4rem); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  white-space: nowrap;
  text-align: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.7rem;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s, border-color 0.25s;
}
@media (min-width: 1440px) {
  .hero-ctas .btn { font-size: 1.06rem; padding: 1rem 2.1rem; }
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-gold { background: var(--gold); color: #1a1508; }
.btn-gold:hover { background: var(--gold-bright); }
.btn-ghost { color: var(--bone); border: 1px solid rgba(234, 227, 211, 0.28); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 72px;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  transition: background-color 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(18, 16, 12, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.mark { width: 26px; height: 26px; color: var(--gold); }
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; letter-spacing: 0.01em; }
.nav-links { display: flex; gap: 1.6rem; margin-inline-start: auto; }
.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--bone-dim);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-bright); }
.nav-cta { padding: 0.6rem 1.3rem; font-size: 0.92rem; }

.lang-switch { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: none;
  border: 1px solid rgba(234, 227, 211, 0.28);
  border-radius: 999px;
  color: var(--bone);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 0.55rem 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.lang-btn:hover { border-color: var(--gold); color: var(--gold-bright); }
.lang-caret {
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}
/* The menu sets display:flex, which would otherwise beat the hidden
   attribute's UA display:none and leave the menu open on load. */
.lang-menu[hidden] { display: none; }
.lang-flag {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(234, 227, 211, 0.22);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  inset-inline-end: 0;
  min-width: 168px;
  background: rgba(24, 21, 16, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  z-index: 50;
}
.lang-menu button {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: none;
  color: var(--bone-dim);
  font-family: var(--sans);
  font-size: 0.95rem;
  text-align: start;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
}
.lang-menu button:hover { background: var(--gold-deep); color: var(--gold-bright); }
.lang-menu button[aria-selected="true"] { color: var(--gold-bright); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .lang-switch { margin-inline-start: auto; }
}
/* On phones the hero's own button is right below; one CTA is enough. */
@media (max-width: 700px) {
  .nav-cta { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding-top: 96px;
  overflow: clip;
}
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 44% at 72% 30%, rgba(201, 163, 92, 0.16), transparent 70%),
    radial-gradient(40% 34% at 18% 78%, rgba(201, 163, 92, 0.07), transparent 70%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 2.5rem);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}
.hero-title {
  font-size: clamp(2.05rem, 3.4vw, 3.3rem);
  font-weight: 500;
}
.hero-title em { font-style: italic; color: var(--gold-bright); }
.line-mask { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.06em; }
.line { display: block; }
.hero-title .w { display: inline-block; will-change: transform; }
.hero-sub { color: var(--bone-dim); font-size: 1.15rem; max-width: 44ch; margin-top: 1.4rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

.hero-phones {
  position: relative;
  height: min(72dvh, 640px);
}
.phone {
  border-radius: 40px;
  border: 1px solid rgba(234, 227, 211, 0.16);
  background: #060504;
  padding: 10px;
  box-shadow: var(--shadow);
  width: min(280px, 30vw);
}
.phone img { border-radius: 30px; }
.hero-phones .phone { position: absolute; }
.phone-back {
  inset-inline-end: min(200px, 16vw);
  top: 0;
  rotate: -7deg;
  opacity: 0.85;
  width: min(240px, 25vw);
}
.phone-front { inset-inline-end: 0; top: 90px; rotate: 4deg; }

@media (max-width: 960px) {
  .hero { padding-top: 110px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-phones { height: auto; display: flex; justify-content: center; gap: 1rem; margin-top: 1rem; }
  .hero-phones .phone { position: static; width: min(46vw, 250px); }
  .phone-back { rotate: -3deg; }
  .phone-front { rotate: 3deg; }
}

/* ---------- scroll hint ---------- */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  translate: -50% 0;
  display: block;
  padding: 0.5rem;
  opacity: 0.75;
  transition: opacity 0.3s;
}
.scroll-hint:hover { opacity: 1; }
.scroll-hint-pill {
  display: block;
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(234, 227, 211, 0.45);
  border-radius: 999px;
  position: relative;
}
.scroll-hint-dot {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold-bright);
  translate: -50% 0;
  animation: hint-drop 2.1s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes hint-drop {
  0% { transform: translateY(0); opacity: 0; }
  25% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-hint-dot { animation: none; opacity: 1; }
}

/* ---------- section rules and quote lines (drawn on reveal) ---------- */
.shelf-head h2::after, .reading > h2::after, .originals > h2::after,
.languages > h2::after, .download > h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin-top: 0.55em;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}
.languages > h2::after, .download > h2::after { margin-inline: auto; transform-origin: center; }
h2.revealed::after { transform: scaleX(1); }
.reduced-motion h2::after { transform: scaleX(1); }

.script-quote { position: relative; border-inline-start: none; }
.script-quote::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.script-quote.revealed::before, .reduced-motion .script-quote::before { transform: scaleY(1); }

/* ---------- nav section highlight ---------- */
.nav-links a.active { color: var(--gold-bright); }

/* ---------- the little book feature ---------- */
.feature-book {
  background: linear-gradient(180deg, var(--ink) 0%, #16120c 50%, var(--ink) 100%);
}
.feature-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.feature-cover { position: relative; }
.feature-cover img {
  border-radius: 12px;
  border: 1px solid rgba(234, 227, 211, 0.1);
  box-shadow: 0 30px 90px rgba(4, 3, 1, 0.65), 0 0 120px rgba(201, 163, 92, 0.12);
  rotate: -2deg;
  transition: rotate 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-cover:hover img { rotate: 0deg; }
.feature-copy h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.feature-body { color: var(--bone-dim); max-width: 54ch; margin-top: 1.1rem; }
.feature-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.3;
  color: var(--gold-bright);
  margin-top: 1.6rem;
  padding-bottom: 0.15em;
}
.feature-meta {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-top: 1.6rem;
}
.feature-companion { background: none; padding-top: 0; }
.feature-companion .feature-inner { grid-template-columns: 1.2fr 0.65fr; }
.feature-cover-small { max-width: 300px; justify-self: center; }
.feature-cover-small img { rotate: 2deg; }
.feature-kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold);
  margin-top: 0.5rem;
  padding-bottom: 0.15em;
}
@media (max-width: 900px) {
  .feature-inner, .feature-companion .feature-inner { grid-template-columns: 1fr; }
  .feature-cover { max-width: 320px; margin: 0 auto; }
  .feature-companion .feature-cover-small { order: -1; max-width: 260px; }
}

/* ---------- interface languages band ---------- */
.ui-band { padding-top: 0; padding-bottom: 0; text-align: center; }
.ui-band-caption {
  color: var(--bone-faint);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}
.marquee-ui { border-top: 1px solid rgba(201, 163, 92, 0.18); border-bottom: 1px solid rgba(201, 163, 92, 0.18); padding: 1rem 0; }
/* Scoped tighter than the book-language marquee rules further down, which
   would otherwise win the specificity tie and restyle this band. */
.marquee-ui .marquee-track {
  animation-name: marquee-reverse;
  animation-duration: 120s;
  gap: 2rem;
}
.marquee-ui .marquee-track span {
  font-family: var(--sans);
  font-size: 1.02rem;
  color: var(--bone-dim);
}
.marquee-ui .marquee-track span:nth-child(3n) { color: var(--gold); }
@keyframes marquee-reverse { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---------- shelf ---------- */
.shelf-head { padding-bottom: 0; max-width: 1320px; margin: 0 auto; }
.shelf { padding: 0; overflow: hidden; min-height: 100dvh; display: flex; align-items: center; }
.shelf-track {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: 2rem clamp(1.25rem, 5vw, 4rem);
  width: max-content;
}
.book-card { width: clamp(240px, 24vw, 330px); flex-shrink: 0; }
@media (min-width: 1024px) {
  .book-card:nth-child(even) { transform: translateY(20px); }
}
.book-cover {
  border-radius: 10px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(234, 227, 211, 0.08);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.book-card:hover .book-cover { transform: translateY(-8px); }
.book-card h3 { margin-top: 1.3rem; }
.book-sub { color: var(--bone-dim); font-size: 0.95rem; margin-top: 0.2rem; }
.book-meta {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: 0.55rem;
}
@media (max-width: 1023px) {
  .shelf { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; min-height: 0; padding: 1rem 0 2rem; }
  .shelf::-webkit-scrollbar { display: none; }
  .book-card { scroll-snap-align: center; }
}

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 0;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--bone-faint); font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- reading bento ---------- */
.reading { max-width: 1320px; margin: 0 auto; }
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 1.25rem;
  margin-top: 3rem;
}
.cell {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cell-body { padding: 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; }
.cell-body p { color: var(--bone-dim); font-size: 0.99rem; }
.cell-tall { grid-row: span 2; }
.cell-tall .cell-shot { position: relative; flex: 1; min-height: 340px; }
.cell-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cell-tinted {
  background: linear-gradient(145deg, var(--ink-3), var(--ink-2) 65%);
}
.cell-media .cell-shot-bottom { position: relative; flex: 1; min-height: 170px; }
.cell-shot-bottom img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }

.query-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.query-chips span {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: 0.8rem;
  color: var(--gold-bright);
  background: var(--gold-deep);
  border: 1px solid rgba(201, 163, 92, 0.25);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
}
.swatches { display: flex; gap: 0.5rem; margin-top: 0.6rem; }
.swatches i { width: 20px; height: 20px; border-radius: 50%; }
.s1 { background: #e5c25a; } .s2 { background: #d98a4f; } .s3 { background: #c96a6a; }
.s4 { background: #b878ad; } .s5 { background: #7f8fd1; } .s6 { background: #62aebe; }
.s7 { background: #7cae74; } .s8 { background: #9a9a90; }

@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr; }
  .cell-tall { grid-row: auto; }
  .cell-tall .cell-shot { max-height: 340px; }
  .cell-media .cell-shot-bottom { min-height: 300px; }
}

/* ---------- originals ---------- */
.originals {
  background: linear-gradient(180deg, var(--ink) 0%, #0c0a07 18%, #0c0a07 82%, var(--ink) 100%);
}
.originals > h2, .originals > .eyebrow, .originals > .lede, .originals-note, .callouts {
  max-width: 1100px; margin-left: auto; margin-right: auto;
}
.plate {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: 1100px;
  margin: clamp(4rem, 8vw, 7rem) auto 0;
}
.plate-flip { grid-template-columns: 0.9fr 1.1fr; }
.plate-flip .plate-script { order: 2; }
.plate-center { display: block; text-align: center; }

.script-title {
  font-family: var(--ethiopic);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.25;
  color: var(--gold-bright);
}
.script-hebrew { font-family: var(--hebrew); }
.script-caption { color: var(--bone-faint); font-size: 0.9rem; letter-spacing: 0.06em; margin-top: 0.8rem; }
.plate-center .script-caption { margin-top: 0.4rem; }
.script-quote { margin-top: 2rem; border-inline-start: 2px solid var(--gold); padding-inline-start: 1.2rem; }
.script-quote p { font-family: var(--ethiopic); font-size: 1.25rem; color: var(--bone); line-height: 1.9; }
.script-quote footer { color: var(--bone-dim); font-size: 0.95rem; margin-top: 0.7rem; }
.script-quote cite { color: var(--bone-faint); font-style: normal; font-size: 0.85rem; display: block; margin-top: 0.2rem; }

.plate-copy h3 { font-size: 1.9rem; }
.plate-copy p { color: var(--bone-dim); margin-top: 0.9rem; max-width: 52ch; }
.phone-plate { margin-top: 2rem; width: min(240px, 60vw); }
.plate-copy-center { max-width: 60ch; margin: 0 auto; }
.plate-copy-center p { margin-inline: auto; }
.phone-plate-center { margin: 2.2rem auto 0; }

.callouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: clamp(4rem, 7vw, 6rem);
}
.callout {
  border: 1px solid rgba(201, 163, 92, 0.22);
  background: var(--gold-deep);
  border-radius: var(--r-card);
  padding: 1.8rem;
}
.callout h3 { color: var(--gold-bright); font-size: 1.35rem; }
.callout p { color: var(--bone-dim); font-size: 0.98rem; margin-top: 0.7rem; }

.originals-note {
  margin-top: 3rem;
  color: var(--bone-dim);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  text-align: center;
}

@media (max-width: 900px) {
  .plate, .plate-flip { grid-template-columns: 1fr; }
  .plate-flip .plate-script { order: 0; }
  .callouts { grid-template-columns: 1fr; }
}

/* ---------- languages ---------- */
.languages { text-align: center; }
.languages h2 { margin-bottom: 2.5rem; }
.marquee {
  overflow: hidden;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 calc(-1 * clamp(1.25rem, 5vw, 4rem));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex;
  gap: 2.6rem;
  white-space: nowrap;
  width: max-content;
  animation: marquee 160s linear infinite;
}
.marquee-track span {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--bone-dim);
}
.marquee-track span:nth-child(4n) { color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

.lang-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1100px;
  margin: 3.5rem auto 0;
  text-align: start;
}
.lang-grid h3 { font-size: 1.3rem; }
.lang-grid p { color: var(--bone-dim); font-size: 0.98rem; margin-top: 0.6rem; }
@media (max-width: 860px) { .lang-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ---------- privacy ---------- */
.privacy { text-align: center; background: #0c0a07; }
.privacy h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.privacy .lede { margin: 1.4rem auto 0; }

/* ---------- download ---------- */
.download { max-width: 1320px; margin: 0 auto; text-align: center; }
.download .lede { margin-inline: auto; }
.dl-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
  margin-top: 3rem;
}
.dl-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
  gap: 0.45rem;
  text-decoration: none;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 1.5rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}
.dl-card:hover { transform: translateY(-5px); border-color: rgba(201, 163, 92, 0.45); }
.dl-card .picon { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.dl-card:hover .picon { transform: translateY(-3px) scale(1.08); }
.dl-card:active { transform: translateY(-3px) scale(0.99); }
.picon {
  width: 30px; height: 30px;
  background-color: var(--gold);
  -webkit-mask: var(--icon) no-repeat center / contain;
  mask: var(--icon) no-repeat center / contain;
  margin-bottom: 0.5rem;
}
.picon-svg { background: none; color: var(--gold); }
.picon-inline { display: inline-block; width: 16px; height: 16px; vertical-align: -2px; margin: 0 0.2rem 0 0.4rem; background-color: var(--bone-dim); }
.picon-inline.picon-svg { background: none; color: var(--bone-dim); }
.dl-name { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; }
.dl-note { color: var(--bone-dim); font-size: 0.92rem; }
.dl-file { color: var(--gold); font-size: 0.82rem; font-weight: 500; margin-top: auto; padding-top: 0.6rem; }
.dl-side { color: var(--bone-dim); margin-top: 2rem; font-size: 0.98rem; }
.dl-side a { color: var(--gold-bright); }
.dl-verify { display: flex; align-items: center; justify-content: center; gap: 0.55rem; flex-wrap: wrap; }
.verify-mark { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
@media (max-width: 1100px) { .dl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .dl-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 3rem clamp(1.25rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
  text-align: center;
}
.footer-brand { display: flex; align-items: center; gap: 0.7rem; color: var(--bone-dim); }
.footer-brand .mark { width: 20px; height: 20px; }
.footer-brand a { color: var(--gold-bright); text-decoration: none; white-space: nowrap; }
.footer-brand a:hover { text-decoration: underline; }
.footer-fine { color: var(--bone-faint); font-size: 0.85rem; }

/* ---------- reveal defaults (JS enhances) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js.reduced-motion [data-reveal] { opacity: 1; transform: none; }
