:root {
  --ink: #082f35;
  --ink-soft: #31555a;
  --teal: #08777c;
  --teal-dark: #05545a;
  --cyan: #58c8d0;
  --cyan-bright: #7bdce1;
  --cyan-pale: #d9f1f1;
  --lime: #c8dd83;
  --lime-pale: #eff5d8;
  --coral: #e66852;
  --coral-pale: #fbe4dd;
  --amber: #e2a83b;
  --blue: #3f75bd;
  --paper: #f8faf7;
  --paper-cool: #f0f6f5;
  --line: #b9cdcc;
  --white: #fff;
  --shadow: 0 10px 26px rgba(8, 47, 53, .12);
  --radius: 20px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --mono: "SFMono-Regular", "Roboto Mono", "Noto Sans Mono CJK SC", monospace;
  --sans: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 142px; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: #dfe8e5;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; }
a { color: inherit; }
svg { display: block; max-width: 100%; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--teal);
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: -80px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  color: var(--white);
  background: rgba(6, 46, 51, .97);
  border-bottom: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(16px);
  padding-top: env(safe-area-inset-top);
}
.topbar,
.subnav {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1480px;
  margin: 0 auto;
  padding-inline: max(28px, env(safe-area-inset-left)) max(28px, env(safe-area-inset-right));
}
.topbar { min-height: 72px; justify-content: space-between; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  text-decoration: none;
}
.brand-mark {
  position: relative;
  width: 36px;
  height: 24px;
  border: 2px solid var(--cyan);
  border-radius: 14px 14px 14px 4px;
  transform: rotate(-7deg);
}
.brand-mark::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  left: 13px;
  top: 6px;
  background: var(--cyan);
  border-radius: 50%;
}
.brand-copy strong { display: block; letter-spacing: .08em; font-size: 16px; }
.brand-copy span { display: block; margin-top: 2px; color: #9fc8c9; font-size: 10px; letter-spacing: .18em; }
.chapter-tabs { display: flex; gap: 6px; }
.chapter-tab {
  min-height: 44px;
  padding: 8px 14px;
  color: #b8d1d2;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: color .2s var(--ease-out), background-color .2s var(--ease-out);
}
.chapter-tab:hover,
.chapter-tab.is-active { color: var(--ink); background: var(--cyan); }
.header-action {
  min-height: 44px;
  padding: 11px 16px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.materials-hub-link {
  min-height: 44px;
  padding: 12px 10px;
  color: var(--cyan-bright);
  border-bottom: 2px solid transparent;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.materials-hub-link:hover { color: var(--white); border-color: var(--cyan); }
.scene-index-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 14px;
  color: var(--white);
  background: transparent;
  border: 1px solid #5a8588;
  border-radius: 8px;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out);
}
.scene-index-toggle span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--ink);
  background: var(--cyan);
  border-radius: 6px;
  font: 850 12px/1 var(--mono);
}
.scene-index-toggle:hover { background: #16484d; border-color: var(--cyan); }
.subnav {
  min-height: 54px;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid rgba(255,255,255,.08);
}
.subnav::-webkit-scrollbar { display: none; }
.subnav-label {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: var(--ink);
  background: var(--cyan);
  border-radius: 5px;
  font: 800 11px/1 var(--mono);
}
.nav-link {
  position: relative;
  flex: 0 0 auto;
  padding: 18px 0 15px;
  color: #b5cccd;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.nav-link[hidden] { display: none; }
.nav-link:hover,
.nav-link.is-active { color: var(--white); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--cyan);
  border-radius: 3px 3px 0 0;
}

.reading-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  overflow: hidden;
  pointer-events: none;
}
.reading-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s var(--ease-out);
}

.scene-index-dialog,
.catalog-index-dialog {
  width: min(860px, calc(100vw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)));
  max-height: min(760px, calc(100vh - 24px));
  max-height: min(760px, calc(100dvh - 24px));
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-radius: 16px;
  box-shadow: 0 20px 46px rgba(8, 47, 53, .28);
}
.scene-index-dialog[open],
.catalog-index-dialog[open] {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
}
.catalog-index-dialog { width: min(1120px, calc(100vw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right))); }
.scene-index-dialog::backdrop,
.catalog-index-dialog::backdrop { background: rgba(4, 30, 34, .72); backdrop-filter: blur(5px); }
.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px 18px;
  border-bottom: 1px solid var(--line);
}
.dialog-head span { color: var(--teal); font: 800 11px/1 var(--mono); letter-spacing: .1em; }
.dialog-head h2 { margin: 8px 0 0; font-size: 32px; letter-spacing: -.025em; }
.dialog-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: #e6efed;
  border: 0;
  border-radius: 9px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.dialog-intro { margin: 22px 30px 0; color: var(--ink-soft); font-size: 15px; }
.scene-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 20px 30px 30px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.scene-index-grid a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 52px;
  gap: 14px;
  align-items: center;
  min-height: 86px;
  padding: 14px 16px;
  text-decoration: none;
  background: #edf4f2;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: transform .2s var(--ease-out), border-color .2s var(--ease-out), background-color .2s var(--ease-out);
}
.scene-index-grid a:hover,
.scene-index-grid a.is-active { transform: translateY(-2px); background: var(--cyan-pale); border-color: #65b9bd; }
.scene-index-grid b { color: var(--teal); font: 850 17px/1 var(--mono); }
.scene-index-grid strong { display: block; font-size: 17px; }
.scene-index-grid small { display: block; margin-top: 5px; color: var(--ink-soft); font-size: 13px; }
.dialog-materials-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 30px 30px;
  padding: 16px 18px;
  color: var(--ink);
  background: var(--lime-pale);
  border: 1px solid #cadc8c;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.dialog-materials-link:hover { background: #e5efbf; border-color: #9cb750; }
.dialog-materials-link strong { font-size: 15px; }
.dialog-materials-link span { color: #365d60; font-size: 13px; text-align: right; }

.catalog-index-body {
  display: grid;
  gap: 0;
  max-height: none;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 30px 28px;
  scrollbar-width: thin;
}
.catalog-index-group {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.catalog-index-group:last-child { border-bottom: 0; }
.catalog-index-group > header b { display: block; color: var(--teal); font: 850 12px/1 var(--mono); }
.catalog-index-group > header h3 { margin: 8px 0 0; font-size: 21px; }
.catalog-index-group > header p { margin: 7px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.45; }
.catalog-index-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 18px;
}
.catalog-index-links a {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 48px;
  padding: 7px 4px;
  color: var(--ink);
  border-bottom: 1px solid #d9e4e1;
  text-decoration: none;
}
.catalog-index-links a:hover,
.catalog-index-links a.is-active { color: var(--teal); border-color: var(--teal); }
.catalog-index-links b { color: var(--teal); font: 800 11px/1 var(--mono); }
.catalog-index-links span { overflow: hidden; font-size: 13px; font-weight: 720; text-overflow: ellipsis; white-space: nowrap; }
.catalog-index-links small { display: block; margin-top: 3px; color: var(--ink-soft); font-size: 10px; font-weight: 600; }
.catalog-index-shortcuts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 30px 28px;
  padding-top: 14px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.catalog-index-shortcuts kbd {
  padding: 3px 6px;
  color: var(--ink);
  background: #e7efed;
  border: 1px solid #c8d8d5;
  border-radius: 4px;
  font: 750 11px/1 var(--mono);
}

.page-controls {
  position: fixed;
  z-index: 30;
  right: max(calc(46px + env(safe-area-inset-right)), calc((100vw - 1440px) / 2 + 24px));
  bottom: calc(22px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 44px auto 44px;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #0d3b40;
  border: 1px solid #416d70;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(8,47,53,.18);
}
.page-controls button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.page-controls > button:first-child { border-right: 1px solid #416d70; }
.page-controls > button:last-child { border-left: 1px solid #416d70; }
.page-controls button:hover { background: #185057; }
.page-controls button:disabled { color: #759497; cursor: not-allowed; background: transparent; }
.page-index-button { display: grid; grid-template-columns: auto auto minmax(90px, 1fr); gap: 9px; align-items: center; text-align: left; }
.page-menu-mark { color: var(--cyan); font-size: 15px; line-height: 1; }
.page-index-count { display: flex; align-items: center; gap: 6px; font: 800 12px/1 var(--mono); }
.page-index-button i { color: #7da2a5; font-style: normal; }
.page-index-button strong { overflow: hidden; font-size: 11px; font-weight: 700; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }

.catalog { padding: 36px env(safe-area-inset-right) 100px env(safe-area-inset-left); }
.sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(1440px, calc(100% - 44px));
  min-height: min(900px, calc(100vh - 48px));
  min-height: min(900px, calc(100dvh - 48px));
  margin: 0 auto 32px;
  padding: 54px 60px 46px;
  overflow: hidden;
  background: var(--paper);
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  isolation: isolate;
  container: catalogSheet / inline-size;
}
.sheet:focus { outline: none; }
.sheet:focus-visible { box-shadow: var(--shadow), 0 0 0 3px var(--teal); }
.sheet::after {
  display: none;
}
.sheet-dark { color: var(--white); background: var(--ink); border-color: #31585b; }
.sheet-cyan { background: #dff4f2; }
.sheet-lime { background: #eff4d9; }
.sheet-coral { background: #f9e7e0; }
.sheet-blue { background: #e8eef7; }

.folio {
  position: absolute;
  top: 28px;
  right: 32px;
  color: #6b888b;
  font: 700 12px/1 var(--mono);
  letter-spacing: .1em;
}
.sheet-dark .folio { color: #9bc0c2; }
.section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-head::before {
  content: "";
  width: 10px;
  height: 10px;
  background: currentColor;
  border-radius: 2px;
}
.sheet-dark .section-head { color: var(--cyan-bright); }
.sheet[data-group="scenes"] > .section-head { margin-bottom: 12px; }
.scene-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 62px;
  margin: 0 0 26px;
  padding: 11px 14px 11px 16px;
  color: var(--white);
  background: var(--teal-dark);
  border-radius: 12px;
}
.scene-entry > div { min-width: 0; }
.scene-entry-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.scene-entry span { display: block; color: var(--cyan-bright); font: 800 12px/1.2 var(--mono); letter-spacing: .06em; }
.scene-entry strong { display: block; margin-top: 5px; overflow: hidden; font-size: 17px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.scene-entry button,
.scene-entry a {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 10px 13px;
  color: var(--ink);
  background: var(--cyan);
  border: 0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.scene-entry button:hover,
.scene-entry a:hover { background: #8de0e5; }
.scene-entry .scene-material-link { background: var(--lime); }
.scene-entry .scene-material-link:hover { background: #d9e99e; }
.scene-entry-continuation { background: #17464b; }
.sheet-dark .scene-entry { background: #123f44; border: 1px solid #376c70; }
.kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  margin-bottom: 16px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 8px;
  font: 800 12px/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.kicker.cyan { background: var(--cyan); }
.kicker.coral { color: var(--white); background: var(--coral); }
.display {
  max-width: 1020px;
  margin: 0;
  font-size: clamp(56px, 6.2vw, 96px);
  line-height: .98;
  letter-spacing: -.035em;
}
.display em { color: var(--cyan); font-style: normal; }
.headline {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(42px, 4.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.headline-sm {
  margin: 0;
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.lede {
  max-width: 900px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.65;
}
.sheet-dark .lede { color: #b9d1d1; }
.body-copy { color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.sheet-dark .body-copy { color: #bed0d1; }
.mono { font-family: var(--mono); letter-spacing: .03em; }

.hero-grid,
.scene-grid,
.split-grid {
  display: grid;
  flex: 1;
  gap: 46px;
  min-height: 0;
}
.hero-grid { grid-template-columns: 1.08fr .92fr; align-items: center; }
.scene-grid { grid-template-columns: .9fr 1.1fr; align-items: stretch; }
.scene-grid.reverse { grid-template-columns: 1.1fr .9fr; }
.split-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.hero-copy { position: relative; z-index: 2; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  color: var(--ink-soft);
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(8,47,53,.16);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.sheet-dark .pill { color: #c4dddd; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }

.scene-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 490px;
  padding: 24px;
  color: var(--ink);
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(8,47,53,.13);
  border-radius: 16px;
}
.sheet-dark .scene-art { color: var(--cyan); background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.13); }
.scene-art::before,
.scene-art::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: currentColor;
  opacity: .28;
  pointer-events: none;
}
.scene-art::before { top: 12px; left: 12px; border-top: 1px solid; border-left: 1px solid; }
.scene-art::after { right: 12px; bottom: 12px; border-right: 1px solid; border-bottom: 1px solid; }
.scene-art-scroll { display: flex; flex: 1 1 auto; justify-content: center; width: 100%; min-width: 0; overflow: hidden; }
.scene-art-scroll:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.scene-art > svg,
.scene-art-scroll svg { flex: 0 0 auto; width: min(100%, 38.75rem); height: auto; }
.scene-art-hint { display: none; margin-top: .5rem; color: var(--teal-dark); font: 800 .7rem/1.2 var(--mono); }
.table-scroll-hint { display: none; width: max-content; margin-bottom: .4rem; padding: .3rem .5rem; color: var(--teal-dark); background: var(--lime-pale); border-radius: .3rem; font: 800 .7rem/1.2 var(--mono); }
.scene-art-hint[hidden],
.table-scroll-hint[hidden] { display: none !important; }
.svg-line { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.svg-thin { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.svg-fill { fill: currentColor; }
.svg-cyan { fill: var(--cyan); stroke: var(--cyan); }
.svg-lime { fill: var(--lime); stroke: var(--lime); }
.svg-coral { fill: var(--coral); stroke: var(--coral); }
.svg-white { fill: #fff; stroke: #fff; }

.copy-stack { display: flex; flex-direction: column; justify-content: center; }
.benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0 0;
  padding: 18px 20px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #91cfd1;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.55;
}
.benefit::before {
  content: "→";
  flex: 0 0 auto;
  color: var(--teal);
  font: 900 19px/1.5 var(--mono);
}
.sheet-dark .benefit { color: var(--white); background: #143f44; border-color: #3e7478; }
.sheet-dark .benefit::before { color: var(--cyan-bright); }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  padding: 22px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(8,47,53,.14);
  border-radius: 14px;
}
.sheet-dark .card { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.13); }
.card-label {
  display: block;
  margin-bottom: 12px;
  color: var(--teal);
  font: 800 12px/1.2 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.sheet-dark .card-label { color: var(--cyan-bright); }
.card h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.25; }
.card p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }
.sheet-dark .card p { color: #b8cecf; }
.card ul,
.bullet-list { margin: 12px 0 0; padding: 0; list-style: none; }
.card li,
.bullet-list li {
  position: relative;
  padding-left: 17px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}
.card li + li,
.bullet-list li + li { margin-top: 8px; }
.card li::before,
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 2px;
}
.sheet-dark .card li,
.sheet-dark .bullet-list li { color: #b8cecf; }
.sheet-dark .card li::before,
.sheet-dark .bullet-list li::before { background: var(--cyan); }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.stat {
  min-height: 118px;
  padding: 20px;
  background: var(--white);
  border: 1px solid rgba(8,47,53,.13);
  border-radius: 14px;
}
.sheet-dark .stat { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.13); }
.stat strong { display: block; font-size: 31px; letter-spacing: -.04em; }
.stat span { display: block; margin-top: 9px; color: var(--ink-soft); font-size: 14px; line-height: 1.45; }
.sheet-dark .stat span { color: #b3c9ca; }

.architecture {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}
.arch-col {
  position: relative;
  min-height: 390px;
  padding: 26px;
  border: 1px solid rgba(8,47,53,.16);
  border-radius: 16px;
  background: rgba(255,255,255,.68);
}
.arch-col::before {
  content: attr(data-index);
  display: block;
  margin-bottom: 42px;
  color: var(--teal);
  font: 800 12px/1 var(--mono);
}
.arch-col h3 { margin: 0; font-size: 28px; letter-spacing: -.03em; }
.arch-col > p { min-height: 70px; margin: 10px 0 24px; color: var(--ink-soft); line-height: 1.55; }
.chip-stack { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 10px;
  background: var(--paper-cool);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: 700 13px/1 var(--mono);
}
.arch-col.featured { color: var(--white); background: var(--teal-dark); }
.arch-col.featured::before { color: var(--cyan); }
.arch-col.featured > p { color: #c2d7d8; }
.arch-col.featured .chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }

.scene-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}
.scene-tile {
  position: relative;
  min-height: 205px;
  padding: 22px;
  overflow: hidden;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(8,47,53,.13);
  border-radius: 14px;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease;
}
.scene-tile:hover { transform: translateY(-3px); border-color: var(--teal); }
.scene-tile .num { color: var(--teal); font: 800 12px/1 var(--mono); }
.scene-tile h3 { max-width: 190px; margin: 28px 0 10px; font-size: 22px; line-height: 1.2; }
.scene-tile p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.45; }
.scene-tile i { position: absolute; right: 16px; bottom: 12px; color: #b7d5d4; font: 800 54px/1 var(--mono); font-style: normal; }

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 30px;
}
.flow-six { grid-template-columns: repeat(6, 1fr); }
.flow-step { position: relative; padding: 0 22px 0 0; }
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 8px;
  width: 18px;
  height: 1px;
  background: var(--teal);
}
.flow-step b {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 15px;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  font: 800 12px/1 var(--mono);
}
.flow-step h3 { margin: 0 0 6px; font-size: 17px; }
.flow-step p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }

.dashboard {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 14px;
  margin-top: 28px;
}
.panel {
  padding: 20px;
  color: var(--ink);
  background: #f7faf8;
  border: 1px solid rgba(8,47,53,.13);
  border-radius: 14px;
}
.panel-dark { color: var(--white); background: var(--ink); }
.panel h3 { margin: 0 0 16px; color: var(--ink); font-size: 17px; }
.panel-dark h3 { color: var(--white); }
.sheet-dark .panel:not(.panel-dark) {
  color: var(--ink);
  background: #f7faf8;
  border-color: #c2d2d0;
}
.sheet-dark .panel:not(.panel-dark) h3,
.sheet-dark .panel:not(.panel-dark) .bar-item,
.sheet-dark .panel:not(.panel-dark) .event b { color: var(--ink); }
.sheet-dark .panel:not(.panel-dark) .stat {
  color: var(--ink);
  background: var(--white);
  border-color: #c7d6d4;
}
.sheet-dark .panel:not(.panel-dark) .stat span { color: var(--ink-soft); }
.sheet-dark .panel:not(.panel-dark) .chart-labels { color: #49676b; }
.chart {
  position: relative;
  height: 160px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-image: linear-gradient(to bottom, transparent 39px, rgba(8,47,53,.08) 40px);
  background-size: 100% 40px;
}
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.chart-labels { display: flex; justify-content: space-between; margin-top: 8px; color: #49676b; font: 12px/1 var(--mono); }
.bar-list { display: grid; gap: 13px; }
.bar-item { display: grid; grid-template-columns: 94px 1fr 46px; gap: 10px; align-items: center; font-size: 13px; }
.bar-track { height: 7px; overflow: hidden; background: #dbe7e5; border-radius: 99px; }
.bar-track i { display: block; height: 100%; background: var(--teal); border-radius: inherit; }
.event-list { display: grid; gap: 9px; }
.event {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  background: #edf4f2;
  border-radius: 10px;
  font-size: 13px;
}
.event time { color: var(--teal); font: 800 12px/1 var(--mono); }
.event b { font-size: 13px; }
.event em { padding: 4px 6px; color: #9d3728; background: var(--coral-pale); border-radius: 5px; font: 800 11px/1 var(--mono); font-style: normal; }
.event[role="button"] { cursor: pointer; transition: background-color .16s var(--ease-out), box-shadow .16s var(--ease-out); }
.event[role="button"]:hover,
.event[role="button"].is-selected { background: var(--cyan-pale); box-shadow: inset 0 0 0 1px var(--teal); }
.event[role="button"]:focus-visible { outline: 2px solid var(--white); box-shadow: 0 0 0 4px var(--teal); }

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 34px;
}
.timeline::before { content: ""; position: absolute; top: 17px; right: 6%; left: 6%; height: 2px; background: var(--line); }
.time-point { position: relative; z-index: 1; }
.time-point::before { content: ""; display: block; width: 16px; height: 16px; margin: 10px 0 20px; background: var(--paper); border: 4px solid var(--teal); border-radius: 50%; }
.time-point strong { display: block; font-size: 14px; }
.time-point span { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 12px; line-height: 1.45; }

.signal-stack { display: grid; gap: 10px; margin-top: 26px; }
.signal-stack.is-interactive { position: relative; padding-top: 22px; outline: none; }
.signal-stack.is-interactive::before { content: "拖动游标或使用方向键同步查看"; position: absolute; top: 0; left: 0; color: var(--ink-soft); font: 700 10px/1 var(--mono); }
.sheet-dark .signal-stack.is-interactive::before { color: #9fc2c4; }
.signal-stack.is-interactive:focus-visible { box-shadow: 0 0 0 3px var(--teal); border-radius: 10px; }
.signal-cursor {
  position: absolute;
  z-index: 5;
  top: 18px;
  bottom: 0;
  left: var(--cursor-position, 50%);
  width: 1px;
  background: var(--coral);
  pointer-events: none;
}
.signal-cursor::after { content: ""; position: absolute; top: 0; left: -4px; width: 9px; height: 9px; background: var(--coral); border-radius: 50%; }
.signal-cursor span {
  position: absolute;
  top: -19px;
  left: 50%;
  padding: 3px 6px;
  color: var(--white);
  background: var(--coral);
  border-radius: 4px;
  font: 750 10px/1 var(--mono);
  white-space: nowrap;
  transform: translateX(-50%);
}
.signal-row { display: grid; grid-template-columns: 92px 1fr 90px; gap: 12px; align-items: center; }
.signal-row b { font: 800 12px/1 var(--mono); }
.signal-row span { color: #49676b; font-size: 12px; text-align: right; }
.signal-track { position: relative; height: 46px; overflow: hidden; background: rgba(255,255,255,.65); border: 1px solid rgba(8,47,53,.1); border-radius: 8px; }
.signal-track svg { width: 100%; height: 100%; }

.algorithm-map { display: grid; grid-template-columns: 210px 1fr; gap: 30px; flex: 1; align-items: center; }
.algorithm-steps { display: grid; gap: 10px; }
.algorithm-step { display: grid; grid-template-columns: 54px 1fr auto; gap: 16px; align-items: center; padding: 18px; background: rgba(255,255,255,.78); border: 1px solid rgba(8,47,53,.13); border-radius: 16px; }
.algorithm-step > b { display: grid; place-items: center; width: 42px; height: 42px; color: var(--white); background: var(--teal); border-radius: 12px; font: 800 12px/1 var(--mono); }
.algorithm-step h3 { margin: 0; font-size: 17px; }
.algorithm-step p { margin: 4px 0 0; color: var(--ink-soft); font-size: 13px; }
.algorithm-step span { color: var(--teal); font: 800 11px/1 var(--mono); }

.report-preview {
  min-height: 470px;
  padding: 26px;
  background: var(--white);
  border: 1px solid rgba(8,47,53,.15);
  border-radius: 16px;
  box-shadow: 0 6px 8px rgba(8,47,53,.08);
}
.sheet-dark .report-preview { color: var(--ink); background: var(--white); }
.report-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.report-head strong { font-size: 18px; }
.report-head small { color: #49676b; font: 12px/1 var(--mono); }
.report-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0; }
.mini-metric { padding: 12px; background: var(--paper-cool); border-radius: 10px; }
.mini-metric b { display: block; font-size: 21px; }
.mini-metric span { color: var(--ink-soft); font-size: 12px; }
.ecg-strip { height: 92px; padding: 9px; background: #f1f7f5; border-radius: 10px; }
.ecg-strip svg { width: 100%; height: 100%; }
.report-note { margin-top: 16px; padding: 14px; color: var(--ink-soft); background: var(--lime-pale); border-radius: 10px; font-size: 13px; line-height: 1.55; }

.spec-table { width: 100%; margin-top: 26px; border-collapse: collapse; }
.table-wrap { overflow-x: auto; scrollbar-width: thin; }
.table-wrap:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.spec-table th,
.spec-table td { padding: 15px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { color: var(--teal); font: 800 12px/1.2 var(--mono); text-transform: uppercase; }
.spec-table td { color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.spec-table td:first-child { color: var(--ink); font-weight: 800; }

.scope-note {
  margin-top: auto;
  padding-top: 18px;
  color: #49666a;
  border-top: 1px solid rgba(8,47,53,.12);
  font-size: 12px;
  line-height: 1.5;
}
.sheet-dark .scope-note { color: #89a9aa; border-color: rgba(255,255,255,.14); }
.footer-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 22px;
  color: #48666a;
  border-top: 1px solid rgba(8,47,53,.13);
  font: 700 12px/1 var(--mono);
}
.sheet-dark .footer-line { border-color: rgba(255,255,255,.14); color: #8eb0b1; }

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
  margin-top: 40px;
  padding: 28px;
  color: var(--white);
  background: var(--teal-dark);
  border-radius: 14px;
}
.cta-panel h3 { margin: 0 0 8px; font-size: 26px; }
.cta-panel p { margin: 0; color: #c2d5d6; }
.cta-link {
  align-items: center;
  text-decoration: none;
  transition: background-color .2s var(--ease-out), transform .2s var(--ease-out);
}
.cta-link:hover { background: #0a656b; transform: translateY(-2px); }
.cta-arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 9px;
  font-size: 25px;
  font-weight: 800;
}
.qr {
  display: grid;
  grid-template-columns: repeat(5, 9px);
  grid-template-rows: repeat(5, 9px);
  gap: 3px;
  padding: 12px;
  background: var(--white);
  border-radius: 8px;
}
.qr i { background: var(--ink); }
.qr i:nth-child(3n) { opacity: .08; }

.cover-visual { position: relative; min-height: 560px; }
.orbit { position: absolute; inset: 4% 2%; border: 1px solid rgba(88,200,208,.28); border-radius: 50%; transform: rotate(-16deg); }
.orbit.o2 { inset: 18% 15%; transform: rotate(22deg); }
.patch-device {
  position: absolute;
  z-index: 2;
  top: 37%;
  left: 26%;
  width: 290px;
  height: 118px;
  background: var(--white);
  border: 4px solid var(--cyan);
  border-radius: 70px 70px 70px 22px;
  box-shadow: 0 22px 60px rgba(0,0,0,.22);
  transform: rotate(-10deg);
}
.patch-device::before { content: ""; position: absolute; left: 38%; top: 31%; width: 42px; height: 42px; background: var(--teal); border: 8px solid var(--cyan-pale); border-radius: 50%; }
.patch-device::after { content: "ECG · LIVE"; position: absolute; right: 28px; bottom: 20px; color: var(--teal); font: 800 10px/1 var(--mono); letter-spacing: .1em; }
.orbit-label { position: absolute; padding: 8px 10px; color: var(--cyan); background: rgba(8,47,53,.85); border: 1px solid rgba(88,200,208,.32); border-radius: 7px; font: 800 10px/1 var(--mono); }
.orbit-label.l1 { top: 8%; left: 38%; }
.orbit-label.l2 { right: 4%; top: 42%; }
.orbit-label.l3 { bottom: 8%; left: 42%; }
.orbit-label.l4 { left: 2%; top: 48%; }
.pulse-line { position: absolute; right: 6%; bottom: 24%; left: 5%; height: 60px; color: var(--cyan); }

.contact-grid { display: grid; grid-template-columns: 1fr .7fr; gap: 44px; flex: 1; align-items: center; }
.contact-list { display: grid; gap: 14px; margin-top: 32px; }
.contact-item { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-item span { color: #8eb0b1; font: 700 11px/1 var(--mono); }
.contact-item b { font-size: 15px; }
.materials-document-icon {
  display: grid;
  grid-template-columns: 1fr;
  width: 250px;
  min-height: 250px;
  padding: 34px;
  color: var(--ink);
  background: var(--white);
  border-radius: 16px;
}
.materials-document-icon b { align-self: end; color: var(--teal); font: 900 74px/.9 var(--mono); }
.materials-document-icon span { margin: 8px 0 28px; color: #4b696d; font: 800 11px/1 var(--mono); letter-spacing: .16em; }
.materials-document-icon i { display: block; width: 100%; height: 6px; margin-top: 10px; background: var(--cyan-pale); border-radius: 3px; }
.materials-document-icon i:nth-of-type(2) { width: 78%; }
.materials-document-icon i:nth-of-type(3) { width: 55%; background: var(--lime); }
.materials-entry-link {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 18px;
  color: var(--white);
  border: 1px solid rgba(88, 200, 208, .42);
  border-radius: 16px;
  text-decoration: none;
  transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out), transform .2s var(--ease-out);
}
.materials-entry-link:hover { background: rgba(88, 200, 208, .08); border-color: var(--cyan); transform: translateY(-2px); }
.materials-entry-link strong { font-size: 17px; }
.materials-entry-link > span { color: #9fc8c9; font-size: 12px; text-align: center; }

/* 2026 catalog structure: real-world scenes → medical library → algorithms */
.noscript-note { width: min(56rem, calc(100% - 2rem)); margin: 2rem auto; padding: 1rem 1.2rem; color: var(--white); background: var(--ink); border-radius: .75rem; }
.cover-system { position: relative; min-height: 34rem; color: var(--cyan); }
.cover-system::before, .cover-system::after { content: ""; position: absolute; inset: 12% 8%; border: 1px solid rgba(88,200,208,.24); border-radius: 50%; transform: rotate(-9deg); }
.cover-system::after { inset: 24% 21%; transform: rotate(18deg); }
.cover-device { position: absolute; z-index: 2; top: 40%; left: 50%; width: 12rem; height: 5.4rem; color: var(--teal); background: var(--white); border: 3px solid var(--cyan); border-radius: 3rem 3rem 3rem .9rem; transform: translate(-50%,-50%) rotate(-8deg); }
.cover-device span { position: absolute; top: 50%; left: 38%; width: 2rem; height: 2rem; background: var(--teal); border: .35rem solid var(--cyan-pale); border-radius: 50%; transform: translate(-50%,-50%); }
.cover-device b { position: absolute; right: 1.4rem; bottom: 1rem; font: 850 .65rem/1 var(--mono); letter-spacing: .12em; }
.cover-system > a { position: absolute; z-index: 3; display: flex; align-items: center; gap: .45rem; max-width: 8.3rem; padding: .45rem .55rem; color: #c7dfe0; background: #123f44; border: 1px solid #3a6d70; border-radius: .45rem; font-size: .72rem; line-height: 1.25; text-decoration: none; transform: translate(-50%,-50%); transition: color .18s var(--ease-out), border-color .18s var(--ease-out), background-color .18s var(--ease-out); }
.cover-system > a:nth-of-type(1) { top: 7%; left: 50%; }
.cover-system > a:nth-of-type(2) { top: 19%; left: 80%; }
.cover-system > a:nth-of-type(3) { top: 46%; left: 88%; }
.cover-system > a:nth-of-type(4) { top: 75%; left: 79%; }
.cover-system > a:nth-of-type(5) { top: 88%; left: 50%; }
.cover-system > a:nth-of-type(6) { top: 75%; left: 21%; }
.cover-system > a:nth-of-type(7) { top: 46%; left: 12%; }
.cover-system > a:nth-of-type(8) { top: 19%; left: 20%; }
.cover-system > a:hover { color: var(--white); background: #185259; border-color: var(--cyan); }
.cover-system > a b { color: var(--cyan-bright); font: 850 .68rem/1 var(--mono); }
.cover-system > svg { position: absolute; right: 2%; bottom: 6%; left: 2%; width: 96%; height: 4.5rem; }

.positioning-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,5vw,5rem); align-items: center; flex: 1; }
.three-layer-model { display: grid; gap: .75rem; }
.three-layer-model > div { display: grid; grid-template-columns: 3rem minmax(0,1fr); gap: .45rem 1rem; padding: 1.2rem 1.35rem; background: var(--white); border-radius: .8rem; }
.three-layer-model > div:nth-child(2) { margin-left: 2.8rem; color: var(--white); background: var(--teal-dark); }
.three-layer-model > div:nth-child(3) { margin-left: 5.6rem; background: var(--cyan-pale); }
.three-layer-model span { grid-row: 1 / 3; color: var(--teal); font: 850 1rem/1.2 var(--mono); }
.three-layer-model > div:nth-child(2) span { color: var(--cyan-bright); }
.three-layer-model strong { font-size: 1.22rem; }
.three-layer-model p { margin: 0; color: var(--ink-soft); font-size: .86rem; line-height: 1.5; }
.three-layer-model > div:nth-child(2) p { color: #c5dada; }
.positioning-callout { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding: 1.1rem 1.3rem; color: var(--white); background: var(--ink); border-radius: .75rem; }
.positioning-callout b { color: var(--cyan-bright); }
.positioning-callout span { font-size: .94rem; text-align: right; }
.architecture-four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.architecture-four .arch-col { min-height: 21rem; }
.map-heading, .portfolio-heading, .specialty-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.map-heading > a, .portfolio-heading > a, .specialty-heading > a { flex: 0 0 auto; padding: .9rem 1rem; color: var(--ink); background: var(--lime); border-radius: .55rem; font-weight: 800; text-decoration: none; }

.scene-product-page .headline-sm { font-size: clamp(2rem,3.1vw,3.3rem); }
.scene-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; margin-top: 1.6rem; border-top: 1px solid rgba(8,47,53,.2); border-bottom: 1px solid rgba(8,47,53,.2); }
.scene-facts > div { padding: 1rem 1rem 1rem 0; }
.scene-facts > div:nth-child(even) { padding-left: 1rem; border-left: 1px solid rgba(8,47,53,.15); }
.scene-facts > div:nth-child(n+3) { border-top: 1px solid rgba(8,47,53,.15); }
.scene-facts span { display: block; margin-bottom: .45rem; color: var(--teal); font: 800 .69rem/1.2 var(--mono); letter-spacing: .06em; }
.scene-facts strong { display: block; font-size: .9rem; line-height: 1.55; }
.sheet-dark .scene-facts { border-color: rgba(255,255,255,.18); }
.sheet-dark .scene-facts > div { border-color: rgba(255,255,255,.14); }
.sheet-dark .scene-facts span { color: var(--cyan-bright); }
.scene-art svg { overflow: visible; }
.viz-label { fill: currentColor; font: 800 11px/1 var(--mono); letter-spacing: .11em; }
.viz-caption { fill: currentColor; font: 750 11px/1 var(--mono); letter-spacing: .05em; }
.viz-grid { fill: none; stroke: currentColor; stroke-width: 1; opacity: .2; }
.viz-main { fill: none; stroke: var(--teal); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.viz-secondary { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.viz-event { fill: none; stroke: var(--coral); stroke-width: 3; stroke-linecap: round; }
.viz-dash { fill: none; stroke: var(--coral); stroke-width: 1.6; stroke-dasharray: 7 7; }
.viz-outline { fill: rgba(255,255,255,.6); stroke: currentColor; stroke-width: 2; }
.viz-band { fill: var(--cyan-pale); stroke: var(--cyan); stroke-width: 1; }
.viz-zone { fill: var(--lime-pale); stroke: #a7be5f; stroke-width: 1; }
.viz-hot { fill: var(--coral-pale); stroke: var(--coral); stroke-width: 2; }
.viz-mountain { fill: rgba(63,117,189,.1); stroke: var(--blue); stroke-width: 2; }
.sheet-dark .viz-main { stroke: var(--cyan); }
.sheet-dark .viz-secondary { stroke: var(--lime); }
.sheet-dark .viz-outline { fill: rgba(255,255,255,.04); }
.sheet-dark .viz-band { fill: rgba(88,200,208,.12); }
.sheet-dark .viz-zone { fill: rgba(200,221,131,.12); }
.art-legend { display: flex; flex-wrap: wrap; gap: 1rem; align-self: stretch; justify-content: center; padding-top: .75rem; color: var(--ink-soft); border-top: 1px solid rgba(8,47,53,.12); font: 750 .68rem/1.2 var(--mono); }
.art-legend span::before { content: ""; display: inline-block; width: .65rem; height: .22rem; margin-right: .4rem; background: var(--teal); vertical-align: middle; }
.art-legend span:nth-child(2)::before { background: var(--cyan); }
.art-legend span:nth-child(3)::before { background: var(--coral); }
.sheet-dark .art-legend { color: #aac7c9; border-color: rgba(255,255,255,.14); }

.workflow-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.workflow-title .lede { max-width: 60rem; font-size: 1.1rem; }
.workflow-code { color: rgba(8,47,53,.12); font: 900 5.5rem/.75 var(--mono); text-align: right; }
.workflow-code small { display: block; margin-top: 1rem; color: var(--teal); font-size: .65rem; line-height: 1; letter-spacing: .12em; }
.sheet-dark .workflow-code { color: rgba(255,255,255,.12); }
.sheet-dark .workflow-code small { color: var(--cyan); }
.mission-timeline { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); margin: 1.65rem 0 1.45rem; padding: 0; list-style: none; border-top: 2px solid var(--line); }
.mission-timeline li { position: relative; padding: 1.1rem 1rem 0 0; }
.mission-timeline li::before { content: ""; position: absolute; top: -.44rem; left: 0; width: .7rem; height: .7rem; background: var(--paper); border: 2px solid var(--teal); border-radius: 50%; }
.mission-timeline b { display: none; }
.mission-timeline time { display: block; color: var(--teal); font: 850 .7rem/1 var(--mono); }
.mission-timeline span { display: block; margin-top: .35rem; font-size: .82rem; line-height: 1.4; }
.sheet-dark .mission-timeline { border-color: #42676b; }
.sheet-dark .mission-timeline li::before { background: var(--ink); border-color: var(--cyan); }
.sheet-dark .mission-timeline time { color: var(--cyan-bright); }
.scenario-output-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 1rem; min-height: 0; }
.scenario-algorithm { padding: 1.2rem; color: var(--white); background: var(--teal-dark); border-radius: .85rem; }
.scenario-algorithm h3 { margin: 0 0 .9rem; color: var(--cyan-bright); font-size: 1rem; }
.scenario-algorithm ol { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.scenario-algorithm li { display: grid; grid-template-columns: 2rem 1fr; gap: .7rem; align-items: start; padding: .55rem 0; border-top: 1px solid rgba(255,255,255,.14); }
.scenario-algorithm li > b { color: var(--cyan); font: 850 .7rem/1.5 var(--mono); }
.scenario-algorithm li strong, .scenario-algorithm li span { display: block; }
.scenario-algorithm li strong { font-size: .84rem; }
.scenario-algorithm li span { margin-top: .2rem; color: #bfd3d4; font-size: .74rem; line-height: 1.4; }
.report-preview-link { min-height: 0; padding: 1.2rem; color: var(--ink); text-decoration: none; transition: transform .2s var(--ease-out); }
.report-preview-link:hover { transform: translateY(-2px); }
.report-preview-link .report-metrics { grid-template-columns: repeat(4,minmax(0,1fr)); margin: .9rem 0; }
.report-preview-link .mini-metric { padding: .65rem; }
.report-preview-link .mini-metric b { font-size: 1.05rem; }
.report-signal { height: 3.25rem; overflow: hidden; background: var(--paper-cool); border-radius: .45rem; }
.report-signal svg { width: 100%; height: 100%; }
.report-preview-link .report-note { margin-top: .7rem; padding: .7rem; font-size: .72rem; }
.report-open { display: flex; justify-content: space-between; margin-top: .65rem; color: var(--teal); font-size: .75rem; font-weight: 850; }

.medical-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; flex: 1; }
.medical-radar { position: relative; width: min(100%,32rem); aspect-ratio: 1; margin: auto; border: 1px solid #3c6669; border-radius: 50%; }
.medical-radar::before, .medical-radar::after { content: ""; position: absolute; inset: 18%; border: 1px solid #315b5e; border-radius: 50%; }
.medical-radar::after { inset: 35%; }
.medical-radar b { position: absolute; top: 50%; left: 50%; z-index: 2; display: grid; place-items: center; width: 7rem; height: 7rem; color: var(--ink); background: var(--cyan); border-radius: 50%; text-align: center; font: 850 .82rem/1.35 var(--mono); transform: translate(-50%,-50%); }
.medical-radar span { position: absolute; top: 50%; left: 50%; width: 6.6rem; padding: .45rem; color: #c2d8d9; background: #123f44; border: 1px solid #477176; border-radius: .4rem; font-size: .75rem; font-weight: 800; text-align: center; transform: translate(-50%,-50%) rotate(calc(var(--n) * 60deg)) translateY(-12rem) rotate(calc(var(--n) * -60deg)); }
.medical-radar span:nth-child(1) { --n: 0; }.medical-radar span:nth-child(2) { --n: 1; }.medical-radar span:nth-child(3) { --n: 2; }.medical-radar span:nth-child(4) { --n: 3; }.medical-radar span:nth-child(5) { --n: 4; }.medical-radar span:nth-child(6) { --n: 5; }
.wide-material-link { display: grid; grid-template-columns: 12rem 1fr auto; gap: 1rem; align-items: center; padding: 1rem 1.2rem; color: var(--ink); background: var(--lime); border-radius: .7rem; text-decoration: none; }
.wide-material-link span { font: 850 .7rem/1 var(--mono); }.wide-material-link strong { font-size: 1.05rem; }.wide-material-link > b { font-size: 1.5rem; }
.medical-dual { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-top: 2rem; }
.medical-dual article { min-height: 25rem; padding: 2rem; background: rgba(255,255,255,.72); border-radius: .9rem; }
.medical-dual article:first-child { color: var(--white); background: var(--teal-dark); }
.medical-dual article > span { color: var(--teal); font: 850 .72rem/1 var(--mono); }
.medical-dual article:first-child > span { color: var(--cyan-bright); }
.medical-dual h3 { max-width: 28rem; margin: 3rem 0 1rem; font-size: 1.8rem; line-height: 1.2; }
.medical-dual p { color: var(--ink-soft); line-height: 1.7; }.medical-dual article:first-child p { color: #bdd2d3; }
.medical-dual ul { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.medical-dual li { padding: .55rem 0; border-top: 1px solid rgba(8,47,53,.14); font-weight: 750; }.medical-dual article:first-child li { border-color: rgba(255,255,255,.15); }
.inline-material-link { display: flex; justify-content: space-between; margin-top: auto; padding: 1rem 1.2rem; color: var(--white); background: var(--teal-dark); border-radius: .65rem; font-weight: 800; text-decoration: none; }
.care-pathway { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; margin-top: 3rem; }
.care-pathway > div { min-height: 17rem; padding: 1.4rem; background: var(--white); border-right: 1px solid var(--line); }.care-pathway > div:nth-child(even) { background: var(--paper-cool); }
.care-pathway b { color: var(--teal); font: 850 1rem/1 var(--mono); }.care-pathway span { display: block; margin: 4rem 0 1rem; color: var(--teal); font-size: .75rem; font-weight: 800; }.care-pathway strong { display: block; font-size: 1.15rem; line-height: 1.45; }
.medical-outcomes { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.3rem 0; }.medical-outcomes span { padding: .65rem .8rem; background: var(--cyan-pale); border-radius: .45rem; font-size: .78rem; font-weight: 750; }
.specialty-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; margin-top: 2.4rem; overflow: hidden; background: #aebf8b; border-radius: .85rem; }
.specialty-list article { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; align-items: center; min-height: 8.2rem; padding: 1.4rem; background: var(--lime-pale); }.specialty-list b { color: var(--teal-dark); font-size: 1.05rem; }.specialty-list span { color: var(--ink-soft); line-height: 1.55; }

.algorithm-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; flex: 1; }
.algorithm-orbit { position: relative; width: min(100%,28rem); aspect-ratio: 1; margin: auto; border: 1px solid var(--line); border-radius: 50%; }.algorithm-orbit::before { content: ""; position: absolute; inset: 20%; border: 1px solid var(--line); border-radius: 50%; }.algorithm-orbit b { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 7rem; height: 7rem; color: var(--white); background: var(--teal); border-radius: 50%; text-align: center; transform: translate(-50%,-50%); }.algorithm-orbit span { position: absolute; top: 50%; left: 50%; padding: .5rem .75rem; background: var(--white); border-radius: .45rem; font-size: .76rem; font-weight: 800; transform: translate(-50%,-50%) rotate(calc(var(--n)*60deg)) translateY(-11rem) rotate(calc(var(--n)*-60deg)); }.algorithm-orbit span:nth-of-type(1){--n:0}.algorithm-orbit span:nth-of-type(2){--n:1}.algorithm-orbit span:nth-of-type(3){--n:2}.algorithm-orbit span:nth-of-type(4){--n:3}.algorithm-orbit span:nth-of-type(5){--n:4}.algorithm-orbit span:nth-of-type(6){--n:5}
.algorithm-foundation { display: flex; align-items: center; justify-content: center; gap: .75rem; padding: 1.1rem; color: var(--white); background: var(--ink); border-radius: .7rem; }.algorithm-foundation span { font-size: .78rem; font-weight: 750; text-align: center; }.algorithm-foundation i { color: var(--cyan); font-style: normal; }
.rhythm-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; margin-top: 2rem; }.rhythm-signal { display: flex; flex-direction: column; justify-content: center; min-height: 25rem; padding: 1.5rem; background: rgba(255,255,255,.65); border-radius: .9rem; }.rhythm-signal > span { color: var(--teal); font: 850 .72rem/1 var(--mono); }.rhythm-signal > svg { width: 100%; height: 9rem; }.rhythm-markers { display: flex; gap: .6rem; flex-wrap: wrap; }.rhythm-markers b { padding: .55rem .65rem; color: var(--white); background: var(--coral); border-radius: .4rem; font: 750 .67rem/1 var(--mono); }.rhythm-capabilities { display: grid; gap: .7rem; }.rhythm-capabilities article { padding: 1.2rem; background: var(--teal-dark); border-radius: .8rem; }.rhythm-capabilities b { color: var(--cyan); font: 850 .82rem/1 var(--mono); }.rhythm-capabilities p { margin: .55rem 0 0; color: #c2d4d5; font-size: .82rem; line-height: 1.5; }
.brady-scale { display: grid; grid-template-columns: 6rem 1fr; gap: .75rem 1rem; align-items: center; margin-top: 2rem; }.brady-scale span { font: 800 .75rem/1 var(--mono); }.brady-scale i { width: var(--w); height: .65rem; background: var(--coral); border-radius: 2rem; }
.event-window { padding: 1.5rem; background: var(--white); border-radius: .9rem; }.event-window > span { color: var(--coral); font: 850 .72rem/1 var(--mono); }.event-window > svg { width: 100%; height: 9rem; }.event-window dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; margin: 0; overflow: hidden; background: var(--line); }.event-window dl div { padding: .9rem; background: var(--paper-cool); }.event-window dt { color: var(--ink-soft); font-size: .72rem; }.event-window dd { margin: .3rem 0 0; font-weight: 850; }
.hrv-domains { display: grid; grid-template-columns: .8fr .8fr 1.4fr; gap: 1rem; margin-top: 2.5rem; }.hrv-domains article { min-height: 23rem; padding: 1.5rem; background: rgba(255,255,255,.65); border-radius: .85rem; }.hrv-domains article > span { display: block; margin-bottom: 3rem; color: var(--teal); font: 850 .75rem/1 var(--mono); }.hrv-domains article > b { display: block; padding: .9rem 0; border-top: 1px solid rgba(8,47,53,.14); font-size: .9rem; }.poincare { position: relative; height: 11rem; margin-bottom: 1rem; background: var(--paper-cool); border-radius: .6rem; }.poincare::after { content: ""; position: absolute; left: 10%; right: 10%; top: 50%; height: 1px; background: var(--line); transform: rotate(-35deg); }.poincare i { position: absolute; z-index: 1; left: var(--x); top: var(--y); width: .45rem; height: .45rem; background: var(--teal); border-radius: 50%; }
.interval-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; flex: 1; }.interval-diagram { padding: 1.5rem; background: var(--white); border-radius: .9rem; }.interval-wave { height: 11rem; }.interval-wave svg { width: 100%; height: 100%; }.interval-labels { position: relative; height: 2rem; margin-top: .4rem; }.interval-labels > span { position: absolute; left: var(--x); width: var(--w); padding-top: .55rem; color: var(--teal); border-top: 2px solid var(--teal); font: 850 .7rem/1 var(--mono); }.interval-diagram dl { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; margin: 1.2rem 0 0; }.interval-diagram dl div { padding: .8rem; background: var(--paper-cool); }.interval-diagram dt { color: var(--ink-soft); font-size: .7rem; }.interval-diagram dd { margin: .3rem 0 0; font-weight: 850; }
.fusion-axis { display: grid; grid-template-columns: .8fr 1.4fr .8fr; gap: 1.4rem; align-items: center; flex: 1; margin-top: 2rem; }.fusion-inputs, .fusion-outputs { display: grid; gap: .55rem; }.fusion-inputs span, .fusion-outputs span { padding: .75rem; background: var(--white); border-radius: .45rem; font-size: .8rem; font-weight: 800; text-align: center; }.fusion-core { display: grid; place-items: center; min-height: 17rem; padding: 2rem; color: var(--white); background: var(--teal-dark); border-radius: 50%; text-align: center; }.fusion-core b { font-size: 2rem; }.fusion-core small { max-width: 16rem; color: #bfd4d5; line-height: 1.6; }

.portfolio-rail { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; margin-top: 2.5rem; overflow: hidden; background: #9fc4c2; border-radius: .85rem; }.portfolio-rail article { min-height: 24rem; padding: 1.5rem; background: rgba(255,255,255,.7); }.portfolio-rail article:nth-child(3) { color: var(--white); background: var(--teal-dark); }.portfolio-rail article > span { color: var(--teal); font: 850 .7rem/1 var(--mono); }.portfolio-rail article:nth-child(3)>span { color: var(--cyan); }.portfolio-rail h3 { margin: 4rem 0 1rem; font-size: 1.5rem; }.portfolio-rail p { color: var(--ink-soft); line-height: 1.6; }.portfolio-rail article:nth-child(3) p { color: #bfd3d4; }.portfolio-rail article > b { display: block; margin-top: 3rem; padding-top: 1rem; border-top: 1px solid currentColor; font-size: .8rem; line-height: 1.5; }
.delivery-process { display: grid; grid-template-columns: repeat(9,auto); gap: .5rem; align-items: center; justify-content: space-between; margin-top: 4rem; }.delivery-process > div { width: 11rem; min-height: 13rem; padding: 1.2rem; background: var(--white); border-radius: .75rem; }.delivery-process > i { color: var(--teal); font-style: normal; }.delivery-process b { color: var(--teal); font: 850 .85rem/1 var(--mono); }.delivery-process strong, .delivery-process span { display: block; }.delivery-process strong { margin: 3rem 0 .6rem; font-size: 1.05rem; }.delivery-process span { color: var(--ink-soft); font-size: .78rem; line-height: 1.45; }.delivery-kit { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2rem; }.delivery-kit span { padding: .7rem .8rem; color: var(--white); background: var(--teal-dark); border-radius: .45rem; font-size: .76rem; font-weight: 750; }
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; flex: 1; }.safety-principles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; margin-top: 2rem; }.safety-principles span { padding: .85rem; background: rgba(255,255,255,.7); border-radius: .55rem; font-size: .78rem; font-weight: 800; line-height: 1.45; }.boundary-table { overflow: hidden; background: #9daf76; border-radius: .85rem; }.boundary-table > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 1.2rem; background: var(--lime-pale); border-bottom: 1px solid #bdcc9c; }.boundary-table > div:last-child { border-bottom: 0; }.boundary-table b { color: var(--teal-dark); }.boundary-table span { color: var(--ink-soft); line-height: 1.55; }
.reference-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; margin-top: 2rem; overflow: hidden; background: var(--line); border-radius: .8rem; }.reference-list a { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 1rem; background: var(--white); text-decoration: none; }.reference-list a:hover { background: var(--cyan-pale); }.reference-list b { color: var(--teal); }.reference-list span { color: var(--ink-soft); font-size: .82rem; line-height: 1.5; }

@media screen and (max-width: 1180px) {
  .header-action { display: none; }
  .scene-grid,
  .scene-grid.reverse { grid-template-columns: 1fr; }
  .scene-art { order: -1; }
  .scene-art > svg,
  .scene-art-scroll svg { width: min(100%, 34rem); }
  .architecture,
  .card-grid.four,
  .scene-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard,
  .algorithm-map { grid-template-columns: 1fr; }
  .flow-six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .positioning-grid,
  .medical-hero,
  .algorithm-intro,
  .interval-layout { grid-template-columns: 1fr; }
  .architecture-four,
  .portfolio-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scenario-output-grid { grid-template-columns: 1fr; }
  .medical-radar,
  .algorithm-orbit { width: min(100%, 25rem); }
  .delivery-process { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
  .delivery-process > i { display: none; }
  .delivery-process > div { width: auto; }
}

@media screen and (max-width: 1120px) {
  .topbar,
  .subnav {
    gap: 12px;
    padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right));
  }
  .chapter-tabs { gap: 2px; }
  .chapter-tab { padding-inline: 9px; font-size: 13px; }
  .materials-hub-link { padding-inline: 6px; font-size: 13px; }
  .scene-index-toggle { padding-inline: 10px; font-size: 13px; }
  .header-action { display: none; }
}

@media screen and (max-width: 1080px) {
  .chapter-tabs { display: none; }
}

@media screen and (max-width: 980px) {
  html { scroll-padding-top: 116px; }
  .topbar { min-height: 62px; }
  .brand-copy span, .chapter-tabs, .header-action { display: none; }
  .subnav { min-height: 48px; }
  .sheet { width: calc(100% - 24px); min-height: auto; padding: 42px 30px 76px; border-radius: 18px; }
  .hero-grid, .scene-grid, .scene-grid.reverse, .split-grid, .contact-grid { grid-template-columns: 1fr; }
  .scene-art { min-height: 370px; order: -1; }
  .architecture, .card-grid.four, .scene-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .dashboard { grid-template-columns: 1fr; }
  .algorithm-map { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .flow-six { grid-template-columns: repeat(3, 1fr); }
  .cover-visual { min-height: 430px; }
  .patch-device { left: calc(50% - 130px); width: 260px; }
  .scene-index-dialog,
  .catalog-index-dialog { width: min(760px, calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right))); }
  .catalog-index-group { grid-template-columns: 1fr; gap: 12px; }
  .catalog-index-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scenario-output-grid,
  .medical-dual,
  .rhythm-layout,
  .hrv-domains,
  .fusion-axis,
  .safety-grid { grid-template-columns: 1fr; }
  .medical-dual article { min-height: auto; }
  .care-pathway,
  .delivery-process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; }
  .medical-radar span { transform: translate(-50%,-50%) rotate(calc(var(--n) * 60deg)) translateY(-10rem) rotate(calc(var(--n) * -60deg)); }
}

@media screen and (max-width: 620px) {
  .topbar, .subnav { padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); }
  .catalog { padding-top: 16px; }
  .sheet { width: calc(100% - 16px); margin-bottom: 16px; padding: 36px 20px 76px; }
  .folio { top: 18px; right: 18px; }
  .display { font-size: clamp(44px, 15vw, 62px); }
  .headline { font-size: clamp(34px, 11vw, 48px); }
  .headline-sm { font-size: 31px; }
  .lede { font-size: 17px; }
  .scene-entry { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 20px; }
  .scene-entry-actions { flex-direction: row; flex-wrap: wrap; width: 100%; }
  .scene-entry .scene-entry-actions > * { flex: 1 1 8rem; text-align: center; }
  .scene-entry strong { font-size: 15px; white-space: normal; }
  .scene-entry button,
  .scene-entry a { min-height: 44px; padding: 10px 11px; font-size: 12px; }
  .scene-index-dialog,
  .catalog-index-dialog { max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); }
  .dialog-head { padding: 22px 20px 16px; }
  .dialog-head h2 { font-size: 27px; }
  .dialog-intro { margin: 18px 20px 0; }
  .scene-index-grid { grid-template-columns: 1fr; padding: 16px 20px 22px; }
  .dialog-materials-link { align-items: flex-start; flex-direction: column; gap: 6px; margin: 0 20px 22px; }
  .dialog-materials-link span { text-align: left; }
  .scene-index-grid a { min-height: 78px; }
  .scene-index-grid small,
  .scene-tile p { font-size: 14px; }
  .page-controls { right: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); transform: translateX(50%); }
  .page-index-button { grid-template-columns: auto auto; }
  .page-index-button strong { display: none; }
  .catalog-index-body { padding-inline: 20px; }
  .catalog-index-links { grid-template-columns: 1fr; }
  .catalog-index-shortcuts { align-items: flex-start; flex-direction: column; margin-inline: 20px; }
  .architecture, .scene-map, .card-grid.two, .card-grid.four, .stat-row, .flow, .timeline { grid-template-columns: 1fr; }
  .architecture-four,
  .portfolio-rail,
  .scene-facts,
  .medical-dual,
  .care-pathway,
  .specialty-list,
  .delivery-process,
  .safety-principles,
  .reference-list { grid-template-columns: 1fr; }
  .map-heading,
  .portfolio-heading,
  .specialty-heading,
  .workflow-title,
  .positioning-callout { align-items: flex-start; flex-direction: column; }
  .positioning-callout span { text-align: left; }
  .three-layer-model > div:nth-child(2),
  .three-layer-model > div:nth-child(3) { margin-left: 0; }
  .scene-facts > div,
  .scene-facts > div:nth-child(even) { padding: .9rem 0; border-left: 0; border-top: 1px solid rgba(8,47,53,.14); }
  .mission-timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--line); }
  .mission-timeline li { padding: .25rem 0 1rem 1.2rem; }
  .mission-timeline li::before { top: .2rem; left: -.45rem; }
  .workflow-code { display: none; }
  .report-preview-link .report-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .medical-radar { width: 20rem; max-width: 100%; }
  .medical-radar span { width: 5.2rem; font-size: .62rem; transform: translate(-50%,-50%) rotate(calc(var(--n) * 60deg)) translateY(-8rem) rotate(calc(var(--n) * -60deg)); }
  .wide-material-link { grid-template-columns: 1fr auto; }
  .wide-material-link span { grid-column: 1 / -1; }
  .specialty-list article,
  .boundary-table > div,
  .reference-list a { grid-template-columns: 1fr; }
  .algorithm-foundation { align-items: stretch; flex-direction: column; }
  .algorithm-foundation i { transform: rotate(90deg); text-align: center; }
  .fusion-core { min-height: 14rem; border-radius: .9rem; }
  .cover-system { min-height: 28rem; }
  .cover-system > a { max-width: 6.4rem; font-size: .6rem; }
  .flow-six { grid-template-columns: 1fr; }
  .arch-col { min-height: auto; }
  .arch-col::before { margin-bottom: 20px; }
  .scene-art { min-height: 0; padding: 12px; }
  .scene-art-scroll { justify-content: flex-start; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
  .scene-art-scroll svg { width: 32rem; max-width: none; }
  .scene-art-hint { display: block; }
  .table-scroll-hint { position: sticky; z-index: 2; left: 0; display: inline-flex; }
  .timeline::before, .flow-step::after { display: none; }
  .time-point::before { margin-bottom: 10px; }
  .report-metrics { grid-template-columns: 1fr 1fr; }
  .table-wrap .spec-table { min-width: 760px; }
  .algorithm-step { grid-template-columns: 46px 1fr; }
  .algorithm-step span { grid-column: 2; }
  .signal-row { grid-template-columns: 66px 1fr; }
  .signal-row > span { display: none; }
  .cta-panel { grid-template-columns: 1fr; }
  .cta-arrow { justify-self: end; }
  .materials-document-icon { width: 210px; min-height: 210px; padding: 28px; }
  .scene-tile {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    column-gap: .75rem;
    min-height: 7rem;
    padding: 1rem 3rem 1rem .9rem;
  }
  .scene-tile-glyph {
    position: static;
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 2.75rem;
    height: 2.75rem;
  }
  .scene-tile .num,
  .scene-tile h3,
  .scene-tile p { grid-column: 2; }
  .scene-tile h3 { max-width: none; margin: .25rem 0; font-size: 1.18rem; }
  .scene-tile i { right: .7rem; bottom: .65rem; font-size: 1.9rem; }
}

@media screen and (max-width: 470px) {
  .topbar { gap: 8px; }
  .brand-copy { display: none; }
  .materials-hub-link { padding-inline: 4px; font-size: 13px; }
  .scene-index-toggle { padding-inline: 10px; }
}

@media screen and (min-width: 1181px) and (max-height: 820px) {
  .catalog { padding-top: 20px; }
  .sheet { padding: 40px 48px 78px; }
  .display { font-size: clamp(52px, 5.2vw, 78px); }
  .headline { font-size: clamp(38px, 3.8vw, 56px); }
  .scene-art { min-height: 390px; }
  .scene-art-scroll svg { width: min(100%, 29rem); }
  .cover-visual { min-height: 420px; }
  .architecture { margin-top: 28px; }
  .arch-col { min-height: 330px; }
}

@media screen and (max-height: 600px) and (orientation: landscape) and (max-width: 980px) {
  html { scroll-padding-top: 0; }
  .site-header { position: relative; }
  .topbar { min-height: 50px; }
  .subnav { min-height: 40px; }
  .nav-link { padding-block: 12px 10px; }
  .catalog { padding-top: 12px; }
  .sheet { width: calc(100% - 16px); margin-bottom: 16px; padding: 28px 24px 76px; }
  .scene-art { min-height: 0; }
  .scene-art-scroll svg { width: min(100%, 32rem); }
  .cover-visual { min-height: 280px; }
  .page-index-button strong { display: none; }
  .dialog-intro,
  .catalog-index-shortcuts { display: none; }
  .dialog-head { padding: 14px 18px 10px; }
  .dialog-head h2 { font-size: 22px; }
  .scene-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px 18px; }
  .scene-index-grid a { min-height: 64px; padding: 8px 10px; }
  .dialog-materials-link { margin: 0 18px 12px; padding: 10px 12px; }
}

@media screen and (max-width: 620px) and (max-height: 600px) and (orientation: landscape) {
  .scene-art-scroll svg { width: 32rem; max-width: none; }
}

@media screen {
  .page-motif { width: clamp(6rem, 12cqi, 10rem); }

  @container catalogSheet (max-width: 56rem) {
    .product-vector-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  @container catalogSheet (max-width: 40rem) {
    .page-motif { top: 4.25rem; right: 1rem; width: 5rem; opacity: .045; }
  }

  @container catalogSheet (max-width: 31rem) {
    .product-vector-strip { grid-template-columns: 1fr; }
  }

  @container catalogSheet (max-width: 29rem) {
    .page-motif { display: none; }
  }
}

@media (hover: none) {
  .scene-index-grid a:hover,
  .scene-tile:hover,
  .materials-entry-link:hover { transform: none; }
  .scene-index-grid a:active,
  .scene-tile:active { background: var(--cyan-pale); border-color: var(--teal); }
  .materials-entry-link:active { background: rgba(88, 200, 208, .12); border-color: var(--cyan); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

@media print {
  @page { size: A4 landscape; margin: 0; }
  body { background: var(--white); print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .site-header, .skip-link, .scene-index-dialog, .catalog-index-dialog, .page-controls, .sr-only { display: none !important; }
  .catalog { padding: 0; }
  .sheet {
    width: 297mm;
    height: 210mm;
    min-height: 210mm;
    margin: 0;
    padding: 14mm 16mm 12mm;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    break-after: page;
    page-break-after: always;
  }
  .sheet:last-child { break-after: auto; page-break-after: auto; }
  .scene-art { min-height: 112mm; }
  .display { font-size: 58pt; }
  .headline { font-size: 38pt; }
  .headline-sm { font-size: 28pt; }
  .scene-entry { min-height: 12mm; margin-bottom: 5mm; padding-block: 2mm; }
  .signal-cursor { display: none !important; }
  .signal-stack.is-interactive { padding-top: 0; }
  .signal-stack.is-interactive::before { content: none; }
  .scene-entry-actions,
  .map-heading > a,
  .portfolio-heading > a,
  .specialty-heading > a,
  .inline-material-link,
  .wide-material-link,
  .report-open { display: none !important; }
  .sheet { overflow: hidden; }
  .scene-art { min-height: 105mm; }
  .scene-facts > div { padding-block: 3mm; }
  .scenario-output-grid { grid-template-columns: .86fr 1.14fr; }
  .mission-timeline { margin-block: 4mm; }
  .report-preview-link { transform: none !important; }
  .architecture-four,
  .portfolio-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .architecture-four .arch-col { min-height: 88mm; }
  .medical-dual article { min-height: 112mm; }
  .cover-system { min-height: 130mm; }
}
