:root {
  color-scheme: dark;
  --bg: #0a0d16;
  --panel: #101625;
  --ink: #dee5f1;
  --muted: #a7afc4;
  --faint: #8995b0;
  --line: #242d41;
  --blue: #a1b7e5;
  --lime: #b9dc89;
  --glass-edge: #8ca6d733;
  --glass-ink: #d7e1f3;
  --glass-shadow: 0 12px 34px #02061050;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --motion-ease: cubic-bezier(.22, .72, .24, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { --view-inset: clamp(20px, 3.15vw, 46px); scroll-padding-top: var(--view-inset); scrollbar-gutter: stable; }
body { isolation: isolate; margin: 0; min-width: 300px; color: var(--ink); background: var(--bg); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse at -9% 13%, #26395c80, transparent 48%),
    radial-gradient(ellipse at 84% -14%, #262f536e, transparent 55%),
    radial-gradient(ellipse at 97% 105%, #152b3861, transparent 54%),
    var(--bg);
  pointer-events: none;
  content: "";
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex="-1"]:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, ol, ul, dl, dd { margin: 0; }
[hidden] { display: none !important; }
.skip {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: 12px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus-visible {
  width: auto;
  height: auto;
  clip: auto;
  clip-path: none;
  padding: 9px 12px;
  border: 1px solid #8199bd72;
  border-radius: 8px;
  background: #172236;
  color: var(--ink);
  outline: 2px solid #a3bce5;
  outline-offset: 2px;
  font-size: 13px;
  font-weight: 650;
}
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: var(--faint); font: 600 11px/1.55 var(--mono); letter-spacing: .13em; }
.signal { display: inline-block; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.title-dot { color: #8da8dc; }
.view-index { color: var(--lime); }

.shell { display: grid; grid-template-columns: 206px minmax(0, 1fr); min-height: 100vh; min-height: 100svh; max-width: 1720px; margin-inline: auto; }
.site-rail {
  position: sticky;
  z-index: 2;
  top: 12px;
  isolation: isolate;
  display: flex;
  align-self: start;
  flex-direction: column;
  height: calc(100vh - 24px);
  height: calc(100svh - 24px);
  min-height: 382px;
  margin: 12px 0 12px 12px;
  padding: 22px 12px 16px;
}
.site-rail::before {
  position: absolute;
  z-index: -1;
  inset: -12px -28px -12px -12px;
  background: radial-gradient(ellipse at 0% 16%, #273d608f, #15223663 48%, transparent 79%);
  mask-image: radial-gradient(ellipse at 0% 22%, #000 29%, #000a 62%, transparent 91%);
  opacity: var(--rail-veil, .95);
  pointer-events: none;
  content: "";
}
.home-tile::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(140deg, #a9bfe82e, #9cb5df0e 25%, transparent 57%, #90aacb0b 88%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  content: "";
}
.brand { display: inline-flex; align-items: center; gap: 9px; width: fit-content; margin-inline: 8px; font-size: 24px; font-weight: 760; letter-spacing: -.065em; }
.brand img { border-radius: 8px; opacity: .88; box-shadow: 0 0 0 1px #b7c9e327; }
.brand-dot { color: var(--blue); }
.site-nav { position: relative; display: grid; gap: 5px; margin-top: 42px; }
.nav-caption { margin: 0 0 5px 10px; color: #a9b6d1; font: 600 9px/1.5 var(--mono); letter-spacing: .17em; }
.site-nav a { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; min-height: 43px; padding: 7px 10px; border: 1px solid transparent; border-radius: 11px; color: #bdc9e4; font-size: 13px; font-weight: 630; transition: background-color .18s, border-color .18s, color .18s; }
.site-nav a:hover { border-color: #8ba5d126; background-color: #8ba5d112; color: var(--ink); }
.site-nav a[aria-current="location"] { color: var(--glass-ink); font-weight: 690; }
.site-nav:not([data-glass-ready]) a[aria-current="location"] { border-color: #8ba5d139; background: #8ba5d11f; }
.site-nav[data-glass-ready] a[aria-current="location"]:hover { border-color: transparent; background: none; }
.nav-glass {
  position: absolute;
  inset: 0 auto auto 0;
  display: none;
  pointer-events: none;
}
.site-nav[data-glass-ready] .nav-glass { display: block; }
.nav-glass-shape { display: block; width: 100%; height: 100%; }
.site-nav a svg, .command-button svg { flex: 0 0 auto; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.site-nav a svg { color: #90a8e4; }
.command-button { display: flex; align-items: center; justify-content: flex-start; gap: 7px; min-height: 37px; margin-top: auto; padding: 6px 8px; border: 1px solid #89a1cc32; border-radius: 10px; background: #6c86b317; box-shadow: inset 0 1px 0 #b6c5e011; color: #ccd8ec; cursor: pointer; }
.command-button:hover { border-color: #9ab3de59; background-color: #809bcc23; color: var(--ink); }
.command-button span { font-size: 11px; font-weight: 640; }
.command-button kbd { margin-inline-start: auto; padding: 3px 4px; border: 1px solid #8ba5d12a; border-radius: 4px; background: #0b142536; color: #a9b9d7; font: 9px var(--mono); white-space: nowrap; }
.rail-note { display: grid; grid-template-columns: 7px 1fr; align-items: baseline; gap: 7px; margin: 12px 3px 0; padding: 0 4px; color: #a4b2cb; font: 10px/1.5 var(--mono); }

.canvas { min-width: 0; padding: clamp(20px, 3.15vw, 46px); }
.view {
  min-width: 0;
  max-width: 1210px;
  min-block-size: max(0px, calc(100svh - var(--view-inset)));
  min-block-size: max(0px, calc(100dvh - var(--view-inset)));
  margin-inline: auto;
}
.view + .view { margin-block-start: max(var(--view-inset), clamp(46px, 6.2vw, 102px)); }
.view :is(h1, h2):focus-visible { outline-offset: 6px; }

.home-composition { display: grid; grid-template-columns: minmax(0, 2.12fr) minmax(240px, 1fr); gap: 13px; min-height: min(625px, calc(100svh - 96px)); }
.home-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  min-height: 490px;
  border: 1px solid #88a3d334;
  border-radius: 21px;
  background:
    radial-gradient(ellipse at 92% 43%, #3b55883f, transparent 55%),
    radial-gradient(ellipse at 82% 75%, #1b2c54b7 0%, #121e36b3 52%, #10182dc4 84%);
  box-shadow: inset 0 1px 0 #a8bedb1a, inset 0 0 0 3px #b3c7eb08, var(--glass-shadow);
}
.home-scene::before { position: absolute; z-index: -3; inset: 0; background-image: linear-gradient(#769cf00e 1px, transparent 1px), linear-gradient(90deg, #769cf00e 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(125deg, transparent 13%, #000 65%); content: ""; }
.home-scene::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(114deg, #0d162bd0 4%, #0d172da8 44%, #0d152b00 77%); pointer-events: none; content: ""; }
.home-mesh, .home-optics { position: absolute; z-index: -2; max-width: none; height: auto; pointer-events: none; }
.home-mesh { right: -15%; bottom: -8%; width: min(680px, 99%); opacity: .79; }
.home-optics { right: -9%; bottom: -1%; width: min(650px, 92%); opacity: .82; }
.home-lead { padding: clamp(24px, 4.3vw, 65px); }
.home-lead .eyebrow { color: #b4c3df; }
.home-lead h1 { margin: 19px 0 17px; font-size: clamp(43px, 5.05vw, 82px); line-height: .94; letter-spacing: -.071em; font-weight: 765; }
.home-lead h1 span { display: inline-block; padding: 0 .10em .10em 0; margin: 0 -.10em -.10em 0; color: var(--blue); background: linear-gradient(110deg, #c2d0e9, #9fb5e0 55%, #7d9bd7); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.home-intro { max-width: 350px; color: #b4c0d7; font-size: clamp(15px, 1.4vw, 19px); line-height: 1.56; }
.home-primary { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; margin-top: 23px; padding: 0 16px; border: 1px solid #86a5df5c; border-radius: 999px; background: linear-gradient(148deg, #6988bc43, #3c537b25 76%), #18263c7d; box-shadow: inset 0 1px 0 #b8cdec21; color: #d3dff5; font-size: 13px; font-weight: 740; transition: border-color .18s, background-color .18s; }
.home-primary:hover { border-color: #9bb6e880; background-color: #2a3d5fb3; }
.home-figure { position: absolute; bottom: 16px; left: clamp(24px, 4.3vw, 65px); display: flex; gap: 9px; align-items: center; color: #9eadd1; font: 600 9px/1.5 var(--mono); letter-spacing: .11em; }
.home-figure::before { position: absolute; top: -9px; left: 0; width: 55px; height: 1px; background: linear-gradient(90deg, #8da5d466, #8da5d400); content: ""; }
.home-figure span:first-child { padding: 3px 6px; border: 1px solid #8fa7d239; border-radius: 5px; background: #7c9bea10; color: #b8c9e8; }
.home-destinations { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 13px; min-width: 0; }
.home-tile {
  --tile-tint: 139 171 255;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 135px;
  padding: 15px 16px 17px;
  overflow: hidden;
  border: 1px solid rgb(var(--tile-tint) / .17);
  border-radius: 17px;
  background: radial-gradient(ellipse at 85% -14%, rgb(var(--tile-tint) / .12), transparent 72%), linear-gradient(148deg, rgb(var(--tile-tint) / .04), transparent 62%), #10182b90;
  box-shadow: inset 0 1px 0 rgb(var(--tile-tint) / .12), 0 5px 17px #03091643;
  transition: border-color .18s, background-color .18s, box-shadow .18s;
}
.home-tile:hover { border-color: rgb(var(--tile-tint) / .38); background-color: #1b2b4599; }
.tile-meta { display: flex; align-items: center; justify-content: space-between; gap: 5px; color: #aabbd9; font: 600 9px/1.25 var(--mono); letter-spacing: .10em; }
.tile-meta span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.tile-meta span:first-child::after { width: 17px; height: 1px; background: linear-gradient(90deg, rgb(var(--tile-tint) / .36), transparent); content: ""; }
.tile-meta span:last-child { display: grid; place-items: center; flex: 0 0 26px; height: 26px; border: 1px solid rgb(var(--tile-tint) / .28); border-radius: 50%; background: rgb(var(--tile-tint) / .07); color: #b9cbea; font-size: 13px; transition: color .18s, background-color .18s; }
.home-tile:hover .tile-meta span:last-child { color: var(--ink); background-color: rgb(var(--tile-tint) / .16); }
.tile-copy { max-width: 87%; text-shadow: 0 1px 12px #0b142c; }
.tile-copy h2 { font-size: clamp(22px, 2.35vw, 35px); line-height: 1.08; letter-spacing: -.054em; }
.tile-copy p { max-width: 25ch; margin-top: 5px; color: #b0bfd9; font-size: 13px; line-height: 1.45; }
.tile-diagram { position: absolute; z-index: -1; top: 27%; right: -28%; width: 84%; height: auto; border: 1px solid #3b507d; border-radius: 6px; opacity: .65; transform: rotate(-10deg); mask-image: linear-gradient(100deg, transparent 8%, #000 56%); }
.tile-diagram-back { top: 16%; right: -39%; opacity: .43; transform: rotate(-14deg); }
.tile-method { --tile-tint: 171 155 248; }
.tile-lab { --tile-tint: 142 214 163; }
.tile-lab:hover { background-color: #182e3099; }
.tile-lab .tile-meta span:last-child { color: var(--lime); }
.tile-mark { position: absolute; z-index: -1; width: 47%; bottom: 8%; right: -3%; color: #ab9ef8; opacity: .53; }
.tile-lab .tile-mark { color: #a7d975; }

.lab-view-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .75fr); align-items: end; gap: 24px; margin-bottom: 21px; }
.lab-view-head h2 { margin-top: 9px; font-size: clamp(39px, 5.5vw, 77px); line-height: .98; letter-spacing: -.065em; }
.lab-view-head > p { color: var(--muted); font-size: 15px; line-height: 1.57; }
.lab-view noscript { display: block; padding: 20px; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; }

dialog { width: min(492px, calc(100% - 28px)); max-height: calc(100% - 36px); border: 1px solid #89a3d44c; border-radius: 20px; background: radial-gradient(ellipse at 18% -12%, #5d7bac20, transparent 68%), #131c2ce8; color: var(--ink); padding: 0; box-shadow: inset 0 1px 0 #a8bfd41b, 0 22px 75px #0009; }
dialog::backdrop { background: #0507109e; -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
body:has(dialog[open]) { overflow: hidden; }
.dialog-frame { padding: clamp(19px, 4vw, 32px); }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--blue); font: 600 11px/1.4 var(--mono); letter-spacing: .12em; }
.dialog-close { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #8ba7d445; border-radius: 50%; background: #7a9ce11a; color: var(--ink); font-size: 23px; line-height: 1; cursor: pointer; }
.dialog-close:hover { background: #28395d; }
.command-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.command-dialog input { width: 100%; margin: 16px 0 11px; padding: 13px 12px; border: 1px solid #8ba7d443; border-radius: 10px; background: #0a1326aa; box-shadow: inset 0 1px 5px #02061155; color: var(--ink); }
.command-dialog input::placeholder { color: #9aa8c6; }
.command-list { list-style: none; padding: 0; }
.command-list a { display: flex; justify-content: space-between; gap: 10px; padding: 11px 10px; border-radius: 6px; font-size: 14px; }
.command-list a:hover, .command-list a:focus-visible { background: #6c95ff1c; }
.command-list a span:last-child { color: var(--blue); }
.command-empty { color: var(--muted); font-size: 14px; padding: 10px 0; }

@media (max-height: 590px) {
  .site-rail { padding-top: 16px; }
  .site-nav { margin-top: 22px; }
}
@media (max-height: 440px) and (min-width: 821px) {
  .site-rail { position: relative; top: 0; height: auto; min-height: 0; padding-block: 12px; }
  .site-nav { margin-top: 13px; }
  .site-nav a { min-height: 33px; }
  .command-button { margin-top: 12px; }
  .rail-note { display: none; }
}
@media (max-width: 950px) {
  .shell { grid-template-columns: 174px minmax(0, 1fr); }
  .site-rail { padding-inline: 9px; }
  .command-button kbd { display: none; }
  .home-composition { grid-template-columns: minmax(0, 1.8fr) minmax(176px, 1fr); }
}
@media (max-width: 820px) {
  html { --view-inset: 114px; }
  .view { min-block-size: max(0px, calc(100svh - var(--view-inset))); }
  .shell { display: block; }
  .site-rail { display: grid; top: 0; grid-template-columns: 1fr auto; align-items: center; gap: 7px 10px; height: auto; min-height: 0; margin: 0 8px; padding: 10px 11px 7px; }
  .site-rail::before { inset: 0 -8px -15px; background: linear-gradient(#101827 0 73%, #101827df 85%, transparent); mask-image: linear-gradient(#000 0 77%, transparent); opacity: 1; }
  .brand { margin-inline: 2px; font-size: 21px; }
  .brand img { width: 27px; height: 27px; }
  .command-button { grid-column: 2; grid-row: 1; min-height: 35px; margin: 0; padding-inline: 8px; }
  .command-button kbd, .rail-note, .nav-caption { display: none; }
  .site-nav { grid-column: 1 / -1; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; margin: 0; }
  .site-nav a { justify-content: center; gap: 4px; min-height: 37px; padding: 4px 2px; border-radius: 9px; font-size: 12px; }
  .site-nav a svg { width: 14px; height: 14px; }
  .canvas { padding: 18px; }
}
@media (max-width: 600px) {
  .canvas { padding: 12px 12px 24px; }
  .site-rail { padding-inline: 7px; }
  .site-nav a { flex-direction: column; min-height: 42px; gap: 3px; font-size: 10px; }
  .home-composition { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .home-scene { min-height: 450px; }
  .home-scene { border-radius: 19px; }
  .home-scene::after { background: linear-gradient(153deg, #0d162bdf 4%, #0d172dac 42%, #0d152b00 78%); }
  .home-mesh { width: min(490px, 111%); bottom: -9%; right: -15%; }
  .home-optics { width: min(480px, 105%); bottom: -4%; right: -13%; opacity: .66; }
  .home-lead { padding: 25px 19px; }
  .home-lead h1 { font-size: clamp(42px, 10.7vw, 64px); }
  .home-intro { max-width: 30ch; }
  .home-figure { left: 19px; bottom: 10px; }
  .home-destinations { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; gap: 6px; }
  .home-tile { justify-content: space-between; min-height: 81px; padding: 8px 6px; border-radius: 12px; }
  .tile-meta { justify-content: flex-end; }
  .tile-meta span:first-child, .tile-copy p, .tile-diagram { display: none; }
  .tile-meta span:last-child { flex-basis: 18px; height: 18px; font-size: 10px; }
  .tile-copy { max-width: none; }
  .tile-copy h2 { font-size: clamp(13px, 4.1vw, 21px); }
  .tile-mark { width: 70%; right: -6%; }
  .lab-view-head { grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 8px 0 17px; }
}
@media (max-width: 360px) {
  .site-nav a { font-size: 9px; }
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-rail::before { -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
  .home-tile { -webkit-backdrop-filter: blur(11px); backdrop-filter: blur(11px); }
  @media (max-width: 820px) {
    .site-rail::before { background: linear-gradient(#101827db 0 75%, #101827a6 86%, transparent); opacity: calc(.78 + .22 * var(--rail-veil, .95)); }
  }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .home-primary, .command-button, .dialog-close {
    transition: scale .18s var(--motion-ease), border-color .18s ease, background-color .18s ease;
  }
  .home-tile {
    transition: translate .32s var(--motion-ease), scale .18s var(--motion-ease), border-color .18s ease, background-color .18s ease;
  }
  .home-primary:active, .home-tile:active, .command-button:active, .dialog-close:active { scale: .985; }
  .home-primary > span, .tile-meta > span:last-child { transition: translate .24s var(--motion-ease), background-color .18s ease; }
  .home-primary:focus-visible > span, .home-tile:focus-visible .tile-meta > span:last-child { translate: 2px -2px; }
  .command-list a { transition: background-color .16s ease, color .16s ease; }
  .command-list a > span:last-child { transition: translate .18s var(--motion-ease); }
  .command-list a:focus-visible > span:last-child { translate: 3px 0; }
  .command-dialog[open]::backdrop { animation: command-backdrop-in .22s ease-out; transition: opacity .13s ease-in; }
  .command-dialog[data-closing]::backdrop { opacity: 0; }
}
@keyframes command-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .home-tile:hover { translate: 0 -2px; }
  .home-primary:hover > span, .home-tile:hover .tile-meta > span:last-child { translate: 2px -2px; }
  .command-list a:hover > span:last-child { translate: 3px 0; }
  .home-mesh, .home-optics { transition: translate .28s cubic-bezier(.2, .76, .25, 1); }
  .home-mesh { translate: var(--mesh-x, 0px) var(--mesh-y, 0px); }
  .home-optics { translate: calc(-.65 * var(--mesh-x, 0px)) calc(-.65 * var(--mesh-y, 0px)); }
  .home-scene[data-optic-active]::after {
    background:
      radial-gradient(ellipse 125px 90px at var(--optic-x) var(--optic-y), #8ca6e01e, transparent 100%),
      linear-gradient(114deg, #0d162bd0 4%, #0d172da8 44%, #0d152b00 77%);
  }
  .tile-diagram, .tile-mark { transition: translate .48s cubic-bezier(.2, .76, .25, 1); }
  .home-tile:hover .tile-diagram { translate: -6px -3px; }
  .home-tile:hover .tile-diagram-back { translate: 3px -6px; }
  .home-tile:hover .tile-mark { translate: -4px -2px; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  body::before { display: none; }
  .site-rail::before, .home-tile, dialog, dialog::backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-rail::before { background: none; mask-image: none; opacity: 1; }
  .site-nav[data-glass-ready] .nav-glass { display: none; }
  .site-nav a[aria-current="location"] { background: #304a74; border-color: #b9ceff; }
  .home-tile, dialog { background: #1a2845; border-color: #a8c2ff; }
  dialog::backdrop { background: #080d19f2; }
  @media (max-width: 820px) {
    .site-rail::before { inset-block-end: 0; background: #101827; }
  }
}
@media (forced-colors: active) {
  .site-nav[data-glass-ready] .nav-glass { display: none; }
  .site-nav a[aria-current="location"] { outline: 1px solid Highlight; outline-offset: -1px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-rail::before { --rail-veil: .72; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
