/* WENDY LASH GLOBAL — core stylesheet
   Palette and type scale follow the master plan §03. Do not introduce
   additional accent colours; Champagne stays under 5% of surface area. */

:root {
  /* Audit §05 supersedes the master plan §03 values. Ratio target:
     Ink 35% / Ivory 45% / Burgundy 15% / Gold <=5%. */
  --ivory: #F5F1EA;
  --obsidian: #111111;
  --burgundy: #7A1828;
  --taupe: #6F6B66;
  --champagne: #B5965A;
  --white: #FFFFFF;

  --ink: var(--obsidian);
  --ink-soft: #4A4441;
  --rule: rgba(17, 17, 17, .14);
  --rule-soft: rgba(17, 17, 17, .08);

  --serif-latin: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans-latin: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --serif-cjk: "Noto Serif TC", "Source Han Serif TC", "PingFang TC", "Songti TC", "MingLiU", serif;
  --sans-cjk: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Heiti TC", sans-serif;

  --display: var(--serif-latin), var(--serif-cjk);
  --body: var(--sans-latin), var(--sans-cjk);

  --gut: clamp(20px, 5vw, 72px);
  --measure: 68ch;
  --shell: 1440px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .6s;
}

html[lang^="ja"] {
  --serif-cjk: "Noto Serif JP", "Source Han Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans-cjk: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}
html[lang^="ko"] {
  --serif-cjk: "Noto Serif KR", "Source Han Serif KR", "Nanum Myeongjo", serif;
  --sans-cjk: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 350;
  letter-spacing: .002em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--obsidian); color: var(--ivory); padding: 12px 18px;
}
.skip:focus { left: 0; }

/* ---------- type scale ---------- */

.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}
.d1 { font-size: clamp(44px, 8.2vw, 112px); }
.d2 { font-size: clamp(34px, 5.4vw, 72px); }
.d3 { font-size: clamp(26px, 3.2vw, 44px); line-height: 1.12; }
.d4 { font-size: clamp(21px, 2.1vw, 30px); line-height: 1.2; }

:where(html[lang^="zh"], html[lang^="ja"], html[lang^="ko"]) .display { letter-spacing: .01em; line-height: 1.24; font-weight: 500; }
:where(html[lang^="zh"], html[lang^="ja"], html[lang^="ko"]) .d1 { font-size: clamp(38px, 6.4vw, 88px); }

.eyebrow {
  font-family: var(--sans-latin), var(--sans-cjk);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--taupe);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: attr(data-num);
  color: var(--champagne);
  font-variant-numeric: tabular-nums;
  letter-spacing: .1em;
}
.eyebrow:not([data-num])::before { display: none; }

.lede { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.6; color: var(--ink-soft); max-width: 46ch; }
.prose { max-width: 700px; }
.prose p { margin: 0 0 1.3em; }
.prose p:last-child { margin-bottom: 0; }

.tnum { font-variant-numeric: tabular-nums; }

/* ---------- shell ---------- */

.wrap { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(72px, 10vw, 148px); position: relative; }
.section + .section { border-top: 1px solid var(--rule-soft); }
.section.dark { background: var(--obsidian); color: var(--ivory); border-top-color: rgba(255,255,255,.1); }
.section.dark .eyebrow { color: rgba(247,243,238,.5); }
.section.dark .lede { color: rgba(247,243,238,.72); }
.section.flush { padding-block: 0 clamp(96px, 13vw, 200px); border-top: 0; }

.head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: clamp(36px, 5vw, 68px); }
@media (min-width: 900px) {
  .head.split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 48px; }
}

/* ---------- header ---------- */

.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 18px var(--gut);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.solid { background: rgba(247,243,238,.92); backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: var(--rule-soft); }
.hdr.over { color: var(--ivory); }
body[data-hero="dark"] .hdr:not(.solid) { color: var(--ivory); }
body[data-hero="dark"] .hdr:not(.solid) .mark { color: var(--ivory); }

.mark {
  font-family: var(--sans-latin);
  font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  white-space: nowrap;
}
.mark span { color: var(--champagne); }

.nav { display: none; gap: clamp(14px, 1.6vw, 28px); align-items: center; }
@media (min-width: 1080px) { .nav { display: flex; } }
.nav a {
  font-size: 13px; letter-spacing: .04em; position: relative; padding: 6px 0;
  color: inherit; opacity: .82;
}
.nav a:hover, .nav a:focus-visible { opacity: 1; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: currentColor; transition: right .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }

.hdr-end { display: flex; align-items: center; gap: 10px; }

.langbtn {
  background: none; border: 1px solid currentColor; border-radius: 999px;
  padding: 7px 14px; font-size: 12px; letter-spacing: .08em; cursor: pointer;
  opacity: .8; white-space: nowrap; min-height: 34px;
}
.langbtn:hover { opacity: 1; }

.langmenu {
  position: absolute; top: calc(100% + 10px); right: var(--gut);
  background: var(--white); color: var(--ink); border: 1px solid var(--rule);
  min-width: 190px; padding: 6px; display: none;
  box-shadow: 0 24px 48px rgba(18,17,16,.14);
}
.langmenu[data-open="true"] { display: block; }
.langmenu a { display: block; padding: 10px 14px; font-size: 14px; }
.langmenu a:hover { background: var(--ivory); }
.langmenu a[aria-current="true"] { color: var(--burgundy); }

.burger {
  background: none; border: 0; cursor: pointer; padding: 8px; display: grid; gap: 5px;
  min-height: 38px; min-width: 38px; align-content: center;
}
@media (min-width: 1080px) { .burger { display: none; } }
.burger i { display: block; width: 22px; height: 1px; background: currentColor; }

.drawer {
  position: fixed; inset: 0; z-index: 95; background: var(--obsidian); color: var(--ivory);
  transform: translateY(-100%); transition: transform .5s var(--ease);
  display: flex; flex-direction: column; padding: 20px var(--gut) 40px;
  overflow-y: auto;
}
body.navopen .drawer { transform: translateY(0); }
body.navopen { overflow: hidden; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.drawer nav { display: grid; gap: 2px; }
.drawer nav a {
  font-family: var(--display); font-size: clamp(28px, 6vw, 44px); line-height: 1.3;
  padding: 6px 0; border-bottom: 1px solid rgba(247,243,238,.12);
}
.drawer .secondary { margin-top: 26px; display: grid; gap: 10px; }
.drawer .secondary a { font-family: var(--body); font-size: 15px; border: 0; opacity: .78; padding: 4px 0; }
.drawer-langs { margin-top: auto; padding-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.drawer-langs a {
  border: 1px solid rgba(247,243,238,.3); border-radius: 999px; padding: 8px 14px; font-size: 13px;
}
.drawer-langs a[aria-current="true"] { background: var(--ivory); color: var(--obsidian); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border: 1px solid var(--obsidian); border-radius: 999px;
  font-size: 14px; letter-spacing: .06em; cursor: pointer; background: none;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  min-height: 48px;
}
.btn:hover { background: var(--obsidian); color: var(--ivory); }
.btn.fill { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); }
.btn.fill:hover { background: var(--obsidian); border-color: var(--obsidian); }
.btn.ghost { border-color: currentColor; }
.section.dark .btn { border-color: rgba(247,243,238,.55); color: var(--ivory); }
.section.dark .btn:hover { background: var(--ivory); color: var(--obsidian); border-color: var(--ivory); }
.section.dark .btn.fill { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); }
.section.dark .btn.fill:hover { background: var(--ivory); color: var(--obsidian); }

.btnrow { display: flex; flex-wrap: wrap; gap: 12px; }

.tlink {
  display: inline-flex; align-items: center; gap: 9px; font-size: 14px; letter-spacing: .04em;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.tlink .arw { transition: transform .35s var(--ease); }
.tlink:hover .arw { transform: translateX(5px); }

/* ---------- hero ---------- */

.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  background: var(--obsidian); color: var(--ivory); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,17,16,.72) 0%, rgba(18,17,16,.28) 42%, rgba(18,17,16,.88) 100%);
}
.hero-body { position: relative; width: 100%; padding-block: 0 clamp(48px, 8vh, 96px); }
.hero-name { font-size: clamp(56px, 14vw, 190px); letter-spacing: -.02em; line-height: .92; }
.hero-line { margin: 22px 0 0; font-size: clamp(15px, 1.5vw, 19px); letter-spacing: .06em; color: rgba(247,243,238,.86); max-width: 34ch; }
.hero .btnrow { margin-top: 38px; }
.hero-scroll {
  position: absolute; right: var(--gut); bottom: clamp(48px, 8vh, 96px);
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(247,243,238,.6);
  display: none; align-items: center; gap: 12px; writing-mode: vertical-rl;
}
@media (min-width: 900px) { .hero-scroll { display: flex; } }
.hero-scroll::after { content: ""; width: 1px; height: 52px; background: currentColor; animation: drop 2.4s var(--ease) infinite; }
@keyframes drop { 0% { transform: scaleY(.15); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(.15); transform-origin: bottom; } }

/* ---------- stats ---------- */

.stats { display: grid; gap: 1px; background: var(--rule); border-block: 1px solid var(--rule); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { background: var(--ivory); padding: clamp(26px, 3.4vw, 46px) clamp(20px, 2.4vw, 34px); }
.stat b {
  display: block; font-family: var(--display); font-weight: 400;
  font-size: clamp(52px, 6.4vw, 96px); line-height: 1; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: 14px; font-size: 13px; letter-spacing: .04em; color: var(--ink-soft); }

/* ---------- manifesto ---------- */

.manifesto { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 900px) { .manifesto { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); } }
.manifesto figure { margin: 0; }
.manifesto figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- journey rail (signature) ---------- */

.rail-outer { position: relative; }
.rail {
  display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut);
}
.rail::-webkit-scrollbar { display: none; }
.chapter {
  scroll-snap-align: center; flex: 0 0 auto;
  width: min(78vw, 460px);
  padding: 0 clamp(16px, 2vw, 30px);
  border-left: 1px solid var(--rule);
}
.section.dark .chapter { border-left-color: rgba(247,243,238,.16); }
.chapter:last-child { border-right: 1px solid var(--rule); }
.section.dark .chapter:last-child { border-right-color: rgba(247,243,238,.16); }
.chapter-year {
  font-family: var(--display); font-size: clamp(64px, 9vw, 128px); line-height: .9;
  letter-spacing: -.03em; font-variant-numeric: tabular-nums; display: block;
}
.chapter-cc {
  font-size: 11px; letter-spacing: .3em; color: var(--champagne); display: block; margin: 8px 0 22px;
}
.chapter figure { margin: 0 0 20px; overflow: hidden; }
.chapter figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.chapter h3 { font-family: var(--display); font-weight: 400; font-size: clamp(20px, 2vw, 26px); line-height: 1.24; margin: 0 0 10px; }
.chapter p { font-size: 14px; line-height: 1.66; margin: 0 0 16px; opacity: .78; }
.chapter .meta { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .6; margin-bottom: 14px; }
.rail-hint { margin-top: 26px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .55; }
@media (min-width: 1080px) { .rail-hint { display: none; } }

/* ---------- record list ---------- */

.records { border-top: 1px solid var(--rule); }
.section.dark .records { border-top-color: rgba(247,243,238,.16); }
.rec {
  display: grid; gap: 6px 26px; padding: clamp(20px, 2.4vw, 30px) 0;
  border-bottom: 1px solid var(--rule); align-items: baseline;
  transition: padding-left .4s var(--ease);
}
.section.dark .rec { border-bottom-color: rgba(247,243,238,.16); }
.rec:hover { padding-left: 12px; }
@media (min-width: 800px) {
  .rec { grid-template-columns: 92px minmax(0, 1fr) 190px 30px; }
}
.rec-year { font-family: var(--display); font-size: clamp(24px, 2.4vw, 32px); font-variant-numeric: tabular-nums; line-height: 1; }
.rec-main h3 { font-size: 18px; font-weight: 450; margin: 0 0 6px; line-height: 1.35; }
.rec-main p { margin: 0; font-size: 14px; opacity: .7; line-height: 1.6; }
.rec-side { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .62; }
.rec-arw { justify-self: end; opacity: .35; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.rec:hover .rec-arw { opacity: 1; transform: translateX(4px); }

/* ---------- filters ---------- */

.filters { display: grid; gap: 18px; margin-bottom: 34px; }
.fgroup { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fgroup > b { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); font-weight: 500; margin-right: 6px; min-width: 62px; }
.chip {
  border: 1px solid var(--rule); background: none; border-radius: 999px;
  padding: 7px 15px; font-size: 13px; cursor: pointer; min-height: 34px;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.chip:hover { border-color: var(--obsidian); }
.chip[aria-pressed="true"] { background: var(--obsidian); color: var(--ivory); border-color: var(--obsidian); }
.fcount { font-size: 13px; color: var(--taupe); }

/* ---------- cards ---------- */

.grid { display: grid; gap: clamp(20px, 2.6vw, 34px); }
.g2 { grid-template-columns: minmax(0, 1fr); }
.g3 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card { display: flex; flex-direction: column; min-width: 0; }
.card figure { margin: 0 0 20px; overflow: hidden; }
.card figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover figure img { transform: scale(1.035); }
.card h3 { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; margin: 0 0 10px; }
.card .tagline { font-size: 14px; color: var(--burgundy); margin: 0 0 12px; }
.section.dark .card .tagline { color: var(--champagne); }
.card p { margin: 0 0 16px; font-size: 15px; line-height: 1.65; opacity: .78; }
.card .foot { margin-top: auto; padding-top: 8px; }

.card.wide figure img { aspect-ratio: 16 / 10; }

.kv { display: grid; gap: 10px; margin: 0 0 18px; font-size: 14px; }
.kv > div { display: grid; grid-template-columns: minmax(0, 108px) minmax(0, 1fr); gap: 14px; align-items: baseline; }
.kv dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }
.kv dd { margin: 0; }

.quote {
  font-family: var(--display); font-size: clamp(19px, 1.8vw, 25px); line-height: 1.44;
  margin: 0 0 14px; padding-left: 18px; border-left: 2px solid var(--champagne);
}

/* ---------- collaboration grid ---------- */

.collabs { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (min-width: 720px) { .collabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .collabs { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.section.dark .collabs { background: rgba(247,243,238,.16); border-color: rgba(247,243,238,.16); }
.collab {
  background: var(--ivory); padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 10px;
  transition: background .35s var(--ease), color .35s var(--ease);
  min-height: 190px;
}
.section.dark .collab { background: var(--obsidian); }
.collab:hover { background: var(--burgundy); color: var(--white); }
.collab .num { font-size: 11px; letter-spacing: .2em; color: var(--champagne); }
.collab h3 { font-family: var(--display); font-weight: 400; font-size: 24px; margin: 4px 0 0; }
.collab p { margin: 0; font-size: 14px; line-height: 1.6; opacity: .76; }
.collab .foot { margin-top: auto; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- split feature ---------- */

.feature { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) { .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 900px) { .feature.rev > figure { order: 2; } }
.feature figure { margin: 0; }
.feature figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.feature.land figure img { aspect-ratio: 16 / 10; }

/* ---------- forms ---------- */

.form { display: grid; gap: 18px; max-width: 720px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field > label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); }
.field .opt { text-transform: none; letter-spacing: .02em; opacity: .8; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: inherit; width: 100%;
  background: transparent; border: 0; border-bottom: 1px solid var(--rule);
  padding: 11px 2px; border-radius: 0; min-height: 46px;
}
.field textarea { min-height: 118px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--burgundy); }
.field.err input, .field.err select, .field.err textarea { border-bottom-color: var(--burgundy); }
.field .msg { font-size: 13px; color: var(--burgundy); min-height: 0; }
.fgrid { display: grid; gap: 18px; }
@media (min-width: 680px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.fgrid .field.wide { grid-column: 1 / -1; }
.check .msg { grid-column: 2; }
.check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14px; line-height: 1.55; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--burgundy); }

.steps { display: flex; gap: 10px; align-items: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); margin-bottom: 26px; }
.steps i { display: block; width: 34px; height: 1px; background: var(--rule); }
.steps i.on { background: var(--burgundy); }

.formstep[hidden] { display: none; }

.result { border: 1px solid var(--rule); padding: clamp(24px, 3vw, 40px); display: none; }
.result[data-show="true"] { display: block; }
.result h3 { font-family: var(--display); font-weight: 400; font-size: 28px; margin: 0 0 10px; }
.result code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; letter-spacing: .06em; }

/* ---------- badges ---------- */

.badge {
  display: inline-flex; align-items: center; gap: 6px; vertical-align: middle;
  border: 1px solid var(--champagne); color: var(--champagne);
  border-radius: 999px; padding: 3px 10px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap;
}

.draftbar {
  background: var(--champagne); color: var(--obsidian);
  font-size: 12px; letter-spacing: .04em; text-align: center; padding: 8px 16px;
  position: relative; z-index: 100;
}

/* ---------- language suggestion ---------- */

.langbar {
  position: fixed; left: 50%; transform: translateX(-50%) translateY(140%); bottom: 20px; z-index: 92;
  background: var(--obsidian); color: var(--ivory);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  padding: 12px 18px; border-radius: 999px; font-size: 14px;
  width: min(560px, calc(100vw - 28px));
  transition: transform .5s var(--ease);
  box-shadow: 0 20px 48px rgba(18,17,16,.28);
}
.langbar[data-open="true"] { transform: translateX(-50%) translateY(0); }
.langbar button { background: none; border: 0; cursor: pointer; font-size: 14px; padding: 4px 2px; min-height: 32px; }
.langbar .go { border-bottom: 1px solid currentColor; }
.langbar .no { opacity: .6; }

/* ---------- footer ---------- */

.ftr { background: var(--obsidian); color: var(--ivory); padding-block: clamp(56px, 7vw, 96px) 34px; }
.ftr-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .ftr-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; } }
.ftr h4 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(247,243,238,.5); margin: 0 0 16px; font-weight: 500; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ftr a { font-size: 14px; opacity: .82; }
.ftr a:hover { opacity: 1; color: var(--champagne); }
.ftr-mark { font-family: var(--display); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; margin: 0 0 14px; }
.ftr-note { font-size: 13px; opacity: .6; max-width: 34ch; line-height: 1.6; }
.ftr-btm {
  margin-top: clamp(40px, 5vw, 70px); padding-top: 22px; border-top: 1px solid rgba(247,243,238,.14);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  font-size: 12px; opacity: .58; letter-spacing: .04em;
}
.ftr-langs { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- reveal motion ---------- */

.rv { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv { opacity: 0; transform: translateY(22px); }
.js .rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; }
.rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; }

.mask { transition: clip-path .9s var(--ease); }
.js .mask { clip-path: inset(0 0 100% 0); }
.js .mask.in { clip-path: inset(0 0 0 0); }

.lineup { display: block; overflow: hidden; }
.lineup > span { display: block; transition: transform .9s var(--ease); }
.js .lineup > span { transform: translateY(105%); }
/* The hero is above the fold by definition: animate it on load, never on scroll. */
.js .hero .lineup > span { animation: heroLine .9s var(--ease) both; }
.js .hero .lineup.ld1 > span { animation-delay: .12s; }
@keyframes heroLine { from { transform: translateY(105%); } to { transform: none; } }
.js .lineup.in > span { transform: none; }
.lineup.ld1 > span { transition-delay: .1s; }
.lineup.ld2 > span { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rv, .mask, .lineup > span,
  .js .rv, .js .mask, .js .lineup > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js .hero .lineup > span { animation: none; }
  .rail { scroll-snap-type: none; }
}

/* ---------- misc ---------- */

.hairline { height: 1px; background: var(--rule); border: 0; margin: 0; }
.mt24 { margin-top: 24px; }
.mt40 { margin-top: 40px; }
.mb0 { margin-bottom: 0; }
.center { text-align: center; }
.pagehead { padding-block: clamp(120px, 15vh, 200px) clamp(40px, 5vw, 72px); }
.crumb { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); margin-bottom: 20px; }
.crumb a:hover { color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { border: 1px solid var(--rule); border-radius: 999px; padding: 6px 13px; font-size: 12px; letter-spacing: .04em; }
.section.dark .tag { border-color: rgba(247,243,238,.24); }
.imgph { background: var(--taupe); }

/* ---------- records without photography ----------
   Some events have no photograph that is genuinely of that event. Rather than
   borrowing an unrelated one, the slot runs typographic. */
.figure-blank {
  display: flex; align-items: center; justify-content: space-between;
  aspect-ratio: 16 / 10; margin: 0; padding: 20px 22px;
  background: var(--obsidian); color: var(--ivory);
  border: 1px solid color-mix(in srgb, var(--taupe) 40%, transparent);
}
.figure-blank span:first-child { font-size: clamp(30px, 5vw, 54px); line-height: 1; opacity: .9; }
.figure-blank span:last-child {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .55;
}
.feature.noimg { display: block; }
.feature.noimg > .rv { max-width: 760px; }

/* =========================================================
   Audit §05 / §06 — chapter rhythm, editorial hero, gallery grade
   ========================================================= */

/* ---- dark chapters: one every two or three light ones ---- */
.section.dark {
  background: var(--obsidian); color: var(--ivory); border-top: 0;
}
.section.dark .eyebrow { color: rgba(245, 241, 234, .5); }
.section.dark .eyebrow::before { background: var(--champagne); }
.section.dark p { color: rgba(245, 241, 234, .78); }
.section.dark .rec { border-color: rgba(245, 241, 234, .16); }
.section.dark .rec:hover { background: rgba(245, 241, 234, .05); }
.section.dark .tlink { color: var(--ivory); border-bottom-color: rgba(245, 241, 234, .4); }
.section + .section.dark, .section.dark + .section { border-top: 0; }

/* ---- one photographic grade across every image (audit §07) ----
   Source photography comes from many venues with very different lighting.
   A single light grade is not a substitute for a real LUT pass, but it stops
   one purple competition spotlight from dominating a page. */
picture img { filter: saturate(.93) contrast(1.03); }

/* ---- editorial hero: type left, portrait offset right (audit §03) ---- */
.hero.editorial {
  display: grid; align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: clamp(24px, 4vw, 64px);
  padding-inline: var(--gut);
  padding-block: clamp(96px, 16vh, 180px) clamp(40px, 7vh, 88px);
}
.hero.editorial .hero-body { padding: 0; max-width: 100%; }
.hero.editorial .hero-figure {
  position: relative; margin: 0; align-self: end; justify-self: end;
  aspect-ratio: 4 / 5; height: min(70svh, 820px); width: auto; max-width: 100%;
  overflow: hidden;
}
.hero.editorial .hero-figure img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
  opacity: 1; transform: scale(1.03); transition: transform 14s linear;
}
.js .hero.editorial.in .hero-figure img { transform: scale(1); }
.hero.editorial .hero-name { font-size: clamp(52px, 8.4vw, 128px); }
.hero.editorial .hero-line { max-width: 26ch; color: rgba(245, 241, 234, .84); }

@media (max-width: 900px) {
  /* Mobile is recomposed, not the desktop layout shrunk (audit §09). */
  .hero.editorial {
    grid-template-columns: minmax(0, 1fr);
    align-content: end; padding-block: 0 clamp(40px, 8vh, 72px);
  }
  .hero.editorial .hero-figure {
    position: absolute; inset: 0; aspect-ratio: auto; z-index: 0;
  }
  .hero.editorial .hero-figure::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(17,17,17,.55) 0%, rgba(17,17,17,.2) 38%, rgba(17,17,17,.92) 100%);
  }
  .hero.editorial .hero-figure img { object-position: 50% 18%; }
  .hero.editorial .hero-body { position: relative; z-index: 1; }
}

/* ---- four-language headline metrics (audit §09) ----
   CJK sets tighter, so the same max-width in ch produces very different
   line lengths. Each language gets its own measure rather than one guess. */
:where(html[lang^="ja"], html[lang^="ko"]) .hero-line { max-width: 22ch; font-size: clamp(14px, 1.4vw, 18px); line-height: 1.85; }
:where(html[lang^="zh"]) .hero-line { max-width: 20ch; line-height: 1.8; }
.btn { min-width: 0; }
:where(html[lang^="ja"], html[lang^="ko"], html[lang^="zh"]) .btn { letter-spacing: .04em; }

/* =========================================================
   Audit §08 — World Stage opening + pinned journey story
   ========================================================= */

.stage-open {
  position: relative; min-height: 86svh; display: flex; align-items: flex-end;
  background: var(--obsidian); color: var(--ivory); overflow: hidden;
}
.stage-media { position: absolute; inset: 0; margin: 0; }
.stage-media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.stage-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,.7) 0%, rgba(17,17,17,.3) 45%, rgba(17,17,17,.95) 100%);
}
.stage-body { position: relative; padding-block: 0 clamp(56px, 9vh, 120px); }
.stage-body .eyebrow { color: rgba(245,241,234,.55); }
.stage-open .display { letter-spacing: -.01em; }
.stage-count { display: flex; align-items: baseline; gap: 14px; margin-top: 28px; }
.stage-count b { font-family: var(--display); font-size: clamp(52px, 8vw, 104px); line-height: 1; color: var(--champagne); }
.stage-count span { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: rgba(245,241,234,.6); }

/* --- the story: vertical scroll drives a horizontal pinned timeline --- */
.journey-story { background: var(--obsidian); color: var(--ivory); }
.story-pin { overflow: hidden; }
.story-track { display: flex; }
.scene {
  position: relative; flex: 0 0 auto; display: flex; align-items: flex-end;
  padding: clamp(32px, 5vw, 72px) var(--gut);
  border-left: 1px solid rgba(245,241,234,.14);
}
.scene-cc {
  position: absolute; left: var(--gut); top: 8%; z-index: 0;
  font-family: var(--display); font-weight: 300; line-height: .8;
  font-size: clamp(160px, 30vh, 420px); letter-spacing: -.03em;
  color: rgba(245,241,234,.07); pointer-events: none; user-select: none;
}
.scene-year {
  position: absolute; left: var(--gut); top: clamp(32px, 5vw, 72px);
  font-family: var(--display); font-size: clamp(24px, 3vw, 40px); color: var(--champagne);
}
.scene-body { position: relative; z-index: 1; max-width: 46ch; }
.scene-body .eyebrow { color: rgba(245,241,234,.55); }
.scene-place { margin-top: 10px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: rgba(245,241,234,.6); }
.scene-body .tlink { margin-top: 22px; color: var(--ivory); border-bottom-color: rgba(245,241,234,.4); }
.story-hint {
  padding: 0 var(--gut) clamp(48px, 7vw, 96px);
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(245,241,234,.42); background: var(--obsidian);
}

/* Desktop: pin the viewport and translate the track. Total scroll distance is
   derived from the scene count (audit §08: roughly 60–90vh per scene). */
@media (min-width: 900px) {
  .journey-story { height: calc(var(--scenes) * 78vh + 100vh); }
  .story-pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: stretch; }
  .story-track { height: 100%; will-change: transform; }
  .scene { width: 62vw; }
}

/* Mobile: a snap story, not a 450vh pin — battery and usability (audit §08). */
@media (max-width: 899px) {
  .story-pin { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .story-pin::-webkit-scrollbar { display: none; }
  .story-pin { scrollbar-width: none; }
  .scene { width: 86vw; min-height: 72svh; scroll-snap-align: start; }
  .scene-cc { font-size: clamp(120px, 34vw, 240px); }
}

@media (prefers-reduced-motion: reduce) {
  .journey-story { height: auto; }
  .story-pin { position: static; height: auto; overflow-x: auto; scroll-snap-type: none; }
  .story-track { transform: none !important; }
}

/* ---- editorial selector: full-width rows, not SaaS cards (audit §04 F) ---- */
.selector { border-top: 1px solid var(--rule); }
.sel-row {
  display: grid; align-items: baseline; gap: 8px 28px;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, auto);
  padding: clamp(24px, 3vw, 44px) 0;
  border-bottom: 1px solid var(--rule);
  color: inherit; text-decoration: none;
  transition: padding-left .5s var(--ease), background-color .5s var(--ease);
}
.sel-row:hover, .sel-row:focus-visible { padding-left: 16px; background: rgba(122, 24, 40, .04); }
.sel-num { font-size: 13px; letter-spacing: .12em; color: var(--champagne); }
.sel-title { line-height: 1.1; }
.sel-desc { font-size: 15px; color: var(--ink-soft); }
.sel-arw { justify-self: end; opacity: .35; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.sel-row:hover .sel-arw, .sel-row:focus-visible .sel-arw { opacity: 1; transform: translateX(6px); }
.section.dark .selector, .section.dark .sel-row { border-color: rgba(245, 241, 234, .16); }
.section.dark .sel-desc { color: rgba(245, 241, 234, .7); }
.section.dark .sel-row:hover, .section.dark .sel-row:focus-visible { background: rgba(245, 241, 234, .05); }

@media (max-width: 760px) {
  .sel-row { grid-template-columns: minmax(0, auto) minmax(0, 1fr); }
  .sel-desc { grid-column: 2; }
  .sel-arw { display: none; }
}

/* ---- branded status pill (replaces development-note badges) ---- */
.status {
  display: inline-block; padding: 10px 18px;
  border: 1px solid var(--champagne); color: var(--champagne);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
}
