@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-serif-4-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-serif-4-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/source-serif-4-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/source-serif-4-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Code Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-code-pro-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Code Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-code-pro-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Code Pro";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/source-code-pro-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Code Pro";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/source-code-pro-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Code Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/source-code-pro-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Code Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/source-code-pro-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #FAFAFC;
  --surface: #FFFFFF;
  --paper-alt: #F1F3F7;
  --rule: #D3D9E3;

  --ink: #0B1220;
  --ink-2: #2B3648;
  --muted: #505D70;

  --film: #04060A;

  --blue: #0096FF;
  --blue-ink: #005BB5;
  --blue-soft: #EAF5FF;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Source Code Pro", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1160px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #9CA5B4 var(--paper);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: var(--paper);
}
::-webkit-scrollbar-thumb {
  background: #9CA5B4;
  border: 2px solid var(--paper);
}

::selection {
  background: var(--blue-soft);
  color: var(--ink);
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23C7CEDB'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  caret-color: var(--blue-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main:focus {
  outline: none;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.24em;
  transition: color 180ms var(--ease);
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--blue-ink);
  outline-offset: 2px;
}

/* Type scale */
.display-headline {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 0.96;
  font-weight: 600;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.heading-2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.heading-3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
}
.title-3 {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}
.title-4 {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
.body-1 {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
}
.body-3 {
  margin: 0;
  font-size: 16px;
  line-height: 25px;
  font-weight: 400;
  text-wrap: pretty;
}
.body-4 {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
.body-6 {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  text-wrap: pretty;
}
.button-md {
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
}
.button-sm {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}
.caption-1 {
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
}
.caption-2 {
  font-size: 13px;
  line-height: 19px;
  font-weight: 400;
}
.caption-4 {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}
.caption-5 {
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
}
.mono-num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--surface);
  padding: 8px 12px;
  z-index: 100;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* Clean Sticky Masthead */
.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 250, 252, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 4px double var(--ink);
}
.site-header {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 5px;
  text-decoration: none;
  color: var(--ink);
  min-height: 36px;
}
.wordmark {
  height: 22px;
  width: auto;
  display: block;
}
.brand-labs {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 2px;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 28px;
}
.desktop-nav a {
  text-decoration: none;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}
.desktop-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Sharp optical buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 10px 18px;
  min-height: 44px;
  border-radius: 0;
  border: 1px solid var(--ink);
  text-decoration: none;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}
.btn-primary {
  background: var(--ink);
  color: var(--surface);
}
.btn-primary:hover {
  background: #1B273B;
}
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
}
.btn-secondary:hover {
  background: var(--blue-soft);
  border-color: var(--blue-ink);
  color: var(--blue-ink);
}
.btn-header {
  min-height: 36px;
  padding: 6px 14px;
}

/* Mobile drawer */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0;
  border: 1px solid var(--ink);
  background: var(--surface);
  color: var(--ink);
  padding: 0;
}
.menu-lines {
  width: 18px;
  height: 12px;
  position: relative;
}
.menu-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform 240ms var(--ease);
}
.menu-lines span:first-child { top: 2px; }
.menu-lines span:last-child { bottom: 2px; }
.menu-toggle[aria-expanded="true"] .menu-lines span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-lines span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: var(--paper);
  padding: 96px 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease);
}
.mobile-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer nav {
  display: flex;
  flex-direction: column;
}
.mobile-drawer-link {
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}

/* Chapter 1: Clean Asymmetric Editorial Hero */
.hero-masthead {
  padding: 36px 0 28px;
}
.hero-headline-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}
.hero-lead-col {
  display: grid;
  gap: 14px;
}
.hero-scope {
  margin: 0;
  color: var(--ink-2);
  font-weight: 500;
}
.hero-aside {
  display: grid;
  gap: 18px;
}
.hero-abstract {
  margin: 0;
  color: var(--ink-2);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-actions .btn {
  width: 100%;
}
.hero-traction {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.hero-stat {
  display: grid;
  gap: 3px;
  align-content: start;
}
.hero-stat-num {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 30px;
  font-weight: 600;
  color: var(--ink);
}
.hero-stat-label {
  color: var(--muted);
}

/* Chapter 2: Live Wrist Specimen Bench + Safari Frosted Veil */
.bench-section {
  padding: 8px 0 64px;
  border-bottom: 1.5px solid var(--ink);
}
.bench-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  box-shadow: 0 20px 48px rgba(11, 18, 32, 0.08);
}
.bench-content {
  position: relative;
  transition: filter 420ms var(--ease), transform 420ms var(--ease);
  transform-origin: center center;
}
.bench-frame.is-locked .bench-content {
  filter: blur(13px) saturate(108%);
  transform: scale(1.012);
  pointer-events: none;
}
.bench-veil {
  position: absolute;
  inset: 0;
  z-index: 15;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(250, 250, 252, 0.36);
  background-image: radial-gradient(rgba(11, 18, 32, 0.14) 1px, transparent 1px);
  background-size: 14px 14px;
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  transition: opacity 420ms var(--ease), background-color 320ms var(--ease);
}
.bench-veil.is-assembling {
  background: rgba(250, 250, 252, 0.62);
  pointer-events: none;
}
.bench-veil.is-clearing {
  opacity: 0;
  pointer-events: none;
}
.veil-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid rgba(11, 18, 32, 0.18);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 18px 44px rgba(11, 18, 32, 0.18), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 200ms var(--ease), background-color 180ms var(--ease), box-shadow 200ms var(--ease), opacity 220ms var(--ease);
}
.veil-trigger svg {
  color: var(--blue-ink);
}
.veil-trigger:hover {
  background: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(11, 18, 32, 0.22);
}
.veil-trigger:active {
  transform: scale(0.97);
}
.bench-veil.is-assembling .veil-trigger,
.bench-veil.is-clearing .veil-trigger {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}
.safari-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 25;
  pointer-events: none;
}
.bench-topbar {
  background: var(--paper-alt);
  border-bottom: 1px solid var(--ink);
  padding: 10px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.bench-title {
  color: var(--ink);
  font-weight: 600;
}
.bench-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid #9CA5B4;
  background: var(--surface);
  color: var(--ink);
  white-space: nowrap;
}
.tool-btn[aria-pressed="true"] {
  background: var(--blue-soft);
  border-color: var(--blue-ink);
  color: var(--blue-ink);
}
.wl-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  min-height: 36px;
  border: 1px solid #9CA5B4;
  background: var(--surface);
  color: var(--ink-2);
}
.wl-slider {
  width: 76px;
  accent-color: var(--blue-ink);
  cursor: pointer;
}

.bench-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.xray-stage {
  position: relative;
  min-width: 0;
  background: var(--film);
  padding: 24px 16px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  overflow: hidden;
  user-select: none;
}
.xray-stage.is-loupe-on {
  cursor: crosshair;
}
.xray-ruler-top {
  position: absolute;
  top: 8px;
  left: 16px;
  right: 16px;
  height: 10px;
  border-bottom: 1px solid rgba(166, 178, 196, 0.28);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Crect x='0' y='3' width='1' height='7' fill='rgba(166,178,196,0.4)'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  pointer-events: none;
}
.xray-ruler-left {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 8px;
  width: 10px;
  border-right: 1px solid rgba(166, 178, 196, 0.28);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='16' viewBox='0 0 10 16'%3E%3Crect x='3' y='0' width='7' height='1' fill='rgba(166,178,196,0.4)'/%3E%3C/svg%3E");
  background-repeat: repeat-y;
  pointer-events: none;
}
.xray-corner-tag {
  position: absolute;
  bottom: 10px;
  left: 24px;
  color: #9AA7BC;
  pointer-events: none;
}

.xray-frame {
  position: relative;
  display: inline-block;
  line-height: 0;
}
.xray-img {
  width: auto;
  max-width: 100%;
  max-height: 460px;
  height: auto;
  object-fit: contain;
  transition: filter 120ms ease;
}

.xray-loupe {
  position: absolute;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
  background-color: #000000;
  background-repeat: no-repeat;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 120ms ease;
  z-index: 6;
}
.xray-loupe.is-active {
  opacity: 1;
}

.xray-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.det-box {
  position: absolute;
  border: 2px solid var(--blue);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}
.det-box.is-visible {
  opacity: 1;
  transform: scale(1);
}
.det-tag {
  position: absolute;
  left: -2px;
  bottom: calc(100% + 2px);
  background: var(--blue);
  color: #000000;
  padding: 2px 6px;
  white-space: nowrap;
}
.det-tag.is-right {
  left: auto;
  right: -2px;
}

/* Right filmstrip + overlay controls */
.bench-pad {
  min-width: 0;
  background: var(--surface);
  border-top: 1px solid var(--ink);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.filmstrip-label {
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.filmstrip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.film-thumb-btn {
  display: flex;
  flex-direction: column;
  padding: 8px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink-2);
  text-align: left;
  min-height: 44px;
}
.film-thumb-btn[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--blue-soft);
  color: var(--ink);
}
.film-thumb-media {
  background: var(--film);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 6px;
}
.film-thumb-media img {
  height: 100%;
  width: auto;
  object-fit: contain;
}
.film-thumb-name {
  font-weight: 600;
}
.film-thumb-sub {
  color: var(--muted);
}

.pad-step {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
  display: grid;
  gap: 10px;
}
.blind-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
.plate-btn {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  white-space: normal;
  text-align: center;
}
.plate-btn:hover {
  background: var(--paper-alt);
}
.plate-result {
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 12px 14px;
}
.plate-result-title {
  color: var(--ink);
  margin-bottom: 4px;
}
.plate-result-body {
  color: var(--ink-2);
}

.bench-foot {
  padding: 10px 16px;
  background: var(--paper-alt);
  border-top: 1px solid var(--rule);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

/* Chapter 3: Clinic Workflows (Two Options + Desktop Plate) */
.feature-spread {
  padding: 64px 0;
  border-bottom: 1.5px solid var(--ink);
  background: var(--surface);
  scroll-margin-top: 76px;
}
.feature-header {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
  align-items: baseline;
}
.feature-lead {
  color: var(--ink-2);
  margin: 0;
}

.feature-points {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}
.way-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.viewer-plate {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 10px;
  display: grid;
  gap: 10px;
}
.viewer-plate img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
}
.viewer-caption {
  margin: 0;
  color: var(--ink-2);
}
.point-item {
  border-top: 1.5px solid var(--ink);
  padding-top: 14px;
}
.point-kicker {
  color: var(--blue-ink);
  display: block;
  margin-bottom: 4px;
}
.point-title {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
}
.point-copy {
  margin: 0;
  color: var(--ink-2);
}
.point-meta {
  margin: 10px 0 0;
  color: var(--muted);
}

/* Chapter 4: Quiet Archival Footer & Contact */
.colophon-band {
  background: var(--paper-alt);
  padding: 44px 0 40px;
  scroll-margin-top: 76px;
}
.colophon-top {
  display: grid;
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 2px solid var(--ink);
}
.colophon-sub {
  margin: 8px 0 0;
  color: var(--ink-2);
  max-width: 56ch;
}
.colophon-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.colophon-buttons .btn {
  width: 100%;
}

.site-footer {
  padding-top: 24px;
  color: var(--muted);
}
.footer-disclaimer {
  color: var(--ink);
  max-width: 78ch;
  margin: 0 0 8px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 16px;
}
.footer-links a {
  color: var(--ink);
}

/* Subpages */
.folio-strip {
  border-bottom: 1px solid var(--rule);
  background: var(--paper-alt);
  padding: 8px 0;
}
.folio-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 16px;
  color: var(--ink-2);
}
.section-flush {
  padding: 40px 0 64px;
}
.wrap-narrow {
  max-width: 720px;
}
.page-title-gap {
  margin-bottom: 24px;
}
.ledger {
  border-top: 1.5px solid var(--ink);
}
.ledger-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: 8px;
}
.ledger-term {
  color: var(--ink);
}
.ledger-desc {
  color: var(--ink-2);
  max-width: 64ch;
}
.not-found-main {
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.not-found-wrap {
  max-width: 600px;
}
.not-found-wrap .heading-2 {
  margin-bottom: 16px;
}
.not-found-copy {
  color: var(--ink-2);
  margin-bottom: 24px;
}
.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 600px) {
  .site-header {
    padding: 10px 20px;
    gap: 10px;
  }
  .brand {
    gap: 4px;
  }
  .wordmark {
    height: 18px;
  }
  .brand-labs {
    font-size: 14px;
    margin-bottom: 1.5px;
  }
  .btn-header {
    padding: 6px 10px;
    font-size: 13px;
  }
}

@media (min-width: 480px) {
  .blind-pair {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  }
}

@media (pointer: coarse) {
  .tool-btn,
  .film-thumb-btn,
  .btn-header {
    min-height: 44px;
  }
}

@media (min-width: 720px) {
  .wrap {
    padding: 0 32px;
  }
  .site-header {
    padding: 12px 32px;
  }
  .hero-actions .btn,
  .colophon-buttons .btn {
    width: auto;
  }
  .feature-header {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: baseline;
  }
  .feature-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
  .colophon-top {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .ledger-row {
    grid-template-columns: 220px 1fr;
    gap: 24px;
  }
}

@media (min-width: 860px) {
  .desktop-nav {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .hero-headline-grid {
    grid-template-columns: 1.25fr 0.8fr;
    gap: 48px;
  }
  .hero-aside {
    padding-top: 8px;
  }
}

@media (min-width: 960px) {
  .bench-grid {
    grid-template-columns: 1.45fr 1fr;
  }
  .bench-pad {
    border-top: 0;
    border-left: 1px solid var(--ink);
  }
  .xray-stage {
    min-height: 480px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .det-box, .btn, .mobile-drawer, .bench-content, .bench-veil, .veil-trigger { transition: opacity 150ms ease; transform: none; filter: none; }
}
