:root {
  --brand: #a8f4e9;
  --brand-bright: #e0fffb;
  --brand-soft: rgba(168, 244, 233, .12);
  --brand-faint: rgba(168, 244, 233, .045);
  --brand-line: rgba(168, 244, 233, .24);
  --surface-0: #070909;
  --surface-1: #0b0e0e;
  --surface-2: #101414;
  --surface-3: #151a1a;
  --text: #f1f5f4;
  --muted: #9ba6a4;
  --muted2: #64706e;
  --line: rgba(232, 255, 251, .075);
  --line2: rgba(232, 255, 251, .15);
  --red: #a8f4e9;
  --blue: #a8f4e9;
  --shadow: 0 28px 70px rgba(0, 0, 0, .28);
  --radius: 10px;
  --focus-shadow: 0 0 0 1px rgba(205, 255, 248, .42), 0 0 24px rgba(120, 245, 228, .12), inset 0 0 18px rgba(120, 245, 228, .035);
}

html {
  background: var(--surface-0);
  scroll-padding-top: 86px;
}

body {
  background:
    radial-gradient(circle at 50% -16%, rgba(132, 235, 220, .055), transparent 33%),
    linear-gradient(180deg, #080a0a 0%, #060808 100%);
  color: var(--text);
  letter-spacing: -.005em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: .22;
  pointer-events: none;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.ambient {
  display: none;
}

::selection {
  color: #07100f;
  background: var(--brand);
}

:focus-visible {
  outline: 1px solid var(--brand-bright);
  outline-offset: 4px;
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 1px solid var(--brand-bright);
  outline-offset: 4px;
}

/* Shared shell */
.page-shell {
  max-width: 1460px;
}

.topbar {
  border-bottom-color: rgba(221, 255, 250, .075);
  background: rgba(7, 9, 9, .78);
  backdrop-filter: blur(24px) saturate(125%);
}

.topbar-inner {
  min-height: 70px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  transform: none;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(146, 255, 239, .16);
  filter: blur(13px);
}

.brand-mark img {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: saturate(.72) brightness(1.06);
}

.brand-copy strong {
  font-size: 12px;
  font-weight: 720;
  letter-spacing: .14em;
}

.brand-copy small {
  color: #687370;
  font-size: 9px;
  letter-spacing: .08em;
}

.main-nav {
  justify-content: center;
  gap: 6px;
}

.nav-link {
  position: relative;
  padding: 10px 13px;
  border-radius: 0;
  color: #7d8986;
  font-size: 12px;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 3px;
  left: 13px;
  height: 1px;
  background: var(--brand);
  opacity: 0;
  transform: scaleX(.2);
  transition: opacity .24s ease, transform .24s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: transparent;
}

.nav-link.active::after {
  opacity: .9;
  transform: scaleX(1);
  box-shadow: 0 0 12px rgba(168, 244, 233, .38);
}

.btn,
button,
select,
input {
  font: inherit;
}

.btn {
  border-color: var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, .018);
}

.btn:hover {
  border-color: rgba(201, 255, 248, .25);
  background: rgba(168, 244, 233, .035);
}

.top-copy {
  color: #84908d;
}

.eyebrow,
.panel-label,
.mini-label {
  color: var(--brand);
}

.eyebrow {
  font-weight: 650;
  letter-spacing: .22em;
}

/* Home: Scroll = Discover */
.home-experience,
.overview.home-experience.site-view.is-active {
  width: 100%;
  max-width: none;
  padding: 0 0 80px;
  display: block;
}

.overview.home-experience::after {
  content: none;
}

.home-story {
  position: relative;
  min-height: 145vh;
  border-bottom: 1px solid var(--line);
}

.home-story-sticky {
  position: sticky;
  top: 70px;
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: minmax(500px, .92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 5vw, 88px);
  max-width: 1580px;
  margin: 0 auto;
  padding: clamp(42px, 7vh, 90px) clamp(24px, 5vw, 72px);
  overflow: hidden;
}

.home-story-copy {
  position: relative;
  z-index: 3;
  padding-left: clamp(0px, 3vw, 42px);
}

.home-story-index {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: clamp(50px, 9vh, 108px);
  color: #5f6a68;
  font: 650 9px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .18em;
}

.home-story-index b {
  color: var(--brand);
  font-weight: 500;
}

.home-story h1 {
  display: flex;
  flex-direction: column;
  margin: 16px 0 0;
  font-size: clamp(48px, 5vw, 82px);
  line-height: .94;
  letter-spacing: -.065em;
  font-style: normal;
  text-transform: none;
  text-shadow: none;
}

.home-story h1 span {
  color: #d7dddb;
  font-weight: 440;
  -webkit-text-stroke: 0;
  white-space: nowrap;
}

.home-story h1 strong {
  margin-top: 7px;
  color: #f8fbfa;
  font-weight: 650;
  font-style: normal;
}

.home-story-copy > p {
  max-width: 560px;
  margin: 28px 0 0;
  color: #8d9996;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.9;
}

.home-story-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.home-primary-link,
.home-secondary-link {
  color: inherit;
  text-decoration: none;
}

.home-primary-link {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(182, 255, 245, .22);
  border-radius: 4px;
  background: rgba(168, 244, 233, .035);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .05em;
  transition: border-color .25s ease, background .25s ease;
}

.home-primary-link span {
  color: var(--brand);
  transition: transform .25s ease;
}

.home-primary-link:hover {
  border-color: rgba(182, 255, 245, .42);
  background: rgba(168, 244, 233, .065);
}

.home-primary-link:hover span {
  transform: translateY(3px);
}

.home-secondary-link {
  color: #77827f;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.home-secondary-link:hover {
  color: #dbe2df;
  border-color: var(--brand-line);
}

.home-observation-field {
  --focus-x: 52%;
  --focus-y: 44%;
  position: relative;
  min-height: min(72vh, 760px);
  overflow: hidden;
  border: 1px solid rgba(225, 255, 251, .07);
  border-radius: 48% 52% 44% 56% / 56% 45% 55% 44%;
  background:
    radial-gradient(circle at var(--focus-x) var(--focus-y), rgba(170, 255, 243, .075), transparent 19%),
    linear-gradient(145deg, rgba(18, 23, 23, .68), rgba(7, 9, 9, .23));
  transform: translateY(calc((var(--story-progress, 0) - .5) * -34px)) scale(calc(.96 + var(--story-progress, 0) * .04));
  transition: border-radius .8s cubic-bezier(.2,.8,.2,1);
  isolation: isolate;
}

.home-observation-field::before,
.home-observation-field::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.home-observation-field::before {
  inset: 8%;
  border: 1px solid rgba(213, 255, 249, .045);
  border-radius: 50%;
}

.home-observation-field::after {
  top: var(--focus-y);
  left: var(--focus-x);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(135, 255, 238, .13);
  filter: blur(75px);
  transform: translate(-50%, -50%);
  opacity: calc(.36 + var(--story-progress, 0) * .5);
  transition: opacity .35s ease;
}

.observation-light {
  position: absolute;
  z-index: 0;
  top: -20%;
  left: 48%;
  width: 42%;
  height: 140%;
  background: linear-gradient(105deg, transparent 20%, rgba(169, 255, 242, .055) 52%, transparent 82%);
  filter: blur(18px);
  transform: translateX(calc((var(--story-progress, 0) - .5) * 42%)) rotate(8deg);
  transform-origin: center;
}

.observation-grain {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: .14;
  mix-blend-mode: soft-light;
  pointer-events: none;
  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='.7' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
}

.observation-map {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  opacity: calc(.34 + var(--story-progress, 0) * .5);
  transform: scale(calc(1.05 - var(--story-progress, 0) * .05));
}

.map-contours path {
  fill: none;
  stroke: rgba(223, 255, 250, .09);
  stroke-width: 1;
}

.story-route path {
  fill: none;
  stroke: rgba(172, 244, 233, .46);
  stroke-width: 1.35;
  stroke-dasharray: 7 9;
  stroke-dashoffset: calc(180px - var(--story-progress, 0) * 180px);
}

.story-route circle,
.story-points circle {
  fill: rgba(214, 255, 249, .48);
}

.story-route-b {
  opacity: calc(var(--story-progress, 0) * .72);
}

.story-rings circle {
  fill: none;
  stroke: rgba(201, 255, 247, .2);
  stroke-width: 1.3;
  transform-origin: 594px 306px;
  transform: scale(calc(.78 + var(--story-progress, 0) * .22));
}

.story-rings .ring-focus {
  fill: var(--brand);
  stroke: rgba(207, 255, 248, .75);
  filter: drop-shadow(0 0 12px rgba(143, 255, 239, .74));
}

.story-data-readout {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 9px;
  border-left: 1px solid rgba(170, 255, 242, .24);
  opacity: calc(.18 + var(--story-progress, 0) * .82);
  transform: translateY(calc((1 - var(--story-progress, 0)) * 12px));
}

.story-data-readout span,
.story-focus-caption span {
  color: #6e7b78;
  font: 600 8px/1.2 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .16em;
}

.story-data-readout strong {
  font: 450 17px/1.2 ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.readout-a { top: 14%; left: 17%; }
.readout-b { top: 29%; right: 10%; }
.readout-c { right: 18%; bottom: 20%; }
.readout-d { bottom: 13%; left: 16%; }

.story-focus-caption {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 7%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  border: 1px solid rgba(191, 255, 246, .11);
  background: rgba(5, 8, 8, .56);
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
  white-space: nowrap;
}

.story-focus-caption strong {
  color: #cbd4d2;
  font-size: 11px;
  font-weight: 560;
}

.home-story-progress {
  position: absolute;
  z-index: 6;
  right: clamp(24px, 4vw, 62px);
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #56625f;
  font: 600 8px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .15em;
}

.home-story-progress i {
  position: relative;
  width: 58px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .1);
}

.home-story-progress i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand);
  box-shadow: 0 0 10px rgba(168, 244, 233, .45);
  transform: translateX(calc(-100% + var(--story-progress, 0) * 100%));
}

/* Home: Interaction = Explore */
.home-explorer {
  padding-top: clamp(92px, 12vh, 150px);
  padding-bottom: clamp(80px, 12vh, 150px);
}

.home-explorer-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.home-explorer-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.055em;
}

.home-explorer-heading > p {
  max-width: 430px;
  margin: 0 0 4px;
  color: #7d8986;
  font-size: 14px;
  line-height: 1.8;
}

.home-explorer-layout {
  display: grid;
  grid-template-columns: minmax(270px, .34fr) minmax(600px, .66fr);
  gap: clamp(34px, 6vw, 92px);
  margin-top: 62px;
}

.observe-menu {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.observe-link {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
  color: #6d7876;
  text-decoration: none;
  transition: color .25s ease, padding-left .25s ease;
}

.observe-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -8px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0;
  box-shadow: 0 0 12px 4px rgba(168, 244, 233, .26);
  transform: translateY(-50%);
}

.observe-link > span {
  color: #485250;
  font: 600 9px ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.observe-link strong {
  font-size: 15px;
  font-weight: 560;
}

.observe-link small {
  color: #53605d;
  font-size: 10px;
}

.observe-link:hover {
  color: #b8c1bf;
  padding-left: 5px;
}

.observe-link.is-active {
  padding-left: 8px;
  color: var(--brand-bright);
}

.observe-link.is-active::before {
  opacity: 1;
}

.observe-link.is-active > span,
.observe-link.is-active small {
  color: #87a09c;
}

.observe-canvas {
  --canvas-x: 58%;
  --canvas-y: 42%;
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid rgba(215, 255, 249, .085);
  background:
    linear-gradient(rgba(229, 255, 251, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 255, 251, .025) 1px, transparent 1px),
    radial-gradient(circle at 65% 45%, rgba(168, 244, 233, .05), transparent 32%),
    #090c0c;
  background-size: 52px 52px, 52px 52px, auto, auto;
  isolation: isolate;
}

.observe-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 9, 9, .88) 86%);
}

.observe-focus-light {
  position: absolute;
  z-index: 1;
  top: var(--canvas-y);
  left: var(--canvas-x);
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(130, 255, 236, .12);
  filter: blur(82px);
  transform: translate(-50%, -50%);
  transition: opacity .3s ease;
}

.observe-coordinate {
  position: absolute;
  z-index: 7;
  top: 22px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #52605d;
  font: 600 8px ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .15em;
}

.observe-coordinate b {
  color: var(--brand);
  font-weight: 500;
}

.observe-visual {
  position: absolute;
  z-index: 3;
  inset: 38px 34px 150px;
}

.observe-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(.975) translateY(8px);
  transition: opacity .5s ease, transform .65s cubic-bezier(.2,.8,.2,1);
}

.home-explorer[data-observe-active="matches"] .observe-matches,
.home-explorer[data-observe-active="replay"] .observe-replay,
.home-explorer[data-observe-active="rings"] .observe-rings,
.home-explorer[data-observe-active="weapons"] .observe-weapons,
.home-explorer[data-observe-active="resources"] .observe-resources,
.home-explorer[data-observe-active="anomalies"] .observe-anomalies {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.observe-matches {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 3%;
  padding: 11% 10% 6%;
}

.observe-matches i {
  position: relative;
  width: 12%;
  height: calc(var(--bar) * 100%);
  border: 1px solid rgba(203, 255, 247, .16);
  border-bottom-color: rgba(203, 255, 247, .34);
  background: linear-gradient(180deg, rgba(168, 244, 233, .09), rgba(168, 244, 233, .015));
}

.observe-matches i:first-child {
  border-color: rgba(205, 255, 247, .44);
  background: linear-gradient(180deg, rgba(168, 244, 233, .18), rgba(168, 244, 233, .025));
  box-shadow: 0 -8px 35px rgba(139, 255, 238, .1);
}

.observe-matches b {
  position: absolute;
  bottom: 10px;
  left: 50%;
  color: #74817e;
  font: 500 10px ui-monospace, Consolas, monospace;
  transform: translateX(-50%);
}

.observe-replay {
  top: 45%;
  bottom: auto;
  height: 100px;
}

.replay-line {
  position: absolute;
  top: 48px;
  right: 4%;
  left: 4%;
  height: 1px;
  background: rgba(211, 255, 248, .19);
}

.observe-replay i,
.observe-anomalies i {
  position: absolute;
  top: 42px;
  left: var(--x);
  width: 13px;
  height: 13px;
  border: 1px solid rgba(201, 255, 247, .35);
  border-radius: 50%;
  background: #0b1010;
  transform: translateX(-50%);
}

.observe-replay i:nth-of-type(3) {
  background: var(--brand);
  box-shadow: 0 0 28px 7px rgba(144, 255, 239, .22);
}

.observe-replay b {
  position: absolute;
  top: 64px;
  left: 61%;
  color: var(--brand-bright);
  font: 500 13px ui-monospace, Consolas, monospace;
  transform: translateX(-50%);
}

.observe-rings {
  top: 50%;
  left: 56%;
  width: min(74%, 420px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%)!important;
}

.observe-rings i {
  position: absolute;
  inset: calc(var(--i, 0) * 12%);
  border: 1px solid rgba(201, 255, 247, .18);
  border-radius: 50%;
}

.observe-rings i:nth-child(1) { --i: 0; }
.observe-rings i:nth-child(2) { --i: 1; }
.observe-rings i:nth-child(3) { --i: 2; }
.observe-rings i:nth-child(4) { --i: 3; border-color: rgba(210, 255, 249, .6); box-shadow: 0 0 24px rgba(139, 255, 238, .1); }
.observe-rings b { position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 20px 6px rgba(139,255,238,.28); transform: translate(-50%,-50%); }

.observe-weapons {
  right: 6%;
  bottom: 7%;
  left: 6%;
  border-bottom: 1px solid rgba(216, 255, 250, .12);
  border-left: 1px solid rgba(216, 255, 250, .12);
}

.observe-weapons::before,
.observe-weapons::after {
  content: "";
  position: absolute;
  opacity: .55;
}

.observe-weapons::before { top: 50%; right: 0; left: 0; border-top: 1px dashed rgba(216,255,250,.08); }
.observe-weapons::after { top: 0; bottom: 0; left: 50%; border-left: 1px dashed rgba(216,255,250,.08); }
.observe-weapons i { position: absolute; left: var(--x); bottom: var(--y); width: 9px; height: 9px; border: 1px solid rgba(201,255,247,.58); border-radius: 50%; transform: translate(-50%,50%); }
.observe-weapons i:nth-child(4) { background: var(--brand); box-shadow: 0 0 24px 6px rgba(139,255,238,.2); }
.observe-weapons span { position: absolute; left: 18%; bottom: 72%; width: 66%; height: 1px; background: linear-gradient(90deg,transparent,rgba(168,244,233,.24),transparent); transform: rotate(-21deg); transform-origin: left; }

.observe-resources {
  display: grid;
  grid-template-columns: repeat(3, minmax(80px, 130px));
  grid-template-rows: repeat(2, minmax(80px, 130px));
  place-content: center;
  gap: 8px;
}

.observe-resources i {
  display: grid;
  place-items: center;
  border: 1px solid rgba(209, 255, 248, .12);
  color: #76827f;
  font: 400 20px ui-monospace, Consolas, monospace;
  font-style: normal;
}

.observe-resources i:nth-child(2) {
  color: var(--brand-bright);
  border-color: rgba(208, 255, 248, .42);
  background: rgba(168, 244, 233, .04);
  box-shadow: inset 0 0 28px rgba(139, 255, 238, .05), 0 0 28px rgba(139,255,238,.06);
}

.observe-anomalies {
  top: 46%;
  bottom: auto;
  height: 100px;
}

.observe-anomalies span {
  position: absolute;
  top: 48px;
  right: 4%;
  left: 4%;
  height: 1px;
  background: rgba(211, 255, 248, .17);
}

.observe-anomalies .is-focus {
  width: 17px;
  height: 17px;
  top: 40px;
  background: var(--brand);
  border-color: var(--brand-bright);
  box-shadow: 0 0 34px 9px rgba(139, 255, 238, .25);
}

.observe-anomalies b {
  position: absolute;
  top: 68px;
  left: 68%;
  color: var(--brand);
  font: 600 9px ui-monospace, Consolas, monospace;
  letter-spacing: .13em;
  transform: translateX(-50%);
}

.observe-description {
  position: absolute;
  z-index: 7;
  right: 30px;
  bottom: 27px;
  left: 30px;
  display: grid;
  grid-template-columns: minmax(110px, .22fr) minmax(270px, .68fr) auto;
  align-items: end;
  gap: 20px;
}

.observe-description > span {
  color: var(--brand);
  font: 600 9px ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .16em;
}

.observe-description > strong {
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 480;
  line-height: 1.22;
  letter-spacing: -.025em;
}

.observe-description > p {
  display: none;
}

.observe-description > a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(189, 255, 246, .2);
  color: #acb7b4;
  font-size: 11px;
  text-decoration: none;
  white-space: nowrap;
}

.observe-description > a i {
  color: var(--brand);
  font-style: normal;
}

/* Home data snapshot */
.home-snapshot {
  display: grid;
  grid-template-columns: 1.25fr 1.45fr .8fr .8fr 1.25fr;
  padding-top: 0;
  padding-bottom: 70px;
}

.home-snapshot > * {
  min-width: 0;
  min-height: 104px;
  padding: 17px 20px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.home-snapshot > *:first-child {
  border-left: 1px solid var(--line);
}

.home-snapshot > a {
  transition: background .2s ease;
}

.home-snapshot > a:hover {
  background: rgba(168, 244, 233, .025);
}

.home-snapshot span,
.home-snapshot small,
.home-snapshot strong {
  display: block;
}

.home-snapshot > * > span,
.home-snapshot-status > small {
  color: #63706d;
  font-size: 9px;
  letter-spacing: .12em;
}

.home-snapshot strong {
  margin-top: 8px;
  overflow: hidden;
  color: #dfe5e3;
  font-size: 15px;
  font-weight: 540;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-snapshot small {
  margin-top: 5px;
  color: #596461;
  font-size: 10px;
}

.home-snapshot b {
  color: var(--brand-bright);
  font-size: 22px;
  font-weight: 520;
}

.home-snapshot .status-dot-label {
  display: flex;
  color: var(--brand);
}

.site-view.brand-route-enter:not(.home-experience) {
  animation: brand-route-enter .48s cubic-bezier(.2,.75,.25,1) both;
}

@keyframes brand-route-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Shared surfaces: one visual world */
.panel,
.update-block,
.overview-stat,
.module-card,
.replay-card,
.anomaly-card,
.pulse-card,
.state-card {
  border-color: var(--line);
  border-radius: 6px;
  background: rgba(11, 14, 14, .78);
  box-shadow: none;
}

.panel {
  background:
    linear-gradient(145deg, rgba(255,255,255,.018), transparent 36%),
    rgba(11, 14, 14, .88);
}

.section-kicker,
.section-title-row,
.pulse-heading {
  position: relative;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.section-kicker h2,
.section-title-row h2,
.pulse-heading h2 {
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 480;
  letter-spacing: -.05em;
}

.section-kicker p,
.section-title-row p,
.pulse-heading p {
  max-width: 660px;
  color: #85918e;
  font-size: 13px;
  line-height: 1.8;
}

.module-section,
.weapon-meta-section,
.pulse-section,
.replay-section,
.ring-section,
.resource-section,
.anomaly-section {
  --section-accent: var(--brand);
  padding-top: clamp(52px, 7vw, 92px);
  padding-bottom: 76px;
}

.section-kicker::before,
.section-title-row::before,
.pulse-heading::before {
  background: var(--brand);
  box-shadow: 8px 0 0 rgba(255, 255, 255, .025);
}

.section-kicker::after,
.section-title-row::after,
.pulse-heading::after {
  background: linear-gradient(90deg, var(--brand), transparent);
}

.pulse-heading .eyebrow,
.toolbox-side-head span,
.resource-key-stat > span,
.poi-summary-card span,
.attraction-formula span,
.score-main span,
.sim-score,
.sim-actions .pick {
  color: var(--brand);
}

.player-tools-section,
.weapon-meta-section,
.pulse-section,
.toolbox-section,
.replay-section,
.ring-section,
.resource-section,
.anomaly-section {
  border-top-color: var(--line);
}

.ring-tabs {
  border-left-color: var(--brand-line);
}

.privacy-note,
.resource-helper-note,
.anomaly-total-badge {
  border-left-color: var(--brand);
}

.privacy-note .shield {
  color: var(--brand);
}

.player-tools-section::after,
.toolbox-section::after,
.pulse-section::after {
  color: rgba(168, 244, 233, .22);
}

.player-tool-card {
  border-color: var(--line);
}

.player-tool-card .module-enter {
  color: var(--brand);
}

.pulse-section {
  border-color: var(--line);
  border-left-color: var(--brand);
}

.pulse-status-strip {
  border-top-color: var(--brand-line);
  border-bottom-color: rgba(168, 244, 233, .11);
  background: rgba(168, 244, 233, .018);
}

.footer-maker {
  color: var(--brand);
}

.module-grid {
  gap: 1px;
  margin-top: 30px;
  border: 1px solid var(--line);
  background: var(--line);
}

.module-card {
  min-height: 270px;
  border: 0;
  border-radius: 0;
  background: #0a0d0d;
  transition: background .28s ease, transform .28s ease;
}

.module-card:hover {
  z-index: 2;
  border-color: transparent;
  background: #0d1111;
  transform: none;
}

.module-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--brand);
  opacity: 0;
  box-shadow: 0 0 14px rgba(168, 244, 233, .25);
  transition: opacity .28s ease;
}

.module-card:hover::before,
.module-card:focus-visible::before {
  opacity: .85;
}

.module-card::after,
.module-live::after,
.ring-live::after,
.resource-live::after,
.anomaly-live::after {
  height: 0;
  background: transparent;
}

.module-status,
.module-status.live,
.module-status.planned {
  border-color: var(--line);
  border-radius: 2px;
  background: transparent;
  color: #687471;
}

.module-status.live {
  color: var(--brand);
  border-color: rgba(168, 244, 233, .2);
}

.module-index {
  color: rgba(215, 255, 249, .075);
  font-weight: 420;
}

.module-card h3 {
  font-size: 18px;
  font-weight: 560;
}

.module-card p {
  color: #7e8a87;
  font-size: 12px;
}

.module-enter,
.ring-live .module-enter,
.resource-live .module-enter,
.anomaly-live .module-enter {
  color: var(--brand);
}

.module-glyph {
  opacity: .48;
  filter: grayscale(1) sepia(.15) hue-rotate(115deg);
}

select,
input[type="number"],
input[type="date"],
input[type="search"] {
  border-color: var(--line);
  border-radius: 4px;
  background: #080b0b;
}

select:focus,
input:focus {
  border-color: rgba(191, 255, 246, .42);
  box-shadow: 0 0 0 3px rgba(168, 244, 233, .055);
}

.condition-count,
.ring-sample-badge,
.resource-version-badge,
.anomaly-total-badge {
  border-color: var(--brand-line);
  border-radius: 3px;
  background: var(--brand-faint);
  color: var(--brand);
}

.ring-sample-badge strong,
.resource-version-badge strong,
.anomaly-total-badge strong {
  color: var(--brand);
}

.ring-tab,
.pulse-view-tab,
.pulse-tab,
.pulse-type-btn {
  border-radius: 3px;
}

.ring-tab.active,
.pulse-view-tab.active,
.pulse-tab.active,
.pulse-type-btn.active {
  border-color: var(--brand-line);
  background: var(--brand-faint);
  color: var(--brand-bright);
  box-shadow: inset 2px 0 var(--brand);
}

.toolbox-side-nav a.active,
.toolbox-side-nav button.active {
  border-color: var(--brand-line);
  background: var(--brand-faint);
  box-shadow: inset 2px 0 var(--brand);
}

.toolbox-side-nav a.active b,
.toolbox-side-nav button.active b {
  color: var(--brand);
}

.spinner {
  border-top-color: var(--brand);
}

.weapon-chart-panel,
.weapon-chart-stage,
.ring-map-card,
.data-map-viewer,
.map-viewer {
  background-color: #080b0b;
}

.weapon-chart-point:hover .weapon-chart-point-halo,
.weapon-chart-point:focus .weapon-chart-point-halo,
.weapon-chart-point.is-selected .weapon-chart-point-halo {
  opacity: .42;
  filter: drop-shadow(0 0 9px rgba(168, 244, 233, .6));
}

.replay-card:hover,
.anomaly-card:hover {
  border-color: rgba(194, 255, 246, .2);
  box-shadow: inset 2px 0 rgba(168, 244, 233, .55);
}

.card-accent,
.anomaly-card-line {
  background: linear-gradient(90deg, var(--brand), transparent 76%);
}

.card-action.video.active,
.anomaly-actions a,
.replay-search-btn {
  border-color: var(--brand-line);
  background: rgba(168, 244, 233, .075);
  color: var(--brand-bright);
}

.card-action.sim {
  color: var(--brand);
  border-color: var(--brand-line);
}

.page-btn.active {
  color: var(--brand-bright);
  border-color: var(--brand-line);
  background: var(--brand-faint);
}

/* Semantic colors stay semantic */
.btn-danger-soft,
.state-card.error,
.tag.far {
  --danger: #f07d83;
  color: var(--danger);
  border-color: rgba(240, 125, 131, .26);
  background: rgba(240, 125, 131, .055);
}

.tag.near { color: #88d7af; border-color: rgba(136,215,175,.22); }
.tag.medium { color: #d7bd83; border-color: rgba(215,189,131,.22); }

.anomaly-boundary {
  border-color: rgba(215, 189, 131, .22);
  background: linear-gradient(90deg, rgba(215,189,131,.045), rgba(10,14,14,.9));
}

/* Glow = Focus */
[aria-selected="true"],
.is-selected,
.selected {
  --selected-brand: var(--brand);
}

.ring-replay-item.selected,
.sim-item.selected,
.match-session-card.selected,
.weapon-chart-point.is-selected {
  border-color: rgba(201, 255, 247, .42);
  box-shadow: var(--focus-shadow);
}

/* Responsive */
@media (max-width: 1180px) {
  .home-story-sticky {
    grid-template-columns: minmax(430px, .88fr) minmax(440px, 1.12fr);
    gap: 28px;
  }

  .home-explorer-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 32px;
  }

  .home-snapshot {
    grid-template-columns: repeat(4, 1fr);
  }

  .home-snapshot-scope {
    grid-column: 1 / -1;
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .top-copy { display: none; }

  .home-story {
    min-height: auto;
  }

  .home-story-sticky {
    position: relative;
    top: 0;
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .home-story-index {
    margin-bottom: 44px;
  }

  .home-observation-field {
    min-height: 560px;
    border-radius: 46% 54% 50% 50% / 44% 45% 55% 56%;
    transform: none;
  }

  .home-story-progress {
    display: none;
  }

  .home-explorer-heading {
    align-items: start;
    flex-direction: column;
  }

  .home-explorer-layout {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .observe-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-left: 1px solid var(--line);
  }

  .observe-link {
    grid-template-columns: 24px 1fr;
    min-height: 68px;
    padding: 8px 12px;
    border-right: 1px solid var(--line);
  }

  .observe-link small { display: none; }
  .observe-link.is-active { padding-left: 16px; }
  .observe-link::before { left: 5px; }

  .observe-canvas {
    min-height: 540px;
  }

  .home-snapshot {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-snapshot > *:nth-child(3),
  .home-snapshot > *:nth-child(5) {
    border-left: 1px solid var(--line);
  }

  .home-snapshot-scope {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .topbar-inner {
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand-copy small { display: none; }
  .main-nav { justify-content: flex-start; }
  .nav-link { padding-right: 8px; padding-left: 8px; }

  .home-story-sticky {
    padding: 52px 18px 62px;
  }

  .home-story-copy {
    padding-left: 0;
  }

  .home-story h1 {
    font-size: clamp(39px, 11.8vw, 52px);
  }

  .home-story-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .home-observation-field {
    min-height: 440px;
    margin: 0 -7px;
  }

  .story-data-readout {
    transform: scale(.88);
  }

  .story-focus-caption {
    bottom: 4%;
  }

  .home-explorer {
    padding: 84px 18px 70px;
  }

  .home-explorer-heading h2 {
    font-size: 42px;
  }

  .observe-menu {
    grid-template-columns: repeat(2, 1fr);
  }

  .observe-link strong {
    font-size: 13px;
  }

  .observe-canvas {
    min-height: 480px;
  }

  .observe-visual {
    inset: 34px 18px 160px;
  }

  .observe-description {
    right: 18px;
    bottom: 20px;
    left: 18px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .observe-description > strong {
    max-width: 94%;
    font-size: 20px;
  }

  .observe-description > a {
    width: max-content;
    margin-top: 5px;
  }

  .home-snapshot {
    grid-template-columns: 1fr;
    padding: 0 18px 30px;
  }

  .home-snapshot > * {
    border-left: 1px solid var(--line)!important;
  }

  .home-snapshot > * + * {
    border-top: 0;
  }

  .module-grid {
    grid-template-columns: 1fr;
  }

  .module-card {
    min-height: 230px;
  }
}

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

  .home-observation-field,
  .observation-map,
  .story-rings circle,
  .story-data-readout {
    transform: none!important;
  }
}
