:root {
  --bg: #071512;
  --bg-2: #0c221d;
  --card: #102824;
  --mint: #8dffb4;
  --mint-deep: #1f8a4c;
  --amber: #e7c27a;
  --text: #e7f6ee;
  --muted: #b7d4c6;
  --line: rgba(141, 255, 180, 0.18);
  --focus: #8dffb4;
  --display: "Syne", "Segoe UI", system-ui, sans-serif;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --nav-h: 74px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(rgba(141, 255, 180, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  line-height: 1.6;
  font-size: 1.02rem;
}
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { width: min(1100px, calc(100% - 2rem)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 1rem; top: -3rem; z-index: 40; background: var(--mint); color: var(--bg); padding: 0.5rem 0.8rem; }
.skip:focus { top: 0.6rem; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--mint); color: var(--bg); }
.eyebrow {
  margin: 0 0 0.75rem;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.65rem 1.15rem; border-radius: 999px;
  text-decoration: none; font-weight: 700; border: 1px solid transparent;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s;
}
.btn-primary { background: var(--mint); color: #062116; }
.btn-ghost { border-color: rgba(141, 255, 180, 0.45); color: var(--text); }
.btn:hover { transform: translateY(-2px); }
.btn-primary:hover { background: #b6ffd0; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--nav-h); padding: 0.6rem 4vw; gap: 1rem;
  background: rgba(7, 21, 18, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.logo { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; font-family: var(--display); font-weight: 700; }
.logo svg { width: 28px; height: 28px; color: var(--mint); }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav a { text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--mint); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; color: var(--text); cursor: pointer; }

.hero { padding: 2rem 0 2.5rem; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 1rem;
  align-items: center;
}
.lede { color: var(--muted); font-size: 1.12rem; max-width: 38rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.4rem 0 1.5rem; }
.facts { display: flex; flex-wrap: wrap; gap: 1.3rem 2rem; margin: 0; }
.facts dt { font-family: var(--display); font-size: 1.8rem; font-weight: 800; line-height: 1; }
.facts dd { margin: 0.25rem 0 0; color: var(--muted); }

.stage { position: relative; height: 460px; perspective: 1000px; }
.glow {
  position: absolute; left: 50%; top: 50%; width: 280px; height: 280px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(31, 138, 76, 0.45), transparent 68%);
  filter: blur(6px);
}
.rig {
  position: absolute; inset: 0; transform-style: preserve-3d;
  --scale: 1;
  transform: rotateX(calc(var(--py, 0) * 1deg)) rotateY(calc(var(--px, 0) * 1deg)) scale(var(--scale));
}
.atom {
  position: absolute; left: 50%; top: 50%;
  width: min(320px, 70vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
}
.nucleus {
  position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #fff, #c8ffd9 26%, #1f8a4c 68%, #063222);
  box-shadow: 0 0 28px rgba(141, 255, 180, 0.7);
  transform: translate(-50%, -50%);
}
.orbit { position: absolute; inset: 0; transform-style: preserve-3d; }
.o1 { transform: rotateX(74deg); }
.o2 { transform: rotateX(72deg) rotateY(58deg); }
.o3 { transform: rotateY(78deg); }
.spin {
  position: absolute; inset: 8%;
  border-radius: 50%;
  border: 1.5px solid rgba(141, 255, 180, 0.55);
}
.o3 .spin { border-color: rgba(231, 194, 122, 0.7); }
.spin i {
  position: absolute; top: -6px; left: calc(50% - 6px);
  width: 12px; height: 12px; border-radius: 50%;
  background: #effff5;
  box-shadow: 0 0 14px 3px rgba(141, 255, 180, 0.9);
}
.o3 .spin i { box-shadow: 0 0 14px 3px rgba(231, 194, 122, 0.85); }
.chip {
  position: absolute; margin: 0; padding: 0.4rem 0.7rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(7, 21, 18, 0.72);
  font-family: ui-monospace, monospace; font-size: 0.75rem; color: var(--mint);
}
.c1 { left: 6%; bottom: 18%; }
.c2 { right: 4%; top: 16%; }

.section { padding: clamp(3.4rem, 8vw, 6rem) 0; }
.section-head { max-width: 40rem; margin-bottom: 1.6rem; }
.section-head p:last-child, .labs .lede { color: var(--muted); }

.rail-wrap { width: min(1100px, calc(100% - 2rem)); margin: 0 auto; }
.rail {
  display: flex; gap: 0.9rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0.2rem 0 1rem; scrollbar-color: #1f8a4c transparent;
}
.rail:focus-visible { outline-offset: 6px; }
.rail article {
  flex: 0 0 min(300px, 82vw);
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.2rem 1.15rem 1.35rem;
  min-height: 230px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.rail article:hover { transform: translateY(-6px); }
.kicker { font-family: ui-monospace, monospace; color: var(--amber); font-size: 0.78rem; letter-spacing: 0.08em; margin-bottom: 0.8rem; }
.rail p:last-child { color: var(--muted); }

.labs { background: #06110f; }
.labs-grid { display: grid; grid-template-columns: minmax(200px, 280px) minmax(0, 1fr); gap: 2rem; align-items: center; }
.helix-wrap { perspective: 800px; height: 320px; display: grid; place-items: center; }
.helix {
  position: relative; width: 150px; height: 250px;
  transform-style: preserve-3d;
  transform: rotateX(16deg) rotateY(-28deg);
}
.rung {
  position: absolute; top: calc(var(--i) * 18px); left: 50%;
  width: 112px; height: 6px; margin-left: -56px; border-radius: 8px;
  background: linear-gradient(90deg, #8dffb4, rgba(141, 255, 180, 0.12) 42%, rgba(231, 194, 122, 0.12) 58%, #e7c27a);
  transform: rotateY(calc(var(--i) * 28deg));
}
.rung::before, .rung::after {
  content: ""; position: absolute; top: -5px; width: 16px; height: 16px; border-radius: 50%;
}
.rung::before { left: -6px; background: #b8ffd2; box-shadow: 0 0 10px #8dffb4; }
.rung::after { right: -6px; background: #f3ddb0; box-shadow: 0 0 10px #e7c27a; }
.ticks { margin: 1.1rem 0 0; padding: 0; list-style: none; }
.ticks li { padding: 0.7rem 0; border-top: 1px solid var(--line); color: var(--muted); }
.ticks li::before { content: "▸ "; color: var(--mint); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin-bottom: 2rem; }
.stats article {
  padding: 1rem; border: 1px solid var(--line); background: rgba(16, 40, 36, 0.7); min-height: 140px;
}
.stats strong { display: block; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--mint); letter-spacing: -0.03em; }
.stats span { color: var(--muted); display: block; margin-top: 0.4rem; }
.quote { margin: 0; padding-left: 1rem; border-left: 2px solid var(--amber); }
.quote blockquote {
  margin: 0 0 1rem; font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.2; letter-spacing: -0.03em;
}
.quote figcaption { display: flex; gap: 0.75rem; align-items: center; color: var(--muted); }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mint); color: #062116; font-weight: 800;
}

.apply { background: linear-gradient(180deg, transparent, rgba(141, 255, 180, 0.05)); }
.steps { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.steps li { padding: 1rem; background: var(--card); border-top: 2px solid var(--mint); }
.steps p { color: var(--muted); }
.contact { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.contact p { flex-basis: 100%; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); padding: 2.2rem 0 1.3rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.2rem; }
.logo-text { font-family: var(--display); font-size: 1.35rem; margin-bottom: 0.3rem; }
.site-footer a { color: var(--mint); }
.site-footer p { color: var(--muted); }
.legal { margin-top: 1.6rem; font-size: 0.85rem; }

@media (prefers-reduced-motion: no-preference) {
  .nucleus { animation: pulse 3.2s ease-in-out infinite alternate; }
  .o1 .spin { animation: orbit 7s linear infinite; }
  .o2 .spin { animation: orbit 11s linear infinite reverse; }
  .o3 .spin { animation: orbit 9s linear infinite; }
  .helix { animation: spinHelix 16s linear infinite; }
}
@keyframes pulse { to { transform: translate(-50%, -50%) scale(1.08); } }
@keyframes orbit { to { transform: rotateZ(360deg); } }
@keyframes spinHelix { to { transform: rotateX(16deg) rotateY(360deg); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .rail article { transition: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0.2rem;
    padding: 0.6rem 1rem 1rem; background: rgba(7, 21, 18, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; }
  .hero-grid, .labs-grid, .stats, .steps, .footer-grid { grid-template-columns: 1fr; }
  .stage { height: 360px; }
  .chip { display: none; }
  .rig { --scale: 0.86; }
}
@media (max-width: 560px) {
  .stage { height: 300px; }
  .rig { --scale: 0.75; }
  .hero { padding-top: 1.2rem; }
  .stats article { min-height: 0; }
}

/* site-menu */
:root {
  --quiet: var(--muted);
  --menu-bg: #102824;
  --accent: var(--mint);
  --field: #0c221d;
}
html { scroll-padding-top: 130px; }
.site-header {
  display: block;
  padding: 0;
  overflow: visible;
}
.utility { background: #04110e; color: #e7f6ee; }
.utility a { color: inherit; text-decoration: none; }
.utility-row {
  width: min(1440px, calc(100% - 1.5rem));
  margin: 0 auto;
  min-height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem 1rem;
  flex-wrap: wrap;
  padding: 0.35rem 0;
  font-size: 0.82rem;
}
.utility p { margin: 0; }
.utility-links { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.parent-login {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.75rem;
  background: #8dffb4;
  color: #062116;
  text-decoration: none;
  font-weight: 700;
}
.bar {
  width: min(1440px, calc(100% - 1.5rem));
  margin: 0 auto;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}
.site-nav {
  flex: 1;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.15rem 0.4rem;
}
.site-nav > a:not(.btn),
.menu-btn {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 0.4rem 0.05rem;
  text-decoration: none;
}
.nav-cta { min-height: 40px; padding: 0.4rem 0.7rem; font-size: 0.78rem; }
.menu { position: relative; }
.menu-btn { display: inline-flex; align-items: center; gap: 0.28rem; }
.menu-btn::after {
  content: "";
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
}
.menu.is-current > .menu-btn,
.site-nav > a[aria-current="page"],
.submenu a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  min-width: 240px;
  max-height: 70vh;
  overflow: auto;
  padding: 0.35rem;
  background: var(--menu-bg);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}
.site-nav > .menu:nth-last-child(-n+3) .submenu { left: auto; right: 0; }
.submenu a {
  display: block;
  padding: 0.5rem 0.6rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
}
.submenu a:hover { background: rgba(127, 127, 127, 0.1); }
@media (hover: hover) and (pointer: fine) {
  .menu:hover > .submenu { display: grid; }
}
.menu.is-open > .submenu,
.menu:focus-within > .submenu { display: grid; }
.page-hero { padding: 1.6rem 0 0.4rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.4rem); max-width: 18ch; }
.crumbs { font-size: 0.85rem; margin: 0 0 0.6rem; }
.crumbs a { text-decoration: none; }
.section-nav { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.section-nav a {
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 0.35rem 0.65rem;
  font-size: 0.85rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.section-nav a[aria-current="page"] { border-color: var(--accent); color: var(--accent); }
.page-section { padding: 0.5rem 0 3.5rem; }
.prose { max-width: 100%; }
.quiet { color: var(--quiet); }
.prose h2 { font-size: clamp(1.35rem, 2vw, 1.8rem); margin: 1.2rem 0 0.4rem; }
.info-grid, .people, .gallery-grid { display: grid; gap: 0.8rem; margin-top: 1rem; }
.info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.info-card, .person {
  border: 1px solid var(--line);
  padding: 1rem;
  background: color-mix(in srgb, var(--menu-bg) 88%, transparent);
}
.person { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: center; }
.person h2, .info-card h2, .video-card h2 { font-size: 1.15rem; margin: 0 0 0.25rem; }
.plain-list { margin: 0.8rem 0 0; padding-left: 1.1rem; }
.plain-list li + li { margin-top: 0.35rem; }
.table-wrap { overflow-x: auto; margin-top: 1rem; }
table.data { width: 100%; border-collapse: collapse; min-width: 320px; }
table.data th, table.data td { text-align: left; padding: 0.7rem 0.45rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data caption { text-align: left; font-weight: 700; padding-bottom: 0.4rem; }
.form { display: grid; gap: 0.85rem; max-width: 42rem; margin-top: 0.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 650; font-size: 0.92rem; }
.form input, .form select, .form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--field);
  color: inherit;
  border-radius: 2px;
}
.form textarea { min-height: 140px; resize: vertical; }
.split-page { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1rem; align-items: start; }
.map-frame { width: 100%; min-height: 360px; border: 1px solid var(--line); margin-top: 1rem; background: var(--field); }
.shot { min-height: 180px; margin: 0; display: flex; align-items: flex-end; padding: 0.6rem; color: #fff; }
.shot figcaption { background: rgba(0, 0, 0, 0.45); padding: 0.2rem 0.4rem; }
.video-card .play {
  position: relative;
  display: block;
  width: 100%;
  min-height: 170px;
  border: 0;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  color: #fff;
}
.poster { position: absolute; inset: 0; }
.play-label {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.35rem 0.6rem;
}
.video-card.is-playing .play-label { opacity: 0.8; }
.sign { margin-top: 1rem; }
.faq { border-top: 1px solid var(--line); padding: 0.75rem 0; }
.faq summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.faq p { margin: 0.4rem 0 0; color: var(--quiet); }
.login-card { max-width: 440px; }
.portal-preview { margin-top: 1rem; border: 1px solid var(--line); padding: 1rem; }
.footer-grid { grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); }
.site-footer .footer-grid a { display: block; margin: 0.28rem 0; text-decoration: none; }
.legal a { color: inherit; }
@media (prefers-reduced-motion: no-preference) {
  .video-card.is-playing .poster { animation: poster-drift 8s ease-in-out infinite alternate; }
}
@keyframes poster-drift { to { transform: scale(1.08); } }
@media (max-width: 1120px) {
  .nav-toggle { display: grid; place-items: center; margin-left: auto; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.15rem;
    padding: 0.4rem 1rem 1rem;
    background: rgba(7, 21, 18, 0.98);
    border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - 7rem);
    overflow: auto;
    z-index: 25;
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav > a, .menu-btn { min-height: 44px; display: flex; align-items: center; }
  .menu-btn { width: 100%; justify-content: space-between; }
  .submenu, .site-nav > .menu:nth-last-child(-n+3) .submenu {
    position: static;
    min-width: 0;
    max-height: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0.3rem 0.6rem;
    background: transparent;
  }
  .menu:hover > .submenu,
  .menu:focus-within > .submenu { display: none; }
  .menu.is-open > .submenu { display: grid; }
  .nav-cta { width: fit-content; margin-top: 0.4rem; }
}
@media (max-width: 800px) {
  .info-grid, .people, .form-row, .split-page, .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .utility-row { align-items: flex-start; }
}
