/* =========================================================
   The Synthetic Unit — site.css
   One stylesheet for every page. Hand-written, no build step.
   1. Fonts   2. Tokens   3. Base   4. Header & menu
   5. Shared patterns (corners, buttons, reveal, punch, player)
   6. Home   7. Pages   8. Footer   9. Responsive   10. Reduced motion
   ========================================================= */

/* 1. Fonts ------------------------------------------------ */
@font-face { font-family: "Inter"; src: url("../fonts/inter-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* 2. Tokens ----------------------------------------------- */
:root {
  --paper: #EBEBE7;
  --ink: #000;
  --grey: #55554F;          /* text on paper  — 6.4:1 */
  --grey-night: #A3A39E;    /* text on black  — 8.3:1 */
  --soft-night: #C9C9C4;    /* secondary on black */
  --rule: #B4B4AE;          /* structural hairline on paper */
  --rule-night: #3A3A38;    /* structural hairline on black */

  --f-display: "Inter Display", "Inter", system-ui, sans-serif;
  --f-text: "Inter", system-ui, sans-serif;

  /* Display scale — proportional to the viewport, like the deck */
  --d-xxl: clamp(40px, 8.75vw, 168px);
  --d-xl:  clamp(40px, 6.4vw, 124px);
  --d-l:   clamp(38px, 5vw, 96px);
  --d-m:   clamp(30px, 3.6vw, 66px);
  --d-s:   clamp(22px, 2.1vw, 40px);
  /* Text scale */
  --t-l: clamp(18px, 1.3vw, 26px);
  --t-m: clamp(16px, 1.12vw, 22px);
  --t-s: clamp(14px, 0.95vw, 17px);

  --g: max(20px, 6.25vw, calc((100vw - 1680px) / 2));   /* outer margin */
  --gap: clamp(16px, 2.2vw, 40px);                          /* column gap */
  --nav-h: 72px;
  --sec: clamp(88px, 13vh, 180px);                          /* section rhythm */
}

/* 3. Base ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: var(--t-m);
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}
body.night { background: var(--ink); color: #fff; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
address { font-style: normal; }
a { color: inherit; }
em { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.skip {
  position: fixed; left: var(--g); top: 12px; z-index: 100;
  padding: 10px 16px; background: var(--paper); color: var(--ink);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.tone-light { background: var(--paper); color: var(--ink); }
.tone-dark  { background: var(--ink); color: #fff; }

/* Display type */
.h-xl, .h-l, .h-m, .promise__title, .hero__title, .hero__line,
.offer__title, .clients__row dt, .steps h3, .judgement__title, .judgement__list dt, .why__word,
.contact__title, .split__punch, .page-hero__title, .page-hero__line, .prose__after, .teams__line,
.cta__title, .member__name, .story-card__title, .story__title, .case__title, .legal__title, .legal h2 {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.h-xl { font-size: var(--d-xl); }
.h-l  { font-size: var(--d-l); }
.h-m  { font-size: var(--d-m); line-height: 1.05; }

.kicker { font-family: var(--f-text); font-weight: 400; font-size: var(--t-m); color: var(--grey); letter-spacing: -0.005em; }
.kicker--night, .tone-dark .kicker { color: var(--grey-night); }

/* Text links: plain words, underline as the affordance */
.more a, .contact__more a, .story__back a, .legal a, .contact__mail {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  transition: text-underline-offset .2s ease;
}
.more a:hover, .contact__more a:hover, .story__back a:hover, .legal a:hover, .contact__mail:hover { text-underline-offset: 0.12em; }

/* 4. Header & menu ---------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--g);
  color: #fff; background: transparent;
  pointer-events: none;
  transition: color .9s ease-in-out;   /* a slow cross-fade between the night and the paper, not a flip */
}
.site-header > * { pointer-events: auto; position: relative; z-index: 1; }   /* logo and word above the veils */
/* No band: the bar is transparent and takes the colour of the section underneath (white on the night, black on the paper).
   Only a soft veil of that same colour fades out under the bar, invisible on flat backgrounds, just enough to keep the word readable over an image. */
.site-header::before, .site-header::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: calc(var(--nav-h) * 1.9); pointer-events: none; z-index: 0;
  transition: opacity .9s ease-in-out;
}
.site-header::before { background: linear-gradient(to bottom, rgba(0,0,0,.6), rgba(0,0,0,.3) 50%, rgba(0,0,0,0)); opacity: 1; }
.site-header::after  { background: linear-gradient(to bottom, rgba(235,235,231,.85), rgba(235,235,231,.45) 50%, rgba(235,235,231,0)); opacity: 0; }
.site-header[data-tone="light"], .site-header[data-tone="footer"] { color: var(--ink); }
.site-header[data-tone="light"]::before, .site-header[data-tone="footer"]::before { opacity: 0; }
.site-header[data-tone="light"]::after,  .site-header[data-tone="footer"]::after  { opacity: 1; }
.night .site-header[data-tone="footer"] { color: #fff; }
.night .site-header[data-tone="footer"]::before { opacity: 1; }
.night .site-header[data-tone="footer"]::after  { opacity: 0; }
.site-header__brand { display: block; color: inherit; transition: opacity .3s ease, visibility .3s; }
.site-header .logo, .menu .logo { width: 172px; height: auto; aspect-ratio: 1918 / 258; fill: currentColor; }
.site-header.is-intro .site-header__brand { opacity: 0; visibility: hidden; }

/* One word at every width: "Menu" opens the full-screen night menu, on desktop too. */
.menu-toggle {
  display: block; font-size: 15px; letter-spacing: 0; text-decoration: none;
  text-underline-offset: 0.35em; text-decoration-thickness: 1px;
}
.menu-toggle:hover, .menu-toggle:focus-visible { text-decoration: underline; }

.menu {
  position: fixed; inset: 0; z-index: 80;
  background: var(--ink); color: #fff;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.menu[hidden] { display: none; }
.menu__symbol {
  position: absolute; left: 50%; top: 54%;
  width: min(92vw, 66vh); height: auto; aspect-ratio: 687.75 / 735.75;
  transform: translate(-50%, -50%);
  fill: #fff; opacity: .14;
}
.menu__bar {
  position: relative; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--g);
}
.menu-close { font-size: 15px; }
.menu__list {
  position: relative; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  gap: 10px; padding: 0 var(--g) 10vh;
}
.menu__list a {
  font-family: var(--f-display); font-weight: 500; letter-spacing: -0.03em;
  font-size: clamp(36px, 10vw, 64px); line-height: 1.12; text-decoration: none;
}
.menu__list a[aria-current="page"] { color: var(--grey-night); }

/* 5. Shared patterns -------------------------------------- */

/* 5.1 The micro-interaction: the four corners of the TSU symbol frame what you hover. */
.frame-hover { position: relative; display: block; text-decoration: none; color: inherit; }
.frame-hover::after {
  content: ""; position: absolute; inset: 4px; pointer-events: none;
  --c: 26px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 318.75 327.2'%3E%3Cpath d='M318.75,0h-318.75v249l84.2,78.19l23.8-0.19v-240l156-0.75l54.75-35.25V0z'/%3E%3C/svg%3E") left top / var(--c) auto no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 318.75 327.2'%3E%3Cpath d='M0,0v51l54.75,35.25l156,0.75v240l23.23,0.02l84.77-78.02v-249H0z'/%3E%3C/svg%3E") right top / var(--c) auto no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 318.75 327.2'%3E%3Cpath d='M0,78v249h318.75v-51l-50.25-33l-160.5-0.75v-242.25h-23.25L0,78z'/%3E%3C/svg%3E") left bottom / var(--c) auto no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 318.75 327.2'%3E%3Cpath d='M318.75,78l-84.75-78h-23.25v242.25l-160.5,0.75l-50.25,33v51h318.75V78z'/%3E%3C/svg%3E") right bottom / var(--c) auto no-repeat;
  opacity: 0;
  transition: opacity .2s ease, inset .2s ease;
}
.tone-dark .frame-hover::after, .night .frame-hover::after {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 318.75 327.2'%3E%3Cpath fill='white' d='M318.75,0h-318.75v249l84.2,78.19l23.8-0.19v-240l156-0.75l54.75-35.25V0z'/%3E%3C/svg%3E") left top / var(--c) auto no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 318.75 327.2'%3E%3Cpath fill='white' d='M0,0v51l54.75,35.25l156,0.75v240l23.23,0.02l84.77-78.02v-249H0z'/%3E%3C/svg%3E") right top / var(--c) auto no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 318.75 327.2'%3E%3Cpath fill='white' d='M0,78v249h318.75v-51l-50.25-33l-160.5-0.75v-242.25h-23.25L0,78z'/%3E%3C/svg%3E") left bottom / var(--c) auto no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 318.75 327.2'%3E%3Cpath fill='white' d='M318.75,78l-84.75-78h-23.25v242.25l-160.5,0.75l-50.25,33v51h318.75V78z'/%3E%3C/svg%3E") right bottom / var(--c) auto no-repeat;
}
.frame-hover:hover::after, .frame-hover:focus-visible::after, .frame-hover:focus-within::after { opacity: 1; inset: -8px; }
.frame-hover:focus-visible { outline: none; }

/* 5.2 Buttons: a plain rectangle that inverts on hover (250 ms). */
.btn {
  display: inline-block;
  padding: 13px 22px 14px;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  font-family: var(--f-text); font-size: 15px; line-height: 1; letter-spacing: 0;
  text-decoration: none;
  transition: background-color .45s cubic-bezier(.16, 1, .3, 1), color .45s cubic-bezier(.16, 1, .3, 1), border-color .45s cubic-bezier(.16, 1, .3, 1);
}
.btn:hover, .btn:focus-visible { background: var(--paper); color: var(--ink); }
.btn--night, .tone-dark .btn { border-color: #fff; background: #fff; color: var(--ink); }
.btn--night:hover, .btn--night:focus-visible, .tone-dark .btn:hover, .tone-dark .btn:focus-visible { background: var(--ink); color: #fff; }
.btn:focus-visible { outline-offset: 3px; }

/* 5.3 Reveal: once, on entering the screen (500 ms, 12 px rise). Needs JS and motion; otherwise always visible. */
/* Organic: a long ease-out (fast start, slow settle), a touch of blur that clears, siblings staggered by --stagger (set by site.js). */
.has-motion .reveal {
  opacity: 0; translate: 0 20px; filter: blur(3px);
  transition: opacity 1.2s cubic-bezier(.16, 1, .3, 1), translate 1.2s cubic-bezier(.16, 1, .3, 1), filter 1s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--stagger, 0ms);
}
.has-motion .reveal.is-in { opacity: 1; translate: 0 0; filter: blur(0); }

/* 5.4 Punchlines shift slightly to the right on hover (300 ms). */
/* Lazy images fade in (classes set by site.js) instead of popping; without JS they are simply visible. */
.has-motion img.fade-img { opacity: 0; transition: opacity 1.4s cubic-bezier(.16, 1, .3, 1); }
.has-motion img.fade-img.is-in.is-loaded { opacity: 1; }

/* Asymmetric: a quick, decelerating move in; a slow, soft settle back. */
.punch { transition: transform .9s cubic-bezier(.25, .1, .25, 1); }
.punch:hover { transform: translateX(9px); transition: transform .55s cubic-bezier(.16, 1, .3, 1); }

/* 5.5 Video on click: a local poster and a button; the Vimeo iframe (dnt=1) is injected by site.js. */
.player { position: relative; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.player img, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.player__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 13px 26px 14px;
  border: 1px solid #fff; background: rgba(0,0,0,.55); color: #fff;
  font-size: 15px; line-height: 1;
  transition: background-color .25s ease, color .25s ease;
}
.player__play:hover, .player__play:focus-visible { background: #fff; color: var(--ink); }
.player.is-playing .player__play, .player.is-playing img { display: none; }

/* 5.6 Section-closing call to action */
.cta { padding: var(--sec) var(--g); }
.cta__title { font-size: var(--d-l); max-width: 10em; }
.cta p { margin-top: clamp(28px, 3.4vw, 56px); }

/* 6. Home ------------------------------------------------- */

/* 6.1 Hero — "we enter through the window" ------------------
   Static by default (no JS, reduced motion): one screen with the signature,
   then the positioning line and its paragraph as a plain night block.
   With motion: the section grows to 260vh, the stage sticks, the end block
   sticks to the bottom and a single progress value --p (0→1) drives the
   zoom, the intro leaving and the line arriving. --p is animated by a CSS
   scroll-driven animation where supported, otherwise set by site.js. */
@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }

.hero {
  position: relative; background: var(--ink); color: #fff;
  /* derived progress curves, inherited by the stage and the end block */
  --t: clamp(0, calc(var(--p) / .85), 1);
  --e: calc(var(--t) * var(--t) * (3 - 2 * var(--t)));     /* zoom, smoothstep */
  --out: clamp(0, calc(var(--p) / .28), 1);                  /* intro leaves   */
  --in: clamp(0, calc((var(--p) - .6) / .25), 1);            /* line arrives   */
}
.hero__stage {
  position: relative;
  height: 100vh; height: 100svh; min-height: 540px;
  overflow: hidden;
  container-type: size;
  /* master B (29/10): the TSU frame is centred in a 16:9 image; the image covers the stage,
     and the opening (×3.3) is anchored on the avenue's vanishing point, at 50% / 23.29% of the image */
  --w: max(100cqw, 177.78cqh);
  --h: calc(var(--w) / 1.7778);
  --ox: 50%; --oy: 23.29%;
  /* the frame is 44.2% of the image width (opening 30.3% ÷ 0.686, the symbol's own proportion): the zoom stops when
     the frame's OUTER edges reach the sides of the screen — the window becomes the screen (×2.26 on 16:9, ×2.04 at 1440×900);
     never below ×1.5 so the movement stays felt on phones */
  --frame: 0.442;
  --s1: max(1.5, calc(100cqw / (var(--frame) * var(--w))));
  /* the image starts smaller than the screen, surrounded by black, so the opening travels further (29/10) */
  --s0: 0.78;
}
.hero__img {
  position: absolute;
  width: var(--w); height: var(--h); max-width: none;
  left: calc((100cqw - var(--w)) / 2);
  top: calc((100cqh - var(--h)) / 2);
  transform-origin: var(--ox) var(--oy);
  /* centred on the screen at the start (the shrink happens around the vanishing point, so we offset it), then the zoom */
  transform:
    translate(0, calc(var(--h) * (1 - var(--s0)) * (0.5 - 0.2329) * (1 - var(--e))))
    scale(calc(var(--s0) + (var(--s1) - var(--s0)) * var(--e)));
  /* the image's own edges dissolve into the night: a soft fade on all four sides, plus the rounded corners */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0, rgba(0,0,0,.4) 6%, #000 15%, #000 85%, rgba(0,0,0,.4) 94%, transparent 100%),
    linear-gradient(to right, transparent 0, rgba(0,0,0,.4) 4%, #000 11%, #000 89%, rgba(0,0,0,.4) 96%, transparent 100%),
    radial-gradient(ellipse 78% 76% at 50% 50%, #000 55%, rgba(0,0,0,.6) 78%, transparent 100%);
  -webkit-mask-composite: source-in, source-in;
          mask-image:
    linear-gradient(to bottom, transparent 0, rgba(0,0,0,.4) 6%, #000 15%, #000 85%, rgba(0,0,0,.4) 94%, transparent 100%),
    linear-gradient(to right, transparent 0, rgba(0,0,0,.4) 4%, #000 11%, #000 89%, rgba(0,0,0,.4) 96%, transparent 100%),
    radial-gradient(ellipse 78% 76% at 50% 50%, #000 55%, rgba(0,0,0,.6) 78%, transparent 100%);
          mask-composite: intersect;
}
/* strong vignette on the full-bleed image: the edges go to black (29/10) */
.hero__stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(ellipse 62% 60% at 50% 46%, rgba(0,0,0,0) 30%, rgba(0,0,0,.35) 58%, rgba(0,0,0,.78) 82%, rgba(0,0,0,.98) 100%);
}
/* a grey veil under the intro, bottom left; it leaves with the intro */
.hero__veil {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    linear-gradient(to top, rgba(0,0,0,.8) 0, rgba(0,0,0,.5) 24%, rgba(0,0,0,.18) 44%, rgba(0,0,0,0) 60%),
    linear-gradient(to right, rgba(0,0,0,.55) 0, rgba(0,0,0,.25) 30%, rgba(0,0,0,0) 58%);
}
/* end of the opening: an attenuated veil so the line stays readable over the clouds */
.has-motion .hero__veil { opacity: calc(1 - var(--out)); }
.has-motion .hero__stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0, rgba(0,0,0,.35) 24%, rgba(0,0,0,0) 50%);
  opacity: var(--in);
}
.hero__intro {
  position: absolute; left: var(--g); top: 40%; z-index: 2;
  max-width: 64cqw;
  opacity: calc(1 - var(--out));
  transform: translateY(calc(var(--out) * -5cqh));
}
.hero__logo { width: clamp(260px, 30vw, 560px); height: auto; aspect-ratio: 1918 / 258; fill: #fff; }
.hero__title { margin-top: clamp(32px, 6.4vh, 64px); font-size: clamp(44px, 6.1vw, 124px); letter-spacing: -0.032em; white-space: nowrap; }   /* each line stays whole */
.hero__sub { margin-top: clamp(20px, 3.4vh, 40px); font-size: var(--t-l); color: var(--soft-night); letter-spacing: -0.01em; }

.hero__end { padding: clamp(56px, 8vh, 96px) var(--g) var(--sec); background: var(--ink); }
.hero__line { font-size: clamp(40px, 6.4vw, 124px); letter-spacing: -0.035em; }
.hero__text { margin-top: clamp(24px, 3vw, 48px); max-width: 34em; font-size: var(--t-l); line-height: 1.48; color: var(--soft-night); }

/* motion on */
.has-motion .hero { height: 260vh; display: flex; flex-direction: column; }
.has-motion .hero__stage { position: sticky; top: 0; flex: none; }
.has-motion .hero__img { will-change: transform; }
.has-motion .hero__end {
  position: sticky; bottom: 0; z-index: 2;
  margin-top: auto; padding: 0 var(--g) 10vh; background: none;
  opacity: var(--in);
  transform: translateY(calc((1 - var(--in)) * 4vh));
}
@keyframes hero-open { from { --p: 0; } to { --p: 1; } }
@supports (animation-timeline: view()) {
  .has-motion .hero {
    animation: hero-open linear both;
    animation-timeline: view();
    animation-range: contain 0% contain 100%;
  }
}

/* 6.2 Split: text left, image bleeding off the right edge ------ */
.split {
  position: relative;
  min-height: min(100vh, 66vw);
  display: flex; align-items: center;
  padding: var(--sec) var(--g);
  overflow: hidden;
}
.split__media { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; }
.split__media img {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.06) 5%, rgba(0,0,0,.22) 10%, rgba(0,0,0,.5) 15%, rgba(0,0,0,.8) 20%, #000 25%);
          mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.06) 5%, rgba(0,0,0,.22) 10%, rgba(0,0,0,.5) 15%, rgba(0,0,0,.8) 20%, #000 25%);
}
.split__text { position: relative; z-index: 1; width: 38%; min-width: 360px; }
.split__text h2 + p { margin-top: clamp(32px, 4vw, 64px); }
.split__text p { margin-top: 1.1em; font-size: var(--t-l); line-height: 1.48; color: var(--grey); }
.split__text .split__punch { margin-top: 1.6em; font-size: var(--d-s); line-height: 1.12; letter-spacing: -0.02em; color: inherit; }
.split__text .split__cta { margin-top: clamp(36px, 4vw, 64px); }
.tone-dark .split__text p { color: var(--grey-night); }

.split--now .split__media img { object-position: 64% 50%; }
.split--now .split__text h2 { font-size: clamp(38px, 4.3vw, 84px); }

.split--promise .split__media { width: 64%; }
.split--promise .split__media img { object-position: 24% 50%; }
.promise__title { font-size: clamp(36px, 4.4vw, 86px); letter-spacing: -0.035em; line-height: 1.06; }
.promise__title span { display: block; }
.split--promise .split__text { width: 46%; }
.split--promise .split__text p { max-width: 30em; }

.split--make .split__media img { object-position: 78% 50%; }
.split--make .split__text h2 { font-size: var(--d-l); }

/* 6.3 The Originals: same grammar as the promise screen (wordmark above, one white statement, button); the warehouse full bleed */
.split--originals { min-height: 100svh; }
.split--originals .split__media { width: 62%; }
.split--originals .split__media img { object-position: 60% 50%; }
.split--originals .split__text { width: 50%; }
.split--originals .promise__title { font-size: clamp(32px, 3.6vw, 70px); }
.split--originals .wordmark--originals { width: clamp(240px, 24vw, 420px); height: auto; margin-bottom: clamp(32px, 3.4vw, 60px); }

/* 6.4 Contact — the symbol alone, like the last page of the deck */
.contact { padding: calc(var(--nav-h) + 6vh) var(--g) 10vh; display: flex; flex-direction: column; align-items: center; }
.contact--page { min-height: 100svh; justify-content: center; }
.contact__frame {
  position: relative;
  width: min(100%, calc(84vh * 687.75 / 735.75), 860px);
  container-type: inline-size;
}
.contact__symbol { width: 100%; height: auto; aspect-ratio: 687.75 / 735.75; fill: #fff; }
.contact__inner { position: absolute; left: 21.5%; top: 19%; width: 58%; }
.contact__title { font-size: 7.5cqw; line-height: 1.04; }
.contact__inner p { margin-top: 1.1em; font-size: max(15px, 2.8cqw); line-height: 1.5; color: var(--grey-night); }
.contact__inner .contact__title + p { margin-top: 1.7em; }
.contact__who { position: absolute; left: 21.5%; top: 70%; width: 58%; }
.contact__mail { font-family: var(--f-display); font-weight: 500; font-size: max(17px, 3.4cqw); letter-spacing: -0.015em; color: #fff; overflow-wrap: anywhere; text-underline-offset: 0.2em; }
.contact__more { margin-top: 2vh; font-size: var(--t-s); color: var(--grey-night); }

/* 7. Pages ------------------------------------------------ */

/* 7.1 Typographic page opening */
.page-hero { padding: calc(var(--nav-h) + var(--sec)) var(--g) var(--sec); }
.page-hero__title { font-size: var(--d-xxl); letter-spacing: -0.035em; line-height: 1; }
.page-hero__line { margin: clamp(40px, 6vw, 96px) 0 0 auto; width: min(100%, 50%); min-width: min(100%, 460px); font-size: var(--d-m); line-height: 1.05; }
.page-hero--work { padding-bottom: clamp(40px, 5vw, 80px); }

/* 7.2 Prose: a kicker on the left, a lead paragraph on the right */
.prose { padding: var(--sec) var(--g); display: grid; grid-template-columns: 5fr 7fr; column-gap: var(--gap); align-items: start; }
.prose__lead { grid-column: 2; font-size: var(--t-l); line-height: 1.48; max-width: 34em; }
.prose__lead + .prose__lead, .prose__lead + .prose__after { margin-top: 1.2em; }
.prose__after { grid-column: 2; font-size: var(--d-s); letter-spacing: -0.02em; line-height: 1.12; max-width: 20em; }
.prose--night { padding-top: clamp(40px, 5vw, 80px); }
.prose--night .prose__lead { color: var(--soft-night); }

/* 7.3 Offers */
.offers { padding: var(--sec) var(--g); }
.offers__intro { margin-top: clamp(28px, 3.4vw, 56px); font-size: var(--t-l); max-width: 40em; text-wrap: balance; }
.offers__list {
  margin-top: clamp(56px, 7vw, 112px);
  display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gap);
}
.offer { padding: 22px 24px 26px; margin: 0 -24px; height: 100%; }
.offer__title { font-size: var(--d-s); letter-spacing: -0.022em; line-height: 1.05; }
.offer p { margin-top: 16px; font-size: var(--t-m); color: var(--grey); max-width: 26em; }
.offer__same { margin-top: 24px !important; color: var(--ink) !important; }
.offer__same em { color: var(--grey); }
.offers__note { margin-top: clamp(48px, 6vw, 96px); font-size: var(--t-m); max-width: 46em; }

/* 7.4 Who we work with */
.clients { padding: var(--sec) var(--g); }
.clients__list { margin-top: clamp(28px, 3vw, 48px); }
.clients__row {
  display: grid; grid-template-columns: 7fr 5fr; column-gap: var(--gap);
  align-items: start;
  padding: clamp(14px, 1.8vw, 30px) 0;
}
.clients__row dt { font-size: var(--d-l); letter-spacing: -0.03em; line-height: 1; }
.clients__row dd { font-size: var(--t-m); color: var(--grey); max-width: 30em; padding-top: 0.2em; }   /* first line level with the cap height of the big word */

/* 7.5 How we work */
.how { padding: var(--sec) var(--g); }
.how__title { margin-top: clamp(24px, 2.6vw, 40px); }
.steps { margin-top: clamp(56px, 7vw, 112px); }
.steps li {
  display: grid; grid-template-columns: 3.2em 5fr 7fr; column-gap: var(--gap);
  align-items: baseline; padding: clamp(12px, 1.3vw, 22px) 0;
}
.steps__num { font-family: var(--f-display); font-weight: 500; font-size: var(--t-m); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: var(--d-s); letter-spacing: -0.022em; }
.steps p { font-size: var(--t-m); color: var(--grey); }

/* 7.6 Why TSU */
.why { padding: var(--sec) var(--g) calc(var(--sec) * 1.1); }
.why__steps { margin-top: clamp(24px, 2.6vw, 40px); }
.why__steps li + li { margin-top: clamp(40px, 5vw, 88px); }
.why__steps li:nth-child(2) { margin-left: 15.7%; }
.why__steps li:nth-child(3) { margin-left: 31.4%; }
.why__word { font-size: var(--d-xl); letter-spacing: -0.032em; display: inline-block; }
.why__steps p:not(.why__word) { margin-top: clamp(10px, 1.2vw, 20px); font-size: var(--t-l); color: var(--grey); }

/* 7.7 Judgement — night */
.judgement {
  padding: var(--sec) var(--g);
  display: grid; grid-template-columns: 7fr 5fr; column-gap: var(--gap); align-items: start;
}
.judgement__title { font-size: var(--d-l); max-width: 9.5em; }
.judgement__lead p { margin-top: clamp(32px, 4vw, 64px); font-size: var(--t-l); line-height: 1.48; color: var(--grey-night); max-width: 24em; }
.judgement__list > div { padding: clamp(20px, 2.2vw, 32px) 0; border-top: 1px solid var(--rule-night); }
.judgement__list > div:last-child { border-bottom: 1px solid var(--rule-night); }
.judgement__list dt { font-size: var(--d-s); letter-spacing: -0.015em; }
.judgement__list dd { margin-top: 10px; font-size: var(--t-m); line-height: 1.46; color: var(--grey-night); max-width: 30em; }

/* 7.8 Selected work — frames of varied sizes, numbered */
.work { padding: 0 var(--g) var(--sec); }
.work__cases--empty {
  display: grid; grid-template-columns: 30fr 24fr 22fr 24fr; column-gap: var(--gap);
  align-items: end;
}
.case { display: flex; flex-direction: column; }
.case__frame { position: relative; }
.case__frame svg { width: 100%; height: auto; aspect-ratio: 687.75 / 735.75; fill: var(--ink); }
.work__cases--empty .case--2 .case__frame { width: 79%; }
.work__cases--empty .case--3 .case__frame { width: 72%; }
.case__frame .case__num { position: absolute; left: 19.8%; top: 14.8%; font-size: var(--t-s); font-variant-numeric: tabular-nums; }
.case__meta { margin-top: clamp(20px, 2.4vw, 36px); font-size: var(--t-s); color: var(--grey); }
.case__meta li { border-top: 1px solid var(--rule); padding: 7px 0 8px; }
.work__status { margin-top: clamp(32px, 4vw, 64px); font-size: var(--t-s); color: var(--grey); text-align: right; }

/* 7.8b Filled cases (data/cases.json) — a 12-column grid, rows packed by build.js from each case's size:
   feature = the whole row · wide = 7 · standard = 5 (4 when three follow each other) · the smaller frame in a mixed row sits lower, as on the deck.
   A card is a button in its heading; the hit area is the whole card until it opens. Open: full row, the Vimeo player replaces the thumbnail. */
.page-hero__line--work { font-size: var(--d-s); line-height: 1.18; letter-spacing: -0.02em; max-width: 22em; color: var(--grey); }

.work__filter { display: none; flex-wrap: wrap; gap: 6px clamp(20px, 2.4vw, 40px); margin: 0 0 clamp(40px, 5vw, 80px); font-size: var(--t-m); }
.js .work__filter { display: flex; }
.work__filter-btn {
  color: var(--grey); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: transparent; text-underline-offset: 0.28em;
  transition: color .25s ease, text-decoration-color .25s ease;
}
.work__filter-btn:hover, .work__filter-btn:focus-visible { color: var(--ink); text-decoration-color: currentColor; }
.work__filter-btn[aria-pressed="true"] { color: var(--ink); text-decoration-color: currentColor; }

.work__cases:not(.work__cases--empty) {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(64px, 8vw, 128px);
  align-items: start;
  --drop: clamp(40px, 6vw, 112px);   /* how much lower the smaller frame of a mixed row sits */
  --pad: 14px;                       /* room for the hover corners, outside the card's content */
}
.work__cases:not(.work__cases--empty) .case { display: block; padding: var(--pad); margin: calc(-1 * var(--pad)); }
.case--standard { grid-column: span 5; }
.case--feature  { grid-column: 1 / -1; }
.case--wide     { grid-column: span 7; }
.case--half     { grid-column: span 6; }
.case--third    { grid-column: span 4; }
.case--shift    { grid-column: 3 / span 5; }
.case--drop     { margin-top: calc(var(--drop) - var(--pad)) !important; }
.case[hidden]   { display: none !important; }
/* filtered: a calmer rhythm, since the packing was made for the full list */
.work__cases.is-filtered .case { grid-column: span 6; margin-top: calc(-1 * var(--pad)) !important; }
.work__cases.is-filtered .case--feature, .work__cases .case.is-open { grid-column: 1 / -1; margin-top: calc(-1 * var(--pad)) !important; }

.case__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.case__media img, .case__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.case__media iframe { background: var(--ink); }

.case__head { position: relative; margin-top: clamp(18px, 1.8vw, 28px); }
.case__line { display: flex; justify-content: space-between; gap: 16px; font-size: var(--t-s); color: var(--grey); font-variant-numeric: tabular-nums; }
.case__num { color: var(--ink); }
.case__sample { color: var(--grey); }
.case__title { margin-top: 10px; font-size: var(--d-s); letter-spacing: -0.02em; max-width: 16em; }
.case--feature .case__title { font-size: var(--d-m); max-width: 14em; }
.case--third .case__title, .case--standard .case__title, .case--half .case__title { font-size: clamp(22px, 1.9vw, 34px); }
.case__toggle { display: block; text-align: left; font: inherit; letter-spacing: inherit; line-height: inherit; color: inherit; }
.case__toggle:focus-visible { outline: none; }                                 /* the corners show focus (focus-within on the card) */
.case:not(.is-open) .case__toggle::after { content: ""; position: absolute; inset: calc(-1 * var(--pad)); cursor: pointer; }   /* the whole card is the hit area */
.case__context { margin-top: 10px; font-size: var(--t-s); color: var(--grey); }
.case__brief { margin-top: 14px; font-size: var(--t-m); max-width: 30em; }
.case--feature .case__head { display: grid; grid-template-columns: 7fr 5fr; column-gap: var(--gap); }
.case--feature .case__line { grid-column: 1 / -1; }
.case--feature .case__title { grid-column: 1; grid-row: 2 / 4; }
.case--feature .case__context { grid-column: 2; grid-row: 2; }
.case--feature .case__brief { grid-column: 2; grid-row: 3; font-size: var(--t-l); }
.case--feature .case__toggle::after { inset: calc(-1 * var(--pad)); }

/* open: the thumbnail gives way to the player, the four lines appear under it */
.case.is-open .case__brief { display: none; }
.case.is-open .case__head { display: grid; grid-template-columns: 7fr 5fr; column-gap: var(--gap); margin-top: clamp(24px, 2.6vw, 40px); }
.case.is-open .case__line { grid-column: 1 / -1; }
.case.is-open .case__title { grid-column: 1; font-size: var(--d-m); max-width: 14em; }
.case.is-open .case__context { grid-column: 2; grid-row: 2; align-self: start; margin-top: 0; padding-top: 0.55em; }   /* level with the title's first line */
.case__body { display: grid; grid-template-columns: 7fr 5fr; column-gap: var(--gap); margin-top: clamp(28px, 3.2vw, 48px); }
.case__body[hidden] { display: none; }
.case__body .case__meta { font-size: var(--t-m); color: var(--ink); }
.case__meta > div { display: grid; grid-template-columns: 10em 1fr; column-gap: var(--gap); border-top: 1px solid var(--rule); padding: 10px 0 12px; }
.case__meta > div:last-child { border-bottom: 1px solid var(--rule); }
.case__meta dt { color: var(--grey); }
.case__meta dd { color: var(--ink); max-width: 34em; }
.case__aside { font-size: var(--t-s); color: var(--grey); padding-top: 10px; }
.case__attribution { max-width: 28em; }
.case__watch, .case__soon { margin-top: 16px; }
.case__watch a, .case__close-btn { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.28em; transition: text-underline-offset .2s ease; }
.case__watch a:hover, .case__close-btn:hover { text-underline-offset: 0.12em; }
.case__close { margin-top: clamp(28px, 3vw, 44px); }
.has-motion .case.is-open .case__body { animation: case-in .7s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes case-in { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }

/* 7.9 The Originals — night */
.night-hero { position: relative; }
.night-hero__media { position: relative; height: min(56.25vw, 92vh); min-height: 360px; overflow: hidden; }
.night-hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 52%, rgba(0,0,0,.8) 62%, rgba(0,0,0,.5) 72%, rgba(0,0,0,.22) 84%, transparent 96%);
          mask-image: linear-gradient(to bottom, #000 0, #000 52%, rgba(0,0,0,.8) 62%, rgba(0,0,0,.5) 72%, rgba(0,0,0,.22) 84%, transparent 96%);
}
.night-hero--stories { margin-top: var(--sec); }
.night-hero--stories .night-hero__media img { object-position: 60% 40%; }
.night-hero__body { position: relative; margin-top: calc(-1 * clamp(40px, 5vw, 96px)); padding: 0 var(--g); }
.night-hero__body .wordmark--originals, .night-hero__body .wordmark--stories { margin-bottom: clamp(28px, 3.2vw, 56px); }

.teams { padding: clamp(40px, 5vw, 80px) var(--g) var(--sec); }
.teams__line { margin-top: clamp(24px, 2.6vw, 40px); font-size: var(--d-m); line-height: 1.08; max-width: 16em; }
.teams__text { margin-top: clamp(16px, 2vw, 32px); font-size: var(--t-l); color: var(--grey-night); }

/* 7.9a Centred openings (The Originals page): wordmark, statement, paragraph and, under the first one, the way down to the Stories */
.night-hero--centred .night-hero__body { display: flex; flex-direction: column; align-items: center; text-align: center; }
.night-hero--centred .wordmark--originals { width: clamp(300px, 40vw, 720px); height: auto; }
.night-hero--centred .wordmark--stories { width: clamp(240px, 30vw, 520px); height: auto; }
.night-hero--centred .punch:hover { transform: translateY(-4px); }   /* centred text rises a touch instead of drifting right */
.night-hero__text { margin-top: clamp(28px, 3.4vw, 56px); max-width: 40em; font-size: var(--t-l); line-height: 1.48; color: var(--soft-night); text-wrap: pretty; }
.night-hero__discover { margin-top: clamp(40px, 5vw, 80px); width: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.night-hero__discover-line { font-size: var(--t-m); color: var(--grey-night); }
.btn--ghost, .tone-dark .btn--ghost { border-color: #fff; background: transparent; color: #fff; }   /* the night button at rest: a frame, not a block */
.btn--ghost:hover, .btn--ghost:focus-visible, .tone-dark .btn--ghost:hover, .tone-dark .btn--ghost:focus-visible { background: #fff; color: var(--ink); }
.btn--wordmark { display: inline-flex; align-items: center; justify-content: center; padding: clamp(16px, 1.6vw, 24px) clamp(28px, 2.8vw, 44px); }
.wordmark--stories-btn { width: clamp(150px, 13vw, 210px); height: auto; fill: currentColor; transition: fill .45s cubic-bezier(.16, 1, .3, 1); }
.night-hero--centred.night-hero--stories { margin-top: 0; }   /* the collective's own bottom space leads into it */
html:has(.originals) { scroll-behavior: smooth; }   /* the hero button glides down to the Stories; other pages keep the default */

/* 7.9b The people: four frames in a row; without a portrait, the symbol as a hairline on a dark panel */
.people { padding: clamp(40px, 5vw, 80px) var(--g) var(--sec); }
.members { margin-top: clamp(32px, 3.6vw, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px var(--gap); }
.member { display: flex; flex-direction: column; padding: 18px; margin: -18px; }
.member__portrait { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); }
.member__frame { aspect-ratio: 4 / 5; background: #1C1C1A; display: grid; place-items: center; }
.member__frame svg { width: 36%; height: auto; aspect-ratio: 687.75 / 735.75; fill: none; stroke: #fff; stroke-width: 5; opacity: .7; }
.member__name { margin-top: 22px; font-size: var(--d-s); letter-spacing: -0.02em; }
.member__role { margin-top: 4px; color: var(--grey-night); }
.member__bio { margin-top: 12px; font-size: var(--t-s); line-height: 1.5; color: var(--soft-night); max-width: 24em; }
.member__more { margin-top: auto; padding-top: 22px; }
.member__open:focus-visible { outline: none; }   /* the corners of the card show the focus */

/* 7.9c The collective: four statements on two columns, the right one a step lower, as the mixed rows of Selected work */
.collective { padding: var(--sec) var(--g); }
.collective__title { margin-top: clamp(24px, 2.6vw, 40px); font-size: var(--d-l); max-width: 12em; }
.collective__list { margin-top: clamp(56px, 7vw, 112px); display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); row-gap: clamp(48px, 6vw, 96px); }
.collective__list li:nth-child(even) { margin-top: clamp(40px, 6vw, 112px); }
.collective__word { font-size: var(--d-m); letter-spacing: -0.028em; display: inline-block; }
.collective__list p:not(.collective__word) { margin-top: clamp(10px, 1.2vw, 20px); font-size: var(--t-l); line-height: 1.48; color: var(--grey-night); max-width: 24em; }

/* 7.9d The Stories: the card centred, then where to follow them */
.stories { padding: clamp(40px, 5vw, 80px) var(--g) 0; }
.stories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px var(--gap); }
.story-card { padding: 20px; margin: -20px; }
.story-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.story-card__frame { width: 42%; height: auto; aspect-ratio: 687.75 / 735.75; fill: #fff; opacity: .9; }
.story-card__title { margin-top: 24px; font-size: var(--d-s); letter-spacing: -0.02em; }
.story-card__meta { margin-top: 8px; font-size: var(--t-s); color: var(--grey-night); }
.stories--centred { padding-bottom: var(--sec); text-align: center; }
.stories--centred .stories-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.stories--centred .stories-grid > li { width: min(100%, 380px); }
.stories--centred .story-card { display: flex; flex-direction: column; align-items: center; }
.stories--centred .story-card__frame { width: 46%; }
.stories__follow { margin-top: clamp(48px, 6vw, 96px); font-size: var(--t-l); color: var(--soft-night); }
.stories__social { margin-top: clamp(24px, 2.6vw, 40px); display: flex; justify-content: center; gap: clamp(32px, 4vw, 64px); list-style: none; padding: 0; }
.stories__social a { display: flex; flex-direction: column; align-items: center; gap: 12px; color: #fff; font-size: var(--t-m); text-decoration: none; }
.stories__social svg { width: 26px; height: 26px; fill: currentColor; transition: opacity .45s cubic-bezier(.16, 1, .3, 1); }
.stories__social span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.28em; text-decoration-color: transparent; transition: text-decoration-color .3s ease; }
.stories__social a:hover span, .stories__social a:focus-visible span { text-decoration-color: currentColor; }
/* the signature of the Stories: white, a little larger than the grey text, centred below it */
.night-hero__signature { margin-top: clamp(20px, 2.2vw, 36px); font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 2.1vw, 40px); letter-spacing: -0.02em; line-height: 1.12; color: #fff; text-align: center; }

/* 7.9e "Discover his work": a full-screen night layer per member (built by build.js, hidden), the symbol in the back like the menu.
   The works inside reuse the Selected work cards and their script: two per row, a card opens in place with its player. */
.overlay {
  position: fixed; inset: 0; z-index: 80;
  background: var(--ink); color: #fff;
  overflow-y: auto; overscroll-behavior: contain;
}
.overlay[hidden] { display: none; }
.overlay__symbol {
  position: fixed; left: 50%; top: 54%;
  width: min(92vw, 66vh); height: auto; aspect-ratio: 687.75 / 735.75;
  transform: translate(-50%, -50%);
  fill: #fff; opacity: .05; pointer-events: none;   /* fainter than in the menu: the images are the light here */
}
.overlay__bar {
  position: sticky; top: 0; z-index: 2; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--g);
  background: var(--ink);
}
.overlay__kicker { font-size: 15px; color: var(--grey-night); }
.overlay__close { font-size: 15px; }
.overlay__inner { position: relative; z-index: 1; margin: 0 var(--g); padding: clamp(24px, 4vh, 48px) 0 var(--sec); }   /* the gutters belong to the layer: a click there closes it */
.overlay__name { font-family: var(--f-display); font-weight: 500; letter-spacing: -0.03em; line-height: 1.02; font-size: var(--d-l); }
.overlay__role { margin-top: 10px; font-size: var(--t-l); color: var(--grey-night); }
.overlay .work__cases { margin-top: clamp(40px, 5vw, 72px); row-gap: clamp(48px, 5vw, 80px); }
.overlay .case__head { position: static; }   /* the whole card, thumbnail included, opens it */
.overlay .case { scroll-margin-top: var(--nav-h); }   /* an opened card settles under the bar, not behind it */
.overlay .case__num, .overlay .case__close-btn, .overlay .case__watch a { color: #fff; }
.overlay .case__line, .overlay .case__sample, .overlay .case__context, .overlay .case__aside { color: var(--grey-night); }
.overlay .case__body { grid-template-columns: 1fr; }
.overlay .case__aside { padding-top: 0; font-size: var(--t-m); }
.overlay .case.is-open .case__title { font-size: var(--d-s); }
.has-motion .overlay:not([hidden]) { animation: overlay-in .5s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes overlay-in { from { opacity: 0; } to { opacity: 1; } }

/* 7.10 One Story */
.story { padding: calc(var(--nav-h) + var(--sec)) var(--g) var(--sec); }
.story__back { font-size: var(--t-s); color: var(--grey-night); }
.story__head .wordmark--story { width: clamp(150px, 13.6vw, 250px); height: auto; margin: clamp(28px, 3.4vw, 56px) 0 clamp(24px, 2.6vw, 40px); }
.story__title { font-size: var(--d-xl); }
.story__meta { margin-top: 16px; font-size: var(--t-m); color: var(--grey-night); }
.story__media { margin-top: clamp(40px, 5vw, 80px); }
.story__media img { width: 100%; height: auto; }
.story__body { margin-top: clamp(40px, 5vw, 80px); display: grid; grid-template-columns: 7fr 5fr; column-gap: var(--gap); align-items: start; }
.story__text p { font-size: var(--t-l); line-height: 1.48; color: var(--soft-night); max-width: 32em; }
.story__text p + p { margin-top: 1.1em; }
.story__credits > div { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); padding: 10px 0; border-top: 1px solid var(--rule-night); font-size: var(--t-s); }
.story__credits > div:last-child { border-bottom: 1px solid var(--rule-night); }
.story__credits dt { color: var(--grey-night); }

/* 7.11 Legal */
.legal { padding: calc(var(--nav-h) + var(--sec)) var(--g) var(--sec); display: grid; grid-template-columns: 5fr 7fr; column-gap: var(--gap); }
.legal__head { grid-column: 1 / -1; margin-bottom: clamp(56px, 7vw, 112px); }
.legal__title { font-size: var(--d-l); max-width: 10em; }
.legal__updated { margin-top: 20px; font-size: var(--t-s); color: var(--grey); }
.legal__section { grid-column: 2; max-width: 40em; }
.legal__section + .legal__section { margin-top: clamp(40px, 4.5vw, 72px); }
.legal h2 { font-size: var(--d-s); letter-spacing: -0.02em; }
.legal h2 + * { margin-top: 18px; }
.legal p + p, .legal dl + p, .legal p + dl { margin-top: 12px; }
.legal p { font-size: var(--t-m); color: var(--grey); line-height: 1.55; }
.legal strong { font-weight: 500; color: var(--ink); }
.legal__list > div { display: grid; grid-template-columns: 10em 1fr; column-gap: var(--gap); padding: 6px 0; border-top: 1px solid var(--rule); font-size: var(--t-m); }
.legal__list > div:last-child { border-bottom: 1px solid var(--rule); }
.legal__list dt { color: var(--grey); }

/* 7.12 Not found */
.notfound { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.notfound__media { position: absolute; inset: 0; }
.notfound__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 45%, rgba(0,0,0,.5) 70%, transparent 95%);
          mask-image: linear-gradient(to bottom, #000 0, #000 45%, rgba(0,0,0,.5) 70%, transparent 95%);
}
.notfound__body { position: relative; padding: var(--sec) var(--g); }
.notfound__body p { margin-top: clamp(28px, 3.4vw, 56px); }

/* 8. Footer ----------------------------------------------- */
.site-footer {
  padding: clamp(64px, 8vw, 120px) var(--g) clamp(40px, 4vw, 64px);
  background: var(--paper); color: var(--ink);
  display: grid; grid-template-columns: 1fr auto; column-gap: var(--gap); row-gap: clamp(40px, 5vw, 72px);
  align-items: start;
  font-size: var(--t-s);
}
.night .site-footer { background: var(--ink); color: #fff; }
.site-footer__brand { display: block; color: inherit; }
.site-footer .logo { width: 200px; height: auto; aspect-ratio: 1918 / 258; fill: currentColor; }
.site-footer__map { grid-column: 1 / -1; }
.site-footer__tree { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 24px; max-width: 1000px; }
.site-footer__tree ul { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; color: var(--grey); }
.night .site-footer__tree ul { color: var(--grey-night); }
.site-footer a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.28em; text-decoration-color: transparent; transition: text-decoration-color .2s ease; }
.site-footer a:hover, .site-footer a:focus-visible { text-decoration-color: currentColor; }
.site-footer__social { display: flex; gap: 18px; justify-self: end; }
.site-footer__social a { display: block; width: 20px; height: 20px; }
.site-footer__social svg { width: 100%; height: 100%; }
.site-footer__legal { grid-column: 1 / -1; color: var(--grey); }
.night .site-footer__legal { color: var(--grey-night); }

/* 9. Responsive ------------------------------------------- */
@media (max-width: 1100px) {
  .members { grid-template-columns: repeat(3, 1fr); }
  /* cases: two columns on tablets, the feature across both; no drop, no shift */
  .work__cases:not(.work__cases--empty) { row-gap: 56px; }
  .case--standard, .case--wide, .case--third, .case--shift, .case--half { grid-column: span 6; }
  .case--drop { margin-top: calc(-1 * var(--pad)) !important; }
  .case--third .case__title, .case--standard .case__title, .case__title { font-size: clamp(21px, 2.6vw, 30px); }
  .case--feature .case__title { font-size: var(--d-s); }
}

@media (max-width: 899px) {
  :root { --nav-h: 60px; --sec: 88px; }
  .site-header .logo, .menu .logo { width: 150px; }

  /* split sections: image first, full width, text below */
  .split { display: block; min-height: 0; padding: 0 0 var(--sec); }
  .split__media { position: relative; width: 100% !important; height: auto; aspect-ratio: 4 / 3; }
  .split__media img {
    -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 66%, rgba(0,0,0,.8) 76%, rgba(0,0,0,.5) 85%, rgba(0,0,0,.22) 93%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 0, #000 66%, rgba(0,0,0,.8) 76%, rgba(0,0,0,.5) 85%, rgba(0,0,0,.22) 93%, transparent 100%);
  }
  .split__text { width: auto !important; min-width: 0 !important; padding: 0 var(--g); margin-top: 8px; }
  .split--now .split__media { aspect-ratio: 1 / 1; }
  .split--now .split__media img { object-position: 42% 50%; }
  .split--promise .split__media img { object-position: 45% 50%; }
  .split--make .split__media img { object-position: 50% 50%; }

  .page-hero__line { width: auto; min-width: 0; margin-left: 0; }
  .prose { display: block; }
  .prose__lead, .prose__after { margin-top: 24px; }

  .offers__list { grid-template-columns: 1fr; row-gap: 8px; }
  .offer { padding: 18px 14px 20px; margin: 0 -14px; }

  .clients__row { grid-template-columns: 1fr; row-gap: 10px; padding: 18px 0; }

  .steps li { grid-template-columns: 2.4em 1fr; row-gap: 4px; padding: 16px 0; }
  .steps li p { grid-column: 2; }

  .why__steps li:nth-child(2) { margin-left: 6vw; }
  .why__steps li:nth-child(3) { margin-left: 12vw; }

  .judgement { display: block; }
  .judgement__list { margin-top: 48px; }

  .work__cases--empty { display: flex; flex-direction: column; gap: 48px; }
  .work__cases--empty .case { display: grid; grid-template-columns: 44% 1fr; column-gap: 20px; align-items: end; }
  .work__cases--empty .case--2 .case__frame { width: 84%; }
  .work__cases--empty .case--3 .case__frame { width: 68%; }
  .work__cases--empty .case__meta { margin-top: 0; }
  .work__status { text-align: left; }
  /* cases: one column, thumbnails edge to edge, the player stays 16:9 */
  .work__filter { margin-bottom: 48px; }
  .work__cases:not(.work__cases--empty) { display: block; --pad: 0px; }
  .work__cases:not(.work__cases--empty) .case { padding: 0; margin: 0; }
  .work__cases:not(.work__cases--empty) .case + .case { margin-top: 64px !important; }
  .case__media { margin: 0 calc(-1 * var(--g)); }
  .case--feature .case__head, .case.is-open .case__head { display: block; }
  .case--feature .case__title, .case.is-open .case__title { font-size: var(--d-s); }
  .case--feature .case__brief { font-size: var(--t-m); }
  .case.is-open .case__context { padding-top: 0; margin-top: 10px; }
  .case__body { display: block; }
  .case__meta > div { grid-template-columns: 1fr; row-gap: 2px; }
  .case__aside { margin-top: 28px; }
  .case__close { margin-top: 24px; }

  .split--originals { min-height: 0; }
  .split--originals .split__media img { object-position: 52% 50%; }
  .split--originals .wordmark--originals { width: min(72vw, 300px); margin-bottom: 28px; }

  .night-hero__media { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .night-hero__media img { object-position: 52% 50%; }
  .night-hero--stories .night-hero__media { aspect-ratio: 4 / 5; }
  .night-hero--stories .night-hero__media img { object-position: 64% 50%; }
  .night-hero__body { margin-top: -40px; }

  .members { grid-template-columns: repeat(2, 1fr); gap: 48px var(--gap); }
  .member__frame svg { width: 30%; }
  .collective__list { grid-template-columns: 1fr; row-gap: 40px; }
  .collective__list li:nth-child(even) { margin-top: 0; }
  .night-hero__discover { margin-top: 40px; }
  .overlay__inner { padding-bottom: 72px; }
  .overlay .work__cases { margin-top: 40px; }
  .stories-grid { grid-template-columns: 1fr 1fr; }
  .story__body { display: block; }
  .story__credits { margin-top: 40px; }

  .legal { display: block; }
  .legal__list > div { grid-template-columns: 1fr; row-gap: 2px; }

  .site-footer__tree { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 599px) {
  /* the address stays inside the frame, as on desktop: the frame grows past the screen (its outer arms are clipped, on purpose)
     so that the black box inside is wide enough for the title, the two lines and the address on one line at 390 px */
  .contact { padding: calc(var(--nav-h) + 40px) 0 72px; overflow: hidden; }
  .contact--page { min-height: 0; justify-content: flex-start; }
  .contact__frame { width: 124%; max-width: none; flex: none; margin: 0 -12%; }
  .contact__title { font-size: 7.6cqw; }
  .contact__inner p { font-size: 15px; }
  .contact__inner br { display: none; }
  .contact__inner .contact__title br { display: inline; }
  .contact__mail { font-size: 16px; overflow-wrap: anywhere; }
  .contact__more { padding: 0 var(--g); }
  .night-hero__body h1 br, .night-hero__body h2 br { display: none; }
  .members, .stories-grid { grid-template-columns: 1fr; }
  .member__frame, .member__portrait { margin: 0 calc(-1 * var(--g)); width: auto; }   /* edge to edge, like every image on a phone */
  .member__frame { aspect-ratio: 16 / 10; }
  .member__frame svg { width: 22%; }
  .btn--wordmark { width: 100%; }
  .stories__social { flex-wrap: wrap; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer__social { justify-self: start; }
}

/* Hero: portrait screens and small widths stack the window above the text */
@media (orientation: portrait), (max-width: 699px) {
  .hero__intro { top: auto; bottom: 6cqh; max-width: none; right: var(--g); }
  .hero__logo { width: min(240px, 60cqw); }
  .hero__title { margin-top: 24px; font-size: clamp(30px, 8.9cqw, 76px); }
  .hero__sub { margin-top: 14px; }
  .hero__line { font-size: clamp(36px, 10.4vw, 76px); }
  .hero__text { margin-top: 20px; font-size: 16px; }
  .has-motion .hero__end { padding-bottom: 7vh; }
  .hero__veil { background: linear-gradient(to top, rgba(0,0,0,.7) 0, rgba(0,0,0,.4) 28%, rgba(0,0,0,0) 56%); }
}

/* 10. Reduced motion -------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
  .punch:hover { transform: none; }
  .has-motion .hero { height: auto; }
  html { scroll-behavior: auto !important; }
}
