
:root {
  --ground: #0b1219;
  --ink: #f7fafc;
  --ink-soft: rgba(247, 250, 252, .72);
  --ink-faint: rgba(247, 250, 252, .45);
  --accent: #dbff00;
  --accent-press: #c8eb00;
  --on-accent: #0b1219;
  --band: #121c26;
  --panel: #16212c;
  --focus: #dbff00;
  --nav-solid: rgba(11, 18, 25, .72);
  --gutter: clamp(16px, 4vw, 56px);
  --display: "Unbounded", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.5;
  transition: background-color 1s var(--ease);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, p { margin: 0; }

h2, .btn, .stats b, .rail a {
  font-family: var(--display);
}
h2 {
  font-weight: 800;
  font-size: clamp(40px, 6.4vw, 96px);
  line-height: .95;
  letter-spacing: -.01em;
}

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  transition: background-color .5s var(--ease), backdrop-filter .5s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0 0 -88px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(11, 18, 25, .85), rgba(11, 18, 25, 0));
  transition: opacity .5s var(--ease);
}
.nav.solid::before { opacity: 0; }
.nav.solid { background: var(--nav-solid); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-logo img { height: 22px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; }
.nav ul a:not(.btn):hover { opacity: .7; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  white-space: nowrap;
  min-height: 44px; padding: 0 22px;
  background: var(--accent); color: var(--on-accent);
  border-radius: 999px;
  font-size: 15px; font-weight: 700; letter-spacing: .01em;
  text-decoration: none;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: var(--accent-press); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-light { background: var(--accent); color: var(--on-accent); min-height: 56px; padding: 0 32px; font-size: 17px; }
.btn-light:hover { background: var(--accent-press); }

.hero { position: relative; height: 100vh; height: 100dvh; min-height: 560px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 42%;
  background: linear-gradient(to top, rgba(11, 18, 25, .7), rgba(11, 18, 25, 0));
  pointer-events: none;
}
.hero-copy {
  position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(32px, 7vh, 72px);
}
.hero-copy h1 img { width: clamp(220px, 34vw, 520px); height: auto; }
.hero-copy p { margin-top: 18px; font-size: clamp(18px, 1.6vw, 24px); color: var(--ink); max-width: 30ch; }

.chapters { position: relative; }
.chapter { position: relative; height: 112vh; view-timeline: --chapter block; }
.stage {
  position: sticky; top: 0;
  height: 100vh; height: 100dvh;
  overflow: hidden;
  display: grid; align-items: center;
}
.frame video, .frame { width: 100%; height: 100%; }
.frame { position: relative; z-index: 1; }
.weeks { position: relative; z-index: 1; }
.frame video { object-fit: cover; }

.caption { position: relative; z-index: 3; }
.caption p { margin-top: 18px; font-size: clamp(18px, 1.7vw, 24px); color: var(--ink-soft); max-width: 24ch; }
.more {
  display: inline-block; margin-top: 26px;
  font-size: 16px; font-weight: 600; text-decoration: none;
  padding-bottom: 4px; border-bottom: 1px solid var(--ink-faint);
  transition: border-color .3s var(--ease);
}
.more:hover { border-color: var(--ink); }

.ambient {
  position: absolute; inset: -10%;
  background-size: cover; background-position: center;
  filter: blur(60px) saturate(1.1) brightness(.38);
  transform: scale(1.1);
}
.ch-pair .stage { grid-template-columns: minmax(300px, 1fr) auto; gap: clamp(32px, 5vw, 96px); padding: 64px calc(var(--gutter) + 150px) 0 var(--gutter); }
.ch-pair .caption { grid-column: 1; grid-row: 1; }
.pair { grid-column: 2; grid-row: 1; position: relative; z-index: 1; display: flex; gap: clamp(12px, 1.4vw, 20px); }
.pair .panel { width: auto; height: min(calc(100dvh - 160px), 46vw, 860px); aspect-ratio: 9 / 16; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.pair .panel:nth-child(2) { margin-top: 6vh; }
.ch-pair .solo { display: none; }

.ch-wide .frame { position: absolute; inset: 0; }
.ch-wide .stage::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to right, rgba(11, 18, 25, .66), rgba(11, 18, 25, 0) 58%);
}
.ch-wide.right .stage::after { background: linear-gradient(to left, rgba(11, 18, 25, .66), rgba(11, 18, 25, 0) 58%); }
.ch-wide .caption { align-self: end; padding: 0 var(--gutter) clamp(48px, 10vh, 110px); }
.ch-wide.right .caption { justify-self: end; text-align: right; padding-right: calc(var(--gutter) + 150px); }
.ch-wide.right .caption p { margin-left: auto; }

.ch-month .stage { grid-template-columns: minmax(440px, 1fr) minmax(0, 1.9fr); gap: clamp(32px, 5vw, 96px); padding: 0 calc(var(--gutter) + 150px) 0 var(--gutter); }
.weeks { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.2vw, 18px); align-items: center; }
.weeks img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.weeks img:nth-child(even) { transform: translateY(8%); }
.ch-month .caption { grid-column: 1; grid-row: 1; }

.push { transform-origin: 50% 50%; }
@supports (animation-timeline: view()) {
  .push { animation: push linear both; animation-timeline: --chapter; animation-range: contain 0% contain 100%; }
}
@supports not (animation-timeline: view()) {
  .push { transition: transform 9s linear; }
  .chapter.on .push { transform: scale(1.08); }
}
@keyframes push { from { transform: scale(1); } to { transform: scale(1.08); } }

.js .caption > * { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .chapter.on .caption > * { opacity: 1; transform: none; }
.js .chapter.on .caption > :nth-child(2) { transition-delay: .12s; }
.js .chapter.on .caption > :nth-child(3) { transition-delay: .24s; }

.rail {
  position: fixed; z-index: 20; right: var(--gutter); top: 50%;
  transform: translateY(-50%);
  opacity: 0; pointer-events: none;
  transition: opacity .5s var(--ease);
}
.rail.show { opacity: 1; pointer-events: auto; }
.rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.rail a {
  display: flex; align-items: center; gap: 12px; justify-content: flex-end;
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  text-decoration: none; color: var(--ink-faint);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
  transition: color .4s var(--ease);
}
.rail a::after { content: ""; width: 18px; height: 2px; background: currentColor; transition: width .4s var(--ease), background-color .4s var(--ease); }
.rail a.active { color: var(--ink); }
.rail a.active::after { width: 40px; background: var(--ink); }

.proof { padding: clamp(80px, 11vh, 130px) var(--gutter); }
.stats { list-style: none; margin: 0 auto; padding: 0; max-width: 1100px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stats b { display: block; font-size: clamp(28px, 3.2vw, 48px); font-weight: 800; line-height: 1; }
.stats span { display: block; margin-top: 10px; font-size: 16px; color: var(--ink-soft); }
.stats-note { margin: 22px auto clamp(64px, 10vh, 110px); text-align: center; font-size: 15px; color: var(--ink-soft); }
.logos {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1180px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 56px);
  align-items: center; justify-items: center;
}
.logos img { height: 34px; width: auto; max-width: 100%; object-fit: contain; filter: brightness(0) invert(1); opacity: .86; }
.logos img.tall { height: 52px; }
.logos img.wide { height: 22px; }

.joel {
  padding: clamp(64px, 9vh, 110px) var(--gutter);
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 110px); align-items: center;
  max-width: 1440px; margin: 0 auto;
}
.portrait { margin: 0; justify-self: end; width: min(100%, 480px); }
.portrait img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8); }
.joel-copy h2 { font-size: clamp(36px, 4.4vw, 64px); }
.joel-copy p { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--ink-soft); max-width: 52ch; }
.joel-copy .joel-line { margin-top: 28px; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.35; color: var(--ink); max-width: 30ch; }

.hire {
  min-height: 72vh; min-height: 72dvh;
  background: var(--band);
  padding: clamp(96px, 14vh, 160px) var(--gutter);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 28px;
}
.hire h2 { font-size: clamp(44px, 7.4vw, 120px); }
.hire .mail { font-size: 18px; text-decoration: none; border-bottom: 1px solid rgba(247, 250, 252, .5); }
.hire .agencies { font-size: 16px; color: rgba(247, 250, 252, .8); margin-top: 20px; }
.hire .agencies a { color: #f7fafc; }

.foot {
  background: var(--band); color: rgba(247, 250, 252, .8);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  font-size: 14px;
  border-top: 1px solid rgba(247, 250, 252, .16);
}
.foot span:last-child { display: flex; gap: 24px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #f7fafc; }

a:focus-visible, .btn:focus-visible, button:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.hire a:focus-visible, .foot a:focus-visible { outline-color: #dbff00; }

.films { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.films .more { margin-top: 0; }
.work-sec .films { margin-top: 26px; }
.faq { margin: clamp(32px, 5vh, 48px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.faq dt { font-size: 19px; font-weight: 700; }
.faq dd { margin: 10px 0 0; font-size: 17px; line-height: 1.5; color: var(--ink-soft); max-width: 34ch; }
.block > .feature-row { margin-top: 36px; }
h1.page-title {
  font-family: var(--display);
  font-weight: 800; font-size: clamp(44px, 7vw, 108px); line-height: .95; letter-spacing: -.01em; margin: 0;
}
.page-hero { position: relative; height: 82vh; height: 82dvh; min-height: 520px; overflow: hidden; }
.page-hero .frame { position: absolute; inset: 0; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgba(11, 18, 25, .82), rgba(11, 18, 25, 0) 60%);
}
.page-hero .caption { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: clamp(40px, 8vh, 88px); }
.page-hero .caption p { max-width: 34ch; }
.js .page-hero .caption > * { opacity: 1; transform: none; }

.block { max-width: 1440px; margin: 0 auto; padding: clamp(80px, 12vh, 140px) var(--gutter); }
.block > h2 { font-size: clamp(36px, 4.6vw, 68px); }
.lede { margin-top: 18px; font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-soft); max-width: 40ch; }

.tiles { list-style: none; margin: clamp(40px, 6vh, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.tiles li:nth-child(even) { margin-top: 48px; }
.tile-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); }
.tile-media img, .tile-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tiles h3 { margin: 18px 0 0; font-size: 19px; font-weight: 700; }
.tiles p { margin: 6px 0 0; font-size: 16px; line-height: 1.45; color: var(--ink-soft); max-width: 30ch; }

.feature-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; margin-top: clamp(32px, 5vh, 56px); background: var(--panel); }
.feature-media .frame { position: absolute; inset: 0; }
.feature-pair { display: flex; gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(32px, 5vh, 56px); }
.feature-pair .tile-media { flex: 1; }
.feature-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-top: 20px; }
.feature-row span { font-size: 18px; color: var(--ink-soft); }

.stills { list-style: none; margin: clamp(40px, 6vh, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.stills li { aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); }
.stills li:first-child { grid-row: span 2; aspect-ratio: auto; }
.stills img { width: 100%; height: 100%; object-fit: cover; display: block; }

@supports (animation-timeline: view()) {
  .zoom img, .zoom video { animation: push linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
}

.work-sec { max-width: 1440px; margin: 0 auto; padding: clamp(72px, 11vh, 130px) calc(var(--gutter) + 150px) clamp(72px, 11vh, 130px) var(--gutter); }
.work-sec .split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.work-sec.flip .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.work-sec.flip .split > :first-child { order: 2; }
.work-sec h2 { font-size: clamp(40px, 5vw, 76px); }
.work-sec .stills { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work-sec .stills li:first-child { grid-row: auto; aspect-ratio: 4 / 5; }
.work-more { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter) clamp(72px, 11vh, 120px); font-size: 18px; color: var(--ink-soft); }

.month { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(40px, 6vh, 64px); }
.month ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.month li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: baseline; }
.month b { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.2vw, 46px); line-height: 1; }
.month span { font-size: 19px; line-height: 1.4; }
.month .tile-media { aspect-ratio: 9 / 16; max-height: 78dvh; justify-self: center; width: 100%; max-width: 420px; }
.scope { margin-top: 40px; font-size: clamp(20px, 1.8vw, 24px); max-width: 40ch; }
.excl { margin-top: 14px; font-size: 16px; color: var(--ink-soft); max-width: 56ch; }
.weeks-row { list-style: none; margin: clamp(40px, 6vh, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.weeks-row li { aspect-ratio: 2 / 3; overflow: hidden; }
.weeks-row img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .page-hero { height: 78dvh; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .tiles li:nth-child(even) { margin-top: 32px; }
  .tiles h3 { font-size: 17px; }
  .stills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stills li:first-child { grid-row: auto; grid-column: span 2; aspect-ratio: 16 / 10; }
  .work-sec { padding: 56px var(--gutter) 64px; }
  .work-sec .stills li:first-child { grid-column: auto; aspect-ratio: 4 / 5; }
  .work-sec .split, .work-sec.flip .split { grid-template-columns: 1fr; }
  .work-sec.flip .split > :first-child { order: 0; }
  .work-sec .stills { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .month { grid-template-columns: 1fr; }
  .month li { grid-template-columns: 76px 1fr; gap: 14px; }
  .month span { font-size: 17px; }
  .month .tile-media { max-width: 300px; justify-self: start; }
  .weeks-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-pair { flex-direction: row; }
  .faq { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 860px) {
  .nav { height: 60px; }
  .nav-logo img { height: 18px; }
  .nav ul { gap: 14px; }
  .nav .btn { min-height: 38px; padding: 0 12px; font-size: 14px; }

  .chapter { height: 108vh; }
  .ch-pair .stage, .ch-month .stage { display: block; padding: 0; }
  .ch-pair .pair, .ambient { display: none; }
  .ch-pair .solo { display: block; position: absolute; inset: 0; }
  .ch-pair .stage::after, .ch-wide .stage::after, .ch-wide.right .stage::after {
    content: ""; position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(to top, rgba(11, 18, 25, .8), rgba(11, 18, 25, 0) 55%);
  }
  .caption, .ch-wide .caption, .ch-wide.right .caption { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 96px; padding: 0; text-align: left; }
  .ch-wide.right .caption p { margin-left: 0; }
  h2 { font-size: 44px; }

  .weeks { position: absolute; inset: 84px var(--gutter) auto; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .weeks img { aspect-ratio: 3 / 4; }
  .weeks img:nth-child(even) { transform: translateY(10%); }
  .ch-month .stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; z-index: 2; background: linear-gradient(to top, var(--ground) 40%, transparent); }

  .rail { top: auto; bottom: calc(18px + env(safe-area-inset-bottom)); right: 50%; transform: translateX(50%); }
  .rail ol { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(11, 18, 25, .66); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .rail a { padding: 8px 12px; border-radius: 999px; }
  .rail a::after { display: none; }
  .rail a.active { background: rgba(247, 250, 252, .14); }

  .stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stats b { font-size: 22px; }
  .stats-note { font-size: 14px; }
  .stats span { font-size: 14px; }
  .logos { grid-template-columns: repeat(3, 1fr); gap: 36px 20px; }
  .logos img { height: 26px; }
  .logos img.tall { height: 42px; }
  .logos img.wide { height: 16px; }

  .joel { grid-template-columns: 1fr; gap: 48px; }
  .portrait { justify-self: start; width: 78%; }
  .joel-copy p { font-size: 17px; }
  .hire h2 { font-size: 46px; }
}

.play {
  display: none; position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -50%);
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px;
  background: rgba(11, 18, 25, .72); color: var(--ink);
  font: 600 15px/1 var(--text); cursor: pointer;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.rm .play { display: inline-flex; align-items: center; }
.rm .play.hide { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .push, .chapter.on .push { transform: none !important; }
  .js .caption > * { opacity: 1; transform: none; }
}

:root[data-theme="light"] {
  --ground: #f7fafc;
  --ink: #0b1219;
  --ink-soft: rgba(11, 18, 25, .76);
  --ink-faint: rgba(11, 18, 25, .58);
  --panel: #e6ecf1;
  --focus: #0b1219;
  --accent: #0b1219;
  --accent-press: #26323e;
  --on-accent: #f7fafc;
  --band: #0b1219;
  --nav-solid: rgba(247, 250, 252, .86);
  color-scheme: light;
}
.hero, .page-hero, .ch-wide, .play, .rail, .hire, .foot, .nav {
  --ink: #f7fafc; --ink-soft: rgba(247, 250, 252, .78); --ink-faint: rgba(247, 250, 252, .5); --focus: #dbff00;
  --accent: #dbff00; --accent-press: #c8eb00; --on-accent: #0b1219;
  color: var(--ink);
}
.nav { color: var(--ink); }
[data-theme="light"] .nav.solid { --ink: #0b1219; --focus: #0b1219; --accent: #0b1219; --accent-press: #26323e; --on-accent: #f7fafc; color: var(--ink); }
.nav-logo .lg-l { display: none; }
[data-theme="light"] .nav.solid .nav-logo .lg-d { display: none; }
[data-theme="light"] .nav.solid .nav-logo .lg-l { display: block; }
[data-theme="light"] .logos img { filter: brightness(0); opacity: .78; }
[data-theme="light"] .ch-pair .ambient { filter: blur(60px) saturate(.9) brightness(1.15); opacity: .4; }
[data-theme="light"] .portrait img { box-shadow: 0 30px 60px -28px rgba(11, 18, 25, .35); }
@media (min-width: 861px) {
  .rail ol { padding: 16px 18px; border-radius: 18px; background: rgba(11, 18, 25, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .rail a { color: rgba(247, 250, 252, .78); text-shadow: none; }
  .rail a.active { color: #f7fafc; }
  .ch-month .stage, .ch-pair .stage { padding-right: calc(var(--gutter) + 190px); }
  .ch-wide.right .caption { padding-right: calc(var(--gutter) + 190px); }
}
@media (max-width: 860px) {
  .rail a { color: rgba(247, 250, 252, .78); }
  .rail ol { background: rgba(11, 18, 25, .86); }
}
@media (max-width: 860px) {
  .ch-pair { --ink: #f7fafc; --ink-soft: rgba(247, 250, 252, .78); --ink-faint: rgba(247, 250, 252, .5); --focus: #dbff00; color: var(--ink); }
}

.theme-toggle {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid rgba(127, 127, 127, .45); border-radius: 999px;
  background: transparent; color: inherit; cursor: pointer;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.theme-toggle:hover { border-color: currentColor; }
.theme-toggle:active { transform: scale(.96); }
.theme-toggle i {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid currentColor;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
  transition: transform .5s var(--ease);
}
[data-theme="light"] .theme-toggle i { transform: rotate(180deg); }

p, dd, .tiles p, .month span, .feature-row span, .stats span, .post p {
  text-transform: capitalize;
  letter-spacing: -.015em;
}
.caption p, .lede, .joel-copy p { letter-spacing: -.018em; }

.js .kt .w {
  display: inline-block; opacity: 0;
  transform: translateY(.42em); filter: blur(8px);
  transition: opacity .6s var(--ease), transform .8s var(--ease), filter .7s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .kt.in .w { opacity: 1; transform: none; filter: blur(0); }

.reel { list-style: none; margin: clamp(40px, 6vh, 64px) 0 0; padding: 0; display: flex; gap: clamp(12px, 1.6vw, 22px); align-items: flex-start; }
.reel > li { flex: var(--r) 1 0; min-width: 0; }
.reel .tile-media { aspect-ratio: var(--ar); }
.reel .frame { position: absolute; inset: 0; }
.reel h3, .gallery-sub { margin: 18px 0 0; font-size: 19px; font-weight: 700; }
.reel .more { margin-top: 10px; }
.reel.vert { max-width: 1080px; }

.tiles.vert .tile-media { aspect-ratio: 9 / 16; }
.tiles .tile-media .frame { position: absolute; inset: 0; }

.gallery { list-style: none; margin: clamp(40px, 6vh, 64px) 0 0; padding: 0; columns: 3; column-gap: clamp(10px, 1.4vw, 18px); }
.gallery li { break-inside: avoid; margin: 0 0 clamp(10px, 1.4vw, 18px); background: var(--panel); }
.gallery img { width: 100%; height: auto; }
.gallery-sub { margin-top: clamp(56px, 8vh, 88px); font-size: clamp(24px, 2.4vw, 34px); font-family: var(--display); font-weight: 800; scroll-margin-top: 96px; }

.page-hero.vert .ambient { z-index: 0; }
.page-hero.vert .caption { right: auto; max-width: min(56%, 760px); }
.page-hero.vert .frame { position: absolute; z-index: 1; inset: 96px calc(var(--gutter) + 4vw) 40px auto; width: auto; height: auto; aspect-ratio: 9 / 16; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.page-hero.vert::after { background: linear-gradient(to right, rgba(11, 18, 25, .7), rgba(11, 18, 25, 0) 60%); }

.vpair { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.vpair .tile-media { aspect-ratio: 9 / 16; }
.vpair .frame { position: absolute; inset: 0; }

.posts { list-style: none; margin: clamp(32px, 5vh, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.post { padding: clamp(24px, 2.6vw, 36px); background: var(--panel); border-radius: 16px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.post h3 { margin: 0; font-family: var(--display); font-size: clamp(22px, 2vw, 30px); font-weight: 800; line-height: 1.1; max-width: 22ch; }
.post p { font-size: 17px; line-height: 1.5; color: var(--ink-soft); max-width: 46ch; }
.soon { margin-top: 6px; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(219, 255, 0, .12); color: #dbff00; }
[data-theme="light"] .soon { background: rgba(11, 18, 25, .08); color: #0b1219; }
.blog-home > .more { margin-top: 32px; }
.blog-page .block { padding-top: clamp(120px, 18vh, 180px); }
.blog-page .lede + .lede { margin-top: 10px; }

@media (max-width: 860px) {
  .reel { flex-wrap: wrap; }
  .reel > li { flex: 1 1 100%; }
  .reel > li.tall, .reel > li.mid { flex: 0 0 calc(50% - 8px); }
  .reel.vert > li.tall:last-child:nth-child(odd) { flex-basis: calc(50% - 8px); }
  .gallery { columns: 2; }
  .page-hero.vert { height: auto; min-height: 0; aspect-ratio: auto; }
  .page-hero.vert .frame { position: relative; inset: auto; width: 100%; height: auto; box-shadow: none; }
  .page-hero.vert .ambient { display: none; }
  .page-hero.vert .caption { max-width: none; right: var(--gutter); }
  .page-hero.vert::after { background: linear-gradient(to top, rgba(11, 18, 25, .85), rgba(11, 18, 25, 0) 55%); }
  .vpair { gap: 8px; }
  .posts { grid-template-columns: 1fr; }
  .post p { font-size: 16px; }
}
@media (max-width: 480px) {
  .nav-extra { display: none; }
  .theme-toggle { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .kt .w { opacity: 1; transform: none; filter: none; }
}

@media (max-width: 860px) {
  .ch-pair .stage::after { background: linear-gradient(to top, rgba(11, 18, 25, .94) 0%, rgba(11, 18, 25, .82) 38%, rgba(11, 18, 25, 0) 72%); }
  .caption, .ch-wide .caption, .ch-wide.right .caption { bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 860px) {
  .rail { top: calc(68px + env(safe-area-inset-top)); bottom: auto; }
  [data-rail-zone] .rail { display: none; }
  .weeks { inset: 132px var(--gutter) auto; }
}

p .more, p a { text-transform: none; letter-spacing: 0; }
.gallery, .gallery-sub + .gallery { columns: auto; display: flex; align-items: flex-start; gap: clamp(8px, 1.4vw, 18px); }
.gallery + .gallery { margin-top: clamp(8px, 1.4vw, 18px); }
.gallery li { flex: var(--r) 1 0; min-width: 0; margin: 0; }
@media (max-width: 860px) { .gallery { columns: auto; } }
.films, .films a, .more, .agencies { text-transform: none; letter-spacing: 0; }
dt { text-transform: capitalize; letter-spacing: -.015em; }
@media (min-width: 861px) { .ch-wide .stage::after { background: linear-gradient(to right, rgba(11, 18, 25, .86) 0%, rgba(11, 18, 25, .62) 34%, rgba(11, 18, 25, 0) 66%); } }
@media (min-width: 861px) { .ch-wide.right .stage::after { background: linear-gradient(to left, rgba(11, 18, 25, .86) 0%, rgba(11, 18, 25, .62) 34%, rgba(11, 18, 25, 0) 66%); } }
.page-hero::after { background: linear-gradient(to top, rgba(11, 18, 25, .9) 0%, rgba(11, 18, 25, .55) 38%, rgba(11, 18, 25, 0) 70%), linear-gradient(to right, rgba(11, 18, 25, .5), rgba(11, 18, 25, 0) 55%); }
@media (max-width: 860px) {
  .ch-pair .stage::after, .ch-wide .stage::after, .ch-wide.right .stage::after { background: linear-gradient(to top, rgba(11, 18, 25, .94) 0%, rgba(11, 18, 25, .82) 38%, rgba(11, 18, 25, 0) 72%); }
}
@media (min-width: 861px) { .ch-wide .stage::after { background: linear-gradient(to right, rgba(11, 18, 25, .9) 0%, rgba(11, 18, 25, .72) 36%, rgba(11, 18, 25, 0) 68%); } }
@media (min-width: 861px) { .ch-wide.right .stage::after { background: linear-gradient(to left, rgba(11, 18, 25, .9) 0%, rgba(11, 18, 25, .72) 36%, rgba(11, 18, 25, 0) 68%); } }
.hero, .page-hero, .ch-wide { --ink-soft: rgba(247, 250, 252, .88); }
@media (max-width: 860px) { .ch-pair { --ink-soft: rgba(247, 250, 252, .88); } }
@media (max-width: 860px) {
  .gallery-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: clamp(32px, 5vh, 48px); }
  .gallery-set .gallery, .gallery-sub + .gallery-set .gallery { display: contents; }
  .gallery-set li { aspect-ratio: 4 / 5; overflow: hidden; }
  .gallery-set li.odd-last { grid-column: span 2; aspect-ratio: 16 / 10; }
  .gallery-set img { width: 100%; height: 100%; object-fit: cover; }
}

.gallery-set > .gallery:first-child { margin-top: clamp(40px, 6vh, 64px); }
@media (min-width: 861px) {
  .pair .panel { height: min(calc(100dvh - 160px), 34vw, 820px); }
  .ch-pair .stage { gap: clamp(40px, 5vw, 96px); }
  .ch-pair .caption h2 { font-size: clamp(40px, 5.2vw, 96px); }
}


h2, h1.page-title, .gallery-sub, .post h3, .month b, .stats b { font-weight: 700; letter-spacing: -.02em; }
h2, h1.page-title { line-height: 1.02; }
h1, h2, h3, dt { text-wrap: balance; }
p, dd, li { text-wrap: pretty; }
.stats b, .month b { font-variant-numeric: tabular-nums; }
.btn { font-weight: 600; letter-spacing: 0; }
.hero-copy h1 img { max-width: 100%; }
.rail a.active::after { background: #dbff00; }
.hire h2 .ln { display: block; }

.hire h2 { font-size: min(120px, calc((100vw - 2 * var(--gutter) - 16px) / 12.5)); }
@media (max-width: 860px) { .reel > li.full { flex: 1 1 100%; } }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-copy { animation: hero-out linear both; animation-timeline: scroll(root); animation-range: 30vh 60vh; }
    .page-hero .caption { animation: hero-out linear both; animation-timeline: scroll(root); animation-range: 5vh 30vh; }
  }
}
@keyframes hero-out { to { opacity: 0; } }

@media (max-width: 860px) { .ch-wide.right .caption { justify-self: stretch; } }
@media (max-width: 480px) { .hire h2 { font-size: 48px; } }
@media (max-width: 400px) { .rail ol { gap: 2px; } .rail a { padding: 8px 9px; } }

.nav-logo { flex-shrink: 0; }
.nav-logo img { max-width: none; }
.ph { white-space: nowrap; }
@media (max-width: 399px) {
  .nav ul { gap: 6px; }
  .nav .btn { padding: 0 8px; }
  .theme-toggle { width: 34px; height: 34px; }
}
@media (max-width: 400px) {
  .post { padding: 18px; }
  .post h3 { font-size: 21px; }
}
@media (max-width: 860px) {
  .page-hero.vert::after { background: linear-gradient(to top, rgba(11, 18, 25, .9) 0%, rgba(11, 18, 25, .55) 38%, rgba(11, 18, 25, 0) 70%), linear-gradient(to right, rgba(11, 18, 25, .5), rgba(11, 18, 25, 0) 55%); }
  .ch-month .weeks { bottom: calc(96px + 250px + env(safe-area-inset-bottom)); grid-template-rows: 1fr 1fr; }
  .ch-month .weeks img, .ch-month .weeks img:nth-child(even) { height: 100%; aspect-ratio: auto; min-height: 0; transform: none; }
}
@media (min-width: 861px) { .work-sec { padding-right: calc(var(--gutter) + 190px); } }

@media (max-width: 480px) { .page-hero.vert .page-title { font-size: min(44px, calc((100vw - 2 * var(--gutter)) / 10.8)); } }

@media (max-width: 480px) { .page-hero:not(.vert) .page-title { font-size: min(44px, calc((100vw - 2 * var(--gutter)) / 8.4)); } }

@media (max-width: 359px) {
  .nav-logo img { height: 13px; }
  .nav ul { gap: 3px; }
  .nav .btn { padding: 0 5px; }
  .theme-toggle { width: 28px; height: 28px; }
  .hire h2 { font-size: 40px; }

  .post h3 { font-size: 17px; }
}

@media (max-width: 379px) {
  .rail ol { gap: 0; padding: 4px; }
  .rail a { padding: 8px 5px; }
}

@media (max-width: 860px) {
  .chapter.ch-month { height: auto; }
  .ch-month .stage { position: relative; height: auto; display: flex; flex-direction: column; gap: 28px; padding: 84px var(--gutter) 72px; overflow: visible; }
  .ch-month .stage::after { display: none; }
  .ch-month .weeks { position: relative; inset: auto; bottom: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .ch-month .weeks img, .ch-month .weeks img:nth-child(even) { width: 100%; height: auto; aspect-ratio: 2 / 3; transform: none; }
  .ch-month .caption, .ch-month.chapter .caption { position: relative; inset: auto; left: auto; right: auto; bottom: auto; }
}

@media (min-width: 861px) {
  .ch-month .caption { min-width: 0; }
  .ch-month .caption h2 { font-size: min(96px, 5vw); }
}

@media (min-width: 861px) {
  .page-hero.vert .frame { height: min(calc(100% - 136px), 64vw); bottom: auto; }
  .page-hero.vert .page-title { font-size: min(108px, 7vw, calc((100vw - 2 * var(--gutter) - 40vw - 32px) / 9.2)); }
}

.play { white-space: nowrap; }
.play:focus-visible { outline: 2px solid #f7fafc; outline-offset: 2px; box-shadow: 0 0 0 6px rgba(11, 18, 25, .9); }

@media (max-width: 860px) { .gallery-set li.odd-last img { object-position: 50% 22%; } }

@media (max-width: 559px) { .nav-extra { display: none; } }

@media (max-width: 860px) { .chapter .play { top: calc(50% - 90px); } }
.vpair .play { padding: 0 10px; min-height: 40px; }

@media (max-width: 379px) { .block > h2 { font-size: min(36px, calc((100vw - 2 * var(--gutter) - 16px) / 9.6)); } }
