@font-face {
  font-family: "Instrument Sans";
  src: url("assets/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #efeee9;
  --ink: #141414;
  --blue: #004bff;
  --light-blue: #88a5ff;
  --muted: #53534f;
  --line: #c7c6bf;
  font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:has(#work:target) { scroll-behavior: auto; }
body { margin: 0; }
img { display: block; width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
h1, h2, p, figure { margin: 0; }
.wrap { width: min(100% - 96px, 1344px); margin-inline: auto; }
.skip-link { position: fixed; left: 18px; top: 18px; transform: translateY(-200%); z-index: 8; background: white; padding: 12px; }
.skip-link:focus { transform: none; }

.masthead {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark { font-size: 33px; font-weight: 850; letter-spacing: -.1em; }
.wordmark span, .case h1 span { color: var(--blue); }
.masthead nav { display: flex; gap: clamp(19px, 3.65vw, 62px); align-items: center; font-size: 14px; font-weight: 650; }
.masthead nav a:hover, .masthead nav a[aria-current] { color: var(--blue); }

.eyebrow { font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.pill { min-height: 46px; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 10px 17px; border-radius: 999px; font-size: 13px; font-weight: 700; transition: background .2s ease, color .2s ease; }
.arrow { width: 12px; height: 11px; display: inline-block; position: relative; vertical-align: middle; flex: none; }
.arrow::before { content: ""; position: absolute; top: 5px; left: 0; width: 11px; border-top: 1.5px solid currentColor; }
.arrow::after { content: ""; position: absolute; top: 2px; right: 1px; width: 7px; height: 7px; border-block-start: 1.5px solid currentColor; border-inline-end: 1.5px solid currentColor; transform: rotate(45deg); }
.arrow-up-right { transform: rotate(-45deg); }
.arrow-down-right { transform: rotate(45deg); }
.arrow-left { transform: rotate(180deg); }
.arrow-up { transform: rotate(-90deg); }
.pill-light { background: var(--paper); color: var(--ink); }
.pill:hover { background: var(--blue); color: white; }
.text-link { display: inline-flex; align-items: center; gap: 9px; border-bottom: 1px solid currentColor; padding-bottom: 4px; font-size: 13px; font-weight: 720; }
.text-link[hidden] { display: none; }
.footer { background: var(--ink); color: var(--paper); }
.footer-inner { padding-block: 73px 23px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.footer h2 { font-size: clamp(63px, 9vw, 135px); font-weight: 820; line-height: .85; letter-spacing: -.06em; }
.footer h2 span { color: var(--blue); }
.footer-actions { display: grid; gap: 12px; justify-items: start; }
.footer-actions p { font-size: 15px; color: #d6d5cf; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; border-top: 1px solid #555; padding-top: 15px; font-size: 12px; color: #c4c3bf; }

.case { padding-block: 29px 76px; }
.back-link { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 650; }
.back-link:hover { color: var(--blue); }
.case-heading { padding-block: clamp(42px, 7vw, 93px) clamp(24px, 5vw, 67px); }
.case-heading .eyebrow { color: var(--blue); }
.case-heading h1 { margin-left: -.057em; font-size: clamp(75px, 17vw, 220px); font-weight: 850; line-height: .88; letter-spacing: -.06em; margin-block: 10px 18px; }
.case-heading > p:last-child { color: var(--muted); font-size: clamp(18px, 3vw, 32px); max-width: 36ch; line-height: 1.16; letter-spacing: -.045em; }
.case-media { --inset: 0%; clip-path: inset(0 var(--inset)); background: #29444d; overflow: hidden; }
.case-media img { width: 100%; aspect-ratio: 1.78; object-fit: cover; }
.case-facts { margin-block: 36px 0; display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.case-facts div { min-width: 0; padding: 15px 13px 15px 0; }
.case-facts div + div { border-left: 1px solid var(--line); padding-left: 17px; }
.case-facts dt { font-family: "IBM Plex Mono", monospace; text-transform: uppercase; color: var(--muted); letter-spacing: .07em; font-size: 10px; }
.case-facts dd { margin: 7px 0 0; font-size: 15px; font-weight: 700; }
.case-copy { margin: 52px auto; display: grid; gap: 28px; width: min(100%, 960px); }
.case-copy section { display: grid; grid-template-columns: minmax(190px, .85fr) 1.3fr; gap: 26px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.case-copy h2 { font-size: clamp(22px, 3.3vw, 44px); letter-spacing: -.07em; line-height: 1; }
.case-copy p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.case-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: min(100%, 960px); margin: 0 auto 35px; }
.case-gallery img { aspect-ratio: 1.18; object-fit: cover; object-position: center 34%; }
.case-back { display: table; margin-inline: auto; }

@media (max-width: 920px) {
  .wrap { width: calc(100% - 60px); }
}
@media (max-width: 630px) {
  .wrap { width: calc(100% - 36px); }
  .masthead { height: 60px; }
  .masthead nav { font-size: 13px; }
  .wordmark { font-size: 27px; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; padding-top: 44px; }
  .footer h2 { font-size: clamp(46px, 13vw, 90px); }
  .footer-bottom { margin-top: 11px; }
  .case { padding-block: 21px 50px; }
  .case-heading h1 { margin-bottom: 12px; }
  .case-facts { margin-top: 22px; grid-template-columns: repeat(2, 1fr); }
  .case-facts div { padding: 12px 8px 12px 0; }
  .case-facts div:nth-child(3) { border-left: 0; padding-left: 0; }
  .case-facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .case-copy { margin-block: 29px; gap: 19px; }
  .case-copy section { grid-template-columns: 1fr; gap: 9px; padding-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
  .case-media { clip-path: none; }
}

/* Opening sequence */
.portfolio-intro { display: none; }
.show-intro .portfolio-intro {
  position: fixed;
  inset: 0;
  z-index: 7;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at center, #161924, #090b13 68%);
  color: #f9f9f7;
  pointer-events: none;
  animation: intro-exit 2.95s both;
}
.portfolio-intro > span {
  position: relative;
  z-index: 1;
  padding-left: .29em;
  font-size: clamp(24px, 4vw, 54px);
  font-weight: 700;
  letter-spacing: .29em;
  text-shadow: 0 0 20px rgba(255,255,255,.54);
  animation: intro-word .7s both;
}
.intro-orbit {
  position: absolute;
  width: clamp(170px, 23vw, 300px);
  aspect-ratio: 1;
  border: 1px solid #74798c;
  box-shadow: 0 0 12px #61667c44, inset 0 0 16px #74798c22;
  border-radius: 44% 56% 49% 51% / 51% 45% 55% 49%;
  animation: orbit-warp 2.55s ease-in-out both;
}
@keyframes orbit-warp {
  0% { transform: scale(.72) rotate(-30deg); opacity: 0; }
  47% { border-radius: 56% 44% 55% 45% / 43% 55% 45% 57%; opacity: .75; }
  100% { transform: scale(1.04) rotate(68deg); border-radius: 49% 51% 43% 57% / 58% 52% 48% 42%; opacity: .26; }
}
@keyframes intro-word {
  0% { opacity: 0; transform: scale(.96); }
  31%, 84% { opacity: 1; transform: scale(1); }
  100% { opacity: .86; }
}
@keyframes intro-exit {
  0%, 84% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

.opening-nav {
  position: relative;
  z-index: 1;
  min-height: 72px;
  height: max(72px, 8.4svh);
  border: 0;
  justify-content: center;
}
.opening-nav .wordmark { position: absolute; left: 0; }
.opening-nav nav {
  border: 1px solid #d7d6d0;
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
  background: #f6f5f2;
  font-size: 11px;
}
.opening-nav nav a {
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  line-height: 1;
  font-weight: 650;
}
.opening-nav nav a[aria-current] {
  border-color: #d1d0ca;
  color: var(--ink);
}

.opening-hero {
  position: relative;
  isolation: isolate;
  background: var(--paper);
  min-height: max(560px, 91.6svh);
  padding-top: clamp(33px, 8svh, 86px);
  text-align: center;
}
.opening-hero h1 {
  position: relative;
  z-index: 0;
  font-size: clamp(79px, 10.5vw, 161px);
  font-weight: 700;
  line-height: .86;
  letter-spacing: -.053em;
  word-spacing: .035em;
}
.opening-hero h1 span { display: block; }
.opening-hero h1 span + span {
  color: #575650;
  background: linear-gradient(180deg, #121212 6%, #676661 50%, #b8b6af 91%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.show-intro .opening-hero h1 { animation: landing-reveal .65s 2.23s both; }
.show-intro .opening-portrait { animation: portrait-reveal .84s 2.15s both; }
@keyframes landing-reveal { from { opacity: 0; transform: translateY(16px); } to { opacity: var(--hero-copy-opacity, 1); transform: none; } }
@keyframes portrait-reveal { from { opacity: 0; } to { opacity: 1; } }
.opening-portrait {
  position: absolute;
  z-index: 1;
  inset: auto auto 25px 50%;
  width: clamp(260px, 34vw, 510px);
  height: clamp(310px, 59svh, 575px);
  transform: translateX(-50%);
  pointer-events: none;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(to bottom, #000 0%, #000 49%, #0009 73%, transparent 98%), linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect;
}
.opening-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.22) brightness(1.04);
}
.hero-details, .hero-description {
  position: absolute;
  z-index: 2;
  bottom: clamp(38px, 8svh, 88px);
  margin: 0;
  text-align: left;
}
.hero-details { left: 0; }
.hero-description {
  right: 0;
  max-width: 24ch;
  color: #3f3e39;
  font-size: 15px;
  line-height: 1.52;
}
.hero-name { font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.hero-role { margin-block: 6px 4px; font-size: clamp(16px, 1.8vw, 25px); font-weight: 700; letter-spacing: -.04em; }
.hero-location { color: var(--muted); font-size: 13px; }
.opening-scroll {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid #bab8b0;
  border-radius: 50%;
  margin-top: 16px;
}
.opening-scroll:hover { background: var(--ink); border-color: var(--ink); color: white; }

/* The About panel expands inside a sticky scene. */
.opening-about { color: #f5f4f0; background: #111219; }
.about-stage {
  position: relative;
  isolation: isolate;
  min-height: 690px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.about-texture {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(180deg, #11121925, #0e0e15a0), url("assets/about-skyline.webp") center 56% / cover, #1c1d23;
}
.about-frame {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  width: min(91vw, 1110px);
  min-height: min(490px, 70svh);
  padding: clamp(20px, 4vw, 53px);
  overflow: hidden;
  border: 1px solid #c0c0c846;
  border-radius: 9px;
  background: #0a0c13;
  box-shadow: 0 22px 70px #0008;
}
.about-frame img, .about-shade { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.about-frame img { object-fit: cover; object-position: center 42%; filter: grayscale(1) contrast(1.12); }
.about-shade { background: linear-gradient(180deg, #080a13a0 0%, #0809110d 35%, #08091182 60%, #080911fa 100%); }
.about-title {
  position: absolute;
  inset: 11% 0 auto;
  pointer-events: none;
  text-align: center;
  text-shadow: 0 2px 25px #0008;
  font-size: clamp(46px, 8.7vw, 123px);
  line-height: .88;
  letter-spacing: -.065em;
}
.about-copy {
  position: relative;
  max-width: 61ch;
  color: #f0efeb;
  font-size: clamp(14px, 1.45vw, 19px);
  font-weight: 550;
  line-height: 1.47;
}
.opening-about.has-motion { height: 208svh; }
.has-motion .about-stage { position: sticky; top: 0; height: 100svh; min-height: 0; }
.has-motion .about-frame {
  width: var(--frame-width, 290px);
  height: var(--frame-height, 360px);
  min-height: 0;
}
.has-motion .about-title { inset: auto 0; }
.has-motion .about-title span { display: block; }
.has-motion .about-title span:first-child { transform: translateX(var(--heading-left, 0)); }
.has-motion .about-title span:last-child { transform: translateX(var(--heading-right, 0)); }
.has-motion .about-title { opacity: var(--heading-opacity, 1); }
.has-motion .about-texture { opacity: var(--backdrop-opacity, 1); }
.has-motion .about-copy { opacity: var(--copy-opacity, 0); transform: translateY(var(--copy-inset, 12px)); }

@media (max-width: 920px) {
  .opening-hero h1 { font-size: clamp(65px, 10.8vw, 111px); }
  .hero-role { max-width: 13ch; }
  .hero-description { max-width: 20ch; }
}
@media (max-width: 630px) {
  .opening-nav { height: 60px; min-height: 60px; justify-content: flex-end; }
  .opening-nav nav { font-size: 10px; }
  .opening-nav nav a { padding: 7px 8px; }
  .opening-hero {
    min-height: max(550px, calc(100svh - 60px));
    padding-top: clamp(37px, 7svh, 72px);
  }
  .opening-hero h1 { font-size: clamp(40px, 11.9vw, 74px); }
  .opening-portrait {
    top: clamp(108px, 18svh, 160px);
    bottom: auto;
    width: min(86vw, 370px);
    height: clamp(235px, 48svh, 375px);
  }
  .hero-details, .hero-description { bottom: clamp(33px, 10svh, 84px); }
  .hero-details { bottom: clamp(22px, 8svh, 65px); }
  .hero-description { max-width: 45%; font-size: 12px; }
  .hero-role { font-size: 16px; }
  .hero-location { font-size: 11px; }
  .opening-scroll { width: 39px; height: 39px; margin-top: 10px; }
  .about-stage { min-height: 560px; }
  .about-frame { padding: 17px; }
  .about-texture { background-position: center center; }
}
@media (prefers-reduced-motion: reduce) {
  .show-intro .portfolio-intro { display: none; }
  .show-intro .opening-hero h1, .show-intro .opening-portrait { animation: none; }
}

@media (max-width: 630px) {
  .about-frame img { object-position: 25% center; }
}

/* Selected work */
.work {
  background: #f4f2ed;
  border-top: 1px solid var(--line);
}
.work.is-interactive[data-scroll="true"] { min-height: calc(100svh + var(--track)); }
.work-stage {
  --reel-phase: 0;
  min-height: min(100svh, 840px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-content: stretch;
  padding-block: clamp(24px, 5vh, 58px) clamp(19px, 3.3vh, 40px);
}
.is-interactive[data-scroll="true"] .work-stage {
  position: sticky;
  top: 0;
  height: 100svh;
}
.work-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: clamp(12px, 2vh, 23px);
  border-bottom: 1px solid var(--line);
}
.work-header h2 {
  font-size: clamp(46px, 7.2vw, 120px);
  font-weight: 700;
  letter-spacing: -.075em;
  line-height: .87;
}
.work-header h2 span { color: var(--blue); }
.work-header .project-count {
  color: var(--muted);
  font: 500 clamp(12px, 1.15vw, 16px)/1 monospace;
  white-space: nowrap;
  padding-bottom: 4px;
}
.work-body {
  display: grid;
  grid-template-columns: minmax(162px, .83fr) minmax(0, 2.25fr) minmax(152px, .70fr);
  gap: clamp(12px, 1.7vw, 30px);
  align-items: center;
  min-height: 0;
}
.project-status { min-width: 0; z-index: 2; }
.project-status .eyebrow { color: var(--blue); overflow-wrap: anywhere; }
.project-status h3 {
  margin: 8px 0 9px;
  font-size: clamp(22px, 3vw, 44px);
  letter-spacing: -.058em;
  font-weight: 690;
  line-height: 1.02;
  overflow-wrap: anywhere;
}
.project-status > p:not(.eyebrow) { color: var(--muted); font-size: clamp(13px, 1.12vw, 16px); line-height: 1.4; }
.project-status .text-link { margin-top: 17px; }
.wheel {
  position: relative;
  isolation: isolate;
  height: 100%;
  min-height: 270px;
  max-height: 670px;
  perspective: clamp(620px, 90vw, 1350px);
  overflow: clip;
  touch-action: pan-y;
  user-select: none;
}
.is-interactive .wheel { cursor: grab; }
.is-interactive .wheel:active { cursor: grabbing; }
.wheel-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64%;
  aspect-ratio: 1.64;
  overflow: hidden;
  color: white;
  background: #dcd8ce;
  border: 1px solid #14141432;
  border-radius: 5px;
  box-shadow: 0 9px 22px #1515152b;
  transform: translate(-50%, -50%);
  backface-visibility: hidden;
  -webkit-user-drag: none;
  outline-offset: -4px;
}
.wheel-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.wheel-card.is-logo img { object-fit: contain; padding: 19%; background: #f0eee7; }
.wheel-card[data-active="true"] { box-shadow: 0 18px 44px #15151536; }
.wheel-card[aria-label]:not(:first-child) { visibility: hidden; }
.wheel-card .cover-arrow {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 28px;
  height: 28px;
  display: none;
  place-items: center;
  background: #f4f2ed;
  color: var(--ink);
  border-radius: 50%;
}
[data-mode="wheel"] .wheel-card[data-active="true"] .cover-arrow { display: grid; }
.enter-wheel {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  transform: translate(-50%, -50%);
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 72px;
  min-height: 42px;
  border: 0;
  padding: 5px;
  color: var(--ink);
  background: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 650;
  opacity: calc(1 - var(--reel-phase));
}
[data-scroll="true"][data-mode="ring"] .enter-wheel { display: inline-flex; }
.enter-wheel:hover { color: var(--blue); }
.enter-wheel .arrow { transform: rotate(90deg); }
.project-index { align-self: center; min-width: 0; }
.project-index h3 { margin: 0 0 12px; color: var(--muted); }
.project-list {
  position: relative;
  display: grid;
  align-content: start;
  list-style: none;
  padding: 0 10px 0 0;
  margin: 0;
  max-height: clamp(170px, 41vh, 390px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #999389 transparent;
  overscroll-behavior-y: auto;
}
.project-list a {
  display: grid;
  grid-template-columns: 2ch minmax(0, 1fr);
  gap: 9px;
  width: 100%;
  padding: 8px 4px 9px 0;
  min-height: 34px;
  border-top: 1px solid #d7d3cb;
  color: #4d4b43;
  font-size: 12px;
  line-height: 1.23;
  align-items: baseline;
}
.project-list a:focus-visible { outline-offset: -3px; }
.project-list a span:first-child { font-family: monospace; color: #625e56; font-size: 10px; }
.project-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.project-list a[aria-current] { color: var(--blue); font-weight: 700; }
.project-list a[aria-current] span:first-child { color: var(--blue); }
.project-picker { display: none; }
.work-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 50px;
  gap: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.work-bar p { font-size: 12px; }
.work-buttons { display: none; gap: 7px; }
.is-interactive .work-buttons { display: flex; }
.circle-button {
  width: 37px;
  height: 37px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #b8b3a7;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}
.circle-button:hover { background: var(--ink); color: white; }
.circle-button .arrow-up { transform: rotate(-90deg); }
.circle-button .arrow-down { transform: rotate(90deg); }
.work .text-link { color: var(--ink); }
.work .text-link:hover { color: var(--blue); }
:is(.case-page, .project-case-page) .footer-actions { align-self: end; }
.footer-actions { justify-items: start; }
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}
.footer-links .pill { min-height: 42px; padding-inline: 13px; gap: 10px; }
.footer-links .pill-outline { border: 1px solid #777570; color: var(--paper); }
.footer-links .pill-outline:hover { border-color: var(--blue); }
.footer a:focus-visible { outline-color: var(--light-blue); }

/* Project pages share the existing case-study header and footer. */
.project-case .case-heading h1 {
  font-size: clamp(47px, 8.7vw, 127px);
  line-height: .91;
  max-width: 16ch;
  overflow-wrap: anywhere;
}
.project-case .case-heading > p:last-child { max-width: 43ch; }
.project-case .case-media img { aspect-ratio: 2.04; object-position: center 45%; }
.project-case .case-media.is-logo { background: #e8e5db; }
.project-case .case-media.is-logo img { object-fit: contain; padding-block: clamp(22px, 6vw, 82px); }
.project-case .case-facts { grid-template-columns: 1fr 1.5fr; }
.project-case .case-facts dt { font-size: 11px; }
.project-case .case-gallery img { aspect-ratio: auto; max-height: 525px; object-fit: contain; object-position: center; }
.project-case .case-gallery figure { background: #e8e5db; display: grid; place-items: center; }
.project-films { width: min(100%, 960px); margin: 0 auto 52px; }
.project-films h2 { margin: 0 0 18px; font-size: clamp(26px, 4.6vw, 62px); letter-spacing: -.057em; line-height: 1; }
.project-film-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(12px, 2.1vw, 27px);
}
.project-film { min-width: 0; margin: 0; }
.project-film:only-child { grid-column: 1 / -1; }
.project-film video {
  display: block;
  width: 100%;
  aspect-ratio: var(--video-ratio, 16 / 9);
  max-height: min(70svh, 560px);
  object-fit: contain;
  background: #0e0e0e;
}
.project-film.is-portrait video { max-width: min(100%, 320px); margin-inline: auto; }
.project-film figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 9px;
  margin-bottom: 14px;
  font-size: 14px;
}
.project-film figcaption span:nth-child(2) { color: var(--muted); font-family: monospace; font-size: 12px; }

@media (max-width: 950px) {
  .footer-inner { grid-template-columns: 1fr; gap: 23px; }
}
@media (max-width: 690px) {
  .work-stage { padding-block: 21px 10px; grid-template-rows: auto minmax(0,1fr) auto; }
  .work-header { padding-bottom: 12px; }
  .work-header h2 { font-size: clamp(35px, 10vw, 66px); }
  .work-body {
    grid-template-columns: minmax(0, 1fr) minmax(0, .62fr);
    grid-template-rows: minmax(210px, 1fr) auto;
    gap: 3px 11px;
    padding-bottom: 15px;
  }
  .wheel { grid-row: 1; grid-column: 1 / -1; min-height: 210px; }
  .project-status { grid-row: 2; align-self: start; }
  .project-status h3 { font-size: clamp(19px, 5.3vw, 28px); margin-block: 5px 6px; }
  .project-status > p:not(.eyebrow) { font-size: 12px; }
  .project-status .text-link { margin-top: 8px; font-size: 12px; }
  .project-index { grid-row: 2; align-self: end; }
  .project-index h3 { margin-bottom: 5px; font-size: 10px; }
  .is-interactive .project-index .project-list { display: none; }
  .is-interactive .project-index .project-picker { display: block; }
  .project-picker select { width: 100%; color: var(--ink); background: transparent; font: inherit; font-size: 12px; min-height: 38px; padding: 5px 3px; border: 1px solid #aaa498; border-radius: 3px; }
  .enter-wheel { font-size: 10px; }
  .enter-wheel .arrow { display: none; }
  .work-bar { min-height: 44px; }
  .work-bar p { font-size: 11px; }
  .case-page .case-heading h1 { font-size: clamp(56px, 18vw, 100px); }
  .project-case-page .case-heading h1 { font-size: clamp(41px, 10.6vw, 70px); }
  .project-film-grid { grid-template-columns: 1fr; }
  .project-film { max-width: 100%; }
  .project-film.is-portrait video { max-width: min(100%, 295px); }
  .project-films { margin-bottom: 34px; }
}
@media (max-height: 605px) and (min-width: 691px) {
  .work-stage { padding-block: 16px 11px; }
  .work-header h2 { font-size: clamp(47px, 6vw, 78px); }
  .wheel { min-height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .work-hint { visibility: hidden; }
}

/* The opening introduces Ali by name. */
.opening-hero {
  padding-top: clamp(28px, 5.9svh, 78px);
}
.opening-hero h1 {
  position: relative;
  z-index: 2;
  font-size: clamp(79px, 15.7vw, 232px);
  font-weight: 750;
  line-height: .84;
  letter-spacing: -.056em;
  word-spacing: .035em;
}
.opening-hero > .hero-role {
  position: relative;
  z-index: 2;
  max-width: none;
  margin: clamp(15px, 2.5vw, 28px) auto 0;
  font-size: clamp(18px, 2.25vw, 33px);
  font-weight: 650;
  letter-spacing: -.045em;
}
.opening-hero .opening-portrait {
  inset: auto auto 16px 50%;
  width: clamp(280px, 37vw, 520px);
  height: clamp(280px, 56svh, 530px);
}
.hero-details .hero-cta {
  margin-top: 12px;
  min-height: 48px;
  gap: 15px;
  color: white;
  background: var(--ink);
}
.hero-details .hero-cta:hover { background: var(--blue); }

/* Client and event cards follow a horizontal 3D ribbon. */
.work-stage { grid-template-rows: auto minmax(0, 1fr) auto; }
.work-body {
  grid-template-columns: minmax(0, 1fr) minmax(185px, .44fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0 clamp(18px, 3vw, 54px);
  padding-bottom: 13px;
}
.work-body .wheel {
  grid-row: 1;
  grid-column: 1 / -1;
  height: 100%;
  min-height: 0;
  max-height: none;
  perspective: clamp(630px, 135vw, 1900px);
}
.wheel .wheel-card {
  --card-curve: none;
  --card-shade: 0;
  overflow: visible;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 10px 16px #15151525);
}
.wheel .wheel-card[data-active="true"] {
  box-shadow: none;
  filter: drop-shadow(0 15px 23px #15151529);
}
.wheel-card::before, .wheel-card .brand-surface {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  clip-path: var(--card-curve);
}
.wheel-card::before { content: ""; background: #b5b1a5; }
.wheel-card .brand-surface {
  inset: 1px;
  display: grid;
  place-items: center;
  background: #e8e5db;
}
.brand-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(95deg, rgb(86 75 53 / var(--card-shade)), transparent 62%);
}
.wheel .brand-logo, .client-lockup .brand-logo {
  display: block;
  width: 62%;
  height: 57%;
  max-width: 315px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
.brand-name {
  color: var(--ink);
  text-align: center;
  max-width: 78%;
  font-size: clamp(13px, 2.8vw, 42px);
  line-height: 1.06;
  font-weight: 700;
}
.wheel .wheel-card .cover-arrow { top: auto; right: 13px; bottom: 13px; }
.wheel .wheel-card[data-active="true"] .cover-arrow { display: grid; }
.work-body .project-status { align-self: center; min-height: 107px; }
.work-body .project-status h3 { margin-block: 5px; }
.work-body .project-status .text-link { margin-top: 10px; }
.work-body .project-index { align-self: center; }
.work-body .project-index h3 { margin-bottom: 4px; }
.work-body .project-list { height: 97px; max-height: 97px; }
.work-body .project-list a { min-height: 30px; padding-block: 7px; }
.work-bar .work-buttons { gap: 10px; }
.work-stage .work-hint { visibility: visible; }

/* Client pages */
.client-case { padding-block: clamp(24px, 4vw, 52px) clamp(58px, 9vw, 136px); }
.client-header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .85fr);
  align-items: center;
  gap: clamp(25px, 6vw, 104px);
  margin-block: clamp(27px, 6vw, 83px) clamp(35px, 6vw, 80px);
}
.client-header h1 {
  margin-block: 11px 14px;
  font-size: clamp(58px, 9vw, 149px);
  line-height: .88;
  font-weight: 730;
  letter-spacing: -.072em;
  overflow-wrap: anywhere;
}
.client-header h1 span, .client-header .eyebrow { color: var(--blue); }
.client-header h1 + p { color: var(--muted); max-width: 41ch; font-size: clamp(15px, 1.75vw, 23px); line-height: 1.38; }
.client-lockup {
  display: grid;
  place-items: center;
  aspect-ratio: 1.85;
  background: #e8e5db;
  border: 1px solid #b5b1a5;
  border-radius: 8px;
}
.contact-inner {
  display: grid;
  grid-template-columns: minmax(205px, .72fr) minmax(0, 1.25fr);
  gap: clamp(25px, 4vw, 68px);
  align-items: center;
  padding-block: clamp(45px, 7.5vw, 112px) 25px;
}

.work-stats {
  background: #e9e7df;
  border-block-start: 1px solid var(--line);
}
.work-stats-inner {
  padding-block: clamp(30px, 5vw, 72px) clamp(38px, 5.6vw, 80px);
}
.work-stats h2 {
  margin-block-end: clamp(20px, 3vw, 43px);
  font-size: clamp(23px, 2.75vw, 38px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.014em;
  word-spacing: .035em;
}
.work-stats h2 span { color: var(--blue); }
.work-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}
.work-stats-grid > div {
  display: grid;
  align-content: start;
  gap: clamp(7px, 1vw, 14px);
  padding-inline-end: clamp(12px, 2.4vw, 34px);
}
.work-stats-grid > div + div {
  border-inline-start: 1px solid var(--blue);
  padding-inline-start: clamp(14px, 3vw, 44px);
}
.work-stats dt {
  color: var(--muted);
  font-size: clamp(14px, 1.65vw, 22px);
  font-weight: 550;
  line-height: 1.2;
}
.work-stats dd {
  grid-row: 1;
  margin: 0;
  font-size: clamp(55px, 8.2vw, 117px);
  font-weight: 550;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.04em;
  line-height: .96;
}

@media (max-width: 690px) {
  .work-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-stats-grid > div { padding-block: 14px 18px; }
  .work-stats-grid > div:nth-child(3) {
    border-inline-start: 0;
    padding-inline-start: 0;
  }
  .work-stats-grid > div:nth-child(n + 3) {
    border-block-start: 1px solid var(--blue);
    padding-block-end: 0;
  }
  .work-stats h2 { margin-block-end: 13px; }
  .work-stats dd { font-size: clamp(55px, 12vw, 79px); }
}

@supports (animation-timeline: view()) and (animation-range: entry 0% entry 75%) {
  @media (prefers-reduced-motion: no-preference) {
    .work-stats-inner {
      animation: work-stats-enter linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 75%;
    }
    @keyframes work-stats-enter {
      from { opacity: .7; transform: translateY(10px); }
    }
  }
}

.contact h2 { font-size: clamp(55px, 8.1vw, 130px); }
.contact-methods { min-width: 0; display: grid; gap: 18px; }
.contact-direct { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.contact-card {
  display: grid;
  position: relative;
  align-content: center;
  justify-items: start;
  gap: 7px;
  min-height: clamp(105px, 11vw, 158px);
  min-width: 0;
  color: var(--ink);
  background: #f0eee8;
  padding: clamp(13px, 1.9vw, 27px);
  border-radius: 6px;
  transition: background .18s ease, color .18s ease;
}
.contact-card:hover { background: #e3e9fa; }
.contact-action { font-size: clamp(19px, 2.2vw, 32px); font-weight: 720; line-height: 1; letter-spacing: -.045em; }
.contact-value { font-size: clamp(12px, 1.3vw, 18px); font-weight: 580; overflow-wrap: anywhere; }
.contact-arrow {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 12px 12px auto auto;
  width: 27px;
  height: 27px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.contact-socials { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.contact-socials a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 41px;
  padding: 6px 13px;
  border: 1px solid #79766e;
  border-radius: 5px;
  font-size: 14px;
}
.contact-socials a:hover { border-color: var(--light-blue); color: var(--light-blue); }

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; }
  .contact-break { display: none; }
}
@media (max-width: 690px) {
  .opening-hero { padding-top: clamp(37px, 7svh, 72px); }
  .opening-hero h1 { font-size: clamp(55px, 17vw, 96px); }
  .opening-hero > .hero-role { margin-top: 13px; font-size: clamp(16px, 4.8vw, 23px); }
  .opening-hero .opening-portrait {
    top: clamp(145px, 22svh, 212px);
    bottom: auto;
    width: min(86vw, 370px);
    height: clamp(230px, 43svh, 367px);
  }
  .hero-details .hero-cta { min-height: 41px; margin-top: 8px; padding-inline: 10px; font-size: 11px; gap: 6px; }
  .work-body { grid-template-columns: minmax(0,1fr) minmax(0,.73fr); gap: 0 10px; }
  .work-body .project-status { min-height: 92px; }
  .work-body .project-status .text-link { margin-top: 7px; }
  .work-body .project-index h3 { margin-bottom: 5px; }
  .wheel .wheel-card .cover-arrow { width: 22px; height: 22px; inset: auto 7px 7px auto; }
  .wheel .wheel-card .cover-arrow .arrow { scale: .82; }
  .client-header { grid-template-columns: 1fr; gap: 19px; }
  .client-header h1 { font-size: clamp(49px, 14vw, 82px); }
  .client-lockup { aspect-ratio: 2.05; }
  .contact-direct { gap: 9px; }
  .contact-value { font-size: clamp(11px, 3.25vw, 16px); }
  .contact-arrow { inset: 8px 8px auto auto; width: 21px; height: 21px; }
  .contact-arrow .arrow { scale: .75; }
}
@media (max-width: 360px) {
  .contact-direct { grid-template-columns: 1fr; }
  .contact-card { min-height: 91px; }
  .contact-value { font-size: 13px; }
}

@media (max-height: 509px) {
  .work-stage { min-height: 420px; }
  .work-body .wheel { min-height: 170px; }
}

/* The portrait carries the opening into the About section. */
.hero-transition.has-motion { min-height: calc(var(--hero-height, 91.6svh) + 48svh); }
.has-motion > .opening-hero {
  position: sticky;
  top: 0;
  overflow: clip;
}
.has-motion > .opening-hero .opening-portrait {
  will-change: transform;
  transform-origin: 50% 24%;
  transform: translate(-50%, var(--portrait-rise, 0px)) scale(var(--portrait-zoom, 1));
}
.has-motion > .opening-hero :is(h1, .hero-role, .hero-details, .hero-description) {
  opacity: var(--hero-copy-opacity, 1);
}
.has-motion > .opening-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: min(20svh, 158px);
  background: linear-gradient(transparent, var(--paper));
  opacity: var(--portrait-fade, 0);
  pointer-events: none;
}
.has-motion > .opening-hero:focus-within .hero-details { opacity: 1; }
.about-frame img { object-position: 44% 47%; filter: none; }
.about-shade { background: linear-gradient(180deg, #080a1330 8%, transparent 48%, #0a0a10eb 100%); }

/* Work and client pages share the same logo card. */
.wheel-card .brand-surface, .client-lockup { background: #e8e5db; }
.wheel .brand-logo, .client-lockup .brand-logo {
  width: 68%;
  height: 65%;
  max-width: 365px;
}

.client-header { align-items: start; }
.client-header h1 { margin-bottom: clamp(15px, 2vw, 27px); }
.case-intro { display: grid; gap: 13px; max-width: 60ch; }
.case-intro p {
  margin: 0;
  font-size: clamp(16px, 1.55vw, 21px);
  line-height: 1.53;
  color: var(--muted);
}
.case-intro .case-scope { font-size: clamp(15px, 1.4vw, 18px); font-weight: 720; color: var(--ink); }
.case-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 30px 0;
}
.case-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
}
.case-nav a:hover { background: var(--ink); color: var(--paper); }
.case-nav .arrow { scale: .68; flex-shrink: 0; }

.portfolio-story {
  border-top: 1px solid var(--line);
  margin-top: clamp(35px, 5.6vw, 84px);
  padding-top: clamp(27px, 4.45vw, 64px);
  scroll-margin-top: 20px;
}
.story-copy {
  display: grid;
  grid-template-columns: minmax(220px, .85fr) minmax(0, 1.55fr);
  align-items: start;
  gap: clamp(22px, 5.5vw, 78px);
}
.story-copy h2 {
  font-size: clamp(31px, 4.1vw, 61px);
  font-weight: 740;
  letter-spacing: -.064em;
  line-height: .99;
  text-wrap: balance;
}
.story-text, .event-copy {
  color: #3e3d36;
  max-width: 71ch;
  font-size: clamp(16px, 1.36vw, 19px);
  line-height: 1.6;
}
.story-text p, .event-copy p { margin: 0 0 .86em; }
.story-text p:last-child, .event-copy p:last-child { margin-bottom: 0; }
.case-intro strong, .story-text strong, .event-copy strong { color: var(--blue); }
.story-text h3, .event-copy h2 {
  margin: 1.3em 0 .38em;
  font-size: clamp(19px, 2vw, 29px);
  line-height: 1.1;
  letter-spacing: -.045em;
  color: var(--ink);
}
.story-text h3:first-child, .event-copy h2:first-child { margin-top: 0; }
.event-copy { max-width: 75ch; margin-inline: auto; }

.film-collection {
  display: grid;
  gap: clamp(20px, 3.5vw, 48px);
  margin-top: clamp(24px, 4vw, 57px);
}
.film-row { display: grid; gap: clamp(20px, 3.1vw, 44px); }
.film-row--portrait {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 810px);
  margin-inline: auto;
}
.film-row--portrait .film:only-child {
  grid-column: 1 / -1;
  width: min(100%, 385px);
  justify-self: center;
}
.film-row--landscape { width: min(100%, 1060px); margin-inline: auto; }
.film { position: relative; min-width: 0; margin: 0; }
.film-surface {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: var(--film-ratio);
  border-radius: clamp(8px, 1.2vw, 15px);
  background: #161619;
  box-shadow: 0 10px 28px #221c171e;
}
.film video {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: contain;
  background: #131315;
}
.film-cover {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffffff23;
  border-radius: inherit;
  background: radial-gradient(ellipse at 28% 14%, #4c4c45 0%, transparent 74%), linear-gradient(153deg, #24262c, #131316 84%);
  color: #fff;
  cursor: pointer;
}
.film-surface[data-ready] .film-cover:not([hidden]) { display: grid; }
.film-cover:focus-visible, .film video:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
.film-play {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border-radius: 100px;
  min-height: 50px;
  padding: 0 23px 0 19px;
  background: #efeee9;
  color: var(--ink);
  box-shadow: 0 6px 22px #0c0c105c;
  font-size: 14px;
  font-weight: 750;
  transition: background .18s ease, transform .18s ease;
}
.film-cover:hover .film-play { transform: scale(1.07); background: white; }
.film-cover:disabled { cursor: wait; }
.film-cover:disabled .film-play { opacity: .8; transform: none; }
.play-icon {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--blue);
}
.film figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 13px;
  padding: 10px 1px 0;
  color: var(--ink);
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.34;
  font-weight: 680;
}
.film time { color: var(--muted); font-size: 13px; font-weight: 560; font-variant-numeric: tabular-nums; }
.film:has(.film-surface[data-ready] .film-cover:not([hidden])) figcaption {
  position: relative;
  z-index: 2;
  margin-inline: clamp(12px, 2.2vw, 28px);
  transform: translateY(calc(-100% - 12px));
  pointer-events: none;
  color: #f1f0ea;
}
.film:has(.film-surface[data-ready] .film-cover:not([hidden])) time {
  color: #e8e5db;
  padding: .2em .6em;
  border: 1px solid #ffffff52;
  border-radius: 100px;
}
.film-error { padding-top: 8px; font-size: 14px; }
.film-error a { text-decoration: underline; }
.billboard-section { margin: clamp(35px, 5vw, 70px) auto 0; width: min(100%, 800px); }
.billboard-section h3 { margin-bottom: 13px; font-size: clamp(19px, 2.5vw, 29px); letter-spacing: -.037em; }
.billboard-section .case-gallery { gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.billboard-section figure { margin: 0; }
.billboard-section img { display: block; aspect-ratio: 1.15; height: auto; width: 100%; object-fit: contain; background: #e8e5db; }

.contact-inner { grid-template-columns: minmax(0, .85fr) minmax(0, 1.2fr); align-items: center; gap: clamp(26px, 6vw, 92px); }
.contact h2 { font-size: clamp(61px, 9.9vw, 150px); }
.contact-card { min-height: clamp(122px, 14vw, 186px); }
.contact-action { font-size: clamp(21px, 2.35vw, 34px); }
.contact-socials a { min-height: 49px; padding-inline: 16px; font-size: 15px; }

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 690px) {
  .hero-transition.has-motion { min-height: calc(var(--hero-height, 91.6svh) + 33svh); }
  .about-frame img { object-position: 34% 45%; }
  .story-copy { grid-template-columns: 1fr; gap: 15px; }
  .story-copy h2 { max-width: 25ch; }
  .film-row--portrait { grid-template-columns: 1fr; width: min(100%, 380px); }
  .film:has(.film-surface--wide[data-ready] .film-cover:not([hidden])) figcaption { margin-inline: 0; transform: none; color: var(--ink); }
  .film:has(.film-surface--wide[data-ready] .film-cover:not([hidden])) time { padding: 0; color: var(--muted); border: 0; }
  .contact-direct { grid-template-columns: 1fr; gap: 8px; }
  .contact-card { min-height: 96px; }
  .contact-value { font-size: 15px; }
  .contact-socials a { padding-inline: 12px; }
}

@media (max-height: 565px) {
  .hero-transition.has-motion { min-height: 0; }
  .has-motion > .opening-hero { position: relative; }
}

@media (prefers-reduced-motion: reduce) {
  .film-play { transition: none; }
}

/* Type and text move independently over a continuous About stage. */
.about-details {
  --about-panel-width: 88%;
  --about-inset: clamp(36px, 7.4vw, 116px);
  position: relative;
  color: #f5f4f0;
  background: radial-gradient(ellipse at 18% 56%, #1d2232, #111219 68%);
}
.about-details[data-motion="horizontal"] {
  min-height: calc(100svh + var(--about-distance, 0px));
}
.about-detail-stage { position: relative; }
.about-details[data-motion="horizontal"] .about-detail-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}
.about-detail-backdrop {
  display: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  color: #edf0ff;
  opacity: .11;
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 86%, transparent);
}
.about-details[data-motion="horizontal"] .about-detail-backdrop { display: block; }
.about-detail-backdrop span {
  position: absolute;
  left: 0;
  font-size: clamp(110px, 15vw, 246px);
  line-height: .92;
  font-weight: 700;
  letter-spacing: -.026em;
  text-transform: uppercase;
  white-space: nowrap;
  will-change: transform;
}
.about-detail-backdrop span:first-child {
  top: 16%;
  transform: translate3d(calc(-16vw + var(--about-background-shift, 0px)), 0, 0);
}
.about-detail-backdrop span:last-child {
  bottom: 13%;
  transform: translate3d(calc(-39vw + var(--about-background-shift, 0px) * .76), 0, 0);
}
.about-detail-track { position: relative; }
.about-details[data-motion="horizontal"] .about-detail-track {
  display: flex;
  height: 100%;
  transform: translate3d(var(--about-shift, 0px), 0, 0);
  will-change: transform;
}
.about-detail { min-width: 0; padding-inline: var(--about-inset); }
.about-details[data-motion="horizontal"] .about-detail {
  display: grid;
  align-items: center;
  flex: 0 0 var(--about-panel-width);
  padding-inline: var(--about-inset) clamp(30px, 7vw, 100px);
}
.about-detail-inner {
  width: min(100%, 1050px);
  margin: 0;
  padding-block: clamp(34px, 4vw, 66px);
}
.about-detail h3 {
  position: relative;
  isolation: isolate;
  margin: 0;
  width: fit-content;
  max-width: 100%;
  font-size: clamp(44px, 6.35vw, 95px);
  font-weight: 740;
  text-wrap: balance;
}
.about-heading-echo {
  position: absolute;
  z-index: -1;
  inset: 0;
  color: #dbe3fb;
  opacity: var(--about-echo-opacity, 0);
  pointer-events: none;
}
.about-heading-echo::before,
.about-heading-echo::after {
  content: attr(data-title);
  position: absolute;
  inset: 0;
  filter: blur(.7px);
  transform: translateX(var(--about-echo-shift, 0px));
}
.about-heading-echo::after {
  opacity: .5;
  transform: translateX(calc(var(--about-echo-shift, 0px) * 1.9));
}
.about-detail-copy {
  max-width: 76ch;
  margin-top: clamp(15px, 1.9vw, 28px);
  color: #e8e9ed;
  font-size: clamp(16px, 1.31vw, 19px);
  line-height: 1.57;
}
.about-detail p + p { margin-top: .77em; }
.about-detail strong {
  color: #a4bbff;
}
.about-details[data-motion="horizontal"] .about-detail-copy {
  transform: translate3d(var(--about-copy-inset, 0px), 0, 0);
}
.about-details:not([data-motion="horizontal"]) .about-detail + .about-detail .about-detail-inner {
  border-top: 1px solid #ffffff26;
}
.about-details[data-motion="reveal"] .about-detail { overflow: clip; }
.about-details[data-motion="reveal"] .about-detail h3 {
  transform: translateX(var(--panel-entry, 0px));
}
.about-details[data-motion="reveal"] .about-detail-copy {
  transform: translateX(calc(var(--panel-entry, 0px) * 1.25));
}

.editorial-films {
  width: min(100%, 1060px);
  gap: clamp(15px, 2.4vw, 32px);
  margin-inline: auto;
}
.film-group-title {
  margin: 0;
  font-size: clamp(18px, 2vw, 27px);
  font-weight: 720;
  line-height: 1.12;
  letter-spacing: -.042em;
}
.editorial-films .film-row { gap: clamp(15px, 2.4vw, 30px); align-items: start; }
.editorial-films .film-row--paired { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.editorial-films .film-row--mixed { grid-template-columns: minmax(0, 1.65fr) minmax(0, .52fr); }
.editorial-films .film-row--portrait-first { grid-template-columns: minmax(0, .52fr) minmax(0, 1.65fr); }
.editorial-films .film-row--portrait { width: min(100%, 705px); }
.editorial-films .film-row--single .film--portrait { width: min(100%, 350px); margin-inline: auto; }
.editorial-films:has(.film-row--paired):has(.film-row--single .film--portrait) > .film-group-title {
  width: min(100%, 705px);
  margin-inline: auto;
}
.editorial-films > .film-row--paired + .film-row--single { width: min(100%, 515px); }
.editorial-films > .film-row--paired + .film-row--single:has(.film--portrait) { width: min(100%, 350px); }
.editorial-films .film-row--ultrawide .film-surface--wide[data-ready] .film-cover { min-height: 62px; }
.editorial-films .film:has(.film-surface--wide[data-ready] .film-cover:not([hidden])) figcaption {
  transform: none;
  color: var(--ink);
  margin-inline: 0;
}
.editorial-films .film:has(.film-surface--wide[data-ready] .film-cover:not([hidden])) time {
  padding: 0;
  border: 0;
  color: var(--muted);
}

@media (max-width: 690px) {
  .about-details { --about-inset: clamp(18px, 5.2vw, 35px); }
  .about-detail h3 { font-size: clamp(34px, 9vw, 55px); }
  .editorial-films .film-row--paired,
  .editorial-films .film-row--mixed { grid-template-columns: 1fr; }
  .editorial-films .film--portrait { width: min(100%, 350px); margin-inline: auto; }
}

/* Large headings use open spacing at every viewport. */
.opening-hero h1,
.about-title,
.about-detail h3,
.work-header h2,
.project-status h3,
.client-header h1,
.story-copy h2,
.contact h2 {
  letter-spacing: -.014em;
  word-spacing: .035em;
  line-height: 1.04;
}
.opening-hero h1 { line-height: .89; }
.opening-hero > .hero-role { letter-spacing: -.015em; word-spacing: .025em; }
.about-title { line-height: 1.02; }
.story-text h3,
.event-copy h2,
.film-group-title,
.billboard-section h3,
.contact-action { letter-spacing: -.007em; word-spacing: .025em; }

/* Read the case study in one continuous column before its work samples. */
.portfolio-story {
  margin-top: clamp(43px, 6.3vw, 95px);
}
.portfolio-story > .film-collection {
  margin-block: clamp(22px, 3.1vw, 44px) 0;
}
.portfolio-story > .film-collection + .film-collection {
  margin-top: clamp(20px, 3.2vw, 46px);
}
.case-end {
  padding-top: clamp(22px, 3.5vw, 44px);
  border-top: 1px solid var(--line);
  margin-top: clamp(42px, 6.4vw, 90px);
}
.case-end .back-link {
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 100px;
}
.case-end .back-link:hover { border-color: var(--blue); }
.case-reference .text-link { margin-top: .45em; color: var(--blue); }
.case-nav a[aria-current="location"] {
  color: var(--blue);
  border-color: var(--blue);
}
.case-nav a:hover { background: #e3e9fa; color: var(--blue); }
.case-nav { scroll-margin-top: 16px; }
.campaign-shortcut { display: none; }

.film-surface { overflow: hidden; }
.film-surface:focus-within { outline: 2px solid var(--blue); outline-offset: 4px; }
.film-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #161619;
  pointer-events: none;
}
.film-surface[data-started] .film-poster { display: none; }
.film-cover { background: transparent; }
.film-cover::before {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  border-radius: inherit;
  background: linear-gradient(transparent, #08080ad9);
  pointer-events: none;
}
.film-play { position: relative; }
.film-fallback { display: inline-block; margin-top: 8px; text-decoration: underline; }

.contact-email { position: relative; min-width: 0; }
.contact-email > .contact-card { height: 100%; padding-inline-end: clamp(34px, 4vw, 57px); }
.contact-arrow { color: var(--blue); }
.copy-email {
  position: absolute;
  top: calc(50% + 15px);
  right: clamp(2px, .6vw, 10px);
  transform: translateY(-50%);
  width: 38px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 5px;
  color: #55544f;
  background: transparent;
  cursor: pointer;
}
.copy-email[hidden] { display: none; }
.copy-email:hover { color: var(--blue); }
.copy-icon { position: relative; width: 13px; height: 14px; }
.copy-icon::before, .copy-icon::after {
  content: "";
  position: absolute;
  height: 10px;
  width: 8px;
  border: 1px solid currentColor;
  border-radius: 2px;
}
.copy-icon::before { top: 0; left: 0; }
.copy-icon::after { bottom: 0; right: 0; background: #f0eee8; }
.copy-confirmation {
  position: absolute;
  right: 9px;
  bottom: 8px;
  z-index: 1;
  color: #33322e;
  font-size: 11px;
  font-weight: 670;
  pointer-events: none;
}

@media (max-width: 690px) {
  .campaign-shortcut:not([hidden]) {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    position: fixed;
    z-index: 4;
    inset: auto 14px max(14px, env(safe-area-inset-bottom)) auto;
    padding: 0 12px;
    min-height: 40px;
    border: 1px solid #b9b8af;
    border-radius: 100px;
    box-shadow: 0 3px 13px #0b0b1024;
    background: var(--paper);
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
  }
  .campaign-shortcut[data-over-video] { visibility: hidden; }
  .campaign-shortcut .arrow { scale: .7; }
  .contact-email > .contact-card { padding-inline-end: 48px; }
  .copy-email { right: 8px; }
}

/* The navigation and compact action buttons share a restrained glass treatment. */
:is(.opening-nav nav, .quick-nav) {
  background: linear-gradient(156deg, #fcfbf5, #efeee8);
  border-color: #c5c5bc;
  box-shadow: inset 0 1px 0 #ffffffd6, 0 4px 16px #29251b0d;
}
:is(.opening-nav nav, .quick-nav) a[aria-current] {
  background: linear-gradient(157deg, #fffefb, #efeee9);
  border-color: #cfcec6;
  box-shadow: inset 0 1px 0 #fff, 0 2px 6px #211e1610;
}
.quick-nav { display: none; }

@media (min-width: 691px) {
  .opening-nav { z-index: 6; }
  .opening-nav nav {
    position: fixed;
    inset-block-start: max(36px, 4.2svh);
    inset-inline-start: 50%;
    transform: translate(-50%, -50%) scale(var(--opening-nav-scale, 1.12));
  }
  .opening-nav[data-docked] nav {
    background: linear-gradient(156deg, #fffffff0, #f6f3ebea);
  }
  .work-stage { padding-block-start: calc(max(36px, 4.2svh) + 29px); }
}

@media (min-width: 691px) and (prefers-reduced-motion: reduce) {
  .opening-nav nav { --opening-nav-scale: 1; }
}

@media (max-width: 690px) {
  .quick-nav:not([hidden]) {
    position: fixed;
    z-index: 5;
    inset-block-start: max(9px, env(safe-area-inset-top));
    inset-inline-end: max(18px, env(safe-area-inset-right));
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid #c5c5bc;
    border-radius: 999px;
  }
  .quick-nav a {
    display: grid;
    min-height: 36px;
    place-items: center;
    padding-inline: 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 650;
    line-height: 1;
    white-space: nowrap;
  }
  .quick-nav a[aria-current] { color: var(--blue); }
}

@media (min-width: 520px) and (max-width: 690px) {
  .work-header h2 { max-inline-size: calc(100% - 132px); }
}

.hero-details .hero-cta {
  border: 1px solid #ffffff28;
  background: linear-gradient(157deg, #34363c, #17181c 65%);
  box-shadow: inset 0 1px 0 #ffffff3b, inset 0 -1px 0 #0009, 0 7px 17px #16151b24;
}
.hero-details .hero-cta:hover {
  background: linear-gradient(155deg, #154bd2, var(--blue) 65%);
}
.film-play, .campaign-shortcut:not([hidden]) {
  border: 1px solid #ffffffaf;
  background: linear-gradient(160deg, #fffef9, #ebeae4);
  box-shadow: inset 0 1px 0 #fff, 0 5px 15px #0d0d172f;
}
.film-cover:hover .film-play {
  background: linear-gradient(160deg, #fff, #efeee9);
}

@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  :is(.opening-nav nav, .quick-nav), :is(.opening-nav nav, .quick-nav) a[aria-current], .film-play, .campaign-shortcut:not([hidden]) {
    -webkit-backdrop-filter: blur(13px) saturate(1.18);
    backdrop-filter: blur(13px) saturate(1.18);
  }
  .opening-nav nav { background: linear-gradient(156deg, #ffffffa8, #faf9f047); }
  .opening-nav nav a[aria-current] { background: linear-gradient(157deg, #fffc, #f2f0e981); }
  .quick-nav { background: linear-gradient(156deg, #fffffff0, #f6f3ebea); }
  .film-play, .campaign-shortcut:not([hidden]) { background: linear-gradient(160deg, #fffef9e9, #ebeae4cf); }
  .film-cover:hover .film-play { background: linear-gradient(160deg, #fffffff5, #efeee9ea); }
  .hero-details .hero-cta {
    background: linear-gradient(157deg, #34363ce9, #17181cfa 65%);
    -webkit-backdrop-filter: blur(14px) saturate(1.12);
    backdrop-filter: blur(14px) saturate(1.12);
  }
  .hero-details .hero-cta:hover { background: linear-gradient(155deg, #154bd2, var(--blue) 65%); }
}
