/* =========================================================
   International Gateway — Design 2 · "Scenes"
   Every section is its own view: horizon, blueprint, depth,
   globe, constellation, stacked slides, terrain, aurora, sand.
   ========================================================= */
:root {
  --night: #050818;
  --night-2: #0a1233;
  --electric: #3d5afe;
  --cyan: #5fd8ff;
  --signal: #ff6a1a;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font-head: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* scene defaults (dark) */
  --fg: #ffffff;
  --fg-2: rgba(255, 255, 255, .7);
  --fg-3: rgba(255, 255, 255, .45);
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .24);
  --card: rgba(255, 255, 255, .05);
  --accent: #7fe3ff;
  --btn-bg: #ffffff;
  --btn-fg: #0a0f1c;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--night); color: var(--fg);
  font-family: var(--font-body); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; counter-reset: sec;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--electric); color: #fff; }
.container { width: min(1200px, 100% - 48px); margin-inline: auto; position: relative; z-index: 2; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 500; letter-spacing: -0.04em; line-height: 1.04; color: var(--fg); }
h1 { font-size: clamp(2.9rem, 6.8vw, 6rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-bottom: 22px; }
h3 { font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1.25; }
p { color: var(--fg-2); }
em { font-style: italic; }
.grad-text {
  background: linear-gradient(100deg, var(--accent), var(--electric) 140%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- scene palettes ---------- */
.scene { position: relative; overflow: hidden; isolation: isolate; }
.scene-depth, .scene-constellation, .scene-sand {
  --fg: #0a0f1c; --fg-2: #4a5266; --fg-3: #8a91a3;
  --line: rgba(10, 15, 28, .1); --line-2: rgba(10, 15, 28, .2);
  --card: rgba(255, 255, 255, .72); --accent: #3d5afe;
  --btn-bg: #0a0f1c; --btn-fg: #ffffff;
}
.scene-depth .grad-text, .scene-constellation .grad-text, .scene-sand .grad-text {
  background: linear-gradient(100deg, #3d5afe, #8a5cff); -webkit-background-clip: text; background-clip: text;
}
.scene-blueprint { --accent: #ffe08a; --line: rgba(255, 255, 255, .2); --line-2: rgba(255, 255, 255, .4); --fg-2: rgba(255, 255, 255, .82); }
.scene-blueprint .grad-text { background: none; color: var(--accent); }

/* ---------- labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 22px;
}
main .section .eyebrow { counter-increment: sec; }
main .section .eyebrow::before {
  content: counter(sec, decimal-leading-zero); color: var(--accent);
  padding-right: 10px; margin-right: 2px; border-right: 1px solid var(--line-2);
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(255, 106, 26, .5); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 106, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 106, 26, 0); } }

/* ---------- cursor (difference blend: visible on every scene) ---------- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 100; mix-blend-mode: difference; }
.cursor-ring, .cursor-dot {
  position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; opacity: 0;
  transition: opacity .3s, width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s;
}
.cursor-ring { width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid #fff; }
.cursor-dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: #fff; }
.cursor.on .cursor-ring, .cursor.on .cursor-dot { opacity: 1; }
.cursor.hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: #fff; }
.cursor.hover .cursor-dot { opacity: 0; }

/* ---------- progress + scene navigator ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 60;
  background: linear-gradient(90deg, var(--electric), var(--cyan), var(--signal));
  transform-origin: left; transform: scaleX(0); pointer-events: none;
}
.scene-nav {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 55;
  display: flex; flex-direction: column; gap: 12px; mix-blend-mode: difference;
}
.scene-nav a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: #fff; height: 14px; }
.scene-nav a i { width: 14px; height: 1px; background: rgba(255, 255, 255, .5); transition: width .5s var(--ease), background .3s; }
.scene-nav a span {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; transform: translateX(6px); transition: opacity .4s, transform .5s var(--ease); white-space: nowrap;
}
.scene-nav a:hover span, .scene-nav a.active span { opacity: 1; transform: none; }
.scene-nav a.active i { width: 30px; background: #fff; }
.scene-nav a:hover i { background: #fff; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-family: var(--font-head); font-weight: 500; font-size: .95rem;
  border: 1px solid var(--line-2); color: var(--fg);
  transition: transform .5s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .5s var(--ease);
  will-change: transform;
}
.btn span { transition: transform .5s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn-sm { padding: 9px 18px; font-size: .86rem; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); border-color: transparent; }
.btn-primary:hover { box-shadow: 0 0 0 6px rgba(127, 227, 255, .14), 0 16px 40px -14px rgba(61, 90, 254, .8); }
.btn-ghost { backdrop-filter: blur(10px); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { border-color: var(--fg); }
.full { width: 100%; }

/* ---------- nav (always light text, glass on scroll) ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px max(24px, calc((100% - 1200px) / 2));
  transition: padding .6s var(--ease), transform .7s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 10px max(14px, calc((100% - 1240px) / 2)); z-index: -1; opacity: 0;
  border-radius: 16px; background: rgba(8, 12, 34, .62); border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  transition: opacity .6s var(--ease);
}
.nav.scrolled::before { opacity: 1; }
.nav.scrolled { padding-block: 18px; padding-inline: max(40px, calc((100% - 1200px) / 2 + 16px)); }
.nav.hide { transform: translateY(-120%); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; }
.brand-text { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1; display: flex; flex-direction: column; color: #fff; }
.brand-text small { font-family: var(--font-mono); font-size: .5rem; letter-spacing: .3em; font-weight: 500; color: rgba(255, 255, 255, .6); margin-bottom: 4px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); transition: color .3s; position: relative; }
.nav-links a:not(.btn)::before { content: ""; position: absolute; left: -12px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--cyan); transform: scale(0); transition: transform .4s var(--ease); }
.nav-links a:not(.btn):hover, .nav-links a.active { color: #fff; }
.nav-links a.active::before { transform: scale(1); }
.nav-links .btn { --btn-bg: #fff; --btn-fg: #0a0f1c; color: #0a0f1c; background: #fff; border-color: #fff; }
.nav-toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: #fff; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- shared section rhythm ---------- */
.section { padding: clamp(110px, 13vw, 180px) 0; }
.section-head { max-width: 700px; margin-bottom: 64px; }
.section-head p:not(.eyebrow) { font-size: 1.1rem; }

/* =========================================================
   01 · HORIZON (hero)
   ========================================================= */
.scene-horizon {
  min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 150px 0 120px;
  background: linear-gradient(180deg, #03050f 0%, #070d2b 45%, #10206b 78%, #1b36b8 100%);
}
#network { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.horizon-glow {
  position: absolute; left: 50%; top: 58%; width: 140vw; height: 60vh; transform: translate(-50%, -50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(95, 216, 255, .35), rgba(61, 90, 254, .18) 40%, transparent 70%);
  filter: blur(30px); pointer-events: none; z-index: 0; animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .7; transform: translate(-50%, -48%) scale(1.05); } }
.hero-gradient { position: absolute; inset: 0; pointer-events: none; z-index: 1; background: linear-gradient(180deg, rgba(3, 5, 15, .55), transparent 40%); }
.hero-inner { z-index: 3; }
.hero h1 { max-width: 15ch; margin-bottom: 28px; text-shadow: 0 10px 60px rgba(5, 8, 24, .6); }
.hero h1 .grad-text {
  display: block; background: linear-gradient(100deg, #9fe9ff, #5fd8ff 40%, #8ea2ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
#rotator::after { content: ""; display: inline-block; width: .06em; height: .8em; margin-left: .08em; background: var(--cyan); vertical-align: -0.06em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.22rem); max-width: 560px; margin-bottom: 40px; color: rgba(255, 255, 255, .78); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 72px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); max-width: 880px;
  border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.stat { padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .1); }
.stat .num { font-family: var(--font-head); font-size: 2.3rem; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.stat .label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.hud { position: absolute; inset: 96px 24px 28px; pointer-events: none; z-index: 2; }
.hud-corner { position: absolute; width: 18px; height: 18px; border: 0 solid rgba(255, 255, 255, .3); }
.hud-corner.tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.hud-corner.tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.hud-corner.bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.hud-corner.br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.hud-read { position: absolute; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; color: rgba(255, 255, 255, .45); display: flex; gap: 14px; align-items: center; }
.hud-left { top: 10px; left: 30px; }
.hud-right { top: 10px; right: 30px; font-variant-numeric: tabular-nums; }
.hud-bottom { bottom: 8px; right: 30px; }
.hud-live { width: 6px; height: 6px; border-radius: 50%; background: #2fe39a; box-shadow: 0 0 0 3px rgba(47, 227, 154, .2); }
.scroll-hint { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 3; width: 1px; height: 46px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.scroll-hint span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--cyan); animation: drop 2.2s var(--ease) infinite; }
@keyframes drop { to { top: 100%; } }

/* =========================================================
   02 · BLUEPRINT (who we are)
   ========================================================= */
.scene-blueprint {
  background-color: #1c3cb5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px),
    radial-gradient(120% 90% at 80% 0%, #2b56e0 0%, #1c3cb5 55%, #142c8c 100%);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px, 100% 100%;
}
.bp-letters { position: absolute; right: -4vw; top: 50%; transform: translateY(calc(-50% + var(--py, 0px))); pointer-events: none; z-index: 0; }
.bp-letters span {
  display: block; font-family: var(--font-head); font-weight: 600; font-size: 46vw; line-height: .8; letter-spacing: -0.08em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .22);
}
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.about-copy { position: sticky; top: 130px; }
.about-copy p:not(.eyebrow) { margin-bottom: 16px; font-size: 1.06rem; }
.vp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.vp {
  position: relative; padding: 30px 28px 28px; border: 1px dashed rgba(255, 255, 255, .45); border-radius: 4px;
  background: rgba(10, 30, 120, .25); transition: background .5s, border-color .5s, transform .8s var(--ease);
}
.vp::before, .vp::after { content: ""; position: absolute; width: 9px; height: 9px; border: 1px solid #fff; background: #1c3cb5; }
.vp::before { top: -5px; left: -5px; }
.vp::after { bottom: -5px; right: -5px; }
.vp:hover { background: rgba(255, 255, 255, .08); border-style: solid; border-color: #fff; transform: translateY(-4px); }
.vp h3 { margin: 22px 0 8px; }
.vp p { font-size: .93rem; }
.vp-icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .6); }
.vp-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   03 · DEPTH (what we do) — cards fanned in 3D
   ========================================================= */
.scene-depth { background: linear-gradient(180deg, #eef1ff 0%, #e3e8ff 60%, #d4dcff 100%); }
.depth-floor {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 70%; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(61, 90, 254, .25) 1px, transparent 1px), linear-gradient(90deg, rgba(61, 90, 254, .25) 1px, transparent 1px);
  background-size: 70px 70px; transform: perspective(500px) rotateX(62deg); transform-origin: bottom;
  mask-image: linear-gradient(to top, #000 10%, transparent 85%); -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  animation: floor 6s linear infinite;
}
@keyframes floor { to { background-position: 0 70px, 0 0; } }
.disc-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  perspective: 1600px; transform-style: preserve-3d;
  transform: rotateX(var(--tx, 6deg)) rotateY(var(--ty, 0deg)); transition: transform .9s var(--ease);
}
a.disc {
  position: relative; display: flex; flex-direction: column; min-height: 400px; padding: 30px 26px;
  border-radius: 20px; background: rgba(255, 255, 255, .82); border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 30px 60px -30px rgba(23, 38, 120, .45), inset 0 1px 0 #fff;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transform: rotateY(-9deg) translateZ(0); transform-origin: left center;
  transition: transform .9s var(--ease), box-shadow .9s var(--ease), opacity .6s;
}
.disc-grid:hover a.disc { transform: rotateY(-14deg) scale(.97); opacity: .75; }
.disc-grid a.disc:hover { transform: rotateY(0deg) translateZ(90px) scale(1.05); opacity: 1; z-index: 3; box-shadow: 0 50px 90px -30px rgba(23, 38, 120, .55); }
.disc svg { width: 30px; height: 30px; margin-bottom: auto; fill: none; stroke: var(--electric); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.disc h3 { margin: 40px 0 12px; font-size: 1.35rem; }
.disc p { font-size: .9rem; }
.disc-num { position: absolute; top: 26px; right: 24px; font-family: var(--font-mono); font-size: .74rem; color: var(--fg-3); }
.disc-more { margin-top: 22px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--electric); display: inline-flex; gap: 8px; }
.disc-more span { transition: transform .6s var(--ease); }
a.disc:hover .disc-more span { transform: translateX(5px); }

/* =========================================================
   04 · GLOBE (solutions)
   ========================================================= */
.scene-globe { background: radial-gradient(70% 70% at 85% 35%, #142a7a 0%, #08113a 45%, #040716 100%); }
#globe { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.axes {
  border-radius: 26px; padding: 22px; border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(10, 18, 60, .45); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.axis-tabs { position: relative; display: flex; gap: 4px; padding: 5px; margin-bottom: 30px; width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; border-radius: 999px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .1); }
.axis-tabs::-webkit-scrollbar { display: none; }
.axis-ink { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: linear-gradient(100deg, #ffffff, #cfeeff); box-shadow: 0 0 24px rgba(95, 216, 255, .45); transition: transform .6s var(--ease), width .6s var(--ease); z-index: 0; }
.axis-tab { position: relative; z-index: 1; padding: 10px 20px; border-radius: 999px; white-space: nowrap; font-family: var(--font-head); font-size: .92rem; color: rgba(255, 255, 255, .65); transition: color .4s; }
.axis-tab:hover { color: #fff; }
.axis-tab.active { color: #0a0f1c; }
.axis-panel { display: none; }
.axis-panel.active { display: block; animation: panelIn .8s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px) scale(.99); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.axis-intro { max-width: 760px; margin: 0 0 26px 4px; font-size: 1.05rem; }
.axis-intro strong { color: #fff; font-family: var(--font-head); font-weight: 500; }
.subcats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.subcat { padding: 26px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); display: flex; flex-direction: column; gap: 18px; transition: background .5s, border-color .5s, transform .8s var(--ease); }
.subcat:hover { background: rgba(255, 255, 255, .09); border-color: rgba(127, 227, 255, .4); transform: translateY(-4px); }
.subcat-wide { grid-column: 1 / -1; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; }
.chips li { font-size: .84rem; padding: 6px 13px; border-radius: 999px; color: #e7f6ff; background: rgba(95, 216, 255, .1); border: 1px solid rgba(95, 216, 255, .25); }
.subcat-partners { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .9rem; }
.subcat-partners span { font-family: var(--font-mono); color: rgba(255, 255, 255, .45); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.subcat-partners a { color: var(--cyan); font-weight: 500; position: relative; }
.subcat-partners a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.subcat-partners a:hover::after { transform: scaleX(1); }

/* ---------- marquee band ---------- */
.approach { position: relative; z-index: 1; padding: 30px 0; overflow: hidden; background: linear-gradient(90deg, #3d5afe, #5b8cff 45%, #5fd8ff); }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 40px; width: max-content; align-items: center; animation: marquee 50s linear infinite; font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 500; letter-spacing: -0.04em; }
.marquee-track span:not(.dot) { -webkit-text-stroke: 1px rgba(255, 255, 255, .8); color: transparent; transition: color .4s; }
.marquee-track span:not(.dot):hover { color: #fff; }
.marquee-track .dot { font-size: .3em; color: #fff; }
@keyframes marquee { to { transform: translateX(calc(-50% - 20px)); } }

/* =========================================================
   05 · CONSTELLATION (partners)
   ========================================================= */
.scene-constellation { background: linear-gradient(160deg, #edf0ff 0%, #f6f2ff 45%, #fff1e6 100%); }
#stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter { padding: 9px 18px; border-radius: 999px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .9); backdrop-filter: blur(8px); transition: all .3s; }
.filter:hover { color: var(--fg); }
.filter.active { color: #fff; background: #0a0f1c; border-color: #0a0f1c; }
.filter .count { opacity: .55; margin-left: 6px; }
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partner {
  display: flex; flex-direction: column; padding: 28px; border-radius: 20px;
  background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .95);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -34px rgba(40, 50, 120, .45);
  transition: transform .8s var(--ease), box-shadow .8s var(--ease), background .5s;
}
.partner:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .85); box-shadow: 0 34px 70px -34px rgba(40, 50, 120, .55); }
.partner.hidden { display: none; }
.partner.fade-in { animation: fadeUp .6s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.partner-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 22px; }
.mono { min-width: 46px; height: 46px; padding: 0 8px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 500; font-size: .8rem; color: #fff; background: linear-gradient(135deg, #3d5afe, #8a5cff); box-shadow: 0 10px 20px -10px rgba(61, 90, 254, .8); }
.partner[data-cat="solar"] .mono { background: linear-gradient(135deg, #ff6a1a, #ffb547); box-shadow: 0 10px 20px -10px rgba(255, 106, 26, .8); }
.partner[data-cat="maritime"] .mono { background: linear-gradient(135deg, #0aa5c8, #5fd8ff); box-shadow: 0 10px 20px -10px rgba(10, 165, 200, .8); }
.tag { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); text-align: right; }
.partner h3 { margin-bottom: 10px; font-size: 1.2rem; }
.partner p { font-size: .9rem; flex: 1; }
.partner-link { margin-top: 20px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; color: var(--electric); display: inline-flex; gap: 6px; width: fit-content; }
.partner-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.partner.flash { animation: flash 2.2s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: 0 24px 50px -34px rgba(40, 50, 120, .45); } 20% { box-shadow: 0 0 0 3px #3d5afe, 0 30px 60px -20px rgba(61, 90, 254, .6); } }

/* =========================================================
   06 · STACKED SLIDES (values)
   ========================================================= */
.scene-stack { background: radial-gradient(80% 60% at 20% 0%, #182a7a 0%, #0a1233 45%, #050818 100%); overflow: visible; }
.stack { position: relative; padding-bottom: 8vh; }
.stack-card {
  position: sticky; top: calc(120px + var(--i) * 16px);
  min-height: 46vh; margin-bottom: 6vh; padding: clamp(32px, 5vw, 60px);
  border-radius: 28px; overflow: hidden; color: #fff;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: end;
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .55);
  transform-origin: center top; transform: scale(var(--s, 1)); filter: brightness(var(--b, 1));
  transition: transform .2s linear, filter .2s linear;
}
.stack-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(rgba(255, 255, 255, .25) 1px, transparent 1px); background-size: 20px 20px; mask-image: linear-gradient(120deg, #000, transparent 60%); -webkit-mask-image: linear-gradient(120deg, #000, transparent 60%); }
.stack-card:nth-child(1) { background: linear-gradient(135deg, #2a44e8, #6b7dff); }
.stack-card:nth-child(2) { background: linear-gradient(135deg, #0a8fb8, #33c6f0); }
.stack-card:nth-child(3) { background: linear-gradient(135deg, #5b3be8, #9a6bff); }
.stack-card:nth-child(4) { background: linear-gradient(135deg, #e3541a, #ff9a3d); }
.stack-card:nth-child(5) { background: linear-gradient(135deg, #1b2a6b, #3d5afe); }
.stack-card:nth-child(6) { background: linear-gradient(135deg, #0b7f66, #2fd0a2); }
.stack-card:nth-child(7) { background: linear-gradient(135deg, #b8262a, #ff6a1a); }
.stack-idx { position: absolute; top: clamp(28px, 4vw, 48px); left: clamp(32px, 5vw, 60px); font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; color: rgba(255, 255, 255, .75); }
.stack-card h3 { font-size: clamp(2rem, 4.4vw, 3.6rem); letter-spacing: -0.04em; line-height: 1; color: #fff; }
.stack-card p { color: rgba(255, 255, 255, .88); font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 520px; }

/* =========================================================
   07 · TERRAIN (presence) — map laid in perspective
   ========================================================= */
.scene-terrain { background: linear-gradient(180deg, #050818 0%, #061a2c 55%, #08283a 100%); }
.presence-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.presence-grid > div > p:not(.eyebrow) { margin-bottom: 28px; font-size: 1.05rem; }
.offices { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.office { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: background .4s, border-color .4s, transform .6s var(--ease); }
.office:hover, .office.active { background: rgba(95, 216, 255, .1); border-color: rgba(95, 216, 255, .45); transform: translateX(4px); }
.flag { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-mono); font-size: .72rem; font-weight: 500; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.office strong { display: block; font-family: var(--font-head); font-weight: 500; }
.office small { font-family: var(--font-mono); color: var(--fg-3); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.map-stage { perspective: 1200px; }
.map {
  position: relative; aspect-ratio: 1.1; border-radius: 24px; overflow: hidden;
  background:
    linear-gradient(rgba(95, 216, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 216, 255, .08) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, rgba(61, 90, 254, .25), transparent 70%), #071a2c;
  background-size: 40px 40px, 40px 40px, 100% 100%, 100% 100%;
  border: 1px solid rgba(95, 216, 255, .25);
  box-shadow: 0 60px 80px -40px rgba(0, 0, 0, .7), 0 0 80px -20px rgba(95, 216, 255, .25);
  transform: rotateX(var(--mx, 34deg)) rotateZ(var(--mz, -6deg)); transform-style: preserve-3d;
  transition: transform 1.2s var(--ease);
}
.map::after { content: "LIVE · 5 OFFICES"; position: absolute; top: 16px; left: 18px; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; color: rgba(255, 255, 255, .5); }
#mapCanvas { width: 100%; height: 100%; }

/* =========================================================
   08 · AURORA (governance)
   ========================================================= */
.cta-section { background: var(--night); padding: clamp(80px, 10vw, 140px) 0; }
.cta-card { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(60px, 9vw, 120px) clamp(28px, 6vw, 80px); border-radius: 32px; border: 1px solid rgba(255, 255, 255, .1); background: #070b22; }
.aurora { position: absolute; inset: -20%; z-index: -1; filter: blur(60px); opacity: .9; }
.aurora i { position: absolute; width: 50%; height: 60%; border-radius: 50%; mix-blend-mode: screen; animation: drift 16s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { left: 5%; top: 10%; background: #3d5afe; }
.aurora i:nth-child(2) { right: 5%; top: 20%; background: #5fd8ff; animation-duration: 20s; animation-delay: -6s; }
.aurora i:nth-child(3) { left: 30%; bottom: 0; background: #ff6a1a; opacity: .55; animation-duration: 24s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(12%, -10%) scale(1.15); } 100% { transform: translate(-10%, 8%) scale(.95); } }
.cta-card h2 { max-width: 820px; margin: 0 auto 18px; }
.cta-card p:not(.eyebrow) { max-width: 560px; margin: 0 auto 34px; color: rgba(255, 255, 255, .8); }

/* =========================================================
   09 · SAND (contact)
   ========================================================= */
.scene-sand { background: linear-gradient(180deg, #f6f1e9 0%, #efe7da 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.contact-grid > div > p:not(.eyebrow) { font-size: 1.05rem; margin-bottom: 28px; }
.contact-mail { display: inline-flex; gap: 10px; font-family: var(--font-head); font-size: clamp(1.5rem, 2.8vw, 2.3rem); letter-spacing: -0.03em; color: #0a0f1c; border-bottom: 1px solid #0a0f1c; padding-bottom: 4px; transition: color .3s, border-color .3s; }
.contact-mail:hover { color: var(--electric); border-color: var(--electric); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; padding: 34px; border-radius: 24px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 30px 60px -40px rgba(80, 60, 30, .35); }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea, .field select { width: 100%; padding: 26px 0 10px; background: transparent; border: 0; border-bottom: 1px solid rgba(10, 15, 28, .2); color: #0a0f1c; font: inherit; font-size: .98rem; outline: none; resize: vertical; border-radius: 0; appearance: none; }
.field select { cursor: pointer; }
.field label { position: absolute; left: 0; top: 24px; color: #6b6458; font-size: .98rem; pointer-events: none; transition: top .3s var(--ease), font-size .3s, color .3s; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--electric); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field label.static { top: 4px; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--electric); }
.contact-form .btn { grid-column: 1 / -1; margin-top: 18px; }
.form-note { grid-column: 1 / -1; font-family: var(--font-mono); font-size: .7rem; color: #8a8273; }
.addr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 72px; }
.addr { padding: 26px; border-radius: 20px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .95); display: flex; flex-direction: column; gap: 16px; transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.addr:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -40px rgba(80, 60, 30, .45); }
.addr-head { display: flex; align-items: center; gap: 14px; }
.addr-head h3 { font-size: 1.1rem; }
.addr-head small { font-family: var(--font-mono); color: #8a8273; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; }
.addr .flag { background: #0a0f1c; color: #fff; border: 0; }
.addr p { font-size: .9rem; line-height: 1.6; }
.addr ul { list-style: none; display: grid; gap: 6px; margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(10, 15, 28, .1); font-size: .88rem; color: #0a0f1c; }
.addr li { display: flex; justify-content: space-between; gap: 10px; }
.addr li span { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: #8a8273; }
.addr a { color: var(--electric); }

/* ---------- footer ---------- */
.footer { background: var(--night); border-top: 1px solid rgba(255, 255, 255, .08); padding: 34px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer p { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; color: rgba(255, 255, 255, .55); }

/* ---------- spotlight (subtle, works on light and dark) ---------- */
.spotlight { position: relative; }
.spotlight::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(127, 140, 255, .14), transparent 55%); }
.spotlight:hover::before { opacity: 1; }
a.disc.spotlight::before { z-index: 0; }

/* ---------- reveal & headline ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.js .hero h1 .line > span { transform: translateY(105%); transition: transform 1.3s var(--ease); }
.hero h1.in .line > span { transform: none; }
.hero h1.in .line:nth-child(2) > span { transition-delay: .1s; }
.hero h1.in .line:nth-child(3) > span { transition-delay: .2s; }
/* the depth cards keep their own 3D transform, so they only fade in */
.js .disc-grid a.disc.reveal { transform: rotateY(-9deg) translateY(40px); }
.js .disc-grid a.disc.reveal.in { transform: rotateY(-9deg); }
.js .disc-grid:hover a.disc.reveal.in { transform: rotateY(-14deg) scale(.97); }
.js .disc-grid a.disc.reveal.in:hover { transform: rotateY(0deg) translateZ(90px) scale(1.05); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .disc-grid { grid-template-columns: repeat(2, 1fr); transform: none; }
  a.disc, .js .disc-grid a.disc.reveal.in, .disc-grid:hover a.disc, .js .disc-grid:hover a.disc.reveal.in { transform: none; opacity: 1; min-height: 300px; }
  .disc-grid a.disc:hover, .js .disc-grid a.disc.reveal.in:hover { transform: translateY(-6px); }
  .js .disc-grid a.disc.reveal { transform: translateY(30px); }
  .disc-grid > .disc:last-child { grid-column: 1 / -1; }
  .partner-grid, .addr-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .presence-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-copy { position: static; }
  .scene-nav { display: none; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav-links { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px; background: rgba(5, 8, 24, .96); backdrop-filter: blur(18px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .nav-links a:not(.btn) { font-size: 1rem; color: #fff; }
  .nav-links.open { opacity: 1; visibility: visible; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .vp-grid, .disc-grid, .partner-grid, .offices, .addr-grid { grid-template-columns: 1fr; }
  .disc-grid > .disc:last-child { grid-column: auto; }
  .contact-form { grid-template-columns: 1fr; padding: 24px; }
  .stack-card { grid-template-columns: 1fr; gap: 16px; align-content: end; min-height: 52vh; top: calc(90px + var(--i) * 10px); }
  .map { transform: rotateX(20deg); }
  .axes { padding: 14px; }
  .hud { inset: 84px 12px 16px; }
  .hud-right, .hud-bottom { display: none; }
  .cursor { display: none; }
  .bp-letters span { font-size: 70vw; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (hover: none) { .cursor { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero h1 .line > span { transform: none; }
}

/* =========================================================
   CONDENSED — tighter rhythm, shapes sized to their content
   ========================================================= */
.section { padding: clamp(64px, 7vw, 100px) 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p:not(.eyebrow) { font-size: 1rem; }
h2 { font-size: clamp(1.9rem, 3.3vw, 2.75rem); margin-bottom: 14px; }
.eyebrow { margin-bottom: 14px; }

/* hero */
.scene-horizon { min-height: 88vh; min-height: 88svh; padding: 160px 0 70px; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); }
.hero h1 { margin-bottom: 20px; }
.lead { font-size: 1.05rem; margin-bottom: 28px; }
.hero-cta { margin-bottom: 40px; }
.stat { padding: 16px 20px; }
.stat .num { font-size: 1.8rem; }

/* blueprint */
.about-grid { grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: center; }
.about-copy { position: static; }
.about-copy p:not(.eyebrow) { font-size: .98rem; margin-bottom: 12px; }
.vp-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.vp { padding: 20px 18px; }
.vp h3 { margin: 14px 0 6px; font-size: 1.02rem; }
.vp p { font-size: .86rem; line-height: 1.55; }
.vp-icon { width: 34px; height: 34px; }
.vp-icon svg { width: 17px; height: 17px; }

/* depth */
.disc-grid { gap: 10px; }
a.disc { min-height: 0; padding: 22px 20px; border-radius: 16px; }
.disc svg { width: 24px; height: 24px; margin-bottom: 0; }
.disc h3 { margin: 18px 0 8px; font-size: 1.1rem; }
.disc p { font-size: .86rem; line-height: 1.55; }
.disc-num { top: 20px; right: 18px; }
.disc-more { margin-top: 14px; }

/* globe */
.axes { padding: 14px; border-radius: 20px; }
.axis-tabs { margin-bottom: 18px; }
.axis-tab { padding: 8px 16px; font-size: .88rem; }
.axis-intro { font-size: .96rem; margin-bottom: 16px; }
.subcats { gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.subcat { padding: 18px; gap: 12px; border-radius: 14px; }
.subcat h3 { font-size: 1.02rem; }
.chips { gap: 5px; }
.chips li { font-size: .78rem; padding: 4px 10px; }
.subcat-partners { padding-top: 10px; font-size: .84rem; }

/* marquee band */
.approach { padding: 16px 0; }
.marquee-track { font-size: clamp(1.6rem, 3.4vw, 2.6rem); gap: 28px; }

/* constellation */
.filters { margin-bottom: 18px; }
.filter { padding: 7px 14px; }
.partner-grid { gap: 10px; }
.partner { padding: 20px; border-radius: 16px; }
.partner-top { margin-bottom: 14px; }
.mono { min-width: 38px; height: 38px; border-radius: 11px; font-size: .74rem; }
.partner h3 { font-size: 1.06rem; margin-bottom: 6px; }
.partner p { font-size: .84rem; line-height: 1.55; }
.partner-link { margin-top: 12px; }

/* stacked value slides: compact cards, same stacking effect */
.stack { padding-bottom: 2vh; }
.stack-card {
  min-height: 0; margin-bottom: 18px; padding: 26px 30px 26px;
  top: calc(96px + var(--i) * 12px); border-radius: 20px;
  grid-template-columns: .9fr 1.4fr; gap: 28px; align-items: center;
}
.stack-idx { position: static; grid-column: 1 / -1; margin-bottom: -14px; }
.stack-card h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.stack-card p { font-size: .95rem; }

/* terrain */
.presence-grid { gap: 40px; grid-template-columns: 1fr 1.2fr; }
.presence-grid > div > p:not(.eyebrow) { font-size: .98rem; margin-bottom: 18px; }
.offices { gap: 8px; }
.office { padding: 10px 12px; }
.flag { width: 30px; height: 30px; font-size: .66rem; }
.map { aspect-ratio: 1.35; }

/* aurora */
.cta-section { padding: clamp(48px, 6vw, 80px) 0; }
.cta-card { padding: clamp(40px, 5vw, 64px) clamp(24px, 5vw, 64px); border-radius: 24px; }
.cta-card p:not(.eyebrow) { margin-bottom: 22px; }

/* sand */
.contact-grid { gap: 40px; }
.contact-grid > div > p:not(.eyebrow) { font-size: .98rem; margin-bottom: 18px; }
.contact-form { padding: 22px 24px; gap: 4px 20px; }
.field input, .field textarea, .field select { padding: 22px 0 8px; }
.field label { top: 20px; }
.contact-form .btn { margin-top: 12px; }
.addr-grid { margin-top: 36px; gap: 10px; grid-template-columns: repeat(5, 1fr); }
.addr { padding: 18px; gap: 10px; border-radius: 16px; }
.addr p { font-size: .82rem; }
.addr ul { font-size: .8rem; padding-top: 10px; }
.addr li { flex-direction: column; gap: 0; }

@media (max-width: 1100px) {
  .vp-grid { grid-template-columns: repeat(2, 1fr); }
  .addr-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .presence-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .vp-grid, .addr-grid { grid-template-columns: 1fr; }
  .stack-card { grid-template-columns: 1fr; gap: 10px; top: calc(80px + var(--i) * 8px); padding: 22px; }
  .stack-idx { margin-bottom: 0; }
  .scene-horizon { min-height: 0; padding: 110px 0 60px; }
}

/* =========================================================
   FLOW — one continuous colour world, no grids or hard angles
   ========================================================= */
:root {
  --deep: #070b1e;
  --violet: #8b7bff;
  --blue: #5b7cff;
}
body { background: var(--deep); }

/* every scene shares the same background: the page flows as one piece */
.scene, .scene-horizon, .scene-blueprint, .scene-depth, .scene-globe, .scene-constellation,
.scene-stack, .scene-terrain, .scene-sand, .cta-section, .footer, .approach {
  background: transparent; background-image: none;
}
.scene-depth, .scene-constellation, .scene-sand, .scene-blueprint {
  --fg: #ffffff; --fg-2: rgba(255, 255, 255, .72); --fg-3: rgba(255, 255, 255, .45);
  --line: rgba(255, 255, 255, .12); --line-2: rgba(255, 255, 255, .24);
  --card: rgba(255, 255, 255, .05); --accent: #7fe3ff;
  --btn-bg: #ffffff; --btn-fg: #0a0f1c;
}
.grad-text,
.scene-depth .grad-text, .scene-constellation .grad-text, .scene-sand .grad-text, .scene-blueprint .grad-text {
  background: linear-gradient(100deg, #9fe9ff, #7fb8ff 45%, #a99bff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* drifting colour clouds behind the whole page */
.flow-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; filter: blur(90px); opacity: .55; }
.flow-bg i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: cloud 28s ease-in-out infinite alternate; }
.flow-bg i:nth-child(1) { width: 55vw; height: 55vw; left: -10vw; top: -15vw; background: #2c46d8; }
.flow-bg i:nth-child(2) { width: 45vw; height: 45vw; right: -12vw; top: 20vh; background: #6a4fe0; animation-duration: 34s; animation-delay: -8s; }
.flow-bg i:nth-child(3) { width: 40vw; height: 40vw; left: 20vw; bottom: -20vw; background: #1f8fd6; animation-duration: 40s; animation-delay: -16s; }
.flow-bg i:nth-child(4) { width: 30vw; height: 30vw; right: 20vw; bottom: 10vh; background: #3a2f9e; animation-duration: 30s; animation-delay: -4s; }
@keyframes cloud {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8vw, 6vh) scale(1.15); }
  100% { transform: translate(-6vw, -4vh) scale(.92); }
}

/* remove the geometric layers */
.bp-letters, .depth-floor, #stars, .hud-corner, .horizon-glow { display: none; }
.hero-gradient { background: linear-gradient(180deg, transparent 70%, var(--deep)); opacity: 0; }

/* soft glass surfaces used everywhere */
.vp, a.disc, .subcat, .partner, .office, .addr, .contact-form, .axes, .stats {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: none;
}

/* who we are: rounded glass, no dashed frames or corner squares */
.vp { border-radius: 20px; border-style: solid; }
.vp::before, .vp::after { display: none; }
.vp:hover { background: rgba(255, 255, 255, .08); border-color: rgba(127, 227, 255, .35); }
.vp-icon { border: 0; background: linear-gradient(135deg, rgba(91, 124, 255, .35), rgba(139, 123, 255, .25)); }
.vp-icon svg { stroke: #cfe9ff; }

/* what we do: flat, soft cards (no 3D fan) */
.disc-grid, .disc-grid:hover { transform: none !important; perspective: none; }
a.disc, .disc-grid:hover a.disc, .js .disc-grid a.disc.reveal.in, .js .disc-grid:hover a.disc.reveal.in {
  transform: none; opacity: 1; border-radius: 22px;
}
.js .disc-grid a.disc.reveal { transform: translateY(24px); }
.disc-grid a.disc:hover, .js .disc-grid a.disc.reveal.in:hover {
  transform: translateY(-6px); background: rgba(255, 255, 255, .08);
  border-color: rgba(127, 227, 255, .35); box-shadow: 0 30px 60px -30px rgba(91, 124, 255, .55);
}
.disc svg { stroke: #9fdcff; }
.disc-num { color: rgba(255, 255, 255, .4); }
.disc-more { color: #7fe3ff; }

/* solutions */
.axes { border-radius: 24px; background: rgba(255, 255, 255, .035); }
.subcat { border-radius: 18px; }

/* marquee: soft gradient words on the same background */
.approach { padding: 20px 0; border-block: 1px solid rgba(255, 255, 255, .06); }
.marquee-track span:not(.dot) { -webkit-text-stroke: 1px rgba(159, 233, 255, .45); }
.marquee-track span:not(.dot):hover { color: #cfefff; }
.marquee-track .dot { color: #8b7bff; }

/* partners */
.filter { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .7); }
.filter:hover { color: #fff; }
.filter.active { background: #fff; color: #0a0f1c; border-color: #fff; }
.partner { border-radius: 20px; }
.partner:hover { background: rgba(255, 255, 255, .08); border-color: rgba(127, 227, 255, .3); box-shadow: 0 30px 60px -34px rgba(91, 124, 255, .6); }
.mono, .partner[data-cat="solar"] .mono, .partner[data-cat="maritime"] .mono {
  background: linear-gradient(135deg, #5b7cff, #8b7bff); box-shadow: none; border-radius: 50%;
}
.tag { color: rgba(255, 255, 255, .45); }
.partner-link { color: #7fe3ff; }
@keyframes flash { 0%, 100% { box-shadow: none; } 20% { box-shadow: 0 0 0 2px #7fe3ff, 0 30px 60px -20px rgba(127, 227, 255, .5); } }

/* values: one family of blues and violets, soft light instead of dot patterns */
.stack-card { box-shadow: 0 -20px 50px -24px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .12); }
.stack-card::before {
  opacity: 1; background-image: none; mask-image: none; -webkit-mask-image: none;
  background: radial-gradient(60% 120% at 90% 0%, rgba(255, 255, 255, .22), transparent 60%);
}
.stack-card:nth-child(1) { background: linear-gradient(135deg, #2b3fd6, #5b7cff); }
.stack-card:nth-child(2) { background: linear-gradient(135deg, #2a55cf, #4fa8f5); }
.stack-card:nth-child(3) { background: linear-gradient(135deg, #3f35c9, #7f6ff5); }
.stack-card:nth-child(4) { background: linear-gradient(135deg, #2262c2, #55c4f2); }
.stack-card:nth-child(5) { background: linear-gradient(135deg, #3428a8, #6a66f0); }
.stack-card:nth-child(6) { background: linear-gradient(135deg, #2448bd, #7a9dff); }
.stack-card:nth-child(7) { background: linear-gradient(135deg, #3a37c4, #8b7bff); }

/* presence: soft floating map, gentle tilt, no grid */
.map {
  background: radial-gradient(circle at 50% 45%, rgba(91, 124, 255, .22), rgba(255, 255, 255, .03) 70%);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 28px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
  transform: rotateX(calc(var(--mx, 34deg) * .4)) rotateZ(calc(var(--mz, -6deg) * .3));
}
.office { border-radius: 16px; }
.office:hover, .office.active { background: rgba(127, 227, 255, .08); border-color: rgba(127, 227, 255, .35); }

/* governance: aurora in the same palette */
.cta-card { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .1); }
.aurora i:nth-child(3) { background: #8b7bff; opacity: .6; }

/* contact: same dark glass, light text */
.contact-mail { color: #fff; border-color: rgba(255, 255, 255, .6); }
.contact-mail:hover { color: #7fe3ff; border-color: #7fe3ff; }
.contact-form { border-radius: 24px; }
.field input, .field textarea, .field select { color: #fff; border-bottom-color: rgba(255, 255, 255, .2); }
.field select option { background: #0b1230; color: #fff; }
.field label { color: rgba(255, 255, 255, .55); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field label.static { color: #7fe3ff; }
.field::after { background: #7fe3ff; }
.form-note { color: rgba(255, 255, 255, .45); }
.addr { border-radius: 20px; }
.addr:hover { box-shadow: 0 30px 60px -34px rgba(91, 124, 255, .55); }
.addr-head small, .addr li span { color: rgba(255, 255, 255, .45); }
.addr .flag { background: rgba(255, 255, 255, .1); color: #fff; }
.addr ul { color: #fff; border-top-color: rgba(255, 255, 255, .1); }
.addr a { color: #7fe3ff; }
.footer { border-top-color: rgba(255, 255, 255, .06); }

/* hero stats: rounded glass pill row */
.stats { border-radius: 22px; }

/* ---------- real IG logo on a white tile ---------- */
.logo-tile {
  display: inline-flex; align-items: center; justify-content: center;
  height: 62px; padding: 8px 16px; border-radius: 16px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .45);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.logo-tile img { height: 100%; width: auto; display: block; }
.brand:hover .logo-tile { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(91, 124, 255, .55); }
.nav.scrolled .logo-tile { height: 52px; }
.footer .logo-tile { height: 56px; }
@media (max-width: 760px) { .logo-tile, .nav.scrolled .logo-tile { height: 48px; padding: 5px 10px; } }

/* ---------- logo straight on the background (dark-background version) ---------- */
.logo-tile, .nav.scrolled .logo-tile, .footer .logo-tile {
  background: none; padding: 0; border-radius: 0; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.logo-tile { height: 50px; }
.nav.scrolled .logo-tile { height: 42px; }
.footer .logo-tile { height: 46px; }
.brand:hover .logo-tile { box-shadow: none; transform: translateY(-1px); }
@media (max-width: 760px) { .logo-tile, .nav.scrolled .logo-tile { height: 40px; padding: 0; } }

/* ---------- cursor: slim and calm (no colour inversion, no filled blob) ---------- */
.cursor { mix-blend-mode: normal; }
.cursor-ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 1px solid rgba(255, 255, 255, .55); }
.cursor-dot { width: 4px; height: 4px; margin: -2px 0 0 -2px; background: #fff; }
.cursor.hover .cursor-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  background: transparent; border-color: rgba(127, 227, 255, .9);
}
.cursor.hover .cursor-dot { opacity: 1; background: #7fe3ff; }

/* subtle focus ring for keyboard users instead of the browser's default */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 1px solid rgba(127, 227, 255, .8); outline-offset: 4px; border-radius: 6px;
}
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }
html { -webkit-tap-highlight-color: transparent; }

/* ---------- keep the scroll line clear of the numbers row ---------- */
.scene-horizon { padding-bottom: 130px; }
.scroll-hint { bottom: 28px; height: 52px; }
@media (max-width: 760px) {
  .scene-horizon { padding-bottom: 110px; }
  .scroll-hint { bottom: 22px; height: 44px; }
}

/* ---------- partner logos (white on the dark design) ---------- */
.plogo { display: flex; align-items: center; height: 40px; min-width: 0; }
.plogo img {
  display: block; max-height: 30px; max-width: 150px; width: auto; height: auto; object-fit: contain;
  filter: brightness(0) invert(1); opacity: .9; transition: opacity .4s;
}
.plogo.sq img { max-height: 40px; }
.plogo.native img { filter: none; }
.partner:hover .plogo img { opacity: 1; }
.partner-top { min-height: 40px; }
.plogo { flex: none; }
.plogo img { height: 28px; max-height: none; width: auto; max-width: 160px; }
.plogo.sq img { height: 40px; }

/* ---------- privacy notice page ---------- */
.legal { position: relative; z-index: 1; padding: 150px 0 90px; }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 10px; }
.legal-date { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 28px; }
.legal-lead { font-size: 1.08rem; color: rgba(255, 255, 255, .85); margin-bottom: 18px; }
.legal h2 { font-size: 1.25rem; letter-spacing: -0.02em; margin: 34px 0 10px; }
.legal p, .legal li { color: rgba(255, 255, 255, .72); font-size: .98rem; }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 0 0 12px 20px; }
.legal li { margin-bottom: 4px; }
.legal a:not(.btn) { color: #7fe3ff; text-decoration: underline; text-underline-offset: 3px; }
.legal-back { margin-top: 40px; }
.legal-page .nav::before { opacity: 1; }
@media (max-width: 760px) {
  .legal { padding: 120px 0 70px; }
  .legal-page .nav-links.legal-nav { position: static; flex-direction: row; opacity: 1; visibility: visible; background: none; backdrop-filter: none; }
}

/* links under the form and in the footer */
.form-note a, .footer-legal { color: rgba(255, 255, 255, .7); text-decoration: underline; text-underline-offset: 3px; }
.form-note a:hover, .footer-legal:hover { color: #7fe3ff; }

/* phones: axis cards size to their content (no empty space under short ones) */
@media (max-width: 700px) {
  a.disc, .js .disc-grid a.disc.reveal.in, .disc-grid:hover a.disc, .js .disc-grid:hover a.disc.reveal.in { min-height: 0; }
}

/* "Message sent" confirmation over the contact form */
.contact-form { position: relative; }
.sent-panel {
  position: absolute; inset: 0; z-index: 5; border-radius: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 30px; gap: 10px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(74, 98, 255, .32), rgba(74, 98, 255, 0) 70%), #0b1030;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transform: scale(.97);
  transition: opacity .45s ease, transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .45s;
}
.contact-form.is-sent .sent-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sent-check { width: 76px; height: 76px; margin-bottom: 6px; }
.sent-check circle { fill: rgba(127, 227, 255, .12); stroke: #7fe3ff; stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; }
.sent-check path { fill: none; stroke: #ffffff; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 36; stroke-dashoffset: 36; }
.contact-form.is-sent .sent-check circle { animation: sent-draw .7s ease forwards .1s; }
.contact-form.is-sent .sent-check path { animation: sent-draw .45s ease forwards .7s; }
@keyframes sent-draw { to { stroke-dashoffset: 0; } }
.sent-title { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.03em; color: #fff; margin: 0; }
.sent-text { max-width: 400px; color: rgba(255, 255, 255, .78); font-size: 1rem; line-height: 1.55; margin: 0 0 12px; }
.sent-text strong { color: #fff; font-weight: 600; display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
.contact-form .sent-panel .btn { grid-column: auto; margin-top: 4px; }
@media (prefers-reduced-motion: reduce) {
  .sent-check circle, .sent-check path { stroke-dashoffset: 0; animation: none !important; }
}
