/* The Maria Martin Estate case page (case_estate.py, case.js). Loaded after styles.css, on
   this page only: the site's tokens, header and footer come from there.

   One grid for every section, the header's own (87.6 % of the window, up to 1600 px).
   Dark sections let the screens glow, light ones are for reading. Saffron marks only what
   is live, active or in progress: the map's runner, the ring on a screen, the active step.
   Screens stand flat at rest: 2D transforms only, and none while nothing moves. */

.cs { --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; --wrap:min(1600px,87.6%); --on-dark-2:#f7f5f0b8; --on-dark-3:#f7f5f08c; --hair-dark:#f7f5f01f; }
html:has(.cs) { scroll-padding-top:24px; }
.cs-wrap { width:var(--wrap); margin-inline:auto; }
.cs-section { position:relative; padding:clamp(96px,10vw,168px) 0; }
.cs-dark { background:var(--brand-onyx); color:var(--on-dark); --focus:var(--accent); }
.cs-light { background:var(--paper); color:var(--ink); }
.cs-eyebrow { margin:0; font:500 12px/1.5 var(--mono); letter-spacing:.16em; text-transform:uppercase; color:var(--muted); }
.cs-dark .cs-eyebrow { color:var(--on-dark-3); }
.cs h2 { margin-top:20px; max-width:17ch; font-size:clamp(36px,4.1vw,62px); line-height:1.03; letter-spacing:-.034em; font-weight:500; text-wrap:balance; }
.cs-head--split { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:24px clamp(40px,5vw,96px); align-items:end; }
.cs-head--split .cs-lede { margin-top:0; }
.cs-lede { margin-top:26px; max-width:56ch; font-size:clamp(17px,1.25vw,20px); line-height:1.55; color:var(--body); }
.cs-dark .cs-lede { color:var(--on-dark-2); }
.cs-head { margin-bottom:clamp(52px,6vw,96px); }
.cs-demo { margin-top:clamp(28px,3vw,44px); font:500 12px/1.6 var(--mono); letter-spacing:.06em; color:var(--muted); max-width:80ch; }
.cs-dark .cs-demo { color:var(--on-dark-3); }

/* buttons: the chat in Saffron, the live site in outline */
.cs-actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:36px; }
.cs-button { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:var(--btn-h); padding:0 var(--btn-px); border:1px solid transparent; border-radius:var(--btn-radius);
  font-size:var(--btn-fs); font-weight:var(--btn-fw); line-height:1.2; white-space:nowrap; transition:background var(--micro),border-color var(--micro),color var(--micro),box-shadow 240ms,transform 120ms; }
.cs-button:active { transform:scale(.98); }
.cs-button:focus-visible { outline:2px solid var(--on-dark); outline-offset:3px; }
/* the Saffron button: on hover a soft sheen crosses it, and it warms a touch */
.cs-button--primary { position:relative; overflow:hidden; isolation:isolate; background:var(--accent); color:var(--ink); box-shadow:var(--btn-shine); }
.cs-button--primary::after { content:''; position:absolute; z-index:-1; inset:0; background:linear-gradient(105deg,#ffffff00 30%,#ffffff73 50%,#ffffff00 70%);
  transform:translateX(-110%); pointer-events:none; }
.cs-button--primary:hover { background:var(--btn-saffron-hover); box-shadow:var(--btn-shine),var(--btn-glow); }
@media(prefers-reduced-motion:no-preference) {
  .cs-button--primary:hover::after { transform:translateX(110%); transition:transform 760ms var(--ease); }
}
.cs-button--ghost { border-color:#f7f5f0b3; color:var(--on-dark); }
.cs-button--ghost:hover { border-color:var(--on-dark); background:#f7f5f014; }
.cs-light .cs-button--ghost { border-color:var(--ink); color:var(--ink); }
.cs-actions { align-items:center; gap:14px 26px; }
.cs-link { position:relative; display:inline-flex; align-items:center; min-height:48px; font-size:16px; font-weight:500; color:var(--on-dark); }
.cs-link > span:first-child { text-decoration:underline; text-decoration-color:#f7f5f066; text-decoration-thickness:1px; text-underline-offset:7px; transition:transform 320ms var(--ease),text-decoration-color var(--micro); }
.cs-link::before,.cs-back::before { content:''; position:absolute; left:0; top:50%; width:5px; height:5px; margin-top:-2.5px; border-radius:50%; background:var(--accent); opacity:0; transform:scale(.4); transition:opacity var(--micro),transform 320ms var(--ease); }
.cs-link:is(:hover,:focus-visible)::before { opacity:1; transform:none; }
.cs-link:is(:hover,:focus-visible) > span:first-child { text-decoration-color:var(--on-dark); transform:translateX(12px); }

/* the browser frame of the homepage's work section: a dark bar with three dots, the domain
   in mono and a Saffron dot (styles.css draws .browser-bar), over the screen */
.cs-frame { position:relative; margin:0; border-radius:12px; overflow:hidden; background:var(--brand-onyx);
  box-shadow:0 50px 90px -40px #000000d9,0 0 0 1px #f7f5f01a; }
.cs-screen { position:relative; aspect-ratio:16/10; overflow:hidden; background:var(--brand-onyx); }
.cs-screen > picture img,.cs-screen > img { width:100%; height:auto; max-width:none; }
.cs-frame--light { box-shadow:0 60px 110px -50px #11131573,0 22px 40px -26px #11131540,0 0 0 1px #11131512; }

/* a part of a capture, cut in CSS (case_estate.crop): the whole capture sits scaled and
   moved inside a box of the part's proportions */
.cs-crop { position:relative; overflow:hidden; background:#fff; }
.cs-crop > picture img { position:absolute; max-width:none; height:auto; }
.cs-crop img:not([src]) { visibility:hidden; }

/* the ring: a Saffron outline round the element that matters, a mono label on a Saffron
   tab. On a phone's crop the build places it; in the desktop frame case.js draws it */
.cs-ring-label { position:absolute; padding:5px 7px 4px; border-radius:4px; background:var(--accent); color:var(--brand-onyx);
  font:600 10px/1 var(--mono); letter-spacing:.12em; text-transform:uppercase; white-space:nowrap; }
.cs-crop .cs-ring { position:absolute; z-index:3; border:2px solid var(--accent); border-radius:6px; pointer-events:none; box-shadow:0 0 0 3px #f4b00029; }
.cs-crop .cs-ring-label { font-size:9px; padding:4px 5px 3px; top:-8px; left:8px; }
/* a ring at the top of its crop has its label under its top edge, inside, where it is not cut;
   the label keeps to the side the frame gives it */
.cs-crop .cs-ring--below .cs-ring-label { top:8px; }
.cs-crop .cs-ring:is([data-side="bottom"],[data-side="bottom-end"]) .cs-ring-label { top:auto; bottom:-8px; }
.cs-crop .cs-ring:is([data-side="top-end"],[data-side="bottom-end"]) .cs-ring-label { left:auto; right:8px; }
.cs-crop .cs-ring[data-side="right"] .cs-ring-label { top:50%; left:calc(100% + 8px); translate:0 -50%; }

/* ---------- 0 · The hero ----------
   Two browser frames on the right of the copy, both whole on the screen: behind, the deal
   board; in front, the live site as an x-ray over the dashboard it runs on. A Saffron
   scan line divides the front frame (above it the back office, below it the website).
   case.js brings the line down to 52 % once the page has arrived and lets the scroll
   carry it to the foot of the frame. Without the script it rests at 52 %. */
.cs-hero { position:relative; background:var(--brand-onyx); color:var(--on-dark); overflow:hidden; --focus:var(--accent);
  padding:calc(var(--row,104px) + clamp(32px,6vh,72px)) 0 0; }
.cs-hero::after { content:''; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(60% 70% at 78% 40%,#2a2e3340,#11131500 70%); }
.cs-hero .site-header--dark { position:absolute; inset:0 0 auto; height:auto; }
/* without the script a phone's island scrolls with the page and takes two rows */
@media(max-width:1100px) { html:not([data-js]) .cs-hero { --row:132px; } }
@media(max-width:380px) { html:not([data-js]) .cs-hero { --row:156px; } }
.cs-hero-grid { position:relative; z-index:1; width:var(--wrap); margin-inline:auto; display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:clamp(40px,4.4vw,80px); align-items:center; }
.cs-hero-copy { min-width:0; }
.cs-hero .cs-eyebrow { color:var(--on-dark-3); }
.cs-hero h1 { margin-top:22px; font-size:clamp(42px,4.6vw,78px); line-height:1.01; letter-spacing:-.036em; font-weight:500; text-wrap:balance; }
.cs-hero h1 .cs-line { display:block; }
.cs-hero-lede { margin-top:26px; max-width:40ch; font-size:clamp(17px,1.2vw,19px); line-height:1.55; color:var(--on-dark-2); }
.cs-hero-visual { position:relative; aspect-ratio:10/7.4; }
.cs-hero-visual .cs-frame { position:absolute; }
.cs-frame--admin { right:0; top:0; width:76%; view-transition-name:estate-deals; }
.cs-frame--site { left:0; bottom:0; width:85%; view-transition-name:estate-site; }
/* (the lightbox's own view transition leaves the hero's frames out) */
html.cs-vt-local .cs-hero .cs-frame { view-transition-name:none; }
.cs-hero-visual .cs-screen img { display:block; width:100%; height:auto; max-width:none; }
.cs-shade { position:absolute; inset:0; background:var(--brand-onyx); opacity:.32; pointer-events:none; }
/* the x-ray: the website clipped from the top down to the line, the dashboard under it */
.cs-xray { isolation:isolate; --scan:52%; }
.cs-xray-under { position:absolute; inset:0; z-index:0; background:#f6f6f3; }
.cs-xray-site { position:relative; z-index:1; clip-path:inset(var(--scan) 0 0 0); }
.cs-scan { position:absolute; z-index:2; left:0; right:0; top:52%; height:2px; margin-top:-1px; background:var(--accent); pointer-events:none;
  box-shadow:0 0 8px 1px #f4b000b3,0 0 28px 5px #f4b0004d; }
.cs-scan::before { content:''; position:absolute; left:0; right:0; bottom:100%; height:clamp(40px,18%,76px); background:linear-gradient(#f4b00000,#f4b0001f); }
.cs-scan-tab { position:absolute; left:clamp(10px,2.4%,16px); bottom:10px; padding:5px 7px 4px; border-radius:4px; background:var(--accent); color:var(--brand-onyx);
  font:600 10px/1 var(--mono); letter-spacing:.12em; text-transform:uppercase; white-space:nowrap; box-shadow:0 8px 20px -8px #111315b3; opacity:var(--tab,1); }
/* with the script (and motion) the line starts at the top, hidden, and case.js moves it in
   px, whole ones whenever it rests */
@media(prefers-reduced-motion:no-preference) {
  html[data-js] .cs-xray { --scan:0px; }
  html[data-js] .cs-xray .cs-scan { top:0; transform:translate(0,var(--scan)); opacity:var(--line,0); }
  html[data-js] .cs-xray.is-moving .cs-scan { will-change:transform; }
}
.cs-hero-foot { position:relative; z-index:2; width:var(--wrap); margin:clamp(48px,7vh,88px) auto 0; padding:22px 0 clamp(32px,5vh,56px); border-top:1px solid var(--hair-dark); }
.cs-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px; margin:0; }
.cs-hero-foot .cs-demo { margin-top:clamp(24px,3.4vh,36px); font-size:11px; }
.cs-facts dt { font:500 11.5px/1.5 var(--mono); letter-spacing:.16em; text-transform:uppercase; color:var(--on-dark-3); }
.cs-facts dd { margin:8px 0 0; font-size:16px; line-height:1.45; color:var(--on-dark); }
@media(min-width:1101px) and (max-width:1599px) { .cs-hero { --row:92px; } }
@media(max-width:1100px) { .cs-hero { --row:90px; } }
@media(max-width:680px) { .cs-hero { --row:82px; } }
/* the arrival, once: the eyebrow, the headline's lines out of their masks, the lede, the
   calls and the facts; the deal board slides in from the right, the site rises. Arriving
   from the homepage by a view transition the frames are already there (the morph brought
   them), so only the copy enters */
@media(prefers-reduced-motion:no-preference) {
  .cs-hero .cs-eyebrow { animation:enter 650ms var(--ease) 140ms backwards; }
  .cs-hero h1 .cs-line { animation:headline-enter 800ms var(--ease) 240ms backwards; }
  .cs-hero h1 .cs-line + .cs-line { animation-delay:350ms; }
  .cs-hero-lede { animation:enter 650ms var(--ease) 480ms backwards; }
  .cs-hero .cs-actions > * { animation:enter 650ms var(--ease) 560ms backwards; }
  .cs-hero .cs-actions > * + * { animation-delay:620ms; }
  .cs-facts > div { animation:enter 600ms var(--ease) 620ms backwards; }
  .cs-facts > div:nth-child(2) { animation-delay:660ms; }
  .cs-facts > div:nth-child(3) { animation-delay:700ms; }
  .cs-facts > div:nth-child(4) { animation-delay:740ms; }
  .cs-hero-foot .cs-demo { animation:enter 600ms var(--ease) 780ms backwards; }
  .cs-frame--admin { animation:cs-back-in 900ms var(--ease) 220ms backwards; }
  .cs-frame--site { animation:cs-front-in 900ms var(--ease) 360ms backwards; }
  html[data-arrived="morph"] .cs-hero .cs-frame { animation:none; }
}
@keyframes cs-back-in { from { opacity:0; transform:translateX(48px); } }
@keyframes cs-front-in { from { opacity:0; transform:translateY(32px); } }

/* ---------- 1 · The brief ----------
   Four pillars, two by two. Each stands on a panel of its own: a warm stage (white to
   Warm White) with one or two whole components of the system on it, cards with their own
   corners and a soft shadow, scaled with the panel so their text stays legible. The panel
   is a button: it opens the whole screen the components come from. */
.cs-pillars { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(56px,5vw,88px) clamp(28px,3.2vw,56px); margin:0; padding:0; list-style:none; }
.cs-pillar { min-width:0; }
.cs-pillar-stage { position:relative; display:block; width:100%; max-width:680px; margin:0 0 30px; padding:0; border:0; border-radius:14px; background:none; cursor:zoom-in; }
.cs-pillar-stage:focus-visible { outline-offset:6px; }
.cs-pillar-panel,.cs-card-panel { position:relative; display:block; aspect-ratio:4/3; overflow:hidden; border:1px solid var(--line); border-radius:14px;
  background:linear-gradient(180deg,#fff,#f1eee8); }
.cs-comp { position:absolute; display:block; overflow:hidden; background:#fff; box-shadow:0 18px 40px -18px #1113153d,0 1px 2px #1113150d;
  transition:transform 420ms var(--ease),box-shadow 420ms var(--ease); }
.cs-comp img { position:absolute; display:block; max-width:none; height:auto; }
@media(hover:hover) and (pointer:fine) {
  :is(.cs-pillar-stage,.cs-card-stage):hover .cs-comp { transform:translateY(-4px); box-shadow:0 30px 54px -20px #11131561,0 2px 4px #11131514; }
}
.cs-pillar-stage .cs-zoom { right:14px; bottom:14px; }
.cs-pillar-stage:is(:hover,:focus-visible) .cs-zoom { opacity:1; }
.cs-pillar h3 { font-size:clamp(19px,1.45vw,23px); line-height:1.22; letter-spacing:-.02em; }
.cs-pillar p { margin-top:12px; max-width:52ch; font-size:15.5px; line-height:1.58; color:var(--muted); }
/* the arrival: once a panel is in view (and its pictures are ready) its cards rise into place
   (the listings' panels too) */
@media(prefers-reduced-motion:no-preference) {
  html[data-js] :is(.cs-pillar-panel,.cs-card-panel):not(.is-in) .cs-comp { opacity:0; transform:translateY(16px); transition:none; }
  :is(.cs-pillar-panel,.cs-card-panel).is-in .cs-comp { animation:cs-rise 760ms var(--ease) calc(var(--i,0) * 80ms + var(--panel,0) * 80ms) backwards; }
}
@keyframes cs-rise { from { opacity:0; transform:translateY(16px); } }

/* ---------- 2 · The system map ----------
   Nine parts on one loop, the dashboard in the middle, two feeds from outside. Before its
   run the map is quiet but whole: a dim track, dim solid dots, the names at three
   quarters. The run (case.js) takes a Saffron runner with a short comet trail from part
   to part; each lights with a halo, its number flashes Saffron and settles, and its spoke
   carries a spark to the dashboard. At the ninth, a stronger pulse, and the light goes
   back round the bend to the website: the deal changes the website back. */
.cs-map { padding-top:clamp(88px,8vw,128px); }
.cs-map .cs-head { margin-bottom:clamp(28px,3vw,48px); }
.map { position:relative; display:flex; flex-direction:column; }
.map-wide { display:block; width:100%; height:auto; max-width:1180px; margin-inline:auto; overflow:visible; }
.map-track { fill:none; stroke:#f7f5f04d; stroke-width:1.5; }
.map-lit { fill:none; stroke:#f7f5f0b8; stroke-width:1.5; stroke-dasharray:1 1; stroke-dashoffset:0; }
.map-arrow,.map-tip { fill:none; stroke:#f7f5f073; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.map-spoke { fill:none; stroke:#f7f5f01f; stroke-width:1; stroke-dasharray:2 5; transition:stroke 500ms var(--ease); }
.map-spoke.is-lit,.map.is-done .map-spoke { stroke:#f7f5f047; }
.map-dot { fill:var(--on-dark); transition:fill 360ms var(--ease); }
.map-halo { fill:none; stroke:var(--accent); stroke-width:1.5; opacity:0; transform-box:fill-box; transform-origin:center; }
.map-name { font:500 15px/1 Inter,Arial,sans-serif; fill:var(--on-dark); paint-order:stroke; stroke:var(--brand-onyx); stroke-width:10px; stroke-linejoin:round; transition:fill 360ms var(--ease); }
.map-num { font:500 11px var(--mono); letter-spacing:.1em; fill:#f7f5f0a6; }
.map-hub rect { fill:var(--onyx-raised); stroke:#f7f5f033; stroke-width:1; transition:stroke 450ms var(--ease); }
.map-hub text { font:500 15px Inter,Arial,sans-serif; fill:var(--on-dark); }
.map-hub-icon { fill:#f7f5f08c; transition:fill 450ms var(--ease); }
.map.is-done .map-hub rect { stroke:#f7f5f080; }
.map.is-done .map-hub-icon { fill:var(--accent); }
.map-side rect { fill:var(--brand-onyx); stroke:#f7f5f047; stroke-width:1; stroke-dasharray:3 3; transition:stroke 450ms var(--ease); }
.map-side text { font:500 13px Inter,Arial,sans-serif; fill:var(--on-dark); transition:fill 360ms var(--ease); }
.map-feed { fill:none; stroke:#f7f5f047; stroke-width:1.2; }
.map-runner,.map-ghost { fill:var(--accent); opacity:0; }
.map-spark { fill:var(--accent); }
/* armed, before its run: quiet but present (case.js arms it; without the script it is lit) */
.map.is-armed .map-lit { stroke-dashoffset:1; }
.map.is-armed .map-node:not(.is-lit) .map-dot { fill:#f7f5f05c; }
.map.is-armed .map-node:not(.is-lit) .map-name { fill:#f7f5f0bf; }
.map.is-armed .map-node:not(.is-lit) .map-num { fill:#f7f5f073; }
.map.is-armed .map-side:not(.is-lit) text { fill:#f7f5f0bf; }
.map.is-armed .map-side:not(.is-lit) rect { stroke:#f7f5f033; }
/* Replay has its place from the start, so nothing moves when it comes */
.map-replay { display:inline-flex; align-self:flex-end; align-items:center; gap:10px; min-height:44px; margin:12px 0 0; padding:0 16px; border:1px solid #f7f5f033; border-radius:999px; background:none;
  color:var(--on-dark-2); font:500 12px/1 var(--mono); letter-spacing:.14em; text-transform:uppercase;
  visibility:hidden; opacity:0; transition:opacity 400ms var(--ease),visibility 0s linear 400ms,border-color var(--micro),color var(--micro); }
.map.is-done .map-replay { visibility:visible; opacity:1; transition:opacity 500ms var(--ease) 250ms,visibility 0s,border-color var(--micro),color var(--micro); }
.map-replay:hover { border-color:#f7f5f099; color:var(--on-dark); }
.map-replay svg { width:15px; height:15px; }
@media(prefers-reduced-motion:reduce) { .map.is-done .map-replay { visibility:hidden; } }
/* the tall version: the same loop as a list, top to bottom. On a wide screen it is there
   for screen readers only (the drawing above is hidden from them) */
.map-tall { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.map-list { position:relative; margin:0; padding:0; list-style:none; }
.map-list li { position:relative; display:flex; align-items:baseline; gap:14px; padding:13px 44px 13px 38px; font-size:17px; line-height:1.35; color:var(--on-dark); }
.map-li-num { font:500 11px/1 var(--mono); letter-spacing:.1em; color:#f7f5f08c; }
.map-feeds { display:flex; flex-wrap:wrap; gap:10px; margin:26px 0 0; padding:0; list-style:none; }
.map-feeds li { padding:9px 14px; border:1px dashed #f7f5f047; border-radius:999px; font-size:14px; color:var(--on-dark); }

/* ---------- 3 · Follow one buyer ----------
   Wide: the steps on the left, a sticky browser frame on the right. A step's heading
   takes the frame when it reaches the reading position, a third of the way down the
   window, where its text then stands. Each screen lasts about 40 % of a window of scroll,
   so eight steps stay under seven screens. A thin rail runs down the steps' left edge;
   its Saffron fill keeps to the reading position, and its ticks are links to the steps. */
.cs-walk { padding-bottom:clamp(80px,8vw,140px); --read:33vh; }
.cs-walk::before { content:''; position:absolute; left:0; right:0; top:0; height:1px; background:var(--hair-dark); }
.cs-walk .cs-head { margin-bottom:clamp(24px,3vw,48px); }
.cs-tabs { display:none; }
.cs-walk-body { display:grid; grid-template-columns:minmax(0,29%) minmax(0,1fr); gap:clamp(40px,4.4vw,80px); }
.cs-steps-col { position:relative; min-width:0; --rail-x:calc(-1 * clamp(22px,2.3vw,38px)); }
.cs-steps { margin:0; padding:0; list-style:none; }
.cs-step { position:relative; min-height:calc(12vh + var(--beats,1) * 40vh); padding-top:6vh; }
/* the last step keeps the frame a while after it takes it */
.cs-step:last-child { min-height:80vh; }
.cs-step-text { position:sticky; top:calc(var(--read) - 34px); max-width:34rem; }
.cs-step-label { display:flex; align-items:center; gap:0; font:500 12px/1.5 var(--mono); letter-spacing:.14em; text-transform:uppercase; color:var(--on-dark-3); white-space:pre; transition:color 300ms var(--ease); }
.cs-step-label span { position:relative; }
.cs-step-label::before { content:''; width:0; height:2px; margin-right:0; background:var(--accent); transition:width 300ms var(--ease),margin 300ms var(--ease); }
.cs-step[data-active] .cs-step-label { color:var(--accent); }
.cs-step[data-active] .cs-step-label::before { width:22px; margin-right:12px; }
.cs-step h3 { margin-top:16px; font-size:clamp(24px,2.1vw,34px); line-height:1.12; letter-spacing:-.03em; text-wrap:balance; }
.cs-step-text p:last-child { margin-top:16px; font-size:17px; line-height:1.6; color:var(--on-dark-2); }
.cs-beat { position:absolute; left:0; width:100%; height:0; pointer-events:none; }
/* the rail and its ticks (case.js sets where the rail runs and how far it is filled) */
.cs-rail { position:absolute; left:var(--rail-x); top:var(--rail-top,0px); width:1px; height:var(--rail-h,0px); background:#f7f5f01f; pointer-events:none; }
.cs-rail i { position:absolute; inset:0; background:var(--accent); transform-origin:50% 0; transform:scaleY(var(--fill,0)); }
/* a tick stands at its step's label and stays with it while the text stands still, so the
   active one rides the head of the fill */
.cs-tick { position:absolute; left:calc(var(--rail-x) - 11px); top:-2px; width:22px; height:22px; display:grid; place-items:center; border-radius:50%; --focus:var(--accent); }
.cs-tick:focus-visible { outline-offset:1px; }
.cs-tick span { width:7px; height:7px; border-radius:50%; background:var(--brand-onyx); box-shadow:inset 0 0 0 1.5px #f7f5f066;
  transition:transform 300ms var(--ease),background-color 300ms var(--ease),box-shadow 300ms var(--ease); }
.cs-step.is-passed .cs-tick span { background:var(--accent); box-shadow:none; }
.cs-step[data-active] .cs-tick span { background:var(--accent); box-shadow:0 0 0 4px #f4b00033; transform:scale(1.45); }
.cs-tick:hover span { box-shadow:inset 0 0 0 1.5px var(--on-dark); }
/* on a wide screen the steps' own images are for screen readers; the frame shows them */
.cs-step-media { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip-path:inset(50%); }
.cs-step-film { display:none; }
.cs-stage-col { position:relative; container-type:inline-size; }
.cs-stage-sticky { position:sticky; top:max(24px,calc(50vh - (62.5cqw + 30px) / 2)); }
.cs-stage-sticky > .cs-film-toggle { right:12px; bottom:12px; }
.cs-stage-frame { border-radius:14px; overflow:hidden; background:var(--brand-onyx); box-shadow:0 60px 120px -50px #000,0 0 0 1px #f7f5f01f; }
.cs-stage-screen { position:relative; aspect-ratio:16/10; max-height:calc(100vh - 110px); overflow:hidden; background:#f4f4f2; isolation:isolate; }
/* the bar: its label crossfades, and the step on screen counts before the Saffron dot */
.cs-stage-bar .cs-bar-label { display:grid; }
.cs-stage-bar .cs-bar-label > span { grid-area:1/1; min-width:0; overflow:hidden; text-overflow:ellipsis; opacity:0; transition:opacity 240ms var(--ease); }
.cs-stage-bar .cs-bar-label > span.is-shown { opacity:1; }
.cs-bar-count { flex:none; margin:0 14px 0 auto; font:500 11px/1 var(--mono); letter-spacing:.08em; color:#f7f5f066; font-variant-numeric:tabular-nums; white-space:nowrap; }
.cs-bar-count [data-count] { color:#f7f5f0b3; }
.cs-stage-bar i { margin-left:0; }
/* the screens: one layer each, the incoming one fading in over the outgoing one; the
   camera is each layer's .cs-cam, as wide as its capture, moved and scaled by case.js */
.cs-shot { position:absolute; inset:0; opacity:0; background:#fff; overflow:hidden; }
.cs-shot.is-on { opacity:1; }
.cs-shot--film { background:var(--brand-onyx); }
.cs-cam { position:absolute; left:0; top:0; width:var(--w); transform-origin:0 0; }
.cs-cam picture,.cs-cam img,.cs-cam video { display:block; width:100%; height:auto; max-width:none; }
/* the stage's ring: a line drawn round the element (an SVG rect), a veil over the rest,
   and the label on its Saffron tab */
.cs-stage .cs-ring { position:absolute; z-index:60; left:0; top:0; width:0; height:0; pointer-events:none; opacity:0; }
.cs-stage .cs-ring.is-on { opacity:1; }
.cs-ring-veil { position:absolute; inset:0; border-radius:10px; box-shadow:0 0 0 100vmax #1113152e; opacity:0; }
.cs-ring-line { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.cs-ring-line rect { fill:none; stroke:var(--accent); stroke-width:2; stroke-dasharray:1 1; stroke-dashoffset:1; }
.cs-ring.is-drawn .cs-ring-line rect { stroke-dashoffset:0; }
.cs-ring.is-drawn .cs-ring-veil { opacity:1; }
.cs-stage .cs-ring-label { opacity:0; }
.cs-ring.is-drawn .cs-ring-label { opacity:1; }
.cs-ring[data-side="top"] .cs-ring-label { left:12px; bottom:calc(100% - 9px); }
.cs-ring[data-side="bottom"] .cs-ring-label { left:12px; top:calc(100% - 9px); }
.cs-ring[data-side="top-end"] .cs-ring-label { right:12px; bottom:calc(100% - 9px); }
.cs-ring[data-side="bottom-end"] .cs-ring-label { right:12px; top:calc(100% - 9px); }
.cs-ring[data-side="right"] .cs-ring-label { left:calc(100% + 10px); top:12px; }
.cs-ring[data-side="left"] .cs-ring-label { right:calc(100% + 10px); top:12px; }
.cs-ring[data-side="inside"] .cs-ring-label { left:10px; top:10px; }
.cs-film-toggle { position:absolute; z-index:4; right:10px; bottom:10px; width:44px; height:44px; display:grid; place-items:center; margin:0; padding:0; border:0; border-radius:50%;
  background:none; color:#f7f5f0e0; cursor:pointer; --focus:var(--accent); transition:opacity 220ms var(--ease); }
.cs-film-toggle[hidden] { display:none; }
.cs-film-toggle::before { content:''; position:absolute; inset:7px; border:1px solid #f7f5f059; border-radius:50%; background:#111315b3; transition:border-color var(--micro),background var(--micro); }
.cs-film-toggle:hover::before { border-color:#f7f5f0b3; background:#111315e0; }
.cs-film-toggle:focus-visible { outline-offset:-3px; }
.cs-film-toggle svg { position:relative; width:11px; height:11px; }
.cs-film-toggle .ft-play,.cs-film-toggle[aria-pressed="true"] .ft-pause { display:none; }
.cs-film-toggle[aria-pressed="true"] .ft-play { display:block; }
/* the frame's button fades in and out with its film (it is always there, so nothing moves) */
.cs-stage-sticky > .cs-film-toggle.is-idle { opacity:0; pointer-events:none; }
.cs-film { position:relative; overflow:hidden; border-radius:12px; background:var(--brand-onyx); }
.cs-film video { display:block; width:100%; height:100%; object-fit:cover; transition:opacity 300ms var(--ease); }
.cs-film.is-seam video { opacity:0; }

/* ---------- 4 · Listings ----------
   Five cards, three over two. Each stands on a panel like the brief's pillars (1.6 here,
   the cards' own proportion): one or two whole components of the screen it opens, placed
   and scaled with the panel, rising into place as it comes into view. */
.cs-cards { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:clamp(36px,3vw,52px) clamp(20px,2.2vw,36px); margin:0; padding:0; list-style:none; }
.cs-card { grid-column:span 2; min-width:0; }
.cs-card--4,.cs-card--5 { grid-column:span 3; }
.cs-card-stage { position:relative; display:block; width:100%; padding:0; border:0; border-radius:12px; background:none; cursor:zoom-in; }
.cs-card-stage:focus-visible { outline-offset:6px; }
.cs-card-panel { aspect-ratio:16/10; border-radius:12px; }
.cs-zoom { position:absolute; right:10px; bottom:10px; display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:#111315b3; color:var(--on-dark);
  opacity:0; transition:opacity var(--micro); }
.cs-zoom svg { width:14px; height:14px; }
.cs-card-stage:is(:hover,:focus-visible) .cs-zoom { opacity:1; }
@media(hover:none) { .cs-zoom { opacity:1; } }
.cs-card h3 { margin-top:24px; font-size:clamp(19px,1.4vw,22px); line-height:1.25; letter-spacing:-.02em; }
.cs-card p { margin-top:10px; max-width:52ch; font-size:15.5px; line-height:1.58; color:var(--muted); }

/* the lightbox: the whole screen at 2x over a dark veil. case.js morphs it out of its
   card by a view transition (the card's panel grows into the whole screen its components
   come from; a crop of the same picture would open its clip out instead). Without view
   transitions it fades and grows a little (@starting-style). The page does not scroll
   behind it (its scrollbar's place is kept); Esc, the button or a click outside close it.
   On a phone it opens on the card's part at its own size, and the view pans and zooms. */
html.cs-locked { overflow:hidden; scrollbar-gutter:stable; }
.cs-lightbox { width:min(1480px,calc(100% - 32px)); max-width:none; max-height:calc(100dvh - 32px); margin:auto; padding:0; border:0; border-radius:14px; overflow:hidden;
  background:var(--brand-onyx); color:var(--on-dark); box-shadow:0 40px 120px #000; --focus:var(--accent); }
.cs-lightbox[open] { display:flex; flex-direction:column; }
.cs-lightbox::backdrop { background:#111315e6; }
.cs-lightbox-figure { display:flex; flex-direction:column; min-height:0; margin:0; }
.cs-lightbox-view { min-height:0; overflow:auto; overscroll-behavior:contain; }
.cs-lightbox-image img { display:block; width:100%; height:auto; max-width:none; }
.cs-lightbox figcaption { flex:none; padding:16px 22px 20px; font-size:14px; line-height:1.55; color:var(--on-dark-2); border-top:1px solid #f7f5f014; }
.cs-lightbox figcaption strong { display:block; margin-bottom:4px; font-size:16px; font-weight:500; color:var(--on-dark); }
.cs-lightbox-close { position:absolute; z-index:2; top:12px; right:12px; width:44px; height:44px; display:grid; place-items:center; padding:0; border:0; border-radius:50%;
  background:#111315d9; color:var(--on-dark); box-shadow:0 0 0 1px #f7f5f033; cursor:pointer; }
.cs-lightbox-close svg { width:16px; height:16px; }
.cs-lightbox-close:focus-visible { outline-offset:2px; }
@media(prefers-reduced-motion:no-preference) {
  .cs-lightbox,.cs-lightbox::backdrop { transition:opacity 260ms var(--ease),scale 320ms var(--ease),display 320ms allow-discrete,overlay 320ms allow-discrete; }
  .cs-lightbox:not([open]) { opacity:0; scale:.97; }
  .cs-lightbox:not([open])::backdrop { opacity:0; }
  @starting-style { .cs-lightbox[open] { opacity:0; scale:.97; } .cs-lightbox[open]::backdrop { opacity:0; } }
  /* during the morph the view transition moves it: nothing of its own */
  .cs-lightbox.is-morphing,.cs-lightbox.is-morphing::backdrop { transition:none; }
}
::view-transition-group(cs-lightbox) { animation-duration:600ms; animation-timing-function:cubic-bezier(.22,1,.36,1); }
::view-transition-old(cs-lightbox),::view-transition-new(cs-lightbox) { animation-duration:600ms; }
::view-transition-group(cs-lightbox-frame),::view-transition-old(cs-lightbox-frame),::view-transition-new(cs-lightbox-frame) { animation-duration:420ms; }
/* (a group that only the new state has is painted last: the picture stays above its frame) */
::view-transition-group(cs-lightbox) { z-index:2; }
::view-transition-group(cs-lightbox-frame) { z-index:1; }
@media(max-width:680px) {
  .cs-lightbox { width:100%; max-height:none; height:100dvh; border-radius:0; }
  .cs-lightbox-view { flex:1; touch-action:pan-x pan-y pinch-zoom; }
  .cs-lightbox-image img { width:var(--natural,1536px); }
  .cs-lightbox figcaption { padding:12px 20px calc(14px + env(safe-area-inset-bottom)); font-size:13px; }
  .cs-lightbox figure { height:100%; }
}

/* ---------- 5 · The website ---------- */
/* the section stands on the page's Warm White like the listings above it; the sixteen
   languages run on a white band between two hairlines */
.cs-web { background:var(--paper); }
.cs-web .cs-head { margin-bottom:clamp(40px,4.4vw,72px); }
.cs-langs { position:relative; display:flex; align-items:center; min-height:clamp(76px,6.4vw,96px); border-block:1px solid var(--line); background:var(--white); overflow:hidden; --fade:clamp(36px,7vw,132px); --gap:clamp(28px,3vw,52px); }
.cs-langs-view { flex:1; min-width:0; align-self:stretch; display:flex; align-items:center; overflow-x:auto; scrollbar-width:none;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 var(--fade),#000 calc(100% - var(--fade)),transparent); mask-image:linear-gradient(90deg,transparent,#000 var(--fade),#000 calc(100% - var(--fade)),transparent); }
.cs-langs-view::-webkit-scrollbar { display:none; }
.cs-langs[data-flowing] .cs-langs-view { overflow:hidden; }
.cs-langs-track { display:flex; width:max-content; }
.cs-langs[data-flowing] .cs-langs-track { will-change:transform; }
.cs-langs-list { display:flex; flex:none; align-items:baseline; margin:0; padding:0; list-style:none; }
.cs-langs:not([data-flowing]) .cs-langs-list { padding-inline:calc(var(--fade) - var(--gap)); }
.cs-langs-list li { position:relative; display:flex; align-items:baseline; gap:.9em; padding-inline:var(--gap); white-space:nowrap; }
.cs-langs-list li::before { content:''; position:absolute; left:-3px; top:50%; width:5px; height:5px; margin-top:-2.5px; border-radius:50%; background:#11131540; }
.cs-langs:not([data-flowing]) .cs-langs-list li:first-child::before { display:none; }
.cs-langs-list b { font:600 12px/1 var(--mono); letter-spacing:.12em; color:var(--muted); }
.cs-langs-list span { font-size:clamp(17px,1.35vw,21px); line-height:1.2; letter-spacing:-.01em; color:var(--ink); }
.cs-drift-pause { position:relative; z-index:2; flex:none; width:44px; height:44px; display:grid; place-items:center; margin:0 max(0px,calc(clamp(20px,2.4vw,40px) - 21.5px)) 0 0; padding:0; border:0; border-radius:50%; background:none; color:#111315b3; cursor:pointer; }
.cs-drift-pause[hidden] { display:none; }
.cs-drift-pause::before { content:''; position:absolute; inset:7px; border:1px solid #11131540; border-radius:50%; background:#ffffffcc; transition:border-color var(--micro),background var(--micro); }
.cs-drift-pause:hover { color:var(--ink); }
.cs-drift-pause:hover::before { border-color:#11131599; }
.cs-drift-pause:focus-visible { outline-offset:-3px; }
.cs-drift-pause svg { position:relative; width:11px; height:11px; }
.cs-drift-pause .fp-play,.cs-drift-pause[aria-pressed="true"] .fp-pause { display:none; }
.cs-drift-pause[aria-pressed="true"] .fp-play { display:block; }
.cs-langs-note { margin-top:22px; font:500 12px/1.6 var(--mono); letter-spacing:.06em; color:var(--muted); }
.cs-feature { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(40px,6vw,120px); align-items:center; margin-top:clamp(88px,9vw,150px); }
.cs-feature--catalogue { grid-template-columns:minmax(0,5fr) minmax(0,7fr); }
.cs-feature-text h3 { font-size:clamp(28px,2.6vw,42px); line-height:1.08; letter-spacing:-.035em; }
.cs-feature-text p { margin-top:20px; max-width:46ch; font-size:17px; line-height:1.6; color:var(--body); }
/* the AI search plays in the live site itself: a browser frame over the part of the site
   beside the open assistant (the still of the same moment), the film exactly where the
   panel is. The frame shows a region of the 1440 px site (x, width, height in its px). */
.cs-feature--ai { grid-template-columns:minmax(0,7.6fr) minmax(0,4.4fr); gap:clamp(40px,4.4vw,80px); }
.cs-frame--ai { box-shadow:0 60px 110px -50px #11131599,0 22px 40px -26px #11131559,0 0 0 1px #11131512; }
.cs-ai-screen { --x:var(--wide-x); --w:var(--wide-w); --h:var(--wide-h); aspect-ratio:var(--w)/var(--h); background:#1d1f21; }
.cs-ai-screen > picture img { position:absolute; top:0; left:calc(var(--x) / var(--w) * -100%); width:calc(var(--site-w) / var(--w) * 100%); height:auto; max-width:none; }
.cs-ai-screen .cs-film--panel { position:absolute; top:0; bottom:0; left:calc((var(--film-x) - var(--x)) / var(--w) * 100%); width:calc(var(--film-w) / var(--w) * 100%);
  border-radius:0; background:none; }
.cs-film--panel video { object-fit:cover; object-position:50% 0; }
/* its pause button never covers the site's words: on a wide frame it sits in the frame's
   bottom left corner, over the photo (left of the film, which lets it out: it has no
   corners of its own), and on a phone at the bottom right, in the panel's space under the
   quote (the frame shows all of it there) */
.cs-ai-screen .cs-film--panel { overflow:visible; }
.cs-film--panel .cs-film-toggle { right:auto; left:calc((var(--x) - var(--film-x)) / var(--film-w) * 100% + 10px); bottom:10px; }
.cs-screen--crop { aspect-ratio:auto; background:#fff; }
.cs-screen--crop .cs-crop { border-radius:0; }

/* ---------- 6 · Backstage ----------
   Six things nobody sees, each under a hairline with a line icon. When the grid comes
   into view (case.js) the hairlines grow from the left and the icons draw themselves, one
   after another. */
.cs-grid6 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(40px,4vw,64px) clamp(28px,3.4vw,64px); margin:0; padding:0; list-style:none; }
.cs-grid6 li { position:relative; padding-top:28px; }
.cs-grid6 li::before { content:''; position:absolute; left:0; right:0; top:0; height:1px; background:var(--hair-dark); transform-origin:0 50%; }
.cs-icon { display:block; width:24px; height:24px; margin-bottom:18px; color:var(--accent); }
.cs-grid6 h3 { font-size:clamp(19px,1.45vw,23px); line-height:1.25; letter-spacing:-.02em; }
.cs-grid6 p { margin-top:12px; max-width:44ch; font-size:15.5px; line-height:1.6; color:var(--on-dark-2); }

/* ---------- 7 · The build ----------
   Eight figures, four by two (two by four on a phone). When they come into view case.js
   counts each up once (the ~, < and + stay; the digits in tabular figures, so nothing
   around them moves) and the hairlines grow from the left. */
.cs-figures { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(40px,4vw,64px) clamp(24px,3vw,48px); margin:0; padding:0; list-style:none; }
.cs-figures li { position:relative; padding-top:24px; }
.cs-figures li::before { content:''; position:absolute; left:0; right:0; top:0; height:1px; background:var(--line); transform-origin:0 50%; }
.cs-figures strong { display:block; font-size:clamp(52px,5.6vw,92px); font-weight:500; line-height:.95; letter-spacing:-.05em; color:var(--ink); white-space:nowrap; font-variant-numeric:tabular-nums; }
.cs-figures li > span { display:block; margin-top:16px; font:500 12px/1.5 var(--mono); letter-spacing:.14em; text-transform:uppercase; color:var(--muted); }
.cs-roles { margin-top:clamp(64px,7vw,112px); max-width:110ch; font:500 13.5px/2 var(--mono); letter-spacing:.02em; color:var(--muted); }
.cs-role { white-space:nowrap; }
.cs-dot { margin:0 .45em; color:#11131559; }

/* the arrivals of the backstage and the build: hairlines from the left, icons drawn on */
@media(prefers-reduced-motion:no-preference) {
  html[data-js] [data-arrive]:not(.is-in) li::before { transform:scaleX(0); }
  html[data-js] [data-arrive]:not(.is-in) .cs-icon :is(path,circle,ellipse,rect) { stroke-dashoffset:1; }
  .cs-icon :is(path,circle,ellipse,rect) { stroke-dasharray:1 1; stroke-dashoffset:0; }
  [data-arrive].is-in li::before { animation:cs-rule 800ms var(--ease) calc(var(--i,0) * 90ms) backwards; }
  [data-arrive].is-in .cs-icon :is(path,circle,ellipse,rect) { animation:cs-draw 700ms var(--ease) calc(120ms + var(--i,0) * 90ms) backwards; }
}
@keyframes cs-rule { from { transform:scaleX(0); } }
@keyframes cs-draw { from { stroke-dashoffset:1; } }

/* ---------- 8 · The call ----------
   Under the words, the homepage's Atlantic: a warm glow on a horizon low in the section
   and the sea's lines in perspective beneath it. Static and decorative. */
.cs-cta { overflow:hidden; isolation:isolate; padding-bottom:calc(clamp(96px,10vw,168px) + clamp(110px,13vw,210px)); }
.cs-cta > .cs-wrap { position:relative; z-index:1; }
.cs-sea { position:absolute; z-index:0; left:0; right:0; bottom:0; height:clamp(170px,19vw,300px); pointer-events:none;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 24%,#000 86%,transparent); mask-image:linear-gradient(90deg,transparent,#000 24%,#000 86%,transparent); }
.cs-sea svg { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.cs-sea path { fill:none; stroke:#f7f5f0; stroke-width:1; vector-effect:non-scaling-stroke; stroke-opacity:.15; }
/* the glow sits on the horizon, to the right of the words, like the hero's low sun */
.cs-sea::before { content:''; position:absolute; left:26%; right:0; top:-90%; height:180%;
  background:radial-gradient(46% 50% at 56% 50%,#f4b00029,#f4b00010 42%,#f4b00000 74%); }
.cs-sea::after { content:''; position:absolute; left:30%; right:6%; top:0; height:1px; background:linear-gradient(90deg,#f4b00000,#f4b0008c 55%,#f4b00000); }
.cs-cta h2 { max-width:14ch; font-size:clamp(40px,5.2vw,84px); }
.cs-cta .cs-lede { max-width:52ch; }
.cs-cta .cs-actions { margin-top:40px; }
.cs-back { position:relative; display:inline-flex; align-items:center; padding-left:16px; min-height:44px; margin-top:clamp(56px,6vw,88px); font:500 12px/1 var(--mono); letter-spacing:.14em; text-transform:uppercase; color:var(--on-dark-2); transition:color var(--micro); }
.cs-back::before { opacity:1; transform:none; }
.cs-back > span { transition:transform 320ms var(--ease); }
.cs-back:is(:hover,:focus-visible) { color:var(--on-dark); }
.cs-back:is(:hover,:focus-visible) > span { transform:translateX(4px); }
.cs-cta + .site-footer .footer-rule:first-child { background:#f7f5f01a; }

/* ---------- Laptops ---------- */
@media(min-width:1101px) and (max-width:1439px) {
  .cs-pillar p,.cs-card p,.cs-grid6 p { font-size:15px; }
  .cs-step-text p:last-child { font-size:16px; }
}

/* ---------- Tablets and phones: stacked steps, tabs, no camera ---------- */
@media(max-width:1100px) {
  .cs { --wrap:90%; }
  .cs-hero-grid { grid-template-columns:minmax(0,1fr); gap:48px; }
  .cs-hero-copy { max-width:44rem; }
  .cs-hero h1 { font-size:clamp(42px,7.2vw,64px); }
  .cs-hero-visual { width:100%; max-width:760px; }
  .cs-head--split { grid-template-columns:minmax(0,1fr); }
  .cs-facts { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:26px; }
  .cs-pillars { row-gap:56px; }
  .map-wide { display:none; }
  .map-tall { position:relative; width:auto; height:auto; margin:0; overflow:visible; clip-path:none; white-space:normal; max-width:36rem; }
  .map-list::before { content:''; position:absolute; left:10.5px; top:26px; bottom:26px; width:1.5px; background:#f7f5f04d; }
  .map-list li::before { content:''; position:absolute; left:4px; top:50%; width:14px; height:14px; margin-top:-7px; box-sizing:border-box; border-radius:50%;
    background:var(--on-dark); transition:background 360ms var(--ease); }
  .map-list li::after { content:''; position:absolute; left:-3px; top:50%; width:28px; height:28px; margin-top:-14px; box-sizing:border-box; border-radius:50%;
    border:1.5px solid var(--accent); opacity:0; pointer-events:none; }
  .map.is-armed .map-list li:not(.is-lit)::before { background:#f7f5f05c; }
  .map.is-armed .map-list li:not(.is-lit) .map-li-name { color:#f7f5f0bf; }
  .map.is-armed .map-list li:not(.is-lit) .map-li-num { color:#f7f5f073; }
  .map-li-name { transition:color 360ms var(--ease); }
  .map-return { position:absolute; right:0; top:26px; height:calc(var(--list-h,100%) - 52px); width:26px; border:1.5px solid #f7f5f033; border-left:0; border-radius:0 18px 18px 0; }
  .map-return::before { content:''; position:absolute; left:-2px; top:-6px; width:9px; height:9px; border-left:1.5px solid #f7f5f073; border-bottom:1.5px solid #f7f5f073; transform:rotate(45deg); }
  .map-return i { position:absolute; right:-6px; top:0; width:10px; height:10px; border-radius:50%; background:var(--accent); box-shadow:0 0 12px 2px #f4b00066; opacity:0; }
  .map-runner-v { position:absolute; left:5px; top:0; width:13px; height:13px; border-radius:50%; background:var(--accent); box-shadow:0 0 10px 2px #f4b00059; opacity:0; pointer-events:none; }
  .map-replay { align-self:flex-start; margin-top:28px; }
  .cs-walk-body { grid-template-columns:minmax(0,1fr); gap:0; }
  .cs-stage-col { display:none; }
  .cs-tabs { position:sticky; top:0; z-index:6; display:block; margin-bottom:8px; background:#111315f0; border-block:1px solid var(--hair-dark); }
  /* stuck, the tabs make room for the island while it is in (header.js tucks it away on the
     way down, and it comes back on the way up) */
  html[data-js] .cs-tabs { transition:top 300ms var(--ease); }
  html[data-js]:has(.site-header:not([data-tucked])) .cs-tabs { top:76px; }
  @supports (backdrop-filter:blur(8px)) { .cs-tabs { background:#111315d9; backdrop-filter:blur(10px); } }
  .cs-tabs ol { display:flex; gap:4px; margin:0 auto; padding:8px 5%; overflow-x:auto; list-style:none; scrollbar-width:none; overscroll-behavior-x:contain; scroll-padding-inline:5%; }
  .cs-tabs ol::-webkit-scrollbar { display:none; }
  .cs-tabs a { display:flex; align-items:center; gap:8px; min-height:44px; padding:0 14px; border-radius:999px; font:500 11.5px/1 var(--mono); letter-spacing:.12em; text-transform:uppercase; color:var(--on-dark-3); white-space:nowrap; transition:color var(--micro),background var(--micro); }
  .cs-tabs a span { color:#f7f5f066; }
  .cs-tabs a[aria-current] { color:var(--on-dark); background:#f7f5f017; }
  .cs-tabs a[aria-current] span { color:var(--accent); }
  .cs-step { min-height:0 !important; padding:56px 0 8px; scroll-margin-top:72px; }
  .cs-step + .cs-step { border-top:1px solid var(--hair-dark); margin-top:48px; }
  .cs-step-text { position:static; max-width:40rem; }
  .cs-step-label { color:var(--accent); }
  .cs-step-label::before { display:none; }
  .cs-beat,.cs-rail,.cs-tick { display:none; }
  .cs-step-media { position:static; width:auto; height:auto; margin:28px 0 0; overflow:visible; clip-path:none; display:grid; gap:18px; }
  .cs-step-shot,.cs-step-film { margin:0; }
  .cs-step-shot .cs-crop { border-radius:10px; box-shadow:0 0 0 1px #f7f5f01f; }
  .cs-step-shot--public .cs-crop { background:var(--brand-onyx); }
  .cs-step-film { display:block; }
  .cs-film--step { aspect-ratio:16/10 !important; box-shadow:0 0 0 1px #f7f5f01f; }
  .cs-film--step video { object-position:50% 40%; }
  .cs-step-text { position:static; }
  .cs-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cs-card,.cs-card--4,.cs-card--5 { grid-column:span 1; }
  /* the first card has the row to itself: its panel keeps a column's size (its components
     keep their scale) and its words stand beside it */
  .cs-card--1 { grid-column:span 2; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:clamp(20px,2.2vw,36px); }
  .cs-card--1 .cs-card-stage { grid-row:1 / span 2; }
  .cs-card--1 h3 { grid-column:2; align-self:end; margin-top:0; }
  .cs-card--1 p { grid-column:2; align-self:start; }
  .cs-feature,.cs-feature--catalogue { grid-template-columns:minmax(0,1fr); gap:40px; }
  .cs-feature--catalogue .cs-feature-media { order:-1; }
  .cs-feature--ai .cs-feature-text { order:-1; }
  .cs-grid6 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cs-figures strong { font-size:clamp(40px,5.2vw,56px); }
}
@media(max-width:680px) {
  .cs { --wrap:calc(100% - 40px); }
  .cs-section { padding:88px 0; }
  .cs h2 { font-size:clamp(32px,9vw,40px); }
  .cs-hero { padding-top:calc(var(--row) + 26px); }
  .cs-hero h1 { font-size:clamp(38px,11vw,48px); }
  .cs-hero-lede { font-size:17px; }
  .cs-actions { flex-direction:column; align-items:stretch; }
  .cs-button { justify-content:space-between; width:100%; min-height:54px; font-size:16px; }
  .cs-hero-visual { aspect-ratio:10/8; }
  .cs-frame--admin { width:80%; }
  .cs-frame--site { width:90%; }
  .cs-scan-tab { font-size:9px; padding:4px 6px 3px; bottom:8px; }
  .cs-frame { border-radius:9px; }
  .cs-hero-visual .browser-bar { height:22px; padding:0 10px; gap:5px; }
  .cs-hero-visual .browser-bar > span { width:6px; height:6px; }
  .cs-hero-visual .browser-bar b { font-size:9px; margin-left:8px; }
  .cs-facts { gap:22px 20px; }
  .cs-facts dd { font-size:15px; }
  .cs-pillars { grid-template-columns:minmax(0,1fr); row-gap:52px; }
  .cs-pillar-stage { margin-bottom:24px; }
  .cs-cards { grid-template-columns:minmax(0,1fr); }
  .cs-card--1 { grid-column:span 1; display:block; }
  .cs-card--1 h3 { margin-top:24px; }
  .cs-langs-list span { font-size:17px; }
  .cs-grid6 { grid-template-columns:minmax(0,1fr); }
  .cs-figures { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cs-figures strong { font-size:clamp(40px,11.5vw,56px); }
  .cs-feature { margin-top:88px; }
  .cs-ai-screen { --x:var(--narrow-x); --w:var(--narrow-w); --h:var(--narrow-h); }
  .cs-film--panel .cs-film-toggle { left:auto; right:10px; }
  .cs-roles { font-size:12.5px; }
  .cs-cta { padding-bottom:calc(88px + 130px); }
  .cs-sea { height:150px; }
}
@media(prefers-reduced-motion:reduce) {
  .cs-cam,.cs-shot,.cs-ring,.cs-ring *,.cs-bar-label > span,.cs-film video,.map * { transition:none !important; }
}
