/* ==========================================================================
   Northbridge Partners — Business Development
   Hybrid palette: Forest capital (dark) × Ivory and signal (light)
   ========================================================================== */

:root {
  /* Forest (dark sections) */
  --forest-900: #0E2A23;
  --forest-800: #16382F;
  --forest-700: #1F4A3E;
  --sage:       #8FA89A;

  /* Brass (accent on dark — the gold thread) */
  --brass:       #C9A46A;
  --brass-light: #E0C796;

  /* Ivory (light sections) */
  --ivory:     #F4F1EA;
  --ivory-200: #ECE7DC;
  --line:      #DDD8CE;
  --ink:       #111111;
  --ink-600:   #5C5A55;

  /* Signal (one moment per light section, max) */
  --signal: #FF4F1F;

  --font-display: "Instrument Serif", Georgia, serif;
  --font-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1760px;
  --gutter: clamp(16px, 4.5vw, 96px);
  --section-y: clamp(88px, 12vw, 160px);
  --radius: 4px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--forest-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-family: var(--font-display); font-style: italic; font-weight: 400; }

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

/* ---------- Themes ---------- */
.section { position: relative; padding: var(--section-y) 0; }
.section[data-theme="dark"]  { background: var(--forest-900); color: var(--ivory); }
.section[data-theme="light"] { background: var(--ivory); color: var(--ink); }
.section[data-theme="dark"] em  { color: var(--brass); }
.section[data-theme="light"] em { color: var(--forest-700); }
.muted { color: var(--ink-600); }
[data-theme="dark"] .muted { color: var(--sage); }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 24px;
}
.eyebrow-dark { color: var(--forest-700); }
.display {
  font-size: clamp(44px, 6.4vw, 92px); line-height: 1.02; font-weight: 500; letter-spacing: -.035em;
}
.display em { letter-spacing: -.01em; }
.display-sm { font-size: clamp(40px, 5.2vw, 76px); line-height: 1.04; font-weight: 500; letter-spacing: -.03em; }
.h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.08; font-weight: 500; letter-spacing: -.025em; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--sage); max-width: 34em; }
.body-lg { font-size: 18px; line-height: 1.65; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 500; font-size: 15px;
  border: 1px solid transparent; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn span { transition: transform .3s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn-brass { background: var(--brass); color: var(--forest-900); }
.btn-brass:hover { background: var(--brass-light); }
.btn-ghost { border-color: rgba(244, 241, 234, .25); color: var(--ivory); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 18px 34px; font-size: 17px; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; color: var(--ivory);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(14, 42, 35, .86); backdrop-filter: blur(12px); border-color: rgba(201, 164, 106, .15); }
.site-header.is-light { color: var(--ink); }
.site-header.is-light.is-scrolled { background: rgba(244, 241, 234, .9); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { font-weight: 600; font-size: 24px; letter-spacing: .04em; }
.brand-sub { font-size: 10px; line-height: 1.25; letter-spacing: .18em; text-transform: uppercase; opacity: .7; padding-left: 12px; border-left: 1px solid currentColor; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.nav a:not(.btn) { position: relative; opacity: .85; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.is-light .btn-brass { background: var(--ink); color: var(--ivory); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 12px; color: inherit; cursor: pointer; }
.nav-toggle span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease); }

/* ---------- 01 Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: 140px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 0; align-items: center; }
.hero-copy .lead { margin: 28px 0 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { position: relative; }


/* Globe: frame sequence masked to a circle, orbits split into back/front layers */
.globe { position: relative; aspect-ratio: 1; width: 100%; }
.globe .seq-poster, .globe .seq-canvas {
  position: absolute; inset: 14%; width: 72%; height: 72%;
  -webkit-mask-image: radial-gradient(circle at 49.6% 49.8%, #000 46.6%, transparent 49.2%);
          mask-image: radial-gradient(circle at 49.6% 49.8%, #000 46.6%, transparent 49.2%);
}
.globe::before {
  content: ""; position: absolute; inset: 13%; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 164, 106, .16), transparent 62%); filter: blur(30px);
}
.orbits { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbits path { stroke: var(--brass); stroke-width: 1.2; stroke-linecap: round; }
.orbits-back path { opacity: .28; }
.orbits-front path { opacity: .85; }
.orbit-node circle { fill: var(--forest-900); stroke: var(--brass-light); stroke-width: 1.5; }
.orbit-node text { fill: var(--ivory); font-family: var(--font-sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.sat { fill: var(--brass-light); filter: drop-shadow(0 0 6px rgba(224, 199, 150, .9)); }

/* Frame sequences (shared) */
[data-sequence] { position: relative; overflow: hidden; }
.seq-poster, .seq-canvas { display: block; width: 100%; height: 100%; object-fit: cover; }
.seq-canvas { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
[data-sequence].is-ready .seq-canvas { opacity: 1; }
.globe[data-sequence] { overflow: visible; }
.hero-rail { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: 14px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--sage); writing-mode: vertical-rl; }
.scroll-cue { position: absolute; left: 50%; bottom: 32px; width: 1px; height: 56px; background: rgba(201, 164, 106, .25); overflow: hidden; }
.scroll-cue span { position: absolute; inset: 0; background: var(--brass); transform: translateY(-100%); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 50% { transform: translateY(0); } 100% { transform: translateY(100%); } }

/* ---------- 02 Proof ---------- */
.proof { padding-bottom: 72px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.stat { padding: 32px 24px 0 0; display: grid; gap: 10px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-num { font-size: clamp(48px, 5.6vw, 84px); line-height: 1; font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--ink-600); font-size: 15px; max-width: 16em; }
.stat:first-child .stat-num { color: var(--signal); }

.marquee { margin-top: 96px; border-block: 1px solid var(--line); overflow: hidden; padding: 28px 0; }
.marquee-track { display: flex; gap: 72px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 30px; color: var(--ink-600); white-space: nowrap; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 03 About ---------- */
.about { padding-top: 40px; }
.about-grid { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.media-frame { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--forest-900); }
.media-frame img, .media-frame canvas { width: 100%; height: 100%; object-fit: cover; }
.media-frame.media-wide { aspect-ratio: 16 / 7; }
.media-caption { margin-top: 14px; font-size: 13px; letter-spacing: .08em; color: var(--ink-600); }
.about-copy .body-lg { margin: 28px 0 48px; color: var(--ink-600); max-width: 32em; }
.pillars li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.pillars li:last-child { border-bottom: 1px solid var(--line); }
.pillar-num { font-family: var(--font-display); font-size: 22px; color: var(--forest-700); }
.pillars h3 { font-size: 20px; font-weight: 500; margin-bottom: 4px; }
.pillars p { color: var(--ink-600); }

/* ---------- 04 Services (horizontal) ---------- */
.services { padding: 0; }
.services-pin { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: var(--section-y) 0; overflow: hidden; }
.services-track { display: flex; gap: 24px; padding: 0 var(--gutter); width: max-content; }
.services-intro { width: min(480px, 80vw); padding-right: 48px; align-self: center; }
.services-intro .body-lg { margin-top: 24px; }
.service-card {
  width: min(380px, 80vw); min-height: 460px; padding: 36px; display: flex; flex-direction: column;
  background: var(--forest-800); border: 1px solid rgba(201, 164, 106, .14); border-radius: var(--radius);
  transition: border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease);
}
.service-card:hover { border-color: var(--brass); background: var(--forest-700); }
.service-card { overflow: hidden; }
.service-media { margin: -36px -36px 28px; aspect-ratio: 4 / 3; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.06); }
.service-num { font-family: var(--font-display); font-size: 22px; color: var(--brass); }
.service-card h3 { font-size: 26px; font-weight: 500; letter-spacing: -.015em; margin: 12px 0 12px; }
.service-card p { color: var(--sage); }
.card-link { margin-top: 28px; font-size: 14px; color: var(--brass); }
.hscroll-progress { margin: 56px var(--gutter) 0; height: 1px; background: rgba(143, 168, 154, .2); max-width: calc(var(--container) - 2 * var(--gutter)); }
.hscroll-progress span { display: block; height: 100%; background: var(--brass); transform-origin: left; transform: scaleX(0); }

/* ---------- 05 Industries ---------- */
.industries { background: var(--forest-800) !important; }
.section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 72px; }
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(201, 164, 106, .2); }
.industry {
  position: relative; padding: 40px 32px 40px 0; border-bottom: 1px solid rgba(201, 164, 106, .2);
  display: flex; align-items: baseline; gap: 18px; cursor: default; overflow: hidden;
}
.industry:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid rgba(201, 164, 106, .2); }
.industry span { font-family: var(--font-display); color: var(--brass); font-size: 18px; }
.industry h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: -.015em; transition: transform .5s var(--ease), color .5s var(--ease); }
.industry::before { content: ""; position: absolute; inset: 0; background: var(--forest-700); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: -1; }
.industry { z-index: 0; }
.industry:hover::before { transform: scaleY(1); }
.industry:hover h3 { transform: translateX(8px); color: var(--brass-light); }
.industry-thumb { display: none; }
.industries { overflow: hidden; }
.industry-preview {
  position: absolute; left: 0; top: 0; width: 320px; aspect-ratio: 4 / 3; pointer-events: none; z-index: 5;
  border-radius: var(--radius); overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.85);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.industry-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 06 Process ---------- */
.process-media { margin: 0 0 72px; }
.timeline { position: relative; }
.timeline-line { position: absolute; left: 0; right: 0; top: 28px; height: 1px; background: var(--line); }
.timeline-line span { display: block; height: 100%; background: var(--forest-700); transform-origin: left; transform: scaleX(0); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.step-dot {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--ivory); border: 1px solid var(--line); font-family: var(--font-display); font-size: 20px; color: var(--ink-600);
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.step h3 { font-size: 24px; font-weight: 500; margin: 32px 0 8px; transition: color .5s var(--ease); }
.step p { color: var(--ink-600); max-width: 18em; }
.step.is-active .step-dot { background: var(--forest-900); border-color: var(--forest-900); color: var(--brass); }
.step.is-current .step-dot { background: var(--signal); border-color: var(--signal); color: var(--ivory); }

/* ---------- 07 Case ---------- */
.case { background: var(--ivory-200) !important; }
.case-grid { display: grid; grid-template-columns: .9fr 1.6fr .8fr; gap: 56px; align-items: end; }
.case-portrait .media-frame { aspect-ratio: 4 / 5; }
.case-portrait img { object-position: 45% center; }
.quote p { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 48px); line-height: 1.2; letter-spacing: -.01em; }
.quote footer { margin-top: 28px; color: var(--ink-600); }
.quote strong { color: var(--ink); font-weight: 500; }
.case-result { display: grid; gap: 10px; padding-left: 40px; border-left: 1px solid var(--line); }
.case-result .stat-num { color: var(--forest-700); }

/* ---------- 08 CTA + footer ---------- */
.cta { padding-bottom: 40px; overflow: hidden; isolation: isolate; }
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--forest-900) 0%, rgba(14, 42, 35, .55) 30%, rgba(14, 42, 35, .45) 60%, var(--forest-900) 100%);
}
.cta-thread { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cta-thread path { fill: none; stroke: var(--brass); stroke-width: 1.4; vector-effect: non-scaling-stroke; opacity: .7; }
.cta-inner { position: relative; text-align: center; display: grid; justify-items: center; gap: 28px; padding-bottom: var(--section-y); }
.cta-inner .display-sm { max-width: 14em; }
.site-footer { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid rgba(201, 164, 106, .18); font-size: 14px; color: var(--sage); }
.site-footer .brand { color: var(--ivory); }
.social { display: flex; gap: 24px; }
.social a:hover { color: var(--brass); }

/* ---------- Animation initial states (only when JS + GSAP are active) ---------- */
.js-anim [data-anim="fade-up"],
.js-anim [data-anim="lines"],
.js-anim [data-anim="stagger"] > *,
.js-anim [data-anim="reveal"] { visibility: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .hero-grid, .about-grid, .section-head, .case-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
  .hero-rail { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { margin-top: 32px; border-top: 1px solid var(--line); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .industry:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .industry:nth-child(even) { padding-left: 24px; border-left: 1px solid rgba(201, 164, 106, .2); }
  .case-result { padding-left: 0; border-left: 0; }
  .hero-visual { margin: 0 auto; width: 100%; }
  .industry-thumb { display: block; width: 72px; height: 54px; object-fit: cover; border-radius: 2px; align-self: center; }
  .industry-preview { display: none; }
  .case-portrait { max-width: 340px; }

  /* Services become a native swipe row on tablet/mobile */
  .services-pin { min-height: 0; }
  .services-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .services-track::-webkit-scrollbar { display: none; }
  .service-card, .services-intro { scroll-snap-align: start; flex-shrink: 0; }
  .services-intro { width: 100%; padding-right: 0; margin-bottom: 16px; }
  .services-track { flex-wrap: nowrap; }
  .hscroll-progress { display: none; }
}

@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: flex-start; gap: 20px;
    padding: 28px var(--gutter) 36px; background: var(--forest-900); color: var(--ivory);
    transform: translateY(-120%); transition: transform .5s var(--ease); font-size: 20px;
  }
  .nav.is-open { transform: none; }
  .nav .btn-brass, .is-light .nav .btn-brass { background: var(--brass); color: var(--forest-900); }
  .brand-sub { display: none; }
  .services-track { flex-direction: row; flex-wrap: wrap; }
  .services-intro { flex-basis: 100%; }
  .service-card { width: 100%; min-height: 0; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding-left: 0; border-left: 0; }
  .stat + .stat { margin-top: 0; border-top: 1px solid var(--line); }
  .industry-grid { grid-template-columns: 1fr; }
  .industry:nth-child(even) { padding-left: 0; border-left: 0; }
  .steps { grid-template-columns: 1fr; gap: 40px; padding-left: 80px; }
  .timeline-line { left: 28px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline-line span { transform-origin: top; transform: scaleY(0); width: 100%; height: 100%; }
  .step { position: relative; }
  .step-dot { position: absolute; left: -80px; top: -12px; }
  .step h3 { margin-top: 0; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .scroll-cue span { animation: none; }
}

/* ==========================================================================
   High-end layer: welcome screen, pinned hero story, rail, cursor, kinetic type
   ========================================================================== */

/* Smooth scroll (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html.is-locked, html.is-locked body { overflow: hidden; }

/* Film grain — static, very subtle */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Welcome screen ---------- */
.intro { display: none; }
.js-anim .intro, .is-welcome .intro { display: block; position: fixed; inset: 0; z-index: 200; color: var(--ivory); }
.intro-panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--forest-900); }
.intro-panel-top { top: 0; }
.intro-panel-bottom { bottom: 0; }
.intro-center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px; text-align: center; }
.intro-eyebrow { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--sage); }
.intro-word { font-size: clamp(56px, 11vw, 168px); line-height: 1.12; font-weight: 500; letter-spacing: -.045em; }
.intro-bar { width: min(420px, 70vw); height: 1px; background: rgba(201, 164, 106, .2); overflow: hidden; }
.intro-bar span { display: block; height: 100%; background: var(--brass); transform-origin: left; transform: scaleX(0); }
.intro-meta { display: flex; gap: 28px; font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--brass); }
.intro-count { position: absolute; right: var(--gutter); bottom: 28px; font-size: clamp(48px, 8vw, 120px); font-weight: 500; letter-spacing: -.04em; line-height: 1; color: rgba(244, 241, 234, .12); font-variant-numeric: tabular-nums; }
.intro-count small { font-size: .35em; margin-left: 4px; }

/* ---------- Hero scroll story ---------- */
.hero { height: 100vh; height: 100svh; min-height: 640px; }
.js-anim [data-hero] { visibility: hidden; }
.hero-visual { will-change: transform; }
.hero-statements { position: absolute; left: var(--gutter); top: 50%; width: min(400px, 32vw); pointer-events: none; }
.hero-statement { position: absolute; left: 0; top: 0; transform: translateY(-50%); opacity: 0; visibility: hidden; }
.hs-num { display: block; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--brass); margin-bottom: 18px; }
.hs-word { font-size: clamp(40px, 4.4vw, 68px); line-height: 1.02; font-weight: 500; letter-spacing: -.03em; }
.hs-copy { margin-top: 18px; color: var(--sage); font-size: 17px; max-width: 22em; }
.hero-progress { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--sage); }
.hp-track { width: 160px; height: 1px; background: rgba(143, 168, 154, .25); overflow: hidden; }
.hp-track span { display: block; height: 100%; background: var(--brass); transform-origin: left; transform: scaleX(0); }
.hp-step { color: var(--ivory); font-variant-numeric: tabular-nums; min-width: 5.5em; }
.orbit-node circle, .orbit-node text { transition: fill .4s; }
.orbit-node.is-on circle { fill: var(--brass); stroke: var(--brass-light); }
.orbit-node.is-on text { fill: var(--brass-light); }

/* ---------- Light sheets slide over dark sections ---------- */
.section[data-sheet] { position: relative; z-index: 2; margin-top: -56px; border-radius: 56px 56px 0 0; }

/* ---------- Kinetic type band ---------- */
.kinetic { position: relative; overflow: hidden; background: var(--forest-900); color: var(--ivory); padding: 72px 0; display: grid; gap: 8px; border-top: 1px solid rgba(201, 164, 106, .12); }
.kinetic-row { display: flex; align-items: center; gap: 40px; white-space: nowrap; width: max-content; will-change: transform; }
.kinetic-row span { font-size: clamp(64px, 10vw, 160px); line-height: 1; font-weight: 500; letter-spacing: -.045em; }
.kinetic-row em { color: var(--brass); }
.kinetic-row .outline { color: transparent; -webkit-text-stroke: 1px rgba(201, 164, 106, .55); }
.kinetic-row i { width: 14px; height: 14px; border-radius: 50%; background: var(--brass); flex: none; }

/* ---------- Scroll rail ---------- */
.rail { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; gap: 14px; color: var(--ivory); transition: color .4s var(--ease); }
.rail.is-light { color: var(--ink); }
.rail ol { display: grid; gap: 10px; }
.rail-track { order: 2; width: 1px; position: relative; background: rgba(143, 168, 154, .35); }
.rail-track span { position: absolute; inset: 0; background: var(--brass); transform-origin: top; transform: scaleY(0); }
.rail a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; font-size: 11px; letter-spacing: .14em; opacity: .45; transition: opacity .3s; }
.rail a span { text-transform: uppercase; max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .5s var(--ease); }
.rail a b { font-weight: 500; font-variant-numeric: tabular-nums; }
.rail a:hover, .rail a.is-active { opacity: 1; }
.rail a.is-active span, .rail a:hover span { max-width: 9em; }
.rail a.is-active b { color: var(--brass); }
.rail { opacity: 0; visibility: hidden; transform: translate(20px, -50%); }

/* ---------- Custom cursor (desktop, fine pointer) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  /* (native cursor no longer hidden — see cursor pack) */
  .has-cursor .cursor { display: block; }
  .cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 210; pointer-events: none; border-radius: 50%; }
  .cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--brass); transition: opacity .3s; }
  .cursor-ring {
    width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(201, 164, 106, .6);
    display: grid; place-items: center;
    transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s var(--ease), border-color .4s;
  }
  .cursor-ring span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--forest-900); opacity: 0; transition: opacity .3s; }
  .cursor.is-link .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--brass); }
  .cursor.is-link .cursor-dot, .cursor.is-view .cursor-dot { opacity: 0; }
  .cursor.is-view .cursor-ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--brass); border-color: var(--brass); }
  .cursor.is-view .cursor-ring span { opacity: 1; }
}

@media (max-width: 1023px) {
  .hero { height: auto; min-height: 100svh; }
  .hero-statements, .hero-progress, .rail { display: none; }
  .section[data-sheet] { margin-top: -32px; border-radius: 32px 32px 0 0; }
  .kinetic { padding: 48px 0; }
}

/* ---------- Hero stage: podium, skyline, arcs around a big globe ---------- */
.hero { padding-top: 96px; }
.hero-copy { position: relative; z-index: 3; }
.hero .display { font-size: clamp(44px, 5.4vw, 108px); }
.hero-visual {
  position: relative; z-index: 1; justify-self: end;
  width: calc(100% + var(--gutter) + 6vw); max-width: calc((100svh - 140px) * 1.11);
  margin-right: calc(var(--gutter) * -1 - 4vw); margin-top: 3vh;
}
.stage { position: relative; aspect-ratio: 1000 / 900; width: 100%; }
.stage-layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stage-front { z-index: 2; }
.stage .globe { position: absolute; left: 6.5%; top: -6.1%; width: 87%; aspect-ratio: 1; z-index: 1; }
.stage .orbits-back path { opacity: .16; }
.stage .orbits-front path { opacity: .45; }
.stage-glow {
  position: absolute; left: 12%; right: 12%; top: 0; bottom: 8%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(224, 199, 150, .24), rgba(201, 164, 106, .08) 55%, transparent 75%);
}
.podium .ring { stroke: var(--brass); stroke-width: 1.4; fill: none; opacity: .75; }
.podium .ring-soft { opacity: .3; stroke-width: 1; }
.podium .ring-bright { stroke: var(--brass-light); stroke-width: 2; opacity: .9; filter: drop-shadow(0 0 6px rgba(224, 199, 150, .8)); }
.bld-win { stroke: var(--brass-light); stroke-width: 1.6; stroke-linecap: butt; }
.bld-edge { stroke: var(--brass); stroke-width: 1; opacity: .55; }
.bld-light { fill: url(#nbDot); }
.bld-beacon { fill: #F4E2BC; animation: beacon 2.4s ease-in-out infinite; }
@keyframes beacon { 50% { opacity: .15; } }
.arc { stroke: var(--brass-light); stroke-width: 1.3; stroke-linecap: round; opacity: .75; }
.arc-glow { stroke: var(--brass); stroke-width: 5; opacity: .12; }
.arc-end { fill: url(#nbDot); }
.pulse { fill: url(#nbDot); }

.btn-play { display: inline-flex; align-items: center; gap: 12px; padding: 8px 4px; font-weight: 500; font-size: 15px; color: var(--ivory); }
.btn-play-icon { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(244, 241, 234, .3); transition: border-color .3s, background .3s; }
.btn-play-icon::after { content: ""; position: absolute; left: 17px; top: 14px; border-style: solid; border-width: 8px 0 8px 12px; border-color: transparent transparent transparent var(--brass); }
.btn-play:hover .btn-play-icon { border-color: var(--brass); background: rgba(201, 164, 106, .12); }
.hero-meta { display: flex; gap: clamp(24px, 3vw, 56px); margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(201, 164, 106, .18); }
.hero-meta li { display: grid; gap: 4px; }
.hero-meta b { font-size: clamp(24px, 2vw, 34px); font-weight: 500; letter-spacing: -.02em; color: var(--ivory); }
.hero-meta span { font-size: 13px; color: var(--sage); }
.hero-actions { align-items: center; }

@media (max-width: 1023px) {
  .hero { padding-top: 120px; }
  .hero-visual { width: 112%; max-width: none; margin: 24px -6% 0; justify-self: center; }
  .hero-meta { margin-top: 36px; }
}
@media (max-width: 767px) {
  .hero-meta { gap: 20px; }
  .hero-meta b { font-size: 22px; }
}
.city-back { opacity: .78; }
.hero { padding-top: 132px; }
.stage .orbits-front path { opacity: .32; }
/* rim light so the night side of the globe separates from the background */
.stage .globe::after {
  content: ""; position: absolute; left: 15.2%; top: 15.4%; width: 69%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  box-shadow: inset -26px -14px 60px rgba(201, 164, 106, .22), inset 10px 10px 34px rgba(244, 241, 234, .07), 0 0 90px rgba(201, 164, 106, .2);
}
.hero .display { font-size: clamp(44px, 5vw, 96px); }
.hero-meta { margin-top: 36px; }
/* ---------- Hero balance: stage centred in its column, copy always fits the viewport height ---------- */
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: clamp(24px, 3vw, 64px); }
.hero-visual { justify-self: center; width: 100%; margin: 2vh 0 0; max-width: calc((100svh - 150px) * 1.11); }
.hero .display { font-size: clamp(40px, min(4.8vw, 9.2vh), 92px); text-wrap: balance; }
.hero-copy .lead { max-width: 30em; }
@media (max-height: 860px) and (min-width: 1024px) {
  .hero { padding-top: 104px; }
  .hero-copy .lead { margin: 18px 0 26px; font-size: 17px; }
  .hero-meta { margin-top: 24px; padding-top: 18px; }
  .hero .eyebrow { margin-bottom: 14px; }
}
@media (max-width: 1023px) { .hero-visual { width: 112%; max-width: none; margin: 24px -6% 0; } }
/* ---------- Photoreal city plates (replace the drawn city when data-photo-back is set) ---------- */
.stage-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; pointer-events: none; }
.stage-photo-back { z-index: 0; }
.stage-photo-front { z-index: 2; }
.stage .stage-front { z-index: 3; }
.stage.has-photo .city-far, .stage.has-photo .city-back, .stage.has-photo .city-front, .stage.has-photo .podium { display: none; }
.stage-photo-back {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 88%, transparent 100%), linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 88%, transparent 100%), linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%); mask-composite: intersect;
}

/* ---------- Hero network: company → cities ---------- */
.net-arc { fill: none; stroke: var(--brass-light); stroke-width: 1.5; stroke-linecap: round; }
.net-arc-glow { fill: none; stroke: var(--brass); stroke-width: 6; opacity: .14; stroke-linecap: round; }
.net-item[data-type="partner"] .net-arc { stroke-dasharray: 6 6; }
.net-item[data-type="investor"] .net-arc { stroke: var(--ivory); stroke-width: 1.2; }
.net-item[data-type="investor"] .city-dot { fill: var(--ivory); }
.net-item { transition: opacity .5s var(--ease); }
.city-dot { fill: var(--brass-light); }
.city-halo { fill: none; stroke: var(--brass-light); stroke-width: 1; opacity: .6; }
.net-pulse { fill: url(#nbDot); }
.city-label { opacity: 0; transition: opacity .4s var(--ease); }
.city-name { fill: var(--ivory); font-family: var(--font-sans); font-size: 15px; font-weight: 500; letter-spacing: .02em; paint-order: stroke; stroke: rgba(7, 17, 14, .75); stroke-width: 4px; }
.city-type { fill: var(--brass-light); font-family: var(--font-sans); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; paint-order: stroke; stroke: rgba(7, 17, 14, .75); stroke-width: 3px; }
.net-hq .hq-dot { fill: var(--brass); }
.net-hq .hq-ring { fill: rgba(201, 164, 106, .12); stroke: var(--brass-light); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: hqPulse 2.4s ease-out infinite; }
@keyframes hqPulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
.hq-label { fill: var(--ivory); font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; paint-order: stroke; stroke: rgba(7, 17, 14, .8); stroke-width: 4px; }
.bld.is-hq rect:nth-child(2) { stroke: var(--brass); stroke-width: 1.4; }

/* overview: one labelled city per type; steps: focus one type, dim the rest */
.stage[data-step="0"] .net-city.is-idle .city-label { opacity: 1; }
.stage[data-step="1"] .net-item:not([data-type="market"]),
.stage[data-step="2"] .net-item:not([data-type="partner"]),
.stage[data-step="3"] .net-item:not([data-type="investor"]) { opacity: .12; }
.stage[data-step="1"] .net-item[data-type="market"] .city-label,
.stage[data-step="2"] .net-item[data-type="partner"] .city-label,
.stage[data-step="3"] .net-item[data-type="investor"] .city-label { opacity: 1; }
.stage:not([data-step="0"]) .net-item .city-halo { stroke-width: 1.6; opacity: 1; }

.stage-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }
.stage-legend li { display: flex; align-items: center; gap: 10px; }
.lg { display: inline-block; width: 22px; height: 0; border-top: 1.5px solid var(--brass-light); }
.lg-hq { width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(201, 164, 106, .25); }
.lg-partner { border-top-style: dashed; }
.lg-investor { border-top-color: var(--ivory); }
.hs-cities { display: flex; gap: 8px; margin-top: 18px; }
.hs-cities span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-light); border: 1px solid rgba(201, 164, 106, .35); border-radius: 99px; padding: 6px 12px; }
@media (max-width: 767px) { .stage-legend { gap: 8px 16px; font-size: 10.5px; } }
@media (max-width: 1023px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1023px) { .stage-legend { padding: 0 calc(6% + 8px); } }

/* ==========================================================================
   Northbridge cursor pack (assets/cursors/*.svg, 32×32, hotspot after the url)
   Real system cursors: no JS, keyboard/a11y unaffected, keyword fallback last.
   ========================================================================== */
html { cursor: url("../cursors/default.svg") 5 4, default; }
a, button, summary, label[for], [role="button"], .btn, .btn-play, .card-link, .rail a,
.service-card, .industry, .nav-toggle { cursor: url("../cursors/pointer.svg") 5 4, pointer; }
a[target="_blank"], a[rel~="external"], .social a { cursor: url("../cursors/link.svg") 16 16, pointer; }
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), [contenteditable="true"] { cursor: url("../cursors/text.svg") 16 16, text; }
textarea { cursor: url("../cursors/handwriting.svg") 6 26, text; }
abbr[title], [data-tooltip] { cursor: url("../cursors/help.svg") 5 4, help; }
[disabled], [aria-disabled="true"] { cursor: url("../cursors/not-allowed.svg") 16 16, not-allowed; }
[aria-busy="true"] { cursor: url("../cursors/progress.svg") 5 4, progress; }
.is-welcome, .is-welcome * { cursor: url("../cursors/wait.svg") 16 16, wait; }
.stage { cursor: url("../cursors/crosshair.svg") 16 16, crosshair; }               /* "targeting" markets on the globe */
[data-cursor-icon="pin"] { cursor: url("../cursors/pin.svg") 16 29, pointer; }
[data-cursor-icon="person"] { cursor: url("../cursors/person.svg") 16 16, default; }
[data-cursor-icon="alternate"] { cursor: url("../cursors/alternate.svg") 16 3, pointer; }
[data-cursor-icon="move"] { cursor: url("../cursors/move.svg") 16 16, move; }
[data-cursor-icon="ns-resize"] { cursor: url("../cursors/ns-resize.svg") 16 16, ns-resize; }
[data-cursor-icon="ew-resize"] { cursor: url("../cursors/ew-resize.svg") 16 16, ew-resize; }
[data-cursor-icon="nwse-resize"] { cursor: url("../cursors/nwse-resize.svg") 16 16, nwse-resize; }
[data-cursor-icon="nesw-resize"] { cursor: url("../cursors/nesw-resize.svg") 16 16, nesw-resize; }
@media (max-width: 1023px) { .services-track { cursor: url("../cursors/ew-resize.svg") 16 16, ew-resize; } }

/* the follower ring now accompanies the pack instead of replacing the native cursor */
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .has-cursor .cursor-dot { display: none; }
}

/* ==========================================================================
   Scrollbar — glossy groove track + ivory pill thumb (brand version of the reference)
   ========================================================================== */
::-webkit-scrollbar { width: 16px; height: 16px; background: var(--forest-900); }
::-webkit-scrollbar-track {
  margin: 8px 0; border-radius: 99px; border: 3px solid var(--forest-900);
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(224, 199, 150, .38) calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px)) padding-box,
    linear-gradient(90deg, #06130f 0%, #1c4137 45%, #12302a 60%, #06130f 100%) padding-box;
  box-shadow: inset 0 0 0 1px rgba(201, 164, 106, .3), inset 0 0 8px rgba(0, 0, 0, .55);
}
::-webkit-scrollbar-thumb {
  min-height: 56px; border-radius: 99px; border: 4px solid transparent;
  background: linear-gradient(90deg, #ffffff 0%, #F4F1EA 42%, #E0C796 100%) padding-box;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .95), inset -2px 0 3px rgba(201, 164, 106, .65), inset 0 3px 3px rgba(255, 255, 255, .9);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(90deg, #F4E2BC 0%, #E0C796 45%, #C9A46A 100%) padding-box; }
::-webkit-scrollbar-thumb:active { background: linear-gradient(90deg, #E0C796 0%, #C9A46A 60%, #a9844c 100%) padding-box; }
::-webkit-scrollbar-corner { background: var(--forest-900); }
/* Firefox (and browsers without the webkit pseudo-elements): standard properties only */
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-color: var(--brass-light) var(--forest-800); scrollbar-width: thin; }
}

/* ---------- Scroll pill (desktop): glossy brand tube + ivory knob, replaces the page scrollbar ---------- */
.scrollpill { display: none; }
html.has-scrollpill { scrollbar-width: none; }
html.has-scrollpill::-webkit-scrollbar { width: 0; height: 0; display: none; }
.has-scrollpill .scrollpill {
  display: block; position: fixed; top: 14px; bottom: 14px; right: 7px; width: 14px; z-index: 60; border-radius: 99px;
  background: linear-gradient(90deg, #08190f 0%, #2d5e50 28%, #1c4237 52%, #0b221b 78%, #08190f 100%);
  box-shadow: inset 0 0 0 1px rgba(224, 199, 150, .32), inset 0 3px 5px rgba(255, 255, 255, .1), 0 0 18px rgba(201, 164, 106, .22);
  opacity: .78; transition: opacity .35s var(--ease), width .35s var(--ease), box-shadow .35s var(--ease);
  cursor: url("../cursors/ns-resize.svg") 16 16, ns-resize;
}
.has-scrollpill .scrollpill::before {
  content: ""; position: absolute; left: 50%; top: 12px; bottom: 12px; width: 2px; transform: translateX(-50%); border-radius: 2px;
  background: linear-gradient(180deg, rgba(224, 199, 150, .6), rgba(224, 199, 150, .12) 50%, rgba(224, 199, 150, .6));
}
.has-scrollpill .scrollpill:hover, .scrollpill.is-active, .scrollpill.is-dragging { opacity: 1; width: 18px; box-shadow: inset 0 0 0 1px rgba(224, 199, 150, .5), inset 0 3px 5px rgba(255, 255, 255, .14), 0 0 26px rgba(201, 164, 106, .4); }
.sp-knob {
  position: absolute; left: 2px; right: 2px; top: 0; height: 48px; border-radius: 99px; will-change: transform;
  background: linear-gradient(90deg, #ffffff 0%, #F4F1EA 44%, #E0C796 100%);
  box-shadow: 0 0 14px rgba(224, 199, 150, .75), 0 2px 6px rgba(0, 0, 0, .35), inset 0 -3px 4px rgba(201, 164, 106, .6), inset 0 2px 2px #fff;
  transition: background .3s;
}
.scrollpill.is-dragging .sp-knob, .sp-knob:hover { background: linear-gradient(90deg, #F4E2BC 0%, #E0C796 50%, #C9A46A 100%); }
.has-scrollpill .rail { right: 36px; }

/* ==========================================================================
   Logo mark — "N" as a bridge: two towers, the cable as the diagonal, deck, north star
   ========================================================================== */
.nb-mark { display: block; width: 100%; height: 100%; overflow: visible; }
.nb-mark .m-pillar { fill: currentColor; }
.nb-mark .m-cable { stroke: currentColor; stroke-width: 6.5; stroke-linecap: round; }
.nb-mark .m-deck { stroke: var(--brass); stroke-width: 2.2; stroke-linecap: round; }
.nb-mark .m-star { fill: var(--brass); }
.nb-mark .m-glint { fill: #fff8e8; opacity: 0; filter: drop-shadow(0 0 4px #F4E2BC) drop-shadow(0 0 10px #E0C796); }
.brand-logo { width: 34px; height: 34px; flex: none; color: currentColor; }
.brand:hover .m-star { filter: drop-shadow(0 0 6px rgba(224, 199, 150, .9)); }
.site-footer .brand-logo { width: 30px; height: 30px; }

/* ---------- Welcome: mark + wordmark, centred on the real viewport ---------- */
.intro-center { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 0 var(--gutter); }
.intro-center > * { flex: none; }
.intro-logo { position: relative; width: clamp(84px, 9vw, 128px); aspect-ratio: 1; color: var(--ivory); margin-bottom: 18px; will-change: transform; }
.intro-logo .m-star { filter: drop-shadow(0 0 10px rgba(224, 199, 150, .85)); transform-box: fill-box; transform-origin: center; }
.intro-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 248, 232, .95) 50%, transparent 65%) no-repeat;
  background-size: 300% 100%; background-position: 150% 0;
  -webkit-mask: url("../img/logo-mark.svg") center / contain no-repeat; mask: url("../img/logo-mark.svg") center / contain no-repeat;
  mix-blend-mode: screen;
}
.intro-word { margin-top: 6px; }
.intro-eyebrow, .intro-word, .intro-bar, .intro-meta { margin-top: 0; }
.intro-center { gap: 20px; }

/* ==========================================================================
   Stage — high-end platform: two tiers, gold band, reflections, grounded towers, story markers
   ========================================================================== */
.podium .tier-band { stroke: var(--brass-light); stroke-width: 2.4; fill: none; opacity: .85; filter: drop-shadow(0 0 6px rgba(224, 199, 150, .9)); }
.podium .tier-band-top { stroke-width: 1.4; opacity: .55; }
.spokes line { stroke: var(--brass); stroke-width: 1; opacity: .09; }
.reflections { opacity: .26; }
.bld-shadow { fill: #000; opacity: .55; }
.bld-contact { stroke: var(--brass-light); stroke-width: 1.2; opacity: .55; }
.motes circle { fill: url(#nbDot); }

.marker .mk-ring { fill: none; stroke: var(--brass-light); stroke-width: 1.2; opacity: .5; transform-box: fill-box; transform-origin: center; animation: hqPulse 2.8s ease-out infinite; }
.marker .mk-dot { fill: var(--forest-900); stroke: var(--brass); stroke-width: 1.6; }
.marker .mk-num { fill: var(--brass-light); font-family: var(--font-sans); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-anchor: middle; }
.marker .mk-label { fill: var(--ivory); font-family: var(--font-sans); font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; paint-order: stroke; stroke: rgba(7, 17, 14, .85); stroke-width: 4px; }

.stage-key { display: flex; align-items: flex-start; justify-content: center; gap: clamp(10px, 1.4vw, 22px); margin: 18px auto 0; max-width: 780px; }
.stage-key li:not(.sk-arrow) { flex: 1; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; align-items: center; }
.stage-key b { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--brass); color: var(--brass-light); font-size: 12px; font-weight: 600; }
.stage-key span { font-size: 15px; font-weight: 500; color: var(--ivory); }
.stage-key small { font-size: 12.5px; color: var(--sage); line-height: 1.35; }
.sk-arrow { flex: none; width: 28px; height: 34px; background: linear-gradient(var(--brass), var(--brass)) center / 100% 1px no-repeat; position: relative; opacity: .6; }
.sk-arrow::after { content: ""; position: absolute; right: 0; top: 50%; width: 7px; height: 7px; border-top: 1px solid var(--brass); border-right: 1px solid var(--brass); transform: translate(0, -50%) rotate(45deg); }
.stage-legend { margin-top: 14px; opacity: .85; }
@media (max-width: 767px) {
  .stage-key { flex-direction: column; align-items: stretch; padding: 0 calc(6% + 8px); }
  .sk-arrow { display: none; }
}
/* ---------- Hero scroll indicator: stage names instead of numbers ---------- */
.hero-progress { gap: 18px; align-items: center; letter-spacing: 0; text-transform: none; }
.hp-mouse { position: relative; width: 22px; height: 34px; border: 1.5px solid rgba(224, 199, 150, .6); border-radius: 12px; flex: none; }
.hp-mouse i { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--brass-light); animation: hpWheel 1.8s var(--ease) infinite; }
@keyframes hpWheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
.hp-body { display: grid; gap: 10px; width: 300px; }
.hp-steps { display: flex; justify-content: space-between; }
.hp-steps span { position: relative; font-family: var(--font-display); font-style: italic; font-size: 19px; color: rgba(143, 168, 154, .55); transition: color .5s var(--ease), transform .5s var(--ease); }
.hp-steps span::before { content: ""; position: absolute; left: 50%; bottom: -15px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--forest-900); border: 1px solid rgba(201, 164, 106, .5); transition: background .4s, box-shadow .4s, border-color .4s; }
.hp-steps span.is-done { color: var(--sage); }
.hp-steps span.is-done::before { background: var(--brass); border-color: var(--brass); }
.hp-steps span.is-active { color: var(--brass-light); transform: translateY(-2px); }
.hp-steps span.is-active::before { background: var(--brass-light); border-color: var(--brass-light); box-shadow: 0 0 10px rgba(224, 199, 150, .9); }
.hp-track { width: 100%; height: 1px; background: rgba(143, 168, 154, .25); }
.hero-progress { left: var(--gutter); transform: none; bottom: 34px; }
