@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #13121b;
  --aubergine: #201e2d;
  --graphite: #595662;
  --paper: #f7f7f8;
  --hair: #dcdae1;
  --violet: #7263a5;
  --lilac: #cdc1ef;
  --apricot: #ffc29e;
  --sans: "DM Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "PingFang SC", ui-monospace, monospace;
  --gutter: clamp(20px, 5.5vw, 88px);
  --radius: 12px;
  color: var(--ink);
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}
body {
  margin: 0;
  background: var(--paper);
  font-size: 1rem;
  line-height: 1.55;
}
body.expanded {
  overflow: hidden;
}
::selection {
  color: var(--ink);
  background: #f7bc9e;
}
button,
select,
input {
  font: inherit;
}
button,
select,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
select {
  color: inherit;
}
button {
  border: 0;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
.table-scroll:focus-visible {
  outline: 3px solid #8c73da;
  outline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
}
figure,
dl,
dd,
p,
h1,
h2,
h3 {
  margin: 0;
}
button {
  background: transparent;
}
.wrap {
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.symbol-bank {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.icon {
  display: inline-block;
  width: 1.14em;
  height: 1.14em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.visually-hidden,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  padding: 10px 18px;
  background: white;
  color: var(--ink);
  z-index: 100;
}
.eyebrow,
.rail-heading {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #686271;
}
.section-line {
  height: 2px;
  width: 25px;
  background: var(--violet);
}
.mast {
  position: sticky;
  top: 0;
  z-index: 12;
  color: #faf8ff;
  background: #111018f7;
  border-bottom: 1px solid #ffffff15;
  backdrop-filter: blur(16px);
}
.mast-row {
  height: 67px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.34rem;
  letter-spacing: -0.055em;
  font-weight: 690;
  line-height: 1;
}
.brand svg {
  width: 31px;
  height: 31px;
  color: var(--apricot);
}
.mast nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.8vw, 49px);
  margin-left: auto;
}
.mast nav a,
.mast-actions {
  font-size: 0.91rem;
}
.mast nav a {
  color: #c9c5d4;
  padding: 14px 0;
  transition: color 0.18s;
}
.mast nav a:hover,
.mast nav a[aria-current] {
  color: var(--apricot);
}
.mast-actions {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-left: 8px;
}
#language {
  font-size: 0.84rem;
  font-weight: 540;
  padding: 8px 5px;
  color: #d9d6e2;
}
.mast-paper {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1px solid #ffffff39;
  border-radius: 7px;
  font-weight: 550;
}
.mast-paper:hover {
  background: #ffffff12;
}
#menu {
  display: none;
  align-items: center;
  justify-content: center;
  color: inherit;
  width: 34px;
  height: 36px;
  font-size: 1.12rem;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #101017;
  color: #faf9f6;
}
.hero-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(ellipse at 77% 75%, #e1a48e19, transparent 33%), radial-gradient(
    ellipse at 75% 42%,
    #353049 0%,
    #23202e 28%,
    #14131c 55%,
    #101017 77%
  );
}
.hero-field::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.17;
  background-image: radial-gradient(#b5a9cd 0.68px, transparent 0.75px);
  background-size: 10px 10px;
  mask-image: linear-gradient(to right, transparent 18%, #000 72%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.93fr 1.23fr;
  align-items: center;
  min-height: clamp(462px, 37vw, 608px);
  padding: 50px 0 42px;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
h1 {
  font-size: clamp(6rem, 8.2vw, 8.7rem);
  line-height: 0.99;
  font-weight: 545;
  letter-spacing: -0.094em;
  margin: 21px 0 19px;
}
h1 span {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: #dfd1fa;
  letter-spacing: -0.065em;
  margin-left: 0.028em;
}
.formal {
  max-width: 510px;
  font-size: clamp(1.35rem, 1.78vw, 1.92rem);
  line-height: 1.22;
  letter-spacing: -0.031em;
  font-weight: 480;
  text-wrap: balance;
}
.hero-summary {
  max-width: 480px;
  font-size: 1.015rem;
  line-height: 1.53;
  color: #c6c1d0;
  margin-top: 16px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 27px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 7px;
  padding: 11px 17px;
  min-height: 46px;
  font-size: 0.96rem;
  font-weight: 610;
  line-height: 1.25;
  transition:
    background 0.16s,
    transform 0.16s;
}
.button:hover {
  transform: translateY(-2px);
}
.button.primary {
  color: #271c1c;
  background: var(--apricot);
  border: 1px solid var(--apricot);
}
.button.primary:hover {
  background: #ffd3b7;
}
.button.ghost {
  color: #f0edf4;
  border: 1px solid #ffffff40;
  background: #ffffff04;
}
.button.ghost:hover {
  background: #ffffff0f;
}
.hero-plate {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  margin-left: 2%;
}
.plate-space {
  height: 100%;
  min-height: clamp(350px, 27vw, 425px);
  position: relative;
  isolation: isolate;
}
.hero-room {
  position: absolute;
  inset: -4% -4% -2%;
  width: 108%;
  max-width: none;
  height: 106%;
  object-fit: contain;
  filter: drop-shadow(0 20px 18px #08071266);
}
.hero-photo, .hero-orbit {
  opacity: 0;
  pointer-events: none;
}
#hero-stage[data-frame="input"] .hero-poster,
#hero-stage[data-frame="video"] .hero-poster {
  opacity: 0;
}
#hero-stage[data-frame="input"] .hero-photo,
#hero-stage[data-frame="video"] .hero-orbit {
  opacity: 1;
}
.hero-operation-labels {
  pointer-events: none;
  filter: none;
  opacity: 0;
}
.hero-orbit, .hero-operation-labels {
  transform: scale(var(--op-magnification, 1));
  transform-origin: 50% 18%;
}
#hero-stage[data-frame="video"] .hero-operation-labels {
  opacity: 1;
}
.hero-orbit[data-matte] {
  mask-image: radial-gradient(ellipse closest-side, #000 88%, transparent 151%);
}
.film-controls[hidden], .film-scrub[hidden], #hero-playback[hidden], .hero-readout[hidden],
.film-chapters button[hidden] {
  display: none;
}
.floor-grid {
  position: absolute;
  isolation: isolate;
  inset: 9% -8% -7%;
  z-index: -1;
  opacity: 0.29;
  transform: perspective(440px) rotateX(58deg) rotateZ(-21deg);
  background-image:
    linear-gradient(to right, #a39bbd58 1px, transparent 1px),
    linear-gradient(to bottom, #a39bbd58 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse, black 16%, #0009 48%, transparent 74%);
}
.registration {
  position: absolute;
  width: 12px;
  height: 12px;
  opacity: 0.6;
}
.registration::before,
.registration::after {
  content: "";
  background: #b4a8cb;
  position: absolute;
}
.registration::before {
  width: 100%;
  height: 1px;
  top: 5px;
}
.registration::after {
  height: 100%;
  width: 1px;
  left: 5px;
}
.reg-a {
  left: 5%;
  top: 8%;
}
.reg-b {
  right: 0;
  bottom: 6%;
}
.plate-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "note note" "steps room" "transport transport";
  grid-template-rows: minmax(2.65rem, auto) 33px auto;
  align-items: center;
  gap: 3px 12px;
  color: #ded9e7;
  font: 500 0.85rem/1.25 var(--sans);
  position: relative;
  margin: 10px 3px -4px 3%;
}
.operation-navigation {
  display: inline-flex;
  grid-area: steps;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  justify-self: start;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
}
.operation-navigation[hidden] { display: none; }
.operation-navigation > button, .operation-navigation > select {
  background: #302c3a;
  color: #f2eaf2;
  border: 1px solid #d7c8de40;
  border-radius: 5px;
  min-height: 29px;
  font: 500 .83rem/1.25 var(--sans);
  cursor: pointer;
}
.operation-navigation > button { width: 30px; flex: none; font-size: 1.15rem; }
.operation-navigation > button:disabled { opacity: .38; cursor: default; }
.operation-navigation > select { appearance: auto; padding: 2px 6px; max-width: 23em; min-width: 0; text-overflow: ellipsis; }
.operation-navigation > .op-inspect {
  width:auto;
  font:500 .8rem/1.25 var(--sans);
  margin-left:5px;
  padding:3px 6px;
  color:#e0d3ed;
  white-space:nowrap;
  background:transparent;
}
#branch-dialog {
  width:min(540px,calc(100vw - 28px));
  padding:clamp(16px,3.5vw,27px);
}
.branch-values {margin:15px 0;}
.branch-values > div {display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--hair);}
.branch-values dt {color:var(--graphite);}
.branch-values dd {font:500 1rem/1.4 var(--mono);}
#branch-children {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;}
#branch-children button {border:1px solid #d4c6cc;background:#f8e8dd;border-radius:5px;min-height:35px;font:600 .95rem var(--mono);cursor:pointer;}
#branch-children button[data-split="false"] {background:#e0ebf0;}
#branch-children button[aria-pressed="true"] {outline:2px solid #645077;outline-offset:0;}
.branch-outcome {font-weight:600;}
.branch-level {display:flex;align-items:center;gap:10px;margin:11px 0 3px;font-size:.9rem;}
.branch-level select {width:auto;padding:4px 22px 4px 7px;font:500 .9rem var(--mono);appearance:auto;}
@media (max-width: 375px) {
  .plate-caption a {justify-content:center;width:32px;min-height:30px;}
  .plate-caption a span {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
  .film-chapters button {padding-inline:1px;}
}
.operation-entries {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(150px,.48fr);
  border-top: 1px solid #dbd3e12b;
}
.operation-entries > button {
  display: flex;
  align-items: center;
  gap: clamp(10px,1.3vw,22px);
  min-width: 0;
  padding: 12px clamp(8px,2vw,30px) 13px 0;
  border: 0;
  color: #f1edf2;
  text-align: left;
  cursor: pointer;
}
.operation-entries > button:hover strong, .operation-entries > button:focus-visible strong { color: var(--apricot); }
.operation-entries > button img { width: clamp(72px,7vw,108px); height: auto; flex: none; }
.operation-entries > button > span {display: grid; gap: 4px;}
.operation-entries strong {font-size: clamp(.98rem,1.1vw,1.15rem); font-weight: 600;}
.operation-entries small,.operation-stat span {font-size: .85rem; color: #c5bfce; line-height: 1.4;}
.operation-entries > button .icon {color: var(--apricot);width: 14px;height:14px;flex:none;}
.operation-stat {display:grid;align-content:center;justify-content:end;gap:3px;margin:13px 0;}
.operation-stat strong {font:500 1.26rem/1.28 var(--sans);}
@media (max-width: 780px) {
  .operation-navigation {width:100%;gap:3px;}
  .operation-navigation > select {flex:1 1 0;width:0;max-width:20em;padding-inline:2px;}
  .operation-navigation > button {width:27px;}
  .operation-navigation > .op-inspect {width:auto;margin-left:2px;padding-inline:5px;}
  .operation-entries {grid-template-columns: repeat(2,minmax(0,1fr));}
  .operation-entries > button {gap:6px;padding:9px 4px;}
  .operation-entries > button img {width:clamp(40px,9vw,69px);}
  .operation-entries > button .icon {display:none;}
  .operation-entries small {font-size:.76rem;}
  .operation-stat {grid-column:1/-1;display:flex;align-items:baseline;justify-content:flex-start;gap:8px;margin:0 0 11px 4px;}
  .operation-stat strong {font-size:.83rem;}
  .operation-stat span {font-size:.75rem;}
}
.film-controls, .film-chapters {
  display: flex;
  align-items: center;
}
.hero-readout {
  grid-area: note;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  align-content: center;
  min-height: 2.65rem;
  gap: 2px 10px;
  line-height: 1.43;
}
#hero-step-copy {
  color: #e8e3ed;
}
#hero-step-scale {
  color: #ffd1b7;
  font: 500 .82rem/1.35 var(--mono);
  white-space: nowrap;
  padding: 2px 0;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
#hero-step-scale[hidden], #hero-level[hidden] {
  display: none;
}
#hero-level {
  width: auto;
  margin: 0;
  padding: 3px 20px 3px 7px;
  border: 1px solid #ffffff35;
  border-radius: 4px;
  appearance: none;
  background: linear-gradient(45deg,transparent 50%,#e0cfdf 50%) right 9px center / 4px 4px no-repeat,
              linear-gradient(135deg,#e0cfdf 50%,transparent 50%) right 5px center / 4px 4px no-repeat,
              #25222e;
  color: #ffddc7;
  font: 500 .8rem/1.35 var(--mono);
  cursor: pointer;
}
.film-controls {
  grid-area: transport;
  gap: 10px;
}
.film-controls button {
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
#hero-playback {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border: 1px solid #b8acc15f;
  border-radius: 50%;
  color: #f8e6d6;
}
#hero-playback:hover {
  color: white;
  border-color: var(--apricot);
  background: #ffffff0c;
}
.film-chapters {
  display: grid;
  grid-template-columns: repeat(5, max-content) minmax(0, 1fr);
  justify-content: start;
  align-content: center;
  gap: 0 clamp(3px,1.15vw,16px);
  flex: 1;
  min-width: 0;
}
.film-chapters button {
  width: max-content;
  min-height: 25px;
  padding: 2px 5px;
  border: 0;
  border-radius: 4px;
  color: #c6bfd2;
  text-align: left;
}
.film-chapters button:last-of-type {
  justify-self: end;
  text-align: right;
}
.film-chapters button[aria-pressed="true"] {
  color: #ffdfcc;
  background: #ffd2ae1b;
}
.film-scrub {
  --played: 100%;
  grid-column: 1 / -1;
  appearance: none;
  width: 100%;
  height: 20px;
  margin: -1px 0 0;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: linear-gradient(to right, var(--apricot) var(--played), #817a8d var(--played)) center / 100% 2px no-repeat;
  cursor: ew-resize;
  touch-action: pan-y;
}
.film-scrub:focus-visible {
  outline: 2px solid #c9b6ec;
  outline-offset: 1px;
}
.film-scrub::-webkit-slider-thumb {
  appearance: none;
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: #ffdbc3;
}
.film-scrub::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: #ffdbc3;
}

.section {
  padding-block: clamp(62px, 6vw, 96px);
  scroll-margin-top: 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(26px, 6vw, 96px);
  margin-bottom: 32px;
}
h2 {
  font-size: clamp(2.65rem, 4.15vw, 4.5rem);
  font-weight: 525;
  line-height: 1.025;
  letter-spacing: -0.068em;
  text-wrap: balance;
}
.eyebrow + h2 {
  margin-top: 12px;
}
.section-intro {
  max-width: 445px;
  font-size: 1.02rem;
  line-height: 1.57;
  color: var(--graphite);
}
.explorer {
  background: #f7f7f9;
}
.explorer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(252px, 24%, 327px);
  overflow: hidden;
  border: 1px solid #d8d5df;
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 35px -28px #25213166;
}
.scene-screen {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: clamp(390px, 33vw, 535px);
  isolation: isolate;
  background: radial-gradient(ellipse at 50% 40%, #383640 0%, #2a2932 53%, #1e1d26 100%);
  color: #f1eef5;
}
#stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: grab;
  touch-action: none;
  outline-offset: -4px;
}
#stage:active {
  cursor: grabbing;
}
#stage:focus-visible {
  outline: 2px solid #d3b9fa;
}
#stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.screen-top,
.screen-bottom {
  position: absolute;
  left: 17px;
  right: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
  z-index: 2;
}
.screen-top {
  top: 16px;
  align-items: flex-start;
}
.screen-bottom {
  bottom: 15px;
  align-items: flex-end;
}
.screen-top > *:not(.gesture),
.screen-bottom > div {
  pointer-events: auto;
}
.screen-bottom::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -25px -18px -16px;
  background: linear-gradient(transparent, #13121b8c);
}
.mode-switch,
.zoom-controls,
.screen-btn {
  border: 1px solid #ffffff27;
  background: #191822d9;
  backdrop-filter: blur(8px);
}
.mode-switch,
.zoom-controls {
  display: inline-flex;
  align-items: center;
  border-radius: 7px;
  padding: 3px;
}
.mode-switch button {
  display: inline-flex;
  white-space: nowrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #c7c3d1;
  padding: 7px 10px;
  font-size: 0.83rem;
  line-height: 1.2;
}
.mode-switch button[aria-pressed="true"] {
  color: #211d29;
  background: #ede8f6;
}
.screen-btn,
.light-btn {
  width: 37px;
  height: 37px;
  display: inline-grid;
  place-items: center;
  color: inherit;
  border-radius: 6px;
  line-height: 1;
  font-size: 1.05rem;
}
.screen-btn:hover,
.zoom-controls .screen-btn:hover {
  background: #423b50;
}
.zoom-controls .screen-btn {
  width: 32px;
  height: 31px;
  border: none;
  background: transparent;
}
.zoom-controls .screen-btn:last-child {
  border-left: 1px solid #ffffff27;
  border-radius: 0 4px 4px 0;
}
.gesture {
  font: 400 0.75rem/1.4 var(--mono);
  color: #e1dce6;
  text-shadow: 0 1px 5px #111;
}
.screen-status {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: 75%;
  color: #fff;
  padding: 8px 14px;
  background: #201c29e8;
  border-radius: 6px;
  font-size: 0.9rem;
  text-align: center;
}
.screen-status:empty {
  display: none;
}
.scene-rail {
  padding: 23px 19px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.rail-heading {
  letter-spacing: 0.09em;
  color: #645f71;
  font-size: 0.74rem;
}
.scene-source {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font: 400 0.73rem/1.45 var(--mono);
  color: #665d76;
}
.scene-source a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.scene-title {
  margin-top: 8px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 580;
}
.scene-observation {
  margin-top: 10px;
  color: var(--graphite);
  font-size: 0.94rem;
  line-height: 1.48;
}
#input-preview {
  position: relative;
  display: block;
  width: 100%;
  margin: 14px 0;
  padding: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--ink);
}
#input-preview img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
}
#input-preview > span {
  position: absolute;
  left: 6px;
  bottom: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border-radius: 4px;
  font: 400 0.68rem/1.35 var(--mono);
  background: #181520d9;
  color: #fff;
}
#input-preview:disabled {
  cursor: default;
}
.scene-picker {
  grid-column: 1 / -1;
  border-top: 1px solid var(--hair);
  padding: 14px 16px 16px;
  background: #fcfbfd;
}
.picker-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.picker-heading small {
  font: 400 0.72rem/1.35 var(--mono);
  color: var(--graphite);
}
.scene-previews {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2px;
  overflow: hidden;
  border-radius: 4px;
}
.proof-link {
  align-self: flex-start;
  margin-top: 8px;
  color: #685076;
  font-size: 0.86rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.plate-caption a {
  grid-area: room;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  min-height: 38px;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #b6a8ca80;
}
.plate-caption a:hover {
  color: var(--apricot);
}
.scene-options {
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}
.scene-choice {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  min-width: 0;
  padding: 4px;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--ink);
  transition: background 0.14s;
}
.scene-choice:hover {
  background: #f2eff6;
}
.scene-choice[aria-pressed="true"] {
  background: #eee9f6;
  border-color: #aa96c9;
}
.scene-choice img {
  width: 100%;
  height: clamp(52px, 5.6vw, 86px);
  object-fit: cover;
  background: #dedde3;
}
.scene-choice .cutaway-thumb {
  object-fit: contain;
  background: #24212d;
}
.scene-choice span {
  display: grid;
  align-content: start;
  padding: 5px 3px 3px;
  gap: 2px;
}
.scene-choice strong {
  font-size: 0.93rem;
  font-weight: 610;
  line-height: 1.25;
}
.scene-choice small {
  font: 400 0.7rem/1.35 var(--mono);
  color: #686273;
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
#geo-options {
  border-top: 1px solid #dedbe2;
  padding-top: 5px;
}
.switch-row {
  position: relative;
  clear: both;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  gap: 12px;
  cursor: pointer;
  font-size: 0.91rem;
}
.switch-row input {
  position: absolute;
  right: 0;
  margin: 0;
  opacity: 0;
  width: 34px;
  height: 22px;
}
.toggle {
  width: 33px;
  height: 19px;
  padding: 3px;
  background: #cbc9d1;
  border-radius: 12px;
  display: block;
  transition: background 0.15s;
  flex: none;
}
.toggle::before {
  content: "";
  display: block;
  width: 13px;
  height: 13px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px #0002;
  transition: transform 0.16s;
}
.switch-row input:checked + .toggle {
  background: #77629b;
}
.switch-row input:checked + .toggle::before {
  transform: translateX(14px);
}
.switch-row input:focus-visible + .toggle {
  outline: 3px solid #a286c7;
  outline-offset: 3px;
}
#geo-options:disabled {
  opacity: 0.44;
}
#geo-options:disabled label {
  cursor: default;
}
.rail-note {
  font-size: 0.83rem;
  line-height: 1.48;
  color: #6b6574;
  margin-top: 13px;
}
#flat-panorama {
  width: fit-content;
  margin-top: 8px;
  font-size: 0.85rem;
  color: #685076;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rail-note.key-occluded::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin: 0 6px 1px 0;
  border-radius: 50%;
  background: #e59869;
}
.scene-screen.is-expanded {
  position: fixed;
  inset: 0;
  z-index: 40;
  border-radius: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
.scene-screen.is-expanded .screen-top {
  top: max(16px, env(safe-area-inset-top));
}
.scene-screen.is-expanded .screen-bottom {
  bottom: max(16px, env(safe-area-inset-bottom));
}

.method {
  background: white;
  border-block: 1px solid var(--hair);
}
.paper-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--hair);
  border-radius: 8px;
  background: #f1f0f3;
  flex-shrink: 0;
}
.paper-switch button {
  padding: 8px 13px;
  border-radius: 5px;
  color: #645d6d;
  font-size: 0.91rem;
  line-height: 1.25;
  font-weight: 535;
}
.paper-switch button[aria-pressed="true"] {
  background: var(--aubergine);
  color: white;
}
.paper-switch button:hover:not([aria-pressed="true"]) {
  background: #e7e5ea;
  color: var(--ink);
}
.method-exhibit {
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 48px);
  display: grid;
  gap: 28px;
  background: #fff;
}
.method-annotation {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: clamp(22px, 5vw, 80px);
  align-items: start;
}
.method-annotation h3 {
  font-size: clamp(1.5rem, 2.1vw, 2.25rem);
  font-weight: 530;
  line-height: 1.15;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.method-annotation p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--graphite);
}
.diagram-open {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: white;
  padding: 8px;
  cursor: zoom-in;
  border-radius: 6px;
}
.diagram-open img {
  width: 100%;
  height: auto;
}
.diagram-zoom {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 7px;
  background: #f3f1f6e8;
  border: 1px solid var(--hair);
  color: #61596d;
}
.method-exhibit[data-method-panel="flow"] {
  grid-template-columns: 1fr minmax(320px, 1.15fr);
  align-items: center;
  gap: clamp(25px, 6vw, 100px);
}
.method-exhibit[data-method-panel="flow"] .method-annotation {
  display: block;
}
.method-exhibit[data-method-panel="flow"] .method-annotation p {
  margin-top: 14px;
}
.method-exhibit[data-method-panel="flow"] .diagram-open img {
  max-height: 405px;
  object-fit: contain;
}
dialog {
  border: 1px solid var(--hair);
  color: var(--ink);
  border-radius: 12px;
  background: white;
  padding: 0;
  width: min(1350px, 94vw);
  max-height: 92dvh;
}
dialog::backdrop {
  background: #110e1bb8;
  backdrop-filter: blur(4px);
}
#code-dialog {
  width: min(625px, calc(100vw - 28px));
  padding: clamp(16px, 3.5vw, 28px);
  color: var(--ink);
}
.code-dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.code-dialog-head h3 {
  font-size: clamp(1.22rem, 3.4vw, 1.65rem);
}
.code-intro, .code-note {
  color: var(--graphite);
  font-size: .92rem;
  line-height: 1.5;
  margin: 8px 0 12px;
}
.code-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px,2.2vw,18px);
}
.code-pair canvas {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: #302e3a;
  border-radius: 4px;
  image-rendering: pixelated;
}
.code-pair figcaption {
  margin: 6px 0 0;
  font-weight: 580;
  font-size: .91rem;
}
.code-height {
  margin: 18px 0 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
}
.code-height input {
  min-width: 36px;
  flex: 1;
  accent-color: #736098;
}
.code-height output {
  font-family: var(--mono);
  min-width: 4.4em;
  text-align: right;
}
.code-note {margin-bottom: 0}
.code-inspect {border:0;padding:0;cursor:pointer}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--hair);
}
.dialog-top strong {
  font-weight: 550;
}
#original-figure {
  margin-left: auto;
  white-space: nowrap;
  color: #665078;
  font-size: 0.83rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.light-btn {
  background: #f0eef3;
  width: 34px;
  height: 34px;
}
.diagram-scroll {
  overflow: auto;
  padding: 16px;
  max-height: calc(92dvh - 55px);
}
.figure-note {
  padding: 8px 15px 0;
  font-size: 0.87rem;
  color: var(--graphite);
}
#large-diagram {
  margin: auto;
  max-height: 76dvh;
  object-fit: contain;
  width: auto;
}

.results {
  background: #f3f2f6;
}
.table-panel {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--hair);
  overflow: hidden;
}
.table-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 22px;
}
.select-label {
  display: flex;
  gap: 10px;
  align-items: center;
}
.select-label > span:first-child,
.view-selects label > span:first-child {
  color: #665e71;
  font-size: 0.86rem;
  font-weight: 520;
}
.select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.select-wrap::after {
  content: "";
  position: absolute;
  right: 15px;
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
  pointer-events: none;
}
select {
  appearance: none;
  border: 1px solid #d1cdd8;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.91rem;
  line-height: 1.4;
  padding: 8px 35px 8px 12px;
}
.table-scroll {
  overflow-x: auto;
  scrollbar-width: thin;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
th,
td {
  padding: 12px clamp(10px, 2vw, 32px);
  vertical-align: middle;
}
thead th {
  font-size: 0.82rem;
  color: #5e5769;
  font-weight: 540;
  border-block: 1px solid #e0dde5;
  background: #f6f5f8;
  white-space: nowrap;
}
thead th .units {
  display: block;
  color: #726b7b;
  font: 400 0.73rem/1.5 var(--mono);
}
tbody td {
  font: 400 0.91rem/1.5 var(--mono);
  color: #4c4657;
  border-bottom: 1px solid #eae8ee;
}
tbody th {
  font-size: 0.96rem;
  font-weight: 570;
  border-bottom: 1px solid #eae8ee;
}
th:first-child {
  text-align: left;
  padding-left: 24px;
}
.our-row {
  background: #eee9f7;
  box-shadow: inset 3px 0 #8b74ab;
}
.our-row th,
.our-row td {
  color: #463559;
}
.fused-note {
  margin-left: 8px;
  color: #716b7b;
  font: 400 0.73rem var(--mono);
  white-space: nowrap;
}
.protocol {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  padding: 13px 23px 2px;
  color: #625b6d;
  font-size: 0.89rem;
  line-height: 1.55;
}
.score-directions {
  white-space: nowrap;
}
.score-scroll-hint {
  color: var(--graphite);
  font-size: 0.8rem;
  padding: 0 13px 6px;
}
.reading-details {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--graphite);
}
.reading-details summary {
  width: fit-content;
  padding-block: 5px;
  color: #604b76;
  font-weight: 555;
  cursor: pointer;
}
.reading-details summary:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
}
.metric-guide {
  margin: 0 23px 12px;
}
.metric-guide dl {
  display: grid;
  grid-template-columns: minmax(11rem, 0.7fr) 2fr;
  gap: 8px 20px;
  margin: 10px 0 14px;
}
.metric-guide dt {
  color: var(--ink);
  font-weight: 580;
}
.metric-guide p,
.render-guide p {
  max-width: 78ch;
  margin-top: 8px;
}
.render-guide {
  margin-top: 12px;
}
.render-guide p:last-child {
  font-size: 0.86rem;
}
.recon-details {
  display: grid;
  grid-template-columns: minmax(200px, 0.8fr) 2fr;
  align-items: center;
  gap: clamp(23px, 4vw, 70px);
  padding-top: 30px;
}
.recon-details[hidden] {
  display: none;
}
.detail-copy h3 {
  font-size: clamp(1.42rem, 2vw, 2.05rem);
  font-weight: 535;
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.detail-copy p {
  font-size: 0.96rem;
  color: var(--graphite);
  line-height: 1.55;
  margin-top: 10px;
}
.detail-pictures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.detail-pictures button {
  cursor: zoom-in;
  border-radius: 6px;
  border: 1px solid var(--hair);
  overflow: hidden;
  padding: 0;
  display: block;
  width: 100%;
  background: white;
}
.detail-pictures img {
  width: 100%;
  height: auto;
}
.detail-pictures figcaption {
  text-align: center;
  font-size: 0.83rem;
  color: var(--graphite);
  margin-top: 5px;
}
.detail-pictures figure:nth-child(2) figcaption {
  color: #654f83;
  font-weight: 630;
}

.views {
  background: #fff;
}
.view-grid {
  display: grid;
  grid-template-columns: 1fr minmax(350px, 0.98fr);
  gap: clamp(40px, 8vw, 135px);
  align-items: center;
}
.view-copy {
  max-width: 500px;
}
.view-copy h2 {
  max-width: 9em;
}
.view-lead {
  color: var(--graphite);
  margin-top: 21px;
  font-size: 1.07rem;
  line-height: 1.57;
}
.view-selects {
  margin-top: 26px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 13px;
}
.view-selects label {
  display: grid;
  gap: 6px;
  align-content: start;
}
.view-selects select {
  width: 100%;
  background: #faf9fb;
}
.view-note {
  margin-top: 23px;
  border-left: 2px solid var(--violet);
  padding-left: 14px;
  font-size: 0.97rem;
  line-height: 1.5;
  color: #5e5867;
}
.view-figure {
  min-width: 0;
}
.wipe-stage {
  --wipe: 50%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1/1;
  background: #24222a;
  isolation: isolate;
}
.wipe-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.wipe-image.baseline {
  clip-path: inset(0 calc(100% - var(--wipe)) 0 0);
}
.wipe-stage.pending .wipe-image,
.wipe-stage.pending .wipe-tags,
.wipe-stage.pending .wipe-divider {
  visibility: hidden;
}
.wipe-tags {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 5px;
}
.wipe-tags span {
  background: #17151ddc;
  color: white;
  padding: 5px 9px;
  border-radius: 4px;
  font: 400 0.73rem/1.35 var(--mono);
}
.wipe-tags span:last-child {
  background: #eee6faee;
  color: #362b40;
}
.wipe-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--wipe);
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 6px #28233180;
}
.wipe-divider span {
  position: absolute;
  left: 1px;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 12px #17151d35;
  color: #282432;
}
.wipe-divider svg {
  width: 22px;
  height: 22px;
}
#wipe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.wipe-stage:focus-within {
  outline: 3px solid var(--violet);
  outline-offset: 4px;
}
.view-figure figcaption {
  text-align: center;
  margin-top: 11px;
  font-size: 0.85rem;
  color: #655d70;
}
.footer {
  padding: 38px 0 42px;
  background: #14121b;
  color: #f8f5fb;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
}
.footer .brand {
  font-size: 1.15rem;
}
.footer .brand svg {
  width: 26px;
  height: 26px;
}
.footer p {
  color: #bdb6ca;
  font-size: 0.87rem;
  max-width: 470px;
  line-height: 1.4;
  margin-top: 8px;
}
.footer-links {
  display: flex;
  gap: 23px;
  flex-wrap: wrap;
  font-size: 0.94rem;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover {
  color: var(--apricot);
}

html[lang="zh-CN"] .formal,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] .method-annotation h3 {
  letter-spacing: -0.035em;
}
html[lang="zh-CN"] .eyebrow,
html[lang="zh-CN"] .rail-heading {
  letter-spacing: 0.1em;
}
@media (max-width: 1040px) {
  .mast-row {
    gap: 20px;
  }
  .hero-grid {
    grid-template-columns: 1fr 1.08fr;
  }
  .hero-summary {
    max-width: 395px;
  }
  .section-intro {
    max-width: 365px;
  }
  .view-selects {
    grid-template-columns: 1fr;
  }
  .view-selects select {
    min-width: 180px;
  }
}
@media (max-width: 780px) {
  .mode-switch .icon {
    display: none;
  }
  html {
    scroll-padding-top: 68px;
  }
  .mast-row {
    height: 59px;
    gap: 12px;
  }
  .mast nav {
    gap: 16px;
  }
  .mast-actions {
    gap: 9px;
    margin-left: 5px;
  }
  .hero-grid {
    min-height: 430px;
    grid-template-columns: 1fr 0.95fr;
    padding: 40px 0;
  }
  h1 {
    font-size: clamp(4.85rem, 10vw, 6rem);
  }
  .formal {
    font-size: 1.26rem;
  }
  .hero-summary {
    font-size: 0.93rem;
  }
  .hero-room {
    width: 120%;
    left: -9%;
  }
  .section-head {
    gap: 22px;
  }
  .section-intro {
    max-width: 290px;
    font-size: 0.94rem;
  }
  .explorer-shell {
    grid-template-columns: minmax(0, 1fr) 216px;
  }
  .scene-rail {
    padding: 18px 12px;
  }
  .scene-screen {
    min-height: 385px;
  }
  .scene-options {
    gap: 3px;
  }
  .scene-choice strong {
    font-size: 0.83rem;
  }
  .screen-top,
  .screen-bottom {
    left: 11px;
    right: 11px;
  }
  .gesture {
    max-width: 180px;
  }
  .method-exhibit[data-method-panel="flow"] {
    grid-template-columns: 1fr 1fr;
  }
  .view-grid {
    grid-template-columns: 0.9fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 640px) {
  :root {
    --gutter: 20px;
    --radius: 9px;
  }
  .mast-row {
    height: 56px;
    justify-content: space-between;
  }
  .mast nav {
    display: none;
  }
  .mast-actions {
    margin-left: auto;
    gap: 14px;
  }
  .brand {
    font-size: 1.2rem;
  }
  .brand svg {
    width: 27px;
    height: 27px;
  }
  #menu {
    display: inline-flex;
  }
  .mast nav.open {
    display: grid;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    gap: 0;
    padding: 6px var(--gutter) 12px;
    background: #17151f;
    border-bottom: 1px solid #393441;
    box-shadow: 0 8px 12px #1112;
  }
  .mast nav.open a {
    padding: 10px 4px;
    border-bottom: 1px solid #ffffff13;
  }
  .mast nav.open a:last-child {
    border: 0;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 34px 0 18px;
  }
  .hero-copy {
    max-width: 500px;
  }
  h1 {
    font-size: clamp(5rem, 16vw, 6.25rem);
    margin: 13px 0 12px;
  }
  .formal {
    font-size: clamp(1.18rem, 4.7vw, 1.55rem);
    max-width: 29em;
    text-wrap: pretty;
  }
  .hero-summary {
    font-size: 0.94rem;
    max-width: 34em;
    margin-top: 10px;
    line-height: 1.43;
  }
  .hero-actions {
    margin-top: 17px;
  }
  .button {
    padding: 9px 13px;
    min-height: 41px;
    font-size: 0.89rem;
  }
  .hero-plate {
    width: 100%;
    margin: 0;
  }
  .plate-space {
    height: clamp(220px, 65vw, 352px);
    min-height: 0;
  }
  .hero-room {
    inset: 0 -1%;
    width: 102%;
    height: 100%;
  }
  .plate-caption {
    margin: 1px 0 0;
    gap: 7px;
    font-size: 0.8rem;
  }
  .film-controls {
    gap: 6px;
  }
  .film-chapters {
    width: auto;
    column-gap: 3px;
  }
  .film-chapters button {
    padding-inline: 2px;
  }
  .hero-field {
    background: radial-gradient(ellipse at 67% 64%, #352e47 0, #1f1c29 37%, #121119 68%);
  }
  .section {
    padding-block: 47px;
  }
  .section-head {
    display: grid;
    gap: 14px;
    margin-bottom: 21px;
  }
  .eyebrow + h2 {
    margin-top: 8px;
  }
  .eyebrow {
    font-size: 0.7rem;
  }
  .section-intro {
    max-width: 100%;
    font-size: 0.97rem;
  }
  .explorer-shell {
    display: flex;
    flex-direction: column;
  }
  .scene-screen {
    min-height: 0;
    aspect-ratio: 1.11/1;
  }
  .scene-picker {
    order: 1;
    padding: 11px 10px;
  }
  .scene-rail {
    order: 2;
    padding: 16px;
    border-top: 1px solid var(--hair);
  }
  .scene-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin: 7px 0 0;
  }
  .scene-choice {
    padding: 3px;
  }
  .scene-choice img {
    height: clamp(50px, 13vw, 70px);
  }
  .scene-choice span {
    padding: 4px 2px 2px;
  }
  .scene-choice strong {
    font-size: 0.8rem;
  }
  .scene-choice small {
    font-size: 0.65rem;
  }
  .scene-title {
    font-size: 1.65rem;
  }
  .scene-observation {
    margin-top: 7px;
  }
  #input-preview {
    max-width: 270px;
  }
  .metric-guide {
    margin: 0 13px 12px;
  }
  .metric-guide dl {
    display: block;
  }
  .metric-guide dt {
    margin-top: 10px;
  }
  .switch-row {
    min-height: 34px;
  }
  .rail-note {
    margin-top: 9px;
  }
  .screen-top {
    top: 10px;
  }
  .screen-bottom {
    bottom: 10px;
  }
  .gesture {
    font-size: 0.68rem;
    max-width: 180px;
  }
  .mode-switch button {
    padding: 7px;
    min-height: 34px;
  }
  .screen-top {
    gap: 6px;
  }
  .table-tools .paper-switch {
    flex-shrink: 1;
  }
  .paper-switch {
    width: fit-content;
  }
  .paper-switch button {
    padding: 8px 10px;
    font-size: 0.86rem;
  }
  .method-exhibit,
  .method-exhibit[data-method-panel="flow"] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 16px;
  }
  .method-annotation {
    display: block;
  }
  .method-annotation p {
    margin-top: 10px;
  }
  .diagram-open {
    padding: 6px 0 15px;
  }
  .diagram-zoom {
    width: 27px;
    height: 27px;
    bottom: 0;
    right: -5px;
  }
  .method-exhibit[data-method-panel="flow"] .diagram-open img {
    max-height: 310px;
  }
  .diagram-scroll img#large-diagram[data-wide="true"] {
    min-width: 850px;
    max-width: none;
  }
  .table-tools {
    flex-wrap: wrap;
    padding: 12px;
  }
  .select-label {
    gap: 5px;
  }
  .select-label > span:first-child {
    font-size: 0.79rem;
  }
  .table-scroll table {
    min-width: 480px;
  }
  .table-scroll table.generation {
    min-width: 680px;
  }
  th,
  td {
    padding: 10px 9px;
  }
  .table-scroll th[scope="row"],
  .table-scroll thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #fff;
    box-shadow: 1px 0 #e3e0e8;
  }
  .table-scroll thead th:first-child {
    background: #f6f5f8;
  }
  .table-scroll .our-row th[scope="row"] {
    background: #eee9f7;
  }
  .recon-details {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 20px;
  }
  .detail-pictures {
    gap: 6px;
  }
  .detail-copy p {
    margin-top: 6px;
  }
  th:first-child {
    padding-left: 13px;
  }
  .protocol {
    padding: 12px 13px;
  }
  .fused-note {
    display: block;
    margin-left: 0;
  }
  .view-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .view-copy {
    max-width: none;
  }
  .view-copy h2 {
    max-width: none;
  }
  .view-lead {
    margin-top: 14px;
    font-size: 1rem;
  }
  .view-selects {
    grid-template-columns: 1.2fr 1fr;
    margin-top: 17px;
    gap: 8px;
  }
  .view-selects select {
    min-width: 0;
    font-size: 0.86rem;
  }
  .view-note {
    margin-top: 16px;
  }
  .footer {
    padding: 28px 0;
  }
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer p {
    max-width: 380px;
  }
}
@media (max-width: 375px) {
  .mast-row {
    gap: 6px;
  }
  .mast-actions {
    gap: 5px;
  }
  .mast-paper {
    padding-inline: 6px;
    gap: 4px;
    white-space: nowrap;
  }
  .mast .brand {
    gap: 6px;
    font-size: 1.08rem;
  }
  .mast .brand svg {
    width: 24px;
    height: 24px;
  }
  .hero h1 {
    font-size: clamp(4rem, 20.5vw, 4.65rem);
  }
  .mode-switch button {
    padding-inline: 5px;
    font-size: 0.8rem;
  }
  :root {
    --gutter: 16px;
  }
  .view-selects {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* The opening uses one mathematical line. Each arrow selects its operation. */
.overview-caption {
  position: relative;
  width: min(100%, 33rem);
  margin: 14px auto 0;
}
.overview .hero-room {
  inset: 0;
  width: 100%;
  height: 100%;
}
.overview[data-frame="film"] #overview-video { opacity: 1; }
.overview[data-frame="film"] #overview-poster { opacity: 0; }
.equation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(29px, .55fr) minmax(0, 1fr) minmax(29px, .55fr) minmax(0, 1fr) minmax(29px, .55fr) minmax(0, 1fr);
  align-items: start;
  text-align: center;
}
.equation var {
  display: block;
  font: italic 2.3rem/1 "Instrument Serif", Georgia, serif;
  color: #f4eaf8;
}
.equation sub {
  font: normal .43em/1 Georgia, serif;
  margin-left: 1px;
  vertical-align: -.19em;
}
.quantity small {
  display: block;
  margin-top: 5px;
  font-size: .76rem;
  line-height: 1.2;
  color: #c7c0d1;
  text-wrap: balance;
}
.operator {
  display: grid;
  align-content: start;
  justify-items: center;
  min-width: 0;
  min-height: 44px;
  padding: 0 2px 6px;
  color: #b4a4bd;
  border: 0;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}
.operator var { font-size: 1.25rem; line-height: 1; color: inherit; }
.operator .arrow {
  width: calc(100% - 8px);
  max-width: 46px;
  height: 1px;
  background: currentColor;
  position: relative;
  margin-top: 4px;
}
.operator .arrow::after {
  content: "";
  position: absolute;
  top: -2.5px;
  right: 0;
  width: 5px;
  height: 5px;
  border-top: 1px solid;
  border-right: 1px solid;
  transform: rotate(45deg);
}
.operator:hover, .operator[aria-pressed="true"] { color: var(--apricot); }
.operator[aria-pressed="true"] .arrow { box-shadow: 0 0 7px #ffc19b50; }
#overview-note {
  margin: 12px 0 1px;
  min-height: 2.6em;
  color: #d8d1de;
  font-size: .85rem;
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
}
.overview-transport {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #dfd5e6;
}
#overview-play {
  display: grid;
  place-content: center;
  width: 34px;
  height: 34px;
  flex: none;
  color: #f5e7df;
  border: 1px solid #a99bb257;
  border-radius: 50%;
  cursor: pointer;
}
#overview-play:hover { border-color: var(--apricot); color: var(--apricot); }
#overview-play .icon { width: 16px; height: 16px; }
#overview-scrub { flex: 1; width: auto; min-width: 0; }
.overview-transport [hidden] { display: none !important; }
#hero-scene {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  margin-left: auto;
  font-size: .8rem;
  white-space: nowrap;
}
#hero-scene .icon { width: 16px; height: 16px; }
#hero-scene:hover { color: var(--apricot); }
.method-calculation { margin-top: 19px; border-block: 1px solid var(--hair); }
.method-calculation > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 9px 2px;
  list-style: none;
  color: #51415b;
  font-weight: 550;
  cursor: pointer;
}
.method-calculation > summary::-webkit-details-marker { display: none; }
.method-calculation > summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; }
.method-calculation[open] > summary::after { content: "−"; }
.study {
  overflow: hidden;
  padding: clamp(14px, 3vw, 32px);
  margin-bottom: 18px;
  background: radial-gradient(ellipse at 50% 30%, #30293e, #1c1925 68%);
  border-radius: 7px;
  color: #f0eaf3;
}
.study .hero-plate { width: min(100%, 720px); margin: 0 auto 20px; }
.study .plate-space { height: auto; min-height: 0; aspect-ratio: 1120 / 804; }
.study .hero-room { inset: 0; width: 100%; height: 100%; }
.study .plate-caption { margin-inline: 0; }
@media (max-width: 780px) {
  .overview-caption { margin-top: 4px; }
  .equation var { font-size: 2rem; }
  .operator var { font-size: 1.1rem; }
  .quantity small { font-size: .71rem; }
}
@media (max-width: 640px) {
  #overview-note { margin-top: 10px; }
  .overview-transport { gap: 9px; }
}
