@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans Thai";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/noto-sans-thai.woff2") format("woff2");
  unicode-range: U+0E00-0E7F;
}
:root {
  color-scheme: light;
  --font-body: "Manrope", "Noto Sans Thai", sans-serif;
  --ink: #121418;
  --muted: #4c535d;
  --green: #24576a;
  --accent: #d6edf4;
  --on-accent: #17262c;
  --line: #c4ccd3;
  --surface: #f4f5f7;
  --mint: #e7eaef;
  --panel: #edf0f3;
  --hero: #e9ecf1;
  --wire: #536f7f;
  --deep: #090b0e;
  --page-bg: radial-gradient(circle at 50% 44%, #ffffff 0%, #dde9f3 42%, #ecf1f6 76%, #e3ebf3 100%);
  --page-bg-color: #f4f5f7;
  --hero-glow: radial-gradient(880px circle at 50% 42%, #8ec7e438 0%, transparent 72%);
  --hud-ink: #121418;
  --hud-muted: #4c535d;
  --hud-cyan: #24576a;
  --hud-accent: #17262c;
  --hud-on-accent: #f4f5f7;
  --hud-line: #1a25301c;
  --hud-line-strong: #1a253045;
  --hud-surface: #ffffffc9;
  --hud-panel: #e8edf2d9;
  --hud-mint: #d6e5ee99;
  --glass: #ffffffe0;
  --glass-strong: #edf1f5ed;
  --glass-mint: #d6e5ee99;
  --glass-border: #293b5029;
  --glass-shine: inset 0 1px 0 #ffffff, inset 0 0 0 1px #293b5010;
  --glass-shadow: 0 24px 56px -16px #12182426, 0 4px 16px -4px #12182414;
  --glass-blur: blur(16px);
  --card-bg: linear-gradient(145deg, #ffffff 0%, #edf1f5 100%);
  --card-bg-alt: #ffffffb8;
  --card-border: #293b5029;
  --card-shadow: 0 24px 52px -18px #12182426, inset 0 1px 0 #ffffff;
  --btn-primary-bg: #151a21;
  --btn-primary-text: #ffffff;
  --btn-primary-border: #151a21;
  --btn-primary-hover-bg: #000000;
  --btn-primary-hover-text: #ffffff;
  --btn-secondary-bg: #ffffffb8;
  --btn-secondary-text: #171d26;
  --btn-secondary-border: #293b5040;
  --btn-secondary-hover-bg: #e6edf3;
  --btn-secondary-hover-text: #000000;
  --orbit-backdrop: #f4f5f7f2;
  --orbit-core-bg: linear-gradient(145deg, #ffffff 0%, #9aaab9 46%, #eff7ff 68%, #6f8293 100%);
  --orbit-core-text: #18232d;
  --orbit-core-border: #b1c5d7;
  --orbit-node-bg: #ffffffde;
  --orbit-node-text: #121418;
  --orbit-node-border: #293b5042;
  --radius: 6px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  font: 100%/1.65 var(--font-body);
  background: var(--surface);
  color: var(--ink);
}
:root:not([data-theme="light"]) {
  color-scheme: dark;
  --ink: #f4f6f8;
  --muted: #b7bec8;
  --green: #aadfed;
  --accent: #d4edf4;
  --on-accent: #131a20;
  --line: #343a44;
  --surface: #090b0e;
  --mint: #20242b;
  --panel: #14171d;
  --hero: #191d24;
  --wire: #b5cee0;
  --page-bg: radial-gradient(circle at 50% 44%, #1d3142 0%, #101b25 40%, #0a0f15 74%, #07090d 100%);
  --page-bg-color: #090b0e;
  --hero-glow: radial-gradient(960px circle at 50% 42%, #6ec6f029 0%, #1b35481f 48%, transparent 76%);
  --hud-ink: #f4f6f8;
  --hud-muted: #b7bec8;
  --hud-cyan: #aadfed;
  --hud-accent: #d9e5ec;
  --hud-on-accent: #0b1116;
  --hud-line: #ffffff17;
  --hud-line-strong: #ffffff3b;
  --hud-surface: #1b1e24d9;
  --hud-panel: #181c23e6;
  --hud-mint: #a6d7e51c;
  --glass: #12161acc;
  --glass-strong: #1b2028eb;
  --glass-mint: #a6d7e51c;
  --glass-border: #ffffff24;
  --glass-shine: inset 0 1px 0 #ffffff33, inset 0 0 0 1px #ffffff0c;
  --glass-shadow: 0 28px 64px -16px #000000bf, 0 4px 18px #00000040;
  --card-bg: linear-gradient(145deg, #252b34 0%, #14171c 100%);
  --card-bg-alt: #15191de0;
  --card-border: #ffffff24;
  --card-shadow: 0 30px 70px -26px #00000099, inset 0 1px 0 #ffffff26;
  --btn-primary-bg: linear-gradient(120deg, #f6f8fb 0%, #d4e7f3 100%);
  --btn-primary-text: #111820;
  --btn-primary-border: #e6f0f8;
  --btn-primary-hover-bg: #ffffff;
  --btn-primary-hover-text: #000000;
  --btn-secondary-bg: #171b20d9;
  --btn-secondary-text: #f4f6f8;
  --btn-secondary-border: #ffffff3b;
  --btn-secondary-hover-bg: #292f38;
  --btn-secondary-hover-text: #ffffff;
  --orbit-backdrop: #090b0ef5;
  --orbit-core-bg: linear-gradient(145deg, #e3e8ed 0%, #6e7a8b 38%, #f6f8fb 70%, #7f919f 100%);
  --orbit-core-text: #111820;
  --orbit-core-border: #e6f0f8;
  --orbit-node-bg: #151a20eb;
  --orbit-node-text: #f4f6f8;
  --orbit-node-border: #c6e1f04d;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body {
  margin: 0;
  color: var(--hud-ink);
  background: var(--page-bg);
  background-color: var(--page-bg-color);
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .25em; }
:is(a, button, summary):focus-visible { outline: 2px solid var(--hud-cyan); outline-offset: 4px; border-radius: 6px; }
p, h1, h2, h3, figure, dl { margin: 0; }
h1, h2, h3 { color: var(--hud-ink); font-weight: 540; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: 5rem; line-height: 1.06; letter-spacing: 0; }
html[lang="th"] h1 { line-height: 1.2; letter-spacing: 0; }
h1 span { color: var(--hud-cyan); }
h2 { font-size: 3.25rem; line-height: 1.18; letter-spacing: 0; }
h3 { font-size: 1.18rem; line-height: 1.38; letter-spacing: 0; }
p { color: var(--hud-muted); overflow-wrap: anywhere; }
small { font-size: .78rem; overflow-wrap: anywhere; }
.page-wrap { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
.site-header { width: 100%; min-height: 50px; display: flex; align-items: center; gap: .25rem .75rem; flex-wrap: wrap; padding: .15rem clamp(1rem, 4vw, 4rem); border-bottom: 0; background: transparent; color: var(--hud-ink); view-transition-name: site-header; }
main { view-transition-name: page-content; }
.wordmark { display: inline-flex; align-items: center; gap: .45rem; min-height: 49px; min-width: 49px; max-width: 100%; color: var(--hud-ink); font: 600 .76rem/1.2 var(--font-body); letter-spacing: 0; }
.wordmark > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.wordmark small { display: none; }
.brand-mark { position: relative; display: grid; place-items: center; flex: 0 0 22px; height: 22px; background: var(--btn-primary-bg); border: 1px solid var(--btn-primary-border); border-radius: 5px; font: 700 .76rem/1 var(--font-body); color: var(--btn-primary-text); }
.brand-mark span { position: absolute; width: 3px; height: 3px; background: #75dca0; border-radius: 50%; right: 2.5px; bottom: 2.5px; }
:root[data-theme="dark"] .brand-mark span { background: #184d35; }
.main-nav { display: flex; gap: .1rem; align-items: center; margin-left: auto; flex-wrap: wrap; padding: 0; border: 0; background: transparent; }
.main-nav a, .locale-nav a { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; min-height: 49px; min-width: 49px; padding-inline: .5rem; border-radius: 999px; color: var(--hud-muted); font-size: .74rem; font-weight: 550; letter-spacing: 0; overflow-wrap: anywhere; transition: color 280ms var(--ease-out); }
.main-nav a::after { content: ""; position: absolute; inset: auto .55rem 12px; height: 1.5px; background: var(--hud-cyan); transform: scaleX(0); transform-origin: center; transition: transform 380ms var(--ease-out); }
.main-nav a:hover { text-decoration: none; color: var(--hud-ink); }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.locale-nav { display: flex; align-items: center; gap: 0; padding: 0; border: 0; background: transparent; }
.locale-nav a { padding-inline: .35rem; font: 600 .68rem/1 var(--font-body); letter-spacing: 0; color: var(--hud-muted); }
.locale-nav [aria-current] { font-weight: 700; color: var(--hud-ink); text-decoration: none; }
.locale-nav [aria-current]::before { content: ""; position: absolute; z-index: -1; inset: 11px 4px; border-radius: 999px; background: var(--glass-mint); border: 1px solid var(--btn-secondary-border); }
.theme-toggle { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; flex: 0 0 auto; min-width: 49px; min-height: 49px; max-width: 100%; padding: .25rem .65rem; border: 0; border-radius: 999px; background: transparent; color: var(--hud-ink); font: 600 .68rem/1.2 var(--font-body); letter-spacing: 0; text-transform: uppercase; cursor: pointer; transition: color 280ms ease; }
.theme-toggle::before { content: ""; position: absolute; z-index: -1; inset: 11px 0; border-radius: 999px; border: 1px solid var(--btn-secondary-border); background: var(--btn-secondary-bg); transition: background-color 280ms ease, border-color 280ms ease; }
.theme-toggle:hover { color: var(--btn-secondary-hover-text); }
.theme-toggle:hover::before { background: var(--btn-secondary-hover-bg); border-color: var(--hud-cyan); }
.theme-toggle[hidden], .theme-status[hidden] { display: none; }
.theme-icon { width: 9px; height: 9px; flex: 0 0 9px; border: 1.5px solid currentColor; border-radius: 50%; background: linear-gradient(90deg, transparent 50%, currentColor 50%); }
.theme-toggle[aria-pressed="true"]::before { background: var(--glass-mint); border-color: var(--hud-cyan); }
.theme-status { order: 4; flex-basis: 100%; color: var(--hud-muted); font: .72rem/1.4 var(--font-body); }
.hud-glyphs { display: none; }
.hero-horizon { position: absolute; inset: 46% 4rem auto; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: .35rem .75rem; min-width: 0; pointer-events: none; color: var(--hud-muted); opacity: .76; font: 500 .62rem/1.4 var(--font-body); letter-spacing: 0; text-transform: uppercase; }
.horizon-left, .horizon-right { display: flex; flex-direction: column; gap: .35rem; width: min(18vw, 14rem); min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.horizon-left span { padding-bottom: 0; border-bottom: 0; }
.horizon-left small { font: inherit; color: var(--hud-muted); }
.horizon-right { align-items: flex-end; text-align: right; padding-top: 0; border-top: 0; margin-top: 0; }
.skip-link { position: absolute; top: -200px; left: 1rem; padding: 1rem; z-index: 3; color: var(--btn-primary-text); background: var(--btn-primary-bg); border: 2px solid var(--hud-cyan); }
.skip-link:focus { top: 1rem; }
.section { padding-block: clamp(4.5rem, 9svh, 7rem); }
.eyebrow, .mini-label { display: inline-flex; align-items: center; gap: .45rem; font: 600 .68rem/1.7 var(--font-body); letter-spacing: 0; text-transform: uppercase; color: var(--hud-cyan); overflow-wrap: anywhere; }
.eyebrow::before, .mini-label::before { content: "·"; font-weight: 700; color: var(--hud-cyan); opacity: .9; }
.hero-body { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 5rem; align-items: center; margin-top: 2.8rem; }
.hero-copy { min-width: 0; }
.lead { font-size: 1.22rem; max-width: 38rem; color: var(--hud-muted); }
.actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: .85rem; min-height: 50px; min-width: 48px; max-width: 100%; padding: .6rem 1.25rem; border: 1px solid var(--btn-secondary-border); border-radius: 999px; font-size: .84rem; font-weight: 600; letter-spacing: 0; text-align: left; overflow-wrap: anywhere; backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: 0 12px 28px -12px #06100b38, inset 0 1px 0 #ffffff33; transition: background-color 320ms var(--ease-out), border-color 320ms var(--ease-out), color 320ms var(--ease-out), box-shadow 380ms var(--ease-out), transform 450ms var(--ease-out); }
.button-primary { color: var(--btn-primary-text); background: var(--btn-primary-bg); border-color: var(--btn-primary-border); box-shadow: 0 14px 32px -10px #06120c4d, inset 0 1px 0 #ffffff33; }
.button-secondary { background: var(--btn-secondary-bg); color: var(--btn-secondary-text); border-color: var(--btn-secondary-border); }
.button:hover { background: var(--btn-secondary-hover-bg); color: var(--btn-secondary-hover-text); border-color: var(--hud-cyan); text-decoration: none; box-shadow: 0 16px 34px -10px #06120c45; }
.button-primary:hover { background: var(--btn-primary-hover-bg); color: var(--btn-primary-hover-text); border-color: var(--btn-primary-hover-bg); }
.button-arrow { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; border: 1px solid currentColor; background: #ffffff1f; color: currentColor; font: 400 .9rem/1 var(--font-body); transition: transform 350ms var(--ease-out), background-color 300ms var(--ease-out), color 300ms var(--ease-out); }
:root[data-theme="dark"] .button-primary .button-arrow { background: #0b1d131a; border-color: #0b1d1333; }
.hero-actions { flex-direction: column; }
.hero-actions .button { width: 100%; min-height: 54px; }
.hero-actions .button-primary { padding: .55rem .7rem .55rem 1.2rem; }
.section-heading { margin-bottom: 2.6rem; max-width: 52rem; }
.section-heading .eyebrow { margin-bottom: .8rem; }
.section-heading p:not(.eyebrow) { margin-top: 1rem; max-width: 44rem; }
.badge { display: inline-flex; align-items: center; border: 1px solid var(--hud-line-strong); border-radius: 999px; padding: .28rem .75rem; font: 600 .64rem/1.4 var(--font-body); letter-spacing: 0; text-transform: uppercase; width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
.badge-released { background: #d6f2e1; color: #0c3b24; border-color: #186b4359; }
.badge-verified { background: #e2e8f4; color: #203650; border-color: #46658b59; }
.badge-verifying { background: #d7edf7; color: #103c4d; border-color: #1c668059; }
.badge-planned { background: #f7ebd2; color: #4a350c; border-color: #85631c59; }
.badge-deferred { background: #e1ebe4; color: #24362b; border-color: #46635259; }
:root[data-theme="dark"] .badge-released { background: #214030cc; color: #c8f5da; border-color: #8cd4a866; }
:root[data-theme="dark"] .badge-verified { background: #233044cc; color: #dbe9ff; border-color: #8ba9ce66; }
:root[data-theme="dark"] .badge-verifying { background: #1d353dcc; color: #cbeaf5; border-color: #82c6de66; }
:root[data-theme="dark"] .badge-planned { background: #363022cc; color: #f2e2b8; border-color: #d6ba7c66; }
:root[data-theme="dark"] .badge-deferred { background: #29332ccc; color: #d0ddd4; border-color: #93ab9b59; }
[data-orbit-wire] { stroke: var(--wire); }
.math-artwork { display: block; width: 100%; height: 100%; transform: translate3d(calc(var(--pointer-x, 0px) * .8), calc(var(--motion-float, 0px) + var(--motion-scroll, 0px) * .5), 0); }
[data-motion-card] { position: relative; isolation: isolate; transition: border-color 350ms ease, box-shadow 450ms var(--ease-out), translate 450ms var(--ease-out); }
[data-motion-card]::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: radial-gradient(520px circle at var(--spot-x, 50%) var(--spot-y, 50%), #6ec29024, transparent 74%); opacity: 0; pointer-events: none; transition: opacity 450ms var(--ease-out); }
[data-motion-card]:focus-within { border-color: var(--hud-cyan); }
.card-link span { transition: translate 450ms var(--ease-out); }
[data-motion-card]:hover .card-link span, [data-motion-card]:focus-within .card-link span { translate: 3px -3px; }
.site-footer { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--hud-line); padding-block: 2.2rem; margin-top: 2rem; color: var(--hud-ink); }
.footer-brand { min-height: 48px; min-width: 48px; display: inline-flex; align-items: center; color: var(--hud-cyan); font: 600 .8rem/1.4 var(--font-body); letter-spacing: 0; overflow-wrap: anywhere; }
.site-footer p { font-size: .76rem; margin-left: auto; color: var(--hud-muted); }
@media (max-width: 1000px) {
  .hero-body { gap: 2.5rem; }
  .hero-horizon { display: none; }
}
@media (max-width: 900px) {
  .page-wrap { width: calc(100% - 40px); }
  .site-header { min-height: 48px; padding: .1rem clamp(.75rem, 3vw, 1.5rem); gap: 0 .35rem; }
  .main-nav { order: 3; width: 100%; margin-left: 0; margin-top: -.35rem; gap: .15rem; border-top: 0; padding-top: 0; }
  .locale-nav { margin-left: auto; }
}
@media (max-width: 700px) {
  .site-header { gap: 0 .25rem; }
  .hero-body { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin-top: 1rem; }
  .section { padding-block: 3.2rem; }
  .section-heading { margin-bottom: 1.8rem; }
  .site-footer p { margin-left: 0; }
}
@media (max-width: 360px) {
  .page-wrap { width: calc(100% - 24px); }
  .wordmark { font-size: .92rem; gap: .4rem; }
  .locale-nav { padding-left: 0; border-left: 0; }
  .actions .button { flex: 1 1 10rem; }
  .hero-horizon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .math-artwork { transform: none; }
  [data-reveal] { opacity: 1 !important; translate: none !important; filter: none !important; }
  [data-motion-card], .button, .card-link span, .main-nav a::after { transition: none; }
  .orbit-node, .orbit-core, .button > span { translate: none; }
}
@media (prefers-reduced-motion: no-preference) {
  [data-motion-scene], [data-motion-card], .button {
    --tilt-x: calc(var(--motion-x, 0) * 3.5deg);
    --tilt-y: calc(var(--motion-y, 0) * -2.5deg);
    --pointer-x: calc(var(--motion-x, 0) * 14px);
    --pointer-y: calc(var(--motion-y, 0) * 10px);
    --spot-x: calc(50% + clamp(-1, var(--motion-x, 0), 1) * 45%);
    --spot-y: calc(50% + clamp(-1, var(--motion-y, 0), 1) * 45%);
  }
  .motion-reveal { animation: marketing-reveal 960ms cubic-bezier(.16, 1, .3, 1) var(--reveal-delay, 0ms) both; transform-origin: 50% 85%; }
  .motion-paused .motion-reveal { animation-play-state: paused; }
  html[data-motion="enabled"] { scroll-behavior: smooth; }
}
@keyframes marketing-reveal {
  0% { opacity: 0; translate: 0 36px; filter: blur(8px); }
  60% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; translate: 0 0; filter: blur(0); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  [data-motion-card] { transform: perspective(1000px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)); }
  [data-motion-card]:hover { translate: 0 -6px; border-color: var(--green); box-shadow: 0 28px 64px -12px #145e3629, var(--glass-shine); }
  [data-motion-card]:hover::before { opacity: 1; }
  .button > span { translate: calc(var(--pointer-x, 0px) * .45) calc(var(--pointer-y, 0px) * .4); }
}
@view-transition { navigation: auto; }
::view-transition-old(page-content) { animation: page-out 280ms cubic-bezier(.4, 0, .2, 1) both; }
::view-transition-new(page-content) { animation: page-in 640ms var(--ease-out) both; }
::view-transition-group(site-header) { animation-duration: 480ms; animation-timing-function: var(--ease-out); }
@keyframes page-out {
  to { opacity: 0; translate: 0 -18px; scale: .98; filter: blur(4px); }
}
@keyframes page-in {
  from { opacity: 0; translate: 0 26px; scale: .98; filter: blur(6px); }
  to { opacity: 1; translate: 0 0; scale: 1; filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-old(page-content), ::view-transition-new(page-content), ::view-transition-group(site-header) {
    animation: none;
  }
}
.spatial-story { position: relative; isolation: isolate; background: transparent; color: var(--hud-ink); }
.spatial-stage { position: relative; min-width: 0; }
.spatial-scene { position: absolute; left: 0; top: 0; width: 100%; height: clamp(260px, 52svh, 460px); overflow: hidden; contain: layout paint; pointer-events: none; }
.spatial-scene canvas { display: block; width: 100%; height: 100%; opacity: 0; }
[data-story-state="ready"] .spatial-scene canvas, .spatial-dialog .spatial-scene canvas { opacity: 1; }
.spatial-panel { position: relative; padding: 2.5rem var(--page-gutter) 4rem; min-width: 0; }
.spatial-copy { width: min(100%, 42rem); min-width: 0; margin-inline: auto; }
.spatial-copy > .eyebrow { margin-bottom: 1.4rem; }
.spatial-copy h1 { font-size: clamp(2.25rem, 4.3vw, 4.4rem); line-height: 1.14; font-weight: 700; }
.spatial-copy h2 { font-size: clamp(1.85rem, 2.9vw, 3rem); line-height: 1.25; font-weight: 700; }
html[lang="th"] .spatial-copy :is(h1, h2) { line-height: 1.4; }
.spatial-copy h3 { margin-block: 1.5rem .6rem; font-size: 1rem; font-weight: 650; }
.spatial-copy p { font-size: .94rem; line-height: 1.85; }
.spatial-copy > p:not(.eyebrow) { margin-top: 1.3rem; }
.spatial-copy .actions { margin-top: 2rem; gap: .8rem; }
.spatial-copy .button { border-radius: 2px; min-height: 48px; padding: .65rem 1.25rem; font-size: .76rem; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.spatial-copy .detail-link { display: inline-flex; align-items: center; gap: 1rem; min-width: 48px; min-height: 48px; font-size: .8rem; }
.spatial-title { display: flex; align-items: baseline; gap: 1rem; min-width: 0; }
.spatial-title h2 { min-width: 0; }
.spatial-index { color: var(--hud-cyan); flex: 0 0 auto; font-size: .7rem; font-weight: 650; }
.spatial-slot { display: none; }
.spatial-panel:first-child .spatial-slot { display: block; height: clamp(260px, 52svh, 460px); margin-top: -2.5rem; }
[data-story-state="ready"][data-story-mode="flow"] .spatial-slot { display: block; height: clamp(260px, 48svh, 440px); margin-bottom: 1.5rem; }
[data-story-state="ready"][data-story-mode="flow"] .spatial-panel:first-child .spatial-slot { height: clamp(260px, var(--story-opening-space, 48svh), clamp(260px, 48svh, 440px)); }
.spatial-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem; padding: 1rem var(--page-gutter); }
.spatial-nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: .5rem; font-size: .7rem; color: var(--hud-muted); }
.spatial-nav a[aria-current="true"] { color: var(--hud-cyan); text-decoration: underline; }
.spatial-error { display: block; padding: 1rem var(--page-gutter); font-size: .85rem; color: var(--hud-muted); }
.spatial-error[hidden] { display: none; }
.spatial-story[data-story-mode="live"] .spatial-stage { position: sticky; top: 0; height: 100svh; overflow: clip; }
.spatial-story[data-story-mode="live"] .spatial-panels { position: absolute; inset: 0; }
.spatial-story[data-story-mode="live"] .spatial-panel { position: absolute; inset: 0; padding: 0; visibility: hidden; overflow: clip; clip-path: inset(80px 0 24px); }
.spatial-story[data-story-mode="live"] .spatial-panel[data-story-active="true"] { visibility: visible; }
.spatial-story[data-story-mode="live"] .spatial-slot { display: none; }
.spatial-story[data-story-mode="live"] .spatial-copy { position: absolute; top: var(--story-copy-top); margin: 0; will-change: opacity, translate; }
.spatial-story[data-story-mode="live"] [data-story-side="left"] .spatial-copy { left: 3.8%; width: min(30%, 31rem); }
.spatial-story[data-story-mode="live"] [data-story-side="right"] .spatial-copy { left: 59%; width: min(30%, 31rem); }
.spatial-story[data-story-mode="live"] [data-story-reading="wide"][data-story-side="left"] .spatial-copy { width: min(40%, 42rem); }
.spatial-story[data-story-mode="live"] [data-story-reading="wide"][data-story-side="right"] .spatial-copy { left: 49%; width: min(40%, 42rem); }
.spatial-story[data-story-mode="live"] [data-story-layout="vision"] .spatial-copy { left: 11.6%; width: min(53%, 54rem); }
.spatial-story[data-story-mode="live"] [data-story-layout="overview"] .spatial-copy { left: 51.2%; width: min(37.2%, 39rem); }
.spatial-story[data-story-mode="live"] .spatial-nav { position: absolute; right: .5rem; bottom: 1.5rem; flex-direction: column; flex-wrap: nowrap; max-height: calc(100svh - 120px); overflow-y: auto; padding: 0; gap: 0; z-index: 3; scrollbar-width: thin; }
.spatial-story[data-story-mode="live"] .spatial-nav a { position: relative; flex-shrink: 0; width: 48px; height: 48px; min-height: 48px; color: var(--hud-muted); padding: 0; }
.spatial-story[data-story-mode="live"] .spatial-nav a::before { content: ""; width: 4px; height: 4px; border: 1px solid currentColor; background: currentColor; }
.spatial-story[data-story-mode="live"] .spatial-nav a[aria-current="true"]::before { width: 9px; height: 9px; padding: 2px; background-clip: content-box; }
.spatial-story[data-story-mode="live"] .spatial-nav a span { position: absolute; right: 44px; width: max-content; max-width: 16rem; padding: .35rem .65rem; background: var(--surface); opacity: 0; pointer-events: none; }
.spatial-story[data-story-mode="live"] .spatial-nav a:is(:hover, :focus-visible) span { opacity: 1; }
.spatial-story[data-story-mode="live"] .spatial-error { position: absolute; left: 0; bottom: 0; }
body[data-story-mode="live"] .site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 5; background: linear-gradient(var(--surface), transparent); }
body[data-story-mode="live"] .skip-link { z-index: 6; }
.dna-poster { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 160px; height: 350px; rotate: -12deg; filter: drop-shadow(8px 12px 12px #122c3e33); }
.dna-poster svg { display: block; width: 100%; height: 100%; }
[data-story-state="ready"] .dna-poster { display: none; }
@media (max-width: 1000px) {
  .spatial-copy h1 { font-size: clamp(2rem, 7vw, 3.4rem); }
  .spatial-copy h2 { font-size: clamp(1.8rem, 6vw, 2.8rem); }
  .spatial-panel { padding-block: 1.5rem 3.5rem; }
  .spatial-panel:first-child .spatial-slot { margin-top: -1.5rem; }
  .spatial-copy .actions .button { flex: 1 1 11rem; }
}
@media (max-width: 360px) {
  .spatial-title { gap: .6rem; }
  .spatial-copy .actions { flex-direction: column; }
  .spatial-copy .button { width: 100%; padding-inline: .85rem; }
}

body[data-site="brand"] { --page-gutter: clamp(1rem, 3.8vw, 4rem); background-attachment: fixed; }
body[data-site="brand"] .page-wrap { width: 100%; }
body[data-site="brand"] .locale-nav { margin-left: auto; }
body[data-site="brand"] .site-footer { padding-inline: var(--page-gutter); margin-top: 0; }
.brand-spatial .spatial-stage { background: var(--page-bg); background-color: var(--page-bg-color); }
.brand-spatial[data-story-mode="flow"] .spatial-stage { background: transparent; }
.brand-opening-copy { display: grid; gap: 1.5rem; }
.brand-opening-title .eyebrow { margin-bottom: .75rem; }
.brand-opening-summary .actions { margin-top: 1.2rem; }
.brand-spatial[data-story-mode="live"] .brand-opening-copy { inset: 0; width: 100%; max-width: none; }
.brand-spatial[data-story-mode="live"] :is(.brand-opening-title, .brand-opening-summary) { position: absolute; bottom: 40px; }
.brand-spatial[data-story-mode="live"] .brand-opening-title { left: 3.8%; width: 48%; }
.brand-spatial[data-story-mode="live"] .brand-opening-summary { right: 3.8%; width: min(30%, 31rem); }
.brand-spatial[data-story-mode="live"] .brand-opening-title h1 { font-size: clamp(2.5rem, 3.8vw, 4rem); }
.brand-spatial .work-prompt { font-size: .75rem; margin-top: 2.2rem; color: var(--hud-cyan); }
.work-choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin-top: 1rem; }
.work-choices a { display: flex; flex-direction: column; align-items: start; gap: .75rem; min-height: 48px; min-width: 48px; color: var(--hud-muted); font-size: .64rem; line-height: 1.6; overflow-wrap: anywhere; }
.work-choice-icon { position: relative; display: grid; place-items: center; width: min(100%, 64px); min-height: 48px; aspect-ratio: 1; border: 1px solid var(--hud-line-strong); border-radius: 5px; background: linear-gradient(145deg, var(--panel), var(--surface)); color: var(--hud-cyan); font-size: 1.3rem; font-weight: 650; box-shadow: inset 1px 1px 0 var(--hud-line); transform: perspective(400px) rotateY(-14deg) rotateX(8deg); transition: transform 400ms var(--ease-out), border-color 300ms ease; }
.work-choice-icon::after { content: ""; position: absolute; inset: 6px; border: 1px solid var(--hud-line); border-radius: 2px; }
.work-choices a:is(:hover, :focus-visible) { text-decoration: none; color: var(--hud-ink); }
.work-choices a:is(:hover, :focus-visible) .work-choice-icon { border-color: var(--hud-cyan); transform: perspective(400px) rotateY(8deg) rotateX(-4deg); }
.brand-spatial .work-map { display: grid; gap: 1.6rem; margin-top: 2rem; }
.brand-spatial .work-map > div { min-width: 0; padding-top: 1rem; border-top: 1px solid var(--hud-line); }
.brand-spatial .work-map dt { font-size: .9rem; font-weight: 650; overflow-wrap: anywhere; }
.brand-spatial .work-map dd { margin: .6rem 0 0; color: var(--hud-muted); font-size: .9rem; line-height: 1.8; overflow-wrap: anywhere; }
.brand-spatial .work-map a { display: inline-flex; align-items: center; gap: .75rem; min-width: 48px; min-height: 48px; max-width: 100%; color: var(--hud-cyan); font-size: .76rem; }
.brand-spatial .founder-principles { display: grid; gap: 1.5rem; margin-top: 2rem; }
.brand-spatial .founder-principles dt { font-size: 1rem; font-weight: 650; color: var(--hud-ink); }
.brand-spatial .founder-principles dd { margin: .5rem 0 0; font-size: .9rem; line-height: 1.8; color: var(--hud-muted); overflow-wrap: anywhere; }
.brand-spatial .founder-note { font-size: .8rem; color: var(--hud-cyan); }
.rubik-poster { position: absolute; top: 50%; left: 50%; width: 180px; height: 180px; transform-style: preserve-3d; transform: translate(-50%, -50%) rotateX(-24deg) rotateY(-32deg); }
.rubik-poster-face { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; padding: 5px; background: #1b222a; border-radius: 6px; }
.rubik-poster-face span { display: grid; place-items: center; border-radius: 6px; background: #b6cadd; color: #17222c; box-shadow: inset 0 2px 3px #ffffff80; font: 600 1.8rem/1 var(--font-body); }
.rubik-poster-front { transform: translateZ(90px); }
.rubik-poster-top { transform: rotateX(90deg) translateZ(90px); }
.rubik-poster-top span { background: #e7ebeb; }
.rubik-poster-right { transform: rotateY(90deg) translateZ(90px); }
.rubik-poster-right span { background: #9ec9e8; }
[data-story-state="ready"] .rubik-poster { display: none; }
.work-detail { position: relative; max-width: 52rem; margin-inline: auto; padding: 3rem var(--page-gutter); }
.work-detail[hidden] { display: none; }
.work-anchor { position: absolute; top: 0; }
.detail-slot { display: none; }
.detail-back { display: inline-flex; align-items: center; gap: .75rem; min-width: 48px; min-height: 48px; max-width: 100%; margin-bottom: 1.5rem; color: var(--hud-cyan); font-size: .75rem; }
.detail-copy .eyebrow { margin-bottom: 1rem; }
.detail-copy > p { margin-top: 1.2rem; }
.detail-copy h3 { margin-top: 2rem; }
.detail-foundations { display: grid; gap: 1.2rem; margin-top: 1.5rem; }
.detail-foundations dt { font-size: .85rem; font-weight: 650; color: var(--hud-cyan); overflow-wrap: anywhere; }
.detail-foundations dd { margin: .4rem 0 0; font-size: .85rem; line-height: 1.8; color: var(--hud-muted); overflow-wrap: anywhere; }
.spatial-dialog { position: fixed; inset: 0; width: 100%; height: 100svh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; color: var(--hud-ink); background: var(--page-bg); background-color: var(--page-bg-color); overflow: clip; }
.spatial-dialog::backdrop { background: var(--page-bg-color); }
.spatial-dialog .spatial-scene { z-index: 0; }
.spatial-dialog .rubik-poster { display: none; }
.spatial-dialog .work-detail { position: absolute; inset: 0; z-index: 1; width: 100%; max-width: none; height: 100%; padding: 0; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: thin; }
.spatial-dialog .detail-copy { width: min(37.2%, 39rem); margin: 0 0 0 51.2%; padding: 130px 0 60px; }
.spatial-dialog .detail-back { position: absolute; top: 64px; left: 51.2%; z-index: 2; margin: 0; }
.spatial-dialog[data-story-overlay-mode="flow"] .detail-back { position: sticky; top: 0; left: 0; z-index: 2; display: flex; width: 100%; min-height: 64px; padding: max(.5rem, env(safe-area-inset-top)) max(var(--page-gutter), env(safe-area-inset-right)) .5rem max(var(--page-gutter), env(safe-area-inset-left)); border-bottom: 1px solid var(--hud-line); background: var(--surface); font-size: .8125rem; }
.spatial-dialog[data-story-overlay-mode="flow"] .detail-slot { display: block; height: clamp(150px, 27svh, 240px); }
.spatial-dialog[data-story-overlay-mode="flow"] .detail-copy { width: min(100%, 42rem); margin-inline: auto; padding: 1.5rem max(var(--page-gutter), env(safe-area-inset-right)) max(3.5rem, env(safe-area-inset-bottom)) max(var(--page-gutter), env(safe-area-inset-left)); }
@media (max-width: 1000px) {
  .work-choices { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); grid-auto-rows: 1fr; gap: .8rem; }
  .work-choices a { flex-direction: row; align-items: center; gap: .6rem; min-width: 0; min-height: 5.5rem; padding: .75rem .65rem; border: 1px solid var(--hud-line-strong); border-radius: 6px; background: var(--card-bg); color: var(--hud-ink); font-size: .8rem; text-align: start; touch-action: manipulation; }
  .work-choices a > span:last-child { min-width: 0; }
  .work-choice-icon { width: 48px; min-width: 48px; flex: 0 0 48px; border: 0; background: transparent; box-shadow: none; }
  .work-choice-icon::after { display: none; }
  .work-choices a:is(:hover, :focus-visible) { border-color: var(--hud-cyan); }
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  .work-choice-icon, .work-choices a:is(:hover, :focus-visible) .work-choice-icon { transform: none; transition: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .spatial-dialog[open] .detail-copy { animation: detail-reading-entry 360ms var(--ease-out) both; }
}
@keyframes detail-reading-entry {
  from { opacity: 0; translate: 0 14px; }
  to { opacity: 1; translate: 0 0; }
}

body[data-site="pos"] { --page-gutter: clamp(1rem, 3.8vw, 4rem); background-attachment: fixed; }
body[data-site="pos"] .page-wrap { width: 100%; }
body[data-site="pos"] .site-footer { padding-inline: var(--page-gutter); }
.pos-story .spatial-stage { background: var(--page-bg); background-color: var(--page-bg-color); }
.pos-story[data-story-mode="flow"] .spatial-stage { background: transparent; }
.pos-story .reading-sequence { display: grid; gap: 1.25rem; margin-top: 2rem; }
.pos-story .reading-sequence > article { min-width: 0; }
.pos-story .reading-sequence h3 { margin-top: .5rem; }
.pos-story .reading-sequence .mini-label { font-size: .65rem; }
.pos-story .business-tags { font-size: .8rem; color: var(--hud-cyan); }
.pos-story .business-summary { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.pos-story .business-summary li { flex: 1 1 5rem; min-width: 0; }
.pos-story .business-summary strong, .pos-story .business-summary small { display: block; overflow-wrap: anywhere; }
.pos-story .business-summary strong { font-size: .8rem; color: var(--hud-ink); }
.pos-story .business-summary small { margin-top: .3rem; font-size: .68rem; color: var(--hud-muted); }
.pos-story .spatial-copy .foundation-dimensions { font-size: .75rem; color: var(--hud-cyan); }
.pos-story .spatial-copy :is(.foundation-note, .coverage-note, .hero-note) { font-size: .78rem; line-height: 1.8; }
.pos-story .coverage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; margin-top: 1.5rem; }
.pos-story .coverage > div { display: flex; flex-direction: column-reverse; gap: .4rem; min-width: 0; border-bottom: 1px solid var(--hud-line); padding-bottom: .75rem; }
.pos-story .coverage dt { color: var(--hud-muted); font-size: .7rem; overflow-wrap: anywhere; }
.pos-story .coverage dd { margin: 0; color: var(--hud-cyan); font-size: 1.85rem; line-height: 1.1; }
.pos-story .readiness-list { display: grid; gap: 1.8rem; margin-top: 2rem; }
.pos-story .readiness-list article { min-width: 0; }
.pos-story .readiness-list h3 { margin-top: .65rem; }
.pos-story .setup-examples { display: grid; gap: 1.5rem; list-style: none; padding: 0; margin: 1.75rem 0 0; }
.pos-story .setup-examples li { display: flex; align-items: baseline; gap: .85rem; min-width: 0; }
.pos-story .setup-examples li > span { flex: 0 0 1.2rem; color: var(--hud-cyan); font-size: .7rem; }
.pos-story .setup-examples li > div { min-width: 0; }
.pos-story .setup-examples h3 { margin-top: 0; }
.pos-story :is(.timeline, .roadmap) { display: grid; gap: 2.5rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.pos-story :is(.timeline, .roadmap) li { min-width: 0; padding-top: 1.2rem; border-top: 1px solid var(--hud-line); }
.pos-story :is(.timeline, .roadmap) h3 { margin-top: .6rem; }
.pos-story .milestone-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; color: var(--hud-cyan); font-size: .7rem; }
.pos-story .spatial-copy .release-note { padding-top: 1.5rem; border-top: 1px solid var(--hud-line); font-size: .75rem; }
.pos-story .release-note code { color: var(--hud-cyan); overflow-wrap: anywhere; }
@media (max-width: 360px) {
  .pos-story .coverage { grid-template-columns: minmax(0, 1fr); }
  .pos-story .business-summary { flex-direction: column; }
  .pos-story .business-summary li { flex-basis: auto; }
}
