:root {
  --paper: #f3f1ea;
  --white: #fbfaf5;
  --ink: #11131a;
  --muted: #686970;
  --line: rgba(17, 19, 26, 0.17);
  --blue: #2856d8;
  --blue-dark: #17399c;
  --cyan: #b8ecff;
  --lime: #d8f28a;
  --coral: #ffb49d;
  --lavender: #c7befb;
  --panel: #e7e5df;
  --night: #11131a;
  --night-soft: #1a1d28;
  --deep: #08090e;
  --on-night: #ffffff;
  --feature: #2856d8;
  --feature-panel: #d9e2ff;
  --on-feature: #ffffff;
  --intro-paper: #fbfaf5;
  --logo-surface: #fbfaf5;
  --glow-one: #2147bc;
  --glow-two: #6a2e99;
  --header: 92px;
  font-family: "Instrument Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

:root[data-palette="krinia"] {
  --paper: #f6f1ea;
  --white: #fdfaf3;
  --ink: #15110e;
  --muted: #645749;
  --line: rgba(21, 17, 14, .17);
  --blue: #c96a55;
  --blue-dark: #a84f3e;
  --cyan: #f2c8be;
  --lime: #e3d8c4;
  --coral: #e8a89a;
  --lavender: #d9c1c9;
  --panel: #ece4d7;
  --night: #3b2230;
  --night-soft: #2a2018;
  --deep: #15110e;
  --feature: #3b2230;
  --feature-panel: #f2c8be;
  --on-feature: #fdfaf3;
  --intro-paper: #fdfaf3;
  --logo-surface: #fdfaf3;
  --glow-one: #7c3a2e;
  --glow-two: #b3573f;
}

:root[data-palette="mineral"] {
  --paper: #f0f1ea;
  --white: #fafbf5;
  --ink: #101814;
  --muted: #59665f;
  --line: rgba(16, 24, 20, .17);
  --blue: #24745c;
  --blue-dark: #174b3c;
  --cyan: #c5e6dc;
  --lime: #d7e5a8;
  --coral: #d9c5a7;
  --lavender: #c8d5cf;
  --panel: #e2e7df;
  --night: #10251e;
  --night-soft: #183129;
  --deep: #09130f;
  --feature: #174b3c;
  --feature-panel: #cfe3d8;
  --on-feature: #f7faf5;
  --intro-paper: #fafbf5;
  --logo-surface: #fafbf5;
  --glow-one: #195e49;
  --glow-two: #8c9c4b;
}

:root[data-palette="bordeaux"] {
  --paper: #f4efe9;
  --white: #fcf8f4;
  --ink: #211018;
  --muted: #705a63;
  --line: rgba(33, 16, 24, .17);
  --blue: #8d2346;
  --blue-dark: #681832;
  --cyan: #eed7dd;
  --lime: #d9d7ad;
  --coral: #eeb7a6;
  --lavender: #d8c4df;
  --panel: #e9e0dc;
  --night: #2b111c;
  --night-soft: #381625;
  --deep: #190a10;
  --feature: #6f1839;
  --feature-panel: #f0cbd6;
  --on-feature: #fff9f6;
  --intro-paper: #fcf8f4;
  --logo-surface: #fcf8f4;
  --glow-one: #6f1839;
  --glow-two: #a64f68;
}

:root[data-palette="nocturne"] {
  --paper: #151719;
  --white: #1c1f22;
  --ink: #f2f0e9;
  --muted: #a9aca8;
  --line: rgba(242, 240, 233, .18);
  --blue: #d1e86d;
  --blue-dark: #a6bc45;
  --cyan: #90c7c0;
  --lime: #d1e86d;
  --coral: #d9a174;
  --lavender: #9e9acb;
  --panel: #222629;
  --night: #0e1011;
  --night-soft: #202428;
  --deep: #080909;
  --on-night: #f2f0e9;
  --feature: #d1e86d;
  --feature-panel: #edf1dd;
  --on-feature: #101310;
  --intro-paper: #f2f0e9;
  --logo-surface: #f2f0e9;
  --glow-one: #57671f;
  --glow-two: #477f78;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-width: 320px; }
body { max-width: 100vw; overflow-x: clip; background: var(--paper); transition: background-color 520ms ease, color 520ms ease; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: none; }

.intro {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  background: var(--intro-paper);
  overflow: hidden;
  clip-path: inset(0 0 0 0);
  transition: clip-path 760ms cubic-bezier(.77, 0, .18, 1), visibility 760ms;
}
.intro-stage {
  position: relative;
  width: min(660px, calc(100vw - 48px));
  min-height: 470px;
  display: grid;
  place-items: center;
}
.intro-stage::before,
.intro-stage::after {
  content: "";
  position: absolute;
  background: var(--line);
  animation: introGuide 1.25s cubic-bezier(.2, .8, .2, 1) both;
}
.intro-stage::before { left: 50%; top: 0; bottom: 0; width: 1px; transform-origin: top; }
.intro-stage::after { left: 0; right: 0; top: 50%; height: 1px; transform-origin: left; animation-delay: 80ms; }
.intro-sequence,
.intro-caption {
  position: absolute;
  z-index: 3;
  font: 500 11px/1 "IBM Plex Mono", monospace;
  letter-spacing: .06em;
}
.intro-sequence { top: 0; left: 0; animation: introMeta 540ms 140ms both; }
.intro-caption { left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; animation: introMeta 540ms 240ms both; }
.intro-logo-stack { position: relative; z-index: 4; width: 168px; aspect-ratio: 1; }
.intro-logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.intro-logo-main { animation: introLogoMain 1.35s cubic-bezier(.16, .84, .2, 1) both; }
.intro-logo-echo { opacity: 0; }
.echo-one { animation: introLogoEchoOne 1.35s 220ms cubic-bezier(.2, .8, .2, 1) both; }
.echo-two { animation: introLogoEchoTwo 1.35s 300ms cubic-bezier(.2, .8, .2, 1) both; }
.intro-word {
  position: absolute;
  z-index: 5;
  top: calc(50% + 116px);
  overflow: hidden;
  font-size: 46px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: -.065em;
}
.intro-word span { display: block; animation: introWord 650ms 520ms cubic-bezier(.16, .84, .2, 1) both; }
.intro-scan {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--blue);
  box-shadow: 0 0 24px rgba(40, 86, 216, .42);
  animation: introScan 1.25s 180ms cubic-bezier(.65, 0, .35, 1) both;
}
@keyframes introGuide { from { transform: scale(0); } }
@keyframes introMeta { from { opacity: 0; transform: translateY(10px); } }
@keyframes introLogoMain {
  0% { opacity: 0; transform: scale(.08) rotate(-92deg); }
  42% { opacity: 1; transform: scale(1.12) rotate(5deg); }
  70%, 100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes introLogoEchoOne {
  0%, 28% { opacity: 0; transform: translate(-55px, 0) scale(.45) rotate(-36deg); }
  50% { opacity: .12; }
  78%, 100% { opacity: 0; transform: translate(0, 0) scale(1) rotate(0); }
}
@keyframes introLogoEchoTwo {
  0%, 28% { opacity: 0; transform: translate(55px, 0) scale(.45) rotate(36deg); }
  50% { opacity: .12; }
  78%, 100% { opacity: 0; transform: translate(0, 0) scale(1) rotate(0); }
}
@keyframes introWord { from { opacity: 0; transform: translateY(115%); } }
@keyframes introScan { 0% { transform: translateY(-2px); } 100% { transform: translateY(100vh); } }
body:not(.is-loading) .intro { clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; }

.page-progress { position: fixed; z-index: 850; left: 0; right: 0; top: 0; height: 2px; }
.page-progress span { display: block; width: 100%; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }

.palette-switcher {
  position: fixed;
  z-index: 840;
  left: 50%;
  bottom: 18px;
  width: max-content;
  max-width: calc(100vw - 28px);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid color-mix(in srgb, var(--paper) 18%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 93%, transparent);
  color: var(--paper);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .18);
  transform: translate(-50%, 24px);
  opacity: 0;
  backdrop-filter: blur(18px);
  transition: opacity 600ms 1.1s ease, transform 600ms 1.1s cubic-bezier(.2, .8, .2, 1), background-color 520ms ease;
}
body:not(.is-loading) .palette-switcher { opacity: 1; transform: translate(-50%, 0); }
.palette-label { padding: 0 9px 0 10px; font: 500 7px/1 "IBM Plex Mono", monospace; opacity: .58; }
.palette-option {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: 500 7px/1 "IBM Plex Mono", monospace;
  transition: color 180ms ease, background-color 180ms ease;
}
.palette-option:hover { background: color-mix(in srgb, var(--paper) 10%, transparent); }
.palette-option[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.palette-option i { width: 9px; height: 9px; flex: none; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; }
.option-signal i { background: #2856d8; }
.option-krinia i { background: #c96a55; }
.option-mineral i { background: #24745c; }
.option-bordeaux i { background: #8d2346; }
.option-nocturne i { background: #d1e86d; }
.palette-option:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }

.site-header {
  position: absolute;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1500px, calc(100% - 72px));
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(-24px);
  transition: opacity 650ms 180ms ease, transform 650ms 180ms cubic-bezier(.2, .8, .2, 1);
}
body:not(.is-loading) .site-header { opacity: 1; transform: none; }
.brand { display: inline-flex; align-items: center; gap: 14px; width: max-content; font-size: 22px; font-weight: 650; letter-spacing: -.05em; }
.brand-mark { width: 42px; height: 42px; object-fit: contain; }
:root[data-palette="nocturne"] .brand-mark { width: 26px; height: 26px; padding: 3px; border-radius: 50%; background: var(--logo-surface); }
.site-header nav { display: flex; gap: 38px; font-size: 14px; }
.site-header nav a, .nav-cta { transition: opacity 160ms ease; }
.site-header nav a:hover, .nav-cta:hover { opacity: .52; }
.nav-cta { justify-self: end; display: flex; align-items: center; gap: 18px; padding-bottom: 8px; border-bottom: 1px solid currentColor; font: 500 11px/1 "IBM Plex Mono", monospace; letter-spacing: .025em; }

.hero { position: relative; min-height: 100svh; padding: calc(var(--header) + 106px) 36px 0; background: var(--paper); overflow: hidden; }
.hero-rail {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header);
  height: 42px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 500ms 280ms ease;
}
body:not(.is-loading) .hero-rail { opacity: 1; }
.hero-rail-track {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 18px;
  padding: 0 36px;
  font: 500 10px/1 "IBM Plex Mono", monospace;
  white-space: nowrap;
}
.hero-rail-track i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: railPulse 2.4s ease-in-out infinite alternate; }
.hero-rail-track i:nth-of-type(2) { animation-delay: -.5s; }
.hero-rail-track i:nth-of-type(3) { animation-delay: -1s; }
.hero-rail-track i:nth-of-type(4) { animation-delay: -1.5s; }
.hero-rail-track i:nth-of-type(5) { animation-delay: -2s; }
@keyframes railPulse { to { transform: scale(1.8); opacity: .35; } }
.hero-grid { width: min(1500px, 100%); min-height: calc(100svh - var(--header) - 112px); display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(390px, .72fr); gap: 4vw; margin: 0 auto; align-items: center; }
.hero-copy, .hero-bottom, .statement-grid > *, .roles-heading > *, .value-heading > *, .measure-grid > * { min-width: 0; }
.eyebrow, .section-code, .system-meta, .system-status, .hero-index, .value-card > span, .role-grid article > span {
  font: 500 11px/1.25 "IBM Plex Mono", monospace;
  letter-spacing: .05em;
}
.eyebrow { margin: 0 0 40px; color: var(--blue); }
.hero h1 { margin: 0; font-size: clamp(64px, 7.35vw, 122px); line-height: .84; font-weight: 560; letter-spacing: -.075em; }
.hero-line { display: block; overflow: hidden; padding: .04em 0 .13em; margin: -.04em 0 -.1em; }
.hero-line > span { display: block; transform: translateY(118%) rotate(2deg); transform-origin: left bottom; }
.hero-line-accent > span { color: var(--blue); }
body.hero-ready .hero-line > span { animation: heroLineIn 980ms cubic-bezier(.16, .84, .2, 1) both; }
body.hero-ready .hero-line:nth-child(1) > span { animation-delay: 80ms; }
body.hero-ready .hero-line:nth-child(2) > span { animation-delay: 190ms; }
body.hero-ready .hero-line:nth-child(3) > span { animation-delay: 300ms; }
@keyframes heroLineIn { to { transform: translateY(0) rotate(0); } }
.hero-load { opacity: 0; transform: translateY(54px); }
body.hero-ready .hero-load { opacity: 1; transform: none; transition: opacity 920ms cubic-bezier(.2, .75, .2, 1), transform 920ms cubic-bezier(.2, .75, .2, 1); }
body.hero-ready .eyebrow { transition-delay: 40ms; }
body.hero-ready .hero-bottom { transition-delay: 520ms; }
.hero-bottom { display: grid; grid-template-columns: minmax(260px, 570px) 280px; gap: 5vw; align-items: end; margin-top: 54px; }
.hero-bottom p { margin: 0; font-size: 17px; line-height: 1.58; }
.text-link { display: flex; justify-content: space-between; padding: 17px 0; border-block: 1px solid var(--line); font: 500 11px/1 "IBM Plex Mono", monospace; }
.text-link b { font-size: 19px; color: var(--blue); }

.hero-system { position: relative; min-height: 650px; display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; clip-path: inset(24% 0 0); transition-property: opacity, transform, clip-path, background-color, border-color; }
body.hero-ready .hero-system { clip-path: inset(0); transition-delay: 220ms; transition-duration: 1150ms; }
.hero-system::before { content: ""; position: absolute; z-index: 2; left: -15%; right: -15%; top: 0; height: 1px; background: var(--blue); box-shadow: 0 0 28px color-mix(in srgb, var(--blue) 55%, transparent); opacity: 0; }
body.hero-ready .hero-system::before { animation: systemScan 3.6s 900ms cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes systemScan { 0% { opacity: 0; transform: translateY(0); } 12%, 70% { opacity: .55; } 100% { opacity: 0; transform: translateY(610px); } }
.system-meta, .system-status { display: flex; justify-content: space-between; align-items: center; }
.system-meta { padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.system-meta b { color: var(--blue); font-weight: 500; }
.system-orbit { position: relative; flex: 1; min-height: 500px; }
.orbit { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(40, 86, 216, .25); border-radius: 50%; transform: translate(-50%, -50%); animation: orbitPulse 7s ease-in-out infinite alternate; }
.orbit-a { width: 78%; aspect-ratio: 1; }
.orbit-b { width: 56%; aspect-ratio: 1; animation-delay: -2.3s; }
.orbit-c { width: 34%; aspect-ratio: 1; animation-delay: -4.6s; }
@keyframes orbitPulse { to { transform: translate(-50%, -50%) rotate(12deg) scale(1.035); border-radius: 42%; } }
.system-core { position: absolute; z-index: 3; left: 50%; top: 50%; width: 188px; aspect-ratio: 1; display: grid; place-content: center; justify-items: center; gap: 14px; border-radius: 50%; background: var(--logo-surface); color: #11131a; border: 1px solid rgba(17, 19, 26, .14); box-shadow: 0 28px 75px rgba(17, 19, 26, .15); transform: translate(-50%, -50%); }
.core-mark { width: 76px; height: 76px; object-fit: contain; animation: coreLogoBreath 4.4s ease-in-out infinite; }
@keyframes coreLogoBreath { 50% { transform: rotate(12deg) scale(1.12); } }
.system-core small { font: 500 10px/1.3 "IBM Plex Mono", monospace; text-align: center; }
.system-node { position: absolute; z-index: 4; display: flex; align-items: center; gap: 9px; padding: 12px 14px; border: 1px solid rgba(17, 19, 26, .12); background: rgba(251, 250, 245, .94); color: #11131a; box-shadow: 0 14px 30px rgba(17, 19, 26, .07); font: 500 10px/1 "IBM Plex Mono", monospace; animation: nodeFloat 5s ease-in-out infinite alternate; }
.system-node i, .system-status i, .board-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(40, 86, 216, .1); }
.node-a { left: 2%; top: 20%; }
.node-b { right: 2%; top: 29%; animation-delay: -1.6s; }
.node-c { right: 8%; bottom: 16%; animation-delay: -3.2s; }
.node-d { left: 5%; bottom: 22%; animation-delay: -4.2s; }
@keyframes nodeFloat { to { transform: translateY(-10px); } }
body:not(.hero-ready) .system-node { opacity: 0; }
body.hero-ready .system-node { animation: nodeEnter 780ms cubic-bezier(.16, .84, .2, 1) both, nodeFloat 5s 1.5s ease-in-out infinite alternate; }
body.hero-ready .node-a { animation-delay: 700ms, 1.5s; }
body.hero-ready .node-b { animation-delay: 840ms, 1.8s; }
body.hero-ready .node-c { animation-delay: 980ms, 2.1s; }
body.hero-ready .node-d { animation-delay: 1120ms, 2.4s; }
@keyframes nodeEnter { from { opacity: 0; transform: translateY(34px) scale(.88); } to { opacity: 1; } }
.system-status { padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); }
.system-status span:first-child { display: flex; align-items: center; gap: 9px; color: var(--ink); }
.hero-index { width: min(1500px, 100%); min-height: 56px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; margin: 0 auto; border-top: 1px solid var(--line); }
.hero-index span::before { content: "•"; padding-right: 10px; color: var(--blue); }

.section-shell { width: min(1500px, calc(100% - 64px)); margin: 0 auto; padding: 145px 0 155px; }
.section-code { display: flex; gap: 15px; color: var(--blue); }
.section-code span { color: var(--muted); }
.section-code.light { color: #b8c8ff; }
.section-code.light span { color: rgba(255, 255, 255, .47); }
.statement-grid, .roles-heading, .value-heading { display: grid; grid-template-columns: 1.18fr .52fr; gap: 10%; align-items: end; margin-top: 58px; }
.statement h2, .roles h2, .value h2, .scene-heading h2, .krinia h2, .measure h2, .final-cta h2 {
  margin: 0;
  font-size: clamp(56px, 6.2vw, 99px);
  line-height: .92;
  font-weight: 560;
  letter-spacing: -.068em;
}
.statement-copy, .roles-heading > p, .value-heading > p { padding-top: 20px; border-top: 1px solid var(--line); }
.statement-copy p, .roles-heading > p, .value-heading > p { margin: 0 0 20px; font-size: 17px; line-height: 1.58; }
.statement-copy p:last-child { margin-bottom: 0; }

.operating-scene { height: 210vh; position: relative; background: var(--night); color: var(--on-night); transition: background-color 520ms ease, color 520ms ease; }
.operating-sticky { position: sticky; top: 0; min-height: 100svh; display: grid; grid-template-columns: .65fr 1.2fr; gap: 8%; align-items: center; width: min(1500px, calc(100% - 64px)); margin: 0 auto; overflow: hidden; }
.scene-heading h2 { margin-top: 42px; font-size: clamp(52px, 5.4vw, 86px); }
.scene-heading > p { max-width: 390px; margin: 30px 0 0; color: rgba(255, 255, 255, .68); font-size: 17px; line-height: 1.55; }
.operation-board { border: 1px solid rgba(255, 255, 255, .18); background: var(--night-soft); transform: translateY(calc((.5 - var(--scene-progress, 0)) * 110px)); box-shadow: 0 40px 110px rgba(0, 0, 0, .22); transition: background-color 520ms ease; }
.board-bar, .board-footer { display: flex; justify-content: space-between; padding: 19px 21px; font: 500 10px/1.25 "IBM Plex Mono", monospace; }
.board-bar { border-bottom: 1px solid rgba(255, 255, 255, .15); }
.board-live { display: flex; align-items: center; gap: 9px; color: #a7c0ff; }
.board-live i { background: #85a6ff; box-shadow: 0 0 0 5px rgba(133, 166, 255, .1); }
.board-main { position: relative; padding: 24px 26px; }
.board-main ol { position: relative; z-index: 2; margin: 0; padding: 0; list-style: none; }
.board-main li { display: grid; grid-template-columns: 45px 1fr auto; align-items: center; min-height: 112px; padding: 0 18px; border-bottom: 1px solid rgba(255, 255, 255, .12); background: linear-gradient(90deg, rgba(201, 106, 85, calc(max(0, (var(--scene-progress, 0) - var(--step) * .16)) * .22)), transparent 70%); opacity: calc(.3 + min(1, max(0, (var(--scene-progress, 0) * 6 - var(--step)))) * .7); transform: translateX(calc((1 - min(1, max(0, (var(--scene-progress, 0) * 6 - var(--step))))) * -48px)); }
.step-number { font: 500 11px/1 "IBM Plex Mono", monospace; color: #d89a8c; }
.board-main li div { display: flex; flex-direction: column; gap: 8px; }
.board-main li b { font-size: 27px; font-weight: 500; letter-spacing: -.03em; }
.board-main li small { color: rgba(255, 255, 255, .62); font-size: 14px; }
.board-main li em { font: 500 10px/1 "IBM Plex Mono", monospace; color: #d89a8c; font-style: normal; }
.board-footer { border-top: 1px solid rgba(255, 255, 255, .15); color: rgba(255, 255, 255, .45); }

.roles-heading > p, .value-heading > p { margin: 0; }
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 88px; border-top: 1px solid var(--line); }
.role-grid article { position: relative; min-height: 480px; display: flex; flex-direction: column; padding: 25px 30px 28px 0; border-right: 1px solid var(--line); }
.role-grid article + article { padding-left: 30px; }
.role-grid article:last-child { border-right: 0; }
.role-grid article > span { color: var(--blue); }
.role-icon { position: relative; width: 170px; height: 170px; margin: auto; }
.role-icon i { position: absolute; display: block; border: 1px solid var(--ink); }
.role-ai i:nth-child(1) { inset: 22%; border-radius: 50%; animation: roleSpin 8s linear infinite; }
.role-ai i:nth-child(2) { inset: 8%; border-radius: 45% 55% 60% 40%; animation: roleSpin 11s linear infinite reverse; }
.role-ai i:nth-child(3) { inset: 42%; border-radius: 50%; background: var(--blue); border: 0; }
.role-team i:nth-child(1), .role-team i:nth-child(2), .role-team i:nth-child(3) { width: 54%; aspect-ratio: 1; border-radius: 50%; background: var(--paper); }
.role-team i:nth-child(1) { left: 0; top: 23%; }
.role-team i:nth-child(2) { right: 0; top: 23%; }
.role-team i:nth-child(3) { left: 23%; bottom: 0; background: var(--blue); border-color: var(--blue); mix-blend-mode: multiply; }
.role-company i:nth-child(1) { inset: 12%; transform: rotate(45deg); }
.role-company i:nth-child(2) { inset: 27%; transform: rotate(45deg); background: var(--blue); border-color: var(--blue); }
.role-company i:nth-child(3) { inset: 43%; border-radius: 50%; background: var(--paper); }
@keyframes roleSpin { to { transform: rotate(360deg); } }
.role-grid h3 { margin: 0 0 12px; font-size: 32px; font-weight: 550; letter-spacing: -.045em; }
.role-grid p { max-width: 360px; margin: 0; font-size: 16px; line-height: 1.58; color: var(--muted); }

.krinia { min-height: 820px; display: grid; grid-template-columns: 1fr 1fr; background: var(--feature); color: var(--on-feature); transition: background-color 520ms ease, color 520ms ease; }
.krinia-copy { display: flex; flex-direction: column; justify-content: center; padding: 95px max(32px, calc((100vw - 1500px) / 2)); padding-right: 7vw; }
.krinia h2 { margin-top: 48px; font-size: clamp(58px, 5.6vw, 90px); }
.krinia .section-code.light { color: color-mix(in srgb, var(--on-feature) 76%, transparent); }
.krinia .section-code.light span { color: color-mix(in srgb, var(--on-feature) 48%, transparent); }
.krinia-copy > p { max-width: 620px; margin: 37px 0 44px; color: color-mix(in srgb, var(--on-feature) 80%, transparent); font-size: 17px; line-height: 1.6; }
.krinia-copy strong { color: currentColor; font-weight: 600; }
.krinia-inline-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.line-button { width: min(360px, 100%); display: flex; justify-content: space-between; padding: 17px 0; border-block: 1px solid color-mix(in srgb, var(--on-feature) 42%, transparent); font: 500 11px/1 "IBM Plex Mono", monospace; }
.line-button b { font-size: 18px; }
.krinia-visual { position: relative; display: grid; place-items: center; overflow: hidden; background: var(--feature-panel); color: #11131a; transition: background-color 520ms ease; }
.vertical-label { position: absolute; left: 22px; top: 22px; writing-mode: vertical-rl; font: 500 10px/1 "IBM Plex Mono", monospace; color: rgba(17, 19, 26, .58); }
.kinetic-mark { position: relative; width: min(74%, 540px); aspect-ratio: 1; }
.kinetic-ring { position: absolute; display: block; border: 1px solid rgba(17, 19, 26, .45); animation: kinetic 9s cubic-bezier(.65, 0, .35, 1) infinite alternate; }
.ring-one { inset: 0; border-radius: 50%; }
.ring-two { inset: 14%; border-radius: 42% 58% 62% 38%; animation-delay: -3s; animation-direction: alternate-reverse; }
.ring-three { inset: 29%; border-radius: 58% 42% 35% 65%; animation-delay: -6s; }
.kinetic-core { position: absolute; left: 50%; top: 50%; width: 31%; height: 31%; object-fit: contain; transform: translate(-50%, -50%); animation: coreMorph 6s ease-in-out infinite alternate; }
@keyframes kinetic { to { transform: rotate(135deg) scale(.92); border-radius: 36% 64% 43% 57%; } }
@keyframes coreMorph { to { transform: translate(-50%, -50%) rotate(90deg) scale(1.18); } }
.visual-caption { position: absolute; left: 26px; right: 26px; bottom: 24px; display: flex; justify-content: space-between; align-items: end; padding-top: 16px; border-top: 1px solid rgba(17, 19, 26, .22); font: 500 10px/1 "IBM Plex Mono", monospace; }
.visual-caption b { font: 600 29px/1 "Instrument Sans", sans-serif; letter-spacing: -.05em; }

.value-wave { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 88px; align-items: start; }
.value-card { min-height: 475px; display: flex; flex-direction: column; padding: 22px; border: 1px solid rgba(17, 19, 26, .13); color: #11131a; transition-delay: calc(var(--card-index, 0) * 90ms); }
.value-card:nth-child(2) { --card-index: 1; margin-top: 48px; }
.value-card:nth-child(3) { --card-index: 2; margin-top: 96px; }
.value-card:nth-child(4) { --card-index: 3; margin-top: 144px; }
.card-assist { background: var(--cyan); }
.card-sell { background: var(--coral); }
.card-profile { background: var(--lavender); }
.card-market { background: var(--lime); }
.card-glyph { position: relative; width: 150px; height: 150px; margin: 58px auto auto; }
.card-glyph i { position: absolute; display: block; }
.glyph-route i { border: 1px solid var(--ink); border-radius: 50%; }
.glyph-route i:nth-child(1) { inset: 0 45% 45% 0; }
.glyph-route i:nth-child(2) { inset: 45% 0 0 45%; }
.glyph-route i:nth-child(3) { left: 20%; top: 50%; width: 62%; height: 1px; background: var(--ink); transform: rotate(-45deg); transform-origin: left; }
.glyph-signal i { left: 50%; top: 50%; border: 1px solid var(--ink); border-radius: 50%; transform: translate(-50%, -50%); animation: signalPulse 3.2s ease-in-out infinite; }
.glyph-signal i:nth-child(1) { width: 28%; aspect-ratio: 1; }
.glyph-signal i:nth-child(2) { width: 62%; aspect-ratio: 1; animation-delay: -1s; }
.glyph-signal i:nth-child(3) { width: 100%; aspect-ratio: 1; animation-delay: -2s; }
@keyframes signalPulse { 50% { transform: translate(-50%, -50%) scale(.88); opacity: .45; } }
.glyph-profile i { width: 46%; aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 50%; }
.glyph-profile i:nth-child(1) { left: 4%; top: 4%; }
.glyph-profile i:nth-child(2) { right: 4%; top: 4%; }
.glyph-profile i:nth-child(3) { left: 27%; bottom: 4%; background: rgba(40, 86, 216, .7); border-color: var(--blue); mix-blend-mode: multiply; }
.glyph-market i { inset: 15%; border: 1px solid var(--ink); }
.glyph-market i:nth-child(1) { transform: rotate(0); }
.glyph-market i:nth-child(2) { transform: rotate(45deg); }
.glyph-market i:nth-child(3) { inset: 42%; border-radius: 50%; background: var(--ink); }
.value-card h3 { margin: 0 0 12px; font-size: 25px; font-weight: 560; letter-spacing: -.045em; }
.value-card p { margin: 0; font-size: 15px; line-height: 1.58; }

.measure { padding: 150px 32px; background: var(--night-soft); color: var(--on-night); transition: background-color 520ms ease, color 520ms ease; }
.measure-grid { width: min(1500px, 100%); display: grid; grid-template-columns: 1.15fr .55fr; gap: 10%; align-items: end; margin: 0 auto; }
.measure h2 { margin-top: 50px; }
.measure-detail { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .18); }
.measure-detail > p { margin: 0 0 70px; color: rgba(255, 255, 255, .72); font-size: 17px; line-height: 1.6; }
.measure-flow { display: flex; align-items: center; justify-content: space-between; font: 500 10px/1 "IBM Plex Mono", monospace; }
.measure-flow i { flex: 1; height: 1px; margin: 0 10px; background: rgba(255, 255, 255, .24); }
.measure-flow b { color: #9eb5ff; font-weight: 500; }

.final-cta { position: relative; min-height: 860px; display: grid; place-items: center; padding: 110px 32px; overflow: hidden; background: var(--deep); color: var(--on-night); text-align: center; isolation: isolate; transition: background-color 520ms ease, color 520ms ease; }
.cta-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(85px); opacity: .52; animation: glowDrift 10s ease-in-out infinite alternate; }
.glow-one { width: 46vw; height: 46vw; left: -12%; top: 4%; background: var(--glow-one); }
.glow-two { width: 38vw; height: 38vw; right: -6%; bottom: -8%; background: var(--glow-two); animation-delay: -5s; }
@keyframes glowDrift { to { transform: translate(12vw, 7vh) scale(1.14); opacity: .65; } }
.final-inner { width: min(1160px, 100%); display: flex; flex-direction: column; align-items: center; }
.final-inner > p { margin: 0 0 42px; color: #e8a89a; font: 500 11px/1 "IBM Plex Mono", monospace; }
.final-cta h2 { font-size: clamp(56px, 7vw, 110px); }
.final-cta a { width: min(420px, 100%); display: flex; justify-content: space-between; margin-top: 58px; padding: 19px 0; border-block: 1px solid rgba(255, 255, 255, .4); font: 500 11px/1 "IBM Plex Mono", monospace; }
.final-cta a b { font-size: 17px; }
.final-cta small { margin-top: 22px; color: rgba(255, 255, 255, .58); font-size: 12px; }

.footer { padding: 60px 32px 22px; background: var(--white); }
.footer-top, .footer-bottom { width: min(1500px, 100%); display: grid; margin: 0 auto; }
.footer-top { grid-template-columns: 1.5fr 1fr auto; gap: 50px; padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.footer-top p { max-width: 430px; margin: 0; font-size: 17px; line-height: 1.55; }
.footer-top div, .footer-top nav { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.footer-top div span { color: var(--muted); }
.footer-top .language-links { display: flex; flex-direction: row; gap: 10px; margin-top: 8px; color: var(--muted); font: 500 10px/1 "IBM Plex Mono", monospace; }
.language-links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { grid-template-columns: 1fr auto; padding-top: 22px; border-top: 1px solid var(--line); font: 500 10px/1 "IBM Plex Mono", monospace; }

.reveal { opacity: 0; transform: translateY(54px); transition: opacity 820ms cubic-bezier(.2, .75, .2, 1), transform 820ms cubic-bezier(.2, .75, .2, 1); }
.reveal.in-view { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: 100ms; }
.hero .reveal:nth-child(3) { transition-delay: 180ms; }
.role-grid .reveal:nth-child(2) { transition-delay: 100ms; }
.role-grid .reveal:nth-child(3) { transition-delay: 200ms; }

@media (max-width: 1100px) {
  .site-header { width: calc(100% - 40px); }
  .hero { padding-inline: 20px; }
  .hero-grid { grid-template-columns: 1fr; padding: 70px 0 85px; }
  .hero-system { min-height: 580px; }
  .hero-bottom { grid-template-columns: 1fr 280px; }
  .section-shell, .operating-sticky { width: calc(100% - 40px); }
  .operating-sticky { grid-template-columns: .7fr 1fr; gap: 5%; }
  .value-wave { grid-template-columns: 1fr 1fr; }
  .value-card:nth-child(3), .value-card:nth-child(4) { margin-top: 0; }
  .value-card:nth-child(2), .value-card:nth-child(4) { margin-top: 48px; }
}

@media (max-width: 760px) {
  :root { --header: 76px; }
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .nav-cta { font-size: 10px; }
  .hero { padding-top: var(--header); }
  .hero-grid { min-height: auto; padding-top: 94px; }
  .hero-rail-track { justify-content: space-between; gap: 12px; padding: 0 18px; font-size: 9px; }
  .hero-rail-track span:nth-of-type(n+4), .hero-rail-track i:nth-of-type(n+4) { display: none; }
  .hero h1 { font-size: clamp(54px, 15.7vw, 86px); line-height: .88; }
  .hero-bottom { grid-template-columns: 1fr; gap: 35px; }
  .hero-system { min-height: 520px; }
  .system-orbit { min-height: 400px; }
  .hero-index { grid-template-columns: 1fr 1fr; gap: 13px; padding: 20px 0; }
  .section-shell { padding: 95px 0 105px; }
  .statement-grid, .roles-heading, .value-heading, .measure-grid { grid-template-columns: 1fr; gap: 48px; }
  .statement h2, .roles h2, .value h2, .scene-heading h2, .krinia h2, .measure h2, .final-cta h2 { font-size: clamp(48px, 13.8vw, 68px); }
  .operating-scene { height: auto; padding: 90px 0; }
  .operating-sticky { position: relative; min-height: auto; grid-template-columns: 1fr; gap: 55px; overflow: visible; }
  .operation-board { transform: none; }
  .board-main { padding: 10px; }
  .board-main li { grid-template-columns: 35px 1fr; min-height: 105px; opacity: 1; transform: none; }
  .board-main li em { display: none; }
  .board-footer { flex-direction: column; gap: 10px; }
  .role-grid { grid-template-columns: 1fr; margin-top: 60px; }
  .role-grid article, .role-grid article + article { min-height: 390px; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .krinia { grid-template-columns: 1fr; }
  .krinia-copy { padding: 95px 20px; }
  .krinia-visual { min-height: 620px; }
  .value-wave { grid-template-columns: 1fr; gap: 10px; }
  .value-card, .value-card:nth-child(2), .value-card:nth-child(3), .value-card:nth-child(4) { min-height: 410px; margin-top: 0; }
  .measure { padding: 100px 20px; }
  .measure-detail > p { margin-bottom: 50px; }
  .final-cta { min-height: 760px; padding-inline: 20px; }
  .footer { padding-inline: 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 35px; }
  .palette-switcher { bottom: 10px; max-width: calc(100vw - 20px); overflow-x: auto; justify-content: flex-start; border-radius: 18px; }
  .palette-label { display: none; }
  .palette-option { padding-inline: 9px; }
  .palette-option span { display: none; }
  .palette-option i { width: 13px; height: 13px; }
}

@media (max-width: 430px) {
  .site-header { width: calc(100% - 28px); }
  .brand { gap: 10px; font-size: 18px; }
  .brand-mark { width: 40px; height: 40px; }
  .nav-cta { width: 32px; justify-content: center; padding: 0; border: 0; font-size: 0; }
  .nav-cta-label { display: none; }
  .nav-cta b { display: block; font: 500 16px/1 "IBM Plex Mono", monospace; }
  .hero { padding-inline: 14px; }
  .section-shell, .operating-sticky { width: calc(100% - 28px); }
  .hero-system { min-height: 460px; padding: 13px; }
  .system-orbit { min-height: 360px; }
  .system-node { padding: 8px 9px; font-size: 9px; }
  .system-core { width: 142px; }
  .core-mark { width: 56px; height: 56px; }
  .system-core small { font-size: 9px; }
  .section-shell { padding-top: 82px; padding-bottom: 90px; }
  .measure-flow { flex-wrap: wrap; gap: 12px 0; }
  .measure-flow i { min-width: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .intro { display: none; }
  .reveal { opacity: 1; transform: none; }
  .operation-board, .board-main li { transform: none; opacity: 1; }
}
