/* Hallmark · macrostructure: Marquee Hero (giant wordmark + 3D object + stickers) → scroll-built statement
 * genre: atmospheric-playful · theme: studied-DNA (source: https://altshift.agency/) on Klieg logo C
 * paper oklch(87% 0.008 262) → cobalt oklch(53% 0.2 268) · night oklch(14.5% 0.004 265) · accent pink gel · no cream, no warm greys (owner, 2026-11-30)
 * type (Gel Pop, 2026-11-26): Bricolage Grotesque 800 (display) + Fraunces (serif) + Fragment Mono (UI) · accent pink gel · wordmark is the logo C vector
 * enrichment: Tier-C generated 3D (MiniMax H3 on the 4090, chroma-keyed to alpha video) + Tier-A CSS stickers
 */
@import url("tokens.css?v=4");

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--color-night);
  color: var(--color-ink);
  font-family: var(--font-serif);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; box-shadow: 0 0 0 5px var(--color-ink); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: var(--bar-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 clamp(var(--space-sm), 2vw, var(--space-lg));
  pointer-events: none;
}
.bar > * { pointer-events: auto; }
.bar-left { display: flex; gap: var(--space-2xs); justify-self: start; }
.bar-right { justify-self: end; }
.bar-logo img { width: 2.25rem; height: 2.25rem; transition: filter var(--dur-med) var(--ease-out); }
.on-dark .bar-logo img { filter: invert(1); }

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs);
  height: 2.9rem; padding: 0 var(--space-md);
  border: 0; border-radius: var(--radius-pill);
  background: var(--color-pill); color: var(--color-ink);
  font: 500 var(--text-xs)/1 var(--font-mono);
  letter-spacing: var(--tracking-mono); text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: 0 1px 0 oklch(100% 0 0 / 0.35) inset, 0 6px 18px oklch(20% 0.02 268 / 0.12);
  transition: transform var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out);
}
.pill:hover { transform: translateY(-1px); background: var(--color-lilac-hi); }
.pill:active { transform: translateY(1px); }
.pill-round { width: 2.9rem; padding: 0; }
.pill-round svg { width: 1rem; height: 1rem; }
/* Motion toggle: pause bars while playing, play triangle once paused */
.pill-round { position: relative; }
.motion-ico { position: absolute; inset: 0; margin: auto; transition: opacity 0.18s ease, scale 0.18s ease; }
.motion-ico-play { opacity: 0; scale: 0.6; translate: 0.06rem 0; }
.is-paused .motion-ico-pause { opacity: 0; scale: 0.6; }
.is-paused .motion-ico-play { opacity: 1; scale: 1; }
.pill-menu { padding-right: var(--space-2xs); }
.menu-dot {
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--color-ink);
  display: flex; align-items: center; justify-content: center; gap: 0.22rem;
}
.menu-dot i { width: 0.28rem; height: 0.28rem; border-radius: 50%; background: var(--color-snow); transition: transform var(--dur-short) var(--ease-out); }
.pill-menu[aria-expanded="true"] .menu-dot i:first-child { transform: translateX(0.13rem) scale(1.4); }
.pill-menu[aria-expanded="true"] .menu-dot i:last-child  { transform: translateX(-0.13rem) scale(1.4); }

/* ---------- Menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 35;
  display: grid; align-content: center; gap: var(--space-xl);
  padding: var(--bar-h) clamp(var(--space-md), 6vw, var(--space-3xl));
  background: var(--color-night); color: var(--color-snow);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path var(--dur-long) var(--ease-in-out), visibility 0s linear var(--dur-long);
}
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path var(--dur-long) var(--ease-in-out); }
.menu ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu li { counter-increment: m; border-top: 1px solid var(--color-rule-dark); }
.menu li:last-child { border-bottom: 1px solid var(--color-rule-dark); }
.menu a {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-md);
  padding: var(--space-xs) 0;
  font: 800 clamp(2.6rem, 8vw, 6.5rem)/1 var(--font-display); text-transform: uppercase; font-variation-settings: "wdth" var(--display-wdth); letter-spacing: var(--tracking-display); word-spacing: var(--wordspace-display);
  text-decoration: none; white-space: nowrap; color: var(--color-dim);
  transition: color var(--dur-short) var(--ease-out);
}
.menu a::after { content: "0" counter(m); font: 400 var(--text-xs)/1 var(--font-mono); letter-spacing: var(--tracking-mono); color: var(--color-mute); }
.menu a:hover, .menu a:focus-visible { color: var(--color-snow); }
.menu-foot { margin: 0; font: 400 var(--text-xs)/1.4 var(--font-mono); letter-spacing: var(--tracking-mono); text-transform: uppercase; color: var(--color-mute); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100svh; min-height: 40rem;
  overflow: clip; isolation: isolate;
  background:
    radial-gradient(120% 70% at 50% 0%, var(--color-paper-hi) 0%, transparent 60%),
    linear-gradient(180deg, var(--color-paper) 0%, var(--color-paper) 34%, oklch(70% 0.11 268) 68%, var(--color-cobalt) 100%);
}
.hero::after { /* grain */
  content: ""; position: absolute; inset: 0; z-index: 30; pointer-events: none;
  opacity: 0.16; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-depth] { will-change: transform; transform: translate3d(var(--px, 0px), var(--py, 0px), 0); }

/* Giant logo C wordmark, cropped to the ink with negative margins (viewBox padding) */
.wordmark {
  position: absolute; z-index: 1;
  left: 50%; top: calc(var(--bar-h) + 2vh);
  width: min(80vw, 112vh);
  translate: -50% 0;
}
.wordmark img { width: 100%; height: auto; margin: -4% 0 -6%; }

.object {
  position: absolute; z-index: 5;
  left: 50%; top: 56%;
  width: min(74vw, 118vh);
  aspect-ratio: 1344 / 768;
  translate: -50% -50%;
}
.clip { width: 100%; height: 100%; object-fit: contain; }
.star-3d { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .6s ease; }
.object.is-ready .star-3d { opacity: 1; }

.sticker { position: absolute; z-index: 6; margin: 0; }
.sticker-lamp   { left: -5%; top: 8%; width: clamp(14rem, 32vw, 32rem); aspect-ratio: 16 / 9; rotate: -6deg; -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent); mask-image: linear-gradient(180deg, #000 80%, transparent); }
.sticker-cursor { right: 3%; top: 54%; width: clamp(6rem, 12vw, 12rem); aspect-ratio: 1; rotate: 8deg; }
.sticker-lamp .clip, .sticker-cursor .clip { filter: drop-shadow(0 18px 24px oklch(20% 0.05 268 / 0.25)); }

.sticker-badge { left: 7%; top: 60%; width: clamp(5.5rem, 8vw, 8rem); aspect-ratio: 1; }
.sticker-badge svg { width: 100%; height: 100%; animation: spin 18s linear infinite; filter: drop-shadow(0 8px 14px oklch(20% 0.05 268 / 0.25)); }
.badge-bg { fill: var(--color-ink); }
.badge-text { fill: var(--color-snow); font: 500 10.5px var(--font-mono); } /* spacing comes from textLength on the ring */
.badge-star { position: absolute; left: 50%; top: 50%; width: 52%; translate: -50% -50%; object-fit: contain; }
.is-paused .sticker-badge svg { animation-play-state: paused; }

.sticker-tag {
  right: 6%; top: 13%;
  padding: 0.55rem 1rem 0.6rem;
  background: var(--color-lilac); color: var(--color-ink);
  border: 2px solid var(--color-ink); border-radius: 0.5rem;
  font: italic 400 clamp(1.1rem, 1.6vw, 1.5rem)/1 var(--font-serif);
  rotate: 7deg;
  box-shadow: 4px 4px 0 var(--color-ink);
}

.card {
  position: absolute; z-index: 7; left: clamp(var(--space-sm), 2vw, var(--space-lg)); bottom: clamp(var(--space-sm), 3vh, var(--space-lg));
  width: clamp(11rem, 19vw, 18rem);
  padding: 0.35rem 0.35rem 0;
  background: var(--color-ink); border-radius: var(--radius-card);
  color: var(--color-snow); text-decoration: none;
  box-shadow: 0 14px 30px oklch(20% 0.05 268 / 0.3);
  rotate: -2deg;
  transition: rotate var(--dur-med) var(--ease-out);
}
.card:hover { rotate: 0deg; }
.card img { width: 100%; height: auto; border-radius: calc(var(--radius-card) - 0.25rem); aspect-ratio: 16 / 10; object-fit: cover; }
.card-label { display: flex; justify-content: space-between; padding: 0.55rem 0.3rem 0.6rem; font: 500 var(--text-2xs)/1 var(--font-mono); letter-spacing: var(--tracking-mono); text-transform: uppercase; }

.hero-tag {
  position: absolute; z-index: 8;
  right: clamp(var(--space-sm), 2vw, var(--space-lg)); bottom: clamp(var(--space-sm), 3vh, var(--space-lg));
  margin: 0; text-align: right;
  font-size: clamp(1.3rem, 1.9vw, 1.9rem); line-height: 1.05; color: var(--color-ink);
}
.hero-tag span { display: block; }
.hero-tag-1 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" var(--display-wdth); letter-spacing: var(--tracking-display); word-spacing: var(--wordspace-display); }
.hero-tag-2 { font-style: italic; }

/* ---------- Statement ---------- */
.statement { position: relative; background: var(--color-night); color: var(--color-snow); }
.js .statement { height: 300svh; }
/* 8-bit starfield behind the statement: a still frame from the MiniMax H3 clip, pixelated. Black drops out with screen blending. */
.stars-bg { position: absolute; inset: 0; z-index: 0; background: url("assets/stars-8bit.png") center / 1344px 768px repeat; image-rendering: pixelated; mix-blend-mode: screen; opacity: 0.8; pointer-events: none; }
.statement-stage > :not(.stars-bg) { position: relative; z-index: 1; }
.statement-stage {
  position: sticky; top: 0; background: var(--color-night);
  height: 100svh; min-height: 36rem;
  display: grid; grid-template-rows: 1fr auto auto auto 1fr auto;
  justify-items: center;
  padding: var(--bar-h) clamp(var(--space-sm), 4vw, var(--space-2xl)) 0;
}
.eyebrow {
  grid-row: 2; margin: 0 0 var(--space-lg);
  font: 400 var(--text-2xs)/1.4 var(--font-mono); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--color-mute); text-align: center;
}
.statement-text {
  grid-row: 3; margin: 0;
  font: 800 var(--text-statement)/1.06 var(--font-display); text-transform: uppercase;
  font-variation-settings: "wdth" var(--display-wdth); letter-spacing: var(--tracking-display); word-spacing: var(--wordspace-display); overflow-wrap: anywhere; min-width: 0;
}
.ln { display: block; }
.ln-in { padding-left: clamp(0rem, 6vw, 7rem); }
.w { transition: color var(--dur-long) var(--ease-out), opacity var(--dur-long) var(--ease-out); }
.js .w { color: var(--color-night-2); }
.js .w.is-lit { color: var(--color-snow); }
.u {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-position: 0 84%; background-size: 100% 0.055em;
}
.js .u { background-size: 0% 0.055em; transition: background-size var(--dur-long) var(--ease-out), color var(--dur-long) var(--ease-out); }
.js .u.is-lit { background-size: 100% 0.055em; }
.u-lamp { background-image: linear-gradient(var(--color-accent), var(--color-accent)); }

.statement-body { grid-row: 4; margin-top: var(--space-xl); }
.statement-cta {
  display: inline-flex; gap: var(--space-xs);
  font: 500 var(--text-xs)/1 var(--font-mono); letter-spacing: var(--tracking-mono); text-transform: uppercase;
  color: var(--color-accent); text-decoration: none; white-space: nowrap;
  padding: var(--space-2xs) 0; border-bottom: 1px solid var(--color-accent);
  transition: opacity var(--dur-long) var(--ease-out);
}
.js .statement-cta { opacity: 0; pointer-events: none; visibility: hidden; }
.js .statement-cta.is-lit { opacity: 1; pointer-events: auto; visibility: visible; }

.ticker {
  grid-row: 6; justify-self: stretch;
  margin: 0 calc(-1 * clamp(var(--space-sm), 4vw, var(--space-2xl)));
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  border-top: 1px solid var(--color-rule-dark);
  font: 400 var(--text-2xs)/1 var(--font-mono); letter-spacing: var(--tracking-mono); text-transform: uppercase;
  color: var(--color-mute);
}
.ticker-track { overflow: hidden; padding: var(--space-sm) 0; }
.ticker-run { display: flex; width: max-content; animation: run 50s linear infinite; }
.ticker-run span { white-space: nowrap; padding-right: var(--space-sm); }
.ticker-run span::after { content: "·"; padding-left: var(--space-sm); }
.ticker-meta { display: flex; gap: var(--space-lg); padding: var(--space-sm) clamp(var(--space-sm), 2vw, var(--space-lg)); white-space: nowrap; }
.ticker-meta time { color: var(--color-snow); font-variant-numeric: tabular-nums; }
.is-paused .ticker-run { animation-play-state: paused; }

/* =====================================================================
   Work: editorial index (direction A), built from proto/work-a.html.
   ===================================================================== */
.wk-a {
  --wk-a-gutter: clamp(var(--space-sm), 4vw, var(--space-2xl));
  position: relative; isolation: isolate;
  --wk-a-dim: oklch(52% 0.005 265);   /* dimmed names: at least 3:1 on night */
  --wk-a-dim-sm: oklch(60% 0.005 265); /* dimmed small labels: at least 4.5:1 */
  background: var(--color-night); color: var(--color-snow);
  padding: calc(var(--bar-h) + var(--space-lg)) var(--wk-a-gutter) var(--space-3xl);
}

/* Seam: the same 8-bit star tile as the statement, phase-matched so the field
   runs on unbroken past the ticker rule, then fading out over the first screen. */
.wk-a-stars {
  position: absolute; inset: 0 0 auto 0; z-index: -1; height: 120svh;
  background: url("assets/stars-8bit.png") center calc(384px - max(50svh, 18rem)) / 1344px 768px repeat;
  image-rendering: pixelated; mix-blend-mode: screen; opacity: 0.8; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 18%, transparent 78%);
          mask-image: linear-gradient(180deg, #000 0%, #000 18%, transparent 78%);
}

.wk-a-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md);
  margin: 0 0 clamp(var(--space-xl), 9vh, var(--space-3xl));
  font: 400 var(--text-2xs)/1.4 var(--font-mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-mute);
}
.wk-a-head h2 { margin: 0; font: inherit; letter-spacing: inherit; }
.wk-a-head p { margin: 0; }

/* ---------- The index ---------- */
.wk-a-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-rule-dark); }
.wk-a-item { border-bottom: 1px solid var(--color-rule-dark); }
.wk-a-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline;
  column-gap: var(--space-md); row-gap: var(--space-xs);
  padding: var(--space-md) 0 var(--space-md);
  color: var(--color-snow); text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.wk-a-num, .wk-a-tag {
  font: 400 var(--text-2xs)/1.35 var(--font-mono); letter-spacing: var(--tracking-mono); text-transform: uppercase;
  color: var(--color-mute); transition: color var(--dur-med) var(--ease-out);
}
.wk-a-num { grid-column: 1; grid-row: 1; font-variant-numeric: tabular-nums; }
.wk-a-tag { grid-column: 2; grid-row: 1; justify-self: end; display: flex; gap: 0.9em; white-space: nowrap; }
.wk-a-kind { color: var(--color-snow); }
.wk-a-kind.is-client { color: var(--color-accent); }
.wk-a-name {
  grid-column: 1 / -1; grid-row: 2;
  font: 800 clamp(2.6rem, 6.2vw, 7rem)/0.95 var(--font-display); text-transform: uppercase; font-variation-settings: "wdth" var(--display-wdth); letter-spacing: var(--tracking-display); word-spacing: var(--wordspace-display);
  text-wrap: balance; overflow-wrap: anywhere;
  transition: color var(--dur-med) var(--ease-out), translate var(--dur-med) var(--ease-out);
}
.wk-a-media {
  grid-column: 1 / -1; grid-row: 3; position: relative; overflow: hidden;
  width: 100%; max-width: 40rem; aspect-ratio: 16 / 10; margin-top: var(--space-2xs);
  background: var(--color-night-2); outline: 1px solid var(--color-rule-dark); outline-offset: -1px;
  transition: opacity var(--dur-long) var(--ease-out), filter var(--dur-long) var(--ease-out);
}
.wk-a-media img, .wk-a-media video, .wk-a-float img, .wk-a-float video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center;
}
.wk-a-media video, .wk-a-float video { opacity: 0; transition: opacity var(--dur-med) var(--ease-out); }
.wk-a-media video.is-playing, .wk-a-float video.is-playing { opacity: 1; }

.wk-a-row:focus-visible { outline: none; }
.wk-a-row:focus-visible .wk-a-name { text-decoration: underline; text-decoration-thickness: 0.05em; text-underline-offset: 0.12em; text-decoration-color: var(--color-accent); }

/* Dim everything but the active row */
.wk-a-list.is-dim .wk-a-row:not(.is-active) .wk-a-name { color: var(--wk-a-dim); }
.wk-a-list.is-dim .wk-a-row:not(.is-active) .wk-a-num,
.wk-a-list.is-dim .wk-a-row:not(.is-active) .wk-a-tag,
.wk-a-list.is-dim .wk-a-row:not(.is-active) .wk-a-kind { color: var(--wk-a-dim-sm); }
.wk-a-list.is-dim .wk-a-row:not(.is-active) .wk-a-media { opacity: 0.35; filter: grayscale(0.7); }
.wk-a-row.is-active .wk-a-num { color: var(--color-accent); }

/* Desktop layout: number | name | marker on one baseline */
@media (min-width: 900px) {
  .wk-a-row { grid-template-columns: 4.5rem minmax(0, 1fr) 11rem; padding: clamp(var(--space-md), 2.6vh, var(--space-lg)) 0; }
  .wk-a-num { grid-column: 1; grid-row: 1; }
  .wk-a-name { grid-column: 2; grid-row: 1; }
  .wk-a-tag { grid-column: 3; grid-row: 1; flex-direction: column; align-items: flex-end; gap: 0.2em; text-align: right; }
  .wk-a-media { grid-column: 2 / -1; grid-row: 2; }
}

/* Float mode (fine pointer, wide screen): no inline media, a frame follows the cursor */
.wk-a[data-mode="float"] .wk-a-media { display: none; }
.wk-a[data-mode="float"] .wk-a-row.is-active .wk-a-name { translate: 0.12em 0; }
.wk-a-float {
  position: fixed; left: 0; top: 0; z-index: 30;
  width: clamp(17rem, 27vw, 27rem); aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--color-night-2); pointer-events: none;
  box-shadow: 0 24px 60px oklch(0% 0 0 / 0.55);
  opacity: 0; scale: 0.9; visibility: hidden;
  transition: opacity var(--dur-med) var(--ease-out), scale var(--dur-med) var(--ease-out), visibility 0s linear var(--dur-med);
}
.wk-a-float.is-on { opacity: 1; scale: 1; visibility: visible; transition: opacity var(--dur-med) var(--ease-out), scale var(--dur-med) var(--ease-out); }
.wk-a[data-mode="inline"] .wk-a-float { display: none; }

/* ---------- Case study dialog ---------- */
.wk-a-case {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; overflow: hidden;
  background: var(--color-night); color: var(--color-snow);
}
.wk-a-case::backdrop { background: oklch(0% 0 0 / 0.6); }
.wk-a-case[open] { display: block; animation: wk-a-in var(--dur-long) var(--ease-in-out) both; }
.wk-a-case.is-closing { animation: wk-a-out 420ms var(--ease-in-out) both; }
@keyframes wk-a-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes wk-a-out { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); } }

.wk-a-case-scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: auto; }
.wk-a-case { --wk-a-gutter: clamp(var(--space-sm), 4vw, var(--space-2xl)); --wk-a-dim: oklch(52% 0.005 265); --wk-a-dim-sm: oklch(60% 0.005 265); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .wk-a-name, .wk-a-media, .wk-a-float, .wk-a-float.is-on, .wk-a-media video, .wk-a-float video { transition: none; }
  .wk-a[data-mode="float"] .wk-a-row.is-active .wk-a-name { translate: none; }
  .wk-a-case[open], .wk-a-case.is-closing { animation: none; }
}

/* ---------- How it works (2026-11-30): after altshift.agency's "people don't remember pages" section ----------
 * Night, cool white type, pink gel highlights (no cream, no spotlights). A dot-matrix headline that assembles once
 * (how.js, drawn over the real h2), two Blender props swaying at its sides, a monospace ledger of the steps, and row 06
 * where Jingle flips the BOOK keycap (services.js). The small print opens in place (<details>). */
.hw { --hw-gut: clamp(var(--space-sm), 5vw, var(--space-3xl)); position: relative; background: var(--color-night); color: var(--color-snow); padding: clamp(5rem, 14svh, 9rem) var(--hw-gut) clamp(5rem, 12svh, 8rem); overflow: hidden; }
.hw ::selection { background: var(--color-lilac); color: var(--color-ink); }
.hw-head { position: relative; display: grid; place-items: center; min-height: clamp(14rem, 34vw, 30rem); margin-bottom: clamp(3rem, 8svh, 5.5rem); }
.hw-title {
  position: relative; z-index: 2; margin: 0; text-align: center;
  font: 800 clamp(2.4rem, 8.6vw, 8.4rem)/0.96 var(--font-display); text-transform: uppercase;
  font-variation-settings: "wdth" var(--display-wdth); letter-spacing: var(--tracking-display); word-spacing: var(--wordspace-display);
}
.hw-title span { display: block; white-space: nowrap; }   /* one line each: the dots are drawn line by line */
.hw.has-dots .hw-title { color: transparent; }      /* the dots draw the same words; the h2 stays for readers and as the fallback */
.hw-dots { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hw-prop { position: absolute; z-index: 1; width: clamp(7.5rem, 17vw, 15rem); aspect-ratio: 1; background-repeat: no-repeat; filter: drop-shadow(0 28px 30px oklch(0% 0 0 / 0.5)); }
.hw-prop-bubble { left: max(-1rem, 2vw); top: 2%; rotate: -8deg; }
.hw-prop-quote { right: max(-1rem, 2vw); bottom: 0; rotate: 7deg; }

.hw-steps { list-style: none; margin: 0 auto; padding: 0; max-width: 78rem; border-bottom: 1px solid var(--color-rule-dark); counter-reset: none; }
.hw-step { border-top: 1px solid var(--color-rule-dark); }
.hw-row {
  display: grid; grid-template-columns: 3.4rem minmax(10rem, 15rem) minmax(0, 1fr) minmax(8rem, 13rem); align-items: baseline; column-gap: var(--space-md);
  padding: 1.15rem 0.9rem; color: inherit; text-decoration: none; border-radius: 0.35rem;
  font: 400 0.95rem/1.45 var(--font-mono); letter-spacing: 0.02em;
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out);
}
.hw-n { color: var(--color-mute); font-variant-numeric: tabular-nums; }
.hw-name { text-transform: uppercase; letter-spacing: var(--tracking-mono); }
.hw-desc { color: oklch(84% 0.006 265); max-width: 52ch; }
.hw-cost { text-align: right; color: var(--color-mute); }
@media (hover: hover) {
  .hw-row:hover { background: var(--color-lilac); color: var(--color-ink); }
  .hw-row:hover .hw-n, .hw-row:hover .hw-desc, .hw-row:hover .hw-cost { color: var(--color-ink); }
  .hw-row-you:hover, .hw-row-you:hover .hw-n, .hw-row-you:hover .hw-desc, .hw-row-you:hover .hw-cost { color: var(--color-snow); }
  .hw-row-you:hover { background: var(--color-cobalt); }   /* cobalt, so the pink BOOK key stays visible */
}
a.hw-row:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.hw-row-you { grid-template-columns: 3.4rem minmax(10rem, 15rem) minmax(0, 1fr) minmax(8rem, 13rem) clamp(12rem, 18vw, 16rem); align-items: end; padding-top: 0.6rem; padding-bottom: 0.6rem; }
.hw-row-you .hw-desc { color: var(--color-snow); font-size: 1.05rem; }
.hw-row-you .hw-desc::after { content: "_"; margin-left: 0.1em; animation: hw-caret 1.1s steps(1) infinite; }
.hw-jingle { display: block; aspect-ratio: 420 / 560; margin: -1rem 0 -0.7rem; }
.hw-row-you > :not(.hw-jingle) { align-self: center; }
.hw-jingle > svg { display: block; width: 100%; height: 100%; overflow: visible; }
.hw-jingle .kc { overflow: hidden; }   /* the keycap frame window: only one frame of the sheet shows */
@keyframes hw-caret { 50% { opacity: 0; } }

.hw-print { max-width: 78rem; margin: clamp(3rem, 7svh, 4.5rem) auto 0; }
.hw-print-title { margin: 0 0 1rem; padding: 0 0.9rem; font: 400 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--font-serif); }
.hw-q { border-top: 1px solid var(--color-rule-dark); }
.hw-q:last-child { border-bottom: 1px solid var(--color-rule-dark); }
.hw-q summary {
  display: flex; justify-content: space-between; gap: var(--space-md); padding: 1rem 0.9rem; cursor: pointer; list-style: none; border-radius: 0.35rem;
  font: 400 0.95rem/1.45 var(--font-mono); letter-spacing: 0.02em; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out);
}
.hw-q summary::-webkit-details-marker { display: none; }
.hw-q summary::after { content: "+"; flex: none; color: var(--color-lilac); font-size: 1.15rem; line-height: 1.2; transition: rotate var(--dur-short) var(--ease-out); }
.hw-q[open] summary::after { rotate: 45deg; }
.hw-q[open] summary { color: var(--color-lilac); }
@media (hover: hover) { .hw-q summary:hover { background: oklch(74% 0.19 350 / 0.12); } }
.hw-q summary:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.hw-q p { margin: 0; padding: 0 0.9rem 1.3rem; max-width: 62ch; font: 400 1.08rem/1.5 var(--font-serif); color: oklch(86% 0.006 265); }
/* answers open in place: the row grows (the accordion exception to transform-only) while the answer fades in and drops 4 px.
   220 ms, the site's ease-out; closing runs the same path back. Browsers without ::details-content just snap, as before. */
.hw-q { interpolate-size: allow-keywords; }
.hw-q::details-content { block-size: 0; overflow: clip; transition: block-size 220ms var(--ease-out), content-visibility 220ms allow-discrete; }
.hw-q[open]::details-content { block-size: auto; }
.hw-q p { opacity: 0; transform: translateY(-4px); transition: opacity 200ms var(--ease-out), transform 220ms var(--ease-out); }
.hw-q[open] p { opacity: 1; transform: none; }
@starting-style { .hw-q[open] p { opacity: 0; transform: translateY(-4px); } }   /* the answer has no computed style while closed, so give it a start */

@media (max-width: 720px) {
  .hw-row, .hw-row-you { grid-template-columns: 2.4rem minmax(0, 1fr); row-gap: 0.25rem; padding: 1rem 0.4rem; }
  .hw-desc, .hw-cost { grid-column: 2; }
  .hw-cost { text-align: left; }
  .hw-jingle { grid-column: 1 / -1; justify-self: center; width: min(15rem, 70vw); margin: 0.4rem 0 -0.4rem; }
  .hw-title { font-size: 11.5vw; }
  .hw-prop { width: 6.5rem; opacity: 0.85; }
  .hw-prop-bubble { left: -1.2rem; top: -1rem; }
  .hw-prop-quote { right: -1.4rem; bottom: -1.5rem; }
  .hw-q summary, .hw-q p { padding-left: 0.4rem; padding-right: 0.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hw-row, .hw-q summary, .hw-q summary::after { transition: none; }
  .hw-q::details-content { transition: content-visibility 160ms allow-discrete; }
  .hw-q p { transform: none; transition: opacity 160ms ease; }
  .hw-row-you .hw-desc::after { animation: none; }
}
html.is-paused .hw-row-you .hw-desc::after { animation-play-state: paused; }

/* ---------- Contact + footer (2026-11-30): after altshift.agency's footer ----------
 * A giant email beside a short form, a crosshair with live X/Y, mono link columns, and a band of pink gel (a Shaders
 * WebGPU shader, self-hosted; a CSS gradient underneath is the fallback) where KLIEG keycaps drop in with physics
 * (footer.js). Night above, pink gel below; no cream, no spotlights. */
.ctf { --ct-gut: clamp(var(--space-sm), 5vw, var(--space-3xl)); position: relative; background: var(--color-night); color: var(--color-snow); border-top: 1px solid var(--color-rule-dark); }
.ctf ::selection { background: var(--color-lilac); color: var(--color-ink); }
.ct { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; padding: clamp(5rem, 14svh, 9rem) var(--ct-gut) clamp(3rem, 8svh, 5rem); scroll-margin-top: var(--bar-h); }
.ct-title { margin: 0; font: 800 clamp(2.6rem, 8.4vw, 9rem)/0.9 var(--font-display); text-transform: uppercase; font-variation-settings: "wdth" var(--display-wdth); letter-spacing: var(--tracking-display); }
.ct-title a { color: inherit; text-decoration: none; display: inline-block; }
.ct-title span { display: block; }
.ct-title a:hover span:last-child { text-decoration: underline 0.06em var(--color-lilac); text-underline-offset: 0.12em; }
.ct-title a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 6px; }
.ct-tag { margin: 1.6rem 0 0; font: 400 clamp(1.3rem, 2vw, 1.9rem)/1.3 var(--font-serif); color: oklch(86% 0.006 265); }
.ct-form { display: grid; gap: 1.15rem; padding-top: 0.6rem; }
.ct-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ct-field { display: grid; gap: 0.45rem; font: 400 0.78rem/1 var(--font-mono); letter-spacing: var(--tracking-mono); text-transform: uppercase; color: var(--color-mute); }
.ct-field input, .ct-field select, .ct-field textarea {
  width: 100%; padding: 0.55rem 0 0.7rem; border: 0; border-bottom: 1px solid oklch(38% 0.006 265); border-radius: 0; background: transparent; color: var(--color-snow);
  font: 400 1.05rem/1.4 var(--font-mono); letter-spacing: 0.01em; text-transform: none; transition: border-color var(--dur-short) var(--ease-out);
}
.ct-field select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--color-lilac) 50%), linear-gradient(-45deg, transparent 50%, var(--color-lilac) 50%); background-size: 6px 6px; background-position: calc(100% - 10px) 55%, calc(100% - 4px) 55%; background-repeat: no-repeat; }
.ct-field select option { background: var(--color-night-2); color: var(--color-snow); }
.ct-field textarea { resize: vertical; min-height: 6.5rem; }
.ct-field input:focus, .ct-field select:focus, .ct-field textarea:focus { outline: none; border-bottom-color: var(--color-lilac); }
.ct-field input:focus-visible, .ct-field select:focus-visible, .ct-field textarea:focus-visible { box-shadow: 0 2px 0 var(--color-lilac); }
.ct-field input[aria-invalid="true"], .ct-field textarea[aria-invalid="true"] { border-bottom-color: oklch(70% 0.17 25); }
.ct-send { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 0.6rem; }
.ct-send button {
  padding: 0.95rem 1.6rem; border: 0; border-radius: var(--radius-pill); background: var(--color-lilac); color: var(--color-ink); cursor: pointer;
  font: 400 0.85rem/1 var(--font-mono); letter-spacing: var(--tracking-mono); text-transform: uppercase; transition: background-color var(--dur-short) var(--ease-out), translate var(--dur-short) var(--ease-out);
}
@media (hover: hover) { .ct-send button:hover { background: var(--color-lilac-hi); translate: 0 -1px; } }
.ct-send button:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.ct-send button[disabled] { opacity: 0.6; cursor: progress; }
.ct-status { margin: 0; font: 400 0.95rem/1.4 var(--font-mono); color: oklch(86% 0.006 265); }
.ct-status.is-error { color: oklch(78% 0.14 25); }

.ft-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 2rem; padding: 2.2rem var(--ct-gut) 3rem; border-top: 1px solid var(--color-rule-dark); font: 400 0.98rem/1.4 var(--font-mono); }
.ft-cols div { display: grid; align-content: start; gap: 0.7rem; }
.ft-cols h3 { margin: 0 0 0.4rem; font: 400 0.75rem/1 var(--font-mono); letter-spacing: var(--tracking-mono); text-transform: uppercase; color: var(--color-mute); }
.ft-cols a, .ft-cols span { color: oklch(88% 0.006 265); text-decoration: none; width: fit-content; }
.ft-cols a { text-decoration: underline 1px transparent; text-underline-offset: 0.3em; transition: text-decoration-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
@media (hover: hover) { .ft-cols a:hover { color: var(--color-snow); text-decoration-color: var(--color-lilac); } }
.ft-cols a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.ft-xy { align-self: end; justify-self: end; display: flex; gap: 1.6rem; margin: 0; color: var(--color-mute); letter-spacing: var(--tracking-mono); font-variant-numeric: tabular-nums; }
.ft-xy b { font-weight: 400; color: oklch(88% 0.006 265); }

.ft-band { position: relative; height: clamp(18rem, 34vw, 32rem); overflow: hidden; background: linear-gradient(105deg, #f18ac0 0%, #e8509e 38%, #c8327f 62%, #e8509e 100%); touch-action: pan-y; }
.ft-gel { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 700ms var(--ease-out); }
.ft-band.has-gel .ft-gel { opacity: 1; }
.ft-keys { position: absolute; inset: 0; }
.ft-keys img { position: absolute; left: 0; top: 0; width: var(--key, 9rem); height: auto; user-select: none; -webkit-user-drag: none; will-change: transform; filter: drop-shadow(0 18px 18px oklch(20% 0.08 350 / 0.35)); }
.ft-keys.is-static img { position: relative; display: inline-block; }
.ft-copy { position: absolute; z-index: 1; left: var(--ct-gut); bottom: 1rem; margin: 0; padding: 0.45rem 0.7rem; border-radius: var(--radius-pill); background: var(--color-night); color: var(--color-snow); font: 400 0.78rem/1 var(--font-mono); letter-spacing: var(--tracking-mono); }   /* a night tag: the gel under it changes brightness, so plain text could not keep its contrast */

.ft-cross { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 300ms var(--ease-out); }
.ctf.is-pointing .ft-cross { opacity: 1; }
.ft-cross i { position: absolute; display: block; background: oklch(97.5% 0.005 265 / 0.22); }
.ft-cross-x { left: 0; right: 0; top: 0; height: 1px; transform: translateY(var(--cy, 0)); }
.ft-cross-y { top: 0; bottom: 0; left: 0; width: 1px; transform: translateX(var(--cx, 0)); }

@media (max-width: 720px) {
  .ct { grid-template-columns: 1fr; }
  .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-xy { display: none; }
  .ft-band { height: 20rem; }
}
@media (hover: none), (pointer: coarse) { .ft-cross { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .ft-gel, .ct-field input, .ct-field select, .ct-field textarea, .ct-send button, .ft-cols a { transition: none; }
  .ft-cross { display: none; }
}

@keyframes spin { to { rotate: 360deg; } }
@keyframes run { to { transform: translateX(-50%); } }

/* ---------- Tablet / phone ---------- */
@media (max-width: 800px) {
  .card { display: none; }
  .hero-tag { left: clamp(var(--space-sm), 2vw, var(--space-lg)); text-align: left; }
  .object { top: 52%; width: 108vw; }
  .sticker-lamp { top: auto; bottom: 21%; left: auto; right: -4%; width: 50vw; }
  .sticker-cursor { top: 30%; right: 2%; width: 22vw; }
  .sticker-badge { left: 4%; top: 64%; width: 20vw; max-width: 6.5rem; }
  .sticker-tag { top: auto; bottom: 36%; right: 5%; rotate: -6deg; }
  .wordmark { width: 92vw; top: calc(var(--bar-h) + var(--space-md)); }
  .ln-in { padding-left: 0; }
  .statement-text { justify-self: start; }
  .eyebrow { justify-self: start; text-align: left; }
  .statement-body { justify-self: start; }
}
@media (max-width: 480px) {
  .pill { height: 2.6rem; padding: 0 var(--space-sm); }
  .pill-round { width: 2.6rem; padding: 0; }
  .pill-menu { padding-right: 0.3rem; }
  .menu-dot { width: 1.9rem; height: 1.9rem; }
  .bar-logo img { width: 1.9rem; height: 1.9rem; }
  .ticker-meta span:first-child { display: none; }
  .bar-left .pill:not(.pill-round) { padding: 0 var(--space-xs); letter-spacing: 0.06em; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .sticker-badge svg, .ticker-run { animation: none; }
  .motion-ico { transition: none; }
  [data-depth] { transform: none; }
  .js .statement { height: auto; }
  .statement-stage { position: relative; }
  .js .w, .js .u { color: var(--color-snow); background-size: 100% 0.055em; transition: none; }
  .js .statement-cta { opacity: 1; pointer-events: auto; visibility: visible; }
  .menu, .menu.is-open { transition: none; }
}

/* =====================================================================
   Work: the wheel. A 3D vertical card wheel, modelled on gabrielbeaugonin.com
   (perspective 1500px, neighbours folded back 98deg, spring k190 c18),
   in Klieg night / snow white / pink gel. Two arrow buttons turn it; the page scrolls past freely.
   ===================================================================== */
.wk-w {
  --wk-card-h: clamp(17rem, 38.2svh, 30rem);       /* 344px at 900 tall */
  --wk-card-w: calc(var(--wk-card-h) * 0.9738);    /* 335 x 344 */
  --wk-radius: calc(var(--wk-card-h) * 0.093);     /* 32px at 344 */
  --wk-side: 17.85vw;                              /* 257px at 1440 */
  position: relative; isolation: isolate; overflow: clip;
  background: var(--color-night); color: var(--color-snow);
}
.wk-w-track { position: relative; }
.wk-w-stage { position: relative; height: 100svh; min-height: 34rem; overflow: hidden; }

/* Intro block, left */
.wk-w-intro {
  position: absolute; z-index: 3; left: var(--wk-side); top: 50%; translate: 0 -50%;
  display: flex; flex-direction: column; align-items: flex-start; gap: clamp(2rem, 5.6svh, 3.5rem);
}
.wk-w-lines { display: flex; flex-direction: column; }
.wk-w-l1, .wk-w-l2 { margin: 0; font: 400 clamp(1.9rem, 4.2svh, 2.75rem)/1.08 var(--font-serif); letter-spacing: 0; }
.wk-w-l1 { color: var(--color-snow); }
.wk-w-l2 { color: var(--color-mute); }
.wk-w-btns { display: flex; gap: 0.25rem; }
.wk-w-sq {
  display: grid; place-items: center; width: clamp(3rem, 6svh, 3.6rem); aspect-ratio: 1;
  border: 0; border-radius: 0.8rem; padding: 0; cursor: pointer;
  background: var(--color-pill); color: var(--color-ink);
  transition: transform var(--dur-short) var(--ease-out), background var(--dur-short) var(--ease-out);
}
.wk-w-sq:hover { transform: translateY(-1px); background: var(--color-lilac-hi); }
.wk-w-sq:active { transform: translateY(1px); }
.wk-w-sq svg { width: 14px; height: 14px; }

/* The wheel */
.wk-w-wheel {
  position: absolute; z-index: 2; top: 0; right: var(--wk-side); height: 100%; width: var(--wk-card-w);
  user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.wk-w-list {
  position: relative; list-style: none; margin: 0; padding: 0; width: 100%; height: 100%;
  perspective: 1500px; transform-style: preserve-3d;
}
.wk-w-card {
  position: absolute; left: 0; top: 50%; margin-top: calc(var(--wk-card-h) / -2);
  width: var(--wk-card-w); height: var(--wk-card-h); border-radius: var(--wk-radius);
  transform-style: preserve-3d; transform-origin: center center; will-change: transform;
}
.wk-w-mag { width: 100%; height: 100%; border-radius: inherit; }
.wk-w-face {
  width: 100%; height: 100%; overflow: hidden; border-radius: inherit;
  background: var(--color-night-2);
  box-shadow: inset 0 0 0 1px oklch(100% 0 0 / 0.07);
}
.wk-w-card.is-active .wk-w-content::after {   /* keeps a dark card's edge visible on the night background */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px oklch(100% 0 0 / 0.1);
}
.wk-w-link {
  position: relative; display: block; width: 100%; height: 100%; border-radius: inherit;
  color: oklch(100% 0 0); text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.wk-w-link:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--color-accent); }
.wk-w-content {
  position: absolute; inset: 0; border-radius: inherit; opacity: 0;
  transition: opacity 0.3s ease; backface-visibility: hidden; transform: translateZ(0);
}
.wk-w-card.is-active .wk-w-content { opacity: 1; }
.wk-w-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wk-w-win {
  position: absolute; left: 10.4%; width: 79.2%; top: 28.2%; aspect-ratio: 16 / 10;
  border-radius: 3px; overflow: hidden; background: var(--color-night);
  box-shadow: 0 1px 2px oklch(0% 0 0 / 0.25), 0 14px 30px -8px oklch(0% 0 0 / 0.45);
}
.wk-w-win img, .wk-w-win video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.wk-w-win video { opacity: 0; transition: opacity 0.2s ease-out; }
.wk-w-win video.is-playing { opacity: 1; }
.wk-w-title, .wk-w-kind { position: absolute; left: 8.96%; margin: 0; color: oklch(100% 0 0); mix-blend-mode: exclusion; }
.wk-w-title { bottom: 8.4%; font: 400 clamp(1.15rem, 2.45svh, 1.6rem)/1.05 var(--font-serif); letter-spacing: -0.005em; }
.wk-w-card[data-tone="light"] .wk-w-title, .wk-w-card[data-tone="light"] .wk-w-kind { color: var(--color-ink); mix-blend-mode: normal; }
.wk-w-kind { top: 8.4%; font: 400 var(--text-2xs)/1 var(--font-mono); letter-spacing: var(--tracking-mono); text-transform: uppercase; }

/* Arrow pair, right: up = previous, down = next, with the dots between them (the top dot is the first project) */
.wk-w-nav {
  position: absolute; z-index: 3; right: calc(5.63vw + 1.5px); top: 50%; translate: 50% -50%;
  display: flex; flex-direction: column; align-items: center; gap: 1.6rem;
}
.wk-w-nav[hidden] { display: none; }
.wk-w-arrow svg { width: 16px; height: 16px; transition: translate var(--dur-short) var(--ease-out); }
@media (hover: hover) {   /* touch screens keep :hover after a tap, so the hover look is for mice only */
  .wk-w-arrow:hover { background: var(--color-lilac-hi); transform: none; }
  #wk-w-prev:hover svg { translate: 0 -2px; }
  #wk-w-next:hover svg { translate: 0 2px; }
}
@media (hover: none) { .wk-w-arrow:hover { background: var(--color-pill); transform: none; } }
.wk-w-arrow:active { transform: scale(0.94); }
.wk-w-arrow:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
#wk-w-prev.is-nudge svg { animation: wk-nudge-up 0.32s var(--ease-out); }
#wk-w-next.is-nudge svg { animation: wk-nudge-dn 0.32s var(--ease-out); }
@keyframes wk-nudge-up { 40% { translate: 0 -5px; } }
@keyframes wk-nudge-dn { 40% { translate: 0 5px; } }
.wk-w-dots { display: flex; flex-direction: column; gap: 8px; }
.wk-w-dots i { display: block; width: 3px; height: 3px; border-radius: 50%; background: var(--color-snow); opacity: 0.2; transition: opacity 0.25s ease-out; }
.wk-w-dots i.is-on { opacity: 1; }

/* No-JS fallback list */
.wk-w-list:not(.is-ready) { display: grid; align-content: center; gap: 0.6rem; perspective: none; }
.wk-w-list:not(.is-ready) a { font: 400 1.25rem/1.2 var(--font-serif); color: var(--color-snow); }

/* Phones: text on top, card in the middle, buttons at the bottom (as the reference) */
@media (max-width: 768px) {
  .wk-w {
    --wk-card-h: min(72vw, 38svh, 19rem);
    --wk-card-w: var(--wk-card-h);
  }
  .wk-w-intro {
    inset: 0; translate: none; left: 0; top: 0; pointer-events: none;
    justify-content: space-between; align-items: center; text-align: center;
    padding: calc(var(--bar-h) + 0.5rem) 1rem 2.5rem;
  }
  .wk-w-intro > * { pointer-events: auto; }
  .wk-w-lines { align-items: center; }
  .wk-w-l1, .wk-w-l2 { font-size: clamp(1.6rem, 7vw, 2rem); }
  .wk-w-sq { width: 3.4rem; }
  .wk-w-wheel { right: auto; left: 50%; translate: -50% 0; }
  /* the arrow pair joins the bottom row, to the right of the open and talk buttons */
  .wk-w-btns { translate: -4.275rem 0; }
  .wk-w-nav { right: auto; top: auto; left: calc(50% + 0.75rem); bottom: 2.5rem; translate: none; flex-direction: row; gap: 0.25rem; }
  .wk-w-dots { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wk-w-content, .wk-w-win video, .wk-w-dots i, .wk-w-sq, .wk-w-arrow svg { transition: none; }
}

/* =====================================================================
   Case study page (2026-11-26), after redondo.design case studies:
   one quiet back link, a big serif name, the film edge to edge, then a sticky
   chapter column beside a mosaic staged on the project's own colour field,
   a plain facts list and a strip of more work. No pill buttons.
   ===================================================================== */
.wk-c-bar {
  position: sticky; top: 0; z-index: 2;
  padding: 1rem var(--wk-a-gutter);
  background: linear-gradient(180deg, var(--color-night) 55%, oklch(14.5% 0.004 265 / 0));
}
.wk-c-back {
  all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 0.55rem;
  font: 400 1.1rem/1 var(--font-serif); color: var(--color-snow);
  text-decoration: underline 1px transparent; text-underline-offset: 0.25em;
  transition: text-decoration-color var(--dur-short) var(--ease-out);
}
.wk-c-back-dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--color-lilac); }
.wk-c-back:hover { text-decoration-color: var(--color-lilac); }
.wk-c-back:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }

.wk-a-case-body { max-width: 92rem; margin: 0 auto; padding: 0 var(--wk-a-gutter); }

.wk-c-head { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: clamp(1rem, 2.4vw, 2rem); row-gap: 0.4rem; padding-top: clamp(1rem, 4vh, 2.5rem); }
.wk-c-title { margin: 0; font: 400 clamp(3.4rem, 8vw, 7.5rem)/0.9 var(--font-serif); letter-spacing: -0.005em; text-wrap: balance; }
.wk-c-title:focus, .wk-c-title:focus-visible { outline: none; box-shadow: none; background: none; }
.wk-c-tags { margin: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 1.1rem; font: 400 1.05rem/1.2 var(--font-serif); color: var(--color-mute); }
.wk-c-tags .is-client, .wk-c-tags .is-concept { color: var(--color-lilac); }
.wk-c-line { flex: 1 0 100%; margin: 0.6rem 0 0; padding-right: max(0px, calc(100% - 40ch)); font: italic 400 clamp(1.2rem, 1.7vw, 1.55rem)/1.25 var(--font-serif); color: var(--color-snow); }

.wk-c-film {
  /* the recordings are 16:10: same frame, and on a short screen the whole frame shrinks rather than cropping */
  position: relative; margin: clamp(1.5rem, 4vh, 2.5rem) auto 0; aspect-ratio: 16 / 10;
  width: min(100%, calc(82svh * 1.6)); overflow: hidden; background: var(--color-night-2);
}
.wk-c-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.wk-c-film-toggle {
  all: unset; position: absolute; left: 1rem; bottom: 1rem; cursor: pointer;
  padding: 0.45rem 0.75rem; border-radius: 0.35rem; background: oklch(14.5% 0.004 265 / 0.72); color: var(--color-snow);
  font: 400 0.98rem/1 var(--font-serif);
}
.wk-c-film-toggle:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* Story: sticky chapters, left; mosaic, right */
.wk-c-story { margin-top: clamp(3rem, 9vh, 6rem); display: grid; grid-template-columns: minmax(15rem, 21rem) minmax(0, 1fr); column-gap: clamp(1.5rem, 3.4vw, 3.5rem); align-items: start; }
.wk-c-chapters { position: sticky; top: 4.25rem; }
.wk-c-ch { border-bottom: 1px solid var(--color-rule-dark); }
.wk-c-ch h3 { margin: 0; }
.wk-c-ch-btn {
  all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: block; width: 100%;
  padding: 1rem 0 1rem 1.15rem; font: 400 1.4rem/1.1 var(--font-serif); color: var(--color-mute);
  transition: color var(--dur-short) var(--ease-out);
}
.wk-c-ch-btn::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 0.45rem; height: 0.45rem; margin-top: -0.2rem;
  border-radius: 50%; background: var(--color-lilac); scale: 0; transition: scale var(--dur-short) var(--ease-out);
}
.wk-c-ch-btn:hover { color: var(--color-snow); }
.wk-c-ch-btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.wk-c-ch.is-open .wk-c-ch-btn { color: var(--color-snow); }
.wk-c-ch.is-open .wk-c-ch-btn::before { scale: 1; }
.wk-c-ch-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-out); }
.wk-c-ch-body > div { overflow: hidden; }
.wk-c-ch.is-open .wk-c-ch-body { grid-template-rows: 1fr; }
.wk-c-ch-body p, .wk-c-list { margin: 0 0 1.2rem; font: 400 1.12rem/1.42 var(--font-serif); color: oklch(84% 0.007 265); text-wrap: pretty; }
.wk-c-list { list-style: none; padding: 0; }
.wk-c-list li { position: relative; padding: 0 0 0.55rem 1rem; }
.wk-c-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.4rem; height: 1px; background: var(--color-lilac); }

.wk-c-mosaic {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px;
  align-items: start;
}
.wk-c-tile { position: relative; margin: 0; overflow: hidden; background: var(--field, none) center / cover no-repeat, var(--color-night-2); }
.wk-c-tile { aspect-ratio: 4 / 5; }
.wk-c-tile.span-2 { grid-column: span 2; aspect-ratio: 16 / 10; }
.wk-c-tile img { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: block; }
/* every screenshot and clip shows whole: sized by whichever limit it meets first, never cropped */
.wk-c-tile img, .wk-c-tile video { box-shadow: 0 2px 4px oklch(0% 0 0 / 0.2), 0 24px 50px -16px oklch(0% 0 0 / 0.55); }
.wk-c-tile.is-desk img { width: auto; height: auto; max-width: 80%; max-height: 84%; border-radius: 4px; }
.wk-c-tile.is-desk.span-1 img { max-width: 86%; }
.wk-c-tile.is-phone img { width: auto; height: auto; max-width: 80%; max-height: 84%; border-radius: 14px; }
.wk-c-tile.is-clip { background: var(--field, none) center / cover no-repeat, var(--color-night-2); }
.wk-c-tile.is-clip video { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 86%; height: auto; aspect-ratio: 16 / 10; max-height: 84%; object-fit: contain; border-radius: 4px; background: var(--color-night); }
.wk-c-tile.is-clip.span-2 video { width: 80%; }

/* Facts, set like credits */
.wk-c-facts { margin-top: clamp(4rem, 12vh, 8rem); display: grid; grid-template-columns: minmax(15rem, 21rem) minmax(0, 1fr); column-gap: clamp(1.5rem, 3.4vw, 3.5rem); }
.wk-c-facts h3 { margin: 0; padding-top: 0.75rem; font: 400 1.4rem/1.1 var(--font-serif); }
.wk-c-facts dl { margin: 0; border-top: 1px solid var(--color-rule-dark); }
.wk-c-facts dl > div { display: grid; grid-template-columns: minmax(7rem, 13rem) minmax(0, 1fr); gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--color-rule-dark); font: 400 1.1rem/1.35 var(--font-serif); }
.wk-c-facts dt { color: var(--color-mute); }
.wk-c-facts dd { margin: 0; color: var(--color-snow); }
.wk-c-link { color: var(--color-snow); text-decoration: underline 1px var(--color-lilac); text-underline-offset: 0.22em; overflow-wrap: anywhere; transition: color var(--dur-short) var(--ease-out); }
.wk-c-link:hover { color: var(--color-lilac); }
.wk-c-link:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* More work */
.wk-c-more { margin-top: clamp(4.5rem, 14vh, 9rem); padding-bottom: clamp(3rem, 10vh, 6rem); }
.wk-c-more h3 { margin: 0 0 1.4rem; font: 400 clamp(2rem, 3.6vw, 3.25rem)/1.02 var(--font-serif); letter-spacing: 0; }
.wk-c-more ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.wk-c-more-btn { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 0.35rem; width: 100%; }
.wk-c-more-btn img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; margin-bottom: 0.4rem; background: var(--color-night-2); transition: opacity var(--dur-short) var(--ease-out); }
.wk-c-more-name { font: 400 1.3rem/1.1 var(--font-serif); color: var(--color-snow); text-decoration: underline 1px transparent; text-underline-offset: 0.2em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.wk-c-more-kind { font: 400 0.98rem/1.2 var(--font-serif); color: var(--color-mute); }
.wk-c-more-btn:hover .wk-c-more-name { text-decoration-color: var(--color-lilac); }
.wk-c-more-btn:hover img { opacity: 0.85; }
.wk-c-more-btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }

/* On a phone: a CSS-built iPhone (titanium frame, Dynamic Island, side keys, status bar, home bar)
   playing a 390 px wide scroll recording of the site, set on the project's colour field. */
.wk-c-phone {
  position: relative; margin-top: clamp(4rem, 12vh, 8rem); overflow: hidden;
  display: grid; grid-template-columns: minmax(15rem, 21rem) minmax(0, 1fr); column-gap: clamp(1.5rem, 3.4vw, 3.5rem);
  align-items: center; min-height: min(100svh, 62rem); padding: clamp(2.5rem, 7vh, 5rem) clamp(1.5rem, 3vw, 3rem);
  background: var(--field, none) center / cover no-repeat, var(--color-night-2);
}
.wk-c-phone::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, oklch(14.5% 0.004 265 / 0.82), oklch(14.5% 0.004 265 / 0.2) 45%, oklch(14.5% 0.004 265 / 0)); pointer-events: none; }
.wk-c-phone-copy { position: relative; align-self: end; }
.wk-c-phone-copy h3 { margin: 0 0 0.7rem; font: 400 clamp(2rem, 3.4vw, 3rem)/1.02 var(--font-serif); letter-spacing: 0; color: var(--color-snow); }
.wk-c-phone-copy p { margin: 0; max-width: 26ch; font: 400 1.12rem/1.42 var(--font-serif); color: oklch(88% 0.007 265); }

.wk-c-iphone {
  --w: clamp(14.5rem, 21vw, 19rem);
  position: relative; justify-self: center; margin: 0; width: var(--w); aspect-ratio: 390 / 895; box-sizing: content-box; /* a 390 x 844 recording under a 51 px status bar */
  padding: calc(var(--w) * 0.035); border-radius: calc(var(--w) * 0.175);
  background: linear-gradient(145deg, oklch(46% 0.006 260), oklch(30% 0.006 260) 30%, oklch(24% 0.005 260) 70%, oklch(40% 0.006 260));
  box-shadow:
    inset 0 0 0 1px oklch(70% 0.005 260 / 0.55),
    inset 0 0 0 calc(var(--w) * 0.012) oklch(12% 0 0),
    0 2px 3px oklch(0% 0 0 / 0.25), 0 30px 70px -20px oklch(0% 0 0 / 0.65), 0 60px 120px -40px oklch(0% 0 0 / 0.5);
}
.wk-c-iphone-key { position: absolute; width: calc(var(--w) * 0.012); border-radius: 2px; background: linear-gradient(90deg, oklch(26% 0.005 260), oklch(48% 0.006 260)); }
.wk-c-iphone-key.is-action { left: calc(var(--w) * -0.009); top: 17%; height: 4%; }
.wk-c-iphone-key.is-vol-up { left: calc(var(--w) * -0.009); top: 24%; height: 7.5%; }
.wk-c-iphone-key.is-vol-down { left: calc(var(--w) * -0.009); top: 33%; height: 7.5%; }
.wk-c-iphone-key.is-power { right: calc(var(--w) * -0.009); top: 27%; height: 11%; background: linear-gradient(270deg, oklch(26% 0.005 260), oklch(48% 0.006 260)); }
.wk-c-iphone-screen {
  position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--w) * 0.14);
  background: oklch(0% 0 0); display: flex; flex-direction: column; isolation: isolate;
}
.wk-c-iphone-status {
  flex: none; height: 5.7%; display: flex; align-items: center; justify-content: space-between;
  padding: 0 9% 0 11%; background: oklch(0% 0 0); color: oklch(100% 0 0);
  font: 600 calc(var(--w) * 0.043)/1 -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; letter-spacing: -0.01em;
}
.wk-c-iphone-status svg { width: 22%; height: auto; }
.wk-c-iphone-island { position: absolute; z-index: 2; left: 50%; top: 1.3%; width: 31%; height: 3.6%; translate: -50% 0; border-radius: 999px; background: oklch(0% 0 0); }
.wk-c-iphone-screen video { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: top center; display: block; background: oklch(14.5% 0.004 265); }
.wk-c-iphone-home { position: absolute; z-index: 2; left: 50%; bottom: 0.9%; width: 35%; height: 0.55%; translate: -50% 0; border-radius: 999px; background: oklch(100% 0 0 / 0.75); mix-blend-mode: difference; }

@media (max-width: 899px) {
  .wk-c-phone { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; min-height: 0; }
  .wk-c-phone::before { background: linear-gradient(180deg, oklch(14.5% 0.004 265 / 0.8), oklch(14.5% 0.004 265 / 0) 45%); }
  .wk-c-phone-copy { align-self: start; }
  .wk-c-iphone { --w: min(68vw, 17rem); }
}

/* Narrow screens: one column, every chapter open, mosaic below, more work as a swipe row */
@media (max-width: 899px) {
  .wk-c-story, .wk-c-facts { grid-template-columns: minmax(0, 1fr); }
  .wk-c-chapters { position: static; margin-bottom: 2rem; }
  .wk-c-ch-body { grid-template-rows: 1fr; }
  .wk-c-ch-btn { cursor: default; color: var(--color-snow); padding-left: 0; }
  .wk-c-ch-btn::before { display: none; }
  .wk-c-facts h3 { padding: 0 0 0.9rem; }
  .wk-c-facts dl > div { grid-template-columns: minmax(5.5rem, 7rem) minmax(0, 1fr); }
  .wk-c-more ul { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; }
  .wk-c-more li { scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  .wk-c-ch-body, .wk-c-ch-btn, .wk-c-ch-btn::before, .wk-c-back, .wk-c-link, .wk-c-more-btn img, .wk-c-more-name { transition: none; }
}

/* ---------- Services: stacked cards (owner chose "Stack", 2026-11-26) ----------
 * One coloured card per service. Each card is sticky, a little lower than the last,
 * so they pile up as the page scrolls. No script. */
.sv { --sv-gut: clamp(var(--space-sm), 5vw, var(--space-3xl)); position: relative; background: var(--color-night); color: var(--color-snow); padding: clamp(5rem, 14svh, 9rem) var(--sv-gut); }
.sv-head { margin-bottom: clamp(2rem, 6svh, 4rem); }
.sv-head h2 { margin: 0; font: 400 clamp(1.9rem, 4.2svh, 2.75rem)/1.08 var(--font-serif); }
.sv-head h2 span { display: block; }
.sv-head h2 span + span { color: var(--color-mute); }
.sv-cards { display: grid; gap: var(--space-md); }
.sv-card {
  position: sticky; top: calc(var(--bar-h) + var(--i) * 0.9rem);
  min-height: min(36rem, 76svh); overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg);
  padding: clamp(1.4rem, 3.2vw, 3rem); border-radius: 1.6rem;
  background: var(--bg); color: var(--fg);
  box-shadow: 0 -18px 40px -22px oklch(0% 0 0 / 0.7);
}
.sv-copy { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-lg); min-width: 0; max-width: 42%; position: relative; z-index: 3; }
.sv-name {
  margin: 0; font: 800 clamp(2.2rem, 5.6vw, 5.4rem)/0.96 var(--font-display); text-transform: uppercase; text-wrap: balance;
  font-variation-settings: "wdth" var(--display-wdth); letter-spacing: var(--tracking-display); word-spacing: var(--wordspace-display);
}
.sv-price { margin: 0 0 1.1rem; font: italic 400 1.15rem/1.2 var(--font-serif); }
.sv-desc { margin: 0 0 1.1rem; font: 400 clamp(1.15rem, 1.7vw, 1.5rem)/1.3 var(--font-serif); max-width: 28ch; text-wrap: pretty; }
.sv-cta { display: inline-flex; align-items: center; gap: 0.5em; font: 400 1.15rem/1.2 var(--font-serif); color: inherit; text-decoration: underline 1px currentColor; text-underline-offset: 0.25em; transition: text-underline-offset var(--dur-short) var(--ease-out); }
@media (hover: hover) { .sv-cta:hover { text-underline-offset: 0.4em; } }
.sv-cta:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; box-shadow: none; }
/* Visual slot (owner approved round 2, 2026-11-27; built on a prototype page, since removed): the flat, armless Jingle standing in a
   Blender set animated by the local H3 (video + foreground layer), driven by services.js. The 11+ card is a layered 3D
   Gelato Lab hero in a glass display, built by gelato-card.js in Jingle's 1200 x 960 plate space. */
/* the set fills the right side of the card, top to bottom, and fades into the card colour at its edges */
.sv .stage { position: absolute; inset: 0 0 0 auto; width: 64%; container-type: size; pointer-events: none; }
/* only the set fades into the card colour at its edges; Jingle and the foreground stay solid */
.sv .frame video { -webkit-mask: linear-gradient(to right, transparent, #000 22%), linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent); -webkit-mask-composite: source-in;
  mask: linear-gradient(to right, transparent, #000 22%), linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent); mask-composite: intersect; }
/* the frame is the stage: the clip, Jingle and the foreground all crop the same way (cover, anchored to the floor) so they stay lined up */
.sv .frame { position: absolute; inset: 0; overflow: hidden; }
.sv .frame > * { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sv .frame video, .sv .frame img { object-fit: cover; object-position: 50% 100%; }
.sv .frame .fgl { transform: translateY(10%); opacity: .92; }
/* the 11+ card (round 2): nothing clay, nothing flat. A glass display with a layered 3D Gelato Lab hero, built by gelato-card.js in Jingle's 1200 x 960 plate space */
/* the burst must not stop dead at the stage's left edge (a hard vertical line through blurred pieces): only the card itself clips this frame */
.sv .frame.gl-frame { overflow: visible; }
.sv .frame > .gl-plate { inset: auto; left: 0; top: 0; width: 1200px; height: 960px; transform-origin: 0 0; z-index: 1; }   /* above Jingle: the burst comes at the camera, so it passes in front of him (the display never overlaps him) */
.sv .frame > .gl-hat { inset: auto; left: 0; top: 0; width: 40px; height: 40px; background-repeat: no-repeat; background-size: 2400% 100%; opacity: 0; z-index: 2; filter: drop-shadow(0 4px 5px rgba(24, 20, 20, .28)); }
.sv .frame > .gl-call { z-index: 3; pointer-events: none; }
.gl-scene { position: absolute; inset: 0; perspective: 1250px; perspective-origin: 860px 420px; }
.gl-float, .gl-win, .gl-hero, .gh-pop, .gh-fx { position: absolute; transform-style: preserve-3d; }
.gl-float { inset: 0; }
.gl-win { left: 470px; top: 190px; width: 744px; height: 474px; }
.gl-face { position: absolute; inset: 0; border-radius: 26px; background: linear-gradient(145deg, #262527, #0d0d0e 55%, #1b1a1c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .3); }
.gl-back { position: absolute; inset: 0; border-radius: 26px; background: #161617; transform: translateZ(-26px); box-shadow: 0 50px 90px rgba(24, 20, 20, .22), 0 18px 30px rgba(24, 20, 20, .14); }
.gl-side { position: absolute; background: linear-gradient(90deg, #3d3b3e, #1c1b1d 40%, #2e2c2f); }
.gl-l, .gl-r { top: 0; width: 26px; height: 474px; transform-origin: 0 50%; transform: rotateY(90deg); } .gl-l { left: 0; } .gl-r { left: 744px; }
.gl-t, .gl-b { left: 0; width: 744px; height: 26px; transform-origin: 50% 0; transform: rotateX(-90deg); background: linear-gradient(#4a484b, #1c1b1d); } .gl-t { top: 0; } .gl-b { top: 474px; }
.gl-shadow { position: absolute; left: 540px; top: 700px; width: 620px; height: 60px; border-radius: 50%; background: radial-gradient(closest-side, rgba(24, 20, 20, .26), rgba(24, 20, 20, .1) 60%, transparent); filter: blur(12px); }
/* the hero, in its own 1440 x 900 design units, scaled into the screen */
.gl-hero { left: 12px; top: 12px; width: 1440px; height: 900px; transform-origin: 0 0; transform: scale3d(.5, .5, .5); --gbg: #9c8fd0; --gink: #34284a; }
.gl-hero > *, .gh-bg > * { position: absolute; left: 0; top: 0; }
.gh-bg { width: 1440px; height: 900px; overflow: hidden; border-radius: 20px; background: var(--gbg); }
.gh-waves { width: 100%; height: 100%; opacity: .5; background-size: 120px 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='28' viewBox='0 0 120 28'%3E%3Cpath d='M0 14 C 15 4, 30 4, 45 14 S 75 24, 90 14 S 112 6, 120 14' fill='none' stroke='rgba(30,20,50,0.16)' stroke-width='1.1'/%3E%3C/svg%3E"); }
.gh-ring, .gh-ring-shadow { border-radius: 50%; background-repeat: no-repeat; }
.gh-coupe { display: block; transform-origin: 50% 50%; } .gh-coupe-sh { border-radius: 50%; transform-origin: 50% 50%; background: radial-gradient(circle, rgba(25, 12, 45, .3) 0%, rgba(25, 12, 45, .14) 48%, transparent 70%); }
.gh-bowl-sh { width: 564px; height: 564px; border-radius: 50%; opacity: 0; z-index: 150; transform-origin: 50% 50%; background: radial-gradient(circle, rgba(25, 12, 45, .6), rgba(25, 12, 45, .22) 45%, transparent 68%); }
.gh-bg > .gh-flash { left: 270px; top: -32px; width: 900px; height: 900px; border-radius: 50%; opacity: 0; z-index: 160; mix-blend-mode: screen; background: radial-gradient(circle, rgba(255, 255, 255, .75), rgba(255, 250, 240, .25) 30%, transparent 62%); }
.gh-vignette { width: 100%; height: 100%; z-index: 170; background: radial-gradient(ellipse 75% 70% at 50% 45%, transparent 55%, rgba(20, 10, 40, .22) 100%); }
.gh-glare { width: 1440px; height: 900px; border-radius: 20px; pointer-events: none; transform: translateZ(2px); background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .12) 42%, rgba(255, 255, 255, .03) 47%, transparent 56%); background-size: 260% 100%; }
.gh-title { font: 400 100px/1 "Dela Gothic One", "Archivo", sans-serif; letter-spacing: -.01em; white-space: nowrap; color: var(--gink); transform: translate3d(190px, 632px, 140px); text-shadow: 0 22px 28px rgba(24, 20, 20, .18); }
.gh-eyebrow { display: flex; align-items: center; gap: 18px; font: 600 15px/1 "Archivo", sans-serif; letter-spacing: .42em; color: var(--gink); transform: translate3d(158px, 455px, 90px); }
.gh-eyebrow::before, .gh-eyebrow::after { content: ""; width: 64px; height: 1.5px; background: currentColor; } .gh-eyebrow::after { margin-left: -6px; }
.gh-flavour { margin: 0; font: 700 21px/1.28 "Archivo", sans-serif; letter-spacing: .2em; color: var(--gink); }
.gh-buy { width: 156px; height: 50px; border: 2px solid var(--gink); border-radius: 8px; display: grid; place-items: center; font: 600 14px/1 "Archivo", sans-serif; letter-spacing: .2em; color: var(--gink); transform: translate3d(190px, 572px, 90px); }
.gh-nav { width: 60px; height: 60px; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 14px; color: #fff; display: grid; place-items: center; }
.gh-nav svg { width: 24px; height: 24px; } .gh-menu { transform: translate3d(40px, 26px, 60px); } .gh-cart { transform: translate3d(1340px, 26px, 60px); }
.gh-prop { background-repeat: no-repeat; transform-origin: 50% 50%; filter: drop-shadow(0 46px 34px rgba(24, 20, 20, .3)); }
.gh-pop { visibility: hidden; transform-origin: 50% 50%; } .gh-pop-l { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gh-fx { width: 1440px; height: 900px; }
.gh-p { position: absolute; left: 0; top: 0; background-repeat: no-repeat; background-size: 2400% 100%; opacity: 0; will-change: transform, opacity, filter; }
/* callouts, after the Frambini reference: a thin line and small caps */
.gl-callout { position: absolute; left: 0; top: 0; opacity: 0; }
.gl-callout svg { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: visible; }
.gl-callout path { fill: none; stroke: #1b1d24; stroke-width: 1.3; } .gl-callout circle { fill: #1b1d24; }
.gl-callout span { position: absolute; left: 0; top: 0; white-space: nowrap; font: 600 12px/1.15 "Archivo", sans-serif; letter-spacing: .08em; color: #1b1d24; -webkit-text-stroke: 3px #f5f7fa; paint-order: stroke fill; }   /* a crisp outline in the card colour keeps the labels readable over flying pieces */
@media (max-width: 720px) {
  .sv .stage { position: relative; inset: auto; width: calc(100% + 2.8rem); margin: -1.4rem -1.4rem 0; height: 19rem; order: -1; }
  .sv .frame video { -webkit-mask: linear-gradient(to bottom, #000 80%, transparent); mask: linear-gradient(to bottom, #000 80%, transparent); }
}
.sv-foot { margin: var(--space-xl) 0 0; max-width: 46ch; font: 400 1rem/1.45 var(--font-serif); color: var(--color-mute); }
.sv-foot a { color: var(--color-snow); text-decoration: underline 1px currentColor; text-underline-offset: 0.2em; }
/* second link on a service card, to that service's own page (launch prep 2026-12-02) */
.sv-copy .sv-more { display: flex; width: max-content; margin-top: 0.55rem; font-size: 1rem; opacity: 0.85; }
@media (max-width: 720px) {
  .sv-card { grid-template-columns: 1fr; min-height: 0; top: calc(var(--bar-h) + var(--i) * 0.5rem); }
  .sv-copy { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .sv-cta { transition: none; } }
