/* ============================================================
   NØVA® — Creative Visual Studio
   Light "TRIONN" luxury palette · type-forward · rich motion
   EN display large / ZH small — Awwwards-grade page system.
   The original 3D helix experience lives inside .helixArea.
   ============================================================ */

:root {
  --bg:        #fff;
  --bg-2:      #fff;
  --ink:       #1a1b19;          /* near-black text               */
  --ink-soft:  rgba(26, 27, 25, 0.82);
  --ink-dim:   rgba(26, 27, 25, 0.55);
  --line:      rgba(26, 27, 25, 0.22);
  --accent:    #e5533b;
  --paper:     #f0efec;          /* light text on dark            */
  --coal:      #161614;          /* dark section base             */

  --ease:      cubic-bezier(0.7, 0, 0.2, 1);
  --font:      "Helvetica Neue", "Arial", "Noto Sans TC", "Segoe UI", "Microsoft JhengHei", system-ui, sans-serif;
  --font-zh:   "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --font-serif:"Helvetica Neue", "Arial", "Noto Sans TC", "Segoe UI", "Microsoft JhengHei", system-ui, sans-serif;
  --font-mono: "Helvetica Neue", "Arial", "Noto Sans TC", "Segoe UI", "Microsoft JhengHei", system-ui, sans-serif;

  --pad-x:     clamp(20px, 3vw, 46px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

canvas { display: block; }

::selection { background: var(--ink); color: var(--paper); }

/* Chinese companion text — the smaller voice next to large EN, but never
   below 14px: CJK glyphs carry far more strokes per em than latin, so a size
   that reads fine for an English caption turns to mush in 中文. Relative .zh
   sizes are written as max(14px, …) throughout for that reason. */
.zh {
  font-family: var(--font-zh);
  font-weight: 400;
  font-size: max(14px, 0.86em);
  letter-spacing: 0.14em;
}

/* safety container */
.wrap {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ───────────────────────── custom cursor ───────────────────────────── */
.cursor { position: fixed; inset: 0 auto auto 0; z-index: 100; pointer-events: none; }
.cursor__dot, .cursor__ring {
  position: fixed; top: 0; left: 0;
  border-radius: 50%;
  translate: -50% -50%;
  mix-blend-mode: difference;
}
.cursor__dot  { width: 6px; height: 6px; background: #fff; }
.cursor__ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.85);
  transition: width .35s var(--ease), height .35s var(--ease), opacity .35s var(--ease);
}
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; opacity: .55; }
.cursor__label {
  position: absolute; top: 50%; left: 50%;
  translate: -50% -50%;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .18em; font-weight: 700;
  color: #fff; opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.cursor.is-view .cursor__ring { width: 82px; height: 82px; opacity: 1; background: rgba(255,255,255,.06); }
.cursor.is-view .cursor__dot { opacity: 0; }
.cursor.is-view .cursor__label { opacity: 1; }
@media (pointer: coarse) { .cursor { display: none; } }

/* ───────────────────────── scroll reveals ──────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].is-inview { opacity: 1; transform: none; }
.dataItem[data-reveal]:nth-child(2) { transition-delay: .08s; }
.dataItem[data-reveal]:nth-child(3) { transition-delay: .16s; }
.dataItem[data-reveal]:nth-child(4) { transition-delay: .24s; }
.dataItem[data-reveal]:nth-child(5) { transition-delay: .32s; }

/* ───────────────────────── z10 · nav ───────────────────────────────── */
.nav {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--pad-x);
  transition: transform 0.55s var(--ease);
  will-change: transform;
}
.nav.is-hidden { transform: translateY(-115%); }

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.nav__logo svg { width: 30px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.nav__logo sup { font-size: 0.5em; top: -0.7em; position: relative; }

.nav__right { display: flex; align-items: center; gap: 14px; }

.nav__cta, .nav__menu {
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 12px 20px;
  border-radius: 40px;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  border: 1.4px solid var(--line);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.nav__cta { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav__cta:hover { background: transparent; color: var(--ink); }
.nav__menu:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav__menu i { width: 16px; height: 2px; background: currentColor; position: relative; }
.nav__menu i::after { content:""; position:absolute; inset:-5px 0 auto 0; height:2px; background:currentColor; }

/* Full-screen menu */
.menu-overlay {
  position: fixed;
  z-index: 9;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(28px, 8vw, 154px);
  background: var(--coal);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .8s cubic-bezier(.77, 0, .18, 1), visibility 0s linear .8s;
}
.menu-overlay__links { display: grid; gap: clamp(5px, 1.1vh, 12px); }
.menu-overlay__links a {
  display: flex;
  align-items: baseline;
  gap: 22px;
  width: fit-content;
  color: #e8e7e2;
  font-size: clamp(44px, 7vw, 104px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-decoration: none;
  opacity: 0;
  transform: translateY(40%);
  transition: color .3s ease, opacity .35s ease, transform .35s ease;
}
.menu-overlay.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition-delay: 0s;
}
.menu-overlay.is-open .menu-overlay__links a { opacity: 1; transform: translateY(0); }
.menu-overlay.is-open .menu-overlay__links a:nth-child(1) { transition-delay: .55s; }
.menu-overlay.is-open .menu-overlay__links a:nth-child(2) { transition-delay: .61s; }
.menu-overlay.is-open .menu-overlay__links a:nth-child(3) { transition-delay: .67s; }
.menu-overlay.is-open .menu-overlay__links a:nth-child(4) { transition-delay: .73s; }
.menu-overlay.is-open .menu-overlay__links a:nth-child(5) { transition-delay: .79s; }
.menu-overlay__links a:hover, .menu-overlay__links a:focus-visible { color: var(--accent); outline: none; }
.menu-overlay__links small {
  color: #85857f;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .1em;
}
.menu-overlay__footer {
  position: absolute;
  right: clamp(28px, 8vw, 154px);
  bottom: 34px;
  left: clamp(28px, 8vw, 154px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #8b8b86;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
}
.menu-overlay__footer a { color: inherit; text-decoration: none; }
.menu-overlay__footer a:hover { color: #e8e7e2; }
body.menu-open { overflow: hidden; }

@media (max-width: 650px) {
  .menu-overlay__footer { flex-direction: column; gap: 8px; }
  .menu-overlay__links a { gap: 14px; }
}

/* ───────────────────────── loader ──────────────────────────────────── */
.loader {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 16px;
  background: var(--bg);
  transition: opacity .8s var(--ease), visibility .8s var(--ease);
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__bar { width: 220px; height: 2px; background: var(--line); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 0%; background: var(--ink); transition: width .3s linear; }
.loader__pct {
  justify-self: center;
  font-size: 12px; letter-spacing: 0.3em; color: var(--ink-dim);
  font-variant-numeric: tabular-nums;
}
.loader__pct::after { content: "%"; }

/* ═════════════════════════ 01 · HERO ════════════════════════════════ */
.heroArea--reel {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #100f0e;              /* base behind the reel */
  color: var(--paper);
  isolation: isolate;
}
.heroArea--reel .wrap {
  position: relative;
  z-index: 3;
  padding-top: clamp(120px, 20vh, 200px);
  padding-bottom: clamp(20px, 4vh, 40px);
}

/* ── z1 · background impact reel ── */
.reelBox { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.reelBox__shift { position: absolute; inset: -4%; will-change: transform; }
.reelItem {
  position: absolute; inset: 0;
  opacity: 0;
  /* hidden as a slanted sliver off the right edge — wipes in diagonally */
  clip-path: polygon(100% 0, 112% 0, 100% 100%, 88% 100%);
}
.reelItem img, .reelItem video { width: 100%; height: 100%; object-fit: cover; display: block; will-change: transform; }
.reelItem.is-active { opacity: 1; clip-path: polygon(-14% 0, 100% 0, 100% 100%, -14% 100%); }
.reelItem.is-active img, .reelItem.is-active video { animation: ken 7s linear forwards; }
@keyframes ken { from { transform: scale(1.08); } to { transform: scale(1); } }

/* grade / scrim for legibility over any frame */
.reelBox__grade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(16,15,14,.60) 0%, rgba(16,15,14,.12) 24%, rgba(16,15,14,.08) 50%, rgba(16,15,14,.78) 100%),
    linear-gradient(90deg, rgba(16,15,14,.55) 0%, transparent 46%);
}

.heroArea--reel .decotitle {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: rgba(240, 239, 236, .74);
  margin-bottom: clamp(20px, 4vh, 44px);
  display: flex; flex-wrap: wrap; gap: 6px 18px;
}
.heroArea--reel .decotitle .zh { font-size: 14px; color: rgba(240,239,236,.55); }

.heroArea--reel .title {
  font-size: clamp(58px, 11.5vw, 196px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--paper);
  text-shadow: 0 4px 60px rgba(0, 0, 0, .35);
}
.heroArea--reel .title .line { display: block; overflow: hidden; }
.heroArea--reel .title .line i {
  display: inline-block;
  font-style: normal;
  transform: translate(0, 120%);
  transition: transform 1.05s var(--ease);
}
.heroArea--reel .title .line--l i { transform: translate(-6%, 120%); }
.heroArea--reel .title .line--r  { text-align: right; }
.heroArea--reel .title .line--r i { transform: translate(6%, 120%); }
body.is-ready .heroArea--reel .title .line i { transform: translate(0, 0); }
body.is-ready .heroArea--reel .title .line:nth-child(1) i { transition-delay: .10s; }
body.is-ready .heroArea--reel .title .line:nth-child(2) i { transition-delay: .22s; }
body.is-ready .heroArea--reel .title .line:nth-child(3) i { transition-delay: .34s; }

/* ghost / outline middle line */
.heroArea--reel .title .line--ghost i {
  color: transparent;
  -webkit-text-stroke: 1.6px var(--paper);
}
.heroArea--reel .title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  font-size: 0.98em;
  letter-spacing: -0.02em;
  color: var(--accent);
  -webkit-text-stroke: 0;
  display: inline-block;
  overflow: hidden;
}
.heroArea--reel .title em [data-swap-word] { display: inline-block; }

.heroArea--reel .text {
  margin-top: clamp(22px, 4vh, 40px);
  font-family: var(--font-zh);
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.18em;
  color: rgba(240, 239, 236, .82);
}

.heroArea--reel .metaBox {
  position: absolute;
  right: 0;
  top: 0;
  display: grid;
  gap: 18px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  line-height: 1.7;
  color: rgba(240, 239, 236, .6);
}
.heroArea--reel .metaBox .zh { font-size: 14px; letter-spacing: .3em; color: rgba(240,239,236,.42); }

/* ── z4 · HUD ── */
.hudBox {
  position: relative;
  z-index: 4;
  margin: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px 20px;
  padding-bottom: 16px;
  color: var(--paper);
}
.hud__now { display: flex; align-items: baseline; gap: 14px; font-family: var(--font-mono); }
.hud__label { font-size: 10px; letter-spacing: .24em; color: rgba(240, 239, 236, .5); }
.hud__title { font-size: 13px; letter-spacing: .12em; }
.hud__toggle {
  display: inline-flex; align-items: center; gap: 14px;
  background: transparent; border: 0; cursor: pointer; color: var(--paper);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em;
  padding: 6px 0;
}
.hud__toggle-icon {
  width: 11px; height: 13px; box-sizing: border-box;
  border-left: 3px solid currentColor; border-right: 3px solid currentColor;
}
.hud__toggle.is-paused .hud__toggle-icon {
  width: 0; height: 0; border: 0;
  border-left: 12px solid currentColor;
  border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}
.hud__count { color: rgba(240, 239, 236, .7); }
.hud__count b { color: var(--paper); font-variant-numeric: tabular-nums; }
.hud__bar { grid-column: 1 / -1; position: relative; height: 1px; background: rgba(240, 239, 236, .24); }
.hud__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: var(--accent); }

/* nav flips to light while over the dark hero */
.nav.is-onDark { color: var(--paper); }
.nav.is-onDark .nav__logo { color: var(--paper); }
.nav.is-onDark .nav__logo svg { stroke: var(--paper); }
.nav.is-onDark .nav__menu { color: var(--paper); border-color: rgba(240, 239, 236, .4); }
.nav.is-onDark .nav__menu:hover { background: var(--paper); color: var(--coal); border-color: var(--paper); }
.nav.is-onDark .nav__cta { background: var(--paper); color: var(--coal); border-color: var(--paper); }
.nav.is-onDark .nav__cta:hover { background: transparent; color: var(--paper); }

/* scroll hint (hero) */
.scroll-hint {
  position: absolute;
  left: 50%; bottom: 12vh;
  translate: -50% 0;
  z-index: 4;
  font-size: 10px; letter-spacing: 0.3em; color: rgba(240, 239, 236, .7);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint::after {
  content: ""; width: 1px; height: 34px;
  background: linear-gradient(rgba(240, 239, 236, .7), transparent);
  animation: drop 1.8s var(--ease) infinite;
}
@keyframes drop { 0%{transform:scaleY(0);transform-origin:top} 40%{transform:scaleY(1);transform-origin:top} 60%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* marquee ribbon — dark hero variant */
.marqueeBox {
  position: relative;
  z-index: 3;
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
}
.heroArea--reel .marqueeBox {
  border-top: 1px solid rgba(240, 239, 236, .18);
  border-bottom: 1px solid rgba(240, 239, 236, .18);
}
.marqueeTrack { display: inline-flex; animation: marquee 28s linear infinite; }
.heroArea--reel .marqueeTrack span {
  font-size: clamp(14px, 1.4vw, 20px);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(240, 239, 236, .82);
  padding-right: 12px;
}
.heroArea--reel .marqueeTrack .zh { font-weight: 400; color: rgba(240, 239, 236, .5); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═════════════════════════ 02 · ABOUT — Horizontal Film Strip ═══════ */
/* Section provides the vertical runway; JS pins .stickyBox and maps the
   scroll to the track's translateX. Height is re-measured in JS on load /
   resize, so this value is only the pre-JS fallback. */
.aboutArea--journey {
  position: relative;
  height: 100vh;            /* ScrollTrigger's pin-spacer adds the runway */
  background: #fff;
}
.aboutArea--journey .stickyBox {
  position: relative;      /* section itself is pinned by ScrollTrigger */
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* background ghost title — oversized outline, slow reverse parallax */
.aboutGhost {
  position: absolute;
  top: 50%;
  left: 0;
  translate: 0 -50%;
  z-index: 0;
  display: flex;
  align-items: center;
  gap: clamp(30px, 5vw, 90px);
  white-space: nowrap;
  pointer-events: none;
  will-change: transform;
}
.aboutGhost span {
  font-size: clamp(180px, 34vh, 440px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(26, 27, 25, 0.09);
}
.aboutGhost span:last-child { font-family: var(--font-zh); -webkit-text-stroke-width: 1.2px; }

/* the horizontal track */
.aboutArea--journey .dataBox { position: relative; z-index: 1; width: 100%; }
.railTrack {
  display: flex;
  align-items: stretch;
  list-style: none;
  padding: 0 var(--pad-x);
  width: max-content;
  will-change: transform;
}

/* each panel — deliberately uneven widths break the rhythm */
.railPanel {
  position: relative;
  flex: 0 0 auto;
  height: 100vh;
  display: flex;
  padding: 0 clamp(28px, 4vw, 80px);
}
.railPanel--intro   { width: 60vw; }
.railPanel--who     { width: 95vw; }
.railPanel--believe { width: 110vw; }
.railPanel--how     { width: 95vw; }
.railPanel--outro   { width: 60vw; }

/* shared type inside panels */
.railPanel .subtitle {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .2em;
  color: var(--accent);
  display: flex; gap: 12px;
}
.railPanel .txtBox .title {
  font-size: clamp(24px, 2.5vw, 44px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 20ch;
  text-wrap: balance;
}
.railPanel .text {
  font-family: var(--font-zh);
  font-size: clamp(14px, 1vw, 15px);
  line-height: 2.05;
  letter-spacing: .1em;
  color: var(--ink-dim);
}

/* image frame — image overscales inside so JS can drift it horizontally */
.railPanel .imgBox {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  margin: 0;
}
.railPanel .imgBox img {
  position: absolute;
  top: 0; left: -8%;
  width: 116%; height: 100%;
  object-fit: cover; display: block;
  filter: grayscale(.22) contrast(1.02);
  will-change: transform;
}
.railPanel .imgBox figcaption {
  position: absolute;
  left: 14px; bottom: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .16em;
  color: #fff; mix-blend-mode: difference;
}

/* P1 · INTRO */
.railPanel--intro { align-items: center; }
.railPanel--intro .titleBox { position: relative; }
.railPanel--intro .decotitle {
  font-family: var(--font-mono);
  font-size: 17px; letter-spacing: .18em;
  color: var(--ink-dim);
  display: flex; gap: 14px;
  margin-bottom: clamp(24px, 4vh, 40px);
}
.railPanel--intro .title {
  font-size: clamp(46px, 6vw, 104px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.railPanel--intro .text { margin-top: clamp(24px, 4vh, 40px); }
.railPanel__hint {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: clamp(40px, 8vh, 90px);
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .24em;
  color: var(--ink-dim);
}
.railPanel__hint i { font-style: normal; color: var(--accent); }

/* P2 · WHO — image left, text right, side by side */
.railPanel--who {
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
}
.railPanel--who .imgBox--portrait {
  flex: 0 0 auto;
  width: clamp(280px, 28vw, 440px);
  aspect-ratio: 4 / 5;
}
.railPanel--who .txtBox--who {
  display: grid; gap: 22px;
  width: clamp(340px, 32vw, 520px);
}
.idxGhost {
  position: absolute;
  top: clamp(-10px, 2vh, 30px); right: 6vw;
  z-index: 0;
  font-size: clamp(200px, 30vw, 420px);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(229, 83, 59, 0.16);
  pointer-events: none;
}

/* P3 · BELIEVE — text bottom-left, image top-right, two-row grid */
.railPanel--believe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: stretch;
}
.railPanel--believe .txtBox--believe {
  grid-column: 1; grid-row: 2;
  align-self: end;
  display: grid; gap: 22px;
  width: clamp(340px, 32vw, 520px);
  padding-bottom: clamp(40px, 8vh, 90px);
}
.railPanel--believe .imgBox--wide {
  grid-column: 2; grid-row: 1 / 3;
  align-self: start;
  margin-top: clamp(60px, 10vh, 110px);
  /* pulled back toward the copy so the pair reads as one block */
  margin-left: clamp(-130px, -7vw, -40px);
  height: clamp(300px, 52vh, 520px);
}

/* P4 · HOW — two frames on a diagonal, copy wedged in the gap */
.railPanel--how { align-items: center; }
.railPanel--how .imgBox--upper {
  position: absolute;
  top: clamp(60px, 11vh, 120px); left: clamp(28px, 4vw, 80px);
  width: clamp(220px, 24vw, 360px);
  aspect-ratio: 3 / 4;
}
.railPanel--how .imgBox--lower {
  position: absolute;
  bottom: clamp(50px, 9vh, 110px); right: clamp(28px, 4vw, 80px);
  width: clamp(260px, 28vw, 420px);
  aspect-ratio: 4 / 5;
}
.railPanel--how .txtBox--how {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  display: grid; gap: 22px;
  width: clamp(340px, 32vw, 520px);
  padding: clamp(28px, 3vw, 46px);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(3px);
}
.railPanel__vertical {
  position: absolute;
  top: 50%; right: clamp(20px, 3vw, 46px);
  translate: 0 -50%;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .3em;
  color: var(--ink-dim);
}

/* P5 · OUTRO — stacked stats + CTA */
.railPanel--outro { align-items: center; flex-direction: column; justify-content: center; gap: clamp(30px, 5vh, 56px); }
.statList { list-style: none; display: grid; gap: clamp(10px, 1.6vh, 20px); }
.statList li {
  font-size: clamp(26px, 3vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 16px;
}
.statList li.ghost { color: transparent; -webkit-text-stroke: 1.3px var(--line); }
.statList b { font-weight: 700; }
.statList sup { font-size: .4em; color: var(--accent); }
.statList .zh {
  font-family: var(--font-zh);
  font-weight: 400; font-size: max(14px, .3em);
  letter-spacing: .16em;
  color: var(--ink-dim);
  -webkit-text-stroke: 0;
}
.railPanel__cta {
  display: inline-flex; align-items: center; gap: 16px;
  align-self: start;
  padding: 18px 30px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 14px; font-weight: 700; letter-spacing: .16em;
  color: var(--ink); text-decoration: none;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.railPanel__cta i { font-style: normal; color: var(--accent); transition: color .35s var(--ease), translate .35s var(--ease); }
.railPanel__cta:hover { background: var(--ink); color: var(--paper); }
.railPanel__cta:hover i { color: var(--paper); translate: 4px -4px; }

/* travel HUD — bottom-centre, reuses the hero HUD vocabulary in ink */
.hudBox--about {
  position: absolute;
  z-index: 3;
  left: 50%; bottom: 42px;
  translate: -50% 0;
  width: min(300px, 60vw);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px 16px;
  font-family: var(--font-mono);
}
.hudBox--about .hud__chapter { font-size: 13px; letter-spacing: .12em; color: var(--ink); }
.hudBox--about .hud__count { font-size: 12px; letter-spacing: .12em; color: var(--ink-dim); }
.hudBox--about .hud__count b { color: var(--accent); font-variant-numeric: tabular-nums; }
.hudBox--about .hud__bar { grid-column: 1 / -1; position: relative; height: 1px; background: var(--line); }
.hudBox--about .hud__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: var(--accent); }

/* ── shared deep-stage backdrop ───────────────────────────────────────
   HELIX and FOLIO paint one continuous, viewport-locked image, so the two
   sections read as a single room: scrolling moves the content, never the
   ground behind it. All three layers are declared together on purpose —
   the folio wipe reveals one over another, and any drift between their
   background values would show up as a seam exactly there.
   scene.js builds its renderer with alpha:true, so the 3D ribbon composites
   straight onto this instead of onto flat black. */
.helixArea,
.folioArea,
.folioArea .stickyBox {
  background-color: #000;
  background-image:
    linear-gradient(rgba(10, 10, 9, .62), rgba(10, 10, 9, .62)),
    url('../img/bg.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;  /* the "extension" — locked to the viewport */
}

/* ═════════════════════════ 03 · HELIX (Three.js preserved) ══════════ */
.helixArea {
  position: relative;
  height: 560vh;                 /* scroll runway that drives the spiral */
}
.helixArea .stickyBox {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* z2 · headline / parallax (DOM fallback — 3D headlines replace on WebGL) */
.stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}


.headline {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;          /* centre horizontally without a transform
                                  (parallax owns `transform` for drift) */
  font-size: clamp(64px, 16vw, 116px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: var(--paper);
  white-space: nowrap;
  will-change: transform;
}
/* both lines stacked in the centre so the ribbon winds around the title:
   ribbon canvas sits between — DESIGN IN below it, MOTION above it */
.headline--top    { top: 33vh; z-index: 1; }
.headline--bottom { top: 51vh; z-index: 4; }

.lede {
  position: absolute;
  top: 46vh;                     /* 1vh of lift absorbs the taller .zh line */
  left: 50%;
  translate: -50% 0;
  display: grid;
  gap: 2px;
  text-align: center;
  font-size: clamp(11px, 0.95vw, 14px);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(240, 239, 236, .6);
  will-change: transform;
}
.lede .zh {
  margin-top: 6px;
  font-size: clamp(14px, 1.2vw, 18px);
  letter-spacing: .24em; text-indent: .24em;   /* tracking recentred */
  color: rgba(240, 239, 236, .78);
}

/* decorative sweeping lines */
.deco {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.5;
}
.deco path {
  fill: none;
  stroke: rgba(240, 239, 236, .4);
  stroke-width: 1;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
/* the second sweep sits further back — thinner, fainter, slower shimmer */
.deco path + path { stroke: rgba(240, 239, 236, .26); }
@media (prefers-reduced-motion: no-preference) {
  .deco path        { animation: decoBreath 9s ease-in-out infinite; }
  .deco path + path { animation-duration: 13s; animation-delay: -4s; }
}
@keyframes decoBreath {
  0%, 100% { opacity: .72; }
  50%      { opacity: 1; }
}

/* corner captions inside the sticky viewport */
.side {
  position: absolute;
  z-index: 6;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--paper);
}
.side--label {
  left: var(--pad-x);
  top: 110px;
  font-family: var(--font-mono);
  font-size: 17px;
  letter-spacing: .2em;
  color: rgba(240, 239, 236, .55);
  display: flex; gap: 14px;
}
.side--intro {
  left: var(--pad-x);
  bottom: 42px;
  max-width: 300px;
  line-height: 1.6;
}
.side--intro .zh { display: inline-block; margin-top: 8px; font-size: 14px; color: rgba(240, 239, 236, .55); }
.side--link {
  right: var(--pad-x);
  bottom: 46px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-decoration: none;
  color: var(--paper);
  padding: 6px 0;
}
.side--link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .45s var(--ease); }
.side--link::before {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: rgba(240, 239, 236, .35);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.side--link:hover::before { transform: scaleX(1); transform-origin: left; }
.side--link:hover svg { transform: translateX(6px); }

/* ── margin spines ─────────────────────────────────────────────────────
   Two hairlines standing the full height of the pinned viewport, capped top
   and bottom with a short cross tick. They give the floating composition a
   left and right edge to sit inside — the frame the rails hang off. */
.helixSpine {
  position: absolute;
  z-index: 5;
  top: 96px; bottom: 96px;
  width: 1px;
  pointer-events: none;
  background: linear-gradient(
    rgba(240, 239, 236, 0),
    rgba(240, 239, 236, .18) 14%,
    rgba(240, 239, 236, .18) 86%,
    rgba(240, 239, 236, 0));
}
.helixSpine--left  { left: calc(var(--pad-x) - 14px); }
.helixSpine--right { right: calc(var(--pad-x) - 14px); }
.helixSpine::before, .helixSpine::after {
  content: "";
  position: absolute;
  left: -4px;
  width: 9px; height: 1px;
  background: rgba(240, 239, 236, .32);
}
.helixSpine::before { top: 0; }
.helixSpine::after  { bottom: 0; }

/* ── mid-height flanking rails ─────────────────────────────────────────
   Editorial furniture either side of the spiral: vertical labels, a scroll
   meter on the left, a ten-step tick scale on the right. Purely decorative
   (aria-hidden) — the semantic copy stays in .side. js/helix-rails.js drives
   the meter and the active tick from the section's scroll progress. */
.helixRail {
  position: absolute;
  z-index: 6;
  top: 50%;
  translate: 0 -50%;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vh, 18px);
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .18em;
  line-height: 1.9;
  color: rgba(240, 239, 236, .5);
}
.helixRail--left  { left: var(--pad-x);  align-items: flex-start; }
.helixRail--right { right: var(--pad-x); align-items: flex-end; text-align: right; }

/* vertical set label — latin lies sideways, the zh line stays upright */
.helixRail__vert {
  writing-mode: vertical-rl;
  font-size: 14px;
  letter-spacing: .26em;
  text-indent: .26em;
  color: rgba(240, 239, 236, .62);
}
/* no 180° flip on the left rail: it would stand the upright CJK glyphs
   (螺旋畫廊) on their heads — both rails read top-to-bottom instead. */
.helixRail__vert .zh {
  font-family: var(--font-zh);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: .3em;
  color: rgba(240, 239, 236, .38);
}

.helixRail__rule {
  width: 1px;
  height: clamp(28px, 5vh, 48px);
  background: linear-gradient(rgba(240, 239, 236, .42), rgba(240, 239, 236, 0));
}
.helixRail--right .helixRail__rule {
  background: linear-gradient(rgba(240, 239, 236, 0), rgba(240, 239, 236, .42));
}

/* left · scroll meter through the spiral */
.helixRail__meter { display: grid; gap: clamp(7px, 1.1vh, 11px); justify-items: start; }
.helixRail__track {
  position: relative;
  width: 1px;
  height: clamp(70px, 11vh, 120px);
  background: rgba(240, 239, 236, .2);
}
.helixRail__track i {
  position: absolute;
  left: -1px; top: 0;
  width: 4px;
  height: 0%;
  background: var(--accent);
  will-change: height;
}
/* scroll depth as a number — the meter's headline figure */
.helixRail__pct {
  font-size: 13px;
  letter-spacing: .14em;
  color: rgba(240, 239, 236, .38);
}
.helixRail__pct b {
  display: block;
  font-size: clamp(30px, 2.7vw, 42px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}
.helixRail__index { font-size: 14px; letter-spacing: .16em; color: rgba(240, 239, 236, .42); }
.helixRail__index b {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}

/* right · the piece currently passing through the centre of the spiral */
.helixRail__now { display: grid; gap: 6px; max-width: 280px; }
.helixRail__now em {
  font-style: normal;
  font-size: 12px;
  letter-spacing: .26em;
  color: rgba(240, 239, 236, .34);
}
.helixRail__now b {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.25;
  color: var(--paper);
}
.helixRail__now i {
  font-style: normal;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--accent);
}
/* the title swaps as the ribbon turns — a short lift keeps the change legible */
@media (prefers-reduced-motion: no-preference) {
  .helixRail__now.is-swap b,
  .helixRail__now.is-swap i { animation: railSwap .5s var(--ease) both; }
  .helixRail__now.is-swap i { animation-delay: .06s; }
}
@keyframes railSwap {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: 1; transform: none; }
}

/* right · ten-step scale, one notch per piece in the ribbon */
.helixRail__ticks { list-style: none; display: grid; gap: clamp(8px, 1.3vh, 12px); justify-items: end; }
.helixRail__ticks li {
  width: 20px;
  height: 1px;
  background: rgba(240, 239, 236, .3);
  transition: width .45s var(--ease), background .45s var(--ease), opacity .45s var(--ease);
}
.helixRail__ticks li.is-active { width: 46px; background: var(--accent); }
.helixRail__ticks li.is-past   { opacity: .45; }

.helixRail small { display: block; font-size: 12.5px; letter-spacing: .16em; color: rgba(240, 239, 236, .34); }

/* the vertical labels are the tallest piece in each stack — on a short
   viewport they go first, so the readouts keep their new size instead of
   the whole rail shrinking back down */
@media (max-height: 840px) { .helixRail__vert { display: none; } }

/* the rails are margin furniture — drop them once the headline needs the width */
@media (max-width: 1280px), (max-height: 660px) { .helixRail, .helixSpine { display: none; } }

/* ═════════════════════════ 04 · FOLIO — Vertical Index Reel ═════════ */
/* Section provides the runway; ScrollTrigger pins .stickyBox. folio.js
   positions each .folioItem per frame so images fall from the top, focus at
   centre, and sink past the bottom. Black stage, light type. */
.folioArea {
  position: relative;
  height: 100vh;                 /* pin-spacer supplies the scroll runway */
  color: var(--paper);
}
.folioArea .stickyBox {
  position: relative;
  height: 100vh;
  overflow: hidden;
  clip-path: inset(100% 0 0 0);
}


.folioArea__label {
  position: absolute;
  z-index: 4;
  top: 110px; left: var(--pad-x);
  font-family: var(--font-mono);
  font-size: 17px; letter-spacing: .2em;
  color: rgba(240, 239, 236, .55);
  display: flex; gap: 14px;
}

.folioCopy { position: absolute; z-index: 5; left: var(--pad-x); top: 50%; translate: 0 -44%; width: min(28vw, 420px); color: var(--paper); will-change: transform; }
.folioCopy__kicker, .folioCopy__subtitle { font-family: var(--font-mono); font-size: 13px; letter-spacing: .16em; color: rgba(240,239,236,.58); }
.folioCopy__kicker { margin-bottom: 22px; color: var(--accent); }
.folioCopy__title { max-width: 430px; font-size: clamp(48px, 5.2vw, 88px); font-weight: 700; line-height: .9; letter-spacing: -.05em; text-transform: uppercase; }
.folioCopy__subtitle { margin-top: 22px; }
.folioCopy__description { max-width: 390px; margin-top: 24px; font-size: clamp(14px, 1.05vw, 17px); line-height: 1.75; color: rgba(240,239,236,.72); }
.folioCopy__button { display: inline-flex; align-items: center; gap: 18px; margin-top: 34px; padding-bottom: 9px; border-bottom: 1px solid rgba(240,239,236,.5); color: var(--paper); font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-decoration: none; }
.folioCopy__button i { color: var(--accent); font-style: normal; transition: translate .3s var(--ease); }
.folioCopy__button:hover i { translate: 4px -4px; }
.folioCopy__kicker, .folioCopy__title, .folioCopy__subtitle, .folioCopy__description, .folioCopy__button { will-change: clip-path, opacity, transform; }

/* left / right index columns — fixed, only the active row lights up */
.folioIndex {
  position: absolute;
  z-index: 4;
  top: 50%; translate: 0 -50%;
  display: none; flex-direction: column;
  gap: clamp(16px, 2.6vh, 30px);
  list-style: none;
  font-family: var(--font-mono);
}
.folioIndex--left  { left: var(--pad-x); }
.folioIndex--right { right: clamp(46px, 5vw, 96px); text-align: right; }
.folioIndex__item {
  display: flex; align-items: baseline; gap: 14px;
  font-size: 13px; letter-spacing: .06em;
  color: var(--paper);
  opacity: .24;
  cursor: pointer;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.folioIndex--right .folioIndex__item { justify-content: flex-end; }
.folioIndex__item b { font-weight: 400; color: rgba(240, 239, 236, .5); font-variant-numeric: tabular-nums; }
.folioIndex__item.is-on { opacity: 1; transform: translateX(8px); }
.folioIndex--right .folioIndex__item.is-on { transform: translateX(-8px); }
.folioIndex__item.is-on b { color: var(--accent); }

/* the centre reel — items stacked at the exact centre, moved by JS */
.folioReel {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  will-change: transform;
}
.folioItem {
  position: absolute;
  top: 50%; left: 50%;
  width: min(36vw, 540px);
  margin: 0;
  /* JS overwrites transform every frame; this is the pre-JS resting pose */
  transform: translate(-50%, -50%);
  will-change: transform, opacity, clip-path;
  clip-path: inset(0 0 100% 0);
}
/* the frame squeezes in X (folio.js) and the picture counter-scales inside it,
   so what travels is the crop, not a distorted image */
.folioItem .imgBox {
  position: relative;
  width: 100%;
  height: 72vh;
  aspect-ratio: auto;
  overflow: hidden;
  background: #222;
  transform-origin: 50% 50%;
  will-change: transform;
}
.folioItem .imgBox img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: none;
  transform-origin: 50% 50%;
  will-change: transform;
  backface-visibility: hidden;
}
/* centred-image side label — hidden until focus, shown by folio.js */
.folioItem__no {
  position: absolute;
  top: 50%; translate: 0 -50%;
  right: calc(100% + clamp(20px, 2.5vw, 44px));
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: .3em;
  color: rgba(240, 239, 236, .6);
  opacity: 0;
  transition: opacity .5s var(--ease);
  white-space: nowrap;
}
.folioItem.is-focus .folioItem__no { opacity: 1; }

/* title + subtitle overlaid on each image */
.folioItem__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(20px, 2.4vw, 34px);
  color: var(--paper);
  background: linear-gradient(to top, rgba(12, 12, 12, .72) 0%, rgba(12, 12, 12, .38) 45%, rgba(12, 12, 12, 0) 100%);
  /* undoes the frame's squeeze from the left edge, so type keeps its shape
     and its padding while the crop narrows */
  transform-origin: 0% 50%;
  will-change: transform, opacity;
}
.folioItem__title {
  font-size: clamp(20px, 2vw, 34px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.folioItem__subtitle {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: rgba(240, 239, 236, .72);
}

/* ── right rail — the reel's live readout ────────────────────────────
   Three registers sharing one data source: a kinetic numeral (coarse
   position, shears with scroll velocity), a title ticker mechanically
   locked to the same float that drives the images, and a spec readout
   that only resolves when a work is genuinely centred. The accent tick
   riding the left spine is the progress axis. */
.folioTicker {
  --row: clamp(34px, 4vh, 46px);
  position: absolute;
  z-index: 4;
  top: 50%; right: var(--pad-x);
  translate: 0 -50%;
  width: min(24vw, 330px);
  padding-left: clamp(20px, 2vw, 34px);
  color: var(--paper);
  will-change: transform;
}

/* left spine + the progress tick that rides it */
.folioTicker__axis {
  position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent, rgba(240,239,236,.2) 12%, rgba(240,239,236,.2) 88%, transparent);
}
.folioTicker__axis b {
  position: absolute; left: -3px; top: 0;
  width: 13px; height: 2px;
  background: var(--accent);
  will-change: transform;
}

.folioTicker__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .3em;
  color: rgba(240,239,236,.42);
}

/* kinetic numeral — JS writes the skew/scale from scroll velocity */
.folioTicker__head {
  display: flex; align-items: flex-end; gap: 10px;
  margin-top: clamp(10px, 1.4vh, 18px);
  margin-bottom: clamp(16px, 2.2vh, 28px);
}
.folioTicker__numeral {
  font-size: clamp(84px, 8.4vw, 134px);
  font-weight: 700; line-height: .74; letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(229,83,59,.75);
  transform-origin: left bottom;
  will-change: transform;
}
.folioTicker__total {
  padding-bottom: .55em;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .18em;
  color: rgba(240,239,236,.38);
}

/* ticker viewport — exactly 5 rows tall, active row pinned to the centre */
.folioTicker__view {
  height: calc(var(--row) * 5);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom,
    transparent, #000 20%, #000 80%, transparent);
          mask-image: linear-gradient(to bottom,
    transparent, #000 20%, #000 80%, transparent);
}
/* two rows of lead-in put row 0's centre on the viewport's centre line */
.folioTicker__list {
  padding-top: calc(var(--row) * 2);
  list-style: none;
  will-change: transform;
}
.folioTicker__row {
  display: flex; align-items: center; gap: 10px;
  height: var(--row);
  font-family: var(--font-mono);
  font-size: 14px; letter-spacing: .06em;
  white-space: nowrap;
  color: var(--paper);
  opacity: .26;
  cursor: pointer;
  pointer-events: auto;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.folioTicker__row b {
  flex: none;
  font-weight: 400;
  color: rgba(240,239,236,.5);
  font-variant-numeric: tabular-nums;
  transition: color .45s var(--ease);
}
.folioTicker__row span {
  min-width: 0;                  /* arms the ellipsis inside the flex row */
  overflow: hidden; text-overflow: ellipsis;
}
.folioTicker__row.is-on { opacity: 1; transform: translateX(8px); }
.folioTicker__row.is-on b { color: var(--accent); }

/* spec readout — resolves only while an image is genuinely centred */
.folioTicker__readout {
  display: flex; flex-direction: column; gap: 7px;
  margin-top: clamp(14px, 2vh, 24px);
  padding-top: clamp(12px, 1.6vh, 18px);
  border-top: 1px solid rgba(240,239,236,.14);
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .2em;
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.folioTicker__readout.is-on { opacity: 1; }
.folioTicker__cat { color: rgba(240,239,236,.72); }
.folioTicker__spec { display: flex; gap: 14px; color: rgba(240,239,236,.36); }
.folioTicker__spec i, .folioTicker__spec b { font-style: normal; font-weight: 400; }

/* ═════════════════ 05 · SERVICES — Kinetic Capabilities ═════════════════ */
/* Dark section. A line-masked statement, a scroll-velocity kinetic marquee,
   and four full-bleed rows that sweep an accent fill, flip to dark type,
   wipe in a thumbnail and expand to reveal copy on hover. */
.serviceArea {
  position: relative;
  overflow: hidden;
  padding-block: clamp(90px, 15vh, 190px) clamp(70px, 12vh, 150px);
  color: var(--paper);
  background: radial-gradient(130% 120% at 78% -10%, #23231f 0%, #17171400 55%), var(--coal);
}
.serviceArea__glow {
  position: absolute; inset: 0;
  z-index: 0; pointer-events: none;
  background: radial-gradient(60% 45% at 15% 105%, rgba(229,83,59,.14), transparent 60%);
}

/* ── header ─────────────────────────────────────────────────────────── */
.serviceHead {
  position: relative; z-index: 2;
  padding-inline: var(--pad-x);
  max-width: 1680px; margin: 0 auto;
}
.serviceHead__label {
  font-family: var(--font-mono);
  font-size: 17px; letter-spacing: .2em;
  color: rgba(240, 239, 236, .55);
  margin-bottom: clamp(28px, 5vh, 56px);
}
.serviceHead__label .zh { color: rgba(240, 239, 236, .4); }
.serviceHead__title {
  font-size: clamp(38px, 6.6vw, 118px);
  font-weight: 700; line-height: .95;
  letter-spacing: -.045em; text-transform: uppercase;
}
.serviceHead__title .line { display: block; overflow: hidden; }
.serviceHead__title .line > span { display: block; will-change: transform; }
.serviceHead__title em { font-style: normal; color: var(--accent); }
.serviceHead__lead {
  max-width: 46ch; margin-top: clamp(24px, 4vh, 44px);
  font-family: var(--font-zh);
  font-size: clamp(14px, 1.1vw, 17px); line-height: 1.9; letter-spacing: .04em;
  color: rgba(240, 239, 236, .62);
}

/* ── kinetic marquee ────────────────────────────────────────────────── */
.serviceMarquee {
  position: relative; z-index: 1;
  margin: clamp(52px, 9vh, 120px) 0 clamp(40px, 6vh, 80px);
  overflow: hidden;
  border-block: 1px solid rgba(240, 239, 236, .14);
  padding-block: clamp(14px, 2.2vh, 28px);
}
.serviceMarquee__track {
  display: flex; width: max-content;
  will-change: transform;
  transform: translate3d(0,0,0);
}
.serviceMarquee__track span {
  display: block; white-space: nowrap;
  font-size: clamp(44px, 8vw, 132px);
  font-weight: 700; letter-spacing: -.02em; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(240, 239, 236, .42);
}

/* ── interactive rows ───────────────────────────────────────────────── */
.serviceRows { list-style: none; border-top: 1px solid rgba(240, 239, 236, .14); }
.serviceRow {
  position: relative;
  border-bottom: 1px solid rgba(240, 239, 236, .14);
  isolation: isolate;
  transition: opacity .5s var(--ease), transform .9s var(--ease);
}
/* accent fill sweep — full-bleed, behind the content */
.serviceRow::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .6s var(--ease);
}
.serviceRow__head {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; column-gap: clamp(18px, 3vw, 54px);
  padding: clamp(22px, 3.6vh, 46px) var(--pad-x);
  max-width: 1680px; margin: 0 auto;
}
.serviceRow__no {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1vw, 16px); letter-spacing: .1em;
  color: transparent; -webkit-text-stroke: 1px rgba(240, 239, 236, .5);
  transition: color .5s var(--ease), -webkit-text-stroke-color .5s var(--ease);
}
.serviceRow__title {
  display: flex; align-items: baseline; flex-wrap: wrap;
  column-gap: clamp(14px, 1.6vw, 28px); row-gap: 4px;
}
.serviceRow__en {
  font-size: clamp(30px, 5.4vw, 92px);
  font-weight: 700; line-height: .92;
  letter-spacing: -.04em; text-transform: uppercase;
  color: var(--paper);
  transition: color .5s var(--ease), transform .6s var(--ease);
}
.serviceRow__zh {
  font-family: var(--font-zh);
  font-size: clamp(14px, 1.05vw, 17px); letter-spacing: .14em;
  color: rgba(240, 239, 236, .55);
  transition: color .5s var(--ease);
}
.serviceRow__arrow {
  justify-self: end;
  font-style: normal; font-size: clamp(22px, 2.4vw, 40px);
  color: rgba(240, 239, 236, .3);
  opacity: 0; translate: -14px 14px;
  transition: opacity .5s var(--ease), translate .6s var(--ease), color .5s var(--ease);
}
/* thumbnail that wipes in on the right */
.serviceRow__media {
  position: absolute; z-index: 0;
  top: 50%; right: clamp(70px, 12vw, 220px);
  translate: 0 -50%;
  width: clamp(150px, 15vw, 250px); aspect-ratio: 4 / 3;
  overflow: hidden;
  clip-path: inset(0 0 0 100%);
  transition: clip-path .65s var(--ease);
  pointer-events: none;
}
.serviceRow__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  scale: 1.3; transition: scale .8s var(--ease);
}
/* body — collapsed by default, expands on hover */
.serviceRow__body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .6s var(--ease);
}
.serviceRow__bodyInner {
  overflow: hidden;
  max-width: 1680px; margin: 0 auto;
  padding: 0 var(--pad-x) clamp(28px, 4.4vh, 50px);
  opacity: 0; transition: opacity .5s var(--ease);
}
.serviceRow__desc {
  max-width: 52ch;
  font-family: var(--font-zh);
  font-size: clamp(14px, 1.05vw, 17px); line-height: 1.85; letter-spacing: .04em;
  color: var(--coal);
}
.serviceRow__tags {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: clamp(18px, 2.4vh, 30px);
}
.serviceRow__tags li {
  font-family: var(--font-zh);
  font-size: 14px; letter-spacing: .14em;
  padding: 7px 15px; border-radius: 100px;
  border: 1px solid rgba(22, 22, 20, .4);
  color: var(--coal);
}

/* hover state — the punch */
.serviceRows:hover .serviceRow:not(:hover) { opacity: .35; }
.serviceRow:hover::before { transform: scaleX(1); }
.serviceRow:hover .serviceRow__no { color: var(--coal); -webkit-text-stroke-color: transparent; }
.serviceRow:hover .serviceRow__en { color: var(--coal); transform: translateX(clamp(6px, 1vw, 18px)); }
.serviceRow:hover .serviceRow__zh { color: rgba(22, 22, 20, .7); }
.serviceRow:hover .serviceRow__arrow { opacity: 1; translate: 0 0; color: var(--coal); }
.serviceRow:hover .serviceRow__media { clip-path: inset(0 0 0 0%); }
.serviceRow:hover .serviceRow__media img { scale: 1; }
.serviceRow:hover .serviceRow__body { grid-template-rows: 1fr; }
.serviceRow:hover .serviceRow__bodyInner { opacity: 1; }

/* ═════════════════════════ 06 · WORK LIST ═══════════════════════════ */
.workArea { padding: clamp(80px, 12vh, 160px) 0 clamp(120px, 18vh, 220px);background-color:#fff }

.workArea .titleBox { margin-bottom: clamp(40px, 8vh, 90px); }
.workArea .decotitle {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--ink-dim);
  margin-bottom: 22px;
  display: flex; gap: 18px;
}
.workArea .titleBox .title {
  font-size: clamp(44px, 7.5vw, 120px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.workArea .dataBox { position: relative; }
.workArea .dataList { list-style: none; border-top: 1px solid var(--line); }
.workArea .dataItem { border-bottom: 1px solid var(--line); }
.workArea .txtBox {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: clamp(14px, 3vw, 40px);
  padding: clamp(22px, 3.6vh, 38px) 8px;
  text-decoration: none;
  color: inherit;
}
.workArea .txtBox .title {
  font-size: clamp(26px, 3.8vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  transition: transform .5s var(--ease), color .5s var(--ease);
}
.workArea .txtBox .subtitle {
  font-family: var(--font-zh);
  font-size: 14px;
  letter-spacing: .2em;
  color: var(--ink-dim);
}
.workArea .txtBox .text {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--ink-dim);
}
.workArea .dataItem:hover .title { color: var(--accent); transform: translateX(18px); }

/* floating hover preview */
.previewBox {
  position: fixed;
  z-index: 8;
  top: 0; left: 0;
  width: clamp(240px, 24vw, 380px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  scale: 0.86;
  transition: opacity .4s var(--ease), scale .4s var(--ease);
  box-shadow: 0 30px 70px -25px rgba(0,0,0,.45);
}
.previewBox.is-on { opacity: 1; scale: 1; }
.previewBox img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ═════════════════════════ 07 · CONTACT / FOOTER ════════════════════ */
.contactArea {
  background: #fff;
  color: var(--ink);
  padding-top: clamp(120px, 18vh, 220px);
}
.contactArea .decotitle {
  font-family: var(--font-mono);
  font-size: 17px;
  letter-spacing: .18em;
  color: var(--ink-dim);
  margin-bottom: clamp(28px, 5vh, 56px);
  display: flex; gap: 18px;
}
.contactArea .titleBox .title {
  display: inline-flex;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  font-size: clamp(52px, 11vw, 200px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color .5s var(--ease);
}
.contactArea .titleBox .title svg {
  width: clamp(40px, 6vw, 120px);
  height: clamp(40px, 6vw, 120px);
  fill: none; stroke: currentColor; stroke-width: 1.6;
  transition: transform .6s var(--ease);
}
.contactArea .titleBox .title:hover { color: var(--accent); }
.contactArea .titleBox .title:hover svg { transform: translate(10%, -10%) rotate(8deg); }
.contactArea .titleBox .text {
  margin-top: clamp(24px, 4vh, 44px);
  font-family: var(--font-zh);
  font-size: clamp(14px, 1vw, 15px);
  line-height: 2.1;
  letter-spacing: 0.16em;
  color: var(--ink-dim);
}

.contactArea .infoBox {
  margin-top: clamp(60px, 10vh, 120px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-bottom: clamp(60px, 10vh, 110px);
}
.contactArea .infoBox .subtitle {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--ink-dim);
  margin-bottom: 18px;
  display: flex; gap: 12px;
}
.contactArea .infoBox a, .contactArea .infoBox p {
  display: block;
  width: fit-content;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .08em;
  line-height: 2.1;
  transition: color .35s var(--ease);
}
.contactArea .infoBox a:hover { color: var(--accent); }

.contactArea .marqueeBox--dark { border-color: var(--line); }
.contactArea .marqueeBox--dark .marqueeTrack span { color: var(--ink-soft); }
.contactArea .marqueeBox--dark .marqueeTrack .zh { color: var(--ink-dim); }

.contactArea .copyBox {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px var(--pad-x) 30px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--ink-dim);
}
.contactArea .copyBox .zh { font-size: 14px; }

/* ───────────────────────── mobile fallback gallery ─────────────────── */
body.is-fallback .helixArea { height: auto; }
body.is-fallback .helixArea .stickyBox { position: relative; height: auto; padding: 14vh 0 2vh; }
body.is-fallback .stage { position: relative; inset: auto; display: grid; justify-items: center; }
body.is-fallback .headline { position: relative; top: auto; }
body.is-fallback .lede { position: relative; top: auto; left: auto; translate: none; margin-top: 18px; }
body.is-fallback .deco, body.is-fallback .side,
body.is-fallback .helixRail, body.is-fallback .helixSpine { display: none; }

.fallback {
  position: relative;
  z-index: 3;
  padding: 6vh 0 12vh;
}
.fallback__rail {
  display: flex;
  gap: 18px;
  padding: 0 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.fallback__rail::-webkit-scrollbar { display: none; }
.fallback__card {
  flex: 0 0 78vw;
  scroll-snap-align: center;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  overflow: hidden;
  background: #bbb;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.4);
}
.fallback__card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ───────────────────────── responsive ──────────────────────────────── */
@media (max-width: 900px) {
  /* About: drop the pin/horizontal track → vertical stacked film strip */
  .aboutArea--journey { height: auto; }
  .aboutArea--journey .stickyBox { position: static; height: auto; display: block; overflow: visible; }
  .aboutGhost, .idxGhost, .railPanel__vertical, .railPanel__hint, .hudBox--about { display: none; }
  .aboutArea--journey .dataBox { padding: clamp(60px, 12vh, 110px) 0; }
  .railTrack {
    flex-direction: column;
    width: 100%;
    padding: 0 var(--pad-x);
    gap: clamp(56px, 12vh, 110px);
  }
  .railPanel { width: 100% !important; height: auto; padding: 0; display: block; }

  .railPanel--intro .title { font-size: clamp(40px, 12vw, 68px); }

  /* WHO — image then offset caption */
  .railPanel--who { padding-top: 0; }
  .railPanel--who .imgBox--portrait { width: min(72%, 320px); aspect-ratio: 4 / 5; }
  .railPanel--who .txtBox--who {
    margin: -40px 0 0 auto; width: min(88%, 440px);
    background: rgba(255,255,255,.9);
  }

  /* BELIEVE — single column stack */
  .railPanel--believe { display: block; }
  .railPanel--believe .txtBox--believe { width: 100%; padding-bottom: 32px; }
  .railPanel--believe .imgBox--wide { height: auto; aspect-ratio: 16 / 10; margin-top: 0; margin-left: 0; }

  /* HOW — two images stacked with a left/right offset, copy between */
  .railPanel--how .imgBox--upper { position: static; width: min(62%, 280px); aspect-ratio: 3 / 4; margin-right: auto; }
  .railPanel--how .imgBox--lower { position: static; width: min(70%, 320px); aspect-ratio: 4 / 5; margin: 28px 0 0 auto; }
  .railPanel--how .txtBox--how { margin: 28px 0; max-width: 46ch; }

  /* OUTRO */
  .railPanel--outro { display: block; }
  .railPanel--outro .statList { margin-bottom: 40px; }

  /* Folio: drop the pin → vertical stack of works, no index / progress */
  .folioArea { height: auto; }
  .folioArea .stickyBox { position: static; height: auto; overflow: visible; }
  .folioArea .stickyBox { clip-path: none; }
  /* iOS Safari mis-renders background-attachment: fixed (it sizes the image
     to the document, not the viewport), and the pin is dropped here anyway —
     so the shared backdrop just scrolls with its section on small screens. */
  .helixArea, .folioArea, .folioArea .stickyBox { background-attachment: scroll; }

  .folioIndex, .folioTicker { display: none; }
  .folioCopy { display: none; }
  .folioArea__label { position: static; padding: clamp(60px, 12vh, 100px) var(--pad-x) 0; }
  .folioReel {
    position: static;
    display: flex; flex-direction: column;
    gap: clamp(50px, 9vh, 90px);
    padding: clamp(30px, 6vh, 60px) var(--pad-x) clamp(70px, 12vh, 120px);
    pointer-events: auto;
  }
  .folioItem {
    position: static;
    width: 100%;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    clip-path: none !important;
  }
  .folioItem .imgBox { height: auto; aspect-ratio: var(--ratio, 4 / 5); }
  .folioItem__no {
    position: static; writing-mode: horizontal-tb;
    display: block; opacity: 1; margin-bottom: 12px;
  }

  /* Services: rows always open, no hover choreography on touch */
  .serviceMarquee { margin-block: clamp(40px, 7vh, 80px); }
  .serviceRow__head { grid-template-columns: auto 1fr; column-gap: 16px; }
  .serviceRow__arrow { display: none; }
  .serviceRow__media { display: none; }
  .serviceRow__en { font-size: clamp(28px, 9vw, 56px); }
  .serviceRow::before { display: none; }        /* no accent sweep on touch */
  .serviceRow__no { color: var(--accent); -webkit-text-stroke: 0; }
  .serviceRow__body { grid-template-rows: 1fr; }  /* copy always visible */
  .serviceRow__bodyInner { opacity: 1; }
  .serviceRow__desc, .serviceRow__tags li { color: rgba(240, 239, 236, .7); }
  .serviceRow__tags li { border-color: rgba(240, 239, 236, .28); }
  .serviceRows:hover .serviceRow:not(:hover) { opacity: 1; }
  .contactArea .infoBox { grid-template-columns: 1fr; }
  .previewBox { display: none; }
}

@media (max-width: 768px) {
  .heroArea--reel .metaBox {
    position: static; text-align: left; margin-top: 36px; grid-auto-flow: row;
  }
  .heroArea--reel .title .line--r { text-align: left; }
  .scroll-hint { display: none; }
  .workArea .txtBox { grid-template-columns: 1fr auto; }
  .workArea .txtBox .subtitle { grid-column: 1; }
  .nav__cta { display: none; }
  .contactArea .copyBox { flex-direction: column; gap: 8px; }
}

/* ───────────────────────── reduced motion ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .scroll-hint::after { animation: none; }
  .marqueeTrack { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .serviceHead__title .line > span { transform: none; }
  .serviceMarquee__track { transform: none; }
  .heroArea--reel .title .line i { transform: none; transition: none; }
  .reelItem.is-active img, .reelItem.is-active video { animation: none; }
  .cursor { display: none; }
}

/* ─────────────────────── Hero: editorial horizon layout ─────────────────────── */
.nav__center { position: absolute; left: 50%; translate: -50% 0; display: flex; align-items: center; gap: clamp(24px, 4vw, 68px); }
.nav__center a { color: var(--ink); text-decoration: none; font-family: var(--font-mono); font-size: 14px; letter-spacing: .14em; transition: opacity .25s ease; }
.nav__center a:hover { opacity: .5; }
.nav__burger { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(15, 30, 52, .35); border-radius: 50%; background: rgba(255,255,255,.16); color: var(--ink); cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.nav__burger:hover { background: var(--ink); color: var(--paper); transform: rotate(8deg); }
.nav__burger-lines { display: grid; gap: 5px; }
.nav__burger-lines i { display: block; width: 15px; height: 1px; background: currentColor; }
.nav.is-onDark .nav__logo, .nav.is-onDark .nav__center a { color: #fff; }
.nav.is-onDark .nav__logo svg { stroke: #fff; }
.nav.is-onDark .nav__burger { color: #fff; border-color: rgba(255,255,255,.6); background: rgba(7,19,41,.16); }

.heroArea--reel { position: sticky; top: 0; z-index: 0; min-height: 100svh; justify-content: initial; color: #fff; }
.heroArea--reel .reelBox { opacity: 1; filter: saturate(.88) contrast(.96); }
.heroArea--reel .reelBox__grade { background: linear-gradient(180deg, rgba(7,19,41,.38) 0%, rgba(7,19,41,.12) 48%, rgba(7,19,41,.42) 100%); }
.heroArea--reel .reelItem { clip-path: none; transform: scale(1.035); will-change: opacity, transform; }
.heroArea--reel .reelItem.is-active { clip-path: none; transform: scale(1); }
.heroArea--reel .reelItem.is-active img,
.heroArea--reel .reelItem.is-active video { animation: hero-reel-drift 5s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes hero-reel-drift { from { transform: scale(1.055); } to { transform: scale(1); } }
.heroArea--reel > .wrap, .heroArea--reel > .hudBox, .heroArea--reel > .scroll-hint, .heroArea--reel > .marqueeBox { display: none; }
.aboutArea--journey { position: relative; z-index: 2; background: #fff; }
main > section:not(.heroArea--reel) { position: relative; z-index: 2; }
main > footer { position: relative; z-index: 2; }

.heroComposition { position: relative; z-index: 3; min-height: 100svh; }
.heroCenter { position: absolute; z-index: 2; top: clamp(135px, 15vh, 170px); left: 50%; width: min(82vw, 1100px); text-align: center; translate: -50% 0; }
.heroEyebrow { margin-bottom: clamp(20px, 3vh, 32px); font-family: var(--font-mono); font-size: 14px; letter-spacing: .32em; color: rgba(255,255,255,.9); }
.heroDisplay { font-family: var(--font); font-size: clamp(68px, 8.5vw, 144px); font-weight: 700; line-height: .82; letter-spacing: -.055em; color: #fff; }
.heroDivider { display: block; width: 28px; height: 1px; margin: clamp(22px, 3vh, 34px) auto; background: rgba(255,255,255,.7); }
.heroSubhead { font-family: var(--font-zh); font-size: clamp(15px, 1.35vw, 20px); letter-spacing: .18em; color: rgba(255,255,255,.94); }
.heroExplore { display: inline-flex; align-items: center; gap: 16px; margin-top: clamp(34px, 5vh, 58px); color: #fff; text-decoration: none; font-family: var(--font-mono); font-size: 14px; font-weight: 700; letter-spacing: .16em; }
.heroExplore__play { display: grid; width: 56px; height: 56px; place-items: center; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; font-size: 13px; letter-spacing: 0; padding-left: 2px; transition: background .3s var(--ease), color .3s var(--ease); }
.heroExplore b { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.heroExplore:hover .heroExplore__play { background: #fff; color: #071329; }

.heroRail { position: absolute; z-index: 3; width: 180px; font-family: var(--font-mono); font-size: 14px; letter-spacing: .1em; line-height: 1.7; color: rgba(255,255,255,.92); }
.heroRail--left { top: 22vh; left: var(--pad-x); }
.heroRail--right { top: 35vh; right: var(--pad-x); width: 145px; font-family: var(--font); font-size: 14px; font-weight: 500; letter-spacing: 0; line-height: 1.7; }
.heroRail__index { font-family: var(--font-serif); font-size: 32px; letter-spacing: -.06em; line-height: 1; }
.heroRail__index, .heroRail--left p { will-change: clip-path, opacity; }
.heroRail__rule { display: block; width: 30px; height: 1px; margin: 16px 0 18px; background: rgba(255,255,255,.55); }
.heroRail small { display: block; margin-top: 34px; font-size: 14px; line-height: 1.8; letter-spacing: .08em; }
.heroRail--right small { font-family: var(--font-mono); font-weight: 600; font-size: 14px; letter-spacing: .1em; }
.heroRail--right small b { color: var(--accent); font-size: 15px; }
.heroRail__line { display: block; position: relative; width: 1px; height: clamp(70px, 14vh, 150px); margin-top: 22px; background: rgba(255,255,255,.35); }
.heroRail__line i { position: absolute; bottom: 0; left: -2px; width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.heroRail--right .heroRail__line { display: none; }

.heroNextPreview { position: absolute; z-index: 4; bottom: 42px; left: var(--pad-x); display: grid; grid-template-columns: 180px auto; grid-template-rows: auto auto; column-gap: 16px; row-gap: 8px; width: 352px; padding: 0; border: 0; background: transparent; color: #fff; text-align: left; cursor: pointer; }
.heroNextPreview__image { grid-row: 1 / 3; display: block; width: 180px; height: 104px; overflow: hidden; border: 1px solid rgba(255,255,255,.55); }
.heroNextPreview__image img { width: 100%; height: 100%; object-fit: cover; will-change: transform; transition: transform .55s var(--ease); }
.heroNextPreview__label, .heroNextPreview__title { font-family: var(--font-mono); font-size: 14px; letter-spacing: .11em; }
.heroNextPreview__label { align-self: end; color: rgba(255,255,255,.68); }
.heroNextPreview__title { align-self: start; font-weight: 700; line-height: 1.35; }
.heroNextPreview i { position: absolute; right: 0; top: 0; font-size: 18px; font-style: normal; transition: translate .3s var(--ease); }
.heroNextPreview:hover .heroNextPreview__image img { transform: scale(1.08); }
.heroNextPreview:hover i { translate: 4px -4px; }

.heroVisual { position: absolute; z-index: 1; right: clamp(8%, 13vw, 20%); bottom: 0; width: min(40vw, 620px); margin: 0; filter: drop-shadow(0 24px 35px rgba(16,38,72,.19)); }
.heroVisual::before { content: ""; position: absolute; inset: 7% 5% 7% 5%; z-index: 1; border: 8px solid #09182c; border-radius: 10px; pointer-events: none; box-shadow: 0 0 0 2px rgba(255,255,255,.45) inset; }
.heroVisual::after { content: ""; position: absolute; z-index: 0; right: 15%; bottom: -3%; width: 25%; height: 7%; border-radius: 50%; background: #c4d1e3; filter: blur(5px); }
.heroVisual img { display: block; width: 100%; aspect-ratio: 1.3 / 1; object-fit: cover; object-position: center; border-radius: 12px; }
.heroScroll { position: absolute; bottom: 32px; left: 46%; display: grid; justify-items: center; gap: 12px; font-family: var(--font-mono); font-size: 14px; letter-spacing: .16em; color: rgba(255,255,255,.86); }
.heroScroll i { width: 1px; height: 42px; background: linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,.9)); }
.heroControls { position: absolute; z-index: 4; right: var(--pad-x); bottom: 52px; display: flex; align-items: center; gap: 32px; color: #fff; }
.heroControls__dots { display: flex; align-items: center; }
.heroControls__dot { position: relative; width: 55px; height: 28px; padding: 0; border: 0; background: transparent; color: rgba(255,255,255,.52); font-family: var(--font-mono); font-size: 16px; font-variant-numeric: tabular-nums; line-height: 1; text-align: left; cursor: pointer; transition: color .3s var(--ease), translate .3s var(--ease); }
.heroControls__dot:last-child { width: auto; }
.heroControls__dot:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: 12px; width: 12px; height: 1px; background: rgba(255,255,255,.52); translate: 0 -50%; }
.heroControls__dot:hover { color: rgba(255,255,255,.88); translate: 0 -3px; }
.heroControls__dot.is-active { color: #fff; font-weight: 700; }
.heroControls__arrows { display: flex; gap: 8px; }
.heroControls__arrow { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.58); border-radius: 50%; background: rgba(7,19,41,.2); color: #fff; font-size: 21px; line-height: 1; cursor: pointer; transition: color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease); }
.heroControls__arrow:hover { background: #fff; color: #071329; transform: translateY(-3px); }

@media (max-width: 900px) { .heroRail--right { display: none; } .heroVisual { right: 6vw; width: min(46vw, 490px); opacity: .85; } }
@media (max-width: 700px) {
  .nav { padding: 18px var(--pad-x); }
  .nav__center { display: none; }
  .nav__logo { font-size: 18px; }
  .heroCenter { top: 19vh; width: calc(100% - 36px); }
  .heroDisplay { font-size: clamp(57px, 16vw, 90px); line-height: .86; }
  .heroEyebrow { font-size: 14px; letter-spacing: .16em; }
  .heroSubhead { font-size: 14px; letter-spacing: .1em; }
  .heroRail--left { top: auto; bottom: 38px; left: 20px; }
  .heroRail--left small, .heroRail--left .heroRail__line { display: none; }
  .heroVisual { right: 50%; bottom: 0; width: min(76vw, 430px); translate: 50% 0; opacity: .48; }
  .heroExplore { margin-top: 30px; }
  .heroScroll { display: none; }
  .heroNextPreview { bottom: 28px; left: 20px; grid-template-columns: 140px auto; width: 292px; }
  .heroNextPreview__image { width: 140px; height: 82px; }
  .heroRail--left { bottom: 126px; }
  .heroControls { right: 20px; bottom: 24px; gap: 16px; }
  .heroControls__arrows { gap: 6px; }
  .heroControls__arrow { width: 42px; height: 42px; }
}
