/* =========================================================
   刘涛 · Portfolio 2026
   Motion language: overdamped springs → expo-out, blur-in,
   lyric-rail focus (after folia-major), scroll-scrubbed reveals
   ========================================================= */

@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --paper: #f1efea;
  --paper-hi: #f8f7f3;
  --ink: #111111;
  --ink-2: #3c3b38;
  --mute: #8a8883;
  --line: rgba(17, 17, 17, .12);
  --glass: rgba(255, 255, 255, .72);
  --night: #07080b;
  --accent: #f26b1d;

  --f-cn: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --f-sans: "Inter", "Segoe UI", system-ui, -apple-system, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", sans-serif;
  --f-display: "Unbounded", "PingFang SC", "Microsoft YaHei", sans-serif;
  --f-serif: "Instrument Serif", "Songti SC", "STSong", "SimSun", serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(16px, 3.6vw, 56px);
  --radius: clamp(16px, 2vw, 28px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-ui: cubic-bezier(.22, 1, .36, 1);
  --ease-rail: cubic-bezier(.32, .72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: #fff; }

.mark { font-family: var(--f-mono); font-weight: 800; letter-spacing: -.08em; }
.eyebrow {
  display: inline-block;
  font: 500 11px/1.4 var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
}
.eyebrow--r { text-align: right; }
.sec-head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }

main { position: relative; z-index: 1; }

/* ---------- SplitText helpers ---------- */
.split-line { padding-bottom: .06em; margin-bottom: -.06em; }

/* =========================================================
   LOADER
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--night); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--gutter);
  will-change: transform;
}
.loader__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; font: 500 12px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(241, 239, 234, .55); }
.loader__row .mark { color: var(--paper); font-size: 18px; }
.loader__center { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.loader__words { position: relative; height: 1.2em; overflow: hidden; font: italic 400 clamp(36px, 6vw, 96px)/1.2 var(--f-serif); min-width: 5em; }
.loader__words span { position: absolute; left: 0; top: 0; opacity: 0; }
.loader__count { font: 800 clamp(96px, 19vw, 320px)/.8 var(--f-display); letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.loader__bar { flex: 1; height: 1px; background: rgba(241, 239, 234, .16); position: relative; max-width: 46vw; }
.loader__bar i { position: absolute; inset: 0; background: var(--paper); transform-origin: left; transform: scaleX(0); }
.loader__curve { position: absolute; left: 0; top: calc(100% - 1px); width: 100%; height: 14vh; fill: var(--night); }

/* =========================================================
   AMBIENT (album-art style blurred light, after folia)
   ========================================================= */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambient__layer { position: absolute; inset: -12%; opacity: 0; visibility: hidden; transition: opacity 1.5s ease-in-out, visibility 0s linear 1.5s; }
.ambient__layer.is-on { opacity: 1; visibility: visible; transition: opacity 1.5s ease-in-out, visibility 0s; }
.ambient__layer img {
  width: 100%; height: 100%; max-width: none; object-fit: cover;
  opacity: .3;
  transform: scale(1.25);
  -webkit-mask-image: radial-gradient(120% 90% at 85% 15%, #000 0%, rgba(0,0,0,.6) 45%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 85% 15%, #000 0%, rgba(0,0,0,.6) 45%, transparent 75%);
}
html:not(.is-lite) .ambient__layer.is-on img { animation: drift 64s ease-in-out infinite alternate; }
@keyframes drift {
  0%   { transform: scale(1.25) translate3d(0, 0, 0); }
  50%  { transform: scale(1.32) translate3d(-3%, 2%, 0); }
  100% { transform: scale(1.27) translate3d(2.5%, -2%, 0); }
}

.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
html.is-lite .grain { display: none; }

/* =========================================================
   NAV / MENU
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: start; gap: 24px;
  padding: calc(var(--gutter) * .6) var(--gutter);
  color: #fff; mix-blend-mode: difference;
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav__brand { display: inline-flex; align-items: center; gap: 12px; font: 600 13px var(--f-mono); letter-spacing: .12em; justify-self: start; }
.nav__brand .mark { font-size: 20px; }
.nav__now { display: inline-flex; align-items: baseline; gap: 10px; font: 500 12px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.nav__idx { font-weight: 700; }
.nav__slash { opacity: .5; }
.nav__title-wrap { display: inline-block; overflow: hidden; height: 1.4em; vertical-align: bottom; min-width: 9em; }
.nav__title { display: inline-block; }
.nav__tag { justify-self: end; font: 500 10px/1.35 var(--f-sans); letter-spacing: .02em; padding-right: 12px; border-right: 1px solid currentColor; opacity: .85; }
.nav__menu { display: inline-flex; align-items: center; gap: 12px; height: 40px; padding: 0 6px 0 16px; border: 1px solid currentColor; border-radius: 999px; font: 600 12px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.nav__menu-label { display: grid; height: 1.3em; overflow: hidden; line-height: 1.3em; }
.nav__menu-label span { grid-area: 1 / 1; transition: transform .6s var(--ease-out); }
.nav__menu-label span + span { transform: translateY(110%); }
body.menu-open .nav__menu-label span:first-child { transform: translateY(-110%); }
body.menu-open .nav__menu-label span + span { transform: translateY(0); }
.nav__menu-icon { width: 28px; height: 28px; border-radius: 50%; background: currentColor; display: grid; place-content: center; gap: 4px; }
.nav__menu-icon i { display: block; width: 12px; height: 1.5px; background: #000; transition: transform .6s var(--ease-out); }
body.menu-open .nav__menu-icon i:first-child { transform: translateY(2.75px) rotate(45deg); }
body.menu-open .nav__menu-icon i:last-child { transform: translateY(-2.75px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 110; visibility: hidden; color: var(--paper); display: flex; flex-direction: column; justify-content: center; padding: 14vh var(--gutter) var(--gutter); }
.menu__bg { position: absolute; inset: 0; background: var(--night); clip-path: circle(0% at calc(100% - 60px) 40px); }
.menu__list { position: relative; display: grid; gap: .2em; }
.menu__list li { overflow: hidden; border-bottom: 1px solid rgba(241, 239, 234, .1); }
.menu__list a { display: flex; align-items: baseline; gap: 2vw; padding: .18em 0; font: 700 clamp(28px, 5.4vw, 84px)/1.08 var(--f-cn); letter-spacing: -.02em; transition: color .4s, padding .6s var(--ease-out); }
.menu__list a:hover { color: var(--accent); padding-left: 1.4vw; }
.menu__no { font: 500 13px var(--f-mono); color: rgba(241, 239, 234, .4); min-width: 3em; letter-spacing: .1em; }
.menu__txt em { font: italic 400 .7em var(--f-serif); color: rgba(241, 239, 234, .45); margin-left: .3em; }
.menu__foot { position: relative; display: flex; justify-content: space-between; gap: 16px; margin-top: 6vh; font: 500 12px var(--f-mono); letter-spacing: .08em; color: rgba(241, 239, 234, .5); }

.rail { position: fixed; left: 0; top: 0; z-index: 130; width: 100%; height: 2px; pointer-events: none; }
.rail__fill { height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto auto;
  padding: calc(var(--gutter) * 2.4) var(--gutter) 0;
  overflow: hidden;
}
.hero__stage { position: relative; display: grid; place-items: center; perspective: 1400px; }
.hero__year {
  --lx: 10; --ly: 16;
  display: flex; justify-content: center;
  font: 900 clamp(64px, 26vw, 540px)/.82 var(--f-display);
  letter-spacing: -.045em;
  color: var(--paper-hi);
  transform-style: preserve-3d;
  user-select: none;
}
.hero__digit {
  display: inline-block;
  text-shadow:
    calc(var(--lx) * -.12px) calc(var(--ly) * -.12px) 1px rgba(255, 255, 255, .95),
    calc(var(--lx) * .18px) calc(var(--ly) * .18px) 2px rgba(70, 60, 45, .10),
    calc(var(--lx) * 1.2px) calc(var(--ly) * 1.2px) 30px rgba(70, 60, 45, .22);
  will-change: transform;
}
.hero__title {
  position: absolute; left: 7%; bottom: 17%;
  display: flex; align-items: flex-end; gap: clamp(12px, 1.6vw, 28px);
  font-weight: 400; pointer-events: none;
}
.hero__portfolio {
  font: italic 400 clamp(56px, 9.6vw, 184px)/.9 var(--f-serif);
  letter-spacing: -.01em;
  padding-right: clamp(12px, 1.6vw, 28px);
  border-right: 1px solid var(--ink);
  -webkit-box-reflect: below -.12em linear-gradient(transparent 55%, rgba(255, 255, 255, .28));
}
.hero__cn { font: 400 clamp(14px, 1.5vw, 26px)/1.2 var(--f-serif); letter-spacing: .12em; padding-bottom: .5em; white-space: nowrap; }
.hero__meta {
  display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 24px;
  padding: 3vh 0 4vh;
}
.hero__lead { display: grid; gap: 2px; font: 500 12px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.hero__lead span:first-child { font: 800 15px var(--f-display); letter-spacing: .02em; }
.hero__note { font: 500 clamp(15px, 1.25vw, 19px)/1.6 var(--f-cn); color: var(--ink-2); }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; font: 600 11px var(--f-mono); letter-spacing: .16em; text-transform: uppercase; }
.hero__scroll i { position: relative; display: block; width: 1px; height: 52px; background: var(--line); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: scrollcue 2.2s var(--ease-out) infinite; transform-origin: top; }
@keyframes scrollcue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

.marquee { overflow: hidden; border-top: 1px solid var(--line); padding: 2.2vh 0; margin: 0 calc(var(--gutter) * -1); }
.marquee__track { display: flex; align-items: center; gap: 2.4vw; width: max-content; white-space: nowrap; font: 700 clamp(22px, 3.2vw, 54px)/1 var(--f-display); text-transform: uppercase; letter-spacing: -.02em; will-change: transform; }
.marquee__track b { color: var(--accent); font-size: .55em; }

/* =========================================================
   ABOUT
   ========================================================= */
.about, .contents, .research, .mood, .duo, .others, .contact { position: relative; padding: 16vh var(--gutter); }
.about__big, .contents__big {
  font: 900 clamp(46px, 12.6vw, 236px)/.86 var(--f-display);
  letter-spacing: -.05em;
  margin: 6vh 0 8vh;
  white-space: nowrap;
}
.about__grid { display: grid; grid-template-columns: minmax(240px, 4fr) 8fr; gap: clamp(24px, 5vw, 96px); align-items: start; }
.about__photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1.08; background: #ddd; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.about__photo figcaption { position: absolute; left: 14px; bottom: 12px; padding: 6px 12px; border-radius: 999px; font: 500 11px var(--f-mono); letter-spacing: .08em; background: rgba(255, 255, 255, .86); }
.about__statement { font: 600 clamp(22px, 2.5vw, 42px)/1.5 var(--f-cn); letter-spacing: -.01em; }
.about__statement {
  background: linear-gradient(180deg, var(--ink) 0 var(--fill, 100%), rgba(17, 17, 17, .16) calc(var(--fill, 100%) + 9%));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about__info { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 6vh; border-top: 1px solid var(--line); }
.about__info > div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
.about__info dt { font: 500 11px var(--f-mono); letter-spacing: .12em; color: var(--mute); margin-bottom: 4px; }
.about__info dd { font: 600 15px var(--f-cn); }
.about__info a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease-out); }
.about__info a:hover { background-size: 100% 1px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 14vh 0 10vh; }
.stat { display: flex; align-items: flex-end; gap: 16px; border-top: 1px solid var(--ink); padding-top: 18px; }
.stat b { font: 900 clamp(72px, 11vw, 190px)/.8 var(--f-display); letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.stat span { font: 600 14px/1.4 var(--f-cn); padding-bottom: .6em; }
.stat em { font: italic 400 16px var(--f-serif); color: var(--mute); }

.about__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; padding: clamp(22px, 2.4vw, 36px);
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 30px 60px -40px rgba(40, 30, 20, .25);
}
.card__title { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); font: 800 20px var(--f-cn); }
.card__title em { font: italic 400 18px var(--f-serif); color: var(--mute); }
.timeline { display: grid; gap: 22px; }
.timeline li { position: relative; padding-left: 20px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.timeline li::after { content: ""; position: absolute; left: 3px; top: 1.4em; bottom: -18px; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline time { display: block; font: 500 12px var(--f-mono); color: var(--mute); letter-spacing: .06em; }
.timeline strong { display: block; font: 700 17px/1.4 var(--f-cn); margin: 4px 0 6px; }
.timeline p { font: 400 14px/1.7 var(--f-cn); color: var(--ink-2); }
.awards { display: grid; gap: 4px; }
.awards li { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); font: 500 14px/1.5 var(--f-cn); }
.awards li:last-child { border-bottom: 0; }
.awards__y { grid-row: span 2; font: 800 13px var(--f-display); color: var(--accent); padding-top: 2px; }
.awards b { font-weight: 800; font-size: 17px; }
.skills { display: grid; gap: 18px; }
.skills li { display: grid; gap: 8px; font: 600 14px var(--f-mono); letter-spacing: .04em; }
.skills i, .hbars i { position: relative; display: block; height: 8px; border-radius: 99px; background: rgba(17, 17, 17, .07); overflow: hidden; }
.skills i::after, .hbars i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }
.skills li:first-child i::after { background: var(--accent); }

/* =========================================================
   CONTENTS (accordion deck)
   ========================================================= */
.contents__deck { display: flex; gap: clamp(8px, 1vw, 14px); height: min(72vh, 760px); }
.deck-card {
  position: relative; flex: 1 1 0; min-width: 0;
  border-radius: var(--radius); overflow: hidden; background: #fff;
  transition: flex-grow 1s var(--ease-out), box-shadow .6s;
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .35);
}
.deck-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease-out), filter 1s; filter: grayscale(.35); }
.deck-card__no { position: absolute; left: 6%; top: 3%; z-index: 2; font: 900 clamp(40px, 5.6vw, 104px)/1 var(--f-display); letter-spacing: -.06em; color: var(--ink); }
.deck-card:nth-child(even) .deck-card__no { top: auto; bottom: 3%; }
.deck-card__info { position: absolute; left: 6%; right: 6%; bottom: 5%; z-index: 2; display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .7); opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .8s var(--ease-out); }
.deck-card:nth-child(even) .deck-card__info { bottom: auto; top: 5%; }
.deck-card__info b { font: 800 17px var(--f-cn); white-space: nowrap; }
.deck-card__info em { font: italic 400 15px var(--f-serif); color: var(--ink-2); white-space: nowrap; }
.contents__deck:hover .deck-card { flex-grow: .7; }
.contents__deck .deck-card:hover { flex-grow: 2.8; }
.deck-card:hover img { transform: scale(1); filter: grayscale(0); }
.deck-card:hover .deck-card__info { opacity: 1; transform: none; }

/* =========================================================
   PROJECT — OPENER
   ========================================================= */
.project { position: relative; }
.opener {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr auto;
  column-gap: 20px;
  padding: 14vh var(--gutter) 6vh;
  overflow: hidden;
}
.opener__no {
  grid-column: 1 / -1; grid-row: 1 / 3; align-self: start;
  font: 900 clamp(160px, 33vw, 640px)/.76 var(--f-display);
  letter-spacing: -.07em;
  color: var(--ink);
  z-index: 0;
}
.opener__no .char { display: inline-block; }
.opener__text { grid-column: 1 / span 6; grid-row: 2; align-self: end; z-index: 3; padding-bottom: 4vh; }
.opener__title { display: grid; margin: 14px 0 10px; font: 900 clamp(40px, 6.2vw, 112px)/1.04 var(--f-cn); letter-spacing: -.03em; }
.opener__title > span { display: block; }
.opener__en { font: italic 400 clamp(22px, 2.6vw, 44px)/1 var(--f-serif); color: var(--ink-2); }
.opener__outline { color: transparent; -webkit-text-stroke: 1.5px var(--accent); font-family: var(--f-display); font-weight: 800; letter-spacing: -.02em; }
.opener__media { grid-column: 6 / -1; grid-row: 1 / 3; align-self: center; z-index: 2; position: relative; will-change: transform; }
.opener__media img { width: 100%; height: auto; }
.opener__media--cut img { filter: drop-shadow(0 40px 50px rgba(60, 30, 0, .28)); }
.opener__media--pill { grid-column: 5 / -1; }
.opener__media--pill img { filter: drop-shadow(0 30px 60px rgba(20, 30, 90, .25)); }
.opener__media--circle { grid-column: 7 / -1; justify-self: center; width: min(100%, 64vh); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: clamp(8px, 1vw, 14px) solid #4a4a4a; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .5); background: #fff; }
.opener__media--circle img { width: 100%; height: 100%; object-fit: cover; }
.opener__media--capsule { grid-column: 7 / -1; justify-self: center; width: min(100%, 50vh); aspect-ratio: .78; border-radius: 999px; overflow: hidden; background: #d9d7d2; box-shadow: 30px 40px 80px -40px rgba(0, 0, 0, .45), inset 0 0 0 10px #c9c7c2; }
.opener__media--capsule img { width: 100%; height: 100%; object-fit: cover; }
.opener__meta { grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); z-index: 3; }
.opener__meta > div { padding: 16px 16px 0 0; }
.opener__meta dt { font: 500 11px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.opener__meta dd { font: 600 14px/1.5 var(--f-cn); margin-top: 4px; }
.opener--slim { min-height: 80svh; }
.opener--slim .opener__text { grid-column: 1 / -1; }
.opener--slim .opener__title { grid-template-columns: auto auto; align-items: end; gap: 0 3vw; }

/* =========================================================
   LYRICS RAIL (folia-style focus scroller)
   ========================================================= */
.lyrics {
  position: relative;
  display: grid; grid-template-columns: minmax(150px, 2fr) 6fr 4fr; gap: clamp(20px, 3vw, 56px);
  align-items: start;
  padding: 0 var(--gutter);
}
.lyrics__side { position: sticky; top: 0; height: 100svh; display: grid; align-content: center; gap: 18px; }
.lyrics__label { font: 900 clamp(44px, 5.4vw, 92px)/1.02 var(--f-cn); letter-spacing: -.02em; }
.lyrics__count { font: 500 12px var(--f-mono); letter-spacing: .12em; color: var(--mute); }
.lyrics__count b { color: var(--ink); font-weight: 800; }
.lyrics__viewport { display: grid; gap: 15svh; padding: 44svh 0 56svh; }
.lyrics__line {
  position: relative;
  font: 700 clamp(22px, 2.7vw, 46px)/1.32 var(--f-cn);
  letter-spacing: -.01em;
  transform-origin: 0 50%;
}
.lyrics__line small { display: block; margin-bottom: .55em; font: 600 12px var(--f-mono); letter-spacing: .16em; color: var(--accent); }
.lyrics__media { position: sticky; top: calc((100svh - min(64vh, 640px)) / 2); height: min(64vh, 640px); border-radius: var(--radius); overflow: hidden; background: #ddd; box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .5); }
.lyrics__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.lyrics__media img:first-child { opacity: 1; }

/* =========================================================
   RESEARCH / CHARTS
   ========================================================= */
.research__headline { max-width: 22em; margin: 7vh 0 8vh; font: 800 clamp(26px, 3.3vw, 58px)/1.3 var(--f-cn); letter-spacing: -.02em; }
.research__headline em { font-style: normal; color: var(--accent); }
.research__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.chart {
  padding: clamp(22px, 2.4vw, 36px);
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 30px 60px -40px rgba(40, 30, 20, .25);
}
.chart__title { display: flex; align-items: center; gap: 10px; font: 800 18px var(--f-cn); margin-bottom: 22px; }
.chart__title::before { content: ""; width: 14px; height: 2px; background: var(--accent); }
.chart__note { margin-top: 18px; font: 400 14px/1.7 var(--f-cn); color: var(--ink-2); }
.hbars { display: grid; gap: 14px; }
.hbars li { display: grid; grid-template-columns: 1fr auto; gap: 7px 14px; align-items: end; }
.hbars span { font: 600 14px/1.35 var(--f-cn); }
.hbars small { font-weight: 400; color: var(--mute); font-size: 12px; margin-left: 6px; }
.hbars b { grid-column: 2; grid-row: 1; font: 800 18px var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hbars span { grid-column: 1; grid-row: 1; }
.hbars i { grid-column: 1 / -1; grid-row: 2; }
.hbars li:first-child i::after, .hbars--accent li:nth-child(-n+2) i::after { background: var(--accent); }
.stack { display: flex; gap: 3px; height: 64px; border-radius: 16px; overflow: hidden; }
.stack i { flex: var(--v) 1 0; min-width: 6px; background: var(--ink); }
.stack i:nth-child(1) { background: var(--accent); }
.stack i:nth-child(2) { background: color-mix(in srgb, var(--accent) 55%, var(--ink)); }
.stack i:nth-child(3) { background: #6d6b66; }
.stack i:nth-child(4) { background: #b9b6af; }
.legend { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; margin-top: 22px; }
.legend li { display: grid; gap: 2px; }
.legend b { font: 800 clamp(24px, 2.4vw, 36px)/1 var(--f-display); letter-spacing: -.04em; }
.legend span { font: 600 14px/1.4 var(--f-cn); }
.legend small { display: block; font-weight: 400; font-size: 12px; color: var(--mute); }
.legend--dots { grid-template-columns: 1fr; gap: 10px; }
.legend--dots li { grid-template-columns: 1fr auto; align-items: center; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.legend--dots li span { display: flex; align-items: center; gap: 10px; }
.legend--dots li span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--dot, var(--ink)); flex: none; }
.legend--dots li:nth-child(1) { --dot: var(--accent); }
.legend--dots li:nth-child(2) { --dot: var(--ink); }
.legend--dots li:nth-child(3) { --dot: #8d8a84; }
.legend--dots li:nth-child(4) { --dot: #cfcbc3; }
.legend--dots b { font-size: 18px; }
.legend--dots small { display: inline; margin-left: 4px; }
.chart--donut { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 10px 28px; align-items: center; }
.chart--donut .chart__title, .chart--donut .chart__note { grid-column: 1 / -1; }
.donut { position: relative; aspect-ratio: 1; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.donut circle { fill: none; stroke-width: 16; }
.donut__track { stroke: rgba(17, 17, 17, .06); }
.donut__seg { stroke-linecap: butt; }
.donut__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut__center b { font: 800 clamp(26px, 2.6vw, 38px)/1 var(--f-display); letter-spacing: -.04em; }
.donut__center span { font: 500 12px var(--f-cn); color: var(--mute); margin-top: 4px; }
.vbars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; height: 230px; align-items: end; }
.vbars__col { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: 10px; text-align: center; }
.vbars__col i { align-self: end; height: calc(var(--v) / 40 * 100%); min-height: 6px; border-radius: 12px 12px 4px 4px; background: rgba(17, 17, 17, .14); transform-origin: bottom; }
.vbars__col.is-top i { background: var(--accent); }
.vbars__col span { font: 600 12px var(--f-cn); color: var(--ink-2); white-space: nowrap; }
.needs { display: grid; gap: 14px; counter-reset: n; }
.needs li { counter-increment: n; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font: 400 15px/1.65 var(--f-cn); color: var(--ink-2); padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.needs li:last-child { border-bottom: 0; }
.needs li::before { content: "0" counter(n); grid-row: span 2; font: 700 12px var(--f-mono); color: var(--accent); padding-top: 4px; }
.needs b { font: 800 16px var(--f-cn); color: var(--ink); }

/* =========================================================
   MOOD (parallax columns)
   ========================================================= */
.mood__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 8vh; }
.mood__title { font: 900 clamp(52px, 8vw, 150px)/1 var(--f-cn); letter-spacing: -.03em; }
.mood__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); align-items: start; }
.mood__col { display: grid; gap: clamp(10px, 1.4vw, 20px); }
.mood__col:nth-child(2) { margin-top: 14vh; }
.mood__col:nth-child(3) { margin-top: 5vh; }
.mood figure { border-radius: calc(var(--radius) * .75); overflow: hidden; aspect-ratio: 3 / 2; background: #ddd; }
.mood figure img { width: 100%; height: 100%; object-fit: cover; }
.mood--six figure { aspect-ratio: 4 / 3; }
.img-reveal { overflow: hidden; }
.img-reveal img { will-change: transform; }

/* =========================================================
   SKETCH → MODEL (pinned)
   ========================================================= */
.sketch__pin { position: relative; height: 100svh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; justify-items: center; gap: 3vh; padding: 11vh var(--gutter) 5vh; overflow: hidden; }
.sketch__label { justify-self: stretch; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; z-index: 3; }
.sketch__label h3 { order: -1; font: 900 clamp(36px, 4.6vw, 80px)/1 var(--f-cn); letter-spacing: -.02em; }
.sketch__stage { position: relative; height: 100%; max-width: 100%; aspect-ratio: 16 / 9; }
.sketch__s { position: absolute; width: 29%; padding: 8px; border-radius: 18px; background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35); }
.sketch__s img { border-radius: 12px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sketch__s--1 { left: 0; top: 2%; }
.sketch__s--2 { right: 0; top: 2%; }
.sketch__s--3 { left: 2%; bottom: 0; }
.sketch__s--4 { right: 2%; bottom: 0; }
.sketch__orbit { position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1; translate: -50% -50%; }
.sketch__orbit i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(17, 17, 17, .5); background: radial-gradient(circle at 40% 35%, #fff, rgba(255,255,255,.2) 70%); }
.sketch__model { position: absolute; left: 50%; top: 50%; width: 42%; translate: -50% -50%; }
.sketch__model img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .22)); }
.sketch__steps { display: flex; gap: 8px; z-index: 3; }
.sketch__steps span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font: 600 12px var(--f-cn); color: var(--mute); background: rgba(255, 255, 255, .5); transition: color .4s, background-color .4s, border-color .4s; white-space: nowrap; }
.sketch__steps span.is-on { color: #fff; background: var(--ink); border-color: var(--ink); }

/* =========================================================
   HOTSPOTS
   ========================================================= */
.hotspots { position: relative; padding: 14vh var(--gutter); }
.hotspots__stage { position: relative; aspect-ratio: 1000 / 620; max-width: 1320px; margin: 8vh auto 0; }
.hotspots__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hotspots__lines path { fill: none; stroke: var(--ink); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.hotspots__main { position: absolute; left: 21%; top: 8%; width: 58%; z-index: 1; }
.hotspots__main img { width: 100%; filter: drop-shadow(0 40px 50px rgba(60, 30, 0, .3)); }
.spot { position: absolute; width: 19%; z-index: 2; }
.spot > * { transition: opacity .5s; }
.spot figure { aspect-ratio: 1; border-radius: 26px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); transition: transform .9s var(--ease-out); }
.spot figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.spot p { display: grid; margin-top: 12px; }
.spot b { font: 800 16px var(--f-cn); }
.spot em { font: italic 400 15px var(--f-serif); color: var(--mute); }
.spot--tl { left: 0; top: 0; }
.spot--tr { right: 0; top: 0; text-align: right; }
.spot--bl { left: 0; bottom: -2%; }
.spot--br { right: 0; bottom: -2%; text-align: right; }
.hotspots__stage:hover .spot > * { opacity: .45; }
.hotspots__stage .spot:hover > * { opacity: 1; }
.spot:hover figure { transform: scale(1.06) rotate(-1.5deg); }
.spot:hover figure img { transform: scale(1.12); }

/* =========================================================
   EXPAND (clip-path zoom to full-bleed)
   ========================================================= */
.expand__pin { position: relative; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.expand__frame { position: absolute; inset: 0; z-index: 2; clip-path: inset(23% 31% 23% 31% round 28px); will-change: clip-path; }
.expand__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.4); will-change: transform; }
.expand__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0, 0, 0, .55)); opacity: var(--shade, 0); }
.expand__caption { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; pointer-events: none; }
.expand__caption .eyebrow { position: absolute; left: var(--gutter); top: 14vh; }
.expand__big { display: flex; justify-content: space-between; width: 100%; padding: 0 var(--gutter); font: 900 clamp(48px, 10.5vw, 200px)/1 var(--f-display); letter-spacing: -.05em; }
.expand__big span { display: block; will-change: transform; }

/* =========================================================
   DARK STUDIO
   ========================================================= */
[data-dark] { color: var(--paper); }
.spotlight-dark { position: relative; z-index: 2; background: var(--night); padding: 14vh var(--gutter); border-radius: 0 0 var(--radius) var(--radius); }
.spotlight-dark .eyebrow { color: rgba(241, 239, 234, .5); }
.studio { border-radius: var(--radius); overflow: hidden; }
.studio img { width: 100%; height: auto; }
.studio__text { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; margin-top: 6vh; align-items: start; }
.studio__text p { font: 600 clamp(20px, 2.2vw, 34px)/1.5 var(--f-cn); }

/* =========================================================
   DUO + DIAMONDS
   ========================================================= */
.duo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; align-items: start; }
.duo figure.img-reveal { border-radius: var(--radius); background: #fff; }
.duo__a { grid-column: 1 / span 7; }
.duo__b { grid-column: 8 / -1; margin-top: 22vh; }
.duo figure img { width: 100%; height: auto; }
.duo--wide .duo__a { grid-column: 2 / span 10; }
.diamonds { grid-column: 1 / -1; display: flex; justify-content: center; flex-wrap: wrap; padding: 10vh 0 6vh; }
.diamond { width: clamp(130px, 17vw, 270px); margin: 0 -1.6vw; transition: filter .6s; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .18)); }
.diamond:nth-child(even) { translate: 0 46%; }
.diamond img { width: 100%; height: auto; }
.diamond:hover { z-index: 2; filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .3)); }
.diamonds .diamond:hover img { transform: scale(1.1); transition: transform .9s var(--ease-out); }
.duo__text { grid-column: 1 / span 7; display: grid; gap: 14px; margin-top: 14vh; }
.duo__text p { font: 700 clamp(22px, 2.6vw, 44px)/1.4 var(--f-cn); letter-spacing: -.01em; }

/* =========================================================
   FLOW (horizontal pinned)
   ========================================================= */
.flow__pin { position: relative; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.flow__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 0 var(--gutter); }
.flow__head h3 { font: 900 clamp(40px, 5.6vw, 96px)/1 var(--f-cn); letter-spacing: -.02em; }
.flow__track { display: flex; align-items: center; gap: 7vw; width: max-content; padding: 7vh var(--gutter) 6vh; will-change: transform; }
.flow__group { position: relative; display: flex; align-items: center; gap: 18px; padding-top: 48px; }
.flow__tag { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px; font: 800 20px var(--f-display); color: var(--accent); }
.flow__tag::after { content: ""; width: 60px; height: 1px; background: currentColor; }
.flow figure { width: clamp(200px, 21vw, 330px); border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .4); }
.flow figure img { width: 100%; aspect-ratio: 1.12; object-fit: cover; }
.flow figcaption { padding: 12px 16px; font: 700 14px var(--f-cn); border-top: 1px solid var(--line); display: flex; justify-content: space-between; }
.flow__arrow { font: 300 44px/1 var(--f-display); color: var(--ink); }
.flow__progress { margin: 0 var(--gutter); height: 1px; background: var(--line); }
.flow__progress i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* =========================================================
   FULL + TORCH
   ========================================================= */
.full { padding: 4vh var(--gutter) 14vh; }
.full__img { border-radius: var(--radius); overflow: hidden; background: #fff; }
.full__img img { width: 100%; height: auto; }

.torch { position: relative; z-index: 2; background: var(--night); color: #e7f2ff; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.torch__stage { --mx: 50%; --my: 50%; --r: 0px; position: relative; height: 100svh; }
.torch__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.torch__base { filter: brightness(.16) saturate(.5) contrast(1.1); }
.torch__lit {
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, .75) 38%, transparent 72%);
  mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, .75) 38%, transparent 72%);
}
.torch__text { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 6vh; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; pointer-events: none; }
.torch__text .eyebrow { color: rgba(231, 242, 255, .6); }
.torch__big { font: italic 400 clamp(64px, 12vw, 230px)/.9 var(--f-serif); color: #eaf6ff; text-shadow: 0 0 20px rgba(80, 180, 255, .55), 0 0 60px rgba(80, 180, 255, .35); }
.torch__big em { color: #39b6ff; }

/* =========================================================
   HORIZONTAL GALLERY
   ========================================================= */
.hgallery__pin { position: relative; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hgallery__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 0 var(--gutter); }
.hgallery__head h3 { font: 900 clamp(40px, 5.6vw, 96px)/1 var(--f-cn); letter-spacing: -.02em; }
.hgallery__track { display: flex; gap: clamp(12px, 1.6vw, 24px); width: max-content; padding: 7vh var(--gutter) 0; will-change: transform; }
.hgallery figure { position: relative; width: clamp(260px, 31vw, 540px); aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #ddd; }
.hgallery figure:nth-child(even) { margin-top: 8vh; }
.hgallery figure img { position: absolute; inset: 0 -12%; width: 124%; max-width: none; height: 100%; object-fit: cover; will-change: transform; }
.hgallery figcaption { position: absolute; left: 14px; top: 12px; padding: 4px 10px; border-radius: 999px; font: 600 11px var(--f-mono); background: rgba(255, 255, 255, .75); }

/* =========================================================
   EVOLVE
   ========================================================= */
.evolve__pin { position: relative; height: 100svh; display: grid; grid-template-columns: 4fr 8fr; gap: 4vw; align-items: center; padding: 0 var(--gutter); }
.evolve__side { display: grid; gap: 16px; }
.evolve__side h3 { font: 900 clamp(40px, 5vw, 84px)/1 var(--f-cn); letter-spacing: -.02em; margin-bottom: 4vh; }
.evolve__steps { display: grid; gap: 4px; }
.evolve__steps li { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font: 700 clamp(18px, 1.6vw, 24px) var(--f-cn); opacity: .3; transition: opacity .6s var(--ease-rail), padding .8s var(--ease-out); }
.evolve__steps li.is-on { opacity: 1; padding-left: 12px; }
.evolve__steps b { font: 700 12px var(--f-mono); color: var(--accent); }
.evolve__steps em { margin-left: auto; font: italic 400 18px var(--f-serif); color: var(--mute); }
.evolve__stage { position: relative; height: min(76vh, 760px); }
.evolve__img { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; background: #fff; }
.evolve__img img { width: 100%; height: 100%; object-fit: cover; }
.evolve__img--diamonds { display: flex; align-items: center; justify-content: center; background: #e9e7e2; }
.evolve__img--diamonds .diamond { width: 30%; margin: 0 -2%; }
.evolve__img--diamonds .diamond img { height: auto; object-fit: contain; }
.evolve__img--diamonds .diamond:nth-child(even) { translate: 0 30%; }

/* =========================================================
   OTHERS + FAN
   ========================================================= */
.others__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; align-items: start; }
.others__grid figure.img-reveal { border-radius: var(--radius); background: #fff; }
.others__grid figure img { width: 100%; height: auto; }
.others__grid figcaption { padding: 12px 4px 0; font: 600 13px var(--f-cn); color: var(--ink-2); background: var(--paper); }
.others__a { grid-column: 1 / span 6; }
.others__b { grid-column: 8 / -1; margin-top: 20vh; }
.others__sketches { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; gap: clamp(10px, 2vw, 28px); margin-top: 10vh; flex-wrap: wrap; }
.others__sketches img { height: clamp(90px, 13vw, 200px); width: auto; }

.fan__pin { position: relative; height: 100svh; overflow: hidden; }
.fan__wheel { --R: 100svh; position: absolute; left: 50%; top: 150svh; width: 0; height: 0; will-change: transform; }
.fan__card {
  position: absolute; left: 0; top: 0;
  width: clamp(240px, 30vw, 500px); aspect-ratio: 4 / 3;
  border-radius: 20px; overflow: hidden; background: #fff;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45);
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--R) * -1));
}
.fan__card img { width: 100%; height: 100%; object-fit: cover; }
.fan__hub { position: absolute; left: 50%; top: 150svh; width: 160svh; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: #4b4b4b; z-index: 2; }
.fan__label { position: absolute; left: 50%; bottom: 3vh; z-index: 3; transform: translateX(-50%); display: grid; justify-items: center; color: var(--paper); text-align: center; }
.fan__cn { font: 900 clamp(56px, 8vw, 140px)/1 var(--f-cn); letter-spacing: .02em; }
.fan__en { font: 800 clamp(24px, 3vw, 52px)/1.1 var(--f-display); letter-spacing: -.02em; }
.fan__label .eyebrow { color: rgba(241, 239, 234, .55); margin-top: 10px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { min-height: 100svh; display: grid; grid-template-rows: 1fr auto auto; padding-bottom: 3vh; overflow: hidden; }
.contact__stage { position: relative; display: grid; place-items: center; padding: 6vh 0; }
.contact__thanks { position: absolute; left: 7%; bottom: 22%; display: flex; align-items: flex-end; gap: .25em; font: italic 400 clamp(56px, 9.6vw, 184px)/.9 var(--f-serif); }
.contact__thanks small { font: 400 clamp(14px, 1.5vw, 26px)/1.2 var(--f-serif); letter-spacing: .12em; padding: 0 0 .5em clamp(12px, 1.6vw, 28px); margin-left: .1em; border-left: 1px solid var(--ink); }
.contact__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; border-top: 1px solid var(--ink); padding-top: 22px; }
.contact__block { display: grid; gap: 10px; align-content: start; }
.contact__mail { display: inline-flex; align-items: center; gap: .4em; justify-self: start; font: 700 clamp(22px, 3.4vw, 58px)/1.1 var(--f-display); letter-spacing: -.04em; text-align: left; }
.contact__mail-txt { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; padding-bottom: .08em; transition: background-size .8s var(--ease-out); }
.contact__mail:hover .contact__mail-txt { background-size: 0 2px; background-position: 100% 100%; }
.contact__mail-icon { display: inline-grid; place-items: center; width: 1.4em; height: 1.4em; border-radius: 50%; background: var(--accent); color: #fff; font-size: .6em; transition: transform .8s var(--ease-out); }
.contact__mail:hover .contact__mail-icon { transform: rotate(45deg); }
.contact__line { font: 600 clamp(16px, 1.5vw, 22px)/1.5 var(--f-cn); }
.footer { display: flex; justify-content: space-between; gap: 16px; margin-top: 10vh; padding-top: 16px; border-top: 1px solid var(--line); font: 500 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.footer__top { color: var(--ink); }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 150; transform: translate(-50%, 180%); opacity: 0; visibility: hidden; transition: transform .7s var(--ease-out), opacity .4s, visibility .4s; padding: 12px 20px; border-radius: 999px; background: var(--night); color: var(--paper); font: 600 13px var(--f-cn); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.toast.is-show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .about__cols { grid-template-columns: 1fr 1fr; }
  .about__cols .card:last-child { grid-column: 1 / -1; }
  .lyrics { grid-template-columns: minmax(120px, 2fr) 7fr 4fr; }
}

@media (max-width: 860px) {
  .ambient { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .nav__now, .nav__tag { display: none; }
  .hero { padding-top: 22vh; }
  .hero__title { left: 4%; bottom: 8%; }
  .hero__meta { grid-template-columns: 1fr auto; }
  .hero__note { grid-column: 1 / -1; grid-row: 1; }
  .hero__scroll { display: none; }
  .hero__meta { grid-template-columns: 1fr; }
  .about, .contents, .research, .mood, .duo, .others, .contact, .hotspots { padding-top: 11vh; padding-bottom: 11vh; }
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 420px; }
  .about__info { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; gap: 28px; margin: 9vh 0 7vh; }
  .about__cols { grid-template-columns: 1fr; }
  /* tall cards like the PDF index, swiped sideways */
  .contents__deck {
    height: auto; gap: 10px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .contents__deck::-webkit-scrollbar { display: none; }
  .deck-card, .contents__deck:hover .deck-card, .contents__deck .deck-card:hover { flex: 0 0 min(48vw, 230px); aspect-ratio: .42; scroll-snap-align: start; scroll-margin-left: var(--gutter); }
  .deck-card img { transform: none; filter: none; }
  .deck-card__no { font-size: 46px; }
  .deck-card__info { opacity: 1; transform: none; left: 8px; right: 8px; padding: 10px 12px; border-radius: 12px; }
  .deck-card__info b { font-size: 15px; }
  .deck-card__info em { font-size: 13px; }
  .opener { grid-template-rows: auto auto auto auto; min-height: 0; padding-top: 14vh; }
  .opener__no { grid-row: 1; font-size: 44vw; }
  .opener__media, .opener__media--pill, .opener__media--circle, .opener__media--capsule { grid-column: 1 / -1; grid-row: 2; margin: -10vw 0 0; }
  .opener__media--circle, .opener__media--capsule { width: 72vw; }
  .opener__text { grid-column: 1 / -1; grid-row: 3; padding: 4vh 0; }
  .opener__meta { grid-row: 4; grid-template-columns: 1fr 1fr; }
  .opener--slim .opener__title { grid-template-columns: 1fr; }

  /* lyrics: sticky image on top, lines scroll natively underneath */
  .lyrics { grid-template-columns: 1fr; gap: 0; padding-top: 10vh; }
  .lyrics__side { position: relative; z-index: 3; height: auto; grid-template-columns: auto 1fr; align-items: end; gap: 6px 16px; }
  .lyrics__side .eyebrow { grid-column: 1 / -1; }
  .lyrics__label br { display: none; }
  .lyrics__count { justify-self: end; }
  /* image band: paper above it hides lines that have passed, a soft paper
     fade below it lets lines dissolve before sliding underneath */
  .lyrics__media {
    order: 1; position: sticky; top: 9svh; z-index: 2; height: 30svh; margin-top: 4vh;
    box-shadow: 0 -9svh 0 0 var(--paper), 0 22px 26px 10px var(--paper);
  }
  .lyrics__viewport { order: 2; padding: 20svh 0 34svh; gap: 12svh; }

  .research__grid { grid-template-columns: 1fr; }
  .chart--donut { grid-template-columns: 1fr; justify-items: start; }
  .donut { width: 200px; }
  .legend--dots { width: 100%; }
  .mood__head { flex-direction: column; align-items: flex-start; margin-bottom: 5vh; }
  .mood__cols { grid-template-columns: 1fr 1fr; }
  .mood__col { display: contents; }

  /* pinned scenes become plain, native-scrolling blocks */
  .sketch__pin { height: auto; padding: 11vh var(--gutter); }
  .sketch__stage { height: auto; width: 100%; aspect-ratio: 3 / 4; }
  .sketch__s { width: 46%; }
  .sketch__orbit { width: 72%; }
  .sketch__model { width: 70%; }
  .hotspots__stage { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .hotspots__lines { display: none; }
  .hotspots__main { position: relative; grid-column: 1 / -1; left: auto; top: auto; width: 100%; }
  .spot { position: relative; inset: auto; width: auto; text-align: left !important; }
  .expand__pin { height: auto; display: block; padding: 4vh var(--gutter); }
  .expand__frame { position: relative; inset: auto; clip-path: none; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
  .expand__frame img { transform: none; }
  .expand__caption { position: relative; inset: auto; display: block; padding-top: 3vh; }
  .expand__caption .eyebrow { position: static; }
  .expand__big { padding: 0; font-size: 13vw; gap: 4vw; justify-content: flex-start; }
  .studio__text { grid-template-columns: 1fr; }
  .spotlight-dark { padding: 9vh var(--gutter); }
  .duo { grid-template-columns: 1fr; }
  .duo__a, .duo__b, .duo--wide .duo__a, .duo__text { grid-column: 1; margin-top: 0; }
  .duo__text { margin-top: 6vh; }
  .diamond { width: 38vw; margin: 0 -3vw; }
  .diamonds { padding: 6vh 0 10vh; }

  .flow__pin, .hgallery__pin, .evolve__pin, .fan__pin { height: auto; padding: 11vh 0; }
  .flow__track, .hgallery__track, .fan__wheel {
    width: auto; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .flow__track::-webkit-scrollbar, .hgallery__track::-webkit-scrollbar, .fan__wheel::-webkit-scrollbar { display: none; }
  .flow__track { gap: 8vw; padding: 5vh var(--gutter) 3vh; }
  .flow__group { scroll-snap-align: start; scroll-margin-left: var(--gutter); }
  .flow figure { width: 58vw; }
  .flow__progress { display: none; }
  .torch__stage { height: 72svh; }
  .torch__text { flex-direction: column; align-items: flex-start; }
  .hgallery__track { padding: 5vh var(--gutter) 0; }
  .hgallery figure { width: 74vw; scroll-snap-align: center; }
  .hgallery figure:nth-child(even) { margin-top: 0; }
  .hgallery figure img { inset: 0; width: 100%; }
  .evolve__pin { display: grid; grid-template-columns: 1fr; padding-left: var(--gutter); padding-right: var(--gutter); gap: 4vh; }
  .evolve__side h3 { margin-bottom: 0; }
  .evolve__steps { display: none; }
  .evolve__stage { height: auto; display: grid; gap: 14px; }
  .evolve__img { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .others__a, .others__b { grid-column: 1 / -1; margin-top: 0; }
  .fan__hub { display: none; }
  .fan__wheel { position: relative; left: auto; top: auto; height: auto; display: flex; gap: 12px; padding: 0 var(--gutter) 2vh; }
  .fan__card { position: relative; flex: 0 0 76vw; width: auto; transform: none; scroll-snap-align: center; }
  .fan__label { position: relative; left: auto; bottom: auto; transform: none; justify-items: start; text-align: left; color: var(--ink); padding: 0 var(--gutter) 4vh; }
  .fan__label .eyebrow { color: var(--mute); }
  .contact__thanks { left: 4%; bottom: 10%; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}

/* Phones: scroll-driven scenes live in a native sticky frame
   (only when JS is running and motion is allowed; otherwise they stay stacked) */
@media (max-width: 860px) {
  html.is-mobile:not(.is-reduce) .sketch { height: 240svh; }
  html.is-mobile:not(.is-reduce) .sketch__pin { position: sticky; top: 0; height: 100svh; padding: 9vh var(--gutter) 5vh; }
  html.is-mobile:not(.is-reduce) .sketch__stage { width: min(100%, calc((100svh - 230px) * .75)); height: auto; align-self: center; }
  html.is-mobile:not(.is-reduce) .evolve { height: 260svh; }
  html.is-mobile:not(.is-reduce) .evolve__pin { position: sticky; top: 0; height: 100svh; grid-template-rows: auto minmax(0, 1fr); padding-top: 9vh; padding-bottom: 5vh; gap: 2.5vh; }
  html.is-mobile:not(.is-reduce) .evolve__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  html.is-mobile:not(.is-reduce) .evolve__steps li { display: grid; gap: 2px; padding: 10px 0; font-size: 13px; }
  html.is-mobile:not(.is-reduce) .evolve__steps li.is-on { padding-left: 0; }
  html.is-mobile .evolve__steps em { display: none; }
  html.is-mobile:not(.is-reduce) .evolve__stage { display: block; height: 100%; overflow: hidden; border-radius: var(--radius); }
  html.is-mobile:not(.is-reduce) .evolve__img { position: absolute; inset: 0; aspect-ratio: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .ambient__layer img, .hero__scroll i::after { animation: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
