/* ==========================================================================
   HOME — hero frame, reel, intro (paper), services stage, film-strip process,
   work index, clients
   ========================================================================== */

/* ---------------- hero: headline block, then the reshaping frame, then the numbers ---------------- */
.hero { position: relative; z-index: 2; background: var(--ink); color: var(--bone); overflow: clip; }
/* first screen: meta row, headline block (centred in the space that is left) and the (00) label sitting on the fold */
.hero-top { display: block; position: relative; }
.hero-top > .wrap { position: relative; z-index: 2; }
/* the wall of work: real client pages in every ratio, drifting up and down behind the headline */
.hero-wall { position: absolute; left: 0; right: 0; top: 0; height: 100vh; height: 100svh; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-wall-in { position: absolute; inset: -22% -8% -22% 22%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.875rem; transform: rotate(-7deg); }
.hw-col { animation: hw-up 90s linear infinite; animation-play-state: paused; will-change: transform; }
.hw-col:nth-child(even) { animation-name: hw-down; animation-duration: 110s; }
.hero-wall.is-live .hw-col { animation-play-state: running; }
.hw-col img { display: block; width: 100%; height: auto; }
/* solid behind the headline on the left, thinning out to the right so the wall shows through there; it fades out at the foot */
.hero-wall::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, transparent 70%, var(--ink) 100%),
  linear-gradient(96deg, var(--ink) 30%, color-mix(in srgb, var(--ink) 88%, transparent) 52%, color-mix(in srgb, var(--ink) 30%, transparent) 100%); }
@keyframes hw-up { to { transform: translateY(-50%); } }
@keyframes hw-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .hw-col { animation: none; } }
.hero-meta { display: flex; justify-content: space-between; gap: 1.25rem; color: var(--dim); padding-bottom: clamp(0.75rem, 2vh, 1.375rem); }

.hero-head { display: flex; flex-direction: column; justify-content: center; padding-block: 8rem 1.5rem; }
.hero-title { --fs: clamp(2.5rem, min(10vw, 19vh), 11.5rem); font-size: var(--fs); line-height: 0.86; letter-spacing: -0.02em; color: var(--bone); }
.hl { display: block; white-space: nowrap; }
.hl-b { text-align: right; }
.hero-title .hl-sub {
  margin-top: clamp(1rem, 2.6vh, 2.125rem); white-space: nowrap; text-align: left;
  font-size: clamp(0.95rem, min(1.9vw, 3.4vh), 1.9rem); line-height: 1.08; letter-spacing: 0; color: var(--accent-text);
}
.hero-lede {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--gutter); align-items: end;
  margin-top: clamp(1.125rem, 3vh, 2.5rem); padding-top: clamp(1.125rem, 2.8vh, 2rem); border-top: 1px solid var(--line);
}
.hero-lede .lead { max-width: 48ch; color: var(--dim); font-size: clamp(1.02rem, 1.35vw, 1.25rem); }
.hero-cta { display: flex; gap: var(--btn-gap); justify-content: flex-end; flex-wrap: wrap; }
.hero-label { padding-block: clamp(1.25rem, 3vh, 2.25rem) 0; }
/* desktop: the headline block fills exactly one screen and is centred in it; the (00) label starts below the fold */
@media (min-width: 861px) { .hero-head { min-height: 100vh; min-height: 100svh; } }

.hf-title { margin-top: clamp(1.75rem, 4vw, 3.5rem); }
.hero-reshape { padding-top: clamp(1.5rem, 4vh, 3rem); }
.hero-stage {
  position: relative; z-index: 2; display: grid; place-items: center; contain: layout;
  height: clamp(23.75rem, 64vh, 38.75rem); margin-top: clamp(1rem, 2vw, 1.75rem);
}
.hf { position: relative; width: 4rem; height: 4rem; background: var(--ink-3); --o: 0.625rem; will-change: width, height; }
.hf-media { position: absolute; inset: 0; overflow: hidden; background: var(--ink-3); isolation: isolate; }
.hf-media video { width: 100%; height: 100%; object-fit: cover; }
/* one screenshot per ratio, stacked. The live one fades in over the last one */
.hf-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; opacity: 0; transition: opacity 0.28s linear; }
.hf-shot.is-under { opacity: 1; z-index: 1; transition: none; }
.hf-shot.is-on { opacity: 1; z-index: 2; }
.hf-guides {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  --g: rgba(255, 255, 255, 0.42);
  background:
    linear-gradient(90deg, transparent calc(33.333% - 0.5px), var(--g) calc(33.333% - 0.5px) calc(33.333% + 0.5px), transparent calc(33.333% + 0.5px) calc(66.666% - 0.5px), var(--g) calc(66.666% - 0.5px) calc(66.666% + 0.5px), transparent calc(66.666% + 0.5px)),
    linear-gradient(180deg, transparent calc(33.333% - 0.5px), var(--g) calc(33.333% - 0.5px) calc(33.333% + 0.5px), transparent calc(33.333% + 0.5px) calc(66.666% - 0.5px), var(--g) calc(66.666% - 0.5px) calc(66.666% + 0.5px), transparent calc(66.666% + 0.5px));
}
.hf:hover .hf-guides, .hf.is-drag .hf-guides { opacity: 1; }
.hf-hud { position: absolute; inset: 0; pointer-events: none; color: #fff; }
.hf-hud span { position: absolute; white-space: nowrap; text-shadow: 0 1px 0.625rem rgba(0, 0, 0, 0.7); }
.hud-tl { left: 0.875rem; top: 0.875rem; display: flex; align-items: center; gap: 0.5rem; }
.hud-tl b { font-weight: 600; }
.hud-tr { right: 0.875rem; top: 0.875rem; }
.hud-bl { left: 0.875rem; bottom: 0.875rem; }
.hud-br { right: 0.875rem; bottom: 0.75rem; text-align: right; }
.hud-br b { display: block; font-size: 1.9rem; line-height: 1; font-weight: 700; letter-spacing: -0.02em; }
.hud-br em { font-style: normal; color: var(--accent); font-size: 0.68rem; }
.hf-hud .rec { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent); animation: rec 1.4s steps(1) infinite; }
@keyframes rec { 50% { opacity: 0.15; } }
.hf.is-sm .hud-bl, .hf.is-sm .hud-tr { display: none; } .hf.is-sm .hud-br b { font-size: 1.3rem; }
.hf-handle {
  position: absolute; z-index: 7; width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  right: calc(-1 * (var(--o) + 1.375rem)); bottom: calc(-1 * (var(--o) + 1.375rem)); touch-action: none; color: var(--accent-text);
}
.hf-handle svg { width: 1.5rem; height: 1.5rem; padding: 0.25rem; background: var(--ink); border: 1.5px solid var(--accent-text); transition: transform 0.45s var(--ease), background 0.3s; }
.hf-handle:hover svg, .hf.is-drag .hf-handle svg { transform: scale(1.25); background: var(--accent); color: var(--black); }

.pills { display: flex; flex-wrap: wrap; gap: 0.375rem; justify-content: center; padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5.5rem); }
.pill {
  min-height: 2.875rem; min-width: 4rem; padding: 0.375rem 0.75rem; display: grid; place-items: center; align-content: center; gap: 1px;
  border: 1px solid var(--line-2); color: var(--bone);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s;
}
.pill b { font-family: var(--f-mono); font-size: 0.74rem; font-weight: 600; line-height: 1.1; }
.pill small { font-family: var(--f-mono); font-size: 0.56rem; line-height: 1.1; opacity: 0.66; }
.pill:hover { border-color: var(--bone); }
.pill[aria-pressed="true"] { background: var(--accent); color: var(--black); border-color: var(--accent); }

/* numbers only — no boxes */
.ratio-ticker { border-top: 1px solid var(--line); padding-block: clamp(0.75rem, 1.4vw, 1.125rem); }
.rt {
  display: inline-block; padding-right: clamp(2rem, 4vw, 4rem); line-height: 1;
  font-size: clamp(0.95rem, 1.25vw, 1.3rem); font-weight: 700; font-stretch: 112%; letter-spacing: 0; color: var(--faint);
}
.rt.hi { color: var(--accent-text); }

@media (max-width: 860px) {
  .hero-head { padding-block: 8rem 0; }
  .hero-title .hl-sub { white-space: normal; }
  .hero-title { --fs: clamp(2.1rem, 11.6vw, 5.2rem); line-height: 0.9; }
  .hl-b { text-align: right; }
  .hero-title .hl-sub { margin-top: 1rem; font-size: 0.9rem; }
  .hero-lede { grid-template-columns: 1fr; gap: 1.25rem; }
  .hero-cta { justify-content: flex-start; }
  .hero-label { margin-top: 2.25rem; }
  .hero-reshape { padding-top: 1.5rem; }
  .hero-stage { height: min(78vw, 26.25rem); }
  .hero-wall-in { inset: -10% -40% -10% -10%; opacity: 0.6; }
  .hero-wall::after { background: linear-gradient(180deg, transparent 70%, var(--ink) 100%), color-mix(in srgb, var(--ink) 72%, transparent); }
  .hf { --o: 0.375rem; }
  .hf-handle { right: 2px; bottom: 2px; }
  .hud-br b { font-size: 1.3rem; }
  .hud-tl, .hud-tr { top: 0.75rem; } .hud-bl { bottom: 0.75rem; } .hud-br { bottom: 0.625rem; }
}
/* phones: the frame is too narrow for four corners of camera readout, so keep the timecode and the ratio, clear of the handle */
@media (max-width: 560px) {
  .hud-tr, .hud-bl { display: none; }
  .hud-br { right: 2.75rem; }
}

.hero-stagewrap { position: relative; }
/* the nearest ratio, outlined and huge, behind the frame */
.hf-big { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; pointer-events: none; overflow: hidden; }
.hf-big span { font-weight: 900; font-stretch: 125%; font-size: clamp(7rem, 30vw, 34rem); line-height: 0.8; letter-spacing: -0.04em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); }
@media (max-width: 860px) { .hf-big span { font-size: 34vw; } }

/* ---------------- intro (paper) ---------------- */
.intro-title { margin-top: clamp(2.25rem, 5vw, 4.5rem); max-width: 21ch; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); align-items: end; margin-top: clamp(2.5rem, 6vw, 6rem); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 2.75rem; } }
.intro-copy .lead { max-width: none; font-size: clamp(1.05rem, 1.3vw, 1.25rem); margin-bottom: 1.75rem; color: var(--fg); }
.rfam { overflow-x: clip; }
.rfam-row { display: flex; align-items: flex-end; gap: 0.875rem; }
.rf { display: flex; flex-direction: column; align-items: flex-start; gap: 0.625rem; flex: none; }
.rf i { display: block; border: 1.5px solid var(--black); transition: background 0.45s var(--ease), border-color 0.45s; }
@media (hover: hover) { .rf:hover i { background: var(--accent); border-color: var(--accent); } }
.rf span { font-size: 0.62rem; color: var(--dim); }
.rfam figcaption { margin-top: 1.375rem; color: var(--dim); max-width: 38ch; }

/* ---------------- found: search engines and AI assistants ---------------- */
.found { position: relative; z-index: 2; overflow: clip; }
.found-top { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(1.75rem, 5vw, 5.5rem); align-items: end; margin-top: clamp(2.25rem, 5vw, 4.5rem); }
.found-copy h2 { max-width: 12ch; }
.found-copy .lead { margin-top: clamp(1.25rem, 2.4vw, 2rem); max-width: 52ch; color: var(--dim); font-size: clamp(1.05rem, 1.3vw, 1.25rem); }
.found-stat { display: flex; align-items: center; gap: 1.125rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.found-stat b { font-size: clamp(2.6rem, 5vw, 4.6rem); font-weight: 900; font-stretch: 125%; line-height: 0.8; letter-spacing: -0.03em; color: var(--accent-text); }
.found-stat span { max-width: 22ch; color: var(--dim); text-transform: uppercase; }

/* the climb: one question to an AI, and the business moving up its answer as each signal goes in */
.found-top { align-items: center; }
.climb { --o: 0.625rem; --rh: clamp(3.25rem, 4.4vw, 4.375rem); background: var(--surface); border: 1px solid var(--line); padding: clamp(1rem, 2vw, 1.75rem); }
.climb-q { display: grid; gap: 0.625rem; padding-bottom: clamp(1rem, 2vw, 1.5rem); border-bottom: 1px solid var(--line); }
.climb-q > .mono { color: var(--faint); text-transform: uppercase; font-size: 0.62rem; display: flex; align-items: center; gap: 0.5rem; }
.climb-q > .mono::before { content: ""; width: 0.75rem; height: 0.75rem; background: var(--accent); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.climb-q p { justify-self: start; max-width: 40ch; padding: 0.75rem 1rem; background: var(--ink-3); border: 1px solid var(--line); color: var(--fg); font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.4; }
.climb-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: clamp(0.875rem, 1.6vw, 1.25rem); color: var(--faint); text-transform: uppercase; font-size: 0.62rem; }
.climb-pos { font-family: var(--f-sans); font-weight: 900; font-stretch: 125%; font-size: clamp(2.4rem, 4vw, 4.2rem); line-height: 0.8; letter-spacing: -0.03em; color: var(--faint); text-transform: none; transition: color 0.4s; }
.climb.is-top .climb-pos { color: var(--accent-text); }
.climb-rows { position: relative; list-style: none; height: calc(5 * var(--rh) + 4 * 0.5rem); }
.climb-rows li { position: absolute; left: 0; right: 0; top: 0; height: var(--rh); display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding-inline: 1rem; border: 1px solid var(--line); color: var(--faint); background: var(--surface); transform: translateY(calc(var(--i, 0) * (var(--rh) + 0.5rem))); transition: transform 0.8s var(--ease-io); }
.climb-rows li strong { font-weight: 700; font-size: clamp(0.92rem, 1.1vw, 1.08rem); }
.climb-rows li.is-you { z-index: 2; border: 2px solid var(--accent); color: var(--fg); }
.climb-rows li.is-you strong { font-weight: 900; text-transform: uppercase; font-size: clamp(1.05rem, 1.5vw, 1.45rem); }
.climb-rows li.is-you span { color: var(--accent-text); white-space: nowrap; }

/* the four signals, ticked off one by one in time with the climb */
.found-steps { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.875rem 1.75rem; align-items: start; margin-top: clamp(2.5rem, 5vw, 5rem); padding-top: clamp(1.125rem, 2vw, 1.625rem); border-top: 1px solid var(--line-2); }
.found-steps > .mono { color: var(--faint); text-transform: uppercase; padding-top: 0.25rem; }
.climb-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.875rem, 1.6vw, 1.5rem); }
.climb-steps li { display: grid; grid-template-columns: 1.375rem minmax(0, 1fr); gap: 0.75rem; align-items: start; color: var(--faint); line-height: 1.4; font-size: 0.98rem; transition: color 0.4s; }
.climb-steps li i { position: relative; width: 1.25rem; height: 1.25rem; margin-top: 1px; border: 1.5px solid var(--line-2); transition: background 0.3s, border-color 0.3s; }
.climb-steps li i::after { content: ""; position: absolute; left: 0.3125rem; top: 1px; width: 0.375rem; height: 0.6875rem; border: solid var(--black); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform 0.4s var(--ease); }
.climb-steps li em { font-style: normal; color: var(--accent-text); padding-inline: 0.25rem; }
.climb-steps li.is-on { color: var(--fg); }
.climb-steps li.is-on i { background: var(--accent); border-color: var(--accent); }
.climb-steps li.is-on i::after { transform: rotate(45deg) scale(1); }

canvas[data-icon] { opacity: 0; transition: opacity 0.7s var(--ease); }
canvas[data-icon].is-ready { opacity: 1; }

.found-note { margin-top: clamp(1.125rem, 2vw, 1.75rem); max-width: 78ch; color: var(--faint); font-size: 0.92rem; line-height: 1.5; }
@media (max-width: 1100px) { .climb-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .found-top { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .found-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .found .sec-label span:last-child { display: none; }
  .climb { --rh: 3.5rem; }
  .climb-steps { grid-template-columns: minmax(0, 1fr); }
  .climb-rows li { padding-inline: 0.75rem; }
}

/* ---------------- process: film strip ---------------- */
.process { position: relative; z-index: 2; background: var(--bg); color: var(--fg); }
.proc-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(1.25rem, 4vh, 2.75rem); padding-block: clamp(5.25rem, 12vh, 8.125rem) clamp(1.5rem, 5vh, 3.5rem); }
.proc-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.25rem 2rem; flex-wrap: wrap; margin-top: clamp(1rem, 3vh, 2.125rem); }
.proc-head h2 { max-width: 18ch; }
.proc-viewport { overflow: hidden; }
.proc-track { --pf-h: clamp(18.75rem, 46vh, 28.75rem); position: relative; display: flex; gap: 1.5rem; width: max-content; padding: 2.25rem var(--gutter) 2.25rem; }
.proc-track::before, .proc-track::after {
  content: ""; position: absolute; left: 0; right: 0; height: 0.75rem; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 1rem, transparent 1rem 2.125rem);
}
.proc-track::before { top: 0.375rem; }
.proc-track::after { bottom: 0.375rem; }
.pf {
  position: relative; flex: none; height: var(--pf-h); width: calc(var(--pf-h) * var(--r)); min-width: 21.25rem;
  border: 1.5px solid var(--line-2); padding: clamp(1.125rem, 2.4vw, 1.875rem);
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0.5; transition: opacity 0.6s var(--ease), background 0.5s, transform 0.25s ease-out; will-change: transform;
}
.pf-wrap { flex: none; perspective: 75rem; }
.pf.is-on { opacity: 1; background: rgba(255, 255, 255, 0.35); }
.pf-num {
  font-size: clamp(4rem, 9vw, 9rem); font-weight: 900; font-stretch: 125%; line-height: 0.8; letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1.5px var(--black); transition: color 0.5s, -webkit-text-stroke-color 0.5s;
}
.pf.is-on .pf-num { color: var(--accent-text); -webkit-text-stroke-color: var(--accent-text); }
/* the 3D icon (js/3d/icons.js); the flat drawing under it only shows if the browser has no WebGL */
.pf-icon { position: absolute; right: clamp(0.375rem, 1vw, 0.875rem); top: clamp(2px, 0.6vw, 0.625rem); width: clamp(8.25rem, 15.5vw, 14rem); aspect-ratio: 1; pointer-events: none; }
.pf-icon canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pf-icon img { position: absolute; right: 12%; top: 14%; width: 56%; height: auto; transition: opacity 0.5s; }
.pf-icon canvas.is-ready + img { opacity: 0; }
.pf-copy h3 { margin-bottom: 0.625rem; }
.pf-copy p { color: var(--dim); max-width: 46ch; font-size: 0.98rem; line-height: 1.5; }
.proc-foot { display: flex; align-items: center; gap: 1.5rem; color: var(--dim); }
.proc-bar { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.proc-bar i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }

/* phones and tablets: the reel is a native swipe row. One frame snaps to the page margin and the next one
   peeks in from the right. The browser does the scrolling (no JS), so it has the phone's own momentum. */
@media (max-width: 900px) {
  .proc-pin { min-height: 0; }
  .proc-viewport { overflow: visible; }
  .proc-track {
    --swipe-card: min(22rem, 80vw);
    flex-direction: row; flex-wrap: nowrap; align-items: stretch; width: auto; gap: 1.125rem;
    padding: 0.75rem var(--gutter) 0.875rem; /* room for the frame's corner marks, which sit 8px outside each card */
    overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .proc-track::-webkit-scrollbar { display: none; }
  .proc-track::before, .proc-track::after { display: none; }
  .pf-wrap { flex: 0 0 var(--swipe-card); width: var(--swipe-card); min-width: 0; max-width: none; display: flex; scroll-snap-align: start; perspective: none; }
  .pf { width: 100%; height: auto; min-height: 18.75rem; min-width: 0; opacity: 1; gap: 2.5rem; }
  .proc-foot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .proc-pin { min-height: 0; }
  .proc-viewport { overflow-x: auto; }
  .pf { opacity: 1; transition: none; }
}

/* ---------------- work index ---------------- */
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-top: clamp(1.75rem, 4vw, 3.5rem); }
.work-head h2 { max-width: 14ch; }
.work-split { margin-top: clamp(1.75rem, 4vw, 3.5rem); }
.work-list { border-top: 1px solid var(--line-2); }
.wk-a {
  position: relative; display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); column-gap: 1rem; row-gap: 0.5rem; align-items: baseline;
  padding-block: clamp(1.125rem, 2.4vw, 1.875rem); border-bottom: 1px solid var(--line);
  transition: transform 0.7s var(--ease), opacity 0.45s;
}
.wk-n { color: var(--faint); transition: color 0.3s; }
.wk-name {
  font-size: clamp(1.3rem, 2.6vw, 2.7rem); font-weight: 800; text-transform: uppercase; line-height: 1; letter-spacing: -0.015em;
  font-stretch: 100%; transition: font-stretch 0.8s var(--ease), color 0.3s; white-space: nowrap;
}
.wk-svc { grid-column: 2; color: var(--faint); }
.wk-thumb { display: none; }

/* desktop: two columns, the preview panel stays put while the names scroll past it */
.work-view { display: none; }
@media (min-width: 861px) and (hover: hover) and (pointer: fine) {
  .work-split.is-live { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: start; }
  .work-split.is-live .wk-a { opacity: 0.3; min-height: clamp(6.5rem, 15vh, 9.375rem); align-content: center; }
  .work-split.is-live .wk.is-active .wk-a { opacity: 1; }
  .work-split.is-live .wk-n, .work-split.is-live .wk-name, .work-split.is-live .wk-svc { transition: transform 0.7s var(--ease), font-stretch 0.8s var(--ease), color 0.3s; }
  .work-split.is-live .wk.is-active :is(.wk-n, .wk-name, .wk-svc) { transform: translateX(0.625rem); }
  .work-split.is-live .wk.is-active .wk-name { font-stretch: 112%; color: var(--accent-text); }
  .work-split.is-live .wk.is-active .wk-n { color: var(--accent-text); }
  .work-view { display: none; }
  .work-split.is-live .work-view {
    display: block; position: sticky; top: 6.25rem; padding-top: 1.75rem; min-width: 0;
  }
  .wv-stage { display: grid; place-items: center; height: min(40vh, 25rem); }
  .wv-frame { position: relative; width: 100%; background: var(--ink-3); --o: 0.5625rem; }
  .wv-clip { position: absolute; inset: 0; overflow: hidden; }
  .wv-clip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .wv-ratio { position: absolute; left: 0; bottom: calc(100% + 1rem); color: var(--bone); }
  .wv-info { margin-top: 1.875rem; }
  .wv-top { display: flex; justify-content: space-between; gap: 1rem; color: var(--faint); padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
  .wv-name { margin-top: 1rem; font-size: clamp(1.4rem, 2.2vw, 2.2rem); font-weight: 800; text-transform: uppercase; line-height: 1; font-stretch: 112%; }
  .wv-tag { margin-top: 0.625rem; max-width: 42ch; color: var(--dim); line-height: 1.45; min-height: 3em; }
  .wv-info .btn { margin-top: 1.125rem; }
}

@media (max-width: 860px), (hover: none) {
  .wk-a { grid-template-columns: 2.125rem minmax(0, 1fr); }
  .wk-thumb { display: block; grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-top: 0.5rem; }
}

/* ---------------- clients ---------------- */
.clients { padding-bottom: clamp(2.25rem, 5vw, 4.5rem); overflow-x: clip; }
.cl-rows { margin-top: clamp(2.25rem, 5vw, 4.5rem); display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); }
.cl-item { display: inline-flex; align-items: center; height: clamp(6rem, 9vw, 8.75rem); padding-right: clamp(4rem, 9vw, 8.75rem); }
.cl-item img { height: calc(clamp(5rem, 7.6vw, 7rem) * var(--s, 1)); width: auto; opacity: 0.78; transition: opacity 0.3s, transform 0.6s var(--ease); }
@media (hover: hover) { .cl-item:hover img { opacity: 1; transform: scale(1.07); } }
.cl-item b { font-size: 1.6rem; text-transform: uppercase; }

/* ---------------- FAQ ---------------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6.25rem); align-items: start; margin-top: clamp(2.25rem, 5vw, 4.5rem); }
.faq-intro { position: sticky; top: 6.875rem; }
.faq-intro h2 { max-width: 14ch; }
.faq-intro .lead { margin: 1.375rem 0 1.75rem; color: var(--dim); }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; width: 100%; text-align: left; padding: 1.5rem 0;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.005em;
  font-stretch: 100%; transition: font-stretch 0.6s var(--ease), color 0.3s;
}
.faq-q:hover { font-stretch: 112%; }
.faq-item.is-open .faq-q { color: var(--accent-deep); }
.faq-q i { position: relative; flex: none; width: 2.125rem; height: 2.125rem; border: 1px solid var(--line-2); transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.5s var(--ease); }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.75rem; height: 2px; margin: -1px 0 0 -0.375rem; background: currentColor; transition: transform 0.5s var(--ease); }
.faq-q i::after { transform: rotate(90deg); }
.faq-item.is-open .faq-q i { background: var(--accent); border-color: var(--accent); color: var(--black); transform: rotate(180deg); }
.faq-item.is-open .faq-q i::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.faq-a > div { overflow: hidden; min-height: 0; }
.faq-a p { padding-bottom: 1.5rem; max-width: 62ch; font-size: 1.05rem; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
@media (max-width: 960px) { .faq-grid { grid-template-columns: 1fr; } .faq-intro { position: static; } }

/* light appearance (tokens live in style.css) */
@media (prefers-color-scheme: light) {
  .pf.is-on { background: rgba(126, 182, 242, 0.1); }
  .climb-q p { background: var(--ink-2); }
}
