/* ==========================================================================
   Jason Caceres — portfolio
   Plain CSS, no framework. Colours and type come from the original Framer
   design; motion is modelled on apple.com (long expo-out easing, scroll-linked
   scenes, glass surfaces).
   ========================================================================== */

@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-latin-opsz-normal.woff2") format("woff2-variations");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-latin-opsz-italic.woff2") format("woff2-variations");
  font-weight: 400 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-standard-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --bg: #07090d;
  --bg-2: #0c0f14;
  --surface: #11141a;
  --surface-2: #161a21;
  --text: #f4f7f8;
  --text-2: #d5dadd;
  --muted: #9ba4aa;
  --dim: #657078;
  --accent: #73e6ff;
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(20, 24, 28, 0.55);

  --serif: "Bodoni Moda", Didot, "Bodoni 72", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);       /* expo-out, the apple.com feel */
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: clamp(18px, 2.2vw, 30px);
  --nav-h: 52px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.5 var(--sans);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--bg); }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 600; transition: top .3s var(--ease); }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.eyebrow { font: 600 11px/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow.accent { color: var(--accent); }
.eyebrow.muted { color: var(--muted); }
.display {
  font: 400 clamp(40px, 6.4vw, 92px)/1 var(--serif);
  letter-spacing: -0.02em;
}
.cap-title { display: block; font: 400 clamp(22px, 2.2vw, 30px)/1.1 var(--serif); letter-spacing: -0.01em; }
.cap-meta { display: block; margin-top: 6px; font: 500 11px/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------- nav (frosted, like apple.com globalnav) ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), transform .6s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 9, 13, 0.62);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.nav-brand { font: 600 12px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.nav-links a { font: 500 12px/1 var(--sans); letter-spacing: 0.04em; color: var(--text-2); opacity: .85; transition: opacity .3s, color .3s; }
.nav-links a:hover { opacity: 1; color: var(--text); }
.nav-links .nav-cta { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid var(--line); opacity: 1; }
.nav-links .nav-cta:hover { background: rgba(255,255,255,.18); }
@media (max-width: 560px) { .hide-sm { display: none; } .nav-brand { letter-spacing: .14em; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font: 500 15px/1 var(--sans); letter-spacing: -0.01em;
  transition: transform .5s var(--ease), background-color .3s, color .3s;
}
.btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn:active { transform: scale(.97); }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { background: #fff; }
.btn-glass { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.btn-glass:hover { background: rgba(255,255,255,.2); }

/* ==========================================================================
   Images: blurred preview + fade-in.
   .ph carries the dominant colour and a 24px preview (inlined by the build).
   The real image fades and settles in once it has loaded.
   ========================================================================== */
.ph { position: absolute; inset: 0; overflow: hidden; background: var(--ph, var(--surface)); }
.ph::before {
  content: ""; position: absolute; inset: -8%;
  background: var(--lqip) center / cover no-repeat;
  filter: blur(24px) saturate(1.2);
  transform: scale(1.1);
  transition: opacity 1.2s var(--ease) .2s;
}
.ph picture, .ph img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph img {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  filter: blur(8px);
  transition: opacity 1.4s var(--ease), transform 2.2s var(--ease), filter 1.4s var(--ease);
}
.ph.is-loaded img { opacity: 1; transform: none; filter: none; }
.ph.is-loaded::before { opacity: 0; }
html:not(.js) .ph img { opacity: 1; transform: none; filter: none; }

/* A frame clips its image; data-parallax frames let the image overscan so it can drift. */
.frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); isolation: isolate; transform: translateZ(0); }
[data-parallax] > .ph { inset: calc(var(--s, 0.2) * -50%) 0; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
[data-hparallax] > .ph { inset: 0 -10%; transform: translate3d(var(--px, 0px), 0, 0); will-change: transform; }

/* ---------- reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 48px, 0) scale(.985);
  transition: opacity 1.1s var(--ease), transform 1.4s var(--ease);
  transition-delay: var(--rd, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; height: 150vh; height: 150svh; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-frame { position: absolute; inset: 0; overflow: hidden; transform-origin: 50% 40%; will-change: transform, border-radius; }
.hero-media { position: absolute; inset: -6% 0; will-change: transform; }
.hero-media .ph img { object-position: 50% 28%; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7,9,13,.55) 0%, rgba(7,9,13,0) 18%),
    linear-gradient(0deg, rgba(7,9,13,.92) 0%, rgba(7,9,13,.55) 26%, rgba(7,9,13,0) 55%);
}
.hero-copy {
  position: absolute; left: 0; right: 0; bottom: clamp(48px, 9vh, 96px);
  max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter);
  will-change: transform, opacity;
}
.hero-copy .eyebrow { color: var(--accent); margin-bottom: 18px; }
.hero-title {
  font: 400 clamp(64px, 13vw, 210px)/0.86 var(--serif);
  letter-spacing: -0.035em;
  margin-left: -0.04em;
}
.hero-title .mask { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .mask:nth-child(2) { padding-left: clamp(0px, 8vw, 140px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 4vh, 40px); }

/* intro choreography on first load */
.js .intro { display: inline-block; opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity 1.2s var(--ease), transform 1.6s var(--ease); transition-delay: calc(var(--d, 0) * 0.12s + 0.25s); }
.js .hero-title .intro { transform: translate3d(0, 105%, 0); opacity: 1; }
.js .hero-actions.intro { display: flex; }
.js .is-ready .intro { opacity: 1; transform: none; }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 22px; height: 34px; margin-left: -11px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 12px; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--text); animation: cue 2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 700px) { .scroll-cue { display: none; } }

/* ==========================================================================
   Statement — words light up with scroll
   ========================================================================== */
.statement { position: relative; height: 150vh; margin-top: -10vh; }
.statement-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; padding-inline: var(--gutter); }
.statement-text {
  max-width: 21ch;
  font: 400 clamp(28px, 4vw, 62px)/1.12 var(--serif);
  letter-spacing: -0.025em;
  text-align: center;
  text-wrap: balance;
}
.statement-text .w { color: var(--text); opacity: .16; transition: opacity .5s var(--ease); }
.statement-text .w.on { opacity: 1; }
.statement-text .w.em { font-style: italic; }
html:not(.js) .statement { height: auto; padding: 20vh 0; }
html:not(.js) .statement-sticky { position: static; height: auto; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { position: relative; padding-block: clamp(64px, 10vh, 128px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; margin-bottom: clamp(28px, 4.5vh, 56px); }

/* ---------- selected work ---------- */
.work { padding-top: clamp(24px, 4vh, 56px); }
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.card { position: relative; }
.card .frame { aspect-ratio: 4 / 5; }
.card-a { grid-column: 1 / 8; }
.card-b { grid-column: 8 / 13; margin-top: clamp(48px, 12vh, 160px); }
.card-b .frame { aspect-ratio: 3 / 4; }
.card-c { grid-column: 2 / 13; margin-top: clamp(16px, 4vh, 56px); }
.card-c .frame { aspect-ratio: 3 / 2; }
.card-c .ph img { object-position: 70% 50%; }
.glass-cap {
  position: absolute; left: clamp(14px, 2vw, 24px); bottom: clamp(14px, 2vw, 24px);
  padding: 16px 22px 16px; min-width: min(280px, 70%);
  border-radius: calc(var(--radius) * .6);
  background: var(--glass);
  -webkit-backdrop-filter: saturate(160%) blur(22px); backdrop-filter: saturate(160%) blur(22px);
  border: 1px solid rgba(255,255,255,.12);
  transform: translate3d(0, 20px, 0); opacity: 0;
  transition: opacity 1s var(--ease) .35s, transform 1.2s var(--ease) .35s;
}
.card.is-in .glass-cap, html:not(.js) .glass-cap { opacity: 1; transform: none; }
.card .frame .ph img { transition: opacity 1.4s var(--ease), transform 2.2s var(--ease), filter 1.4s var(--ease), scale 1.2s var(--ease); }
@media (hover: hover) { .card:hover .frame .ph img { scale: 1.035; } }
@media (max-width: 899px) {
  .card-a, .card-b, .card-c { grid-column: 1 / -1; margin-top: 0; }
  .card-c .frame { aspect-ratio: 4 / 5; }
  .work-grid { gap: 20px; }
}

/* ---------- reel ---------- */
.reel { padding-bottom: 0; }
.reel-stage { position: relative; }
.reel-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 100svh; margin: 0 auto;
  background: #000; overflow: hidden;
  clip-path: inset(var(--iy, 0px) var(--ix, 0px) round var(--ir, 0px));
  will-change: clip-path;
}
.reel-video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.reel-play {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.05), rgba(0,0,0,.45));
  transition: opacity .6s var(--ease);
}
.reel-play-btn {
  display: grid; place-items: center; width: clamp(72px, 8vw, 104px); aspect-ratio: 1; border-radius: 50%;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  transition: transform .6s var(--ease), background-color .3s;
}
.reel-play-btn svg { width: 38%; fill: var(--text); margin-left: 6%; }
.reel-play:hover .reel-play-btn { transform: scale(1.08); background: rgba(255,255,255,.26); }
.reel-play-copy { text-align: center; }
.reel-title { display: block; font: 400 clamp(22px, 2.6vw, 34px)/1.1 var(--serif); }
.reel-meta { display: block; margin-top: 6px; font: 500 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.reel-frame.is-playing .reel-play { opacity: 0; pointer-events: none; }

/* ---------- full-bleed break ---------- */
.bleed { position: relative; height: 92vh; height: 92svh; min-height: 520px; overflow: hidden; }
.bleed-frame { position: absolute; inset: 0; border-radius: 0; overflow: hidden; }
.bleed-frame .ph img { object-position: 50% 28%; }
@media (max-width: 700px) { .bleed { height: 72svh; min-height: 440px; } .bleed-frame .ph img { object-position: 60% 30%; } }
.bleed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,9,13,.8), rgba(7,9,13,0) 45%), linear-gradient(180deg, var(--bg), rgba(7,9,13,0) 18%); pointer-events: none; }
.bleed-cap { position: absolute; left: 0; right: 0; bottom: clamp(32px, 7vh, 72px); z-index: 1; }
.bleed-cap .cap-title { font-size: clamp(34px, 5vw, 72px); }

/* ---------- editorial: horizontal gallery ---------- */
.editorial { padding-block: 0; }
.hscroll-sticky { padding-block: clamp(64px, 10vh, 112px) clamp(40px, 6vh, 72px); }
.hscroll-viewport { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hscroll-viewport::-webkit-scrollbar { display: none; }
.hscroll-track { display: flex; gap: clamp(14px, 1.8vw, 28px); padding-inline: var(--gutter); width: max-content; }
.ed-card { flex: none; width: min(78vw, 420px); scroll-snap-align: center; }
.ed-card .frame { aspect-ratio: 2 / 3; }
.ed-cap { margin-top: 16px; }
.hscroll-progress { margin-top: 32px; }
.hscroll-progress span { display: block; height: 2px; border-radius: 2px; background: var(--line); position: relative; overflow: hidden; }
.hscroll-progress span::after { content: ""; position: absolute; inset: 0; background: var(--text); transform-origin: 0 50%; transform: scaleX(var(--hp, 0)); }

/* Desktop: pin the section and translate the track with vertical scroll. */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .js .editorial.is-pinned { height: var(--hs-height, 300vh); }
  .js .editorial.is-pinned .hscroll-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: var(--nav-h) 0; }
  .js .editorial.is-pinned .hscroll-viewport { overflow: visible; scroll-snap-type: none; }
  .js .editorial.is-pinned .hscroll-track { transform: translate3d(var(--hx, 0px), 0, 0); will-change: transform; }
  .js .editorial.is-pinned .ed-card { width: auto; height: min(64vh, 720px); aspect-ratio: auto; }
  .js .editorial.is-pinned .ed-card .frame { height: 100%; aspect-ratio: 2 / 3; }
  .js .editorial.is-pinned .section-head { margin-bottom: clamp(24px, 4vh, 48px); }
}

/* ---------- about / quote ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 96px); align-items: center; }
.about-media .frame { aspect-ratio: 4 / 5; }
.about-copy { display: grid; gap: 28px; max-width: 560px; }
.quote p {
  font: italic 400 clamp(30px, 3.8vw, 56px)/1.1 var(--serif);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.lede { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--muted); max-width: 46ch; }
@media (max-width: 899px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- press ---------- */
.press-list { border-top: 1px solid var(--line); }
.press-list li { border-bottom: 1px solid var(--line); }
.press-row {
  display: grid; grid-template-columns: minmax(140px, 220px) 1fr auto; gap: 8px 32px; align-items: baseline;
  padding: clamp(24px, 3.4vh, 36px) 0;
  transition: padding .6s var(--ease);
}
.press-outlet { font: 600 11px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.press-title { display: block; font: 400 clamp(24px, 2.6vw, 38px)/1.12 var(--serif); letter-spacing: -0.015em; }
.press-desc { display: block; margin-top: 8px; color: var(--muted); max-width: 62ch; }
a.press-row::after { content: "↗"; font-size: 20px; color: var(--muted); transition: transform .5s var(--ease), color .3s; }
a.press-row:hover { padding-left: 12px; }
a.press-row:hover::after { transform: translate(3px, -3px); color: var(--text); }
@media (max-width: 700px) { .press-row { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { padding-bottom: 32px; background: linear-gradient(180deg, var(--bg), #0b1418 70%, #0a1216); }
.contact-title { font: italic 400 clamp(56px, 11vw, 168px)/0.9 var(--serif); letter-spacing: -0.04em; margin: 0 0 clamp(28px, 4vh, 48px) -0.04em; }
.contact-title em { font-style: italic; }
.contact-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--radius); border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
}
.contact-email {
  display: inline-block; margin-top: 10px;
  font: 400 clamp(26px, 3.6vw, 52px)/1.1 var(--serif); letter-spacing: -0.02em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .7s var(--ease);
  word-break: break-word;
}
.contact-email:hover { background-size: 100% 1px; }
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--text-2);
  transition: background-color .3s, color .3s, transform .5s var(--ease);
}
.socials a:hover { background: var(--text); color: var(--bg); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.socials .imdb { font: 800 11px/1 var(--sans); letter-spacing: -0.02em; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(48px, 8vh, 96px); padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.to-top:hover { color: var(--text); }

/* ---------- reduced motion: keep fades, drop movement ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero, .statement { height: auto; }
  .hero-sticky { position: relative; }
  .statement-sticky { position: static; height: auto; padding-block: 12vh; }
  .statement-text .w { opacity: 1; }
  .ph img { transform: none; filter: none; transition: opacity .6s linear; }
  .js [data-reveal] { transform: none; transition: opacity .6s linear; }
  .js .intro { transform: none !important; transition: opacity .6s linear; }
  [data-parallax] > .ph, [data-hparallax] > .ph { inset: 0; transform: none; }
  .scroll-cue span { animation: none; }
}

/* ==========================================================================
   "Seen on" strip (homepage)
   ========================================================================== */
.seen { padding-block: clamp(48px, 8vh, 96px); text-align: center; }
.strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px clamp(24px, 4vw, 56px); margin: 22px auto 32px; max-width: 1100px; }
.strip li { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.strip-title { font: 400 clamp(26px, 3.2vw, 46px)/1 var(--serif); letter-spacing: -0.02em; }
.strip-net { font: 600 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font: 500 15px/1 var(--sans); color: var(--text-2); padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); transition: background-color .3s, color .3s; }
.link-arrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .5s var(--ease); }
.link-arrow:hover { background: rgba(255,255,255,.08); color: var(--text); }
.link-arrow:hover svg { transform: translateX(3px); }


/* ==========================================================================
   Credits page
   ========================================================================== */
@media (max-width: 430px) { .hide-xs { display: none; } .nav-links { gap: 14px; } }

/* header: title + headline stats, compact */
.credits-hero {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px 64px;
  padding-top: calc(var(--nav-h) + clamp(56px, 10vh, 120px)); padding-bottom: clamp(36px, 6vh, 60px);
  border-bottom: 1px solid var(--line);
}
.credits-title { font: 400 clamp(56px, 8vw, 120px)/0.9 var(--serif); letter-spacing: -0.035em; margin: 12px 0 14px -0.03em; }
.credits-title .mask { display: block; overflow: hidden; padding-bottom: .06em; }
.js .credits-title .intro { transform: translate3d(0, 105%, 0); opacity: 1; }
.js .is-ready .credits-title .intro { transform: none; }
.credits-hero .intro:not(.mask .intro) { display: block; }
.credits-lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; color: var(--text-2); max-width: 36ch; }
.stats { display: flex; gap: clamp(24px, 3.2vw, 52px); margin: 0; }
.stat { display: flex; flex-direction: column-reverse; gap: 8px; }
.stat dd { margin: 0; font: 400 clamp(34px, 3.4vw, 50px)/1 var(--serif); letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }
.stat dt { font: 600 10px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (max-width: 960px) { .credits-hero { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 20px; } }

/* blocks */
.credits-block { padding-top: clamp(56px, 9vh, 104px); }
.block-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; margin-bottom: clamp(24px, 4vh, 40px); }
.block-title { font: 400 clamp(32px, 3.6vw, 52px)/1 var(--serif); letter-spacing: -0.02em; }

/* selected */
.feat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.feat {
  display: flex; flex-direction: column; gap: 6px; height: 100%; min-height: 150px;
  padding: 20px 22px; border-radius: calc(var(--radius) * .8); border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(115,230,255,.06), rgba(255,255,255,.015) 55%);
}
.feat-net { font: 600 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: auto; padding-bottom: 18px; }
.feat-title { font: 400 clamp(22px, 2vw, 28px)/1.1 var(--serif); letter-spacing: -0.015em; }
.feat-meta { font-size: 13px; line-height: 1.4; color: var(--muted); }
@media (max-width: 1000px) { .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .feat { min-height: 124px; padding: 16px 16px 18px; } .feat-title { font-size: 20px; } .feat-meta { font-size: 12px; } }

/* filter tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.tab { padding: 9px 16px; border-radius: 999px; font: 500 13px/1 var(--sans); color: var(--muted); transition: background-color .3s, color .3s; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--text); color: var(--bg); }
@media (max-width: 560px) { .tabs { width: 100%; justify-content: space-between; } .tab { padding: 9px 12px; } }

/* all credits: one block per year, two-column grid of entries */
.cy {
  display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 64px);
  padding: clamp(26px, 4vh, 40px) 0; border-top: 1px solid var(--line);
}
.cy[hidden], .ci[hidden] { display: none; }
.cy-year {
  position: sticky; top: calc(var(--nav-h) + 24px); align-self: start;
  display: flex; align-items: baseline; gap: 10px;
  font: 400 clamp(28px, 2.6vw, 40px)/1 var(--serif); letter-spacing: -0.02em;
}
.cy-n { font: 600 11px/1 var(--sans); letter-spacing: .04em; color: var(--dim); }
.cy-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px clamp(24px, 3vw, 56px); }
.ci { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.ci-type { font: 600 10px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.ci-title { font: 400 clamp(19px, 1.5vw, 22px)/1.22 var(--serif); letter-spacing: -0.01em; }
.ci-meta { font-size: 14px; line-height: 1.4; color: var(--muted); }
@media (max-width: 900px) { .cy { grid-template-columns: 1fr; gap: 18px; } .cy-year { position: static; } }
@media (max-width: 600px) { .cy-list { grid-template-columns: 1fr; gap: 20px; } }

.credits-foot { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 32px; border-top: 1px solid var(--line); }
.credits-foot .link-arrow[hidden] { display: none; }
.credits-updated { font-size: 12px; color: var(--dim); }
.credits-contact { padding-top: clamp(80px, 12vh, 140px); }
.credits-contact .contact-card .btn { flex: none; }
