/* =========================================================
   Feyi — layout-relationship build
   One portrait travels through every section's layout.
   ========================================================= */

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

:root {
  /* tweenable theme — #FFB7CE bg, soft off-pink accent */
  --bg-h: 345;  --bg-s: 100;  --bg-l: 86;
  --fg-h: 340;  --fg-s: 22;  --fg-l: 24;
  --ac-h: 350;  --ac-s: 48;  --ac-l: 96;

  --bg: hsl(var(--bg-h) calc(var(--bg-s) * 1%) calc(var(--bg-l) * 1%));
  --fg: hsl(var(--fg-h) calc(var(--fg-s) * 1%) calc(var(--fg-l) * 1%));
  --ac: hsl(var(--ac-h) calc(var(--ac-s) * 1%) calc(var(--ac-l) * 1%));
  --fg-40: hsl(var(--fg-h) calc(var(--fg-s) * 1%) calc(var(--fg-l) * 1%) / 0.4);
  --fg-15: hsl(var(--fg-h) calc(var(--fg-s) * 1%) calc(var(--fg-l) * 1%) / 0.15);
  --fg-08: hsl(var(--fg-h) calc(var(--fg-s) * 1%) calc(var(--fg-l) * 1%) / 0.08);

  --display: "Syne", sans-serif;
  --sans: "Manrope", sans-serif;
  --mono: "IBM Plex Mono", monospace;

  --pad: clamp(1.25rem, 0.6rem + 3vw, 4rem);
  --pad-l: var(--pad);
  --t-hero: clamp(3.2rem, 1rem + 9.6vw, 12rem);
  --t-display: clamp(2rem, 1rem + 3.4vw, 4.4rem);
  --t-body: clamp(1rem, 0.94rem + 0.3vw, 1.18rem);
  --t-label: clamp(0.62rem, 0.58rem + 0.14vw, 0.72rem);
}

html { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
  height: 100vh;
}
body.is-loading main,
body.is-loading .traveler,
body.is-loading .rail,
body.is-loading .cursor,
body.is-loading .footer,
body.is-loading .header {
  visibility: hidden;
}
body.is-loading .hero__word {
  opacity: 0;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, blockquote, p, figure, ol { margin: 0; }
ol { padding: 0; list-style: none; }

.label {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-40);
}

/* ---------- split text plumbing ---------- */
.split-mask { display: block; overflow: hidden; }

/* =========================================================
   PRELOADER
   ========================================================= */
.preloader {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg);
  color: var(--fg);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: var(--pad);
  overflow: hidden;
}
.preloader__inner {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: clamp(0.75rem, 3vw, 1.5rem);
  margin-bottom: 1.4rem;
  min-width: 0;
  width: 100%;
}
.preloader__word {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(3rem, 1rem + 9vw, 9rem); line-height: 0.85;
  flex: 1 1 auto;
  min-width: 0;
}
.preloader__count {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
  white-space: nowrap;
}
.preloader__bar { height: 1px; background: var(--fg-15); }
.preloader__fill {
  display: block; height: 100%; background: currentColor;
  transform: scaleX(0); transform-origin: left;
}

/* =========================================================
   CURSOR
   ========================================================= */
.cursor { position: fixed; inset: 0; z-index: 900; pointer-events: none; display: none; }
@media (pointer: fine) { .cursor { display: block; } }
.cursor__dot, .cursor__ring, .cursor__label {
  position: absolute; top: 0; left: 0;
  transform: translate(-50%, -50%);
}
.cursor__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ac); }
.cursor__ring {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--fg-15);
}
.cursor__label {
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.16em;
  text-transform: uppercase; white-space: nowrap;
  color: var(--bg); background: var(--fg);
  padding: 0.3rem 0.55rem; border-radius: 99px;
  opacity: 0;
}

/* =========================================================
   THE TRAVELER — single shared element for the whole page
   ========================================================= */
.traveler {
  position: fixed; top: 0; left: 0;
  z-index: 4;
  pointer-events: none;
  will-change: transform;
  contain: layout paint;
}
.traveler__box {
  position: relative; width: 100%; height: 100%;
  overflow: hidden;
}
.traveler__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
}
.traveler__img--b { opacity: 0; }
.traveler__ring {
  position: absolute; inset: 0;
  border: 1px solid var(--fg-15);
  border-radius: inherit;
  opacity: 0;
}

/* =========================================================
   ZONES — invisible layout anchors
   ========================================================= */
.zone { opacity: 0; pointer-events: none; }

/* =========================================================
   CHAPTER RAIL
   ========================================================= */
.rail {
  position: fixed; left: 1.4rem; top: 50%;
  transform: translateY(-50%);
  z-index: 50; display: none;
  align-items: center; gap: 0.85rem;
}
@media (min-width: 1180px) {
  .rail { display: flex; }
  /* reserve a gutter so the rail never sits on top of the type */
  :root { --pad-l: clamp(8rem, 5rem + 3.5vw, 11rem); }
}
.rail__line {
  position: relative; width: 1px; height: 150px;
  background: var(--fg-15); overflow: hidden;
}
.rail__fill {
  position: absolute; inset: 0; background: var(--ac);
  transform: scaleY(0); transform-origin: top;
}
.rail__list { display: grid; gap: 0.55rem; }
.rail__list li {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-40);
  display: flex; gap: 0.5rem;
  transition: color 0.4s ease, transform 0.4s ease;
}
.rail__list li span { opacity: 0.5; }
.rail__list li.is-on { color: var(--fg); transform: translateX(4px); }
.rail__list li.is-on span { color: var(--ac); opacity: 1; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--pad) 1.1rem var(--pad-l);
  /* difference blending here forced a full-page re-composite on every
     scroll frame; the theme vars already invert on the dark sections */
  color: var(--fg);
  transform: translate3d(0, -110%, 0);
  will-change: transform;
}
.header__brand {
  font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  flex-shrink: 1; min-width: 0;
}
.header__cta {
  flex-shrink: 0;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.header__nav { display: none; gap: 1.8rem; }
@media (min-width: 860px) { .header__nav { display: flex; } }
.header__nav a, .header__cta {
  font-family: var(--mono); font-size: var(--t-label);
  letter-spacing: 0.16em; text-transform: uppercase;
}

/* =========================================================
   01 HERO
   ========================================================= */
.hero { min-height: 100svh; padding: 0 var(--pad) 0 var(--pad-l); position: relative; }
.hero__grid {
  min-height: 100svh;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 7rem auto 1fr auto 4.5rem;
  column-gap: clamp(0.6rem, 1.4vw, 1.6rem);
  align-items: start;
}

.hero__meta {
  grid-row: 2;
  display: flex; gap: 1.1rem;
  font-family: var(--mono); font-size: var(--t-label);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-40);
}
.hero__meta--l { grid-column: 1 / 5; }
.hero__meta--r { grid-column: 9 / 13; justify-content: flex-end; }

.hero__title {
  grid-column: 1 / 13; grid-row: 3;
  align-self: center;
  font-family: var(--display); font-weight: 800;
  font-size: var(--t-hero);
  line-height: 0.86; letter-spacing: -0.035em;
  display: grid;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.hero__word { display: block; will-change: transform; }
.hero__word--1 { justify-self: start; }
.hero__word--2 { justify-self: end; }
.hero__word--3 { justify-self: start; color: var(--ac); padding-left: 6vw; }

/* the portrait's first home: centred, behind the type */
.zone--hero {
  grid-column: 2 / 12;
  grid-row: 2 / 5;
  min-height: 78vh;
}

.hero__lede {
  grid-column: 1 / 6; grid-row: 4;
  max-width: 30ch; color: var(--fg-40);
  padding-bottom: 1.5rem;
  position: relative; z-index: 6;
}

.hero__foot {
  grid-column: 1 / 13; grid-row: 5;
  display: flex; align-items: center; gap: 1.6rem;
  border-top: 1px solid var(--fg-15);
  padding-top: 1rem;
  font-family: var(--mono); font-size: var(--t-label);
  letter-spacing: 0.16em; text-transform: uppercase;
  position: relative; z-index: 6;
}

/* ---------- social links with icons ---------- */
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.social-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  overflow: visible;
}
.social-link:hover .social-icon { color: var(--ac); }

/* =========================================================
   MARQUEE BAND
   ========================================================= */
.band {
  border-block: 1px solid var(--fg-15);
  padding: 0.9rem 0;
  overflow: hidden;
  position: relative; z-index: 6;
  background: var(--bg);
}
.band__row { overflow: hidden; }
.band__track {
  display: flex; align-items: center; gap: 1.6rem;
  width: max-content;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.6rem, 0.8rem + 2.4vw, 3rem);
  letter-spacing: -0.02em;
}
.band__track b { color: var(--ac); font-size: 0.5em; }

/* =========================================================
   02 ABOUT
   ========================================================= */
.about { padding: clamp(6rem, 12vh, 12rem) var(--pad) clamp(6rem, 12vh, 12rem) var(--pad-l); }
.about__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(0.6rem, 1.4vw, 1.6rem);
  row-gap: 2.5rem;
}
.about__idx { grid-column: 1 / 13; }
.about__head {
  grid-column: 1 / 9; 
  font-family: var(--display); font-weight: 700;
  font-size: var(--t-display); line-height: 1.02; letter-spacing: -0.03em;
}
/* tall pill wedged between heading and body */
.zone--about {
  grid-column: 9 / 13;
  grid-row: 2 / 4;
  min-height: 60vh;
}
.about__body {
  grid-column: 1 / 7;
  display: grid; gap: 1.2rem;
  color: var(--fg-40);
}
.about__stats {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem 1.2rem;
  border-top: 1px solid var(--fg-15);
  padding-top: 1.4rem; margin-top: 1.5rem;
}
.about__stats div { display: grid; gap: 0.3rem; }
.about__stats b {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.4rem, 0.9rem + 1.6vw, 2.4rem);
  letter-spacing: -0.02em;
}
.about__stats span {
  font-family: var(--mono); font-size: var(--t-label);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-40);
}

/* =========================================================
   03 WORK — index list that Flips into an editorial grid
   ========================================================= */
.work {
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding: clamp(5rem, 10vh, 9rem) var(--pad) clamp(6rem, 12vh, 12rem) var(--pad-l);
}
.work__head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(0.6rem, 1.4vw, 1.6rem);
  align-items: end;
  margin-bottom: 3rem;
}
.work__head .label { grid-column: 1 / 6; }
.work__title {
  grid-column: 1 / 9;
  font-family: var(--display); font-weight: 700;
  font-size: var(--t-display); line-height: 1; letter-spacing: -0.03em;
}
.zone--work {
  grid-column: 11 / 13; grid-row: 1 / 3;
  aspect-ratio: 1;
  justify-self: end;
  width: clamp(100px, 11vw, 168px);
}

/* --- STATE A: index rows --- */
.work__list { display: grid; }
.w-item {
  display: grid;
  grid-template-columns: 3.5rem 5.5rem 1fr auto;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--fg-15);
  cursor: pointer;
}
.w-item:last-child { border-bottom: 1px solid var(--fg-15); }
.w-item__idx {
  font-family: var(--mono); font-size: var(--t-label);
  letter-spacing: 0.16em; color: var(--fg-40);
}
.w-item__thumb {
  position: relative;
  width: 5.5rem; height: 3.4rem;
  overflow: hidden; border-radius: 3px;
  background: var(--fg-08);
  display: grid; place-items: center;
}
.w-item__thumb img,
.w-item__thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.w-item__thumb--video .w-item__poster { display: none; }
body.is-static .w-item__thumb--video .w-item__poster { display: block; }
body.is-static .w-item__thumb--video .w-item__video { display: none; }
.w-item__big {
  font-family: var(--display); font-weight: 800;
  font-size: 1.1rem; line-height: 1; letter-spacing: -0.03em;
  color: hsl(var(--bg-h) calc(var(--bg-s) * 1%) calc(var(--bg-l) * 1%));
  mix-blend-mode: normal;
}
.is-tint-a .w-item__thumb { background: hsl(348 46% 82%); }
.is-tint-b .w-item__thumb { background: hsl(345 32% 58%); }
.is-tint-c .w-item__thumb { background: hsl(350 48% 90%); }
.w-item__name {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.1rem, 0.8rem + 1vw, 1.9rem);
  line-height: 1; letter-spacing: -0.02em;
}
.w-item__tag {
  font-family: var(--mono); font-size: var(--t-label);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-40);
  text-align: right;
}

/* --- STATE B: asymmetric editorial grid --- */
.work__list.is-grid {
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(0.6rem, 1.4vw, 1.6rem);
  row-gap: clamp(2rem, 5vw, 4.5rem);
}
.work__list.is-grid .w-item {
  display: block;
  padding: 0; border: 0;
  grid-template-columns: none;
}
.work__list.is-grid .w-item:last-child { border-bottom: 0; }
.work__list.is-grid .w-item__thumb {
  width: 100%; height: auto; aspect-ratio: 4 / 5;
  border-radius: 4px; margin-bottom: 0.8rem;
}
.work__list.is-grid .w-item__idx { display: block; margin-bottom: 0.5rem; }
.work__list.is-grid .w-item__tag { text-align: left; display: block; margin-top: 0.3rem; }

.work__list.is-grid .w-item:nth-child(1) { grid-column: 1 / 6; }
.work__list.is-grid .w-item:nth-child(2) { grid-column: 7 / 11; margin-top: 6vw; }
.work__list.is-grid .w-item:nth-child(3) { grid-column: 2 / 5; }
.work__list.is-grid .w-item:nth-child(4) { grid-column: 6 / 13; margin-top: -4vw; }
.work__list.is-grid .w-item:nth-child(5) { grid-column: 1 / 5; margin-top: 4vw; }
.work__list.is-grid .w-item:nth-child(6) { grid-column: 6 / 10; }
.work__list.is-grid .w-item:nth-child(4) .w-item__thumb { aspect-ratio: 16 / 10; }
.work__list.is-grid .w-item:nth-child(1) .w-item__thumb { aspect-ratio: 3 / 4; }
.work__list.is-grid .w-item__big { font-size: clamp(3rem, 1rem + 6vw, 8rem); }

/* =========================================================
   04 THE OPENING — brand logo wall
   ========================================================= */
.open {
  height: 400vh;
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.open__sticky {
  position: sticky; top: 0;
  height: 100svh; overflow: hidden;
  display: flex; flex-direction: column;
  padding: clamp(4.5rem, 11vh, 7rem) var(--pad) clamp(2rem, 5vh, 3rem) var(--pad-l);
  gap: clamp(1.25rem, 2.5vh, 2rem);
}
.open__head {
  flex-shrink: 0;
  position: relative; z-index: 4;
}
.open__stage {
  flex: 1;
  min-height: 0;
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
}
.open__grid {
  position: relative;
  width: 100%;
  max-width: min(40rem, 92vw);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: clamp(0.65rem, 1.8vw, 1.25rem);
  will-change: transform;
}
.open figure {
  margin: 0; overflow: hidden; border-radius: 0;
  background: transparent;
  display: grid; place-items: center;
  padding: clamp(0.25rem, 0.8vw, 0.5rem);
  min-height: 0;
}
.open figure img {
  width: 100%; height: auto;
  object-fit: contain;
  max-height: clamp(3.5rem, 10vw, 5.5rem);
}

.open__words {
  position: absolute;
  inset: 0;
  z-index: 3;
  max-width: min(34rem, 88vw);
  margin: auto;
  text-align: center;
  display: grid; gap: 1rem; justify-items: center;
  align-content: center;
  pointer-events: none;
}
.open__quote {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.7rem, 0.9rem + 3.2vw, 4rem);
  line-height: 1.02; letter-spacing: -0.03em;
}
.open__quote .word { display: inline-block; }
.open__sub { color: var(--fg-40); max-width: 44ch; }

/* =========================================================
   05 COLLAB WHEEL
   ========================================================= */
.wheel { height: 320vh; position: relative; }
.wheel__sticky {
  position: sticky; top: 0; height: 100svh;
  display: grid; place-items: center;
  padding: 0 var(--pad) 0 var(--pad-l);
  overflow: hidden;
}
.wheel__head {
  position: absolute; top: clamp(4.5rem, 12vh, 8rem); left: var(--pad-l);
  display: grid; gap: 0.5rem;
}
.wheel__title {
  font-family: var(--display); font-weight: 700;
  font-size: var(--t-display); line-height: 1; letter-spacing: -0.03em;
}
.wheel__stage {
  position: relative;
  width: min(86vw, 78vh); aspect-ratio: 1;
  display: grid; place-items: center;
}
.wheel__ring {
  position: absolute; inset: 0;
  will-change: transform;
}
.w-node {
  position: absolute; top: 50%; left: 50%;
  display: grid; gap: 0.2rem; justify-items: center;
  text-align: center;
  width: max-content;
  will-change: transform;
}
.w-node__type {
  font-family: var(--mono); font-size: 0.58rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-40);
}
.w-node__name {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.1rem, 0.7rem + 1.4vw, 2.2rem);
  line-height: 1; letter-spacing: -0.02em;
  transition: color 0.35s ease;
}
.w-node:hover .w-node__name { color: var(--ac); }

.wheel__orbit { position: absolute; inset: 0; width: 100%; height: 100%; }
.wheel__orbit circle {
  fill: none; stroke: var(--fg-15); stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.zone--wheel {
  position: relative;
  width: 42%; aspect-ratio: 1;
}

/* =========================================================
   06 FINALE
   ========================================================= */
.finale {
  min-height: 118svh; position: relative;
  display: grid; align-content: start;
  padding: clamp(5rem, 12vh, 8rem) var(--pad) clamp(5rem, 12vh, 8rem) var(--pad-l);
  overflow: visible;
}
.zone--finale {
  position: absolute;
  top: 8%; left: 50%; transform: translateX(-50%);
  width: min(58vw, 46rem); height: 84%;
}
.finale__shell {
  position: relative; z-index: 6;
  display: grid; grid-template-rows: auto 1fr auto;
  width: 100%; min-height: calc(100svh - 2 * clamp(5rem, 12vh, 8rem));
  gap: clamp(2rem, 5vh, 3.5rem);
}
.finale__intro {
  display: grid; gap: 0.85rem;
  justify-items: start; text-align: left;
  max-width: min(38rem, 92vw);
  margin: 0;
  padding: 1.1rem 1.15rem 1.2rem;
  border-radius: 1rem;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.finale__intro .label {
  color: var(--fg);
  opacity: 0.72;
}
.finale__bring {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.02rem, 0.94rem + 0.35vw, 1.18rem);
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--fg);
  max-width: 42ch;
}
.finale__inner {
  position: relative; z-index: 6;
  display: grid; gap: 1.4rem; justify-items: center; text-align: center;
  width: 100%; align-self: end;
}
.finale__title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(3rem, 0.8rem + 10vw, 12rem);
  line-height: 0.82; letter-spacing: -0.04em;
  display: grid; justify-items: center;
}
.finale__line { display: block; will-change: transform; }
.finale__line:nth-child(2) { color: var(--ac); }
.finale__email {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.05rem, 0.7rem + 1.4vw, 2rem);
  border-bottom: 1px solid var(--fg-15); padding-bottom: 0.2rem;
}
.finale__links {
  display: flex; flex-wrap: wrap; gap: clamp(1.4rem, 3vw, 2rem); justify-content: center;
  font-family: var(--mono);
  font-size: clamp(0.78rem, 0.68rem + 0.45vw, 0.95rem);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-40);
}
.finale__links .social-icon {
  width: 1.2rem;
  height: 1.2rem;
}
.finale__links a:hover { color: var(--ac); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem var(--pad) 1.4rem var(--pad-l);
  border-top: 1px solid var(--fg-15);
  font-family: var(--display); font-weight: 600;
  position: relative; z-index: 6; background: var(--bg);
}

/* =========================================================
   HOVER
   ========================================================= */
@media (hover: hover) and (pointer: fine) {
  .header__nav a { position: relative; }
  .header__nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
    height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: right;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }

  .w-item__thumb img,
  .w-item__thumb video { transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
  .w-item:hover .w-item__thumb img,
  .w-item:hover .w-item__thumb video { transform: scale(1.06); }
  .w-item__name { transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.35s ease; }
  .w-item:hover .w-item__name { transform: translateX(10px); color: var(--ac); }
  .work__list.is-grid .w-item:hover .w-item__name { transform: translateX(4px); }
  .w-item:hover .w-item__tag { color: var(--fg); }

  .finale__email { transition: border-color 0.4s ease, color 0.4s ease; }
  .finale__email:hover { color: var(--ac); border-color: var(--ac); }
  .footer a:hover { color: var(--ac); }
}

/* =========================================================
   REDUCED MOTION — a real static composition, not a blank page
   ========================================================= */
body.is-static .traveler { display: none; }
body.is-static .zone {
  opacity: 1;
  background-image: var(--zone-img);
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}
body.is-static .zone--about,
body.is-static .zone--work,
body.is-static .zone--wheel { border-radius: 999px; }
body.is-static .zone--hero,
body.is-static .zone--finale {
  background-size: contain; background-repeat: no-repeat;
}
body.is-static .open { height: auto; }
body.is-static .open__sticky { position: static; height: auto; padding: 6rem 0; }
body.is-static .open__grid { position: static; padding: 0; margin-bottom: 3rem; }
body.is-static .wheel { height: auto; }
body.is-static .wheel__sticky { position: static; height: auto; padding: 6rem var(--pad) 6rem var(--pad-l); }

/* =========================================================
   RESPONSIVE — keep the whole choreography, just re-proportion it.
   Every structural affordance the desktop animations rely on
   (sticky sections, an absolutely placed ring, a grid state for
   the work list, real zone anchors) survives down here, so the
   same GSAP code drives both. Only sizes and spans change.
   ========================================================= */
@media (max-width: 899px) {
  :root { --t-hero: clamp(2.5rem, 1rem + 8.4vw, 4.6rem); }
  .rail { display: none; }

  .preloader__word {
    font-size: clamp(2.2rem, 0.8rem + 7.5vw, 4.2rem);
  }
  .preloader__count {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  /* ---- 01 hero: portrait sits under the type instead of behind it ---- */
  .hero__grid { grid-template-rows: 5rem auto auto auto 4rem; }
  .hero__title { grid-column: 1 / 13; }
  .hero__word--3 { padding-left: 0; }
  .zone--hero {
    grid-column: 1 / 13; grid-row: 4;
    min-height: auto; aspect-ratio: 4 / 5;
  }
  .hero__lede { grid-column: 1 / 13; grid-row: 5; padding-bottom: 1rem; }
  .hero__foot { grid-row: 6; gap: 1.1rem; }

  /* ---- 02 about: the pill leans right, as it does on desktop ---- */
  .about__head, .about__body { grid-column: 1 / 13; }
  .zone--about {
    grid-column: 4 / 13; grid-row: auto;
    min-height: auto; aspect-ratio: 3 / 4;
  }
  .about__stats { grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }

  /* ---- 03 work: token stays, list still Flips ---- */
  .work__head .label, .work__title { grid-column: 1 / 13; }
  .zone--work {
    grid-column: 7 / 13; grid-row: 1 / 3;
    width: clamp(112px, 32vw, 168px);
  }
  .w-item { grid-template-columns: 2.2rem 4.4rem 1fr; gap: 0.9rem; padding: 0.9rem 0; }
  .w-item__thumb { width: 100%; height: 3rem; }
  .w-item__tag { display: none; }

  /* STATE B on mobile: a staggered cascade of large cards. Six columns
     with overlapping spans makes each card fall to its own row and
     alternate side, so the Flip has real distance to travel. */
  .work__list.is-grid {
    grid-template-columns: repeat(6, 1fr);
    row-gap: clamp(1.5rem, 5vw, 2.5rem);
  }
  .work__list.is-grid .w-item__thumb { aspect-ratio: 4 / 5; margin-bottom: 0.7rem; }
  .work__list.is-grid .w-item__tag { display: block; }
  .work__list.is-grid .w-item__big { font-size: clamp(2.4rem, 1rem + 9vw, 4.5rem); }
  .work__list.is-grid .w-item:nth-child(odd) { grid-column: 1 / 5; margin-top: 0; }
  .work__list.is-grid .w-item:nth-child(even) { grid-column: 3 / 7; margin-top: 0; }
  .work__list.is-grid .w-item:nth-child(1) .w-item__thumb { aspect-ratio: 3 / 4; }
  .work__list.is-grid .w-item:nth-child(4) .w-item__thumb { aspect-ratio: 4 / 5; }

  /* ---- 04 brands: compact sticky sequence on touch screens ---- */
  .open { height: 220svh; }
  .open__sticky { padding-top: clamp(4rem, 10vh, 5.5rem); gap: 1rem; }
  .open__grid { max-width: 94vw; gap: 0.5rem; }
  /* the cells are ~1/3 of the viewport wide, so the desktop cap left the
     logos looking lost; let them grow until they fill their column */
  .open figure img { max-height: clamp(4rem, 26vw, 9rem); }
  .open__words { max-width: 92vw; }

  /* ---- 05 collabs: one concise turn around the portrait hub ---- */
  .wheel { height: 128svh; background: var(--bg); }
  .wheel__sticky { padding: 0 var(--pad); }
  .wheel__head { top: clamp(4rem, 11vh, 6rem); left: var(--pad); }
  .wheel__stage { width: min(94vw, 58vh); }
  .w-node__type { font-size: 0.5rem; letter-spacing: 0.14em; }
  .w-node__name { font-size: clamp(0.82rem, 0.5rem + 1.4vw, 1.1rem); }
  .zone--wheel { width: 44%; }

  /* ---- 06 finale: portrait anchored to the bottom ---- */
  .finale {
    min-height: auto;
    padding: clamp(5.5rem, 13vh, 6.5rem) var(--pad) clamp(2.5rem, 6vh, 3.5rem) var(--pad-l);
    background: var(--bg);
    overflow: visible;
  }
  .finale__shell {
    display: flex;
    flex-direction: column;
    gap: clamp(2.5rem, 7vh, 4rem);
    min-height: 0;
  }
  .finale__intro {
    position: relative;
    z-index: 7;
    align-self: stretch;
    width: 100%;
    max-width: none;
    padding: 0.35rem 0 1rem;
    border-radius: 0;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .finale__intro .label {
    opacity: 0.85;
    line-height: 1.4;
  }
  .finale__bring {
    font-size: clamp(1rem, 0.94rem + 0.3vw, 1.1rem);
    line-height: 1.62;
    max-width: none;
  }
  .finale__inner {
    align-self: stretch;
    margin-top: 0;
    padding-top: clamp(1.5rem, 6vh, 3rem);
    padding-bottom: clamp(0.5rem, 2vh, 1rem);
  }
  .zone--finale {
    top: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(94vw, 26rem);
    height: min(78svh, 36rem);
  }
  body.is-static .zone--finale {
    background-position: center bottom;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header { transform: none; }
  .preloader { display: none; }
  .cursor { display: none; }
}
