/* MT Brand System and portfolio styles. Canonical runtime stylesheet.
   Brand tokens: design-system/MT-BRAND-TOKENS.md.
   Existing page layout and interaction rules are retained below until their markup is migrated. */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,100..900&family=Hanken+Grotesk:wght@300;400;500;600;700;900&family=Spectral+SC:wght@500;600&family=JetBrains+Mono:wght@400;500&family=IBM+Plex+Mono:wght@400;500&display=swap');
/* Earlier portfolio pairing retained as opt-in faces, not active brand defaults. */
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200..700;1,6..72,200..700&family=Archivo+Black&family=Space+Grotesk:wght@400;500&display=swap');

/* All legacy rules remain in their original source order while scene rules
   move into named layers. Later page stylesheets join the same layer. */
@layer reset, tokens, layout, scenes, components, cases, utilities, overrides;
@layer tokens {
  :root {
    --scene-pad-x: clamp(1.25rem, 4vw, 4rem);
    --scene-pad-y: clamp(2.5rem, 6svh, 5.5rem);
    --scene-grid-gap: clamp(1rem, 2.5vmin, 2.5rem);
    --col-max: 10rem;
  }
}
@layer layout {
  /* A full-bleed stage with a bounded 12-column reading grid. */
  .scene-frame {
    container-type: inline-size;
    display: grid;
    grid-template-columns:
      [full-start] minmax(var(--scene-pad-x), 1fr)
      [content-start] repeat(12, minmax(0, var(--col-max)))
      [content-end] minmax(var(--scene-pad-x), 1fr) [full-end];
    column-gap: 0;
    min-height: 100svh;
    height: auto;
  }
  .scene-frame > .scene-frame__content { grid-column: content-start / content-end; min-width: 0; }
  .scene-frame > .scene-frame__media { grid-column: full-start / full-end; grid-row: 1 / -1; min-width: 0; }
  .scene-frame--flow { height: auto; min-height: 100svh; }
}
@layer overrides {

/* Brand variables, type roles, surfaces, and reusable components. */
/* MT Brand System v1.0 — opt-in classes for new brand work.
   Source: MT-BRAND-TOKENS.md. Existing portfolio pages do not load this file. */

:root {
  --ink-950: #0b0b0c;
  --ink-900: #121212;
  --ink-800: #1c1c1d;
  --ink-700: #2a2a2b;
  --ink-600: #3a3a3c;
  --mute-400: #8a8a8e;
  --mute-300: #b5b5b8;
  --mute-200: #d6d6d8;
  --mute-100: #e6e6e8;
  --paper-100: #f4f3f0;
  --white: #fff;
  --signal-cyan: #2ea7e0;
  --print-cyan: #1b7db0;
  --volt: #c6f24e;
  --lilac: #b8a4f2;
  --scribble: #8db8f0;
  --reel-orange: #ff6b2c;
  --aura-rust: #8a4636;
  --aura-rose: #9a7a80;
  --aura-dusk: #6a7b90;
  --aura-teal: #2e4a50;
  --aura-glow: #3a8fb8;
  --bg-aura: url('../design-system/assets/aura.png') center / cover no-repeat;
  --bg-aura-deep: url('../design-system/assets/aura-deep.png') center / cover no-repeat;
  --bg-lift: radial-gradient(120% 90% at 50% 100%, #2a2a2b, #121212 70%);
  --bg-placeholder: repeating-linear-gradient(135deg, #1c1c1d 0 10px, #202022 10px 20px);
  --font-display: 'Archivo', sans-serif;
  --font-condensed: 'Archivo', sans-serif;
  --font-body: 'Hanken Grotesk', sans-serif;
  --font-accent: 'Spectral SC', serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-email: Helvetica, Arial, sans-serif;
  --font-option-newsreader: 'Newsreader', Georgia, serif;
  --font-option-archivo-black: 'Archivo Black', 'Archivo', sans-serif;
  --font-option-space-grotesk: 'Space Grotesk', 'Hanken Grotesk', sans-serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --space-9: 128px;
  --radius: 0;
  --radius-matte: 4px;
  --rule: 1px solid var(--ink-600);
  --rule-strong: 1.5px solid var(--white);
  --icon-stroke: 1.5px;
  --outline-stroke: 2px;
  --web-margin: 80px;
  --web-gutter: 32px;
  --section-pad-y: 120px;
  --nav-height: 88px;
}

.mt-brand {
  color: var(--white);
  background: var(--ink-900);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-synthesis: none;
}

.mt-brand *, .mt-brand *::before, .mt-brand *::after { box-sizing: border-box; }
.mt-brand :focus-visible { outline: 2px solid var(--scribble); outline-offset: 4px; }
.mt-brand img { display: block; max-width: 100%; }
.mt-brand a { color: inherit; }

/* Optional pre-consolidation type pairing; apply to individual elements. */
.mt-type--newsreader { font-family: var(--font-option-newsreader); font-optical-sizing: auto; }
.mt-type--archivo-black { font-family: var(--font-option-archivo-black); font-weight: 400; }

/* Pairings: apply one surface class to a container. */
.mt-surface--aura { color: var(--white); background: var(--bg-aura), var(--ink-900); }
.mt-surface--aura-deep { color: var(--white); background: var(--bg-aura-deep), var(--ink-900); }
.mt-surface--lift { color: var(--white); background: var(--bg-lift), var(--ink-900); }
.mt-surface--paper { color: var(--ink-900); background: var(--paper-100); }
.mt-surface--reel { color: var(--white); background: url('../design-system/assets/vertical-matte-box-01.png') center / cover no-repeat, var(--ink-950); }
.mt-surface--reel .mt-condensed-display { color: var(--paper-100); }
.mt-surface--paper .mt-client-mark { color: var(--print-cyan); }
.mt-surface--paper .mt-label-paren { color: var(--ink-700); }

/* Type roles use web sizes from the source's slide / web / print scale. */
.mt-display-xl, .mt-display-outline, .mt-headline, .mt-headline-sentence,
.mt-title-light, .mt-condensed-display, .mt-metric-hero, .mt-button {
  margin: 0;
  font-family: var(--font-display);
}
.mt-display-xl { font-size: clamp(3rem, 6.667vw, 6rem); font-weight: 900; font-stretch: 125%; line-height: .92; text-transform: uppercase; }
.mt-display-outline { font-size: clamp(3.5rem, 8.056vw, 7.25rem); font-weight: 500; font-stretch: 125%; line-height: .95; text-transform: uppercase; color: transparent; -webkit-text-stroke: var(--outline-stroke) var(--white); }
.mt-headline { font-size: clamp(2rem, 3.333vw, 3rem); font-weight: 900; font-stretch: 125%; line-height: 1; text-transform: uppercase; }
.mt-headline-sentence { font-size: clamp(2.5rem, 4.444vw, 4rem); font-weight: 900; font-stretch: 125%; line-height: 1.1; }
.mt-title-light { font-size: clamp(1.5rem, 2.222vw, 2rem); font-weight: 300; font-stretch: 112%; line-height: 1.2; }
.mt-condensed-display { font-family: var(--font-condensed); font-size: clamp(3rem, 5.833vw, 5.25rem); font-weight: 800; font-stretch: 62%; line-height: .9; text-transform: uppercase; }
.mt-section-label { margin: 0; color: var(--volt); font: 600 22px/1.25 var(--font-accent); letter-spacing: .1em; }
.mt-client-mark { color: var(--signal-cyan); font-family: var(--font-display); font-size: 13px; font-weight: 800; font-stretch: 125%; line-height: 1.3; text-transform: uppercase; }
.mt-body-lg { font: 400 20px/1.8 var(--font-body); letter-spacing: .03em; }
.mt-body { font: 400 17px/1.6 var(--font-body); letter-spacing: .02em; }
.mt-body-sm { font: 400 14px/1.6 var(--font-body); }
.mt-rail { color: var(--mute-400); font: 500 11px/1.3 var(--font-body); letter-spacing: .42em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.mt-label { font: 600 13px/1.3 var(--font-body); letter-spacing: .32em; text-transform: uppercase; white-space: nowrap; }
.mt-label-paren { color: var(--mute-400); font-weight: 600; }
.mt-metric-tag { color: var(--lilac); font: 700 12px/1.3 var(--font-body); letter-spacing: .2em; }
.mt-metric-value { font: 600 15px/1.3 var(--font-body); }
.mt-metric-hero { font-size: clamp(3rem, 4.444vw, 4rem); font-weight: 900; font-stretch: 125%; line-height: 1; }
.mt-descriptor { font: 500 16px/1.4 var(--font-body); letter-spacing: .6em; text-transform: uppercase; }
.mt-mono-caption { color: var(--mute-400); font: 400 12px/1.4 var(--font-mono); }

/* Web grid and reusable layout. */
.mt-container { width: min(100% - 2 * var(--web-margin), 1280px); margin-inline: auto; }
.mt-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--web-gutter); }
.mt-section { padding-block: var(--section-pad-y); }
.mt-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; }

/* Buttons: use .mt-button with one variant. */
.mt-button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 44px; padding: 18px 28px; border: 1.5px solid transparent;
  border-radius: var(--radius); cursor: pointer; text-align: center; text-decoration: none;
  font-size: 14px; font-weight: 800; font-stretch: 125%; line-height: 1.2;
  letter-spacing: .04em; text-transform: uppercase; transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}
.mt-button--primary { color: var(--ink-900); background: var(--white); }
.mt-button--primary:hover:not(:disabled):not([aria-disabled="true"]) { background: var(--signal-cyan); }
.mt-button--secondary { color: var(--white); background: transparent; border-color: var(--white); padding: 17px 27px; }
.mt-button--secondary:hover:not(:disabled):not([aria-disabled="true"]) { color: var(--ink-900); background: var(--white); }
.mt-button--ghost { color: var(--white); background: transparent; padding-inline: 0; }
.mt-button--ghost:hover:not(:disabled):not([aria-disabled="true"]) { color: var(--scribble); }
.mt-button--ghost .mt-icon--scribble { color: var(--scribble); }
.mt-button:disabled, .mt-button[aria-disabled="true"], .mt-button--disabled { color: var(--mute-400); background: var(--ink-700); border-color: var(--ink-700); cursor: not-allowed; opacity: 1; }

/* Inputs: apply .mt-field to a label/control group. */
.mt-field { display: grid; gap: var(--space-2); }
.mt-field__label { color: var(--mute-400); font: 600 13px/1.3 var(--font-body); letter-spacing: .32em; text-transform: uppercase; }
.mt-input { width: 100%; min-height: 44px; padding: 12px 0; color: var(--white); background: transparent; border: 0; border-bottom: 1.5px solid var(--ink-600); border-radius: 0; font: 400 17px/1.6 var(--font-body); }
.mt-input::placeholder { color: var(--mute-400); opacity: 1; }
.mt-input:focus { outline: none; border-bottom-color: var(--signal-cyan); }
.mt-input:focus-visible { outline: 2px solid var(--signal-cyan); outline-offset: 3px; }
.mt-field--error .mt-field__label, .mt-field--error .mt-field__message { color: var(--reel-orange); }
.mt-field--error .mt-input, .mt-input[aria-invalid="true"] { border-bottom-color: var(--reel-orange); }
.mt-surface--paper .mt-input { color: var(--ink-900); }

.mt-tag { display: inline-flex; align-items: center; padding: 6px 12px; border: var(--rule); font: 600 12px/1.3 var(--font-body); letter-spacing: .32em; text-transform: uppercase; }
.mt-metric { display: inline-flex; align-items: baseline; gap: 14px; }
.mt-card-work { display: flex; flex-direction: column; gap: 18px; min-width: 0; color: inherit; text-decoration: none; transition: opacity .2s ease; }
.mt-card-work:hover { opacity: .85; }
.mt-card-work__image { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.mt-card-work__title { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 900; font-stretch: 125%; line-height: 1.05; text-transform: uppercase; }
.mt-card-quote { display: grid; gap: var(--space-4); padding: var(--space-5); background: var(--ink-800); color: var(--white); }
.mt-card-quote__quote { margin: 0; font: 900 26px/1.1 var(--font-display); font-stretch: 125%; }
.mt-contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 56px; font: 600 13px/1.3 var(--font-body); letter-spacing: .32em; text-transform: uppercase; }
.mt-contact-row > * { white-space: nowrap; }
.mt-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: var(--nav-height); }
.mt-nav__logo { display: block; width: auto; min-width: 24px; height: 32px; object-fit: contain; }
.mt-nav__links { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-4); }
.mt-nav__links > a:not(.mt-button) { display: inline-flex; align-items: center; min-height: 44px; font: 600 13px/1.3 var(--font-body); letter-spacing: .32em; text-decoration: none; text-transform: uppercase; }
.mt-nav__links > a:not(.mt-button):hover { color: var(--scribble); }
.mt-placeholder { display: grid; place-items: center; min-height: 160px; padding: var(--space-4); color: var(--mute-400); background: var(--bg-placeholder); font: 400 12px/1.4 var(--font-mono); text-align: center; }
.mt-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: var(--icon-stroke); stroke-linecap: square; stroke-linejoin: miter; }
.mt-icon--scribble { color: var(--scribble); }

@media (max-width: 767px) {
  :root { --web-margin: 24px; --web-gutter: 16px; --section-pad-y: 64px; }
  .mt-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mt-nav { align-items: flex-start; padding-block: 20px; }
  .mt-nav__links { justify-content: flex-end; gap: 12px 20px; }
  .mt-contact-row { gap: 12px 24px; }
  .mt-contact-row > * { white-space: normal; overflow-wrap: anywhere; }
  .mt-label { white-space: normal; }
  .mt-rail { writing-mode: horizontal-tb; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mt-brand *, .mt-brand *::before, .mt-brand *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Shared tokens and reset — preserved from tokens.css. */
:root {
  --basalt: #0A0A0B; --stone-900: #111113; --stone-800: #1A1A1D; --stone-700: #2A2A2E; --stone-600: #3A3A3F; --stone-400: #8E8E94;
  --case-content-max: 1240px; --case-gutter: clamp(16px, 4vw, 80px);
  --bone: #ECE7DD; --bone-400: #B9B4AA; --ink: #16140F; --legacy-ink-600: #5A554B;
  --filament: #F0B25A; --filament-ink: #7A5410; --filament-stroke: #C4761C; --ion: #9A7BFF;
  --serif: 'Newsreader', Georgia, serif; --sans: 'Hanken Grotesk', system-ui, sans-serif; --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --display-sans: 'Archivo Black', 'Hanken Grotesk', system-ui, sans-serif; /* brand voice: bold condensed uppercase, from mariotrujillo.com */
  --intro-font: 'Unbounded', 'Archivo Black', system-ui, sans-serif;
  --fs-intro: clamp(22px, calc(17.08px + .625vw), 30px);
  --intro-measure: 53.35vw;
  --fs-display-xl: clamp(64px, 11.2vw + 20px, 172px);
  --fs-display: clamp(50px, 4.4vw + 33px, 96px);
  --fs-headline: clamp(40px, 3.05vw + 28px, 72px);
  --fs-lede: clamp(29px, 1.62vw + 23px, 46px);
  --fs-pull: clamp(64px, 8vw + 33px, 148px);
  --fs-title: clamp(22px, 1.15vw + 17.5px, 34px);
  --fs-numeral: clamp(64px, 3.8vw + 49px, 104px);
  --fs-body: clamp(17px, .1vw + 16.6px, 18px);
  --fs-caption: 14px; --fs-meta: clamp(11px, .1vw + 10.6px, 12px); --fs-label: clamp(10px, .1vw + 9.6px, 11px);
  --s1:4px;--s2:8px;--s3:12px;--s4:16px;--s5:24px;--s6:32px;--s7:48px;--s8:64px;--s9:96px;--s10:128px;--s11:192px;--s12:256px;
  --margin: clamp(16px, 6.1vw - 8px, 80px);
  --gutter: clamp(12px, 1.15vw + 7.5px, 24px);
  --seam: 16px;
  --content-gap: 20px;
  --scene-gap: clamp(128px, 12.2vw + 80px, 256px);
  --max: 1520px;
  --r-glass: 2px; --r-device: 36px; --r-pill: 999px;
  --elev-pane: 0 40px 80px -24px rgba(0,0,0,.7);
  --elev-plate: 0 60px 120px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.04);
  --glass-fill: rgba(10,10,11,.42); --glass-edge: rgba(236,231,221,.12); --glass-blur: 28px;
  --glow-node: 0 0 0 6px rgba(240,178,90,.14), 0 0 24px 4px rgba(240,178,90,.45);
  --settle: cubic-bezier(.16,1,.3,1); --traverse: cubic-bezier(.65,0,.35,1);
  --d-instant:120ms; --d-hover:240ms; --d-reveal:480ms; --d-scene:800ms; --d-page:1200ms; --stagger:60ms;
}
@media (min-width: 900px) and (max-width: 1439px) { :root { --seam: calc(var(--margin) + 22vw); --content-gap: 60px; } }
@media (min-width: 1440px) { :root { --margin: calc(max(0px, (100vw - var(--max)) / 2) + 80px); --seam: calc(var(--margin) + 314px); --content-gap: 60px; } }


/* Shared layout and case behavior — preserved from main.css. */
*,*::before,*::after{box-sizing:border-box}
html{color-scheme:dark}
body{margin:0;background:var(--basalt);color:var(--bone);font-family:var(--sans);font-size:var(--fs-body);line-height:1.62;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.skip{position:absolute;left:-9999px;top:0;background:var(--filament);color:var(--ink);padding:12px 16px;z-index:999}
.skip:focus{left:16px;top:16px}
.lbl{font-family:var(--mono);font-size:var(--fs-label);line-height:1.2;letter-spacing:.14em;text-transform:uppercase;font-weight:500}
.scene__index .lbl{margin:0;padding-top:0;font-size:calc(var(--fs-label) * 2)}
.meta{font-family:var(--mono);font-size:var(--fs-meta);line-height:1.55;letter-spacing:.02em;color:var(--stone-400)}
.filament{color:var(--filament)}
.muted{color:var(--stone-400)}
.acc{color:var(--filament)}
.ink-muted{color:var(--legacy-ink-600)}
.ph{color:var(--stone-400);font-style:italic}
.plate--paper .ph{color:var(--legacy-ink-600)}

/* header */
/* The existing dwell return gets contrast without changing header geometry. */
.site-header{isolation:isolate}
.site-header::before{content:"";position:absolute;inset:0 0 -48px;z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(10,10,11,.96) 0%,rgba(10,10,11,.88) 48%,rgba(10,10,11,0) 100%);opacity:0;transition:opacity var(--d-hover) var(--settle)}
.site-header.has-background::before{opacity:1}
@media(prefers-reduced-motion:reduce){.site-header::before{transition:none}}

.site-header{position:fixed;left:0;right:0;top:0;z-index:40;display:flex;justify-content:space-between;align-items:center;padding:20px var(--margin)}
body[data-page="home"] .home-about-cta{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-left:auto;margin-right:58px;padding:10px 14px;border:1px solid var(--stone-700);border-radius:999px;background:rgba(10,10,11,.65);color:var(--bone);letter-spacing:.06em;text-decoration:none;white-space:nowrap;transition:color var(--d-hover) var(--settle),border-color var(--d-hover) var(--settle)}
body[data-page="home"] .home-about-cta:is(:hover,:focus-visible){color:var(--filament);border-color:currentColor}
body[data-page="home"] .home-about-cta:focus-visible{outline:2px solid var(--filament);outline-offset:4px}
@media(max-width:899px){
  body[data-page="home"]>.site-header{
    padding-right:max(var(--margin),env(safe-area-inset-right));
  }
  body[data-page="home"]>.site-header>.home-about-cta{margin-right:0}
}
@media(max-width:699px){body[data-page="home"] .home-about-cta{padding-inline:10px;font-size:10px}}
@media(prefers-reduced-motion:reduce){body[data-page="home"] .home-about-cta{transition:none}}
.wordmark{font-family:var(--serif);font-size:20px;letter-spacing:-0.01em}
.wordmark--signature{display:block;width:94px;height:60px;transition:transform .35s ease,opacity .35s ease}.wordmark--signature img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:difference}.wordmark--signature.is-out{transform:translateY(calc(-100% - 32px));opacity:0;pointer-events:none}.wordmark--signature.is-out:focus-visible{transform:none;opacity:1;pointer-events:auto}@media(prefers-reduced-motion:reduce){.wordmark--signature{transition:none}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.glass-nav{display:none;gap:8px;align-items:center;padding:6px;border-radius:var(--r-pill);background:rgba(236,231,221,.06);border:1px solid var(--glass-edge);backdrop-filter:blur(24px) saturate(140%);-webkit-backdrop-filter:blur(24px) saturate(140%)}
@media (min-width:900px){.glass-nav{display:flex;position:absolute;left:50%;transform:translateX(-50%)}}
.glass-nav__item{padding:12px 16px;border-radius:var(--r-pill);color:var(--stone-400);border:0;background:none;font:inherit;cursor:pointer;transition:color var(--d-hover) var(--settle),background var(--d-hover) var(--settle)}
.glass-nav__item.is-active{background:rgba(236,231,221,.08);color:var(--bone)}
.glass-nav__item:hover{color:var(--filament)}
.glass-nav__item:focus-visible,.index-btn:focus-visible,a:focus-visible,button:focus-visible{outline:1px solid var(--filament);outline-offset:3px}
.counter{display:none;gap:12px;align-items:center;color:var(--stone-400)}
@media (min-width:900px){.counter{display:flex}}
.counter__now{color:var(--filament)}
.counter__bar{width:32px;height:1px;background:var(--stone-600)}
.index-btn{display:flex;gap:10px;align-items:center;height:44px;padding:0 16px;border-radius:var(--r-pill);color:var(--bone);background:rgba(236,231,221,.07);border:1px solid var(--glass-edge);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);cursor:pointer}
@media (min-width:900px){.index-btn{display:none}}

main{position:relative}

/* seam */
.seam{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:1}
.seam path{fill:none}
.seam__base{stroke:var(--stone-600);stroke-width:1}
.seam__drawn{stroke:var(--filament);stroke-width:1;filter:drop-shadow(0 0 3px rgba(240,178,90,.5))}
.node{position:absolute;left:calc(var(--seam) - 5px);width:11px;height:11px;border-radius:999px;background:var(--basalt);border:1px solid var(--stone-600);z-index:2;transition:border-color var(--d-scene) var(--settle),box-shadow var(--d-scene) var(--settle)}
.node.is-passed{border-color:var(--filament);background:var(--filament);box-shadow:var(--glow-node)}
.node.is-current{background:var(--filament);border-color:var(--filament);box-shadow:var(--glow-node);animation:breathe 3.2s var(--traverse) infinite}
@keyframes breathe{0%,100%{opacity:.7}50%{opacity:1}}
@media (prefers-reduced-motion:reduce){.node.is-current{animation:none}}

.reveal{opacity:0;transform:translateY(10px);transition:opacity 320ms var(--settle),transform 320ms var(--settle)}
.reveal.in{opacity:1;transform:none}
.js .reveal{opacity:0}
.no-js .reveal,.reveal.in{opacity:1;transform:none}
.js .reveal:focus-within{opacity:1;transform:none}

/* hero */
.hero{position:relative;min-height:100vh;padding:0}
.hero__media{position:absolute;inset:0;overflow:hidden}
.hero__intro{position:absolute;inset:0;width:100%;height:100%;display:block;border:0;background:#141517;pointer-events:none}
.hero__fallback{position:absolute;left:50%;top:-6%;width:120%;max-width:none;height:110%;object-fit:cover;transform:translateX(-50%);opacity:0;pointer-events:none}
.hero__media:has(.hero__intro) .hero__fallback{display:none}
.hero__scrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,10,11,.55) 0%,rgba(10,10,11,0) 28%,rgba(10,10,11,.25) 55%,var(--basalt) 96%)}
.grain{position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.7) .4px,transparent .7px);background-size:4px 4px;mix-blend-mode:overlay;opacity:.12;pointer-events:none}
.grain--paper{background-image:radial-gradient(rgba(0,0,0,.7) .4px,transparent .7px);mix-blend-mode:multiply;opacity:.1}
.seam-origin{display:block;height:1px}
.hero__title{position:relative;padding:min(58vh,470px) var(--margin) 0;max-width:1100px}
.rule-label{display:flex;gap:16px;align-items:center;margin:0 0 28px}
.rule-label .rule{width:48px;height:1px;background:var(--filament)}
.display-xl{margin:0;font-family:var(--display-sans);font-weight:900;font-size:calc(var(--fs-display-xl) * .78);line-height:.92;letter-spacing:-0.01em;text-transform:uppercase}
.display-xl em{font-style:normal;color:var(--filament)}
.pull-quote em{font-style:italic;font-weight:250}
.line{display:block;overflow:hidden}
.line>span{display:block;transform:translateY(100%);transition:transform var(--d-scene) var(--settle)}
.js .line>span{transform:translateY(100%)}
.in .line>span,.hero.is-ready .line>span,.no-js .line>span{transform:none}
.js .scene .line>span,.js .quote .line>span{transform:translateY(12px);transition-duration:340ms}
.js .scene.in .line>span,.js .quote.in .line>span{transform:none}
.line--seam>span{padding-left:0}
@media (max-width:640px){.line--seam>span{padding-left:0}}
.wall-label{position:absolute;right:var(--margin);top:160px;width:280px;max-width:calc(100vw - 2 * var(--margin));padding:20px 22px;background:var(--glass-fill);border:1px solid var(--glass-edge);backdrop-filter:blur(var(--glass-blur)) saturate(130%);-webkit-backdrop-filter:blur(var(--glass-blur)) saturate(130%);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),var(--elev-pane);display:none}
.wall-label dl{display:grid;grid-template-columns:76px 1fr;row-gap:10px;column-gap:12px;font-family:var(--mono);font-size:var(--fs-meta);margin:12px 0 0}
.wall-label dt{color:var(--stone-400)}
.wall-label dd{margin:0}
.scroll-cue{position:absolute;right:var(--margin);bottom:48px;display:flex;gap:12px;align-items:center}
.scroll-cue span{display:inline-block;width:1px;height:28px;background:var(--filament)}
.case-thesis{position:absolute;left:var(--margin);bottom:46px;max-width:520px;padding-left:20px;border-left:1px solid var(--filament);z-index:2}
.case-thesis p{margin:0}
.case-thesis p:last-child{margin-top:8px;color:var(--bone-400);font-family:var(--serif);font-size:clamp(18px,1.35vw,24px);line-height:1.35}
@media(min-width:900px){.case-thesis{display:none}}
@media(max-width:899px){.case-thesis{left:36px;right:36px;bottom:88px}.scroll-cue{display:none}}
@media(min-width:900px){
  .hero{min-height:max(100svh,900px)}
  .hero__title{width:min(1100px,calc(100vw - (2 * var(--margin))));max-width:none;margin-left:var(--margin);padding:clamp(460px,48vh,520px) 0 220px}
  .display-xl{font-size:clamp(62px,5.5vw,88px)}
}

/* scene layout */
.scene{position:relative;padding:0 var(--margin);margin-top:var(--scene-gap)}
.scene__index{display:flex;flex-direction:column;gap:5px;margin-bottom:20px;padding-top:0;position:relative}
.scene__index--sub{margin-top:var(--s9)}
.scene__index .node{position:absolute;left:calc(var(--seam) - var(--margin) - 5px);top:2px}
@media (max-width:899px){.scene__index{padding-left:20px}}
@media (min-width:900px){
  .scene{display:block;padding-left:calc(var(--seam) + 60px);padding-right:var(--margin)}
  .scene__index{position:absolute;left:var(--margin);width:calc(var(--seam) - var(--margin) - 24px);top:0}
  .scene__index .node{position:absolute;left:calc(var(--seam) - var(--margin) - 5px);top:2px}
}
.scene__body{width:100%;max-width:900px}
.scene__body--wide{max-width:1000px}
.lede{font-family:var(--serif);font-weight:340;font-size:var(--fs-lede);line-height:1.16;letter-spacing:-0.018em;max-width:22ch;margin:0 0 32px}
.headline,.display{font-family:var(--display-sans);font-weight:900;letter-spacing:-0.01em;margin:0 0 40px;text-transform:uppercase}
.headline{font-size:calc(var(--fs-headline) * .82);line-height:.98}
@media (min-width:900px){.scene__body--wide .headline{font-size:clamp(42px,3.5vw,54px)}}
.display{font-size:calc(var(--fs-display) * .78);line-height:.96;letter-spacing:-0.008em}
.headline em,.display em{font-style:normal;color:var(--filament)}
.two-col{display:grid;grid-template-columns:1fr;gap:24px;max-width:820px}
@media (min-width:700px){.two-col{grid-template-columns:1fr 1fr;gap:48px}}
.two-col p{margin:0;color:var(--bone-400)}
.prompt{display:flex;flex-direction:column;gap:8px;padding-left:16px;border-left:1px solid var(--stone-600);color:var(--stone-400)!important;font-style:italic}
.plate--paper .prompt{border-color:rgba(22,20,15,.25);color:var(--legacy-ink-600)!important}

/* plates */
.plate{position:relative;margin:0}
.plate--paper{background:var(--bone);color:var(--ink);box-shadow:var(--elev-plate)}
.plate--stone{background:var(--stone-900);border:0}
.sysmap{margin:0;padding:32px}
.plate__head{display:flex;justify-content:space-between;gap:16px;margin-bottom:24px;flex-wrap:wrap}
.sysmap__h{display:none;width:100%;height:auto;color:var(--ink)}
.sysmap__v{display:block;width:100%;max-width:354px;height:auto;color:var(--ink);margin:0 auto}
@media (min-width:900px){.sysmap__h{display:block}.sysmap__v{display:none}}
.sysmap text{font-family:var(--mono);font-size:15px;fill:var(--ink)}
.sysmap .t-lbl{font-size:11px;letter-spacing:.08em;fill:var(--legacy-ink-600)}
.sysmap .t-name{font-family:var(--serif);font-size:26px;fill:var(--ink)}
.sysmap .t-acc{fill:var(--filament-ink)}
.sysmap .t-left{text-anchor:start}
.sysmap line[stroke]{stroke:var(--ink);stroke-opacity:.18}
.sysmap .ring{fill:var(--bone);stroke:var(--ink)}
.sysmap .halo{fill:none;stroke:var(--ink);stroke-opacity:.25;stroke-dasharray:2 4}
.sysmap circle[r="4"],.sysmap circle[r="3"]{fill:var(--ink)}
.sysmap .edge line{stroke:var(--filament-stroke)}
.sysmap .edge text{fill:var(--filament-ink);font-size:11px}
.sysmap .bracket{stroke:var(--filament-stroke);stroke-width:1.5}
.sysmap .bracket-dot{fill:var(--filament-stroke)}
.draw{stroke-dasharray:1;stroke-dashoffset:1;pathLength:1;transition:stroke-dashoffset 1.1s var(--traverse)}
.in .draw{stroke-dashoffset:0}
.tensions{display:grid;grid-template-columns:1fr;gap:24px;margin-top:32px;padding-top:24px;border-top:1px solid rgba(22,20,15,.18)}
@media (min-width:700px){.tensions{grid-template-columns:repeat(3,1fr)}}
.tensions p{margin:8px 0 0;font-size:17px;line-height:1.5}

/* decisions */
.decisions{list-style:none;margin:0;padding:0 var(--margin);display:flex;flex-direction:column;gap:56px}
@media (min-width:900px){.decisions{grid-column:1 / -1;padding:0}}
.decision{position:relative;display:grid;grid-template-columns:56px 1fr;gap:16px;align-items:start}
@media (min-width:900px){.decision{grid-template-columns:120px 1fr 300px;align-items:center}}
.decision--flip{grid-template-columns:56px 1fr}
@media (min-width:900px){.decision--flip{grid-template-columns:300px 1fr}}
@media (min-width:900px) and (max-width:1199px){
  .decision{grid-template-columns:72px minmax(0,1fr) 220px}
  .decision--flip{grid-template-columns:220px minmax(0,1fr)}
}
.decision__num{font-family:var(--serif);font-style:italic;font-weight:200;font-size:48px;line-height:1;color:var(--stone-600)}
@media (min-width:900px){.decision__num{font-size:80px}}
.decision.reveal .decision__num{color:var(--filament)}
.decision:nth-child(2) .decision__num{color:var(--filament)}
.decision__text{display:flex;flex-direction:column;gap:8px}
.decision__text--wide{max-width:560px}
.title{margin:0;font-family:var(--serif);font-weight:400;font-size:var(--fs-title);line-height:1.14;letter-spacing:-0.012em}
.decision__text p{margin:0;color:var(--bone-400)}
.decision__fig{width:100%;min-height:180px;display:flex;align-items:flex-end;padding:16px;cursor:pointer}
.decision__fig--image{min-height:240px;padding:0;overflow:hidden;display:grid;grid-template-rows:1fr auto}
.decision__fig--image img{width:100%;height:100%;min-height:200px;object-fit:cover;transition:transform var(--d-reveal) var(--settle)}
.decision__fig--image figcaption{padding:12px 16px}
.decision__fig--image:hover img{transform:scale(1.02)}
.decision--flip .decision__fig{order:-1}
@media(min-width:900px){.decision--flip .decision__fig{order:0}}

/* quote */
.quote{padding:96px var(--margin) 0;border-top:1px solid var(--stone-700);margin-top:var(--scene-gap)}
.pull-quote{margin:0;font-family:var(--serif);font-style:italic;font-weight:250;font-size:var(--fs-pull);line-height:.92;letter-spacing:-0.04em}
.quote figcaption{margin-top:32px;color:var(--stone-400)}

/* evidence */
.evidence__rail{display:flex;gap:24px;overflow-x:auto;padding:0 var(--margin) 8px;scroll-snap-type:x proximity}
@media (min-width:900px){.evidence__rail{grid-column:1 / -1;padding:0 0 8px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}}
.ev{flex:0 0 82vw;max-width:420px;min-height:420px;scroll-snap-align:start;padding:20px;display:flex;flex-direction:column;justify-content:space-between;gap:16px;cursor:pointer}
@media (min-width:900px){.ev{flex-basis:auto;max-width:none}}
.phones{display:flex;gap:12px;flex:1}
.phone{flex:1;border-radius:24px;border:1px solid var(--stone-700);background:var(--stone-800);display:flex;align-items:center;justify-content:center}
.phone--lit{border-color:rgba(240,178,90,.5)}
.ev--b{background:var(--bone);color:var(--ink)}
.ev__ph{flex:1;border:1px dashed rgba(22,20,15,.3);display:flex;align-items:center;justify-content:center;text-align:center;padding:16px}
.ev--c{overflow:hidden;position:relative}
.ev__image{width:100%;height:320px;object-fit:contain;background:rgba(255,255,255,.02)}
.ev--b .ev__image{object-fit:cover;filter:saturate(.65) contrast(1.04)}
.ev--c .ev__image{object-fit:cover}
.ev__cap{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.rail-meta{display:none;justify-content:space-between;align-items:center;padding:16px var(--margin) 0}
@media (min-width:900px){.rail-meta{grid-column:1 / -1;display:flex;padding:16px 0 0}}
.rail-dots{display:flex;gap:6px}
.rail-dots i{display:block;width:12px;height:1px;background:var(--stone-600)}
.rail-dots i.on{width:24px;background:var(--filament)}

/* metrics / mine */
.metrics{display:grid;grid-template-columns:1fr;gap:24px;margin:0;border-top:1px solid var(--stone-700);padding-top:28px}
@media (min-width:700px){.metrics{grid-template-columns:repeat(3,1fr)}}
.metrics dt{margin-bottom:8px}
.numeral{margin:0;font-family:var(--serif);font-weight:200;font-size:var(--fs-numeral);line-height:.9;letter-spacing:-0.04em;font-variant-numeric:tabular-nums}
.mine{font-family:var(--serif);font-size:28px;line-height:1.3;font-weight:350;color:#D8D2C6;max-width:780px;margin:0}

/* threshold */
.threshold{position:relative;--case-footer-left:var(--margin);margin-top:var(--scene-gap);padding-bottom:40px}
@media(min-width:900px){body[data-case="pax"] .threshold{--case-footer-left:57px}}
.threshold__link{position:relative;display:block;height:33vh;min-height:210px;overflow:hidden}
.threshold__link--pending{cursor:default}
.threshold__visual{position:absolute;inset:0;display:block;background:#111216 url(../design-system/assets/aura-deep.png) center/cover no-repeat;transition:transform var(--d-page) var(--traverse)}
.threshold__link:not(.threshold__link--pending):hover .threshold__visual{transform:scale(1.06)}
.threshold__scrim{position:absolute;inset:0;background:linear-gradient(180deg,var(--basalt) 0%,rgba(10,10,11,.2) 40%,rgba(10,10,11,.8) 100%)}
.threshold__text{position:absolute;left:var(--case-footer-left);bottom:32px;display:flex;flex-direction:column;gap:8px}
.threshold__eyebrow{position:relative}
.threshold__trail-target{position:absolute;left:-18px;top:50%;width:1px;height:1px}
@media(max-width:899px){.threshold__trail-target{left:-8px}}
.threshold__name{font-family:var(--serif);font-weight:300;font-size:clamp(28px,3.5vw,60px);line-height:.9;letter-spacing:-0.035em}
.threshold__name em{display:inline-block;font-style:italic;font-weight:250;color:var(--stone-400);transition:color var(--d-hover) var(--settle)}
.threshold__link:not(.threshold__link--pending):is(:hover,:focus-visible) .threshold__name em{color:var(--filament);animation:threshold-arrow-pulse .9s ease-in-out infinite}
@keyframes threshold-arrow-pulse{0%,100%{transform:translateX(0) scale(1)}50%{transform:translateX(7px) scale(1.14)}}
.colophon{padding:24px var(--margin) 0;text-align:right}
.threshold .colophon{padding-left:var(--case-footer-left);text-align:left}
@media(prefers-reduced-motion:reduce){.threshold__link:not(.threshold__link--pending):is(:hover,:focus-visible) .threshold__name em{animation:none}}

/* index sheet + lightbox */
dialog{border:0;padding:0;background:transparent;color:inherit;max-width:none;width:100%;height:100%;margin:0;position:fixed;inset:0}
dialog:not([open]){display:none}
dialog::backdrop{background:rgba(10,10,11,.7);backdrop-filter:blur(6px)}
.index-sheet__inner,.lightbox__stage{background:var(--stone-900);width:min(560px,100%);height:100%;margin-left:auto;padding:32px var(--margin);overflow-y:auto}
.lightbox{display:flex;align-items:center;justify-content:center}
.lightbox__stage{background:transparent;margin:0;width:min(90vw,1000px);height:auto;max-height:85vh;display:flex;align-items:center;justify-content:center}
.index-sheet__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}
.close{background:none;border:1px solid var(--stone-700);color:var(--bone);padding:10px 14px;border-radius:999px;cursor:pointer;display:flex;gap:8px;align-items:center}
.lightbox .close{position:absolute;top:24px;right:24px}
.index-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.index-list li{border-top:1px solid var(--stone-700)}
.index-list li:last-child{border-bottom:1px solid var(--stone-700)}
.index-list button{width:100%;text-align:left;background:none;border:0;color:inherit;padding:20px 0;display:flex;gap:16px;align-items:baseline;cursor:pointer;font:inherit}
.index-list button:hover .idx-name{color:var(--filament)}
.idx-num{font-family:var(--mono);font-size:12px;color:var(--stone-400);width:28px}
.idx-name{font-family:var(--serif);font-size:22px}


@media (prefers-reduced-motion:reduce){
  .line>span,.reveal,.decision__num,.decision__fig--image img,.threshold__visual,.threshold__name em{transition:none!important;animation:none!important}
  .js .line>span{transform:none}
  .js .reveal{opacity:1;transform:none}
}

/* C13 Belief — bold uppercase fragments in Mario's own voice (brand fusion) */
.beliefs{display:flex;flex-wrap:wrap;gap:12px 32px;padding:32px var(--margin);border-top:1px solid var(--stone-700);border-bottom:1px solid var(--stone-700);margin-top:var(--s9)}
@media (min-width:900px){.beliefs{padding-left:calc(var(--seam) + 60px)}}
.belief{font-family:var(--display-sans);font-size:15px;line-height:1.3;letter-spacing:-0.005em;text-transform:uppercase;color:var(--stone-400)}
.belief:nth-child(3n+1){color:var(--filament)}

/* contour texture — from mariotrujillo.com case backgrounds */
.contour{position:absolute;inset:0;opacity:.5;pointer-events:none;mix-blend-mode:screen;
  background-image:repeating-radial-gradient(circle at 30% 20%, transparent 0, transparent 18px, rgba(240,178,90,.10) 19px, rgba(240,178,90,.10) 20px);
  background-size:100% 100%}

/* hero transition section */
.hero-transition{position:relative;isolation:isolate;overflow:hidden;background:#000}
.hero-transition::before{content:"";position:absolute;z-index:-1;inset:0 0 0 52%;background:url('../assets/diver.webp') center/cover no-repeat}
.hero-transition__media{position:absolute;z-index:0;inset:0 0 0 52%}
.hero-transition__content{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;max-width:none;min-height:clamp(620px,56vw,792px);margin:0;padding:64px var(--margin)}
.hero-transition__content{pointer-events:none}
.hero-transition__facts{position:relative;width:min(47vw,560px);padding:31px 23px 21px;border:1px solid var(--glass-edge);background:rgba(5,7,10,.56);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 40px 80px -24px rgba(0,0,0,.7)}
.hero-transition__facts{pointer-events:auto}
.hero-transition__facts dl{display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px 12px;margin:0;font-family:var(--mono);font-size:12px;line-height:19.44px}.hero-transition__facts dt{color:var(--stone-400)}.hero-transition__facts dd{margin:0;color:var(--bone)}
@media(max-width:1439px) and (min-width:900px){.hero-transition__content{margin-left:0;margin-right:0}}
@media(max-width:899px){.hero-transition{display:none}}
body[data-case="gopro"] :is(#s01,#s04,#s05,#s06) .scene__body{max-width:none}
body[data-case="gopro"] :is(#s01,#s04,#s06) .lede{max-width:none}
body[data-case="gopro"] #s01 .two-col{max-width:none}

/* Case 02 — GoPro. Shared Seam components, case-scoped capture character. */
body[data-case="gopro"]{
  --seam:32px;
  --basalt:#05070A;--stone-900:#0B0E12;--stone-800:#11161C;--stone-700:#27313A;
  --stone-600:#384653;--stone-400:#92A0AC;--bone:#F2F6F8;--bone-400:#B9C5CD;
  --filament:#25B8F2;--filament-ink:#075D88;--filament-stroke:#1599D0;
  --glass-fill:rgba(5,7,10,.56);--glass-edge:rgba(117,207,244,.18);
  --glow-node:0 0 0 6px rgba(37,184,242,.14),0 0 24px 4px rgba(37,184,242,.48)
}
body[data-case="gopro"] .seam{--gopro-phone-top:clamp(122px,16vw,245px);mask-image:linear-gradient(to bottom,transparent 0,transparent calc(var(--gopro-phone-top) - 140px),#000 var(--gopro-phone-top));-webkit-mask-image:linear-gradient(to bottom,transparent 0,transparent calc(var(--gopro-phone-top) - 140px),#000 var(--gopro-phone-top))}
body[data-case="gopro"] .seam__drawn{filter:drop-shadow(0 0 4px rgba(37,184,242,.6))}
.gopro-hero{position:relative;display:grid;grid-template-columns:repeat(24,minmax(0,1fr));grid-template-rows:clamp(88px,12svh,154px) minmax(0,1fr) clamp(32px,7svh,88px);grid-template-areas:"brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand" "copy copy copy copy copy copy copy copy copy copy copy copy copy copy copy copy media media media media media media media media" "safe safe safe safe safe safe safe safe safe safe safe safe safe safe safe safe media media media media media media media media";column-gap:var(--gutter);height:100svh;min-height:0;overflow:hidden;background:#000}
.gopro-hero__media{overflow:visible}
.gopro-hero__media img.gopro-hero__topography{position:absolute;inset:-3% 0;width:100%;height:106%;max-width:none;object-fit:cover;opacity:.95;filter:contrast(1.04) brightness(.94);transform:none;z-index:0}
.gopro-hero__media::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.16);z-index:1;pointer-events:none}
.gopro-hero__composition{position:absolute;right:clamp(4%,7vw,11%);bottom:max(20px,env(safe-area-inset-bottom));width:clamp(430px,39vw,700px);height:calc(100svh - clamp(88px,12svh,154px));z-index:3;pointer-events:none}
.gopro-hero__device-pair{display:contents}
.gopro-hero__phone{position:absolute;right:18%;top:clamp(4px,2svh,28px);width:clamp(274px,26.4vw,499px);background:transparent}
.gopro-hero__phone video{display:block;width:100%;height:auto;background:transparent}
.gopro-hero__media img.gopro-hero__camera{position:absolute;top:auto;left:0;right:auto;bottom:0;width:min(22.28125vw,428px);height:auto;max-width:none;object-fit:contain;transform:none;filter:drop-shadow(18px 20px 75px rgba(8,0,0,.65));z-index:2}
.gopro-grid{position:absolute;inset:0;opacity:.12;z-index:1;background-image:
  linear-gradient(110deg,transparent 0%,rgba(37,184,242,.08) 20%,rgba(37,184,242,.04) 40%,transparent 50%,rgba(37,184,242,.06) 70%,transparent 100%),
  linear-gradient(135deg,transparent 0%,rgba(37,184,242,.07) 15%,transparent 35%,rgba(37,184,242,.05) 60%,transparent 80%),
  linear-gradient(35deg,rgba(37,184,242,.04) 0%,transparent 25%,rgba(37,184,242,.06) 45%,transparent 70%,rgba(37,184,242,.03) 100%),
  linear-gradient(155deg,transparent 0%,rgba(37,184,242,.05) 30%,transparent 60%,rgba(37,184,242,.04) 80%,transparent 100%);
background-size:800px 600px,600px 500px,700px 550px,750px 700px;
background-position:0 0,100px 50px,50px 100px,150px 0;
mask-image:linear-gradient(90deg,transparent 0,#000 40%,#000 70%,transparent 100%)}
.gopro-logo{position:absolute;top:clamp(76px,11svh,142px);left:50%;width:clamp(100px,8.6vw,165px);height:auto;transform:translate(-50%,30px);z-index:10}
.gopro-hero__title{grid-area:copy;align-self:center;position:relative;max-width:1135px;padding:0 var(--margin);z-index:4}
.gopro-hero__scope{margin:24px 0 0;color:var(--bone-400);line-height:1.5}
@media(min-width:900px){
  .gopro-hero__title .rule-label{font-size:calc(var(--fs-label) * 1.15)}
}
.gopro-hero .wall-label{display:block;z-index:5;top:auto;right:auto;bottom:18px;left:var(--margin);width:min(640px,54vw);padding:14px 18px}
.gopro-hero .wall-label{border:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.gopro-hero .wall-label dl{grid-template-columns:68px minmax(0,1fr);row-gap:6px;margin-top:8px;line-height:1.35}
.gopro-hero .seam-origin{position:absolute;left:var(--seam);top:calc(100svh - clamp(110px,15svh,190px));z-index:4}
@font-face{font-family:'GoPro Figure Figtree';src:url('../assets/gopro-multiplier-figtree.woff2') format('woff2');font-style:normal;font-weight:400 800;font-display:swap}
@font-face{font-family:'GoPro Figure Syne';src:url('../assets/gopro-multiplier-syne.woff2') format('woff2');font-style:normal;font-weight:800;font-display:swap}
body[data-case="gopro"] #s02{--figure-cyan:#00a1d7;--figure-lilac:#d0bcff;--gopro-stage-left:clamp(10px,1vw,16px);--gopro-stage-right:clamp(40px,4.5vw,68px);isolation:isolate;padding-top:clamp(72px,7vw,112px);padding-bottom:clamp(64px,7vw,112px);background-color:#111;background-image:url('../assets/gopro-multiplier-arrow.png'),radial-gradient(circle at 82% 58%,#1a1a1a 0 34%,transparent 34.2%);background-repeat:no-repeat;background-size:clamp(360px,37vw,600px) auto, min(112vw,1500px) min(112vw,1500px);background-position:right bottom,right center;color:#fff}
body[data-case="gopro"] #s02 .scene__body{position:relative;z-index:2;max-width:860px}
body[data-case="gopro"] #s02 .scene__body .headline{margin-bottom:20px}
body[data-case="gopro"] .scene .headline em{color:var(--bone)}
body[data-case="gopro"] .scene .headline::after{content:"";display:block;width:clamp(48px,5vw,72px);height:3px;margin-top:clamp(14px,1.5vw,20px);background:var(--filament)}
@media(max-width:699px){body[data-case="gopro"] .scene .headline::after{margin-left:44px}}
body[data-case="gopro"] #s02 .scene__body>p{max-width:64ch;margin:0;color:var(--bone-400);line-height:1.5}
.gopro-multiplier{position:relative;z-index:2;width:100%;margin:clamp(32px,3.5vw,48px) 0 0;color:#fff;font-family:'GoPro Figure Figtree',var(--font-body);cursor:default}
.gopro-multiplier__content{position:relative;z-index:1;width:min(100%,1350px);margin-inline:auto;padding:0 var(--gopro-stage-right) 0 var(--gopro-stage-left)}
.gopro-multiplier__label{color:var(--figure-lilac);font:800 clamp(12px,.9vw,14px)/1.3 'GoPro Figure Figtree',var(--font-body);letter-spacing:.14em;text-transform:uppercase}
.gopro-multiplier__factors{display:grid;grid-template-columns:minmax(0,1.06fr) 16px minmax(0,.86fr) 16px minmax(0,.86fr) 16px minmax(0,1.28fr);align-items:start;gap:clamp(8px,1vw,16px)}
.gopro-multiplier__factor{display:flex;flex-direction:column;min-width:0}
.gopro-multiplier__factor strong{display:block;margin:12px 0 8px;color:#fff;font:800 clamp(52px,5.75vw,92px)/.9 'GoPro Figure Syne',var(--font-display);letter-spacing:-.05em}
.gopro-multiplier__factor strong{font-family:'GoPro Figure Figtree',var(--font-body);font-variant-numeric:lining-nums tabular-nums}
.gopro-multiplier__factor strong sup,.gopro-multiplier__result>strong sup{position:relative;top:-.28em;font-size:.75em;line-height:0;vertical-align:baseline}
.gopro-multiplier__factor p{margin:12px 0 0;color:#e4e4e4;font:400 clamp(12px,1vw,14px)/1.45 'GoPro Figure Figtree',var(--font-body)}
.gopro-multiplier__operator{align-self:start;margin-top:50px;color:var(--figure-cyan);font:800 clamp(18px,1.4vw,23px)/1 'GoPro Figure Syne',var(--font-display);text-align:center}
.gopro-multiplier__surface-icons{display:flex;align-items:end;gap:4px;height:clamp(39px,4.2vw,67px)}
.gopro-multiplier__surface-icons span{display:block;flex:1;min-width:0;border-radius:3px;background:#ececec}
.gopro-multiplier__camera{height:36%;border:4px solid #fff;background:#111!important;position:relative}.gopro-multiplier__camera::after{content:"";position:absolute;width:28%;aspect-ratio:1;border-radius:50%;background:#fff;right:12%;top:18%}
.gopro-multiplier__surface-icons .gopro-multiplier__camera{flex:0 0 clamp(28px,2.5vw,35px);height:auto;aspect-ratio:66.9004/54.1289;border:0;background:url('../assets/gopro-camera-system-icon.svg') center/contain no-repeat!important}
.gopro-multiplier__camera::after{display:none}
.gopro-multiplier__watch{height:26%;flex:.7!important}.gopro-multiplier__phone{height:50%;flex:.8!important}.gopro-multiplier__tablet{height:72%;flex:1.25!important}.gopro-multiplier__desktop{height:66%;flex:1.4!important}.gopro-multiplier__web{height:63%;flex:1.4!important;background:#b8b8b8!important}
.gopro-multiplier__model-icons{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;width:min(100%,165px);height:clamp(37px,3vw,48px)}
.gopro-multiplier__model-icons span{position:relative;border:2px solid #7b7b7b;border-radius:2px;background:#2b2b2b}.gopro-multiplier__model-icons span::after{content:"";position:absolute;left:28%;top:26%;width:44%;height:40%;background:#888}
.gopro-multiplier__model-icons span:last-child{border-color:var(--figure-cyan);background:var(--figure-cyan)}
.gopro-multiplier__factor--epics ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px;margin:6px 0 0;padding:0;list-style:none}
.gopro-multiplier__factor--epics li{position:relative;padding-left:10px;color:#eee;font:400 clamp(12px,.9vw,13px)/1.35 'GoPro Figure Figtree',var(--font-body)}
.gopro-multiplier__factor--epics li::before{content:"";position:absolute;left:0;top:.6em;width:6px;height:2px;background:var(--figure-cyan)}
.gopro-multiplier__constraints{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:clamp(24px,2vw,32px);padding-top:clamp(14px,1.5vw,24px);border-top:1px solid #2a2a2a}
.gopro-multiplier__constraints .gopro-multiplier__label{white-space:nowrap;margin-right:4px}
.gopro-multiplier__constraints ul{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.gopro-multiplier__constraints li{padding:6px 11px;border:1px solid #3a3a3a;border-radius:999px;color:#ddd;font:400 clamp(12px,.9vw,13px)/1.25 'GoPro Figure Figtree',var(--font-body);white-space:nowrap}
.gopro-multiplier__result{display:flex;align-items:center;gap:clamp(14px,2vw,32px);margin-top:clamp(24px,2vw,32px)}
.gopro-multiplier__result>strong{flex:none;color:var(--figure-cyan);font:800 clamp(50px,5.5vw,88px)/.95 'GoPro Figure Syne',var(--font-display);letter-spacing:-.04em;white-space:nowrap}
.gopro-multiplier__result p{flex:1;min-width:0;margin:0 0 0 -12px;padding:10px 12px;color:#fff;background:linear-gradient(90deg,rgba(17,17,17,.98),rgba(17,17,17,.94) 75%,rgba(17,17,17,.88));font:500 clamp(16px,1.35vw,22px)/1.3 'GoPro Figure Figtree',var(--font-body)}
@media(min-width:900px){body[data-case="gopro"]{--gopro-content-offset:clamp(270px,26vw,374px)}body[data-case="gopro"] .scene{padding-left:calc(var(--margin) + var(--gopro-content-offset))}body[data-case="gopro"] .scene__index{left:32px;width:auto}body[data-case="gopro"] .scene__index .node{left:-5px}body[data-case="gopro"] #s02 .gopro-multiplier{width:calc(100% + var(--gopro-content-offset));margin-left:calc(-1 * var(--gopro-content-offset))}}
@media(min-width:900px){body[data-case="gopro"] #s02 .scene__body{width:calc(100% + var(--gopro-content-offset) - var(--gopro-stage-left) - var(--gopro-stage-right));max-width:none;margin-left:calc(var(--gopro-stage-left) - var(--gopro-content-offset))}}
@media(min-width:1100px){.gopro-multiplier__constraints ul{flex:1;justify-content:space-between}}
@media(min-width:700px) and (max-width:1099px){body[data-case="gopro"] #s02{--gopro-stage-left:clamp(24px,4vw,44px);--gopro-stage-right:clamp(24px,4vw,44px)}}
@media(min-width:700px) and (max-width:899px){body[data-case="gopro"] #s02 .scene__body{max-width:none;padding-inline:var(--gopro-stage-left) var(--gopro-stage-right)}}
body[data-case="gopro"] .scene__index .lbl{margin-left:25px}
body[data-case="gopro"]{--scene-gap:clamp(88px,8vw,136px)}
@media(max-width:1099px) and (min-width:700px){.gopro-multiplier__factors{grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:12px 18px}.gopro-multiplier__factors>:nth-child(1){grid-area:1/1}.gopro-multiplier__factors>:nth-child(2){grid-area:1/2}.gopro-multiplier__factors>:nth-child(3){grid-area:1/3}.gopro-multiplier__factors>:nth-child(4){grid-area:2/2}.gopro-multiplier__factors>:nth-child(5){grid-area:3/1}.gopro-multiplier__factors>:nth-child(6){grid-area:3/2}.gopro-multiplier__factors>:nth-child(7){grid-area:3/3}.gopro-multiplier__operator{align-self:center;margin:0}.gopro-multiplier__factor{min-height:210px}.gopro-multiplier__factor p{font-size:12px}.gopro-multiplier__factor--epics li{font-size:12px}}
@media(max-width:699px){body[data-case="gopro"] #s02{padding-top:64px;padding-bottom:72px;background-size:clamp(260px,76vw,420px) auto,190vw 190vw;background-position:right bottom,right 70%}body[data-case="gopro"] #s02 .scene__body .headline{font-size:clamp(30px,8.6vw,46px)}.gopro-multiplier{margin-top:40px}.gopro-multiplier__content{padding:0 4px}.gopro-multiplier__factors{display:flex;flex-direction:column;gap:0}.gopro-multiplier__factor{width:100%;padding:18px 0;border-top:1px solid #3a3a3a}.gopro-multiplier__factor strong{font-size:62px;margin:12px 0}.gopro-multiplier__factor p{max-width:38ch;font-size:13px}.gopro-multiplier__operator{align-self:center;margin:0;padding:2px 0 12px;font-size:26px}.gopro-multiplier__surface-icons{width:220px;height:58px}.gopro-multiplier__model-icons{width:170px;height:48px}.gopro-multiplier__factor--epics ul{max-width:430px;gap:7px 15px}.gopro-multiplier__factor--epics li{font-size:12px}.gopro-multiplier__constraints{align-items:flex-start;margin-top:20px}.gopro-multiplier__constraints ul{width:100%}.gopro-multiplier__constraints li{font-size:12px;white-space:normal}.gopro-multiplier__result{display:block;margin-top:30px;padding-bottom:90px}.gopro-multiplier__result>strong{font-size:clamp(55px,15vw,85px)}.gopro-multiplier__result p{font-size:17px;margin-top:12px}.gopro-multiplier__result small{font-size:13px}}
.gopro-decisions .scene__index{position:sticky;top:18px;z-index:5;left:auto;width:max-content;min-height:56px;margin:0 0 24px;padding:6px 22px 8px 0;background:#05070a}
body[data-case="gopro"] .gopro-decisions .scene__index{width:max-content}
.gopro-decisions .scene__index h2{font-weight:inherit}
.gopro-decisions .decisions{width:100%;margin-top:0;padding-inline:0}
.gopro-decisions .decision__num{position:sticky;top:96px;align-self:start;z-index:2}
.gopro-decisions .decision{border-top:1px solid var(--stone-700);padding-top:32px}
.gopro-decisions .decision__fig--image img{object-fit:contain;background:#05070A}
.gopro-decisions .decision:first-child>.decision__fig{border:0;background:transparent;cursor:default}
.gopro-decisions .decision:first-child>.decision__fig:hover img{transform:none}
.gopro-decisions .decision__fig--video{position:relative;isolation:isolate}
.gopro-presets-phone__video{position:absolute;left:26%;top:7%;width:34%;height:81%;object-fit:fill;transform:skewX(9deg);transform-origin:top left;clip-path:polygon(4% 0,95% 0,100% 100%,0 100%);border-radius:24px 24px 18px 18px;pointer-events:none;opacity:0;transition:opacity .28s ease}
.gopro-presets-phone__video.is-playing{opacity:1}
@media(prefers-reduced-motion:reduce){.gopro-presets-phone__video{display:none}}
.gopro-decisions .decision__fig--wide img{min-height:280px}
.gopro-cohn{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:24px;align-items:center;margin-top:8px;padding-top:24px;border-top:1px solid var(--stone-700)}
@media(min-width:900px){body[data-case="gopro"] .scene.gopro-decisions,body[data-case="gopro"] .scene.gopro-evidence{padding-left:var(--margin)}.gopro-decisions .scene__index{margin-left:-34px}.gopro-cohn{grid-column:1/-1}.gopro-evidence .scene__body{padding-top:82px}body[data-case="gopro"] #s04 .lede{max-width:906px}.gopro-evidence .gopro-watch{width:100%;margin-left:0}}
@media(max-width:899px){.gopro-decisions .decision__num{top:104px}}
@media(max-width:699px){.gopro-decisions .decision__num{top:112px}}
.gopro-cohn>p{max-width:48ch;margin:0;color:var(--bone-400);line-height:1.55}
.gopro-cohn__artifact{min-width:0;margin:0;padding:16px;border:1px solid var(--stone-700);background:linear-gradient(125deg,rgba(37,184,242,.09),rgba(5,7,10,.96) 72%)}
.gopro-cohn__flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.gopro-cohn__flow div{min-width:0;min-height:104px;padding:12px 10px;border-left:2px solid var(--filament);background:rgba(236,231,221,.035)}
.gopro-cohn__flow span{display:block;margin-bottom:14px;color:var(--filament);font:600 10px/1.2 var(--font-body);letter-spacing:.12em;text-transform:uppercase}
.gopro-cohn__flow strong{display:block;color:var(--bone);font:500 clamp(12px,1vw,15px)/1.3 var(--font-body)}
.gopro-cohn__artifact figcaption{margin-top:12px;color:var(--bone-400);font:400 11px/1.4 var(--font-mono)}
@media(max-width:899px){.gopro-decisions .decision:first-child>.decision__fig{grid-column:1/-1;grid-row:2}.gopro-cohn{grid-row:3}}
@media(max-width:700px){.gopro-cohn{grid-template-columns:1fr;gap:16px}.gopro-cohn__flow div{min-height:92px}}
.gopro-decisions .decision:nth-child(3) .decision__text{grid-column:2/-1;max-width:620px}
.camera-line{grid-column:1/-1;min-width:0;margin:0;padding:0;background:transparent}
.camera-line__items{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:clamp(12px,2vw,28px)}
.camera-line__items>div{min-width:0;text-align:center}
.camera-line__items img{display:block;width:100%;height:clamp(150px,17vw,245px);object-fit:contain}
.camera-line__items span{display:block;margin-top:10px;color:var(--bone);font:800 clamp(13px,1.35vw,22px)/1.2 var(--font-display);letter-spacing:-.02em;text-transform:uppercase}
.evidence-intro{margin-bottom:40px}
.gopro-evidence .ev{min-height:480px;background:var(--stone-900);color:var(--bone)}
.gopro-evidence .ev__image{height:340px;object-fit:contain;filter:none;background:#05070A}
.gopro-evidence .ev__cap{color:var(--stone-400)}
.gopro-watch{margin-top:clamp(56px,7vw,100px);padding-top:32px;border-top:1px solid var(--stone-700)}
.gopro-watch__intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,42%);column-gap:clamp(24px,5vw,72px);align-items:end;margin-bottom:28px}
.gopro-watch__intro .lbl{grid-column:1/-1;margin:0 0 16px}
.gopro-watch__intro .title{margin:0;font-size:clamp(28px,3vw,44px)}
.gopro-watch__intro>p:last-child{max-width:48ch;margin:0;color:var(--bone-400);line-height:1.5}
.gopro-watch__controls{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin:0 0 14px}
.gopro-watch__controls>div{display:flex;gap:6px}
.gopro-watch__controls button{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--stone-700);border-radius:50%;background:var(--stone-900);color:var(--bone);font:500 21px/1 var(--font-body);cursor:pointer}
.gopro-watch__controls button:hover,.gopro-watch__controls button:focus-visible{border-color:var(--filament);color:var(--filament)}
.gopro-watch__grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,36%);gap:12px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scroll-padding-inline:1px;scrollbar-width:thin;scrollbar-color:var(--stone-400) transparent}
.gopro-watch__grid figure{scroll-snap-align:start}
.gopro-watch__grid figure{min-width:0;margin:0;background:#0c0d10;border:0}
.gopro-watch__grid video{display:block;width:100%;height:auto;aspect-ratio:1;background:#101113}
.gopro-watch__grid figcaption{display:flex;flex-direction:column;gap:5px;padding:13px 15px 16px;border-top:0}
.gopro-watch__grid figcaption span{color:var(--bone);font:600 13px/1.2 var(--font-body)}
.gopro-watch__grid figcaption small{color:var(--bone-400);font:400 12px/1.35 var(--font-body)}
@media(min-width:900px){.gopro-evidence .gopro-watch{width:100%;margin-left:0}}
@media(max-width:1199px){.gopro-watch__grid{grid-auto-columns:minmax(240px,42%)}}
@media(max-width:699px){.gopro-watch__intro{grid-template-columns:1fr;gap:12px}.gopro-watch__intro .lbl{margin:0}.gopro-watch__grid{grid-auto-columns:82%;gap:8px}.gopro-watch__grid figcaption{padding:10px}.gopro-watch__grid figcaption small{font-size:11px}}
.gopro-evidence .ev__cap span:first-child{color:var(--bone)}
.gopro-evidence .ev__cap span:last-child{max-width:34ch}
.gopro-evidence .evidence__rail{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin}
.gopro-evidence .ev--a{flex:0 0 min(1050px,88vw);max-width:none;min-height:0;padding:0;border:0;background:transparent}
.gopro-evidence .ev--a .ev__image{display:block;width:100%;height:auto;aspect-ratio:1472/813;object-fit:contain;background:transparent}
.gopro-platform-artwork{position:relative;width:100%;aspect-ratio:1472/813}
.gopro-platform-artwork .ev__image{width:100%;height:100%}
.gopro-platform-video{position:absolute;left:3.899%;top:15.284%;width:14.942%;height:29.155%;object-fit:cover;border-radius:2.4%;pointer-events:none}
.gopro-presets__story{max-width:67ch;margin:0;color:var(--bone-400);line-height:1.55}
.gopro-evidence .ev--a{min-height:540px}
.gopro-presets__flow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.gopro-presets__flow span{padding:8px 10px;border-left:2px solid var(--filament);background:rgba(37,184,242,.08);color:var(--bone);font:600 10px/1.25 var(--font-body);letter-spacing:.08em;text-transform:uppercase}
.proof-grid{display:grid;grid-template-columns:1fr;gap:16px;margin:0 0 32px}
.proof-grid article{padding:24px;border:1px solid var(--stone-700);background:linear-gradient(135deg,rgba(37,184,242,.06),transparent)}
.proof-grid p{margin:0}.proof-grid p:last-child{margin-top:10px;color:var(--bone-400)}
.ownership-list{margin:0;display:grid;gap:0;border-top:1px solid var(--stone-700)}
.ownership-list div{display:grid;grid-template-columns:minmax(90px,150px) 1fr;gap:20px;padding:22px 0;border-bottom:1px solid var(--stone-700)}
.ownership-list dt{color:var(--filament);white-space:normal}
.ownership-list dd{margin:0;color:var(--bone-400)}
@media (min-width:700px){
  .proof-grid{grid-template-columns:repeat(3,1fr)}
}
@media (min-width:900px){
  .gopro-hero .hero__title{margin-left:0}
  .gopro-hero__composition{display:grid;grid-template-rows:1fr;top:clamp(88px,12svh,154px);bottom:clamp(32px,7svh,88px);height:auto;transform:scale(.85);transform-origin:right center}
  .gopro-hero__device-pair{display:grid;grid-column:1;grid-row:1;align-self:center;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:auto;align-items:end}
  .gopro-hero__phone{position:relative;top:auto;right:auto;bottom:auto;grid-column:5 / -1;grid-row:1;align-self:end;justify-self:end;width:min(100%,375px)}
  .gopro-hero__media img.gopro-hero__camera{position:relative;top:auto;left:auto;right:auto;bottom:auto;grid-column:1 / span 7;grid-row:1;align-self:end;width:100%;transform:translateY(-47.059px)}
  .gopro-evidence .evidence__rail{display:flex;grid-template-columns:none;overflow-x:auto;gap:8px}
  .gopro-decisions .decision{grid-template-columns:96px minmax(0,1fr) minmax(300px,44%)}
  .gopro-decisions .decision--flip{grid-template-columns:96px minmax(0,1fr) minmax(300px,44%)}
  .gopro-decisions .decision--flip .decision__text{grid-column:2;grid-row:1}
  .gopro-decisions .decision--flip .decision__fig{grid-column:3;grid-row:1}
  .gopro-evidence .ev--a>img{width:100%}
}
@media (max-width:899px){
  body[data-case="gopro"] .seam{--gopro-phone-top:140px}
  .gopro-hero__title .rule-label{justify-content:center;margin-bottom:8px}
  .gopro-hero__title .rule-label::after{content:none}
  .gopro-decisions .decision,.gopro-decisions .decision--flip{grid-template-columns:44px minmax(0,1fr)}
  .gopro-decisions .decision__fig{grid-column:1 / -1;order:3}
  .gopro-decisions .decision--flip .decision__fig{order:3}
  .gopro-decisions .decision:nth-child(3) .decision__text{grid-column:2}
}
@media(max-width:699px){.camera-line__items{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 12px}.camera-line__items img{height:clamp(115px,38vw,170px)}.camera-line__items span{font-size:clamp(11px,3vw,15px)}}
@media (max-width:520px){
  body[data-case="pax"] .hero{min-height:max(100svh,900px)}
  body[data-case="pax"] .hero__title{padding-top:clamp(380px,48svh,470px)}
  body[data-case="pax"] .display-xl{font-size:clamp(42px,10vw,54px);line-height:1.02}
  body[data-case="pax"] .case-thesis{bottom:48px}
  .ownership-list div{grid-template-columns:1fr;gap:8px}
  .gopro-evidence .ev{min-height:420px}.gopro-evidence .ev__image{height:270px}
}
@media (max-width:899px){
  .gopro-hero{display:flex;flex-direction:column;height:auto;min-height:0;padding:96px var(--margin) 0;overflow:hidden}
  .gopro-logo{position:relative;top:auto;left:auto;order:1;width:clamp(108px,26vw,140px);margin:0 auto 20px;transform:none}
  .gopro-hero__title{order:2;align-self:center;width:100vw;max-width:none;margin:0 calc(-1 * var(--margin));padding:0;text-align:center}
  .gopro-hero .wall-label{position:relative;order:3;left:auto;bottom:auto;align-self:stretch;width:100%;max-width:none;margin-top:48px;padding:18px}
  .gopro-hero .wall-label dl{grid-template-columns:68px minmax(0,1fr)}
  .gopro-hero__title .rule-label{margin-bottom:0}
  .gopro-hero__media{position:relative;inset:auto;order:4;flex:none;width:calc(100% + 2 * var(--margin));height:clamp(340px,95vw,520px);margin:24px calc(-1 * var(--margin)) 0;overflow:hidden}
  .gopro-hero__media img.gopro-hero__topography{inset:0;width:100%;height:100%;object-position:center 55%;opacity:.55}
  .gopro-hero__composition{right:50%;bottom:0;width:min(100%,560px);height:100%;transform:translateX(50%)}
  .gopro-hero__phone{top:auto;right:auto;left:43%;bottom:0;width:min(39%,190px);opacity:1}
  .gopro-hero__media img.gopro-hero__camera{top:auto;right:auto;left:8%;bottom:0;width:min(46%,220px)}
  .gopro-hero .seam-origin{top:auto;bottom:0}
}
@media (max-width:999px){
  body[data-case="gopro"] .hero-transition{display:block;padding:0}
  body[data-case="gopro"] .hero-transition::before{inset:auto 0 0;height:clamp(290px,75vw,520px);background-position:center 45%}
  body[data-case="gopro"] .hero-transition__media{inset:auto 0 0;height:clamp(290px,75vw,520px)}
  body[data-case="gopro"] .hero-transition__content{display:flex;min-height:0;max-width:none;margin-inline:0;padding:clamp(44px,7vw,68px) var(--margin) calc(clamp(290px,75vw,520px) + 48px)}
  body[data-case="gopro"] .hero-transition__facts{position:relative;top:auto;right:auto;width:min(100%,560px);max-width:560px;padding:20px}
  body[data-case="gopro"] .hero-transition__facts dl{grid-template-columns:70px minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){body[data-case="gopro"] .hero-transition::before{background-image:none;background-color:#09232d}}
@media(max-width:520px){body[data-case="gopro"] .hero-transition__facts dl{grid-template-columns:1fr;gap:4px}body[data-case="gopro"] .hero-transition__facts dt:not(:first-child){margin-top:10px}}

/* Section 02: the six surface glyphs expand into the authored desktop hover field. */
@media (min-width:900px){
  #s02.is-surfaces-hovered{background-image:none}
  body[data-case="gopro"].gopro-surfaces-active .theme-toggle--cord{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
  #s02 .gopro-multiplier__factor:first-child{cursor:default}
  #s02 .gopro-multiplier__factor:first-child:has(.gopro-multiplier__surface-icons span:hover)>.gopro-multiplier__label{color:var(--figure-cyan);text-decoration:underline;text-underline-offset:.12em}
  #s02 .gopro-multiplier__surface-icons span{cursor:pointer}
  #s02 .gopro-multiplier__surface-icons:focus-visible{outline:2px solid var(--figure-cyan);outline-offset:5px}
  #s02 .scene__body,body[data-case="gopro"] #s02 .gopro-multiplier__factors>*:not(:first-child),body[data-case="gopro"] #s02 .gopro-multiplier__constraints,body[data-case="gopro"] #s02 .gopro-multiplier__result,body[data-case="gopro"] #s02 .gopro-multiplier__factor:first-child p{transition:opacity .28s ease}
  #s02.is-surfaces-hovered .scene__body,body[data-case="gopro"] #s02.is-surfaces-hovered .gopro-multiplier__factors>*:not(:first-child),body[data-case="gopro"] #s02.is-surfaces-hovered .gopro-multiplier__constraints,body[data-case="gopro"] #s02.is-surfaces-hovered .gopro-multiplier__result,body[data-case="gopro"] #s02.is-surfaces-hovered .gopro-multiplier__factor:first-child p{opacity:0}
  #s02 .gopro-multiplier__surface-icons{transition:opacity .16s ease .52s}
  #s02.is-surfaces-hovered .gopro-multiplier__surface-icons{opacity:0;transition-delay:0s}
  #s02 .gopro-surface-scene{position:absolute;inset:0;z-index:3;pointer-events:none}
  #s02 .gopro-surface-scene__shape{position:absolute;left:var(--source-x);top:var(--source-y);width:var(--source-w);height:var(--source-h);border:.5px dashed rgba(255,255,255,.63);border-radius:13.74px;background:rgba(217,217,217,.1);opacity:0;transition:left .68s cubic-bezier(.2,1.08,.24,1),top .68s cubic-bezier(.2,1.08,.24,1),width .68s cubic-bezier(.2,1.08,.24,1),height .68s cubic-bezier(.2,1.08,.24,1),border-radius .68s cubic-bezier(.2,1.08,.24,1),opacity .16s ease .52s}
  #s02.is-surfaces-hovered .gopro-surface-scene__shape{left:var(--target-x);top:var(--target-y);width:var(--target-w);height:var(--target-h);opacity:1;transition-delay:0s}
  #s02 .gopro-surface-scene__shape--camera,body[data-case="gopro"] #s02.is-surfaces-hovered .gopro-surface-scene__shape--camera{border:0;border-radius:0;background:url('../assets/gopro-camera-system-icon.svg') center/contain no-repeat}
  #s02 .gopro-surface-scene__connections{position:absolute;left:0;top:0;display:block;max-width:none;transform:translate(var(--connection-x),var(--connection-y)) scale(var(--gopro-diagram-scale));transform-origin:top left;opacity:0;transition:opacity .3s ease;pointer-events:none}
  #s02.is-surfaces-hovered .gopro-surface-scene__connections{opacity:1;transition-delay:.25s}
  #s02 .gopro-surface-scene__caption{position:absolute;top:var(--caption-y);left:var(--caption-x);transform:translateX(-50%);color:rgba(255,255,255,.8);font:600 12px/1.2 var(--font-display);white-space:nowrap;opacity:0;transition:opacity .24s ease}
  #s02 .gopro-surface-scene__caption--camera{display:flex;flex-direction:column;gap:3px;align-items:center;font-size:19px;color:rgba(255,255,255,.65)}
  #s02 .gopro-surface-scene__caption--camera small{font:500 11px/1.3 var(--font-display)}
  #s02.is-surfaces-hovered .gopro-surface-scene__caption{opacity:1;transition-delay:.4s}
}
@media (max-width:899px){.gopro-surface-scene{display:none}.gopro-hero__title{width:100vw;margin-inline:calc(-1 * var(--margin))}}
@media (prefers-reduced-motion:reduce){body[data-case="gopro"] #s02 .gopro-surface-scene__shape,body[data-case="gopro"] #s02 .gopro-surface-scene__caption,body[data-case="gopro"] #s02 .scene__body,body[data-case="gopro"] #s02 .gopro-multiplier__factors>*,body[data-case="gopro"] #s02 .gopro-multiplier__constraints,body[data-case="gopro"] #s02 .gopro-multiplier__result{transition:none!important}}

/* GoPro phone reading edge: place facts beyond the trail and align running labels with body copy. */
@media(max-width:699px){
  body[data-case="gopro"] .hero-transition__content{padding-left:calc(var(--margin) + 32px)}
  body[data-case="gopro"] .hero-transition__facts{padding:30px 8px}
  body[data-case="gopro"] .hero-transition__facts dl{font-size:11.5px}
  body[data-case="gopro"] .hero-transition__facts dt:not(:first-child){margin-top:24px}
  body[data-case="gopro"] .scene__index .lbl{margin-left:0}
}
@media (max-width:899px) and (prefers-reduced-motion:no-preference){
  .gopro-hero.is-ready .gopro-hero__composition{animation:gopro-pair-arrive .8s var(--settle) both}
  @keyframes gopro-pair-arrive{from{opacity:.65;transform:translate(50%,16px)}to{opacity:1;transform:translate(50%,0)}}
}

/* GoPro phone layout: reserve the trail gutter, keep long labels clear of the
   fixed theme control, and fit every authored hero line inside its mask. */
@media (max-width:699px){
  body[data-case="gopro"] .scene{padding-left:60px;padding-right:var(--margin)}
  body[data-case="gopro"] .scene__index{padding-left:0}
  body[data-case="gopro"] .scene__index .node{left:-33px}
  body[data-case="gopro"] .scene__index .lbl{font-size:clamp(14px,4vw,17px);letter-spacing:.12em}
  body[data-case="gopro"] .gopro-decisions .scene__index{max-width:calc(100vw - 120px)}
  #s02 .scene__body .headline{font-size:clamp(24px,7.5vw,42px)}
  #s02 .gopro-multiplier__result>strong{font-size:clamp(40px,12vw,70px)}
  #s05 .headline{font-size:clamp(24px,7.5vw,38px)}
}

/* PAX story: authored headline and evidence in distinct reading beats. */
body[data-case="pax"] .pax-hero:not(.is-media-ready) .hero__intro{opacity:0}
body[data-case="pax"] .hero__media{background:radial-gradient(ellipse at 68% 42%,#292a2c 0%,#17181a 49%,#0a0a0b 100%)}
body[data-case="pax"] .hero__title{z-index:2}
body[data-case="pax"] .pax-hero__scope{max-width:none;margin:24px 0 0;color:var(--bone-400);line-height:1.5;white-space:nowrap}
body[data-case="pax"] .pax-hero__study{margin:12px 0 0;color:var(--stone-400)}
body[data-case="pax"] .pax-mission #h01{width:100%;max-width:none}
body[data-case="pax"] .pax-mission__ritual{max-width:31ch;margin:0 0 28px;font-family:var(--serif);font-size:clamp(26px,3vw,42px);line-height:1.26}
body[data-case="pax"] .pax-mission__ritual em{color:var(--filament)}
body[data-case="pax"] .pax-mission__principle{max-width:62ch;margin:0;color:var(--bone-400)}
body[data-case="pax"] .pax-mission__principle strong{color:var(--bone);font-weight:600}
body[data-case="pax"] .pax-lab .scene__body>p{max-width:64ch;margin:0 0 22px;color:var(--bone-400)}
body[data-case="pax"] .pax-lab .scene__body>.pax-lab__lead{color:var(--bone);font-family:var(--serif);font-size:clamp(22px,2.2vw,32px);line-height:1.35}
body[data-case="pax"] .pax-contributions__copy{max-width:66ch;margin:0 0 44px;padding-left:20px;border-left:1px solid var(--filament);font-family:var(--serif);font-size:clamp(21px,2vw,28px);line-height:1.4}
body[data-case="pax"] .pax-ui__intro{max-width:65ch;margin:0 0 42px;color:var(--bone-400)}
body[data-case="pax"] .pax-close__team{max-width:66ch;margin:24px 0 0;color:var(--bone-400)}
body[data-case="pax"] .pax-close .scene__index--sub+.scene__body{margin-top:64px;padding-top:40px;border-top:1px solid var(--stone-700)}
body[data-case="pax"] .pax-close{padding-bottom:clamp(120px,10vw,200px)}
body[data-case="pax"] .pax-close__rail-end{bottom:clamp(24px,2.5vw,52px)}
body[data-case="pax"] .scene .line>span{transform:none}
body[data-case="gopro"] .scene .line>span{transform:none}
body[data-case="pax"] [data-plate]:focus-visible{outline:2px solid var(--filament);outline-offset:4px}
/* GoPro's brand / copy / product grid adapted to the PAX full-bleed scene. */
body[data-case="pax"] .pax-hero{position:relative;display:grid;grid-template-columns:repeat(24,minmax(0,1fr));grid-template-rows:clamp(88px,12svh,154px) minmax(0,1fr) clamp(32px,7svh,88px);grid-template-areas:"brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand" "copy copy copy copy copy copy copy copy copy copy copy copy copy copy copy copy media media media media media media media media" "safe safe safe safe safe safe safe safe safe safe safe safe safe safe safe safe media media media media media media media media";height:100svh;min-height:900px;overflow:hidden}
body[data-case="pax"] .pax-era-logo{position:absolute;top:clamp(76px,11svh,142px);left:50%;z-index:4;width:clamp(100px,8.6vw,135px);height:auto;transform:translateX(-50%)}
body[data-case="pax"] .pax-hero .seam-origin{position:absolute;left:var(--seam);bottom:clamp(110px,15svh,190px)}
@media(min-width:900px){
  body[data-case="pax"] .hero__media{inset:0;height:100%}
  body[data-case="pax"] .hero__intro{inset:0;width:100%;height:100%}
  body[data-case="pax"] .hero__title{grid-area:copy;align-self:center;width:min(720px,calc(100vw - (2 * var(--margin))));max-width:none;margin:0 0 0 var(--margin);padding:0}
  body[data-case="pax"] .scroll-cue{bottom:58px}
  body[data-case="pax"] .sysmap .t-lbl{font-size:14px}
}
@media(max-width:899px){
  body[data-case="pax"] .pax-hero{display:flex;flex-direction:column;height:auto;min-height:max(100svh,844px);padding:96px var(--margin) 0}
  body[data-case="pax"] .pax-era-logo{position:relative;top:auto;left:auto;order:1;width:clamp(96px,25vw,120px);margin:0 auto 20px;transform:none}
  body[data-case="pax"] .hero__media{inset:0;height:100%;width:100%}
  body[data-case="pax"] .hero__intro{inset:0;width:100%;height:100%}
  body[data-case="pax"] .hero__title{order:2;align-self:center;width:90vw;max-width:none;margin:0;padding:0;text-align:center}
  body[data-case="pax"] .hero__title .rule-label{justify-content:center}
  body[data-case="pax"] .pax-hero__scope{margin-left:auto;margin-right:auto;font-size:clamp(9px,2.3vw,11px);letter-spacing:.06em}
  body[data-case="pax"] .pax-hero .seam-origin{bottom:0}
  body[data-case="pax"] .scene__body{padding-left:16px}
}
body[data-case="pax"] .scene{scroll-margin-top:110px}
@media(prefers-reduced-motion:reduce){body[data-case="pax"] .hero__intro{display:none}}

/* PAX 2026 story update: keep the trail near the left edge without changing its drawing logic. */
@media (min-width:900px){
  body[data-case="pax"]{--seam:32px}
  body[data-case="pax"] .scene:not(.pax-mission){padding-left:calc(var(--margin) + clamp(270px,26vw,374px))}
  body[data-case="pax"] .scene__index{left:32px;width:auto}
  body[data-case="pax"] .scene__index .node{left:-5px}
}
body[data-case="pax"] .pax-mission{position:relative;min-height:835px;margin-top:0;padding-top:116px;padding-bottom:100px;background:#fff;color:#111}
body[data-case="pax"] .pax-mission .scene__index{color:#111}
body[data-case="pax"] .pax-mission .scene__index .muted{color:#63636a}
body[data-case="pax"] .pax-mission .scene__body{max-width:none}
body[data-case="pax"] .pax-mission #h01{max-width:560px;font-family:var(--display-sans);font-size:clamp(38px,3vw,58px);line-height:.98;text-transform:uppercase}
body[data-case="pax"] .pax-mission__ritual{max-width:580px;font-size:clamp(22px,2vw,29px);line-height:1.38}
body[data-case="pax"] .pax-mission__ritual em{color:#a86f2b;font-weight:600}
body[data-case="pax"] .pax-mission__asset{position:absolute;right:var(--margin);top:120px;width:min(48vw,690px);height:clamp(420px,48vw,610px);border:1px dashed #a9a9ad;display:flex;align-items:center;justify-content:center;text-align:center;padding:24px;color:#77777d}
body[data-case="pax"] .pax-lab{--pax-lab-copy:580px;position:relative;min-height:870px;margin-top:0;padding-top:120px;padding-bottom:100px;background:#f4f4f5;color:#111}
body[data-case="pax"] .pax-lab .scene__index .muted{color:#63636a}
body[data-case="pax"] .pax-lab .scene__body{max-width:var(--pax-lab-copy);margin-left:calc(-1 * clamp(270px,26vw,374px))}
body[data-case="pax"] .pax-lab .headline{display:none}
body[data-case="pax"] .pax-lab .scene__body>.pax-lab__lead{color:#151515;font-size:clamp(17px,1.35vw,20px);line-height:1.55}
body[data-case="pax"] .pax-lab__asset{position:absolute;left:calc(var(--margin) + 390px);right:var(--margin);top:125px;bottom:125px;border:1px dashed #a9a9ad;display:flex;align-items:center;justify-content:center;text-align:center;padding:24px;color:#77777d}
body[data-case="pax"] .pax-b2b-slots{display:grid;gap:12px;min-width:0}
body[data-case="pax"] .pax-b2b-slot{margin:0;border:1px solid var(--stone-600);background:var(--stone-800);overflow:hidden}
body[data-case="pax"] .pax-b2b-slot__visual{position:relative;display:flex;min-height:150px;flex-direction:column;justify-content:space-between;padding:16px 18px;background:linear-gradient(135deg,rgba(236,231,221,.05),transparent 70%)}
body[data-case="pax"] .pax-b2b-slot__mark{font:500 10px/1.3 var(--mono);letter-spacing:.16em;color:var(--filament)}
body[data-case="pax"] .pax-b2b-slot__state{font:400 clamp(22px,2vw,30px)/.95 var(--serif);letter-spacing:-.02em;color:var(--bone-400)}
body[data-case="pax"] .pax-b2b-slot__line{position:absolute;top:17px;right:17px;width:40px;height:40px;border-top:1px dashed var(--stone-600);border-right:1px dashed var(--stone-600)}
body[data-case="pax"] .pax-b2b-slot figcaption{padding:9px 12px;border-top:1px solid var(--stone-700);font:400 11px/1.4 var(--mono);color:var(--bone-400)}
@media(max-width:899px){body[data-case="pax"] .pax-b2b-slots{grid-column:2;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){body[data-case="pax"] .pax-b2b-slots{grid-template-columns:1fr}}

body[data-case="pax"] .pax-session__controls{display:flex;gap:8px}
body[data-case="pax"] .pax-session__controls button,body[data-case="pax"] .rail-meta button{min-width:44px;min-height:44px;border:1px solid var(--stone-600);background:var(--stone-900);color:var(--bone);font:inherit;cursor:pointer}
body[data-case="pax"] .pax-session__controls button.is-active{border-color:var(--filament);color:var(--filament)}
body[data-case="pax"] .evidence__rail{grid-column:1/-1;display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:0 0 10px}
body[data-case="pax"] .evidence__rail .ev{flex:0 0 min(68vw,960px);max-width:none;min-height:500px;scroll-snap-align:start;background:var(--stone-900)}
body[data-case="pax"] .evidence__rail .ev__image{height:min(40vw,610px)}
body[data-case="pax"] .rail-meta{display:flex;grid-column:1/-1;justify-content:flex-start;gap:18px;align-items:center;padding:16px 0 0}
body[data-case="pax"] .rail-meta .rail-dots{margin-left:auto}
body[data-case="pax"] .pax-architecture__intro{max-width:400px;margin:0 0 30px;font-family:var(--serif);font-size:clamp(22px,2vw,30px);line-height:1.25}
body[data-case="pax"] .pax-feature-web{width:95vw;max-width:none;margin-left:calc(2.5vw - var(--margin));background:#0b0b0c;overflow:hidden}
body[data-case="pax"] .pax-web-stage{position:relative;width:100%;overflow:hidden}
body[data-case="pax"] .pax-web-canvas{position:absolute;left:0;top:0;width:1080px;height:675px;transform-origin:top left;background:#0b0b0c;font-family:var(--sans)}
body[data-case="pax"] .pax-web-canvas svg{position:absolute;inset:0;width:1080px;height:675px;pointer-events:none}
body[data-case="pax"] .pax-web-line{fill:none;stroke:#3a3a3c;stroke-width:1.5;opacity:1;transition:stroke .4s ease,opacity .38s ease}
body[data-case="pax"] .pax-web-line.is-hidden{opacity:0}
body[data-case="pax"] .pax-web-line.is-active{stroke:var(--pax-volt);stroke-width:2}
body[data-case="pax"] .pax-web-line.is-dashed{stroke-dasharray:7 6}
body[data-case="pax"] .pax-web-breadcrumb{position:absolute;top:16px;left:28px;z-index:2;color:#8e8e94;font:12px var(--mono);text-transform:uppercase}
body[data-case="pax"] .pax-web-breadcrumb button{border:0;background:none;color:inherit;font:inherit;text-transform:inherit;cursor:pointer;padding:8px}
body[data-case="pax"] .pax-web-breadcrumb button.is-current{color:var(--pax-volt)}
body[data-case="pax"] .pax-web-node{position:absolute;z-index:1;transform:translate(-50%,-50%);width:168px;min-height:72px;padding:14px 16px;text-align:left;border:1px solid #3a3a3c;background:#2a2a2c;color:#fff;cursor:pointer;transition:left .54s cubic-bezier(.22,1.16,.32,1),top .54s cubic-bezier(.22,1.16,.32,1),width .54s cubic-bezier(.22,1.16,.32,1),height .54s cubic-bezier(.22,1.16,.32,1),transform .54s cubic-bezier(.22,1.16,.32,1),opacity .38s ease,background .38s ease,border-color .38s ease,visibility 0s linear 0s}
body[data-case="pax"] .pax-feature-web:not(.is-ready) .pax-web-node{transition:none}
body[data-case="pax"] .pax-web-node:hover{border-color:#8a8a8e}
body[data-case="pax"] .pax-web-node.is-hidden{opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%,-50%) scale(.86);transition:left .54s cubic-bezier(.22,1.16,.32,1),top .54s cubic-bezier(.22,1.16,.32,1),transform .54s cubic-bezier(.22,1.16,.32,1),opacity .38s ease,visibility 0s linear .54s}
body[data-case="pax"] .pax-web-node strong{display:block;font-family:var(--display-sans);font-size:16px;line-height:1.1;text-transform:uppercase}
body[data-case="pax"] .pax-web-node__meta{display:block;margin-top:7px;color:#9d9da1;font:11px var(--mono)}
body[data-case="pax"] .pax-web-node--hub{width:200px;height:200px;border:2px solid #fff;border-radius:50%;background:#141416;text-align:center;display:flex;flex-direction:column;justify-content:center}
body[data-case="pax"] .pax-web-node--hub strong{font-size:25px}
body[data-case="pax"] .pax-web-node--menu{border:1.5px dashed #8a8a8e;background:#0b0b0c}
body[data-case="pax"] .pax-web-node--child{width:300px;min-height:76px}
body[data-case="pax"] .pax-web-node.is-dim{width:136px;opacity:.54;background:#1a1a1c}
body[data-case="pax"] .pax-web-node.is-dim strong{font-size:13px}
body[data-case="pax"] .pax-web-node.is-active{border:2px solid var(--pax-volt)}
body[data-case="pax"] .pax-web-list{display:none;padding:20px;color:var(--bone)}
body[data-case="pax"] .pax-web-list p{font-family:var(--mono);text-transform:uppercase}
body[data-case="pax"] .pax-web-list ul{list-style:none;padding-left:20px;margin:8px 0}
body[data-case="pax"] .pax-web-list li{padding:5px 0;border-left:1px solid var(--stone-600);padding-left:10px}
body[data-case="pax"] .pax-web-list summary{cursor:pointer}
@media(max-width:899px){
  body[data-case="pax"] .pax-mission,body[data-case="pax"] .pax-lab{min-height:0;padding-top:80px;padding-bottom:80px}
  body[data-case="pax"] .pax-mission__asset,body[data-case="pax"] .pax-lab__asset{position:relative;inset:auto;width:100%;height:280px;margin-top:40px}
  body[data-case="pax"] .pax-lab .scene__body{max-width:none;margin-left:0}
  body[data-case="pax"] .evidence__rail .ev{flex-basis:84vw;min-height:380px}
  body[data-case="pax"] .evidence__rail .ev__image{height:290px}
  body[data-case="pax"] .pax-feature-web{width:95vw}
}
@media(max-width:700px){body[data-case="pax"] .pax-web-stage{display:none}body[data-case="pax"] .pax-web-list{display:block}}
@media(prefers-reduced-motion:reduce){body[data-case="pax"] .pax-web-node,body[data-case="pax"] .pax-web-node.is-hidden,body[data-case="pax"] .pax-web-line{transition:opacity .16s linear,visibility 0s linear .16s}}

@media(min-width:900px){
  body[data-case="pax"] .pax-mission,body[data-case="pax"] .pax-architecture{padding-left:var(--margin)}
  body[data-case="pax"] .pax-architecture .pax-feature-web{margin-left:calc(2.5vw - var(--margin) - clamp(270px,26vw,374px))}
  body[data-case="pax"] .evidence{padding-left:calc(var(--margin) + 194px)}
  body[data-case="pax"] .pax-mission .scene__index,body[data-case="pax"] .pax-lab .scene__index{top:116px}
}
body[data-case="pax"] .evidence__rail .ev--b{color:var(--bone)}

body[data-case="pax"] .pax-session__video{position:relative;z-index:1;width:100%;height:100%;object-fit:contain}
body[data-case="pax"] .pax-mission .scene__body,body[data-case="pax"] .pax-lab .scene__body{padding-top:80px}
@media(prefers-reduced-motion:reduce){body[data-case="pax"] .pax-session__video{display:none}}

body[data-case="pax"] .pax-feature-web{--pax-volt:#C6F24E}
body[data-case="pax"] .pax-web-node--hub:not(.is-active){width:150px;height:150px}
body[data-case="pax"] .pax-web-node--hub:not(.is-active) strong{font-size:17px;letter-spacing:-.02em;line-height:1.15}

body[data-case="pax"] .ev__placeholder{height:min(40vw,610px);min-height:290px;display:flex;align-items:center;justify-content:center;border:1px dashed var(--stone-600);color:var(--stone-400);text-align:center;padding:20px}

body[data-case="pax"] .ev--c{cursor:default}

/* PAX Session Control: keep the complete primary circle and its copy in separate columns. */
body[data-case="pax"] .pax-session__video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;object-position:center center;background:transparent}
@media(max-width:899px){
}
@media(prefers-reduced-motion:reduce){
}


/* Keep the PAX seam clear of the mission and Session Control copy. */
body[data-case="pax"] .pax-mission .scene__index{left:32px}
body[data-case="pax"] .pax-mission .scene__body{margin-left:0;max-width:min(40vw,580px)}
body[data-case="pax"] .pax-mission #h01,body[data-case="pax"] .pax-mission__ritual{max-width:100%}
@media(max-width:899px){
  body[data-case="pax"] .pax-mission .scene__body{margin-left:24px;max-width:calc(100% - 24px)}
}
body[data-case="pax"] .scene__index .lbl{margin-left:25px}
@media(min-width:900px){
  body[data-case="pax"] .site-header{padding-left:57px}
  body[data-case="pax"] .pax-hero .hero__title{margin-left:57px}
  body[data-case="pax"] .pax-hero .hero__title .seam-origin{left:-25px;top:0;bottom:auto;width:0;height:1px}
  body[data-case="pax"] .pax-mission{padding-left:57px}
  body[data-case="pax"] .pax-mission .scene__body{padding-top:80px}
}
@media(max-width:899px){
  body[data-case="pax"]{--seam:32px}
  body[data-case="pax"] .pax-hero .hero__title .seam-origin{left:calc(32px - 5vw);top:0;bottom:auto;width:0;height:1px}
}
body[data-case="pax"] .pax-mission__asset{top:0;right:0;width:min(67vw,1100px);height:auto;aspect-ratio:960/835;border:0;padding:0;background-image:url(../assets/pax-mission-figma-frame.png);background-size:150% 100%;background-position:right top;clip-path:polygon(25% 0,100% 0,100% 100%,0 100%,0 66%,25% 66%);pointer-events:none}
@media(max-width:899px){body[data-case="pax"] .pax-mission__asset{width:100%;height:auto;aspect-ratio:960/835;clip-path:polygon(25% 0,100% 0,100% 100%,0 100%,0 66%,25% 66%);margin-top:16px}}

/* Keep architecture 25px beyond the 32px PAX trail on every viewport. */
body[data-case="pax"] .pax-architecture .pax-feature-web{width:calc(100vw - 89px);max-width:none;margin-left:calc(57px - var(--margin))}
body[data-case="pax"] .pax-session__screen{position:absolute;z-index:1;left:32.7%;top:7.2%;width:37%;height:85.2%;overflow:hidden;border-radius:8% / 3.5%;opacity:0;transition:opacity .2s ease}
body[data-case="pax"] .pax-session__screen::after{content:"";position:absolute;z-index:2;left:30%;top:0;width:40%;height:3.8%;border-radius:0 0 18px 18px;background:#111114}
body[data-case="pax"] .pax-session__screen .pax-session__video{position:absolute;inset:0;width:100%;height:100%;max-width:none;transform:none;object-fit:cover}
body[data-case="pax"] .scene.pax-architecture{padding-left:var(--margin)}
@media(min-width:900px){body[data-case="pax"] .pax-mission{min-height:clamp(835px,58.2vw,960px)}}
body[data-case="pax"] .scene__index .node{left:calc(var(--seam) - var(--margin) - 5.5px)}
@media(min-width:900px){body[data-case="pax"] .scene__index .node{left:-5.5px}}
body[data-case="pax"] .pax-close__rail-end{left:calc(var(--seam) - 5.5px)}

/* Selected architecture cards are 40% smaller than the previous .75-scale state. */
body[data-case="pax"] .pax-web-node.is-active:not(.is-hidden){transform:translate(-50%,-50%) scale(.45)}
body[data-case="pax"] .pax-web-node--hub:not(.is-active){transform:translate(-50%,-50%) scale(.6)}
body[data-case="pax"] .pax-web-node.is-active:not(.pax-web-node--hub){padding:8px 10px}
body[data-case="pax"] .pax-web-node.is-active:not(.pax-web-node--hub) strong{font-size:18px;line-height:1.05}
body[data-case="pax"] .pax-web-node.is-active:not(.pax-web-node--hub) .pax-web-node__meta{font-size:14px;margin-top:4px}
@media(max-width:1100px){body[data-case="pax"] .pax-web-stage{display:none}body[data-case="pax"] .pax-web-list{display:block}}

/* Read the architecture headline, then its smaller statement, from one edge. */
body[data-case="pax"] .pax-architecture__intro{margin-left:calc(57px - var(--margin));max-width:min(560px,calc(100vw - 73px));font-size:clamp(15px,1.15vw,18px);line-height:1.45}
@media(min-width:900px){
  body[data-case="pax"] .pax-architecture{padding-top:110px}
  body[data-case="pax"] .pax-architecture__intro{margin-top:0;margin-bottom:26px}
}
body[data-case="pax"] .pax-web-breadcrumb{top:48px;left:24px;font-size:8px}
body[data-case="pax"] .pax-architecture{scroll-margin-top:90px}
@media(max-width:899px){body[data-case="pax"] .pax-architecture .scene__index .lbl{margin-left:21px}}

/* The Lab uses the image visible in Figma for local preview. Its copy shares the index's x57 baseline. */
body[data-case="pax"] .pax-lab{background:#efeff1}
body[data-case="pax"] .pax-lab__asset{--pax-lab-image-left:calc(57px + var(--pax-lab-copy) + 24px);left:var(--pax-lab-image-left);right:0;top:0;bottom:0;width:calc(100% - var(--pax-lab-image-left));height:100%;border:0;padding:0;display:block;object-fit:contain;object-position:center;background:#efeff1}
@media(min-width:900px){body[data-case="pax"] .pax-lab .scene__body{margin-left:calc(57px - var(--margin) - clamp(270px,26vw,374px))}}
@media(min-width:1200px) and (max-width:1599px){body[data-case="pax"] .pax-lab{--pax-lab-copy:clamp(430px,36vw,540px)}}
@media(min-width:900px) and (max-width:1199px){body[data-case="pax"] .pax-lab{--pax-lab-copy:clamp(340px,37vw,420px)}}
@media(max-width:899px){
  body[data-case="pax"] .pax-lab .scene__body{margin-left:0;padding-left:45px}
  body[data-case="pax"] .pax-lab__asset{left:auto;right:auto;top:auto;bottom:auto;width:calc(100% + 45px);height:auto;aspect-ratio:986/871;margin:32px 0 0 -45px}
}


/* Tilted card interaction — preserved from tilted-card.css. */
.tilted-card-figure {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tilted-card-mobile-alert {
  position: absolute;
  top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  display: none;
}

@media (max-width: 640px) {
  .tilted-card-mobile-alert {
    display: block;
  }
  .tilted-card-caption {
    display: none;
  }
}

.tilted-card-inner {
  position: relative;
  transform-style: preserve-3d;
}

.tilted-card-img {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  border-radius: 15px;
  will-change: transform;
  transform: translateZ(0);
}

.tilted-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  will-change: transform;
  transform: translateZ(30px);
}

.tilted-card-caption {
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 4px;
  background-color: #fff;
  padding: 4px 10px;
  font-size: 10px;
  color: #2d2d2d;
  opacity: 0;
  z-index: 3;
}


/* Home and shared page layout — preserved from site.css. */
/* Shared case-page navigation. */
.global-nav{display:flex;gap:4px;align-items:center}
.global-nav .glass-nav__item{min-width:72px;text-align:center}
.gopro-rivet-nav{display:none}
@media(max-width:899px){
  body[data-case="gopro"] .global-nav{display:none}
  .gopro-rivet-nav{display:block;position:relative;margin-left:auto}
  .gopro-rivet-nav summary{display:grid;place-items:center;position:relative;width:48px;height:48px;list-style:none;cursor:pointer}
  .gopro-rivet-nav summary::before{content:"";position:absolute;inset:2.4px;border:1px solid rgba(154,173,183,.1);border-radius:50%;background:radial-gradient(circle at 34% 24%,rgba(130,146,154,.21),transparent 46%),linear-gradient(145deg,#20282d,#11181c 58%,#080d10);box-shadow:inset 1px 1px 1px rgba(191,207,215,.14),inset -2px -3px 6px rgba(0,0,0,.7),0 3px 8px rgba(0,0,0,.4)}
  .gopro-rivet-nav summary::-webkit-details-marker{display:none}
  .gopro-rivet-nav summary span{display:grid;place-items:center;position:relative;width:22.5px;height:22.5px;border:1px solid rgba(154,173,183,.08);border-radius:50%;background:radial-gradient(circle at 50% 70%,#1b252a,#0a1013 72%);box-shadow:inset 0 2px 5px rgba(0,0,0,.9),inset 0 -1px 1px rgba(188,203,211,.11),0 1px 0 rgba(188,203,211,.1)}
  .gopro-rivet-nav summary span::after{content:"";width:12.6px;height:2.7px;border-radius:1px;background:linear-gradient(to bottom,#020405 0 55%,#5a6a72 100%);box-shadow:inset 0 1px 1px #000,0 1px 0 rgba(191,207,215,.18);transform:rotate(-35deg)}
  .gopro-rivet-nav summary:focus-visible,.gopro-rivet-nav a:focus-visible{outline:2px solid var(--filament);outline-offset:3px}
  .gopro-rivet-nav nav{position:absolute;right:0;top:58px;display:grid;min-width:148px;padding:8px;border:1px solid var(--glass-edge);background:#0b151b;box-shadow:0 18px 36px rgba(0,0,0,.55)}
  .gopro-rivet-nav:not([open]) nav{display:none}
  .gopro-rivet-nav nav a{padding:10px 12px;font-family:var(--mono);font-size:12px;text-transform:uppercase;letter-spacing:.1em}
  .gopro-rivet-nav nav a[aria-current]{color:var(--filament)}
}
.case-context{display:none;color:var(--stone-400)}
.case-context span{color:var(--filament)}
@media(min-width:900px){.case-context{display:flex;gap:12px;align-items:center}}
@media(max-width:899px){
  .site-header{padding:16px var(--margin)}
  .site-header .wordmark--signature{width:72px;height:46px}
  .global-nav{margin-left:auto;padding:4px}
  .global-nav .glass-nav__item{min-width:64px;padding:10px 12px}
}

.site-main{min-height:100svh;background:var(--basalt)}
.landing-hero{position:relative;min-height:100svh;display:flex;align-items:center;padding:160px var(--margin) 120px;overflow:hidden;background:radial-gradient(circle at 83% 28%,rgba(240,178,90,.12),transparent 31%),linear-gradient(135deg,#161417 0%,var(--basalt) 63%)}
.landing-hero__content{position:relative;z-index:2;max-width:1180px}
.landing-hero__content>.lbl{margin:0 0 28px}
.landing-title{max-width:1150px;margin:0;font-family:var(--display-sans);font-size:clamp(46px,6.2vw,108px);font-weight:900;line-height:.98;letter-spacing:-.025em;text-transform:uppercase}
.landing-title em{font-style:normal;color:var(--filament)}
.landing-lede{max-width:700px;margin:32px 0 0;color:var(--bone-400);font-family:var(--serif);font-size:clamp(22px,2.2vw,34px);line-height:1.25;font-weight:350}
.site-cta{display:inline-flex;gap:24px;align-items:center;margin-top:48px;padding:16px 20px;border:1px solid var(--filament);color:var(--bone);background:rgba(240,178,90,.07);transition:background var(--d-hover) var(--settle)}
.site-cta:hover{background:rgba(240,178,90,.16)}
.site-cta span{font-size:19px;line-height:1;color:var(--filament)}
.landing-hero__line{position:absolute;right:18%;top:0;bottom:0;width:1px;background:linear-gradient(180deg,transparent,var(--filament),transparent);opacity:.45;transform:rotate(12deg);pointer-events:none}
.landing-note{display:grid;grid-template-columns:minmax(100px,210px) minmax(0,700px);gap:24px 48px;align-items:start;padding:clamp(80px,10vw,150px) var(--margin);border-top:1px solid var(--stone-700)}
.landing-note>.lbl{margin:0}
.landing-note>p:not(.lbl){margin:0;font-family:var(--serif);font-size:clamp(25px,3vw,48px);font-weight:350;line-height:1.13}
.text-link{display:inline-flex;grid-column:2;gap:18px;align-items:center;width:max-content;padding-bottom:8px;border-bottom:1px solid var(--filament);color:var(--bone)}
.text-link span{color:var(--filament);font-size:17px}

.work-page{padding:0 var(--margin) 140px;background:radial-gradient(circle at 70% 0,rgba(240,178,90,.1),transparent 33%),var(--basalt)}
.work-intro{padding:clamp(160px,22svh,240px) 0 80px;max-width:1150px}
.work-intro>.lbl{margin:0 0 28px}
.work-intro .landing-title{font-size:clamp(52px,6vw,96px)}
.work-list{display:grid;gap:22px;max-width:var(--max);margin:0 auto}
.work-card{border:1px solid var(--stone-700);background:var(--stone-900)}
.work-card__link{display:grid;grid-template-columns:minmax(240px,40%) minmax(0,1fr);min-height:350px;transition:background var(--d-hover) var(--settle)}
.work-card__link:hover{background:rgba(240,178,90,.045)}
.work-card__media{display:flex;align-items:center;justify-content:center;min-width:0;overflow:hidden;background:#151515}
.work-card__media img{width:100%;height:100%;max-height:430px;object-fit:contain}
.work-card__media--pax{background:radial-gradient(circle at 50% 60%,#3d3935,#111113 75%)}
.work-card__media--pax img{max-width:310px;max-height:310px;padding:20px}
.work-card__media--gopro{background:radial-gradient(circle at 50% 65%,rgba(37,184,242,.2),#05070A 70%)}
.work-card__media--gopro img{max-width:340px;max-height:290px;padding:20px}
.work-card__media--planned{background:linear-gradient(135deg,#1b2024,#0d1013)}
.work-card__media--planned img{max-width:82%;max-height:82%;opacity:.78;filter:saturate(.7)}
.work-card--planned .work-card__link:not(a){cursor:default}
.work-card--planned .work-card__link:not(a):hover{background:transparent}
.work-card__media--amazon{flex-direction:column;align-items:flex-start;gap:0;padding:36px;background:radial-gradient(circle at 80% 40%,rgba(232,170,108,.15),#111318 70%)}
.work-card__media--amazon span{font-family:var(--display-sans);font-size:clamp(34px,4.3vw,70px);line-height:1.02;letter-spacing:-.025em;color:var(--bone)}
.work-card__media--amazon span:last-child{color:var(--filament)}
.work-card__copy{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:clamp(28px,5vw,76px)}
.work-card__copy>.lbl{margin:0 0 18px}
.work-card__copy h2{margin:0;font-family:var(--serif);font-size:clamp(46px,5vw,76px);font-weight:350;line-height:1;letter-spacing:-.025em}
.work-card__copy>p:not(.lbl){max-width:45ch;margin:22px 0 0;color:var(--bone-400);font-size:clamp(17px,1.3vw,21px);line-height:1.4}
.work-card__arrow{position:absolute;right:36px;top:30px;color:var(--filament);font-size:28px;line-height:1;transition:transform var(--d-hover) var(--settle)}
.work-card__arrow{width:28px;height:28px;font-size:0}
.work-card__arrow::before{content:"";position:absolute;left:3px;top:13px;width:23px;height:2px;background:currentColor;transform:rotate(-45deg)}
.work-card__arrow::after{content:"";position:absolute;right:3px;top:3px;width:12px;height:12px;border-top:2px solid currentColor;border-right:2px solid currentColor}
.work-card__link:hover .work-card__arrow{transform:translate(4px,-4px)}
@media(max-width:699px){
  .landing-hero{padding:150px var(--margin) 90px}
  .landing-title{font-size:clamp(39px,9.4vw,64px);line-height:.99}
  .landing-lede{font-size:clamp(21px,5.5vw,28px)}
  .landing-hero__line{right:8%;opacity:.25}
  .landing-note{grid-template-columns:1fr;gap:24px}
  .text-link{grid-column:1}
  .work-page{padding-bottom:80px}
  .work-intro{padding:140px 0 64px}
  .work-intro .landing-title{font-size:clamp(42px,9.2vw,65px)}
  .work-card__link{grid-template-columns:1fr;min-height:0}
  .work-card__media{min-height:250px}
  .work-card__copy{min-height:260px;padding:28px}
  .work-card__arrow{right:26px;top:22px}
  .work-card__media--amazon span{font-size:clamp(43px,11vw,72px)}
}
@media(prefers-reduced-motion:reduce){.site-cta,.work-card__link,.work-card__arrow{transition:none}}

/* Home intro: authored Squarespace timing, with readable HTML before JavaScript. */
.intro-hero{isolation:isolate;min-height:100svh;justify-content:center;text-align:center;background:#090b0e;padding:0 var(--margin)}
.intro-hero__poster,.intro-hero__video,.intro-hero__shade{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.intro-hero__poster{background:#000}
.intro-video-failed .intro-hero__poster{background:#0b0f14 url('../assets/home-hero-poster.webp') center/cover no-repeat}
.intro-hero__video{object-fit:cover;opacity:1}
.intro-hero__shade{background:linear-gradient(180deg,rgba(2,5,8,.48),rgba(2,5,8,.22) 44%,rgba(2,5,8,.72)),radial-gradient(circle at center,transparent 8%,rgba(1,3,6,.38) 100%)}
.intro-hero__content{position:relative;z-index:2;width:min(1100px,100%);margin:auto}
.intro-hero__display{max-width:var(--intro-measure);margin:0 auto;color:#f8f7f3;font-family:var(--intro-font);font-size:var(--fs-intro);font-weight:900;line-height:1.08;letter-spacing:-.02em;text-transform:uppercase;text-shadow:0 3px 32px rgba(0,0,0,.55)}
.js .intro-hero__display{opacity:0;transition:opacity .7s ease}
.js .intro-hero__display.is-visible{opacity:1}
.intro-hero__sub{max-width:46ch;margin:var(--s5) auto 0;color:#E4E0D8;font-family:var(--sans);font-size:clamp(16px,.45vw + 14.2px,20px);line-height:1.45;text-wrap:balance;text-shadow:0 2px 20px rgba(0,0,0,.6)}
.intro-hero__sub{display:none}
.intro-ready .intro-hero__sub{opacity:0;transition:opacity var(--d-reveal) var(--settle)}
.intro-ready .intro-hero__display.is-visible+.intro-hero__sub{opacity:1;transition-delay:1.6s}
.intro-stagger-word{display:inline-block;white-space:nowrap}
.intro-stagger-letter{display:inline-block;animation:intro-letter-in .6s var(--settle) both}
@keyframes intro-letter-in{from{opacity:0;filter:blur(6px);transform:translateY(12px)}to{opacity:1;filter:blur(0);transform:none}}
.intro-vac-word{display:inline-block;white-space:nowrap}
.intro-vac-letter{display:inline-block;will-change:transform,opacity,filter}
.intro-hero__scroll{position:absolute;z-index:2;bottom:40px;left:50%;display:inline-flex;align-items:center;gap:var(--s2);min-height:var(--s7);transform:translateX(-50%);color:var(--bone);white-space:nowrap;text-transform:uppercase;letter-spacing:.14em;text-decoration:none}
.intro-hero__scroll:hover,.intro-hero__scroll:focus-visible{color:var(--filament)}
.js .intro-hero__scroll{visibility:hidden;pointer-events:none}
.js .intro-hero__scroll.is-revealed{visibility:visible;pointer-events:auto}
.intro-hero__scroll-text,.intro-hero__scroll-arrow{display:inline-block}
.intro-hero__scroll-letter{display:inline-block;white-space:pre}
.js .intro-hero__scroll.is-revealed .intro-hero__scroll-letter{animation:intro-scroll-wave .5s var(--settle) both;animation-delay:var(--wave-delay)}
.js .intro-hero__scroll.is-revealed .intro-hero__scroll-arrow{animation:intro-scroll-arrow .4s var(--settle) .46s both}
@keyframes intro-scroll-wave{0%{opacity:0;filter:blur(2px);transform:translateX(-8px) translateY(3px)}58%{transform:translateX(2px) translateY(-1px)}100%{opacity:1;filter:none;transform:none}}
@keyframes intro-scroll-arrow{from{opacity:0;transform:translateX(-5px)}to{opacity:1;transform:none}}
.home-work{padding:clamp(92px,12vw,170px) var(--margin) 130px;background:radial-gradient(circle at 83% 7%,rgba(240,178,90,.1),transparent 32%),var(--basalt);scroll-margin-top:60px}
.home-work__intro{width:100%;max-width:var(--max);margin:0 auto 46px}
.home-work__intro>.lbl{margin:0 0 12px}
.home-work__intro h2{max-width:1000px;margin:0;font-family:var(--display-sans);font-size:clamp(50px,8vw,118px);font-weight:900;line-height:.8;letter-spacing:-.035em;text-transform:uppercase}
body[data-page="home"] #work-title{color:#fff}
body[data-page="home"] #work-title em{display:block;font-style:normal}
@supports (-webkit-text-stroke:1px #fff){
  body[data-page="home"] #work-title em{color:transparent;-webkit-text-stroke:clamp(1px,.043em,3px) #fff;paint-order:stroke fill}
}
.home-work__intro>p:last-child{max-width:54ch;color:var(--bone-400);font-family:var(--serif);font-size:clamp(22px,2.3vw,34px);line-height:1.25}
.home-work__directory{display:flex;margin:64px auto 0;width:max-content}
.work-card__copy h3{margin:0;font-family:var(--intro-font);font-size:clamp(30px,3.6vw,54px);font-weight:900;line-height:1.08;letter-spacing:-.035em;overflow-wrap:break-word}
.work-card__media{position:relative;min-height:350px}
.work-card__media>.react-bits-root{position:absolute;inset:0}
.work-card__media.is-react-ready>img{visibility:hidden}
.work-card__media .tilted-card-figure{height:100%!important;width:100%!important}
.work-card__media .tilted-card-inner{width:min(80%,340px)!important;height:min(80%,310px)!important}
.work-card__media .tilted-card-img{width:100%!important;height:100%!important;object-fit:contain;border-radius:0}
.work-card__media--pax .tilted-card-inner{width:min(76%,310px)!important;height:min(76%,310px)!important}
.work-card.card-await{opacity:0;transform:translateY(10px)}
.work-card.card-shown{opacity:1;transform:none;transition:opacity 320ms var(--settle),transform 320ms var(--settle)}
.work-card.card-await:focus-within{opacity:1;transform:none}
.work-helix-controls{display:none}
/* The scroll track keeps native page scrolling while the selected card stays centered. */
@media(min-width:640px) and (prefers-reduced-motion:no-preference){
  .home-work.helix-ready{overflow:clip;padding-top:max(10svh,calc((100svh - 900px)/2));scroll-margin-top:0}
  .helix-ready .home-work__intro{position:absolute;z-index:101;top:49.2%;left:0;width:max-content;margin:0;transform:translateY(-50%)}
  .helix-ready .home-work__intro>.lbl{display:none}
  .helix-ready .home-work__intro h2{font-size:clamp(26px,2.88vw,40px);line-height:.83}
  .helix-ready .home-work__intro h2 em{display:block}
  .helix-ready .work-helix-track{height:var(--helix-track-height)}
  .helix-ready .work-list{position:sticky;top:10svh;height:80svh;max-width:none;display:block}
  .helix-ready .work-card{position:absolute;top:50%;left:50%;width:min(33.6vw,466px);height:min(61svh,520px);min-height:390px;overflow:hidden;border-color:#5b5956;box-shadow:0 14px 38px -32px rgba(30,41,43,.35);transition:box-shadow .45s ease,border-color .45s ease}
  .helix-ready .work-card.is-helix-active{border-color:transparent;box-shadow:0 35px 90px rgba(0,0,0,.55),0 0 28px rgba(240,178,90,.56)}
  .helix-ready .work-card__link{display:flex;flex-direction:column;height:100%;min-height:0;background:var(--stone-900)}
  .helix-ready .work-card__media{flex:1;min-height:0}
  .helix-ready .work-card__media:not(.work-card__media--gopro):not(.work-card__media--fluidlogic) > img{display:block;width:100%;height:100%;max-width:none;max-height:none;padding:0;object-fit:cover;object-position:center;opacity:1;filter:none}
  .helix-ready .work-card__copy{flex:none;min-height:150px;padding:18px 24px 22px}
  .helix-ready .work-card__copy>.lbl{margin-bottom:8px;opacity:var(--card-heading-opacity,1)}
  .helix-ready .work-card__copy h3{font-size:clamp(24px,2.2vw,34px);opacity:var(--card-heading-opacity,1)}
  .helix-ready .work-card__copy>p:not(.lbl){display:block;margin:10px 0 0;font-size:14px;line-height:1.3;opacity:var(--card-detail-opacity,0)}
  .helix-ready .work-card__arrow{right:18px;top:17px}
  .helix-ready .work-card.is-helix-opening{border-color:var(--bone);box-shadow:0 40px 110px rgba(240,178,90,.24)}
  .helix-ready .work-card.is-helix-opening .work-card__media{transform:scale(1.04);transition:transform .28s ease}
  .helix-ready .work-card.card-await,.helix-ready .work-card.card-shown{transition:box-shadow .45s ease,border-color .45s ease}
}
@media(min-width:640px) and (max-width:899px) and (prefers-reduced-motion:no-preference){
  .helix-ready .work-card{width:min(46vw,360px);height:min(60svh,420px);min-height:350px}
  .helix-ready .work-card__copy{min-height:122px;padding:14px 18px 18px}
  .helix-ready .work-card__copy h3{font-size:clamp(19px,2.9vw,26px)}
  .helix-ready .work-card__copy>p:not(.lbl){font-size:13px}
}
@media(min-width:640px) and (max-height:650px) and (prefers-reduced-motion:no-preference){
  .helix-ready .work-card{height:58svh;min-height:0}
}
@media(max-width:699px){
  .intro-hero{padding:0 22px}
  .intro-hero__display{max-width:calc(100vw - var(--s7));font-size:var(--fs-intro)}
  .intro-hero__scroll{bottom:26px}
  .home-work{padding:85px var(--margin) 90px}
  .home-work__intro{margin-bottom:23px}
  .home-work__intro h2{font-size:clamp(48px,12vw,72px)}
  .home-work:not(.helix-ready) .work-card__copy{display:grid;grid-template-columns:minmax(0,1fr) 20px;column-gap:12px;min-height:0;padding-block:14px}
  .home-work:not(.helix-ready) .work-card__copy>.lbl{grid-column:1;grid-row:1;margin:0}
  .home-work:not(.helix-ready) .work-card__copy>h3{grid-column:1 / -1;grid-row:2}
  .home-work:not(.helix-ready) .work-card__copy>.lbl+h3{margin-top:18px}
  .home-work:not(.helix-ready) .work-card__copy>h3:first-child{grid-column:1;grid-row:1}
  .home-work:not(.helix-ready) .work-card__copy>p:not(.lbl){grid-column:1 / -1;grid-row:3;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
  .home-work:not(.helix-ready) .work-card__arrow{position:relative;inset:auto;grid-column:2;grid-row:1;align-self:center;width:20px;height:14px}
  .home-work:not(.helix-ready) .work-card__arrow::before{left:0;top:6px;width:18px;height:2px;transform:none}
  .home-work:not(.helix-ready) .work-card__arrow::after{right:2px;top:3px;width:8px;height:8px;transform:rotate(45deg)}
  .home-work:not(.helix-ready) .work-card__link:hover .work-card__arrow{transform:translateX(4px)}
  .work-card__media{min-height:250px}
  .home-work__directory{margin-top:45px}
}
@media(prefers-reduced-motion:reduce){
  .intro-hero__video{display:none}
  .intro-hero__poster{background:#0b0f14 url('../assets/home-hero-poster.webp') center/cover no-repeat}
  .js .intro-hero__display{opacity:1;transition:none}
  .intro-ready .intro-hero__sub{opacity:1;transition:none}
  .intro-stagger-letter{animation:none}
  .js .intro-hero__scroll.is-revealed .intro-hero__scroll-letter,
  .js .intro-hero__scroll.is-revealed .intro-hero__scroll-arrow{animation:none}
  .work-card.card-await,.work-card.card-shown{opacity:1;transform:none;transition:none}
  .work-card__link,.work-card__arrow{transition:none}
}

/* Home philosophy section. */
.signals{position:relative;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;gap:clamp(40px,5vw,64px);padding:clamp(96px,10vw,140px) var(--margin);background:#0E0E0F;color:#8A8A92;font-family:'Space Grotesk',var(--sans)}
.signals__glow{position:absolute;z-index:-1;right:-200px;top:-260px;width:760px;height:760px;border-radius:50%;background:radial-gradient(closest-side,rgba(166,163,242,.28),transparent);pointer-events:none}
.signals__body{max-width:1180px;margin:0;font-size:clamp(25px,2.8vw,40px);line-height:1.42;letter-spacing:-.01em}
.signals__body b{font-family:'Archivo Black',var(--display-sans);font-weight:400;text-transform:uppercase;letter-spacing:-.02em;color:#fff}
.signals__foot{display:flex;justify-content:space-between;align-items:center;gap:32px 48px;padding-top:40px;border-top:1px solid #26262A}
.signals__mission-group{display:flex;flex-direction:column;align-items:flex-start;gap:16px;max-width:640px}
.signals__mission{max-width:640px;margin:0;font-size:18px;line-height:1.5;color:#B8BCC4}
.signals__mission span{color:#F2F6FB;font-weight:500}
.signals__learn-more{color:#F2F6FB;font-size:16px;line-height:1.4;text-decoration:underline;text-underline-offset:4px}
.signals__learn-more:hover{color:#A3BEDB}
.signals__learn-more:focus-visible{outline:2px solid #A3BEDB;outline-offset:4px}
.signals__cta{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 28px;border:1px solid #A3BEDB;border-radius:6px;color:#F2F6FB;font-size:15px;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;transition:background var(--d-hover) var(--settle)}
.signals__cta:hover{background:rgba(163,190,219,.12)}
.signals__cta:focus-visible{outline:2px solid #A3BEDB;outline-offset:3px}
@media(max-width:699px){
  .signals__glow{right:-320px;top:-340px}
  .signals__foot{flex-direction:column;align-items:flex-start}
}
@media(prefers-reduced-motion:reduce){.signals__cta{transition:none}}


/* About page layout — preserved from about.css. */
.about-header{color:#fff;background:rgba(5,5,12,.88);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.about-nav{display:flex;align-items:center;gap:clamp(16px,3vw,40px)}
.about-nav a{padding:12px 0;color:rgba(255,255,255,.78)}
.about-nav a:hover,.about-nav a[aria-current]{color:#fff}
.about-nav a[aria-current]{border-bottom:1px solid currentColor}
.about-hero{position:relative;isolation:isolate;min-height:100svh;overflow:hidden;background:#48419a;color:#fff}
.about-hero__video,.about-hero__shade{position:absolute;inset:0;width:100%;height:100%}
.about-hero__video{object-fit:cover;object-position:center;pointer-events:none}
.about-hero__shade{background:linear-gradient(90deg,rgba(5,5,12,.58),rgba(5,5,12,.12) 75%),linear-gradient(0deg,rgba(5,5,12,.4),transparent 50%);pointer-events:none}
.about-hero__copy{position:relative;z-index:1;display:flex;align-items:center;min-height:100svh;padding:120px var(--margin)}
.about-hero h1{max-width:1200px;margin:0;font-family:var(--display-sans);font-size:clamp(48px,7.8vw,130px);line-height:.94;letter-spacing:-.035em;text-transform:uppercase;text-wrap:balance;text-shadow:0 4px 28px rgba(0,0,0,.3)}
.about-hero__scroll{position:absolute;z-index:1;bottom:clamp(24px,5svh,56px);left:var(--margin);display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(255,255,255,.6);border-radius:50%;font-size:20px}
.about-portrait{display:grid;place-items:center;min-height:90svh;padding:clamp(70px,10vw,150px) var(--margin);background:#090e19}
.about-scanner{display:block;width:min(100%,540px);height:auto;aspect-ratio:4/5;border:0;background:#0a0a0b}
.about-section-inner{width:min(100%,1280px);margin:auto}
.about-beliefs,.about-obsessions{display:flex;align-items:center;min-height:100svh;padding:clamp(110px,12vw,180px) var(--margin);background-position:center;background-size:cover;color:#fff}
.about-beliefs{background-image:linear-gradient(rgba(6,4,18,.66),rgba(6,4,18,.82)),url('../assets/about-beliefs-bg.jpg')}
.about-obsessions{background-image:linear-gradient(rgba(4,4,8,.75),rgba(4,4,8,.82)),url('../assets/about-obsession-bg.png')}
.about-beliefs h2,.about-obsessions h2,.about-history h2,.about-contact h2{margin:0 0 clamp(42px,7vw,100px);font-family:var(--display-sans);font-size:clamp(42px,7vw,100px);line-height:.95;letter-spacing:-.035em;text-transform:uppercase}
.about-beliefs__list,.about-obsessions__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(32px,6vw,100px)}
.about-beliefs__list p,.about-obsessions__list p{margin:0;padding:28px 0;border-top:1px solid rgba(255,255,255,.38);font-family:var(--display-sans);font-size:clamp(22px,2.7vw,42px);line-height:1.08;text-transform:uppercase}
.about-collage{margin:0;background:#050505}
.about-collage img{width:100%;height:auto}
.about-history{padding:clamp(100px,12vw,180px) var(--margin)}
.about-history .about-section-inner{max-width:900px}
.about-history h2{margin-bottom:60px}
.about-history h3{margin:80px 0 28px;font-family:var(--display-sans);font-size:clamp(30px,4vw,54px);line-height:1.04}
.about-history p{margin:0 0 28px;font-family:var(--serif);font-size:clamp(20px,2vw,28px);line-height:1.46}
.about-history__signoff{margin-top:64px!important;font-style:italic}
.about-contact{--contact-edge-gap:36px;--contact-field-gap:28px;padding:clamp(100px,12vw,180px) var(--margin);background:#090b0e;color:#fff}
.about-contact .about-section-inner{max-width:900px}
.about-contact h2{margin-bottom:var(--contact-edge-gap)}
.about-contact__form{display:grid;gap:var(--contact-field-gap)}
.about-contact__form textarea{display:block}
.about-contact__form fieldset{margin:0;padding:0;border:0}
.about-contact__name{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.about-contact__form label{display:block;font-size:16px}
.about-contact__form input,.about-contact__form textarea{width:100%;padding:15px 16px;border:1px solid #75767b;border-radius:0;background:#15161a;color:#fff;font:inherit}
.about-contact__form :is(input,textarea)::placeholder{color:#ccc7c2;opacity:1}
.about-contact__form input:focus-visible,.about-contact__form textarea:focus-visible{outline:2px solid var(--filament);outline-offset:2px}
.about-contact__form button{justify-self:start;margin-block-start:calc(var(--contact-edge-gap) - var(--contact-field-gap));min-width:150px;min-height:48px;padding:12px 24px;border:1px solid #fff;background:#fff;color:#111;font:600 13px var(--mono);letter-spacing:.1em;cursor:pointer}
.about-contact__form button:hover{background:var(--filament);border-color:var(--filament)}
@media(max-width:699px){
  .about-header{padding:12px var(--margin)}
  .about-header .wordmark--signature{width:72px;height:46px}
  .about-hero__copy{padding-block:100px 132px}
  .about-hero h1{font-size:clamp(42px,10.5vw,70px)}
  .about-portrait{min-height:auto}
  .about-beliefs__list,.about-obsessions__list,.about-contact__name{grid-template-columns:1fr}
  .about-beliefs__list p,.about-obsessions__list p{padding:22px 0}
  .about-history h2{margin-bottom:42px}
}


/* Amazon draft layout — preserved from amazon.css. */
/* Case 03 — Amazon. A local structural draft using The Seam's shared components. */
body[data-case="amazon"]{--basalt:#090A0C;--stone-900:#111318;--stone-800:#191C21;--stone-700:#30353D;--stone-600:#49505A;--stone-400:#A4ABB3;--bone:#F1EEE7;--bone-400:#C8C4BA;--filament:#E8AA6C;--filament-ink:#71400E;--filament-stroke:#CF8346;--glass-fill:rgba(9,10,12,.72);--glass-edge:rgba(241,238,231,.15);--glow-node:0 0 0 6px rgba(232,170,108,.14),0 0 24px 4px rgba(232,170,108,.4)}
body[data-case="amazon"] .seam__drawn{filter:drop-shadow(0 0 4px rgba(232,170,108,.55))}
body[data-case="amazon"] .scene .muted{color:var(--stone-400)}
body[data-case="amazon"] .scene{scroll-margin-top:110px}
.amazon-hero{min-height:100svh;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);grid-template-areas:"copy trace" "facts facts";gap:clamp(36px,4vw,72px);align-content:center;padding:clamp(140px,16svh,210px) var(--margin) 80px;overflow:hidden}
.amazon-hero__background{background:radial-gradient(circle at 78% 37%,rgba(232,170,108,.16),transparent 30%),linear-gradient(140deg,#111318 0%,#090A0C 48%,#171318 100%)}
.amazon-hero__background::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,10,12,.15),transparent 75%);pointer-events:none}
.amazon-hero__background .grain{opacity:.22}
.amazon-hero .hero__title{grid-area:copy;z-index:2;width:auto;max-width:none;padding:0;margin:0;min-width:0}
.amazon-hero .rule-label{margin-bottom:30px}
.amazon-title{font-size:clamp(43px,4.6vw,79px);line-height:.91;letter-spacing:-.03em;max-width:16ch}
.amazon-title .line{overflow:visible}
.amazon-title em{color:var(--filament)}
.amazon-thesis{position:static;display:block;max-width:58ch;margin:60px 0 0;padding-left:20px}
.amazon-thesis p:last-child{font-size:clamp(19px,1.6vw,25px);line-height:1.3}
.amazon-hero__trace{grid-area:trace;z-index:2;align-self:center;min-width:0;padding:28px;border:1px solid var(--stone-700);background:rgba(17,19,24,.72);box-shadow:var(--elev-pane)}
.amazon-hero__trace>p:first-child{margin:0 0 28px}
.amazon-hero__trace>p:last-child{margin:20px 0 0}
.conversation-trace{list-style:none;margin:0;padding:0}
.conversation-trace li{display:flex;gap:18px;align-items:center;min-height:108px;padding:20px 0;border-top:1px solid var(--stone-700)}
.conversation-trace li:last-child{border-bottom:1px solid var(--stone-700)}
.conversation-trace__number{color:var(--filament)}
.conversation-trace strong{display:block;font-family:var(--serif);font-size:clamp(28px,2.2vw,36px);font-weight:350;line-height:1.1}
.conversation-trace small{display:block;margin-top:6px;color:var(--stone-400);font-family:var(--mono);font-size:11px;letter-spacing:.03em}
.amazon-facts{grid-area:facts;position:relative;right:auto;top:auto;z-index:2;display:block;width:100%;max-width:none;margin:20px 0 0;padding:20px 24px}
.amazon-facts dl{grid-template-columns:110px 1fr;max-width:760px}
.amazon-hero .seam-origin{position:absolute;left:var(--seam);bottom:0;z-index:2}
.amazon-system{margin:48px 0 0;padding:clamp(20px,3vw,44px);max-width:1100px}
.amazon-system .tensions{border-color:var(--stone-700)}
.amazon-system__flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;gap:12px;margin:0;padding:0}
.amazon-system__flow li{display:flex;flex-direction:column;gap:12px;justify-content:center;min-height:160px;padding:20px;border:1px solid var(--stone-700);background:linear-gradient(145deg,rgba(232,170,108,.08),transparent 65%)}
.amazon-system__flow strong{font-family:var(--serif);font-size:clamp(21px,2vw,30px);font-weight:350;line-height:1.1}
.amazon-system>.meta{margin:20px 0 0}
.amazon-decisions .decisions{margin-top:48px}
.amazon-decisions .decision{grid-template-columns:72px minmax(0,1fr) minmax(220px,34%);gap:24px;border-top:1px solid var(--stone-700);padding-top:32px;align-items:center}
.amazon-decisions .decision__text .muted{font-family:var(--mono);font-size:var(--fs-meta);font-style:normal;white-space:nowrap}
.amazon-decision__slot{display:flex;min-height:220px;flex-direction:column;justify-content:space-between;padding:24px;border:1px dashed var(--stone-600);background:rgba(232,170,108,.035)}
.amazon-decision__slot p{margin:0;font-family:var(--serif);font-size:27px;line-height:1.15}
.amazon-evidence .ev{min-height:390px;cursor:default;background:var(--stone-900);color:var(--bone)}
.amazon-evidence__slot{display:grid;place-items:center;flex:1;min-height:220px;border:1px dashed var(--stone-600);font-family:var(--serif);font-size:clamp(70px,8vw,110px);font-weight:200;color:var(--stone-600)}
.amazon-evidence .ev__cap{color:var(--stone-400)}
.amazon-evidence .ev__cap span:first-child{color:var(--bone)}
.amazon-evidence .ev__cap span:last-child{max-width:35ch}
body[data-case="amazon"] .prompt{max-width:65ch}
@media(max-width:899px){
  body[data-case="amazon"] .scene__body{padding-left:20px}
  body[data-case="amazon"] .scene>.amazon-system{margin-left:20px;width:calc(100% - 20px)}
  body[data-case="amazon"] .scene>.decisions{margin-left:20px;width:calc(100% - 20px)}
  body[data-case="amazon"] .scene>.evidence__rail{margin-left:20px;width:calc(100% - 20px)}
  .amazon-hero{grid-template-columns:1fr;grid-template-areas:"copy" "trace" "facts";padding-top:clamp(120px,15svh,170px);gap:40px}
  .amazon-title{font-size:clamp(39px,7.2vw,68px);max-width:18ch}
  .amazon-hero__trace{width:100%;max-width:680px}
  .amazon-facts{margin-top:0}
  .amazon-decisions .decision{grid-template-columns:50px minmax(0,1fr)}
  .amazon-decision__slot{grid-column:1 / -1;min-height:170px}
}
@media(max-width:599px){
  .amazon-hero{padding-top:110px;padding-bottom:56px;gap:32px}
  .amazon-hero .rule-label{gap:10px;margin-bottom:24px}
  .amazon-hero .rule-label .rule{width:26px}
  .amazon-title{font-size:clamp(29px,8.4vw,44px);line-height:.96;letter-spacing:-.035em}
  .amazon-thesis{margin-top:48px}
  .amazon-hero__trace{padding:18px}
  .conversation-trace li{min-height:80px;padding:12px 0}
  .conversation-trace strong{font-size:26px}
  .amazon-facts{padding:18px}
  .amazon-facts dl{grid-template-columns:70px 1fr;gap:8px}
  .amazon-system__flow{grid-template-columns:1fr}
  .amazon-system__flow li{min-height:100px}
  .amazon-system .tensions{grid-template-columns:1fr}
  .amazon-decisions .decisions{padding:0}
  .amazon-decisions .decision{grid-template-columns:38px minmax(0,1fr);gap:12px}
  .amazon-decisions .decision__num{font-size:42px}
  .amazon-decision__slot{grid-column:1 / -1}
  .amazon-evidence .ev{min-height:360px}
  .ownership-list div{grid-template-columns:1fr;gap:8px}
}
@media(prefers-reduced-motion:reduce){.amazon-hero .line>span,.amazon-hero .is-ready .line>span{transition:none;transform:none}}


/* Zibo draft layout — preserved from zibo.css. */
/* Case 05 — local-only Zibo draft. All screen interiors are labeled placeholders. */
body[data-case="zibo"]{--basalt:#0b1114;--stone-900:#101a1d;--stone-800:#172327;--stone-700:#294044;--stone-600:#456166;--stone-400:#9eafb1;--bone:#f2eee5;--bone-400:#c5d0cb;--filament:#b8dbc9;--filament-ink:#214936;--glass-edge:rgba(198,224,211,.21);--glass-fill:rgba(12,27,27,.7);--glow-node:0 0 0 6px rgba(184,219,201,.12),0 0 20px rgba(184,219,201,.35)}
body[data-case="zibo"] .site-header{background:linear-gradient(180deg,rgba(5,14,17,.9),rgba(5,14,17,0));gap:20px}
body[data-case="zibo"] .global-nav{display:flex}
body[data-case="zibo"] .case-context{margin-left:auto;color:var(--bone-400);white-space:nowrap}
body[data-case="zibo"] .case-context span{color:var(--filament)}
.zibo-main{overflow:hidden;background:var(--basalt)}
.zibo-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.13fr) minmax(0,.87fr);align-items:center;gap:clamp(30px,5vw,88px);min-height:100svh;padding:clamp(138px,14svh,190px) var(--margin) 88px;background:radial-gradient(circle at 75% 30%,rgba(119,178,147,.24),transparent 30%),linear-gradient(145deg,#0b1114 30%,#122529 100%)}
.zibo-hero::before{content:"";position:absolute;left:var(--seam);top:0;bottom:0;width:1px;background:linear-gradient(transparent,rgba(184,219,201,.7),transparent);pointer-events:none}
.zibo-hero__copy,.zibo-hero__figure{position:relative;z-index:1;min-width:0}
.zibo-hero h1{max-width:13ch;margin:22px 0 26px;font-family:var(--display-sans);font-size:clamp(48px,5.6vw,98px);line-height:var(--case-hero-leading,.96);letter-spacing:-.035em;text-transform:uppercase}
.zibo-hero h1 em,.zibo-intro h2 em,.zibo-close h2 em{color:var(--filament);font-style:normal}
.zibo-hero__deck{max-width:58ch;margin:0;color:var(--bone-400);font-family:var(--serif);font-size:clamp(20px,1.7vw,28px);line-height:1.34}
.zibo-facts{display:flex;flex-wrap:wrap;gap:12px 40px;max-width:620px;margin:36px 0 0;padding-top:20px;border-top:1px solid var(--stone-600)}
.zibo-facts div{min-width:190px}
.zibo-facts dt{color:var(--filament);font-family:var(--mono);font-size:11px;text-transform:uppercase;letter-spacing:.12em}
.zibo-facts dd{margin:5px 0 0;color:var(--bone);font-size:16px;line-height:1.35}
.zibo-visual{min-width:0;margin:0;border:0;background:#142025;box-shadow:var(--elev-pane)}
.zibo-visual__top{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 20px;padding:15px 18px;border-bottom:1px solid var(--stone-700);color:var(--filament)}
.zibo-visual__top span:last-child{color:var(--stone-400)}
.zibo-visual figcaption{padding:16px 20px;color:var(--bone-400);font-family:var(--mono);font-size:12px;line-height:1.5;border-top:1px solid var(--stone-700)}
.zibo-stage{display:grid;place-items:center;min-height:680px;padding:48px 30px;background:radial-gradient(circle at 50% 38%,#31545a,#172b30 48%,#0e1b20 80%)}
.zibo-stage--hero{min-height:700px;background:radial-gradient(circle at 54% 40%,#3d665e,#183633 50%,#0d2426 85%)}
.zibo-stage--sage{background:radial-gradient(circle at 45% 45%,#536554,#273b34 52%,#122521 85%)}
.zibo-device{position:relative;width:min(100%,340px);aspect-ratio:390/780;padding:10px;border:3px solid #11191c;border-radius:48px;background:#071012;box-shadow:0 0 0 2px #6c8280,0 30px 70px rgba(0,0,0,.5);color:#172d2b;font-family:var(--sans)}
.zibo-device__camera{position:absolute;z-index:2;left:50%;top:14px;width:29%;height:21px;transform:translateX(-50%);border-radius:20px;background:#071012}
.zibo-screen{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden;padding:44px 20px 18px;border-radius:35px;background:#eef1e9}
.zibo-screen__brand{display:flex;justify-content:space-between;align-items:center;color:#2b6456;font-family:var(--mono);font-size:12px;font-weight:700;letter-spacing:.16em}
.zibo-screen__brand span{font-size:22px;line-height:1}
.zibo-screen__eyebrow{margin:28px 0 8px;color:#52756b;font-family:var(--mono);font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.zibo-screen__heading{margin:0 0 20px;font-family:var(--serif);font-size:clamp(27px,2.5vw,38px);font-weight:450;line-height:1.03;letter-spacing:-.025em}
.zibo-screen__progress{display:flex;gap:5px;margin:0 0 18px}
.zibo-screen__progress i{height:4px;flex:1;border-radius:3px;background:#cad9d0}
.zibo-screen__progress i:first-child{background:#357a66}
.zibo-screen__tile,.zibo-screen__panel{display:flex;flex-direction:column;gap:5px;margin:0 0 9px;padding:13px;border:1px solid #d4dfd8;border-radius:10px;background:#fff;color:#1e3934}
.zibo-screen__tile small,.zibo-screen__panel small{color:#56746b;font-family:var(--mono);font-size:9px;letter-spacing:.06em}
.zibo-screen__tile strong,.zibo-screen__panel strong{font-size:17px;line-height:1.15}
.zibo-screen__tile span,.zibo-screen__panel span{color:#60716c;font-size:11px;line-height:1.3}
.zibo-screen__status{display:flex;gap:8px;align-items:center;margin:4px 0 14px;color:#6e5218;font-size:13px;font-weight:700}
.zibo-screen__status i{width:9px;height:9px;border-radius:50%;background:#be9248}
.zibo-screen__panel{padding:22px 16px;gap:9px}
.zibo-screen__button{margin-top:auto;padding:12px 10px;border-radius:7px;background:#2d6b59;color:#fff;font-size:13px;font-weight:700;text-align:center}
.zibo-screen__disclaimer{margin-top:11px;color:#667a72;font-family:var(--mono);font-size:8px;text-align:center}
.zibo-intro{max-width:1250px;margin:0 auto;padding:clamp(110px,13vw,190px) var(--margin)}
.zibo-intro h2,.zibo-close h2{max-width:15ch;margin:16px 0 25px;font-family:var(--display-sans);font-size:clamp(42px,5vw,78px);line-height:.99;letter-spacing:-.03em;text-transform:uppercase}
.zibo-intro>p:last-child,.zibo-close>p:not(.lbl){max-width:64ch;color:var(--bone-400);font-family:var(--serif);font-size:clamp(21px,1.9vw,30px);line-height:1.4}
.zibo-scene{margin-top:0;padding-top:100px;padding-bottom:100px;border-top:1px solid var(--stone-700)}
.zibo-scene .scene__index .node{background:var(--filament);border-color:var(--filament)}
.zibo-scene__body{max-width:1080px}
.zibo-scene__copy{max-width:780px;margin-bottom:46px}
.zibo-scene__copy h2{max-width:16ch;margin:12px 0 22px;font-family:var(--serif);font-size:clamp(38px,4.2vw,68px);font-weight:350;line-height:1.02;letter-spacing:-.025em}
.zibo-scene__copy>p:not(.lbl){max-width:65ch;color:var(--bone-400);font-size:clamp(17px,1.1vw,20px);line-height:1.6}
.zibo-caveat{padding-left:15px;border-left:2px solid var(--filament);font-family:var(--mono);font-size:12px!important;line-height:1.55!important}
.zibo-flow{background:#dfe8dd;color:#17342f}
.zibo-flow .zibo-visual__top{border-color:#a7bbb0;color:#2d6954}
.zibo-flow .zibo-visual__top span:last-child{color:#426357}
.zibo-flow__steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;list-style:none;margin:0;padding:clamp(22px,4vw,50px)}
.zibo-flow__steps li{display:flex;flex-direction:column;min-height:230px;padding:22px;border:1px solid #a7bdb0;background:#f2f5ee}
.zibo-flow__num{color:#43826b;font-family:var(--mono);font-size:13px}
.zibo-flow__steps strong{max-width:10ch;margin:auto 0 5px;font-family:var(--serif);font-size:clamp(26px,2.5vw,43px);font-weight:430;line-height:1}
.zibo-flow__steps small{color:#57736a;font-size:13px;line-height:1.35}
.zibo-flow__branch{display:flex;align-items:baseline;gap:25px;margin:0 clamp(22px,4vw,50px) 45px;padding:15px 0;border-top:1px solid #adc2b4}
.zibo-flow__branch .lbl{white-space:nowrap;color:#2d6954}
.zibo-flow__branch p{margin:0;font-family:var(--serif);font-size:20px}
.zibo-flow figcaption{border-color:#a7bbb0;color:#426357}
.zibo-phone-figure .zibo-stage{min-height:760px}
.zibo-state-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;max-width:650px;list-style:none;margin:30px 0 0;padding:1px;background:var(--stone-700)}
.zibo-state-list li{display:flex;flex-direction:column;gap:5px;padding:16px;background:var(--stone-900)}
.zibo-state-list span{font-size:16px;color:var(--bone)}
.zibo-state-list small{font-family:var(--mono);font-size:11px;color:var(--stone-400)}
.zibo-components__board{padding:clamp(20px,4vw,54px);background:#e7eee5;color:#204139}
.zibo-components__head{display:flex;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid #a2bcac;font-family:var(--mono);font-size:12px;letter-spacing:.1em}
.zibo-components__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:25px 0}
.zibo-components__grid>div{display:flex;flex-direction:column;min-height:190px;padding:24px;border:1px solid #b5c9bc;background:#fff}
.zibo-components__dot{width:14px;height:14px;border-radius:50%;background:#4e8b71}
.zibo-components__grid>div:nth-child(2) .zibo-components__dot{background:#c39b54}
.zibo-components__grid>div:nth-child(3) .zibo-components__dot{background:#cf8061}
.zibo-components__grid>div:nth-child(4) .zibo-components__dot{background:#697a7d}
.zibo-components__grid strong{margin:auto 0 2px;font-family:var(--serif);font-size:clamp(26px,3vw,43px);font-weight:400;line-height:1}
.zibo-components__grid span{color:#617b70;font-size:13px}
.zibo-components__board>p{color:#557568;font-family:var(--mono);font-size:11px}
.zibo-practice{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;padding:1px;border:1px solid var(--stone-700);background:var(--stone-700)}
.zibo-practice>div{display:flex;flex-direction:column;min-height:240px;justify-content:space-between;padding:24px;background:var(--stone-900)}
.zibo-practice span{font-family:var(--mono);font-size:11px;color:var(--filament)}
.zibo-practice strong{font-family:var(--serif);font-size:clamp(25px,2.5vw,36px);font-weight:350;line-height:1.1}
.zibo-practice>p{grid-column:1/-1;margin:0;padding:15px 22px;background:var(--stone-900);color:var(--stone-400);font-family:var(--mono);font-size:11px}
.zibo-close{padding:clamp(100px,12vw,180px) var(--margin);background:linear-gradient(135deg,#142a2a,#0b1114 70%)}
.zibo-close h2{max-width:18ch}
.zibo-ownership{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 45px;max-width:1050px;margin:55px 0 0}
.zibo-ownership div{padding:19px 0;border-top:1px solid var(--stone-600)}
.zibo-ownership dt{font-family:var(--mono);font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--filament)}
.zibo-ownership dd{margin:7px 0 0;font-family:var(--serif);font-size:clamp(21px,2vw,29px);line-height:1.2}
.zibo-threshold{padding:90px var(--margin) 45px;border-top:1px solid var(--stone-700)}
.zibo-threshold__link{display:flex;flex-direction:column;gap:9px;max-width:850px;padding:28px 0;border-top:1px solid var(--filament)}
.zibo-threshold__link strong{display:flex;justify-content:space-between;gap:15px;font-family:var(--serif);font-size:clamp(48px,6vw,88px);font-weight:350;line-height:1.02}
.zibo-threshold__link:hover strong{color:var(--filament)}
.zibo-threshold .meta{margin:50px 0 0;max-width:64ch}
@media(max-width:1100px){.zibo-hero{grid-template-columns:1fr;gap:55px}.zibo-hero__copy{max-width:850px}.zibo-hero__figure{max-width:690px;width:100%;justify-self:center}}
@media(max-width:899px){body[data-case="zibo"] .case-context{display:none}body[data-case="zibo"] .global-nav{position:static;transform:none}.zibo-scene{padding-top:78px;padding-bottom:78px}.zibo-scene .scene__index{padding-left:20px}.zibo-scene__body{padding-left:20px}}
@media(max-width:620px){body[data-case="zibo"] .site-header{padding:14px 18px}body[data-case="zibo"] .wordmark--signature{width:70px;height:44px}body[data-case="zibo"] .global-nav{gap:2px;padding:4px}body[data-case="zibo"] .glass-nav__item{min-width:58px;padding:8px 9px;font-size:10px}.zibo-hero{padding:116px 18px 60px;gap:44px}.zibo-hero h1{font-size:clamp(40px,10.3vw,58px)}.zibo-hero__deck{font-size:20px}.zibo-facts{margin-top:28px}.zibo-visual__top{font-size:9px;padding:11px 13px}.zibo-visual figcaption{font-size:11px;padding:13px 15px}.zibo-stage,.zibo-stage--hero,.zibo-phone-figure .zibo-stage{min-height:0;padding:32px 17px}.zibo-device{width:min(100%,310px);border-radius:44px}.zibo-screen{padding:41px 17px 15px;border-radius:31px}.zibo-screen__eyebrow{margin-top:23px}.zibo-screen__heading{font-size:31px}.zibo-screen__tile{padding:11px}.zibo-screen__tile strong{font-size:15px}.zibo-intro{padding:100px 25px}.zibo-intro h2,.zibo-close h2{font-size:clamp(39px,10vw,56px)}.zibo-scene{padding:70px 18px}.zibo-scene .scene__index{padding-left:18px}.zibo-scene__body{padding-left:0}.zibo-scene__copy{margin-bottom:28px}.zibo-scene__copy h2{font-size:clamp(38px,10vw,52px)}.zibo-flow__steps{grid-template-columns:1fr;padding:18px}.zibo-flow__steps li{min-height:155px;padding:17px}.zibo-flow__steps strong{margin:auto 0 4px}.zibo-flow__branch{display:block;margin:0 18px 20px}.zibo-flow__branch p{margin-top:9px;font-size:18px}.zibo-state-list{grid-template-columns:1fr}.zibo-components__board{padding:17px}.zibo-components__grid{grid-template-columns:1fr;gap:9px}.zibo-components__grid>div{min-height:135px;padding:18px}.zibo-components__grid strong{font-size:31px}.zibo-practice{grid-template-columns:1fr}.zibo-practice>div{min-height:135px}.zibo-close{padding:105px 24px}.zibo-ownership{grid-template-columns:1fr}.zibo-threshold{padding:75px 24px 35px}.zibo-threshold__link strong{font-size:clamp(46px,12vw,64px)}}
@media(prefers-reduced-motion:reduce){body[data-case="zibo"] *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}


/* Local preview layout — preserved from preview.css. */
/* Local-only expansion preview. The release builder never copies this file. */
.preview-main,.draft-main{min-height:100svh;background:var(--basalt);color:var(--bone)}
.preview-hero,.draft-hero{position:relative;isolation:isolate;padding:clamp(150px,20svh,240px) var(--margin) clamp(80px,10svh,140px);overflow:hidden;background:radial-gradient(circle at 78% 30%,rgba(240,178,90,.12),transparent 36%),var(--basalt)}
.preview-hero::after,.draft-hero::after{content:"";position:absolute;top:0;bottom:0;left:var(--seam);width:1px;background:linear-gradient(transparent,var(--filament),transparent);opacity:.55;z-index:-1}
.preview-hero__inner,.draft-hero__inner{max-width:var(--max);margin:auto}
.preview-hero h1,.draft-hero h1{max-width:13ch;margin:22px 0 0;font-family:var(--display-sans);font-size:clamp(48px,7vw,108px);line-height:var(--case-hero-leading,.95);letter-spacing:-.035em;text-transform:uppercase}
.preview-hero h1 em,.draft-hero h1 em{color:var(--filament);font-style:normal}
.preview-hero p:not(.lbl),.draft-hero p:not(.lbl){max-width:66ch;margin:28px 0 0;color:var(--bone-400);font-family:var(--serif);font-size:clamp(21px,2.1vw,32px);line-height:1.3}
.preview-lede{max-width:var(--max);margin:auto;padding:80px var(--margin) 20px}
.preview-lede h2,.draft-section h2{font-family:var(--serif);font-size:clamp(36px,4vw,68px);font-weight:350;line-height:1.08}
.preview-lede p{max-width:70ch;color:var(--bone-400);line-height:1.55}
.preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:var(--max);margin:auto;padding:30px var(--margin) 130px}
.preview-card{min-width:0;border:1px solid var(--stone-700);background:var(--stone-900)}
.preview-card a{display:flex;flex-direction:column;height:100%;color:inherit}
.preview-card figure{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;margin:0;overflow:hidden;background:radial-gradient(circle at 50% 50%,#34312d,#111113 75%)}
.preview-card img{width:100%;height:100%;object-fit:contain}
.preview-card__type{display:grid;place-items:center;width:100%;height:100%;padding:20px;color:var(--filament);font-family:var(--display-sans);font-size:clamp(30px,3vw,52px);text-align:center;line-height:1;text-transform:uppercase}
.preview-card__body{padding:26px}
.preview-card h2{margin:14px 0;font-family:var(--serif);font-size:clamp(30px,3vw,45px);font-weight:350}
.preview-card p:last-child{color:var(--bone-400);line-height:1.45}
.preview-card a:hover,.draft-back:hover{background:rgba(240,178,90,.06)}
.preview-status{max-width:var(--max);margin:auto;padding:0 var(--margin) 100px;color:var(--stone-400)}
.draft-facts{display:flex;gap:10px 30px;flex-wrap:wrap;margin:30px 0 0;padding:18px 0;border-top:1px solid var(--stone-700);border-bottom:1px solid var(--stone-700);color:var(--bone-400)}
.draft-facts strong{color:var(--bone);font-weight:500}
.draft-story{max-width:var(--max);margin:auto;padding:0 var(--margin) 80px}
.draft-section{display:grid;grid-template-columns:minmax(125px,18%) minmax(0,1fr);gap:30px 60px;padding:90px 0;border-top:1px solid var(--stone-700)}
.draft-section__label{color:var(--filament);font-family:var(--mono);text-transform:uppercase}
.draft-section__body{max-width:1000px}
.draft-section h2{margin:0 0 28px}
.draft-section p{max-width:66ch;color:var(--bone-400);font-size:clamp(17px,1.3vw,21px);line-height:1.55}
.draft-section figure{margin:38px 0 0;background:var(--stone-900);border:0}
.draft-section figure img{display:block;width:100%;max-height:650px;object-fit:contain;background:#141416}
.draft-section figcaption{padding:15px 20px;color:var(--bone-400);font-family:var(--mono);font-size:12px;line-height:1.45}
.draft-proof{display:grid;min-height:280px;place-items:center;padding:35px;text-align:center;color:var(--filament);font-family:var(--serif);font-size:clamp(32px,4vw,58px);line-height:1.12}
.draft-notice{padding:22px 26px;border-left:2px solid var(--filament);background:rgba(240,178,90,.06);color:var(--bone-400);line-height:1.5}
.draft-back{display:inline-flex;gap:16px;align-items:center;padding:16px 20px;border:1px solid var(--filament);color:var(--bone)}
.lab-panel{padding:26px;border:1px solid var(--stone-700);background:var(--stone-900)}
.lab-controls{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}
.lab-controls button{padding:12px 18px;border:1px solid var(--stone-600);background:transparent;color:var(--bone);cursor:pointer}
.lab-controls button[aria-pressed="true"]{border-color:var(--filament);background:rgba(240,178,90,.12)}
.lab-output{min-height:100px;color:var(--bone);font-family:var(--serif);font-size:clamp(22px,3vw,36px)}
.lab-code{overflow:auto;padding:22px;background:#0b0b0c;color:var(--bone-400);font-family:var(--mono);font-size:13px;line-height:1.6}
@media(max-width:900px){.preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.draft-section{grid-template-columns:1fr;gap:20px;padding:65px 0}}
@media(max-width:620px){.preview-grid{grid-template-columns:1fr}.preview-hero,.draft-hero{padding-top:145px}.preview-hero h1,.draft-hero h1{font-size:clamp(42px,12vw,68px)}.draft-section{padding:50px 0}.draft-section figure{margin-top:25px}}
@media(prefers-reduced-motion:reduce){.preview-card a,.draft-back{scroll-behavior:auto;transition:none}}


/* Light theme and theme control — preserved from light-theme.css. */
/* Daylight editorial mode: paper, ink and restrained case accents. */
html[data-theme="light"] { color-scheme: light; }
html[data-theme="light"] body {
  --basalt:var(--white); --stone-900:#fffdf8; --stone-800:#eee7db;
  --stone-700:#d4cabb; --stone-600:#a99c89; --stone-400:#665f54;
  --bone:#1e292b; --bone-400:#445053; --ink:#1e292b; --legacy-ink-600:#536063;
  --filament:#92511d; --filament-ink:#78400f; --filament-stroke:#a15a20;
  --glass-fill:rgba(255,253,248,.94); --glass-edge:rgba(30,41,43,.18);
  --elev-pane:0 16px 40px -24px rgba(30,41,43,.25);
  --elev-plate:0 28px 56px -40px rgba(30,41,43,.26);
  background:var(--basalt); color:var(--bone);
}
html[data-theme="light"] body[data-case="gopro"] {
  --filament:#09678b; --filament-ink:#075d80; --filament-stroke:#0a7196;
}
html[data-theme="light"] .site-main,
html[data-theme="light"] .home-work { background-color:var(--basalt); }
html[data-theme="light"] .home-work { background-image:radial-gradient(circle at 83% 7%,rgba(146,81,29,.07),transparent 32%); }
html[data-theme="light"] .work-card { box-shadow:0 14px 38px -32px rgba(30,41,43,.35); }
html[data-theme="light"] .work-card__link:hover { background:rgba(146,81,29,.06); }
html[data-theme="light"] .plate--paper,
html[data-theme="light"] .ev--b { background:#fffdf8; color:#1e292b; }
html[data-theme="light"] .plate--paper .muted,
html[data-theme="light"] .plate--paper .meta { color:#536063; }
html[data-theme="light"] .plate--stone { background:#fffdf8; }
html[data-theme="light"] .mine { color:var(--bone); }

/* Media-led openings remain dark chapters, with light content following them. */
html[data-theme="light"] .intro-hero,
html[data-theme="light"] .pax-hero,
html[data-theme="light"] .gopro-hero,
html[data-theme="light"] .hero-transition,
html[data-theme="light"] .threshold {
  --bone:#f2f0eb; --bone-400:#cbc8c1; --stone-400:#b6b3ad;
  --basalt:#0a0a0b; color:var(--bone);
}
html[data-theme="light"] .gopro-hero,
html[data-theme="light"] body[data-case="gopro"] .hero-transition { --basalt:#05070a; --bone:#f2f6f8; --bone-400:#c8d2d8; }
html[data-theme="light"] .pax-hero { --filament:#f0b25a; }
html[data-theme="light"] .gopro-hero,
html[data-theme="light"] body[data-case="gopro"] .hero-transition { --filament:#25b8f2; }
html[data-theme="light"] .site-header { color:#f2f0eb; }
html[data-theme="light"] .site-header { --filament:#f0b25a; }
html[data-theme="light"] body[data-case="gopro"] .site-header { --filament:#25b8f2; }
html[data-theme="light"] .site-header .glass-nav { background:rgba(10,10,11,.62); border-color:rgba(255,255,255,.2); }
html[data-theme="light"] .site-header .glass-nav__item { color:#d1d1cf; }
html[data-theme="light"] .site-header .glass-nav__item.is-active { background:rgba(255,255,255,.13); color:#fff; }
html[data-theme="light"] .site-header .case-context { color:#f2f0eb; }
html[data-theme="light"] .site-header .wordmark--signature img { mix-blend-mode:normal; }

/* A quiet print-like close instead of a second dark feature panel. */
html[data-theme="light"] .signals { background:#e8e1d5; color:#465054; }
html[data-theme="light"] .signals__glow { background:radial-gradient(closest-side,rgba(146,81,29,.12),transparent); }
html[data-theme="light"] .signals__body b,
html[data-theme="light"] .signals__mission span { color:#1e292b; }
html[data-theme="light"] .signals__foot { border-color:#c9bdad; }
html[data-theme="light"] .signals__mission { color:#465054; }
html[data-theme="light"] .signals__learn-more { color:#1e292b; }
html[data-theme="light"] .signals__learn-more:hover { color:#92511d; }
html[data-theme="light"] .signals__learn-more:focus-visible { outline-color:#92511d; }
html[data-theme="light"] .signals__cta { border-color:#92511d; color:#1e292b; }
html[data-theme="light"] .signals__cta:hover { background:rgba(146,81,29,.1); }
html[data-theme="light"] .signals__cta:focus-visible { outline-color:#92511d; }

.theme-toggle { display:none; align-items:center; justify-content:center; min-height:44px; min-width:100px; padding:8px 14px; border:1px solid rgba(255,255,255,.3); border-radius:999px; background:rgba(10,10,11,.66); color:#fff; font:500 11px/1.2 var(--mono); letter-spacing:.08em; text-transform:uppercase; cursor:pointer; backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); }
.js .theme-toggle { display:flex; }
.theme-toggle:hover { background:rgba(10,10,11,.9); }
.theme-toggle:focus-visible { outline:2px solid #fff; outline-offset:3px; }
.site-header>.theme-toggle { margin-left:auto; }
.site-header:has(.global-nav)>.theme-toggle { margin-left:auto; }
@media(max-width:899px) { .theme-toggle { min-width:44px; padding:8px 12px; } }

/* The metal pull cord is shared; Home delays it until Selected Work. */
.js .theme-toggle--cord {
  position:fixed;top:0;right:14px;display:block;width:64px;height:174px;
  min-width:64px;min-height:174px;margin:0;padding:0;border:0;border-radius:0;
  background:none;backdrop-filter:none;-webkit-backdrop-filter:none;
  visibility:hidden;pointer-events:none;touch-action:manipulation;
}
.js .theme-toggle--cord.is-visible {
  visibility:visible;pointer-events:auto;animation:cord-arrive 1.65s both;
}
.theme-toggle--cord:hover { background:none; }
.js .theme-toggle--cord.is-visible.is-away { pointer-events:none; }
@media(max-width:899px){body[data-case="gopro"] .gopro-rivet-nav{margin-right:70px}}
@media(min-width:900px){body[data-case="gopro"] .case-context{margin-right:64px}}
.theme-toggle--cord .theme-cord {
  position:absolute;top:0;left:50%;display:block;width:28px;height:158px;
  transform:translateX(-50%) scale(.765);transform-origin:50% 0;
}
.theme-toggle--cord .theme-cord::before {
  content:"";position:absolute;left:0;bottom:100%;width:28px;height:56px;
  background:url('../assets/pull-cord.webp') center top / 28px 158px no-repeat;
  transform:scaleY(-1);pointer-events:none;
}
.theme-toggle--cord.is-visible .theme-cord {
  animation:cord-settle 2.1s 1.05s both;
}
.theme-cord__img {
  display:block;width:28px;height:158px;pointer-events:none;user-select:none;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 16%,#000 84%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 16%,#000 84%,transparent 100%);
  filter:drop-shadow(0 6px 8px rgba(0,0,0,.45));
}
.theme-cord__video {
  position:absolute;top:-153px;left:50%;display:none;width:83px;height:333px;
  transform:translateX(-50%);pointer-events:none;
}
.theme-toggle--cord.has-video .theme-cord__video { display:block; }
.theme-toggle--cord.has-video .theme-cord__img { visibility:hidden; }
.theme-toggle--cord:focus-visible { outline:none; }
.theme-toggle--cord:focus-visible .theme-cord { outline:3px solid #f0b25a;outline-offset:5px;border-radius:14px; }
.theme-toggle--cord.is-tugging .theme-cord { animation:cord-tug .72s ease-out both; }
@keyframes cord-arrive {
  0% { transform:translateY(-190px); }
  48% { transform:translateY(10px); }
  67% { transform:translateY(-5px); }
  81% { transform:translateY(2px); }
  92% { transform:translateY(-1px); }
  100% { transform:translateY(0); }
}
@keyframes cord-settle {
  0%,100% { transform:translateX(-50%) rotate(0) scale(.765); }
  22% { transform:translateX(-50%) rotate(5deg) scale(.765); }
  47% { transform:translateX(-50%) rotate(-2.7deg) scale(.765); }
  68% { transform:translateX(-50%) rotate(1.2deg) scale(.765); }
  84% { transform:translateX(-50%) rotate(-.4deg) scale(.765); }
}
@keyframes cord-tug {
  0%,100% { transform:translateX(-50%) translateY(0) rotate(0) scale(.765); }
  23% { transform:translateX(-50%) translateY(13px) rotate(2deg) scale(.765); }
  48% { transform:translateX(-50%) translateY(-5px) rotate(-1deg) scale(.765); }
  70% { transform:translateX(-50%) translateY(2px) rotate(.4deg) scale(.765); }
}
@media(max-width:899px) {
  .js .theme-toggle--cord { width:64px;min-width:64px; }
}
@media(prefers-reduced-motion:reduce) {
  .js .theme-toggle--cord.is-visible,
  .theme-toggle--cord.is-visible .theme-cord,
  .theme-toggle--cord.is-tugging .theme-cord { animation:none; }
}


/* Bridge old page selectors to the new brand foundation. The old selectors still
   carry layout, media, animation, theme, and case-specific behavior. */
:root {
  --basalt: var(--ink-900);
  --stone-900: var(--ink-800);
  --stone-800: var(--ink-700);
  --stone-700: var(--ink-600);
  --stone-600: var(--ink-600);
  --stone-400: var(--mute-400);
  --bone: var(--white);
  --bone-400: var(--mute-200);
  --ink: var(--ink-900);
  --filament: var(--signal-cyan);
  --filament-ink: var(--print-cyan);
  --filament-stroke: var(--print-cyan);
  --ion: var(--lilac);
  --sans: var(--font-body);
  --serif: var(--font-body);
  --mono: var(--font-mono);
  --display-sans: var(--font-display);
  --intro-font: var(--font-display);
}
body { background: var(--basalt); color: var(--bone); font-family: var(--font-body); }
.display-xl, .headline, .display, .landing-title,
.home-work__intro h2, .intro-hero__display, .work-card__copy h3,
.mt-display-xl, .mt-headline { font-stretch: 125%; }
.lbl { font-family: var(--font-body); letter-spacing: .32em; }
.signals__body b { font-family: var(--font-display); }
.signals { font-family: var(--font-body); }

/* Restore only the three pre-consolidation editorial treatments. */
body[data-case="pax"] .pax-mission #h01 {
  font-family: var(--font-option-archivo-black);
  font-weight: 400;
  font-stretch: normal;
  text-transform: uppercase;
}
body[data-case="pax"] .pax-mission__ritual { font-family: var(--font-option-newsreader); font-weight: 400; font-optical-sizing: auto; }
body[data-case="pax"] .pax-mission__ritual em { font-weight: 700; font-style: italic; }
.signals__body { font-family: var(--font-option-space-grotesk); font-weight: 400; }
.signals__body b { font-family: var(--font-option-archivo-black); font-weight: 400; font-stretch: normal; }

/* Local case review media: keep company identity visible without implying approved artifacts. */
.work-card__type{display:grid;place-items:center;width:100%;height:100%;padding:1rem;color:var(--bone);font-family:var(--display-sans);font-size:clamp(1.8rem,4vw,3.5rem);letter-spacing:-.045em;text-align:center;word-break:break-word}
.zibo-source{max-width:1100px;margin:0 auto 5rem;padding:0 var(--margin)}
.zibo-source img{display:block;width:100%;height:auto;object-fit:contain}
.zibo-source figcaption{padding:12px 0;color:var(--bone-400);font-family:var(--mono);font-size:12px;line-height:1.4}

.zibo-evidence{margin:30px 0 0;padding:18px;background:var(--stone-900);border:0}
.zibo-evidence img{display:block;width:100%;max-height:650px;object-fit:contain}
.zibo-evidence--phone img{max-height:680px}
.zibo-evidence figcaption{padding:12px 0 0;color:var(--bone-400);font-family:var(--mono);font-size:12px;line-height:1.4}

/* Shrink the signature artwork 20% without shrinking its link hit area. */
.site-header .wordmark--signature img{width:80%;height:80%}

/* Case identity stays at the lower viewport edge; the signature and return link carry navigation. */
body[data-case] .global-nav,body[data-page="local-preview"]:has(.case-context) .global-nav{display:none}
body[data-case] .case-context,body[data-page="local-preview"]:has(.case-context) .case-context{position:fixed;top:auto;right:var(--margin);bottom:max(18px,env(safe-area-inset-bottom));z-index:42;display:flex;gap:12px;align-items:center;width:max-content;max-width:calc(100vw - 2 * var(--margin));margin:0;padding:9px 12px;border:1px solid var(--glass-edge);border-radius:var(--r-pill);background:rgba(10,10,11,.84);color:var(--bone-400);font-size:11px;line-height:1.2;white-space:nowrap;pointer-events:none;backdrop-filter:blur(12px)}
body[data-case] .case-context span,body[data-page="local-preview"]:has(.case-context) .case-context span{color:var(--filament)}
@media(max-width:899px){body[data-case] .case-context,body[data-page="local-preview"]:has(.case-context) .case-context{right:var(--margin);bottom:max(12px,env(safe-area-inset-bottom));gap:8px;font-size:10px}}
@media(max-width:899px){
  body[data-case="gopro"] .site-header{position:absolute}
  body[data-case="gopro"] .theme-toggle--cord{top:10px;right:10px;width:44px;height:44px;min-width:44px;min-height:44px;border:1px solid var(--glass-edge);border-radius:50%;background:rgba(10,10,11,.84);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
  body[data-case="gopro"] .theme-toggle--cord .theme-cord{display:none}
  body[data-case="gopro"] .theme-toggle--cord::after{content:"";display:block;width:16px;height:16px;margin:auto;border:2px solid var(--bone);border-radius:50%;background:linear-gradient(90deg,transparent 50%,var(--bone) 50%)}
  body[data-case="gopro"] .theme-toggle--cord:focus-visible{outline:2px solid var(--bone);outline-offset:3px}
}

/* PAX Fig. 03a card fan. Final fan is the static/no-JS/reduced-motion state; js/pax.js deals it in.
   Geometry in a 1300×769 design stage expressed in cqw; every card pivots 20px below its bottom edge. */
.decision__fig--fan{min-height:240px;padding:0;overflow:hidden;display:grid;grid-template-rows:1fr auto}
.decision__fig--fan figcaption{padding:12px 16px}
.pax-fan{position:relative;container-type:inline-size;aspect-ratio:1300/769;overflow:hidden}
.pax-fan__card{position:absolute;left:50%;top:50%;width:21.923cqw;height:49.385cqw;margin:-24.692cqw 0 0 -10.962cqw;border-radius:3.077cqw;object-fit:cover;transform-origin:50% 103.115%;box-shadow:0 2.3cqw 4.6cqw -1.5cqw rgba(0,0,0,.45);backface-visibility:hidden;will-change:transform}
.pax-fan__card:nth-child(1){transform:translate(0,-2.308cqw) rotate(-21.2deg)}
.pax-fan__card:nth-child(2){transform:translate(0,-2.308cqw) rotate(-7.1deg)}
.pax-fan__card:nth-child(3){transform:translate(0,-2.308cqw) rotate(7.1deg)}
.pax-fan__card:nth-child(4){transform:translate(0,-2.308cqw) rotate(21.2deg)}

/* GoPro promise journey: the original Figma vector draws before its waypoints appear. */
body[data-case="gopro"] #s01 .scene__body{max-width:100%}
body[data-case="gopro"] #s01{padding-top:clamp(112px,9vw,144px)}
body[data-case="gopro"] #s01 .lede{font-size:calc(var(--fs-lede) * 1.5 - .5rem);line-height:1.09}
.gopro-journey{width:100%;margin-top:clamp(32px,3.5vw,54px);overflow:hidden}
.gopro-journey__track{position:relative;width:100%;height:196px;margin-inline:auto;padding-inline:24px;box-sizing:border-box}
.gopro-journey__line{position:absolute;top:62px;left:0;width:100%;height:90px;overflow:visible}
.gopro-journey__line path{stroke-dasharray:1400;stroke-dashoffset:0}
.js .gopro-journey__line path{stroke-dashoffset:1400}
.gopro-journey.is-visible .gopro-journey__line path{animation:gopro-journey-draw 1.5s cubic-bezier(.22,.72,.25,1) forwards}
.gopro-journey__stop{position:absolute;top:calc(62px + var(--y));left:var(--x);width:13px;height:13px;border-radius:50%;background:#17b0fd;opacity:1;transform:translate(-50%,-50%) scale(1)}
.js .gopro-journey__stop{opacity:0;transform:translate(-50%,8px) scale(.65)}
.gopro-journey__stop:nth-of-type(1){left:7px}.gopro-journey__stop:last-of-type{left:calc(100% - 7px)}
.gopro-journey.is-visible .gopro-journey__stop{animation:gopro-journey-stop .42s cubic-bezier(.18,1.2,.3,1) both;animation-delay:calc(1.1s + var(--i) * .1s)}
.gopro-journey.is-static .gopro-journey__line path{stroke-dashoffset:0}.gopro-journey.is-static .gopro-journey__stop{opacity:1;transform:translate(-50%,-50%) scale(1)}
.gopro-journey__stop span{position:absolute;left:50%;bottom:20px;width:110px;transform:translateX(-50%);color:var(--bone);font:500 16.5px/1.15 var(--font-body);letter-spacing:.025em;text-align:center;text-transform:uppercase;overflow-wrap:anywhere}
.gopro-journey__stop:first-of-type span{left:0;transform:none;text-align:left}
.gopro-journey__stop:last-of-type span{left:auto;right:0;transform:none;text-align:right}
@keyframes gopro-journey-draw{to{stroke-dashoffset:0}}
@keyframes gopro-journey-stop{to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@media(min-width:900px){body[data-case="gopro"] #s01{padding-left:var(--margin)}}
@media(max-width:1099px){
  .gopro-journey__track{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;height:auto;padding:0}
  .gopro-journey__line{display:none}
  .gopro-journey__stop,.gopro-journey__stop:nth-of-type(1),.gopro-journey__stop:last-of-type{position:relative;top:auto;left:auto;width:auto;height:auto;min-height:0;aspect-ratio:4/5;padding:16px 10px 12px;border-top:2px solid #17b0fd;border-radius:0;background:#171a1d;opacity:1;transform:none;animation:none!important}
  .gopro-journey__stop span,.gopro-journey__stop:first-of-type span,.gopro-journey__stop:last-of-type span{position:static;display:block;width:auto;min-width:0;transform:none;text-align:left;font-size:16.5px}
  .js .gopro-journey__stop,.gopro-journey.is-static .gopro-journey__stop{opacity:1;transform:none}
}
@media(max-width:699px){.gopro-journey{margin-top:32px}.gopro-journey__track{grid-template-columns:repeat(2,minmax(0,1fr))}.gopro-evidence .ev--a{flex-basis:640px;min-height:0;padding:0}.gopro-evidence .ev--a .ev__image{height:auto;min-height:0}}
@media(prefers-reduced-motion:reduce){.gopro-journey__line path{stroke-dashoffset:0!important;animation:none!important}.gopro-journey__stop{opacity:1;transform:translate(-50%,-50%) scale(1);animation:none!important}}
@media(min-width:700px){
  #s02{background-image:none}
  body[data-case="gopro"] #s02::before{content:"";position:absolute;z-index:0;top:36px;right:0;width:min(38vw,500px);aspect-ratio:733/506;background:url('../assets/gopro-multiplier-arrow.png') center/contain no-repeat;transform:scaleY(-1);pointer-events:none}
  #s02.is-surfaces-hovered::before{opacity:0}
  #s02 .gopro-multiplier__factor--epics ul{row-gap:7px}
  #s02 .gopro-multiplier__factor--epics li{line-height:1.5}
}
body[data-case="gopro"] #s02 .scene__body .headline em{color:transparent;-webkit-text-stroke:1.4px var(--figure-cyan);paint-order:stroke fill}

/* GoPro desktop sections breathe equally above and below; content reveals as the prior section clears. */
@media(min-width:900px){
  body[data-case="gopro"] .scene{--gopro-section-pad:clamp(72px,6vw,96px);margin-top:0;padding-top:var(--gopro-section-pad);padding-bottom:var(--gopro-section-pad)}
  body[data-case="gopro"] #s02{padding-top:clamp(140px,12.75vw,170px);padding-bottom:clamp(96px,8vw,112px)}
  body[data-case="gopro"] #s02 .scene__index{top:clamp(70px,6vw,84px)}
  body[data-case="gopro"] .gopro-evidence .scene__body{padding-top:0}
}
@media(max-width:699px){
  body[data-case="gopro"] .hero-transition::before,
  body[data-case="gopro"] .hero-transition__media{height:clamp(580px,150vw,1040px)}
  body[data-case="gopro"] .hero-transition__content{padding-bottom:calc(clamp(580px,150vw,1040px) + 48px)}
  body[data-case="gopro"] #s02{background-image:url('../assets/gopro-multiplier-arrow.png');background-size:min(74vw,380px) auto;background-position:right bottom}
  body[data-case="gopro"] #s02{padding-top:clamp(80px,12vw,112px);padding-bottom:clamp(80px,12vw,112px)}
}

/* Desktop chapter rhythm: one clear message per viewport, with content free to grow.
   The Work helix and Session Control keep their own scroll stages. */
@media (min-width:900px){
  .home-work{min-height:100svh;padding-top:clamp(96px,12svh,160px);padding-bottom:clamp(96px,12svh,160px)}
  body[data-case="pax"] .scene,
  body[data-case="gopro"] .scene{min-height:100svh;margin-top:0;padding-top:clamp(96px,12svh,160px);padding-bottom:clamp(96px,12svh,160px)}
  body[data-case="pax"] .pax-mission .scene__body,
  body[data-case="pax"] .pax-lab .scene__body{padding-top:0}
  body[data-case="gopro"] #s02{padding-top:clamp(140px,16svh,190px);padding-bottom:clamp(140px,16svh,190px)}
  body[data-case="gopro"] #s02 .scene__index{top:clamp(70px,6vw,84px)}
}

/* PAX phone reading edge follows the same 60px trail gutter as GoPro. */
@media(max-width:899px){
  body[data-case="pax"] .pax-hero{min-height:max(100svh,844px)}
  body[data-case="pax"] .pax-hero .hero__title{align-self:flex-start;width:calc(100vw - 80px);margin-left:calc(60px - var(--margin));text-align:left}
  body[data-case="pax"] .pax-hero .hero__title .rule-label{justify-content:flex-start}
  body[data-case="pax"] .pax-hero__scope{margin-left:0;margin-right:0;white-space:normal}
  body[data-case="pax"] .pax-hero .hero__intro{transform:translate(calc(21.6px - 43vw),clamp(210px,28svh,300px)) scale(2.3);transform-origin:center 70%}
  body[data-case="pax"] .pax-hero .rule-label{gap:8px}
  body[data-case="pax"] .pax-hero .rule-label>span:not(.rule){white-space:nowrap}
  body[data-case="pax"] .pax-hero .rule-label .rule{flex:0 0 24px}
  body[data-case="pax"] .scene{padding-left:60px;padding-right:20px}
  body[data-case="pax"] .scene__index{left:auto;top:auto;padding-left:0}
  body[data-case="pax"] .pax-mission .scene__index{left:auto}
  body[data-case="pax"] .scene__index .lbl{margin-left:0}
  body[data-case="pax"] .scene__index .node{left:-33px}
  body[data-case="pax"] .scene .scene__body{max-width:none;margin-left:0;padding-left:0;padding-top:0}
  body[data-case="pax"] .scene .scene__body>h2{margin-left:0;max-width:100%}
  body[data-case="pax"] .pax-lab .headline{display:block}
  body[data-case="pax"] .pax-lab__asset{width:calc(100vw - 60px);max-width:none;height:auto;margin:32px 0 0;object-fit:contain;object-position:right center}
  body[data-case="pax"] .pax-mission__asset{width:calc(100vw - 60px);max-width:none;margin-left:0}
}

/* Phone and tablet chapters use content height and the same reading interval. */
@media(max-width:899px){
  body[data-case="pax"] .scene{min-height:0;margin-top:0;padding-top:80px;padding-bottom:80px}
  body[data-case="pax"] #s02{padding-top:80px;padding-bottom:80px}
}
@media(max-width:899px){
  body[data-case="gopro"] .scene{min-height:0;margin-top:0;padding-top:80px;padding-bottom:80px}
}

/* Zibo premise composition reveal. */
.zibo-premise{position:relative;isolation:isolate;overflow:hidden;min-height:70svh;display:flex;flex-direction:column;justify-content:center;padding:clamp(64px,8vw,120px) var(--margin);background:#eef2f3;color:#152a38}.zibo-premise::before{content:"";position:absolute;inset:0;z-index:-2;background:url('../assets/zibo-premise-bg.png') right center/cover no-repeat}.zibo-premise::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#eef2f3 0%,rgba(238,242,243,.96) 30%,rgba(238,242,243,.2) 100%)}.zibo-premise>*{max-width:48%;color:inherit}.zibo-premise .filament{color:#34627a}.zibo-premise.motion-ready::before{opacity:0;transform:translateY(-28px)}.zibo-premise.motion-ready>*{opacity:0;transform:translateY(8px)}.zibo-premise.is-shown::before{opacity:1;transform:none;transition:opacity .28s ease,transform .36s cubic-bezier(.2,.7,.2,1)}.zibo-premise.is-shown>*{opacity:1;transform:none;transition:opacity .3s ease .3s,transform .3s ease .3s}@media(max-width:699px){.zibo-premise{min-height:650px;padding-top:300px}.zibo-premise>*{max-width:100%}.zibo-premise::before{background-position:70% top;background-size:auto 380px}.zibo-premise::after{background:linear-gradient(0deg,#eef2f3 45%,rgba(238,242,243,.1) 100%)}}@media(prefers-reduced-motion:reduce){.zibo-premise.motion-ready::before,.zibo-premise.motion-ready>*{opacity:1;transform:none;transition:none}}
.zibo-intro.zibo-premise>p:not(.lbl){max-width:48%;color:#263f4d}.zibo-intro.zibo-premise h2 em{color:#34627a}@media(max-width:699px){.zibo-intro.zibo-premise>p:not(.lbl){max-width:100%}}
.work-card__media--fluidlogic{display:grid;place-items:center;background:radial-gradient(circle at 50% 50%,#19394b,#0b1015 72%)}.work-card__media--fluidlogic img{width:56%;height:86%;max-width:205px;object-fit:contain;object-position:center}

.fluidlogic-hero{background:#050505}.fluidlogic-hero__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2;pointer-events:none}.fluidlogic-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(0,0,0,.88),rgba(0,0,0,.55))}.fluidlogic-hero .draft-hero__inner{position:relative}@media(prefers-reduced-motion:reduce){.fluidlogic-hero__video{display:none}}

/* Session Control: shared reading edge, explicit structure, native carousel. */
body[data-case="pax"] .session-control{--section-left:57px;--section-right:57px;position:relative;background:#202020;padding:clamp(96px,12svh,160px) var(--section-right) clamp(96px,12svh,160px) var(--section-left)}
.session-control .section-container{width:100%;min-width:0}
.session-control .section-header{position:relative;display:flex;flex-direction:column;gap:5px;margin-bottom:40px}
.session-control .section-header .lbl{margin:0;font-size:calc(var(--fs-label) * 2);font-weight:500}
.session-control .section-header .node{position:absolute;left:-30.5px;top:2px}
.session-control .carousel{min-width:0}
.session-control .carousel-track{position:relative;display:flex;align-items:stretch;gap:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior:auto;touch-action:pan-x pan-y;scrollbar-width:none}
.session-control .carousel-track::-webkit-scrollbar{display:none}
.session-control .carousel-track.is-dragging{scroll-snap-type:none;scroll-behavior:auto;cursor:grabbing;user-select:none;-webkit-user-select:none}
@media(hover:hover) and (pointer:fine){.session-control .carousel-track{cursor:grab}.session-control .carousel-track.is-dragging{cursor:grabbing}.session-control .carousel-track :is(a,button){cursor:pointer}.session-control .session-flow{cursor:auto}}
.session-control .carousel-slide{display:block;flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;padding:0 0 4px}
.session-control .section-content{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);align-items:center;gap:clamp(32px,5vw,80px)}
.session-control .section-text{max-width:38ch}
.session-control .section-text h3{margin:0 0 24px;font-family:var(--serif);font-size:clamp(28px,2.8vw,44px);font-weight:400;line-height:1.13}
.session-control .section-text>p{font-size:clamp(17px,1.4vw,21px);line-height:1.5;color:var(--bone-400)}
.session-control .section-text .session-claim{margin-top:24px;font-family:var(--mono);font-size:12px;line-height:1.6}
.session-control .section-text a{display:inline-block;color:var(--bone);text-underline-offset:4px}
.session-control .section-media{min-width:0}
.session-control .session-device{display:flex;justify-content:center}
.session-control .session-device-image{position:relative;width:min(100%,640px,70svh);aspect-ratio:1;border-radius:50%;overflow:hidden;background:#1b1c1f}
.session-control .session-device-image>img{display:block;width:100%;height:100%;object-fit:cover}
.session-control .pax-session__screen{opacity:0}
.session-control.is-video-playing:not(.is-video-failed) .pax-session__screen{opacity:1}
.session-control .section-caption{display:flex;flex-direction:column;gap:10px;max-width:440px;min-width:0;margin:0;padding:18px 20px;min-height:128px;background:#000;border:1px solid var(--mute-300)}
.session-control .carousel-footer{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:20px}
.session-control .section-caption p{margin:0;font-size:var(--fs-caption);line-height:1.6;color:var(--bone-400)}
.session-control .section-caption a{color:inherit;text-underline-offset:4px}
.session-control .section-caption .lbl{font-size:12px;color:var(--mute-300)}
.session-control .session-flow{width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior:auto;touch-action:pan-x pan-y;scrollbar-width:thin;scrollbar-color:var(--stone-400) transparent}
.session-control .session-flow img{display:block;width:100%;height:auto;aspect-ratio:1246/718}
.session-control .session-storyboard{display:block;width:100%;height:auto;aspect-ratio:1246/718;border:0;pointer-events:none}
.session-control .storyboard-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:20px}
.session-control .storyboard-controls button{min-height:44px;padding:10px 14px;border:1px solid var(--stone-600);background:transparent;color:var(--bone);font:500 12px/1.2 var(--mono);cursor:pointer}
.session-control .storyboard-controls button:disabled{opacity:.45;cursor:default}
.session-control .storyboard-controls p{flex:1 1 240px;margin:0;min-height:3.2em;line-height:1.6;color:var(--bone-400)}
.session-control .section-content--diagram{display:block;align-content:center;min-width:0;min-height:0}
.session-control .diagram-hint{display:none;margin:16px 0 0;color:var(--bone-400)}
.session-control .carousel-controls{display:flex;align-items:center;flex:none;gap:16px;margin:0}
.session-control .carousel-footer .storyboard-controls{position:relative;flex:none;flex-wrap:nowrap;gap:12px;margin:0}
.session-control .carousel-footer .storyboard-controls[hidden]{display:none}
.session-control .carousel-footer .storyboard-controls button{width:122px;flex:none}
.session-control .carousel-pagination{display:flex;gap:8px}
.session-control .carousel-controls button{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:10px;border:1px solid var(--stone-600);background:transparent;color:var(--bone-400);font:500 12px/1 var(--mono);cursor:pointer}
.session-control .carousel-controls svg{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.session-control .carousel-controls button[aria-current="true"]{border-color:var(--filament);color:var(--filament)}
.session-control .carousel-controls button:disabled{opacity:.3;cursor:default}
.session-control :is(button,a,[tabindex]):focus-visible{outline:2px solid var(--filament);outline-offset:4px}
@media(min-width:900px){.session-control .carousel-slide{min-height:0}.session-control .section-content{min-height:580px}}
/* A desktop viewport holds the complete section; short screens retain natural height. */
@media(min-width:900px) and (min-height:700px){
  body[data-case="pax"] .session-control{--session-padding:clamp(24px,3svh,40px);height:100svh;padding-top:var(--session-padding);padding-bottom:max(var(--session-padding),44px)}
  .session-control .section-container{height:100%;display:flex;flex-direction:column}
  .session-control .section-header{flex:none;margin-bottom:20px}
  .session-control .section-header .lbl{font-size:16px;line-height:1.3}
  .session-control .carousel{flex:1;min-height:0;display:flex;flex-direction:column}
  .session-control .carousel-track{flex:1;min-height:0}
  .session-control .carousel-slide{height:100%}
  .session-control .section-content{min-height:0;height:100%}
  .session-control .section-content--diagram{display:flex;flex-direction:column;gap:0}
  .session-control .session-flow{flex:1;min-height:0;overflow-y:hidden}
  .session-control .session-storyboard{height:100%;width:100%;aspect-ratio:auto}
  .session-control .session-device{height:100%;min-height:0;container-type:size;align-items:center}
  .session-control .session-device-image{width:min(100cqw,100cqh);height:auto;max-width:100%;aspect-ratio:1;flex:none}
  .session-control .storyboard-controls{flex:none;margin-top:12px}
  .session-control .storyboard-controls p{min-height:0}
  .session-control .section-caption{min-height:116px;padding:12px 16px;gap:6px}
  .session-control .carousel-footer{flex:none;margin-top:16px}
  .session-control .carousel-controls{margin:0}
  .session-control .section-text h3{font-size:clamp(26px,2.3vw,38px);margin-bottom:16px}
  .session-control .section-text>p{font-size:17px;margin-block:12px}
  .session-control .section-text .session-claim{font-size:11px;margin-top:16px}
}
@media(max-width:1099px){.session-control .section-content{grid-template-columns:minmax(240px,.9fr) minmax(0,1.1fr);gap:24px}}
@media(max-width:899px){
  body[data-case="pax"] .session-control{--section-left:60px;--section-right:20px;padding-top:80px;padding-bottom:80px}
  .session-control .section-header{margin-bottom:32px}
  .session-control .section-header .node{left:-33.5px}
  .session-control .section-content{grid-template-columns:1fr;gap:32px}
  .session-control .section-text{max-width:none}
  .session-control .section-text h3{font-size:clamp(27px,5vw,38px)}
  .session-control .session-device-image{width:min(100%,520px)}
  .session-control .session-flow img{width:960px;max-width:none}
  .session-control .session-storyboard{width:960px;max-width:none}
  .session-control .diagram-hint{display:block}
  .session-control .section-caption{max-width:none;padding:16px;min-height:160px}
}
@media(max-width:999px){.session-control .carousel-footer{flex-wrap:wrap;gap:16px}.session-control .section-caption{flex-basis:100%}.session-control .carousel-footer .storyboard-controls{width:100%;justify-content:center}.session-control .carousel-controls{margin-left:auto}}
@media(prefers-reduced-motion:no-preference){
  .session-control.motion-ready .section-media{opacity:.7;transform:translateY(12px) scale(.99);transition:opacity .4s ease,transform .56s cubic-bezier(.2,.8,.2,1)}
  .session-control.motion-ready.is-visible .carousel-slide.is-current .section-media{opacity:1;transform:none}
}
@media(prefers-reduced-motion:reduce){.session-control .pax-session__screen{display:none}.session-control *{scroll-behavior:auto!important}}

/* The closing message hands off directly to the return link. */
body[data-case="pax"] .scene.pax-close{min-height:0;padding-top:64px;padding-bottom:64px}
body[data-case="pax"] .pax-close .pax-close__team{margin-top:28px;padding-top:24px;border-top:1px solid var(--stone-700)}
body[data-case="pax"] .pax-close+.threshold{margin-top:0}
body[data-case] .draft-back{position:relative}
body[data-case] .draft-back::before{content:"";position:absolute;left:-20px;bottom:50%;height:80px;width:1px;background:linear-gradient(transparent,var(--filament))}
body[data-case] .draft-back::after{content:"";position:absolute;left:-24px;top:calc(50% - 4px);width:9px;height:9px;border:1px solid var(--filament);border-radius:50%;background:var(--basalt);box-shadow:0 0 8px color-mix(in srgb,var(--filament) 35%,transparent)}
body[data-case] .case-return-arrow{display:inline-block}
body[data-case] .draft-back:is(:hover,:focus-visible) .case-return-arrow{color:var(--filament);animation:threshold-arrow-pulse .9s ease-in-out infinite}
@supports(animation-timeline:view()){@media(prefers-reduced-motion:no-preference){body[data-case] .draft-back::after{animation:case-return-marker linear both;animation-timeline:view();animation-range:entry 0% entry 100%}}}
@keyframes case-return-marker{from{transform:translateY(-80px)}to{transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){body[data-case] .draft-back::after,body[data-case] .case-return-arrow{animation:none!important}}
/* Lab label and copy share a reading edge, with the label in normal flow. */
@media(min-width:900px){
 body[data-case="pax"] .scene.pax-lab{padding-left:57px}
 body[data-case="pax"] .pax-lab .scene__index{position:relative;left:auto;top:auto;width:auto;margin-bottom:32px}
 body[data-case="pax"] .pax-lab .scene__index .node{left:-30.5px}
 body[data-case="pax"] .pax-lab .scene__body{margin-left:0;padding-top:0}
}
/* Mission copy and composition occupy separate grid cells instead of overlapping. */
body[data-case="pax"] .pax-mission .scene__index{position:relative;left:auto;top:auto;width:auto;margin-bottom:32px}
body[data-case="pax"] .pax-mission .scene__body{padding-top:0;margin-left:0;max-width:none}
body[data-case="pax"] .pax-mission__asset{position:static;inset:auto;width:100%;height:auto;aspect-ratio:960/835;margin:0;min-width:0;border:0;padding:0;clip-path:polygon(25% 0,100% 0,100% 100%,0 100%,0 66%,25% 66%);background-size:150% 100%;background-position:right top;background-repeat:no-repeat}
@media(min-width:900px){
 body[data-case="pax"] .scene.pax-mission{padding-left:57px}
 body[data-case="pax"] .pax-mission .scene__index .node{left:-30.5px}
 body[data-case="pax"] .pax-mission .scene__body{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1.15fr);column-gap:clamp(32px,4vw,64px);align-items:start}
 body[data-case="pax"] .pax-mission #h01{grid-column:1;grid-row:1;max-width:none;font-size:clamp(32px,3vw,48px);margin-bottom:24px}
 body[data-case="pax"] .pax-mission__ritual{grid-column:1;grid-row:2;max-width:none;margin:0;font-size:clamp(20px,1.7vw,26px)}
 body[data-case="pax"] .pax-mission__asset{grid-column:2;grid-row:1/span 2;align-self:center}
}
@media(max-width:899px){body[data-case="pax"] .pax-mission__asset{margin-top:32px}}

@media(min-width:900px) and (max-width:1199px) and (min-height:700px){.session-control .session-device-image{width:min(88cqw,88cqh)}}
@media(max-width:899px){
 body[data-case="pax"] .scene.pax-architecture{padding-left:60px;padding-right:20px}
 body[data-case="pax"] .pax-architecture .scene__index .lbl{margin-left:0}
 body[data-case="pax"] .pax-architecture__intro{margin-left:0;max-width:none}
 body[data-case="pax"] .pax-architecture .pax-feature-web{width:100%;margin-left:0}
 body[data-case="pax"] .pax-close #h08{font-size:clamp(30px,8vw,44px)}
 body[data-case="pax"] .pax-close .mine{font-size:clamp(20px,4.8vw,24px);line-height:1.45}
}
/* Keep the compact case footer's marker inside the viewport on phones. */
body[data-case] .draft-back{margin-left:calc(52px - var(--margin));max-width:calc(100% - 36px)}
@media(min-width:900px){body[data-case="pax"] .pax-mission .scene__body{grid-template-rows:auto 1fr}}
body[data-case="pax"] .evidence__rail .ev{flex:0 0 100%;max-width:100%;min-width:0}
body[data-case="pax"] .evidence__rail .ev figcaption{flex-wrap:wrap;gap:8px}

/* Figma 381:1250: shared, readable case-artifact caption component. */
body[data-case] .case-caption{box-sizing:border-box;display:flex;flex-direction:column;gap:6px;width:400px;max-width:100%;min-height:90.383px;margin:0;padding:16px 18px;border:1px solid var(--glass-edge);border-radius:0;background:var(--glass-fill);backdrop-filter:blur(var(--glass-blur));-webkit-backdrop-filter:blur(var(--glass-blur));color:#cbcbcd;font:400 12px/18.6px 'IBM Plex Mono',var(--mono);letter-spacing:.24px;text-transform:none}
body[data-case] .case-caption :is(p,a,span){color:inherit;font:inherit;letter-spacing:inherit;text-transform:none}
body[data-case] .case-caption p{margin:0}
body[data-case] .case-caption .lbl{font-size:11px;font-weight:500;line-height:13.2px;letter-spacing:1.54px;text-transform:uppercase}
body[data-case] .case-caption a{text-decoration:none}
body[data-case] .case-caption a:is(:hover,:focus-visible){text-decoration:underline;text-underline-offset:3px}
.session-control .carousel-preview,.session-control .carousel-description{display:none}
.session-control .carousel-footer .storyboard-controls button{font-family:'IBM Plex Mono',var(--mono)}
@media(min-width:900px) and (min-height:700px){
 body[data-case="pax"] .session-control{--section-left:clamp(57px,5.556vw,80px);--section-right:60px;--session-lead:clamp(280px,32.64vw,470px);--session-art-size:min(720px,calc(100svh - 190px));overflow:hidden;padding-top:clamp(24px,4.615svh,42px);padding-bottom:34px}
 .session-control .section-header{gap:5px;margin-bottom:0;height:59px}
 .session-control .section-header .lbl{font:500 22px/26.4px 'IBM Plex Mono',var(--mono);letter-spacing:3.08px;color:var(--stone-400)}
 .session-control .section-header .filament{color:#f0b25a}
 .session-control .carousel{position:relative;display:block}
 .session-control .carousel-track{width:calc(100% - var(--session-lead) + var(--section-right));height:calc(100% + 6px);margin-left:var(--session-lead);margin-top:-6px;gap:29px;align-items:flex-start}
 .session-control .carousel-slide{height:100%;min-height:0;padding:0;flex:0 0 var(--session-art-size)}
 .session-control #session-slide-2{flex-basis:1199px}
 .session-control .section-content{display:block;height:100%;min-height:0}
 .session-control .section-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 .session-control .session-device{height:var(--session-art-size);container-type:normal;align-items:flex-start}
 .session-control .session-device-image{width:var(--session-art-size);height:auto;max-width:none;aspect-ratio:1;box-shadow:0 0 0 1px rgba(236,231,221,.14),0 80px 160px -40px rgba(0,0,0,.9)}
 .session-control .section-media{transform:none!important;opacity:1!important}
 .session-control .session-flow{height:100%;position:relative}
 .session-control .session-storyboard{width:100%;height:100%;aspect-ratio:auto}
 .session-control .carousel-slide:not(.is-current) .session-flow{filter:blur(17px);pointer-events:none}
 .session-control .carousel-slide:not(.is-current) .session-storyboard{visibility:hidden}
 .session-control .carousel-slide:not(.is-current) .carousel-preview{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
 .session-control.is-flow-selected .carousel-track{width:100%;margin-left:0}
 .session-control.is-flow-selected #session-slide-2{flex-basis:100%}
 .session-control .carousel-footer{position:absolute;z-index:2;inset:auto 0 0;display:grid;grid-template-columns:minmax(240px,min(400px,calc(var(--session-lead) - 29px))) 1fr max-content;grid-template-rows:auto auto;align-items:center;column-gap:16px;row-gap:20px;margin:0}
 .session-control .carousel-description{display:block;grid-column:1;grid-row:1;margin:0;color:var(--bone);font:340 34px/40.8px Newsreader,var(--serif);letter-spacing:-.408px}
 .session-control .carousel-description[hidden]{display:none}
 .session-control .section-caption{grid-column:1;grid-row:2;width:100%;min-height:90.383px}
 .session-control .carousel-footer .storyboard-controls{grid-column:2;grid-row:2;justify-self:center;width:auto}
 .session-control .carousel-controls{grid-column:3;grid-row:2;justify-self:end;gap:6px}
 .session-control .carousel-pagination{gap:6px}
 .session-control .carousel-controls button{background:var(--glass-fill);backdrop-filter:blur(var(--glass-blur));border-color:#f0b25a;color:#cbcbcd}
}
@media(min-width:900px) and (max-width:1199px) and (min-height:700px){.session-control{--session-art-size:min(560px,calc(100svh - 220px),calc(100vw - 360px))!important}}
@media(max-width:899px){.session-control .case-caption{width:100%;min-height:132px}.session-control .carousel-footer{row-gap:16px}.session-control .carousel-description{display:none!important}}

/* Home About remains a text link; braces provide its code-like framing. */
body[data-page="home"] .home-about-cta{position:relative;gap:8px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;letter-spacing:.06em}
body[data-page="home"] .home-about-cta>span[aria-hidden]{color:var(--filament)}
body[data-page="home"] .home-about-cta canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
body[data-page="home"] .home-about-cta.is-scrambling>span{opacity:0}
.js body[data-page="home"] .home-about-cta.is-intro-pending{visibility:hidden;opacity:0;pointer-events:none}
@media(min-width:900px) and (min-height:700px){
 .session-control .section-header .node{left:calc(32px - var(--section-left) - 5.5px)}
 .session-control.is-flow-selected .carousel-track{height:calc(100% - 112px)}
}
@media(max-width:699px){.home-work .work-list{grid-template-columns:minmax(0,1fr)}.home-work__intro,.work-card{min-width:0}.home-work__intro h2{font-size:clamp(42px,12vw,72px)}}
@media(max-width:899px){body[data-case="pax"] .session-control .case-caption{min-height:132px}}
@media(min-width:900px) and (max-width:1199px) and (min-height:700px){body[data-case="pax"] .session-control .case-caption{min-height:128px}}
@media(min-width:900px) and (max-width:1199px) and (min-height:700px){.session-control.is-flow-selected .carousel-track{height:calc(100% - 152px)}}

/* Native scroll clipping contains slides, while the carousel owns the soft shadow. */
.session-control .carousel{position:relative;isolation:isolate}
.session-control .carousel::before{content:"";position:absolute;z-index:0;pointer-events:none;left:var(--shadow-left,0px);top:var(--shadow-top,0px);width:var(--shadow-size,0px);height:var(--shadow-size,0px);border-radius:50%;box-shadow:0 calc(var(--shadow-size,0px)/9) calc(var(--shadow-size,0px)*2/9) calc(var(--shadow-size,0px)/-18) rgba(0,0,0,.9)}
.session-control.is-flow-selected .carousel::before{opacity:0}
.session-control .carousel-track{z-index:1}
.session-control .session-device-image{box-shadow:none}
.session-control .carousel-controls{position:absolute;inset:0;z-index:4;display:block;width:100%;height:100%;margin:0;justify-self:stretch;grid-area:auto;pointer-events:none}
.session-control .carousel-controls button{position:absolute;pointer-events:auto;width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;color:var(--bone-400)}
.session-control .carousel-controls button:is(:hover,:focus-visible){color:var(--bone)}
.session-control .carousel-controls [data-carousel-prev]{left:max(0px,calc(var(--art-left,0px) - 48px));top:calc(var(--art-top,0px) + var(--art-height,0px)/2 - 22px)}
.session-control .carousel-controls [data-carousel-next]{left:min(calc(100% - 44px),calc(var(--art-left,0px) + var(--art-width,0px) + 4px));top:calc(var(--art-top,0px) + var(--art-height,0px)/2 - 22px)}
.session-control .carousel-pagination{position:absolute;pointer-events:auto;left:calc(var(--art-left,0px) + var(--art-width,0px)/2);top:calc(var(--art-top,0px) + var(--art-height,0px) + 6px);display:flex;gap:0;transform:translateX(-50%)}
.session-control .carousel-pagination button{position:static;display:grid;place-items:center}
.session-control .carousel-dot{display:block;width:6px;height:6px;border:1px solid currentColor;border-radius:50%;opacity:.5}
.session-control .carousel-pagination [aria-current="true"]{color:var(--bone)}
.session-control .carousel-pagination [aria-current="true"] .carousel-dot{background:currentColor;opacity:1}
@media(min-width:900px) and (min-height:700px){
 .session-control .carousel-footer{grid-template-columns:minmax(240px,min(400px,calc(var(--session-lead) - 29px))) 1fr}
 .session-control.is-flow-selected .carousel-track{height:calc(100% - 168px)}
}
@media(min-width:900px) and (max-width:1199px) and (min-height:700px){.session-control.is-flow-selected .carousel-track{height:calc(100% - 208px)}}
@media(max-width:899px),(max-height:699px){
 .session-control .carousel-footer{margin-top:72px}
 .session-control .carousel-controls [data-carousel-prev]{left:0;top:calc(var(--art-top,0px) + var(--art-height,0px) + 6px)}
 .session-control .carousel-controls [data-carousel-next]{left:calc(100% - 44px);top:calc(var(--art-top,0px) + var(--art-height,0px) + 6px)}
}

/* Keep navigation monochrome, including its selected and keyboard states. */
.session-control .carousel-controls button[data-carousel-page][aria-current="true"]{color:var(--bone);border:0}
.session-control .carousel-controls button:focus-visible{outline:1px solid var(--bone);outline-offset:-4px;border-radius:50%}
/* Grid children must shrink to their actual figure width; shadows have a painted gutter. */
.decision__fig--fan{min-width:0;grid-template-columns:minmax(0,1fr);overflow:visible}
.decision__fig--fan .pax-fan{width:100%;min-width:0;aspect-ratio:1300/950;overflow:hidden}
body[data-case="pax"] .decision__fig--fan .case-caption{width:100%}
body[data-case="pax"] .evidence__rail .ev--b{box-shadow:none}
/* Section boundaries must not crop the shadow owned by the carousel. */
body[data-case="pax"] .session-control{overflow:visible}

@media(max-width:899px){body[data-case="pax"] .decision__fig--fan{grid-column:1/-1;min-height:0}}

/* Refine existing chapter rhythm without pinning editorial content. */
@media(min-width:900px){
 body[data-case="gopro"] :is(#s05,#s06),body[data-case="pax"] .pax-close{min-height:0}
}
/* Use the shared wide-screen reading grid; keep the 1440px reference unchanged. */
@media(min-width:1680px) and (min-height:700px){
 body[data-case="pax"] .session-control{--section-left:var(--margin);--section-right:var(--margin)}
 .session-control .carousel-track{width:calc(100% - var(--session-lead))}
 .session-control.is-flow-selected .carousel-track{width:100%}
}
/* Artifact composition: fixed 50px frame, flexible artwork, bottom-aligned controls. */
@media(min-width:900px) and (min-height:700px){
 body[data-case="pax"] .session-control{padding-top:50px;padding-bottom:50px;--session-art-size:min(900px,calc(100svh - 260px),calc(100vw - var(--section-left) - var(--section-right) - var(--session-lead)))!important}
 .session-control .section-container{height:100%;max-height:none}
 .session-control .carousel-track{margin-top:0}
 .session-control.is-flow-selected .carousel-track{height:calc(100% - var(--caption-height,90px) - 72px)}
 .session-control .carousel-pagination{top:auto;bottom:calc((var(--caption-height,90px) - 44px)/2)}
}
@media(min-width:640px) and (prefers-reduced-motion:no-preference){
 .helix-ready .work-list{height:min(80svh,900px);top:max(10svh,calc((100svh - 900px)/2))}
}
/* Short desktop viewports use ordinary document flow, like the existing phone fallback. */
@media(min-width:900px) and (max-height:699px){
 body[data-case="pax"] .scene,body[data-case="gopro"] .scene{min-height:0;padding-top:80px;padding-bottom:80px}
 .gopro-decisions .scene__index,.gopro-decisions .decision__num{position:relative;top:auto}
}

/* One vertical section inset across case studies; Home has its own layout. */
body[data-case]{--case-section-padding:50px}
body[data-case] main#main > section:is(.hero,.scene,.session-control,.threshold),
.draft-main .draft-hero,.draft-main .draft-section{
 padding-top:var(--case-section-padding,50px);padding-bottom:var(--case-section-padding,50px)
}
body[data-case] main#main > .scene{margin-top:0}
body[data-case="gopro"] main#main > .scene#s02 .scene__index{top:50px}
/* The diver is full bleed; its text column carries the same inset. */
body[data-case="gopro"] main#main > .hero-transition .hero-transition__content{padding-top:50px;padding-bottom:50px}
@media(max-width:899px){body[data-case="gopro"] main#main > .hero-transition .hero-transition__content{padding-bottom:calc(clamp(290px,75vw,520px) + 50px)}}
/* The existing blurred footer artwork covers the whole section, including its inset. */
body[data-case] main#main > .threshold{margin-top:0;overflow:hidden;isolation:isolate}
body[data-case] .threshold__link{position:static}
body[data-case] .threshold__visual,body[data-case] .threshold__scrim{z-index:-1}
body[data-case] .threshold__text{bottom:50px}
body[data-case] .threshold .colophon{position:absolute;bottom:16px;left:var(--case-footer-left);margin:0;padding:0}
/* Only an inactive slide shows the static peek; active SVG gets the whole art area. */
.session-control .carousel-slide.is-current .carousel-preview{display:none}
@media(min-width:900px){
 body[data-case="gopro"] main#main > .scene:not(.pax-mission):not(.pax-lab):not(.gopro-decisions) > .scene__index{top:50px}
}
/* PAX chapters share one rendered reading edge and an in-flow chapter header. */
body[data-case="pax"]{--case-content-left:clamp(57px,5.556vw,80px);--case-content-right:var(--margin)}
body[data-case="pax"] main#main > .scene{padding-left:var(--case-content-left);padding-right:var(--case-content-right)}
body[data-case="pax"] main#main > .scene > .scene__index{position:relative;inset:auto;width:auto;padding:0;margin:0 0 32px;gap:5px;text-align:left}
body[data-case="pax"] main#main > .scene > .scene__index .lbl{margin:0;padding:0}
body[data-case="pax"] main#main > .scene > .scene__index .node{left:calc(32px - var(--case-content-left) - 5.5px);top:2px}
body[data-case="pax"] main#main > .scene > .scene__body{margin-left:0;padding-left:0;padding-top:0;max-width:none;text-align:left}
body[data-case="pax"] main#main > .pax-architecture > .pax-architecture__intro{margin:0 0 30px;max-width:66ch;text-align:left}
body[data-case="pax"] main#main > .pax-architecture > .pax-architecture__intro p{margin:0}
body[data-case="pax"] main#main > .pax-architecture > .pax-feature-web{width:100%;margin-left:0}
body[data-case="pax"] main#main > .pax-lab > .scene__body{max-width:var(--pax-lab-copy)}
body[data-case="pax"] main#main > .pax-lab .pax-lab__asset{--pax-lab-image-left:calc(var(--case-content-left) + var(--pax-lab-copy) + 24px)}
body[data-case="pax"] main#main > .session-control{--section-left:var(--case-content-left);--section-right:var(--case-content-right)}
@media(min-width:1680px){body[data-case="pax"]{--case-content-left:var(--margin)}}
@media(max-width:899px){
 body[data-case="pax"]{--case-content-left:60px;--case-content-right:20px}
 body[data-case="pax"] main#main > .pax-lab > .scene__body{max-width:none}
}

/* Story actions form one centered row directly above the pagination dots. */
.session-control .carousel > .storyboard-controls{position:absolute;z-index:5;left:calc(var(--art-left,0px) + var(--art-width,0px)/2);bottom:calc((var(--caption-height,90px) - 44px)/2 + 52px);display:flex;align-items:center;justify-content:center;gap:12px;width:max-content;margin:0;transform:translateX(-50%)}
.session-control .carousel > .storyboard-controls[hidden]{display:none}
.session-control .carousel > .storyboard-controls button{width:122px;min-height:44px;flex:none}
.session-control .carousel-dot{width:6.48px;height:6.48px}
@media(max-width:899px),(max-height:699px){
 .session-control .carousel > .storyboard-controls{top:calc(var(--art-top,0px) + var(--art-height,0px) + 6px);bottom:auto;gap:8px}
 .session-control.is-flow-selected .carousel-pagination{top:calc(var(--art-top,0px) + var(--art-height,0px) + 58px)}
 .session-control.is-flow-selected .carousel-controls :is([data-carousel-prev],[data-carousel-next]){top:calc(var(--art-top,0px) + var(--art-height,0px) + 58px)}
 .session-control.is-flow-selected .carousel-footer{margin-top:124px}
}
/* Keep each UI Process number, text and artifact in its intended grid row. */
body[data-case="pax"] .decision > .decision__fig{min-width:0;grid-template-columns:minmax(0,1fr);order:0}
body[data-case="pax"] .decision .case-caption{width:100%;background:#0a0a0b;color:#cbcbcd}
@media(min-width:900px){
 body[data-case="pax"] .decision--flip{grid-template-columns:120px minmax(0,1fr) 300px}
 body[data-case="pax"] .decision > .decision__num{grid-column:1;grid-row:1}
 body[data-case="pax"] .decision > .decision__text{grid-column:2;grid-row:1}
 body[data-case="pax"] .decision > :is(.decision__fig,.pax-b2b-slots){grid-column:3;grid-row:1}
}
@media(min-width:900px) and (max-width:1199px){body[data-case="pax"] .decision--flip{grid-template-columns:72px minmax(0,1fr) 220px}}
@media(max-width:899px){
 body[data-case="pax"] .decision > .decision__num{grid-column:1;grid-row:1}
 body[data-case="pax"] .decision > .decision__text{grid-column:2;grid-row:1;min-width:0}
 body[data-case="pax"] .decision > :is(.decision__fig,.pax-b2b-slots){grid-column:1/-1;grid-row:2}
}
body[data-case="pax"] .decisions{padding-inline:0}

body[data-case="pax"] main#main > .threshold{--case-footer-left:var(--case-content-left)}
@media(max-width:899px),(max-height:699px){
 .session-control .section-content--diagram{display:flex;flex-direction:column;gap:0}
 .session-control .diagram-hint{order:-1;margin:0 0 12px}
}

/* Shared carousel navigation: square arrows, count, and direct progress marks. */
.carousel-navigation.carousel-navigation{display:grid;grid-template-columns:44px max-content minmax(0,1fr) 44px;align-items:center;gap:18px;width:100%;min-width:0;margin:20px 0 0;padding:0;color:var(--bone-400);grid-column:1/-1}
.carousel-navigation.carousel-navigation[hidden]{display:none}
.carousel-navigation.carousel-navigation button{position:static;inset:auto;display:grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:10px;border:1px solid var(--stone-700);border-radius:0;background:rgba(236,231,221,.035);box-shadow:none;backdrop-filter:none;color:var(--bone);font:500 20px/1 var(--mono);cursor:pointer;pointer-events:auto;transform:none}
.carousel-navigation.carousel-navigation button:is(:hover,:focus-visible){color:var(--bone);border-color:var(--bone-400)}
.carousel-navigation.carousel-navigation button:focus-visible{outline:1px solid var(--filament);outline-offset:4px;border-radius:0}
.carousel-navigation.carousel-navigation button:disabled{opacity:.3;cursor:default}
.carousel-navigation svg{fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:square;stroke-linejoin:miter}
.carousel-count{white-space:nowrap;font:400 11px/1.4 var(--mono);letter-spacing:.06em;font-variant-numeric:tabular-nums;color:var(--stone-400)}
.carousel-navigation .carousel-pages{position:static;inset:auto;display:flex;align-items:center;justify-content:flex-end;gap:0;min-width:0;width:auto;margin:0;transform:none;pointer-events:auto}
.carousel-navigation.carousel-navigation .carousel-pages button{width:32px;min-width:32px;min-height:44px;padding:0;border:0;background:none;color:#929296}
.carousel-mark{display:block;width:16px;height:2px;background:currentColor}
.carousel-navigation.carousel-navigation .carousel-pages button[aria-current="true"]{color:var(--filament);border:0}
.carousel-navigation .carousel-pages [aria-current="true"] .carousel-mark{width:30px;height:3px}
.carousel-navigation.carousel-navigation .carousel-pages button:hover{color:var(--bone)}
/* Session artwork and caption retain their own masks; navigation is a separate bottom row. */
.session-control .carousel-controls.carousel-navigation{position:relative;inset:auto;z-index:4;height:44px;pointer-events:auto;justify-self:stretch}
.session-control .carousel-controls.carousel-navigation .carousel-pagination{position:static;inset:auto;transform:none}
.session-control .carousel-controls.carousel-navigation button{position:static;inset:auto}
@media(min-width:900px) and (min-height:700px){
 .session-control .carousel-controls.carousel-navigation{position:absolute;inset:auto 0 0;margin:0}
 .session-control .carousel-footer{bottom:68px}
 .session-control .carousel>.storyboard-controls{left:calc(var(--art-left,0px) + var(--art-width,0px)/2);bottom:68px;top:auto}
 .session-control.is-flow-selected .carousel-track{height:calc(100% - var(--caption-height,90px) - 140px)}
}
@media(max-width:899px),(max-height:699px){
 .session-control .carousel>.storyboard-controls{position:relative;left:auto;inset:auto;transform:none;width:100%;margin:16px 0 0}
 .session-control .carousel-footer,.session-control.is-flow-selected .carousel-footer{margin-top:20px}
 .session-control .carousel-controls.carousel-navigation{margin-top:20px}
}
/* Helix retains native page-scroll navigation; only its existing controls share this pattern. */
@media(max-width:599px){.carousel-navigation.carousel-navigation{gap:12px}.carousel-navigation .carousel-pages{gap:0}.carousel-navigation.carousel-navigation .carousel-pages button{width:20px;min-width:20px}.carousel-navigation .carousel-pages [aria-current="true"] .carousel-mark{width:20px}}
/* Case-specific legacy flex rows must not collapse the shared full-width grid. */
body[data-case] .carousel-navigation.rail-meta{display:grid;justify-content:normal;gap:18px;padding:0}
body[data-case] .carousel-navigation.rail-meta[hidden]{display:none}
@media(max-width:599px){body[data-case] .carousel-navigation.rail-meta{gap:12px}}
/* Static Home cards do not expose inactive helix controls. */
.work-helix-controls.carousel-navigation{display:none}
@media(max-width:599px){
 .carousel-navigation.carousel-navigation,body[data-case] .carousel-navigation.rail-meta{gap:8px}
 .carousel-navigation.carousel-navigation .carousel-pages button{width:24px;min-width:24px}
 .carousel-navigation.carousel-navigation .carousel-pages [aria-current="true"] .carousel-mark{width:24px}
}

/* The Home About link follows the signature's existing header visibility state. */
body[data-page="home"] .home-about-cta{transition:transform .35s ease,opacity .35s ease,color 120ms var(--settle)}
body[data-page="home"] .home-about-cta.is-out{transform:translateY(calc(-100% - 32px));opacity:0;pointer-events:none}
body[data-page="home"] .home-about-cta.is-out:focus-visible{transform:none;opacity:1;pointer-events:auto}
@media(prefers-reduced-motion:reduce){body[data-page="home"] .home-about-cta{transition:none}}
/* PAX Lab: center the copy against its own image, with both in normal flow. */
@media(min-width:900px){
 body[data-case="pax"] main#main>.pax-lab>.scene__body{display:grid;grid-template-columns:minmax(0,var(--pax-lab-copy)) minmax(0,1fr);align-items:center;gap:24px;max-width:none}
 body[data-case="pax"] main#main>.pax-lab .pax-lab__lead{margin:0;max-width:none}
 body[data-case="pax"] main#main>.pax-lab .pax-lab__asset{position:static;inset:auto;width:100%;height:auto;max-width:100%;margin:0;aspect-ratio:auto;object-fit:contain}
 /* Mission art grows with width and available height, within the existing reading grid. */
 body[data-case="pax"] main#main>.pax-mission .scene__body{min-height:calc(100svh - 190px);align-content:center}
 body[data-case="pax"] main#main>.pax-mission .pax-mission__asset{width:min(100%,calc(max(280px,100svh - 240px)*960/835));max-width:none;justify-self:end}
}
/* Keep the Mission heading centered and paragraph left-aligned; desktop art stays 15% larger. */
body[data-case="pax"] main#main>.pax-mission #h01{text-align:center}
body[data-case="pax"] main#main>.pax-mission .pax-mission__ritual{text-align:left}
@media(min-width:900px){
 body[data-case="pax"] main#main>.pax-mission .pax-mission__asset{width:min(115%,calc(max(280px,100svh - 240px)*960/835*1.15))}
}
/* Lab image receives more of the existing grid; tall desktop scenes center the pair. */
@media(min-width:900px){
 body[data-case="pax"] main#main>.pax-lab>.scene__body{grid-template-columns:minmax(300px,min(34%,480px)) minmax(0,1fr)}
}
@media(min-width:1200px) and (min-height:800px){
 body[data-case="pax"] main#main>.pax-lab{display:grid;grid-template-columns:minmax(0,1fr);min-height:100svh}
 body[data-case="pax"] main#main>.pax-lab>.scene__index{grid-area:1/1;align-self:start;z-index:1;margin-bottom:0}
 body[data-case="pax"] main#main>.pax-lab>.scene__body{grid-area:1/1;min-height:calc(100svh - 100px)}
 body[data-case="pax"] main#main>.pax-lab .pax-lab__asset{max-height:calc(100svh - 100px)}
}
/* Wide/tall diagram stage: center on the section midpoint without entering the caption row. */
@media(min-width:1680px) and (min-height:1250px){
 .session-control.is-flow-selected .carousel-track{position:absolute;inset:auto;top:calc(var(--flow-center,50svh) - (100svh - 260px - 2*var(--caption-height,90px))/2);left:calc((100% - min(1600px,100vw - 160px))/2);width:min(1600px,100vw - 160px);height:calc(100svh - 260px - 2*var(--caption-height,90px));margin:0}
}
body[data-case="pax"] .case-context{right:max(16px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom))}
body[data-case="pax"] .carousel-navigation{scroll-margin-bottom:72px}

/* Directional header access uses contrast-aware ink instead of an eyebrow panel. */
/* Media surfaces have authored contrast, independent of the page theme.
   Set --header-surface:light or dark on future mixed-image regions as needed. */
:is(.intro-hero,.pax-hero,.gopro-hero,.hero-transition,.threshold),body[data-layout="v2"] .case-overview{--header-surface:dark}
.site-header::before{display:none}
.site-header .wordmark--signature img{mix-blend-mode:normal;filter:brightness(0) invert(1)}
.site-header.on-light .wordmark--signature img{filter:brightness(0)}
body[data-page="home"] .site-header .home-about-cta{color:#ece7dd}
body[data-page="home"] .site-header.on-light .home-about-cta{color:#16140f}
body[data-page="home"] .site-header .home-about-cta:is(:hover,:focus-visible){color:var(--filament)}

body[data-case="pax"] .case-context.is-obscuring-content{visibility:hidden}
body[data-case="pax"] .case-project-picker.case-context{
  display:block;padding:0;border:0;background:none;backdrop-filter:none;pointer-events:auto;color:#fff;
}
body[data-case="pax"] .case-project-picker.is-after-hero:is([open],:focus-within){visibility:visible}
.case-project-picker__trigger{
  display:flex;align-items:center;gap:10px;min-height:44px;padding:0 15px;margin:0;list-style:none;
  border:1px solid #4b4948;border-radius:999px;background:rgba(10,10,11,.93);color:#fff;cursor:pointer;
  font-size:11px;line-height:1;backdrop-filter:blur(12px);
}
.case-project-picker__trigger::-webkit-details-marker{display:none}
.case-project-picker__trigger::after{
  content:"";width:6px;height:6px;border-top:1px solid currentColor;border-left:1px solid currentColor;
  transform:translateY(2px) rotate(45deg);transition:transform .25s ease;
}
.case-project-picker[open] .case-project-picker__trigger::after{transform:translateY(-1px) rotate(225deg)}
.case-project-picker:not([open]) .case-project-picker__panel{display:none}
.case-project-picker__panel{
  position:absolute;right:0;bottom:100%;width:min(235px,calc(100vw - 32px));padding-bottom:5px;
  white-space:normal;transform-origin:bottom right;
}
.case-project-picker__panel::before{
  content:"";position:absolute;inset:0 0 5px;border-radius:20px;border:1px solid #4b4948;
  background:rgba(10,10,11,.97);box-shadow:0 10px 34px #0009;pointer-events:none;transform-origin:bottom right;
}
.case-project-picker__links{
  position:relative;max-height:min(430px,calc(100vh - 84px));max-height:min(430px,calc(100dvh - 84px - env(safe-area-inset-bottom)));padding:6px;
  overflow:auto;overscroll-behavior:contain;border-radius:20px;
}
.case-project-picker__links a{
  display:flex;align-items:center;min-height:44px;padding:5px 11px;color:#fff;border-radius:13px;
  text-decoration:none;font-size:13px;line-height:1.2;
}
.case-project-picker__links a[aria-current="page"]{color:#a5ffff}
.case-project-picker__links a:is(:hover,:focus-visible){background:#ffffff19}
.case-project-picker :is(a,summary):focus-visible{outline:2px solid #a5ffff;outline-offset:-3px}
@media(prefers-reduced-motion:no-preference){
  .case-project-picker[open] .case-project-picker__panel::before{animation:case-project-pool .44s cubic-bezier(.2,.67,.26,1)}
  .case-project-picker[open] .case-project-picker__links{animation:case-project-links .2s ease-out}
  @keyframes case-project-pool{
    0%{transform:scale(.53,.10);border-radius:50% 50% 44px 36px;opacity:.45}
    65%{transform:scale(1.045,1.018);border-radius:27px;opacity:1}
    100%{transform:scale(1);border-radius:20px}
  }
  @keyframes case-project-links{from{opacity:0}to{opacity:1}}
}
@media(prefers-reduced-motion:reduce){.case-project-picker__trigger::after{transition:none}}

/* Shared icon controls for playback and storyboard motion. */
body[data-case] .media-control{position:relative;display:inline-grid;place-items:center;flex:none;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:1px solid var(--stone-600);background:rgba(10,10,11,.55);color:var(--bone);cursor:pointer}
body[data-case] .media-control:is(:hover,:focus-visible){border-color:var(--filament);color:var(--filament)}
body[data-case] .media-control:disabled{opacity:.45;cursor:default}
body[data-case] .media-control::before{content:"";display:block;width:18px;height:18px;background:currentColor}
body[data-case] .media-control[data-media-icon="play"]::before{clip-path:polygon(15% 0,100% 50%,15% 100%);transform:translateX(2px)}
body[data-case] .media-control[data-media-icon="pause"]::before{background:linear-gradient(90deg,currentColor 0 34%,transparent 34% 66%,currentColor 66% 100%)}
body[data-case] .media-control[data-media-icon="replay"]::before{width:16px;height:16px;border:2px solid currentColor;border-left-color:transparent;border-radius:50%;background:none;transform:rotate(-40deg)}
body[data-case] .media-control[data-media-icon="replay"]::after{content:"";position:absolute;left:12px;top:11px;width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:6px solid currentColor;transform:rotate(-25deg)}
body[data-case="pax"] .storyboard-controls .media-control{width:44px;min-width:44px;height:44px;padding:0}

/* GoPro opening chapters: keep the 50px frame and put chapter labels in flow. */
@media(min-width:900px){
  body[data-case="gopro"] main#main > .scene#s01{padding-left:var(--margin)}
  body[data-case="gopro"] main#main > .scene#s01 > .scene__index,
  body[data-case="gopro"] main#main > .scene#s02 > .scene__index{position:relative;inset:auto;width:auto;margin:0 0 28px}
  body[data-case="gopro"] main#main > .scene#s01 > .scene__index .lbl,
  body[data-case="gopro"] main#main > .scene#s02 > .scene__index .lbl{margin-left:0}
  body[data-case="gopro"] main#main > .scene#s02{min-height:0;padding:50px var(--margin);background-image:none}
  body[data-case="gopro"] main#main > .scene#s02 > .scene__body{width:100%;max-width:none;margin:0}
  body[data-case="gopro"] main#main > .scene#s02 > .gopro-multiplier{width:100%;margin:32px 0 0}
  body[data-case="gopro"] main#main > .scene#s02::before{top:50%;right:0;width:min(30vw,380px);opacity:.16}
}
body[data-case="gopro"] main#main > .scene#s02{background-image:none}
@media(max-width:899px){
  body[data-case="gopro"] main#main > .scene#s02 > .scene__index{position:relative;inset:auto;width:auto;margin:0 0 28px;padding-left:0}
  body[data-case="gopro"] main#main > .scene#s02 > .scene__body{width:100%;max-width:none;margin:0;padding-inline:0}
  body[data-case="gopro"] main#main > .scene#s02::before{display:none}
}

/* PAX hero: the source bundle's own device renders cover its loading gap. */
body[data-case="pax"] .pax-hero .hero__intro{transition:opacity .45s ease}
body[data-case="pax"] .pax-hero__poster{position:absolute;z-index:1;top:clamp(300px,32svh,450px);right:5vw;display:grid;gap:clamp(12px,1.4vw,24px);width:min(40vw,610px);pointer-events:none;opacity:0}
body[data-case="pax"] .pax-hero__poster img{display:block;width:100%;height:auto}
body[data-case="pax"] .pax-hero.is-media-fallback .pax-hero__poster{opacity:1}
body[data-case="pax"] .pax-hero .hero__scrim{z-index:2}
@media(min-width:900px){
  body[data-case="pax"] .pax-hero{min-height:0}
  body[data-case="pax"] .pax-hero .hero__title{width:min(980px,calc(100vw - (2 * var(--margin))))}
  body[data-case="pax"] .pax-hero .rule-label{font-size:calc(var(--fs-label) * 1.15)}
}
@media(max-width:899px){body[data-case="pax"] .pax-hero__poster{top:390px;right:0;width:min(82vw,500px)}}
@media(prefers-reduced-motion:reduce){body[data-case="pax"] .pax-hero__poster{opacity:1!important}}

/* Keep the GoPro phone and camera together through the existing entrance motion. */
body[data-case="gopro"] .gopro-hero__composition{scale:1.05;transform-origin:right bottom}
@media(max-width:899px){body[data-case="gopro"] .gopro-hero__composition{transform-origin:center bottom}}

/* GoPro chapter frame follows the revised 1440px North Star: a 32px trail,
   75px reading edge and 100px vertical inset, all fluid down to phone size. */
body[data-case="gopro"]{--gopro-reading-edge:clamp(50px,5.208vw,82px);--gopro-rail:clamp(20px,2.22vw,32px);--gopro-section-inset:clamp(50px,6.944vw,100px)}
body[data-case="gopro"] main#main>section.scene{
  min-height:0;
  padding:var(--gopro-section-inset) var(--gopro-reading-edge);
}
body[data-case="gopro"] main#main>.scene>.scene__index{
  position:relative;
  inset:0 auto auto;
  width:auto;
  min-height:0;
  margin:0 0 clamp(24px,4.167vw,60px);
  padding:0;
  background:none;
}
body[data-case="gopro"] main#main>.scene>.scene__index .lbl{margin-left:0}
body[data-case="gopro"] main#main>section.scene:is(#s01,#s02,#s03,#s04,#s05,#s06)>.scene__index{margin-bottom:clamp(24px,4.167vw,60px)}
body[data-case="gopro"] main#main>.scene#s01{padding-left:var(--gopro-reading-edge)}
body[data-case="gopro"] main#main>.scene:not(.pax-mission):not(.pax-lab):not(.gopro-decisions)>.scene__index{top:0}
body[data-case="gopro"] main#main>.scene>.scene__index .node{
  left:calc(var(--gopro-rail) - var(--gopro-reading-edge) - 5.5px);
  top:2px;
}
body[data-case="gopro"] main#main>.scene>.scene__body{
  width:100%;max-width:none;margin:0;padding:0;
}
body[data-case="gopro"] main#main>.scene#s02{
  min-height:0;padding:var(--gopro-section-inset) var(--gopro-reading-edge);
}
@media(min-width:900px){body[data-case="gopro"] #s02 .scene__body .headline{font-size:clamp(38px,4.095vw,59px)}}
body[data-case="gopro"] main#main>.scene#s02>.gopro-multiplier{
  width:100%;margin:clamp(28px,3vw,44px) 0 0;
}
body[data-case="gopro"] main#main>.scene#s02::before{
  display:block;top:0;right:0;z-index:0;
  width:min(38vw,500px);opacity:1;
}
body[data-case="gopro"] #s02>.scene__index,
body[data-case="gopro"] #s02>.scene__body{z-index:1}
body[data-case="gopro"] #s01 .lede{margin-bottom:0}
body[data-case="gopro"] #s01 .gopro-journey{
  width:100%;margin-top:clamp(28px,3vw,44px);
  padding-inline:clamp(24px,3vw,44px);box-sizing:border-box;
}
body[data-case="gopro"] #s01 .gopro-journey__track{padding-inline:0}
body[data-case="gopro"] #s01 .gopro-journey__stop span{font-size:13.3px}
body[data-case="gopro"] #s03 .decisions{margin:0;padding:0}
body[data-case="gopro"] #s04>.scene__body{padding-top:0}
body[data-case="gopro"] #s04>.evidence__rail{margin-top:clamp(28px,3vw,44px)}
body[data-case="gopro"] main#main>.hero-transition .hero-transition__content{padding-top:var(--gopro-section-inset);padding-bottom:var(--gopro-section-inset)}
body[data-case="gopro"] .threshold{--case-footer-left:var(--gopro-reading-edge)}
body[data-case="gopro"] .threshold__trail-target{left:calc(var(--gopro-rail) - var(--gopro-reading-edge))}
@media(max-width:899px){
  body[data-case="gopro"] main#main>section.scene{padding-inline:clamp(48px,8vw,64px) clamp(20px,4vw,40px)}
  body[data-case="gopro"]{--gopro-reading-edge:clamp(48px,8vw,64px);--gopro-rail:clamp(20px,4vw,32px)}
  body[data-case="gopro"] main#main>.scene#s02{padding:var(--gopro-section-inset) var(--gopro-reading-edge) var(--gopro-section-inset) clamp(20px,4vw,40px)}
  body[data-case="gopro"] main#main>.scene#s02>.scene__index,
  body[data-case="gopro"] main#main>.scene#s02>.scene__body,
  body[data-case="gopro"] main#main>.scene#s02>.gopro-multiplier{margin-left:calc(var(--gopro-reading-edge) - clamp(20px,4vw,40px));width:calc(100% - var(--gopro-reading-edge) + clamp(20px,4vw,40px))}
  body[data-case="gopro"] main#main>.scene#s02>.scene__index .node{left:calc(var(--gopro-rail) - var(--gopro-reading-edge) - 5.5px)}
  body[data-case="gopro"] main#main>.scene#s02::before{display:none}
}
@media(max-width:699px){
  body[data-case="gopro"] #s01 .gopro-journey{padding-inline:0}
  body[data-case="gopro"] #s01 .gopro-journey__track{gap:10px}
}

/* Keep the opening headline centered while its controls appear below it. */
@media(min-width:640px) and (min-height:700px) and (prefers-reduced-motion:no-preference){
  .helix-ready .home-work__intro>.work-helix-controls.carousel-navigation{
    position:absolute;inset:calc(100% + 12px) auto auto 0;display:grid;
    grid-template-columns:44px max-content 44px;column-gap:12px;row-gap:0;
    width:max-content;margin:0;padding:0;white-space:nowrap;
    opacity:0;visibility:hidden;transform:translateY(5px);
    transition:opacity 1.15s var(--settle) .32s,transform 1.15s var(--settle) .32s,visibility 0s linear .32s;
  }
  .helix-ready.is-helix-controls-revealed .home-work__intro>.work-helix-controls{
    opacity:1;visibility:visible;transform:none;
  }
  .helix-ready .work-helix-controls .carousel-previous{grid-area:1/1;transition:opacity .28s ease}
  .helix-ready .work-helix-controls .carousel-previous:disabled{opacity:0;visibility:hidden}
  .helix-ready .work-helix-controls .carousel-count{grid-area:1/2;text-align:center}
  .helix-ready .work-helix-controls .carousel-next{grid-area:1/3}
  .helix-ready .work-helix-controls>button{border-radius:50%;background:var(--stone-900)}
  .helix-ready .work-helix-controls .carousel-pages{
    grid-area:2/1/3/4;justify-self:center;justify-content:center;position:relative;--helix-tick-step:18px;
  }
  .helix-ready .work-helix-controls .carousel-pages button{width:18px;min-width:18px}
  .helix-ready .work-helix-controls .carousel-pages .carousel-mark{width:9px;height:2px;border-radius:999px;color:#929296}
  .work-helix-indicator{
    position:absolute;z-index:1;pointer-events:none;left:calc(var(--helix-tick-step)/2 - 8px);top:calc(50% - 1.5px);
    width:16px;height:3px;transform:translateX(calc(var(--helix-page,0)*var(--helix-tick-step)));
    transition:transform .52s cubic-bezier(.23,.78,.24,1);
  }
  .work-helix-indicator>span{display:block;width:100%;height:100%;background:#fff;border-radius:999px}

}
@media(min-width:640px) and (max-width:999px) and (min-height:700px) and (prefers-reduced-motion:no-preference){
  .helix-ready .home-work__intro h2{font-size:clamp(23px,3vw,30px)}
  .helix-ready .work-helix-controls .carousel-pages{--helix-tick-step:15px}
  .helix-ready .work-helix-controls .carousel-pages button{width:15px;min-width:15px}
}

/* The fourth surface glyph is a portrait tablet, matching its expanded form. */
.gopro-multiplier__surface-icons .gopro-multiplier__tablet{
  flex:none!important;width:auto;height:80%;aspect-ratio:3/4;
}

/* Reference scene stages. Media and content share one grid cell, while the
   GoPro device artwork keeps its authored placement inside the media cell. */
.intro-hero.scene-frame,
body[data-case="gopro"] .gopro-hero.scene-frame{
  --scene-pad-x:var(--margin);
  display:grid;
  grid-template-columns:[full-start] minmax(var(--scene-pad-x),1fr) [content-start] repeat(12,minmax(0,var(--col-max))) [content-end] minmax(var(--scene-pad-x),1fr) [full-end];
  grid-template-rows:minmax(100svh,auto);
  grid-template-areas:none;
  min-height:100svh;height:auto;padding:0;
  overflow:visible;
}
.intro-hero.scene-frame > :is(.intro-hero__poster,.intro-hero__video,.intro-hero__shade),
body[data-case="gopro"] .gopro-hero.scene-frame > .gopro-hero__media{
  grid-column:full-start / full-end;grid-row:1;
  position:relative;inset:auto;width:100%;height:100%;min-height:0;
}
.intro-hero.scene-frame > :is(.intro-hero__poster,.intro-hero__video,.intro-hero__shade){pointer-events:none}
.intro-hero.scene-frame > .intro-hero__poster,
.intro-hero.scene-frame > .intro-hero__video,
.intro-hero.scene-frame > .intro-hero__shade{grid-area:1 / full-start / 2 / full-end}
.intro-hero.scene-frame > .intro-hero__content,
body[data-case="gopro"] .gopro-hero.scene-frame > .gopro-hero__title{
  grid-column:content-start / content-end;grid-row:1;align-self:center;z-index:4;
}
body[data-case="gopro"] .gopro-hero.scene-frame > .gopro-hero__title{
  grid-area:auto;grid-column:content-start / content-end;grid-row:1;
  margin:0;padding:0;
}
body[data-case="gopro"] .gopro-hero.scene-frame{overflow:hidden}
@media (max-width:899px){
  body[data-case="gopro"] .gopro-hero.scene-frame > .gopro-hero__title{
    width:auto;max-width:100%;margin-inline:0;container-type:inline-size;
  }
}
@media (min-aspect-ratio:16/10) and (max-height:760px){
  body[data-case="gopro"] .gopro-hero.scene-frame > .gopro-hero__title{
    width:min(55%,480px);justify-self:start;text-align:left;
  }
  body[data-case="gopro"] .gopro-hero.scene-frame .rule-label{justify-content:flex-start}
  body[data-case="gopro"] .gopro-hero.scene-frame .gopro-hero__composition{
    right:0;width:min(45vw,380px);transform:none;scale:.84;transform-origin:right bottom;animation:none!important;
  }
  body[data-case="gopro"] .gopro-hero.scene-frame .gopro-hero__phone{
    top:0;right:12%;width:clamp(120px,24svh,210px);
  }
  body[data-case="gopro"] .gopro-hero.scene-frame .gopro-hero__camera{
    left:0;right:auto;bottom:20px;width:clamp(120px,34svh,190px);
  }
}
@media (min-aspect-ratio:16/10) and (max-height:520px){
  body[data-case="gopro"] .gopro-hero.scene-frame .gopro-hero__composition{
    top:0;bottom:auto;height:65svh;
  }
}
@media (max-width:699px){
}
@media (max-width:359px){
  body[data-case="gopro"] #s02 .scene__body .headline{font-size:6.6vw}
}
.intro-hero.scene-frame > .intro-hero__scroll{grid-row:1}

/* Scene content is allowed to grow when the browser is short or zoomed. */
@media (max-height:520px), (prefers-reduced-motion:reduce){
  .intro-hero.scene-frame,
  body[data-case="gopro"] .gopro-hero.scene-frame{height:auto;min-height:100svh;overflow:visible}
}

.home-work.scene-frame,.signals.scene-frame{
  --scene-pad-x:var(--margin);
  display:grid;
  grid-template-columns:[full-start] minmax(var(--scene-pad-x),1fr) [content-start] repeat(12,minmax(0,var(--col-max))) [content-end] minmax(var(--scene-pad-x),1fr) [full-end];
  padding-inline:0;
}
.home-work.scene-frame > :not(.signals__glow),
.signals.scene-frame > :not(.signals__glow){grid-column:content-start / content-end;min-width:0}
.signals.scene-frame{align-content:center;grid-template-rows:auto auto}
@media(max-width:699px){
  /* The Signals flex gap must not multiply across the 12 desktop grid columns. */
  body[data-page="home"] .signals.scene-frame{
    grid-template-columns:[content-start] minmax(0,1fr) [content-end];
    column-gap:0;
    padding-left:max(var(--margin),env(safe-area-inset-left));
    padding-right:max(var(--margin),env(safe-area-inset-right))
  }
  body[data-page="home"] .signals :is(.signals__body,.signals__mission){overflow-wrap:anywhere}
  body[data-page="home"] .signals__cta{max-inline-size:100%;white-space:normal;text-align:center}
  body[data-page="home"]>.site-header.is-over-signals:not(:focus-within){visibility:hidden;pointer-events:none}
}

body[data-case="gopro"] .hero-transition.scene-frame{
  --scene-pad-x:var(--gopro-reading-edge);
  display:grid;
  grid-template-columns:[full-start] minmax(var(--scene-pad-x),1fr) [content-start] repeat(12,minmax(0,var(--col-max))) [content-end] minmax(var(--scene-pad-x),1fr) [full-end];
}
body[data-case="gopro"] .hero-transition.scene-frame > .hero-transition__content{
  grid-column:content-start / content-end;width:100%;min-width:0;padding-inline:0;
}
/* Keep the phone facts card low in the swimmer scene, clear of the diver's face. */
@media(max-width:899px){
  body[data-case="gopro"] main#main>.hero-transition.scene-frame>.hero-transition__content{
    grid-column:full-start / full-end;align-self:end;width:95%;margin-inline:auto;
    padding:0 0 16px;justify-content:flex-end;
  }
  body[data-case="gopro"] .hero-transition__facts{width:100%;max-width:none}
}
@media(max-width:699px){
  body[data-case="gopro"] .hero-transition__facts{padding:16px 12px}
  body[data-case="gopro"] .hero-transition__facts dt:not(:first-child){margin-top:12px}
}
body[data-case="gopro"] main#main>.scene.scene-frame:is(#s01,#s02,#s03,#s04,#s05,#s06){
  --scene-pad-x:var(--gopro-reading-edge);
  display:grid;
  grid-template-columns:[full-start] minmax(var(--scene-pad-x),1fr) [content-start] repeat(12,minmax(0,var(--col-max))) [content-end] minmax(var(--scene-pad-x),1fr) [full-end];
  align-content:start;padding-inline:0;
}
body[data-case="gopro"] main#main>.scene.scene-frame:is(#s01,#s02,#s03,#s04,#s05,#s06)>:not(.gopro-surface-scene){
  grid-column:content-start / content-end;min-width:0;
}
@media (max-width:899px){
  body[data-case="gopro"] main#main>.scene.scene-frame:is(#s01,#s02,#s03,#s04,#s05,#s06){
    grid-template-columns:[full-start] minmax(var(--gopro-reading-edge),1fr) [content-start] repeat(12,minmax(0,var(--col-max))) [content-end] minmax(clamp(20px,4vw,40px),1fr) [full-end];
  }
}

/* About's media stays full bleed while all readable content shares the same
   bounded scene tracks. Long chapters retain intrinsic height. */
body[data-page="about"] .scene-frame{
  --scene-pad-x:var(--margin);
  display:grid;
  grid-template-columns:[full-start] minmax(var(--scene-pad-x),1fr) [content-start] repeat(12,minmax(0,var(--col-max))) [content-end] minmax(var(--scene-pad-x),1fr) [full-end];
  min-height:100svh;height:auto;padding-inline:0;overflow:visible;
}
body[data-page="about"] .about-hero.scene-frame{grid-template-rows:minmax(100svh,auto)}
body[data-page="about"] .about-hero.scene-frame > :is(.about-hero__video,.about-hero__shade){
  grid-area:1 / full-start / 2 / full-end;position:relative;inset:auto;width:100%;height:100%;min-height:0;
}
body[data-page="about"] .about-hero.scene-frame > .about-hero__copy{
  grid-area:1 / content-start / 2 / content-end;
  align-self:center;min-height:0;padding:var(--scene-pad-y) 0;
}
body[data-page="about"] .scene-frame > .about-section-inner{
  grid-column:content-start / content-end;width:100%;min-width:0;
}
body[data-page="about"] .about-section-inner{container:about-body / inline-size}
@container about-body (max-width:680px){
  .about-beliefs__list,.about-obsessions__list,.about-contact__name{grid-template-columns:minmax(0,1fr)}
}

/* The local philosophy chapters respond to their actual reading width. */
.draft-story{container:philosophy-story / inline-size}
@container philosophy-story (max-width:850px){
  .draft-section{grid-template-columns:minmax(0,1fr);gap:20px}
}

/* Local component contexts use their own width instead of the page width. */
.work-list,.evidence__rail,.decisions,.work-card,.decision,.ixd-vocab{container-type:inline-size}
@container (max-width:360px){
  .work-card__copy h3{font-size:clamp(22px,8cqw,30px)}
}
}

@layer overrides {
/* North Star keeps a full scene rhythm while its content can grow on short screens. */
@media(min-width:900px){body[data-case="gopro"] main#main>.scene.scene-frame#s02{min-height:max(100svh,900px);align-content:center}}
@media(max-width:899px){body[data-case="gopro"] main#main>.scene.scene-frame#s02{min-height:100svh}}
/* The architecture plate's image already provides its own edge. */
body[data-case="gopro"] .gopro-decisions .decision:nth-child(2)>.decision__fig{border:0}
}

@layer overrides {
/* Case overviews share the PAX/GoPro reading edge and chapter rhythm. */
.draft-main.case-overview{min-width:0}
.draft-main.case-overview .draft-hero{
  display:flex;align-items:center;min-height:min(100svh,900px);
  padding:clamp(150px,18svh,220px) var(--margin) clamp(90px,10svh,130px) calc(var(--seam) + 60px)
}
.draft-main.case-overview .draft-hero::after{left:var(--seam);z-index:0;pointer-events:none}
.draft-main.case-overview .draft-hero__inner{position:relative;z-index:1;width:100%;max-width:900px;margin:0}
.draft-main.case-overview .draft-hero h1{max-width:12ch;font-size:clamp(52px,6.5vw,96px);line-height:var(--case-hero-leading,.92)}
.draft-main.case-overview .draft-hero p:not(.lbl){max-width:52ch}
.draft-main.case-overview .draft-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 36px;margin-top:46px;padding:22px 0}
.draft-main.case-overview .draft-facts strong{display:block;margin-bottom:7px;color:var(--filament);font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.14em;text-transform:uppercase}
.draft-main.case-overview .draft-story{max-width:none;margin:0;padding:0}
.draft-main.case-overview .draft-section{
  position:relative;display:block;min-height:min(80svh,760px);
  padding:clamp(90px,11svh,125px) var(--margin) clamp(100px,12svh,140px) calc(var(--seam) + 60px)
}
.draft-main.case-overview .draft-section::before{content:"";position:absolute;top:0;bottom:0;left:var(--seam);width:1px;background:var(--stone-700);pointer-events:none}
.draft-main.case-overview .draft-section::after{content:"";position:absolute;top:calc(clamp(90px,11svh,125px) + 2px);left:calc(var(--seam) - 5px);width:11px;height:11px;border:1px solid var(--filament);border-radius:50%;background:var(--basalt);pointer-events:none}
.draft-main.case-overview .draft-section__label{position:absolute;top:clamp(90px,11svh,125px);left:var(--margin);width:calc(var(--seam) - var(--margin) - 25px);margin:0;font-size:12px;line-height:1.4}
.draft-main.case-overview .draft-section__body{width:100%;max-width:900px}
.draft-main.case-overview .draft-section h2{max-width:18ch;margin-bottom:30px}
.draft-main.case-overview .draft-story>.draft-notice,
.draft-main.case-overview .draft-story>p{margin:0;padding:32px var(--margin) 32px calc(var(--seam) + 60px)}
.draft-main.case-overview .draft-story>p{padding-block:50px 100px}
@media(max-width:899px){
  .draft-main.case-overview{--seam:32px}
  .draft-main.case-overview .draft-hero{min-height:100svh;padding:130px var(--margin) 80px 72px}
  .draft-main.case-overview .draft-hero::after{top:90px}
  .draft-main.case-overview .draft-hero h1{font-size:clamp(42px,10vw,68px)}
  .draft-main.case-overview .draft-hero p:not(.lbl){font-size:clamp(20px,5vw,26px)}
  .draft-main.case-overview .draft-section{min-height:0;padding:75px var(--margin) 90px 72px}
  .draft-main.case-overview .draft-section::after{top:77px}
  .draft-main.case-overview .draft-section__label{position:relative;top:auto;left:auto;width:auto;margin:0 0 28px}
  .draft-main.case-overview .draft-story>.draft-notice,
  .draft-main.case-overview .draft-story>p{padding-left:72px}
}
@media(max-width:620px){
  .draft-main.case-overview .draft-facts{grid-template-columns:minmax(0,1fr);gap:18px}
  .draft-main.case-overview .draft-hero{padding-top:110px}
}
}

/* Retire case-study trail lines and markers, retaining chapter labels and navigation. */
@layer overrides {
 body[data-case] :is(.seam,.seam-origin,[data-node],.threshold__trail-target){display:none;visibility:hidden;animation:none}
 body[data-case] .draft-hero::after,
 body[data-case] .draft-main.case-overview .draft-section::before,
 body[data-case] .draft-main.case-overview .draft-section::after{content:none}
}

/* The small-screen scene grid must not squeeze the GoPro mark into its first track. */
@layer overrides {
 @media(max-width:899px){
  .gopro-hero>.gopro-logo{position:absolute;top:50px;left:50%;width:clamp(108px,26vw,140px);max-width:none;height:auto;margin:0;transform:translateX(-50%)}
 }
}

/* Shared case-study prose. Product artwork, labels and captions retain their own scale. */
@layer overrides {
@media (min-width:900px) {
  body[data-case]:not([data-case="animateme"]) { --case-body-size:26px; }
  body[data-case]:not([data-case="animateme"]) main#main :is(p,.mt-body,.body):not(:where(
    .lbl,.meta,.colophon,.sr-only,.case-caption,.draft-section__label,.ixd-haptic-spec,.zibo-flow__hint,
    figure *,figcaption *,[role="img"] *,[role="status"] *,[aria-live] *,
    .case-caption *,.draft-facts *,.zibo-hero__role *,.flow-controls *,.pax-web-list *,.draft-story>p:has(.draft-back)
  )) { font-size:var(--case-body-size);line-height:1.55; }
}
}

/* Shared case-study type and rhythm, Portfolio 2026 / 507:1137. */
@layer overrides {
 body[data-case] {
  --case-eyebrow-size:11px; --case-eyebrow-weight:900; --case-eyebrow-tracking:.32em;
  --case-heading-size:clamp(30px,3.4vw,52px); --case-heading-leading:.98;
  --case-copy-leading:1.153846; --case-eyebrow-gap:20px; --case-copy-gap:24px;
  --case-content-max:1280px;
 }
 body[data-case] :is(.section-copy,.section-heading,.story-lead,.draft-section) > .lbl,
 body[data-case] :is(.eyebrow,.hero__eyebrow) {font-weight:var(--case-eyebrow-weight)}
 body[data-case] :is(.section-copy,.section-heading,.story-lead,.draft-section) > .lbl {
  font-size:var(--case-eyebrow-size);line-height:1.4;letter-spacing:var(--case-eyebrow-tracking);margin-bottom:var(--case-eyebrow-gap)
 }
 body[data-case] :is(.section-copy,.section-heading,.draft-section) > h2 {
  font-size:var(--case-heading-size);line-height:var(--case-heading-leading);margin-bottom:var(--case-copy-gap)
 }
 @media(min-width:900px){
  body[data-case] main#main :is(.section-copy,.section-heading,.story-lead,.draft-section) > p:not(.lbl):not(.case-caption){font-size:26px;font-weight:300;line-height:var(--case-copy-leading)}
 }
}

/* Mobile case template: reclaim the retired trail gutter without changing desktop. */
@layer overrides {
 @media(max-width:899px){
  body[data-case]{--case-mobile-gutter:20px}
  body[data-case="gopro"]{--gopro-reading-edge:var(--case-mobile-gutter)}
  body[data-case="gopro"] main#main>.scene.scene-frame:is(#s01,#s02,#s03,#s04,#s05,#s06){
   grid-template-columns:[full-start] var(--case-mobile-gutter) [content-start] repeat(12,minmax(0,var(--col-max))) [content-end] var(--case-mobile-gutter) [full-end];
  }
  body[data-case="gopro"] main#main>.scene#s02>:is(.scene__index,.scene__body,.gopro-multiplier){margin-left:0;width:100%}
  body[data-case] .draft-main.case-overview :is(.draft-hero,.draft-section),
  body[data-case] .draft-main.case-overview .draft-story>:is(.draft-notice,p){padding-inline:var(--case-mobile-gutter)}
  body[data-case] main#main>.threshold{--case-footer-left:var(--case-mobile-gutter)}
 }
}

/* Reclaim the hero's retired mobile trail gutter as well as chapter grids. */
@layer overrides {
 @media(max-width:899px){
  body[data-case="pax"] .pax-hero .hero__title{width:calc(100vw - 40px);margin-left:calc(20px - var(--margin))}
 }
 @media(max-width:699px){body[data-case="gopro"] .gopro-journey{margin-left:-20px}}
}

/* Shared mobile editorial rhythm; desktop composition remains unchanged. */
@layer overrides {
 @media(max-width:899px){
  .theme-toggle.theme-toggle--cord{display:none!important}
  body[data-case]{--case-eyebrow-gap:12px}
  body[data-case] main#main>section :is(.hero__title,.section-copy,.section-heading,.story-lead,.draft-hero__inner)>.lbl:has(+h1,+h2),
  body[data-case] main#main>section .hero__title>.rule-label{margin-bottom:var(--case-eyebrow-gap)}
  body[data-case] main>.scene>.scene__index,
  body[data-case] .draft-main .draft-section__label{margin-bottom:var(--case-eyebrow-gap)}
  body[data-case] main#main>section :is(.hero__title,.section-copy,.section-heading,.story-lead,.draft-hero__inner)>.lbl+:is(h1,h2){margin-top:0}
  body[data-case] main#main>section .case-caption{height:auto;min-height:0;padding:12px 14px;gap:4px;align-items:flex-start;justify-content:flex-start}
  body[data-case] main#main>section .case-caption :is(p,a,span){font-size:12px;line-height:1.5;max-width:none;margin:0;letter-spacing:.24px;text-transform:none}
  body[data-case] main#main>section .case-caption>span:first-child{font-size:10px;line-height:1.4;letter-spacing:.12em;text-transform:uppercase}
  body[data-case] .draft-main .draft-facts{margin-top:24px;padding-block:12px;gap:12px}
  body[data-case="gopro"] .hero-transition__facts dl{grid-template-columns:64px minmax(0,1fr);gap:8px 12px;line-height:1.45}
  body[data-case="gopro"] .hero-transition__facts dt:not(:first-child){margin-top:0}
  body[data-case][data-layout="v2"] main#main .case-welcome>.welcome-index{position:static;margin:0 0 var(--case-eyebrow-gap);width:100%;max-width:none}
  body[data-case][data-layout="v2"] main#main>.case-welcome.scene-frame{padding-top:50px;row-gap:0}
  body[data-case][data-layout="v2"] main#main .outcome-grid{row-gap:var(--case-eyebrow-gap)}
  body[data-case][data-layout="v2"] main#main .outcome-grid>.outcome-label{margin-bottom:var(--case-eyebrow-gap)!important}
 }
}

@layer overrides { @media(max-width:899px){
 body[data-case="gopro"] main#main>.scene#s02>.scene__index{top:auto}
 body[data-case="gopro"] main#main>.scene#s03>.scene__index{gap:12px}
 body[data-case="gopro"] main#main>.scene#s03>.scene__index>.lbl{margin:0}
}}

/* Mobile footer artwork dissolves into the preceding page instead of a hard seam. */
@layer overrides {
 @media(max-width:899px){
  html[data-theme="light"] body[data-case]{--case-footer-blend:#fff}
  body[data-case] main#main>.threshold .threshold__scrim{background:linear-gradient(180deg,var(--case-footer-blend,#0a0a0b) 0%,var(--case-footer-blend,#0a0a0b) 5%,color-mix(in srgb,var(--case-footer-blend,#0a0a0b) 82%,transparent) 16%,color-mix(in srgb,var(--case-footer-blend,#0a0a0b) 42%,transparent) 32%,transparent 52%,rgba(10,10,11,.8) 100%)}
 }
}

/* About: a cinematic reading mode and its in-place, dark transcript. */
body[data-page="about"]{--about-header-height:50px}
body[data-page="about"] .about-header{
  height:var(--about-header-height);padding:0 var(--margin)
}
body[data-page="about"] .about-header .wordmark--signature{
  display:grid;align-items:center;width:70px;height:44px
}
body[data-page="about"] .about-header .wordmark--signature img{height:35px}
body[data-page="about"] .about-header .about-nav a{
  display:flex;align-items:center;min-height:44px
}
body[data-page="about"] .about-hero.scene-frame > .about-hero__copy{
  display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr);align-items:center;
  gap:clamp(20px,4vw,72px);padding-block:calc(var(--about-header-height) + 24px) 76px
}
body[data-page="about"] .about-hero__copy h1{
  font-size:clamp(44px,5.6vw,90px);line-height:.94;text-wrap:balance
}
.about-hero__portrait{
  justify-self:center;width:min(100%,440px,52svh);aspect-ratio:4/5
}
.about-hero__portrait > .about-scanner[hidden]{display:none}
.about-hero__portrait .about-scanner{width:100%;height:100%;background:transparent}
@media(max-width:740px){
  body[data-page="about"]{--about-header-height:44px}
  body[data-page="about"] .about-hero.scene-frame > .about-hero__copy{
    grid-template-columns:minmax(0,1fr);gap:clamp(16px,3svh,30px);
    align-content:center;padding-block:calc(var(--about-header-height) + 24px) 73px
  }
  body[data-page="about"] .about-hero__copy h1{
    font-size:clamp(32px,9.2vw,60px);line-height:.94;text-align:center
  }
  .about-hero__portrait{width:min(78%,300px,37svh)}
}
body[data-page="about"] .about-nav{
  gap:clamp(4px,1.2vw,14px);font-size:clamp(9px,1.45vw,12px);letter-spacing:.12em
}
body[data-page="about"] .about-nav a{padding:12px 3px;text-transform:uppercase}
body[data-page="about"] :is(#contact,#history,#history-text,#beliefs){scroll-margin-top:calc(var(--about-header-height) + 12px)}
body[data-page="about"] .about-history.scene-frame{
  position:relative;isolation:isolate;overflow:clip;overflow-anchor:none;
  background:#080a10;color:#f2ebdc
}
/* The same top-anchored night sky stays behind the entire history scene. */
.about-history__backdrop{position:absolute;z-index:0;inset:0;pointer-events:none;overflow:clip}
.about-history__sky{position:sticky;top:0;height:100svh;overflow:clip}
.about-history__sky::after{
  content:"";position:absolute;inset:auto 0 0;height:24px;
  background:linear-gradient(transparent,#080a10)
}
.about-history__sky::before{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(180deg,rgba(5,9,17,.18),rgba(5,9,17,.32) 56%,rgba(5,9,17,.62)),
    none center top / cover no-repeat;
  transform:scale(1.08);transform-origin:50% 0
}
.about-history__transcript{position:relative;z-index:1}
/* Only the text column scrolls. The surrounding gutters belong to the page. */
body[data-page="about"] .about-history.is-story-reading{
  height:100svh;min-height:100svh;padding:0;grid-template-rows:minmax(0,1fr);
  --history-reading-inset:calc(var(--about-header-height) + 36px)
}
body[data-page="about"] .about-history.is-story-reading > .about-history__transcript{
  max-width:760px;width:100%;min-height:0;height:100%;margin:0 auto;
  padding:var(--history-reading-inset) 0 212px;overflow:auto;scrollbar-width:none;overflow-anchor:none
}
body[data-page="about"] .about-history.is-story-reading .about-history__slot{width:100%}
body[data-page="about"] .about-history.is-story-reading .about-history__transcript:focus-visible{
  outline:1px solid #9ccef266;outline-offset:-1px
}
body[data-page="about"] .about-history.has-history-film{
  position:relative;grid-template-rows:auto;padding-block:0;
  --history-crawl-footer:max(16%,calc(120px + env(safe-area-inset-bottom)))
}
.about-history-film[hidden],.about-history__transcript[hidden]{display:none}
.about-history__transcript:focus{outline:none}
.about-history-film{
  grid-column:full-start / full-end;position:relative;z-index:1;isolation:isolate;overflow:hidden;
  min-height:100svh;color:#f7d286
}
/* Hold the projected text in the viewport until its original node reaches the column. */
@property --history-mask-strength{syntax:"<number>";inherits:false;initial-value:0}
.about-history.is-story-opening > .about-history-film{
  position:fixed;z-index:2;inset:var(--history-film-top,0px) 0 auto;
  height:var(--history-film-height,100svh);min-height:0;pointer-events:none;background:transparent;overflow:visible
}
.about-history.is-story-opening > .about-history-film *{pointer-events:none}
.about-history.is-story-opening .about-history-film__window{overflow:visible}
.about-history-film__visual{position:absolute;inset:0;pointer-events:none}
.about-history-film__title{
  position:absolute;z-index:1;inset:0;display:grid;place-content:center;text-align:center;
  gap:16px;padding:var(--margin);transform-origin:50% 52%;opacity:0
}
.about-history-film__title>.lbl{color:#9ccef2;letter-spacing:.22em}
.about-history-film__title>strong{
  font-family:var(--display-sans);font-size:clamp(35px,7vw,104px);line-height:.88;
  letter-spacing:-.027em;text-transform:uppercase;text-shadow:0 0 36px rgba(246,203,104,.17)
}
.about-history-film__window{
  position:absolute;inset:5% 0 var(--history-crawl-footer,max(16%,calc(120px + env(safe-area-inset-bottom))));overflow:hidden;
  mask-image:linear-gradient(rgb(0 0 0 / var(--history-mask-strength,0)) 0%,#000 29%,#000 84%,rgb(0 0 0 / var(--history-mask-strength,0)) 100%)
}
.about-history-film__scrub{
  position:absolute;inset:5% 0 var(--history-crawl-footer,16%);width:min(80%,850px);margin-inline:auto;
  pointer-events:auto;cursor:grab;touch-action:pan-x pinch-zoom;user-select:none;-webkit-user-select:none
}
.about-history-film__scrub.is-dragging{cursor:grabbing}
.about-history-film__plane{
  position:absolute;inset:0;transform:perspective(940px) rotateX(25deg);
  transform-origin:50% 100%
}
.about-history-film__copy,.about-history__slot{
  width:min(760px,calc(100vw - 2 * var(--margin)));margin-inline:auto
}
.about-history-film__copy{opacity:0;will-change:transform,opacity}
.about-history__transcript h2{max-width:760px;margin-inline:auto}
.about-history__body{display:flow-root;position:relative;color:#fff;text-align:left}
.about-history .about-history__body :is(p,h3){
  font-family:var(--display-sans);font-size:clamp(19px,2.45vw,32px);line-height:1.48;
  font-weight:550;letter-spacing:.005em
}
.about-history .about-history__body h3{margin:1.25em 0 .65em;font-size:clamp(24px,3.4vw,46px)}
.about-history-film__controls[hidden]{display:none}
.about-history-film__controls{
  --history-control-bottom:max(18px,env(safe-area-inset-bottom));
  position:absolute;z-index:15;bottom:var(--history-control-bottom);left:50%;transform:translateX(-50%);
  width:min(260px,100vw);display:grid;justify-items:center;gap:2px;color:#f6e7bc;
  isolation:isolate;pointer-events:none;opacity:var(--history-controls-opacity,1)
}
.about-history-film__controls::before{
  content:"";position:absolute;z-index:-1;pointer-events:none;
  inset:-64px auto calc(-1 * var(--history-control-bottom)) 50%;
  transform:translateX(-50%);width:100vw;opacity:0;transition:opacity .35s ease;
  background:linear-gradient(180deg,transparent,#080a10c9 56px,#080a10f5 132px,#080a10 100%)
}
.about-history.is-story-reading .about-history-film__controls::before{opacity:1}
.about-history-film__controls button{
  display:inline-grid;place-items:center;min-height:44px;padding:0 12px;
  border:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;
  text-transform:inherit;white-space:nowrap;cursor:pointer;pointer-events:auto
}
.about-history-film__controls .about-history-film__playback{
  width:44.8px;height:44.8px;padding:0;border:1px solid #f6e7bc52;border-radius:50%;background:#080a1070
}
.about-history-film__playback svg{
  display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:square;stroke-linejoin:round
}
.about-history-film__playback [data-glyph]{display:none}
.about-history-film__playback[data-playback="pause"] [data-glyph="pause"],
.about-history-film__playback[data-playback="play"] [data-glyph="play"],
.about-history-film__playback[data-playback="replay"] [data-glyph="replay"]{display:block}
.about-history-film__playback[data-playback="play"] svg{fill:currentColor}
.about-history-film__controls .about-history-film__read{
  display:inline-flex;gap:8px;padding:0;color:#ece7dd;letter-spacing:.06em;
  transition:color 120ms var(--settle)
}
.about-history-film__read>span[aria-hidden]{color:var(--filament)}
.about-history-film__controls .about-history-film__read:is(:hover,:focus-visible){color:var(--filament)}
.about-history.is-story-reading .about-history-film__playback{visibility:hidden;pointer-events:none}
.about-history-film__controls .about-history-film__playback:is(:hover,:focus-visible){border-color:currentColor}
/* Wide reading scenes reserve contrast just for the return label, not the sky. */
@media(min-width:1100px){
  .about-history.is-story-reading .about-history-film__controls::before,
  .about-history.is-story-reading .about-history__sky::after{content:none}
  .about-history.is-story-reading .about-history-film__read{
    position:relative;isolation:isolate
  }
  .about-history.is-story-reading .about-history-film__read::before{
    content:"";position:absolute;z-index:-1;pointer-events:none;inset:5px -12px;
    border:1px solid rgba(231,231,248,.14);border-radius:999px;
    background:linear-gradient(180deg,rgba(12,16,24,.66),rgba(8,10,16,.88));
    -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
    box-shadow:0 3px 12px rgba(5,8,16,.25)
  }
  .about-history.is-story-reading .about-history-film__read:is(:hover,:focus-visible)::before{
    border-color:rgba(156,206,242,.46)
  }
}
.about-history-film__controls button:focus-visible{outline:1px solid #f7d286;outline-offset:4px}
@media(max-width:640px){
  .about-history-film__plane{transform:perspective(900px) rotateX(17deg)}
}
@media(prefers-reduced-motion:reduce){
  .about-history-film{display:none}
  body[data-page="about"] .about-history.has-history-film{padding-top:clamp(100px,12vw,180px)}
}


/* Full-width headers on wide displays; the editorial columns keep their own margins. */
@media(min-width:1600px){
  body:is([data-page="home"],[data-page="about"])>.site-header{
    --wide-header-edge:clamp(36px,2.35vw,68px);
    padding-inline:var(--wide-header-edge)
  }
  body[data-page="home"]>.site-header .home-about-cta{margin-inline-end:0}
  body[data-page="home"]>.site-header:has(>.theme-toggle--cord.is-visible:not(.is-away)) .home-about-cta{
    margin-inline-end:max(0px,calc(92px - var(--wide-header-edge)))
  }
}


/* Consolidated case-study rules: case-motion.css. */
/* Shared case-study section focus. The section background stays solid. */
html[data-case-motion="on"] main[data-case-motion] > section[data-motion-scene] > :not(.hero-transition__media):not(.seam-origin) {
  opacity: var(--scene-opacity, 1);
  translate: 0 var(--scene-lift, 0px);
  scale: var(--scene-scale, 1);
}

/* Existing one-way reveals yield to the reversible section controller. */
main[data-case-motion] > section:not(.hero):not(.threshold) .reveal,
main[data-case-motion] > section:not(.hero):not(.threshold) .line > span {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

html[data-case-motion="on"] main[data-case-motion] > section[data-motion-scene] [data-motion-eyebrow] {
  opacity: var(--eyebrow-opacity, 1);
}

html[data-case-motion="on"] #session-flow .flow-controls {
  opacity: var(--flow-control-progress, 0);
  translate: 0 calc((1 - var(--flow-control-progress, 0)) * 56px);
}

/* Focused controls and their labels must remain legible during a transition. */
html[data-case-motion="on"] main[data-case-motion] > section[data-motion-scene]:focus-within > * {
  opacity: 1;
  translate: none;
  scale: none;
}
html[data-case-motion="on"] main[data-case-motion] > section[data-motion-scene]:focus-within [data-motion-eyebrow] {
  opacity: 1;
}
html[data-case-motion="on"] #session-flow .flow-controls:focus-within {
  opacity: 1;
  translate: none;
}

@media (prefers-reduced-motion: reduce) {
  main[data-case-motion] > section[data-motion-scene] > * {
    opacity: 1 !important;
    translate: none !important;
    scale: none !important;
  }
  main[data-case-motion] > section[data-motion-scene] [data-motion-eyebrow] { opacity: 1 !important; }
  #session-flow .flow-controls { opacity: 1 !important; translate: none !important; }
}


/* Consolidated case-study rules: case-intro.css. */
/* Shared hero choreography. No-script and settled content keep their original layout. */
/* Standalone cases share typography; layout modifiers describe available space. */
.case-hero-heading{width:100%;max-width:1100px;font-family:var(--font-option-archivo-black);font-weight:400;font-stretch:normal;letter-spacing:normal;text-transform:uppercase;text-wrap:balance}
.case-hero-heading--stage{color:#f2f6f8;text-wrap:normal}
.case-hero-heading--stage .line{overflow:visible;white-space:nowrap}
.case-hero-heading .hero-outline{font-style:normal;color:transparent;-webkit-text-stroke:clamp(1.5876px,calc(.84888px + .068931vw),2.2275px) var(--filament);paint-order:stroke fill}
.case-hero-heading__accent-letter{letter-spacing:.044em}
.case-hero-heading__amp{font-family:'Arial Hebrew',Arial,sans-serif;font-weight:700;letter-spacing:-.013em}
/* The secondary case identity replaces the hero identity only after the hero exits. */
.js body[data-case] .case-context{transition:opacity .25s ease,transform .25s ease,visibility 0s}
.js body[data-case] .case-context:not(.is-after-hero){opacity:0;visibility:hidden;transform:translateY(12px)}
@media(prefers-reduced-motion:reduce){.js body[data-case] .case-context{transition:none}}
@media(min-width:900px){
 body[data-case] main :is(.hero,.draft-hero,.zibo-hero){--case-hero-leading:.75}
 .case-hero-heading{font-size:clamp(60px,6.44vw,104px);line-height:var(--case-hero-leading)}
}
@media(max-width:899px){
 .case-hero-heading--stage{font-size:min(15.3vw,106px);line-height:.765;letter-spacing:-.01em}
 /* GoPro keeps side gutters: fit the full headline to its content, not the viewport. */
 .gopro-hero__title .case-hero-heading--stage{font-size:min(15.3cqw,106px)}
 .case-hero-heading--rail{font-size:clamp(27px,8.7vw,44px);line-height:1.03;letter-spacing:-.025em;text-wrap:nowrap}
}
@media(min-width:900px) and (min-aspect-ratio:16/10) and (max-height:760px){
 .case-hero-heading{font-size:clamp(32px,10svh,58px)}
}
.case-intro-title-line{display:block}
[data-case-intro] .case-intro-swipe{transition:none!important}
[data-case-intro]:not([data-case-intro="complete"]) .case-intro-title:has(.case-intro-title-line){overflow:hidden}
[data-case-intro]:not([data-case-intro="complete"]) .case-hero-heading--stage .line{overflow:hidden}
[data-case-intro] .hero__title{transition:none!important}
[data-case-intro]:not([data-case-intro="complete"]) :is(.pax-era-logo,.gopro-logo,[data-case-logo]){transition:none!important}
.case-intro-metadata{position:relative}
.case-intro-glitch{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.case-intro-scrambling .case-intro-original{opacity:0}
/* The demo retains its reversible outer scene opacity without overriding the inner swipe. */
.demo-case [data-case-intro]:not([data-case-intro="complete"]) .case-intro-swipe{transform:translateY(100%)}
@media(prefers-reduced-motion:reduce){
 [data-case-intro] .case-intro-character,[data-case-intro] .case-intro-metadata,[data-case-intro] :is(.pax-era-logo,.gopro-logo,[data-case-logo]){opacity:1!important;scale:1!important}
 [data-case-intro] .case-intro-swipe{transform:none!important}
 .case-intro-glitch{display:none}
 .case-intro-scrambling .case-intro-original{opacity:1}
}

/* The hero eyebrow shares the case template's stronger label weight. */
body[data-case] :is(.hero__title,.draft-hero,.zibo-hero)>.lbl{font-weight:var(--case-eyebrow-weight,900)}

/* Generated GoPro divider follows its eyebrow. */
[data-case-intro="delay"] .rule-label::after,[data-case-intro="waiting"] .rule-label::after,[data-case-intro="typing"] .rule-label::after{opacity:0}


/* Consolidated case-study rules: pax-v2.css. */
/* Main PAX case composition. Shared tokens/header/footer remain canonical. */
@layer overrides {
/* Let the devices land before the title and page header appear.
   Only pax.html opts in; the separate Animateme study keeps its own timing. */
html[data-pax-intro] body[data-layout="v2"] :is(.site-header,.case-context,.hero__title){transition:opacity .6s ease,visibility 0s}
html[data-pax-intro].pax-intro-pending body[data-layout="v2"] :is(.site-header,.case-context,.hero__title){opacity:0;visibility:hidden;pointer-events:none;transition:none}
html[data-pax-intro].pax-intro-pending body[data-layout="v2"] .hero .line>span{transform:translateY(100%);transition:none}
html[data-pax-intro]:not(.js) .hero .line>span{transform:none}
html[data-pax-intro]:not(.js) .pax-hero__poster{opacity:1}
@media(prefers-reduced-motion:reduce){
 html[data-pax-intro] body[data-layout="v2"] :is(.site-header,.case-context,.hero__title){opacity:1;visibility:visible;pointer-events:auto;transition:none}
 html[data-pax-intro].pax-intro-pending body[data-layout="v2"] .hero .line>span{transform:none}
}
body[data-layout="v2"]{--case-gutter:var(--margin);background:var(--stone-950,#0a0a0b);color:var(--bone);overflow-x:clip}
body[data-layout="v2"] main{position:relative}
body[data-layout="v2"] .section-container{width:calc(100% - 2*var(--case-gutter));max-width:1360px;margin-inline:auto}
body[data-layout="v2"] main>section:not(.hero):not(.threshold){padding-block:72px}
body[data-layout="v2"] main>section:not(.hero):not(.threshold) h2{font-family:var(--display-sans);font-weight:900;line-height:.98;letter-spacing:-.025em;text-transform:uppercase;text-wrap:balance;margin:0 0 24px}
body[data-layout="v2"] main>section:not(.hero):not(.threshold) h2{font-size:clamp(30px,3.4vw,52px)}
body[data-layout="v2"] main>section:not(.hero):not(.threshold) p:not(.case-caption){font-size:18px;line-height:1.55;margin:0 0 20px;max-width:62ch}
body[data-layout="v2"] main>section:not(.hero):not(.threshold) p.lbl{font-size:11px;line-height:1.4;margin-bottom:20px}
body[data-layout="v2"] main>section:not(.hero):not(.threshold) figure{min-width:0;margin:0}
body[data-layout="v2"] main>section:not(.hero):not(.threshold) figure>img{display:block;width:100%;height:auto}
body[data-layout="v2"] .case-overview{border-block:1px solid var(--stone-700)}
body[data-layout="v2"] .overview-copy{display:grid;grid-template-columns:1fr 1fr;gap:48px}
body[data-layout="v2"] .overview-copy p{margin:0}
body[data-layout="v2"] .project-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-top:48px;padding-top:32px;border-top:1px solid var(--stone-700)}
body[data-layout="v2"] .project-highlights h3{color:var(--filament);margin:0 0 14px;font-size:11px}
body[data-layout="v2"] .project-highlights p{font-size:16px;margin:0;color:var(--bone-400)}
body[data-layout="v2"] .case-emphasis-line{color:var(--filament-ink);font-weight:700}
body[data-layout="v2"] .feature-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:center;gap:clamp(32px,5vw,80px)}
body[data-layout="v2"] .phone-image{position:relative;isolation:isolate;aspect-ratio:1}
body[data-layout="v2"] .phone-image>img{display:block;width:100%;height:100%;object-fit:contain}
body[data-layout="v2"] .video-mask{position:absolute;left:32.7%;top:7.2%;width:37%;height:85.2%;overflow:hidden;border-radius:12%/5.2%;background:#2a2829;opacity:0}
body[data-layout="v2"] .video-mask.is-playing{opacity:1}
body[data-layout="v2"] .video-mask video{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
body[data-layout="v2"] .interaction-figure>figcaption{text-align:center;margin-top:16px}
body[data-layout="v2"] .motion-button{min-height:44px;padding:10px 16px;border:1px solid var(--stone-600);background:transparent;color:var(--bone);font:500 12px/1.3 var(--mono);cursor:pointer}
body[data-layout="v2"] .case-caption{display:flex;flex-direction:column;gap:6px;width:max-content;max-width:100%;margin:20px 0 0;padding:16px 18px;border:1px solid rgba(236,231,221,.12);background:rgba(10,10,11,.42);color:#cbcbcd;font:400 12px/1.55 var(--mono)}
body[data-layout="v2"] .case-caption>span{font-size:11px;letter-spacing:.14em;text-transform:uppercase}
body[data-layout="v2"] .case-caption p{font:inherit;margin:0}
body[data-layout="v2"] .case-caption a{color:inherit;text-underline-offset:4px}
/* Light-mode metadata reads like a paper label, not a dark translucent plate. */
html[data-theme="light"] body[data-layout="v2"] .case-caption{background:var(--white);border-color:var(--stone-700);color:var(--ink)}
html[data-theme="light"] body[data-layout="v2"] .case-caption>span{color:var(--filament)}
html[data-theme="light"] body[data-layout="v2"] .case-caption a:is(:hover,:focus-visible){color:var(--filament-ink)}
body[data-layout="v2"] .flow-figure{margin-top:64px}
body[data-layout="v2"] .flow-scroll{overflow-x:auto;overscroll-behavior:auto;scrollbar-width:thin;scrollbar-color:var(--stone-400) transparent;background:#202020}
body[data-layout="v2"] .flow-scroll img{display:block;width:100%;height:auto;max-width:none}
body[data-layout="v2"] .case-hardware{background:#efeff1;color:#151515}
body[data-layout="v2"] .case-hardware .case-caption{background:transparent;color:#45454a;border-color:#bcbcc0}
body[data-layout="v2"] .case-hardware figure>img{mix-blend-mode:normal}
body[data-layout="v2"] .section-heading{max-width:800px;margin-bottom:36px}
body[data-layout="v2"] .image-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
body[data-layout="v2"] .image-grid figure>img{aspect-ratio:auto;object-fit:contain;background:transparent}
body[data-layout="v2"] .outcome-grid{display:grid;grid-template-columns:1fr 2fr;gap:48px;padding-top:32px;border-top:1px solid var(--stone-700)}
@media(max-width:899px){
 body[data-layout="v2"]{--case-gutter:20px}
 body[data-layout="v2"] .section-container{width:calc(100% - 40px);margin-left:20px;margin-right:20px}
 body[data-layout="v2"] :is(.intro-grid,.feature-grid,.overview-copy,.project-highlights,.image-grid,.outcome-grid){grid-template-columns:minmax(0,1fr);gap:28px}
 body[data-layout="v2"] .flow-scroll img{width:max(100%,960px)}
 body[data-layout="v2"] main>section:not(.hero):not(.threshold) p:not(.case-caption){font-size:17px}
 body[data-layout="v2"] .case-hardware .section-copy{margin-bottom:0}
}
@media(prefers-reduced-motion:reduce){body[data-layout="v2"] *{scroll-behavior:auto!important}}

/* Reuse the portfolio's 50px frame and native-scroll scene rhythm. */
body[data-layout="v2"] main>section:not(.hero):not(.threshold){padding-block:50px}
body[data-layout="v2"] .case-flow .flow-figure{margin-top:0}
body[data-layout="v2"] main>section.case-flow{background:#262626}
html[data-theme="light"] body[data-layout="v2"] main>section.case-flow{background:#d9d9d9}
body[data-layout="v2"] .case-flow .section-heading{margin-bottom:24px}
@media(min-width:900px) and (min-height:800px){
 body[data-layout="v2"] main>section:not(.hero):not(.threshold){min-height:100svh;display:grid;align-content:center;padding-block:50px}
 body[data-layout="v2"] .interaction-figure{width:min(100%,calc(100svh - 160px));justify-self:center}
 body[data-layout="v2"] .case-hardware figure{width:min(100%,calc((100svh - 220px)*986/871));justify-self:center}
 body[data-layout="v2"] .case-flow .flow-scroll{width:min(100%,calc((100svh - 350px)*1246/718));margin-inline:auto}
 body[data-layout="v2"] .case-app .section-heading{display:grid;grid-template-columns:1fr 1fr;gap:16px 32px;align-items:end;max-width:none;margin-bottom:32px}
 body[data-layout="v2"] .case-app .section-heading .lbl{grid-column:1/-1;margin:0}
 body[data-layout="v2"] .case-app .section-heading h2{grid-column:1;margin:0}
 body[data-layout="v2"] .case-app .section-heading>p:last-child{grid-column:2;margin:0}
 body[data-layout="v2"] .case-app .image-grid figure>img{max-height:calc(100svh - 350px)}
}
/* On short or reflowed screens all content remains in ordinary document flow. */
@media(max-width:899px),(max-height:799px){
 body[data-layout="v2"] main>section:not(.hero):not(.threshold){min-height:0}
 body[data-layout="v2"] .case-flow .flow-scroll{width:100%}
}


/* Carry the original PAX closing type and rhythm into the concise story. */
body[data-layout="v2"] main>section.case-outcome{min-height:0;display:block;padding-block:clamp(64px,8vw,140px) clamp(72px,8vw,120px)}
body[data-layout="v2"] .case-outcome .outcome-grid{display:block;padding-top:0;border-top:0}
body[data-layout="v2"] .case-outcome .outcome-label{margin:0 0 28px!important;letter-spacing:.32em;text-transform:uppercase}
body[data-layout="v2"] .case-outcome .outcome-story{padding-left:0;text-align:left}
body[data-layout="v2"] .case-outcome h2{max-width:1150px;margin:0 0 36px;font-family:var(--font-option-archivo-black);font-size:clamp(40px,4.25vw,78px);font-weight:400;line-height:.96;letter-spacing:-.02em;text-transform:uppercase}
body[data-layout="v2"] .case-outcome h2 em{color:var(--filament);font-style:normal}
body[data-layout="v2"] main>section.case-outcome p:not(.lbl){max-width:36ch;margin:0;color:var(--bone-400);font-family:var(--font-body);font-size:clamp(20px,2vw,28px);font-weight:300;line-height:1.4}
body[data-layout="v2"] .case-outcome .outcome-team{margin-top:24px;padding:0;border:0;text-align:left}
@media(max-width:899px){body[data-layout="v2"] main>section.case-outcome{padding-block:72px}body[data-layout="v2"] .case-outcome h2{font-size:clamp(34px,8vw,56px);line-height:1.02}body[data-layout="v2"] main>section.case-outcome p:not(.lbl){font-size:clamp(18px,4.6vw,23px)}}

/* Blend the export's framed backdrop into the full-width scene before the vignette. */
@media(min-width:900px){
 body[data-layout="v2"] .pax-hero.is-media-ready .hero__intro{-webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 6%,#000 15%,#000 85%,transparent 94%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0%,transparent 6%,#000 15%,#000 85%,transparent 94%,transparent 100%)}
 body[data-layout="v2"] .pax-hero .hero__scrim{background:radial-gradient(ellipse 100% 110% at 50% 45%,transparent 45%,rgba(8,9,10,.42) 100%),linear-gradient(180deg,rgba(10,10,11,.55) 0%,rgba(10,10,11,0) 28%,rgba(10,10,11,.25) 55%,var(--basalt) 96%)}
}

/* Keep the drawing at its authored aspect ratio and inside the chapter frame. */
body[data-layout="v2"] main>section.case-flow figure.flow-figure.section-container{width:min(calc(100% - 2*var(--case-gutter)),1246px);max-width:1246px;margin-inline:auto}
body[data-layout="v2"] .case-flow .flow-scroll{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden}
body[data-layout="v2"] .case-flow .flow-scroll{background:transparent}
html[data-theme="light"] body[data-layout="v2"] .case-flow .media-control{background:var(--white)}
body[data-layout="v2"] .case-flow .session-storyboard{display:block;width:100%;height:auto;aspect-ratio:1246/718;border:0;pointer-events:none}
body[data-layout="v2"] .case-flow .flow-controls{display:flex;justify-content:center;gap:12px;margin-top:16px}
body[data-layout="v2"] .motion-button.media-control{width:44px;min-width:44px;padding:0}
@media(max-width:899px){body[data-layout="v2"] main>section.case-flow figure.flow-figure.section-container{width:calc(100% - 40px);margin-left:20px;margin-right:20px}body[data-layout="v2"] .case-flow .session-storyboard{width:960px;max-width:none}}

/* Mario's PAX Story frame: the whiteboard stays behind a readable, viewport-sized story. */
body[data-layout="v2"] main>section.case-overview:not(.hero):not(.threshold){position:relative;isolation:isolate;display:grid;place-items:start center;min-height:100vh;min-height:max(100svh,680px);padding-top:clamp(96px,19svh,170px);overflow:hidden;border-block:1px solid #3a3a3c;background:#0a0a0a}
body[data-layout="v2"] .case-overview::before{content:"";position:absolute;inset:-72px 0;background:url('../assets/pax-v2-story-whiteboard.jpg') center 30px/auto 154% no-repeat;transform:translate3d(0,var(--story-shift,0px),0);will-change:transform;pointer-events:none}
body[data-layout="v2"] .case-overview::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0a0a0a 0%,transparent 12%,transparent 96%,#0a0a0a 100%),linear-gradient(90deg,rgba(10,10,10,.88) 0%,rgba(10,10,10,.55) 40%,rgba(10,10,10,.35) 50%,rgba(10,10,10,.7) 60%,rgba(10,10,10,.72) 100%);pointer-events:none}
body[data-layout="v2"] .case-overview .story-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(48px,10vw,160px);align-items:start}
body[data-layout="v2"] .case-overview .story-lead>.lbl{margin:0 0 28px;color:var(--signal-cyan);letter-spacing:.32em}
body[data-layout="v2"] main>section.case-overview h2{margin:0 0 24px;font-family:var(--font-option-archivo-black);font-size:clamp(31px,3vw,44px);font-weight:400;line-height:.98;letter-spacing:-.025em}
body[data-layout="v2"] .case-overview h2 em{color:var(--signal-cyan);font-style:normal}
body[data-layout="v2"] main>section.case-overview .story-lead>p:not(.lbl){max-width:36ch;margin:0;color:#f2f2f4;font-weight:400}
body[data-layout="v2"] main>section.case-overview .story-lead>p:not(.lbl)+p{margin-top:22px}
body[data-layout="v2"] .case-overview .project-highlights{display:flex;flex-direction:column;gap:50px;align-self:start;margin:35px 0 0;padding:0;border:0}
body[data-layout="v2"] .case-overview .project-highlights h3{margin:0 0 16px;color:#fff;font:600 18px/1.25 var(--font-body);letter-spacing:.1em;text-transform:uppercase}
body[data-layout="v2"] .case-overview .project-highlights h3::before{content:"";display:block;width:30px;height:2px;margin-bottom:12px;background:var(--signal-cyan)}
body[data-layout="v2"] main>section.case-overview .project-highlights p{max-width:35ch;margin:0;color:#f2f2f4;font:400 18px/1.55 var(--font-body)}
body[data-layout="v2"] .case-overview :is(h2,p,h3){text-shadow:0 1px 10px rgba(0,0,0,.42)}

/* Soften only the reading areas; the photograph, title and central PAX mark stay sharp. */
body[data-layout="v2"] .case-overview :is(.story-lead>p:not(.lbl),.project-highlights>div){position:relative;isolation:isolate}
body[data-layout="v2"] .case-overview :is(.story-lead>p:not(.lbl),.project-highlights>div)::before{content:"";position:absolute;z-index:-1;inset:-36px -40px;pointer-events:none;background:rgba(10,10,10,.12);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);-webkit-mask-image:radial-gradient(ellipse closest-side at center,#000 42%,rgba(0,0,0,.8) 64%,transparent 100%);mask-image:radial-gradient(ellipse closest-side at center,#000 42%,rgba(0,0,0,.8) 64%,transparent 100%)}
@media(max-width:899px){body[data-layout="v2"] .case-overview :is(.story-lead>p:not(.lbl),.project-highlights>div)::before{inset:-24px -20px;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}}
@media(max-width:899px){
 body[data-layout="v2"] .case-overview .story-grid{grid-template-columns:minmax(0,1fr);gap:32px}
 body[data-layout="v2"] main>section.case-overview h2{font-size:clamp(32px,8vw,44px)}
 body[data-layout="v2"] .case-overview .project-highlights{gap:28px;margin:0}
 body[data-layout="v2"] .case-overview::before{inset:0;background-size:auto 58%;background-position:center calc(100% + 80px);-webkit-mask-image:linear-gradient(180deg,transparent 50%,#000 75%);mask-image:linear-gradient(180deg,transparent 50%,#000 75%)}
 body[data-layout="v2"] main>section.case-overview:not(.hero):not(.threshold){padding-top:96px;padding-bottom:330px}
 body[data-layout="v2"] .case-overview::after{background:linear-gradient(180deg,#0a0a0a 0%,transparent 10%,transparent 96%,#0a0a0a 100%),linear-gradient(90deg,rgba(10,10,10,.88),rgba(10,10,10,.67))}
}
@media(prefers-reduced-motion:reduce){body[data-layout="v2"] .case-overview::before{transform:none;will-change:auto}}

/* Narrative sections share the full-bleed stage tracks. The hero and footer
   keep their established compositions. */
body[data-layout="v2"] main>section.scene-frame:not(.hero):not(.threshold){
 --scene-pad-x:var(--case-gutter);--col-max:calc(1360px / 12);
 display:grid;grid-template-columns:[full-start] minmax(var(--scene-pad-x),1fr) [content-start] repeat(12,minmax(0,var(--col-max))) [content-end] minmax(var(--scene-pad-x),1fr) [full-end];
 align-content:center;min-height:0;padding-inline:0;
}
body[data-layout="v2"] main>section.scene-frame>.section-container{
 grid-column:content-start / content-end;width:100%;max-width:none;margin-inline:0;min-width:0;
}
@media(min-width:900px) and (min-height:800px){
 body[data-layout="v2"] main>section.scene-frame:not(.hero):not(.threshold){min-height:100svh}
}
@container (max-width:720px){
 body[data-layout="v2"] .scene-frame .feature-grid,
 body[data-layout="v2"] .scene-frame .story-grid{grid-template-columns:minmax(0,1fr)}
}
}
@layer overrides {
/* Let the Story breathe for a full scene even on shorter desktop viewports. */
body[data-layout="v2"] main>section.case-overview.scene-frame:not(.hero):not(.threshold){min-height:max(100svh,680px);align-content:center;padding-block:50px;border-block:0}
body[data-layout="v2"] .case-overview::after{background:linear-gradient(180deg,#0a0a0a 0%,transparent 7%,transparent 95%,#0a0a0a 100%),linear-gradient(90deg,rgba(10,10,10,.86) 0%,rgba(10,10,10,.5) 36%,rgba(10,10,10,.29) 50%,rgba(10,10,10,.77) 66%,rgba(10,10,10,.88) 100%)}
body[data-layout="v2"] main>section.case-overview:not(.hero):not(.threshold) h2{font-size:clamp(38px,3.5vw,56px);color:var(--white)}
body[data-layout="v2"] main>section.case-overview:not(.hero):not(.threshold) h2 em{color:inherit}
body[data-layout="v2"] main>section.case-overview:not(.hero):not(.threshold) .story-lead>p:not(.lbl){font-size:clamp(19px,1.5vw,23px);line-height:1.5}
body[data-layout="v2"] main>section.case-overview:not(.hero):not(.threshold) .project-highlights p{max-width:38ch;font-size:clamp(20px,1.6vw,24px);line-height:1.45}
@media(max-width:899px){
 body[data-layout="v2"] main>section.case-overview.scene-frame:not(.hero):not(.threshold){grid-template-columns:[full-start] var(--case-gutter) [content-start] minmax(0,1fr) [content-end] 20px [full-end];min-height:100svh;align-content:start;padding-block:96px 330px}
 body[data-layout="v2"] main>section.case-overview:not(.hero):not(.threshold) h2{font-size:clamp(36px,8.4vw,52px)}
 body[data-layout="v2"] main>section.case-overview:not(.hero):not(.threshold) .project-highlights p{font-size:clamp(18px,4.2vw,21px)}
}
@media(min-width:900px){
 body[data-layout="v2"] main>section.case-flow figure.flow-figure.section-container{width:100%;max-width:none}
 body[data-layout="v2"] .case-flow .flow-scroll{width:100%;max-width:none}
}
}

@layer overrides {
/* Reuse the extended case’s artifacts inside the main case’s reading frame. */
body[data-layout="v2"] .case-product-system .section-heading{max-width:none;margin-bottom:0}
body[data-layout="v2"] .case-product-system .case-product-system__art{margin-top:clamp(28px,3vw,44px)}
body[data-layout="v2"] main>section.case-product-system p.case-product-system__copy{max-width:none}
body[data-layout="v2"] .case-welcome .pax-fan{width:100%;aspect-ratio:1300/950;background:transparent}
body[data-layout="v2"] .case-welcome .pax-fan__card{width:25.211cqw;height:56.793cqw;margin:-28.396cqw 0 0 -12.606cqw;border-radius:3.538cqw}
body[data-layout="v2"] .case-architecture .pax-feature-web{width:100%;margin:0}
body[data-layout="v2"] .case-architecture .section-heading{max-width:66ch;margin-bottom:30px}
body[data-layout="v2"] .case-architecture .pax-web-list{color:#f4f4f4;font:16px/1.5 var(--font-body)}
body[data-layout="v2"] .case-architecture .pax-web-list summary{min-height:44px;align-content:center}
body[data-layout="v2"] .case-architecture .pax-web-list a{display:inline-block;min-height:44px;align-content:center}
body[data-layout="v2"] .case-architecture .pax-web-list li{border-color:#48484b}
body[data-layout="v2"] .case-architecture .pax-web-list p{font:12px/1.5 var(--mono);margin-bottom:16px}
@media(max-width:899px){
 body[data-layout="v2"] main>section:is(.case-ecosystem,.case-architecture).scene-frame:not(.hero):not(.threshold){grid-template-columns:[full-start] var(--case-gutter) [content-start] minmax(0,1fr) [content-end] 20px [full-end]}
 body[data-layout="v2"] .case-architecture .pax-web-list{padding:16px}
 body[data-layout="v2"] .case-architecture .pax-web-list ul{padding-left:10px}
}
}

@layer overrides {
/* Keep equal reading gutters on every narrow case scene. */
@media(max-width:899px){
 body[data-layout="v2"] main>section.scene-frame:not(.hero):not(.threshold){grid-template-columns:[full-start] var(--case-gutter) [content-start] minmax(0,1fr) [content-end] 20px [full-end]}
 body[data-layout="v2"] main>section.case-flow figure.flow-figure.section-container{width:100%;max-width:none;margin:0}
}
@media(max-width:599px){
 body[data-layout="v2"] main>section.case-product-system:not(.hero):not(.threshold) h2{font-size:clamp(27px,7.4vw,40px)}
}
}

@layer overrides {
/* Compact branches; selecting a leaf promotes its real actions, not its siblings. */
body[data-layout="v2"] .case-architecture .pax-web-node--child{width:240px;min-height:46px;padding:7px 10px}
body[data-layout="v2"] .case-architecture .pax-web-node--child strong{font-size:13px;line-height:1.15}
body[data-layout="v2"] .case-architecture .pax-web-node--child .pax-web-node__meta{font-size:9px;line-height:1.35;margin-top:4px}
body[data-layout="v2"] .case-architecture .pax-web-node--child.is-sibling{transform:translate(-50%,-50%) scale(.72);opacity:.6}
body[data-layout="v2"] .case-architecture .pax-web-node--child.is-active:not(.is-hidden){width:280px;min-height:66px;padding:10px 12px;transform:translate(-50%,-50%);background:#252d10;border-color:var(--pax-volt);box-shadow:0 0 0 1px rgba(207,235,90,.12)}
body[data-layout="v2"] .case-architecture .pax-web-node--child.is-active strong{font-size:14px;line-height:1.15;color:var(--pax-volt)}
body[data-layout="v2"] .case-architecture .pax-web-node--child.is-active .pax-web-node__meta{font:13px/1.4 var(--font-body);color:#fff;margin-top:6px;text-transform:none}
}

@layer overrides {
/* Mask the original handset and live screen together; retain the source video. */
body[data-layout="v2"] .phone-image{clip-path:inset(5.1% 27.7% 5.3% 30.65% round 7.4%);background:transparent}
}

@layer overrides {
/* Light editorial copy beside the welcome studies. */
body[data-layout="v2"] main>section.case-welcome.scene-frame:not(.hero):not(.threshold){position:relative;min-height:100svh;align-content:center;padding-block:100px 50px}
body[data-layout="v2"] .case-welcome>.welcome-index{position:absolute;top:50px;left:0;margin:0}
body[data-layout="v2"] .welcome-layout{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:clamp(24px,4vw,64px);align-items:center}
body[data-layout="v2"] .welcome-layout>.section-heading{margin:0;max-width:500px;text-align:left}
body[data-layout="v2"] .case-welcome #welcome-title{font-family:var(--serif);font-size:clamp(38px,3.2vw,56px);font-weight:300;line-height:1.08;letter-spacing:-.025em;text-transform:none;text-wrap:balance}
body[data-layout="v2"] .welcome-layout>.section-heading>p{margin-inline:0}
body[data-layout="v2"] .welcome-layout .welcome-lead{font-weight:700}
body[data-layout="v2"] .welcome-layout>.welcome-art{width:100%;max-width:900px;justify-self:end}
body[data-layout="v2"] .case-welcome .welcome-art>.case-caption{margin:0 auto}
body[data-layout="v2"] .case-app .image-grid{grid-template-columns:minmax(0,1fr)}
@media(max-width:899px){
 body[data-layout="v2"] main>section.case-welcome.scene-frame:not(.hero):not(.threshold){min-height:0;align-content:start;padding-top:108px}
 body[data-layout="v2"] .case-welcome #welcome-title{font-size:clamp(32px,8.2vw,38px)}
 body[data-layout="v2"] main>section.case-welcome.scene-frame:not(.hero):not(.threshold){grid-template-columns:[full-start] 20px [content-start] minmax(0,1fr) [content-end] 20px [full-end]}
 body[data-layout="v2"] .welcome-layout{grid-template-columns:minmax(0,1fr);gap:16px}
 body[data-layout="v2"] .welcome-layout>.welcome-art{width:100%;max-width:none;justify-self:center}
 body[data-layout="v2"] .case-welcome .welcome-art>.case-caption{max-width:calc(100% - 40px);margin-left:40px}
}
}

@layer overrides {
/* Keep chapter labels at their intended scale, including the mobile text rule. */
body[data-layout="v2"] main>section:not(.hero):not(.threshold) p.lbl{font-size:11px;line-height:1.4}
}

@layer overrides {
body[data-layout="v2"] #session-control .patent-caption{min-height:0;margin:clamp(32px,3vw,48px) auto 0;padding:8px 12px;font-size:11px;line-height:1.4;text-align:center}
}

@layer overrides {
/* Half of the shared 30px / 3.4vw / 52px section heading. */
body[data-layout="v2"] main>section#session-flow #flow-title{font-size:clamp(15px,1.7vw,26px)}
#flow-title .flow-type-character{white-space:pre}
@media(prefers-reduced-motion:reduce){#flow-title .flow-type-character{opacity:1!important}}
}

@layer overrides {
/* X-era body proportions; screen matches the original 1126 × 2436 recording.
   A separate screen avoids the old square-image mask's letterboxing. */
body[data-layout="v2"] #session-control .phone-image--period{width:min(100%,320px);aspect-ratio:709/1436;margin-inline:auto;clip-path:none;border:2px solid #979b9d;border-radius:14.2% / 7%;background:linear-gradient(100deg,#383a3b,#080909 8%,#0d0e0e 92%,#55595a);box-shadow:inset 0 0 0 2px #17191a,inset 0 0 0 4px #646869,0 14px 32px #0003}
body[data-layout="v2"] #session-control .phone-image--period::before{content:"";position:absolute;z-index:2;left:43%;top:1.25%;width:14%;height:.55%;border-radius:8px;background:#050505;box-shadow:0 1px 0 #5b5e60}
body[data-layout="v2"] #session-control .phone-screen{position:absolute;left:6.4%;top:3.4%;width:87.2%;aspect-ratio:1126/2436;border-radius:8% / 3.7%;overflow:hidden;background:#282627}
body[data-layout="v2"] #session-control .phone-screen>img{position:absolute;width:270.27027%;max-width:none;height:117.37089%;left:-88.37838%;top:-8.4507%;object-fit:fill}
body[data-layout="v2"] #session-control .phone-image--period .video-mask{inset:0;width:100%;height:100%;border-radius:0;background:transparent}
body[data-layout="v2"] #session-control .phone-image--period .video-mask video{width:100%;height:100%;object-fit:contain}
@media(max-width:899px){body[data-layout="v2"] #session-control .phone-image--period{width:min(100%,260px)}}
}

@layer overrides {
/* Figma 507:1137: reusable tokens above, PAX editorial exceptions below. */
body[data-case="pax"]{--case-gutter:clamp(20px,5.555556vw,80px)}
body[data-case="pax"] main#main>section.scene-frame:not(.hero):not(.threshold){--col-max:calc(var(--case-content-max)/12);padding-block:50px}
body[data-case="pax"] main#main>section:not(.hero):not(.threshold) h2{font-size:var(--case-heading-size);font-family:var(--font-display);font-weight:900;line-height:var(--case-heading-leading)}
body[data-case="pax"] main#main>section:not(.hero):not(.threshold) p.lbl{font-weight:var(--case-eyebrow-weight);margin-bottom:var(--case-eyebrow-gap)}
body[data-case="pax"] .hero__title>.lbl{font-weight:900}
body[data-case="pax"] .case-overview .story-grid{display:block}
body[data-case="pax"] main#main>section.case-overview:not(.hero):not(.threshold) h2{max-width:750px;font-size:clamp(38px,3.5vw,56px)}
body[data-case="pax"] .case-overview::before{inset:0;background-size:152.39% auto;background-position:left center}
body[data-case="pax"] .case-overview::after{background:linear-gradient(180deg,rgba(10,10,10,.5),transparent 7%,transparent 95%,rgba(10,10,10,.5)),linear-gradient(90deg,rgba(10,10,10,.88),rgba(10,10,10,.77) 34%,rgba(10,10,10,.29) 50%,rgba(10,10,10,.5) 64%,rgba(10,10,10,.86))}
body[data-case="pax"] .case-welcome{isolation:isolate;background:#0a0a0a;color:#fff}
body[data-case="pax"] .case-welcome::before{content:"";position:absolute;inset:0;z-index:-1;background:url('../assets/work/pax/pax-pod-grid-background.png') center/cover no-repeat}
body[data-case="pax"] .case-welcome #welcome-title{font-family:var(--font-body);font-size:clamp(32px,3.2vw,56px);font-weight:300;line-height:1.08;text-transform:none}
body[data-case="pax"] .welcome-layout .welcome-lead{font-weight:300}
body[data-case="pax"] main#main>section.case-outcome{position:relative;isolation:isolate;min-height:100svh;display:grid;align-content:center;background:#0a0a0a;color:#fff}
body[data-case="pax"] .case-outcome::before{content:"";position:absolute;inset:0;z-index:-1;background:none}
body[data-case="pax"] .case-outcome::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,transparent 0%,rgba(10,10,10,.15) 38%,rgba(10,10,10,.7) 55%,transparent 63%);pointer-events:none}
body[data-case="pax"] .case-outcome .outcome-story{max-width:646px}
body[data-case="pax"] .case-outcome .outcome-story p+p{margin-top:24px}
body[data-case="pax"] main#main>section.case-outcome:not(.hero):not(.threshold) p:not(.lbl){font-size:20px;line-height:1.565;max-width:570px}
body[data-case="pax"] .case-outcome .outcome-label{font-weight:500}
body[data-case="pax"] .case-architecture .section-heading>.lbl{font-weight:500}
@media(min-width:900px){
 body[data-case="pax"] main#main>section:not(.hero):not(.threshold) :is(.section-copy,.story-lead,.section-heading)>p:not(.lbl){font-size:26px;font-weight:300;line-height:30px}
 body[data-case="pax"] main#main>section.case-overview:not(.hero):not(.threshold) .story-lead>p:not(.lbl){max-width:525px;font-weight:300;line-height:32.3px}
 body[data-case] .case-emphasis-line{display:block;font-size:calc(1em + 2px);line-height:1.2;color:inherit;letter-spacing:-.02em}
 body[data-case="pax"] .case-app .section-heading{display:block;padding-top:0;margin-bottom:32px}
 body[data-case="pax"] .case-app .section-heading h2{max-width:624px;margin-top:110px}
 body[data-case="pax"] .case-app .image-grid figure>img{height:650px;max-height:none;object-fit:contain}
}
@media(max-width:899px){
 body[data-case="pax"] main#main>section.scene-frame:not(.hero):not(.threshold){grid-template-columns:[full-start] 20px [content-start] minmax(0,1fr) [content-end] 20px [full-end]}
 body[data-case="pax"] main#main>section.case-overview.scene-frame:not(.hero):not(.threshold){min-height:100svh;align-content:center;padding-block:80px}
 body[data-case="pax"] .case-overview::before{background-size:auto 100%;background-position:60% center;mask-image:none;-webkit-mask-image:none}
 body[data-case="pax"] main#main>section.case-overview:not(.hero):not(.threshold) .story-lead>p:not(.lbl){font-size:17px;max-width:36ch;line-height:1.5}
 body[data-case="pax"] .case-outcome::before{background-size:auto 100%;background-position:60% center;opacity:.4}
 body[data-case="pax"] main#main>section.case-outcome:not(.hero):not(.threshold) p:not(.lbl){font-size:17px;line-height:1.5}
}
}

@layer overrides {
/* Preserve the source's lighter editorial exceptions after the shared h2 rule. */
body[data-case="pax"] main#main>section.case-welcome:not(.hero):not(.threshold) #welcome-title{font-family:var(--font-body);font-size:clamp(32px,3.2vw,56px);font-weight:300;line-height:1.08;text-transform:none}
body[data-case="pax"] main#main>section.case-outcome:not(.hero):not(.threshold) p.lbl,
body[data-case="pax"] main#main>section.case-architecture:not(.hero):not(.threshold) p.lbl{font-weight:500}

/* The architecture overview follows the centered radial grid in the case frame. */
body[data-layout="v2"] .case-architecture .section-heading{display:flex;flex-direction:column;align-items:center;width:100%;max-width:none;margin:0 0 55px;text-align:center}
body[data-layout="v2"] .case-architecture .section-heading>.lbl{width:100%;margin:0;text-align:center}
body[data-layout="v2"] .case-architecture .pax-feature-web{max-width:1080px;margin-inline:auto}
body[data-layout="v2"] .case-architecture .pax-feature-web.is-overview .pax-web-breadcrumb{display:none}
body[data-layout="v2"] .case-architecture .pax-feature-web.is-overview .pax-web-node--core,
body[data-layout="v2"] .case-architecture .pax-feature-web.is-overview .pax-web-node--menu{width:208px;min-height:90px;padding:18px 20px;border-radius:8px}
body[data-layout="v2"] .case-architecture .pax-feature-web.is-overview .pax-web-node.is-wide{width:240px}
body[data-layout="v2"] .case-architecture .pax-feature-web.is-overview .pax-web-node--core strong,
body[data-layout="v2"] .case-architecture .pax-feature-web.is-overview .pax-web-node--menu strong{font-size:20px;line-height:1.1}
body[data-layout="v2"] .case-architecture .pax-feature-web.is-overview .pax-web-node__meta{font-size:12px;line-height:1.3}
body[data-layout="v2"] .case-architecture .pax-feature-web.is-overview .pax-web-node--hub.is-active{width:112px;height:112px;padding:8px;border:1.5px solid var(--pax-volt);background:#151518;transform:translate(-50%,-50%)}
body[data-layout="v2"] .case-architecture .pax-feature-web.is-overview .pax-web-node--hub.is-active strong{font-size:14px;line-height:1.1;color:#fff}
body[data-layout="v2"] .case-architecture .pax-feature-web.is-overview .pax-web-node--hub.is-active .pax-web-node__meta{font-size:6px;line-height:1.2;margin-top:4px}
body[data-layout="v2"] .case-architecture .pax-feature-web.is-overview .pax-web-line.is-active{stroke:#3a3a3c;stroke-width:1.5}
@media(max-width:1100px){body[data-layout="v2"] .case-architecture .section-heading{margin-bottom:30px}}
body[data-case="pax"] #overview-title>span{display:block;white-space:nowrap}
body[data-case="pax"] #overview-title .story-title-outline{color:transparent;-webkit-text-stroke:1.4px #fff;paint-order:stroke fill}
body[data-case="pax"] .case-overview .story-lead>p strong{font-weight:700}
@media(max-width:899px){
 body[data-case="pax"] .case-emphasis-line{color:inherit}
 body[data-case="pax"] main#main>section.case-overview:not(.hero):not(.threshold) #overview-title{font-size:clamp(25px,7.3vw,36px)}
}
}

/* The hero uses the four local device images directly so the visual arrives before the headline. */
html:not(.js) body[data-case="pax"] .pax-hero__poster,
body[data-case="pax"] .pax-hero.is-media-ready .pax-hero__poster{opacity:1}
html.js body[data-case="pax"] .pax-hero__device{position:relative;opacity:0;transform:translateY(-45vh) rotate(7deg) scale(1.05)}
body[data-case="pax"] .pax-hero__device{position:relative}
body[data-case="pax"] .pax-hero__device>img{display:block;width:100%;height:auto}
body[data-case="pax"] .pax-hero.is-media-ready:not(.is-media-static) .pax-hero__device{animation:pax-device-land 1150ms cubic-bezier(.16,1,.3,1) var(--device-delay) both}
body[data-case="pax"] .pax-hero.is-media-static .pax-hero__device{opacity:1;transform:none}
@keyframes pax-device-land{0%{opacity:0;transform:translateY(-45vh) rotate(7deg) scale(1.05)}70%{opacity:1}100%{opacity:1;transform:none}}
body[data-case="pax"] .pax-hero__petals{position:absolute;inset:0;pointer-events:none}
body[data-case="pax"] .pax-hero__petal{position:absolute;left:var(--petal-x);top:var(--petal-y);width:2.95%;height:6.2%;border-radius:999px;transform:translate(-50%,-50%) rotate(var(--petal-turn));background:linear-gradient(#d4d9dc,#eef1f2 45%,#dfe3e5);box-shadow:inset 0 1px 1px #60686e,0 0 0 .5px #1a1d1e}
body[data-case="pax"] .pax-hero__petal::after{content:"";position:absolute;inset:0;border-radius:inherit;background:#f4ffff;box-shadow:0 0 9px 2px rgba(165,255,255,.8);opacity:0}
body[data-case="pax"] .pax-hero.is-media-ready:not(.is-media-static) .pax-hero__petal::after{animation:pax-petal-on 700ms ease-out calc(1350ms + var(--petal-delay)) forwards}
body[data-case="pax"] .pax-hero.is-media-static .pax-hero__petal::after{opacity:.8}
@keyframes pax-petal-on{0%{opacity:0}65%{opacity:1}100%{opacity:.8}}
@media(prefers-reduced-motion:reduce){
 html.js body[data-case="pax"] .pax-hero__device{opacity:1;transform:none;animation:none!important}
 body[data-case="pax"] .pax-hero__petal::after{opacity:.8;animation:none!important}
}

/* Figma 507:1150 fades the Story photograph down from black. */
body[data-case="pax"] .case-overview::after{
  background:linear-gradient(180deg,rgba(0,0,0,.88) 0%,rgba(0,0,0,.58) 25%,rgba(0,0,0,.12) 68%,rgba(0,0,0,.08) 100%),linear-gradient(90deg,rgba(10,10,10,.86) 0%,rgba(10,10,10,.52) 36%,rgba(10,10,10,.28) 50%,rgba(10,10,10,.76) 66%,rgba(10,10,10,.88) 100%);
}

/* Keep the fourth chapter title on one line across the available viewport. */
body[data-case] main#main>section:not(.hero):not(.threshold) .section-copy>h2.case-heading--single-line{width:max-content;max-width:none;white-space:nowrap;font-size:clamp(20px,4.2vw,80px)}
body[data-case] main#main>section .section-heading--centered{width:100%;max-width:none;text-align:center}
body[data-case] main#main>section .section-heading--centered h2{margin-inline:auto}


/* Consolidated case-study rules: pax-ecosystem.css. */
/* Portfolio 2026: PAX Ecosystem desktop 507:2531 and mobile 592:2587. */
main#main>#ecosystem.case-product-system{--ecosystem-width:min(100%,1440px);min-width:0;min-height:100svh;padding:0;display:grid;grid-template-columns:[full-start content-start] minmax(0,1fr) [content-end full-end];grid-template-rows:auto;place-content:center;place-items:center;gap:0;border:0;background:#121211;color:#fff}
#ecosystem>.section-heading,#ecosystem>.case-product-system__art{grid-area:1/1;width:var(--ecosystem-width);max-width:none;margin:0;min-width:0}
#ecosystem>.section-heading{z-index:1;align-self:start;display:flex;flex-direction:column;align-items:center;text-align:center;padding:0}
#ecosystem .section-heading>.lbl{align-self:center;width:auto;margin:0 0 8px;color:#1b7db0;font:900 11px/16px var(--font-body);letter-spacing:3.52px;text-align:center}
#ecosystem .headline{max-width:none;margin:0;color:#fff;font:900 clamp(23px,2.2222vw,32px)/1.5 var(--font-display);font-variation-settings:"wdth" 125;letter-spacing:-.03825em}
#ecosystem .case-product-system__composition{position:relative;width:100%}
#ecosystem .case-product-system__composition>img{position:absolute;display:block;max-width:none;object-fit:fill}
#ecosystem .case-product-system__mobile-devices{display:none}
#ecosystem .case-product-system__copy{margin:0;text-align:center;color:#a8a8a8;font:400 20px/20px var(--font-body)}
#ecosystem .case-product-system__copy small{font-size:16px}
body[data-case="pax"] .theme-toggle--cord{display:none}
@media(min-width:700px){
 #ecosystem>.section-heading{width:min(calc(100% - 20px),1280px);padding-top:min(10.06944vw,145px);transform:translateX(min(.69444vw,10px))}
 #ecosystem>.case-product-system__art{position:relative;aspect-ratio:1440/1000;container-type:inline-size}
 #ecosystem .case-product-system__composition{height:100%}
 #ecosystem .case-product-system__secondary-device{left:11.38889%;top:56.9%;width:3.40278%;height:24.9%;z-index:1;object-fit:cover}
 #ecosystem .case-product-system__device{left:20.55556%;top:51.2%;width:6.38889%;height:30.6%;z-index:1;object-fit:cover}
 #ecosystem .case-product-system__pod{left:60.74769%;top:66%;width:8.26389%;height:13.4%;transform:rotate(35.28deg);z-index:1;object-fit:cover}
 #ecosystem .case-product-system__desktop{left:22.22222%;top:23.4%;width:55.625%;height:53.2%}
 #ecosystem .case-product-system__mobile{left:66.25%;top:65%;width:28.40278%;height:21.9%;z-index:2}
 #ecosystem .case-product-system__composition::before,#ecosystem .case-product-system__composition::after{content:"";position:absolute;top:81.8%;height:.8%;background:rgb(0 0 0/.62);filter:blur(.83333cqw)}
 #ecosystem .case-product-system__composition::before{left:10.41667%;width:5.83333%}
 #ecosystem .case-product-system__composition::after{left:20.48611%;width:7.08333%}
 #ecosystem>.case-product-system__art::after{content:"";position:absolute;top:81.3%;left:62.34552%;width:4.79167%;height:1.3%;background:rgb(0 0 0/.49);filter:blur(1.07639cqw);pointer-events:none}
 #ecosystem .case-product-system__copy{position:absolute;inset:86.5% 0 auto;font-size:1.38889cqw;line-height:1.38889cqw}
 #ecosystem .case-product-system__copy small{font-size:1.11111cqw}
}
@media(max-width:699px){
 main#main>#ecosystem.case-product-system{--header-surface:light;min-height:0;grid-template-rows:auto auto;padding:64px 20px;color:#171719;background:radial-gradient(ellipse 90% 90% at 50% 75%,#e5dfd8 0%,#f0eae4 65%)}
 #ecosystem>.section-heading,#ecosystem>.case-product-system__art{grid-area:auto/1;width:min(100%,350px)}
 #ecosystem>.section-heading{min-height:124px}
 #ecosystem .section-heading>.lbl{margin-bottom:12px}
 #ecosystem .headline{width:min(100%,286px);font-size:clamp(24px,7.69231vw,30px);line-height:.98;color:#171719}
 #ecosystem>.case-product-system__art{margin-top:32px}
 #ecosystem .case-product-system__composition{aspect-ratio:350/167.657;container-type:inline-size}
 #ecosystem .case-product-system__composition>img:is(.case-product-system__secondary-device,.case-product-system__device,.case-product-system__pod){display:none}
 #ecosystem .case-product-system__mobile-devices{display:block;overflow:hidden;position:absolute;left:0;top:1.65815%;width:41.958%;height:77.372%}
 #ecosystem .case-product-system__mobile-devices img{position:absolute;display:block;max-width:none;width:358.33%;height:183.963%;left:-15.43%;top:-41.83%;object-fit:cover}
 #ecosystem .case-product-system__desktop{left:41.81429%;top:4.56885%;width:51.74829%;height:71.53295%}
 #ecosystem .case-product-system__mobile{left:59%;top:60.75499%;width:32.16771%;height:35.76647%}
 #ecosystem .case-product-system__copy{margin:24px 0 0;color:#414044;font-size:17px;line-height:22.95px}
 #ecosystem .case-product-system__copy small{font-size:inherit}
}


/* Consolidated case-study rules: pax-ixd.css. */
/* PAX · 03 Device language. Synthesized from the Era Pro IXD spec (full deck: pax-ixd-spec.html).
   Follows the case grid: copy + figure, a three-column vocabulary, then one more figure. No motion. */
@layer overrides {
body[data-layout="v2"] .case-language{border-top:1px solid var(--stone-700);background:var(--basalt,#0a0a0b)}
body[data-layout="v2"] .ixd{display:grid;gap:clamp(56px,7vw,104px)}
body[data-layout="v2"] .ixd-intro{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(32px,5vw,80px);align-items:center}
body[data-layout="v2"] .case-language .section-copy>.lbl{color:var(--signal-cyan);letter-spacing:.32em}
body[data-layout="v2"] .case-language .section-copy em{color:var(--signal-cyan);font-style:normal}
body[data-layout="v2"] .ixd figure{margin:0;min-width:0}

/* frame strips: the original spec frames, numbered underneath */
body[data-layout="v2"] .ixd-frames{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(10px,1.6vw,24px)}
body[data-layout="v2"] .ixd-frames li{display:grid;gap:12px;justify-items:center;min-width:0}
body[data-layout="v2"] .ixd-frames img{display:block;width:100%;height:auto;clip-path:inset(1px round 4%)}
body[data-layout="v2"] .ixd-frames span{font:500 12px/1 var(--mono);letter-spacing:.12em;color:var(--bone-400);font-variant-numeric:tabular-nums}
body[data-layout="v2"] .ixd-frames::after{content:"";grid-column:1/-1;height:2px;background:linear-gradient(90deg,var(--signal-cyan),transparent);margin-top:-2px;opacity:.7}

/* vocabulary */
body[data-layout="v2"] .ixd-vocab{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(28px,4vw,64px);padding-top:clamp(28px,3vw,40px);border-top:1px solid var(--stone-700)}
body[data-layout="v2"] .ixd-col{display:grid;gap:22px;align-content:start;min-width:0}
body[data-layout="v2"] .ixd-col>.lbl{margin:0;color:var(--bone);letter-spacing:.32em}
body[data-layout="v2"] main>section.case-language .ixd-col>p{margin:0;font-size:16px;line-height:1.55;color:var(--bone-400);max-width:36ch}
body[data-layout="v2"] .ixd-key{display:grid;grid-template-columns:clamp(96px,9vw,128px) minmax(0,1fr);gap:20px;align-items:center}
body[data-layout="v2"] .ixd-key__tile{position:relative}
body[data-layout="v2"] .ixd-key__tile img{display:block;width:100%;height:auto;clip-path:inset(1px round 6%)}
body[data-layout="v2"] .ixd-key__live{display:none;position:absolute;inset:0;width:100%;height:100%;border-radius:6%;filter:drop-shadow(0 0 5px color-mix(in srgb,var(--petal-color,#A5FFFF),transparent 65%))}
body[data-layout="v2"] .ixd-key__tile.is-interactive .ixd-key__live{display:block}
body[data-layout="v2"] .ixd-key__tile.is-interactive img{visibility:hidden}
body[data-layout="v2"] .ixd-key__tile i{position:absolute;font:500 10px/1 var(--mono);font-style:normal;color:#8E8E94}
body[data-layout="v2"] .ixd-colors{list-style:none;margin:0;padding:0;display:grid;gap:10px;font:400 14px/1.3 var(--sans);color:var(--bone)}
body[data-layout="v2"] .ixd-colors li{display:flex;align-items:center;gap:10px}
body[data-layout="v2"] .ixd-colors button{display:flex;align-items:center;gap:10px;width:100%;padding:5px 8px;border:1px solid transparent;border-radius:6px;background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit}
body[data-layout="v2"] .ixd-colors button:is(:hover,:focus-visible,[aria-pressed="true"]){border-color:var(--stone-600);background:rgba(255,255,255,.06)}
body[data-layout="v2"] .ixd-colors button:focus-visible{outline:2px solid var(--signal-cyan);outline-offset:2px}
body[data-layout="v2"] .ixd-colors b{width:22px;height:6px;border-radius:3px;background:var(--c);box-shadow:0 0 10px var(--c);flex:none}
body[data-layout="v2"] .ixd-haptics{margin:0;display:grid;gap:14px}
body[data-layout="v2"] .ixd-haptics div{display:grid;grid-template-columns:minmax(0,1fr) 96px;align-items:center;gap:16px;padding-bottom:12px;border-bottom:1px solid var(--stone-700)}
body[data-layout="v2"] .ixd-haptics dt{font:400 15px/1.2 var(--sans);color:var(--bone)}
body[data-layout="v2"] .ixd-haptics dt small{display:block;margin-top:7px;font:400 12px/1.35 var(--mono);color:var(--bone-400);white-space:nowrap}
body[data-layout="v2"] .ixd-haptic-spec{margin:0;font:400 12px/1.55 var(--mono);color:var(--bone-400)}
body[data-layout="v2"] .ixd-haptics dd{margin:0}
body[data-layout="v2"] .ixd-haptics svg{display:block;width:96px;height:auto;fill:var(--filament)}
body[data-layout="v2"] .ixd-gestures{list-style:none;margin:0;padding:0;display:grid;gap:0}
body[data-layout="v2"] .ixd-gestures li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding:11px 0;border-bottom:1px solid var(--stone-700);font:400 15px/1.3 var(--sans)}
body[data-layout="v2"] .ixd-gestures li span:first-child{color:var(--bone)}
body[data-layout="v2"] .ixd-gestures li span:last-child{color:var(--bone-400)}

/* session progress + deck link */
body[data-layout="v2"] .ixd-progress{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(24px,4vw,64px);align-items:end}
body[data-layout="v2"] .ixd-progress .case-caption{margin:0}
body[data-layout="v2"] .ixd-prototype{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
body[data-layout="v2"] .ixd-prototype iframe{display:block;width:100%;max-width:100%;min-width:0;height:760px;border:0;background:#0a0a0b}
body[data-layout="v2"] .ixd-prototype .case-caption{margin:0}
body[data-layout="v2"] main>section.case-language .case-caption p{font:inherit;margin:0;max-width:none}
body[data-layout="v2"] .ixd-link{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;padding:22px 0;border-block:1px solid var(--stone-700);color:var(--bone);text-decoration:none;font:400 clamp(17px,1.4vw,20px)/1.3 var(--sans)}
body[data-layout="v2"] .ixd-link .lbl{color:var(--signal-cyan);letter-spacing:.32em}
body[data-layout="v2"] .ixd-link span:last-child{font-size:1.3em;transition:transform var(--d-hover) var(--settle)}
body[data-layout="v2"] .ixd-link:is(:hover,:focus-visible) span:last-child{transform:translateX(6px)}
body[data-layout="v2"] .ixd-link:focus-visible{outline:2px solid var(--signal-cyan);outline-offset:4px}

@media(max-width:1099px){
 body[data-layout="v2"] .ixd-vocab{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-layout="v2"] .ixd-vocab .ixd-col:first-child{grid-column:1/-1}
}
@media(max-width:899px){
 body[data-layout="v2"] .ixd-intro,body[data-layout="v2"] .ixd-progress,body[data-layout="v2"] .ixd-vocab{grid-template-columns:minmax(0,1fr)}
 body[data-layout="v2"] .ixd-vocab .ixd-col:first-child{grid-column:auto}
 body[data-layout="v2"] .ixd-frames{gap:8px}
 body[data-layout="v2"] .ixd-frames span{font-size:11px;letter-spacing:.06em}
 body[data-layout="v2"] .ixd-link{grid-template-columns:minmax(0,1fr) auto;row-gap:6px}
 body[data-layout="v2"] .ixd-link .lbl{grid-column:1/-1}
}
@media(prefers-reduced-motion:reduce){body[data-layout="v2"] .ixd-link span:last-child{transition:none}}

/* The vocabulary responds to its actual allotted column width. */
body[data-layout="v2"] .ixd{container:ixd-layout / inline-size}
body[data-layout="v2"] .ixd-vocab{grid-template-columns:repeat(3,minmax(0,1fr))}
@container ixd-layout (max-width:1100px){
 body[data-layout="v2"] .ixd-vocab{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-layout="v2"] .ixd-vocab .ixd-col:first-child{grid-column:1/-1}
}
@container ixd-layout (max-width:720px){
 body[data-layout="v2"] .ixd-vocab{grid-template-columns:minmax(0,1fr)}
 body[data-layout="v2"] .ixd-vocab .ixd-col:first-child{grid-column:auto}
}
}

@layer overrides {
/* LED petals and haptics form a balanced two-column vocabulary. */
body[data-layout="v2"] .case-language .ixd-vocab{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(32px,6vw,96px)}
body[data-layout="v2"] .case-language .ixd-vocab .ixd-col:first-child{grid-column:auto}
body[data-layout="v2"] .case-language-demo .section-heading{margin-bottom:32px}
@media(max-width:720px){body[data-layout="v2"] .case-language .ixd-vocab{grid-template-columns:minmax(0,1fr)}}
}

@layer overrides {
/* The interactive vocabulary now occupies the former figure column. */
body[data-layout="v2"] .ixd{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:start;gap:clamp(32px,5vw,80px)}
body[data-layout="v2"] .ixd-intro{display:contents}
body[data-layout="v2"] .ixd-intro>.section-copy{grid-column:1;min-width:0}
body[data-layout="v2"] .ixd-vocab{grid-column:2;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:clamp(24px,3vw,48px);padding-top:0;border-top:0}
body[data-layout="v2"] .ixd-vocab .ixd-col:first-child{grid-column:auto}
@media(max-width:899px){
 body[data-layout="v2"] .ixd{grid-template-columns:minmax(0,1fr)}
 body[data-layout="v2"] .ixd-intro>.section-copy,body[data-layout="v2"] .ixd-vocab{grid-column:1}
}
@container ixd-layout (max-width:720px){
 body[data-layout="v2"] .ixd-vocab{grid-template-columns:minmax(0,1fr)}
}
}

@layer overrides {
/* Give the vocabulary chapter a deliberate editorial scale on large viewports. */
@media(min-width:1200px){
 body[data-layout="v2"] main>section.case-language.scene-frame:not(.hero):not(.threshold){min-height:min(100svh,680px)}
 body[data-layout="v2"] main>section.case-language h2{font-size:clamp(52px,4vw,72px)}
 body[data-layout="v2"] main>section.case-language .section-copy>p:not(.lbl){font-size:clamp(19px,1.25vw,22px);line-height:1.5;max-width:46ch}
 body[data-layout="v2"] .case-language .ixd-key{grid-template-columns:clamp(140px,10vw,160px) minmax(0,1fr)}
 body[data-layout="v2"] .case-language .ixd-colors{font-size:15px}
 body[data-layout="v2"] .case-language .ixd-haptics dt{font-size:16px}
}
}


/* Consolidated case-study rules: fluidlogic-case.css. */
/* FluidLogic case: the shared case frame, motion and caption system with a cyan product accent. */
body[data-case="fluidlogic"]{--filament:#49d5eb;--basalt:#070b0d;--stone-700:#293338;--bone:#f3f7f6;--bone-400:#b5c2c4;background:#070b0d}
body[data-case="fluidlogic"] main{overflow:clip}
body[data-case="fluidlogic"] .site-header{position:absolute}
body[data-case="fluidlogic"] .case-context span{color:#49d5eb}
body[data-case="fluidlogic"] .hero-outline{-webkit-text-stroke-color:#49d5eb}
.fl-hero{position:relative;display:block;min-height:100svh;isolation:isolate;overflow:hidden;background:#05090b}
.fl-hero::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.55;background-image:linear-gradient(rgba(73,213,235,.065) 1px,transparent 1px),linear-gradient(90deg,rgba(73,213,235,.065) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(90deg,transparent 5%,black 85%)}
.fl-hero__aura{position:absolute;z-index:-1;right:-12%;top:-25%;width:70vw;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(36,148,174,.22),rgba(5,9,11,0) 67%);filter:blur(5px)}
.fl-hero__title{z-index:3;display:flex;flex-direction:column;justify-content:center;min-height:100svh;max-width:900px;margin:0;padding:150px 0 125px max(var(--margin),7vw)}
.fl-hero__title .rule-label{font-size:11px;letter-spacing:.25em;font-weight:900}
.fl-hero__title h1{margin:0;max-width:9ch;font-size:clamp(66px,8vw,132px);line-height:.8;letter-spacing:-.045em}
.fl-hero__title .line{padding:.07em 0}
body[data-case="fluidlogic"] .fl-hero .line>span{transform:none;transition:none}
.fl-hero__deck{max-width:510px;margin:35px 0 0;color:#dce8e7;font-size:clamp(19px,1.55vw,25px);font-weight:300;line-height:1.34}
.fl-hero__visual{position:absolute;z-index:1;right:-9vw;top:17%;width:min(69vw,1080px);height:70%;pointer-events:none}
.fl-hero__tablet{position:absolute;right:0;top:4%;width:88%;padding:9px;border:1px solid #55656a;border-radius:18px;background:#101819;box-shadow:0 65px 95px -30px #000,0 0 90px rgba(36,148,174,.17);transform:perspective(1300px) rotateY(-19deg) rotateX(5deg) rotateZ(-6deg);transform-origin:center}
.fl-hero__tablet img{width:100%;height:auto;border-radius:8px}
.fl-hero__pack{position:absolute;right:5%;bottom:-7%;width:22%;max-height:58%;object-fit:contain;filter:drop-shadow(0 20px 30px #000)}
.fl-hero__footer{position:absolute;z-index:4;left:max(var(--margin),7vw);right:var(--margin);bottom:24px;display:flex;justify-content:space-between;gap:20px;color:#90a7aa;font:500 11px/1.4 var(--mono);letter-spacing:.16em;text-transform:uppercase}
.fl-facts{display:block;min-height:0;background:#102125;color:#f3f7f6}
.fl-facts__inner{max-width:1440px;margin:auto;padding:clamp(100px,12vw,180px) var(--margin)}
.fl-facts__statement{max-width:980px;margin:0 0 42px;font-family:var(--serif);font-size:clamp(50px,6vw,96px);line-height:1.02;letter-spacing:-.045em}
.fl-facts__statement em{font-weight:300;color:#49d5eb}
.fl-facts__role{max-width:760px;margin:0 0 80px;color:#b5c9cb;font-size:clamp(18px,1.8vw,25px);line-height:1.35}
.fl-facts__list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:0;padding:0}
.fl-facts__list div{border-top:1px solid #4a666b;padding-top:22px}
.fl-facts__list dt{font:900 12px/1.2 var(--mono);letter-spacing:.22em;text-transform:uppercase}
.fl-facts__list dd{max-width:21ch;margin:24px 0 0;font-size:clamp(20px,2vw,28px);line-height:1.2}
body[data-case="fluidlogic"] main#main>.fl-scene.scene{position:relative;display:block;min-height:0;padding:clamp(105px,11vw,175px) var(--margin) clamp(100px,11vw,165px) clamp(280px,18vw,500px);background:#080d0f}
body[data-case="fluidlogic"] main#main>.fl-scene:nth-of-type(even){background:#0d1416}
body[data-case="fluidlogic"] .fl-scene .scene__index{position:absolute;top:clamp(108px,11vw,178px);left:var(--margin);width:clamp(150px,14vw,260px);margin:0}
body[data-case="fluidlogic"] .fl-scene .scene__index .lbl{font-size:12px;line-height:1.4;letter-spacing:.18em}
body[data-case="fluidlogic"] .fl-scene .scene__index .filament{font-size:21px;font-weight:900}
.fl-scene__copy{max-width:1100px}
.fl-scene__copy h2{max-width:18ch;margin:0 0 28px;font-family:var(--serif);font-weight:350;font-size:clamp(43px,4.1vw,70px)!important;line-height:1.05!important;letter-spacing:-.035em;text-transform:none}
.fl-scene__copy p:not(.lbl){max-width:72ch;margin:0 0 18px;color:#bdccce;font-size:clamp(18px,1.5vw,23px)!important;line-height:1.45!important}
.fl-scene__copy p:last-child{margin-bottom:0}
.fl-figure{position:relative;min-width:0;margin:60px 0 0}
.fl-figure__stage{display:grid;place-items:center;overflow:hidden;background:#131d20}
.fl-figure__stage img{width:100%;height:auto;max-height:none;object-fit:contain}
.fl-figure--wide{width:min(100%,1194px)}
.fl-figure--wide .fl-figure__stage{border:1px solid #3b4b50;box-shadow:0 30px 70px -25px #000}
body[data-case="fluidlogic"] .fl-figure .case-caption{position:relative;z-index:1;width:min(420px,100%);margin:-25px 20px 0 auto;background:rgba(7,11,13,.9)}
.fl-figure .case-caption .lbl{color:#49d5eb}
.fl-detail__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.8fr);gap:8%;align-items:center;max-width:1120px;margin-top:55px}
.fl-detail__grid .fl-figure{margin:0}
.fl-figure--card .fl-figure__stage{padding:clamp(14px,2vw,30px);border:1px solid #35494e;background:radial-gradient(circle at 50% 50%,#1b3238,#0a1113 75%)}
.fl-figure--card img{width:min(100%,500px);box-shadow:0 16px 40px #000}
.fl-detail__sequence{display:grid;gap:0;counter-reset:step}
.fl-detail__sequence span{display:flex;align-items:center;gap:22px;padding:18px 0;border-bottom:1px solid #35494e;font-size:clamp(19px,2vw,27px)}
.fl-detail__sequence span::before{counter-increment:step;content:'0' counter(step);color:#49d5eb;font:600 12px var(--mono)}
.fl-admin__overview{width:min(100%,1194px);margin-top:60px}
.fl-admin__chrome{overflow:hidden;padding:0 32px 35px;border:1px solid #3b4b50;background:#070909;box-shadow:0 30px 70px -25px #000}
.fl-admin__top{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:65px;border-bottom:1px solid #293336;font:600 11px/1.2 var(--mono);letter-spacing:.15em;text-transform:uppercase;color:#8a9da1}
.fl-admin__brand{font-family:var(--display-sans);font-size:23px;font-weight:900;letter-spacing:-.05em;color:#f5f8f8}.fl-admin__brand span{color:#49d5eb}
.fl-admin__header{display:flex;justify-content:space-between;gap:30px;padding:45px 0 36px}
.fl-admin__header>div:first-child{display:flex;flex-direction:column;gap:7px}
.fl-admin__kicker{color:#49d5eb;font:700 11px var(--mono);letter-spacing:.2em;text-transform:uppercase}
.fl-admin__header strong{font-family:var(--display-sans);font-size:clamp(30px,3.3vw,50px);font-weight:900;line-height:1;text-transform:uppercase}
.fl-admin__header small{color:#9aabad;font-size:15px}
.fl-admin__filters{display:flex;gap:8px;align-items:flex-end}
.fl-admin__filters span{display:flex;flex-direction:column;gap:6px;color:#7e9498;font:500 11px var(--mono);text-transform:uppercase}
.fl-admin__filters b{min-width:135px;padding:12px;border:1px solid #36454a;color:#f1f5f5;font:500 13px var(--sans);text-transform:none}
.fl-admin__sites{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.fl-admin__sites>div{display:flex;flex-direction:column;min-height:165px;padding:19px;border:1px solid #304044;background:#151a1c}
.fl-admin__sites span{color:#49d5eb;font:600 11px var(--mono);letter-spacing:.12em;text-transform:uppercase}
.fl-admin__sites strong{margin:auto 0 14px;font-size:clamp(17px,1.6vw,22px);line-height:1.15}
.fl-admin__sites small{color:#9daeb0;font:12px var(--mono)}
.fl-admin__roster{display:flex;align-items:center;gap:18px;margin-top:23px;padding-top:20px;border-top:1px solid #293336;color:#b4c4c6;font:600 11px var(--mono);letter-spacing:.1em;text-transform:uppercase}
.fl-admin__roster strong{flex:1;padding:11px;border:1px solid #36454a;color:#829497;font:400 13px var(--sans);letter-spacing:0;text-transform:none}
.fl-admin__roster b{color:#49d5eb;white-space:nowrap}
.fl-training__layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,330px);gap:clamp(48px,6vw,150px);align-items:center;max-width:1760px}
.fl-training__layout .fl-scene__copy{padding-top:0}
.fl-training__layout .fl-scene__copy h2{max-width:18ch}
.fl-figure--phone{margin:0;max-width:330px}
.fl-figure--phone .fl-figure__stage{max-width:330px;margin:auto;padding:9px;border:1px solid #46565c;border-radius:34px;background:#101719;box-shadow:0 45px 80px -25px #000}
.fl-figure--phone img{border-radius:25px}
body[data-case="fluidlogic"] .fl-figure--phone .case-caption{width:100%;margin:24px 0 0}
.fl-system__rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;max-width:1160px;margin-top:90px;border-top:1px solid #496065}
.fl-system__rail>div{display:flex;flex-direction:column;min-height:235px;padding:24px 20px 20px 0;border-right:1px solid #29393d}
.fl-system__rail>div:not(:first-child){padding-left:20px}
.fl-system__mark{color:#49d5eb;font:500 12px var(--mono)}
.fl-system__rail strong{margin-top:auto;font-family:var(--serif);font-size:clamp(30px,3vw,48px);font-weight:350;line-height:1}
.fl-system__rail small{margin-top:12px;color:#a3b6b9;font-size:14px;line-height:1.3}
.fl-close{margin-top:0}
.fl-close .threshold__visual{background:radial-gradient(circle at 72% 30%,#1a4b53,#071012 58%,#05090b)}
.fl-close .threshold__scrim{background:linear-gradient(180deg,transparent,rgba(3,7,8,.67))}
@media(max-width:1199px){.fl-hero__visual{right:-18vw;opacity:.72}.fl-hero__title h1{font-size:clamp(58px,8vw,110px)}.fl-training__layout{grid-template-columns:1fr;gap:55px}.fl-figure--phone{margin:0 auto}}
@media(max-width:899px){
  .fl-hero{min-height:100svh}
  .fl-hero__title{justify-content:flex-end;min-height:100svh;max-width:none;padding:110px 20px 105px}
  .fl-hero__title h1{font-size:clamp(55px,10vw,95px)}
  .fl-hero__deck{max-width:470px}
  .fl-hero__visual{top:9%;right:-18%;width:110%;height:53%;opacity:.7}
  .fl-hero__tablet{width:82%;transform:perspective(1000px) rotateY(-16deg) rotateX(5deg) rotateZ(-6deg)}
  .fl-hero__pack{bottom:-7%;right:16%;width:18%}
  .fl-hero__footer{left:20px;right:20px}
  .fl-facts__inner{padding:90px 20px}
  .fl-facts__statement{margin-bottom:35px}
  .fl-facts__role{margin-bottom:55px}
  .fl-facts__list{gap:18px}
  body[data-case="fluidlogic"] main#main>.fl-scene.scene{padding:100px 20px}
  body[data-case="fluidlogic"] .fl-scene .scene__index{position:static;width:auto;margin-bottom:45px;padding:0;flex-direction:row;gap:12px}
  .fl-detail__grid{gap:40px}
  .fl-admin__header{flex-direction:column}.fl-admin__filters{align-items:flex-start}
  .fl-admin__sites{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .fl-hero__title{padding-bottom:90px}
  .fl-hero__title .rule-label{font-size:9px;gap:8px;letter-spacing:.12em}
  .fl-hero__title .rule-label .rule{width:16px;flex:none}
  .fl-hero__title h1{font-size:clamp(45px,12.1vw,70px);line-height:.82}
  .fl-hero__visual{top:15%;right:-38%;width:150%;height:42%;opacity:.65}
  .fl-hero__tablet{width:85%}
  .fl-hero__pack{width:19%;right:16%}
  .fl-hero__deck{margin-top:25px;font-size:19px}
  .fl-hero__footer span:last-child{display:none}
  .fl-facts__statement{font-size:clamp(44px,11vw,64px)}
  .fl-facts__list{grid-template-columns:1fr;gap:28px}
  .fl-facts__list dd{max-width:none;margin-top:10px}
  body[data-case="fluidlogic"] main#main>.fl-scene.scene{padding:82px 20px 100px}
  .fl-scene__copy h2{font-size:clamp(40px,10.3vw,58px)!important}
  .fl-scene__copy p:not(.lbl){font-size:18px!important}
  .fl-figure{margin-top:42px}
  body[data-case="fluidlogic"] .fl-figure .case-caption{width:100%;min-height:0;margin:0}
  .fl-detail__grid{grid-template-columns:1fr;margin-top:42px}
  .fl-detail__sequence{margin-top:12px}
  .fl-admin__chrome{padding:0 16px 24px}
  .fl-admin__mode{font-size:9px;text-align:right}
  .fl-admin__header{padding:26px 0}
  .fl-admin__header strong{font-size:31px}
  .fl-admin__filters{width:100%;gap:6px}
  .fl-admin__filters span{flex:1;min-width:0}
  .fl-admin__filters b{min-width:0;padding:8px;font-size:11px}
  .fl-admin__sites{gap:6px}
  .fl-admin__sites>div{min-height:116px;padding:10px}
  .fl-admin__sites span{font-size:9px}
  .fl-admin__sites strong{margin:auto 0 5px;font-size:14px}
  .fl-admin__sites small{font-size:9px}
  .fl-admin__roster{gap:9px;flex-wrap:wrap}
  .fl-admin__roster strong{order:2;flex-basis:100%}
  .fl-training__layout{grid-template-columns:1fr;gap:55px}
  .fl-figure--phone{width:min(100%,360px);margin:auto}
  body[data-case="fluidlogic"] .fl-figure--phone .case-caption{margin:0}
  .fl-system__rail{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:60px}
  .fl-system__rail>div{min-height:180px}
  .fl-system__rail>div:nth-child(3){padding-left:0;border-top:1px solid #29393d}
  .fl-system__rail>div:nth-child(4){border-top:1px solid #29393d}
}
@media(prefers-reduced-motion:reduce){.fl-hero__tablet{transform:none}.fl-close .threshold__visual{transition:none}}


/* Consolidated case-study rules: zibo.css. */
/* Zibo editorial case. Original assets and authored figure geometry are unchanged.
   Collage: Figma 2088:9233. Flow: 1337:23342, within 1335:18559. */
@layer overrides {
  body[data-case="zibo"] { --zibo-gutter:clamp(24px,5.2vw,100px); }
  body[data-case="zibo"] .site-header { background:none; }
  .zibo-case { overflow:clip; }
  .zibo-case :is(h1,h2) { margin:0; font-family:var(--display-sans); font-weight:800; letter-spacing:-.04em; line-height:.98; text-transform:uppercase; }
  .zibo-case h2 { font-size:clamp(38px,4.7vw,78px); }
  .zibo-case p { margin:0; }
  .zibo-case .lbl { font-family:var(--mono); font-size:11px; letter-spacing:.12em; line-height:1.5; }
  .zibo-case :is(figure,ul) { margin:0; }
  .zibo-case img { display:block; }
  .zibo-case figcaption { position:static; width:auto; min-height:0; padding:18px 0 0; border:0; background:none; backdrop-filter:none; color:var(--bone-400); font:12px/1.6 var(--mono); }
  .zibo-hero { --header-surface:dark; position:relative; display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.15fr); align-items:center; gap:clamp(30px,4vw,80px); min-height:min(100svh,1000px); padding:140px var(--zibo-gutter) 100px; color:var(--white); background:radial-gradient(ellipse at 78% 58%,#244958 0,transparent 60%),#0b1720; }
  .zibo-hero::before { content:none; }
  .zibo-hero h1 { max-width:14ch; margin:28px 0 38px; font-size:clamp(42px,4.25vw,74px); line-height:var(--case-hero-leading,1.03); }
  .zibo-hero .filament { color:var(--signal-cyan); }
  .zibo-hero__role { margin-bottom:25px; }
  .zibo-hero :is(.zibo-hero__role,.zibo-hero__scope)>.lbl { color:#a6c2cd; }
  .zibo-hero__role p { margin-top:7px; font:22px/1.4 var(--sans); }
  .zibo-hero__scope ul { display:grid; gap:5px; margin-top:10px; padding-left:20px; font:clamp(16px,1.3vw,20px)/1.5 var(--sans); }
  .zibo-hero__figure { width:100%; }
  .zibo-hero__figure img { width:100%; height:auto; filter:drop-shadow(0 35px 45px #0005); }
  .zibo-trust { --header-surface:light; position:relative; display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.5fr); align-items:center; min-height:820px; padding-left:var(--zibo-gutter); background:#fff; color:#141a1e; overflow:hidden; }
  .zibo-trust__copy { position:relative; z-index:2; padding-block:90px; }
  .zibo-trust__copy .lbl { color:#476c7c; margin-bottom:28px; }
  .zibo-trust__copy h2 { font-size:clamp(36px,4.3vw,72px); margin-bottom:28px; }
  .zibo-trust__copy>p:last-child { max-width:36ch; font:clamp(18px,1.45vw,24px)/1.55 var(--sans); }
  .zibo-trust__gallery { position:relative; align-self:stretch; min-width:0; min-height:820px; container-type:inline-size; overflow:hidden; }
  .zibo-trust__design { position:absolute; width:100%; height:75cqw; top:50%; transform:translateY(-50%); }
  .zibo-trust__frame { will-change:auto; }
  .zibo-trust__design img { max-width:none; max-height:none; }
  .zibo-trust__design::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(90deg,#fff,transparent 15%); }
  .zibo-editorial { display:grid; grid-template-columns:1fr 1fr; align-items:start; gap:clamp(36px,6vw,120px); padding:clamp(80px,8vw,150px) var(--zibo-gutter); }
  .zibo-editorial .lbl { margin-bottom:30px; }
  .zibo-editorial__body { font:clamp(20px,1.65vw,28px)/1.5 var(--sans); }
  .zibo-editorial__body p+p { margin-top:22px; }
  .zibo-problem { --header-surface:light; background:#e6eff4; color:#152a38; align-items:center; }
  .zibo-problem .filament { color:#356779; }
  .zibo-magic { --header-surface:dark; background:var(--ink-900); color:var(--white); padding-bottom:80px; }
  .zibo-magic .filament { color:var(--signal-cyan); }
  .zibo-magic .zibo-editorial { padding-bottom:55px; }
  .zibo-magic .zibo-editorial__body { color:var(--mute-200); font-size:clamp(19px,1.45vw,24px); }
  .zibo-flow { padding-inline:var(--zibo-gutter); background:transparent; color:white; }
  .zibo-flow__viewport { width:100%; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-color:#647079 #242829; scrollbar-width:thin; border-block:1px solid #ffffff1f; }
  .zibo-flow__viewport:focus-visible { outline:2px solid var(--signal-cyan); outline-offset:5px; }
  .zibo-flow__canvas { position:relative; min-width:1000px; width:100%; aspect-ratio:1600 / 700; container-type:inline-size; overflow:hidden; }
  .zibo-flow__design { position:absolute; left:-13.75cqw; top:-20cqw; width:120cqw; height:67.5cqw; color:white; font-family:var(--sans); }
  .zibo-flow__design :is(p,ul) { margin:0; padding:0; }
  .zibo-flow__design img { display:block; max-width:none; max-height:none; }
  .zibo-flow__design li { margin-left:1em; }
  .zibo-flow figcaption { color:var(--mute-300); }
  .zibo-flow__controls { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:65px; }
  .zibo-flow__controls p { color:var(--mute-300); font:12px/1.5 var(--mono); }
  .zibo-flow .zibo-restart { display:inline-flex; align-items:center; gap:18px; min-width:110px; min-height:44px; margin-left:auto; padding:10px 16px; border:1px solid #888; border-radius:0; color:white; background:transparent; font:12px var(--mono); cursor:pointer; }
  .zibo-flow .zibo-restart[hidden] { display:none; }
  .zibo-flow .zibo-restart:hover { border-color:var(--signal-cyan); color:var(--signal-cyan); }
  .zibo-flow .zibo-restart:focus-visible { outline:2px solid var(--signal-cyan); outline-offset:4px; }
  .zibo-contribution { align-items:center; }
  .zibo-contribution h2 { font-size:clamp(36px,4.2vw,70px); }
  .zibo-contribution__copy { max-width:42ch; margin-top:28px!important; font:clamp(19px,1.5vw,24px)/1.5 var(--sans); color:var(--bone-400); }
  .zibo-contribution__figure img { width:100%; max-height:650px; object-fit:contain; }
  .zibo-footer { padding:30px var(--zibo-gutter) 100px; }
  @media(min-width:1300px) { .zibo-flow__hint { visibility:hidden; } }
  @media(max-width:1000px) {
    .zibo-hero { grid-template-columns:1fr; gap:55px; padding-block:130px 80px; }
    .zibo-hero h1 { max-width:18ch; font-size:clamp(40px,7vw,65px); }
    .zibo-hero__copy { display:grid; grid-template-columns:1fr 1fr; gap:0 28px; }
    .zibo-hero__copy>.lbl,.zibo-hero h1 { grid-column:1 / -1; }
    .zibo-hero__figure { width:min(100%,800px); margin-inline:auto!important; }
    .zibo-trust { grid-template-columns:1fr 1.15fr; min-height:660px; }
    .zibo-trust__gallery { min-height:660px; width:130%; }
    .zibo-editorial { gap:40px; }
  }
  @media(max-width:699px) {
    body[data-case="zibo"] { --zibo-gutter:24px; }
    .zibo-case h2 { font-size:clamp(36px,10vw,54px); }
    .zibo-hero { gap:38px; padding-top:115px; }
    .zibo-hero h1 { margin-top:24px; font-size:clamp(36px,9vw,54px); }
    .zibo-hero__copy { grid-template-columns:1fr; }
    .zibo-hero__role p { font-size:20px; }
    .zibo-trust { display:block; min-height:0; padding:0; }
    .zibo-trust__copy { padding:75px var(--zibo-gutter) 0; }
    .zibo-trust__copy h2 { font-size:clamp(36px,10vw,54px); }
    .zibo-trust__copy>p:last-child { max-width:100%; font-size:19px; }
    .zibo-trust__gallery { width:760px; height:570px; min-height:0; margin-left:calc((100% - 760px) / 2 - 80px)!important; }
    .zibo-trust__design { top:0; transform:none; }
    .zibo-trust__design::after { display:none; }
    .zibo-editorial { grid-template-columns:1fr; gap:30px; padding-block:75px; }
    .zibo-editorial .lbl { margin-bottom:22px; }
    .zibo-editorial__body { font-size:20px; }
    .zibo-magic { padding-bottom:45px; }
    .zibo-magic .zibo-editorial { padding-bottom:35px; }
    .zibo-flow__controls { align-items:flex-start; padding-top:20px; }
    .zibo-flow__controls .zibo-flow__hint { max-width:20ch; font-size:10px; }
    .zibo-footer { padding-bottom:70px; }
  }
  @media(prefers-reduced-motion:reduce) {
    .zibo-trust__frame,.zibo-flow__beat { animation:none!important; transition:none!important; opacity:1!important; }
  }
}


/* Consolidated case-study rules: anova-quick-starts.css. */
/* Anova Quick Starts: original Figma assets and crop geometry, node 101:175.
   Source PNGs remain unchanged. Page styles are confined to this chapter. */
@layer overrides {
  body[data-case="anova"] .anova-quick-starts .draft-section__body {
    max-width: 1200px;
  }
  body[data-case="anova"] .anova-quick-starts__figure {
    margin-top: clamp(32px, 5vw, 60px);
    background: transparent;
  }
  .anova-quick-starts__art {
    position: relative;
    aspect-ratio: 1920 / 1080;
    overflow: hidden;
    background: var(--white);
  }
  .anova-quick-starts__phone {
    position: absolute;
    overflow: hidden;
  }
  .anova-quick-starts__phone--home {
    left: 6.302083%; top: 14.722222%; width: 29.791667%; height: 81.851852%;
  }
  .anova-quick-starts__phone--modes {
    left: 36.09375%; top: 13.055556%; width: 28.072917%; height: 83.518519%;
  }
  .anova-quick-starts__phone--confirm {
    left: 64.791667%; top: 14.166667%; width: 27.552083%; height: 82.407407%;
  }
  body[data-case="anova"] .anova-quick-starts__phone img {
    position: absolute;
    display: block;
    max-width: none;
    max-height: none;
    object-fit: fill;
    background: transparent;
  }
  body[data-case="anova"] .anova-quick-starts__phone--home img {
    left: -61.54%; top: -5.98%; width: 225.56%; height: 109.46%;
  }
  body[data-case="anova"] .anova-quick-starts__phone--modes img {
    left: -69.22%; top: -3.86%; width: 239.37%; height: 107.28%;
  }
  body[data-case="anova"] .anova-quick-starts__phone--confirm img {
    left: -72.25%; top: -5.26%; width: 243.89%; height: 108.72%;
  }
  body[data-case="anova"] .anova-quick-starts__figure figcaption {
    width: auto;
    min-height: 0;
    padding: 16px 0 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .anova-quick-starts__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 48px);
    margin: clamp(32px, 4vw, 56px) 0 0;
    padding: 0;
    list-style: none;
  }
  .anova-quick-starts__steps li {
    min-width: 0;
    padding-top: 22px;
    border-top: 1px solid var(--stone-700);
  }
  .anova-quick-starts__steps .lbl {
    color: var(--filament);
    font-size: 11px;
    letter-spacing: .12em;
  }
  .anova-quick-starts__steps h3 {
    margin: 15px 0 12px;
    font-family: var(--sans);
    font-size: clamp(20px, 1.7vw, 26px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -.015em;
  }
  body[data-case="anova"] .anova-quick-starts__steps p {
    margin: 0;
    font-size: clamp(16px, 1.1vw, 18px);
    line-height: 1.5;
  }
  @media (max-width: 699px) {
    .anova-quick-starts__art {
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
      aspect-ratio: auto;
      padding: 24px 12px;
    }
    .anova-quick-starts__phone {
      position: relative;
      inset: auto;
      width: 100%;
      height: auto;
      max-width: 320px;
      margin-inline: auto;
    }
    .anova-quick-starts__phone--home { aspect-ratio: 572 / 884; }
    .anova-quick-starts__phone--modes { aspect-ratio: 539 / 902; }
    .anova-quick-starts__phone--confirm { aspect-ratio: 529 / 890; }
    .anova-quick-starts__steps {
      grid-template-columns: 1fr;
      gap: 24px;
    }
  }
}

@layer overrides {
  /* Extend the diagram's charcoal canvas through the full architecture scene. */
  body[data-case="pax"] main#main>section#app-architecture.case-architecture:not(.hero):not(.threshold){background:#0b0b0c}
  body[data-case="pax"] #app-architecture .pax-feature-web{background:transparent}
}
