

:root {
  --bg: #0b0b0b;
  --bg-2: #13110e;
  --gold: #c6a15b;
  --gold-soft: #e0c989;
  --ivory: #f4efe4;
  --ivory-dim: #c9c1b0;
  --line: #2a261f;
  --card: #16130f;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: clip; } /* clip, not hidden: hidden on html/body breaks position:sticky */
body.v2 {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
  padding-bottom: 7.5rem; /* clear the live floating pills */
}
img, video, canvas { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
p { margin: 0; }

.draft-banner {
  background: #000;
  color: var(--gold-soft);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 8px 16px;
  text-transform: uppercase;
  font-family: var(--sans);
}
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
@media (max-width: 799px) {
  .hero-actions { margin-bottom: 12px; }
  .scene-copy { padding-bottom: 120px; }
  .model-tag { display: none; } /* hide on mobile: avoids overlap with docked Menu / Ask pills */
  .vid-copy { padding-bottom: 120px; }
}
@media (max-width: 639px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 20px; text-decoration: none; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; border-radius: 0;
  border: 1px solid transparent;
}
.btn-primary { background: var(--gold); color: #111; border-color: var(--gold); font-weight: 600; }
.btn-ghost { background: transparent; color: var(--ivory); border-color: rgba(244,239,228,0.35); }

/* Sticky 3D story */
.hero-story { position: relative; }
.scene-sticky {
  position: sticky;
  top: 0; /* JS sets to live header height */
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #050505;
}
.scene-sticky canvas { width: 100%; height: 100%; display: block; }
.scene-poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  background: #0b0b0b;
}
.scene-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.4) 46%, rgba(0,0,0,0.15) 100%);
  pointer-events: none;
}
.scene-copy {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 0 72px;
  pointer-events: none;
  z-index: 2;
}
.scene-copy .inner { pointer-events: auto; max-width: 640px; }
.eyebrow { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 500; }
.hero-story h1 { font-size: clamp(44px, 7.2vw, 92px); color: var(--ivory); }
.lede { margin-top: 18px; font-size: 17px; color: var(--ivory-dim); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 16px; font-size: 13px; color: #8f8778; }
.model-tag {
  margin-top: 10px;
  font-size: 11px;
  color: #9a9182;
  letter-spacing: 0.03em;
  max-width: 48ch;
}
.chapter-pill {
  position: absolute; top: 24px; right: 20px; z-index: 2;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-soft);
}
.story-panels { position: relative; pointer-events: none; }
.story-panel { height: 90vh; }
.no-webgl .scene-sticky canvas { display: none; }

/* Video parallax */
.vid-band { position: relative; min-height: 80vh; overflow: hidden; display: flex; align-items: flex-end; }
.vid-layer { position: absolute; inset: -12% 0; will-change: transform; }
.vid-layer video, .vid-layer img {
  width: 100%; height: 100%; object-fit: cover; max-width: none; max-height: none;
}
.vid-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.72));
}
.vid-copy { position: relative; z-index: 2; width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 0 0 56px; }
.vid-copy h2 { font-size: clamp(32px, 4vw, 52px); }
.vid-copy p { margin-top: 12px; max-width: 46ch; color: #efe8dc; }
.vid-tag {
  position: absolute; right: 16px; top: 16px; z-index: 2;
  background: rgba(0,0,0,0.62); color: #fff; font-size: 11px; padding: 5px 8px; max-width: calc(100% - 32px);
}
@media (max-width: 768px) {
  .vid-layer { inset: 0; } /* no parallax overflow on small screens */
  .vid-band { min-height: 70vh; }
}

section.block { padding: 88px 0; }
section.alt { background: var(--bg-2); }
.section-kicker { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section-title { font-size: clamp(32px, 4.2vw, 54px); }
.section-lead { margin-top: 14px; color: var(--ivory-dim); max-width: 54ch; }
.head-row { margin-bottom: 40px; }
.rule { border: 0; border-top: 1px solid var(--gold); opacity: 0.45; margin: 0 0 28px; width: 64px; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.facts dt { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.facts dd { margin: 10px 0 0; font-family: var(--serif); font-size: clamp(28px, 3vw, 36px); }
.facts small { display: block; font-family: var(--sans); font-size: 13px; color: var(--ivory-dim); margin-top: 6px; font-weight: 400; }

/* Flip buy-box cards */
.flip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.flip {
  background: transparent;
  perspective: 1200px;
  min-height: 340px;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
  width: 100%;
  color: inherit;
  font: inherit;
}
.flip-inner {
  position: relative;
  width: 100%; height: 100%; min-height: 340px;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 22px;
}
.flip-back { transform: rotateY(180deg); overflow: auto; }
.flip canvas { width: 100%; height: 160px; display: block; background: #0a0a0a; margin: -22px -22px 16px; width: calc(100% + 44px); }
.flip h3 { font-size: 26px; }
.flip .meta { color: var(--gold); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin: 8px 0 12px; }
.flip ul { margin: 0; padding: 0; list-style: none; color: var(--ivory-dim); font-size: 14px; }
.flip li { padding: 7px 0; border-top: 1px solid var(--line); }
.flip .hint { margin-top: 12px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #8f8778; }

.criteria { margin-top: 32px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; }
.criteria table { width: 100%; border-collapse: collapse; }
.criteria th, .criteria td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.criteria th { color: var(--ivory-dim); font-weight: 400; width: 48%; }
.markets { font-size: 15px; color: var(--ivory-dim); }
.markets strong { display: block; font-family: var(--serif); font-size: 26px; color: var(--ivory); font-weight: 500; margin-bottom: 10px; }
.markets p + p { margin-top: 10px; }

/* Calculator */
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.calc-box { background: var(--card); border: 1px solid var(--line); padding: 24px; }
.calc label { display: grid; gap: 8px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ivory-dim); margin-bottom: 16px; }
.calc input[type="number"] {
  min-height: 48px; padding: 10px 12px; border: 1px solid var(--line);
  background: #0d0c0a; color: var(--ivory); width: 100%;
}
.caps { display: flex; flex-wrap: wrap; gap: 8px; }
.caps button {
  min-height: 44px; padding: 0 14px; border: 1px solid var(--line);
  background: transparent; color: var(--ivory-dim); cursor: pointer;
}
.caps button[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-soft); }
.calc-result { margin-top: 8px; }
.calc-result .big { font-family: var(--serif); font-size: clamp(36px, 4vw, 52px); color: var(--gold-soft); }
.calc-result dl { display: grid; gap: 8px; margin: 16px 0 0; }
.calc-result div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 8px; font-size: 14px; }
.disclaimer { margin-top: 16px; font-size: 13px; color: #8f8778; max-width: 54ch; }

.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.step .num { font-family: var(--serif); font-size: 40px; color: var(--gold); }
.step h3 { font-size: 26px; margin-bottom: 8px; }
.step p { color: var(--ivory-dim); max-width: 62ch; }

.people { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: start; }
.people img { width: 100%; height: auto; object-fit: cover; object-position: center 18%; border: 1px solid var(--line); }

.shows { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.show { border: 1px solid var(--line); padding: 22px; background: var(--card); }
.show a { color: var(--gold-soft); }

.social-row { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.social-row a { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }

.insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.insight { border: 1px solid var(--line); background: var(--card); padding: 22px; }
.insight .ph { display: inline-block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.insight h3 { font-size: 24px; margin-bottom: 8px; }
.insight p { color: var(--ivory-dim); font-size: 14px; }

.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq summary {
  cursor: pointer; font-size: 18px; font-family: var(--serif);
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
  min-height: 44px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin-top: 8px; color: var(--ivory-dim); max-width: 62ch; }

.submit { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
form { display: grid; gap: 14px; }
form label { display: grid; gap: 6px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ivory-dim); }
form input, form select, form textarea {
  min-height: 46px; padding: 10px 12px; border: 1px solid var(--line);
  background: #0d0c0a; color: var(--ivory); width: 100%;
}
form textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checks { list-style: none; margin: 0 0 12px; padding: 0; color: var(--ivory-dim); font-size: 14px; }
.form-note { border: 1px solid var(--gold); color: var(--gold-soft); padding: 12px; font-size: 13px; }

footer.v2-foot { border-top: 1px solid var(--line); background: #080808; color: var(--ivory-dim); }
footer.v2-foot .live-legal { color: var(--ivory-dim); }
footer.v2-foot .live-legal .ll-name { color: var(--ivory); }
/* Keep Campus and legal link *components* in their live look (forest button, ink links would vanish on dark).
   The legal nav labels/order/URLs stay exact; colors of surrounding footer are Concept B.
   Legal links are restyled only enough to stay readable on the dark page — the Campus button keeps its forest/paper look. */
footer.v2-foot .live-legal nav a { color: var(--ivory); }
footer.v2-foot .live-legal nav a.ll-campus { color: #f3efe6; background: #1c3d32; }
.extra-contact { padding: 0 0 28px; font-size: 14px; color: #8f8778; }
.extra-contact a { color: var(--ivory); }

#gold-cursor {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 15;
}
@media (pointer: coarse), (max-width: 768px) {
  #gold-cursor { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vid-layer { inset: 0 !important; transform: none !important; }
  .flip-inner { transition: none; }
}

@media (max-width: 1023px) {
  .facts, .flip-grid, .criteria, .calc, .people, .shows, .insights, .submit, .form-row {
    grid-template-columns: 1fr;
  }
  .step { grid-template-columns: 1fr; gap: 8px; }
  .people { grid-template-columns: 140px 1fr; }
  section.block { padding: 64px 0; }
  .scene-copy { padding-bottom: 88px; }
}
@media (max-width: 799px) {
  .hero-actions { margin-bottom: 12px; }
  .scene-copy { padding-bottom: 120px; }
  .model-tag { display: none; } /* hide on mobile: avoids overlap with docked Menu / Ask pills */
  .vid-copy { padding-bottom: 120px; }
}
@media (max-width: 639px) {
  .people { grid-template-columns: 1fr; }
  .people img { max-width: 200px; }
  .hero-story h1 { font-size: clamp(40px, 12vw, 56px); }
  .facts { gap: 20px; }
}
@media (max-width: 479px) {
  /* Leave room so the chapter pill does not sit on the eyebrow. */
  .scene-copy .eyebrow { padding-right: 44%; }
  .chapter-pill { top: 12px; right: 12px; text-align: right; max-width: 42%; }
}

/* --- Live fixes 22 Nov 2026: stable hero poster, still posters on phones, Cyrillic fallback --- */
.scene-sticky picture { display: contents; }
.scene-poster { z-index: 0; }
.scene-sticky canvas#scene-3d { position: absolute; inset: 0; z-index: 1; }
.scene-scrim { z-index: 1; }
.vid-layer picture { display: block; width: 100%; height: 100%; }
.vid-layer video { position: absolute; inset: 0; }
html:lang(ru) * {
  --sans: "Outfit", "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-sans: "Figtree", "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Fraunces", "IBM Plex Serif", ui-serif, Georgia, serif;
}
.lh-desktop a, .lh-lang button { white-space: nowrap; }
@media (min-width: 1024px) { .live-header .lh-schedule { white-space: nowrap; } }
@media (min-width: 1024px) and (max-width: 1299px) {
  html:lang(es) .live-header .lh-desktop, html:lang(ru) .live-header .lh-desktop { gap: 0.7rem; }
  html:lang(es) .live-header .lh-desktop a, html:lang(ru) .live-header .lh-desktop a { font-size: 0.78rem; }
  html:lang(es) .live-header .lh-schedule, html:lang(ru) .live-header .lh-schedule { padding-left: 0.8rem; padding-right: 0.8rem; font-size: 0.8rem; }
}
.scene-sticky { top: var(--live-header-h, 0px); height: calc(100vh - var(--live-header-h, 0px)); height: calc(100dvh - var(--live-header-h, 0px)); }
