/* V12 mix skin (lead, 2026-11-13). Owner: "combine both [8894 = v4, 8810 = live v3] to get best from each, make it
   black color theme, see which color pairs well with black, provide options".
   The v4 sections keep their structure and scripts; this file gives them the V11 finish on black:
   serif headlines, square corners, 1 px hairlines, no glows, no pointer light, ONE accent from accent.css.
   Loaded last. Every former ember / blue literal of the v4 CSS is replaced here by the accent token. */

/* ------------------------------------------------------------ tokens: v4 names -> V11 black + the accent */
:root {
  --bg: #000; --bg-1: #070708; --bg-2: #0b0c0e; --bg-3: #141518;
  --ion: var(--acc); --ion-dim: rgba(var(--acc-rgb), .14); --v4-ion-hi: var(--acc-rim);
  --display: "Sitka Display", "Sitka Heading", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --r: 0px;
}
body.v12 { background: #000; }
body.v12::after { opacity: .035; }                 /* the V11 grain, very faint (ember.css is not loaded) */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; padding: 8px 12px; background: #fff; color: #000; }

/* ------------------------------------------------------------ type: V11 serif headlines, spaced mono labels */
.v12 .h4-h2, .v12 .h4-sec h2, .v12 .h4-sec h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.012em; }
.v12 .h4-h2 i, .v12 .h4-h2 em { font-weight: 400; }
.v12 .eyebrow, .v12 .v4-eyebrow, .v12 .h4-k { font-family: var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--fg-3); }
.v12 .eyebrow::before { background: var(--fg-3); }

/* ------------------------------------------------------------ square, hairline, no glow */
.v12 .h4-sec .btn, .v12 .v4-door, .v12 .v4-card, .v12 .v4-card-pic, .v12 .v4-chip, .v12 .h4-beat-pic, .v12 .h4-ready,
.v12 .h4-building, .v12 .h4-engdoor, .v12 .v4-note, .v12 .x-stack-row li, .v12 .x-stack-row li span, .v12 .h4-sec pre,
.v12 .h4-sec :not(pre) > code, .v12 .dm-tablewrap, .v12 [class^="dm-"] { border-radius: 0 !important; }
.v12 .x-light, .v12 .v4-card::after { display: none !important; }
.v12 .v4-card { border-color: rgba(255, 255, 255, .18); box-shadow: none; }
.v12 .v4-card:hover, .v12 .v4-card:focus-within { border-color: #fff; box-shadow: none; }
.v12 .h4-beat-door:hover, .v12 .h4-beat-door:focus-visible { border-color: #fff; box-shadow: none; }
.v12 .v4-card-main:hover .v4-chip--go, .v12 .v4-card-main:focus-visible .v4-chip--go { background: #fff; border-color: #fff; color: #000; }
.v12 .v4-route-label { color: var(--fg-2); }
.v12 .v4-route:hover .v4-route-label, .v12 .v4-route:focus-visible .v4-route-label { color: #fff; }
.v12 a.more, .v12 .h4-status-go { color: #fff; }

/* the one main action per section: the accent, flat */
.v12 .btn--ion { background: var(--acc); border-color: var(--acc); color: var(--on-acc); box-shadow: none; }
.v12 .btn--ion:hover, .v12 .btn--ion:focus-visible { background: #fff; border-color: #fff; color: #000; box-shadow: none; }
.v12 .d-row--lit, .v12 .d-tile--lit { box-shadow: 0 0 0 1px var(--acc); }

/* place pictures: the house grade, no colour cast */
.v12 .v4-card-pic img { filter: brightness(.88) contrast(1.08) saturate(.9); }
.v12 .v4-card:hover .v4-card-pic img, .v12 .v4-card:focus-within .v4-card-pic img { filter: contrast(1.06); }

/* ------------------------------------------------------------ former ember literals -> the accent (v4.css, x.css,
   site.css, depth.css, ml.css). The selectors below are the ones that carried rgba(255, 106, 43, a). */
.v12 .ml { border-bottom-color: rgba(var(--acc-rgb), .7); }
.v12 .ml::before { background: var(--acc); color: var(--on-acc); }
.v12 .ml::before { content: "ML"; }                       /* the term badge: ML, not AI (owner 11-13: ML about 80 %, AI about 20 %) */
.v12 ::selection { background: rgba(var(--acc-rgb), .35); color: #fff; }
.v12 .x-stack-row li.is-lit { border-color: var(--acc); box-shadow: none; }
.v12 .x-stack-row li.is-lit span { background: var(--acc); color: var(--on-acc); }


/* ------------------------------------------------------------ rhythm: the sections sit on plain black, hairline rules */
.v12 .h4-sec { border-top: 1px solid rgba(255, 255, 255, .1); }
.v12 .h4-sec.h4-places { border-top: 0; }

/* ------------------------------------------------------------ pictures
   The place pictures still hold the old ember line. Our own camera is grey (OAK), so a hue turn moves only the line to
   the accent; the colour Rosario pictures keep it until the stills are re-rendered with the chosen accent. */
.v12 img[src*="img/places/oak_"] { filter: hue-rotate(var(--still-rot)) saturate(var(--still-sat)) brightness(.9) contrast(1.08) !important; }
/* the AI depth pictures in grey: bright = near, dark = far (as the legend says); no blue, no orange */
.v12 .dm-img { filter: grayscale(1) contrast(1.06); }
.v12 .dm-key { background: linear-gradient(90deg, #f4f4f4, #9a9a9a 45%, #111) !important; border-radius: 0; }
.v12 .dm-handle::before { box-shadow: 0 0 2px rgba(0, 0, 0, .8); }

/* ------------------------------------------------------------ colour roles (the owner's trio: bone, sage, lilac)
   One job per colour. The page accent (--acc, --ion) is the main action and "works today". Inside AI areas the accent
   is the AI colour; inside path drawings it is the path colour. With a single accent all three are the same colour.
   --ion and --acc are set again here (custom properties inherit their computed value, so a scope must name them). */
.v12 .h4-ai, .v12.dm main, .v12 .ml {
  --ion: var(--ai); --acc: var(--ai); --acc-rgb: var(--ai-rgb); --on-acc: var(--on-ai); --acc-text: var(--ai); }
.v12 .v4-route, .v12 .h4-beat-pic--route, .v12 .pl-layer, .v12 .xp-map, .v12 .h-wipe {
  --ion: var(--path); --acc: var(--path); --acc-rgb: var(--path-rgb); --acc-rim: var(--path-rim); }

/* ------------------------------------------------------------ Check 11-13: no glows, no pills, no extra hues, no loops
   (the owner's taste: calm, rare accent, no glows, classic square finish; nothing loops by itself) */
.v12 .dm-hero { background: none !important; }
.v12 .xp-back, .v12 .xp-pill, .v12 .xp-pill-pic, .v12 .xp-help, .v12 .xp-keep, .v12 .xp-photo-s, .v12 .xp-pad-cap,
.v12 .xp-info, .v12 .xp-card, .v12 .xp-map, .v12 .xp-photo { border-radius: 0 !important; }
:root { --loss: #8a8f94; --warn: #c4c9cd; }
.v12 .x-run { display: none !important; }

/* ------------------------------------------------------------ the floating trajectories (owner 11-13; F/atlas.js)
   The 8 places as point islands with their paths. Names are doors with two choices. Phones / no WebGL: the list. */
.v12 .f-atlas { border-top: 1px solid rgba(255, 255, 255, .1); }
.v12 .f-atlas-stage { position: relative; height: min(76vh, 760px); margin-top: 26px; background: #000; overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.v12 .f-atlas-stage:not([data-live="1"]) { display: none; }
.v12 .f-atlas-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.v12 .f-atlas-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.v12 .f-isl { position: absolute; left: 0; top: 0; pointer-events: auto; margin: -46px 0 0 -12px; padding: 5px 9px 6px;
  background: rgba(0, 0, 0, .74); border: 1px solid rgba(255, 255, 255, .22); border-radius: 0; color: #f3f5f6; text-align: left;
  font: italic 400 15.5px/1.2 var(--display); white-space: nowrap; cursor: pointer; }
.v12 .f-isl small { display: block; margin-top: 3px; font: 500 10px/1.2 var(--mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: #9aa1a7; }
.v12 .f-isl:hover, .v12 .f-isl:focus-visible { border-color: var(--path); outline: none; }
.v12 .f-atlas-pick { position: absolute; left: 0; top: 0; z-index: 6; display: grid; gap: 10px; width: 280px; padding: 16px 16px 16px;
  background: #0b0c0e; border: 1px solid rgba(255, 255, 255, .3); }
.v12 .f-atlas-pick[hidden] { display: none; }
.v12 .f-pick-n { margin: 0 24px 4px 0; font: 500 20px/1.2 var(--display); color: #f3f5f6; }
.v12 .f-pick-x { position: absolute; right: 6px; top: 4px; padding: 4px 8px; background: none; border: 0; color: #c4c9cd; font-size: 22px; line-height: 1; cursor: pointer; }
.v12 .f-pick-depth { --acc: var(--ai); }
.v12 .f-atlas-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.v12 .f-atlas-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.v12 .f-al-n { font: italic 400 18px/1.3 var(--display); color: #f3f5f6; }
.v12 .f-al-l { font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #9aa1a7; margin-right: auto; }
.v12 .f-atlas-list a { font-size: 14.5px; color: #f3f5f6; }
.v12 .f-atlas-stage[data-live="1"] + .wrap .f-atlas-list { display: none; }
.v12 .f-atlas-note { margin: 14px 0 0; font-size: 13px; color: #9aa1a7; }
@media (max-width: 760px) { .v12 .f-atlas-list { grid-template-columns: 1fr; } }
/* the eight places now live in the home stage (stops 4-5); the separate section is the list for phones only */
@media (min-width: 761px) { .v12 .f-atlas { display: none; } html.f-noatlas .v12 .f-atlas { display: block; } }   /* no 3-D on this desktop: the list */

/* ------------------------------------------------------------ the company top bar (owner 11-13)
   One bar on every page, the home included (tools/build_static.py frag_header): the wordmark; Products (xclean, Depth
   model) and Research (Results, Paper) open a panel (js/v4/common.js); 3-D places; About; Contact. On a phone the menu
   lists the panels as groups. Colour stays rare: sage marks xclean (the path), lilac the ML model, in their small labels. */
body.v12 { --head-h: var(--v4-head-h); }
.v12 .nr-head { background: rgba(0, 0, 0, .92); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.v12 .nr-head .v4-head-in { gap: clamp(10px, 2vw, 28px); }
.v12 .nr-head .v4-wordmark { font: 600 21px/1 var(--display); letter-spacing: -.01em; }
.v12 .nr-nav { gap: clamp(0px, .5vw, 6px); }
.v12 .nr-nav .nr-a, .v12 .nr-dd-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; margin: 0;
  border: 0; border-radius: 0; background: none; box-shadow: none; font: 500 14.5px/1 var(--sans); letter-spacing: .01em;
  color: var(--fg-2); text-decoration: none; white-space: nowrap; cursor: pointer; }
.v12 .nr-nav .nr-a:hover, .v12 .nr-dd-btn:hover, .v12 .nr-dd.is-open > .nr-dd-btn { color: var(--fg); }
.v12 .nr-nav .nr-a[aria-current], .v12 .nr-nav .nr-dd-btn[data-current] { color: var(--fg); box-shadow: inset 0 -1px 0 var(--fg); }
.v12 .nr-nav .nr-a:focus-visible, .v12 .nr-dd-btn:focus-visible, .v12 .nr-cta:focus-visible { outline: 1px solid var(--fg); outline-offset: -1px; }
.v12 .nr-chev { flex: none; width: 6px; height: 6px; border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .18s; }
.v12 .nr-dd.is-open .nr-chev { transform: translateY(1px) rotate(-135deg); }
.v12 .nr-dd { position: relative; }
.v12 .nr-dd-panel { position: absolute; top: calc(100% + 10px); left: 50%; z-index: 70; display: none; gap: 4px;
  width: min(340px, calc(100vw - 32px)); padding: 8px; transform: translateX(-50%);
  background: #060607; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 24px 48px rgba(0, 0, 0, .55); }
.v12 .nr-dd-panel--2 { width: min(620px, calc(100vw - 32px)); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v12 .nr-dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }   /* the hover bridge */
.v12 .nr-dd.is-open .nr-dd-panel { display: grid; }
.v12 .nr-dd-h { display: none; }
.v12 .nr-nav .nr-dd-item { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 0; margin: 0;
  padding: 16px 18px 17px; border: 1px solid transparent; border-radius: 0; box-shadow: none; background: none;
  font: inherit; color: var(--fg); text-decoration: none; white-space: normal; }
.v12 .nr-nav .nr-dd-item:hover, .v12 .nr-nav .nr-dd-item:focus-visible { background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .14); outline: none; }
.v12 .nr-nav .nr-dd-item[aria-current] { border-color: rgba(255, 255, 255, .24); }
.v12 .nr-dd-k { font: 500 10.5px/1.2 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3); }
.v12 .nr-dd-item--path .nr-dd-k { color: var(--path, var(--fg-3)); }
.v12 .nr-dd-item--ml .nr-dd-k { color: var(--ai, var(--fg-3)); }
.v12 .nr-dd-n { font: 500 21px/1.15 var(--display); letter-spacing: -.01em; color: var(--fg); }
.v12 .nr-dd-t { font: 400 14px/1.45 var(--sans); color: var(--fg-2); }
.v12 .nr-dd-s { margin-top: 4px; font: 500 12.5px/1.3 var(--sans); color: var(--fg-3); }
.v12 .nr-cta { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 0; font: 500 14.5px/1 var(--sans); letter-spacing: .01em; color: var(--fg); text-decoration: none; white-space: nowrap; }
.v12 .nr-cta:hover { background: var(--fg); border-color: var(--fg); color: #000; }
@media (min-width: 901px) { .v12 .nr-nav .nr-a--contact { display: none; } }
.v12 .v4-menu-btn { border-radius: 0; }                         /* square, like every other control of the bar */
/* without scripts: a panel opens on hover and on keyboard focus */
html:not(.v4-js) body.v12 .nr-dd:hover .nr-dd-panel, html:not(.v4-js) body.v12 .nr-dd:focus-within .nr-dd-panel { display: grid; }
/* phones and narrow windows: the menu. The panels are groups with a small label; Contact moves into the menu */
@media (max-width: 900px) {
  .v12 .nr-cta { display: none; }
  .v12 .nr-nav { gap: 0; padding-bottom: 22px; }
  .v12 .nr-dd { position: static; padding: 16px 0 6px; border-bottom: 1px solid var(--line); }
  .v12 .nr-dd-btn { display: none; }
  .v12 .nr-dd-h { display: block; margin: 0 0 4px; font: 500 10.5px/1.2 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--fg-3); }
  .v12 .nr-dd-panel, .v12 .nr-dd-panel--2 { position: static; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; width: auto;
    padding: 0; transform: none; background: none; border: 0; box-shadow: none; }
  .v12 .nr-dd-panel::before { content: none; }
  .v12 .nr-nav .nr-dd-item { gap: 3px; padding: 11px 0; border: 0; }
  .v12 .nr-nav .nr-dd-item::after { content: none; }
  .v12 .nr-nav .nr-dd-item:hover { background: none; }
  .v12 .nr-nav .nr-dd-item[aria-current] { box-shadow: inset 3px 0 0 var(--fg); padding-left: 14px; }
  .v12 .nr-dd-k, .v12 .nr-dd-s { display: none; }
  .v12 .nr-dd-n { font-size: 20px; }
  .v12 .nr-nav .nr-a { min-height: 58px; padding: 0 2px; font: 500 20px/1 var(--display); color: var(--fg); border-bottom: 1px solid var(--line); }
  .v12 .nr-nav .nr-a[aria-current] { box-shadow: inset 3px 0 0 var(--fg); padding-left: 14px; }
}
/* phones without scripts: one row of plain links (the menu button cannot open) */
@media (scripting: none) and (max-width: 900px) {
  .v12 .nr-dd, .v12 .nr-dd-panel, .v12 .nr-dd-panel--2 { display: contents; }
  .v12 .nr-dd-h, .v12 .nr-dd-t { display: none; }
  .v12 .nr-nav .nr-dd-item, .v12 .nr-nav .nr-a { min-height: 44px; padding: 0 8px; border: 0; font: 500 15.5px/1 var(--sans); white-space: nowrap; justify-content: center; }
  .v12 .nr-dd-n { font: inherit; }
}

/* ------------------------------------------------------------ the About page (owner 11-13) */
.v12 .ab-goal { margin: 6px 0 14px; font: 500 clamp(26px, 3vw, 36px)/1.2 var(--display); letter-spacing: -.012em; color: var(--fg); max-width: 24ch; }
.v12 .ab-list { margin: 10px 0 18px; padding: 0; list-style: none; }
.v12 .ab-list li { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .12); color: var(--fg-2); }
.v12 .ab-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.v12 .ab-list b { color: var(--fg); font-weight: 600; }
.v12 .ab-stack { margin-top: 30px; }
.v12 .ab-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0 22px; }
.v12 .ab-prod { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; border: 1px solid rgba(255, 255, 255, .16);
  color: var(--fg); text-decoration: none; }
.v12 .ab-prod:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .03); }
.v12 .ab-prod-k { font: 500 10.5px/1.2 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3); }
.v12 .ab-prod--path .ab-prod-k { color: var(--path, var(--fg-3)); }
.v12 .ab-prod--ml .ab-prod-k { color: var(--ai, var(--fg-3)); }
.v12 .ab-prod-n { font: 500 28px/1.1 var(--display); letter-spacing: -.012em; }
.v12 .ab-prod-t { color: var(--fg-2); font-size: 16px; line-height: 1.5; }
.v12 .ab-prod-s { margin-top: auto; padding-top: 6px; font-size: 14px; color: var(--fg-3); }
.v12 .ab-mail { display: flex; flex-wrap: wrap; gap: 12px; }
/* the founders' email and phone */
.v12 .ab-team .ab-contact { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 8px; font-size: 15px; color: var(--fg-3, #9a9a9a); }
.v12 .ab-team .ab-contact a { color: var(--fg); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; overflow-wrap: anywhere; }
.v12 .ab-team .ab-contact a:hover { text-decoration-color: currentColor; }
@media (max-width: 760px) { .v12 .ab-team .ab-contact { flex-direction: column; gap: 0; } .v12 .ab-team .ab-contact a { display: inline-block; padding: 10px 0; } }
@media (max-width: 760px) { .v12 .ab-products { grid-template-columns: minmax(0, 1fr); } }
/* the five layers on the About page: the home's small chip row (css/dark.css, not loaded here), in the V12 finish */
.v12 .ab-stack .x-stack-l { margin: 0 0 12px; font: 400 17px/1.5 var(--sans); color: var(--fg-2); max-width: 36em; }
.v12 .ab-stack .x-stack-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.v12 .ab-stack .x-stack-row li { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 15px; margin: 0;
  border: 1.5px dashed rgba(255, 255, 255, .45); border-radius: 0; font: 600 15px/1 var(--sans); color: rgba(255, 255, 255, .66); }
.v12 .ab-stack .x-stack-row li.is-lit { border: 1.5px solid var(--acc); color: #fff; background: rgba(var(--acc-rgb), .14); box-shadow: none; }
.v12 .ab-stack .x-stack-row li.is-lit span { font: 700 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--on-acc); background: var(--acc); padding: 5px 8px; border-radius: 0; }
.v12 .ab-stack .x-stack-k { margin: 10px 0 0; font: 400 14px/1.4 var(--sans); color: var(--fg-2); }

/* the depth model download buttons (gen:model-dl; shown only after the launch switch) */
.v12 .dm-dl { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* ------------------------------------------------------------ still mode: classic (owner 11-16)
   html.nr-still (the page head decides: a slow link, a weak phone or tablet, ?still=1; the home also falls back to it
   when the device cannot keep up). No 3-D, no canvases, no motion: the site reads like a printed plate book. Warm black
   paper, toned photographs, a still grain, double rules. Everything is static, so all of it costs one paint. */
html.nr-still { --bg: #0d0b08; --bg-1: #12100c; --bg-2: #17140f; --bg-3: #1f1b15; scroll-behavior: auto; }
html.nr-still body, html.nr-still body.v12 { background: #0d0b08; }
html.nr-still *, html.nr-still *::before, html.nr-still *::after { animation: none !important; transition: none !important; }
html.nr-still body::after { display: block !important; opacity: .07 !important; }
/* touch: the grain only where the device can blend it cheaply (no blend mode on phones and tablets) */
@media (hover: none), (pointer: coarse) { html.nr-still body::after { mix-blend-mode: normal; opacity: .04 !important; } }
html.nr-still img, html.nr-still .v12 img[src*="img/places/oak_"], html.nr-still .h-place .pl-still[src*="first.jpg"] {
  filter: sepia(.62) grayscale(.15) contrast(1.08) brightness(.93) saturate(.9) !important; }
html.nr-still #dark, html.nr-still .h-live, html.nr-still .f-atlas-in, html.nr-still #atlas-in { display: none !important; }
/* the first screen: a plain darkroom fade for the words, no opening in the dark */
html.nr-still .h-veil {
  background: linear-gradient(90deg, #0d0b08 0, rgba(13, 11, 8, .86) 36%, rgba(13, 11, 8, .18) 62%, rgba(13, 11, 8, .55) 100%) !important; }
@media (max-width: 760px) {
  html.nr-still .h-veil { background: linear-gradient(#0d0b08 0, rgba(13, 11, 8, .86) 46%, rgba(13, 11, 8, .22) 70%, rgba(13, 11, 8, .7) 100%) !important; }
}
html.nr-still .h-still img { box-shadow: inset 0 0 0 1px rgba(232, 224, 204, .2); }
/* plates: a hairline frame and a double rule under the section heads */
html.nr-still .v12 .v4-card, html.nr-still .v12 .v4-card-pic, html.nr-still .v12 .h4-beat-pic { border: 1px solid rgba(232, 224, 204, .26); }
html.nr-still .v12 .h4-sec h2 { padding-bottom: .35em; border-bottom: 3px double rgba(232, 224, 204, .28); }
html.nr-still .v12 .eyebrow, html.nr-still .v12 .v4-eyebrow, html.nr-still .v12 .h4-k { color: #b9ae96; }
html.nr-still [style*="backdrop-filter"], html.nr-still .head, html.nr-still .v4-head, html.nr-still .c-head { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html.nr-still #hint { background: rgba(13, 11, 8, .82); padding: 10px 14px; }   /* the words stay readable over a lit plate */

/* ------------------------------------------------------------ the classic hero: Plate I and the sheet of eight plates
   Phones and tablets (html.nr-still, owner 11-16: "the second animation (park till all trajectories shown) should be
   presented in a classic / vintage, best possible way"). The block is #ps (tools/make_still_hero.py): three figures of
   the park in one plate window (Fig. 1 at eye level, Fig. 2 bird's-eye, Fig. 3 plan to scale), then the sheet of the
   eight places. Every dot is a measured point; every sage line is the camera path, inked by the scroll (home.js
   stillUi). Each figure is one engraving (WebP) contained in its window: it shrinks, never crops. */
.ps, .h-cl { display: none; }
html.nr-still .h-cl { display: revert; }
html.nr-still .h-nocl { display: none !important; }
html.nr-still { --ps-g: 16px; --ps-capb: 3vh; }
@media (min-width: 761px) { html.nr-still { --ps-g: 40px; --ps-capb: 7vh; } }
html.nr-still .h-stage { background: #0d0b08; }
html.nr-still .ps { display: block; position: absolute; inset: 0; z-index: 4; pointer-events: none; }
html.nr-still .ps-win { position: absolute; left: var(--ps-g); right: var(--ps-g); top: calc(var(--head-h, 56px) + 12px);
  bottom: calc(var(--ps-capb) + var(--cap-h, 210px) + 12px); container-type: size; opacity: 0; visibility: hidden; }
html.nr-still .ps-fig { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; }
html.nr-still .ps-box { position: relative; width: min(100cqw, calc(100cqh * var(--ar))); aspect-ratio: var(--ar); }
html.nr-still .ps-box > img, html.nr-still .ps-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
html.nr-still .ps-box > img { filter: none !important; background: #12100c; }
.ps-t { display: none; }
@media (min-width: 761px) { html.nr-still .ps-p { display: none; } html.nr-still .ps-t { display: block; } }
/* the camera path: a plate-tone halo cut through the stipple, then the sage line; both ink with --ink (0..1) */
.ps-svg { overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ps-halo, .ps-route { stroke-dasharray: calc(var(--len) * 1px) calc(var(--len) * 1px);
  stroke-dashoffset: calc(var(--len) * (1 - var(--ink, 1)) * 1px); }
.ps-halo { stroke: #12100c; }
.ps-route { stroke: var(--path, #a7bb98); }
.ps-ring { stroke: var(--path, #a7bb98); fill: #12100c; }
.ps-end { stroke: var(--path, #a7bb98); }
.ps-mark { stroke: #e8e0cf; fill: #e8e0cf; opacity: var(--mk, 1); }
/* the sheet: a neat line round the page's own caption (the cartouche) and the eight plates */
html.nr-still .ps-frame { position: absolute; left: var(--ps-g); right: var(--ps-g); top: calc(var(--head-h, 56px) + 12px); bottom: 14px;
  background: #12100c; border: 1px solid rgba(232, 224, 207, .45);
  box-shadow: inset 0 0 0 4px #12100c, inset 0 0 0 5px rgba(232, 224, 207, .2); opacity: 0; visibility: hidden; }
html.nr-still .ps-sheet { position: absolute; left: 8px; right: 8px; top: var(--cart-h, 120px); bottom: 8px; container-type: size;
  display: grid; place-items: center; }
html.nr-still .ps[data-sheet="1"] .ps-frame { pointer-events: auto; }
.ps-link { position: absolute; display: block; -webkit-tap-highlight-color: transparent; }
.ps-link:focus-visible { outline: 1px solid #e8e0cf; outline-offset: -2px; }
.ps-link:active { background: rgba(232, 224, 207, .06); }
/* captions: stops 1-3 at the foot (as now) in a printed card; stops 4-5 become the sheet's cartouche */
html.nr-still .h-cap { background: rgba(13, 11, 8, .94); border: 1px solid rgba(232, 224, 207, .22); box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none; transform: none !important; }
html.nr-still .h-cap .c-k::after { content: ""; display: block; width: 52px; margin-top: 9px; border-top: 3px double rgba(232, 224, 207, .32); }
html.nr-still .h-cap.h-cap--top { top: calc(var(--head-h, 56px) + 20px); left: calc(var(--ps-g) + 10px); right: calc(var(--ps-g) + 10px);
  width: auto; margin: 0; padding: 10px 8px 0; background: transparent; border: 0; text-align: center; }
html.nr-still .h-cap.h-cap--top .c-k::after { margin-inline: auto; }
html.nr-still .h-cap.h-cap--top h2 { font-size: clamp(24px, 6.4vw, 34px); }
html.nr-still .h-cap.h-cap--top p { margin-top: 8px; font-size: 14.5px; line-height: 1.5; }
html.nr-still #go, html.nr-still .f-cap-credit { display: none !important; }
@media (max-width: 760px) { html.nr-still .h-rail { display: none; } }
/* tablet landscape: stops 1-3 as on desktop (caption left, the plate right); stops 4-5 a cartouche column on the left */
@media (min-width: 761px) and (orientation: landscape) {
  html.nr-still .h-cap:not(.h-cap--top) { width: min(420px, 38%); }
  html.nr-still .ps-win { left: calc(var(--ps-g) + min(420px, 38%) + 24px); bottom: 24px; }
  html.nr-still .h-cap.h-cap--top { right: auto; width: min(360px, 32%); text-align: left; top: calc(var(--head-h, 56px) + 34px); }
  html.nr-still .h-cap.h-cap--top .c-k::after { margin-inline: 0; }
  html.nr-still .ps-sheet { top: 8px; left: calc(min(360px, 32%) + 40px); }
}
/* the pick sheet (stop 5): a printed slip at the foot, no motion */
.ps-pick[hidden] { display: none !important; }
html.nr-still .ps-pick { position: fixed; inset: 0; z-index: 70; pointer-events: auto; }
.ps-pick-scrim { position: absolute; inset: 0; background: rgba(13, 11, 8, .62); }
.ps-pick-box { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 16px calc(22px + env(safe-area-inset-bottom));
  background: #12100c; border-top: 1px solid rgba(232, 224, 207, .45); box-shadow: inset 0 4px 0 #12100c, inset 0 5px 0 rgba(232, 224, 207, .2);
  display: grid; gap: 10px; }
@media (min-width: 761px) { .ps-pick-box { left: 50%; right: auto; bottom: 24px; width: 440px; transform: translateX(-50%); border: 1px solid rgba(232, 224, 207, .45); } }
.ps-pick-k { margin: 0; font: italic 400 15px/1.3 var(--display); color: #b9ae96; }
.ps-pick-x { position: absolute; top: 8px; right: 8px; min-width: 44px; min-height: 44px; padding: 0 10px; background: none; border: 0;
  color: #e8e0cf; font: 400 14px/1 var(--sans, system-ui); cursor: pointer; }
.ps-pick-box h3 { margin: 0; font: 500 26px/1.15 var(--display); color: #e8e0cf; }
.ps-pick-m { margin: 0 0 6px; font: 400 11px/1.4 var(--mono); letter-spacing: .2em; color: #9c927e; }
.ps-pick-box .btn { display: flex; justify-content: space-between; align-items: center; min-height: 52px; }
.ps-pick-dm { border-color: rgba(185, 166, 220, .7) !important; color: #e8e0cf; }
/* the walk picture on touch screens is toned in its file (/img/still/*_walk.webp): no second tone from CSS */
@media (hover: none), (pointer: coarse) { html.nr-still .h-place #still { filter: none !important; } }
html.nr-still .h-hint { max-width: min(46ch, calc(100vw - 32px)); }   /* the plate label (nowrap) sets the box width */

/* ============================================================ BUTTONS v1 for PHONES AND TABLETS ONLY (owner 11-16: "re work
   buttons only for phone and tablet"). Design: the button audit (scratchpad plan2/BUTTONS.md). Every rule sits inside one
   touch query, so a desktop (fine pointer that hovers) sees no change at all.
   Kinds: PRIMARY filled accent, one per group; SECONDARY 1 px hairline box; TEXT words + arrow (a phone turns every
   action after a group's first box into this); TOGGLE one joined strip, one row, scrolls sideways; ICON 44 x 44; GLASS
   controls over a picture or the 3-D view; FIELD 44 px. Square, hairline, no glow, no scale on press, one focus ring. */
@media (hover: none), (pointer: coarse) {
  :root {
    --b-h: 44px;                 /* md: every format */
    --b-h-lg: 50px;              /* lg: the hero action on a desktop (the approved home hero is 50 px); 48 px below 1200 px */
    --b-h-sm: 36px;              /* sm: toggles with a fine pointer; 44 px on touch */
    --b-px: 20px; --b-px-lg: 24px; --b-px-sm: 14px;
    --b-gap: 10px;               /* words to arrow */
    --b-row: 12px;               /* box to box */
    --b-type: 600 15px/1 var(--sans);
    --b-type-sm: 600 14px/1 var(--sans);
    --b-ls: .02em;
    --b-line: rgba(255, 255, 255, .4);          /* secondary hairline (the bar's Contact uses the same) */
    --b-line-q: rgba(255, 255, 255, .22);       /* toggles, fields */
    --b-hover: rgba(255, 255, 255, .06);
    --b-press: rgba(255, 255, 255, .12);
    --b-glass: rgba(0, 0, 0, .86);
    --b-glass-line: rgba(255, 255, 255, .3);
    --b-ring: #f3f5f6;
  }
  @media (max-width: 1199px) { :root { --b-h-lg: 48px; } }
  @media (max-width: 760px) { :root { --b-px: 18px; --b-px-lg: 20px; --b-row: 10px; } }
  @media (pointer: coarse) { :root { --b-h-sm: 44px; } }

  /* ------------------------------------------------------------ one focus ring for every control */
  body.v12 :focus-visible { outline: 2px solid var(--b-ring); outline-offset: 3px; border-radius: 0; }
  body.v12 :is(.xp, .h-stage, .f-atlas-stage) :focus-visible { outline-offset: 2px; box-shadow: 0 0 0 5px #000; }   /* over a picture: a black halo keeps the ring visible on a light picture */
  body.v12 :is(.nr-nav .nr-a, .nr-dd-btn, .nr-cta, .v4-menu-btn):focus-visible { outline: 2px solid var(--b-ring); outline-offset: -2px; }

  /* ------------------------------------------------------------ the box: one geometry, one type */
  body.v12 .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--b-gap);
    width: auto; max-width: 100%; min-height: var(--b-h); padding: 0 var(--b-px);
    border: 1px solid var(--b-line); border-radius: 0; background: transparent; box-shadow: none;
    font: var(--b-type); letter-spacing: var(--b-ls); color: var(--fg); text-decoration: none; text-align: center;
    white-space: nowrap; cursor: pointer; transform: none; transition: background-color .18s, border-color .18s, color .18s; }
  body.v12 .btn:active { background: var(--b-press); transform: none; }
  body.v12 .btn--lg { min-height: var(--b-h-lg); padding: 0 var(--b-px-lg); font: var(--b-type); letter-spacing: var(--b-ls); }
  body.v12 .btn--sm { min-height: var(--b-h-sm); padding: 0 var(--b-px-sm); font: var(--b-type-sm); }
  body.v12 .btn--wide { width: auto; }
  /* primary: the accent (bone; lilac inside ML areas, by the colour roles of v12.css) */
  body.v12 :is(.btn--acc, .btn--ion) { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
  body.v12 :is(.btn--acc, .btn--ion):focus-visible { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }   /* focus never looks like hover */
  body.v12 :is(.btn--acc, .btn--ion):active { background: var(--acc-rim); border-color: var(--acc-rim); }
  /* not available yet: a dashed box, no fill, no hover */
  body.v12 :is(.btn--static, .btn[aria-disabled="true"], button.btn:disabled) {
    background: transparent !important; border: 1px dashed var(--b-line) !important; color: var(--fg-3) !important; cursor: not-allowed; }
  /* the arrow: one glyph per job; regular weight; a small nudge where a mouse hovers */
  body.v12 :is(.btn, .btn--text) :is(.arr, [aria-hidden="true"]:last-child) { font-weight: 400; transition: transform .2s var(--ease); }
  @media (hover: hover) {
    body.v12 .btn:hover { background: var(--b-hover); border-color: #fff; color: #fff; }
    body.v12 :is(.btn--acc, .btn--ion):hover { background: #fff; border-color: #fff; color: #000; }
    body.v12 :is(.btn, a.more):hover .arr { transform: translateX(3px); }
    body.v12 :is(.btn, a.more):hover .arr--down { transform: translateY(2px); }
    body.v12 :is(.btn, a.more):hover .arr--ext { transform: translate(2px, -2px); }
  }
  /* groups: one gap; a wrapper span never adds its own gap (xclean: Download sat 4 px from GitHub, 0 px on a phone) */
  body.v12 :is(.btns, .h-cta, .h-cap-cta, .d-cap-cta, .dm-cta, .dm-dl, .ab-mail, .pl-acts) { display: flex; flex-wrap: wrap; align-items: center; gap: var(--b-row); }
  body.v12 .btns > span[data-code-when] { display: contents; }
  body.v12 .dm-cta + .dm-dl { margin-top: var(--b-row); }

  /* ------------------------------------------------------------ text actions: words and an arrow, no box */
  body.v12 :is(a.more, .btn--text) {
    display: inline-flex; align-items: center; gap: 8px; min-height: 0; margin: 0; padding: 10px 0; border: 0; background: none;
    font: var(--b-type); letter-spacing: .01em; color: #fff; text-decoration: none; }
  @media (hover: hover) { body.v12 :is(a.more, .btn--text):hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; } }
  @media (pointer: coarse) { body.v12 :is(a.more, .btn--text) { min-height: 44px; padding: 0; } }

  /* ------------------------------------------------------------ PHONE: buttons that do not eat the screen
     1 one box per group (its primary); every other action of the group is a text action beside it or under it;
     2 44 px (md) and 48 px (lg) only, 15 px words, the box is as wide as its words (never 100 %);
     3 filters and toggles: one sideways-scrolling row, never two to four wrapped rows;
     4 a list of cards shows its action as words ("Walk in ->"), not eight filled boxes. */
  @media (max-width: 760px) {
    body.v12 :is(.btns, .h-cta, .h-cap-cta, .d-cap-cta, .dm-cta, .dm-dl, .ab-mail, .pl-acts) { gap: 0 24px; }
    body.v12 :is(.btns, .h-cta, .h-cap-cta, .d-cap-cta, .dm-cta, .ab-mail) > .btn:not(.btn--acc):not(.btn--ion),
    body.v12 .btns > span[data-code-when] > .btn:not(.btn--ion), body.v12 .pl-acts > .btn, body.v12 .h-more {
      min-height: 44px; padding: 0; border: 0; background: none; font: var(--b-type); font-style: normal; letter-spacing: .01em; color: #fff; text-decoration: none; }
  }
  /* safety net: a demoted action without an arrow gets one (fix the markup too: tools/build_static.py, about.html, xclean.html) */
  @media (max-width: 760px) {
    body.v12 :is(.btns, .ab-mail) > .btn:not(.btn--acc):not(.btn--ion):not(:has(.arr, [aria-hidden="true"]))::after { content: "\2192"; font-weight: 400; }
  }
  /* the depth model's downloads go to other sites: one quiet row of text actions on every format, not three boxes */
  body.v12 .dm-dl { gap: 0 26px; }
  body.v12 .dm-dl > .btn { min-height: 44px; padding: 0; border: 0; background: none; color: #fff; }
  @media (hover: hover) { body.v12 .dm-dl > .btn:hover { background: none; text-decoration: underline; text-underline-offset: 6px; } }
  /* the place cards on the 3-D places page: a secondary box (desktop, tablet), words on a phone; the bone fill stays for the page's one main action */
  body.v12 .pl-acts > .btn--ion { background: transparent; border-color: var(--b-line); color: var(--fg); }
  @media (hover: hover) { body.v12 .pl-acts > .btn--ion:hover { background: var(--b-hover); border-color: #fff; color: #fff; } }

  /* ------------------------------------------------------------ toggles: one joined hairline strip, one row */
  body.v12 :is(.seg, .dm-routes, .dm-switch, .dm-same-views, .xp-speed) {
    display: flex; flex-wrap: nowrap; gap: 0; padding: 0; border: 0; border-radius: 0; background: none;
    max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x proximity; }
  body.v12 :is(.seg, .dm-routes, .dm-switch, .dm-same-views, .xp-speed)::-webkit-scrollbar { display: none; }
  body.v12 :is(.seg, .dm-routes, .dm-switch, .dm-same-views, .xp-speed) > button {
    flex: none; position: relative; display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; min-height: var(--b-h-sm); margin: 0 0 0 -1px; padding: 0 var(--b-px-sm);
    border: 1px solid var(--b-line-q); border-radius: 0; background: #000; box-shadow: none;
    font: var(--b-type-sm); letter-spacing: .01em; color: var(--fg-2); white-space: nowrap; cursor: pointer; scroll-snap-align: start; }
  body.v12 :is(.seg, .dm-routes, .dm-switch, .dm-same-views, .xp-speed) > button:first-of-type { margin-left: 0; }
  @media (hover: hover) { body.v12 :is(.seg, .dm-routes, .dm-switch, .dm-same-views, .xp-speed) > button:hover { z-index: 1; color: #fff; border-color: rgba(255, 255, 255, .55); } }
  body.v12 :is(.seg, .dm-routes, .dm-switch, .dm-same-views, .xp-speed) > button[aria-pressed="true"] { z-index: 2; background: #f3f5f6; border-color: #f3f5f6; color: #000; }
  body.v12 :is(.seg, .dm-routes, .dm-switch, .dm-same-views, .xp-speed) > button:focus-visible { z-index: 3; outline: 2px solid #000; outline-offset: -4px; box-shadow: inset 0 0 0 4px #f3f5f6; }
  body.v12 .xp-speed .xp-speed-l { flex: none; align-self: center; margin-right: 10px; }
  body.v12 .dm-photo-btn { min-height: var(--b-h-sm); padding: 0 var(--b-px-sm); border: 1px solid var(--b-line-q); border-radius: 0; font: var(--b-type-sm); }
  body.v12 .dm-photo-btn[aria-pressed="true"] { background: #f3f5f6; border-color: #f3f5f6; color: #000; }
  /* a phone: the strip runs to the screen edge and fades there, so it reads as "more to the side" */
  @media (max-width: 760px) {
    body.v12 :is(.seg, .dm-routes) { margin-inline: calc(-1 * var(--gutter, 16px)); padding-inline: var(--gutter, 16px); scroll-padding-inline: var(--gutter, 16px);
      -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), #0000); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), #0000); }
  }
  /* photo thumbnails: square; the chosen one has the white ring (no lilac glow); a phone scrolls them in one row */
  body.v12 .dm-thumbs button { border-radius: 0; border: 1px solid var(--b-line-q); box-shadow: none; }
  body.v12 .dm-thumbs button[aria-pressed="true"] { border-color: #f3f5f6; box-shadow: inset 0 0 0 1px #f3f5f6; }
  @media (max-width: 760px) {
    body.v12 .dm-thumbs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter, 16px)); padding-inline: var(--gutter, 16px); }
    body.v12 .dm-thumbs button { flex: none; width: 76px; }
  }

  /* ------------------------------------------------------------ fields */
  body.v12 :is(select.sel, input.search) { height: var(--b-h); padding: 0 14px; border: 1px solid var(--b-line-q); border-radius: 0; background-color: #000; font: 400 15px/1 var(--sans); }
  @media (hover: hover) { body.v12 :is(select.sel, input.search):hover { border-color: rgba(255, 255, 255, .55); } }

  /* ------------------------------------------------------------ icon buttons: 44 x 44 square, no box on the bar */
  body.v12 .v4-menu-btn { height: 44px; min-width: 44px; padding: 0 12px; border-color: transparent; border-radius: 0; background: none; font: 500 14.5px/1 var(--sans); }
  @media (hover: hover) { body.v12 .v4-menu-btn:hover { border-color: transparent; background: var(--b-hover); } }
  body.v12 :is(.f-pick-x, .xp-hint-x, .mx-card-x, .ps-pick-x) { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; border-radius: 0; }
  body.v12 .code .copy { border-radius: 0; }

  /* ------------------------------------------------------------ the bar's Contact: a secondary, quiet hover */
  @media (hover: hover) { body.v12 .nr-cta:hover { background: var(--b-hover); border-color: #fff; color: #fff; } }
  @media (pointer: coarse) { body.v12 .nr-cta { min-height: 44px; } }

  /* ------------------------------------------------------------ chips: labels, not buttons */
  body.v12 .v4-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 11px; border-radius: 0;
    background: var(--b-glass); border-color: var(--b-glass-line); font: 600 13.5px/1 var(--sans); letter-spacing: .01em; }
  body.v12 .chip--warn { border-color: var(--b-line); border-style: dashed; color: var(--fg-2); }
  body.v12 :is(.v4-tag, .dm-rel, .pl-step-label, .pl-you span, .pl-pick span) { border-radius: 0 !important; }

  /* ------------------------------------------------------------ glass: the controls and panels over the 3-D view, square */
  body.v12 :is(.xp-panel, .xp-hint, .xp-you, .xp-photo figcaption, .xp-said, .xp-cannot, .xp-above-t, .xp-eng, .xp-eng-ask,
    .xp-noscript, .xp-move, .xp-dock, .xp-sheet, .xp-map, .xp-ride-t, .xp-print) { border-radius: 0 !important; }
  body.v12 :is(.xp-nav, .xp-about, .xp-help, .xp-keep, .xp-center, .xp-x, .xp-back, .xp-pill) {
    border-radius: 0 !important; background: var(--b-glass); border: 1px solid var(--b-glass-line); }
  body.v12 :is(.xp-about, .xp-help, .xp-keep, .xp-center, .xp-x, .xp-back) { font: var(--b-type-sm); letter-spacing: .01em; }
  @media (hover: hover) { body.v12 :is(.xp-nav, .xp-about, .xp-above, .xp-help, .xp-keep, .xp-center, .xp-x, .xp-back, .xp-pill):hover { border-color: #fff; background: #111; } }
  body.v12 .xp-nav { width: 44px; height: 44px; }
  @media (min-width: 761px) {
    body.v12 .xp-above { min-height: 40px; padding: 0 12px; border-radius: 0 !important; background: var(--b-glass); border: 1px solid var(--b-glass-line); font: var(--b-type-sm); }
  }
  /* the ride dock: Step and Back are 44 px keys (they were 34 px; 30 px on a phone) */
  body.v12 .xp-dock .xp-steps .xp-key { height: 44px !important; min-width: 92px; border-radius: 0 !important; border-color: var(--b-glass-line); font: var(--b-type-sm); }
  @media (max-width: 760px) {
    body.v12 .xp-dock .xp-steps { grid-auto-flow: column; }
    body.v12 .xp-dock .xp-steps .xp-key { min-width: 48px; width: 48px; height: 48px !important; padding: 0; flex-direction: column; gap: 3px;
      font: 500 9.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
    body.v12 .xp-dock .xp-steps .xp-key svg { width: 18px; height: 18px; }
    body.v12 .xp-auto { min-height: 48px; }
  }
  /* the home stage: the pick card of the eight places */
  body.v12 .f-atlas-pick { gap: var(--b-row); }
  body.v12 .f-atlas-pick .btn { justify-content: space-between; }

  /* ------------------------------------------------------------ cards and doors: square */
  body.v12 :is(.v4-placerow-item, .v4-placerow-item:focus-visible, .pl-item, .pl-pic, .h4-frame, .h4-door, .h4-door:focus-visible, .h4-beat-pic,
    .h4-engdoor, .mx-card, .v4-tip, .v4-tip img, .dm-stage, .dm-frame, .dm-step, .dm-next-card, .dm-same-pic, .dm-specs) { border-radius: 0 !important; }
  body.v12 .pl-eng > summary::before { border-radius: 0; }

  /* ------------------------------------------------------------ the home hero keeps its approved size: the one lg action (50 px desktop, 48 px below) */
  body.v12 :is(.h-cta, .h-cap-cta) > .btn:is(.btn--acc, .btn--ion) { min-height: var(--b-h-lg); padding: 0 var(--b-px-lg); }
  @media (min-width: 761px) { body.v12 .h-cta > .h-more { min-height: var(--b-h-lg); padding: 0 var(--b-px-lg); } }
  /* the 3-D view's place switch on a phone: the word "change" is the cue; the chevron had no room and was cut in half */
  @media (max-width: 760px) { body.v12 .xp-pill-v { display: none; } }
  /* the eight places as a list (phones; desktops without 3-D): the two actions were 23 px underlined words that wrapped
     unevenly; now one row of two text actions, 44 px each, under the name */
  body.v12 .f-atlas-list li { align-items: center; gap: 0 24px; }
  body.v12 .f-al-l { flex: 1 0 auto; }
  body.v12 .f-atlas-list a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: var(--b-type); letter-spacing: .01em; color: #fff; text-decoration: none; }
  body.v12 .f-atlas-list a::after { content: "\2192"; font-weight: 400; }
  @media (max-width: 760px) { body.v12 .f-al-l { flex-basis: 100%; margin: 2px 0 0; } }
}

/* ------------------------------------------------------------ AR (js/xr/table.js, js/xr/walk.js): the WebXR DOM overlay, square and
   quiet, over the camera view; the end sheet of a walk */
.xr-canvas { position: fixed; inset: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.xr-ui { position: fixed; inset: 0; z-index: 100; pointer-events: auto; touch-action: none; color: #f3f5f6; font: 500 15px/1.4 var(--sans, system-ui); }
.xr-top { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: max(10px, env(safe-area-inset-top)) 12px 10px 16px; background: rgba(0, 0, 0, .72); border-bottom: 1px solid rgba(255, 255, 255, .22); }
.xr-t { margin: 0; font: 500 11px/1.3 var(--mono, ui-monospace, monospace); letter-spacing: .18em; color: #e8e0cf; }
.xr-x, .xr-move { min-height: 44px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 0; background: rgba(0, 0, 0, .86);
  color: #f3f5f6; font: 600 15px/1 var(--sans, system-ui); }
.xr-move[hidden] { display: none; }
.xr-say { position: absolute; left: 16px; right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); margin: 0; padding: 10px 14px;
  background: rgba(0, 0, 0, .72); border: 1px solid rgba(255, 255, 255, .22); text-align: center; }
.xr-foot { position: absolute; left: 0; right: 0; bottom: calc(20px + env(safe-area-inset-bottom)); display: flex; justify-content: center; }
.xp-link--ar[hidden], .xr-walk-cta[hidden], #xr-walk[hidden] { display: none; }
.xr-walk-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 14px 0 0; }
.xr-walk-n { font: 400 14px/1.4 var(--sans, system-ui); color: var(--fg-2, #c9c9c9); }
.xr-end { position: fixed; inset: 0; z-index: 100; display: grid; align-items: end; background: rgba(0, 0, 0, .62); }
.xr-end-box { display: grid; gap: 10px; padding: 22px 16px calc(22px + env(safe-area-inset-bottom)); background: #0b0b0c;
  border-top: 1px solid rgba(255, 255, 255, .45); color: #f3f5f6; font: 400 15px/1.5 var(--sans, system-ui); }
.xr-end-box p { margin: 0; }
.xr-end-k { font: 500 11px/1 var(--mono, ui-monospace, monospace) !important; letter-spacing: .2em; color: #e8e0cf; }
.xr-end-box h3 { margin: 0; font: 500 28px/1.15 var(--display, Georgia, serif); }
.xr-end-acts { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin-top: 6px; }
@media (min-width: 761px) { .xr-end { align-items: center; justify-items: center; } .xr-end-box { width: 460px; border: 1px solid rgba(255, 255, 255, .45); } }
.xr-toast { position: fixed; z-index: 120; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); margin: 0; padding: 12px 14px;
  background: #0b0b0c; border: 1px solid rgba(255, 255, 255, .45); color: #f3f5f6; font: 500 15px/1.4 var(--sans, system-ui); text-align: center; }

/* ============================================================ BUTTONS v1.1 (phones and tablets only): fixes from the review */
@media (hover: none), (pointer: coarse) {
  /* iOS zooms into a field under 16 px */
  body.v12 :is(select.sel, input.search) { font-size: 16px; }
  /* the classic | ML switch only works below 900 px (two places side by side above) */
  @media (min-width: 900px) { body.v12 .dm-switch { display: none; } }
  /* a strip on a phone: the fade leaves the next item half seen, so the row reads as "more to the side" */
  @media (max-width: 760px) {
    body.v12 :is(.seg, .dm-routes) { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 64px), rgba(0, 0, 0, .3)); mask-image: linear-gradient(90deg, #000 calc(100% - 64px), rgba(0, 0, 0, .3)); }
  }
  /* no hover sticks after a tap (two page rules outside the system had unguarded hovers) */
  body.v12 :is(.btn--acc, .btn--ion):hover { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
  body.v12 .nr-cta:hover { background: none; border-color: var(--b-line); color: var(--fg); }
  @media (hover: hover) {
    body.v12 :is(.btn--acc, .btn--ion):hover { background: #fff; border-color: #fff; color: #000; }
    body.v12 .nr-cta:hover { background: var(--b-hover); border-color: #fff; color: #fff; }
  }
  /* 44 px for every control */
  body.v12 .xp-above { min-height: var(--b-h); }
  /* the plain pages' text action: the same type as every other text action */
  body.v12 .pg-plain .v4-plain .more { font: var(--b-type); margin-top: 0; }
  /* a box in a group without an arrow gets one on every touch width (fix the markup too) */
  body.v12 :is(.btns, .ab-mail) > .btn:not(.btn--acc):not(.btn--ion):not(:has(.arr, [aria-hidden="true"]))::after { content: "\2192"; margin-left: 2px; font-weight: 400; }
  /* round markers keep their shape with the focus ring */
  body.v12 :is(.pl-step, .pl-ring, .xp-auto-ic):focus-visible { border-radius: 999px; }
}
@media (hover: none), (pointer: coarse) { html body.v12 .dm-tilt[aria-pressed="true"] { background: var(--acc, #e8e0cf); border-color: var(--acc, #e8e0cf); color: var(--on-acc, #1a1712); } }

/* the company's goal (owner 11-21): the home's own About section, and the About page's ecosystem list */
.v12 .h4-about .eyebrow { margin-bottom: 14px; }
.v12 .h4-about .h4-goal { margin-top: 0; }
.v12 .h4-about .h4-status { margin-top: clamp(28px, 4vw, 52px); }
.v12 .h4-about-who { margin: clamp(22px, 3vw, 34px) 0 0; max-width: 64ch; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.5; color: var(--fg-2); }
.v12 .h4-about-who a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.v12 .h4-about-who + .h4-about-more { margin-top: 10px; }
.v12 .h4-about-more { margin: clamp(18px, 2.4vw, 28px) 0 0; }
.v12 .ab-eco .ab-st, .v12 .ab-build .ab-st { display: inline-block; margin-left: 4px; color: var(--fg-3, #9a9a9a); font-size: .92em; }
.v12 .ab-eco .ab-st--on, .v12 .ab-build .ab-st--on { color: var(--acc); }
.v12 .ab-build .ab-st { display: block; margin: 6px 0 0; }   /* a full sentence: its own line, no indent when it wraps */

/* the Phone / Touch switch (owner 11-21: the phone look is the default, "option to toggle to touch"): two halves of one
   piece; the lit half is what runs. Touch devices only: it stays hidden where the phone look cannot run (a desktop). */
.dm-look, .h-look { display: inline-flex; align-items: stretch; border: 1px solid rgba(255, 255, 255, .32); background: rgba(0, 0, 0, .6); }
.dm-look[hidden], .h-look[hidden] { display: none; }
.dm-look-b, .h-look-b { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 0;
  background: transparent; color: var(--fg, #f3f5f6); font: 600 14px/1 var(--sans, system-ui); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.dm-look-b + .dm-look-b, .h-look-b + .h-look-b { border-left: 1px solid rgba(255, 255, 255, .32); }
.dm-look-b svg, .h-look-b svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dm-look-b[aria-pressed="true"], .h-look-b[aria-pressed="true"] { background: var(--acc, #e8e0cf); color: var(--on-acc, #1a1712); }
.dm-look-b:focus-visible, .h-look-b:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.h-look { margin: 10px auto 0; pointer-events: auto; }   /* the hint lets taps through to the place; its switch takes them */
.h-hint .h-look { display: flex; width: max-content; }
.h-hint .h-look[hidden] { display: none; }
.h-look-b { min-height: 40px; padding: 0 12px; font-size: 13.5px; }
/* the home's goal line is now the About section's h2: it keeps the approved weight of the old goal line (check 11-21) */
.v12 .h4-sec h2.h4-goal-t { font-weight: 800; letter-spacing: -.03em; }
html.nr-still .v12 .h4-sec h2.h4-goal-t { padding-bottom: 0; border-bottom: 0; }
/* the Phone / Touch switches: an inset focus ring (the group clips an outward one) */
body.v12 :is(.xp-look, .dm-look, .h-look) > button:focus-visible { position: relative; z-index: 3; outline: 2px solid #000; outline-offset: -4px; box-shadow: inset 0 0 0 4px #f3f5f6; }

/* site build: the pictures are recoloured to the accent already (tools/make_site_v12.py), so no hue turn */
:root, :root[data-acc] { --still-rot: 0deg !important; --still-sat: 1 !important; }
/* the v4 header on the other pages, in the V11 finish */
.v12 .v4-head { background: #000; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.v12 .v4-wordmark { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; }
.v12 .v4-wordmark i { font-weight: 400; }
.v12 .v4-door { border-radius: 0; box-shadow: none; }
.v12 .xp-dock, .v12 .xp-auto, .v12 .xp-auto-ic, .v12 .xp-dock .xp-steps .xp-key, .v12 .xp-speed button { border-radius: 0 !important; }
.v12 .xp-auto { box-shadow: 0 0 0 1px var(--acc); }
/* V11: square buttons and chips on every page; the serif wordmark (Robotics in italic), no ring */
.v12 .btn, .v12 .chip, .v12 .v4-chip, .v12 .v4-tag, .v12 .v4-door { border-radius: 0 !important; }
.v12 .wordmark { font: 600 21px/1 var(--display); gap: .28em; letter-spacing: -.01em; }
.v12 .wordmark::before { display: none; }
.v12 .wordmark i { font-style: italic; font-weight: 400; color: var(--fg); }
