:root {
  color-scheme: dark;
  --black: #030406;
  --black-soft: #070a0f;
  --white: #f5f7fa;
  --silver: #a4abb5;
  --silver-dim: #616976;
  --red: #ff2300;
  --red-soft: #ff6b53;
  --ice: #8dc8ff;
  --violet: #a987ff;
  --safe-top: max(22px, env(safe-area-inset-top));
  --safe-right: max(24px, env(safe-area-inset-right));
  --safe-bottom: max(22px, env(safe-area-inset-bottom));
  --safe-left: max(24px, env(safe-area-inset-left));
  --ease-premium: cubic-bezier(.16, 1, .3, 1);
  --ease-precise: cubic-bezier(.76, 0, .24, 1);
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; }

.experience {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(20, 26, 38, .38), rgba(3, 4, 6, 0) 50%),
    linear-gradient(135deg, #050507 0%, #030509 52%, #020305 100%);
}

.starfield,
.stage,
.ambient,
.grain,
.vignette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.starfield { z-index: 0; opacity: .9; }
.stage { z-index: 2; overflow: visible; }

.ambient {
  z-index: 1;
  will-change: transform, opacity;
  mix-blend-mode: screen;
}

.ambient--red {
  inset: -25%;
  background: radial-gradient(circle at 32% 38%, rgba(255, 35, 0, .095), rgba(255, 35, 0, 0) 34%);
  animation: ambient-drift-a 18s ease-in-out infinite alternate;
}

.ambient--blue {
  inset: -25%;
  background: radial-gradient(circle at 68% 61%, rgba(58, 131, 255, .065), rgba(58, 131, 255, 0) 35%);
  animation: ambient-drift-b 22s ease-in-out infinite alternate;
}

.grain {
  z-index: 20;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

.vignette {
  z-index: 19;
  box-shadow: inset 0 0 16vw 5vw rgba(0, 0, 0, .82);
  background:
    linear-gradient(180deg, rgba(0,0,0,.3), transparent 14%, transparent 80%, rgba(0,0,0,.52)),
    radial-gradient(ellipse at center, transparent 36%, rgba(0,0,0,.34) 100%);
}

.site-header,
.site-footer,
.copy,
.motion-control,
.micro-labels { position: absolute; z-index: 30; }

.site-header {
  top: var(--safe-top);
  right: var(--safe-right);
  left: var(--safe-left);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  outline-offset: 8px;
}

.brand__symbol {
  width: 38px;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 9px rgba(255,35,0,.15));
}

.brand__symbol circle { vector-effect: non-scaling-stroke; }

.brand__word {
  display: inline-flex;
  align-items: baseline;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.055em;
  color: #dce0e5;
}
.brand__word strong { color: var(--red); font-weight: 750; }

.site-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 31px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: rgba(222,227,234,.62);
  background: rgba(5,7,10,.36);
  backdrop-filter: blur(12px);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.site-status span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px rgba(255,35,0,.9);
}

.copy {
  top: 50%;
  left: 50%;
  width: min(780px, calc(100vw - 48px));
  transform: translate(-50%, -45%);
  text-align: center;
  pointer-events: none;
}

.copy.is-exiting .copy__kicker,
.copy.is-exiting .copy__title,
.copy.is-exiting .copy__body {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  filter: blur(7px);
  transition-timing-function: cubic-bezier(.7,0,1,.5);
  transition-duration: 500ms;
}

.copy.is-entering .copy__kicker,
.copy.is-entering .copy__title,
.copy.is-entering .copy__body {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  filter: blur(8px);
}

.copy.is-visible .copy__kicker,
.copy.is-visible .copy__title,
.copy.is-visible .copy__body {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.copy__index {
  position: absolute;
  top: calc(100% + 24px);
  right: 0;
  margin: 0;
  color: rgba(195,202,211,.42);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: .12em;
}

.copy__kicker {
  margin: 0 0 17px;
  color: var(--red);
  font-size: 10px;
  line-height: 1.3;
  font-weight: 750;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(255,35,0,.3);
  transition: opacity 1100ms var(--ease-premium), transform 1100ms var(--ease-premium), filter 900ms var(--ease-premium);
}

.copy__title {
  margin: 0;
  color: var(--white);
  font-size: clamp(48px, 5.7vw, 94px);
  line-height: .98;
  letter-spacing: -.062em;
  text-wrap: balance;
  transition: opacity 1250ms var(--ease-premium) 80ms, transform 1250ms var(--ease-premium) 80ms, filter 1000ms var(--ease-premium) 80ms;
}

.copy__line { display: block; }
.copy__line--light { color: rgba(229,233,238,.82); font-weight: 330; }
.copy__line--strong { color: #fff; font-weight: 730; }

.copy__body {
  width: min(660px, 92%);
  margin: 23px auto 0;
  color: rgba(193,201,211,.68);
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.55;
  font-weight: 390;
  letter-spacing: -.018em;
  text-wrap: balance;
  transition: opacity 1250ms var(--ease-premium) 170ms, transform 1250ms var(--ease-premium) 170ms, filter 1000ms var(--ease-premium) 170ms;
}

.copy__rule {
  position: relative;
  width: min(340px, 62vw);
  height: 1px;
  margin: 48px auto 0;
  overflow: visible;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.19) 16%, rgba(255,255,255,.19) 84%, transparent);
}

.copy__rule-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--red), #ff725d 76%, rgba(255,114,93,0));
  box-shadow: 0 0 10px rgba(255,35,0,.35);
  transform-origin: left center;
  will-change: width;
}

.site-footer {
  right: var(--safe-right);
  bottom: var(--safe-bottom);
  left: var(--safe-left);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  color: rgba(196,202,210,.42);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.site-footer__descriptor { justify-self: center; }
.site-footer nav { justify-self: end; display: flex; gap: 22px; }
.site-footer a { transition: color 250ms ease; }
.site-footer a:hover, .site-footer a:focus-visible { color: rgba(255,255,255,.85); }

.motion-control {
  right: var(--safe-right);
  bottom: calc(var(--safe-bottom) + 52px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  color: rgba(235,238,242,.65);
  background: rgba(4,6,9,.38);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: border-color 250ms ease, color 250ms ease, transform 250ms ease;
}
.motion-control:hover { color: white; border-color: rgba(255,255,255,.3); transform: scale(1.035); }
.motion-control svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.motion-control__play { display: none; fill: currentColor !important; stroke: none !important; }
.motion-control span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.motion-control.is-paused .motion-control__pause { display: none; }
.motion-control.is-paused .motion-control__play { display: block; }

.micro-labels {
  inset: 0;
  color: rgba(190,198,209,.34);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  pointer-events: none;
}
.micro-labels span { position: absolute; transition: opacity 800ms ease; }
.micro-labels span:nth-child(1) { top: 18%; left: 50%; transform: translateX(-50%); }
.micro-labels span:nth-child(2) { top: 69%; left: 25%; }
.micro-labels span:nth-child(3) { top: 69%; right: 25%; }
.micro-labels span:nth-child(4) { top: 82%; left: 50%; transform: translateX(-50%); }

/* SVG treatment */
.orbital-system { transform-origin: center; }
.orb { will-change: transform, opacity; }
.orb__aura { opacity: .9; }
.orb__halo {
  fill: none;
  stroke: currentColor;
  stroke-width: 15;
  opacity: .07;
  filter: url(#wide-glow);
}
.orb__line {
  fill: none;
  stroke-width: 1.35;
  vector-effect: non-scaling-stroke;
  opacity: .92;
  filter: url(#soft-glow);
}
.orb__dash {
  fill: none;
  stroke: rgba(255,255,255,.26);
  stroke-width: .72;
  stroke-dasharray: 5 18 42 27 8 31;
  vector-effect: non-scaling-stroke;
  opacity: .45;
}
.orb__glint {
  fill: none;
  stroke: rgba(255,255,255,.78);
  stroke-width: 1.15;
  stroke-dasharray: 18 180;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  opacity: .68;
}
.orb--0 { color: var(--red); }
.orb--1 { color: var(--ice); }
.orb--2 { color: var(--violet); }
.orb--3 { color: var(--red); }

.floor-grid { opacity: .17; }
.floor-grid path {
  fill: none;
  stroke: rgba(123,151,185,.34);
  stroke-width: .6;
  vector-effect: non-scaling-stroke;
}
#grid-horizon { stroke: rgba(255,255,255,.13); }

.orbit-traces { opacity: .38; }
.orbit-traces path {
  fill: none;
  stroke: rgba(173,190,212,.24);
  stroke-width: .65;
  stroke-dasharray: 2 12;
  vector-effect: non-scaling-stroke;
}
.orbit-traces path:first-child { stroke: rgba(255,35,0,.34); }

.connections line,
.connections path {
  fill: none;
  stroke: rgba(190,210,234,.2);
  stroke-width: .7;
  vector-effect: non-scaling-stroke;
}
.connections .connection--hot { stroke: rgba(255,35,0,.5); }

.nodes circle {
  fill: rgba(241,246,252,.88);
  filter: url(#pin-glow);
}
.nodes circle.node--red { fill: #ff4a2d; }
.nodes circle.node--muted { opacity: .38; }

.data-glyphs text,
.equation text {
  fill: rgba(203,213,226,.42);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: .18em;
}
.data-glyphs rect,
.data-glyphs path,
.equation path {
  fill: none;
  stroke: rgba(188,207,232,.22);
  stroke-width: .65;
  vector-effect: non-scaling-stroke;
}
.data-glyphs .glyph-hot { stroke: rgba(255,35,0,.55); }

.scan { opacity: 0; }
#scan-line {
  fill: none;
  stroke: rgba(255,35,0,.7);
  stroke-width: .8;
  vector-effect: non-scaling-stroke;
  filter: url(#soft-glow);
}
#scan-point { fill: #fff; filter: url(#pin-glow); }

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

@keyframes ambient-drift-a {
  from { transform: translate3d(-1.5%, -.5%, 0) scale(1); opacity: .75; }
  to { transform: translate3d(2%, 1.5%, 0) scale(1.06); opacity: 1; }
}
@keyframes ambient-drift-b {
  from { transform: translate3d(1%, 1%, 0) scale(1.03); opacity: .65; }
  to { transform: translate3d(-2%, -1.5%, 0) scale(.98); opacity: .95; }
}

@media (max-width: 760px) {
  :root {
    --safe-left: max(18px, env(safe-area-inset-left));
    --safe-right: max(18px, env(safe-area-inset-right));
    --safe-top: max(18px, env(safe-area-inset-top));
    --safe-bottom: max(18px, env(safe-area-inset-bottom));
  }
  .experience { min-height: 540px; }
  .brand { gap: 8px; }
  .brand__symbol { width: 34px; }
  .brand__word { font-size: 18px; }
  .site-status { display: none; }
  .copy {
    top: 50%;
    width: calc(100vw - 38px);
    transform: translate(-50%, -35%);
  }
  .copy__kicker { margin-bottom: 14px; font-size: 8px; letter-spacing: .25em; }
  .copy__title { font-size: clamp(38px, 12.4vw, 62px); line-height: .98; letter-spacing: -.058em; }
  .copy__body { width: 96%; margin-top: 18px; font-size: clamp(13px, 3.8vw, 16px); line-height: 1.5; }
  .copy__rule { width: min(250px, 66vw); margin-top: 38px; }
  .copy__index { top: calc(100% + 20px); font-size: 8px; }
  .micro-labels { font-size: 6px; opacity: .72; }
  .micro-labels span:nth-child(1) { top: 20%; }
  .micro-labels span:nth-child(2) { top: 67%; left: 5%; }
  .micro-labels span:nth-child(3) { top: 67%; right: 4%; }
  .micro-labels span:nth-child(4) { top: 75%; }
  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 10px;
    font-size: 7px;
    letter-spacing: .14em;
  }
  .site-footer__descriptor { display: none; }
  .site-footer nav { gap: 14px; }
  .motion-control { bottom: calc(var(--safe-bottom) + 45px); width: 36px; height: 36px; }
  .vignette { box-shadow: inset 0 0 26vw 9vw rgba(0,0,0,.78); }
}

@media (max-height: 690px) and (min-width: 761px) {
  .copy { transform: translate(-50%, -42%); }
  .copy__title { font-size: clamp(42px, 5.1vw, 74px); }
  .copy__body { margin-top: 17px; }
  .copy__rule { margin-top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .ambient { animation: none !important; }
  .copy * { transition: none !important; }
  .motion-control { display: none; }
}

/* Final brand resolve: the animated circles themselves become the symbol. */
.resolve-lockup {
  position: absolute;
  z-index: 31;
  top: 50%;
  left: 50%;
  width: min(680px, calc(100vw - 44px));
  padding-top: clamp(158px, 19vh, 205px);
  transform: translate(-50%, -47%);
  text-align: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  filter: blur(12px);
  transition:
    opacity 1300ms var(--ease-premium),
    filter 1300ms var(--ease-premium),
    visibility 0s linear 1300ms;
}
.resolve-lockup.is-visible {
  opacity: 1;
  visibility: visible;
  filter: blur(0);
  transition-delay: 220ms, 220ms, 0s;
}
.resolve-lockup__word {
  display: inline-flex;
  align-items: baseline;
  color: rgba(224,228,233,.92);
  font-size: clamp(52px, 5.2vw, 82px);
  line-height: .9;
  font-weight: 720;
  letter-spacing: -.07em;
  text-shadow: 0 8px 40px rgba(0,0,0,.62);
}
.resolve-lockup__word strong { color: var(--red); font-weight: 760; }
.resolve-lockup p {
  margin: 22px 0 0;
  color: rgba(198,205,215,.64);
  font-size: clamp(14px, 1.2vw, 18px);
  letter-spacing: -.012em;
}
.resolve-lockup__status {
  display: block;
  margin-top: 24px;
  color: rgba(232,235,240,.42);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.copy.is-brand-scene {
  opacity: 0;
  visibility: hidden;
}
.micro-labels.is-brand-scene { opacity: 0; }

@media (max-width: 760px) {
  .resolve-lockup {
    top: 48%;
    padding-top: 138px;
    transform: translate(-50%, -43%);
  }
  .resolve-lockup__word { font-size: clamp(46px, 15vw, 64px); }
  .resolve-lockup p { margin-top: 18px; font-size: 14px; }
  .resolve-lockup__status { margin-top: 20px; font-size: 8px; }
}
