/* FMSS case study — light, editorial. */
:root{--spring-slow:linear(0,.165,.413,.612,.751,.842,.9,.937,.961,.976,.985,.991,.995,.997,.998,.999,1);--page:#ededed;--sheet:#fcfcfc;--ink:#171717;--body:#2b2b2b;--mute:#6f6f6f;--faint:#9a9a9a;--line:#e6e6e6;--frame:#f4f4f4;--accent:#ff5a36;
--sans:"Instrument Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;--mono:"Bitcount Grid Single",ui-monospace,Menlo,monospace;
--r:24px;--ease:cubic-bezier(.2,.7,.2,1)}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:88px}
body.cs{background:var(--page);color:var(--body);font:var(--t-body);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:inherit}
img{display:block;max-width:100%;height:auto}
.skip{position:absolute;left:-999px;top:8px;z-index:99;background:var(--ink);color:#fff;padding:8px 14px;border-radius:8px}.skip:focus{left:12px}
/* top bar */
.bar{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:16px;height:60px;padding:0 24px;background:var(--page)} /* solid page colour (= html/body bg = theme-color): iOS Safari tints the status bar from this sticky edge element; translucent/blurred gave a black bar */
.brand{font:var(--t-brand);letter-spacing:var(--t-label-ls);word-spacing:var(--t-label-ws);text-decoration:none;color:var(--ink)}
.bar-mid{font:400 13px/1 var(--mono);color:var(--mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bar-right a{font-size:14px;color:var(--mute);text-decoration:none;transition:color .2s}.bar-right a:hover{color:var(--ink)}
.prog{position:absolute;left:0;right:0;bottom:0;height:1px;background:transparent}
.prog i{display:block;height:100%;background:var(--ink);transform-origin:0 0;transform:scaleX(0)}
/* sheet */
.sheet{max-width:1152px;margin:8px auto 96px;background:var(--sheet);border-radius:28px;box-shadow:0 0 0 1px rgba(0,0,0,.03),0 1px 2px rgba(0,0,0,.03);padding:0 0 64px;overflow:clip}
.wrap{--wrap-pad:clamp(20px,5vw,72px);padding:0 var(--wrap-pad)} /* --wrap-pad = the site content margin (also the VAC 05 text-cell inset) */
/* hero */
.hero{padding-top:clamp(56px,9vw,112px);padding-bottom:48px}
.kicker{font:400 13px/1.5 var(--mono);color:var(--mute);letter-spacing:0;margin-bottom:24px}
.hero h1{font:var(--t-display);letter-spacing:var(--t-display-ls);color:var(--ink)}
.hero .sum{margin-top:24px;font:var(--t-lead-hero);letter-spacing:var(--t-lead-ls);color:var(--ink)}
.meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:56px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.meta>div{padding:32px 24px 32px 0}
.meta>div+div{padding-left:24px;border-left:1px solid var(--line)}
.meta dt{font:400 12px/1.5 var(--mono);color:var(--faint);text-transform:none;letter-spacing:.04em;margin-bottom:6px}
.meta dd{font-size:var(--t-s15);line-height:1.5;color:var(--ink)}
/* figures */
figure{margin:0}
.media{background:var(--frame);border:1px solid var(--frame-line,var(--line));border-radius:var(--r);overflow:hidden;position:relative}
.media img{width:100%;transition:transform .7s var(--ease)}
.media.dark{background:#0b0b0b;border-color:#1c1c1c}
.media.pad{padding:clamp(16px,4vw,48px)}
.media.pad img{border-radius:12px}
/* media captions (images, videos, carousels, prototypes), every case page: the prototypes' former hint style, ink at 56% (--cap, css/theme.css) */
figcaption{font-family:var(--sans);font-weight:400;font-style:normal;font-size:14px;line-height:18px;letter-spacing:normal;color:var(--cap);text-align:center;max-width:60ch}
figcaption strong{font-family:inherit;font-weight:600;font-size:inherit;line-height:inherit;letter-spacing:inherit;color:inherit}   /* bold phrase in a caption: Instrument Sans 600 like .list li b (loaded 400..700), otherwise the caption's own type */
/* rotation caption (.ss-roll): the caption's last words roll with the content above it, the shared build for every container that
   changes state. One span per state stacked in one grid cell (the cell = the widest name, so the line never reflows), the others hidden.
   VAC §05 funnels: js/state-seq.js tweens the spans through cfg.bind (layers hw/hv: y 0/18 and opacity, edur 640ms on its SLOW spring).
   Carousels (.media.carousel ~ figcaption, js/case.js): the slide's span is .is-on, earlier ones sit 18px up and later ones 18px down,
   each moving + fading over the same 640ms SLOW spring (k80 c20 m1 as linear(), = state-seq's curve) as the slide changes */
.ss-roll{display:inline-grid;vertical-align:top}
.ss-roll>span{grid-area:1/1;white-space:nowrap;justify-self:start;text-align:left}
.ss-roll>span+span{opacity:0}
.media.carousel~figcaption .ss-roll>span{opacity:0;transform:translateY(18px);transition:transform 640ms var(--spring-slow),opacity 640ms var(--spring-slow)}
.media.carousel~figcaption .ss-roll>span.is-up{transform:translateY(-18px)}
.media.carousel~figcaption .ss-roll>span.is-on{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.media.carousel~figcaption .ss-roll>span{transition:none}}
.hero-media{margin-top:8px}
.bleed{margin-left:clamp(12px,2vw,24px);margin-right:clamp(12px,2vw,24px)}
/* stats */
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:72px 0 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.stat{padding:32px 24px 32px 0}
.stat+.stat{padding-left:24px;border-left:1px solid var(--line)}
.stat b{display:block;font:var(--t-stat-s);letter-spacing:var(--t-stat-s-ls);color:var(--ink)}
.stat span{display:block;margin-top:12px;font-size:var(--t-s14);line-height:1.5;color:var(--mute);max-width:28ch}
/* sections: two-column like DD (label rail + prose) */
.sec{padding-top:clamp(72px,10vw,128px)}
.sec-grid{display:grid;grid-template-columns:232px minmax(0,1fr);gap:0 48px}
.sec-label{font:400 13px/1.9 var(--mono);color:var(--faint);padding-top:6px;white-space:nowrap}
.sec h2,.pd-txt h2{font:var(--t-h2);letter-spacing:var(--t-h2-ls);color:var(--ink);margin-bottom:24px;max-width:none} /* h2s fill the 480px text column (no 22ch cap) */
.prose{max-width:480px}
.prose p{margin-bottom:20px}
.prose p.lead{font-size:var(--t-lead-size);line-height:var(--t-lead-lh);color:var(--ink);letter-spacing:var(--t-lead-ls)}
.prose strong{color:var(--ink);font-weight:600}
.prose mark{background:linear-gradient(transparent 62%,rgba(255,90,54,.22) 62%);color:inherit;padding:0 1px}
blockquote,.sec .quote{font-family:var(--sans);font-weight:400;max-width:none;margin:8px 0 28px;padding-left:20px;border-left:2px solid var(--ink);font-size:var(--t-quote-size);line-height:var(--t-quote-lh);color:var(--ink);letter-spacing:var(--t-lead-ls)} /* shared quote treatment: blockquote and .quote (Key Insights titles) */
.list{list-style:none;counter-reset:n;margin:4px 0 24px}
.list li{counter-increment:n;position:relative;padding:16px 0 16px 44px}
.list li::before{content:counter(n,decimal-leading-zero);position:absolute;left:0;top:18px;font:400 12px/1.6 var(--mono);color:var(--faint)}
.list li b{display:block;color:var(--ink);font-weight:600;margin-bottom:2px}
.fig{margin-top:48px}
.fig-row{display:grid;gap:16px;margin-top:48px}
.fig-row.two{grid-template-columns:1fr 1fr}
.phones{display:grid;gap:clamp(10px,1.6vw,20px);padding:clamp(20px,4vw,56px);background:var(--frame);border:1px solid var(--line);border-radius:var(--r);position:relative}
.phones.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.phones.two{grid-template-columns:repeat(2,minmax(0,1fr));max-width:720px;margin-inline:auto}
.phones img{border-radius:18px;box-shadow:0 1px 2px rgba(0,0,0,.06),0 12px 32px -12px rgba(0,0,0,.18);transition:transform .5s var(--ease)}
.phones figcaption,.phones .cap{grid-column:1/-1}
.sub{margin-top:64px}
.sub h3{font:var(--t-h3);letter-spacing:var(--t-h3-ls);color:var(--ink);margin-bottom:8px}
.sub p{color:var(--mute);max-width:56ch;font-size:var(--t-s16)}
/* results */
.meta.results{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:48px;border-top:0;border-bottom:0}
.meta.results>div{padding:0 40px 0 0}.meta.results>div+div{padding-left:40px}
.meta.results dt{margin-bottom:16px}
.meta.results .rv{display:block;font:var(--t-stat);letter-spacing:-.03em;color:var(--ink)}
.meta.results p{margin-top:20px;font:var(--t-body);color:var(--body)}
.meta.results p b{color:var(--ink);font-weight:600}
@media (max-width:900px){.meta.results{grid-template-columns:1fr}.meta.results>div,.meta.results>div+div{padding:0;border-left:0}.meta.results>div+div{margin-top:28px;padding-top:28px}.meta.results>div+div{border-top:1px solid var(--line)}.meta.results p{font-size:var(--t-body-m-size);line-height:var(--t-body-m-lh)}}
/* next */
.next{margin-top:clamp(80px,10vw,128px);padding:0;border:1px solid var(--line);background:var(--c-slot)} /* same ground as the case media containers (--c-slot: #f8f8f8 / #202020) */
html[data-theme=dark] .next{background:var(--frame);border-color:var(--frame-line)} /* dark: the media container ground (--frame #161616, Hang Nov 2); light keeps --c-slot */
.next-hit{display:grid;grid-template-columns:1fr 62%;align-items:center;gap:40px;padding:39px 39px 39px 40px;color:inherit;text-decoration:none} /* 39 + 1px border = 40px from the aside edge */
.next-card{display:block;container-type:inline-size}
.next .media-wrap{display:block;width:100%;aspect-ratio:1440/820;border-radius:round(calc(100cqi / 30), 2px);overflow:hidden;isolation:isolate;transform:translateZ(0);box-shadow:0 0 0 1px rgba(0,0,0,.05),0 1px 2px rgba(0,0,0,.04)}
.next .media-wrap img{display:block;width:100%;height:100%;object-fit:cover;-webkit-user-drag:none}
.next .k{margin:0;justify-self:start;line-height:1;display:flex;align-items:center}.next .k .t{position:relative;display:inline-block}
.next .k .t::after{content:"";position:absolute;left:0;right:0;bottom:-3px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .25s ease} /* same underline as BACK / nav links, driven by hovering anywhere on the card */
.next-hit:hover .k .t::after,.next-hit:focus-visible .k .t::after{transform:scaleX(1)}
@media (prefers-reduced-motion:reduce){.next .k .t::after{transition:none}}
@media (max-width:640px){.next .k{align-items:flex-end}.next .k .t2{display:block;white-space:nowrap}.next .k .arr{margin-bottom:.18em}} /* phone: two lines, NEXT / CASE STUDY (.t2, every case page); the arrow sits on the CASE STUDY line, centred on it (.64em arrow in a 1em line: .18em up from the bottom) */
@media (max-width:640px),(orientation:portrait) and (max-width:1024px){.next-hit{gap:20px;padding:19px 19px 19px 20px}.next .media-wrap{border-radius:round(calc(100cqi / 20), 2px)}}
.foot{max-width:1152px;margin:-64px auto 48px;padding:0 24px;display:flex;justify-content:center}
.foot a{text-decoration:none;line-height:1!important;transition:color .2s}
/* toc rail (desktop) */
.toc{position:fixed;right:24px;top:50%;transform:translateY(-50%);width:160px;z-index:20;text-align:right}
.toc ol{list-style:none}
.toc a{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:9px 0;font-size:13px;line-height:1.3;color:var(--faint);text-decoration:none;transition:color .2s}
.toc a::after{content:"";width:8px;height:1px;background:currentColor;transition:width .3s var(--ease);flex:none}
.toc a:hover{color:var(--body)}
.toc a[aria-current="true"]{color:var(--ink)}.toc a[aria-current="true"]::after{width:24px}
@media (max-width:1649px){.toc{display:none}}
/* motion: 896ms (112x8ms) on var(--ease), 32px rise; simultaneous entries stagger 80ms apart via --fx-d (js/case.js); no scale on .fx so media/prototype boxes never raster-scale */
.fx{opacity:0;transform:translateY(32px);transition:opacity 896ms var(--ease) var(--fx-d,0ms),transform 896ms var(--ease) var(--fx-d,0ms)}
.fx.in{opacity:1;transform:none}
html.theme-anim .fx{transition:opacity 896ms var(--ease) var(--fx-d,0ms),transform 896ms var(--ease) var(--fx-d,0ms),background-color .3s ease,color .3s ease,border-color .3s ease!important}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.fx{opacity:1;transform:none;transition:none}.media img,.phones img{transition:none}.media:hover img,.phones img:hover{transform:none}}
/* responsive */
@media (max-width:900px){
 .sec-grid{grid-template-columns:1fr}.sec-label{padding:0 0 10px}
 .meta{grid-template-columns:1fr}.meta>div,.meta>div+div{padding:22px 0;border-left:0}.meta>div+div{border-top:1px solid var(--line)}
}
@media (max-width:640px){
 body.cs{font-size:var(--t-body-m-size);line-height:var(--t-body-m-lh)}
 .sheet{margin:0 0 72px;border-radius:24px}
 .stats{grid-template-columns:1fr}.stat,.stat+.stat{padding:22px 0;border-left:0}.stat+.stat{border-top:1px solid var(--line)}
 .fig-row.two{grid-template-columns:1fr}
 .phones.three{grid-template-columns:repeat(3,minmax(0,1fr));padding:16px;gap:8px}.phones img{border-radius:10px}
 .phones.two{padding:16px;gap:10px}
 :root{--r:18px}
 .bleed{margin-left:12px;margin-right:12px}
 .foot{margin-top:-48px}
}



.phones.three{max-width:960px;margin-inline:auto}
.bar-right a{font-size:13px}
.media.cover{border:0;background:transparent;border-radius:clamp(14px,2.2vw,30px)}
.media.cover img{border-radius:inherit}
.media.dark.pad img{border-radius:0}
.media.cover,.media.cover img{border-radius:3.2% / 5.6%}
/* v2 (Hang's edits) — case page only; case.css is not loaded by the home page */
body.cs .hero{padding-top:clamp(20px,5vw,72px)}

body.cs .media,body.cs .media img,body.cs .media.cover,body.cs .media.cover img,body.cs .phones,body.cs .phones img,
body.cs .next,body.cs .stats,body.cs .media.pad img{border-radius:0}
body.cs .media.cover{border:1px solid var(--frame-line,var(--line))}
@media (max-width:640px){body.cs .meta{grid-template-columns:1fr}.meta>div,.meta>div+div{padding:22px 0;border-left:0}.meta>div+div{border-top:1px solid var(--line)}}
/* outer white panel keeps its original rounded corners; inner containers stay square */
/* type matched to Figma: Instrument Sans 400, normal width (wdth 100); display tracking -3.2%…-5% */
body.cs{font-stretch:100%}
/* media frames align exactly to the text column (no breakout) at every width */
body.cs .bleed{margin-left:clamp(20px,5vw,72px);margin-right:clamp(20px,5vw,72px)}
body.cs .phones.two,body.cs .phones.three{max-width:none;margin-inline:0}

/* hero video placeholder — 2800×1560 aspect */
body.cs .hero-slot{aspect-ratio:2800/1560}
body.cs .hero-slot video{display:block;width:100%;height:100%;object-fit:cover}

/* every media container spans exactly the text column (.wrap content box) */
.wrap .fig,.wrap .fig .media{max-width:100%;margin-inline:0;box-sizing:border-box}

/* shared mono style (Bitcount Grid Single, logo styling) — one definition for every mono element (reference: SWIPE hint) */
:root{--mono-size:14px;--mono-ls:.04em;--mono-color:var(--c-label);--mono-tt:none}
.mono,.bar-mid,.bar-right a,.kicker,.meta dt,.iter-grid b,.sec-label,.list li::before,.next .k,.toc a,.foot a{font-family:var(--mono)!important;font-size:var(--mono-size)!important;letter-spacing:var(--mono-ls)!important;word-spacing:-.32em!important;color:var(--mono-color)!important;text-transform:var(--mono-tt)!important;font-weight:400!important;font-style:normal!important}
.bar-right a:hover,.foot a:hover,.toc a:hover,.toc a[aria-current="true"]{color:var(--ink)!important}
/* Title Case as written for nav, TOC and section captions */
.bar-right a,.foot a,.toc a,.sec-label{text-transform:none!important}
/* TOC: fit longest active label on one line, right-aligned with ← All Work */
.toc{width:max-content;min-width:200px}
.toc a{white-space:nowrap}
/* top-bar section title: centred on the content column (sheet is centred in the same width as the bar) */
.bar-mid{position:absolute;top:50%;transform:translateY(-50%);text-align:left;white-space:nowrap;overflow:hidden!important;text-overflow:ellipsis} /* left/right set by case.js from the logo and BACK */
/* research drawing: same frame as hero placeholder (2800/1560), flat, light outline, drawing contained */
body.cs .media.draw{aspect-ratio:2800/1560;border:1px solid var(--frame-line,var(--line));border-radius:0;background:#000;display:flex;align-items:center;justify-content:center}
body.cs .media.draw img{width:100%;height:100%;object-fit:cover;object-position:50% 50%;border-radius:0}
body.cs .media.draw:hover img{transform:none}

/* project pages: logo matches the 14px Bitcount chrome */
.brand{font-size:14px!important;color:var(--c-label)!important;word-spacing:-.32em}
/* header matches the home header: same insets, top offset (22 / 18px), 14px line-height-1 type */
.bar{height:58px;padding:0 clamp(16px,3vw,32px)}
.bar-right a{display:block;line-height:1!important}
.brand{line-height:1}
@media (max-width:900px){.bar{padding:0 clamp(20px,5vw,72px)}} /* mobile: header insets = .wrap content inset */
@media (max-width:640px){.bar{height:50px}}
.bar-right a .t,.foot a .t{position:relative;display:inline-block}
.bar-right a .t::after,.foot a .t::after{content:"";position:absolute;left:0;right:0;bottom:-3px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
.bar-right a:hover .t::after,.bar-right a:not(.deck-x,.hegg-x):focus-visible .t::after,.foot a:hover .t::after,.foot a:focus-visible .t::after{transform:scaleX(1)}
@media (prefers-reduced-motion:reduce){.bar-right a .t::after,.foot a .t::after{transition:none}}
.toc a:not([aria-current="true"]):not(:hover){color:#666!important}

/* header label: Bitcount 14px #333, centred; fades in once the eyebrow has scrolled under the bar */
.bar-mid{display:block!important;font:var(--t-label)!important;letter-spacing:var(--t-label-ls)!important;word-spacing:var(--t-label-ws)!important;color:var(--c-label)!important;text-transform:none!important;max-width:none;overflow:visible;opacity:0;transition:opacity .22s ease;pointer-events:none}
.bar-mid.on{opacity:1}
@media (prefers-reduced-motion:reduce){.bar-mid{transition:none}}

/* side-label-less block keeps the content column */
@media (min-width:901px){.sec-grid>.no-label{grid-column:2}}
.prose .t-h3{font:var(--t-h3);letter-spacing:var(--t-h3-ls);color:var(--ink);margin-bottom:12px}
.prose p.t-body{font:var(--t-body)}
#insights .prose p.t-body+h2,#findings .prose p.t-body+h2{margin-top:56px} /* Key Insights: space between title/body pairs */
@media (max-width:900px){.prose p.t-body{font-size:var(--t-body-m-size);line-height:var(--t-body-m-lh)}}
.sub p{line-height:1.7} /* these only inherited body line-height; keep their previous 1.7 ratio now that --t-body uses a fixed 28px/26px */

/* 02 Problem: three image frames share one height (exit-affordances ratio 3840/2052) */
body.cs .media.draw{aspect-ratio:3840/2052}
body.cs .wrap .fig .media.draw{box-sizing:content-box;max-width:calc(100% - 2px)} /* ratio on the inner box, like the natural-height image frame */
@media (max-width:900px){.sec-label:empty{display:none}}

/* Inconsistencies pair (.inc2, FMSS 02 + VAC 02/05): two equal columns, per-col captions; stacked on the vertical layout; the modules
   are the phone-container boxes (.phone-demo / .pd-label, below) */
.inc2 .inc-row{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
.inc2 .inc-col{margin:0;min-width:0}
.inc2 .inc-col figcaption{margin:14px 0 0}
@media (max-width:640px),(orientation:portrait) and (max-width:1024px){.inc2 .inc-row{grid-template-columns:1fr;gap:32px}}

/* section label replaces the logo once past the eyebrow (all widths) */
.brand{transition:opacity .22s ease}
.bar.mid-on .brand{opacity:0}
@media (prefers-reduced-motion:reduce){.brand{transition:none}}

/* section hairline: 1px var(--line) (same as the numbered-list dividers), spanning the content width (= full-width media), 48px above each section label */
section.sec[data-title]{--hl-pad:clamp(40px,5vw,64px);position:relative;padding-top:calc(var(--hl-pad) + 49px)}
section.sec[data-title]::before{content:"";position:absolute;left:0;right:0;top:var(--hl-pad);height:1px;background:var(--line);pointer-events:none}
/* one shared media-to-caption gap for every caption on the page */
body.cs figcaption{margin:14px auto 0}
/* Problem + Solution frames: identical box (3840/2052, 1px --line border, square, black ground), art fitted with contain */
body.cs .media.mframe{box-sizing:content-box;max-width:calc(100% - 2px);aspect-ratio:3840/2052;border:1px solid var(--frame-line,var(--line));border-radius:0;background:#000;display:flex;align-items:center;justify-content:center}
body.cs .media.mframe img{width:100%;height:100%;object-fit:cover;object-position:50% 50%;border-radius:0}
/* solution demo video in the shared media frame */
/* video frames: the recording has a 1px darker border on every edge; overscan 2px each side (clipped by the frame) so it, and any subpixel gap against the old #000 ground, never shows */
body.cs .media.mframe.video,body.cs .media.mframe.carousel{background:#f1f1f1}
/* Citi 02 Tile Architecture: live SVG loop (js/citi-tile.js v2, [data-citi-tile]) in the shared frame. The stage is drawn at the frame's own
   3840/2052 ratio (1920x1026 viewBox) with the Figma frame at the old static slides' framing (citi-03..07.webp, cover + scale 1.006),
   so it fills the box exactly; the ground is the animation's own --ct-bg (Figma #F4F4F4) in both themes.
   Autoplay, non-interactive: no button, tap, hover, focus ring or selection, in either theme */
body.cs .media.mframe.ct-frame{--ct-bg:#F4F4F4;background:var(--ct-bg);cursor:default;outline:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}
body.cs .media.mframe.ct-frame .ct-stage{pointer-events:none}
body.cs .media.mframe video{display:block;flex:none;width:calc(100% + 4px);height:calc(100% + 4px);margin:-2px;object-fit:cover;object-position:50% 50%;background:#f1f1f1;border-radius:0}
/* media buttons (.mbtn): one play/pause for videos (.vid-btn), carousels (.car-pp) and the Studio deck (.deck-apb). 32px circle, 1px --line
   ring, 16px icons in --c-strong: pause = two 1.5px round-capped strokes, play = filled triangle (centroid at 8,8). Icons: window.dbhPP
   (js/case.js). aria-pressed=false shows play. Glass + the 40% hover ring are shared with the dots pill and the theme toggle in css/theme.css */
.mbtn{appearance:none;display:grid;place-items:center;flex:none;width:32px;height:32px;padding:0;margin:0;border:1px solid var(--line);border-radius:50%;box-sizing:border-box;color:var(--c-strong);cursor:pointer;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;transition:border-color .2s ease}
.mbtn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;display:block}
.mbtn .i-play{display:none;fill:currentColor;stroke:none}
.mbtn[aria-pressed=false] .i-play{display:block}.mbtn[aria-pressed=false] .i-pause{display:none}
.vid-btn{position:absolute;right:32px;bottom:32px;z-index:3} /* 32px from the media container's right and bottom edges */
.car-track{position:relative;width:100%;height:100%}
body.cs .media.mframe .car-track>*{position:absolute;display:block;inset:0;width:100%;height:100%;transform:scale(1.006);object-fit:cover;border-radius:0;opacity:0;transition:opacity 0s linear 704ms;pointer-events:none} /* outgoing slide stays opaque underneath until the incoming one has fully covered it: no background flash */
body.cs .media.mframe .car-track>.is-active{opacity:1;z-index:2;transition:opacity 704ms cubic-bezier(.4,0,.2,1)}
/* swipeable media (js/case.js window.dbhSwipe: carousels + state-seq players): vertical pans stay the page's, horizontal ones are the
   carousel's; no text selection, callout or ghost image while dragging */
.dbh-swipe{touch-action:pan-y;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.dbh-swipe img{-webkit-user-drag:none}
@media (prefers-reduced-motion:reduce){body.cs .media.mframe .car-track>*{transition:none}}
body.cs .media.mframe .car-slide img{display:block;width:100%;height:100%;object-fit:cover} /* a slide that is a .car-slide wrapper (e.g. a .theme-light/.theme-dark pair, css/theme.css) fades as one; its imgs fill it */
/* FMSS 02 Inconsistencies (.pd-label pair, Hang Nov 2): nothing baked, one file per asset for both themes; the frame supplies the ground,
   #f1f1f1 light / --frame dark. Sized as the VAC 02 Problem phone modules (Hang Nov 3: "match the size and margins"): the same box (the
   shared phone-container tokens below: --mbox-h inside a 1px border, full column width) and the same phone screen, --dev-h tall, centred,
   --dev-pad (24px) above and below. Video (.inc-scr): the bare 636x1376 screen recording (1280 tier 502x1088), 375:812, --dev-h tall;
   corners = the shared bare-screen corner rule (with the VAC .pd-bare screens, below; --phone-r set to the carousel mocks' R72/1218 there),
   60% smoothing by js/squircle.js. Carousel: 1440x1620 slides (two phone screens 1218 tall at y 162..1379, markers out to x 106..1330, on
   a transparent ground, one file for both themes), scaled so their screens are --dev-h tall too, unless the markers (1225 wide) would
   then overflow the frame: then as wide as the frame allows (phones, and 0.1% at 1440). Each slide is centred on its phones (slide y
   162..1380, centre 771), so they sit level with the video's, centred vertically. They cross-fade (the outgoing one fades out too) so
   their markers never show through */
body.cs .inc-col .media.mframe.pd-label{--pd-ground:#f1f1f1;background:var(--pd-ground);container-type:size;box-sizing:border-box;width:100%;max-width:none;height:calc(var(--mbox-h) + 2px);aspect-ratio:auto}
html[data-theme=dark] body.cs .inc-col .media.mframe.pd-label{--pd-ground:var(--frame)}
body.cs .inc-col .media.mframe.pd-label .inc-scr{position:absolute;inset:0;margin:auto;width:calc(var(--dev-h)*375/812);height:var(--dev-h)}
body.cs .inc-col .media.mframe.pd-label .inc-scr video{display:block;width:100%;height:100%;margin:0;object-fit:cover;background:none;transform:none}
body.cs .inc-col .media.mframe .car-track>*{transition:opacity 560ms cubic-bezier(.4,0,.2,1)}
body.cs .inc-col .media.mframe.pd-label .car-track>*{inset:auto;left:50%;top:50%;width:min(var(--dev-h)*1440/1218,100cqw*1440/1225);max-width:none;height:auto;aspect-ratio:1440/1620;transform:translate(-50%,calc(-100%*771/1620))}
@media (prefers-reduced-motion:reduce){body.cs .inc-col .media.mframe .car-track>*{transition:none}}
/* carousel controls: a glass pill of 4px dots + the 32px .mbtn play/pause, 32px inset (16px on phones).
   Each dot holds a 4px-tall bar: 4px wide = a dot, 24px = the active track; the active slot is 32px (4px margin each side), the rest
   12px (4px margin each side = 8px gap between every dot/bar), and the pill has 8px side padding (= 12px from the pill edge to the first
   and last dot), so every dimension sits on the even 4/8/12/16/20/24/32 scale. js/case.js sets the widths and --p every frame */
.car-ctrl{position:absolute;right:32px;bottom:32px;z-index:3;display:flex;align-items:center;gap:8px}
@media (max-width:640px){.vid-btn,.car-ctrl{right:16px;bottom:16px}} /* 16px inset on mobile; after both base rules so it wins (it sat above .car-ctrl, which kept carousels at 32px) */
.car-dots{display:flex;align-items:center;height:32px;padding:0 8px;border:1px solid var(--line);border-radius:16px;box-sizing:border-box;color:var(--c-strong);transition:border-color .2s ease} /* same 32px height as .mbtn */
.car-dot{appearance:none;display:flex;align-items:center;justify-content:center;flex:none;width:12px;height:32px;padding:0;margin:0;border:0;background:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.car-dot[aria-current=true]{cursor:default}
.car-bar{position:relative;display:block;flex:none;width:4px;height:4px;border-radius:2px;overflow:hidden;background:var(--c-dot);transition:background-color .2s ease}
.car-dot:not([aria-current=true]):hover .car-bar{background:var(--c-strong)} /* hovered inactive dot = full ink, both themes */
html[data-theme=dark] .car-bar{background:color-mix(in srgb,var(--c-strong) 40%,transparent)} /* dark glass over a light image reads mid-grey, where #555 dots vanish; 40% ink stays visible over dark and light media */
.car-fill{display:none;position:absolute;top:0;bottom:0;left:0;width:calc(4px + (100% - 4px) * var(--p,0));border-radius:2px;background:var(--c-strong)}
.car-dot[aria-current=true] .car-fill{display:block} /* fill starts as a full 5px head dot at the left end, then grows to the bar width */
.car-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (prefers-reduced-motion:reduce){.car-bar,.mbtn,.car-dots{transition:none}}


/* FMSS images fill their frames */
body.cs .media img{width:100%;height:100%;object-fit:cover;object-position:50% 50%}

/* quote bar spans the text lines only, not the line-height leading above and below */
blockquote,.sec .quote{position:relative;border-left:0}
blockquote::before,.sec .quote::before{content:"";position:absolute;left:0;width:2px;background:var(--ink);top:calc((var(--t-quote-lh) - 1) * .5em + .06em);bottom:calc((var(--t-quote-lh) - 1) * .5em + .02em)}
/* Key Insights titles: same weight and colour as the Opportunity list titles */
/* Key Insights title bars: 4px thick, 1px taller at the top */
.sec .quote::before{width:2px;top:calc((var(--t-quote-lh) - 1) * .5em + .06em - 3px)}

/* System & Scale: iteration examples as boxes between paragraphs */
.iter-grid{list-style:none;display:grid;grid-template-columns:1fr;gap:12px;margin:8px 0 28px;padding:0}
.iter-grid li{position:relative;background:var(--frame);border:1px solid var(--frame-line,var(--line));padding:24px 156px 24px 24px;display:flex;flex-direction:column;justify-content:center;gap:6px;min-height:208px;overflow:hidden}
.iter-grid b{color:var(--ink);font-weight:600;font-size:var(--t-s16)}
.iter-grid span{color:var(--ink);font-size:var(--t-s15);line-height:1.5} /* label/value pairing matches the Role / Timeline block */
/* System & Scale boxes: full media width, 2 columns x 3 rows */
.iter-wrap{margin-top:48px}
.iter-wrap .iter-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:0}
@media (max-width:900px){.iter-wrap .iter-grid{grid-template-columns:1fr}}
/* Direction A: live monochrome wireframe micro-diagrams on the right of each .iter-grid card (48x76 viewBox at 2.24x = 107.52x170.24px, +20% taller) */
.iter-vis{--iv-ph-bg:#f2f2f2;--iv-ph-bd:#d4d4d4;--iv-faint:#e2e2e2;--iv-med:#cccccc;--iv-trk:#a8a8a8;--iv-hdl:#767676;--iv-fg:#525252;position:absolute;right:20px;top:50%;width:107.52px;height:170.24px;transform:translateY(-50%);pointer-events:none;color:var(--ink)}
html[data-theme=dark] .iter-vis{--iv-ph-bg:var(--frame);--iv-ph-bd:var(--frame-line,var(--line));--iv-faint:color-mix(in srgb,var(--ink) 8%,var(--frame));--iv-med:color-mix(in srgb,var(--ink) 16%,var(--frame));--iv-trk:color-mix(in srgb,var(--ink) 32%,var(--frame));--iv-hdl:color-mix(in srgb,var(--ink) 50%,var(--frame));--iv-fg:color-mix(in srgb,var(--ink) 74%,var(--frame))}
.iter-vis svg{display:block;width:107.52px;height:170.24px;overflow:visible}
.iter-vis .iv-ph,.iter-vis .iv-str,.iter-vis .iv-dim{vector-effect:non-scaling-stroke}
.iter-vis .iv-ph{fill:var(--iv-ph-bg);stroke:var(--iv-ph-bd);stroke-width:1}
.iter-vis .iv-faint{fill:var(--iv-faint)}
.iter-vis .iv-med{fill:var(--iv-med)}
.iter-vis .iv-trk{fill:var(--iv-trk)}
.iter-vis .iv-ink{fill:var(--iv-fg)}
.iter-vis .iv-str{fill:none;stroke:var(--iv-fg);stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}
.iter-vis .iv-dim{fill:none;stroke:var(--iv-hdl);stroke-width:1;stroke-dasharray:2 2}
.iter-vis .iv-hdl{fill:var(--iv-hdl)}
/* 1. Split Ratio: dotted split line moves up and down between the 50/50 split (28/34) and Tap to Pause/Resume's 70/30 split (44/18) */
@keyframes ivSplitTop{0%,15%,100%{height:28px}45%,65%{height:44px}}
@keyframes ivSplitLine{0%,15%,100%{transform:translateY(0)}45%,65%{transform:translateY(16px)}}
@keyframes ivSplitBot{0%,15%,100%{y:38px;height:34px}45%,65%{y:54px;height:18px}}
@keyframes ivSplitHdl{0%,15%,100%{transform:translateY(0)}45%,65%{transform:translateY(16px)}}
.iv-sr-top{animation:ivSplitTop 3.84s var(--ease) infinite}
.iv-sr-line{animation:ivSplitLine 3.84s var(--ease) infinite}
.iv-sr-bot{animation:ivSplitBot 3.84s var(--ease) infinite}
.iv-sr-hdl{animation:ivSplitHdl 3.84s var(--ease) infinite}
/* 2. Tap to Pause/Resume: touch ring + play/pause toggle */
@keyframes ivTapRing{0%,14%,31%,64%,81%,100%{opacity:0;transform:scale(.6)}20%,70%{opacity:.55;transform:scale(1)}30%,80%{opacity:0;transform:scale(1.35)}}
@keyframes ivPauseVis{0%,70%,100%{opacity:1}20%{opacity:0}}
@keyframes ivPlayVis{0%,70%,100%{opacity:0}20%{opacity:1}}
.iv-tp-ring{transform-origin:24px 29px;animation:ivTapRing 3.84s var(--ease) infinite}
.iv-tp-pause{animation:ivPauseVis 3.84s steps(1) infinite}
.iv-tp-play{animation:ivPlayVis 3.84s steps(1) infinite}
/* 3. Media Controls: simplified bottom bar + time pill auto-hiding and re-appearing */
@keyframes ivCtlFade{0%,45%,100%{opacity:1;transform:translateY(0)}60%,85%{opacity:0;transform:translateY(2px)}}
@keyframes ivCtlProg{0%{width:5px}45%,100%{width:17.28px}}
.iv-mc-ui{animation:ivCtlFade 3.84s var(--ease) infinite}
.iv-mc-fill{animation:ivCtlProg 3.84s linear infinite}
/* 4. Entry/Exit Animations: full-bleed square media (flat corners) shrinking to centred rounded top pane as bottom sheet springs up, then back */
@keyframes ivEeMedia{0%,12%,92%,100%{x:7px;y:21px;width:34px;height:34px;rx:0px;ry:0px}38%,68%{x:9px;y:7px;width:30px;height:28px;rx:3px;ry:3px}}
@keyframes ivEeSheet{0%,12%,92%,100%{transform:translateY(34px)}38%,68%{transform:translateY(0)}}
.iv-ee-m{animation:ivEeMedia 3.84s var(--ease) infinite}
.iv-ee-s{animation:ivEeSheet 3.84s var(--ease) infinite}
/* 5. Gesture Interactions: drag up expands bottom sheet to fill full container in full color (handle fades out), dot fades out at fullscreen hold then fades back in to drag down to split screen */
@keyframes ivGsSheet{0%,15%,88%,100%{y:38px;height:34px;rx:4px;ry:4px;fill:var(--iv-faint)}36%,66%{y:5px;height:66px;rx:5px;ry:5px;fill:var(--iv-med)}}
@keyframes ivGsHdl{0%,15%,88%,100%{y:41px;opacity:1}36%,66%{y:8px;opacity:0}}
@keyframes ivGsDot{0%,8%,94%,100%{opacity:0;transform:translateY(2px)}15%,88%{opacity:1;transform:translateY(0)}36%,66%{opacity:1;transform:translateY(-31px)}42%,60%{opacity:0;transform:translateY(-33px)}}
.iv-gs-s{animation:ivGsSheet 3.84s var(--ease) infinite}
.iv-gs-h{animation:ivGsHdl 3.84s var(--ease) infinite}
.iv-gs-d{animation:ivGsDot 3.84s var(--ease) infinite}
/* 6. Scrubber & Thumbnail: playhead gliding along track with floating thumbnail preview above it (in split screen, matching Tap to Pause/Resume ratio) */
@keyframes ivScMove{0%,14%,84%,100%{transform:translateX(0)}42%,56%{transform:translateX(14px)}}
@keyframes ivScThumb{0%,6%,92%,100%{opacity:0;transform:translate(0,2px) scale(.88)}14%,84%{opacity:1;transform:translate(0,0) scale(1)}42%,56%{opacity:1;transform:translate(14px,0) scale(1)}}
@keyframes ivScFill{0%,14%,84%,100%{width:5px}42%,56%{width:19px}}
.iv-sc-k{animation:ivScMove 3.84s var(--ease) infinite}
.iv-sc-t{transform-origin:17px 41px;animation:ivScThumb 3.84s var(--ease) infinite}
.iv-sc-f{animation:ivScFill 3.84s var(--ease) infinite}
/* 7. Media Formats: top pane cross-fades right-to-left through Video, Image, Caption, and Carousel above the bottom sheet */
@keyframes ivMf1{0%,17%{opacity:1;transform:translateX(0)}25%,91.9%{opacity:0;transform:translateX(-10px)}92%{opacity:0;transform:translateX(10px)}100%{opacity:1;transform:translateX(0)}}
@keyframes ivMf2{0%,17%{opacity:0;transform:translateX(10px)}25%,42%{opacity:1;transform:translateX(0)}50%,100%{opacity:0;transform:translateX(-10px)}}
@keyframes ivMf3{0%,42%{opacity:0;transform:translateX(10px)}50%,67%{opacity:1;transform:translateX(0)}75%,100%{opacity:0;transform:translateX(-10px)}}
@keyframes ivMf4{0%,67%{opacity:0;transform:translateX(10px)}75%,92%{opacity:1;transform:translateX(0)}100%{opacity:0;transform:translateX(-10px)}}
.iv-mf-1{animation:ivMf1 7.68s cubic-bezier(.4,0,.2,1) infinite}
.iv-mf-2{animation:ivMf2 7.68s cubic-bezier(.4,0,.2,1) infinite}
.iv-mf-3{animation:ivMf3 7.68s cubic-bezier(.4,0,.2,1) infinite}
.iv-mf-4{animation:ivMf4 7.68s cubic-bezier(.4,0,.2,1) infinite}
/* v519: infinite CSS loops on case pages pause while their box is out of the viewport or the tab is hidden (.loop-off, set by the shared
   loop gate in js/case.js; QA 2026-11-16: the 07 Scale diagrams ran offscreen); in view they resume where they stopped */
.loop-off,.loop-off *{animation-play-state:paused!important}
@media (prefers-reduced-motion:reduce){.iter-vis *{animation:none!important}}
/* 8. Split Screen on iPad: one iPad that shows Portrait split screen, rotates -90deg into Landscape 2-column split screen, and loops */
.iter-grid li.iter-ipad{padding:24px 180px 24px 24px;height:auto;min-height:208px}
.iter-grid li.iter-ipad span{max-width:none;text-wrap:pretty}
.iter-vis.iter-vis-ipad{width:152.32px;height:170.24px}
.iter-vis.iter-vis-ipad svg{width:152.32px;height:170.24px}
@keyframes ivPadDev{0%,43%,94%,100%{transform:rotate(0deg)}51%,86%{transform:rotate(-90deg)}}
@keyframes ivPadPtG{0%,43%,94%,100%{opacity:1}49%,88%{opacity:0}}
@keyframes ivPadPtM{0%,10%,38%,100%{x:20px;y:24px;width:28px;height:28px;rx:0px;ry:0px}18%,30%{x:20px;y:7px;width:28px;height:28px;rx:3px;ry:3px}}
@keyframes ivPadPtF{0%,10%,38%,43%,94%,100%{opacity:1}16%,32%,48%,89%{opacity:0}}
@keyframes ivPadPtS{0%,10%,38%,100%{transform:translateY(34px)}18%,30%{transform:translateY(0)}}
@keyframes ivPadLsG{0%,45%,92%,100%{opacity:0}51%,86%{opacity:1}}
@keyframes ivPadLsM{0%,56%,84%,100%{x:20px;y:24px;width:28px;height:28px;rx:0px;ry:0px}64%,76%{x:4px;y:24px;width:28px;height:28px;rx:3px;ry:3px}}
@keyframes ivPadLsF{0%,45%,62%,78%,92%,100%{opacity:0}51%,56%,84%,86%{opacity:1}}
@keyframes ivPadLsS{0%,56%,84%,100%{transform:translateX(34px)}64%,76%{transform:translateX(0)}}
.iv-pad-dev{transform-origin:34px 38px;animation:ivPadDev 7.68s cubic-bezier(.4,0,.2,1) infinite}
.iv-pad-pt-g{animation:ivPadPtG 7.68s cubic-bezier(.4,0,.2,1) infinite}
.iv-pad-m-pt{animation:ivPadPtM 7.68s cubic-bezier(.4,0,.2,1) infinite}
.iv-pad-fl-pt{animation:ivPadPtF 7.68s cubic-bezier(.4,0,.2,1) infinite}
.iv-pad-s-pt{animation:ivPadPtS 7.68s cubic-bezier(.4,0,.2,1) infinite}
.iv-pad-ls-g{animation:ivPadLsG 7.68s cubic-bezier(.4,0,.2,1) infinite}
.iv-pad-m-ls{animation:ivPadLsM 7.68s cubic-bezier(.4,0,.2,1) infinite}
.iv-pad-fl-ls{animation:ivPadLsF 7.68s cubic-bezier(.4,0,.2,1) infinite}
.iv-pad-s-ls{animation:ivPadLsS 7.68s cubic-bezier(.4,0,.2,1) infinite}
@media (max-width:640px){
  .iter-grid li.iter-ipad{padding:24px 168px 24px 24px}
}
/* hero: optical left alignment; cancel the display font's left side bearing so the title's stems line up with the kicker and summary */
.hero h1{margin-left:-.07em}
.hero .sum{margin-left:-.03em}

/* logo hover underline, same as BACK / nav links */
.brand{position:relative;display:inline-block}
.brand::after{content:"";position:absolute;left:0;right:0;bottom:-3px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
.brand:hover::after,.brand:focus-visible::after{transform:scaleX(1)}
@media (prefers-reduced-motion:reduce){.brand::after{transition:none}}
body.cs .hero-slot img{display:block;width:100%;height:100%;object-fit:cover}

/* copyright: same markup/type as the home footer (.home .bot); bottom-right, in flow; right inset = header BACK inset */
body.cs .bot{display:flex;justify-content:flex-end;align-items:center;padding:0 clamp(16px,3vw,32px) clamp(16px,3vw,32px);font:var(--t-label);letter-spacing:var(--t-label-ls);word-spacing:var(--t-label-ws);color:var(--ink);text-transform:uppercase}
@media (max-width:900px){body.cs .bot{padding-right:clamp(20px,5vw,72px)}}

html{background:var(--page)}
.media.cover.hero-slot,body .media.cover.hero-slot{background:none!important;border:0!important;border-radius:0;box-shadow:none}
@media (max-width:640px) and (orientation:portrait){.prog{display:none}} /* no header progress line on phone portrait */
/* Hide the browser's own start-playback overlay (shown by Safari when autoplay is held back, e.g. Low Power Mode); the site's own play/pause button stays */
video.demo-video::-webkit-media-controls-start-playback-button{display:none!important;-webkit-appearance:none}
video.demo-video::-webkit-media-controls-overlay-play-button{display:none!important}
video.demo-video::-webkit-media-controls{display:none!important}
/* a media box that is its play/pause's tap target (window.dbhTapPP, js/case.js): no tap flash, no hover, focus or cursor change */
[data-pp-tap]{-webkit-tap-highlight-color:transparent}
/* live prototypes (FMSS Evolution): a same-origin iframe (?embed=1) in a case media frame; the whole device fits inside, nothing scrolls in the frame */
.proto-fig{margin-top:24px}
body.cs .media.proto{aspect-ratio:3840/2052;background:var(--frame)}
.media.proto iframe{display:block;width:100%;height:100%;border:0}
@media (max-width:640px){body.cs .media.proto{aspect-ratio:4/5}}
/* phones: the live prototype frame is a tap target that opens it full screen (js/case.js; the layer + "× CLOSE" are css/hang-egg.css .hegg).
   The same iframe is lifted over the layer, centred between the CLOSE row and an equal bottom margin (48px + safe area each), and fades with it.
   Its height is a % of the layout viewport (position:fixed), the box the bottom-anchored theme toggle sits in, never svh: on iOS 26 Safari
   the layout viewport is 33.5px taller than 100svh while the toolbar is compact, so an svh frame ended above the toggle's bar and the device,
   placed 40px above the instruction centred on the toggle (js/case.js lay()), ran past the frame's bottom and was clipped until the toolbar grew. */
.proto-open{display:none}
@media (max-width:640px){.proto-open{display:block;position:absolute;inset:0;z-index:1;width:100%;height:100%;margin:0;padding:0;border:0;background:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
}
.media.proto iframe.proto-lift{position:fixed;z-index:51;left:0;right:0;top:calc(48px + env(safe-area-inset-top,0px));width:100%;height:calc(100% - 96px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));will-change:transform;visibility:visible;pointer-events:auto;touch-action:none;background:none}
/* entry/exit = the Studio presentation's (js/case.js grow on js/fs-motion.js): the stage colour panel (--frame, the inline frame's own) grows
   from the inline frame to the screen while the lifted iframe moves/scales with it (transform only, no input while it moves); full
   screen is the stage colour, as Studio and the desktop view (css/proto-fs.css) */
.hegg.proto-full,.hegg.proto-full:focus,.hegg.proto-full:focus-visible{background:var(--frame);box-shadow:0 0 0 100vmax var(--frame)}
.hegg.proto-full .hegg-edge{background:var(--frame)}
.hegg.proto-full .proto-panel{display:none;position:fixed;left:0;top:0;z-index:0;transform-origin:0 0;background:var(--frame);will-change:transform;pointer-events:none}
.hegg.proto-full.hegg-grow .proto-panel{display:block}
.media.proto iframe.proto-lift.proto-anim{pointer-events:none}
/* the instruction under a full-screen prototype, shared by the phone view (here) and desktop's .fsx-bg (css/proto-fs.css);
   phones in landscape keep only the rotate message */
.fs-ins{--mono-color:#333;position:absolute;z-index:2;left:0;top:0;margin:0;box-sizing:content-box;overflow:clip;padding-bottom:16px;font-family:var(--mono);font-weight:400;font-style:normal;font-size:14px;line-height:1;letter-spacing:.04em;word-spacing:-.32em;text-transform:none;color:var(--mono-color);text-align:center;text-wrap:balance;pointer-events:none;-webkit-user-select:none;user-select:none} /* the instruction under a full-screen prototype (window.dbhIns, js/case.js), both views: type = CLOSE, casing as written; under the lifted iframe; the js sets its top (the device's bottom edge), width (at most 375px) and padding-top (the 40px gap); the box clips, 16px bottom padding */
.fs-ins span{display:block}
html[data-theme=dark] .fs-ins{--mono-color:#cfcfcf}
.hegg.proto-full .fs-ins{right:0;margin:0 auto} /* phones: centred in the layer (desktop: js/proto-fs.js sets its left, on the device) */
.hegg.proto-full.proto-land .fs-ins{display:none}
html.proto-nosel,html.proto-nosel body{-webkit-user-select:none;user-select:none}   /* phone full screen open (js/case.js): no selection on the page */
.media.proto iframe.proto-lift.proto-hide{visibility:hidden;pointer-events:none}
/* Evolution prototypes: the expand button (.proto-x, js/case.js) is only a signifier for the frame's own open target (.proto-open phones /
   .fsx-open desktop): a .mbtn circle at the .vid-btn spot (32px from right and bottom, 16px on phones), above the full-frame target.
   Icon = two outward arrows in the site's arrow stroke (css/arrows.css: 1px non-scaling, miter joins, butt caps). Hidden in full screen */
.proto-x{position:absolute;right:32px;bottom:32px;z-index:3}
@media (max-width:640px){.proto-x{right:16px;bottom:16px}}
.mbtn.proto-x svg path{stroke:currentColor;stroke-width:1px;vector-effect:non-scaling-stroke;stroke-linecap:butt;stroke-linejoin:miter}
.media.proto:has(iframe.fsx-lift,iframe.proto-lift) .proto-x,.media.proto .proto-x.is-hidden{visibility:hidden;pointer-events:none}
/* 02 Problem, exit affordances: red rings (Figma fmss_04 "Marker" ellipses, 48px + 2px outside stroke #FF5151, 8% fill) are an SVG over the
   ring-free base; the 1920x1080 viewBox + xMidYMid slice tracks the img's object-fit:cover crop at every width.
   js/case.js adds .rings-on once the frame's vertical centre crosses the window's centre and removes it once the frame has fully left the
   viewport. The 640ms opacity fade, cubic-bezier(.42,0,.58,1), is on .rings-on only, so it runs on the way in alone: going off (always fully
   off screen) and html.rings-js landing after first paint are instant, as nothing animates off screen. Reduced motion: same on/off, no fade.
   No JS: rings static */
body.cs .media.exit-rings .rings{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none;overflow:hidden}
html.rings-js body.cs .media.exit-rings .rings g{opacity:0}
html.rings-js body.cs .media.exit-rings.rings-on .rings g{opacity:1}
@media (prefers-reduced-motion:no-preference){html.rings-js body.cs .media.exit-rings.rings-on .rings g{transition:opacity 640ms cubic-bezier(.42,0,.58,1)}}
/* phone portrait: hero media first, then the hero's stacked Role / Scope|Platforms / Timeline cells (.meta, every case page; styling unchanged).
   .cs-head wraps the hero text + hero media and is an unstyled block everywhere else, so desktop / tablet / landscape are unchanged.
   Here it is a flex column and the hero section passes its children through (display:contents) so .meta can follow the media.
   Rhythm: title/subtitle -> media and media -> meta = --cs-gap (the hero's visual title -> subtitle gap, see the mobile head gap block below).
   The meta's bottom hairline now is the rule above Overview, so Overview's own section hairline is dropped and its label keeps main's 49 below the rule. */
@media (max-width:640px) and (orientation:portrait){
 body.cs .cs-head{display:flex;flex-direction:column;padding:clamp(20px,5vw,72px) clamp(20px,5vw,72px) 0}
 body.cs .cs-head>.hero{display:contents}
 body.cs .cs-head>.hero-media{order:1;margin:var(--cs-gap-text) 0 0}
 body.cs .cs-head .meta{order:2;margin-top:var(--cs-gap)}
 body.cs .cs-head+.wrap>section.sec[data-title]:first-child{--hl-pad:0px}
 body.cs .cs-head+.wrap>section.sec[data-title]:first-child::before{display:none}
}
/* red emphasis inside body copy: same type as the paragraph, colour only. --red-text (css/theme.css): #c62828 light / #ff5151 dark (the FMSS marker red), both >= 4.5:1 on their page */
.t-red{color:var(--red-text)}
/* VAC 02 Problem + 05 Current State: rows of text cell + phone module (02: module | text; 05 row 1 text | module, row 2 module | text),
   05 stacked with no gap so the modules meet corner to corner. Layout = the FMSS Inconsistencies pair (.inc2 .inc-row / .inc-col: two
   equal columns, 24px gap, the same phone-container box as FMSS's .pd-label), so each module is exactly the FMSS column width.
   Module (.media.mframe.phone-demo, VAC 02 and 05): follows the theme, #f1f1f1 ground in light, --frame (#161616) in dark, one phone
   recording as a bare screen (.pd-bare, below: no device frame, Hang Nov 2). Geometry = the shared phone-container rule (Hang, Oct 27; the
   same tokens and values as the phone-spacing branch's .dev): the module is --mbox-h tall inside its 1px border (8px grid), the device box
   (--dev-h) sits --dev-pad (24px) from the top and the bottom, centred across: 384px tall on phones, 488px at 1440. 05's 375x812 screens
   keep the place they had inside the old 8/828 bezel ring (812/828 of --dev-h, 8/828 down); 02's screen crops fill the device box.
   Controls (.vid-btn, 32px / 16px corner insets) sit over it and never move the phone.
   Controls use the current theme's glass.
   Text cell (.pd-txt) = the module's size, no box; text uses the 04 Opportunity type (.prose h2 + p.t-body), inset by the site content
   margin (--wrap-pad, the .wrap padding) and centred vertically.
   Stacked (phones, portrait tablets): text above its module, flush to the content column; 64px above each text, 32px text -> module */
/* phone-container tokens (phone-spacing): --dev-pad 24px every width; --mbox-h = inner height, 432px on phones, else the full-width
   media height (content width x 2052/3840) floored to 8px, 432..536px; --dev-h = the device box = --mbox-h - 2 x --dev-pad */
:root{--dev-pad:24px;--mbox-h:clamp(432px,round(down,calc((min(100vw,1152px) - 2*clamp(20px,5vw,72px))*.534375),8px),536px);--dev-h:calc(var(--mbox-h) - 2*var(--dev-pad))}
@media (max-width:640px){:root{--mbox-h:432px}}
/* big monitors only (>=1800; laptops up to 1728 keep 1152/536): sheet + foot up to 1440, never into the TOC rail.
   --toc-reserve = toc right inset 24 + toc width 200 + 32 gap + 8 for the classic-scrollbar half-offset = 264 per side */
@media (min-width:1800px){:root{--toc-reserve:264px;--mbox-h:clamp(432px,round(down,calc((min(100vw - 2*var(--toc-reserve),1440px) - 2*clamp(20px,5vw,72px))*.534375),8px),664px)}.sheet,.foot{max-width:min(1440px,100vw - 2*var(--toc-reserve))}.sec-grid>.prose{margin-left:max(0px,calc(50% - 380px))}}
body.cs .media.mframe.phone-demo{--pd-ground:#f1f1f1;background:var(--pd-ground);align-items:flex-start;box-sizing:border-box;width:100%;max-width:none;height:calc(var(--mbox-h) + 2px);aspect-ratio:auto} /* + the 1px border top and bottom: the inner box is --mbox-h */
html[data-theme=dark] body.cs .media.mframe.phone-demo{--pd-ground:var(--frame)}
.phone-demo .pd-phone{--pd-scr-h:calc(var(--dev-h)*812/828);position:relative;flex:none;height:var(--pd-scr-h);margin-top:calc(var(--dev-pad) + var(--dev-h)*8/828);aspect-ratio:375/812}
/* the recording fills the screen exactly (object-fit:cover, no zoom), so nothing of the recorded design is clipped: the 750x1624 captures'
   dark capture edge (cols 0-1/748-749, rows 0-3/1620-1623) is cropped out of the files themselves (746x1616, the screen's 375:812
   within 0.04%), so no edge row is left for the downscaler to bleed in as a dark line */
body.cs .media.mframe.phone-demo .pd-phone video{display:block;width:100%;height:100%;margin:0;object-fit:cover;transform:none;transition:none}
/* Bare screen (.phone-demo.pd-bare, VAC 02 Problem + 05 Current State, Hang Nov 2): no device frame in either theme, the screen sits
   straight on the phone-demo ground. No .mframe video #f1f1f1 fill: painted under the video and clipped on its own, it fringed the
   screen's anti-aliased edge white on the dark ground (the 02 Ad screen's top).
   Bare-screen corner, one for every bare phone screen (VAC 02 + 05 .pd-bare, FMSS 02 Inconsistencies .inc-scr; Hang Nov 3): R --phone-r
   in units of the screen's 1376px source height (R64 of the 636x1376 screen recordings), drawn by js/squircle.js at 60% smoothing
   (corner-shape in Chromium, a path() clip in WebKit). Both boxes are 375:812, so the radius is a share of the box itself:
   --phone-r/1376 of its height and the same length across (x 812/375 of its width).
   The corner is drawn on the <video> itself (the box whose pixels show), never on its wrapper: Safari (iOS) does not clip a playing
   video by an ancestor's border-radius / clip-path (WebKit bug 251379; the video is its own hardware layer), so the wrapper-clipped,
   square-cornered recordings showed flat, square corners on phones. A video's own radius and clip-path are always applied.
   One exception (Hang Nov 3): the FMSS 02 Inconsistencies video takes the corner of the phone mocks in the carousel beside it (their
   slides' screens: 60% squircle R72 on a 1218px-tall screen, measured from the PNG alpha), so the two phones of the pair match:
   --phone-r 72*1376/1218 (81.34) on that frame only */
:root{--phone-r:64}
body.cs .inc-col .media.mframe.pd-label{--phone-r:calc(72*1376/1218)}
body.cs .media.mframe.phone-demo.pd-bare .pd-phone video,body.cs .inc-col .media.mframe.pd-label .inc-scr video{border-radius:calc(100%*var(--phone-r)*812/1376/375)/calc(100%*var(--phone-r)/1376)}
body.cs .media.mframe.phone-demo.pd-bare .pd-phone video{background:none}
/* 02 Problem's recordings are bare 636x1376 screens scaled from Hang's square-cornered 750x1624 recordings (Nov 3; nothing baked, the page
   draws the corner), sized like the old 1624x1824 template's screen, so the screen is the whole device box (--dev-h at --dev-pad) */
body.cs .fig.inc2 .media.mframe.phone-demo.pd-bare .pd-phone{--pd-scr-h:var(--dev-h);margin-top:var(--dev-pad)}
.pd-rows{margin-top:64px}
.inc2 .pd-row{align-items:stretch}
.pd-touch .pd-row{column-gap:0} /* Hang, Oct 26: Current State modules widen to meet, no column gap */
.pd-rev .pd-txt{order:2}
.pd-txt{display:flex;flex-direction:column;justify-content:center;min-width:0;padding-inline:var(--wrap-pad)}
.pd-txt .prose>:last-child{margin-bottom:0}
@media (max-width:640px),(orientation:portrait) and (max-width:1024px){
 .pd-rows{margin-top:0}
 .inc2 .pd-row{gap:0}
 .pd-rev .pd-txt{order:0}
 .pd-txt{padding:64px 0 32px}
}
/* mobile head gap (every case page, max-width:640px: phone portrait and any narrow width): the hero's spacing below the title text
   = the visual gap title -> subtitle (FMSS h1 -> .sum). Measured between line boxes (font ascent/descent, the Range rects), not CSS boxes:
   .sum margin-top 24 + .sum half-leading (28 - 24)/2 = 2 - h1 overhang (49 - 40.8)/2 = 4.1 (Instrument Sans 39/10 at 40px, 19/5 at 20px;
   h1 40px/1.02 and .sum 20px/28px are fixed at these widths) = 21.9px, off the 8-scale on purpose (it matches the title -> subtitle gap).
   --cs-gap-text is the margin under the last text block that makes the same visual gap: under .sum minus its half-leading, under a bare h1 plus its overhang.
   Phone portrait (block above): text -> media and media -> meta. Narrow non-portrait (hero order unchanged): text -> meta and meta -> media. */
@media (max-width:640px){
 body.cs .cs-head{--cs-gap:21.9px;--cs-gap-text:calc(var(--cs-gap) + 4.1px)}
 body.cs .cs-head:has(.hero .sum){--cs-gap-text:calc(var(--cs-gap) - 2px)}
 /* title -> subtitle 8px tighter on mobile (Hang 2026-10-28); the other head gaps keep --cs-gap */
 body.cs .hero .sum{margin-top:16px}
}
@media (max-width:640px) and (not (orientation:portrait)){
 body.cs .cs-head>.hero{padding-bottom:0}
 body.cs .cs-head .meta{margin-top:var(--cs-gap-text)}
 body.cs .cs-head>.hero-media{margin-top:var(--cs-gap)}
}

