/* Anatomy figures (MIT, https://github.com/wheresryan22/anatomy): the kit's styles with its colour variables
   mapped onto the site tokens, for a figure sitting on a dark band (--surface-inverse). */
.otl-figure {
  --anatomy-page: var(--surface-inverse);
  --anatomy-card: color-mix(in srgb, var(--surface-inverse) 70%, black);
  --anatomy-paper: var(--anatomy-card);
  --anatomy-face: color-mix(in srgb, var(--anatomy-card) 88%, white);
  --anatomy-top: color-mix(in srgb, var(--anatomy-card) 84%, white);
  --anatomy-shade-0: color-mix(in srgb, var(--anatomy-card) 80%, black);
  --anatomy-shade-1: color-mix(in srgb, var(--anatomy-card) 90%, black);
  --anatomy-shade-2: var(--anatomy-card);
  --anatomy-shade-3: color-mix(in srgb, var(--anatomy-card) 92%, white);
  --anatomy-lit-top: color-mix(in srgb, var(--anatomy-card) 76%, white);
  --anatomy-lit-shade: color-mix(in srgb, var(--anatomy-card) 88%, white);
  --anatomy-text: var(--color-text-inverse-secondary);
  --anatomy-strong: var(--color-text-inverse);
  --anatomy-muted: color-mix(in srgb, var(--color-text-inverse-secondary) 70%, transparent);
  --anatomy-hi: color-mix(in srgb, var(--color-text-inverse) 88%, transparent);
  --anatomy-mid: color-mix(in srgb, var(--color-text-inverse) 42%, transparent);
  --anatomy-lo: color-mix(in srgb, var(--color-text-inverse) 24%, transparent);
  --anatomy-faint: color-mix(in srgb, var(--color-text-inverse) 14%, transparent);
  --anatomy-lit: var(--color-text-inverse);
  --anatomy-halo: black;
  --anatomy-halo-opacity: .7;
  --anatomy-dot: var(--color-text-inverse);
  --anatomy-red: var(--color-accent);
  --anatomy-green: var(--hue-mint);
  --anatomy-blue: var(--hue-sky);
  --anatomy-weight: .6px;
  --anatomy-ease: cubic-bezier(.32, .72, 0, 1);
  --anatomy-mono: var(--font-mono);
  width: 100%;
}
.iso-svg{display:block;width:100%;height:auto;overflow:visible}
.iso-svg path,.iso-svg circle{vector-effect:non-scaling-stroke}
.iso-fill{fill:var(--anatomy-paper);stroke:none}
.iso-solid[data-lit]>.iso-fill{fill:var(--anatomy-face)}
.iso-shade,.iso-top{stroke:none}
.iso-shade[data-shade="0"]{fill:var(--anatomy-shade-0)}
.iso-shade[data-shade="1"]{fill:var(--anatomy-shade-1)}
.iso-shade[data-shade="2"]{fill:var(--anatomy-shade-2)}
.iso-shade[data-shade="3"]{fill:var(--anatomy-shade-3)}
.iso-top{fill:var(--anatomy-top)}
.iso-solid[data-lit]>.iso-top{fill:var(--anatomy-lit-top)}
.iso-solid[data-lit]>.iso-shade{fill:var(--anatomy-lit-shade)}
.iso-solid[data-seamless]>.iso-shade,.iso-solid[data-seamless]>.iso-top{stroke-width:.4;stroke-linejoin:round}
.iso-solid[data-seamless]>.iso-shade[data-shade="0"]{stroke:var(--anatomy-shade-0)}
.iso-solid[data-seamless]>.iso-shade[data-shade="1"]{stroke:var(--anatomy-shade-1)}
.iso-solid[data-seamless]>.iso-shade[data-shade="2"]{stroke:var(--anatomy-shade-2)}
.iso-solid[data-seamless]>.iso-shade[data-shade="3"]{stroke:var(--anatomy-shade-3)}
.iso-solid[data-seamless]>.iso-top{stroke:var(--anatomy-top)}
.iso-solid[data-seamless][data-lit]>.iso-top{stroke:var(--anatomy-lit-top)}
.iso-solid[data-seamless][data-lit]>.iso-shade{stroke:var(--anatomy-lit-shade)}
.iso-solid[data-lit]>.iso-edge{stroke:var(--anatomy-lit)}
.iso-halo{fill:var(--anatomy-halo);stroke:none;filter:blur(9px);opacity:var(--anatomy-halo-opacity);transform:translateY(3px)}
.iso-line{fill:none;stroke:var(--anatomy-lo);stroke-width:var(--anatomy-weight);stroke-linecap:round;stroke-linejoin:round}
.iso-line[data-tone="hi"]{stroke:var(--anatomy-hi)}
.iso-line[data-tone="mid"]{stroke:var(--anatomy-mid)}
.iso-line[data-tone="lo"]{stroke:var(--anatomy-lo)}
.iso-line[data-tone="faint"]{stroke:var(--anatomy-faint)}
.iso-line[data-tone="lit"]{stroke:var(--anatomy-lit)}
.iso-line[data-tone="red"]{stroke:var(--anatomy-red)}
.iso-line[data-tone="green"]{stroke:var(--anatomy-green)}
.iso-line[data-tone="blue"]{stroke:var(--anatomy-blue)}
.iso-line[data-dotted]{stroke-dasharray:.01 3.5;stroke-width:1}
.iso-line[data-dashed]{stroke-dasharray:3 3}
.iso-line[data-flow]{stroke-dasharray:2 6}
.iso-wire-end{fill:var(--anatomy-paper);stroke:var(--anatomy-lo);stroke-width:var(--anatomy-weight)}
.iso-wire[data-tone="hi"] .iso-wire-end{stroke:var(--anatomy-hi)}
.iso-wire[data-tone="mid"] .iso-wire-end{stroke:var(--anatomy-mid)}
.iso-wire[data-tone="faint"] .iso-wire-end{stroke:var(--anatomy-faint)}
.iso-wire[data-tone="lit"] .iso-wire-end{stroke:var(--anatomy-lit)}
.iso-dots circle{fill:var(--anatomy-dot);stroke:none;opacity:.32}
.iso-dots[data-tone="hi"] circle{opacity:.85}
.iso-dots[data-tone="mid"] circle{opacity:.45}
.iso-dots[data-tone="lo"] circle{opacity:.22}
.iso-dots[data-tone="faint"] circle{opacity:.12}
.iso-face-text{fill:var(--anatomy-mid);font-family:var(--anatomy-mono);letter-spacing:.04em}
.iso-face-text[data-tone="hi"]{fill:var(--anatomy-hi)}
.iso-face-text[data-tone="lo"]{fill:var(--anatomy-lo)}
.iso-face-text[data-tone="faint"]{fill:var(--anatomy-faint)}
.tb-body{fill:var(--anatomy-shade-2);stroke:none}
.tb-shine{fill:var(--anatomy-top);stroke:none}
.tb-shade{fill:var(--anatomy-shade-0);stroke:none}
.tb-ring{fill:none;stroke:var(--anatomy-lo);stroke-width:.45;stroke-linecap:butt;stroke-linejoin:round}
.tb-ring[data-tone="mid"]{stroke:var(--anatomy-mid)}
.tb-ring[data-tone="faint"]{stroke:var(--anatomy-faint)}
.tb-ring[data-tone="hi"]{stroke:var(--anatomy-hi)}
@keyframes iso-flow{to{stroke-dashoffset:-32}}
@keyframes iso-pulse{0%,100%{opacity:.18}12%{opacity:1}40%{opacity:.18}}
.iso-line[data-flow]{animation:iso-flow 1600ms linear infinite}
.iso-dots circle[data-pulse]{animation:iso-pulse 1600ms steps(1,end) infinite;animation-delay:var(--pulse-at,0ms)}

.iso-plate{position:relative;padding:52px 24px;border-radius:0;background:var(--anatomy-card);box-shadow:0 0 0 1px var(--anatomy-mid);--anatomy-paper:var(--anatomy-card)}
.iso-plate-corners{position:absolute;inset:18px 20px;pointer-events:none}
.iso-plate-corner{position:absolute;color:var(--anatomy-muted);font-family:var(--anatomy-mono);font-size:10.5px;line-height:1;letter-spacing:.04em;white-space:nowrap}
.iso-plate-corner[data-corner="fig"]{top:0;left:0;color:var(--anatomy-text)}
.iso-plate-corner[data-corner="title"]{top:0;right:0;text-transform:uppercase;letter-spacing:.1em}
.iso-plate-corner[data-corner="hint"]{bottom:0;left:0;text-transform:uppercase;letter-spacing:.1em}
.iso-plate-corner[data-corner="readout"]{right:0;bottom:0;color:var(--anatomy-text);font-variant-numeric:tabular-nums}
.iso-plate .iso-svg{margin:0 auto}
.iso-legend{display:grid;gap:8px;margin-top:12px;color:var(--anatomy-muted);font-size:13px;line-height:1.55}
.iso-keys{display:flex;flex-wrap:wrap;gap:6px 18px}
.iso-key{display:inline-flex;align-items:center;gap:7px}
.iso-swatch{width:16px;height:10px;flex:none;overflow:visible}
.iso-swatch path{fill:none;stroke:var(--anatomy-hi);stroke-width:1;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round}
.iso-swatch[data-mark="raised"] path,.iso-swatch[data-mark="flat"] path{stroke:var(--anatomy-mid)}
.iso-swatch[data-mark="lit"] path{stroke:var(--anatomy-lit)}
.iso-swatch[data-mark="dim"] path{stroke:var(--anatomy-lo)}
.iso-swatch[data-mark="dotted"] path{stroke-dasharray:.01 3;stroke-width:1.4}
.iso-swatch[data-mark="dashed"] path{stroke-dasharray:3 2.5}
.iso-swatch[data-mark="red"] path{stroke:var(--anatomy-red)}
.iso-swatch[data-mark="green"] path{stroke:var(--anatomy-green)}
.iso-swatch[data-mark="blue"] path{stroke:var(--anatomy-blue)}
.iso-swatch-crease{stroke:var(--anatomy-lo)!important}
@media (max-width:560px){.iso-plate{padding:48px 12px 70px}.iso-plate-corner[data-corner="hint"]{bottom:18px}}
@media (prefers-reduced-motion:reduce){.iso-line[data-flow],.iso-dots circle[data-pulse]{animation:none}}

.otl-figure .iso-figure { margin: 0; }
/* line style: outlines only; fills stay paper-coloured so nearer parts still hide what is behind them */
.otl-figure .iso-shade, .otl-figure .iso-top, .otl-figure .iso-halo { display: none; }
.otl-figure .iso-solid[data-lit] > .iso-fill { fill: var(--anatomy-paper); }
.otl-figure .iso-plate { padding: 36px 8px; background: transparent; box-shadow: none; --anatomy-paper: var(--surface-inverse); --anatomy-card: var(--surface-inverse); } /* plain: the figure sits on the band itself */
.otl-figure .iso-plate-corner { font: var(--t-label-12-mono); letter-spacing: .04em; }
.otl-figure .iso-stage { outline-offset: 6px; cursor: pointer; }
.otl-figure .iso-stage:focus-visible { outline: 2px solid var(--color-accent); }

/* Homepage "The only way to find out" band: text on the left, the figure on the right (stacked on phones) */
.StudioBlock_section.otl-snap .StudioBlock_container { display: flex; flex-direction: column; gap: var(--space-8); max-width: 76rem; margin-inline: auto; }
.otl-figure .iso-plate-corner[data-corner="readout"] { left: 0; right: 0; text-align: center; } /* only the live readout survives; the other corner labels are stripped at build */
.StudioBlock_section.otl-snap .StudioBlock_figure { width: 100%; max-width: 40rem; margin: 0 auto; }
@media (min-width: 960px) {
  .StudioBlock_section.otl-snap .StudioBlock_container { flex-direction: row; align-items: center; justify-content: center; gap: var(--space-10); }
  .StudioBlock_section.otl-snap .StudioBlock_textwrapper { flex: 0 1 38%; max-width: none; padding-block: 0; }
  .StudioBlock_section.otl-snap .StudioBlock_figure { flex: 0 1 56%; max-width: 46rem; margin: 0; }
}
