:root {
  --navy: #0B1F3A;
  --navy-deep: #071528;
  --navy-2: #13294D;
  --red: #C8102E;
  --gold: #D4A437;
  --gold-soft: #E9C978;
  --paper: #FFFFFF;
  --mist: #EEF1F6;
  --ink: #0B1F3A;
  --muted-on-dark: #A9B6CB;
  --muted-on-light: #4E5D74;
  --line-dark: rgba(212, 164, 55, 0.28);
  --display: "Montserrat", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1200px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--navy);
  color: #fff;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg, canvas { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; max-width: 18ch; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 15px;
  padding: 14px 24px; border-radius: 999px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
  will-change: transform;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-soft); box-shadow: 0 0 0 6px rgba(212,164,55,.18); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-wide { width: 100%; padding: 17px 24px; font-size: 16px; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  transition: background-color .3s, backdrop-filter .3s, padding .3s;
}
.nav.is-scrolled { background: rgba(7, 21, 40, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon { width: 46px; height: 31px; }
.brand-word { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.w-bulk { color: #fff; }
.w-bridge { color: var(--red); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--muted-on-dark); transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { padding: 10px 18px; font-size: 14px; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center; gap: 24px;
  padding: 110px var(--gutter) 60px;
  max-width: 1440px; margin: 0 auto;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 72% 48%, rgba(212,164,55,.10), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(200,16,46,.10), transparent 70%);
}
.hero h1 {
  font-size: clamp(40px, 6.2vw, 84px); font-weight: 800;
  letter-spacing: -0.035em; line-height: 1.02; max-width: 12ch;
}
.split .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .word > span { display: inline-block; }
.hero-sub { margin-top: 24px; max-width: 44ch; font-size: 19px; color: var(--muted-on-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.promises { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; max-width: 620px; }
.promises li { border-top: 2px solid var(--gold); padding-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.promises strong { font-family: var(--display); font-size: 15px; font-weight: 700; }
.promises span { font-size: 14px; color: var(--muted-on-dark); line-height: 1.4; }
.hero-globe { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 720px; justify-self: end; }
#globe { width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
#globe:active { cursor: grabbing; }
.globe-hint { position: absolute; bottom: 4%; left: 50%; transform: translateX(-50%); font-size: 13px; color: var(--muted-on-dark); opacity: .7; white-space: nowrap; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 96px; min-height: auto; }
  .hero-globe { order: -1; max-width: 460px; justify-self: center; margin-bottom: -20px; }
  .promises { grid-template-columns: 1fr; gap: 14px; }
  .globe-hint { display: none; }
}

/* Section scaffolding */
section { position: relative; }
.how, .reach, .faq { padding: clamp(80px, 11vw, 150px) var(--gutter); max-width: var(--max); margin: 0 auto; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; }
.section-head p { color: var(--muted-on-dark); max-width: 34ch; font-size: 18px; }

/* How it works */
.route { position: relative; margin-top: 72px; }
.route-fill { position: absolute; left: 0; right: 0; top: 25px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--red), var(--gold)); transform-origin: left center; transform: scaleX(0); box-shadow: 0 0 18px rgba(212,164,55,.55); z-index: 1; }
.stop-dot { z-index: 2; }
.route::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; border-top: 2px dashed rgba(255,255,255,.14); }
.stops { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 32px; position: relative; }
.stop { padding-top: 64px; position: relative; }
.stop-dot {
  position: absolute; top: 15px; left: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy); border: 2px solid rgba(255,255,255,.3);
  transition: border-color .4s, background-color .4s, box-shadow .4s;
}
.stop.is-lit .stop-dot { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 8px rgba(212,164,55,.16), 0 0 30px rgba(212,164,55,.5); }
.stop-n { font-family: var(--display); font-weight: 800; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.22); display: block; margin-bottom: 14px; transition: -webkit-text-stroke-color .4s, color .4s; }
.stop.is-lit .stop-n { color: var(--red); -webkit-text-stroke-color: var(--red); }
.stop h3 { margin-bottom: 8px; }
.stop p { color: var(--muted-on-dark); font-size: 16px; }
@media (max-width: 900px) {
  .route::before { left: 10px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed rgba(255,255,255,.14); }
  .route-fill { display: none; }
  .stops { grid-template-columns: 1fr; gap: 40px; }
  .stop { padding: 0 0 0 52px; }
  .stop-dot { top: 4px; }
  .stop-n { font-size: 44px; }
}

/* Volume */
.volume {
  background: var(--paper); color: var(--ink);
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px, 6vw, 96px); align-items: center;
  padding: clamp(80px, 10vw, 140px) max(var(--gutter), calc((100vw - var(--max)) / 2));
}
.volume h2 { color: var(--navy); }
.vol-copy > p { margin-top: 20px; color: var(--muted-on-light); max-width: 46ch; }
.vol-label { display: block; margin-top: 40px; font-family: var(--display); font-weight: 700; font-size: 18px; }
.vol-label output { color: var(--red); font-variant-numeric: tabular-nums; }
#qty { -webkit-appearance: none; appearance: none; width: 100%; margin-top: 16px; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--gold) var(--fill, 8%), var(--mist) var(--fill, 8%)); cursor: pointer; }
#qty::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); border: 4px solid var(--gold); box-shadow: 0 4px 14px rgba(11,31,58,.3); }
#qty::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--navy); border: 4px solid var(--gold); }
.vol-scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted-on-light); margin-top: 8px; }
.vol-tier { margin-top: 24px; padding-left: 14px; border-left: 3px solid var(--red); font-weight: 500; min-height: 3.2em; }
.vol-visual { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; height: 380px; }
.stack { display: flex; flex-wrap: wrap-reverse; align-content: flex-start; gap: 5px; overflow: hidden; height: 100%; padding: 6px; border-bottom: 3px solid var(--navy); }
.box {
  width: calc((100% - 47px) / 8); aspect-ratio: 1.2 / 1; border-radius: 3px;
  background: linear-gradient(180deg, #D9B88A, #C49A63);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.12);
  position: relative;
}
.box::after { content: ""; position: absolute; left: 44%; width: 12%; top: 0; bottom: 0; background: rgba(160,110,50,.45); }
.meter { display: flex; flex-direction: column; align-items: center; gap: 10px; height: 100%; }
.meter-track { width: 18px; flex: 1; background: var(--mist); border-radius: 99px; position: relative; overflow: hidden; }
.meter-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 80%; background: linear-gradient(0deg, var(--red), #E04A5F); border-radius: 99px; transition: height .5s cubic-bezier(.2,.8,.2,1); }
.meter-label { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 13px; color: var(--muted-on-light); white-space: nowrap; }
@media (max-width: 900px) {
  .volume { grid-template-columns: 1fr; }
  .vol-visual { height: 280px; }
}

/* Trust */
.trust { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); background: var(--navy-deep); }
.trust-col { padding: clamp(64px, 8vw, 120px) clamp(24px, 6vw, 88px); }
.trust-col h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -0.02em; max-width: 16ch; }
.trust-col p { margin-top: 18px; color: var(--muted-on-dark); max-width: 44ch; }
.secret { border-right: 1px solid var(--line-dark); }
.lock { width: 92px; height: 108px; margin-bottom: 32px; overflow: visible; }
.lock .shackle { fill: none; stroke: var(--gold); stroke-width: 10; stroke-linecap: round; transform: translateY(-16px); transition: transform .6s cubic-bezier(.5,-0.4,.3,1.4) .2s; }
.lock .lock-body { fill: var(--gold); }
.lock .keyhole { fill: var(--navy-deep); }
.lock.is-locked .shackle { transform: translateY(0); }
.lock.is-locked .lock-body { animation: thunk .35s ease .75s; }
@keyframes thunk { 50% { transform: translateY(3px); } }
.checklist { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; align-items: center; gap: 14px; font-weight: 500; opacity: .45; transition: opacity .4s; }
.checklist li.is-done { opacity: 1; }
.tick { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); position: relative; transition: background-color .3s, border-color .3s; }
.tick::after { content: ""; position: absolute; left: 7px; top: 3px; width: 7px; height: 12px; border: solid var(--navy-deep); border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.is-done .tick { background: var(--gold); border-color: var(--gold); }
.is-done .tick::after { transform: rotate(45deg) scale(1); }
@media (max-width: 900px) {
  .trust { grid-template-columns: 1fr; }
  .secret { border-right: 0; border-bottom: 1px solid var(--line-dark); }
}

/* Reach */
.reach-body { margin-top: 48px; display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 32px; align-items: start; }
.regions { display: flex; flex-direction: column; gap: 6px; }
.region {
  text-align: left; background: none; border: 0; color: var(--muted-on-dark);
  font-family: var(--display); font-weight: 700; font-size: 18px; padding: 12px 16px; border-radius: 10px; cursor: pointer;
  border-left: 3px solid transparent; transition: color .2s, background-color .2s, border-color .2s;
}
.region:hover { color: #fff; background: rgba(255,255,255,.04); }
.region.is-on { color: #fff; background: rgba(212,164,55,.1); border-left-color: var(--gold); }
.map-wrap { position: relative; }
#map { width: 100%; aspect-ratio: 2.6 / 1; }
.map-caption { margin-top: 12px; color: var(--muted-on-dark); font-size: 15px; min-height: 1.6em; }
@media (max-width: 900px) {
  .reach-body { grid-template-columns: 1fr; }
  .regions { flex-direction: row; flex-wrap: wrap; }
  .region { font-size: 15px; padding: 8px 14px; border-left: 0; border-bottom: 2px solid transparent; border-radius: 8px; }
  .region.is-on { border-bottom-color: var(--gold); }
}

/* Categories marquee */
.cats { padding: 56px 0; border-block: 1px solid var(--line-dark); overflow: hidden; }
.cats-title { max-width: none; font-size: 15px; font-weight: 700; color: var(--gold); letter-spacing: 0; text-align: center; margin-bottom: 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 4vw, 52px); letter-spacing: -0.02em; padding: 0 28px; white-space: nowrap; color: #fff; }
.marquee-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.5); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* FAQ */
.faq h2 { max-width: 20ch; }
.faq-list { margin-top: 40px; max-width: 820px; }
details { border-bottom: 1px solid var(--line-dark); }
summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 19px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border: solid var(--gold); border-width: 0 2.5px 2.5px 0; transform: translateY(-70%) rotate(45deg); transition: transform .3s; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { padding: 0 0 24px; color: var(--muted-on-dark); max-width: 64ch; }

/* Quote */
.quote {
  background: var(--paper); color: var(--ink);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px);
  padding: clamp(80px, 10vw, 140px) max(var(--gutter), calc((100vw - var(--max)) / 2));
}
.quote h2 { color: var(--navy); }
.quote-copy > p { margin-top: 20px; color: var(--muted-on-light); max-width: 40ch; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; }
.contact-list a { color: var(--navy); font-weight: 500; text-decoration-color: var(--gold); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.quote-form { display: grid; gap: 18px; background: var(--mist); padding: clamp(24px, 4vw, 40px); border-radius: 20px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--navy); }
.opt { font-weight: 600; color: var(--muted-on-light); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--navy); background: #fff;
  border: 1.5px solid #CDD5E1; border-radius: 10px; padding: 12px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s; color-scheme: light;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(212,164,55,.35); }
.field [aria-invalid="true"] { border-color: var(--red); }
.form-error { color: var(--red); font-weight: 500; }
.form-note { font-size: 14px; color: var(--muted-on-light); text-align: center; }
.quote .btn-gold:hover { box-shadow: 0 0 0 6px rgba(212,164,55,.3); }
@media (max-width: 900px) {
  .quote { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* Footer */
.footer { padding: 56px var(--gutter); display: grid; gap: 12px; justify-items: start; max-width: var(--max); margin: 0 auto; color: var(--muted-on-dark); }
.foot-small { font-size: 14px; opacity: .8; }

/* Hero intro: hidden only once JS confirms motion is allowed */
.js-motion .hero-sub, .js-motion .hero-actions, .js-motion .promises li { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track span:nth-child(n+9) { display: none; }
}
