/* Digital Stacks Technology — site styles
   Palette and type are defined once here; every page shares this file. */

/* Colors and type come straight from the Digital Stacks logo kit (logo-full-on-dark-bg). */
:root {
  --night: #0E1726;      /* logo navy: the page */
  --deep: #09101C;       /* a step below navy, for the sphere's shadow side */
  --deck: #142036;       /* raised surfaces */
  --deck-2: #1A2842;
  --rule: #24314A;       /* hairlines */
  --paper: #FFFFFF;      /* wordmark white */
  --fog: #A3AEC2;        /* TECHNOLOGY grey on dark */
  --cobalt: #2F6BFF;     /* logo top bar, the only accent */
  --cobalt-hi: #7FA3FF;  /* the same blue, lifted for small text on navy */
  --cobalt-glow: rgba(47, 107, 255, 0.35);

  --font: "Sora", system-ui, sans-serif;
  --blackletter: "UnifrakturMaguntia", serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cobalt-hi); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--cobalt); color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type scale ---------- */
.display { font-size: clamp(44px, 7.4vw, 112px); line-height: 0.96; letter-spacing: -0.035em; font-weight: 700; margin: 0; }
.h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 700; margin: 0; }
.h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -0.015em; font-weight: 600; margin: 0; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--fog); max-width: 58ch; margin: 0; }
.muted { color: var(--fog); }

/* Section kicker: the staggered three-bar mark + a plain sentence-case word, like Auros's small section labels */
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--fog); margin: 0 0 22px; }
.kicker .mark { display: grid; gap: 2px; width: 18px; }
.kicker .mark i { display: block; width: 13px; height: 3px; border-radius: 1px; background: var(--paper); }
.kicker .mark i:nth-child(2) { margin-left: 2px; }
.kicker .mark i:nth-child(3) { margin-left: 4px; }
.kicker .mark i:first-child { background: var(--cobalt); }

/* ---------- buttons (rectangular, small radius) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: var(--radius); font-weight: 600; font-size: 16px; letter-spacing: -0.005em; border: 1px solid transparent; cursor: pointer; transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.btn-primary { background: var(--cobalt); color: #fff; }
.btn-primary:hover { background: #4A7DFF; }
.btn-ghost { border-color: rgba(255,255,255, 0.28); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn .chev { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.btn:hover .chev { transform: translateX(3px); }

.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 3px; transition: border-color .2s; }
.textlink:hover { border-color: var(--cobalt-hi); }

/* ---------- logo: the final kit's logo-full-on-dark-bg lockup ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; line-height: 1; color: var(--paper); }
.logo .mark { width: 40px; height: 40px; flex: none; }
.logo .word { display: inline-flex; flex-direction: column; gap: 6px; }
.logo .name { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.logo .name b { font-family: var(--blackletter); font-weight: 400; font-size: 1.35em; letter-spacing: 0; line-height: 0.8; }
/* TECHNOLOGY spans the wordmark's full width, letter by letter, as in the kit */
.logo .tech { display: flex; justify-content: space-between; font-size: 6.5px; font-weight: 600; color: var(--fog); line-height: 1; margin-left: 0.55px; }
.logo-lg .mark { width: 64px; height: 64px; }
.logo-lg .name { font-size: 34px; }
.logo-lg .tech { font-size: 10.5px; margin-left: 0.9px; }
.logo-lg .word { gap: 9px; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .35s var(--ease), border-color .35s var(--ease); border-bottom: 1px solid transparent; }
.site-header.is-solid { background: rgba(14,23,38, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a.link { font-size: 15.5px; font-weight: 500; color: rgba(255,255,255,.82); position: relative; padding: 6px 0; }
.nav a.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--cobalt-hi); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a.link:hover, .nav a.link[aria-current="page"] { color: var(--paper); }
.nav a.link:hover::after, .nav a.link[aria-current="page"]::after { transform: scaleX(1); }
/* Text button, so it never reads as a second copy of the three-bar logo */
.menu-btn { display: none; position: relative; z-index: 60; height: 40px; padding: 0 16px; background: none; border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius); font-size: 15px; font-weight: 600; cursor: pointer; }
.menu-btn .close-label { display: none; }
.menu-open .menu-btn .open-label { display: none; }
.menu-open .menu-btn .close-label { display: inline; }

.drawer { position: fixed; inset: 0; z-index: 40; background: var(--night); padding: 110px var(--gutter) 32px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.drawer a.big { font-size: 38px; font-weight: 700; letter-spacing: -0.03em; padding: 10px 0; border-bottom: 1px solid var(--rule); transform: translateY(14px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease); }
.drawer .btn { margin-top: auto; }
.menu-open .drawer { opacity: 1; visibility: visible; }
.menu-open .drawer a.big { transform: none; opacity: 1; }
.menu-open .drawer a.big:nth-child(2) { transition-delay: .04s; }
.menu-open .drawer a.big:nth-child(3) { transition-delay: .08s; }
.menu-open .drawer a.big:nth-child(4) { transition-delay: .12s; }
.menu-open .drawer a.big:nth-child(5) { transition-delay: .16s; }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: block; }
}

/* ---------- intro loader: the logo bars assemble ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--night); display: grid; place-items: center; transition: opacity .6s var(--ease) .1s, visibility .6s .1s; }
/* Same geometry as the mark: 40x10 bars, rx 3, each row shifted 6 units right (scaled x3) */
.loader .stack { display: grid; gap: 15px; width: 138px; }
.loader .stack i { display: block; width: 120px; height: 30px; border-radius: 9px; background: var(--paper); opacity: 0; animation: bar-in .7s var(--ease) forwards; }
.loader .stack i:nth-child(1) { background: var(--cobalt); animation-delay: .32s; --from: translateX(60vw); }
.loader .stack i:nth-child(2) { margin-left: 18px; animation-delay: .16s; --from: translateX(-60vw); }
.loader .stack i:nth-child(3) { margin-left: 36px; animation-delay: 0s; --from: translateX(60vw); }
@keyframes bar-in { from { transform: var(--from); opacity: 0; } to { transform: none; opacity: 1; } }
.is-ready .loader { opacity: 0; visibility: hidden; }
.no-loader .loader { display: none; }

/* ---------- hero: Auros layout (centered copy, a particle sphere rising beneath it) ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--night); }
.hero-copy { position: relative; z-index: 2; text-align: center; padding-top: clamp(96px, 15vh, 200px); display: flex; flex-direction: column; align-items: center; }
.hero-brand { margin: 0 0 22px; line-height: 0; }
.hero-brand svg { display: block; filter: drop-shadow(0 0 22px rgba(47,107,255,.45)); }
.facts dd a, .foot-grid address a { color: var(--paper); border-bottom: 1px solid rgba(127,163,255,.5); }
.facts dd a:hover, .foot-grid address a:hover { color: var(--cobalt-hi); }
.hero h1 { font-size: clamp(30px, min(4.3vw, 8.5vh), 64px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; margin: 0; }
@media (min-width: 900px) { .hero h1 .line { white-space: nowrap; } }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero h1 .line > span { display: block; transform: translateY(110%); }
.hero .lede { margin-top: 24px; color: var(--fog); max-width: 46ch; text-align: center; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.hero .lede, .hero-actions, .hero-brand { opacity: 0; transform: translateY(12px); }
.is-ready .hero h1 .line > span { animation: rise 1s var(--ease) forwards; }
.is-ready .hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.is-ready .hero-brand { animation: fade-up .9s var(--ease) forwards; }
.is-ready .hero .lede { animation: fade-up .9s var(--ease) .35s forwards; }
.is-ready .hero-actions { animation: fade-up .9s var(--ease) .5s forwards; }
@keyframes rise { to { transform: none; } }
@keyframes fade-up { to { opacity: 1; transform: none; } }

/* The sphere's stage sits under the copy and overlaps it, so its crown shows in the first screen */
.sphere-stage { position: relative; z-index: 1; height: clamp(420px, 61.5vw, 795px); }
.sphere-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.6s var(--ease) .2s;
  /* fade the canvas edge so the glow never shows a seam against the page */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 36px, #000 100%); mask-image: linear-gradient(180deg, transparent 0, #000 36px, #000 100%); }
/* short screens (laptops, preview panes): drop the mark above the headline so the sphere shows in the first view */
@media (max-height: 760px) and (min-width: 641px) { .hero-brand { display: none; } .hero .lede { margin-top: 16px; } .hero-actions { margin-top: 24px; } }
.is-ready .sphere-stage canvas { opacity: 1; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; z-index: 1; background: linear-gradient(0deg, var(--night), rgba(14,23,38,0)); pointer-events: none; }
.sphere-legend { position: absolute; z-index: 3; left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); bottom: clamp(48px, 9vw, 120px); display: grid; gap: 10px; font-size: 13px; color: var(--fog); }
.sphere-legend span { display: inline-flex; align-items: center; gap: 10px; }
.sphere-legend i { width: 7px; height: 7px; border-radius: 1px; background: var(--paper); opacity: .7; }
.sphere-legend span:nth-child(2) i { background: var(--cobalt-hi); opacity: 1; }
.sphere-legend span:nth-child(3) i { width: 16px; height: 1px; background: var(--cobalt-hi); opacity: 1; }

@media (max-width: 640px) {
  .hero h1 { font-size: clamp(28px, 8.4vw, 40px); }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; }
  .sphere-stage { height: 96vw; }
  .sphere-legend { display: none; }
}

/* ---------- statement band: Build / Acquire / Operate ---------- */
.statement { padding: clamp(90px, 13vw, 180px) 0 clamp(70px, 10vw, 140px); }
.statement .we { font-size: clamp(56px, 11vw, 168px); line-height: 0.9; letter-spacing: -0.045em; font-weight: 800; margin: 0; display: flex; flex-wrap: wrap; column-gap: 0.22em; }
.cycler { position: relative; display: inline-block; height: 0.98em; overflow: hidden; vertical-align: bottom; color: var(--cobalt-hi); }
.cycler span { display: block; transition: transform .8s var(--ease), opacity .8s var(--ease); }
.cycler span:not(.is-on) { position: absolute; left: 0; top: 0; transform: translateY(100%); opacity: 0; }
.cycler span.is-out { transform: translateY(-100%); opacity: 0; }
.statement .lede { margin-top: clamp(28px, 3vw, 44px); font-size: clamp(20px, 1.8vw, 26px); color: var(--paper); max-width: 34ch; line-height: 1.35; }
.statement .lede .muted { color: var(--fog); }

/* ---------- explore cards ---------- */
.section { padding: clamp(80px, 10vw, 150px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 60px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .lede { max-width: 44ch; }

.explore-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.xcard { position: relative; display: flex; flex-direction: column; min-height: 520px; border-radius: 10px; overflow: hidden; background: var(--deck); isolation: isolate; }
.xcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.xcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,23,38,0) 30%, rgba(14,23,38,.9) 78%); }
.xcard:hover img { transform: scale(1.04); }
.xcard .body { margin-top: auto; padding: 26px 24px 24px; }
.xcard h3 { margin-bottom: 10px; }
.xcard p { margin: 0 0 20px; color: rgba(255,255,255,.74); font-size: 15.5px; line-height: 1.5; }
.xcard .more { font-size: 15px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.xcard .more svg { transition: transform .3s var(--ease); }
.xcard:hover .more svg { transform: translateX(4px); }
@media (max-width: 1100px) { .explore-grid { grid-template-columns: repeat(2, 1fr); } .xcard { min-height: 440px; } }
@media (max-width: 600px) { .explore-grid { grid-template-columns: 1fr; } .xcard { min-height: 380px; } }

/* ---------- video band: inset frame that opens to full bleed on scroll ---------- */
.reel { position: relative; height: 170vh; }
.reel-sticky { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.reel-frame { position: relative; width: 100%; height: 100%; clip-path: inset(var(--inset-y, 18%) var(--inset-x, 14%) round var(--inset-r, 14px)); will-change: clip-path; }
.reel-frame video, .reel-frame img { width: 100%; height: 100%; object-fit: cover; }
.reel-caption { position: absolute; left: 0; right: 0; bottom: clamp(28px, 6vh, 64px); z-index: 2; }
.reel-caption p { margin: 0; font-size: clamp(24px, 2.6vw, 38px); font-weight: 600; letter-spacing: -0.02em; max-width: 22ch; opacity: var(--cap, 0); transform: translateY(calc((1 - var(--cap, 0)) * 16px)); }
.reel-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,23,38,.8), rgba(14,23,38,0) 45%); }

/* ---------- stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.stat { padding: 34px 28px 10px 0; border-right: 1px solid var(--rule); }
.stat + .stat { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat .num { font-size: clamp(54px, 6vw, 92px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; display: block; }
.stat .num.pending { color: rgba(255,255,255,.22); }
.stat .label { display: block; margin-top: 16px; color: var(--fog); font-size: 15.5px; }
.stat .note { display: block; margin-top: 6px; color: var(--cobalt-hi); font-size: 13px; font-weight: 500; }
.stats-close { margin-top: 56px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.02em; max-width: 30ch; }
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 28px 18px 24px 0; border-bottom: 1px solid var(--rule); }
  .stat:nth-child(2n) { border-right: 0; padding-left: 18px; }
  .stat:nth-child(2n+1) { padding-left: 0; }
}

/* ---------- products ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.principle { padding: 32px 32px 0 0; }
.principle + .principle { padding-left: 32px; border-left: 1px solid var(--rule); }
.principle h3 { margin-bottom: 12px; }
.principle p { margin: 0; color: var(--fog); }
.stealth { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.scard { position: relative; border-radius: 10px; overflow: hidden; min-height: 300px; background: var(--deck); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; isolation: isolate; }
.scard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: blur(14px) saturate(1.1) brightness(.75); transform: scale(1.15); }
.scard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,23,38,.1), rgba(14,23,38,.85)); }
.scard .status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--cobalt-hi); font-weight: 600; margin-bottom: 10px; }
.scard .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt-hi); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.scard p { margin: 8px 0 0; color: rgba(255,255,255,.72); font-size: 15.5px; max-width: 34ch; }
@media (max-width: 900px) { .principles { grid-template-columns: 1fr; } .principle, .principle + .principle { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--rule); } .stealth { grid-template-columns: 1fr; } }

/* ---------- category ticker ---------- */
.ticker { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); overflow: hidden; padding: 26px 0; }
.ticker-track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: inline-flex; align-items: center; gap: 40px; padding-right: 40px; font-size: clamp(26px, 3vw, 44px); font-weight: 700; letter-spacing: -0.03em; color: rgba(255,255,255,.9); white-space: nowrap; }
.ticker-track span::after { content: ""; width: 28px; height: 6px; background: var(--cobalt); border-radius: 1px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- acquisitions ---------- */
.acq { background: linear-gradient(180deg, var(--night), #0B1322 30%, var(--night)); }
.acq-top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: end; margin-bottom: clamp(56px, 7vw, 100px); }
.acq-figure { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; }
.acq-figure img { width: 100%; height: 100%; object-fit: cover; }
.hold { margin-top: 32px; padding: 22px 24px; border-left: 3px solid var(--cobalt); background: var(--deck); border-radius: 0 var(--radius) var(--radius) 0; }
.hold strong { display: block; font-size: 19px; margin-bottom: 4px; }
.hold span { color: var(--fog); }
.caps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.cap { background: var(--deck); border: 1px solid var(--rule); border-radius: 8px; padding: 26px 22px; transition: border-color .3s var(--ease), background .3s var(--ease); }
.cap:hover { border-color: rgba(127,163,255,.5); background: var(--deck-2); }
.cap svg { width: 30px; height: 30px; color: var(--cobalt-hi); margin-bottom: 26px; }
.cap h3 { font-size: 20px; margin-bottom: 10px; }
.cap p { margin: 0; color: var(--fog); font-size: 15px; line-height: 1.5; }
@media (max-width: 1100px) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .acq-top { grid-template-columns: 1fr; } .acq-figure { aspect-ratio: 16 / 11; } }
@media (max-width: 560px) { .caps { grid-template-columns: 1fr; } }

/* lifecycle timeline: a line that draws across as it enters view */
.lifecycle { margin-top: clamp(80px, 9vw, 130px); }
.lifecycle .h3 { margin-bottom: 40px; }
.stages { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding-top: 34px; }
.stages::before, .stages::after { content: ""; position: absolute; top: 6px; left: 0; height: 1px; }
.stages::before { right: 0; background: var(--rule); }
.stages::after { width: 100%; background: var(--cobalt); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease); }
.stages.in-view::after { transform: scaleX(1); }
.stage { position: relative; }
.stage::before { content: ""; position: absolute; top: -34px; left: 0; width: 13px; height: 13px; border-radius: 2px; background: var(--night); border: 1px solid var(--fog); transition: background .4s, border-color .4s; }
.stages.in-view .stage::before { background: var(--cobalt); border-color: var(--cobalt); }
.stages.in-view .stage:nth-child(2)::before { transition-delay: .35s; }
.stages.in-view .stage:nth-child(3)::before { transition-delay: .7s; }
.stages.in-view .stage:nth-child(4)::before { transition-delay: 1.05s; }
.stages.in-view .stage:nth-child(5)::before { transition-delay: 1.4s; }
.stage h4 { margin: 0 0 10px; font-size: 21px; letter-spacing: -0.015em; }
.stage p { margin: 0; color: var(--fog); font-size: 15px; line-height: 1.5; }
.stage p b { color: var(--paper); font-weight: 600; }
@media (max-width: 960px) {
  .stages { grid-template-columns: 1fr; padding-top: 0; padding-left: 34px; gap: 32px; }
  .stages::before, .stages::after { top: 0; left: 6px; width: 1px; height: auto; bottom: 0; }
  .stages::after { height: 100%; transform: scaleY(0); transform-origin: top; }
  .stages.in-view::after { transform: scaleY(1); }
  .stage::before { top: 4px; left: -34px; }
}

.model { margin-top: clamp(80px, 9vw, 130px); display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 100px); }
.model-list { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.model-list div { padding: 24px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.model-list b { font-size: 18px; font-weight: 600; }
.model-list span { color: var(--fog); }
@media (max-width: 900px) { .model { grid-template-columns: 1fr; } .model-list div { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- presence: Chicago ---------- */
.presence { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.city { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.city img { width: 100%; height: 100%; object-fit: cover; }
.city svg.arcs { position: absolute; inset: 0; width: 100%; height: 100%; }
.city .arc { fill: none; stroke: var(--cobalt-hi); stroke-width: 1.4; stroke-dasharray: 6 10; animation: dash 3.6s linear infinite; opacity: .85; }
.city .arc:nth-child(2) { animation-duration: 4.4s; }
.city .arc:nth-child(3) { animation-duration: 5.2s; }
@keyframes dash { to { stroke-dashoffset: -64; } }
.city .pin { position: absolute; left: 47%; top: 58%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 0 var(--cobalt-glow); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(47,107,255,.6); } 100% { box-shadow: 0 0 0 28px rgba(47,107,255,0); } }
.city .tag { position: absolute; left: 20px; bottom: 18px; background: rgba(14,23,38,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--rule); border-radius: var(--radius); padding: 12px 16px; font-size: 14px; line-height: 1.4; }
.city .tag b { display: block; font-size: 15px; }
.clock { font-variant-numeric: tabular-nums; color: var(--cobalt-hi); }
.facts { margin: 36px 0 34px; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.facts div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--fog); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
@media (max-width: 900px) { .presence { grid-template-columns: 1fr; } }

/* ---------- team ---------- */
.team-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.team-figure { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 600px; }
.team-figure img { width: 100%; height: 100%; object-fit: cover; }
.person { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; }
.avatar { width: 64px; height: 64px; border-radius: 8px; background: var(--deck-2); border: 1px solid var(--rule); display: grid; place-items: center; font-weight: 700; font-size: 22px; color: var(--cobalt-hi); }
.person b { display: block; font-size: 19px; }
.person span { display: block; color: var(--fog); font-size: 15px; margin-top: 2px; }
.person p { margin: 12px 0 0; color: rgba(255,255,255,.8); font-size: 15.5px; }
@media (max-width: 900px) { .team-row { grid-template-columns: 1fr; } .team-figure { aspect-ratio: 16/11; } }

/* ---------- insights ---------- */
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.icard { display: flex; flex-direction: column; background: var(--deck); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
.icard .thumb { aspect-ratio: 3 / 2; overflow: hidden; }
.icard .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.icard:hover .thumb img { transform: scale(1.04); }
.icard .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.icard .topic { font-size: 14px; color: var(--cobalt-hi); font-weight: 600; margin-bottom: 12px; }
.icard h3 { font-size: 22px; margin-bottom: 12px; }
.icard p { margin: 0 0 24px; color: var(--fog); font-size: 15.5px; }
.icard .when { margin-top: auto; font-size: 14px; color: var(--fog); }
@media (max-width: 960px) { .insight-grid { grid-template-columns: 1fr; } }

/* ---------- closing CTA ---------- */
.closing { position: relative; overflow: hidden; padding: clamp(110px, 14vw, 200px) 0; border-top: 1px solid var(--rule); isolation: isolate; }
.closing .glow { position: absolute; z-index: -1; right: -10%; top: 50%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; transform: translateY(-50%); background: radial-gradient(closest-side, rgba(47,107,255,.28), rgba(47,107,255,0)); }
/* Closing band: the Higgsfield glass-stack film fills the right side behind the copy */
.closing-media { position: absolute; z-index: -2; inset: 0 0 0 38%; }
.closing-media video, .closing-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.closing-media video { opacity: 0; transition: opacity 1.4s var(--ease); }
.closing-media video.is-playing { opacity: 1; }
.closing::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--night) 34%, rgba(14,23,38,.55) 62%, rgba(14,23,38,.1)); }
.closing .h2 { max-width: 13ch; margin-bottom: 20px; }
.closing .lede { margin-bottom: 36px; max-width: 40ch; }
@media (max-width: 700px) {
  .closing-media { inset: 0; opacity: .45; }
  .closing::after { background: linear-gradient(0deg, var(--night) 20%, rgba(14,23,38,.6)); }
}

/* Team: disciplines, no individual names */
.disciplines { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--rule); margin-top: 36px; }
.disciplines div { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--rule); }
.disciplines div:nth-child(2n) { padding-left: 22px; border-left: 1px solid var(--rule); }
.disciplines b { display: block; font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.disciplines span { color: var(--fog); font-size: 15px; }
@media (max-width: 560px) { .disciplines { grid-template-columns: 1fr; } .disciplines div:nth-child(2n) { padding-left: 0; border-left: 0; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--rule); padding: 64px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { margin: 0 0 16px; font-size: 15px; color: var(--fog); font-weight: 500; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a:hover { color: var(--cobalt-hi); }
.foot-grid address { font-style: normal; color: var(--fog); margin-top: 18px; font-size: 15px; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--fog); font-size: 14px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- inner page hero (careers, contact, legal) ---------- */
.page-hero { position: relative; padding: 190px 0 clamp(70px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.page-hero.has-media { min-height: 78svh; display: flex; align-items: flex-end; }
.page-hero .media { position: absolute; inset: 0; z-index: -2; }
.page-hero .media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-media::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,23,38,.94), rgba(14,23,38,.55) 60%, rgba(14,23,38,.2)), linear-gradient(0deg, var(--night), rgba(14,23,38,0) 40%); }
.page-hero .display { font-size: clamp(44px, 6.4vw, 96px); max-width: 13ch; }
.page-hero .lede { margin-top: 28px; color: rgba(255,255,255,.78); }
.page-hero .hero-actions { margin-top: 36px; }
.page-hero .reveal > * { opacity: 0; transform: translateY(16px); }
.is-ready .page-hero .reveal > * { animation: fade-up .9s var(--ease) forwards; }
.is-ready .page-hero .reveal > *:nth-child(2) { animation-delay: .12s; }
.is-ready .page-hero .reveal > *:nth-child(3) { animation-delay: .24s; }
.is-ready .page-hero .reveal > *:nth-child(4) { animation-delay: .36s; }

/* careers */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.proof { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.proof div { padding: 22px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.proof svg { width: 22px; height: 22px; color: var(--cobalt-hi); margin-top: 3px; }
.proof b { display: block; font-size: 18px; margin-bottom: 4px; }
.proof span { color: var(--fog); }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }

.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ccard { border-radius: 10px; overflow: hidden; background: var(--deck); border: 1px solid var(--rule); }
.ccard .img { aspect-ratio: 4 / 3; overflow: hidden; }
.ccard img { width: 100%; height: 100%; object-fit: cover; }
.ccard .body { padding: 24px; }
.ccard h3 { font-size: 22px; margin-bottom: 10px; }
.ccard p { margin: 0; color: var(--fog); }
@media (max-width: 960px) { .culture-grid { grid-template-columns: 1fr; } }

.roles { border-top: 1px solid var(--rule); }
.role { border-bottom: 1px solid var(--rule); }
.role summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto auto 40px; gap: 24px; align-items: center; padding: 30px 0; }
.role summary::-webkit-details-marker { display: none; }
.role summary h3 { font-size: clamp(22px, 2.2vw, 30px); }
.role summary .meta { color: var(--fog); font-size: 15px; white-space: nowrap; }
.role summary .plus { width: 40px; height: 40px; border: 1px solid var(--rule); border-radius: var(--radius); display: grid; place-items: center; transition: transform .35s var(--ease), border-color .3s, background .3s; }
.role summary:hover .plus { border-color: var(--cobalt-hi); }
.role[open] summary .plus { transform: rotate(45deg); background: var(--cobalt); border-color: var(--cobalt); }
.role .content { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; padding: 0 0 44px; }
.role .content .intro { grid-column: 1 / -1; color: rgba(255,255,255,.85); max-width: 72ch; margin: 0; }
.role h4 { margin: 0 0 12px; font-size: 16px; font-weight: 600; }
.role ul { margin: 0; padding-left: 18px; color: var(--fog); display: grid; gap: 8px; font-size: 15.5px; }
.role ul li::marker { color: var(--cobalt-hi); }
.role .apply { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.role .apply small { color: var(--fog); }
@media (max-width: 760px) {
  .role summary { grid-template-columns: 1fr 40px; gap: 6px 16px; }
  .role summary .meta { grid-column: 1; grid-row: 2; }
  .role summary .meta + .meta { grid-row: 3; }
  .role summary .plus { grid-column: 2; grid-row: 1 / span 3; }
  .role .content { grid-template-columns: 1fr; }
}

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps div { background: var(--deck); border: 1px solid var(--rule); border-radius: 8px; padding: 24px; }
.steps b { display: block; font-size: 19px; margin-bottom: 8px; }
.steps span { color: var(--fog); font-size: 15.5px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.faq { border-top: 1px solid var(--rule); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 19px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--fog); border-bottom: 2px solid var(--fog); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq p { margin: 0 0 24px; color: var(--fog); max-width: 70ch; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(40px, 6vw, 100px); }
.topics { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; border: 0; padding: 0; }
.topics legend { font-weight: 600; margin-bottom: 14px; }
.topics label { position: relative; }
.topics input { position: absolute; opacity: 0; }
.topics span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border: 1px solid var(--rule); border-radius: var(--radius); cursor: pointer; color: var(--fog); font-weight: 500; transition: all .2s; }
.topics input:checked + span { border-color: var(--cobalt); color: var(--paper); background: rgba(47,107,255,.14); }
.topics input:focus-visible + span { outline: 2px solid var(--cobalt-hi); outline-offset: 3px; }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 15px; font-weight: 500; }
.field input, .field textarea, .field select { width: 100%; background: var(--deck); border: 1px solid var(--rule); border-radius: var(--radius); color: var(--paper); font: inherit; padding: 14px 16px; transition: border-color .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--cobalt-hi); }
.field .err { color: #ff8a8a; font-size: 14px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #ff8a8a; }
.field.invalid .err { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.sent { display: none; padding: 32px; border: 1px solid var(--cobalt); border-radius: 10px; background: rgba(47,107,255,.08); }
.sent h3 { margin-bottom: 8px; }
.form.is-sent form { display: none; }
.form.is-sent .sent { display: block; }
.side dl { margin: 0; border-top: 1px solid var(--rule); }
.side dl div { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.side dt { color: var(--fog); font-size: 14px; margin-bottom: 6px; }
.side dd { margin: 0; font-weight: 500; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }

/* legal */
.legal { max-width: 760px; }
.legal h2 { font-size: 30px; letter-spacing: -0.02em; margin: 56px 0 16px; }
.legal h3 { font-size: 19px; margin: 32px 0 8px; }
.legal p, .legal li { color: rgba(255,255,255,.8); }
.draft { display: inline-block; border: 1px solid var(--cobalt); color: var(--cobalt-hi); border-radius: var(--radius); padding: 6px 12px; font-size: 14px; font-weight: 600; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .loader { display: none; }
  .hero-bars i, .hero h1 .line > span, .hero-foot, .page-hero .reveal > * { transform: none !important; opacity: 1 !important; }
  .ticker-track { animation: none; }
  .reel { height: auto; }
  .reel-sticky { position: relative; height: 80svh; }
  .reel-frame { clip-path: none; }
  .reel-caption p { opacity: 1; transform: none; }
}

/* ---------- Drawn card art (built from the logo's bars; no external images) ---------- */
.art { position: absolute; z-index: -1; left: 22px; right: 22px; top: 26px; height: 56%; display: grid; place-items: center; }
.art svg { width: 100%; height: 100%; overflow: visible; }
.xcard { background: radial-gradient(120% 70% at 50% 0%, rgba(47,107,255,.22), rgba(47,107,255,0) 70%), var(--deck); }
.xcard::after { background: linear-gradient(180deg, rgba(14,23,38,0) 45%, rgba(14,23,38,.85) 85%); }
.scard { justify-content: flex-start; gap: 0; background: radial-gradient(110% 80% at 50% 0%, rgba(47,107,255,.18), rgba(47,107,255,0) 70%), var(--deck); border: 1px solid var(--rule); }
.scard::after { display: none; }
.art-sm { position: static; height: 140px; margin-bottom: 34px; }
.scard h3 { margin-top: auto; }

.f-blue { fill: var(--cobalt); }
.f-blue2 { fill: rgba(47,107,255,.38); }
.f-white { fill: var(--paper); }
.f-dim { fill: rgba(255,255,255,.3); }
.f-faint { fill: rgba(255,255,255,.07); }
.s-frame { stroke: rgba(255,255,255,.2); stroke-width: 1.4; fill: none; }
.f-deck { fill: var(--deck-2); }
.s-line { stroke: rgba(127,163,255,.55); stroke-width: 1.3; fill: none; }
.s-faint { stroke: rgba(255,255,255,.1); stroke-width: 1; fill: none; }
.s-blue { stroke: var(--cobalt-hi); stroke-width: 1.6; fill: none; }
.s-dash { stroke-dasharray: 6 6; }
.s-icon { stroke: var(--cobalt-hi); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* gentle idle motion, plus a little more on hover */
.bob { animation: bob 3.2s var(--ease) infinite alternate; }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(12px); } }
.pulse { stroke-dasharray: 4 6; animation: flow 2.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -40; } }
.blink { animation: blink 3s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes blink { 50% { opacity: .45; } }
.slide-bars rect { transition: transform .5s var(--ease); }
.xcard:hover .slide-bars rect:nth-child(1) { transform: translateX(-6px); }
.xcard:hover .slide-bars rect:nth-child(3) { transform: translateX(6px); }
.tile { transition: transform .4s var(--ease); transform-box: fill-box; transform-origin: center; }
.xcard:hover .tile { transform: scale(1.06); }
.grow { transform-box: fill-box; transform-origin: bottom; animation: grow-up 1.2s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes grow-up { from { transform: scaleY(.15); } to { transform: none; } }
.scard:hover .grow { animation: grow-up 1s var(--ease) both; animation-delay: var(--d, 0s); }

/* Behind every photo: a branded backdrop, so a photo that can't load still looks intentional */
.acq-figure, .city, .team-figure, .icard .thumb, .ccard .img, .page-hero .media {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='6' y='12' width='40' height='10' rx='3' fill='%232F6BFF' fill-opacity='.55'/%3E%3Crect x='12' y='27' width='40' height='10' rx='3' fill='%23ffffff' fill-opacity='.12'/%3E%3Crect x='18' y='42' width='40' height='10' rx='3' fill='%23ffffff' fill-opacity='.12'/%3E%3C/svg%3E") center / 38% no-repeat,
    radial-gradient(90% 70% at 30% 20%, rgba(47,107,255,.32), rgba(47,107,255,0) 70%),
    var(--deck);
}

/* =====================================================================
   Homepage v2: Our approach, Our philosophy, Let's talk (menu-matched)
   ===================================================================== */
:root { --sky: #93ADFF; --deep-2: #0A1120; }

/* nav: four quiet links, a hiring dot on Careers */
.nav { gap: 40px; }
.nav a.link { font-size: 16px; font-weight: 400; color: rgba(255,255,255,.88); }
.nav a.has-dot { position: relative; padding-right: 10px; }
.nav .dot { position: absolute; top: 4px; right: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--cobalt-hi); box-shadow: 0 0 10px rgba(127,163,255,.8); }

/* shared type for the new sections */
.label-row { display: flex; justify-content: space-between; gap: 20px; font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--fog); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.88); margin: 0 0 18px; }
.display-2 { font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -0.055em; font-weight: 500; margin: 0; text-wrap: balance; }
.sky { color: var(--sky); }

/* ---------- Our approach ---------- */
.approach { padding: clamp(80px, 10vw, 140px) 0; background: linear-gradient(180deg, var(--night), var(--deep-2)); }
.approach-head { display: grid; grid-template-columns: auto minmax(0, 340px); align-items: end; gap: 24px 40px; margin: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.approach-side { margin: 0 0 8px; font-size: 19px; line-height: 1.55; color: rgba(255,255,255,.88); font-weight: 300; }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.way { position: relative; display: flex; flex-direction: column; padding: 26px 26px 0; border: 1px solid var(--rule); border-radius: 10px;
  background: linear-gradient(180deg, #17243C 0%, #111C30 55%, #0F182A 100%); overflow: hidden; transition: border-color .35s var(--ease), transform .45s var(--ease); }
.way:hover { border-color: rgba(147,173,255,.45); transform: translateY(-4px); }
.way-top { display: flex; gap: 28px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--fog); }
.way-top .num { color: var(--sky); }
.way-art { height: 210px; display: grid; place-items: center; margin: 18px 0 10px; }
.way-art svg { width: 100%; max-width: 260px; height: 100%; overflow: visible; }
.planes path { fill: url(#g-plane); stroke: rgba(214,226,255,.55); stroke-width: 1; transition: transform .6s var(--ease); }
.way:hover .planes path:nth-child(1) { transform: translateY(8px); }
.way:hover .planes path:nth-child(4) { transform: translateY(-8px); }
.orbs circle, .orbs ellipse { fill: url(#g-orb); stroke: rgba(214,226,255,.55); stroke-width: 1; }
.orbs .orbit { fill: none; }
.orbs { transition: transform .8s var(--ease); transform-box: fill-box; transform-origin: center; }
.way:hover .orbs { transform: rotate(-8deg); }
.bars rect { fill: url(#g-bar); stroke: rgba(214,226,255,.55); stroke-width: 1; transform-box: fill-box; transform-origin: bottom; transition: transform .6s var(--ease); }
.way:hover .bars rect:nth-child(odd) { transform: scaleY(1.06); }
.way h3 { font-size: clamp(44px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.055em; font-weight: 500; margin: 8px 0 22px; }
.way p { margin: 0 0 28px; font-size: 17px; line-height: 1.85; font-weight: 300; color: rgba(255,255,255,.9); }
.way-link { margin-top: auto; display: flex; justify-content: space-between; align-items: center; width: 100%; background: none; border: 0; border-top: 1px solid var(--rule);
  padding: 22px 0 24px; font-size: 14px; font-weight: 600; color: var(--paper); cursor: pointer; text-align: left; }
.way-link span { font-size: 20px; transition: transform .3s var(--ease); }
.way-link:hover span { transform: translate(3px, -3px); }
.way-link::after { content: ""; position: absolute; inset: 0; }   /* the whole card opens the pop-up */
@media (max-width: 980px) { .ways { grid-template-columns: 1fr; } .approach-head { grid-template-columns: 1fr; } .way-art { height: 180px; } }

/* pop-ups */
.way-dlg { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: clamp(32px, 5vw, 56px); border: 1px solid #2B3754; border-radius: 14px;
  background: #0B1224; color: var(--paper); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.way-dlg::backdrop { background: rgba(5,9,18,.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.way-dlg[open] { animation: dlg-in .45s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.way-dlg h2 { font-size: clamp(36px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -0.05em; font-weight: 500; margin: 6px 0 26px; }
.dlg-lede { margin: 0 0 34px; font-size: 17px; line-height: 1.7; font-weight: 300; color: rgba(255,255,255,.75); max-width: 60ch; }
.way-dlg h3 { font-size: 19px; font-weight: 600; margin: 0 0 6px; }
.way-dlg ul { list-style: none; margin: 0; padding: 0 0 34px; border-bottom: 1px solid var(--rule); display: grid; gap: 4px; font-size: 17px; line-height: 1.65; font-weight: 300; color: rgba(255,255,255,.75); }
.dlg-contact { display: inline-flex; gap: 6px; margin-top: 26px; font-size: 14px; font-weight: 600; }
.dlg-contact:hover { color: var(--sky); }
.dlg-close { position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; border: 0; background: none; color: var(--paper); font-size: 32px; line-height: 1; cursor: pointer; border-radius: var(--radius); }
.dlg-close:hover { background: rgba(255,255,255,.06); }

/* ---------- Our philosophy ---------- */
.philosophy { position: relative; overflow: hidden; padding: clamp(110px, 13vw, 190px) 0; background: radial-gradient(70% 90% at 85% 50%, #142443, var(--deep-2) 70%); isolation: isolate; }
.philosophy .globe { position: absolute; z-index: -1; right: -8vw; top: 50%; transform: translateY(-50%); width: min(62vw, 820px); height: min(62vw, 820px); }
.philosophy .display-2 { font-size: clamp(44px, 6vw, 86px); max-width: 11ch; }
.philosophy-copy { margin: 40px 0 0; max-width: 46ch; font-size: 19px; line-height: 1.85; font-weight: 300; color: rgba(255,255,255,.9); }
@media (max-width: 760px) { .philosophy .globe { right: -40vw; opacity: .55; width: 110vw; height: 110vw; } }

/* ---------- Let's talk ---------- */
.talk { padding: clamp(90px, 11vw, 150px) 0 clamp(110px, 13vw, 180px); background: radial-gradient(60% 80% at 50% 100%, #1E2D52, #121B30 55%, #0E1726); border-top: 1px solid var(--rule); }
.talk .display-2 { margin-top: clamp(80px, 9vw, 130px); font-size: clamp(42px, 5.6vw, 80px); }
.talk-copy { margin: 56px 0 0; max-width: 32ch; font-size: 19px; line-height: 1.6; font-weight: 300; color: rgba(255,255,255,.9); }
.talk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 40px; }
.talk-mail { font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -0.02em; border-bottom: 1px solid rgba(147,173,255,.5); padding-bottom: 4px; overflow-wrap: anywhere; }
.talk-mail:hover { color: var(--sky); }
.talk-address { margin: 48px 0 0; font-size: 14px; color: var(--fog); }

/* floating "next section" arrow */
.next-btn { position: fixed; z-index: 45; left: 50%; bottom: max(20px, env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; margin-left: -22px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18); background: rgba(10,14,24,.9); color: var(--paper); display: grid; place-items: center; cursor: pointer;
  transition: opacity .3s var(--ease), transform .3s var(--ease); }
.next-btn:hover { transform: translateY(2px); border-color: var(--sky); }
.next-btn.is-hidden { opacity: 0; pointer-events: none; }
[data-section] { scroll-margin-top: 40px; }

.approach .display-2 { font-size: clamp(40px, 4.6vw, 70px); }
@media (min-width: 981px) { .approach .display-2 .sky { white-space: nowrap; } }
#approach { scroll-margin-top: calc(120px - clamp(80px, 10vw, 140px)); }  /* lands with the "Our approach" label just under the header */
#roles { scroll-margin-top: 84px; }
#culture { scroll-margin-top: 120px; }

/* ---------- Tools, platforms & partners: auto-scrolling card strip ---------- */
.stackwall { padding: clamp(70px, 8vw, 110px) 0; background: var(--deep-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); overflow: hidden; }
.stackwall .display-2 { font-size: clamp(34px, 4vw, 56px); }
.wall { margin-top: clamp(36px, 4vw, 56px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.wall-track { display: flex; gap: 16px; width: max-content; animation: wall-slide 70s linear infinite; }
.wall:hover .wall-track, .wall:focus-within .wall-track { animation-play-state: paused; }
@keyframes wall-slide { to { transform: translateX(calc(-50% - 8px)); } }
.tile { position: relative; flex: none; width: clamp(200px, 19vw, 260px); aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: radial-gradient(120% 90% at 30% 20%, var(--g1, #1A2842), var(--g2, #0B1322) 75%); isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,17,32,.05) 30%, rgba(10,17,32,.75) 100%); }
.tile:hover img { transform: scale(1.05); }
.tile b { position: absolute; left: 0; right: 0; top: 62%; text-align: center; font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -0.02em; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.tile small { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
@media (prefers-reduced-motion: reduce) { .wall { overflow-x: auto; } .wall-track { animation: none; } }

/* ---- Careers: second culture paragraph ---- */
.section-head .culture-copy { flex: 1 1 100%; max-width: 64ch; }
.section-head .culture-copy .lede { max-width: none; }
.section-head .culture-copy .culture-lead { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.35; letter-spacing: -0.02em; font-weight: 500; color: #fff; }
.culture-lead strong { display: block; margin-top: 6px; font-weight: 700; color: var(--cobalt-hi); }
.culture-more { margin-top: 22px; }

/* ---- Approach cards: bold blue Build / Acquire / Operate, letters rise in, then a wave passes word to word ---- */
.way h3.word-fx { font-weight: 700; color: var(--cobalt-hi); letter-spacing: -0.045em; }
.word-fx .ltr { display: inline-block; transform: translateY(105%); opacity: 0; transition: transform .9s var(--ease), opacity .9s var(--ease), color .5s var(--ease), text-shadow .5s var(--ease); transition-delay: calc(var(--card, 0) * 180ms + var(--i) * 45ms); }
.word-fx .clip { display: inline-block; overflow: hidden; padding: .16em 0 .08em; margin: -.16em 0 -.08em; vertical-align: bottom; }
.ways.in-view .word-fx .ltr { transform: none; opacity: 1; }
.ways.in-view .word-fx.is-lit .ltr { animation: ltr-wave 1.1s var(--ease) both; animation-delay: calc(var(--i) * 55ms); color: #fff; }
@keyframes ltr-wave { 0% { transform: none; } 35% { transform: translateY(-14%); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .word-fx .ltr { transform: none; opacity: 1; } .ways.in-view .word-fx.is-lit .ltr { animation: none; color: var(--cobalt-hi); } }
