:root {
  --bg: #07090e;
  --bg-2: #0c1018;
  --surface: #111622;
  --line: rgba(220,228,255,.09);
  --line-2: rgba(220,228,255,.16);
  --text: #e9ecf3;
  --muted: #8d95a8;
  --faint: #5b6376;
  --cyan: #67e2f2;
  --violet: #9b7bff;
  --amber: #f3b65b;
  --spectrum: linear-gradient(90deg, #9b7bff 0%, #67e2f2 50%, #f3b65b 100%);
  --font-display: 'Instrument Serif', 'Times New Roman', serif;
  --font-body: 'General Sans', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --text-xs: clamp(.75rem, .72rem + .15vw, .8125rem);
  --text-sm: clamp(.875rem, .85rem + .15vw, .9375rem);
  --text-base: clamp(1rem, .96rem + .2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + .5vw, 1.375rem);
  --text-xl: clamp(2.1rem, 1.4rem + 2.8vw, 3.6rem);
  --text-hero: clamp(2.8rem, 1.2rem + 5vw, 5.6rem);
  --pad: clamp(1.25rem, 4vw, 3rem);
  --sec: clamp(4.5rem, 10vw, 9rem);
  --r: 16px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: var(--text-base); line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--pad); }
.mono { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .04em; }
.spectrum-text { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .14em .06em 0; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 600 var(--text-sm)/1 var(--font-body); color: #07090e; background: var(--text); padding: 1rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 4px rgba(103,226,242,.15), 0 10px 30px -10px rgba(103,226,242,.5); }
.btn--sm { padding: .7rem 1.1rem; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--cyan); }
.link { color: var(--cyan); font-weight: 600; font-size: var(--text-sm); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.is-scrolled { background: rgba(7,9,14,.78); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; gap: 2rem; padding-block: 1rem; }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; font: 400 1.4rem/1 var(--font-display); letter-spacing: .005em; white-space: nowrap; }
.wordmark em { color: var(--muted); }
.wordmark__bar { width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(from 200deg, #9b7bff, #67e2f2, #f3b65b, #9b7bff); position: relative; }
.wordmark__bar::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--bg); }
.nav nav { margin-left: auto; }
.nav__links { display: flex; gap: 1.75rem; font-size: var(--text-sm); }
.nav__links a { color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--text); }

/* Hero */
.hero { position: relative; min-height: 100svh; padding-top: 7rem; padding-bottom: 2.5rem; overflow: hidden; }
.hero__glow { position: absolute; width: 900px; height: 900px; right: -200px; top: -120px; background: radial-gradient(closest-side, rgba(103,226,242,.13), rgba(155,123,255,.06) 50%, transparent 72%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 2rem; align-items: center; min-height: calc(100svh - 14rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; color: var(--muted); text-transform: uppercase; margin-bottom: 1.75rem; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(103,226,242,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(103,226,242,0); } 100% { box-shadow: 0 0 0 0 rgba(103,226,242,0); } }
.hero__title { font: 400 var(--text-hero)/1 var(--font-display); letter-spacing: -.02em; max-width: 14ch; }
.hero__lede { margin-top: 1.75rem; max-width: 46ch; color: var(--muted); font-size: var(--text-lg); line-height: 1.55; }
.hero__ctas { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2.25rem; }
.hero__facts { display: flex; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hero__facts dt { color: var(--faint); text-transform: uppercase; }
.hero__facts dd { font: 400 1.6rem/1.2 var(--font-display); margin-top: .25rem; }

.globe { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: end; touch-action: pan-y; }
.globe canvas { width: 100%; height: 100%; display: block; cursor: grab; }
.globe canvas:active { cursor: grabbing; }
.globe__card { position: absolute; left: 0; bottom: 8%; width: min(270px, 70%); padding: 1rem 1.1rem; border-radius: 12px; background: #0c1018; border: 1px solid var(--line-2); box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); z-index: 2; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.globe__card.is-swap { opacity: 0; transform: translateY(6px); }
.globe__coord { color: var(--cyan); }
.globe__name { font: 400 1.65rem/1.15 var(--font-display); margin: .25rem 0 .35rem; }
.globe__desc { font-size: var(--text-xs); color: var(--muted); line-height: 1.5; }
.globe__hint { position: absolute; right: 0; top: 4%; color: var(--faint); }

.nodes { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.nodes button { font: 500 var(--text-xs)/1 var(--font-mono); letter-spacing: .03em; color: var(--muted); background: transparent; border: 1px solid var(--line-2); border-radius: 999px; padding: .55rem .85rem; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; transition: color .2s, border-color .2s, background .2s; }
.nodes button::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); transition: background .2s; }
.nodes button:hover, .nodes button[aria-pressed="true"] { color: var(--text); border-color: rgba(103,226,242,.5); background: rgba(103,226,242,.06); }
.nodes button[aria-pressed="true"]::before { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* Section scaffolding */
.section { padding-block: var(--sec); position: relative; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.sec-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.sec-head__lede { max-width: 38ch; color: var(--muted); }
.kicker { color: var(--cyan); text-transform: uppercase; margin-bottom: 1rem; }
.h2 { font: 400 var(--text-xl)/1.04 var(--font-display); letter-spacing: -.015em; }
.h2 em { color: var(--muted); }
.body { color: var(--muted); margin-top: 1.5rem; max-width: 52ch; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.svc { position: relative; background: var(--bg); padding: 2rem 1.6rem 2.2rem; min-height: 250px; display: flex; flex-direction: column; transition: background .35s var(--ease); isolation: isolate; }
.svc::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(103,226,242,.09), transparent 45%); opacity: 0; transition: opacity .3s; z-index: -1; }
.svc:hover::before { opacity: 1; }
.svc::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--spectrum); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.svc:hover::after { transform: scaleX(1); }
.svc__n { color: var(--faint); margin-bottom: auto; padding-bottom: 2.5rem; }
.svc h3 { font-size: var(--text-lg); font-weight: 500; line-height: 1.25; margin-bottom: .6rem; letter-spacing: -.01em; }
.svc p { font-size: var(--text-sm); color: var(--muted); }
.svc--cta { background: var(--surface); justify-content: flex-end; }
.svc--cta .link { margin-top: 1rem; }

/* Video band */
.vband { position: relative; height: clamp(420px, 70vh, 720px); overflow: hidden; display: flex; align-items: flex-end; background: #05070b; }
.vband__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.vband__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,9,14,.95) 0%, rgba(7,9,14,.3) 55%, rgba(7,9,14,.6) 100%); }
.vband__inner { position: relative; padding-bottom: clamp(3rem, 7vw, 6rem); }
.vband__quote { font: 400 clamp(2rem, 1rem + 3.4vw, 4rem)/1.08 var(--font-display); max-width: 22ch; letter-spacing: -.015em; }
.vband__quote em { color: var(--cyan); }

/* Levels */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.level { padding: 2rem; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg)); display: flex; flex-direction: column; transition: border-color .3s, transform .3s var(--ease); }
.level:hover { border-color: var(--line-2); transform: translateY(-3px); }
.level--feat { border-color: rgba(103,226,242,.3); box-shadow: 0 30px 80px -40px rgba(103,226,242,.35); }
.level__top { display: flex; align-items: center; gap: 1rem; color: var(--muted); margin-bottom: 2.5rem; }
.level__bar { flex: 1; height: 2px; background: var(--line-2); position: relative; border-radius: 2px; overflow: hidden; }
.level__bar::after { content: ''; position: absolute; inset: 0; width: var(--w); background: var(--spectrum); }
.level h3 { font: 400 2rem/1.1 var(--font-display); margin-bottom: .75rem; }
.level p { color: var(--muted); font-size: var(--text-sm); }
.ticks { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: grid; gap: .55rem; font-size: var(--text-sm); }
.ticks li { display: flex; gap: .65rem; align-items: baseline; }
.ticks li::before { content: '+'; font-family: var(--font-mono); color: var(--cyan); }

/* Coverage split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3.4; border: 1px solid var(--line); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.regions { margin-top: 2rem; border-top: 1px solid var(--line); }
.regions li { display: flex; align-items: center; gap: 1.25rem; padding: .9rem 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.regions .mono { width: 3.5rem; color: var(--cyan); }

/* Team */
.team { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 6vw, 6rem); }
.team__img { margin-top: 2.5rem; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/4.4; border: 1px solid var(--line); }
.team__img img { width: 100%; height: 100%; object-fit: cover; }
.people { display: grid; gap: 1.25rem; align-content: start; }
.person { padding: 2rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.person__head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.25rem; }
.person__init { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 400 1.3rem/1 var(--font-display); background: var(--surface); border: 1px solid var(--line-2); position: relative; }
.person__init::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; padding: 1px; background: var(--spectrum); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .7; }
.person h3 { font-size: var(--text-lg); font-weight: 500; }
.person__head .mono { color: var(--muted); }
.person > p { color: var(--muted); font-size: var(--text-sm); }
.langs { margin-top: 1.25rem; color: var(--faint) !important; letter-spacing: .12em; }
.partners { padding: 1.5rem 2rem; border: 1px dashed var(--line-2); border-radius: var(--r); }
.partners .kicker { margin-bottom: .75rem; }
.partners__row { display: flex; gap: 2.5rem; font: 400 1.7rem/1 var(--font-display); color: var(--text); flex-wrap: wrap; }

/* Contact */
.contact { border-top: 1px solid var(--line); background: radial-gradient(800px 400px at 15% 0%, rgba(155,123,255,.08), transparent 70%); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact__addr { font-style: normal; margin-top: 2.5rem; color: var(--muted); display: grid; gap: .4rem; }
.contact__addr .mono { color: var(--faint); text-transform: uppercase; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 2rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2); }
.field { display: grid; gap: .45rem; }
.field--full { grid-column: 1/-1; }
.field label { font-size: var(--text-xs); color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: var(--text-sm); color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: .85rem 1rem; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(103,226,242,.12); }
.field.is-error input { border-color: #ff7a7a; }
.form .btn { margin-top: .5rem; padding-block: 1.1rem; }
.form__msg { grid-column: 1/-1; min-height: 1.3em; }
.form__msg.ok { color: var(--cyan); }
.form__msg.err { color: #ff9a9a; }

.footer { border-top: 1px solid var(--line); padding-block: 2rem; color: var(--faint); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer .wordmark { color: var(--text); font-size: 1.2rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav .btn--sm { margin-left: auto; }
  .hero__grid, .split, .team, .contact__grid { grid-template-columns: 1fr; }
  .globe { justify-self: center; max-width: 520px; }
  .levels { grid-template-columns: 1fr; }
  .team__img { aspect-ratio: 16/10; }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .form { grid-template-columns: 1fr; padding: 1.4rem; }
  .hero__facts { gap: 1.25rem; }
  .hero__facts dd { font-size: 1.3rem; }
  .wordmark { font-size: 1.2rem; }
  .globe__hint { display: none; }
  .globe__card { position: relative; left: auto; bottom: auto; width: 100%; margin-top: -1rem; }
  .globe { aspect-ratio: auto; }
  .globe canvas { aspect-ratio: 1; height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.offices { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.office { font-style: normal; display: grid; gap: .35rem; align-content: start; padding: 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); color: var(--muted); font-size: var(--text-sm); }
.office__tag { color: var(--cyan); text-transform: uppercase; }
.office__city { font: 400 1.6rem/1.15 var(--font-display); color: var(--text); margin: .2rem 0 .35rem; }
.office__phone { margin-top: .6rem; color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; border-bottom: 1px solid var(--line-2); justify-self: start; transition: border-color .2s; }
.office__phone:hover { border-color: var(--cyan); }
@media (max-width: 560px) { .offices { grid-template-columns: 1fr; } }
.hero__facts dd { white-space: nowrap; }
.lbl-short { display: none; }
@media (max-width: 560px) {
  .hero__facts { flex-wrap: wrap; row-gap: 1rem; }
  .lbl-full { display: none; }
  .lbl-short { display: inline; }
}

.nodes { gap: .4rem; }
.nodes button { padding: .45rem .7rem; font-size: .72rem; }
.nodes__legend { display: flex; gap: 1.25rem; margin-top: 1.25rem; color: var(--faint); }
.nodes__legend span { display: inline-flex; align-items: center; gap: .5rem; }
.nodes__legend i { width: 18px; height: 2px; border-radius: 2px; display: inline-block; }
.split__img { aspect-ratio: 4/5; }
.split__img img { object-position: center 40%; }

.office__email { color: var(--cyan); font-size: var(--text-xs); overflow-wrap: normal; justify-self: start; margin-top: .2rem; }
.office__email:hover { text-decoration: underline; }
