/* ==========================================================
   Linex Studios
   Palette: monochrome only. Colour lives in the footage.
   Shape rule: controls are pills, fields are 12px, media is 4px.
   ========================================================== */

@font-face {
  font-family: "Unbounded";
  src: url("/assets/fonts/unbounded.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #080808;
  --carbon: #121212;
  --graphite: #1b1b1b;
  --ash: #8f8f8b;
  --smoke: #bdbdb8;
  --bone: #efefeb;
  --line: rgba(239, 239, 235, 0.14);
  --line-strong: rgba(239, 239, 235, 0.32);

  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;

  --fs-hero: clamp(2.3rem, 5.4vw, 5.6rem);
  --fs-h2: clamp(1.9rem, 3.9vw, 3.5rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.85rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(96px, 14vw, 200px);
  --nav-h: 68px;

  --r-media: 4px;
  --r-field: 12px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
figure { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 2 * var(--gutter), 1440px); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--bone); color: var(--ink); padding: 10px 16px; border-radius: 999px;
}
.skip:focus { top: 16px; }

.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px;
  border-radius: 999px;
  font-family: var(--body); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out), transform .2s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--sm { --h: 42px; padding: 0 20px; font-size: 0.875rem; }
.btn--light { background: var(--bone); color: var(--ink); }
.btn--light:hover { background: #ffffff; }
.btn--ghost { color: var(--bone); border: 1px solid var(--line-strong); background: rgba(8, 8, 8, 0.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--bone); background: rgba(8, 8, 8, 0.6); }
.btn__icon { width: 16px; height: 16px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Intro shutter ---------- */
.intro { position: fixed; inset: 0; z-index: 150; pointer-events: none; display: none; }
.js-intro .intro { display: block; }
.intro__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); }
.intro__panel--top { top: 0; }
.intro__panel--bottom { bottom: 0; }
.intro__mark {
  position: absolute; left: 50%; top: 50%;
  width: min(62vw, 520px); height: auto;
  transform: translate(-50%, -50%);
  clip-path: inset(0 100% 0 0);
}

.js-intro .hero__title .line > span { transform: translateY(110%); }
.js-intro [data-hero-fade] { opacity: 0; transform: translateY(16px); }
.js-intro .nav { opacity: 0; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition: transform .5s var(--ease-out), background-color .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(8, 8, 8, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { height: 22px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 36px; font-size: 0.925rem; color: var(--smoke); }
.nav__links a { position: relative; padding: 6px 0; transition: color .3s ease; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--bone);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav__links a:hover { color: var(--bone); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__drop { position: relative; }
.nav__drop-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; color: var(--smoke); font-size: 0.925rem; transition: color .3s ease; }
.nav__drop-btn svg { width: 12px; height: 12px; transition: transform .35s var(--ease-out); }
.nav__drop:hover .nav__drop-btn, .nav__drop.is-open .nav__drop-btn { color: var(--bone); }
.nav__drop.is-open .nav__drop-btn svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 14px); left: -18px; min-width: 210px;
  padding: 8px; border-radius: 14px;
  background: rgba(18, 18, 18, 0.92); border: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s ease, transform .35s var(--ease-out), visibility 0s linear .35s;
}
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__drop.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .35s var(--ease-out), visibility 0s; }
.nav__links .nav__menu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--smoke); white-space: nowrap; }
.nav__links .nav__menu a::after { display: none; }
.nav__links .nav__menu a:hover, .nav__links .nav__menu a:focus-visible { background: rgba(239, 239, 235, 0.08); color: var(--bone); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,8,8,.55) 0%, rgba(8,8,8,0) 22%),
    linear-gradient(0deg, rgba(8,8,8,.92) 0%, rgba(8,8,8,.45) 38%, rgba(8,8,8,0) 70%);
}
.hero__content { position: relative; padding-bottom: clamp(40px, 7vh, 88px); }
.hero__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: var(--fs-hero);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero__title .line > span { display: inline-block; }
.hero__sub { margin-top: 26px; max-width: 46ch; color: var(--smoke); font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.55; }
.hero__ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Clients ---------- */
.clients { border-bottom: 1px solid var(--line); }
.clients__inner { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 40px; padding-block: 44px; }
.clients__title { font-family: var(--body); font-weight: 400; font-size: var(--fs-small); color: var(--ash); max-width: 16ch; line-height: 1.4; }
.clients__logos { display: flex; align-items: center; justify-content: space-between; gap: clamp(20px, 2.6vw, 48px); }
.clients__logos li { flex: none; }
.clients__logos img { height: 26px; width: auto; opacity: .72; transition: opacity .3s ease; }
.clients__logos li:nth-child(1) img { height: clamp(14px, 1.3vw, 19px); }
.clients__logos li:nth-child(2) img { height: clamp(17px, 1.6vw, 23px); }
.clients__logos li:nth-child(3) img { height: clamp(18px, 1.7vw, 25px); }
.clients__logos li:nth-child(4) img { height: clamp(20px, 1.9vw, 27px); }
.clients__logos li:nth-child(5) img { height: clamp(15px, 1.4vw, 20px); }
.clients__logos img:hover { opacity: 1; }

/* ---------- Manifesto ---------- */
.manifesto { padding-block: var(--section); }
.manifesto__text {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.3vw, 3.1rem);
  line-height: 1.24;
  letter-spacing: -0.025em;
  max-width: 26ch;
}
.manifesto__text .w { opacity: .16; transition: none; }
.no-motion .manifesto__text .w { opacity: 1; }

/* ---------- Work: shared ---------- */
.work { padding-bottom: var(--section); }
.work > .wrap:first-child { margin-bottom: clamp(40px, 6vw, 72px); }
.project__meta { font-size: var(--fs-small); color: var(--ash); }
.project__title {
  font-family: var(--display); font-weight: 400;
  font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -0.02em;
  margin-top: 8px;
}
.project__desc { color: var(--smoke); max-width: 44ch; margin-top: 14px; }
.project .btn { margin-top: 22px; }

.media { position: relative; overflow: hidden; border-radius: var(--r-media); background: var(--carbon); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media--portrait { aspect-ratio: 9 / 16; }
.media--tall { aspect-ratio: 9 / 16; }
.media--threefour { aspect-ratio: 3 / 4; }

/* 1. Film: expands to full bleed on scroll */
.film__frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 100dvh;
  overflow: hidden; background: var(--carbon);
  clip-path: inset(0 var(--gutter) 0 var(--gutter) round var(--r-media));
}
.film__video { width: 100%; height: 100%; object-fit: cover; }
.film__caption {
  display: grid; grid-template-columns: 1fr 1.2fr auto; align-items: end; gap: 32px;
  padding-top: 28px;
}
.film__caption .project__desc { margin-top: 0; }
.film__caption .btn { margin-top: 0; }

/* 2. Rare: sticky text + staggered columns */
.rare { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); margin-top: var(--section); }
.rare__text { position: sticky; top: calc(var(--nav-h) + 48px); align-self: start; }
.rare__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 24px); }
.rare__col { display: grid; gap: clamp(12px, 1.6vw, 24px); align-content: start; }
.rare__col--offset { margin-top: clamp(60px, 12vw, 200px); }

/* 3. Story: pinned horizontal pan */
.story { margin-top: var(--section); overflow: hidden; }
.story__track {
  display: flex; align-items: center; gap: clamp(16px, 2vw, 32px);
  height: 100dvh;
  padding-inline: var(--gutter);
  width: max-content;
}
.story__intro { width: min(420px, 80vw); flex: none; padding-right: clamp(16px, 4vw, 64px); }
.story__frame { flex: none; width: clamp(300px, 58vw, 1000px); aspect-ratio: 16 / 9; border-radius: var(--r-media); overflow: hidden; background: var(--carbon); position: relative; }
.story__frame img, .story__frame video { width: 100%; height: 100%; object-fit: cover; }
.story__frame:nth-of-type(even) { transform: translateY(6vh); }
.story__frame--film { width: clamp(320px, 70vw, 1180px); }
.story__frame--film figcaption {
  position: absolute; left: 16px; bottom: 14px;
  font-size: var(--fs-small); color: var(--bone);
  text-shadow: 0 1px 12px rgba(0,0,0,.6);
}

/* Fallback (touch, small screens, reduced motion): native swipe */
.story.is-native { overflow: visible; }
.story.is-native .story__track {
  height: auto; width: auto; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-block: 12px 24px; scrollbar-width: none; scroll-padding-inline: var(--gutter);
}
.story.is-native .story__track::-webkit-scrollbar { display: none; }
.story.is-native .story__frame { scroll-snap-align: center; transform: none; width: 84vw; }
.story.is-native .story__intro { scroll-snap-align: start; }

/* 4 + 5. Pair */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 120px); margin-top: var(--section); align-items: start; }
.pair__item .media { margin-bottom: 26px; }
.pair__item:first-child .media { max-width: 460px; }
.pair__item--offset { margin-top: clamp(80px, 16vw, 260px); }
.pair__item--offset .media { max-width: 560px; }

/* ---------- Services ---------- */
.services { padding-block: var(--section); border-top: 1px solid var(--line); position: relative; }
.services .section-title { margin-bottom: clamp(36px, 5vw, 64px); }
.services__list { max-width: 1100px; }
.service__head {
  display: block; width: 100%; text-align: left;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.5rem, 3.6vw, 3.2rem); line-height: 1.12; letter-spacing: -0.03em;
  padding: 0.28em 0;
  color: var(--ash);
  transition: color .4s var(--ease-out), transform .5s var(--ease-out);
}
.service.is-active .service__head { color: var(--bone); transform: translateX(14px); }
.service__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.service__body > p { overflow: hidden; color: var(--smoke); max-width: 52ch; }
.service.is-active .service__body { grid-template-rows: 1fr; }
.service.is-active .service__body > p { padding: 4px 0 18px 14px; }


/* ---------- Stack ---------- */
.stack { padding-top: var(--section); border-top: 1px solid var(--line); overflow: hidden; }
.stack__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.stack__title { max-width: 16ch; }
.stack__groups { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 0; }
.stack__groups dt { font-size: var(--fs-small); color: var(--ash); margin-bottom: 12px; }
.stack__groups dd { margin: 0; font-size: 1.1rem; line-height: 1.9; }

.marquee { margin-top: clamp(64px, 9vw, 120px); padding-block: 28px; border-block: 1px solid var(--line); overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__group { display: flex; flex: none; }
.marquee__group li {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(1.4rem, 2.6vw, 2.4rem); letter-spacing: -0.02em; white-space: nowrap;
  padding-right: clamp(40px, 5vw, 80px);
  color: var(--smoke);
}
.marquee__group li::after { content: "/"; margin-left: clamp(40px, 5vw, 80px); color: var(--ash); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Process: sticky stack ---------- */
.process { padding-block: var(--section); }
.process .section-title { margin-bottom: clamp(40px, 6vw, 80px); }
.process__stack { display: grid; gap: 24px; }
.step {
  position: sticky; top: calc(var(--nav-h) + 24px);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: stretch;
  min-height: min(68vh, 620px);
  padding: clamp(24px, 3.4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--r-media);
  background: var(--carbon);
  transform-origin: 50% 0;
  --dim: 0;
}
.step::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: var(--ink); opacity: var(--dim); pointer-events: none; }
.step:nth-child(2) { top: calc(var(--nav-h) + 48px); background: var(--graphite); }
.step:nth-child(3) { top: calc(var(--nav-h) + 72px); background: #232323; }
.step__text { display: flex; flex-direction: column; }
.step__num { font-family: var(--display); font-weight: 200; font-size: clamp(3.5rem, 8vw, 7.5rem); line-height: 1; letter-spacing: -0.05em; color: var(--ash); }
.step h3 { margin-top: auto; font-family: var(--display); font-weight: 400; font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.15; }
.step p { margin-top: 12px; color: var(--smoke); max-width: 40ch; }
.step__media { border-radius: var(--r-media); overflow: hidden; background: var(--ink); min-height: 220px; }
.step__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Contact ---------- */
.contact { padding-block: var(--section); border-top: 1px solid var(--line); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact__intro { position: sticky; top: calc(var(--nav-h) + 48px); }
.contact__lede { margin-top: 20px; color: var(--smoke); max-width: 36ch; }
.contact__direct { margin-top: 36px; display: grid; gap: 4px; }
.contact__direct a {
  display: inline-flex; gap: 12px; align-items: baseline; padding: 6px 0;
  font-size: 1.05rem;
}
.contact__direct a span:first-child { color: var(--ash); font-size: var(--fs-small); min-width: 84px; }
.contact__direct a span:last-child { border-bottom: 1px solid var(--line-strong); transition: border-color .3s ease; }
.contact__direct a:hover span:last-child { border-color: var(--bone); }

.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-size: var(--fs-small); color: var(--smoke); padding: 0; }
.field legend { margin-bottom: 8px; }
.req { color: var(--bone); }
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--bone);
  background: var(--carbon);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-field);
  padding: 14px 16px;
  transition: border-color .25s ease, background-color .25s ease;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: rgba(239,239,235,.5); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 2px solid var(--bone); outline-offset: 1px; border-color: var(--bone); }
.field [aria-invalid="true"] { border-color: #ff8a80; }
.field__help { font-size: 0.8125rem; color: var(--ash); }
.field__error { font-size: 0.8125rem; color: #ff9c94; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; pointer-events: none;
  border-right: 1.5px solid var(--smoke); border-bottom: 1.5px solid var(--smoke);
  transform: translateY(-70%) rotate(45deg);
}
.select option { background: var(--carbon); color: var(--bone); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 0.9rem; color: var(--smoke);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .2s var(--ease-out);
}
.chip:hover span { border-color: var(--bone); color: var(--bone); }
.chip input:checked + span { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.chip input:focus-visible + span { outline: 2px solid var(--bone); outline-offset: 3px; }
.chip input:active + span { transform: scale(.97); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form__status { font-size: 0.925rem; color: var(--smoke); max-width: 46ch; }
.form__status.is-error { color: #ff9c94; }
.form__status.is-ok { color: var(--bone); }

.btn .spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(8,8,8,.25); border-top-color: var(--ink);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form.is-sent { opacity: .45; pointer-events: none; transition: opacity .4s ease; }

/* ---------- Footer ---------- */
.footer { padding-block: clamp(64px, 9vw, 120px) calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.footer__mark { width: 100%; height: auto; opacity: .92; }
.footer__row { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 24px; align-items: start; font-size: 0.925rem; color: var(--ash); }
.footer__tag { max-width: 34ch; color: var(--smoke); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__links a { transition: color .3s ease; }
.footer__links a:hover { color: var(--bone); }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(8, 8, 8, 0.94);
  color: var(--bone);
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { animation: lb-in .45s var(--ease-out); }
@keyframes lb-in { from { opacity: 0; } }
.lightbox__inner {
  height: 100%; display: grid; place-items: center;
  padding: calc(72px + env(safe-area-inset-top, 0px)) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
}
.lightbox video { max-width: min(100%, 1600px); max-height: 100%; width: auto; height: auto; border-radius: var(--r-media); background: #000; }
.lightbox__close {
  position: absolute; top: calc(18px + env(safe-area-inset-top, 0px)); right: var(--gutter);
  height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 0.875rem;
}
.lightbox__close:hover { border-color: var(--bone); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .film__caption { grid-template-columns: 1fr; gap: 14px; }
  .film__caption .btn { justify-self: start; }
  .rare { grid-template-columns: 1fr; }
  .rare__text { position: static; }
  .stack__inner { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .contact__intro { position: static; }
}

@media (max-width: 767px) {
  :root { --nav-h: 60px; }
  .nav__links { display: none; }
  .nav__logo img { height: 18px; }
  .hero__sub { margin-top: 18px; }
  .clients__inner { grid-template-columns: 1fr; gap: 24px; padding-block: 32px; }
  .clients__logos { justify-content: flex-start; flex-wrap: wrap; gap: 24px 36px; }
  .film__frame { clip-path: none; aspect-ratio: 4 / 5; }
  .pair { grid-template-columns: 1fr; }
  .pair__item--offset { margin-top: 0; }
  .pair__item .media { max-width: none; }
  .service__body { grid-template-rows: 1fr; }
  .service__body > p { padding: 0 0 16px; }
  .service__head { color: var(--bone); }
  .service.is-active .service__head { transform: none; }
  .service.is-active .service__body > p { padding: 0 0 16px; }
  .step, .step:nth-child(2), .step:nth-child(3) { position: relative; top: auto; grid-template-columns: 1fr; min-height: 0; }
  .step__media { aspect-ratio: 16 / 10; min-height: 0; }
  .step h3 { margin-top: 20px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .step { position: relative; top: auto; }
}

/* ==========================================================
   Multi-page additions (Sept 2026)
   Same tokens, same motion language. No new colours.
   ========================================================== */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Nav: current page, end cluster, mobile menu ---------- */
.nav__links a[aria-current="page"] { color: var(--bone); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links .nav__menu a[aria-current="page"] { background: rgba(239, 239, 235, 0.08); color: var(--bone); }
.nav__end { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; min-width: 84px; }

.mnav {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink);
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 28px) 0 calc(32px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transition: opacity .35s ease;
}
.mnav[hidden] { display: none; }
.mnav.is-open { opacity: 1; }
.mnav__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.mnav__main a {
  display: block; padding: 4px 0;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.8rem, 8vw, 2.6rem); line-height: 1.25; letter-spacing: -0.03em;
  color: var(--smoke); transition: color .3s ease;
}
.mnav__main a:hover, .mnav__main a[aria-current="page"] { color: var(--bone); }
.mnav__label { font-size: var(--fs-small); color: var(--ash); margin-bottom: 12px; }
.mnav__loc { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 28px; color: var(--smoke); }
.mnav__loc a:hover, .mnav__loc a[aria-current="page"] { color: var(--bone); }
.mnav .btn { width: 100%; }
html.mnav-open, html.mnav-open body { overflow: hidden; }
html.mnav-open .nav { transform: none; background: var(--ink); }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
}
@media (max-width: 480px) {
  .nav__cta { display: none; }
}

/* ---------- Inner-page hero ---------- */
.hero--page { min-height: 88dvh; }
.hero--page .hero__title { font-size: clamp(2.05rem, 4.6vw, 4.7rem); }
.hero--404 { min-height: 100dvh; }
.crumbs { margin-bottom: 22px; font-size: var(--fs-small); color: var(--ash); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { transition: color .3s ease; }
.crumbs a:hover { color: var(--bone); }
.crumbs [aria-current] { color: var(--smoke); }

/* ---------- Section head: headline left, lede right ---------- */
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .section-title,
.services .section-head .section-title { margin-bottom: 0; }
.section-lede { color: var(--smoke); max-width: 50ch; }
@media (min-width: 1025px) {
  .section-head { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 48px; }
}

/* ---------- Featured film on inner pages ---------- */
section.film { padding-bottom: var(--section); }

/* ---------- Reel: two offset columns of playable tiles ---------- */
.reel { padding-block: var(--section); border-top: 1px solid var(--line); }
.reel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 72px); align-items: start; }
.reel__col { display: grid; gap: clamp(56px, 7vw, 104px); align-content: start; }
.reel__col--offset { margin-top: clamp(80px, 14vw, 220px); }
.reel__more { margin-top: clamp(56px, 7vw, 96px); }

.media--wide { aspect-ratio: 16 / 9; }
.tile .media { margin-bottom: 22px; }
.tile .media--tall { max-width: 420px; }
.tile .media--threefour { max-width: 520px; }
.tile .media video { transition: transform .9s var(--ease-out); }
.tile:hover .media video { transform: scale(1.03); }
.tile__play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: flex; align-items: flex-end; justify-content: flex-end; padding: 16px;
}
.tile__play:focus-visible { outline-offset: -4px; }
.tile__cue {
  width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center;
  color: var(--bone); background: rgba(8, 8, 8, 0.45); border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transform: scale(.9);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), border-color .3s ease;
}
.tile__cue svg { width: 16px; height: 16px; }
.tile:hover .tile__cue, .tile__play:focus-visible .tile__cue { opacity: 1; transform: none; border-color: var(--bone); }
@media (hover: none) { .tile__cue { opacity: 1; transform: none; } }
.tile__title {
  font-family: var(--display); font-weight: 400;
  font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -0.02em; margin-top: 8px;
}
.tile__desc { color: var(--smoke); max-width: 46ch; margin-top: 12px; }

/* ---------- Work page: filters + masonry ---------- */
.portfolio { padding-block: clamp(64px, 8vw, 120px) var(--section); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(48px, 6vw, 80px); }
.chip-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 0.925rem; color: var(--smoke);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .2s var(--ease-out);
}
.chip-btn span { font-size: 0.8rem; color: var(--ash); transition: color .25s ease; }
.chip-btn:hover { border-color: var(--bone); color: var(--bone); }
.chip-btn:active { transform: scale(.97); }
.chip-btn[aria-pressed="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.chip-btn[aria-pressed="true"] span { color: rgba(8, 8, 8, 0.55); }
.filters__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.portfolio__grid { columns: 2; column-gap: clamp(24px, 4vw, 72px); }
.portfolio__grid .tile { display: inline-block; width: 100%; break-inside: avoid; margin-bottom: clamp(56px, 7vw, 96px); }
.portfolio__grid .tile[hidden] { display: none; }
.portfolio__grid .tile.is-in { animation: tile-in .6s var(--ease-out) both; }
@keyframes tile-in { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Points: sticky title + definition list ---------- */
.points { padding-block: var(--section); border-top: 1px solid var(--line); }
.points__inner { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.points__head { position: sticky; top: calc(var(--nav-h) + 48px); }
.points__head .section-lede { margin-top: 20px; }
.points__list { margin: 0; display: grid; gap: clamp(40px, 5vw, 64px); }
.point dt { font-family: var(--display); font-weight: 400; font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -0.02em; }
.point dd { margin: 12px 0 0; color: var(--smoke); max-width: 52ch; }

/* ---------- Process (sticky stack, 4 cards) ---------- */
.process { border-top: 1px solid var(--line); }
.step:nth-child(4) { top: calc(var(--nav-h) + 96px); background: #2a2a2a; }

/* ---------- FAQ ---------- */
.faq { padding-block: var(--section); border-top: 1px solid var(--line); }
.faq__inner { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.faq__title { position: sticky; top: calc(var(--nav-h) + 48px); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding: 26px 0;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline-offset: 6px; }
.faq__q {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.3; letter-spacing: -0.015em;
  color: var(--smoke); transition: color .3s ease;
}
.faq__item[open] .faq__q, .faq__item summary:hover .faq__q { color: var(--bone); }
.faq__sign { position: relative; flex: none; width: 14px; height: 14px; margin-top: .5em; color: var(--smoke); }
.faq__sign::before, .faq__sign::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -0.75px;
  background: currentColor; transition: transform .45s var(--ease-out);
}
.faq__sign::after { transform: rotate(90deg); }
.faq__item[open] .faq__sign::after { transform: rotate(0deg); }
.faq__a p { color: var(--smoke); max-width: 62ch; padding-bottom: 28px; }
.faq__item[open] .faq__a { animation: faq-in .45s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
.page-faq .faq { padding-block: clamp(72px, 9vw, 128px); }

.toc { border-bottom: 1px solid var(--line); }
.toc__list { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 32px; }
.toc__list a {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 0.9rem; color: var(--smoke);
  transition: border-color .25s ease, color .25s ease;
}
.toc__list a:hover { border-color: var(--bone); color: var(--bone); }

/* ---------- Related links ---------- */
.related { padding-block: var(--section); border-top: 1px solid var(--line); }
.related .section-title { margin-bottom: clamp(36px, 5vw, 64px); }
.related__link {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.related__name {
  display: inline-block;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.5rem, 3.6vw, 3.2rem); line-height: 1.12; letter-spacing: -0.03em;
  color: var(--ash); transition: color .4s var(--ease-out), transform .5s var(--ease-out);
}
.related__link:hover .related__name, .related__link:focus-visible .related__name { color: var(--bone); transform: translateX(14px); }
.related__desc { color: var(--smoke); max-width: 44ch; }

/* ---------- Places band (mirrors the clients band) ---------- */
.places { border-top: 1px solid var(--line); }
.places__inner { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 40px; padding-block: 44px; }
.places__title { font-family: var(--body); font-weight: 400; font-size: var(--fs-small); color: var(--ash); max-width: 16ch; line-height: 1.4; }
.places__list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 40px; }
.places__list a {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(1.2rem, 2.3vw, 2.1rem); letter-spacing: -0.02em;
  color: var(--smoke); transition: color .3s ease;
}
.places__list a:hover, .places__list a[aria-current="page"] { color: var(--bone); }

/* ---------- Service links inside the hover list ---------- */
.service__link { color: var(--bone); border-bottom: 1px solid var(--line-strong); margin-left: 4px; white-space: nowrap; transition: border-color .3s ease; }
.service__link:hover { border-color: var(--bone); }

/* ---------- Footer columns ---------- */
.footer__grid {
  margin-top: clamp(32px, 5vw, 56px);
  display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px;
  font-size: 0.925rem;
}
.footer__h { font-size: var(--fs-small); color: var(--ash); margin-bottom: 14px; }
.footer__list { display: grid; gap: 8px; color: var(--smoke); }
.footer__list a { transition: color .3s ease; }
.footer__list a:hover { color: var(--bone); }
.footer__copy { margin-top: clamp(40px, 6vw, 72px); font-size: 0.875rem; color: var(--ash); }

/* ---------- Responsive for the additions ---------- */
@media (max-width: 1024px) {
  .points__inner, .faq__inner { grid-template-columns: 1fr; }
  .points__head, .faq__title { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__tag { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .reel__grid { grid-template-columns: 1fr; }
  .reel__col { gap: 56px; }
  .reel__col--offset { margin-top: 56px; }
  .tile .media--tall, .tile .media--threefour { max-width: none; }
  .portfolio__grid { columns: 1; }
  .related__link { grid-template-columns: 1fr; gap: 8px; }
  .related__name { color: var(--bone); }
  .places__inner { grid-template-columns: 1fr; gap: 20px; padding-block: 32px; }
  .places__list { justify-content: flex-start; gap: 10px 28px; }
  .step:nth-child(4) { position: relative; top: auto; grid-template-columns: 1fr; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .step:nth-child(4) { position: relative; top: auto; }
  .portfolio__grid .tile.is-in { animation: none; }
}
@media (max-width: 480px) { .hero--page .hero__title { font-size: 1.85rem; } }
