/* Brand: JHC Navy #003C90, Bridge Blue #297AFF, Graphite #808083, set in Sora.
   The page runs from night (#020A1E) to daylight (#F6F8FC); text colors follow body.is-day. */
@property --ink { syntax: "<color>"; inherits: true; initial-value: #EEF3FF; }
@property --muted { syntax: "<color>"; inherits: true; initial-value: #C3D0EA; }
@property --line { syntax: "<color>"; inherits: true; initial-value: rgba(127, 176, 255, 0.18); }

:root {
  --navy: #003C90;
  --blue: #297AFF;
  --graphite: #808083;
  --ice: #7FB0FF;
  --night: #020A1E;
  --day: #F6F8FC;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --gutter: clamp(16px, 4vw, 64px);
  --sans: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  /* text colors mirror INK in js/lib/color.js, where their 4.5:1 contrast is tested */
  --ink: #EEF3FF; --muted: #C3D0EA; --accent: #BBD3FF; --line: rgba(127, 176, 255, 0.18);
  margin: 0; background: var(--night); color: var(--ink);
  font: 300 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: --ink 700ms var(--ease), --muted 700ms var(--ease), --line 700ms var(--ease);
}
body.is-day { --ink: #003C90; --muted: #5F6068; --accent: #1F63D6; --line: rgba(0, 60, 144, 0.14); }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 600; }
img { display: block; max-width: 100%; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* the layers behind the page: media (Flow), the WebGL stage, the no-WebGL mark */
#media, #stage, #stage-fallback { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#media { z-index: 0; overflow: hidden; }
#stage { z-index: 1; display: block; }
#stage-fallback { z-index: 1; display: none; place-items: center end; padding-right: 12vw; }
body.no-webgl #stage { display: none; }
body.no-webgl #stage-fallback { display: grid; }
#stage-fallback svg { width: min(34vh, 300px); height: auto; }
main, .nav { position: relative; z-index: 2; }

/* media layers: a designed gradient per beat, under its Flow clip once that exists */
.layer { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.layer__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) brightness(0.62); }
.layer__tint { position: absolute; inset: 0; mix-blend-mode: multiply; opacity: 0.6; }
body:not(.no-webgl) .layer--V3 .layer__media { visibility: hidden; } /* drawn in the stage, behind the glass */
.layer--V1 { background: radial-gradient(55% 65% at 74% 42%, rgba(41, 122, 255, 0.2), transparent 70%); }
.layer--V2 { background: radial-gradient(40% 80% at 68% 50%, rgba(127, 176, 255, 0.16), transparent 70%); }
.layer--I1 { background: radial-gradient(50% 60% at 70% 50%, rgba(41, 122, 255, 0.14), transparent 70%), repeating-linear-gradient(0deg, rgba(127, 176, 255, 0.05) 0 1px, transparent 1px 48px), repeating-linear-gradient(90deg, rgba(127, 176, 255, 0.05) 0 1px, transparent 1px 48px); }
.layer--V3 { background: radial-gradient(55% 70% at 70% 48%, rgba(41, 122, 255, 0.28), transparent 70%); }
.layer--V4 { background: radial-gradient(60% 70% at 70% 50%, rgba(255, 255, 255, 0.1), transparent 70%); }
.layer--V5 { background: radial-gradient(70% 60% at 72% 115%, rgba(255, 205, 150, 0.42), transparent 70%); }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px;
  font-size: 11px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
}
.h2 { margin: 0; font-size: clamp(2.4rem, 4.6vw, 4.4rem); font-weight: 300; line-height: 1.04; letter-spacing: -0.035em; }

/* buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 26px; overflow: hidden; isolation: isolate;
  border-radius: 999px; border: 1px solid var(--blue); background: var(--blue); color: #fff;
  font: 400 14.5px/1 var(--sans); cursor: pointer; transition: border-color 500ms var(--ease), color 500ms var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; transform: translateY(101%); border-radius: inherit; transition: transform 600ms var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { color: var(--navy); border-color: #fff; }
.btn i { font-style: normal; transition: transform 500ms var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--navy { background: var(--navy); border-color: var(--navy); }
.btn--navy::before { background: var(--blue); }
.btn--navy:hover { color: #fff; border-color: var(--blue); }
.btn--small { height: 40px; padding: 0 18px; font-size: 13px; }

/* progress + nav */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; }
.progress span { display: block; height: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter); border-bottom: 1px solid transparent; transition: transform 700ms var(--ease), background 600ms, border-color 600ms;
  animation: nav-in 1.2s var(--ease) 0.4s backwards;
}
@keyframes nav-in { from { opacity: 0; transform: translateY(-30px); } }
.nav.is-solid { background: rgba(2, 10, 30, 0.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.is-day .nav.is-solid { background: rgba(246, 248, 252, 0.82); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo img { height: 34px; width: auto; transition: filter 600ms; }
body:not(.is-day) .nav__logo img { filter: brightness(0) invert(1); }
.nav__links { display: flex; gap: 32px; font-size: 13.5px; color: var(--muted); }
.nav__links a { transition: color 300ms; }
.nav__links a:hover { color: var(--ink); }

/* ── hero ── */
/* The stats sit in the hero's flow under the centred copy, so on a short screen they push down instead of overlapping. */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; display: flex; flex-direction: column; padding: 96px 0 36px; }
.hero__inner { position: relative; margin-top: auto; margin-bottom: auto; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(41, 122, 255, 0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(41, 122, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(41, 122, 255, 0); } }
.display { margin: 0 0 30px; max-width: 900px; font-size: clamp(2.6rem, min(6vw, 10.5vh), 6.2rem); font-weight: 300; line-height: 1; letter-spacing: -0.045em; }
.display b { color: var(--ice); font-weight: 600; }
.line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.line > span { display: inline-block; }
.lede { max-width: 520px; margin: 0 0 38px; color: var(--muted); font-size: 16.5px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__kicker {
  position: absolute; left: 0; right: 0; bottom: 16%; margin: 0; text-align: center; opacity: 0; pointer-events: none;
  font-size: clamp(1.6rem, 3vw, 2.8rem); font-weight: 300; letter-spacing: -0.03em;
}
.hero__kicker b { color: var(--ice); }
.hero__meta { position: relative; flex: none; display: flex; gap: 48px; align-items: end; margin-top: 28px; }
.hero__meta div { display: grid; gap: 4px; }
.hero__meta b { font-size: 30px; font-weight: 300; letter-spacing: -0.03em; }
.hero__meta span { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.scroll-cue { margin: 0 0 0 auto; display: flex; align-items: center; gap: 12px; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.scroll-cue span { position: relative; width: 1px; height: 44px; background: var(--line); overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ── manifesto + leader ── */
.manifesto { padding: 30vh 0 24vh; }
.manifesto__text { margin: 0; max-width: 1120px; font-size: clamp(2rem, 4vw, 3.9rem); font-weight: 300; line-height: 1.14; letter-spacing: -0.035em; }
.manifesto__text .w { display: inline-block; }
.manifesto__foot { max-width: 500px; margin: 56px 0 0 auto; color: var(--muted); }
.leader { margin: 22vh 0 0; max-width: 980px; padding-top: 48px; border-top: 1px solid var(--line); }
.leader blockquote { margin: 0 0 32px; font-size: clamp(1.4rem, 2.4vw, 2.3rem); font-weight: 300; line-height: 1.3; letter-spacing: -0.02em; }
.leader blockquote::before { content: "“"; color: var(--blue); }
.leader blockquote::after { content: "”"; color: var(--blue); }
.leader figcaption { display: grid; gap: 2px; font-size: 13px; color: var(--muted); }
.leader figcaption b { color: var(--ink); font-size: 15px; }

/* ── journey ── */
.journey { position: relative; height: 100vh; height: 100svh; }
.journey__inner { position: relative; height: 100%; display: grid; grid-template-columns: minmax(300px, 440px) 1fr auto; grid-template-rows: auto 1fr; padding-top: 110px; padding-bottom: 60px; column-gap: 40px; }
.journey__head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; }
.journey__count { margin: 0; font-size: 12px; letter-spacing: 0.12em; color: var(--muted); }
.journey__count b { color: var(--ink); font-weight: 400; }
.steps { position: relative; display: grid; align-content: center; }
.step { grid-area: 1 / 1; pointer-events: none; }
.step > * { opacity: 0; transform: translateY(36px); transition: opacity 600ms var(--ease), transform 900ms var(--ease); }
.step.is-past > * { transform: translateY(-36px); }
.step.is-active { pointer-events: auto; }
.step.is-active > * { opacity: 1; transform: none; }
.step.is-active > :nth-child(2) { transition-delay: 80ms; }
.step.is-active > :nth-child(3) { transition-delay: 160ms; }
.step h2 { margin: 0 0 20px; font-size: clamp(2.2rem, 3.4vw, 3.4rem); font-weight: 300; line-height: 1.02; letter-spacing: -0.04em; }
.step p { margin: 0 0 28px; color: var(--muted); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.rail { grid-column: 3; grid-row: 2; align-self: center; list-style: none; margin: 0; padding: 0 22px 0 0; display: grid; gap: 26px; justify-items: end; }
.rail li { position: relative; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); transition: color 500ms; }
.rail li::after { content: ""; position: absolute; right: -22px; top: 50%; width: 7px; height: 7px; margin-top: -4px; border-radius: 50%; border: 1px solid var(--line); transition: background 500ms, border-color 500ms, box-shadow 500ms; }
.rail li.is-done::after { background: var(--ice); border-color: var(--ice); }
.rail li.is-active { color: var(--ink); }
.rail li.is-active::after { background: #fff; border-color: #fff; box-shadow: 0 0 0 5px rgba(127, 176, 255, 0.25); }

/* ── finale ── */
.finale { position: relative; height: 100vh; height: 100svh; }
.finale__inner { position: absolute; left: 0; right: 0; bottom: 9vh; text-align: center; display: grid; justify-items: center; }
.finale__title { margin: 0 0 30px; font-size: clamp(2.2rem, 4.4vw, 4.2rem); font-weight: 300; line-height: 1.05; letter-spacing: -0.04em; }
.finale__title b { color: var(--blue); }
.finale .eyebrow { margin-bottom: 16px; }

/* ── daylight ── */
.why { padding: 24vh 0 140px; }
.why__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.why__head { position: sticky; top: 130px; display: grid; gap: 26px; justify-items: start; }
.why__head p { margin: 0; color: var(--muted); max-width: 420px; }
.why__cards { display: grid; gap: 18px; }
.pillar { padding: 40px 42px; border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: transform 800ms var(--ease), box-shadow 800ms var(--ease); }
.pillar:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -30px rgba(0, 60, 144, 0.3); }
.glyph { display: block; width: 46px; height: 60px; }
.glyph svg { width: 100%; height: 100%; }
.pillar h3 { margin: 24px 0 12px; font-size: 1.7rem; font-weight: 400; letter-spacing: -0.03em; }
.pillar p { margin: 0 0 24px; color: var(--muted); }
.pillar ul { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: 14px; color: var(--muted); }
.pillar li::before { content: ""; display: inline-block; width: 14px; height: 1px; margin: 0 12px 4px 0; background: var(--blue); }

.services__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 4vh, 56px); padding: clamp(64px, 12vh, 110px) 0 clamp(32px, 5vh, 80px); overflow: hidden; }
.services__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.services__bar { width: min(320px, 40%); height: 1px; background: var(--line); margin-bottom: 14px; }
.services__bar span { display: block; height: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }
.services__track { display: flex; gap: 20px; padding: 0 var(--gutter); width: max-content; }
.svc { width: clamp(300px, 28vw, 420px); min-height: min(420px, 60vh); padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: #fff; display: flex; flex-direction: column; transition: border-color 600ms var(--ease), box-shadow 600ms var(--ease); }
.svc:hover { border-color: var(--blue); box-shadow: 0 30px 70px -40px rgba(41, 122, 255, 0.45); }
.svc__n { font-size: 13px; letter-spacing: 0.14em; color: var(--accent); }
.svc h3 { margin: auto 0 14px; min-height: 2.16em; font-size: 1.9rem; font-weight: 400; line-height: 1.08; letter-spacing: -0.035em; }
.svc p { margin: 0 0 26px; color: var(--muted); font-size: 15px; }
.svc a { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.svc--cta { background: var(--navy); border-color: var(--navy); color: #fff; justify-content: flex-end; gap: 28px; }
.svc--cta h3 { margin: 0; font-size: 2.3rem; }
.svc--cta a { color: #fff; }

.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 28px 0; }
.marquee__inner { display: flex; align-items: center; gap: 40px; width: max-content; white-space: nowrap; font-size: clamp(1.8rem, 3.6vw, 3.2rem); font-weight: 300; letter-spacing: -0.035em; }
.marquee__inner i { width: 14px; height: 18px; background: var(--blue); clip-path: path("M7 18 L0.6 11.6 A7 7 0 1 1 13.4 11.6 Z"); }
.marquee__inner span:nth-of-type(even) { color: var(--blue); }

/* The Gulf from above, washed almost to white behind the map: a texture, not a second map. */
.markets { position: relative; padding: 180px 0; isolation: isolate; }
.markets::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.35;
  background: url("../assets/img/I2.jpg") center / cover no-repeat;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 50%, #000 30%, transparent 75%); mask-image: radial-gradient(70% 70% at 70% 50%, #000 30%, transparent 75%);
}
.markets__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.stats { margin-top: 56px; }
.stats div { display: grid; grid-template-columns: 130px 1fr; align-items: baseline; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.stats b { font-size: 46px; font-weight: 300; letter-spacing: -0.04em; }
.stats span { color: var(--muted); font-size: 14.5px; }
.map { width: 100%; height: auto; overflow: hidden; }
.map path { vector-effect: non-scaling-stroke; transition: fill 400ms var(--ease), stroke 400ms var(--ease), opacity 400ms var(--ease); }
.map .land { fill: none; stroke: rgba(0, 60, 144, 0.16); stroke-width: 0.6; }
.map .market { fill: rgba(41, 122, 255, 0.06); stroke: var(--navy); stroke-width: 1; cursor: pointer; }
.map .market.is-hot { fill: rgba(41, 122, 255, 0.16); stroke: var(--blue); }
.map .arc { fill: none; stroke: var(--blue); stroke-width: 1.4; stroke-linecap: round; opacity: 0.55; }
.map .arc.is-hot { opacity: 1; stroke-width: 2.2; }
.map .light { fill: var(--blue); opacity: 0; }
.map .pin { cursor: pointer; }
.map .pin__mark { fill: var(--blue); }
.map .pin__mark.is-hub { fill: var(--navy); }
.map .pulse { fill: none; stroke: var(--blue); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.map.is-live .pulse { animation: pin-pulse 2.6s var(--ease) infinite; }
.map g:nth-child(2n) > .pin .pulse { animation-delay: 0.9s; }
@keyframes pin-pulse { 0% { transform: scale(0.4); opacity: 0.7; } 100% { transform: scale(3); opacity: 0; } }
.map text { fill: var(--navy); font: 400 12px var(--sans); letter-spacing: 0.04em; transition: font-weight 300ms; }
.map .pin.is-hot text { font-weight: 600; }

.duo { padding: 0 0 160px; }
.duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.duo__card { display: grid; gap: 20px; align-content: start; min-height: 300px; padding: 42px; border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: border-color 600ms var(--ease); }
.duo__card:hover { border-color: var(--blue); }
.duo__card .eyebrow { margin: 0; }
.duo__card h3 { margin: 0; font-size: clamp(1.6rem, 2.3vw, 2.2rem); font-weight: 300; line-height: 1.15; letter-spacing: -0.03em; }
.duo__card > span { align-self: end; margin-top: 24px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }

.contact { padding: 140px 0; border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; }
.contact__head { display: grid; gap: 26px; align-content: start; }
.contact__head p { margin: 0; color: var(--muted); max-width: 440px; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; }
.offices div { display: grid; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.offices b { font-size: 20px; font-weight: 400; color: var(--navy); margin-bottom: 4px; }
.offices a:hover { color: var(--blue); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 10px; }
.form label > span, .form .field > label { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.form .field { display: grid; gap: 10px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(0, 60, 144, 0.22); border-radius: 0; background: transparent;
  color: var(--navy); font: 300 17px/1.4 var(--sans); outline: none; transition: border-color 400ms var(--ease);
}
.form select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); }
.form [aria-invalid="true"] { border-color: #D92D20; }
.form__end { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__note { margin: 0; font-size: 13px; color: var(--muted); }
.form__status { margin: 0; min-height: 1.2em; color: var(--accent); font-size: 14px; }

/* ── select: a branded listbox. Native select stays as the form value; this is the face. ── */
.select { position: relative; }
.select.is-enhanced > select { display: none; }
.select__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 0; border: 0; border-bottom: 1px solid rgba(0, 60, 144, 0.22); border-radius: 0; background: transparent;
  color: var(--navy); font: 300 17px/1.4 var(--sans); text-align: left; cursor: pointer;
  transition: border-color 400ms var(--ease);
}
.select__trigger:hover { border-color: rgba(0, 60, 144, 0.42); }
.select__trigger:focus-visible { outline-offset: 6px; }
.select.is-open .select__trigger { border-color: var(--blue); }
.select__value {
  display: block; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font: inherit; letter-spacing: 0; text-transform: none;
}
.select__trigger.is-placeholder .select__value { color: var(--muted); }
.select__chev {
  width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 380ms var(--ease), color 380ms var(--ease);
}
.select.is-open .select__chev { transform: rotate(180deg); color: var(--blue); }

.select__panel {
  position: absolute; z-index: 60; top: calc(100% + 9px); left: 0; right: 0;
  max-height: min(460px, 58vh); overflow-y: auto; overscroll-behavior: contain;
  padding: 8px; border: 1px solid rgba(0, 60, 144, 0.1); border-radius: 18px; background: #fff;
  box-shadow: 0 30px 70px -32px rgba(2, 10, 30, 0.38), 0 8px 22px -14px rgba(2, 10, 30, 0.16);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(0.992); transform-origin: 50% 0;
  transition: opacity 220ms var(--ease), transform 340ms var(--ease), visibility 0s linear 340ms;
  scrollbar-width: thin; scrollbar-color: rgba(0, 60, 144, 0.22) transparent;
}
.select.is-open .select__panel {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 240ms var(--ease), transform 380ms var(--ease), visibility 0s;
}
.select__panel::-webkit-scrollbar { width: 8px; }
.select__panel::-webkit-scrollbar-thumb { background: rgba(0, 60, 144, 0.18); border-radius: 999px; border: 2px solid #fff; }
.select__group + .select__group { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(0, 60, 144, 0.07); }
.select__group-label {
  margin: 0; padding: 10px 14px 5px; color: var(--muted);
  font: 400 9.5px/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
}
.select__option {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 11px 14px; border-radius: 10px; color: var(--navy); cursor: pointer;
  font: 300 15.5px/1.4 var(--sans);
  transition: background 220ms var(--ease), padding-left 280ms var(--ease), color 220ms var(--ease);
}
.select__option::before {
  content: ""; position: absolute; left: 6px; top: 50%; width: 2px; height: 15px; margin-top: -7.5px;
  border-radius: 2px; background: var(--blue); transform: scaleY(0); transform-origin: 50% 50%;
  transition: transform 300ms var(--ease);
}
.select__option.is-active, .select__option:hover { background: rgba(0, 60, 144, 0.045); padding-left: 20px; }
.select__option.is-active::before { transform: scaleY(1); }
.select__option.is-selected { font-weight: 400; }
.select__tick {
  width: 14px; height: 14px; flex: none; fill: none; stroke: var(--blue); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 18; stroke-dashoffset: 18; opacity: 0;
  transition: stroke-dashoffset 420ms var(--ease) 80ms, opacity 200ms linear;
}
.select__option.is-selected .select__tick { stroke-dashoffset: 0; opacity: 1; }
.select.is-open .select__group-label, .select.is-open .select__option {
  animation: select-rise 420ms var(--ease) both;
  animation-delay: calc(var(--i, 0) * 24ms);
}
@keyframes select-rise { from { opacity: 0; transform: translateY(7px); } }

.foot { border-top: 1px solid var(--line); padding: 34px 0; font-size: 13px; color: var(--muted); }
.foot__grid { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot img { height: 44px; width: auto; }

/* Before (or without) the scroll script: daylight sections read as day, and every journey step shows, stacked. */
html:not(.js) .day { --ink: #003C90; --muted: #5F6068; --accent: #1F63D6; --line: rgba(0, 60, 144, 0.14); background: var(--day); color: var(--ink); }
html:not(.js) .journey { height: auto; }
html:not(.js) .step { grid-area: auto; margin-bottom: 64px; }
html:not(.js) .step > * { opacity: 1; transform: none; }

/* reveals: hidden only once the script says it will reveal them */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }

/* ── small screens: must not break ── */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .journey__inner { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .steps { align-content: end; }
  .rail { display: none; }
  .why__grid, .markets__grid, .contact__grid, .duo__grid { grid-template-columns: 1fr; gap: 40px; }
  .why__head { position: static; }
  .services__pin { min-height: 0; }
  .services__track { flex-direction: column; width: auto; }
  .svc { width: 100%; min-height: 0; }
  .svc h3 { margin-top: 36px; }
  .form, .offices { grid-template-columns: 1fr; }
  .hero__meta { gap: 24px; }
  .hero__meta b { font-size: 22px; }
  .scroll-cue { display: none; }
  .stats div { grid-template-columns: 90px 1fr; }
  .stats b { font-size: 36px; }
  .pillar, .duo__card { padding: 30px 24px; }
}
/* short laptop screens: tighten the hero so copy, buttons and stats share one screen */
@media (min-width: 961px) and (max-height: 760px) {
  .hero { padding-top: 84px; padding-bottom: 28px; }
  .hero .eyebrow { margin-bottom: 16px; }
  .display { margin-bottom: 20px; }
  .lede { margin-bottom: 24px; font-size: 15px; }
  .hero__meta { margin-top: 20px; }
  .hero__meta b { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}
