/* ==========================================================================
   Tokens — Jeto brand, two inks: black & Jeto orange.
   The page has two "stocks": paper (studio work) and ink (product work).
   Components only ever read the semantic variables, so a section switches
   stock by setting data-stock on itself (or on <body> while it is in view).
   ========================================================================== */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-variable.woff2') format('woff2-variations'), url('../fonts/archivo-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo Black';
  src: url('../fonts/archivo-black.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Libre Franklin';
  src: url('../fonts/libre-franklin-variable.woff2') format('woff2-variations'), url('../fonts/libre-franklin-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Libre Franklin';
  src: url('../fonts/libre-franklin-variable-italic.woff2') format('woff2-variations'), url('../fonts/libre-franklin-variable-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---- brand constants (never change with stock) ---- */
  --orange: #ff9e1b;
  --black: #0c0c0c;
  --white: #ffffff;
  --cream: #fff5e8;
  --night: #141110;
  --bone: #f6f1e9;

  /* ---- paper stock (default) ---- */
  --paper: var(--white);
  --raise: var(--cream);
  --ink: var(--black);
  --soft: #66625a;
  --faint: rgba(12, 12, 12, 0.42);
  --line: rgba(12, 12, 12, 0.16);
  --line-strong: rgba(12, 12, 12, 0.9);
  --accent: var(--orange);
  /* Brand label orange is #C25E00 (4.3:1 on white). Nudged darker so 11–12px
     mono labels clear WCAG AA (4.9:1). */
  --accent-ink: #b35400;
  --on-accent: var(--black);
  --grain: 0.11;
  --shadow: 0 1px 2px rgba(12, 12, 12, 0.06), 0 18px 40px -18px rgba(12, 12, 12, 0.28);

  /* ---- type ---- */
  --display: 'Archivo', 'Archivo Black', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  --logo: 'Archivo Black', 'Archivo', 'Arial Black', sans-serif;
  --body: 'Libre Franklin', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --step--1: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.25rem + 1.2vw, 2.25rem);
  --step-3: clamp(2rem, 1.4rem + 3vw, 4rem);
  --step-4: clamp(2.75rem, 1.3rem + 7vw, 7.5rem);
  --step-5: clamp(3.25rem, 0.8rem + 12vw, 13rem);

  /* ---- layout ---- */
  --gutter: clamp(20px, 4.4vw, 76px);
  --gap: clamp(12px, 1.7vw, 28px);
  --section: clamp(96px, 14vw, 220px);
  --nav-h: 64px;
  --measure: 34em;

  /* ---- motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-fast: 0.25s;
  --t-med: 0.6s;
  --t-slow: 1.1s;
}

/* ---- ink stock: the product chapter ----
   The page changes stock as a whole: nav.js sets data-stock on <body> when a
   chapter crosses the middle of the viewport, and the registered properties
   below let every colour on screen cross-fade together. An element can also
   paint itself in a stock regardless of the page with data-paint. */
body[data-stock='ink'],
[data-paint='ink'] {
  --paper: var(--night);
  --raise: #1f1915;
  --ink: var(--bone);
  --soft: #a89e90;
  --faint: rgba(246, 241, 233, 0.4);
  --line: rgba(246, 241, 233, 0.18);
  --line-strong: rgba(246, 241, 233, 0.92);
  --accent: var(--orange);
  --accent-ink: #ffb042;
  --on-accent: var(--black);
  --grain: 0.09;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 24px 50px -20px rgba(0, 0, 0, 0.7);
}

/* ---- orange stock: the last page ---- */
body[data-stock='orange'],
[data-paint='orange'] {
  --paper: var(--orange);
  --raise: #ffb24a;
  --ink: var(--black);
  --soft: rgba(12, 12, 12, 0.74);
  --faint: rgba(12, 12, 12, 0.45);
  --line: rgba(12, 12, 12, 0.28);
  --line-strong: rgba(12, 12, 12, 0.92);
  --accent: var(--black);
  --accent-ink: var(--black);
  --on-accent: var(--orange);
  --grain: 0.12;
}

/* Registered so a change of stock interpolates instead of snapping. */
@property --paper {
  syntax: '<color>';
  inherits: true;
  initial-value: #ffffff;
}
@property --raise {
  syntax: '<color>';
  inherits: true;
  initial-value: #fff5e8;
}
@property --ink {
  syntax: '<color>';
  inherits: true;
  initial-value: #0c0c0c;
}
@property --soft {
  syntax: '<color>';
  inherits: true;
  initial-value: #66625a;
}
@property --line {
  syntax: '<color>';
  inherits: true;
  initial-value: rgba(12, 12, 12, 0.16);
}
@property --line-strong {
  syntax: '<color>';
  inherits: true;
  initial-value: rgba(12, 12, 12, 0.9);
}
@property --accent-ink {
  syntax: '<color>';
  inherits: true;
  initial-value: #b35400;
}

/* ==========================================================================
   Base — reset, stock, type roles, grid, small utilities
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  /* Paints behind overscroll and under the fixed grain layer. */
  background: var(--white);
}
body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition:
    --paper 0.9s var(--ease-io),
    --raise 0.9s var(--ease-io),
    --ink 0.9s var(--ease-io),
    --soft 0.9s var(--ease-io),
    --line 0.9s var(--ease-io),
    --line-strong 0.9s var(--ease-io),
    --accent-ink 0.9s var(--ease-io);
}
img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}
img,
video {
  height: auto;
}
ul,
ol {
  list-style: none;
}
/* Element-level reset. The universal reset above has zero specificity, so a
   host stylesheet's element rules (Webflow sets h1 margins, list padding,
   blockquote borders…) would win against it. These match them and, loading
   later, override them. */
h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, figure, figcaption, blockquote, table, th, td {
  margin: 0;
  padding: 0;
}
h1, h2, h3, h4, h5, h6 {
  line-height: inherit;
}
blockquote {
  border: 0;
  font-size: inherit;
  line-height: inherit;
}
table {
  border-spacing: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: inherit;
  font-size: inherit;
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
::selection {
  background: var(--accent);
  color: var(--on-accent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}

/* An element that paints itself in a fixed stock, whatever the page is doing. */
[data-paint] {
  background: var(--paper);
  color: var(--ink);
}

/* Two-ink riso grain over everything. Pure decoration, never intercepts input. */
.grain {
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  opacity: var(--grain);
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}
body[data-stock='ink'] .grain {
  mix-blend-mode: screen;
  opacity: 0.07;
}

/* ---------- type roles ---------- */

.display {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 100%;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.015em;
}
.display--xl {
  font-size: var(--step-5);
}
.display--l {
  font-size: var(--step-4);
}
.display--m {
  font-size: var(--step-3);
  line-height: 0.94;
}
.display--s {
  font-size: var(--step-2);
  line-height: 1;
  letter-spacing: -0.005em;
}
.display--tight {
  font-stretch: 70%;
}
.display--wide {
  font-stretch: 122%;
}

.lead {
  font-size: var(--step-1);
  line-height: 1.38;
  letter-spacing: -0.005em;
  max-width: var(--measure);
}
.lead--l {
  font-size: var(--step-2);
  line-height: 1.22;
  letter-spacing: -0.012em;
  font-weight: 450;
  max-width: 24em;
}
.copy {
  max-width: var(--measure);
  color: var(--soft);
}
.copy strong,
.lead strong {
  font-weight: 600;
  color: var(--ink);
}

.mono {
  font-family: var(--mono);
  font-size: 0.6875rem;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
}
.mono--soft {
  color: var(--soft);
}
.mono--accent {
  color: var(--accent-ink);
}

/* The Jeto device: a key phrase set on an orange ink block. */
.block {
  background: var(--accent);
  color: var(--on-accent);
  padding: 0 0.18em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* The full stop. */
.dot {
  color: var(--accent);
}

/* ---------- layout ---------- */

.wrap {
  padding-inline: var(--gutter);
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  padding-inline: var(--gutter);
}
.rule {
  height: 1px;
  background: var(--line);
  border: 0;
}

/* ---------- links & buttons ---------- */

.link {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
  transition: background-size var(--t-med) var(--ease-out), color var(--t-fast);
}
.link:hover,
.link:focus-visible {
  background-size: 0% 1px;
  background-position: 100% 100%;
}

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85em;
  padding: 1.05em 1.5em 1.05em 1.6em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--t-med) var(--ease-out);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform var(--t-med) var(--ease-out);
}
.btn:hover,
.btn:focus-visible {
  color: var(--on-accent);
}
.btn:hover::before,
.btn:focus-visible::before {
  transform: scaleX(1);
  transform-origin: 0 50%;
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn .arrow {
  transition: transform var(--t-med) var(--ease-out);
}
.btn:hover .arrow,
.btn:focus-visible .arrow {
  transform: translateX(4px);
}

.arrow {
  width: 1.05em;
  height: 1.05em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: square;
}

/* ---------- utilities ---------- */

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  left: var(--gutter);
  top: 12px;
  z-index: 1000;
  padding: 0.8em 1.2em;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateY(-200%);
}
.skip:focus {
  transform: none;
}
.nowrap {
  white-space: nowrap;
}

/* ==========================================================================
   Masthead + small-screen menu
   ========================================================================== */

.wordmark {
  white-space: nowrap;
  font-family: var(--logo);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.wordmark__dot {
  /* The logo's full stop is a true circle, so it is drawn rather than typed. */
  display: inline-block;
  width: 0.2em;
  height: 0.2em;
  margin-left: 0.045em;
  border-radius: 50%;
  background: var(--accent);
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 800;
  height: var(--nav-h);
  color: var(--ink);
  transition: transform 0.6s var(--ease-out);
}
.nav.is-hidden {
  transform: translateY(-101%);
}
.nav__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  height: 100%;
  padding-inline: var(--gutter);
}
/* The bar only takes a surface once the page has moved, so the hero stays clean. */
.nav__bar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.4s var(--ease-soft);
}
.nav.is-scrolled .nav__bar::before {
  opacity: 1;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  height: 44px;
  margin-left: -4px;
  padding-inline: 4px;
}
.nav__brand .wordmark__dot {
  transition: transform 0.5s var(--ease-out);
}
.nav__brand:hover .wordmark__dot {
  transform: translateY(-0.28em);
}
.nav__meta {
  display: flex;
  gap: 0.9em;
  margin-right: auto;
  white-space: nowrap;
}
.nav__sep {
  color: var(--accent-ink);
}
.nav__links ul {
  display: flex;
  gap: clamp(14px, 2.2vw, 34px);
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  height: 44px;
  color: var(--ink);
}
.nav__num {
  color: var(--soft);
  transition: color var(--t-fast);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 11px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.5s var(--ease-out);
}
.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link[aria-current]::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}
.nav__link[aria-current] .nav__num,
.nav__link:hover .nav__num {
  color: var(--accent-ink);
}

.nav__toggle {
  display: none;
  align-items: center;
  gap: 0.9em;
  height: 44px;
  margin-left: auto;
  margin-right: -6px;
  padding-inline: 6px;
  color: var(--ink);
}
.nav__burger {
  position: relative;
  width: 22px;
  height: 10px;
}
.nav__burger i {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: transform 0.5s var(--ease-out), top 0.5s var(--ease-out);
}
.nav__burger i:first-child {
  top: 0;
}
.nav__burger i:last-child {
  top: 8px;
}
.menu-open .nav__burger i:first-child {
  top: 4px;
  transform: rotate(45deg);
}
.menu-open .nav__burger i:last-child {
  top: 4px;
  transform: rotate(-45deg);
}

.nav__progress {
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  pointer-events: none;
}
.nav__progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ---------- menu sheet (small screens) ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 790;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 6vh) var(--gutter) max(28px, env(safe-area-inset-bottom));
  background: var(--night);
  color: var(--bone);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease-io);
  overflow-y: auto;
}
.menu-open .menu {
  clip-path: inset(0);
}
.menu__list {
  display: grid;
  gap: 0.1em;
}
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  padding-block: 0.12em;
  font-size: clamp(2.2rem, 11.8vw, 5.5rem);
  font-stretch: 72%;
  color: var(--bone);
  transform: translateY(110%);
  transition: transform 0.7s var(--ease-out), color var(--t-fast);
  transition-delay: calc(var(--i) * 55ms + 120ms), 0s;
}
.menu__list li {
  overflow: hidden;
}
.menu-open .menu__link {
  transform: none;
}
.menu__link:hover,
.menu__link:focus-visible {
  color: var(--orange);
}
.menu__num {
  color: var(--orange);
  font-size: 0.6875rem;
  transform: translateY(-1.4em);
}
.menu__foot {
  color: #a89e90;
  padding-top: 32px;
}
/* While the sheet is open the masthead sits on ink, whatever the page stock. */
.menu-open .nav {
  --ink: var(--bone);
  --soft: #a89e90;
  --accent-ink: #ffb042;
  transform: none;
}
.menu-open .nav__bar::before {
  opacity: 0;
}

@media (max-width: 899px) {
  .nav__links,
  .nav__meta {
    display: none;
  }
  .nav__toggle {
    display: inline-flex;
  }
}
@media (min-width: 900px) {
  .menu {
    display: none;
  }
}

/* ==========================================================================
   Hero — pinned for one extra screen while the camera pushes through the stage
   ========================================================================== */

.hero {
  --p: 0;
  position: relative;
  height: 172vh;
  height: 172svh;
}
.hero__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  overflow: clip;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
}
.hero__inner {
  position: relative;
  z-index: 1;
  flex: none;
  padding: 0 var(--gutter) clamp(18px, 2.6vw, 36px);
}
.hero__kicker {
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.9em;
  padding: clamp(8px, 1.6vh, 24px) var(--gutter) 0;
  color: var(--soft);
}
.hero__kicker-dot {
  width: 0.62em;
  height: 0.62em;
  border-radius: 50%;
  background: var(--accent);
}

/* ---- the headline ---- */
.hero__title {
  position: relative;
}
.hero__lines {
  display: block;
}
.hero__lines--narrow {
  display: none;
}
.hero__line {
  display: block;
  /* The line box is exactly as tall as its capitals, so stacked lines sit tight. */
  line-height: 0;
}
.hero__fit {
  display: inline-block;
  white-space: nowrap;
  /* Sensible size before the fit script takes over (and if it never does). */
  font-size: clamp(2.6rem, 10.4vw, 11rem);
  font-stretch: 84%;
  line-height: 0.84;
  letter-spacing: -0.02em;
  padding-top: 0.06em;
  transform-origin: 0 100%;
  will-change: font-size;
}
/* Optical: capitals overhang the measure slightly, pull them flush. */
.is-fit .hero__fit {
  margin-left: -0.035em;
}

.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: var(--gap) clamp(24px, 6vw, 120px);
  align-items: end;
  margin-top: clamp(16px, 2.4vw, 34px);
  padding-top: clamp(14px, 1.8vw, 24px);
  border-top: 1px solid var(--line-strong);
}
.hero__lead {
  font-size: clamp(1rem, 0.86rem + 0.62vw, 1.4rem);
  line-height: 1.36;
  max-width: 33em;
}
.hero__aside {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.hero__facts {
  display: grid;
  gap: 6px;
}
.hero__facts div {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  gap: 1em;
}
.hero__facts dt {
  color: var(--accent-ink);
}
.hero__facts dd {
  color: var(--soft);
}

/* ---- entrance ---- */
.js .hero [data-hero-in] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}
.js.is-ready .hero [data-hero-in] {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease-soft), transform 1.1s var(--ease-out);
  transition-delay: calc(0.5s + var(--i) * 0.12s);
}
.js .hero__lines {
  visibility: hidden;
}
.js .hero__lines.is-fit,
.js-off .hero__lines {
  visibility: visible;
}
.js .hero__foot {
  border-top-color: transparent;
}
.js.is-ready .hero__foot {
  border-top-color: var(--line-strong);
  transition: border-color 1.2s var(--ease-soft) 0.5s;
}

/* ==========================================================================
   Stage — real plates in real 3D
   ========================================================================== */

/* The stage takes whatever height is left between the masthead and the
   headline, and is a size container: every plate is placed and sized in
   container units, so the composition holds from a phone to a wide desktop
   and never sits on the type. */
.stage {
  --fade: 1;
  --mwk: 1;
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  margin-block: clamp(6px, 1.4vh, 18px) clamp(8px, 2vh, 26px);
  z-index: 2;
  container-type: size;
  pointer-events: none;
  perspective: 1600px;
  /* The vanishing point sits at the foot of the stage, just above the
     headline: as the camera pushes in, every plate flies up and outwards,
     away from the type rather than across it. */
  perspective-origin: 50% 94%;
  opacity: var(--fade);
}
.stage__scene {
  --mx: 0;
  --my: 0;
  --cam-rx: 0;
  --cam-ry: 0;
  --cam-z: 0;
  --push: 0;
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--cam-z) * 1px)) rotateX(calc(var(--cam-rx) * 1deg)) rotateY(calc(var(--cam-ry) * 1deg));
  will-change: transform;
}
.stage__plate {
  position: absolute;
  left: 50%;
  top: 50%;
  /* Height first (a share of the stage), unless that would make the plate
     wider than its cap — then the cap decides. */
  height: min(calc(var(--h) * 1cqh), calc(var(--mw) * var(--mwk) * 1cqw / var(--ar)));
  aspect-ratio: var(--ar);
  transform-style: preserve-3d;
  /* Depth-scaled pointer parallax on top of the plate's place in the scene. */
  transform: translate3d(
      calc(-50% + var(--x) * 1cqw + var(--mx) * var(--depth) * -26px),
      calc(-50% + var(--y) * 1cqh + var(--my) * var(--depth) * -18px),
      var(--z)
    )
    rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(var(--rz));
}
.stage__sheet {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--raise);
  box-shadow: var(--shadow);
  outline: 1px solid var(--line);
  animation: stage-float calc(9s + var(--i) * 1.3s) ease-in-out calc(var(--i) * -1.7s) infinite alternate;
}
.stage__sheet .ph {
  position: absolute;
  inset: 0;
}
.stage__tag {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  color: var(--soft);
  font-size: 0.5625rem;
}
@keyframes stage-float {
  from {
    transform: translate3d(0, -7px, 0) rotateZ(-0.5deg);
  }
  to {
    transform: translate3d(0, 9px, 0) rotateZ(0.6deg);
  }
}

/* Entrance: every plate arrives from deep in the scene. */
.js .stage__plate {
  opacity: 0;
  translate: 0 0 -1400px;
}
.js.is-ready .stage__plate {
  opacity: 1;
  translate: 0 0 0;
  transition: opacity 0.7s var(--ease-soft), translate 1.7s var(--ease-out);
  transition-delay: calc(0.12s + var(--i) * 0.085s);
}

/* ---- narrow screens ---- */
@media (max-width: 760px) {
  .hero {
    height: 150vh;
    height: 150svh;
  }
  .hero__lines--wide {
    display: none;
  }
  .hero__lines--narrow {
    display: block;
  }
  .hero__foot {
    grid-template-columns: 1fr;
  }
  .hero__facts {
    display: none;
  }
  .hero__aside {
    justify-content: flex-start;
  }
  .stage {
    --mwk: 2;
    perspective: 900px;
  }
  /* Five plates are plenty at this width. */
  .stage__plate:nth-child(n + 6) {
    display: none;
  }
}
/* Tall, narrow stages (tablets held upright): let plates grow wider. */
@media (min-width: 761px) and (max-aspect-ratio: 1/1) {
  .stage {
    --mwk: 1.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    height: auto;
    min-height: 100svh;
  }
  .hero__pin {
    position: relative;
    min-height: 100svh;
    height: auto;
  }
  .hero__foot {
    opacity: 1;
    transform: none;
  }
  .stage__sheet {
    animation: none;
  }
}

/* Short, wide screens (small laptops): give the stage a little more room. */
@media (min-width: 901px) and (max-height: 800px) {
  .hero__title {
    max-width: 90%;
  }
  .hero__lead {
    font-size: var(--step-0);
    line-height: 1.42;
  }
  .hero__foot {
    margin-top: 12px;
    padding-top: 12px;
  }
}

/* ==========================================================================
   Selected work — chapters, the project shell, and the "proof" plate
   ========================================================================== */

.work {
  position: relative;
}
/* The last project of each chapter carries the chapter's closing space. */
.pj--end-studio {
  padding-bottom: calc(var(--section) * 0.7);
}
.pj--end-product {
  padding-bottom: calc(var(--section) * 0.4);
}

/* ---------- chapter opener ---------- */

.opener {
  position: relative;
  padding: clamp(72px, 12vw, 180px) var(--gutter) clamp(40px, 6vw, 96px);
}
.opener__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
}
.opener__count {
  color: var(--accent-ink);
}
.opener__title {
  display: block;
  margin-top: clamp(10px, 1.6vw, 22px);
}
.opener__line {
  display: block;
  line-height: 0;
}
.opener__fit {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(4rem, 21vw, 22rem);
  line-height: 0.82;
  letter-spacing: -0.025em;
  padding-top: 0.05em;
  margin-left: -0.04em;
}
.js .opener__lines {
  visibility: hidden;
}
.js .opener__lines.is-fit,
.js-off .opener__lines {
  visibility: visible;
}
.opener__foot {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 20px;
  margin-top: clamp(22px, 3vw, 44px);
}
.opener__lead {
  grid-column: 1 / span 6;
}
.opener__note {
  grid-column: 8 / span 5;
  align-self: end;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  color: var(--soft);
  font-size: var(--step--1);
  line-height: 1.5;
  max-width: 34em;
}
.opener__note strong {
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 760px) {
  .opener__lead,
  .opener__note {
    grid-column: 1 / -1;
  }
}

/* ---------- project shell ---------- */

.pj {
  position: relative;
  padding-top: clamp(80px, 12vw, 200px);
  scroll-margin-top: var(--nav-h);
}

.pj__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 18px;
  align-items: end;
  padding-inline: var(--gutter);
  margin-bottom: clamp(28px, 4vw, 60px);
}
.pj__folio {
  grid-column: 1 / span 2;
  align-self: start;
  display: grid;
  gap: 12px;
  padding-top: 0.5em;
}
.pj__num {
  color: var(--ink);
}
.pj__num b {
  font-weight: 500;
  color: var(--accent-ink);
}
/* The colour bar is the project's own palette — the only colour on the page. */
.pj__bar {
  display: flex;
  width: min(100%, 132px);
  height: 10px;
}
.pj__bar i {
  flex: 1;
  background: var(--sw);
  transform: scaleY(0);
  transform-origin: 50% 100%;
}
.no-js .pj__bar i,
.js-off .pj__bar i,
.is-in .pj__bar i {
  transform: none;
  transition: transform 0.7s var(--ease-out);
  transition-delay: calc(var(--n) * 55ms + 0.2s);
}
.pj__titles {
  grid-column: 3 / span 7;
}
.pj__client {
  font-size: var(--step-4);
  font-stretch: 84%;
  line-height: 0.9;
}
.pj__title {
  margin-top: clamp(12px, 1.6vw, 22px);
  font-size: var(--step-2);
  line-height: 1.14;
  letter-spacing: -0.014em;
  font-weight: 450;
  max-width: 21em;
}
.pj__meta {
  grid-column: 10 / span 3;
  display: grid;
  gap: 7px;
  padding-bottom: 0.5em;
}
.pj__meta div {
  display: grid;
  grid-template-columns: 6.2em 1fr;
  gap: 0.8em;
}
.pj__meta dt {
  color: var(--soft);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.status::before {
  content: '';
  width: 0.62em;
  height: 0.62em;
  border-radius: 50%;
  background: var(--soft);
  flex: none;
}
.status--live::before {
  background: #1f9d55;
  box-shadow: 0 0 0 3px color-mix(in srgb, #1f9d55 22%, transparent);
}
.status--progress::before {
  background: var(--accent);
}
.status--prototype::before {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
.status--concept::before {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--soft);
}

/* ---------- body: facts + thinking ---------- */

.pj__body {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 32px;
  padding-inline: var(--gutter);
  margin-top: clamp(28px, 4vw, 64px);
}
.pj__think {
  grid-column: 3 / span 6;
}
.pj__think .mono {
  display: block;
  margin-bottom: 14px;
  color: var(--accent-ink);
}
.pj__think p {
  font-size: var(--step-1);
  line-height: 1.42;
  letter-spacing: -0.006em;
}
.pj__think p + p {
  margin-top: 0.9em;
  color: var(--soft);
  font-size: var(--step-0);
  line-height: 1.6;
  max-width: 36em;
}
.pj__facts {
  grid-column: 10 / span 3;
  display: grid;
  gap: 20px;
  align-content: start;
}
.pj__facts dt {
  margin-bottom: 6px;
  color: var(--soft);
}
.pj__facts dd {
  font-size: var(--step--1);
  line-height: 1.5;
}
.pj__facts ul {
  display: grid;
  gap: 3px;
}
.pj__facts li {
  position: relative;
  padding-left: 1.1em;
}
.pj__facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 0.5em;
  height: 1px;
  background: currentColor;
}

/* ---------- case notes (progressive disclosure) ---------- */

.notes {
  grid-column: 3 / -1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  interpolate-size: allow-keywords;
}
.notes summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  transition: color var(--t-fast);
}
.notes summary::-webkit-details-marker {
  display: none;
}
.notes summary:hover,
.notes summary:focus-visible {
  color: var(--accent-ink);
}
.notes__plus {
  position: relative;
  width: 15px;
  height: 15px;
  flex: none;
}
.notes__plus::before,
.notes__plus::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  margin-top: -0.75px;
  background: currentColor;
  transition: transform 0.5s var(--ease-out);
}
.notes__plus::after {
  transform: rotate(90deg);
}
.notes[open] .notes__plus::after {
  transform: rotate(0deg);
}
.notes::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size 0.6s var(--ease-io), content-visibility 0.6s allow-discrete;
}
.notes[open]::details-content {
  block-size: auto;
}
.notes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px var(--gap);
  padding: 8px 0 34px;
}
.notes__grid h4 {
  margin-bottom: 10px;
  color: var(--accent-ink);
}
.notes__grid p,
.notes__grid li {
  font-size: var(--step--1);
  line-height: 1.58;
  color: var(--soft);
}
.notes__grid ul {
  display: grid;
  gap: 7px;
}
.notes__grid li {
  position: relative;
  padding-left: 1.1em;
}
.notes__grid li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.5em;
  height: 1px;
  background: var(--accent);
}
.notes__grid strong {
  color: var(--ink);
  font-weight: 600;
}

.pj__link {
  grid-column: 3 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
}

/* ==========================================================================
   Plate — an image inside a proof frame
   ========================================================================== */

.plate {
  position: relative;
  margin: 0;
}
.plate__box {
  position: relative;
}
.plate__frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--raise);
  /* 3D tilt (pointer.js writes --rx / --ry) */
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: box-shadow 0.5s var(--ease-soft);
}
button.plate__frame {
  cursor: zoom-in;
}
.has-cursor button.plate__frame {
  cursor: none;
}
.plate__img {
  position: absolute;
  inset: 0;
}
.plate--drift .plate__img {
  inset: -9% 0;
  transform: translate3d(0, calc(var(--c, 0) * var(--drift, 0.5) * -11%), 0);
  will-change: transform;
}
.ph {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background: var(--raise) var(--lqip) center / cover no-repeat;
}
.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focal, 50% 50%);
  transition: opacity 0.7s var(--ease-soft), transform 1.4s var(--ease-out);
}
.ph--contain {
  background-size: contain;
}
.ph--contain img {
  object-fit: contain;
}
.js .ph img:not(.is-loaded) {
  opacity: 0;
}
button.plate__frame:hover .ph img,
button.plate__frame:focus-visible .ph img {
  transform: scale(1.035);
}

/* Crop marks — the printer's corners, outside the image. */
.plate--marks .plate__box::before {
  --m: var(--line-strong);
  --o: 13px;
  --l: 9px;
  content: '';
  position: absolute;
  inset: calc(var(--o) * -1);
  pointer-events: none;
  background:
    linear-gradient(var(--m), var(--m)) var(--o) 0 / 1px var(--l),
    linear-gradient(var(--m), var(--m)) 0 var(--o) / var(--l) 1px,
    linear-gradient(var(--m), var(--m)) calc(100% - var(--o)) 0 / 1px var(--l),
    linear-gradient(var(--m), var(--m)) 100% var(--o) / var(--l) 1px,
    linear-gradient(var(--m), var(--m)) var(--o) 100% / 1px var(--l),
    linear-gradient(var(--m), var(--m)) 0 calc(100% - var(--o)) / var(--l) 1px,
    linear-gradient(var(--m), var(--m)) calc(100% - var(--o)) 100% / 1px var(--l),
    linear-gradient(var(--m), var(--m)) 100% calc(100% - var(--o)) / var(--l) 1px;
  background-repeat: no-repeat;
  opacity: 0.55;
  transition: opacity 0.8s var(--ease-soft) 0.5s;
}
.js .plate--marks[data-reveal]:not(.is-in) .plate__box::before {
  opacity: 0;
}

.plate__cap {
  display: flex;
  gap: 1.2em;
  margin-top: 14px;
  line-height: 1.5;
}
.plate__folio {
  color: var(--accent-ink);
  flex: none;
}

/* The wipe: an orange ink block crosses the frame and leaves the image behind. */
.plate__box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  pointer-events: none;
}
.js [data-reveal='wipe'] .plate__frame {
  opacity: 0;
}
.js [data-reveal='wipe'].is-in .plate__frame {
  animation: plate-on 1.25s linear both;
  animation-delay: calc(var(--i, 0) * 110ms);
}
.js [data-reveal='wipe'].is-in .plate__box::after {
  animation: plate-wipe 1.25s var(--ease-io) both;
  animation-delay: calc(var(--i, 0) * 110ms);
}
.js [data-reveal='wipe'].is-in .plate__img .ph {
  animation: plate-settle 1.9s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 110ms + 0.5s);
}
.js [data-reveal='wipe'] .plate__cap {
  opacity: 0;
  transition: opacity 0.8s var(--ease-soft) 0.7s;
}
.js [data-reveal='wipe'].is-in .plate__cap {
  opacity: 1;
}
@keyframes plate-wipe {
  0% {
    transform: scaleX(0);
    transform-origin: 0 50%;
  }
  46% {
    transform: scaleX(1);
    transform-origin: 0 50%;
  }
  54% {
    transform: scaleX(1);
    transform-origin: 100% 50%;
  }
  100% {
    transform: scaleX(0);
    transform-origin: 100% 50%;
  }
}
@keyframes plate-on {
  0%,
  46% {
    opacity: 0;
  }
  47%,
  100% {
    opacity: 1;
  }
}
@keyframes plate-settle {
  from {
    scale: 1.14;
  }
  to {
    scale: 1;
  }
}

/* Redacted plate (public build): the image is withheld, the frame stays. */
.plate--redacted .plate__frame {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
}
.plate--redacted .plate__frame span {
  padding: 0 1.2em;
  text-align: center;
}

/* Video plates */
.plate__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.plate__toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 0.7em 1em;
  background: var(--black);
  color: var(--white);
  font-size: 0.625rem;
  opacity: 0;
  transition: opacity var(--t-fast);
}
.plate--video:hover .plate__toggle,
.plate__toggle:focus-visible {
  opacity: 1;
}
@media (hover: none) {
  .plate__toggle {
    opacity: 0.85;
  }
}

@media (max-width: 900px) {
  .pj__folio {
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px;
    padding-top: 0;
  }
  .pj__titles {
    grid-column: 1 / -1;
  }
  .pj__meta {
    grid-column: 1 / -1;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px 20px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }
  .pj__meta div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .pj__think,
  .pj__facts,
  .notes,
  .pj__link {
    grid-column: 1 / -1;
  }
  .pj__facts {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .notes__grid {
    grid-template-columns: 1fr;
  }
  .plate--marks .plate__box::before {
    --o: 9px;
    --l: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal='wipe'] .plate__frame,
  .js [data-reveal='wipe'] .plate__cap {
    opacity: 1 !important;
    animation: none !important;
  }
  .plate__box::after {
    display: none;
  }
  .plate--drift .plate__img {
    inset: 0;
    transform: none;
  }
  .pj__bar i {
    transform: none;
  }
}

/* ==========================================================================
   Project layouts — lead, feature, scroller, reel, study, switcher, ledger
   and the hinge between the two chapters
   ========================================================================== */

/* ---------- lead: a full-bleed opening image, then an offset pair ---------- */

.lead__bleed .plate__frame {
  max-height: 96vh;
}
.lead__pair {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: start;
  padding-inline: var(--gutter);
  margin-top: clamp(28px, 5vw, 80px);
}
.lead__a {
  grid-column: 1 / span 7;
}
.lead__b {
  grid-column: 9 / span 4;
  margin-top: clamp(48px, 11vw, 190px);
}
.lead__tail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px) var(--gap);
  align-items: start;
  padding-inline: var(--gutter);
  margin-top: clamp(40px, 6vw, 96px);
}
.lead__tail > :nth-child(2) {
  margin-top: clamp(24px, 5vw, 80px);
}

/* ---------- feature: one large plate, a smaller one hung beside it ---------- */

.feat {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: start;
  padding-inline: var(--gutter);
}
.feat__side {
  display: grid;
  gap: clamp(28px, 4vw, 64px);
}
.pj--feature-right .feat__main {
  grid-column: 1 / span 8;
}
.pj--feature-right .feat__side {
  grid-column: 10 / span 3;
  padding-top: clamp(40px, 12vw, 210px);
}
.pj--feature-left .feat__main {
  grid-column: 5 / span 8;
  grid-row: 1;
}
.pj--feature-left .feat__side {
  grid-column: 1 / span 3;
  grid-row: 1;
  padding-top: clamp(32px, 8vw, 140px);
}

/* ---------- scroller: the real page moves inside a fixed frame ---------- */

.scr {
  --pin: 0;
  position: relative;
}
.scr__sticky {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: end;
  padding-inline: var(--gutter);
}
.scr__main {
  grid-column: 1 / span 9;
}
.scr__side {
  grid-column: 10 / span 3;
  display: grid;
  gap: clamp(24px, 3vw, 48px);
}
.scr__frame {
  container-type: size;
  display: grid;
  place-items: center;
}
.scr__page {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  /* Default (narrow screens): the page travels from its top to the bottom of
     the capture while the frame passes through the viewport. 100% is the
     page's own height, 100cqh the frame's. */
  transform: translate3d(0, calc(clamp(0, (var(--p, 0) - 0.24) / 0.52, 1) * (100cqh - 100%)), 0);
  will-change: transform;
}
/* Wide screens: the frame is pinned for a screen and a half, and the page
   scrolls inside it — you read the real page at its real pace. */
@media (min-width: 901px) and (min-height: 560px) {
  .js .scr {
    height: 250vh;
  }
  .js .scr__sticky {
    position: sticky;
    top: calc(var(--nav-h) + 14px);
    height: calc(100vh - var(--nav-h) - 34px);
    align-items: stretch;
  }
  .js .scr__main {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .js .scr__main .plate__box {
    flex: 1;
    min-height: 0;
  }
  .js .scr__frame {
    height: 100%;
    aspect-ratio: auto !important;
  }
  .js .scr__side {
    align-content: end;
  }
  .js .scr__page {
    transform: translate3d(0, calc(clamp(0, (var(--pin, 0) - 0.03) / 0.92, 1) * (100cqh - 100%)), 0);
  }
}

/* ---------- reel: a strip that travels sideways while pinned ---------- */

.reel {
  --reel-h: min(54vh, 520px);
  --travel: 0;
  position: relative;
}
.reel.is-pinned {
  /* The strip travels a little faster than the page scrolls. */
  height: calc(100vh + var(--travel) * 0.72px);
}
.reel.is-pinned .reel__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.reel__track {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 44px);
  width: max-content;
  padding-inline: var(--gutter);
}
.reel.is-pinned .reel__track {
  transform: translate3d(calc(var(--p, 0) * var(--travel) * -1px), 0, 0);
  will-change: transform;
}
/* Not pinned (touch, reduced motion, no JS): an ordinary sideways scroller. */
.reel:not(.is-pinned) .reel__pin {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  padding-bottom: 12px;
}
.reel:not(.is-pinned) .reel__item {
  scroll-snap-align: center;
}
.reel__item {
  flex: none;
  width: calc(var(--reel-h) * var(--h, 1) * var(--ar, 1));
}
.reel__item--note {
  width: min(70vw, 620px);
  padding-inline: clamp(8px, 3vw, 60px);
}
.reel__item:nth-child(even) {
  margin-top: clamp(0px, 5vh, 56px);
}
.reel__item:nth-child(3n) {
  margin-top: clamp(-56px, -5vh, 0px);
}
.reel__label {
  display: flex;
  gap: 1.4em;
  padding: 0 var(--gutter) clamp(18px, 3vh, 34px);
  color: var(--soft);
}
.reel__label span {
  color: var(--accent-ink);
}
.reel:not(.is-pinned) .reel__label {
  display: none;
}
.reel__hint {
  display: flex;
  align-items: center;
  gap: 1.2em;
  padding: clamp(18px, 3vh, 34px) var(--gutter) 0;
}
.reel:not(.is-pinned) .reel__hint {
  display: none;
}
.reel__bar {
  flex: 0 0 min(30vw, 260px);
  height: 1px;
  background: var(--line);
}
.reel__bar i {
  display: block;
  height: 3px;
  margin-top: -1px;
  background: var(--accent);
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
}

/* ---------- study: findings scroll past a pinned screen ---------- */

.study__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 var(--gutter) clamp(40px, 7vw, 110px);
  border-top: 1px solid var(--line-strong);
}
.study__stats li {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 18px var(--gap) 4px 0;
}
.study__stats li + li {
  padding-left: var(--gap);
  border-left: 1px solid var(--line);
}
.study__stat {
  font-size: clamp(2.6rem, 6.4vw, 6.5rem);
  font-stretch: 72%;
  line-height: 0.86;
  color: var(--accent);
}

.study {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  padding-inline: var(--gutter);
}
.study__stage {
  grid-column: 1 / span 5;
  perspective: 1500px;
}
.study__screen {
  --mx: 0;
  --my: 0;
  position: sticky;
  top: calc(var(--nav-h) + 3.5vh);
  height: min(calc(100vh - var(--nav-h) - 9vh), 760px);
  margin-inline: auto;
  overflow: hidden;
  background: var(--raise);
  border-radius: 10px;
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
  transform: rotateY(calc(7deg + var(--mx) * -5deg)) rotateX(calc(var(--my) * 3deg));
  transform-origin: 50% 50%;
}
.study__layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translate3d(0, 5%, 0);
  transition: opacity 0.55s var(--ease-soft), transform 0.9s var(--ease-out);
}
.study__layer.is-on {
  opacity: 1;
  transform: none;
}
.study__counter {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 0.5em 0.8em;
  background: var(--black);
  color: var(--white);
  font-size: 0.625rem;
}
.study__screen.is-withheld {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}
.study__steps {
  grid-column: 7 / span 6;
}
.study__step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 68vh;
  padding-block: 6vh;
  border-top: 1px solid var(--line);
  transition: opacity 0.6s var(--ease-soft);
}
.study__step:first-child {
  border-top: 0;
}
.js .study.is-live .study__step:not(.is-on) {
  opacity: 0.32;
}
.study__n {
  color: var(--accent-ink);
  margin-bottom: 16px;
}
.study__title {
  font-stretch: 80%;
  max-width: 11em;
}
.study__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: clamp(20px, 3vw, 40px);
}
.study__pair .mono {
  margin-bottom: 8px;
}
.study__pair p:not(.mono) {
  font-size: var(--step-0);
  line-height: 1.5;
}
.study__pair > div:first-child p:not(.mono) {
  color: var(--soft);
}
/* The inline screen is the small-screen and no-JS version of the pinned stage. */
.study__inline {
  display: none;
  width: min(72%, 320px);
  margin-top: 28px;
}
.no-js .study__inline,
.js-off .study__inline {
  display: block;
}
.no-js .study__stage,
.js-off .study__stage {
  display: none;
}
.no-js .study__steps,
.js-off .study__steps {
  grid-column: 1 / -1;
}

.study__quote {
  margin: clamp(60px, 10vw, 160px) var(--gutter) 0;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}
.study__quote p {
  font-stretch: 78%;
  max-width: 14em;
}
.study__quote-line {
  display: block;
}
.study__quote footer {
  margin-top: 22px;
  max-width: 44em;
}
.study__strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 20px);
  padding-inline: var(--gutter);
  margin-top: clamp(48px, 7vw, 110px);
}
.study__strip .plate__frame {
  border-radius: 4px;
}
.study__strip > :nth-child(even) {
  margin-top: clamp(10px, 2.2vw, 34px);
}

/* ---------- switcher: one structure, several skins ---------- */

.sw {
  --mx: 0;
  --my: 0;
  padding-inline: var(--gutter);
}
.sw__tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--gap);
  border-top: 1px solid var(--line-strong);
}
.sw__tab {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 18px 12px 20px 0;
  text-align: left;
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  transition: color 0.4s var(--ease-soft);
}
.sw__tab::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 5px;
  background: var(--sw);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.7s var(--ease-out);
}
.sw__tab[aria-selected='true'] {
  color: var(--ink);
}
.sw__tab[aria-selected='true']::before {
  transform: scaleX(1);
}
.sw__tab:hover {
  color: var(--ink);
}
.sw__tab-n {
  color: var(--accent-ink);
}
.sw__tab-name {
  font-stretch: 80%;
  font-size: clamp(1.15rem, 0.8rem + 1.7vw, 2.4rem);
}
.sw__stage {
  display: grid;
  margin-top: clamp(36px, 5.5vw, 84px);
  perspective: 2000px;
  perspective-origin: 50% 40%;
}
.sw__panel {
  grid-area: 1 / 1;
  min-width: 0;
}
.sw__screens {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 2.4vw, 40px);
  max-width: 1180px;
  margin-inline: auto;
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--mx) * 5deg)) rotateX(calc(var(--my) * -2.5deg));
}
.sw__screen {
  display: grid;
  gap: 14px;
  justify-items: center;
  transform-style: preserve-3d;
  /* A shallow arc: outer screens turn in and step back. */
  transform: translate3d(0, calc(var(--a) * var(--a) * 9px), calc(var(--a) * var(--a) * -34px)) rotateY(calc(var(--k) * -9deg));
}
.sw__frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1206 / 2622;
  overflow: hidden;
  border-radius: clamp(12px, 2.1vw, 34px);
  background: var(--raise);
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
  backface-visibility: hidden;
  transition: transform 0.85s var(--ease-out), opacity 0.4s var(--ease-soft);
  transition-delay: calc(var(--n) * 70ms + 220ms);
}
button.sw__frame {
  cursor: zoom-in;
}
.has-cursor button.sw__frame {
  cursor: none;
}
.sw__screen.is-withheld .sw__frame {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
}
.sw__cap {
  transition: opacity 0.5s var(--ease-soft);
  transition-delay: calc(var(--n) * 70ms + 300ms);
  text-align: center;
}
.sw__note {
  max-width: 40em;
  margin: clamp(28px, 4vw, 56px) auto 0;
  text-align: center;
  font-size: var(--step-1);
  line-height: 1.4;
  transition: opacity 0.6s var(--ease-soft) 0.45s, transform 0.9s var(--ease-out) 0.45s;
}
/* Panel states only exist with JS; without it every brand is listed in turn. */
.js .sw__panel:not(.is-on) {
  pointer-events: none;
}
.js .sw__panel:not(.is-on) .sw__frame {
  transform: rotateY(88deg);
  opacity: 0;
  transition-delay: calc(var(--n) * 55ms);
}
.js .sw__panel.is-leaving .sw__frame {
  transform: rotateY(-88deg);
}
.js .sw__panel.is-reset .sw__frame {
  transition: none;
}
.js .sw__panel:not(.is-on) .sw__cap,
.js .sw__panel:not(.is-on) .sw__note {
  opacity: 0;
  transition-delay: 0s;
}
.js .sw__panel:not(.is-on) .sw__note {
  transform: translate3d(0, 12px, 0);
}
.no-js .sw__panel + .sw__panel,
.js-off .sw__panel + .sw__panel {
  margin-top: 64px;
}
.no-js .sw__stage,
.js-off .sw__stage {
  display: block;
}

/* ---------- ledger: a project told in type ---------- */

.ledger {
  padding-inline: var(--gutter);
}
.ledger__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 18px;
  margin-bottom: clamp(32px, 5vw, 72px);
}
.ledger__head .pj__folio {
  grid-column: 1 / span 2;
}
.ledger__titles {
  grid-column: 3 / span 9;
}
.ledger__title {
  margin-top: 14px;
  font-stretch: 80%;
}
.ledger__lead {
  margin-top: clamp(16px, 2vw, 28px);
}
.ledger__rows {
  border-top: 1px solid var(--line-strong);
}
.ledger__row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 14px;
  padding: clamp(20px, 2.6vw, 36px) 0;
  border-bottom: 1px solid var(--line);
}
.ledger__n {
  grid-column: 1 / span 2;
  color: var(--accent-ink);
  padding-top: 0.45em;
}
.ledger__what {
  grid-column: 3 / span 6;
}
.ledger__what h4 {
  display: inline;
  font-stretch: 84%;
  /* The ink block arrives from the left on hover. */
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 60% / 0% 78%;
  transition: background-size 0.6s var(--ease-out), color 0.3s;
  padding: 0 0.12em;
  margin-left: -0.12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.ledger__row:hover h4 {
  background-size: 100% 78%;
  color: var(--on-accent);
}
.ledger__what p {
  margin-top: 12px;
  max-width: 36em;
  color: var(--soft);
}
.ledger__meta {
  grid-column: 10 / span 3;
  display: grid;
  gap: 7px;
  align-content: start;
  padding-top: 0.45em;
}
.ledger__meta div,
.ledger__credit div {
  display: grid;
  grid-template-columns: 5.4em 1fr;
  gap: 0.8em;
}
.ledger__meta dt,
.ledger__credit dt {
  color: var(--soft);
}
.ledger__foot {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 20px;
  margin-top: clamp(28px, 4vw, 56px);
}
.ledger__foot .copy {
  grid-column: 3 / span 6;
}
.ledger__credit {
  grid-column: 10 / span 3;
  display: grid;
  gap: 7px;
  align-content: start;
}

/* ==========================================================================
   Hinge — one customer journey, two chapters. The dot crosses from getting
   noticed to getting paid, and the page changes stock as it passes halfway.
   ========================================================================== */

.hinge {
  --p: 0;
  --t: clamp(0, calc((var(--p) - 0.06) / 0.86), 1);
  position: relative;
  height: 215vh;
}
.hinge__zone {
  position: absolute;
  left: 0;
  width: 1px;
  pointer-events: none;
}
.hinge__zone--a {
  top: 0;
  height: 50%;
}
.hinge__zone--b {
  top: 50%;
  height: 50%;
}
.hinge__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(24px, 5vh, 64px);
  padding: var(--nav-h) var(--gutter) 5vh;
  overflow: hidden;
}
.hinge__say {
  display: grid;
  font-size: clamp(2.7rem, 10.6vw, 12rem);
  font-stretch: 74%;
  line-height: 0.86;
}
.hinge__a,
.hinge__b {
  grid-area: 1 / 1;
  will-change: transform, opacity;
}
.hinge__a {
  opacity: clamp(0, calc((0.47 - var(--p)) * 14), 1);
  transform: translate3d(0, calc(clamp(0, (var(--p) - 0.36) * 9, 1) * -32%), 0);
}
.hinge__b {
  opacity: clamp(0, calc((var(--p) - 0.5) * 14), 1);
  transform: translate3d(0, calc((1 - clamp(0, (var(--p) - 0.47) * 9, 1)) * 32%), 0);
  color: var(--accent);
}
.hinge__rail {
  position: relative;
  padding-top: 10px;
}
.hinge__track {
  display: block;
  height: 1px;
  background: var(--line-strong);
}
.hinge__track i {
  display: block;
  height: 3px;
  margin-top: -1px;
  background: var(--accent);
  transform: scaleX(var(--t));
  transform-origin: 0 50%;
}
.hinge__dot {
  position: absolute;
  top: 10px;
  left: calc(var(--t) * 100%);
  width: clamp(18px, 2.2vw, 30px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  translate: -50% -50%;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent);
}
.hinge__stations {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 0;
}
.hinge__station {
  position: relative;
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 26px 12px 0 0;
  color: var(--soft);
  transition: color 0.5s var(--ease-soft);
}
.hinge__tick {
  position: absolute;
  left: 0;
  top: -5px;
  width: 1px;
  height: 14px;
  background: var(--line-strong);
}
.hinge__state {
  color: inherit;
}
.hinge__where {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 82%;
  font-size: clamp(0.95rem, 0.6rem + 1.3vw, 1.75rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.hinge__station.is-on {
  color: var(--ink);
}
.hinge__station.is-on .hinge__state {
  color: var(--accent-ink);
}

/* ==========================================================================
   Narrow screens
   ========================================================================== */

@media (max-width: 900px) {
  .lead__a,
  .lead__b {
    grid-column: 1 / -1;
  }
  .lead__b {
    width: 70%;
    margin: 28px 0 0 auto;
  }
  .lead__tail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pj--feature .feat__main,
  .pj--feature .feat__side {
    grid-column: 1 / -1;
    grid-row: auto;
    padding-top: 0;
  }
  .feat__side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
  }
  .scr__main,
  .scr__side {
    grid-column: 1 / -1;
  }
  .scr__side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
  }
  .reel {
    --reel-h: min(54vh, 420px);
  }

  .study__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .study__stats li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .study__stats li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .study__stage {
    display: none;
  }
  .study__steps {
    grid-column: 1 / -1;
  }
  .study__step {
    min-height: 0;
    padding-block: 40px;
  }
  .js .study.is-live .study__step:not(.is-on) {
    opacity: 1;
  }
  .study__inline {
    display: block;
  }
  .study__pair {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .study__strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sw__tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sw__screens {
    display: flex;
    gap: 14px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 6px var(--gutter) 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    transform: none;
  }
  .sw__screens::-webkit-scrollbar {
    display: none;
  }
  .sw__screen {
    flex: 0 0 56%;
    scroll-snap-align: center;
    transform: none;
  }
  .sw__note {
    text-align: left;
  }

  .ledger__head .pj__folio,
  .ledger__titles,
  .ledger__n,
  .ledger__what,
  .ledger__meta,
  .ledger__foot .copy,
  .ledger__credit {
    grid-column: 1 / -1;
  }
  .ledger__n {
    padding-top: 0;
  }

  /* Narrow: the journey runs top to bottom, so five stations stay readable. */
  .hinge {
    height: 220vh;
  }
  .hinge__pin {
    justify-content: flex-start;
    gap: clamp(20px, 4vh, 40px);
    padding-top: calc(var(--nav-h) + 4vh);
  }
  .hinge__say {
    font-size: clamp(3.2rem, 17.4vw, 7rem);
  }
  .hinge__part {
    display: block;
  }
  .hinge__rail {
    flex: 1;
    min-height: 0;
    padding: 0 0 0 28px;
  }
  .hinge__track {
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
  }
  .hinge__track i {
    width: 3px;
    height: 100%;
    margin: 0 0 0 -1px;
    transform: scaleY(var(--t));
    transform-origin: 50% 0;
  }
  .hinge__dot {
    left: 8px;
    top: calc(var(--t) * 100%);
    width: 18px;
  }
  .hinge__stations {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }
  .hinge__station {
    grid-template-columns: 6.4em 1fr;
    gap: 2px 12px;
    align-items: baseline;
    padding: 0;
  }
  .hinge__tick {
    left: -27px;
    top: 0.62em;
    width: 14px;
    height: 1px;
  }
  .hinge__who {
    display: none;
  }
  .hinge__where {
    font-size: 1.0625rem;
  }
}

/* ==========================================================================
   Reduced motion / no JS: nothing is pinned, nothing scrubs
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .js .scr {
    height: auto;
  }
  .js .scr__sticky {
    position: static;
    height: auto;
  }
  /* The frame shows the top of the page; the full capture opens on click. */
  .js .scr__page,
  .scr__page {
    transform: none;
  }
  .js .scr__frame {
    height: auto;
  }
  .study__screen,
  .sw__screens,
  .sw__screen {
    transform: none;
  }
  .hinge {
    --p: 0.5;
    height: auto;
  }
  .hinge__pin {
    position: static;
    height: auto;
    padding-block: var(--section);
  }
  .hinge__say {
    display: block;
  }
  .hinge__a,
  .hinge__b {
    display: block;
    opacity: 1;
    transform: none;
  }
  .hinge__dot {
    display: none;
  }
  .hinge__track i {
    transform: none;
  }
  .hinge__station {
    color: var(--ink);
  }
}
.no-js .hinge,
.js-off .hinge {
  height: auto;
}
.no-js .hinge__pin,
.js-off .hinge__pin {
  position: static;
  height: auto;
  padding-block: var(--section);
}
.no-js .hinge__say,
.js-off .hinge__say {
  display: block;
}
.no-js .hinge__a,
.no-js .hinge__b,
.js-off .hinge__a,
.js-off .hinge__b {
  display: block;
  opacity: 1;
  transform: none;
}
.no-js .hinge__dot,
.js-off .hinge__dot {
  display: none;
}

/* ==========================================================================
   Process layout and the supporting strip
   ========================================================================== */

.proc {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.62fr);
  column-gap: var(--gap);
  row-gap: 36px;
  align-items: end;
  padding-inline: var(--gutter);
}
.proc__step {
  display: grid;
  gap: 14px;
  align-content: end;
}
.proc__k {
  display: flex;
  gap: 1.2em;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--soft);
}
.proc__k span {
  color: var(--accent-ink);
}
.proc__step--made .proc__k {
  border-bottom-color: var(--line-strong);
  color: var(--ink);
}
.proc__text {
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--soft);
  max-width: 26em;
}
.proc__step--made .proc__text {
  font-size: var(--step-0);
  color: var(--ink);
}

/* A row of supporting pieces under a project: mixed shapes, one baseline. */
.pj-strip {
  padding-inline: var(--gutter);
  margin-top: clamp(48px, 7vw, 110px);
}
.pj-strip__k {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em 1.4em;
  padding-bottom: 12px;
  margin-bottom: clamp(18px, 2.4vw, 32px);
  border-bottom: 1px solid var(--line-strong);
  color: var(--soft);
}
.pj-strip__k span {
  color: var(--accent-ink);
}
.pj-strip__row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap);
  align-items: end;
}
.pj-strip__row > :nth-child(even) {
  margin-bottom: clamp(0px, 3vw, 44px);
}

@media (max-width: 900px) {
  .proc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .proc__step--made {
    grid-column: 1 / -1;
  }
  .pj-strip__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pj-strip__row > :nth-child(even) {
    margin-bottom: 0;
  }
  .pj-strip__row > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: 60%;
  }
}

/* ==========================================================================
   Contact sheet, capabilities, approach, index, contact, lightbox
   ========================================================================== */

/* ---------- shared section head ---------- */

.sec-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: clamp(18px, 2.4vw, 34px);
  padding: var(--section) var(--gutter) clamp(36px, 5vw, 72px);
}
.sec-head__k {
  grid-column: 1 / -1;
  display: flex;
  gap: 1.4em;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
}
.sec-head__k span {
  color: var(--accent-ink);
}
.sec-head__t {
  grid-column: 1 / span 8;
  font-stretch: 78%;
}
.sec-head__l {
  grid-column: 9 / span 4;
  align-self: end;
  color: var(--soft);
  font-size: var(--step-0);
  line-height: 1.55;
}
.sec-head--wide {
  padding-bottom: clamp(20px, 3vw, 40px);
}
.sec-head > h2 {
  min-width: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.55em 0.9em 0.55em 1em;
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 100% / 100% 0;
  transition: background-size 0.45s var(--ease-out), color 0.3s, box-shadow 0.3s;
}
.chip:hover,
.chip:focus-visible {
  background-size: 100% 100%;
  color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.chip .arrow {
  width: 0.95em;
  height: 0.95em;
}

/* ---------- sheet: a contact sheet of smaller projects ---------- */

.sheet {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(26px, 3.6vw, 60px) var(--gap);
  padding-inline: var(--gutter);
  counter-reset: frame;
}
.sheet__item:nth-child(4n + 2) {
  margin-top: clamp(0px, 3vw, 48px);
}
.sheet__item:nth-child(4n + 3) {
  margin-top: clamp(0px, 1.2vw, 20px);
}
.sheet__item:nth-child(4n) {
  margin-top: clamp(0px, 4.4vw, 70px);
}
.sheet__frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--raise);
  box-shadow: 0 0 0 1px var(--line);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: box-shadow 0.5s var(--ease-soft);
}
button.sheet__frame {
  cursor: zoom-in;
}
.has-cursor button.sheet__frame {
  cursor: none;
}
.sheet__frame:hover,
.sheet__frame:focus-visible {
  box-shadow: 0 0 0 1px var(--line-strong), var(--shadow);
}
.sheet__frame--withheld {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 0 1em;
}
.sheet__cap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: start;
  margin-top: 14px;
}
.sheet__n {
  color: var(--accent-ink);
  padding-top: 0.25em;
}
.sheet__client {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 84%;
  font-size: 1.0625rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.sheet__what {
  margin-top: 4px;
}
.sheet__status {
  grid-column: 2;
  margin-top: 2px;
}

/* ---------- capabilities ---------- */

.caps {
  padding-bottom: calc(var(--section) * 0.3);
}
.caps__list {
  margin-inline: var(--gutter);
  border-top: 1px solid var(--line-strong);
}
.caps__row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 16px;
  align-items: start;
  padding: clamp(22px, 3vw, 44px) 0;
  border-bottom: 1px solid var(--line);
}
/* The ink block slides in under the row on hover. */
.caps__row::before {
  content: '';
  position: absolute;
  inset: 0 calc(var(--gutter) * -0.5);
  z-index: -1;
  background: var(--raise);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.55s var(--ease-out);
}
.caps__row:hover::before,
.caps__row:focus-within::before {
  transform: scaleY(1);
  transform-origin: 50% 0;
}
.caps__n {
  grid-column: 1 / span 1;
  color: var(--accent-ink);
  padding-top: 0.7em;
}
.caps__name {
  grid-column: 2 / span 5;
  font-stretch: 80%;
  transition: font-stretch 0.6s var(--ease-out);
}
.caps__row:hover .caps__name {
  font-stretch: 92%;
}
.caps__text {
  grid-column: 7 / span 3;
  color: var(--soft);
  font-size: var(--step--1);
  line-height: 1.55;
  padding-top: 0.3em;
}
.caps__proof {
  grid-column: 10 / span 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 0.2em;
}

/* ---------- approach ---------- */

.approach {
  padding-bottom: calc(var(--section) * 0.3);
}
.approach__title {
  grid-column: 1 / -1;
  min-width: 0;
}
.approach__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 40px;
  padding: clamp(36px, 5vw, 80px) var(--gutter) 0;
}
.approach__lead {
  grid-column: 1 / span 5;
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  align-self: start;
}
.approach__list {
  grid-column: 7 / span 6;
  border-top: 1px solid var(--line-strong);
}
.approach__item {
  padding: clamp(22px, 2.6vw, 36px) 0;
  border-bottom: 1px solid var(--line);
}
.approach__n {
  display: flex;
  gap: 1.4em;
  color: var(--soft);
  margin-bottom: 14px;
}
.approach__n span {
  color: var(--accent-ink);
}
.approach__name {
  font-stretch: 84%;
}
.approach__text {
  margin-top: 12px;
  max-width: 36em;
  color: var(--soft);
}
.approach__foot {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 32px;
  align-items: start;
  padding: clamp(40px, 6vw, 96px) var(--gutter) 0;
}
.approach__aside {
  grid-column: 1 / span 5;
  padding: clamp(20px, 2.4vw, 32px);
  background: var(--raise);
  border-left: 4px solid var(--accent);
}
.approach__aside p {
  margin-top: 10px;
  color: var(--soft);
  max-width: 34em;
}
.approach__who {
  grid-column: 7 / span 6;
  display: grid;
  gap: 9px;
}
.approach__who div {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  gap: 1em;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}
.approach__who dt {
  color: var(--soft);
}
.approach__link {
  grid-column: 7 / span 6;
}

/* ---------- index ---------- */

.index {
  padding-bottom: calc(var(--section) * 0.6);
}
.index__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 var(--gutter) clamp(18px, 2.4vw, 30px);
}
.filter {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5em;
  padding: 0.85em 1.1em;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--soft);
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.filter sup {
  font-size: 0.85em;
  color: var(--accent-ink);
  transition: color 0.3s;
}
.filter:hover {
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.filter[aria-pressed='true'] {
  background: var(--ink);
  color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.filter[aria-pressed='true'] sup {
  color: var(--accent);
}
.index__scroll {
  margin-inline: var(--gutter);
  border-top: 1px solid var(--line-strong);
}
.index__table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.index__table thead th {
  padding: 12px 16px 12px 0;
  color: var(--soft);
  font-weight: 400;
  border-bottom: 1px solid var(--line);
}
.index__row > * {
  padding: 15px 16px 15px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
  transition: color 0.3s, padding 0.5s var(--ease-out);
}
.index__year {
  width: 9%;
  color: var(--soft);
  white-space: nowrap;
}
.index__client {
  width: 27%;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 84%;
  font-size: clamp(1rem, 0.86rem + 0.6vw, 1.4rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.index__what {
  color: var(--soft);
  font-size: var(--step--1);
}
.index__kind,
.index__role {
  white-space: nowrap;
  color: var(--soft);
}
.index__link {
  width: 44px;
  padding-right: 0 !important;
  text-align: right;
}
.index__go {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 32px;
  color: var(--soft);
  transition: color 0.3s, transform 0.5s var(--ease-out);
}
/* The whole row is the target: the link's hit area is stretched across it. */
.index__row {
  position: relative;
}
.index__row.has-link .index__go::after {
  content: '';
  position: absolute;
  inset: 0;
}
.index__row.has-link:hover > *,
.index__row.has-link:focus-within > * {
  color: var(--ink);
}
.index__row.has-link:hover .index__client,
.index__row.has-link:focus-within .index__client {
  padding-left: 14px;
}
.index__row.has-link:hover .index__go,
.index__row.has-link:focus-within .index__go {
  color: var(--accent-ink);
  transform: translateX(4px);
}
.index__row.is-out {
  display: none;
}
.index__count {
  padding: 16px var(--gutter) 0;
}
/* Hover preview, created by the script on fine pointers only. */
.index-peek {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 700;
  width: min(26vw, 380px);
  pointer-events: none;
  opacity: 0;
  transform-origin: 0 0;
  transition: opacity 0.3s var(--ease-soft);
  will-change: transform;
}
.index-peek.is-on {
  opacity: 1;
}
.index-peek__in {
  overflow: hidden;
  background: var(--raise);
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
  transform: rotate(var(--tilt, 0deg));
}
.index-peek img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}

/* ---------- contact ---------- */

.contact {
  position: relative;
  padding: var(--section) var(--gutter) clamp(24px, 3vw, 40px);
}
.contact__title {
  margin-top: clamp(16px, 2.4vw, 32px);
}
.contact__dot {
  color: var(--white);
}
.contact__row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 28px;
  align-items: end;
  margin-top: clamp(28px, 4vw, 60px);
}
.contact__lead {
  grid-column: 1 / span 6;
}
.contact__cta {
  grid-column: 7 / span 6;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.contact__btn {
  font-size: 0.8125rem;
  padding: 1.25em 1.6em 1.25em 1.7em;
}
.contact .btn {
  --btn-bg: var(--black);
  --btn-fg: var(--white);
}
.contact .btn::before {
  background: var(--white);
}
.contact .btn:hover,
.contact .btn:focus-visible {
  color: var(--black);
}
.contact .btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--black);
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 24px;
  align-items: end;
  margin-top: clamp(48px, 8vw, 130px);
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}
.contact__facts {
  grid-column: 1 / span 5;
  display: grid;
  gap: 7px;
}
.contact__facts div {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 1em;
}
.contact__facts dt {
  color: var(--soft);
}
.contact__colophon {
  grid-column: 7 / span 4;
  color: var(--soft);
  max-width: 30em;
}
.contact__top {
  grid-column: 11 / span 2;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  height: 44px;
}
.contact__top .arrow {
  transition: transform 0.5s var(--ease-out);
}
.contact__top:hover .arrow {
  transform: translateY(-4px);
}
.contact__base {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 16px;
  align-items: end;
  margin-top: clamp(40px, 6vw, 90px);
}
.contact__mark {
  grid-column: 1 / span 5;
  font-size: clamp(3.6rem, 13vw, 13rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
}
.contact__mark .wordmark__dot {
  background: var(--white);
}
.contact__legal {
  grid-column: 7 / span 4;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--soft);
  max-width: 44em;
}
.contact__copy {
  grid-column: 11 / span 2;
  justify-self: end;
  white-space: nowrap;
}

/* ==========================================================================
   Lightbox — a native <dialog>, so focus and Escape are handled by the browser
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bone);
  overflow: hidden;
}
.lightbox::backdrop {
  background: rgba(12, 11, 10, 0.94);
  opacity: 0;
  transition: opacity 0.4s var(--ease-soft);
}
.lightbox.is-open::backdrop {
  opacity: 1;
}
.lightbox__in {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(12px, 2vw, 24px);
  gap: clamp(10px, 1.6vw, 18px);
}
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #a89e90;
}
.lightbox__close {
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  height: 44px;
  padding-inline: 14px;
  color: var(--bone);
  box-shadow: inset 0 0 0 1px rgba(246, 241, 233, 0.3);
  transition: background-color 0.3s, color 0.3s;
}
.lightbox__close:hover,
.lightbox__close:focus-visible {
  background: var(--orange);
  color: var(--black);
}
.lightbox__stage {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: auto;
  overscroll-behavior: contain;
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.45s var(--ease-soft), transform 0.7s var(--ease-out);
}
/* Tall captures (full pages, phone screens) scroll instead of shrinking to a sliver. */
.lightbox.is-tall .lightbox__stage {
  place-items: start center;
}
.lightbox.is-tall .lightbox__img {
  max-height: none;
  width: min(100%, 1100px);
}
.lightbox.is-open .lightbox__img.is-loaded {
  opacity: 1;
  transform: none;
}
.lightbox__cap {
  color: #a89e90;
  text-align: center;
  min-height: 1.5em;
}

/* ==========================================================================
   Narrow screens
   ========================================================================== */

@media (max-width: 1100px) {
  .sheet {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sheet__item:nth-child(n) {
    margin-top: 0;
  }
  .sheet__item:nth-child(even) {
    margin-top: clamp(0px, 5vw, 48px);
  }
}
@media (max-width: 900px) {
  .sec-head__t,
  .sec-head__l {
    grid-column: 1 / -1;
  }
  .caps__n {
    grid-column: 1 / -1;
    padding-top: 0;
  }
  .caps__name,
  .caps__text,
  .caps__proof {
    grid-column: 1 / -1;
  }
  .approach__lead,
  .approach__list,
  .approach__aside,
  .approach__who,
  .approach__link {
    grid-column: 1 / -1;
  }
  .approach__lead {
    position: static;
  }

  /* The index becomes a list of cards; the table semantics stay. */
  .index__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .index__table,
  .index__table tbody {
    display: block;
  }
  .index__row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .index__row > * {
    padding: 0;
    border: 0;
    width: auto;
  }
  .index__year {
    grid-column: 1 / -1;
    order: -1;
  }
  .index__client {
    grid-column: 1;
  }
  .index__link {
    grid-column: 2;
    grid-row: 2;
  }
  .index__what {
    grid-column: 1 / -1;
  }
  .index__kind {
    grid-column: 1;
  }
  .index__role {
    grid-column: 1 / -1;
  }
  .index__row.has-link:hover .index__client,
  .index__row.has-link:focus-within .index__client {
    padding-left: 0;
  }

  .contact__lead,
  .contact__cta,
  .contact__facts,
  .contact__colophon,
  .contact__top,
  .contact__mark,
  .contact__legal,
  .contact__copy {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .contact__cta {
    justify-content: flex-start;
  }
  .contact__btn {
    width: 100%;
    justify-content: space-between;
  }
}
@media (max-width: 560px) {
  .sheet {
    grid-template-columns: 1fr;
  }
  .sheet__item:nth-child(n) {
    margin-top: 0;
  }
}

/* ==========================================================================
   Motion — reveal states, the cursor, and the reduced-motion contract.

   Every "hidden until revealed" rule is scoped to html.js. Without JS (or if
   the boot timer fires and swaps the class to js-off) nothing here applies
   and the page simply shows its finished state.
   ========================================================================== */

/* ---- generic rise ---- */
.js [data-reveal='up'] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.9s var(--ease-soft), transform 1.2s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-reveal='up'].is-in {
  opacity: 1;
  transform: none;
}

/* ---- fade only (for things that must not move) ---- */
.js [data-reveal='fade'] {
  opacity: 0;
  transition: opacity 1.1s var(--ease-soft);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-reveal='fade'].is-in {
  opacity: 1;
}

/* ---- hairlines draw from the left ---- */
.js [data-reveal='rule'] {
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1.4s var(--ease-io);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-reveal='rule'].is-in {
  transform: none;
}

/* ---- words rise out of their own baseline ---- */
.words .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  /* Room for descenders and heavy capitals inside the mask. */
  padding-block: 0.08em 0.12em;
  margin-block: -0.08em -0.12em;
}
.words .w__i {
  display: inline-block;
}
.js [data-reveal='words'] .w__i,
.js [data-reveal] .words .w__i {
  transform: translate3d(0, 112%, 0);
  transition: transform 1.05s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms + var(--w) * 26ms);
}
.js [data-reveal='words'].is-in .w__i,
.js [data-reveal].is-in .words .w__i {
  transform: none;
}

/* ---- children stagger: any [data-reveal='stagger'] > * ---- */
.js [data-reveal='stagger'] > * {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 0.8s var(--ease-soft), transform 1.1s var(--ease-out);
}
.js [data-reveal='stagger'].is-in > * {
  opacity: 1;
  transform: none;
}
.js [data-reveal='stagger'].is-in > *:nth-child(1) { transition-delay: 0ms; }
.js [data-reveal='stagger'].is-in > *:nth-child(2) { transition-delay: 70ms; }
.js [data-reveal='stagger'].is-in > *:nth-child(3) { transition-delay: 140ms; }
.js [data-reveal='stagger'].is-in > *:nth-child(4) { transition-delay: 210ms; }
.js [data-reveal='stagger'].is-in > *:nth-child(5) { transition-delay: 280ms; }
.js [data-reveal='stagger'].is-in > *:nth-child(6) { transition-delay: 350ms; }
.js [data-reveal='stagger'].is-in > *:nth-child(7) { transition-delay: 420ms; }
.js [data-reveal='stagger'].is-in > *:nth-child(n + 8) { transition-delay: 490ms; }

/* ==========================================================================
   Cursor — the Jeto full stop
   ========================================================================== */

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 950;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  will-change: transform;
}
.cursor.is-on {
  opacity: 1;
}
.cursor__dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--orange);
  transition: width 0.45s var(--ease-out), height 0.45s var(--ease-out), margin 0.45s var(--ease-out), background-color 0.3s;
}
.cursor__label {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%) scale(0.6);
  color: var(--black);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s, transform 0.45s var(--ease-out);
}
.cursor.is-link .cursor__dot {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  background: color-mix(in srgb, var(--orange) 38%, transparent);
}
.cursor.has-label .cursor__dot {
  width: 78px;
  height: 78px;
  margin: -39px 0 0 -39px;
}
.cursor.has-label .cursor__label {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.cursor.is-down .cursor__dot {
  transform: scale(0.82);
}

/* ==========================================================================
   Reduced motion — everything settles; nothing scrubs, drifts or tilts.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  /* Reveal states resolve immediately. Only the reveal patterns are reset —
     compositional transforms (the 3D stage, layouts) are left alone. */
  .js [data-reveal='up'],
  .js [data-reveal='fade'],
  .js [data-reveal='rule'],
  .js [data-reveal='stagger'] > *,
  .js [data-reveal] .w__i,
  .js .hero [data-hero-in] {
    opacity: 1 !important;
    transform: none !important;
  }
  .js .stage__plate {
    opacity: 1 !important;
    translate: none !important;
  }
}

/* ==========================================================================
   Without JavaScript (or if the module never loads): fitted lines cannot be
   measured, so they fall back to ordinary wrapping display type, and the
   masthead scrolls away with the page instead of floating over it.
   ========================================================================== */

.no-js .hero__fit,
.js-off .hero__fit,
.no-js .opener__fit,
.js-off .opener__fit {
  white-space: normal;
  font-size: clamp(2.6rem, 9.4vw, 10rem);
  font-stretch: 78%;
  line-height: 0.9;
}
.no-js .hero__line,
.js-off .hero__line,
.no-js .opener__line,
.js-off .opener__line {
  line-height: 1;
}
.no-js .hero,
.js-off .hero {
  height: auto;
  min-height: 100vh;
}
.no-js .hero__pin,
.js-off .hero__pin {
  position: relative;
  height: auto;
  min-height: 100vh;
}
.no-js .nav,
.js-off .nav {
  position: absolute;
}
.no-js .reel__pin,
.js-off .reel__pin {
  overflow-x: auto;
}
