/* Studio Morph, version 2: Spartan-style light system (spartanai.framer.website)
   with the twenty-eighty.jp opening rhythm. Black and white only. */

/* BDO Grotesk, the Studio Morph brand face (SIL OFL, github.com/LCTipografi/BDO-Grotesk) */
@font-face {
  font-family: "BDO Grotesk";
  src: url("https://cdn.jsdelivr.net/gh/LCTipografi/BDO-Grotesk@main/Fonts/Webfont/BDOGrotesk-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "BDO Grotesk";
  src: url("https://cdn.jsdelivr.net/gh/LCTipografi/BDO-Grotesk@main/Fonts/Webfont/BDOGrotesk-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "BDO Grotesk";
  src: url("https://cdn.jsdelivr.net/gh/LCTipografi/BDO-Grotesk@main/Fonts/Webfont/BDOGrotesk-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "BDO Grotesk";
  src: url("https://cdn.jsdelivr.net/gh/LCTipografi/BDO-Grotesk@main/Fonts/Webfont/BDOGrotesk-DemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "BDO Grotesk";
  src: url("https://cdn.jsdelivr.net/gh/LCTipografi/BDO-Grotesk@main/Fonts/Webfont/BDOGrotesk-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "BDO Grotesk";
  src: url("https://cdn.jsdelivr.net/gh/LCTipografi/BDO-Grotesk@main/Fonts/Webfont/BDOGrotesk-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "BDO Grotesk";
  src: url("https://cdn.jsdelivr.net/gh/LCTipografi/BDO-Grotesk@main/Fonts/Webfont/BDOGrotesk-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


:root {
  --bg: #ffffff;
  --card: #f0f0f0;
  --ink: #1a1a1a;
  --soft: rgb(26 26 26 / 0.4);
  --muted: rgb(26 26 26 / 0.62);
  --line: rgb(26 26 26 / 0.1);
  --on-ink: #f8f8f6;
  --paper: #f0f0f0;
  --accent: #1a1a1a;

  --sans: "BDO Grotesk", "Helvetica Neue", Arial, sans-serif;
  --serif: "Bodoni Moda", "Bodoni 72", Didot, serif;

  --gutter: clamp(16px, 2.6vw, 40px);
  --inset: 12px;
  --frame-inset: 12px;
  --frame-radius: 20px;
  --r-lg: 20px;
  --r-md: 16px;
  --r-sm: 12px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  /* Room the fixed header bar takes at the top: offset + bar + gap. Pinned cards sit below it. */
  --nv-space: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
/* Hidden for a moment while Home jumps to the video hero (entry script in <head>) */
html.to-hero body { visibility: hidden; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ink); color: #fff; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
em { font-family: var(--serif); font-style: italic; font-weight: 600; font-variation-settings: "opsz" 28; letter-spacing: -0.01em; }

.skip { position: fixed; left: var(--gutter); top: -100px; z-index: 40; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }

.meta {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.soft { color: var(--soft); }

/* ---------- Buttons: a pill with the label first and a round arrow badge
   at the end. On hover the arrow turns to point up and out. ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 6px 6px 22px;
  border-radius: var(--r-lg); /* same corner as the FAQ cards */
  background: var(--ink);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}
.btn:hover { background: #333; }
.btn__icon {
  position: relative;
  order: 2;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 14px; /* nests inside the button corner: 20px minus 6px padding */
  background: #fff;
  color: var(--ink);
  transition: transform 0.45s var(--ease-out);
}
/* A single arrow: a line and a head, drawn in the badge's text colour */
.btn__icon::before { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.6px; margin: -0.8px 0 0 -7px; border-radius: 2px; background: currentColor; }
.btn__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -4.5px 0 0 -2px; border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor; transform: rotate(45deg); }
/* On hover the arrow slides out to the right and back in from the left (the badge stays put) */
.btn__icon { overflow: hidden; }
.btn:hover .btn__icon::before, .btn:focus-visible .btn__icon::before { animation: btn-arrow-line 0.5s var(--ease-out); }
.btn:hover .btn__icon::after, .btn:focus-visible .btn__icon::after { animation: btn-arrow-head 0.5s var(--ease-out); }
@keyframes btn-arrow-line { 45% { transform: translateX(18px); opacity: 0; } 46% { transform: translateX(-18px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes btn-arrow-head { 45% { transform: translateX(18px) rotate(45deg); opacity: 0; } 46% { transform: translateX(-18px) rotate(45deg); opacity: 0; } 100% { transform: rotate(45deg); opacity: 1; } }
.btn:active { transform: scale(0.98); }
.btn--sm { gap: 10px; padding: 4px 4px 4px 16px; font-size: 0.875rem; border-radius: 14px; }
.btn--sm .btn__icon { width: 30px; height: 30px; border-radius: 10px; }
.btn--sm .btn__icon::before { width: 11px; margin-left: -6px; }
.btn--sm .btn__icon::after { width: 6px; height: 6px; margin: -4px 0 0 -1.5px; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #ececec; }
.btn--light .btn__icon { background: var(--ink); color: #fff; }

/* ---------- Header: one floating bar (wordmark, links, call to action) ---------- */
.nv {
  position: fixed;
  top: calc(var(--inset) + 4px);
  left: calc(var(--inset) + 4px);
  right: calc(var(--inset) + 4px);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 5px 5px 5px 22px;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: 0 1px 2px rgb(26 26 26 / 0.06), 0 8px 24px rgb(26 26 26 / 0.06);
}
/* Wordmark on the left, links in the middle of the bar */
.nv__pill { display: flex; flex: 1; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nv__pill nav { margin: 0 auto; }
.nv__logo { display: block; flex: none; }
.nv__logo img { display: block; width: auto; height: 20px; }
.nv__links { display: flex; gap: clamp(16px, 2vw, 28px); margin: 0; padding: 0; list-style: none; }
.nv__links a { font-size: 0.875rem; letter-spacing: 0.02em; text-decoration: none; text-underline-offset: 5px; }
.nv__links a:hover, .nv__links a[aria-current="page"] { text-decoration-line: underline; }
.nv__cta { flex: none; border-radius: 15px; }
.nv__toggle { display: none; align-items: center; gap: 10px; height: 36px; padding: 0 8px 0 14px; border: 0; border-radius: 10px; background: var(--ink); color: #fff; font: inherit; font-size: 0.875rem; font-weight: 500; cursor: pointer; }
/* Two lines that cross into an X when the menu is open */
.nv__toggle-icon { position: relative; width: 22px; height: 22px; }
.nv__toggle-icon::before, .nv__toggle-icon::after { content: ""; position: absolute; left: 4px; right: 4px; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out); }
.nv__toggle-icon::before { top: 8px; }
.nv__toggle-icon::after { top: 13px; }
.nv.is-open .nv__toggle-icon::before { top: 10.5px; transform: rotate(45deg); }
.nv.is-open .nv__toggle-icon::after { top: 10.5px; transform: rotate(-45deg); }
.nv__cta .btn__icon { border-radius: 11px; }

/* ---------- Opening (twenty-eighty rhythm) ---------- */
/* The opening pins for a while so the headline can fill in as you scroll */
.op { position: relative; height: 200svh; }
.op__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 140px var(--gutter) clamp(40px, 8svh, 96px);
}
.op__title {
  max-width: 17ch;
  font-size: clamp(3rem, 7.8vw, 8.8rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.op__title em { font-size: 1.04em; }
.cue {
  margin-top: 22px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--soft);
}
.op__stage .cue { position: absolute; right: var(--gutter); bottom: clamp(40px, 8svh, 96px); margin: 0; }

.st { padding: 10svh var(--gutter) 0; }
.st__item {
  min-height: 70svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.st__title {
  font-size: clamp(2.6rem, 6.6vw, 7.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

/* Last statement, then the framed hero slides over it (driven by main.js) */
.reveal { position: relative; }
.reveal__stage { position: relative; height: 100svh; overflow: hidden; }
.belief--last {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 var(--gutter);
  text-align: center;
}
.belief__title { font-size: clamp(2.6rem, 6.6vw, 7.2rem); font-weight: 600; line-height: 1; letter-spacing: -0.045em; }
.belief__turn { font-size: clamp(1.9rem, 4.6vw, 5rem); line-height: 1.1; padding-bottom: 0.08em; color: var(--soft); }
.belief__turn em { font-weight: 600; }

.frame {
  position: absolute;
  inset: var(--inset);
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--card);
}
.frame__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  filter: grayscale(1) contrast(1.05) brightness(0.62);
  transform-origin: 50% 55%;
}
.frame__shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 48%, rgb(10 10 10 / 0.45), transparent 75%),
              linear-gradient(to top, rgb(10 10 10 / 0.6), transparent 30%);
}
.frame__copy {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto;
  gap: 32px;
  padding: clamp(84px, 12svh, 120px) clamp(24px, 2.8vw, 40px) clamp(24px, 3svh, 36px);
  color: #fff;
}
/* The text stack sits in the vertical middle of the frame */
.frame__main { align-self: center; }
.frame__title {
  font-size: clamp(2.4rem, 5.2vw, 5.6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.frame__title .soft { color: rgb(255 255 255 / 0.5); }
.frame__title em { font-weight: 600; }
.frame__sub {
  max-width: 40ch;
  margin: 22px 0 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: rgb(255 255 255 / 0.86);
}
.frame__card {
  align-self: center;
  width: 280px;
  padding: 8px 8px 14px;
  border-radius: var(--r-lg);
  background: rgb(255 255 255 / 0.92);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.25);
  transition: transform 0.35s var(--ease-out);
}
.frame__card:hover { transform: translateY(-3px); }
.frame__card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-sm); }
.frame__card-row { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding: 12px 8px 0; }
.frame__card-name { font-size: 0.9375rem; font-weight: 600; }
.frame__card .meta { margin-top: 2px; font-size: 0.6875rem; }
.frame__arrow { position: relative; width: 18px; height: 18px; }
.frame__arrow::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 1.5px; background: currentColor; }
.frame__arrow::after { content: ""; position: absolute; right: 1px; top: 4px; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.frame__logos { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 32px; align-items: center; }
.frame__logos p { font-size: 0.8125rem; line-height: 1.45; color: rgb(255 255 255 / 0.8); }
.frame__logos ul { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.frame__logos img { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.frame__logos .wide img { height: 22px; }
.frame__logos .pad img { height: 64px; margin: -14px 0; }

/* Scroll fill: words turn from grey to ink as the reader scrolls (main.js) */
.fw { color: var(--soft); transition: color 0.3s var(--ease-out); }
.fw.is-on { color: var(--ink); }
[data-fill].is-filling .soft { color: inherit; }

/* Hero headline fills from dim to white as the pin scrubs (main.js) */
.hw { color: rgb(255 255 255 / 0.32); transition: color 0.3s var(--ease-out); }
.hw.is-on { color: #fff; }
.frame__title.is-filling .soft { color: inherit; }

/* Hero headline lines: main.js starts them centred, then slides them left */
.frame__title .ln { display: block; width: fit-content; }
.cue--frame {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  color: rgb(255 255 255 / 0.85);
  text-decoration: none;
  text-underline-offset: 5px;
  visibility: hidden;
}
.cue--frame:hover { text-decoration-line: underline; }
html.js .frame__copy.is-staged .cue--frame { visibility: visible; }

/* ---------- Shared section bits ---------- */
.sec { padding: clamp(96px, 14svh, 160px) var(--gutter); }
.sec__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(32px, 5svh, 56px);
}
.sec__title {
  max-width: 18ch;
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 100px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Statement card */
.state { padding: clamp(80px, 12svh, 140px) var(--inset) 0; }
.state__card {
  padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 80px);
  border-radius: var(--r-lg);
  background: var(--card);
}
.state__title {
  max-width: 24ch;
  margin-top: 24px;
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.state__foot { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-top: clamp(40px, 7svh, 80px); }
.state__foot p { max-width: 44ch; font-size: 1rem; font-weight: 300; line-height: 1.55; color: var(--muted); }

/* Strategy x Craft x Space: a heading block, then one rounded card per
   discipline: number, name, what it is, what it covers. */
.sx { padding: clamp(96px, 14svh, 160px) var(--inset) 0; }
.sx__head { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: end; gap: 24px clamp(32px, 5vw, 80px); padding: 0 calc(var(--gutter) - var(--inset)) clamp(40px, 6svh, 64px); }
.sx__head .bl__label { grid-column: 1 / -1; }
.sx__title { font-size: clamp(2.4rem, 4.6vw, 5.6rem); font-weight: 500; line-height: 0.95; letter-spacing: -0.05em; }
.sx__title .soft { font-weight: 300; }
.sx__intro { max-width: 40ch; justify-self: end; font-size: 1rem; font-weight: 300; line-height: 1.55; color: var(--muted); }
.sx__list { display: grid; gap: var(--inset); margin: 0; padding: 0; list-style: none; }
.sx__row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(16px, 2.4vw, 40px);
  padding: clamp(24px, 3vw, 44px);
  border-radius: var(--r-lg);
  background: var(--card);
  transition: background-color 0.4s var(--ease-out);
}
.sx__row:hover { background: #e9e9e9; }
.sx__num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #fff; font-size: 0.8125rem; font-weight: 500; }
.sx__name { font-size: clamp(1.6rem, 2.4vw, 2.4rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.035em; }
.sx__lead { max-width: 46ch; font-size: 1.0625rem; font-weight: 300; line-height: 1.5; }
.sx__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sx__tags li { padding: 6px 12px; border-radius: 100px; background: #fff; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

/* Services: a light card with the story on the left and capability panels on
   the right. One panel is open; the others fold into narrow numbered strips. */
.caps { padding: clamp(96px, 14svh, 160px) var(--inset) 0; }
.caps__card {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 6vw, 120px);
  /* Exactly one viewport tall (less the inset), so the pinned card fills the screen */
  height: calc(100svh - var(--nv-space) - var(--inset));
  min-height: 600px;
  padding: clamp(24px, 2.4vw, 36px);
  border-radius: var(--r-lg);
  background: var(--card);
  color: var(--ink);
}
.caps__side { display: flex; flex-direction: column; padding: clamp(8px, 1vw, 16px) 0 0; }
.caps__top { display: flex; align-items: center; gap: 16px; max-width: 420px; }
.caps__mark { flex: none; width: 28px; height: 16px; border: 2.5px solid #fff; border-radius: 8px; }
.caps__rule { flex: 1; height: 1px; background: rgb(255 255 255 / 0.16); }
.caps__label { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgb(255 255 255 / 0.72); }
/* Light versions of the shared label row, scoped to this card */
.caps .caps__mark { border-color: var(--ink); }
.caps .caps__rule { background: var(--line); }
.caps .caps__label { color: var(--muted); }
.caps__intro { max-width: 40ch; margin-top: 44px; font-size: 0.9375rem; font-weight: 300; line-height: 1.55; color: var(--muted); }
.caps__foot { margin-top: auto; padding-top: 48px; }
.caps__title {
  max-width: 14ch;
  margin-bottom: 32px;
  font-size: clamp(2.2rem, 3.6vw, 3.6rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.caps__title .soft { color: var(--soft); }

.caps__panels { display: flex; gap: 8px; min-height: 560px; }
.cap {
  --strip: 72px;
  position: relative;
  flex: 0 0 var(--strip);
  min-width: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #fff;
  transition: flex-grow 0.7s var(--ease-out), flex-basis 0.7s var(--ease-out), background-color 0.4s var(--ease-out);
}
.cap.is-open { flex: 1 1 0; background: #fff; box-shadow: 0 8px 24px rgb(26 26 26 / 0.06); }
.cap:not(.is-open):hover { background: #fafafa; }

/* Closed, the tab is the whole strip: number on top, name running upward */
.cap__tab {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 26px;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}
.cap__num {
  display: grid;
  place-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 100px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.cap__name {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
/* Open, the tab shrinks to the number chip in the corner */
.cap.is-open .cap__tab { inset: 0 0 auto auto; padding: 18px 18px 0 0; cursor: default; }
.cap.is-open .cap__name { display: none; }

.cap__body {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 420px;
  height: 100%;
  padding: clamp(22px, 2vw, 30px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0s linear 0.3s;
}
.cap.is-open .cap__body { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease-out) 0.25s, visibility 0s; }
.cap__title { max-width: 16ch; padding-right: 80px; font-size: clamp(1.5rem, 2vw, 2rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.03em; }
.cap__text { max-width: 52ch; margin-top: 18px; font-size: 0.875rem; font-weight: 300; line-height: 1.55; color: var(--muted); }
.cap__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; }
.cap__tags li { padding: 6px 12px; border-radius: 100px; box-shadow: inset 0 0 0 1px var(--line); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
/* One shared 3:4 frame for every service photo, centred in the room left */
.cap__media { position: relative; flex: 1; min-height: 220px; margin: 28px 0 0; }
.cap__frame {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--card);
  transform: translateX(-50%);
}
.cap__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06) brightness(0.9); }

/* Colour spotlight (as in v1): a colour copy of the photo shows through a soft
   circle that follows the pointer. main.js adds the copy on hover devices. */
@property --spot { syntax: "<length>"; inherits: true; initial-value: 0px; }
.spot { --spot-x: 50%; --spot-y: 50%; --spot: 0px; transition: --spot 0.5s var(--ease-out); }
.spot.is-lit { --spot: clamp(140px, 16vw, 220px); }
.spot .svc-row__color {
  filter: none;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle var(--spot) at var(--spot-x) var(--spot-y), #000 0%, #000 45%, transparent 100%);
          mask-image: radial-gradient(circle var(--spot) at var(--spot-x) var(--spot-y), #000 0%, #000 45%, transparent 100%);
}
@media (hover: none) { .svc-row__color { display: none; } }
.cap__no { margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.cap__no li { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; font-weight: 300; }
.cap__no li span:last-child { color: var(--soft); }
.cap__text--end { margin-top: auto; padding-top: 28px; }

/* Work: giant title marquee, then the case grid */
.wk { padding: clamp(96px, 14svh, 160px) 0; overflow: hidden; }
.wk__marquee { display: flex; width: max-content; animation: wk-slide 38s linear infinite; }
.wk__marquee span {
  display: flex;
  align-items: center;
  gap: 0.28em;
  padding-right: 0.28em;
  font-size: clamp(4rem, 13vw, 14rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.wk__marquee img { width: 0.62em; height: auto; } /* the mark as drawn: white shape, black outline and type */
@keyframes wk-slide { to { transform: translateX(-50%); } }
/* Case grid: open cells split by hairlines. Each has a sector pill, the
   client's mark centred, then a 2x2 table of plain facts. */
.wk__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(40px, 6svh, 72px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.wc { padding: 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wc:nth-child(3n) { border-right: 0; }
.wc:nth-last-child(-n + 3) { border-bottom: 0; }
.wc > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.35s var(--ease-out);
}
/* Top of the cell: pill and logo. On hover an industry photo fades in behind
   them, in black and white, and the logo turns white over it. */
.wc__top { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-md) var(--r-md) 0 0; isolation: isolate; }
.wc__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.55);
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.5s var(--ease-out), transform 1.2s var(--ease-out);
}
.wc > a:hover .wc__bg, .wc > a:focus-visible .wc__bg { opacity: 1; transform: scale(1); }
.wc > a:hover .wc__img, .wc > a:focus-visible .wc__img { filter: brightness(0) invert(1); }
.wc > a:hover .wc__word, .wc > a:focus-visible .wc__word { color: #fff; }
.wc .pill { align-self: flex-start; margin: 12px 0 0 12px; }
.wc__logo {
  display: grid;
  place-items: center;
  height: clamp(150px, 13vw, 210px);
  padding: 0 24px;
}
.wc__img { display: block; width: auto; max-width: min(58%, 200px); height: auto; max-height: 52px; filter: brightness(0); opacity: 0.8; transition: opacity 0.35s var(--ease-out), transform 0.6s var(--ease-out), filter 0.35s var(--ease-out); }
.wc__img--wide { max-height: 34px; }
.wc__img--pad { max-width: min(80%, 260px); max-height: 150px; margin: -40px 0; }
.wc__img--tone { filter: grayscale(1) contrast(1.1); opacity: 0.85; }
.wc > a:hover .wc__img--tone, .wc > a:focus-visible .wc__img--tone { filter: grayscale(1) brightness(1.8); }
.wc__word { font-size: clamp(1.25rem, 1.7vw, 1.7rem); font-weight: 600; letter-spacing: -0.03em; opacity: 0.8; transition: opacity 0.35s var(--ease-out), transform 0.6s var(--ease-out), color 0.35s var(--ease-out); }
.wc > a:hover .wc__img, .wc > a:hover .wc__word { opacity: 1; transform: scale(1.04); }
.wc__facts { display: grid; grid-template-columns: 1fr 1fr; margin: auto 0 0; border-top: 1px solid var(--line); }
.wc__facts div { display: flex; flex-direction: column-reverse; gap: 4px; padding: 12px 14px 14px; }
.wc__facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.wc__facts div:nth-child(n + 3) { border-top: 1px solid var(--line); }
.wc__facts dd { margin: 0; font-size: 0.875rem; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.wc__facts dt { font-size: 0.6875rem; color: var(--muted); }
.wc__go dd { display: flex; align-items: center; gap: 8px; }
.wc__arrow { position: relative; width: 16px; height: 10px; transition: transform 0.35s var(--ease-out); }
.wc__arrow::before { content: ""; position: absolute; left: 0; top: 4.5px; width: 14px; height: 1.5px; background: currentColor; }
.wc__arrow::after { content: ""; position: absolute; right: 1px; top: 1px; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.wc > a:hover .wc__arrow { transform: translateX(4px); }
/* Last cell: the way through to every case */
.wc--all > a { justify-content: space-between; gap: 28px; padding-bottom: 18px; }
.wc--all .btn { align-self: flex-start; margin-left: 18px; }
.wc__all { display: block; padding: 0 18px; }
.wc__all-title { display: block; max-width: 16ch; font-size: clamp(1.6rem, 2.2vw, 2.2rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.035em; }
.wc__all-text { display: block; max-width: 34ch; margin-top: 12px; font-size: 0.875rem; font-weight: 300; line-height: 1.5; color: var(--muted); }

/* Process: a light card. Steps are an accordion (one open at a time) and the
   photo on the left follows the open step. */
.prc { padding: clamp(96px, 14svh, 160px) var(--inset) 0; }
.prc__card {
  padding: clamp(24px, 2.4vw, 36px);
  border-radius: var(--r-lg);
  background: var(--card);
  color: var(--ink);
}
.prc__top { display: flex; align-items: center; gap: 16px; }
.prc__top .caps__label { order: -1; color: var(--muted); }
.prc__top .caps__rule { background: var(--line); }
.prc__top .caps__mark { border-color: var(--ink); }
.prc__title {
  max-width: 16ch;
  margin: clamp(40px, 6svh, 64px) 0 clamp(32px, 5svh, 48px);
  font-size: clamp(2.2rem, 3.6vw, 3.6rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.prc__title .soft { color: var(--soft); }
.prc__body { display: grid; grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr); gap: 8px; align-items: stretch; }
.prc__media {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line);
  background: #fff;
}
/* Whole photo, centred; the active step's photo fades in */
.prc__shot {
  position: absolute;
  inset: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  object-fit: contain;
  filter: grayscale(1) contrast(1.04);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.6s var(--ease-out), transform 0.9s var(--ease-out);
}
.prc__shot.is-on { opacity: 1; transform: none; }
.prc__list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.prc__step {
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.4s var(--ease-out);
}
.prc__step.is-open { background: #fff; box-shadow: 0 8px 24px rgb(26 26 26 / 0.06); }
.prc__head {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 22px 24px;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.prc__num { flex: none; width: 44px; font-size: 0.75rem; color: var(--soft); }
.prc__name { flex: 1; font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em; }
.prc__key {
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--ink);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.prc__step.is-open .prc__key { opacity: 1; }
/* Open and close by animating the row height (0fr to 1fr) */
.prc__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease-out); }
.prc__more > div { min-height: 0; overflow: hidden; padding: 0 24px 0 92px; }
.prc__step.is-open .prc__more { grid-template-rows: 1fr; }
.prc__text { max-width: 58ch; font-size: 0.9375rem; font-weight: 300; line-height: 1.6; color: var(--muted); }
.prc__inc { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0 0 24px; list-style: none; }
.prc__inc li { padding: 6px 12px; border-radius: 100px; box-shadow: inset 0 0 0 1px var(--line); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.prc__foot { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-top: clamp(32px, 5svh, 48px); }
.prc__note { max-width: 52ch; font-size: 0.875rem; font-weight: 300; line-height: 1.6; color: var(--muted); }
/* Dark button for dark cards */
.btn--ghost { background: #262626; color: #fff; }
.btn--ghost .btn__icon { background: #fff; color: var(--ink); }
.btn--ghost:hover { background: #2e2e2e; }

/* Insights: the same giant title as Work, then three columns that pair a
   photo with a note; the middle column is flipped. */
.ins { padding: clamp(96px, 14svh, 160px) 0 0; overflow: hidden; }
.ins__intro { display: grid; justify-items: start; gap: 28px; max-width: 440px; margin: clamp(32px, 5svh, 56px) 0 clamp(40px, 6svh, 64px) 50%; padding-right: var(--gutter); }
.ins__intro p { font-size: 0.9375rem; font-weight: 300; line-height: 1.55; color: var(--muted); }
.ins__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--inset); align-items: start; padding: 0 var(--inset); }
.ins__col { display: flex; flex-direction: column; gap: var(--inset); color: var(--ink); text-decoration: none; }
.ins__col--flip { flex-direction: column-reverse; }
/* The photo sits in a box of its own ratio, so it always shows whole */
.ins__media { margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--card); }
.ins__media img { display: block; width: 100%; height: auto; filter: grayscale(1) contrast(1.04); transition: filter 0.6s var(--ease-out), transform 1s var(--ease-out); }
.ins__col:hover .ins__media img, .ins__col:focus-visible .ins__media img { filter: none; transform: scale(1.02); }
.ins__card { display: flex; flex-direction: column; min-height: 300px; padding: 20px; border-radius: var(--r-lg); background: var(--card); }
.ins__cat { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ins__title { max-width: 22ch; margin-top: 18px; font-size: clamp(1.2rem, 1.5vw, 1.45rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; }
.ins__text { max-width: 44ch; margin-top: 16px; font-size: 0.875rem; font-weight: 300; line-height: 1.55; color: var(--muted); }
.ins__foot { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 32px; }
.ins__by { display: block; font-size: 0.8125rem; font-weight: 500; }
.ins__case { display: block; margin-top: 2px; font-size: 0.75rem; color: var(--muted); }
.ins__go { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); transition: transform 0.35s var(--ease-out); }
/* A north-east arrow */
.ins__go::before { content: ""; position: absolute; left: 13px; top: 19px; width: 14px; height: 1.5px; background: #fff; transform: rotate(-45deg); }
.ins__go::after { content: ""; position: absolute; left: 17px; top: 14px; width: 7px; height: 7px; border-top: 1.5px solid #fff; border-right: 1.5px solid #fff; }
.ins__col:hover .ins__go { transform: rotate(45deg); }

/* Brief to launch: the story sticks on the left while four stages sit in a
   hairline 2x2 grid. One stage is dark at a time; the scroll moves it round
   clockwise (01 02 / 04 03), and hovering a stage picks it. */
/* The section is a scroll track; the stage inside sticks for its length */
.bl { height: 300svh; margin-top: clamp(96px, 14svh, 160px); }
.bl__stage {
  position: sticky;
  top: var(--nv-space);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  height: calc(100svh - var(--nv-space));
  background: var(--bg);
}
.bl__side { padding: 0 clamp(24px, 3vw, 48px) 0 var(--gutter); }
.bl__stick { display: flex; flex-direction: column; height: 100%; padding: clamp(12px, 2svh, 24px) 0 clamp(24px, 4svh, 40px); }
.bl__label { display: flex; align-items: center; gap: 12px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.bl__label .caps__mark { border-color: var(--ink); }
.bl__title { margin-top: 32px; font-size: clamp(3rem, 6vw, 6.4rem); font-weight: 500; line-height: 0.92; letter-spacing: -0.05em; }
.bl__intro { max-width: 36ch; margin-top: 32px; font-size: 1rem; font-weight: 300; line-height: 1.55; color: var(--muted); }
.bl__quote { margin: auto 0 0; padding-top: 48px; }
.bl__quote blockquote { margin: 0; }
.bl__mark { display: block; height: 0.5em; font-size: 4.5rem; font-weight: 500; line-height: 1; color: rgb(26 26 26 / 0.14); }
.bl__quote blockquote p { max-width: 30ch; font-size: clamp(1.05rem, 1.3vw, 1.3rem); font-weight: 500; line-height: 1.35; letter-spacing: -0.015em; }
.bl__quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.bl__quote figcaption img { width: 48px; height: auto; }
.bl__quote figcaption strong { display: block; font-size: 0.875rem; font-weight: 600; }
.bl__quote figcaption span span { display: block; font-size: 0.8125rem; color: var(--muted); }
/* Rounded cards with the same radius and gap as the rest of the page */
.bl__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: var(--inset); margin: 0; padding: 0 var(--inset) var(--inset) 0; list-style: none; }
.bl__step--01 { grid-area: 1 / 1; }
.bl__step--02 { grid-area: 1 / 2; }
.bl__step--03 { grid-area: 2 / 2; }
.bl__step--04 { grid-area: 2 / 1; }
.bl__step {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.2vw, 48px);
  border-radius: var(--r-lg);
  background: var(--card);
  transition: background-color 0.5s var(--ease-out), color 0.5s var(--ease-out);
}
.bl__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: auto; }
.bl__num { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 10px; border-radius: 12px; background: #fff; font-size: 0.8125rem; font-weight: 500; transition: background-color 0.5s var(--ease-out), color 0.5s var(--ease-out); }
.bl__key { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.bl__name { padding-top: 32px; font-size: clamp(1.5rem, 2vw, 2rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.035em; }
.bl__text { max-width: 44ch; margin-top: 22px; font-size: 0.9375rem; font-weight: 300; line-height: 1.55; color: var(--muted); transition: color 0.5s var(--ease-out); }
.bl__step.is-on { background: var(--ink); color: #fff; }
.bl__step.is-on .bl__num { background: #fff; color: var(--ink); }
.bl__step.is-on .bl__text { color: rgb(255 255 255 / 0.62); }

/* What we believe: the same dark card as Services and Process (label row,
   big statement, quiet foot). The statement fills from grey to white. */
.tm { padding: clamp(96px, 14svh, 160px) var(--inset) 0; }
.tm__card {
  padding: clamp(24px, 2.4vw, 36px);
  border-radius: var(--r-lg);
  background: #1c1c1c;
  color: #fff;
}
.tm__top .caps__label { color: rgb(255 255 255 / 0.72); }
.tm__quote {
  max-width: 22ch;
  margin: clamp(56px, 10svh, 120px) 0 clamp(56px, 10svh, 120px);
  font-size: clamp(2.2rem, 4.4vw, 4.6rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.tm .fw { color: rgb(255 255 255 / 0.28); }
.tm .fw.is-on { color: #fff; }
.tm__foot { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.14); }
.tm__by { display: flex; align-items: center; gap: 14px; font-size: 0.875rem; }
.tm__by img { width: 48px; height: auto; }
.tm__by strong { display: block; font-weight: 600; }
.tm__by span span { display: block; margin-top: 2px; color: rgb(255 255 255 / 0.6); }
.tm__sub { max-width: 40ch; font-size: 0.9375rem; font-weight: 300; line-height: 1.55; color: rgb(255 255 255 / 0.66); }

/* Contact: the same dark card as Services, Process and What we believe.
   Details on the left; on the right a big "Let's talk." and a hairline form. */
.ct { padding: clamp(96px, 14svh, 160px) var(--inset) 0; }
.ct__card { padding: clamp(24px, 2.4vw, 36px); border-radius: var(--r-lg); background: #1c1c1c; color: #fff; }
.ct__card .caps__label { color: rgb(255 255 255 / 0.72); }
.ct__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(48px, 8svh, 96px); }
.ct__info { display: flex; flex-direction: column; }
.ct__lead { max-width: 36ch; font-size: 1rem; font-weight: 300; line-height: 1.55; color: rgb(255 255 255 / 0.66); }
.ct__facts { margin: auto 0 0; padding-top: 48px; }
.ct__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid rgb(255 255 255 / 0.14); }
.ct__facts dt { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(255 255 255 / 0.55); }
.ct__facts dd { margin: 0; font-size: 0.9375rem; }
.ct__title { font-size: clamp(3.4rem, 8vw, 8.4rem); font-weight: 500; line-height: 0.92; letter-spacing: -0.05em; }
.ct__title .soft { color: rgb(255 255 255 / 0.45); }
.ct__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--inset); margin-top: clamp(40px, 6svh, 64px); }
.ct__form .field { display: flex; flex-direction: column; padding: 16px 0 0; border-top: 1px solid rgb(255 255 255 / 0.14); }
.ct__form .field--wide { grid-column: 1 / -1; }
.ct__form .field__label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(255 255 255 / 0.6); }
.ct__form .field__input {
  width: 100%;
  margin: 6px 0 14px;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 300;
  outline: none;
}
.ct__form textarea.field__input { resize: vertical; min-height: 96px; line-height: 1.5; }
.ct__form .field__input::placeholder { color: rgb(255 255 255 / 0.32); }
.ct__form .field:focus-within { border-top-color: #fff; }
.ct__form .field.is-invalid { border-top: 2px solid #fff; }
.ct__form .field__error { margin: -8px 0 12px; font-size: 0.8125rem; font-weight: 500; color: #fff; }
.ct__actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.14); }
.ct__actions .btn { border: 0; cursor: pointer; font: inherit; font-size: 0.9375rem; font-weight: 500; }
.ct__actions .btn:disabled { opacity: 0.6; cursor: progress; }
.contact__status { font-size: 0.875rem; color: rgb(255 255 255 / 0.7); }
.contact__status.is-error { color: #fff; font-weight: 500; }
.contact__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- About page ---------- */
.au-intro { padding: clamp(140px, 22svh, 220px) var(--gutter) clamp(64px, 10svh, 112px); }
.au-intro__title { max-width: 20ch; margin-top: 32px; font-size: clamp(2.6rem, 6vw, 6.4rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.05em; text-wrap: balance; }
.au-intro__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 80px); max-width: 980px; margin: clamp(48px, 8svh, 88px) 0 0 auto; }
.au-intro__lead { font-size: clamp(1.1rem, 1.4vw, 1.35rem); font-weight: 400; line-height: 1.45; letter-spacing: -0.01em; }
.au-intro__note { font-size: 1rem; font-weight: 300; line-height: 1.55; color: var(--muted); }

/* Studio index: a tab list on the left; the chosen list fills a dark panel
   on the right as big rows. Panels share one grid cell so the height holds. */
.ax { padding: 0 var(--inset); }
.ax__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: var(--inset); }
.ax__side { display: flex; flex-direction: column; gap: 28px; padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r-lg); background: var(--card); }
.ax__tabs { display: flex; flex-direction: column; gap: 4px; margin-top: auto; }
.ax-tab {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  padding: 16px 16px;
  border: 0;
  border-radius: var(--r-md);
  background: none;
  color: var(--soft);
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.35s var(--ease-out), background-color 0.35s var(--ease-out);
}
.ax-tab:hover { color: var(--ink); background: rgb(255 255 255 / 0.6); }
.ax-tab.is-on { color: var(--ink); background: #fff; }
.ax-tab__num { font-size: 0.75rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.ax-tab__label { font-size: clamp(1.25rem, 1.9vw, 1.9rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
/* A thin bar fills along the bottom of the open tab while it auto-advances */
.ax-tab::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 8px; height: 2px; border-radius: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.ax.is-auto .ax-tab.is-on::after { animation: ax-bar var(--ax-dur, 5s) linear forwards; }
@keyframes ax-bar { to { transform: scaleX(1); } }

.ax__stage { display: grid; min-height: clamp(460px, 62svh, 640px); padding: clamp(24px, 3vw, 44px); border-radius: var(--r-lg); background: #1c1c1c; color: #fff; }
.ax-panel { grid-area: 1 / 1; display: flex; flex-direction: column; }
.ax-panel[hidden] { display: none; }
.ax-panel__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: auto; }
.ax-panel__note { max-width: 30ch; font-size: 1rem; font-weight: 300; line-height: 1.5; color: rgb(255 255 255 / 0.62); }
.ax-rows { margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid rgb(255 255 255 / 0.14); }
.ax-rows li { border-bottom: 1px solid rgb(255 255 255 / 0.14); }
.ax-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: center; gap: 24px; min-height: 40px; padding: 12px 0; color: #fff; text-decoration: none; }
.ax-row__name { font-size: clamp(1.3rem, 2.3vw, 2.3rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.035em; }
.ax-row__line { font-size: 0.9375rem; font-weight: 300; color: rgb(255 255 255 / 0.6); }
.ax-row .ins__go { width: 34px; height: 34px; background: #fff; }
.ax-row .ins__go::before { left: 10px; top: 16px; width: 13px; background: var(--ink); }
.ax-row .ins__go::after { left: 14px; top: 11px; border-color: var(--ink); }
a.ax-row { transition: padding 0.4s var(--ease-out); }
a.ax-row:hover { padding-left: 12px; }
a.ax-row:hover .ins__go { transform: rotate(45deg); }
/* We don't do: the names are struck through */
.ax-panel--no .ax-row__name { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgb(255 255 255 / 0.5); color: rgb(255 255 255 / 0.55); }
/* Rows of a newly opened panel come up one after another */
.ax-panel.is-on .ax-rows li { animation: ax-in 0.6s var(--ease-out) both; animation-delay: calc(var(--i) * 55ms); }
@keyframes ax-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
  .ax-panel.is-on .ax-rows li { animation: none; }
}

.au-story { padding: clamp(96px, 14svh, 160px) var(--inset) 0; }
.au-story__card { padding: clamp(24px, 2.4vw, 36px); border-radius: var(--r-lg); background: #1c1c1c; color: #fff; }
.au-story__card .caps__label { color: rgb(255 255 255 / 0.72); }
.au-story__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 112px); align-items: center; margin-top: clamp(32px, 5svh, 56px); }
.au-story__media { margin: 0; }
/* Whole photo in its own 4:5 ratio, with the colour spotlight on hover */
.au-story__frame { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 1080 / 1350; background: #111; }
.au-story__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(0.9); }
.au-story__title { max-width: 12ch; font-size: clamp(2.4rem, 4.8vw, 5rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.045em; }
.au-story__title .soft { color: rgb(255 255 255 / 0.45); }
.au-story__lead { max-width: 34ch; margin-top: clamp(28px, 4svh, 44px); font-size: clamp(1.15rem, 1.5vw, 1.45rem); line-height: 1.4; letter-spacing: -0.01em; }
.au-story__copy { max-width: 48ch; margin-top: 20px; font-size: 1rem; font-weight: 300; line-height: 1.6; color: rgb(255 255 255 / 0.66); }

.au-principles, .au-clients { padding: clamp(96px, 14svh, 160px) var(--inset) 0; }
.au-head { padding: 0 calc(var(--gutter) - var(--inset)) clamp(32px, 5svh, 56px); }
.au-head__title { margin-top: 24px; font-size: clamp(2.4rem, 4.6vw, 5rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.045em; }
.au-p__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--inset); margin: 0; padding: 0; list-style: none; }
.au-p { display: flex; flex-direction: column; min-height: clamp(360px, 48svh, 480px); padding: clamp(24px, 3vw, 44px); border-radius: var(--r-lg); background: var(--card); transition: background-color 0.5s var(--ease-out), color 0.5s var(--ease-out); }
.au-p.is-on { background: var(--ink); color: #fff; }
.au-p.is-on .bl__num { background: #fff; color: var(--ink); }
.au-p.is-on .bl__text { color: rgb(255 255 255 / 0.62); }

.au-logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--inset); margin: 0; padding: 0; list-style: none; }
.au-logo { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 16px; border-radius: var(--r-lg); background: var(--card); }
.au-logo .wc__img { max-width: min(62%, 150px); max-height: 48px; }
.au-logo .wc__img--wide { max-height: 32px; }
.au-logo .wc__img--pad { max-width: min(92%, 190px); max-height: 120px; margin: -28px 0; }
.au-logo--next { padding: 0; background: var(--ink); }
.au-logo--next a { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; width: 100%; height: 100%; padding: clamp(16px, 1.6vw, 24px); color: #fff; text-decoration: none; font-size: clamp(1.05rem, 1.3vw, 1.35rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; }
.au-logo--next .ins__go { align-self: flex-end; background: #fff; }
.au-logo--next .ins__go::before { background: var(--ink); }
.au-logo--next .ins__go::after { border-color: var(--ink); }
.au-logo--next a:hover .ins__go { transform: rotate(45deg); }

/* When the page ends on the contact card, it and the footer read as one
   dark card: square the seam, drop the gap, and divide them with a hairline. */
main:has(> .ct:last-child) .ct__card { border-radius: var(--r-lg) var(--r-lg) 0 0; padding-bottom: clamp(48px, 7svh, 80px); }
main:has(> .ct:last-child) + .footer { margin-top: 0; border-radius: 0 0 var(--r-lg) var(--r-lg); padding-top: 0; }
main:has(> .ct:last-child) + .footer .footer__grid { padding-top: clamp(48px, 7svh, 80px); border-top: 1px solid rgb(248 248 246 / 0.14); }

/* ---------- Work page ---------- */
.wx-intro { padding: clamp(140px, 22svh, 220px) var(--gutter) clamp(48px, 8svh, 80px); }
.wx-intro__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.wx-count { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.wx-count__n { color: var(--ink); font-variant-numeric: tabular-nums; }
.wx-intro__title { max-width: 18ch; margin-top: 32px; font-size: clamp(2.8rem, 7vw, 7.4rem); font-weight: 500; line-height: 0.95; letter-spacing: -0.055em; text-wrap: balance; }
.wx-intro__lead { max-width: 44ch; margin: clamp(28px, 4svh, 44px) 0 0 auto; font-size: 1.0625rem; font-weight: 300; line-height: 1.55; color: var(--muted); }
/* Sector filter chips; the count shows how many cases each holds */
.wx-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-top: clamp(40px, 6svh, 64px); }
.wx-chip { display: inline-flex; align-items: center; gap: 10px; padding: 9px 10px 9px 16px; border: 0; border-radius: 100px; background: var(--card); color: var(--ink); font: inherit; font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out); }
.wx-chip:hover { background: #e6e6e6; }
a.wx-chip { text-decoration: none; }
.wx-chip__n { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 100px; background: #fff; font-size: 0.75rem; font-variant-numeric: tabular-nums; transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out); }
.wx-chip.is-on { background: var(--ink); color: #fff; }
.wx-chip.is-on .wx-chip__n { background: #fff; color: var(--ink); }

.wx-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; gap: var(--inset); padding: 0 var(--inset); }
.wx-case { display: flex; flex-direction: column; gap: 10px; padding: 10px; border-radius: var(--r-lg); background: var(--card); transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out); }
.wx-case[hidden] { display: none; }
.wx-case--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: stretch; }
/* The photo shows whole, in its own ratio */
.wx-media { display: block; overflow: hidden; border-radius: var(--r-md); background: #e4e4e4; }
.wx-media img { display: block; width: 100%; height: auto; transition: transform 1s var(--ease-out); }
.wx-case--wide .wx-media { align-self: start; }
/* Two-up cards share one 16:9 frame so neighbours line up (most covers are 16:9) */
.wx-case:not(.wx-case--wide) .wx-media { aspect-ratio: 16 / 9; }
.wx-case:not(.wx-case--wide) .wx-media img { height: 100%; object-fit: cover; }
.wx-case:hover .wx-media img { transform: scale(1.02); }
.wx-body { display: flex; flex-direction: column; padding: clamp(14px, 1.6vw, 22px); }
.wx-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wx-year { font-size: 0.8125rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.wx-kicker { margin-top: 24px; font-size: 0.9375rem; font-weight: 300; color: var(--muted); }
.wx-name { margin-top: 6px; font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 500; line-height: 1; letter-spacing: -0.045em; }
.wx-name a { color: inherit; text-decoration: none; }
.wx-name a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.wx-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; }
.wx-tags li { padding: 6px 12px; border-radius: 100px; background: #fff; font-size: 0.75rem; font-weight: 500; }
.wx-notes { margin: 24px 0 0; border-top: 1px solid var(--line); }
.wx-notes div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.wx-notes dt { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.wx-notes dd { margin: 0; font-size: 0.9375rem; font-weight: 300; line-height: 1.5; }
.wx-go { align-self: flex-start; margin-top: auto; }
.wx-body > .wx-tags:nth-last-child(2), .wx-notes { margin-bottom: 28px; }

/* ---------- Case pages (work/*.html, built by tools/build_cases.py) ---------- */
.cx-hero { padding: clamp(120px, 18svh, 180px) var(--gutter) clamp(40px, 6svh, 64px); }
.cx-hero__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cx-back { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 100px; background: var(--card); color: var(--ink); font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: background-color 0.3s var(--ease-out); }
.cx-back:hover { background: #e4e4e4; }
.cx-back__arrow { position: relative; width: 14px; height: 10px; transition: transform 0.35s var(--ease-out); }
.cx-back__arrow::before { content: ""; position: absolute; right: 0; top: 4.5px; width: 14px; height: 1.5px; background: currentColor; }
.cx-back__arrow::after { content: ""; position: absolute; left: 1px; top: 1px; width: 7px; height: 7px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.cx-back:hover .cx-back__arrow { transform: translateX(-3px); }
.cx-hero__meta { display: flex; align-items: center; gap: 14px; }
.cx-year { font-size: 0.8125rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
/* Big, but never wider than the page: long names shrink to stay on one line */
.cx-hero__title { margin-top: clamp(32px, 5svh, 56px); font-size: min(clamp(3.2rem, 11vw, 11.5rem), calc((100vw - 2 * var(--gutter)) / (var(--chars, 6) * 0.56))); font-weight: 500; line-height: 0.9; letter-spacing: -0.06em; white-space: nowrap; }
.cx-hero__intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 112px); align-items: start; margin-top: clamp(40px, 6svh, 72px); }
.cx-hero__lead { max-width: 30ch; font-size: clamp(1.25rem, 2vw, 1.9rem); font-weight: 400; line-height: 1.3; letter-spacing: -0.02em; }
.cx-facts { margin: 0; padding: 6px 22px; border-radius: var(--r-lg); background: var(--card); }
.cx-facts div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cx-facts div:last-child { border-bottom: 0; }
.cx-facts dt { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.cx-facts dd { margin: 0; font-size: 0.9375rem; line-height: 1.45; }
.cx-facts a { color: inherit; text-underline-offset: 3px; }
.cp-cover { margin: 0 var(--inset); overflow: hidden; border-radius: var(--r-lg); background: var(--card); }
.cp-cover img { display: block; width: 100%; height: auto; }

.cx-brief { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px clamp(32px, 5vw, 80px); padding: clamp(80px, 12svh, 140px) var(--gutter) 0; }
.cx-brief__text p { max-width: 36ch; font-size: clamp(1.3rem, 2.2vw, 2.1rem); font-weight: 400; line-height: 1.3; letter-spacing: -0.025em; }
.cx-brief__text p + p { margin-top: 0.8em; color: var(--muted); }

.cx-ch { padding: clamp(80px, 12svh, 140px) var(--inset) 0; }
.cx-ch__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; padding: 0 calc(var(--gutter) - var(--inset)) clamp(28px, 4svh, 44px); }
.cx-ch__lead { display: flex; align-items: flex-start; gap: 18px; }
.cx-ch__num { flex: none; display: grid; place-items: center; width: 46px; height: 46px; margin-top: 0.3em; border-radius: 12px; background: var(--card); font-size: 0.8125rem; font-weight: 500; }
.cx-ch__title { font-size: clamp(2.2rem, 4.4vw, 4.6rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.045em; }
.cx-ch__side { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cx-ch__text { max-width: 52ch; font-size: 1.0625rem; font-weight: 300; line-height: 1.55; color: var(--muted); }

/* Galleries: every image shows whole, in its own ratio */
.cx-g { display: grid; gap: var(--inset); }
.cx-g + .cx-g { margin-top: var(--inset); }
.cp-g__item { margin: 0; overflow: hidden; border-radius: var(--r-md); background: var(--card); }
.cp-g__item img { display: block; width: 100%; height: auto; }
.cx-g--slides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cx-g--slides .cp-g__item:first-child { grid-column: 1 / -1; }
.cx-g--grid, .cx-g--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.cx-g--phones { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; padding: clamp(20px, 3vw, 44px); border-radius: var(--r-lg); background: var(--card); }
.cx-g--posts { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
.cx-g--carousel { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; }
.cx-g--portrait { grid-template-columns: minmax(0, 560px); justify-content: end; }
.cx-g--phones .cp-g__item { border-radius: 14px; background: #fff; }

.cx-social { padding: clamp(80px, 12svh, 140px) var(--inset) 0; }
.cx-social__card { padding: clamp(24px, 2.4vw, 36px); border-radius: var(--r-lg); background: #1c1c1c; color: #fff; }
.cx-social__card .caps__label { color: rgb(255 255 255 / 0.72); }
.cx-social__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; margin: clamp(40px, 6svh, 72px) 0 clamp(28px, 4svh, 44px); }
.cx-social__title { font-size: clamp(2.4rem, 5vw, 5.2rem); font-weight: 500; line-height: 0.95; letter-spacing: -0.05em; }
.cx-social__title .soft { color: rgb(255 255 255 / 0.45); }
.cx-social__side { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.cx-social__side p { max-width: 46ch; font-size: 1rem; font-weight: 300; line-height: 1.55; color: rgb(255 255 255 / 0.66); }
.cx-social .cp-g__item { background: #262626; }

.cx-did { padding: clamp(80px, 12svh, 140px) var(--inset) 0; }
.cx-did__head { padding: 0 calc(var(--gutter) - var(--inset)) clamp(24px, 4svh, 40px); }
.cx-did__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--inset); margin: 0; padding: 0; list-style: none; }
.cx-did__item { display: flex; flex-direction: column; gap: 14px; min-height: 240px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-lg); background: var(--card); transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out); }
.cx-did__item .bl__num { align-self: flex-start; margin-bottom: auto; }
.cx-did__name { font-size: clamp(1.3rem, 1.8vw, 1.7rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; }
.cx-did__text { font-size: 0.9375rem; font-weight: 300; line-height: 1.5; color: var(--muted); transition: color 0.4s var(--ease-out); }
.cx-did__item:hover { background: var(--ink); color: #fff; }
.cx-did__item:hover .cx-did__text { color: rgb(255 255 255 / 0.62); }

.cx-next-wrap { padding: clamp(80px, 12svh, 140px) var(--inset) 0; }
.cx-next { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px 24px; padding: clamp(24px, 3vw, 44px); border-radius: var(--r-lg); background: var(--card); color: var(--ink); text-decoration: none; transition: background-color 0.4s var(--ease-out); }
.cx-next__label { grid-column: 1 / -1; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cx-next__name { font-size: min(clamp(2.6rem, 8vw, 8rem), calc((100vw - 2 * var(--inset) - 160px) / (var(--chars, 6) * 0.56))); white-space: nowrap; font-weight: 500; line-height: 0.9; letter-spacing: -0.055em; }
.cx-next .ins__go { width: 64px; height: 64px; }
.cx-next .ins__go::before { left: 21px; top: 31px; width: 22px; }
.cx-next .ins__go::after { left: 28px; top: 23px; width: 11px; height: 11px; }
.cx-next:hover { background: #e6e6e6; }
.cx-next:hover .ins__go { transform: rotate(45deg); }

/* Image viewer (main.js builds it on case pages) */
.cp-g__item img, .cp-cover img { cursor: zoom-in; }
.cp-g__item img:focus-visible, .cp-cover img:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }

.lb {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--on-ink);
}
.lb::backdrop { background: rgb(7 7 7 / 0.94); }
.lb[open] { display: flex; align-items: center; justify-content: center; }
.lb[open] .lb__img { animation: lb-in 0.35s var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: scale(0.97); } }
.lb__img {
  max-width: calc(100vw - 160px);
  max-height: calc(100dvh - 120px);
  width: auto;
  height: auto;
  border-radius: 6px;
}
.lb__count { position: fixed; left: var(--gutter); bottom: 24px; color: rgb(248 248 246 / 0.7); }
.lb__btn {
  position: fixed;
  border: 0;
  background: rgb(248 248 246 / 0.08);
  color: var(--on-ink);
  font: inherit;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out);
}
.lb__btn:hover { background: rgb(248 248 246 / 0.18); }
.lb__close {
  top: 18px;
  right: var(--gutter);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
}
.lb__prev, .lb__next {
  top: 50%;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border-radius: 50%;
}
.lb__prev { left: 20px; }
.lb__next { right: 20px; }
.lb__prev span, .lb__next span {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 11px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.lb__prev span { transform: translateX(2px) rotate(-135deg); }
.lb__next span { transform: translateX(-2px) rotate(45deg); }
@media (max-width: 767px) {
  :root { --nv-space: 68px; }
  .lb__img { max-width: calc(100vw - 24px); max-height: calc(100dvh - 160px); }
  .lb__prev, .lb__next { top: auto; bottom: 16px; margin-top: 0; }
  .lb__prev { left: auto; right: 84px; }
  .lb__next { right: 20px; }
}
@media (prefers-reduced-motion: reduce) { .lb[open] .lb__img { animation: none; } }

/* ---------- Services page ---------- */
.sv-intro__title { max-width: 20ch; }
.sv-d { padding: clamp(24px, 4svh, 40px) var(--inset) 0; }
.sv-d:first-of-type { padding-top: 0; }
.sv-d__card { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 72px); padding: 10px; border-radius: var(--r-lg); background: var(--card); }
.sv-d--flip .sv-d__card { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.sv-d--flip .sv-d__media { order: 2; }
/* The photo sticks while the detail scrolls past; shown whole in its own ratio */
.sv-d__media { position: sticky; top: 10px; align-self: start; margin: 0; }
.sv-d__frame { position: relative; display: block; overflow: hidden; border-radius: var(--r-md); background: #e4e4e4; }
.sv-d__frame img { display: block; width: 100%; height: auto; max-height: calc(100svh - 20px); object-fit: contain; filter: grayscale(1) contrast(1.04); }
.sv-d__frame .svc-row__color { position: absolute; inset: 0; width: 100%; height: 100%; }
.sv-d__body { display: flex; flex-direction: column; padding: clamp(18px, 2.6vw, 40px) clamp(14px, 2vw, 30px); }
.sv-d__name { margin-top: clamp(40px, 7svh, 88px); font-size: clamp(2.4rem, 5vw, 5.4rem); font-weight: 500; line-height: 0.95; letter-spacing: -0.05em; }
.sv-d__lead { max-width: 40ch; margin-top: 24px; font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.4; letter-spacing: -0.015em; }
.sv-d__label { margin-top: clamp(32px, 5svh, 48px); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.sv-inc { margin: 12px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.sv-inc li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; transition: padding 0.4s var(--ease-out); }
.sv-inc li:hover { padding-left: 8px; }
.sv-inc__n { flex: none; width: 28px; font-size: 0.75rem; font-weight: 500; color: var(--soft); font-variant-numeric: tabular-nums; }
.sv-seen { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
/* Case link pills (Seen in): a white pill with a small north-east arrow */
.au-tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 100px; background: #fff; color: var(--ink); font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out); }
.au-tag__go { position: relative; width: 8px; height: 8px; }
.au-tag__go::before { content: ""; position: absolute; left: 0; top: 3.5px; width: 9px; height: 1.2px; background: currentColor; transform: rotate(-45deg); }
.au-tag__go::after { content: ""; position: absolute; right: -1px; top: -1px; width: 5px; height: 5px; border-top: 1.2px solid currentColor; border-right: 1.2px solid currentColor; }
.sv-seen .au-tag:hover { background: var(--ink); color: #fff; }
.sv-intro + .sv-d { padding-top: 0; }
.sv-dont .tm__quote { max-width: 18ch; }
.sv-no { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(40px, 6svh, 64px); padding: 0; list-style: none; }
.sv-no li { padding: 9px 16px; border-radius: 100px; background: #262626; font-size: 0.9375rem; text-decoration: line-through; text-decoration-color: rgb(255 255 255 / 0.5); color: rgb(255 255 255 / 0.62); }
.sv-dont .tm__foot { align-items: start; }

/* ---------- Contact page ---------- */
.cn-intro__title { margin-top: 32px; font-size: clamp(3.4rem, 12vw, 13rem); font-weight: 500; line-height: 0.88; letter-spacing: -0.06em; }
.cn-form { padding-top: 0; }
.cn-pitch { max-width: 11ch; margin-bottom: 24px; font-size: clamp(2.2rem, 3.8vw, 4rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.045em; }
.cn-pitch .soft { color: rgb(255 255 255 / 0.45); }
.cn-not { max-width: 38ch; margin-top: 16px; padding-left: 14px; border-left: 2px solid rgb(255 255 255 / 0.2); font-size: 0.9375rem; font-weight: 300; line-height: 1.55; color: rgb(255 255 255 / 0.5); }
.cn-form .ct__grid { margin-top: clamp(40px, 6svh, 72px); }
.cn-form .ct__form { margin-top: 0; }
/* Service chips: radio buttons dressed as pills */
.ct-chips { margin: 0; padding: 16px 0 18px; border: 0; border-top: 1px solid rgb(255 255 255 / 0.14); min-width: 0; }
.ct-chips legend { float: left; width: 100%; padding: 0; }
.ct-chips__help { clear: both; padding-top: 6px; font-size: 0.875rem; font-weight: 300; color: rgb(255 255 255 / 0.5); }
.ct-chips__row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ct__form .ct-chips { padding-bottom: 22px; }
.ct-chip { position: relative; cursor: pointer; }
.ct-chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.ct-chip span { display: inline-block; padding: 9px 16px; border-radius: 100px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.2); font-size: 0.875rem; font-weight: 500; color: rgb(255 255 255 / 0.8); transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); }
.ct-chip:hover span { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.5); color: #fff; }
.ct-chip input:checked + span { background: #fff; color: var(--ink); box-shadow: none; }
.ct-chip input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }

/* ---------- Insights page ---------- */
.ix-intro { padding-top: clamp(110px, 16svh, 160px); }
.ix-intro__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: clamp(40px, 6svh, 64px); padding: 0 var(--gutter); }
.ix-intro__lead { max-width: 24ch; margin-top: 24px; padding: 0 var(--gutter); font-size: clamp(2rem, 4.2vw, 4.4rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.045em; }
.ix-intro .wx-filter { padding: 0 var(--gutter); }
.ix-list { padding: clamp(32px, 5svh, 56px) 0 0; }
.ix-list .ins__grid { row-gap: clamp(24px, 3vw, 40px); }
.ix-item[hidden] { display: none; }

/* ---------- 404 page ---------- */
.nf { min-height: calc(100svh - 2 * var(--inset)); display: flex; flex-direction: column; padding-bottom: clamp(48px, 8svh, 96px); }
.nf__title { margin-top: auto; padding-top: clamp(48px, 10svh, 120px); }
.nf__lead { margin-left: 0; }
.nf__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.nf__alt { box-shadow: inset 0 0 0 1px var(--line); }

/* FAQ: the heading block holds the left column (with a way out at the
   bottom); questions are numbered cards on the right. Numbers come from a CSS
   counter so the question text stays first in each summary (seo.py reads it). */
.fq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--inset) clamp(32px, 5vw, 80px); }
.fq__head { display: flex; flex-direction: column; }
.fq__title { margin-top: 32px; font-size: clamp(3rem, 6vw, 6.4rem); font-weight: 500; line-height: 0.92; letter-spacing: -0.05em; }
.fq__intro { max-width: 34ch; margin-top: 24px; font-size: 1rem; font-weight: 300; line-height: 1.55; color: var(--muted); }
.fq__more { margin-top: auto; padding-top: 56px; }
.fq__more .fq__intro { margin-top: 6px; }
.fq__more .btn { margin-top: 24px; }
.fq__ask { font-size: 0.9375rem; font-weight: 600; }
.fq__list { display: grid; align-content: start; gap: var(--inset); counter-reset: faq; }
.faq__item { counter-increment: faq; border-radius: var(--r-lg); background: var(--card); box-shadow: inset 0 0 0 1px transparent; interpolate-size: allow-keywords; transition: background-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out); }
.faq__item[open] { background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 8px 24px rgb(26 26 26 / 0.06); }
.faq__q {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq__q::before {
  content: counter(faq, decimal-leading-zero) ".";
  display: grid;
  place-items: center;
  flex: none;
  min-width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: background-color 0.4s var(--ease-out);
}
.faq__item[open] .faq__q::before { background: var(--card); }
.faq__q::-webkit-details-marker { display: none; }
/* Plus that turns to minus, pushed to the far edge */
.faq__icon { position: relative; flex: none; width: 14px; height: 14px; margin-left: auto; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; inset: 6px 0 auto 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.4s var(--ease-out); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size 0.45s var(--ease-out), content-visibility 0.45s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }
.faq__a { max-width: 64ch; padding: 0 24px 24px 78px; font-size: 1rem; font-weight: 300; line-height: 1.55; color: var(--muted); }

/* Closing call to action */
.cl { padding: 0 var(--inset) var(--inset); }
.cl__card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  padding: clamp(40px, 7vw, 112px) clamp(24px, 5vw, 80px);
  border-radius: var(--r-lg);
  background: var(--ink);
  color: #fff;
}
.cl__title { font-size: clamp(2.6rem, 6.6vw, 7rem); font-weight: 600; line-height: 0.95; letter-spacing: -0.045em; text-wrap: balance; }
.cl__title .soft { color: rgb(255 255 255 / 0.45); }
.cl__side p { max-width: 38ch; margin-bottom: 28px; font-size: 1.0625rem; font-weight: 300; line-height: 1.5; color: rgb(255 255 255 / 0.78); }

/* ---------- Footer: dark card, brand block and link columns, the mark big at the bottom ---------- */

.footer {
  --rule: 1px solid rgb(248 248 246 / 0.14);
  margin: var(--inset);
  padding: clamp(56px, 9svh, 96px) clamp(24px, 2.4vw, 36px) 0;
  border-radius: var(--r-lg);
  background: #1c1c1c;
  color: var(--on-ink);
  overflow: hidden;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 0;
}
.footer__brand { display: grid; justify-items: start; align-content: start; gap: 22px; padding-right: clamp(24px, 4vw, 64px); }
.footer__logo img { display: block; width: 64px; height: auto; }
.footer__note { max-width: 36ch; font-size: 0.9375rem; font-weight: 300; line-height: 1.55; color: rgb(248 248 246 / 0.66); }
.footer__col { padding: 0 clamp(16px, 2vw, 28px); border-left: var(--rule); }
.footer__head { font-size: 0.9375rem; font-weight: 500; }
.footer__col ul { margin: 18px 0 0; padding: 0; list-style: none; }
.footer__col li { padding: 5px 0; font-size: 0.875rem; font-weight: 300; color: rgb(248 248 246 / 0.7); }
.footer__col a { text-decoration: none; text-underline-offset: 4px; }
.footer__col a:hover { color: #fff; text-decoration: underline; }
.footer__base {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: clamp(48px, 8svh, 88px);
  padding-top: 18px;
  border-top: var(--rule);
}
.footer .meta { color: rgb(248 248 246 / 0.6); }
.footer__top { flex: none; white-space: nowrap; text-decoration: none; }
.footer__top:hover { color: var(--on-ink); }
/* The wordmark, set full width along the bottom and fading downward */
.footer__mark {
  margin: clamp(40px, 6svh, 72px) 0 0 -0.04em;
  padding-bottom: 0.04em;
  /* sized from the card's inner width (viewport minus inset and padding) so it spans edge to edge at any width */
  font-size: calc((100vw - 2 * var(--inset) - 2 * clamp(24px, 2.4vw, 36px)) / 3.02);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.06em;
  white-space: nowrap;
  color: var(--on-ink);
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, rgb(0 0 0 / 0.3) 100%);
          mask-image: linear-gradient(to bottom, #000 45%, rgb(0 0 0 / 0.3) 100%);
  user-select: none;
}

.svc__more {
  display: inline-block;
  margin-top: clamp(32px, 4vw, 48px);
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
}
.svc__more:hover { opacity: 0.6; }



/* ==========  Motion (see main.js). Hidden states apply only once JS is running.  ========== */

html.js [data-m="rise"] {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
}
html.js [data-m="rise"].is-in {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity 0.7s var(--ease-out) var(--d, 0ms), transform 0.8s var(--ease-out) var(--d, 0ms), filter 0.7s var(--ease-out) var(--d, 0ms);
}

/* Kinetic headlines: each word rises from behind its own mask, a line at a time */
.kw {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  /* Room for descenders and italic overhang, so the mask never shears them */
  padding: 0 0.06em 0.14em;
  margin: 0 -0.06em -0.14em;
}
.kw__i { display: inline-block; }
html.js [data-m="kinetic"] .kw__i { transform: translateY(112%); }
html.js [data-m="kinetic"].is-in .kw__i {
  transform: none;
  transition: transform 0.95s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

/* Image wipes */
html.js [data-m^="wipe"] { transition: clip-path 1.15s var(--ease-out) var(--d, 0ms); }
html.js [data-m="wipe-up"] { clip-path: inset(100% 0 0 0); }
html.js [data-m="wipe-left"] { clip-path: inset(0 100% 0 0); }
html.js [data-m="wipe-right"] { clip-path: inset(0 0 0 100%); }
html.js [data-m="wipe-iris"] { clip-path: circle(0% at 50% 50%); transition-duration: 1.4s; }
html.js [data-m^="wipe"].is-in { clip-path: inset(0); }
html.js [data-m="wipe-iris"].is-in { clip-path: circle(75% at 50% 50%); }
html.js .footer__mark[data-m].is-in { clip-path: inset(0 0 -20% 0); }

/* Reduced motion: fewer and gentler, not none. A short fade, no travel, no wipes. */
html.calm [data-m="rise"] { transform: none; filter: none; }
html.calm [data-m="rise"].is-in { transition: opacity 0.3s linear; }
html.calm [data-m="kinetic"] .kw__i { transform: none; }
html.calm [data-m="kinetic"] { opacity: 0; }
html.calm [data-m="kinetic"].is-in { opacity: 1; transition: opacity 0.3s linear; }
html.calm [data-m^="wipe"] { clip-path: none; opacity: 0; }
html.calm [data-m^="wipe"].is-in { clip-path: none; opacity: 1; transition: opacity 0.3s linear; }

.nf-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.nf-links .sp-cta__btn { display: inline-block; }


/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  .caps__card { grid-template-columns: minmax(0, 1fr); height: auto; min-height: 0; }
  .caps__foot { margin-top: 0; }
  /* Panels stack, all open, and the page scroll reads them in order */
  .caps__panels { flex-direction: column; min-height: 0; }
  .cap, .cap.is-open { flex: none; background: #fff; box-shadow: none; }
  .cap .cap__tab { inset: 0 0 auto auto; padding: 18px 18px 0 0; cursor: default; pointer-events: none; }
  .cap .cap__name { display: none; }
  .cap .cap__body { min-width: 0; height: auto; opacity: 1; visibility: visible; }
  .cap__media { flex: none; min-height: 0; }
  .cap__frame { position: relative; left: auto; top: auto; display: block; width: 100%; height: auto; transform: none; }
  .wk__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wc:nth-child(3n) { border-right: 1px solid var(--line); }
  .wc:nth-child(2n) { border-right: 0; }
  .wc:nth-last-child(-n + 3) { border-bottom: 1px solid var(--line); }
  .wc:nth-last-child(-n + 1) { border-bottom: 0; }
  .prc__body { grid-template-columns: 1fr; }
  .prc__media { min-height: 0; aspect-ratio: 4 / 3; }
  .ins__grid { grid-template-columns: 1fr; }
  .ins__col--flip { flex-direction: column; }
  .ins__intro { margin-left: var(--gutter); }
  .bl { height: auto; }
  .bl__stage { position: static; grid-template-columns: 1fr; height: auto; }
  .bl__side { padding-right: var(--gutter); }
  .bl__grid { padding: var(--inset); }
  .bl__stick { height: auto; padding-top: 48px; }
  .bl__grid { grid-template-rows: repeat(2, minmax(360px, auto)); }
  .fq { grid-template-columns: 1fr; }
  .sv-d__card, .sv-d--flip .sv-d__card { grid-template-columns: 1fr; }
  .sv-d--flip .sv-d__media { order: 0; }
  .sv-d__media { position: static; }
  .sv-d__name { margin-top: 32px; }
  .cx-hero__intro, .cx-brief, .cx-ch__head, .cx-social__head { grid-template-columns: 1fr; }
  .cx-g--phones { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cx-g--posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-g--carousel { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; }
  .cx-g--carousel .cp-g__item { scroll-snap-align: start; }
  .cx-g--portrait { grid-template-columns: 1fr; }
  .wx-cases { grid-template-columns: 1fr; }
  .wx-case--wide { display: flex; }
  .wx-intro__lead { margin-left: 0; }
  .au-intro__cols { grid-template-columns: 1fr; margin-left: 0; }
  .ax__grid { grid-template-columns: 1fr; }
  .ax__tabs { flex-direction: row; flex-wrap: wrap; }
  .ax-tab { grid-template-columns: auto auto; padding: 10px 14px; }
  .ax__stage { min-height: 0; }
  .au-story__grid { grid-template-columns: 1fr; }
  .au-p__list { grid-template-columns: 1fr; }
  .au-p { min-height: 300px; }
  .au-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sx__head { grid-template-columns: 1fr; }
  .sx__intro { justify-self: start; }
  .sx__row { grid-template-columns: 64px minmax(0, 1fr); }
  .sx__lead, .sx__tags { grid-column: 2; }
  .ct__grid { grid-template-columns: 1fr; }
  .ct__facts { padding-top: 32px; }
  .tm__foot { flex-direction: column; align-items: flex-start; }
  .fq__more { padding-top: 32px; }
  .cl__card { grid-template-columns: 1fr; }
  .frame__card { display: none; }
}
@media (max-width: 767px) {
  /* Phones: wordmark and a Menu button on one row; the bar opens downward
     into a stacked menu. The pill unwraps so its parts sit on the bar's grid. */
  .nv { top: 10px; left: 10px; right: 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0; padding: 8px 8px 8px 18px; border-radius: var(--r-md); }
  .nv__pill { display: contents; }
  .nv__logo { grid-column: 1; grid-row: 1; }
  .nv__logo img { height: 14px; }
  .nv__toggle { display: inline-flex; grid-column: 2; grid-row: 1; }
  .nv__pill nav { display: none; grid-column: 1 / -1; grid-row: 2; margin: 0; }
  .nv__cta { display: none; }
  .nv.is-open { padding-bottom: 10px; box-shadow: 0 1px 2px rgb(26 26 26 / 0.06), 0 24px 60px rgb(26 26 26 / 0.18); }
  .nv.is-open .nv__pill nav { display: block; padding: 16px 10px 4px 0; }
  .nv.is-open .nv__links { flex-direction: column; gap: 0; }
  .nv.is-open .nv__links li { border-top: 1px solid var(--line); }
  .nv.is-open .nv__links a { display: block; padding: 14px 0; font-size: 1.6rem; font-weight: 500; letter-spacing: -0.03em; }
  .nv.is-open .nv__cta { display: inline-flex; grid-column: 1 / -1; grid-row: 3; justify-content: space-between; margin: 10px 0 0 -10px; padding: 6px 6px 6px 18px; font-size: 0.9375rem; border-radius: 12px; }
  .nv.is-open .nv__cta .btn__icon { width: 38px; height: 38px; border-radius: 9px; }
  .op__title { font-size: clamp(2.4rem, 11.6vw, 4.4rem); }
  .op__stage .cue { left: var(--gutter); right: auto; bottom: 24px; }
  .st__item { min-height: 58svh; }
  .st__title, .belief__title { font-size: clamp(2.2rem, 11vw, 3.6rem); }
  .belief__turn { font-size: clamp(1.7rem, 8.6vw, 2.8rem); }
  .frame__copy { padding: 110px 20px 24px; grid-template-columns: 1fr; }
  .frame__title { font-size: clamp(2rem, 9.4vw, 3rem); }
  .frame__logos { grid-template-columns: 1fr; gap: 14px; }
  .frame__logos ul { flex-wrap: wrap; justify-content: flex-start; gap: 18px 24px; }
  .frame__logos img { height: 24px; } .frame__logos .wide img { height: 16px; } .frame__logos .pad img { height: 44px; margin: -10px 0; }
  .frame__logos li:nth-child(n+5) { display: none; }
  .wk__grid { grid-template-columns: 1fr; }
  .wc, .wc:nth-child(3n) { border-right: 0; }
  .sec__head, .state__foot { flex-direction: column; align-items: flex-start; }
  .prc__head { gap: 14px; padding: 18px; }
  .prc__num { width: auto; }
  .prc__key { display: none; }
  .prc__more > div { padding: 0 18px; }
  .prc__foot { flex-direction: column; align-items: flex-start; }
  .ct__form { grid-template-columns: 1fr; }
  .cx-g--slides, .cx-g--pair, .cx-g--grid { grid-template-columns: 1fr; }
  .cx-facts div { grid-template-columns: 1fr; gap: 4px; }
  .cx-next .ins__go { width: 44px; height: 44px; }
  .wx-notes div { grid-template-columns: 1fr; gap: 4px; }
  .au-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; }
  .ax-row__line { grid-column: 1; grid-row: 2; }
  .ax-row .ins__go { grid-row: 1 / span 2; grid-column: 2; }
  .sx__row { grid-template-columns: 1fr; gap: 14px; }
  .sx__lead, .sx__tags { grid-column: 1; }
  .ct__actions { flex-direction: column; align-items: flex-start; }
  .faq__q { gap: 14px; padding: 14px 16px; font-size: 1rem; }
  .faq__a { padding: 0 18px 20px; }
  .bl__grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .bl__step--01, .bl__step--02, .bl__step--03, .bl__step--04 { grid-area: auto; }
  .bl__step--04 { order: 4; } .bl__step--03 { order: 3; }
  .bl__name { padding-top: 40px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .footer__brand { grid-column: 1 / -1; padding-right: 0; }
  .footer__col { padding-left: 0; border-left: 0; }
  .footer__base { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .op { height: auto; }
  .op__stage { position: relative; }
  .wk__marquee { animation: none; }
  .reveal__stage { height: auto; overflow: visible; }
  .belief--last { position: relative; min-height: 70svh; }
  .frame { position: relative; inset: auto; height: calc(100svh - 2 * var(--inset)); margin: var(--inset); }
}

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


/* ==========  Details: hover, press, focus and busy states  ==========
   Brief and precise (Apple HIG, Motion: "Aim for brevity and precision in
   feedback animations"), every custom control has a press state (Buttons:
   "Always include a press state for a custom button"), and all of it steps
   down under reduced motion. */

/* Buttons: the label rolls up to a fresh copy of itself on hover (main.js
   wraps the text), the arrow badge turns, and a press sinks the whole pill. */
.btn { position: relative; transition: transform 0.18s var(--ease-out), background-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); }
.btn__label { position: relative; display: inline-block; overflow: hidden; line-height: 1.25; vertical-align: middle; }
.btn__roll { display: block; transition: transform 0.45s var(--ease-out); }
.btn__roll::after { content: attr(data-t); position: absolute; left: 0; top: 100%; }
.btn:hover .btn__roll, .btn:focus-visible .btn__roll { transform: translateY(-100%); }
.btn:active { transform: scale(0.965); transition-duration: 0.08s; }
.btn:active .btn__icon { transform: scale(0.9); transition-duration: 0.12s; }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn--light:focus-visible, .tm .btn:focus-visible, .ct .btn:focus-visible, .footer .btn:focus-visible { outline-color: #fff; }
.btn:hover { box-shadow: 0 6px 18px rgb(26 26 26 / 0.18); }
.btn--light:hover { box-shadow: 0 6px 18px rgb(0 0 0 / 0.25); }
/* Busy: while the form sends, the badge shows a spinner instead of the arrow */
.btn.is-busy { pointer-events: none; }
.btn.is-busy .btn__icon::before { width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 1.6px solid currentColor; border-right-color: transparent; background: none; animation: btn-spin 0.7s linear infinite; }
.btn.is-busy .btn__icon::after { display: none; }
.btn.is-busy:hover .btn__icon::before { animation: btn-spin 0.7s linear infinite; }
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* Text links: the underline draws in from the left instead of snapping on */
.nv__links a, .footer__col a, .cx-facts a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.4s var(--ease-out), color 0.3s var(--ease-out);
}
.nv__links a:hover, .footer__col a:hover, .cx-facts a:hover, .nv__links a[aria-current="page"] { background-size: 100% 1px; text-decoration: none; }
.nv__links a:focus-visible, .footer__col a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 4px; }

/* Cards and chips: a small, firm press so a tap feels received */
.wx-case, .ins__col, .cx-next, .au-logo--next a, .sx__row, .prc__step, .faq__item, .cap, .au-p, .cx-did__item { transition-property: background-color, color, box-shadow, transform, opacity; transition-duration: 0.4s; transition-timing-function: var(--ease-out); }
.ins__col:active, .cx-next:active, .au-logo--next a:active, .wx-case:active { transform: scale(0.99); transition-duration: 0.1s; }
.wx-chip, .ct-chip span, .au-tag, .cx-back, .nv__toggle { transition: transform 0.18s var(--ease-out), background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); }
.wx-chip:active, .ct-chip:active span, .au-tag:active, .cx-back:active, .nv__toggle:active { transform: scale(0.95); transition-duration: 0.08s; }
.wx-chip:focus-visible, .au-tag:focus-visible, .cx-back:focus-visible, .nv__toggle:focus-visible, .faq__q:focus-visible, .prc__head:focus-visible, .ax-tab:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 12px; }
/* Cards lift a hair on hover (pointer devices only) */
@media (hover: hover) {
  .ins__col:hover .ins__card, .wx-case:hover { box-shadow: 0 14px 34px rgb(26 26 26 / 0.07); }
  .ins__col:hover .ins__card { transform: translateY(-2px); }
  .ins__card { transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out); }
}
/* Form fields: the rule under a field brightens as you type into it */
.ct__form .field { transition: border-color 0.3s var(--ease-out); }
.ct__form .field__label { transition: color 0.3s var(--ease-out); }
.ct__form .field:focus-within .field__label { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .btn__roll, .btn, .btn__icon, .ins__card, .wx-chip, .au-tag { transition: none !important; }
  .btn:hover .btn__icon::before, .btn:hover .btn__icon::after { animation: none !important; }
  .btn:hover .btn__roll, .btn:focus-visible .btn__roll { transform: none; }
  .btn.is-busy .btn__icon::before { animation-duration: 1.6s; }
}
@media (max-width: 767px) {
  /* In the open phone menu the rows carry the hairlines; mark the current page with a plain underline */
  .nv.is-open .nv__links a { background: none; padding-bottom: 14px; }
  .nv.is-open .nv__links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
}
