.hero-home .site-header {
  --header-reveal: 0;
  border-bottom-color: rgba(0,217,255,calc(.22 - .1 * var(--header-reveal)));
  color: rgb(calc(235 - 224 * var(--header-reveal)),calc(248 - 212 * var(--header-reveal)),calc(250 - 207 * var(--header-reveal)));
  background:
    linear-gradient(90deg,rgba(0,217,255,calc(.06 * (1 - var(--header-reveal)))),transparent 42%),
    rgba(calc(3 + 252 * var(--header-reveal)),calc(18 + 237 * var(--header-reveal)),calc(24 + 231 * var(--header-reveal)),.92);
  box-shadow: 0 14px 48px rgba(0,45,55,calc(.14 - .08 * var(--header-reveal)));
}
.hero-home .site-header::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 1px; background: linear-gradient(90deg,transparent,#00d9ff 50%,transparent); opacity: calc(.48 * (1 - var(--header-reveal))); content: ""; }
.hero-home .nav { min-height: 78px; }
.hero-home .brand { color: inherit; }
.hero-home .nav-links { color: rgb(calc(188 - 116 * var(--header-reveal)),calc(216 - 119 * var(--header-reveal)),calc(220 - 116 * var(--header-reveal))); }
.hero-home .menu-toggle { border-color: rgba(0,217,255,calc(.32 - .16 * var(--header-reveal))); color: inherit; }
.hero-home .brand-mark { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.hero-home .brand-mark img { width: 40px; height: 40px; filter: drop-shadow(0 0 14px rgba(0,217,255,calc(.34 * (1 - var(--header-reveal))))); }

.nd-hero { --reveal: 0; --dark: 1; position: relative; height: 320vh; min-height: 2100px; background: #020609; }
.nd-hero-stage {
  position: sticky; top: 78px; height: calc(100svh - 78px); min-height: 650px; overflow: hidden; isolation: isolate;
  color: rgb(calc(15 + 240 * var(--reveal)),calc(28 + 227 * var(--reveal)),calc(34 + 221 * var(--reveal)));
  background: radial-gradient(circle at 82% 20%,rgba(0,217,255,calc(.08 * var(--reveal))),transparent 34rem),linear-gradient(120deg,rgba(255,255,255,var(--reveal)),rgba(245,252,253,var(--reveal))),#020609;
}
.nd-hero-stage::before { position: absolute; inset: 0; z-index: -1; opacity: var(--reveal); background-image: linear-gradient(rgba(0,141,151,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(0,141,151,.055) 1px,transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(90deg,transparent,#000 48%,#000); content: ""; }
.nd-hero-wordmark {
  position: absolute;
  bottom: -.035em;
  left: 50%;
  z-index: 0;
  width: max-content;
  color: transparent;
  background: linear-gradient(180deg,#00d9ff 0%,#008d97 58%,#005a68 100%);
  background-clip: text;
  font-size: clamp(11rem,24vw,29rem);
  font-weight: 900;
  letter-spacing: -.095em;
  line-height: .74;
  opacity: calc(.16 - .08 * var(--reveal));
  pointer-events: none;
  text-shadow: 0 0 54px rgba(0,217,255,calc(.14 * (1 - var(--reveal))));
  transform: translateX(-50%);
  user-select: none;
  white-space: nowrap;
  -webkit-background-clip: text;
}
.nd-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.nd-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,.95fr) minmax(420px,.85fr); align-items: center; gap: clamp(46px,7vw,120px); width: min(100% - 64px,1360px); height: 100%; margin-inline: auto; padding: 52px 0 96px; opacity: var(--reveal); pointer-events: none; }
.nd-hero-copy,.nd-system-visual { will-change: transform,opacity; }
.nd-hero-copy { max-width: 720px; }
.nd-hero-logo { display: block; width: 76px; height: 76px; margin-bottom: 28px; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0,141,151,.18)); }
.nd-eyebrow { margin: 0 0 22px; color: #007b88; font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.nd-hero h1 { max-width: 770px; margin: 0 0 25px; color: #071c22; font-size: clamp(3.8rem,7vw,7.4rem); font-weight: 700; letter-spacing: -.075em; line-height: .92; }
.nd-hero h1 span { color: #008d97; }
.nd-description { max-width: 620px; margin: 0; color: #486168; font-size: clamp(1.05rem,1.6vw,1.28rem); line-height: 1.65; }
.nd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; pointer-events: auto; }
.nd-primary,.nd-secondary { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 16px; border-radius: 999px; padding: 0 24px; font-size: .9rem; font-weight: 750; transition: transform 180ms ease,box-shadow 180ms ease,background 180ms ease; }
.nd-primary { color: #fff; background: linear-gradient(135deg,#005a68,#00a9bc); box-shadow: 0 18px 42px rgba(0,141,151,.2); }
.nd-secondary { border: 1px solid rgba(0,90,104,.2); color: #12343d; background: rgba(255,255,255,.72); }
.nd-primary:hover,.nd-secondary:hover { transform: translateY(-2px); }
.nd-location { margin: 24px 0 0; color: #668087; font-size: .82rem; }

.nd-system-visual { position: relative; min-height: 500px; border: 1px solid rgba(0,141,151,.16); border-radius: 32px; padding: 24px; background: rgba(255,255,255,.74); box-shadow: 0 36px 90px rgba(0,72,86,.12); backdrop-filter: blur(20px); }
.nd-window-bar { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(0,90,104,.1); padding: 2px 0 20px; color: #668087; font: .7rem ui-monospace,monospace; }
.nd-window-dots { display: flex; gap: 7px; }
.nd-window-dots span { width: 7px; height: 7px; border-radius: 50%; background: #00c7e8; opacity: .48; }
.nd-system-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 36px 4px 24px; }
.nd-system-heading strong { color: #09252d; font-size: 1.3rem; letter-spacing: -.04em; }
.nd-system-heading span { color: #008d97; font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.nd-system-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.nd-system-card { min-height: 130px; border: 1px solid rgba(0,90,104,.11); border-radius: 20px; padding: 20px; color: #173941; background: #fff; }
.nd-system-card:first-child { grid-row: span 2; min-height: 272px; color: #fff; background: linear-gradient(145deg,#005a68,#008d97); }
.nd-system-card small { display: block; margin-bottom: 25px; color: inherit; opacity: .72; font: .67rem ui-monospace,monospace; text-transform: uppercase; letter-spacing: .1em; }
.nd-system-card strong { display: block; color: inherit; font-size: 1.02rem; }
.nd-system-card p { margin: 9px 0 0; color: inherit; opacity: .68; font-size: .78rem; line-height: 1.5; }
.nd-orbit { position: relative; width: 130px; height: 130px; margin: 30px auto; border: 1px solid rgba(255,255,255,.27); border-radius: 50%; }
.nd-orbit::before,.nd-orbit::after { position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; content: ""; }
.nd-orbit::after { inset: 48px; background: #67e8f9; box-shadow: 0 0 24px rgba(103,232,249,.75); }

.nd-intro-ui { position: absolute; right: 32px; bottom: 26px; left: 32px; z-index: 4; display: flex; align-items: center; gap: 18px; color: rgba(255,255,255,calc(.7 * var(--dark))); font: .7rem ui-monospace,monospace; letter-spacing: .09em; text-transform: uppercase; }
.nd-progress-track { flex: 1; height: 1px; background: rgba(0,217,255,.22); overflow: hidden; }
.nd-progress-bar { width: 100%; height: 100%; background: #00d9ff; transform: scaleX(0); transform-origin: left; }
.nd-scroll-cue { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: opacity 180ms ease; }
.nd-scroll-cue span { color: #00d9ff; font-size: 1rem; animation: nd-scroll-pulse 1.5s ease-in-out infinite; }
.nd-hero.is-complete .nd-intro-ui { color: #527078; }
.nd-hero.is-complete .nd-progress-track { background: rgba(0,90,104,.12); }
.nd-hero.is-complete .nd-scroll-cue { opacity: .45; }

@keyframes nd-scroll-pulse { 0%,100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

@media (max-width: 980px) { .nd-hero-inner { grid-template-columns: 1fr minmax(340px,.75fr); gap: 34px; } .nd-system-visual { min-height: 440px; } .nd-system-card:first-child { min-height: 232px; } }
@media (max-width: 720px) {
  .hero-home .site-header { padding-top: env(safe-area-inset-top); }
  .hero-home .nav { min-height: 68px; }
  .hero-home .mobile-menu { top: calc(68px + env(safe-area-inset-top)); }
  .hero-home .brand > span:last-child { display: inline; }
  .nd-hero { height: 210vh; min-height: 1380px; }
  .nd-hero-stage { top: calc(68px + env(safe-area-inset-top)); height: calc(100svh - 68px - env(safe-area-inset-top)); min-height: 590px; }
  .nd-hero-wordmark { bottom: 7%; font-size: clamp(7.5rem,35vw,10rem); opacity: calc(.14 - .065 * var(--reveal)); }
  .nd-hero-inner { display: block; width: calc(100% - 36px); padding: 48px 0 88px; overflow: auto; }
  .nd-hero-logo { display: none; }
  .nd-eyebrow { margin-bottom: 14px; font-size: .66rem; }
  .nd-hero h1 { max-width: 500px; margin-bottom: 18px; font-size: clamp(3rem,14vw,4.7rem); line-height: .94; }
  .nd-description { font-size: .97rem; line-height: 1.5; }
  .nd-actions { margin-top: 22px; }
  .nd-primary,.nd-secondary { min-height: 48px; padding: 0 18px; font-size: .8rem; }
  .nd-location { margin-top: 15px; font-size: .73rem; }
  .nd-system-visual { display: none; }
  .nd-intro-ui { right: 18px; bottom: 18px; left: 18px; gap: 10px; font-size: .6rem; }
}
@media (prefers-reduced-motion: reduce) { .hero-home .site-header { --header-reveal: 1; } .nd-hero { height: auto; min-height: 0; } .nd-hero-stage { position: relative; top: 0; min-height: calc(100svh - 78px); --reveal: 1; --dark: 0; } .nd-canvas,.nd-intro-ui { display: none; } .nd-hero-inner { opacity: 1; } }
