:root {
  --bg: #090909;
  --bg-2: #121212;
  --ink: #f4f0e8;
  --muted: #a39c92;
  --line: rgba(244, 240, 232, 0.16);
  --accent: #f4f0e8;
  --serif: "Bodoni Moda", "Bodoni MT", Didot, "Times New Roman", serif;
  --sans: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  --pad: clamp(1.1rem, 3vw, 2.4rem);
  --measure: 66ch;
  color-scheme: dark;
}

[data-theme="athena"] {
  --bg: #120704;
  --bg-2: #1c0c07;
  --ink: #f7f1ea;
  --muted: #cbb8ad;
  --accent: #ff4d1c;
  --line: rgba(255, 77, 28, 0.32);
}

[data-theme="beetle"] {
  --bg: #070807;
  --bg-2: #10120e;
  --ink: #f4f1e4;
  --muted: #b7b3a4;
  --accent: #d6f25c;
  --line: rgba(214, 242, 92, 0.32);
}

[data-theme="imam"] {
  --bg: #14110d;
  --bg-2: #1d1913;
  --ink: #f6efe2;
  --muted: #cbbfa8;
  --accent: #d7b56a;
  --line: rgba(215, 181, 106, 0.34);
}

[data-theme="banlieue"] {
  --bg: #0e0f12;
  --bg-2: #17191e;
  --ink: #f2f0ea;
  --muted: #b0b2b8;
  --accent: #ff4b3a;
  --line: rgba(255, 75, 58, 0.35);
}

[data-theme="sacrifice"] {
  --bg: #081214;
  --bg-2: #102022;
  --ink: #e7f1f0;
  --muted: #9eb0b0;
  --accent: #8fd0c8;
  --line: rgba(143, 208, 200, 0.34);
}

[data-theme="ysl"] {
  --bg: #000;
  --bg-2: #0a0a0a;
  --ink: #f6f3ee;
  --muted: #b7b1a6;
  --accent: #c4a574;
  --line: rgba(196, 165, 116, 0.4);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.55'/></svg>");
}

.nav,
main,
.colophon { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }

::selection { background: var(--accent); color: #111; }

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #111;
  padding: 0.6rem 0.9rem;
  z-index: 80;
}
.skip:focus { top: 1rem; }

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--pad);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent);
}

.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-mark {
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.45rem 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
  cursor: pointer;
}

.nav-mark { position: relative; z-index: 2; }

.install {
  position: relative;
  z-index: 2;
  background: var(--ink);
  color: #111;
  border: 0;
  padding: 0.45rem 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
  cursor: pointer;
}

.ios-hint {
  position: fixed;
  z-index: 45;
  left: var(--pad);
  right: var(--pad);
  bottom: 1rem;
  margin: 0;
  padding: 0.85rem 1rem;
  background: #111;
  color: var(--ink);
  border: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
}

.ios-hint button {
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.4rem 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68rem;
  cursor: pointer;
  flex: none;
}

#menu {
  display: flex;
  gap: clamp(0.8rem, 2vw, 1.5rem);
}

#menu a {
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 0.2rem;
}

#menu a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 var(--accent);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #000;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: drift 28s ease-in-out alternate infinite;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.15) 42%, rgba(0, 0, 0, 0.25) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0 var(--pad) clamp(2rem, 6vh, 4.5rem);
  display: grid;
  gap: 0.4rem;
}

.eyebrow,
.hero-kicker,
.work-year,
.fact dt,
.reel-kind {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

h1, h2, .serif { font-family: var(--serif); font-weight: 500; }

.hero h1 {
  margin: 0;
  font-size: clamp(4.4rem, 16vw, 11.5rem);
  line-height: 0.78;
  letter-spacing: -0.035em;
  font-weight: 500;
}

.hero h1 span { display: block; }

.hero-meta {
  margin: 0.8rem 0 0;
  max-width: 36rem;
  color: var(--ink);
  font-size: 1rem;
}

.hero-side {
  position: absolute;
  z-index: 1;
  right: var(--pad);
  top: 50%;
  writing-mode: vertical-rl;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--ink);
}

.section {
  padding: clamp(4rem, 9vw, 7.5rem) var(--pad);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.6rem;
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.section-head a {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}

.statement {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 14ch;
}

.lede {
  font-size: 1.12rem;
  max-width: var(--measure);
  color: var(--ink);
}

.muted { color: var(--muted); }

.frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.works-wrap { padding-right: 0; }

.works {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.4rem;
  scrollbar-color: var(--accent) transparent;
}

.work {
  flex: 0 0 min(78vw, 380px);
  scroll-snap-align: start;
  text-decoration: none;
  background: var(--bg-2);
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--work, var(--accent));
}

.work img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work:hover img,
.work:focus-visible img { transform: scale(1.04); }

.work-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.05) 55%);
}

.work-copy {
  position: relative;
  padding: 1.2rem 1.15rem 1.25rem;
  display: grid;
  gap: 0.2rem;
}

.work strong {
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.triptych {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr;
  gap: 0.45rem;
  padding: 0 var(--pad) clamp(3rem, 7vw, 5rem);
}

.triptych figure { margin: 0; }
.triptych img { width: 100%; height: 72vh; object-fit: cover; }
.triptych figcaption {
  margin-top: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.ysl-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
  background: #000;
  color: #f6f3ee;
  border-top: 1px solid rgba(196, 165, 116, 0.45);
}

.ysl-band .copy {
  padding: clamp(2rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
}

.ysl-band h2 {
  margin: 0;
  font-size: clamp(4rem, 8vw, 7.5rem);
  line-height: 0.78;
  letter-spacing: -0.04em;
}

.gold { color: #c4a574; }

.ysl-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 60vh;
}

.page {
  padding: 7.2rem var(--pad) 4rem;
  max-width: 1280px;
  margin: 0 auto;
}

.page h1 {
  font-size: clamp(3.4rem, 9vw, 7.4rem);
  line-height: 0.84;
  letter-spacing: -0.04em;
  margin: 0.2rem 0 1rem;
}

.page h1.domain {
  font-size: clamp(2.2rem, 6.4vw, 4.8rem);
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.prose {
  max-width: var(--measure);
  font-size: 1.08rem;
}

.prose p { margin: 0 0 1rem; }

.prose cite { font-style: italic; font-family: var(--serif); }

.bio-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.bio-grid .sticky {
  position: sticky;
  top: 5.5rem;
}

.bio-grid .sticky img { width: 100%; height: auto; }

.quote {
  margin: 2rem 0;
  padding: 0 0 0 1.2rem;
  border-left: 1px solid var(--accent);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.quote span {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.timeline {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.timeline li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.timeline span {
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent);
}

.film-list { display: grid; gap: 0; margin-top: 2rem; }

.film-row {
  display: grid;
  grid-template-columns: 6rem 1.4fr 1fr auto;
  gap: 1rem;
  align-items: center;
  text-decoration: none;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.film-row:last-child { border-bottom: 1px solid var(--line); }

.film-row strong {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.film-row i {
  font-style: normal;
  color: var(--muted);
  font-size: 0.95rem;
}

.swatch {
  width: 0.55rem;
  height: 2.4rem;
  background: var(--swatch);
  justify-self: end;
}

.film-hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
}

.film-hero .copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7rem var(--pad) 3rem;
  gap: 0.7rem;
}

.film-hero h1 {
  margin: 0;
  font-size: clamp(4rem, 8vw, 8.2rem);
  line-height: 0.8;
  letter-spacing: -0.045em;
}

.film-hero .visual {
  position: relative;
  min-height: 70svh;
  background: #000;
}

.film-hero .visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.stripe {
  background: repeating-linear-gradient(
    -18deg,
    #070807 0 14px,
    #121410 14px 16px
  );
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0 0 2rem;
  padding: 0;
}

.facts div {
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
}

.facts dt {
  margin: 0 0 0.35rem;
}

.facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stills {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.5rem;
  padding: 0 var(--pad) 4rem;
}

.stills figure { margin: 0; }
.stills img { width: 100%; height: 100%; object-fit: cover; }
.stills figure:first-child { grid-row: span 2; }
.stills figure:first-child img { min-height: 78vh; }
.stills figcaption {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.text-link {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.15rem;
  align-self: flex-start;
}

.codes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.codes article {
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
}

.codes h3 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}

.codes p { margin: 0; color: var(--muted); }

.ysl-title {
  font-size: clamp(4.6rem, 13vw, 10rem);
  line-height: 0.78;
  letter-spacing: -0.045em;
  margin: 0.4rem 0 0.6rem;
}

.pair {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pair img { width: 100%; height: 78vh; object-fit: cover; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.4rem 0 1.2rem;
}

.filters button {
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.45rem 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68rem;
  cursor: pointer;
}

.filters button[aria-pressed="true"] {
  background: var(--ink);
  color: #111;
  border-color: var(--ink);
}

.grid {
  columns: 3 260px;
  column-gap: 0.55rem;
}

.grid figure {
  margin: 0 0 0.55rem;
  break-inside: avoid;
}

.shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #111;
  cursor: zoom-in;
  color: inherit;
}

.shot img { width: 100%; height: auto; }

.grid figcaption {
  margin-top: 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

#lightbox {
  width: min(1080px, calc(100vw - 1.5rem));
  max-height: calc(100vh - 1.5rem);
  background: #070707;
  color: #f4f0e8;
  border: 0;
  padding: 0.8rem 0.8rem 1rem;
}

#lightbox::backdrop { background: rgba(0, 0, 0, 0.94); }

.light-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.light-bar button,
.stage-play,
.reel button {
  background: transparent;
  border: 1px solid rgba(244, 240, 232, 0.3);
  color: inherit;
  cursor: pointer;
}

.light-bar button { padding: 0.35rem 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.68rem; }

#lightbox img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 8.5rem);
  margin: 0 auto;
  object-fit: contain;
}

#lightbox figcaption {
  margin-top: 0.6rem;
  color: #a39c92;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.screen {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr;
  gap: 1rem;
  align-items: start;
}

.stage {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.stage img,
.stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.stage-play {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 0.75rem 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  background: rgba(0, 0, 0, 0.55);
  text-decoration: none;
  display: inline-block;
}

.now {
  margin: 0.8rem 0 0;
  font-family: var(--serif);
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}

.reel {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reel button {
  width: 100%;
  text-align: left;
  padding: 0.85rem 0.8rem;
  display: grid;
  gap: 0.15rem;
  border-color: var(--line);
}

.reel button[aria-current="true"] {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.reel strong { font-weight: 500; }
.reel span { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.phone {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  text-decoration: none;
  display: inline-block;
  margin: 0.4rem 0;
}

.links {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.links a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.45rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.colophon {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 1.5rem;
  padding: 2rem var(--pad) 2.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

.colophon a { text-decoration: none; }
.colophon nav { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; }
.colophon .legal { margin: 0; color: var(--muted); max-width: 46ch; }

.arch {
  width: 7rem;
  height: 3.6rem;
  border: 1px solid var(--accent);
  border-bottom: 0;
  border-radius: 7rem 7rem 0 0;
  margin-bottom: 1.2rem;
}

.dock { display: none; }

.dock-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  min-height: 3.25rem;
  min-width: 0;
  margin: 0;
  padding: 0.3rem 0.1rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
}

.dock-item svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

.dock-item[aria-current="page"] { color: var(--ink); }

.dock-sub { flex: 1; min-width: 0; }
.dock-sub > summary { width: 100%; list-style: none; }
.dock-sub > summary::-webkit-details-marker { display: none; }
.dock-sub > summary::marker { content: ""; }

.dock-sheet {
  position: fixed;
  z-index: 56;
  left: 0.7rem;
  right: 0.7rem;
  bottom: calc(4.15rem + env(safe-area-inset-bottom));
  max-height: min(68vh, 26rem);
  overflow: auto;
  margin: 0;
  padding: 0.3rem 0;
  background: #121212;
  color: var(--ink);
  border: 1px solid var(--line);
}

.dock-sheet a {
  display: block;
  padding: 0.9rem 1rem;
  min-height: 48px;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.dock-sheet a[aria-current="page"] { color: var(--accent); }

.dock-sub[open]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(0, 0, 0, 0.5);
}

.dock-sub[open] > summary,
.dock > a.dock-item { position: relative; z-index: 57; }

@media (max-width: 980px) {
  .split,
  .bio-grid,
  .film-hero,
  .ysl-band,
  .screen,
  .contact-grid,
  .stills,
  .pair,
  .codes,
  .facts,
  .colophon,
  .triptych {
    grid-template-columns: 1fr;
  }

  body {
    padding-bottom: calc(4.3rem + env(safe-area-inset-bottom));
    overflow-x: clip;
  }

  .nav {
    padding-top: max(0.75rem, env(safe-area-inset-top));
  }

  .nav-toggle,
  #menu { display: none !important; }

  .dock {
    display: flex;
    position: fixed;
    z-index: 60;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: stretch;
    justify-content: space-around;
    min-height: 3.6rem;
    padding-bottom: env(safe-area-inset-bottom);
    background: color-mix(in srgb, var(--bg) 97%, transparent);
    border-top: 1px solid var(--line);
  }

  .dock-item[aria-current="page"] svg {
    stroke: var(--accent);
  }

  .hero-copy { padding-bottom: calc(5.6rem + env(safe-area-inset-bottom)); }
  .hero h1 { font-size: clamp(3.15rem, 16vw, 4.6rem); }
  .hero-meta { font-size: 0.95rem; }
  .hero-side { display: none; }

  .section { padding: 2.5rem var(--pad); }
  .page { padding: 5.2rem var(--pad) 2.2rem; }
  .page h1 { font-size: clamp(2.7rem, 11vw, 4rem); }
  .statement { font-size: clamp(1.85rem, 8vw, 2.5rem); }
  .section-head { flex-wrap: wrap; row-gap: 0.45rem; align-items: flex-end; }

  .works {
    margin-inline: calc(var(--pad) * -1);
    padding-inline: var(--pad);
    scroll-padding-inline: var(--pad);
    gap: 0.7rem;
    scrollbar-width: none;
  }
  .works::-webkit-scrollbar { display: none; }
  .work {
    flex: 0 0 86%;
    aspect-ratio: 4 / 5;
    min-height: 0;
  }
  .work img { object-position: center 32%; }
  .work strong { font-size: clamp(1.75rem, 8vw, 2.4rem); }

  .grid { columns: 2; column-gap: 0.4rem; }
  .grid figure { margin-bottom: 0.4rem; }

  .film-row {
    grid-template-columns: 4.2rem 1fr;
    align-items: start;
  }
  .film-row i { display: block; grid-column: 2; }
  .swatch { display: none; }

  .stills figure:first-child { grid-row: auto; }
  .stills figure:first-child img,
  .triptych img,
  .pair img { height: auto; min-height: 0; max-height: none; }

  .film-hero .copy { padding: 5.4rem var(--pad) 1.5rem; }
  .film-hero h1 { font-size: clamp(3rem, 13vw, 4.4rem); }
  .film-hero .visual { min-height: 58svh; }
  .ysl-title { font-size: clamp(3.1rem, 15vw, 4.8rem); }
  .facts { grid-template-columns: 1fr 1fr; }
  .bio-grid .sticky { position: static; }
  .light-bar { flex-wrap: wrap; }
  .colophon { padding-bottom: 1.6rem; }
  .ios-hint { bottom: calc(4.8rem + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero img { animation: none; }
  .work img { transition: none; }
}

@keyframes drift {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
