/* ==========================================================================
   RocketlaneAds — styles
   Light ivory canvas · navy type · orange + gold accents · midnight hero orb
   ========================================================================== */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --bg: #fbf8f2;
  --bg-2: #f4efe5;
  --surface: #fffdf9;
  --ink: #0a1a3f;
  --ink-2: #33415f;
  --ink-3: #5b6683;
  --line: rgba(10, 26, 63, 0.12);
  --line-2: rgba(10, 26, 63, 0.2);

  --navy: #0a1a3f;
  --navy-2: #13306f;
  --blue: #1f5bd8;
  --orange: #f27a1a;
  --orange-600: #d9620c;
  --orange-ink: #b4510a;
  --gold: #e9ad3f;
  --gold-light: #ffd486;

  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
  --radius: 22px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}
@media (min-width: 900px) {
  :root { --header-h: 76px; }
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Fine print grain over the whole page — subtle, purely decorative */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: rgba(242, 122, 26, 0.22); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--orange-600);
  outline-offset: 3px;
  border-radius: 6px;
}

section[id] { scroll-margin-top: calc(var(--header-h) - 1px); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.1rem;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Type helpers ---------- */
.accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  letter-spacing: -0.01em;
  line-height: 0.9;
  /* room for the italic overhang without pushing trailing punctuation away */
  padding-right: 0.08em;
  margin-right: -0.13em;
  background-image: linear-gradient(95deg, #d9620c 0%, #c4660d 45%, #a9740f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (forced-colors: active) {
  .accent { background: none; color: inherit; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(242, 122, 26, 0.16);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.section-label__num {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--orange-ink);
}
.section-label__num::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.section-title {
  font-size: clamp(2.1rem, 1.25rem + 2.6vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}
.section-lede {
  margin-top: 1.25rem;
  max-width: 36em;
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.175rem);
  color: var(--ink-2);
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 54px;
  padding: 0 0.45rem 0 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 30px -14px rgba(10, 26, 63, 0.6);
  transition: background-color 0.3s, box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.btn:hover {
  background: var(--navy-2);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 36px -14px rgba(10, 26, 63, 0.65);
}
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline-offset: 4px; border-radius: 999px; }
.btn__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(140deg, #f7953b, var(--orange-600));
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn__icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn:hover .btn__icon svg { animation: launch-arrow 0.6s var(--ease-out); }
@keyframes launch-arrow {
  0% { transform: translate(0, 0); opacity: 1; }
  40% { transform: translate(14px, -14px); opacity: 0; }
  41% { transform: translate(-14px, 14px); opacity: 0; }
  100% { transform: translate(0, 0); opacity: 1; }
}
.btn--sm {
  min-height: 46px;
  padding-left: 1.1rem;
  font-size: 0.9375rem;
  gap: 0.65rem;
}
.btn--sm .btn__icon { width: 34px; height: 34px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0 0.25rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(90deg, var(--orange), var(--gold)) 0.25rem calc(100% - 10px) / calc(100% - 0.5rem) 1.5px no-repeat;
  transition: background-size 0.4s var(--ease-out);
}
.link-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.4s var(--ease-out);
}
.link-arrow:hover svg { transform: translateY(3px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.site-header.is-scrolled,
.site-header.is-nav-open {
  background: rgba(251, 248, 242, 0.84);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  margin-right: auto;
  border-radius: 8px;
}
.brand__logo {
  width: auto;
  height: 38px;
}
@media (min-width: 900px) {
  .brand__logo { height: 46px; }
}

/* Mobile navigation */
.nav { order: 3; }
.nav__toggle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.7);
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
}
.nav__toggle:hover { background: #fff; border-color: rgba(10, 26, 63, 0.35); }
.nav__toggle-icon {
  position: relative;
  width: 18px;
  height: 10px;
}
.nav__toggle-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.6px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out);
}
.nav__toggle-icon span:first-child { top: 0; }
.nav__toggle-icon span:last-child { top: calc(100% - 1.6px); }
.is-nav-open .nav__toggle-icon span:first-child { top: calc(50% - 0.8px); transform: rotate(45deg); }
.is-nav-open .nav__toggle-icon span:last-child { top: calc(50% - 0.8px); transform: rotate(-45deg); }

.nav__menu {
  list-style: none;
  position: absolute;
  top: calc(var(--header-h) - 2px);
  left: var(--gutter);
  right: var(--gutter);
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 30px 60px -28px rgba(10, 26, 63, 0.38);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.985);
  transform-origin: top right;
  transition: opacity 0.25s, transform 0.4s var(--ease-out), visibility 0s linear 0.4s;
}
.is-nav-open .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.nav__link {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 1rem;
  border-radius: 14px;
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
.nav__link:hover { background: var(--bg-2); }
.nav__link.is-current { color: var(--orange-ink); }

.no-js .nav { display: none; }

@media (min-width: 900px) {
  .nav { order: 0; display: block; }
  .no-js .nav { display: block; }
  .nav__toggle { display: none; }
  .nav__menu {
    position: static;
    display: flex;
    gap: 0.15rem;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav__link {
    position: relative;
    min-height: 44px;
    padding: 0 0.95rem;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ink-2);
    transition: color 0.3s;
  }
  .nav__link:hover { background: none; color: var(--ink); }
  .nav__link::after {
    content: "";
    position: absolute;
    left: 0.95rem;
    right: 0.95rem;
    bottom: 8px;
    height: 1.5px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--orange), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease-out);
  }
  .nav__link:hover::after,
  .nav__link.is-current::after { transform: scaleX(1); }
  .nav__link.is-current { color: var(--ink); }
  .site-header__cta { margin-left: 0.75rem; }
}
@media (max-width: 359.98px) {
  .site-header__cta .btn__icon { display: none; }
  .site-header__cta { padding-right: 1.1rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
/* The hero runs underneath the (transparent) sticky header. */
.hero {
  position: relative;
  overflow: clip;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + clamp(1.5rem, 4vw, 2.5rem)) 0 clamp(4.5rem, 9vw, 7rem);
}
@media (min-width: 980px) {
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: clamp(680px, 100svh, 1000px);
    padding-bottom: clamp(4.5rem, 7vw, 6rem);
  }
}
.hero__backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(48% 55% at 74% 46%, rgba(233, 173, 63, 0.16), transparent 70%),
    radial-gradient(40% 50% at 8% 8%, rgba(31, 91, 216, 0.06), transparent 70%);
}
.hero__backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-radial-gradient(circle at var(--orbit-x, 74%) var(--orbit-y, 47%), transparent 0 139px, rgba(10, 26, 63, 0.055) 140px 141px);
  -webkit-mask-image: radial-gradient(60% 70% at var(--orbit-x, 74%) var(--orbit-y, 47%), #000 30%, transparent 75%);
  mask-image: radial-gradient(60% 70% at var(--orbit-x, 74%) var(--orbit-y, 47%), #000 30%, transparent 75%);
}
@media (max-width: 979.98px) {
  .hero__backdrop { --orbit-x: 50%; --orbit-y: 72%; }
}

.hero__inner {
  position: relative;
  display: grid;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}
@media (min-width: 980px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    width: 100%;
  }
}

.hero__copy { position: relative; z-index: 2; translate: 0 var(--parallax, 0px); }
.hero__copy > * { animation: rise 1.1s var(--ease-out) both; }
.hero__copy > :nth-child(1) { animation-delay: 0.05s; }
.hero__copy > :nth-child(2) { animation-delay: 0.14s; }
.hero__copy > :nth-child(3) { animation-delay: 0.26s; }
.hero__copy > :nth-child(4) { animation-delay: 0.36s; }
@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 26px, 0); }
  to { opacity: 1; transform: none; }
}

.hero__title {
  margin: 1.25rem 0 1.5rem;
  max-width: 13ch;
  font-size: clamp(2.55rem, 1.3rem + 3.7vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.042em;
  font-weight: 700;
  text-wrap: balance;
}
.accent--swoosh {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  margin-right: -0.1em;
}
.accent__swoosh {
  position: absolute;
  left: -2%;
  bottom: -0.1em;
  width: 104%;
  height: 0.3em;
  overflow: visible;
  pointer-events: none;
}
.accent__swoosh path {
  fill: none;
  stroke: url(#swoosh-grad);
  stroke-width: 4;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.5s 0.8s var(--ease-out) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__lede {
  max-width: 33em;
  font-size: clamp(1.06rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-2);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2.25rem;
}

/* Hero artwork */
.hero__art {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 1;
  margin-inline: auto;
  animation: art-in 1.6s 0.1s var(--ease-out) both;
}
@media (max-width: 979.98px) {
  .hero__art { width: min(88%, 500px); margin-top: 0.5rem; }
}
@keyframes art-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: none; }
}
.hero__stage {
  position: absolute;
  inset: 0;
  translate: 0 var(--parallax, 0px);
}
.hero__halo {
  position: absolute;
  inset: -4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 122, 26, 0.12), rgba(233, 173, 63, 0.1) 55%, transparent 76%);
}
.orb-bezel {
  position: absolute;
  inset: 9.5%;
  border-radius: 50%;
  border: 1px solid rgba(10, 26, 63, 0.1);
}
.orb-bezel::before {
  content: "";
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  border: 1px dashed rgba(10, 26, 63, 0.09);
}
.orb {
  position: absolute;
  inset: 13%;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(120% 80% at 46% 120%, rgba(242, 122, 26, 0.5) 0%, rgba(233, 173, 63, 0.18) 30%, transparent 58%),
    radial-gradient(95% 95% at 32% 24%, #1d4194 0%, #0f2866 40%, #081736 76%, #050e24 100%);
  box-shadow:
    0 50px 90px -40px rgba(8, 23, 54, 0.7),
    0 0 0 1px rgba(10, 26, 63, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.2),
    inset 0 -30px 60px rgba(242, 122, 26, 0.1);
}
.orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(90% 90% at 28% 18%, rgba(156, 192, 255, 0.2), transparent 48%);
}
.orb__stars {
  position: absolute;
  inset: 0;
  opacity: 0.75;
  background-image:
    radial-gradient(1.2px 1.2px at 22% 30%, #fff, transparent),
    radial-gradient(1px 1px at 68% 22%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 78% 44%, #ffe2a8, transparent),
    radial-gradient(1px 1px at 40% 14%, #fff, transparent),
    radial-gradient(1px 1px at 15% 55%, #cfe0ff, transparent),
    radial-gradient(1.2px 1.2px at 58% 64%, #fff, transparent),
    radial-gradient(1px 1px at 86% 62%, #fff, transparent),
    radial-gradient(1px 1px at 32% 78%, #cfe0ff, transparent),
    radial-gradient(1.3px 1.3px at 50% 40%, #fff, transparent),
    radial-gradient(1px 1px at 72% 80%, #fff, transparent);
}

.hero__layer {
  position: absolute;
  left: -8%;
  top: -8%;
  width: 116%;
  height: 116%;
  max-width: none;
  pointer-events: none;
}
.hero__poster { transition: opacity 1.4s 0.2s var(--ease-out); }
.hero__fallback { display: none; }
.no-js .hero__fallback,
.is-fallback .hero__fallback {
  display: block;
  animation: rocket-in 1.6s var(--ease-out) both;
}
@keyframes rocket-in {
  from { opacity: 0; transform: translate3d(-4%, 6%, 0); }
  to { opacity: 1; transform: none; }
}
.hero__canvas {
  opacity: 0;
  transition: opacity 0.9s var(--ease-out);
}
.is-3d-ready .hero__canvas { opacity: 1; }
.is-3d-ready .hero__poster { opacity: 0; }
.is-3d-ready .hero__fallback { display: none; }

/* Annotations that follow points in the 3D scene */
.hero__label {
  position: absolute;
  display: none;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.9s var(--ease-out);
}
.hero__label--network { left: 84.4%; top: 68.9%; }
.hero__label--trajectory { left: 9.3%; top: 89.1%; }
.is-3d-ready .hero__label { left: 0; top: 0; }
.is-scene-settled .hero__label,
.is-fallback .hero__label,
.no-js .hero__label { opacity: 1; }
@media (min-width: 980px) {
  .hero__label { display: block; }
}
.hero__label-dot {
  position: absolute;
  left: -9px;
  top: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(10, 26, 63, 0.35);
}
.hero__label-dot::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: 14px;
  background: rgba(10, 26, 63, 0.3);
}
.hero__label-text {
  position: absolute;
  top: 23px;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 18px -12px rgba(10, 26, 63, 0.4);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-2);
}
.hero__label--network .hero__label-text { right: -24px; }
.hero__label--trajectory .hero__label-text { left: -24px; }

.scroll-cue {
  position: absolute;
  bottom: clamp(1rem, 2.5vw, 2rem);
  left: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  display: none;
  align-items: center;
  gap: 0.85rem;
  min-height: 44px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-3);
}
.scroll-cue__line {
  position: relative;
  width: 1px;
  height: 38px;
  overflow: hidden;
  background: var(--line-2);
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 1px;
  height: 40%;
  background: var(--orange);
  animation: cue 2.4s var(--ease-in-out) infinite;
}
@keyframes cue { to { top: 100%; } }
@media (min-width: 980px) and (min-height: 760px) {
  .scroll-cue { display: inline-flex; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  position: relative;
  padding-block: clamp(5rem, 11vw, 9rem);
}
.section-head {
  max-width: 780px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section-head--split { max-width: none; display: grid; gap: 1rem 4rem; align-items: end; }
.section-head--split .section-lede { margin-top: 0; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .section-head--split .section-lede { padding-bottom: 0.4rem; }
}

/* ---------- 01 What we do ---------- */
.what__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}
@media (min-width: 960px) {
  .what__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
}

.system {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  container-type: inline-size;
}
.system__svg { width: 100%; height: auto; }
.system__grid circle,
.system__grid path { fill: none; stroke: rgba(10, 26, 63, 0.075); }
.orbit { fill: none; stroke-width: 1.4; }
.orbit--back { stroke: rgba(10, 26, 63, 0.2); stroke-dasharray: 3 5; }
.orbit--front { stroke: rgba(10, 26, 63, 0.55); }
.orbit--loop { stroke: url(#loop-grad); stroke-width: 2.4; stroke-linecap: round; }
.spoke { fill: none; stroke: rgba(10, 26, 63, 0.24); stroke-width: 1; }
.node { fill: var(--bg); stroke: var(--navy); stroke-width: 1.6; }
.node--back { stroke: rgba(10, 26, 63, 0.35); }
.signals circle { fill: var(--orange); }
.core-ring { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-opacity: 0.45; }
.core-ring--front { stroke-opacity: 1; }
.core-edge { fill: none; stroke: rgba(255, 255, 255, 0.16); }
.loop-arrow { fill: var(--orange); }

.system .l1,
.system .l2,
.system .l3 { transition: opacity 0.6s var(--ease-out); }
.system[data-active="1"] :is(.l2, .l3),
.system[data-active="2"] :is(.l1, .l3),
.system[data-active="3"] :is(.l1, .l2) { opacity: 0.45; }

.system__tag {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.75rem 0.28rem 0.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 10px 22px -14px rgba(10, 26, 63, 0.45);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.5s var(--ease-out), opacity 0.5s;
}
.system__tag b {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  transition: background-color 0.4s;
}
.system[data-active="1"] [data-tag="1"],
.system[data-active="2"] [data-tag="2"],
.system[data-active="3"] [data-tag="3"] { transform: translate(-50%, -50%) scale(1.08); }
.system[data-active="1"] [data-tag="1"] b,
.system[data-active="2"] [data-tag="2"] b,
.system[data-active="3"] [data-tag="3"] b { background: var(--orange-600); }
@container (max-width: 400px) {
  .system__tag { padding: 0.2rem; }
  .system__tag span { display: none; }
}

.capabilities { list-style: none; }
.capability {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.9rem 0;
  border-top: 1px solid var(--line);
}
.capability:last-child { border-bottom: 1px solid var(--line); }
.capability::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--orange), var(--gold) 60%, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease-out);
}
.capability.is-active::before { transform: scaleX(1); }
.capability__glyph {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f2ece1);
  box-shadow: inset 0 1px 0 #fff, 0 12px 24px -16px rgba(10, 26, 63, 0.5);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.capability.is-active .capability__glyph {
  transform: translateY(-2px) rotate(-4deg);
  box-shadow: inset 0 1px 0 #fff, 0 18px 30px -16px rgba(242, 122, 26, 0.55);
}
.capability__glyph svg { width: 38px; height: 38px; overflow: visible; }
.g-ring { fill: none; stroke: var(--gold); stroke-width: 1.5; }
.g-orbit { fill: none; stroke: rgba(10, 26, 63, 0.45); stroke-width: 1.3; }
.g-spoke { fill: none; stroke: rgba(10, 26, 63, 0.35); stroke-width: 1.1; }
.g-hub { fill: var(--navy); }
.g-node { fill: #fff; stroke: var(--orange-600); stroke-width: 1.5; }
.g-loop,
.g-arrow { fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.g-trend { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.capability__num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-ink);
}
.capability__title {
  margin: 0.3rem 0 0.6rem;
  font-size: clamp(1.4rem, 1.15rem + 0.7vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.028em;
  font-weight: 700;
}
.capability__body > p:last-child { color: var(--ink-2); max-width: 34em; }

/* ---------- 02 How it works ---------- */
.how { background: var(--bg-2); overflow: clip; }
.how::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(10, 26, 63, 0.11) 1px, transparent 1.3px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
}
.how .container { position: relative; }

.journey { position: relative; }
.journey__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.journey__track {
  fill: none;
  stroke: rgba(10, 26, 63, 0.24);
  stroke-width: 1.5;
  stroke-dasharray: 2 7;
  stroke-linecap: round;
}
.journey__progress { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.journey__craft { opacity: 0; transition: opacity 0.4s; }
.journey.is-live .journey__craft { opacity: 1; }

.journey__steps {
  position: relative;
  list-style: none;
  display: grid;
  gap: 3.5rem;
  padding-left: 4.5rem;
}
.step { position: relative; }
.step__marker {
  position: absolute;
  left: -4.5rem;
  top: -0.2rem;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--bg);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: background-color 0.5s, color 0.5s, border-color 0.5s, box-shadow 0.6s var(--ease-out);
}
.step__marker::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(10, 26, 63, 0.18);
}
.step.is-active .step__marker {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(242, 122, 26, 0.16), 0 14px 26px -12px rgba(10, 26, 63, 0.6);
}
.step__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-ink);
}
.step__title {
  margin: 0.25rem 0 0.35rem;
  font-size: clamp(2.1rem, 1.6rem + 1.6vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.step__summary {
  margin-bottom: 0.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
}
.step__text { color: var(--ink-2); max-width: 30em; }
.step__points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.step__points li {
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.7);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-2);
}
@media (min-width: 900px) {
  .journey__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 4.5rem);
    padding-left: 0;
  }
  .step:nth-child(1) { margin-top: 10rem; }
  .step:nth-child(2) { margin-top: 5rem; }
  .step__marker { position: relative; left: auto; top: auto; margin-bottom: 1.75rem; }
}

.how__note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 44rem;
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.how__note svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  fill: none;
  stroke: var(--orange-ink);
  stroke-width: 1.5;
  stroke-linecap: round;
}

/* ---------- 03 Traffic ---------- */
.traffic__inner {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 1000px) {
  .traffic__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
  .traffic__head {
    position: sticky;
    top: calc(var(--header-h) + 2.5rem);
    margin-bottom: 0;
  }
}
.traffic__note {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 1.75rem;
  padding: 0.9rem 1.1rem;
  border: 1px dashed rgba(180, 81, 10, 0.5);
  border-radius: 14px;
  background: rgba(242, 122, 26, 0.06);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-2);
}
/* Hides automatically once no channel is marked as a placeholder. */
.traffic:not(:has([data-placeholder])) .traffic__note { display: none; }
.traffic__note-badge {
  flex: none;
  padding-top: 0.1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-ink);
}

.channels {
  list-style: none;
  position: relative;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 253, 249, 0.75);
  box-shadow: 0 40px 80px -50px rgba(10, 26, 63, 0.4), inset 0 1px 0 #fff;
}
.channel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 1rem 1.15rem;
  padding: 1.35rem 1.1rem;
  border-radius: 20px;
}
.channel + .channel::after {
  content: "";
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  top: 0;
  height: 1px;
  background: var(--line);
}
.channel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(242, 122, 26, 0.08), rgba(233, 173, 63, 0.05) 55%, transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.channel:hover::before { opacity: 1; }
.channel__code { display: none; }
.channel__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: linear-gradient(160deg, #183a86, var(--navy));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 22px -12px rgba(10, 26, 63, 0.7);
  transition: background-color 0.4s, transform 0.6s var(--ease-out);
}
.channel__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.channel:hover .channel__icon {
  background: linear-gradient(160deg, #f7953b, var(--orange-600));
  transform: rotate(-6deg) scale(1.04);
}
.channel__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.channel__desc {
  margin-top: 0.2rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.channel__wave { display: none; }
@media (min-width: 600px) {
  .channel {
    grid-template-columns: 3.4rem auto minmax(0, 1fr) 72px;
    align-items: center;
    padding: 1.5rem 1.4rem;
  }
  .channel + .channel::after { left: 1.4rem; right: 1.4rem; }
  .channel__code {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--ink-3);
    font-variant-numeric: tabular-nums;
  }
  .channel__wave {
    display: block;
    width: 72px;
    height: 22px;
    overflow: hidden;
    opacity: 0.35;
    transition: opacity 0.4s;
  }
  .channel__wave svg { width: 200%; height: 100%; max-width: none; }
  .channel__wave path {
    fill: none;
    stroke: var(--orange);
    stroke-width: 1.6;
    vector-effect: non-scaling-stroke;
  }
  .channel:hover .channel__wave { opacity: 1; }
  .channel:hover .channel__wave svg { animation: wave 1.6s linear infinite; }
}
@keyframes wave { to { transform: translateX(-50%); } }

/* ---------- 04 Contact ---------- */
.contact { padding: clamp(1rem, 3vw, 2rem) 0 clamp(4rem, 8vw, 7rem); }
.contact__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.75rem, 7vw, 6rem) clamp(1.5rem, 6vw, 5.5rem);
  border-radius: clamp(24px, 4vw, 40px);
  color: #eef2fb;
  background:
    radial-gradient(70% 110% at 88% 8%, rgba(36, 77, 170, 0.75) 0%, transparent 55%),
    radial-gradient(60% 80% at 6% 110%, rgba(242, 122, 26, 0.3), transparent 60%),
    linear-gradient(160deg, #0d2357 0%, #081638 58%, #060f2a 100%);
  box-shadow: 0 60px 120px -60px rgba(8, 23, 54, 0.65);
}
.contact__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
  background-image:
    radial-gradient(1px 1px at 12% 20%, #fff, transparent),
    radial-gradient(1px 1px at 34% 70%, #cfe0ff, transparent),
    radial-gradient(1.2px 1.2px at 52% 12%, #fff, transparent),
    radial-gradient(1px 1px at 70% 84%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 90% 40%, #ffe2a8, transparent),
    radial-gradient(1px 1px at 8% 62%, #fff, transparent),
    radial-gradient(1px 1px at 44% 40%, #cfe0ff, transparent);
}
.contact__art {
  position: absolute;
  z-index: -1;
  right: -4%;
  top: 50%;
  width: min(54%, 560px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
}
.contact__art svg { width: 100%; height: 100%; overflow: visible; }
.contact__orbits ellipse { stroke: rgba(233, 173, 63, 0.42); stroke-width: 1.2; }
@media (max-width: 899.98px) {
  .contact__art { right: -38%; top: -14%; width: 100%; transform: none; opacity: 0.32; }
}
.contact__content { position: relative; max-width: 640px; }
.section-label--light { color: rgba(238, 242, 251, 0.72); }
.section-label--light .section-label__num { color: var(--gold); }
.contact__title {
  font-size: clamp(2.3rem, 1.3rem + 3.1vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: #fff;
  text-wrap: balance;
}
.contact .accent { background-image: linear-gradient(95deg, #ffd486, #f6a052); }
.contact__lede {
  max-width: 31em;
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: rgba(238, 242, 251, 0.8);
}
.contact__email-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}
.contact__email {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.85rem, 1.1rem + 3vw, 3.4rem);
  line-height: 1.15;
  color: #fff;
  text-decoration: none;
  overflow-wrap: anywhere;
  background: linear-gradient(90deg, var(--orange), var(--gold)) left bottom / 100% 2px no-repeat;
  padding-bottom: 0.08em;
  transition: color 0.3s, background-size 0.5s var(--ease-out);
}
.contact__email:hover { color: var(--gold-light); background-size: 0% 2px; background-position: right bottom; }
.contact :focus-visible { outline-color: var(--gold-light); }
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0 1.1rem;
  border: 1px solid rgba(238, 242, 251, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #eef2fb;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
}
.copy-btn:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(238, 242, 251, 0.5); }
.copy-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.copy-btn.is-done { border-color: rgba(255, 212, 134, 0.7); color: var(--gold-light); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 2.25rem 0 2.75rem;
  border-top: 1px solid var(--line);
}
.site-footer__inner {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  text-align: center;
}
.site-footer__brand { display: inline-flex; border-radius: 8px; }
.site-footer__brand img { width: auto; height: 36px; }
.site-footer__nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1.5rem;
}
.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.3s;
}
.site-footer__nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 5px; }
.site-footer__copy { font-size: 0.875rem; color: var(--ink-3); }
@media (min-width: 860px) {
  .site-footer__inner { grid-template-columns: auto 1fr auto; justify-items: stretch; text-align: left; }
}

/* ==========================================================================
   Scroll reveals (enabled by main.js; content stays visible without JS)
   ========================================================================== */
.reveal-ready [data-reveal] {
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-ready [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .reveal-ready [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
  .hero__copy,
  .hero__stage { translate: none !important; }
  .scroll-cue__line::after { display: none; }
}
