:root {
  --night: #07110f;
  --night-2: #0b1916;
  --night-3: #10231e;
  --paper: #eeeae0;
  --paper-deep: #ded8ca;
  --ink: #10201c;
  --muted: #68746e;
  --line: rgba(16, 32, 28, .16);
  --white: #f8f7f2;
  --acid: #caff55;
  --mint: #7fffd8;
  --ember: #ff7047;
  --amber: #ffc95b;
  --shell: min(1380px, calc(100vw - 72px));
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-smooth: cubic-bezier(.65, 0, .35, 1);
  --pointer-x: 0;
  --pointer-y: 0;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--night);
  color: var(--white);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--acid);
  color: var(--night);
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--acid);
  color: var(--night);
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  width: var(--shell);
  height: 86px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  color: inherit;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  width: 34px;
  height: 34px;
  overflow: visible;
  fill: none;
  stroke: var(--acid);
  stroke-linecap: round;
  stroke-width: 1.6;
}

.brand-mark circle {
  fill: var(--acid);
  stroke: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  position: relative;
  color: rgba(255, 255, 255, .66);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--acid);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease-out);
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 10px 10px 10px 18px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(5, 13, 11, .24);
  backdrop-filter: blur(14px);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color .25s ease, background .25s ease;
}

.nav-cta span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: var(--night);
}

.nav-cta:hover {
  border-color: rgba(202, 255, 85, .7);
  background: rgba(5, 13, 11, .5);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--night);
}

.hero-media,
.hero-media video,
.hero-wash,
.map-grid,
.hero-scan {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  overflow: hidden;
  background: #13271f;
}

.hero-media video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 63% 47%;
  filter: saturate(.78) contrast(1.07) brightness(.7);
  transform: scale(1.035) translate3d(calc(var(--pointer-x) * -7px), calc(var(--pointer-y) * -5px), 0);
  transition: filter .8s ease;
  will-change: transform;
}

.hero-wash {
  background:
    linear-gradient(90deg, rgba(7, 17, 15, .98) 0%, rgba(7, 17, 15, .86) 32%, rgba(7, 17, 15, .2) 68%, rgba(7, 17, 15, .5) 100%),
    linear-gradient(0deg, rgba(7, 17, 15, .9), transparent 34%, rgba(7, 17, 15, .2) 75%);
}

.map-grid {
  opacity: .13;
  background-image:
    linear-gradient(rgba(202, 255, 85, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(202, 255, 85, .22) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(90deg, transparent 7%, #000 55%, transparent 100%);
  transform: perspective(700px) rotateX(58deg) scale(1.5) translateY(14%);
  transform-origin: bottom;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  content: "";
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-scan {
  overflow: hidden;
  pointer-events: none;
}

.hero-scan::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 68%;
  width: 1px;
  background: linear-gradient(transparent, rgba(202, 255, 85, .8), transparent);
  box-shadow: 0 0 42px 12px rgba(202, 255, 85, .14);
  content: "";
  animation: hero-sweep 8s var(--ease-smooth) infinite;
}

.hero-inner {
  width: var(--shell);
  min-height: 100svh;
  margin-inline: auto;
  padding: 138px 0 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .68);
  font: 800 .7rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 34px;
  height: 1px;
  background: var(--acid);
}

.eyebrow.dark {
  color: #52625b;
}

.eyebrow.dark > span {
  background: #237d67;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  letter-spacing: -.055em;
  line-height: .96;
}

h1 {
  max-width: 8.4ch;
  margin-bottom: 26px;
  font-size: clamp(4rem, 8.4vw, 9rem);
  font-weight: 780;
}

h1 em,
h2 em {
  color: var(--acid);
  font-family: Georgia, "Iowan Old Style", serif;
  font-weight: 400;
}

.hero-lede {
  max-width: 600px;
  margin: 0;
  color: rgba(247, 247, 242, .72);
  font-size: clamp(1rem, 1.4vw, 1.28rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 14px 18px 14px 22px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .35s var(--ease-out), box-shadow .35s ease;
}

.button-primary {
  background: var(--acid);
  color: var(--night);
  box-shadow: 0 0 0 0 rgba(202, 255, 85, .2);
}

.button-primary:hover {
  box-shadow: 0 0 0 8px rgba(202, 255, 85, .12), 0 16px 45px rgba(0, 0, 0, .2);
  transform: translateY(-2px);
}

.text-link {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  color: rgba(255, 255, 255, .82);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color .2s ease, color .2s ease;
}

.text-link:hover {
  border-color: var(--acid);
  color: #fff;
}

.source-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .46);
  font: 650 .66rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.source-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 0 rgba(202, 255, 85, .45);
  animation: source-ping 2.2s infinite;
}

.motion-toggle {
  position: fixed;
  right: 30px;
  bottom: 28px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(7, 17, 15, .45);
  color: rgba(255, 255, 255, .62);
  cursor: pointer;
  font-size: .62rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.motion-toggle:hover {
  border-color: var(--acid);
  color: #fff;
}

.motion-icon {
  display: flex;
  gap: 3px;
  width: 11px;
  height: 12px;
  align-items: center;
  justify-content: center;
}

.motion-icon i {
  width: 2px;
  height: 9px;
  background: currentColor;
}

body[data-motion="paused"] .motion-icon i:first-child {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
  background: transparent;
}

body[data-motion="paused"] .motion-icon i:last-child {
  display: none;
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .4);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  position: relative;
  width: 1px;
  height: 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, .18);
}

.scroll-cue i::after {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 70%;
  background: var(--acid);
  content: "";
  animation: scroll-drop 2.2s ease-in-out infinite;
}

.lens-section {
  position: relative;
  z-index: 3;
  padding: clamp(100px, 12vw, 180px) max(36px, calc((100vw - 1380px) / 2));
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(112, 193, 163, .15), transparent 26%),
    var(--paper);
  color: var(--ink);
}

.lens-section::before {
  position: absolute;
  top: 120px;
  right: -7vw;
  color: rgba(16, 32, 28, .035);
  content: "01";
  font-size: min(36vw, 500px);
  font-weight: 900;
  letter-spacing: -.12em;
  line-height: .7;
  pointer-events: none;
}

.section-intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: end;
  gap: 50px;
  margin-bottom: 70px;
}

.section-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -22px;
}

.section-intro h2,
.evidence h2,
.closing h2 {
  margin-bottom: 0;
  font-size: clamp(3.2rem, 7vw, 7.4rem);
  font-weight: 780;
}

.section-intro > p:last-child {
  max-width: 420px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.lens-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(380px, .95fr) minmax(340px, .7fr);
  align-items: center;
  gap: clamp(46px, 8vw, 130px);
}

.compare-frame {
  position: relative;
  width: min(100%, 650px);
  aspect-ratio: 745 / 1056;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(16, 32, 28, .24);
  background: #fff;
  box-shadow: 0 44px 90px rgba(29, 43, 37, .2), 0 2px 0 rgba(255, 255, 255, .6) inset;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
}

.compare-frame::after {
  position: absolute;
  inset: 0;
  z-index: 8;
  border: 10px solid rgba(238, 234, 224, .24);
  content: "";
  pointer-events: none;
}

.compare-base,
.compare-output,
.compare-output img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.compare-base,
.compare-output img {
  object-fit: cover;
}

.compare-output {
  z-index: 2;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--reveal)) 0 0);
  filter: saturate(1.15) contrast(1.02);
  will-change: clip-path;
}

.compare-output::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 82%, rgba(202, 255, 85, .18));
  content: "";
}

.compare-tag {
  position: absolute;
  top: 18px;
  z-index: 7;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(7, 17, 15, .78);
  color: #fff;
  font: 750 .58rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.compare-tag-before {
  right: 18px;
}

.compare-tag-after {
  left: 18px;
}

.compare-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--reveal);
  z-index: 9;
  width: 2px;
  background: var(--acid);
  box-shadow: 0 0 24px 4px rgba(202, 255, 85, .3);
  pointer-events: none;
  transform: translateX(-1px);
  will-change: left;
}

.compare-edge > span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(7, 17, 15, .18);
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 7px 24px rgba(7, 17, 15, .22);
  transform: translate(-50%, -50%);
}

.compare-edge i {
  width: 7px;
  height: 7px;
  border-bottom: 2px solid var(--night);
  border-left: 2px solid var(--night);
  transform: rotate(45deg);
}

.compare-edge i:last-child {
  transform: rotate(225deg);
}

.feature-callout {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border: 1px solid rgba(202, 255, 85, .75);
  background: rgba(7, 17, 15, .76);
  color: var(--acid);
  font: 700 .52rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .05em;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.feature-callout i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.callout-one {
  top: 28%;
  left: 17%;
}

.callout-two {
  top: 62%;
  left: 32%;
}

.compare-frame.has-output .feature-callout {
  opacity: 1;
}

.lens-console {
  position: relative;
  max-width: 490px;
}

.console-index {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 40px;
  color: #8c9892;
  font: 700 .68rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.console-index span {
  color: #276f5e;
  font-size: 1.8rem;
  font-weight: 850;
}

.console-kicker {
  margin: 0 0 12px;
  color: #29725f;
  font: 800 .64rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .14em;
}

.lens-console h3 {
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 780;
}

.lens-console > p:not(.console-kicker, .truth-note) {
  max-width: 455px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.range-label {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 44px 0 12px;
  color: #718079;
  font: 750 .58rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.range-label output {
  padding: 6px 8px;
  background: var(--ink);
  color: var(--acid);
}

.range-label span:last-child {
  text-align: right;
}

.model-range {
  width: 100%;
  height: 28px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: ew-resize;
}

.model-range::-webkit-slider-runnable-track {
  height: 3px;
  background: linear-gradient(90deg, #256d5b 0 var(--reveal, 52%), #c9c4b9 var(--reveal, 52%) 100%);
}

.model-range::-moz-range-track {
  height: 3px;
  background: #c9c4b9;
}

.model-range::-moz-range-progress {
  height: 3px;
  background: #256d5b;
}

.model-range::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -7.5px;
  appearance: none;
  border: 5px solid var(--acid);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.model-range::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: 5px solid var(--acid);
  border-radius: 50%;
  background: var(--ink);
}

.console-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 34px;
  background: rgba(16, 32, 28, .14);
}

.console-stats div {
  padding: 19px;
  background: rgba(255, 255, 255, .32);
}

.console-stats b,
.console-stats span {
  display: block;
}

.console-stats b {
  font-size: 1.45rem;
  letter-spacing: -.04em;
}

.console-stats span {
  margin-top: 4px;
  color: var(--muted);
  font-size: .68rem;
}

.slider-unit-key {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.slider-unit-key > span {
  margin-right: 3px;
  color: var(--muted);
  font: 800 .54rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
}

.slider-unit-key code {
  padding: 5px 7px;
  border: 1px solid rgba(16, 32, 28, .2);
  background: rgba(255, 255, 255, .38);
  color: #276f5e;
  font: 900 .58rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.truth-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0 0;
  color: #6e6252;
  font-size: .72rem;
  line-height: 1.5;
}

.truth-note i {
  display: grid;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: #ead49e;
  color: #69542b;
  font-style: normal;
  font-weight: 900;
}

.finds-section {
  position: relative;
  z-index: 4;
  padding: clamp(100px, 11vw, 170px) max(36px, calc((100vw - 1380px) / 2));
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 24%, rgba(62, 148, 116, .16), transparent 28%),
    linear-gradient(145deg, #0c1b17, #07110f 68%);
  color: var(--white);
}

.finds-section::after {
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image:
    linear-gradient(rgba(202, 255, 85, .2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(202, 255, 85, .2) 1px, transparent 1px);
  background-size: 90px 90px;
  content: "";
  mask-image: radial-gradient(circle at 30% 45%, #000, transparent 65%);
  pointer-events: none;
}

.finds-intro,
.finds-console {
  position: relative;
  z-index: 1;
}

.finds-intro {
  display: grid;
  grid-template-columns: 1fr minmax(280px, .38fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 62px;
}

.finds-intro h2 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 7.2rem);
  font-weight: 780;
}

.finds-intro h2 em {
  color: var(--acid);
  font-family: Georgia, "Iowan Old Style", serif;
  font-weight: 400;
}

.finds-intro > p {
  max-width: 400px;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .56);
  font-size: 1rem;
  line-height: 1.65;
}

.finds-console {
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(4, 12, 10, .62);
  box-shadow: 0 40px 110px rgba(0, 0, 0, .3);
}

.find-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.find-tabs button {
  position: relative;
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 13px;
  padding: 16px 20px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .12);
  background: transparent;
  color: rgba(255, 255, 255, .4);
  cursor: pointer;
  font-size: .68rem;
  font-weight: 780;
  letter-spacing: .09em;
  text-align: left;
  text-transform: uppercase;
  transition: color .25s ease, background .25s ease;
}

.find-tabs button:last-child {
  border-right: 0;
}

.find-tabs button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--acid);
  content: "";
  transform: scaleX(0);
  transition: transform .35s var(--ease-out);
}

.find-tabs button span {
  color: rgba(202, 255, 85, .45);
  font: 800 .66rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.find-tabs button:hover {
  color: rgba(255, 255, 255, .8);
}

.find-tabs button[aria-selected="true"] {
  background: rgba(255, 255, 255, .045);
  color: #fff;
}

.find-tabs button[aria-selected="true"]::after {
  transform: scaleX(1);
}

.find-tabs button[aria-selected="true"] span {
  color: var(--acid);
}

.find-stage {
  position: relative;
  min-height: 680px;
}

.find-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 410px);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
  padding: 42px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .28s ease, transform .45s var(--ease-out), visibility 0s .28s;
}

.find-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.find-panel[hidden] {
  display: none;
}

.find-visual {
  position: relative;
  max-height: 596px;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  background: #f0ede4;
  box-shadow: 0 30px 75px rgba(0, 0, 0, .42);
}

.find-visual::after {
  position: absolute;
  inset: 0;
  z-index: 8;
  border: 8px solid rgba(7, 17, 15, .08);
  content: "";
  pointer-events: none;
}

.find-visual > img,
.region-find-output,
.region-find-output img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.find-visual > img,
.region-find-output img {
  object-fit: cover;
}

.find-symbol-visual {
  width: min(100%, 740px);
  aspect-ratio: 798 / 642;
}

.find-symbol-visual > img {
  object-position: center;
  filter: saturate(.7) contrast(1.07);
}

.find-region-visual {
  width: min(100%, 420px);
  aspect-ratio: 745 / 1056;
}

.find-region-visual > img,
.find-region-visual .region-find-output img {
  object-fit: cover;
}

.find-coordinate-visual {
  width: min(100%, 660px);
  aspect-ratio: 10 / 9;
}

.find-coordinate-visual > img {
  filter: saturate(.25) contrast(1.08);
}

.find-sweep {
  position: absolute;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
}

.sweep-vertical,
.region-sweep {
  top: 0;
  bottom: 0;
  left: -8%;
  width: 2px;
  background: var(--acid);
  box-shadow: -28px 0 55px 18px rgba(202, 255, 85, .13), 0 0 18px var(--acid);
}

.sweep-horizontal {
  top: -8%;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--acid);
  box-shadow: 0 -25px 55px 18px rgba(202, 255, 85, .12), 0 0 18px var(--acid);
}

.find-sweep i {
  position: absolute;
  top: 14px;
  left: 9px;
  padding: 5px 7px;
  background: var(--acid);
  color: var(--night);
  font: 850 .5rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  font-style: normal;
  letter-spacing: .08em;
  white-space: nowrap;
}

.find-sweep i::before {
  content: "SCANNING";
}

.sweep-horizontal i {
  top: 9px;
  left: 14px;
}

.find-lock {
  position: absolute;
  z-index: 6;
  display: block;
  border: 2px solid var(--acid);
  box-shadow: 0 0 0 2px rgba(7, 17, 15, .55), 0 0 28px rgba(202, 255, 85, .32);
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.5);
  pointer-events: none;
}

.find-lock::before,
.find-lock::after,
.find-lock > i::before,
.find-lock > i::after {
  position: absolute;
  width: 9px;
  height: 9px;
  border-color: var(--acid);
  border-style: solid;
  content: "";
}

.find-lock::before {
  top: -5px;
  left: -5px;
  border-width: 2px 0 0 2px;
}

.find-lock::after {
  top: -5px;
  right: -5px;
  border-width: 2px 2px 0 0;
}

.find-lock > i::before {
  bottom: -5px;
  left: -5px;
  border-width: 0 0 2px 2px;
}

.find-lock > i::after {
  right: -5px;
  bottom: -5px;
  border-width: 0 2px 2px 0;
}

.find-lock b {
  position: absolute;
  bottom: calc(100% + 8px);
  left: -2px;
  padding: 6px 8px;
  background: var(--acid);
  color: var(--night);
  font: 850 .5rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
  white-space: nowrap;
}

.symbol-lock {
  top: 65.2%;
  left: 25%;
  width: 4.2%;
  height: 5.4%;
}

.region-lock {
  width: 16%;
  height: 10%;
  border-color: var(--mint);
}

.region-lock b {
  background: var(--mint);
}

.region-lock.lock-one {
  top: 29%;
  left: 40%;
}

.region-lock.lock-two {
  top: 67%;
  left: 62%;
}

.coordinate-lock {
  top: 45.2%;
  left: 48.2%;
  width: 14%;
  height: 8%;
}

.find-count {
  position: absolute;
  right: 15px;
  bottom: 15px;
  z-index: 7;
  min-width: 150px;
  padding: 10px 12px;
  border: 1px solid rgba(202, 255, 85, .35);
  background: rgba(7, 17, 15, .84);
  color: #fff;
  opacity: 0;
  backdrop-filter: blur(12px);
}

.find-count span,
.find-count b {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.find-count span {
  color: rgba(255, 255, 255, .42);
  font-size: .5rem;
  letter-spacing: .09em;
}

.find-count b {
  margin-top: 5px;
  color: var(--acid);
  font-size: .8rem;
}

.region-find-output {
  z-index: 2;
  clip-path: inset(0 100% 0 0);
  filter: saturate(1.15);
}

.find-answer {
  opacity: 0;
  transform: translateY(18px);
}

.find-answer > p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 19px;
  color: var(--acid);
  font: 800 .6rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .12em;
}

.find-answer > p i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 0 rgba(202, 255, 85, .5);
}

.find-answer > span {
  display: block;
  margin-bottom: 13px;
  color: rgba(255, 255, 255, .38);
  font: 700 .58rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.find-answer h3 {
  margin-bottom: 30px;
  font-size: clamp(2.3rem, 4.2vw, 4.6rem);
  font-weight: 740;
  line-height: .98;
}

.find-answer h3 em {
  color: var(--acid);
  font-family: Georgia, "Iowan Old Style", serif;
  font-weight: 400;
}

.find-answer dl {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.find-answer dl div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.find-answer dt,
.find-answer dd {
  margin: 0;
  font: 700 .66rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.find-answer dt {
  color: rgba(255, 255, 255, .35);
  text-transform: uppercase;
}

.find-answer dd {
  color: rgba(255, 255, 255, .78);
}

.finds-section.is-running .find-panel.is-active .sweep-vertical,
.finds-section.is-running .find-panel.is-active .region-sweep {
  animation: find-sweep-x 2.1s var(--ease-smooth) both;
}

.finds-section.is-running .find-panel.is-active .sweep-horizontal {
  animation: find-sweep-y 2.1s var(--ease-smooth) both;
}

.finds-section.is-running .find-panel.is-active .find-lock {
  animation: find-lock .48s var(--ease-out) 1.5s both;
}

.finds-section.is-running .find-panel.is-active .lock-two {
  animation-delay: 1.76s;
}

.finds-section.is-running .find-panel.is-active .find-count {
  animation: find-result-in .5s var(--ease-out) 1.72s both;
}

.finds-section.is-running .find-panel.is-active .find-answer {
  animation: find-result-in .62s var(--ease-out) 1.9s both;
}

.finds-section.is-running .find-panel.is-active .find-answer > p i {
  animation: source-ping 1.8s 2s infinite;
}

.finds-section.is-running .find-panel.is-active .region-find-output {
  animation: region-reveal 2.1s var(--ease-smooth) both;
}

.finds-section:not(.is-running) .find-panel.is-active .find-answer {
  opacity: 1;
  transform: none;
}

.story {
  position: relative;
  min-height: 400svh;
  background: var(--night);
  color: var(--white);
}

.story-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 32% 46%, rgba(32, 102, 83, .22), transparent 36%),
    var(--night);
}

.story-stage::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, transparent 0 47%, rgba(7, 17, 15, .28) 61%, rgba(7, 17, 15, .94) 83%);
  content: "";
  pointer-events: none;
}

.stage-heading {
  position: absolute;
  top: 96px;
  right: max(36px, calc((100vw - 1380px) / 2));
  left: max(36px, calc((100vw - 1380px) / 2));
  z-index: 10;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, .32);
  font: 700 .58rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .13em;
}

.story-progress {
  position: absolute;
  top: 120px;
  right: max(36px, calc((100vw - 1380px) / 2));
  left: max(36px, calc((100vw - 1380px) / 2));
  z-index: 10;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .12);
}

.story-progress span {
  display: block;
  width: calc(var(--story-progress, 0) * 100%);
  height: 100%;
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
}

.scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.035);
  visibility: hidden;
  transition: opacity .28s ease, transform .6s var(--ease-out), visibility 0s .28s;
}

.scene.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition-delay: 0s;
}

.scene-glow {
  position: absolute;
  top: 24%;
  left: 13%;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  background: rgba(103, 255, 207, .06);
  filter: blur(40px);
}

.parallax-layer {
  --depth: 1;
  transform: translate3d(calc(var(--pointer-x) * var(--depth) * 12px), calc(var(--pointer-y) * var(--depth) * 8px), 0);
  transition: transform .18s linear;
  will-change: transform;
}

.symbol-sheet {
  position: absolute;
  top: 18%;
  bottom: 8%;
  left: 5%;
  width: min(57vw, 850px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  background: #e9e6dd;
  box-shadow: 0 50px 120px rgba(0, 0, 0, .45);
}

.symbol-sheet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.65) contrast(1.08);
}

.detect-box {
  position: absolute;
  top: 63.5%;
  left: 23.4%;
  width: 24px;
  height: 24px;
  min-width: 1.5%;
  min-height: 2.1%;
  border: 2px solid var(--acid);
  box-shadow: 0 0 0 2px rgba(7, 17, 15, .55), 0 0 30px rgba(202, 255, 85, .28);
  animation: detect-pulse 2.6s ease-in-out infinite;
}

.detect-box i {
  position: absolute;
  bottom: calc(100% + 8px);
  left: -2px;
  padding: 6px 8px;
  background: var(--acid);
  color: var(--night);
  font: 850 .52rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  font-style: normal;
  letter-spacing: .09em;
  white-space: nowrap;
}

.scene-record {
  position: absolute;
  bottom: 13%;
  left: 43%;
  z-index: 3;
  width: min(300px, 22vw);
  padding: 20px;
  border: 1px solid rgba(202, 255, 85, .36);
  background: rgba(5, 14, 12, .9);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .45);
  backdrop-filter: blur(18px);
}

.scene-record > span,
.coordinate-card > span {
  display: block;
  margin-bottom: 12px;
  color: var(--acid);
  font: 750 .55rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .12em;
}

.scene-record code {
  color: rgba(255, 255, 255, .72);
  font: 600 clamp(.62rem, .9vw, .76rem)/1.8 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.scan-beam {
  position: absolute;
  top: 18%;
  bottom: 8%;
  left: 5%;
  z-index: 2;
  width: min(57vw, 850px);
  overflow: hidden;
}

.scan-beam::after {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 12%;
  background: linear-gradient(transparent, rgba(202, 255, 85, .15), rgba(202, 255, 85, .7));
  content: "";
  animation: vertical-scan 5.5s var(--ease-smooth) infinite;
}

.map-stack {
  position: absolute;
  inset: 12% 36% 4% 3%;
  perspective: 1200px;
}

.map-sheet {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  background: #d8d5cd;
  box-shadow: 0 45px 100px rgba(0, 0, 0, .5);
}

.map-sheet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sheet-back {
  inset: 10% 14% 10% 0;
  opacity: .55;
  filter: grayscale(.25) brightness(.65);
  transform: rotate(-5deg) translate3d(calc(var(--pointer-x) * 5px), calc(var(--pointer-y) * 3px), -80px);
}

.sheet-back img {
  object-position: 20% center;
}

.sheet-front {
  inset: 0 0 0 28%;
  transform: rotate(3deg) translate3d(calc(var(--pointer-x) * 11px), calc(var(--pointer-y) * 7px), 0);
}

.sheet-front img {
  filter: saturate(1.18) contrast(1.04);
}

.region-tag {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(202, 255, 85, .5);
  background: rgba(7, 17, 15, .86);
  color: rgba(255, 255, 255, .78);
  font: 650 .56rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  animation: tag-float 5s ease-in-out infinite;
}

.region-tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px rgba(202, 255, 85, .7);
}

.tag-a {
  top: 34%;
  left: 24%;
}

.tag-b {
  bottom: 22%;
  left: 43%;
  animation-delay: -1.4s;
}

.contour-lines {
  position: absolute;
  inset: 0 36% 0 0;
  opacity: .14;
  background-image: repeating-radial-gradient(ellipse at 20% 50%, transparent 0 28px, var(--acid) 30px 31px, transparent 33px 58px);
  mix-blend-mode: screen;
  mask-image: linear-gradient(90deg, transparent, #000 25%, transparent 90%);
}

.geo-map {
  position: absolute;
  top: 11%;
  left: 4%;
  width: min(59vw, 900px);
  aspect-ratio: 10 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
  background: #fff;
  box-shadow: 0 50px 120px rgba(0, 0, 0, .45);
}

.geo-map img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(.2) contrast(1.08);
}

.coordinate-grid {
  position: absolute;
  inset: 0 34% 0 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(202, 255, 85, .36) 1px, transparent 1px),
    linear-gradient(90deg, rgba(202, 255, 85, .36) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 35% 40%, #000, transparent 66%);
}

.geo-crosshair {
  position: absolute;
  top: 45.2%;
  left: 48.2%;
  z-index: 3;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(202, 255, 85, .55);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(202, 255, 85, .05), 0 0 50px rgba(202, 255, 85, .18);
  animation: crosshair-pulse 3s ease-in-out infinite;
  transform: translate(-50%, -50%);
}

.geo-crosshair i:first-child,
.geo-crosshair i:last-child {
  position: absolute;
  background: var(--acid);
  content: "";
}

.geo-crosshair i:first-child {
  top: 50%;
  left: -22px;
  width: 134px;
  height: 1px;
}

.geo-crosshair i:last-child {
  top: -22px;
  left: 50%;
  width: 1px;
  height: 134px;
}

.geo-crosshair span {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  padding: 6px 8px;
  background: var(--acid);
  color: var(--night);
  font: 850 .58rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  transform: translateX(-50%);
}

.coordinate-card {
  position: absolute;
  right: 34%;
  bottom: 12%;
  z-index: 3;
  width: min(270px, 23vw);
  padding: 20px;
  border: 1px solid rgba(202, 255, 85, .38);
  background: rgba(5, 14, 12, .9);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .45);
}

.coordinate-card strong {
  display: block;
  font-size: clamp(1.5rem, 2.4vw, 2.6rem);
  letter-spacing: -.05em;
}

.coordinate-card i {
  display: block;
  height: 1px;
  margin: 18px 0;
  background: rgba(255, 255, 255, .14);
}

.coordinate-card > span:nth-of-type(2) {
  color: var(--mint);
}

.export-map {
  position: absolute;
  inset: -11% 35% -12% 3%;
  overflow: hidden;
  opacity: .55;
  transform: rotate(-3deg) scale(1.08) translate3d(calc(var(--pointer-x) * 5px), calc(var(--pointer-y) * 4px), 0);
  filter: saturate(.7) contrast(1.18);
  mask-image: linear-gradient(90deg, #000 55%, transparent 100%);
}

.export-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.geometry-cloud {
  position: absolute;
  inset: 10% 34% 8% 2%;
}

.geometry-cloud > span {
  position: absolute;
  top: var(--y);
  left: var(--x);
  padding: 7px 9px;
  border: 1px solid rgba(202, 255, 85, .45);
  background: rgba(7, 17, 15, .78);
  color: var(--acid);
  font: 700 .52rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
  animation: tag-float 5s ease-in-out var(--d) infinite;
}

.export-card {
  position: absolute;
  right: 34%;
  bottom: 14%;
  z-index: 3;
  width: min(330px, 28vw);
  padding: 21px;
  border: 1px solid rgba(127, 255, 216, .3);
  background: rgba(5, 14, 12, .92);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.export-card > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.export-card span {
  color: rgba(255, 255, 255, .38);
  font: 700 .55rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
}

.export-card b {
  color: rgba(255, 255, 255, .84);
  font-size: .78rem;
}

.export-card > i {
  display: block;
  height: 2px;
  margin-top: 17px;
  overflow: hidden;
  background: rgba(255, 255, 255, .1);
}

.export-card > i span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--mint);
  animation: export-load 4s var(--ease-smooth) infinite;
}

.scene-rail {
  position: absolute;
  top: 50%;
  left: max(24px, calc((100vw - 1480px) / 2));
  z-index: 12;
  display: grid;
  gap: 14px;
  transform: translateY(-50%);
}

.scene-rail button {
  display: grid;
  grid-template-columns: 22px 30px;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .27);
  cursor: pointer;
  font: 700 .54rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.scene-rail button i {
  display: block;
  width: 13px;
  height: 1px;
  background: currentColor;
  transition: width .35s var(--ease-out), background .35s ease;
}

.scene-rail button[aria-current="step"] {
  color: var(--acid);
}

.scene-rail button[aria-current="step"] i {
  width: 30px;
  box-shadow: 0 0 8px var(--acid);
}

.story-chapters {
  position: relative;
  z-index: 5;
  width: var(--shell);
  margin: -100svh auto 0;
  pointer-events: none;
}

.chapter {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 130px 0 80px;
}

.chapter-card {
  width: min(410px, 34vw);
  padding: 30px 0;
  pointer-events: auto;
}

.chapter-card > p:first-child {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 19px;
  color: rgba(255, 255, 255, .38);
  font: 750 .62rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.chapter-card > p:first-child span {
  color: var(--acid);
  font-size: 1.15rem;
}

.chapter-card h3 {
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 4.5vw, 4.7rem);
  font-weight: 730;
}

.chapter-card > p:nth-of-type(2) {
  margin: 0;
  color: rgba(255, 255, 255, .58);
  font-size: .95rem;
  line-height: 1.7;
}

.chapter-result {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  margin-top: 30px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.chapter-result span {
  color: var(--acid);
  font: 750 .55rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
}

.chapter-result b {
  color: rgba(255, 255, 255, .82);
  font-size: .78rem;
}

.chapter-result.warning span {
  color: var(--amber);
}

.evidence {
  position: relative;
  z-index: 4;
  padding: clamp(100px, 12vw, 180px) max(36px, calc((100vw - 1380px) / 2));
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.evidence-head {
  display: grid;
  grid-template-columns: 1fr .38fr;
  align-items: end;
  gap: 60px;
}

.evidence-head .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -20px;
}

.evidence-head h2 em {
  color: #24705d;
}

.evidence-head > p:last-child {
  max-width: 350px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 1rem;
}

.metric-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 78px;
  background: rgba(16, 32, 28, .18);
}

.metric-ribbon article {
  position: relative;
  min-height: 300px;
  padding: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, .28);
}

.metric-ribbon article::after {
  position: absolute;
  right: -20px;
  bottom: -70px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(16, 32, 28, .07);
  border-radius: 50%;
  box-shadow: 0 0 0 32px rgba(16, 32, 28, .025), 0 0 0 64px rgba(16, 32, 28, .02);
  content: "";
}

.metric-ribbon article > span {
  display: block;
  color: #527068;
  font: 800 .6rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .13em;
}

.metric-ribbon strong {
  display: block;
  margin: 20px 0;
  font-size: clamp(4rem, 7vw, 7.2rem);
  font-weight: 750;
  letter-spacing: -.08em;
  line-height: .8;
}

.metric-ribbon sup {
  color: #2a735f;
  font-size: .33em;
  letter-spacing: -.03em;
}

.metric-ribbon small {
  color: #2a735f;
  font-size: .28em;
  letter-spacing: -.03em;
}

.metric-ribbon p {
  position: relative;
  z-index: 1;
  max-width: 250px;
  margin: 0;
  color: var(--muted);
  font-size: .76rem;
}

.metric-ribbon article > i {
  position: absolute;
  right: 30px;
  bottom: 30px;
  left: 30px;
  height: 3px;
  overflow: hidden;
  background: rgba(16, 32, 28, .12);
}

.metric-ribbon article > i span {
  display: block;
  width: var(--score);
  height: 100%;
  background: #2c7965;
  transform-origin: left;
}

.limits-card {
  display: grid;
  grid-template-columns: 72px minmax(210px, .55fr) 1fr;
  align-items: center;
  gap: 30px;
  margin-top: 1px;
  padding: 35px 30px;
  background: var(--ink);
  color: var(--white);
}

.limits-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 201, 91, .5);
  border-radius: 50%;
  color: var(--amber);
  font-size: 1.4rem;
  font-weight: 800;
}

.limits-card > div:nth-child(2) p {
  margin: 0 0 8px;
  color: var(--amber);
  font: 750 .56rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .12em;
}

.limits-card h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  letter-spacing: -.04em;
}

.limits-card > p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, .55);
  font-size: .82rem;
  line-height: 1.65;
}

.closing {
  position: relative;
  min-height: 86svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.closing::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle, rgba(7, 17, 15, .38), rgba(7, 17, 15, .94) 70%), linear-gradient(rgba(7, 17, 15, .25), var(--night));
  content: "";
}

.closing-map {
  position: absolute;
  inset: -20%;
  z-index: -2;
  animation: closing-drift 24s ease-in-out infinite alternate;
}

.closing-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.55) brightness(.58) contrast(1.12);
}

.closing-inner {
  width: min(1100px, calc(100% - 48px));
  padding: 100px 0;
}

.closing .eyebrow {
  justify-content: center;
}

.closing h2 {
  margin-bottom: 46px;
}

.closing .button {
  margin-inline: auto;
}

footer {
  width: var(--shell);
  min-height: 110px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .38);
  font-size: .66rem;
}

footer p {
  margin: 0;
}

footer p:last-child {
  justify-self: end;
}

.footer-brand {
  color: rgba(255, 255, 255, .7);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

body[data-motion="paused"] *,
body[data-motion="paused"] *::before,
body[data-motion="paused"] *::after {
  animation-play-state: paused !important;
}

body[data-motion="paused"] .parallax-layer,
body[data-motion="paused"] .hero-media video {
  transform: none;
}

body[data-motion="paused"] .find-sweep {
  display: none;
}

body[data-motion="paused"] .find-lock,
body[data-motion="paused"] .find-count,
body[data-motion="paused"] .find-answer {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

body[data-motion="paused"] .find-count,
body[data-motion="paused"] .find-answer {
  transform: none;
}

body[data-motion="paused"] .region-find-output {
  clip-path: inset(0 18% 0 0);
}

@keyframes hero-sweep {
  0%, 12% { transform: translateX(-34vw); opacity: 0; }
  24% { opacity: 1; }
  62% { opacity: .8; }
  76%, 100% { transform: translateX(34vw); opacity: 0; }
}

@keyframes source-ping {
  0% { box-shadow: 0 0 0 0 rgba(202, 255, 85, .42); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(202, 255, 85, 0); }
}

@keyframes scroll-drop {
  0% { transform: translateY(0); }
  55%, 100% { transform: translateY(300%); }
}

@keyframes find-sweep-x {
  0% { left: -8%; opacity: 0; }
  8% { opacity: 1; }
  72% { left: 100%; opacity: 1; }
  88%, 100% { left: 108%; opacity: 0; }
}

@keyframes find-sweep-y {
  0% { top: -8%; opacity: 0; }
  8% { opacity: 1; }
  72% { top: 100%; opacity: 1; }
  88%, 100% { top: 108%; opacity: 0; }
}

@keyframes find-lock {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(1.7); }
  60% { opacity: 1; transform: translate(-50%, -50%) scale(.92); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes find-result-in {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes region-reveal {
  0%, 10% { clip-path: inset(0 100% 0 0); }
  72%, 100% { clip-path: inset(0 18% 0 0); }
}

@keyframes detect-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(7, 17, 15, .55), 0 0 24px rgba(202, 255, 85, .2); }
  50% { box-shadow: 0 0 0 7px rgba(202, 255, 85, .08), 0 0 42px rgba(202, 255, 85, .42); }
}

@keyframes vertical-scan {
  0%, 10% { transform: translateY(-10%); opacity: 0; }
  20% { opacity: 1; }
  78% { opacity: .8; }
  90%, 100% { transform: translateY(960%); opacity: 0; }
}

@keyframes tag-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(5px, -8px, 0); }
}

@keyframes crosshair-pulse {
  0%, 100% { box-shadow: 0 0 0 12px rgba(202, 255, 85, .03), 0 0 35px rgba(202, 255, 85, .12); }
  50% { box-shadow: 0 0 0 23px rgba(202, 255, 85, .07), 0 0 60px rgba(202, 255, 85, .26); }
}

@keyframes export-load {
  0% { transform: translateX(-110%); }
  65%, 100% { transform: translateX(0); }
}

@keyframes closing-drift {
  0% { transform: scale(1.04) translate3d(-1.5%, -1%, 0); }
  100% { transform: scale(1.13) translate3d(2%, 1.5%, 0); }
}

@media (max-width: 1080px) {
  :root {
    --shell: min(100% - 48px, 1380px);
  }

  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .section-intro,
  .evidence-head,
  .finds-intro {
    grid-template-columns: 1fr .52fr;
  }

  .find-panel {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 350px);
    gap: 36px;
    padding: 34px;
  }

  .find-stage {
    min-height: 610px;
  }

  .find-visual {
    max-height: 535px;
  }

  .story-stage::after {
    background: linear-gradient(90deg, transparent 0 38%, rgba(7, 17, 15, .5) 58%, rgba(7, 17, 15, .96) 78%);
  }

  .scene-record {
    left: 34%;
    width: min(260px, 22vw);
  }

  .coordinate-card,
  .export-card {
    right: 42%;
  }

  .coordinate-card {
    width: min(250px, 22vw);
  }

  .export-card {
    width: min(290px, 25vw);
  }

  .symbol-sheet,
  .scan-beam,
  .geo-map {
    width: 63vw;
  }

  .chapter-card {
    width: 38vw;
  }
}

@media (max-width: 780px) {
  :root {
    --shell: calc(100% - 32px);
  }

  html {
    scroll-padding-top: 64px;
  }

  .site-nav {
    height: 70px;
  }

  .brand {
    font-size: .66rem;
  }

  .brand-mark {
    width: 29px;
    height: 29px;
  }

  .nav-cta {
    gap: 8px;
    padding-left: 13px;
    font-size: .58rem;
  }

  .nav-cta span {
    width: 25px;
    height: 25px;
  }

  .hero {
    min-height: max(760px, 100svh);
  }

  .hero-media video {
    object-position: 53% center;
  }

  .hero-wash {
    background: linear-gradient(0deg, rgba(7, 17, 15, .98) 0%, rgba(7, 17, 15, .7) 48%, rgba(7, 17, 15, .24) 100%);
  }

  .hero-inner {
    min-height: max(760px, 100svh);
    padding: 112px 0 80px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 32px;
  }

  .hero-copy {
    margin-top: auto;
  }

  h1 {
    max-width: 8ch;
    margin-bottom: 18px;
    font-size: clamp(3.5rem, 17vw, 6.4rem);
  }

  .hero-lede {
    max-width: 510px;
    font-size: .94rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 25px;
  }

  .source-note,
  .scroll-cue {
    display: none;
  }

  .motion-toggle {
    right: 16px;
    bottom: 14px;
  }

  .lens-section,
  .evidence,
  .finds-section {
    padding: 90px 20px;
  }

  .section-intro,
  .evidence-head,
  .finds-intro {
    display: block;
    margin-bottom: 48px;
  }

  .section-intro .eyebrow,
  .evidence-head .eyebrow,
  .finds-intro .eyebrow {
    margin-bottom: 18px;
  }

  .section-intro h2,
  .evidence h2,
  .finds-intro h2,
  .closing h2 {
    font-size: clamp(3rem, 13vw, 5.5rem);
  }

  .section-intro > p:last-child,
  .evidence-head > p:last-child,
  .finds-intro > p:last-child {
    margin-top: 26px;
  }

  .finds-console {
    margin-inline: -4px;
  }

  .find-tabs {
    grid-template-columns: 1fr;
  }

  .find-tabs button {
    min-height: 50px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .find-stage {
    min-height: 830px;
  }

  .find-panel {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 480px) auto;
    align-content: start;
    gap: 30px;
    padding: 22px;
  }

  .find-visual {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 480px;
  }

  .find-symbol-visual {
    aspect-ratio: 798 / 642;
    align-self: center;
    height: auto;
  }

  .find-region-visual {
    aspect-ratio: 745 / 1056;
    height: 100%;
  }

  .find-coordinate-visual {
    aspect-ratio: 10 / 9;
    align-self: center;
    height: auto;
  }

  .find-answer h3 {
    margin-bottom: 22px;
    font-size: clamp(2.1rem, 10vw, 3.4rem);
  }

  .lens-layout {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .compare-frame {
    width: min(100%, 540px);
  }

  .lens-console {
    max-width: 540px;
    margin-inline: auto;
  }

  .story-stage::after {
    background: linear-gradient(0deg, rgba(7, 17, 15, .98) 0%, rgba(7, 17, 15, .74) 43%, rgba(7, 17, 15, .15) 76%);
  }

  .stage-heading {
    top: 72px;
    right: 20px;
    left: 20px;
  }

  .story-progress {
    top: 93px;
    right: 20px;
    left: 20px;
  }

  .scene-rail {
    top: 115px;
    right: 18px;
    left: auto;
    grid-auto-flow: column;
    gap: 7px;
    transform: none;
  }

  .scene-rail button {
    grid-template-columns: auto;
    padding: 6px;
  }

  .scene-rail button i {
    display: none;
  }

  .symbol-sheet {
    top: 13%;
    right: -15%;
    bottom: 36%;
    left: -13%;
    width: auto;
  }

  .scan-beam {
    top: 13%;
    right: -15%;
    bottom: 36%;
    left: -13%;
    width: auto;
  }

  .scene-record {
    top: 43%;
    right: 18px;
    bottom: auto;
    left: auto;
    width: min(290px, 78vw);
  }

  .map-stack {
    inset: 10% -13% 32% -9%;
  }

  .region-tag {
    transform: scale(.9);
  }

  .tag-a {
    top: 28%;
    left: 13%;
  }

  .tag-b {
    bottom: 40%;
    left: 40%;
  }

  .geo-map {
    top: 10%;
    right: -20%;
    left: -12%;
    width: auto;
    height: auto;
  }

  .coordinate-grid {
    inset: 0;
  }

  .geo-crosshair {
    transform: translate(-50%, -50%) scale(.8);
  }

  .coordinate-card {
    right: 18px;
    bottom: 35%;
    width: min(245px, 72vw);
  }

  .export-map {
    inset: 4% -15% 30% -10%;
  }

  .geometry-cloud {
    inset: 10% 0 34%;
  }

  .export-card {
    right: 18px;
    bottom: 35%;
    width: min(300px, 82vw);
  }

  .story-chapters {
    width: calc(100% - 36px);
  }

  .chapter {
    align-items: flex-end;
    padding: 130px 0 55px;
  }

  .chapter-card {
    width: 100%;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(7, 17, 15, .96);
    box-shadow: 0 20px 70px rgba(0, 0, 0, .28);
    backdrop-filter: blur(16px);
  }

  .scene-record,
  .coordinate-card,
  .export-card {
    display: none;
  }

  .chapter-card h3 {
    margin-bottom: 15px;
    font-size: clamp(2rem, 9vw, 3.4rem);
  }

  .chapter-card > p:nth-of-type(2) {
    font-size: .82rem;
    line-height: 1.55;
  }

  .chapter-result {
    margin-top: 18px;
    padding: 10px 0;
  }

  .metric-ribbon {
    grid-template-columns: 1fr;
    margin-top: 55px;
  }

  .metric-ribbon article {
    min-height: 245px;
  }

  .limits-card {
    grid-template-columns: 54px 1fr;
    gap: 20px;
    padding: 28px 22px;
  }

  .limits-mark {
    width: 48px;
    height: 48px;
  }

  .limits-card > p {
    grid-column: 1 / -1;
  }

  .closing {
    min-height: 78svh;
  }

  .closing-inner {
    padding: 80px 0;
  }

  footer {
    min-height: 160px;
    padding: 28px 0;
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: left;
  }

  footer p:last-child {
    justify-self: start;
  }
}

@media (max-width: 480px) {
  .brand span {
    display: none;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .button {
    min-height: 50px;
  }

  .motion-label {
    display: none;
  }

  .motion-toggle {
    width: 34px;
    height: 34px;
    justify-content: center;
    padding: 0;
  }

  .feature-callout {
    font-size: .43rem;
  }

  .callout-two {
    display: none;
  }

  .console-stats {
    grid-template-columns: 1fr;
  }

  .find-stage {
    min-height: 760px;
  }

  .find-panel {
    grid-template-rows: minmax(0, 390px) auto;
    padding: 16px;
  }

  .find-visual {
    max-height: 390px;
  }

  .find-tabs button {
    padding-inline: 15px;
  }

  .stage-heading span:first-child {
    display: none;
  }

  .stage-heading {
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .parallax-layer,
  .hero-media video,
  .closing-map {
    transform: none !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Compact 15-case saved-output scanner */
.examples-pane.finds-section {
  width: 100%;
  height: calc(100svh - 76px);
  min-height: calc(100svh - 76px);
  padding: 74px max(22px, calc((100vw - 1380px) / 2)) 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.scanner-intro {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  min-height: 56px;
  margin: 0 0 10px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  align-items: end;
}

.scanner-intro .pane-number,
.scanner-intro .eyebrow,
.scanner-intro h2,
.scanner-intro p {
  margin: 0;
}

.scanner-intro .pane-number {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .34);
}

.scanner-intro h2 {
  font-size: clamp(1.9rem, 3.1vw, 3.25rem);
  letter-spacing: -.055em;
  line-height: .9;
}

.scanner-intro > div:last-child {
  display: flex;
  min-width: 0;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.scanner-intro > div:last-child > p {
  max-width: 520px;
  color: rgba(255, 255, 255, .54);
  font-size: .72rem;
  line-height: 1.45;
  text-align: right;
}

.finds-console.scanner {
  position: relative;
  z-index: 2;
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-color: rgba(202, 255, 85, .2);
  background: rgba(3, 10, 8, .82);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .36);
}

.scanner .find-tabs {
  flex: 0 0 48px;
}

.scanner .find-tabs button {
  min-height: 48px;
  padding: 10px 18px;
}

.scanner-toolbar {
  min-height: 48px;
  flex: 0 0 48px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .025);
}

.scanner-position {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 16px;
}

.scanner-position span,
.scanner-position code,
.scanner-position strong {
  white-space: nowrap;
}

.scanner-position span,
.scanner-position code {
  font: 850 .55rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.scanner-position span {
  color: var(--acid);
}

.scanner-position strong {
  overflow: hidden;
  color: rgba(255, 255, 255, .88);
  font-size: .76rem;
  text-overflow: ellipsis;
}

.scanner-position code {
  color: rgba(255, 255, 255, .38);
}

.scanner .find-stage {
  position: relative;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.scanner .find-panel {
  position: absolute;
  inset: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  align-items: stretch;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: none;
  transition: opacity .2s ease, visibility 0s .2s;
}

.scanner .find-panel.is-active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.scanner .find-panel[hidden] {
  display: none;
}

.scanner-visual {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 15px;
  display: grid;
  place-items: center;
  overflow: hidden;
  container-type: size;
  background:
    linear-gradient(rgba(202, 255, 85, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(202, 255, 85, .045) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, rgba(66, 151, 119, .18), transparent 58%),
    #07110f;
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.scanner-visual::before,
.scanner-visual::after {
  position: absolute;
  z-index: 8;
  width: 34px;
  height: 34px;
  border-color: rgba(202, 255, 85, .42);
  border-style: solid;
  content: "";
  pointer-events: none;
}

.scanner-visual::before {
  top: 12px;
  left: 12px;
  border-width: 1px 0 0 1px;
}

.scanner-visual::after {
  right: 12px;
  bottom: 12px;
  border-width: 0 1px 1px 0;
}

.scanner-media {
  position: relative;
  width: min(100cqw, calc(100cqh * var(--media-ratio)));
  height: min(100cqh, calc(100cqw / var(--media-ratio)));
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: var(--media-aspect);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .28);
  background: #e7e2d7;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .42);
  isolation: isolate;
}

.scanner-media > img,
.saved-overlay,
.region-output-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scanner-media > img {
  display: block;
  object-fit: fill;
}

.case-source-image {
  z-index: 1;
  filter: saturate(.75) contrast(1.035);
}

.saved-overlay,
.region-output-image {
  z-index: 3;
}

.region-output-image {
  object-fit: fill;
  filter: saturate(1.06) contrast(1.02);
}

.region-inspector {
  position: absolute;
  inset: 0;
  z-index: 5;
  cursor: crosshair;
}

.region-media .region-inspector {
  pointer-events: none;
}

.slider-region-inspector {
  z-index: 6;
}

.region-example-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.region-hotspot {
  position: absolute;
  top: var(--hy);
  left: var(--hx);
  z-index: 8;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid var(--acid);
  border-radius: 50%;
  background: rgba(7, 17, 15, .82);
  color: var(--acid);
  cursor: help;
  opacity: 0;
  pointer-events: auto;
  box-shadow: 0 0 0 4px rgba(202, 255, 85, .16), 0 0 18px rgba(202, 255, 85, .72);
  transform: translate(-50%, -50%);
}

.region-hotspot::before,
.region-hotspot::after,
.region-hotspot i::before {
  position: absolute;
  background: currentColor;
  content: "";
  pointer-events: none;
}

.region-hotspot::before {
  top: 50%;
  left: -5px;
  width: calc(100% + 10px);
  height: 1px;
}

.region-hotspot::after {
  top: -5px;
  left: 50%;
  width: 1px;
  height: calc(100% + 10px);
}

.region-hotspot i::before {
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.region-hotspot:hover,
.region-hotspot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
  box-shadow: 0 0 0 5px rgba(202, 255, 85, .22), 0 0 26px rgba(202, 255, 85, .95);
}

.region-code-tag {
  position: absolute;
  top: 50%;
  left: calc(100% + 7px);
  z-index: 9;
  width: max-content;
  padding: 4px 6px;
  border: 1px solid rgba(202, 255, 85, .56);
  background: rgba(7, 17, 15, .9);
  color: var(--acid);
  font: 900 .6rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  font-style: normal;
  letter-spacing: .025em;
  pointer-events: none;
  transform: translateY(-50%);
}

.region-hotspot.tip-left .region-code-tag {
  right: calc(100% + 7px);
  left: auto;
}

.region-hotspot:hover .overlay-tooltip,
.region-hotspot:focus .overlay-tooltip,
.region-hotspot.is-active .overlay-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.region-hotspot.tip-left .overlay-tooltip {
  right: -2px;
  left: auto;
  transform: translate(0, 5px);
}

.region-hotspot.tip-left:hover .overlay-tooltip,
.region-hotspot.tip-left:focus .overlay-tooltip,
.region-hotspot.tip-left.is-active .overlay-tooltip {
  transform: translate(0, 0);
}

.region-hotspot.tip-right .overlay-tooltip {
  left: -2px;
  transform: translate(0, 5px);
}

.region-hotspot.tip-right:hover .overlay-tooltip,
.region-hotspot.tip-right:focus .overlay-tooltip,
.region-hotspot.tip-right.is-active .overlay-tooltip {
  transform: translate(0, 0);
}

.region-hotspot.tip-below .overlay-tooltip {
  top: calc(100% + 12px);
  bottom: auto;
}

.region-pointer-tooltip {
  position: absolute;
  top: var(--tip-y);
  left: var(--tip-x);
  z-index: 24;
  width: max-content;
  max-width: min(300px, 78vw);
  padding: 12px 14px;
  border: 2px solid rgba(202, 255, 85, .92);
  background: rgba(4, 12, 10, .985);
  color: #fff;
  font: 800 .74rem/1.42 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .025em;
  pointer-events: none;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .62), 0 0 18px rgba(202, 255, 85, .12);
  transform: translate(12px, 12px);
}

.region-pointer-tooltip.tip-left {
  transform: translate(calc(-100% - 12px), 12px);
}

.region-pointer-tooltip.tip-above {
  transform: translate(12px, calc(-100% - 12px));
}

.region-pointer-tooltip.tip-left.tip-above {
  transform: translate(calc(-100% - 12px), calc(-100% - 12px));
}

.region-pointer-tooltip span,
.region-pointer-tooltip strong,
.region-pointer-tooltip b,
.region-pointer-tooltip small {
  display: block;
}

.region-pointer-tooltip span {
  color: rgba(255, 255, 255, .76);
  font-size: .6rem;
}

.region-pointer-tooltip strong {
  margin-top: 4px;
  color: var(--acid);
  font-size: .9rem;
}

.region-pointer-tooltip b {
  max-width: 276px;
  margin-top: 5px;
  color: #fff;
  font-size: .78rem;
  line-height: 1.4;
  letter-spacing: 0;
}

.region-pointer-tooltip small {
  margin-top: 5px;
  color: rgba(255, 255, 255, .76);
  font-size: .58rem;
}

.slider-region-inspector .region-hotspot {
  opacity: 1;
}

.scanner-box {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: var(--w);
  height: var(--h);
  min-width: 0;
  padding: 0;
  border: 2px solid var(--acid);
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: help;
  opacity: 0;
  box-shadow: 0 0 0 1px rgba(7, 17, 15, .88), 0 0 14px rgba(202, 255, 85, .86);
  transform: translate(-50%, -50%);
}

.scanner-box::before,
.scanner-box::after {
  position: absolute;
  background: var(--acid);
  color: var(--night);
  content: "";
}

.scanner-box::before {
  top: 50%;
  left: -5px;
  width: calc(100% + 10px);
  height: 1px;
}

.scanner-box::after {
  top: -17px;
  left: -2px;
  width: 15px;
  height: 15px;
  content: attr(data-n);
  font: 950 .5rem/15px ui-monospace, SFMono-Regular, Menlo, monospace;
  text-align: center;
}

.overlay-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  z-index: 30;
  width: max-content;
  max-width: min(300px, 78vw);
  padding: 12px 14px;
  border: 2px solid rgba(202, 255, 85, .92);
  background: rgba(4, 12, 10, .985);
  color: #fff;
  font: 800 .76rem/1.45 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .015em;
  text-align: left;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .65), 0 0 20px rgba(202, 255, 85, .13);
  transform: translate(-50%, 5px);
  transition: opacity .16s ease, transform .16s ease;
}

.overlay-tooltip strong,
.overlay-tooltip code,
.overlay-tooltip small,
.overlay-tooltip .tooltip-kicker {
  display: block;
}

.overlay-tooltip .tooltip-kicker {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, .76);
  font-size: .6rem;
  letter-spacing: .055em;
}

.overlay-tooltip .region-unit-name {
  display: block;
  max-width: 276px;
  margin-top: 3px;
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
}

.overlay-tooltip strong {
  color: var(--acid);
  font-size: .9rem;
}

.overlay-tooltip code {
  margin-top: 5px;
  color: rgba(255, 255, 255, .96);
  font: inherit;
}

.overlay-tooltip small {
  margin-top: 6px;
  color: rgba(255, 255, 255, .7);
  font-size: .58rem;
  text-transform: uppercase;
}

/* Keep click/tap-open region labels above the base hidden tooltip state. */
.region-hotspot.is-active .overlay-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.region-hotspot.tip-left.is-active .overlay-tooltip {
  transform: translate(0, 0);
}

.region-hotspot.tip-right.is-active .overlay-tooltip {
  transform: translate(0, 0);
}

.scanner-box:hover .overlay-tooltip,
.scanner-box:focus .overlay-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.scanner-box.tip-align-left .overlay-tooltip {
  left: -2px;
  transform: translate(0, 5px);
}

.scanner-box.tip-align-left:hover .overlay-tooltip,
.scanner-box.tip-align-left:focus .overlay-tooltip {
  transform: translate(0, 0);
}

.scanner-box.tip-align-right .overlay-tooltip {
  right: -2px;
  left: auto;
  transform: translate(0, 5px);
}

.scanner-box.tip-align-right:hover .overlay-tooltip,
.scanner-box.tip-align-right:focus .overlay-tooltip {
  transform: translate(0, 0);
}

.scanner-box.tip-below .overlay-tooltip {
  top: calc(100% + 12px);
  bottom: auto;
}

.scanner-box:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.scanner-reticle {
  position: absolute;
  top: var(--ry);
  left: var(--rx);
  width: clamp(32px, 7%, 58px);
  padding: 0;
  aspect-ratio: 1;
  border: 2px solid var(--acid);
  border-radius: 0;
  background: transparent;
  cursor: help;
  opacity: 0;
  box-shadow: 0 0 0 2px rgba(7, 17, 15, .72), 0 0 24px rgba(202, 255, 85, .82);
  transform: translate(-50%, -50%);
}

.scanner-reticle::before,
.scanner-reticle::after,
.scanner-reticle i::before,
.scanner-reticle i::after {
  position: absolute;
  background: var(--acid);
  content: "";
}

.scanner-reticle::before {
  top: 50%;
  left: -12px;
  width: calc(100% + 24px);
  height: 1px;
}

.scanner-reticle::after {
  top: -12px;
  left: 50%;
  width: 1px;
  height: calc(100% + 24px);
}

.scanner-reticle i::before {
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(202, 255, 85, .95);
  transform: translate(-50%, -50%);
}

.scanner-reticle b {
  position: absolute;
  top: calc(100% + 9px);
  left: -2px;
  width: max-content;
  padding: 5px 7px;
  background: var(--acid);
  color: var(--night);
  font: 900 .48rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .06em;
  white-space: nowrap;
}

.scanner-reticle b span,
.scanner-reticle b code {
  display: block;
}

.scanner-reticle b code {
  margin-top: 3px;
  color: var(--night);
  font: 850 .46rem/1.15 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0;
}

.scanner-reticle.label-left b {
  right: -2px;
  left: auto;
}

.scanner-reticle.label-above b {
  top: auto;
  bottom: calc(100% + 9px);
}

.scanner-reticle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.scanner-reticle.is-visual-only {
  border-style: dashed;
  border-color: #ffbf69;
  box-shadow: 0 0 0 2px rgba(7, 17, 15, .72), 0 0 22px rgba(255, 191, 105, .65);
}

.scanner-reticle.is-visual-only b {
  background: #ffbf69;
}

.scanner-reticle.is-ocr-candidate::before,
.scanner-reticle.is-ocr-candidate::after,
.scanner-reticle.is-ocr-candidate i::before,
.scanner-reticle.is-ocr-candidate i::after {
  background: #ffbf69;
}

.scanner-reticle.is-ocr-candidate b {
  border: 1px dashed rgba(7, 17, 15, .5);
}

.scanner-beam {
  position: absolute;
  z-index: 6;
  opacity: 0;
  background: var(--acid);
  pointer-events: none;
}

.scanner-beam.scan-x {
  top: 0;
  bottom: 0;
  left: -6%;
  width: 2px;
  box-shadow: -24px 0 46px 16px rgba(202, 255, 85, .17), 0 0 18px var(--acid);
}

.scanner-beam.scan-y {
  top: -6%;
  right: 0;
  left: 0;
  height: 2px;
  box-shadow: 0 -24px 46px 16px rgba(202, 255, 85, .17), 0 0 18px var(--acid);
}

.scanner-beam i {
  position: absolute;
  top: 11px;
  left: 8px;
  padding: 5px 7px;
  background: var(--acid);
  color: var(--night);
  font: 900 .48rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  font-style: normal;
  letter-spacing: .06em;
  white-space: nowrap;
}

.scanner-beam.scan-y i {
  top: 8px;
  left: 11px;
}

.visual-readout {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 7;
  padding: 7px 9px;
  border: 1px solid rgba(202, 255, 85, .4);
  background: rgba(7, 17, 15, .84);
  color: var(--acid);
  font: 850 .5rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .07em;
  opacity: 0;
}

.scanner-state {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid rgba(202, 255, 85, .38);
  background: rgba(7, 17, 15, .9);
  color: rgba(255, 255, 255, .74);
  font: 900 .52rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  pointer-events: none;
}

.scanner-state i,
.record-kicker i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px rgba(202, 255, 85, .72);
}

[data-scanner][data-scan-state="scanning"] .scanner-state i {
  animation: source-ping .9s infinite;
}

[data-scanner][data-scan-state="found"] .scanner-state {
  color: var(--acid);
}

[data-scanner][data-scan-state="error"] .scanner-state {
  border-color: rgba(255, 125, 97, .58);
  color: #ff9b84;
}

[data-scanner][data-scan-state="error"] .scanner-state i {
  background: #ff795d;
  box-shadow: 0 0 12px rgba(255, 121, 93, .72);
}

[data-scanner][data-scan-state="scanning"] .find-panel.is-active .scanner-beam.scan-x {
  animation: scanner-sweep-x 2.2s linear both;
}

[data-scanner][data-scan-state="scanning"] .find-panel.is-active .scanner-beam.scan-y {
  animation: scanner-sweep-y 2.2s linear both;
}

[data-scanner][data-scan-state="scanning"] .find-panel.is-active .scanner-box,
[data-scanner][data-scan-state="scanning"] .find-panel.is-active .scanner-reticle {
  animation: scanner-lock .34s var(--ease-out) var(--lock-delay) both;
}

[data-scanner][data-scan-state="scanning"] .find-panel.is-active .region-hotspot {
  animation: scanner-region-lock .34s var(--ease-out) var(--lock-delay) forwards;
}

[data-scanner][data-scan-state="scanning"] .find-panel.is-active .region-hotspot .overlay-tooltip {
  animation: region-tooltip-scan .78s ease var(--lock-delay) forwards;
}

[data-scanner][data-scan-state="scanning"] .find-panel.is-active .region-output-image {
  animation: scanner-region-wipe 2.2s linear both;
}

[data-scanner][data-scan-state="scanning"] .find-panel.is-active .visual-readout {
  animation: scanner-readout .35s var(--ease-out) 1.84s both;
}

[data-scanner][data-scan-state="found"] .find-panel.is-active .scanner-box,
[data-scanner][data-scan-state="found"] .find-panel.is-active .scanner-reticle,
[data-scanner][data-scan-state="found"] .find-panel.is-active .region-hotspot,
[data-scanner][data-scan-state="found"] .find-panel.is-active .visual-readout {
  opacity: 1;
}

[data-scanner][data-scan-state="found"] .find-panel.is-active .region-inspector {
  pointer-events: auto;
}

[data-scanner]:not([data-scan-state="found"]) .find-panel.is-active .region-pointer-tooltip {
  display: none;
}

[data-scanner][data-scan-state="source"] .find-panel.is-active .scanner-box,
[data-scanner][data-scan-state="source"] .find-panel.is-active .scanner-reticle,
[data-scanner][data-scan-state="source"] .find-panel.is-active .region-hotspot,
[data-scanner][data-scan-state="source"] .find-panel.is-active .visual-readout,
[data-scanner][data-scan-state="error"] .find-panel.is-active .scanner-box,
[data-scanner][data-scan-state="error"] .find-panel.is-active .scanner-reticle,
[data-scanner][data-scan-state="error"] .find-panel.is-active .region-hotspot,
[data-scanner][data-scan-state="error"] .find-panel.is-active .visual-readout {
  opacity: 0;
}

[data-scanner][data-scan-state="source"] .find-panel.is-active .region-output-image,
[data-scanner][data-scan-state="error"] .find-panel.is-active .region-output-image {
  clip-path: inset(0 100% 0 0);
}

[data-scanner][data-scan-state="found"] .find-panel.is-active .region-output-image {
  clip-path: inset(0);
}

.scanner-record {
  min-width: 0;
  min-height: 0;
  padding: 17px 18px 15px;
  overflow: auto;
  border-left: 1px solid rgba(255, 255, 255, .13);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .045), transparent 48%),
    #091512;
  scrollbar-color: rgba(202, 255, 85, .45) transparent;
  transition: opacity .22s ease;
}

[data-scanner][data-scan-state="source"] .scanner-record {
  opacity: .5;
}

[data-scanner][data-scan-state="scanning"] .scanner-record {
  opacity: .72;
}

.record-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
  color: var(--acid);
  font: 850 .52rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
}

.scanner-record h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.1vw, 2.25rem);
  letter-spacing: -.045em;
  line-height: .96;
}

.record-provenance {
  margin: 6px 0 12px;
  color: rgba(255, 255, 255, .42);
  font: 700 .55rem/1.35 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}

.point-records {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, .13);
  list-style: none;
}

.point-records li {
  min-width: 0;
  padding: 7px 0;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.record-number {
  padding-top: 2px;
  color: var(--acid);
  font: 900 .55rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.point-records strong,
.point-records code,
.record-measure,
.record-stage {
  display: block;
}

.point-records strong {
  color: rgba(255, 255, 255, .83);
  font-size: .68rem;
  line-height: 1.22;
}

.point-records code,
.raw-record code {
  margin-top: 2px;
  color: var(--acid);
  font: 750 .58rem/1.25 ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-wrap: anywhere;
}

.record-measure,
.record-stage {
  margin-top: 2px;
  color: rgba(255, 255, 255, .43);
  font: 700 .51rem/1.25 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.record-measure b,
.record-stage b {
  color: rgba(255, 255, 255, .72);
}

.record-measure.is-warning,
.record-note.is-warning {
  color: #ffbf69;
}

.record-note {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .48);
  font-size: .62rem;
  line-height: 1.4;
}

.raw-record {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.raw-record > div {
  padding: 8px 0;
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.raw-record dt,
.raw-record dd {
  margin: 0;
  font: 750 .62rem/1.35 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.raw-record dt {
  color: rgba(255, 255, 255, .36);
  text-transform: uppercase;
}

.raw-record dd {
  color: rgba(255, 255, 255, .82);
}

.record-evaluation {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(202, 255, 85, .2);
  background: rgba(202, 255, 85, .055);
}

.record-evaluation span,
.record-evaluation strong {
  display: block;
}

.record-evaluation span {
  color: rgba(255, 255, 255, .4);
  font: 850 .48rem/1.25 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .06em;
}

.record-evaluation strong {
  margin-top: 5px;
  color: var(--acid);
  font-size: .86rem;
}

.record-evaluation.is-empty strong {
  color: rgba(255, 255, 255, .58);
  font-size: .7rem;
}

.region-unit-examples {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(202, 255, 85, .2);
  background: rgba(202, 255, 85, .045);
}

.region-unit-examples > span,
.region-unit-examples small {
  display: block;
  color: rgba(255, 255, 255, .42);
  font: 800 .48rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .06em;
}

.region-unit-examples > div {
  margin: 7px 0 6px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.region-unit-examples code {
  padding: 4px 6px;
  border: 1px solid rgba(202, 255, 85, .24);
  color: var(--acid);
  font: 850 .55rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.scanner-error {
  position: absolute;
  inset: 15px;
  z-index: 30;
  padding: 24px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  background: rgba(7, 17, 15, .94);
  color: #fff;
  text-align: center;
}

.scanner-error strong {
  color: #ff9b84;
  font: 900 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
}

.scanner-error span {
  max-width: 340px;
  color: rgba(255, 255, 255, .55);
  font-size: .72rem;
}

.scanner-error button {
  margin-top: 5px;
  padding: 9px 16px;
  border: 1px solid var(--acid);
  border-radius: 999px;
  background: transparent;
  color: var(--acid);
  cursor: pointer;
  font: 850 .58rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}

.case-strip {
  min-width: 0;
  min-height: 75px;
  flex: 0 0 75px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  overflow-x: auto;
  overflow-y: hidden;
  border-top: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .018);
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.case-strip button {
  min-width: 0;
  padding: 5px;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .025);
  color: rgba(255, 255, 255, .58);
  cursor: pointer;
  text-align: left;
  scroll-snap-align: center;
}

.case-strip button:hover,
.case-strip button:focus-visible,
.case-strip button[aria-pressed="true"] {
  border-color: rgba(202, 255, 85, .68);
  background: rgba(202, 255, 85, .075);
  color: #fff;
}

.case-thumb {
  width: 78px;
  height: 49px;
  overflow: hidden;
  background: #d9d4c9;
}

.case-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.68) contrast(1.03);
}

.case-strip button > span:last-child {
  min-width: 0;
  overflow: hidden;
  font-size: .61rem;
  font-weight: 760;
  line-height: 1.2;
  text-overflow: ellipsis;
}

.case-strip button b {
  display: block;
  margin-bottom: 4px;
  color: var(--acid);
  font: 900 .5rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

@keyframes scanner-sweep-x {
  0% { left: -6%; opacity: 0; }
  3% { opacity: 1; }
  96% { opacity: 1; }
  100% { left: 106%; opacity: 0; }
}

@keyframes scanner-sweep-y {
  0% { top: -6%; opacity: 0; }
  3% { opacity: 1; }
  96% { opacity: 1; }
  100% { top: 106%; opacity: 0; }
}

@keyframes scanner-lock {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(1.55); }
  65% { opacity: 1; transform: translate(-50%, -50%) scale(.92); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes scanner-region-lock {
  0% {
    opacity: 1;
    filter: brightness(1.8);
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 1;
    filter: brightness(1);
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes scanner-region-wipe {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0); }
}

@keyframes scanner-readout {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes region-tooltip-scan {
  0% {
    opacity: 1;
    clip-path: inset(0);
    translate: 0 6px;
  }
  14%, 76% {
    opacity: 1;
    clip-path: inset(0);
    translate: 0 0;
  }
  100% {
    opacity: 0;
    clip-path: inset(0 0 0 100%);
    translate: 0 -3px;
  }
}

@media (max-width: 780px) {
  .examples-pane.finds-section {
    height: 150svh;
    min-height: 150svh;
    max-height: 150svh;
    padding: 76px 14px 14px;
  }

  .examples-pane.finds-section::before {
    right: 0;
    width: 100%;
  }

  .scanner-intro {
    min-height: 74px;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
  }

  .scanner-intro h2 {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
  }

  .scanner-intro > div:last-child {
    display: block;
  }

  .scanner-intro > div:last-child > p {
    margin-top: 7px;
    font-size: .62rem;
    text-align: left;
  }

  .scanner .find-tabs {
    flex-basis: 50px;
  }

  .scanner .find-tabs button {
    min-width: 0;
    padding: 8px;
    justify-content: center;
    gap: 6px;
    font-size: .56rem;
  }

  .scanner-toolbar {
    min-height: 42px;
    flex: 0 0 42px;
  }

  .scanner-position {
    padding: 0 10px;
  }

  .scanner-position strong {
    font-size: .67rem;
  }

  .overlay-tooltip,
  .region-pointer-tooltip {
    max-width: min(240px, calc(100vw - 32px));
  }

  .scanner .find-panel {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(280px, .9fr) minmax(0, 1.1fr);
  }

  .scanner-record {
    padding: 14px;
    border-top: 1px solid rgba(255, 255, 255, .13);
    border-left: 0;
  }

  .scanner-state {
    bottom: calc(50% + 8px);
  }

  .case-strip {
    min-height: 77px;
    flex-basis: 77px;
    grid-template-columns: repeat(5, 174px);
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .case-strip button {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .case-thumb {
    width: 72px;
    height: 48px;
  }
}

@media (max-width: 430px) {
  .scanner-intro .eyebrow {
    font-size: .52rem;
  }

  .scanner-position {
    gap: 8px;
  }

  .scanner-position code {
    margin-left: auto;
  }

  .scanner-media {
    border-width: 1px;
  }

  .raw-record > div {
    grid-template-columns: 90px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-scanner] .scanner-beam {
    display: none;
  }
}

/* Three-page edition */
.nav-links a[aria-current="page"] {
  color: var(--white);
}

.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.inner-page {
  background: var(--night);
}

.inner-page .site-nav {
  position: absolute;
}

.page-hero {
  width: var(--shell);
  min-height: 72vh;
  margin-inline: auto;
  padding: 190px 0 100px;
  display: grid;
  align-content: center;
  background: radial-gradient(circle at 78% 38%, rgba(127, 255, 216, .11), transparent 34%);
}

.page-hero h1 {
  max-width: 980px;
  margin: 18px 0 24px;
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 780;
  letter-spacing: -.075em;
  line-height: .82;
}

.page-hero h1 em {
  color: var(--acid);
  font-family: Georgia, serif;
  font-weight: 400;
}

.page-hero > p:last-of-type {
  max-width: 680px;
  color: rgba(255, 255, 255, .67);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.type-jump {
  display: flex;
  gap: 10px;
  margin-top: 36px;
}

.type-jump a {
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.example-group {
  padding: 110px max(36px, calc((100vw - 1380px) / 2));
  scroll-margin-top: 20px;
}

.paper-group {
  background: var(--paper);
  color: var(--ink);
}

.example-group-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 56px;
  align-items: end;
  margin-bottom: 48px;
}

.example-group-head .eyebrow {
  grid-column: 1 / -1;
}

.example-group-head h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.5rem);
  letter-spacing: -.06em;
  line-height: .9;
}

.example-group-head > p:last-child {
  max-width: 540px;
  color: rgba(255, 255, 255, .6);
}

.paper-group .example-group-head > p:last-child {
  color: var(--muted);
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.example-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: var(--night-2);
}

.paper-group .example-card {
  border-color: rgba(16, 32, 28, .12);
  background: #f7f3e9;
}

.example-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
}

.example-card > img,
.paired-images {
  width: 100%;
  height: 390px;
  object-fit: cover;
  background: #d8d3c7;
}

.example-card-wide > img {
  height: 100%;
  min-height: 430px;
}

.paired-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 430px;
}

.paired-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.example-card > div:not(.paired-images) {
  padding: 30px;
}

.example-card span,
.status-panel span {
  color: var(--acid);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .12em;
}

.example-card h3 {
  margin: 10px 0 12px;
  font-size: clamp(1.7rem, 3vw, 3rem);
  letter-spacing: -.045em;
  line-height: 1;
}

.example-card p {
  color: rgba(255, 255, 255, .62);
}

.paper-group .example-card p {
  color: var(--muted);
}

.example-card dl {
  display: flex;
  gap: 35px;
  margin-top: 28px;
}

.example-card dl div {
  display: grid;
}

.example-card dt {
  color: var(--muted);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.example-card dd {
  margin: 3px 0 0;
  font-family: ui-monospace, monospace;
}

.page-next {
  min-height: 55vh;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.page-next p {
  color: var(--acid);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.page-next h2 {
  margin: 10px 0 28px;
  font-size: clamp(2.5rem, 5vw, 5rem);
  letter-spacing: -.05em;
}

.data-evidence {
  padding-top: 110px;
}

.data-grid {
  width: var(--shell);
  margin: 32px auto 90px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.data-grid article {
  min-height: 210px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.data-grid span {
  color: var(--muted);
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .11em;
}

.data-grid strong {
  display: block;
  margin-top: 18px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  letter-spacing: -.07em;
  line-height: .9;
}

.data-grid p {
  color: var(--muted);
}

.status-panel {
  width: var(--shell);
  margin: 90px auto 0;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 60px;
  align-items: center;
  border-radius: 8px;
  background: var(--night);
  color: var(--white);
}

.status-panel h2 {
  margin: 8px 0 0;
  font-size: clamp(2.3rem, 4vw, 4.5rem);
  letter-spacing: -.055em;
  line-height: .95;
}

.status-panel > p {
  color: rgba(255, 255, 255, .64);
}

.status-panel .button {
  grid-column: 1 / -1;
  width: fit-content;
}

@media (max-width: 800px) {
  .page-hero {
    min-height: 68vh;
    padding-top: 140px;
  }

  .page-hero h1 {
    font-size: clamp(3.7rem, 18vw, 6rem);
  }

  .example-group {
    padding: 76px 20px;
  }

  .example-group-head,
  .example-grid,
  .example-card-wide,
  .status-panel {
    grid-template-columns: 1fr;
  }

  .example-card-wide {
    grid-column: auto;
  }

  .example-card > img,
  .example-card-wide > img,
  .paired-images {
    height: 320px;
    min-height: 0;
  }

  .data-grid {
    grid-template-columns: 1fr 1fr;
  }

  .status-panel {
    padding: 30px;
  }
}

@media (max-width: 520px) {
  .type-jump {
    align-items: stretch;
    flex-direction: column;
  }

  .type-jump a {
    text-align: center;
  }

  .data-grid {
    grid-template-columns: 1fr;
  }

  .paired-images {
    grid-template-columns: 1fr;
    height: auto;
  }

  .paired-images img {
    height: 260px;
  }
}

/* Three-pane parallax composition */
.parallax-pane {
  --pane-parallax: 0px;
  position: relative;
  min-height: 100svh;
  isolation: isolate;
}

.front-pane {
  min-height: 100svh;
}

.examples-pane {
  overflow: clip;
  background: var(--night);
}

.examples-pane::before,
.data-pane::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: -18vw;
  width: 72vw;
  height: 72vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 255, 216, .09), rgba(127, 255, 216, 0) 68%);
  content: "";
  pointer-events: none;
  transform: translate3d(0, var(--pane-parallax), 0);
  will-change: transform;
}

.data-pane::before {
  top: 10%;
  right: auto;
  left: -25vw;
  background: radial-gradient(circle, rgba(202, 255, 85, .16), rgba(202, 255, 85, 0) 68%);
}

.pane-intro {
  width: var(--shell);
  min-height: 88vh;
  margin-inline: auto;
  padding: 150px 0 100px;
  display: grid;
  align-content: center;
}

.pane-number {
  margin: 0 0 28px;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.hero-pane-number {
  margin-bottom: 14px;
}

.pane-intro h2 {
  max-width: 1050px;
  margin: 20px 0 28px;
  font-size: clamp(4.2rem, 9vw, 9rem);
  letter-spacing: -.075em;
  line-height: .83;
}

.pane-intro h2 em {
  color: var(--acid);
  font-family: Georgia, serif;
  font-weight: 400;
}

.pane-intro > p:last-child {
  max-width: 670px;
  color: rgba(255, 255, 255, .65);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.pane-rail {
  position: fixed;
  z-index: 90;
  top: 50%;
  right: 20px;
  display: grid;
  gap: 9px;
  transform: translateY(-50%);
}

.pane-rail a {
  width: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(7, 17, 15, .74);
  color: rgba(255, 255, 255, .55);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .64rem;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: width .3s var(--ease-out), color .2s ease, border-color .2s ease, background .2s ease;
}

.pane-rail a b {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

body[data-active-pane="front"] .pane-rail [data-pane-link="front"],
body[data-active-pane="examples"] .pane-rail [data-pane-link="examples"],
body[data-active-pane="numbers"] .pane-rail [data-pane-link="numbers"] {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--night);
}

.example-library {
  width: var(--shell);
  margin-inline: auto;
  padding: 140px 0 170px;
}

.library-head {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 16px 60px;
  align-items: end;
  margin-bottom: 90px;
}

.library-head .eyebrow {
  grid-column: 1 / -1;
}

.library-head h2 {
  margin: 0;
  font-size: clamp(3.5rem, 7vw, 7.2rem);
  letter-spacing: -.065em;
  line-height: .88;
}

.library-head h2 em {
  color: var(--acid);
  font-family: Georgia, serif;
  font-weight: 400;
}

.library-head > p:last-child {
  max-width: 480px;
  color: rgba(255, 255, 255, .58);
}

.library-group {
  margin-top: 100px;
}

.library-group > header {
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: baseline;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  padding-bottom: 20px;
}

.library-group > header span,
.library-group article > div:last-child > span {
  color: var(--acid);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .12em;
}

.library-group > header h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -.05em;
}

.library-group > header p {
  color: rgba(255, 255, 255, .5);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .73rem;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.library-grid article {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 9px;
  background: var(--night-2);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .18);
}

.case-visual {
  position: relative;
  height: 340px;
  overflow: hidden;
  background: #eeeae0;
}

.case-visual::after {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: -30%;
  width: 22%;
  background: linear-gradient(90deg, transparent, rgba(202, 255, 85, .24), rgba(202, 255, 85, .65), transparent);
  content: "";
  mix-blend-mode: multiply;
  opacity: 0;
  transform: skewX(-10deg);
}

.library-grid article:hover .case-visual::after,
.library-grid article:focus-within .case-visual::after {
  opacity: 1;
  animation: library-scan 1.5s var(--ease-smooth) both;
}

.case-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.library-grid article > div:last-child {
  min-height: 190px;
  padding: 26px 28px 30px;
}

.library-grid h4 {
  margin: 9px 0 11px;
  font-size: clamp(1.6rem, 2.5vw, 2.7rem);
  letter-spacing: -.045em;
  line-height: 1;
}

.library-grid article > div:last-child p {
  margin: 0;
  color: rgba(255, 255, 255, .58);
}

.model-box,
.coordinate-pin,
.output-callout {
  position: absolute;
  z-index: 4;
  color: var(--night);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .07em;
}

.model-box {
  width: 34px;
  height: 34px;
  border: 2px solid var(--acid);
  box-shadow: 0 0 0 999px rgba(7, 17, 15, .07), 0 0 28px rgba(202, 255, 85, .8);
  transform: translate(-50%, -50%);
}

.model-box::before,
.model-box::after {
  position: absolute;
  background: var(--acid);
  content: "";
}

.model-box::before { top: 50%; left: -12px; width: 56px; height: 1px; }
.model-box::after { top: -12px; left: 50%; width: 1px; height: 56px; }

.model-box b {
  position: absolute;
  top: calc(100% + 8px);
  left: -2px;
  width: max-content;
  padding: 5px 7px;
  background: var(--acid);
}

.box-strawberry { top: 42%; left: 11%; }
.box-howard { top: 55%; left: 35%; }
.box-house { top: 57%; left: 27%; }
.box-bettles { top: 85%; left: 46%; }

.source-stamp,
.output-stamp {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 14px;
  padding: 7px 9px;
  background: var(--white);
  color: var(--night);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.output-stamp {
  background: var(--acid);
}

.output-callout {
  width: 16px;
  height: 16px;
  border: 3px solid var(--acid);
  border-radius: 50%;
  background: var(--night);
  box-shadow: 0 0 0 7px rgba(202, 255, 85, .2);
}

.output-callout::after {
  position: absolute;
  bottom: 16px;
  left: 5px;
  width: 1px;
  height: 62px;
  background: var(--acid);
  content: "";
  transform: rotate(38deg);
  transform-origin: bottom;
}

.output-callout b {
  position: absolute;
  right: 38px;
  bottom: 57px;
  width: max-content;
  padding: 6px 8px;
  background: var(--acid);
}

.callout-hughes { top: 60%; left: 58%; }
.callout-volcanoes { top: 52%; left: 66%; }
.callout-frederick { top: 61%; left: 45%; }
.callout-needles { top: 24%; left: 31%; }

.coordinate-pin {
  width: 42px;
  height: 42px;
  border: 2px solid var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(202, 255, 85, .18);
  transform: translate(-50%, -50%);
}

.coordinate-pin::before,
.coordinate-pin::after {
  position: absolute;
  background: var(--acid);
  content: "";
}

.coordinate-pin::before { top: 50%; left: -16px; width: 70px; height: 1px; }
.coordinate-pin::after { top: -16px; left: 50%; width: 1px; height: 70px; }

.coordinate-pin b {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: max-content;
  padding: 6px 8px;
  background: var(--acid);
  transform: translateX(-50%);
}

.pin-kechumstuk { top: 45.5%; left: 48%; }
.pin-needles { top: 9%; left: 5%; }

.data-pane {
  padding-top: 150px;
}

.data-pane-number {
  width: var(--shell);
  margin: 0 auto 40px;
  color: var(--ink);
}

.data-detail-grid {
  width: var(--shell);
  margin: 80px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.data-detail-grid article {
  min-height: 210px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.data-detail-grid span,
.research-status > div > span {
  color: var(--muted);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .11em;
}

.data-detail-grid strong {
  display: block;
  margin: 18px 0 8px;
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  letter-spacing: -.065em;
  line-height: .9;
}

.data-detail-grid p {
  margin: 0;
  color: var(--muted);
}

.research-status {
  width: var(--shell);
  margin: 90px auto 0;
  padding: 46px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 60px;
  align-items: center;
  border-radius: 8px;
  background: var(--night);
  color: var(--white);
}

.research-status h3 {
  margin: 8px 0 0;
  font-size: clamp(2.3rem, 4vw, 4.5rem);
  letter-spacing: -.055em;
  line-height: .95;
}

.research-status > p {
  color: rgba(255, 255, 255, .64);
}

.research-status .button {
  grid-column: 1 / -1;
  width: fit-content;
}

.verified-strip {
  width: var(--shell);
  margin: 0 auto;
  padding: 115px 0 150px;
}

.verified-strip > header {
  max-width: 940px;
  margin-bottom: 45px;
}

.verified-strip > header h2 {
  margin: 18px 0 0;
  font-size: clamp(3.2rem, 6vw, 6.5rem);
  letter-spacing: -.06em;
  line-height: .88;
}

.verified-strip > header h2 em {
  color: var(--acid);
  font-family: Georgia, serif;
  font-weight: 400;
}

.verified-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.verified-grid article {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 9px;
  background: var(--night-2);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .2);
}

.verified-grid article > div:last-child {
  min-height: 205px;
  padding: 25px 26px 30px;
}

.verified-grid article > div:last-child > span {
  color: var(--acid);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .12em;
}

.verified-grid h3 {
  margin: 9px 0 12px;
  font-size: clamp(1.6rem, 2.4vw, 2.55rem);
  letter-spacing: -.045em;
  line-height: 1;
}

.verified-grid article > div:last-child p {
  margin: 0;
  color: rgba(255, 255, 255, .58);
}

.results-catalog {
  width: var(--shell);
  margin: 0 auto;
  padding: 110px 0 160px;
}

.catalog-head {
  max-width: 900px;
}

.catalog-head h2 {
  margin: 18px 0 22px;
  font-size: clamp(3.6rem, 7vw, 7.4rem);
  letter-spacing: -.065em;
  line-height: .88;
}

.catalog-head > p:last-child {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, .62);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.result-group {
  margin-top: 110px;
}

.result-group > header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 520px);
  gap: 24px;
  align-items: end;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.result-group > header span,
.result-copy > span {
  color: var(--acid);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .12em;
}

.result-group > header h3 {
  margin: 7px 0 0;
  font-size: clamp(2rem, 3.8vw, 4.1rem);
  letter-spacing: -.05em;
  line-height: .98;
}

.result-group > header > p {
  margin: 0;
  color: rgba(255, 255, 255, .54);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .75rem;
  line-height: 1.65;
}

.result-grid {
  display: grid;
  gap: 18px;
  align-items: start;
}

.point-result-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.region-result-grid,
.coordinate-result-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.coordinate-result-grid {
  display: block;
  columns: 3;
  column-gap: 18px;
}

.coordinate-result-grid .result-card {
  margin-bottom: 18px;
  break-inside: avoid;
}

.result-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: var(--night-2);
  box-shadow: 0 24px 58px rgba(0, 0, 0, .2);
}

.result-visual {
  position: relative;
  height: 310px;
  overflow: hidden;
  background: #e8e3d8;
}

.result-visual > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.point-output,
.georef-output,
.coordinate-crop {
  height: auto;
}

.point-output > img,
.georef-output > img,
.coordinate-crop > img {
  height: auto;
}

.result-copy {
  padding: 24px 25px 28px;
}

.result-copy h4 {
  margin: 8px 0 10px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  letter-spacing: -.035em;
  line-height: 1.06;
}

.result-copy p {
  margin: 0;
  color: rgba(255, 255, 255, .58);
}

.result-copy ol {
  margin: 17px 0 0;
  padding: 15px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  counter-reset: output-record;
  list-style: none;
}

.result-copy li {
  position: relative;
  padding-left: 25px;
  color: rgba(255, 255, 255, .68);
  font-size: .82rem;
  line-height: 1.35;
  counter-increment: output-record;
}

.result-copy li::before {
  position: absolute;
  top: .05em;
  left: 0;
  color: var(--acid);
  content: counter(output-record, decimal-leading-zero);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .68rem;
  font-weight: 900;
}

.result-copy li > span,
.result-copy li > code {
  display: block;
}

.result-copy li small {
  display: inline-block;
  margin-left: 4px;
  color: rgba(255, 255, 255, .4);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .62rem;
  white-space: nowrap;
}

.result-copy li > code {
  margin-top: 3px;
  color: var(--acid);
  font: 750 .62rem/1.35 ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-wrap: anywhere;
}

.coordinate-record {
  display: grid;
  gap: 5px;
  margin: 15px 0 13px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.coordinate-record code {
  color: rgba(255, 255, 255, .66);
  font: 750 .66rem/1.35 ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-wrap: anywhere;
}

.coordinate-record code:last-child {
  color: var(--acid);
}

.prediction-box {
  position: absolute;
  z-index: 3;
  top: var(--y);
  left: var(--x);
  width: max(16px, var(--w));
  height: max(16px, var(--h));
  border: 2px solid var(--acid);
  box-shadow: 0 0 0 2px rgba(7, 17, 15, .55), 0 0 18px rgba(202, 255, 85, .72);
  transform: translate(-50%, -50%);
}

.prediction-box::before,
.prediction-box::after {
  position: absolute;
  background: var(--acid);
  pointer-events: none;
}

.prediction-box::before {
  top: 50%;
  left: -7px;
  width: calc(100% + 14px);
  height: 1px;
  content: "";
}

.prediction-box::after {
  top: var(--label-y, -3px);
  left: var(--label-x, -24px);
  width: 20px;
  height: 20px;
  color: var(--night);
  content: attr(data-n);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .65rem;
  font-weight: 950;
  line-height: 20px;
  text-align: center;
}

.point-output::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgba(202, 255, 85, .16);
  content: "";
  pointer-events: none;
}

.extent-overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 5px rgba(202, 255, 85, .85));
  pointer-events: none;
}

.extent-overlay polygon {
  fill: rgba(202, 255, 85, .16);
  stroke: var(--acid);
  stroke-dasharray: 3 1.5;
  stroke-width: .9;
  vector-effect: non-scaling-stroke;
}

.coordinate-reticle {
  position: absolute;
  z-index: 3;
  top: var(--ry, 48%);
  left: var(--rx, 48.5%);
  width: var(--rw, 18%);
  height: var(--rh, 10%);
  border: 2px solid var(--acid);
  box-shadow: 0 0 0 2px rgba(7, 17, 15, .52), 0 0 22px rgba(202, 255, 85, .74);
  transform: translate(-50%, -50%);
}

.coordinate-reticle::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border: 2px solid var(--night);
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 5px rgba(202, 255, 85, .24), 0 0 18px rgba(202, 255, 85, .95);
  content: "";
  transform: translate(-50%, -50%);
}

.coordinate-reticle::after {
  position: absolute;
  top: calc(100% + 7px);
  right: -2px;
  width: max-content;
  max-width: min(270px, 72vw);
  padding: 5px 7px;
  background: var(--acid);
  color: var(--night);
  content: "PRINT " attr(data-raw) "  →  SAVED " attr(data-parsed);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .5rem;
  font-weight: 900;
  letter-spacing: .035em;
  line-height: 1.25;
  white-space: normal;
}

.coordinate-reticle.label-from-left::after {
  right: auto;
  left: -2px;
}

.result-card:hover .prediction-box,
.result-card:focus-within .prediction-box,
.result-card:hover .coordinate-reticle,
.result-card:focus-within .coordinate-reticle {
  box-shadow: 0 0 0 3px rgba(7, 17, 15, .6), 0 0 30px rgba(202, 255, 85, .95);
}

.result-card:hover .extent-overlay polygon,
.result-card:focus-within .extent-overlay polygon {
  animation: extent-trace 1.4s linear infinite;
}

.scan-result-card .result-visual {
  isolation: isolate;
}

.card-scan-beam {
  position: absolute;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
}

.card-scan-beam.scan-x {
  top: 0;
  bottom: 0;
  left: -8%;
  width: 2px;
  background: var(--acid);
  box-shadow: -28px 0 55px 18px rgba(202, 255, 85, .18), 0 0 18px var(--acid);
}

.card-scan-beam.scan-y {
  top: -8%;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--acid);
  box-shadow: 0 -28px 55px 18px rgba(202, 255, 85, .18), 0 0 18px var(--acid);
}

.card-scan-beam i {
  position: absolute;
  top: 12px;
  left: 9px;
  padding: 5px 7px;
  background: var(--acid);
  color: var(--night);
  font: 900 .52rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  font-style: normal;
  letter-spacing: .09em;
  white-space: nowrap;
}

.card-scan-beam.scan-y i {
  top: 9px;
  left: 14px;
}

.card-scan-state {
  position: absolute;
  z-index: 9;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid rgba(202, 255, 85, .42);
  background: rgba(7, 17, 15, .86);
  color: rgba(255, 255, 255, .76);
  font: 850 .52rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
  backdrop-filter: blur(10px);
}

.card-scan-state i,
.scan-record-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 11px rgba(202, 255, 85, .72);
}

.card-scan-replay {
  position: absolute;
  z-index: 12;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: rgba(7, 17, 15, .78);
  color: #fff;
  cursor: pointer;
  font: 850 .52rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
  opacity: .62;
  transition: opacity .2s ease, border-color .2s ease, background .2s ease;
  backdrop-filter: blur(10px);
}

.card-scan-replay span {
  color: var(--acid);
  font-size: .85rem;
}

.card-scan-replay:hover,
.card-scan-replay:focus-visible {
  border-color: var(--acid);
  background: rgba(7, 17, 15, .96);
  opacity: 1;
}

.scan-record-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 11px !important;
  color: rgba(255, 255, 255, .4) !important;
  font: 850 .55rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .09em;
}

.scan-record-label i {
  flex: 0 0 auto;
}

.region-wipe {
  display: block;
}

.region-wipe > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.region-wipe .region-input-image {
  z-index: 0;
  filter: saturate(.72) contrast(1.03);
}

.region-wipe .region-output-image {
  z-index: 2;
}

.region-wipe .output-stamp {
  right: 14px;
  left: auto;
}

.js .scan-result-card:not(.is-complete) .prediction-box,
.js .scan-result-card:not(.is-complete) .extent-overlay,
.js .scan-result-card:not(.is-complete) .coordinate-reticle,
.js .scan-result-card:not(.is-complete) .output-stamp {
  opacity: 0;
}

.js .scan-result-card[data-scan-kind="region"]:not(.is-complete) .region-output-image {
  clip-path: inset(0 100% 0 0);
}

.scan-result-card.is-scanning .card-scan-beam.scan-x {
  animation: find-sweep-x 2.1s var(--ease-smooth) both;
}

.scan-result-card.is-scanning .card-scan-beam.scan-y {
  animation: find-sweep-y 2.1s var(--ease-smooth) both;
}

.scan-result-card.is-scanning .prediction-box {
  animation: card-lock .48s var(--ease-out) var(--scan-lock-delay, 1.48s) both;
}

.scan-result-card.is-scanning .extent-overlay {
  animation: card-extent-reveal .72s var(--ease-out) 1.38s both;
}

.scan-result-card.is-scanning .extent-overlay polygon {
  animation: extent-trace 1.15s linear 1.38s infinite;
}

.scan-result-card.is-scanning .coordinate-reticle {
  animation: card-lock .48s var(--ease-out) var(--scan-lock-delay, 1.48s) both;
}

.scan-result-card.is-scanning .output-stamp {
  animation: find-result-in .44s var(--ease-out) 1.68s both;
}

.scan-result-card.is-scanning[data-scan-kind="region"] .region-output-image {
  animation: card-region-reveal 2.1s var(--ease-smooth) both;
}

.scan-result-card.is-scanning .card-scan-state i {
  animation: source-ping 1s infinite;
}

.scan-result-card.is-complete .prediction-box,
.scan-result-card.is-complete .extent-overlay,
.scan-result-card.is-complete .coordinate-reticle,
.scan-result-card.is-complete .output-stamp {
  opacity: 1;
}

.scan-result-card.is-complete[data-scan-kind="region"] .region-output-image {
  clip-path: inset(0);
}

.scan-result-card.is-complete .card-scan-state {
  color: var(--acid);
}

.split-case {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-case img {
  min-width: 0;
  object-fit: cover;
}

.split-case .output-stamp {
  right: 14px;
  left: auto;
}

.data-pane footer {
  width: var(--shell);
  margin: 110px auto -80px;
  border-color: var(--line);
  color: var(--muted);
}

.data-pane .footer-brand {
  color: var(--ink);
}

@keyframes library-scan {
  from { left: -30%; }
  to { left: 115%; }
}

@keyframes extent-trace {
  to { stroke-dashoffset: -18; }
}

@keyframes card-lock {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(1.7); }
  60% { opacity: 1; transform: translate(-50%, -50%) scale(.92); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes card-extent-reveal {
  0% { opacity: 0; clip-path: inset(100% 0 0); }
  100% { opacity: 1; clip-path: inset(0); }
}

@keyframes card-region-reveal {
  0%, 8% { clip-path: inset(0 100% 0 0); }
  76%, 100% { clip-path: inset(0); }
}

@media (max-width: 900px) {
  .pane-rail {
    display: none;
  }

  .pane-intro {
    min-height: 72vh;
    padding: 120px 0 70px;
  }

  .pane-intro h2 {
    font-size: clamp(3.8rem, 15vw, 7rem);
  }

  .library-head,
  .library-group > header,
  .research-status {
    grid-template-columns: 1fr;
  }

  .library-group > header {
    gap: 8px;
  }

  .library-grid {
    grid-template-columns: 1fr;
  }

  .verified-grid {
    grid-template-columns: 1fr;
  }

  .result-group > header {
    grid-template-columns: 1fr;
  }

  .region-result-grid,
  .coordinate-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coordinate-result-grid {
    columns: 2;
  }

  .data-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .example-library {
    padding: 95px 0 110px;
  }

  .library-head {
    margin-bottom: 45px;
  }

  .library-group {
    margin-top: 65px;
  }

  .case-visual {
    height: 260px;
  }

  .results-catalog {
    padding: 80px 0 110px;
  }

  .result-group {
    margin-top: 80px;
  }

  .point-result-grid,
  .region-result-grid,
  .coordinate-result-grid {
    grid-template-columns: 1fr;
  }

  .coordinate-result-grid {
    columns: 1;
  }

  .result-visual {
    height: 280px;
  }

  .point-output,
  .georef-output,
  .coordinate-crop {
    height: auto;
  }

  .result-copy ol {
    grid-template-columns: 1fr;
  }

  .data-detail-grid {
    grid-template-columns: 1fr;
  }

  .research-status {
    padding: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .examples-pane::before,
  .data-pane::before {
    transform: none !important;
  }

  .case-visual::after {
    display: none;
  }

  .result-card:hover .extent-overlay polygon,
  .result-card:focus-within .extent-overlay polygon {
    animation: none;
  }
}
