/* Layout: full-bleed athletic editorial — white ground, black film sections, gold only on black.
   Type: Archivo at condensed widths for display (matches the R&R film titles); per-script fonts are swapped in by main.js. */
:root {
  --ink: #0E0E0F;
  --paper: #FFFFFF;
  --mist: #F3F2EF;
  --line: #E6E4DF;
  --muted: #5C5A55;
  --gold: #E6BA66;        /* from the official logo */
  --gold-deep: #7A5C1E;   /* gold for small text on white */
  --on-dark: #F5F3EE;
  --on-dark-muted: #B9B5AC;
  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --display-stretch: 68%;
  --display-leading: 0.88;
  --display-case: uppercase;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1320px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.stack { display: flex; flex-direction: column; gap: 32px; }
.stack-sm { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }

.display { font-family: var(--font-display); font-weight: 900; font-stretch: var(--display-stretch); text-transform: var(--display-case); line-height: var(--display-leading); letter-spacing: -0.005em; text-wrap: balance; margin: 0; }
.h2 { font-size: clamp(40px, 5.6vw, 80px); }
.h-xl { font-size: clamp(52px, 7vw, 108px); overflow-wrap: anywhere; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); }
.eyebrow.gold, .gold { color: var(--gold); }
.lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 32em; margin: 0; }
.note, .fine { margin: 0; color: var(--muted); font-size: 15px; }
.fine { font-size: 13px; }

.section { padding-block: clamp(72px, 9vw, 120px); }
.band { background: var(--mist); }
.dark { background: var(--ink); color: var(--on-dark); }
.dark .lede { color: var(--on-dark-muted); }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent; font: 600 16px/1.1 var(--font-body); text-decoration: none; cursor: pointer; text-align: center; transition: transform .15s ease, background-color .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 14px; height: 14px; fill: currentColor; flex: none; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-ghost { border-color: var(--on-dark); color: var(--on-dark); background: transparent; }
.btn-ghost:hover { background: var(--on-dark); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; min-height: 68px; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: auto; }
.brand span { font-family: "Archivo", Arial, sans-serif; font-weight: 900; font-stretch: 75%; font-size: 21px; letter-spacing: 0.04em; }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px 26px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; padding: 10px 0; }
.nav-links a:hover { color: var(--gold-deep); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { min-height: 44px; max-width: 190px; padding: 0 34px 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230E0E0F' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; font: 500 14px var(--font-body); color: var(--ink); cursor: pointer; }
@media (max-width: 900px) { .nav-links { display: none; } }
@media (max-width: 520px) { .nav-actions .btn { display: none; } }

/* Hero — copy left, program wall right */
.hero { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, min(46vw, 78vh, 760px)); align-items: center; gap: 40px clamp(32px, 4vw, 72px); padding-block: clamp(40px, 5vw, 72px); }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero .display { font-size: clamp(56px, 7.4vw, 132px); }
.hero-sub { margin: 0; font-size: clamp(18px, 1.6vw, 21px); max-width: 28em; color: #E9E6DF; }
.proof { margin: 0; font-size: 15px; color: var(--on-dark-muted); }
.wall { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 100%; background: #000; overflow: hidden; }
.wall video, .wall .wall-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wall .wall-poster { transition: opacity .6s ease; }
.wall-labels { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); }
.wall-labels li { display: flex; align-items: flex-end; padding: 10px 12px; font: 600 clamp(11px, 1vw, 14px)/1.2 "Archivo", Arial, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--on-dark); background: linear-gradient(180deg, transparent 62%, rgba(14,14,15,.75)); box-shadow: inset 0 0 0 1.5px var(--ink); }
.wall-badge { position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--ink); font: 700 14px/1 var(--font-body); padding: 10px 14px; border-radius: 999px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .wall { width: 100%; } }
.beat { display: flex; gap: 5px; align-items: flex-end; height: 22px; max-width: 360px; }
.beat i { flex: 1; height: 8px; background: rgba(245,243,238,.35); }
.beat i:nth-child(4n+1) { height: 22px; background: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .beat i { animation: pulse 2s steps(1) infinite; }
  .beat i:nth-child(2){animation-delay:.125s}.beat i:nth-child(3){animation-delay:.25s}.beat i:nth-child(4){animation-delay:.375s}.beat i:nth-child(5){animation-delay:.5s}.beat i:nth-child(6){animation-delay:.625s}.beat i:nth-child(7){animation-delay:.75s}.beat i:nth-child(8){animation-delay:.875s}.beat i:nth-child(9){animation-delay:1s}.beat i:nth-child(10){animation-delay:1.125s}.beat i:nth-child(11){animation-delay:1.25s}.beat i:nth-child(12){animation-delay:1.375s}.beat i:nth-child(13){animation-delay:1.5s}.beat i:nth-child(14){animation-delay:1.625s}.beat i:nth-child(15){animation-delay:1.75s}.beat i:nth-child(16){animation-delay:1.875s}
}
@keyframes pulse { 0% { opacity: 1; filter: brightness(1.6); } 6% { opacity: .55; filter: none; } 100% { opacity: .55; } }

/* Players */
.player { position: relative; aspect-ratio: 16 / 9; width: 100%; max-width: 100%; background: var(--ink); overflow: hidden; color: var(--on-dark); }
.player video, .player img { width: 100%; height: 100%; object-fit: cover; }
.player.blank { background: radial-gradient(120% 90% at 50% 40%, #2A2418 0%, var(--ink) 62%); }
.player.blank::before { content: ""; position: absolute; left: 8%; right: 8%; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 2px, transparent 2px 6.25%); opacity: .35; transform: translateY(-50%); }
.play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, rgba(14,14,15,0) 45%, rgba(14,14,15,.7) 100%); border: 0; cursor: pointer; color: var(--on-dark); padding: 0; font: inherit; }
.play-disc { width: clamp(68px, 9vw, 104px); aspect-ratio: 1; border-radius: 50%; background: var(--paper); display: flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.play-disc svg { width: 34%; fill: var(--ink); margin-left: 6%; }
.play:hover .play-disc { transform: scale(1.06); }
.play-meta { position: absolute; left: clamp(16px, 2.4vw, 32px); bottom: clamp(14px, 2.2vw, 28px); right: 16px; text-align: left; display: flex; flex-direction: column; gap: 2px; }
.play-meta b { font-family: "Archivo", Arial, sans-serif; font-weight: 900; font-stretch: 70%; font-size: clamp(26px, 3.2vw, 44px); text-transform: uppercase; line-height: 1; }
.play-meta span { font-size: 15px; color: var(--on-dark-muted); }
.soon { position: absolute; top: 16px; right: 16px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 999px; }

/* How it works */
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 14px; font-weight: 600; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.steps li { padding: 24px 24px 0 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.steps .n { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--gold-deep); }
.steps b { font-family: var(--font-display); font-weight: 900; font-stretch: var(--display-stretch); text-transform: var(--display-case); font-size: clamp(32px, 3.4vw, 48px); line-height: 1; }
.steps p { margin: 0; color: var(--muted); max-width: 22em; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps li { padding-bottom: 20px; border-bottom: 1px solid var(--line); } }

/* Who — big type list */
.who-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.who-list li { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 40px; padding-block: clamp(18px, 2.4vw, 30px); border-bottom: 1px solid var(--line); }
.who-meta { display: flex; align-items: center; gap: 28px; margin-left: auto; padding-bottom: .6em; }
.who-list b { font-size: clamp(60px, 9.5vw, 150px); transition: color .25s ease; max-width: 100%; overflow-wrap: anywhere; }
.who-list span { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); }
.who-list li:hover b { color: var(--gold-deep); }
.mini-beat { flex: none; width: 114px; height: 28px; background:
  linear-gradient(var(--ink), var(--ink)) 0 100% / 6px 28px no-repeat,
  linear-gradient(var(--line), var(--line)) 18px 100% / 6px 12px no-repeat,
  linear-gradient(var(--line), var(--line)) 36px 100% / 6px 12px no-repeat,
  linear-gradient(var(--line), var(--line)) 54px 100% / 6px 12px no-repeat,
  linear-gradient(var(--ink), var(--ink)) 72px 100% / 6px 28px no-repeat,
  linear-gradient(var(--line), var(--line)) 90px 100% / 6px 12px no-repeat,
  linear-gradient(var(--line), var(--line)) 108px 100% / 6px 12px no-repeat; }
.who-list li:hover .mini-beat { background-color: transparent; filter: none; }
@media (prefers-reduced-motion: no-preference) { .who-list li:hover .mini-beat { animation: beatflash .5s steps(1) infinite; } }
@keyframes beatflash { 50% { opacity: .35; } }
@media (max-width: 760px) { .who-meta { margin-left: 0; padding-bottom: 0; } .mini-beat { display: none; } }

/* Doors */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.door { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.door.light { background: var(--mist); }
.door.dark { background: var(--ink); color: var(--on-dark); }
.door h3 { font-size: clamp(38px, 4.2vw, 58px); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.door.dark .ticks li { color: var(--on-dark); }
.door.dark .ticks li::before { border-color: var(--gold); }
.price { margin: 0; font-family: "Archivo", Arial, sans-serif; font-weight: 900; font-stretch: 70%; font-size: 40px; line-height: 1; }
.price small { font-stretch: 100%; font-weight: 500; font-size: 16px; color: var(--muted); }
.motto { margin: 0; color: var(--gold); font-weight: 600; }
.door .btn { align-self: flex-start; }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } }

/* Waitlist */
.waitlist { border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 80px; align-items: start; }
form { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
legend { font-weight: 600; margin-bottom: 10px; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--ink); }
.choice input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-weight: 600; }
.field input { min-height: 54px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 14px; font: 16px var(--font-body); background: var(--paper); color: var(--ink); width: 100%; }
.field input:focus { border-color: var(--ink); outline: none; }
form .btn { min-height: 58px; }
.form-msg { margin: 0; padding: 14px 18px; border-radius: 14px; background: var(--mist); font-weight: 500; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: 14px; }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-block: 56px 36px; }
.site-footer .top > div { max-width: 34em; }
.site-footer .brand span { color: var(--on-dark); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.site-footer nav a { color: var(--on-dark); text-decoration: none; }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px 36px; border-top: 1px solid #2A2A2C; }
.site-footer .bottom a { color: var(--on-dark-muted); }

#toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--on-dark); padding: 12px 18px; border-radius: 999px; font-size: 14px; z-index: 99; max-width: calc(100% - 32px); text-align: center; }

/* Scripts without condensed Latin caps: keep the display face readable */
html.script-cjk, html.script-thai, html.script-deva { --display-stretch: 100%; --display-leading: 1.12; --display-case: none; }
html.script-cyrl { --display-stretch: 100%; --display-leading: 0.95; }
html.script-cjk .display, html.script-thai .display, html.script-deva .display { letter-spacing: 0; font-weight: 800; }
html.script-cjk .h2, html.script-thai .h2, html.script-deva .h2 { font-size: clamp(32px, 4.4vw, 60px); }
html.script-cjk .who-list b, html.script-thai .who-list b, html.script-deva .who-list b { font-size: clamp(44px, 7vw, 104px); }
html.script-cjk .hero .display, html.script-thai .hero .display, html.script-deva .hero .display { font-size: clamp(44px, 5.6vw, 96px); }
html.script-cjk body, html.script-thai body, html.script-deva body { line-height: 1.7; overflow-wrap: anywhere; line-break: strict; }
html:lang(ko) body { word-break: keep-all; overflow-wrap: break-word; }

.price .usd { display: block; margin-top: 6px; font-size: 14px; }
html:lang(ko) .price .usd { display: none; }
