/* ==========================================================================
   Dexternal — design system
   Dark premium · teal brand accent · Space Grotesk + Urbanist
   ========================================================================== */

/* ---------- Fonts (local) ------------------------------------------------ */
@font-face { font-family: 'Space Grotesk'; src: url(../fonts/space/SpaceGrotesk-Light.woff2) format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url(../fonts/space/SpaceGrotesk-Regular.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url(../fonts/space/SpaceGrotesk-Medium.woff2) format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url(../fonts/space/SpaceGrotesk-SemiBold.woff2) format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url(../fonts/space/SpaceGrotesk-Bold.woff2) format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

@font-face { font-family: 'Urbanist'; src: url(../fonts/urbanist/Urbanist-Light.woff2) format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url(../fonts/urbanist/Urbanist-Regular.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url(../fonts/urbanist/Urbanist-Medium.woff2) format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url(../fonts/urbanist/Urbanist-SemiBold.woff2) format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url(../fonts/urbanist/Urbanist-Bold.woff2) format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ------------------------------------------------------- */
:root {
  /* surfaces */
  --ink-900: #050708;
  --ink-800: #080B0D;
  --ink-700: #0C1114;
  --ink-600: #11181C;
  --surface: rgba(255, 255, 255, .034);
  --surface-2: rgba(255, 255, 255, .055);
  --line: rgba(255, 255, 255, .085);
  --line-strong: rgba(255, 255, 255, .16);

  /* text */
  --text: #EEF4F5;
  --text-soft: #C3D1D4;
  --muted: #8B9EA3;
  --muted-dim: #63757A;

  /* brand */
  --teal: #6DA3AC;          /* brand mark colour */
  --teal-bright: #86D7E2;   /* highlight */
  --teal-glow: #4FBACB;
  --teal-deep: #1A3C44;
  --violet: #A79BF7;        /* secondary gradient tone, used sparingly */
  --sand: #E3C39B;          /* tertiary warm hint */

  --grad-brand: linear-gradient(112deg, var(--teal-bright) 0%, var(--teal) 46%, var(--violet) 100%);
  --grad-line: linear-gradient(90deg, transparent, var(--line-strong) 18%, var(--line-strong) 82%, transparent);

  /* type */
  --font-display: 'Space Grotesk', 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* metrics */
  --shell: 1240px;
  --pad: clamp(20px, 5vw, 56px);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 34px;

  --ease: cubic-bezier(.22, .68, 0, 1);
  --ease-soft: cubic-bezier(.4, .1, .2, 1);
}

/* ---------- Reset ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.02vw, 17.5px);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); font-weight: 500; line-height: 1.06; letter-spacing: -.032em; }
p { margin: 0; }
address { font-style: normal; }
::selection { background: rgba(134, 215, 226, .26); color: #fff; }

:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout ------------------------------------------------------ */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { position: relative; padding-block: clamp(64px, 7.4vw, 118px); }
.section--tight { padding-block: clamp(48px, 5.2vw, 82px); }

.hairline { height: 1px; background: var(--grad-line); border: 0; margin: 0; }

/* ---------- Type scale -------------------------------------------------- */
.display {
  font-size: clamp(2.75rem, 7.4vw, 5.8rem);
  line-height: .96;
  letter-spacing: -.042em;
  font-weight: 500;
}
.h2 {
  font-size: clamp(2.05rem, 4.5vw, 3.55rem);
  letter-spacing: -.036em;
  font-weight: 500;
}
.h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); letter-spacing: -.028em; font-weight: 500; }
.h4 { font-size: 1.14rem; letter-spacing: -.018em; font-weight: 600; font-family: var(--font-display); }

.lead {
  font-size: clamp(1.09rem, 1.35vw, 1.31rem);
  line-height: 1.6;
  color: var(--text-soft);
  font-weight: 350;
}
.body-muted { color: var(--muted); }
.small { font-size: .935rem; line-height: 1.6; }

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: .765rem;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 4px rgba(134, 215, 226, .14);
}

/* ---------- Ambient background ------------------------------------------ */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(120% 82% at 50% -12%, #112229 0%, transparent 60%),
    var(--ink-900);
}
.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .72;
  will-change: transform;
}
.aurora span:nth-child(1) {
  width: 46vw; height: 46vw; min-width: 380px; min-height: 380px;
  top: -14vw; left: -8vw;
  background: radial-gradient(circle at 40% 40%, rgba(109, 163, 172, .58), transparent 66%);
  animation: drift-a 26s var(--ease-soft) infinite alternate;
}
.aurora span:nth-child(2) {
  width: 38vw; height: 38vw; min-width: 320px; min-height: 320px;
  top: 8vw; right: -10vw;
  background: radial-gradient(circle at 50% 50%, rgba(167, 155, 247, .34), transparent 68%);
  animation: drift-b 32s var(--ease-soft) infinite alternate;
}
.aurora span:nth-child(3) {
  width: 52vw; height: 30vw; min-width: 340px;
  bottom: -8vw; left: 24vw;
  background: radial-gradient(circle at 50% 50%, rgba(79, 186, 203, .24), transparent 70%);
  animation: drift-c 38s var(--ease-soft) infinite alternate;
}
.grid-veil {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(130% 96% at 50% 0%, #000 12%, transparent 72%);
  -webkit-mask-image: radial-gradient(130% 96% at 50% 0%, #000 12%, transparent 72%);
}

/* fine film grain — keeps large dark gradients from banding */
.grain {
  position: fixed;
  inset: -50%;
  z-index: -1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes drift-a { to { transform: translate3d(9vw, 7vw, 0) scale(1.14); } }
@keyframes drift-b { to { transform: translate3d(-8vw, 11vw, 0) scale(1.2); } }
@keyframes drift-c { to { transform: translate3d(7vw, -6vw, 0) scale(1.1); } }

/* ---------- Scroll progress -------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--grad-brand);
  z-index: 90;
  will-change: transform;
}

/* ---------- Header ------------------------------------------------------ */
.masthead {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  padding-block: 18px;
  transition: padding .45s var(--ease), background .45s var(--ease), backdrop-filter .45s var(--ease), border-color .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.masthead.is-stuck {
  padding-block: 11px;
  background: rgba(6, 9, 10, .74);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--line);
}
.masthead__inner {
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 30px; width: auto; transition: opacity .3s var(--ease); }
.brand:hover img { opacity: .82; }

.nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav a {
  position: relative;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: .955rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 2px;
  width: 0; height: 1px;
  background: var(--teal-bright);
  transform: translateX(-50%);
  transition: width .38s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 18px; }
.nav a.is-active { color: var(--text); background: var(--surface); }

.masthead__cta { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }

/* burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  position: relative;
}
.burger i {
  position: absolute;
  left: 13px;
  width: 18px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .4s var(--ease), opacity .25s var(--ease);
}
.burger i:nth-child(1) { top: 17px; }
.burger i:nth-child(2) { bottom: 17px; }
body.nav-open .burger i:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
body.nav-open .burger i:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* mobile sheet */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 79;
  background: rgba(5, 7, 8, .96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 96px var(--pad) 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .42s var(--ease), visibility .42s;
}
body.nav-open .sheet { opacity: 1; visibility: visible; }
.sheet a.sheet__link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 2.9rem);
  letter-spacing: -.035em;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
}
body.nav-open .sheet a.sheet__link { opacity: 1; transform: none; }
body.nav-open .sheet a.sheet__link:nth-child(1) { transition-delay: .08s; }
body.nav-open .sheet a.sheet__link:nth-child(2) { transition-delay: .14s; }
body.nav-open .sheet a.sheet__link:nth-child(3) { transition-delay: .2s; }
body.nav-open .sheet a.sheet__link:nth-child(4) { transition-delay: .26s; }
body.nav-open .sheet a.sheet__link:nth-child(5) { transition-delay: .32s; }
.sheet a.sheet__link:hover { color: var(--teal-bright); }
.sheet__foot { margin-top: 34px; color: var(--muted); }
.sheet__foot a { color: var(--teal-bright); }

/* ---------- Buttons ----------------------------------------------------- */
.btn {
  --btn-bg: var(--surface);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 25px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .96rem;
  font-weight: 500;
  letter-spacing: -.012em;
  white-space: nowrap;
  background: var(--btn-bg);
  border: 1px solid var(--line);
  color: var(--text);
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--grad-brand);
  border-color: transparent;
  color: #06181C;
  font-weight: 600;
  box-shadow: 0 8px 26px -16px rgba(109, 163, 172, .7);
}
.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(112deg, #A7E6EE 0%, #7FC3CD 50%, #C0B6FF 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.btn--primary:hover { box-shadow: 0 14px 36px -16px rgba(109, 163, 172, .85); }
.btn--primary:hover::before { opacity: 1; }

.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--surface); }
.btn--sm { padding: 10px 18px; font-size: .9rem; }

/* text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .96rem;
  color: var(--teal-bright);
  transition: gap .35s var(--ease);
}
.link-arrow:hover { gap: 13px; }

/* ---------- Hero -------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex;
  align-items: center;
  padding-block: clamp(130px, 17vh, 190px) clamp(64px, 9vh, 110px);
  overflow: hidden;
}
.hero__spot {
  position: absolute;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(134, 215, 226, .10), transparent 62%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .8s var(--ease);
  z-index: 0;
}
.hero:hover .hero__spot { opacity: 1; }

.hero__inner { position: relative; z-index: 1; width: 100%; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(10px);
  font-size: .845rem;
  color: var(--text-soft);
  margin-bottom: clamp(22px, 3vw, 34px);
  max-width: 100%;
}
.hero__badge span.label { white-space: nowrap; }
.hero__badge b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(134, 215, 226, .13);
  color: var(--teal-bright);
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  flex: 0 0 auto;
}
.pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal-bright);
  animation: pulse 2.4s var(--ease-soft) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(134, 215, 226, .55); }
  50% { box-shadow: 0 0 0 6px rgba(134, 215, 226, 0); }
}

.hero__title { max-width: 15.5em; }
.hero__title .word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero__title .word > span {
  display: inline-block;
  transform: translateY(110%);
  animation: word-up .95s var(--ease) forwards;
}
@keyframes word-up { to { transform: none; } }

/* rotating headline word */
.rotator {
  position: relative;
  display: inline-grid;
  vertical-align: bottom;
  overflow: hidden;
}
.rotator > span {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(60%);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  white-space: nowrap;
  /* the gradient must live on the rotating item itself: background-clip:text
     cannot reach glyphs inside a descendant that clips its own overflow */
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.rotator > span.is-on { opacity: 1; transform: none; }
.rotator > span.is-out { opacity: 0; transform: translateY(-60%); }

.hero__body {
  max-width: 46ch;
  margin-top: clamp(22px, 2.6vw, 32px);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: clamp(30px, 3.6vw, 44px);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 54px);
  margin-top: clamp(40px, 5.2vw, 68px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__meta div { max-width: 21ch; }
.hero__meta dt {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}
.hero__meta dd { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.5; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-dim);
  font-family: var(--font-display);
}
.scroll-cue i {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--teal-bright), transparent);
  animation: cue 2.6s var(--ease-soft) infinite;
  transform-origin: top;
}
@keyframes cue {
  0% { transform: scaleY(0); opacity: 0; }
  35% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(40px); opacity: 0; }
}

/* ---------- Marquee ----------------------------------------------------- */
.marquee {
  position: relative;
  padding-block: 22px;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, .014);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: slide 44s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  padding-inline: 17px;
  font-family: var(--font-display);
  font-size: clamp(.9rem, 1.15vw, 1.02rem);
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__track span::after {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
  opacity: .6;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Section head ----------------------------------------------- */
.sec-head { max-width: 780px; }
.sec-head .eyebrow { margin-bottom: 20px; }
.sec-head .h2 + p { margin-top: 20px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: end;
  max-width: none;
}

/* ---------- Cards / spotlight ------------------------------------------ */
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.card::before {
  /* cursor spotlight */
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(134, 215, 226, .16), transparent 68%);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .9); }
.card:hover::before { opacity: 1; }

/* ---------- About ------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: start;
}
.about__statement {
  font-family: var(--font-display);
  font-size: clamp(1.42rem, 2.35vw, 2.14rem);
  line-height: 1.28;
  letter-spacing: -.03em;
  font-weight: 400;
  color: var(--text);
}
.about__statement em { font-style: normal; }
@media (min-width: 901px) {
  .about > div:first-child { position: sticky; top: 118px; }
}
.about__copy { display: grid; gap: 18px; color: var(--muted); }

.pillars {
  display: grid;
  gap: 12px;
  margin-top: clamp(36px, 4.6vw, 62px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pillar { padding: 26px 24px 28px; }
.pillar__icon {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(134, 215, 226, .1);
  border: 1px solid rgba(134, 215, 226, .2);
  color: var(--teal-bright);
  margin-bottom: 18px;
}
.pillar__icon svg { width: 20px; height: 20px; }
.pillar h3 { margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: .96rem; }

/* ---------- Services --------------------------------------------------- */
.services { display: grid; gap: 18px; }
.service {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(26px, 3.4vw, 46px);
  border-radius: var(--radius-lg);
}
.service:nth-child(even) .service__art { order: -1; }
.service__no {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--teal);
  display: block;
  margin-bottom: 14px;
}
.service h3 { margin-bottom: 14px; }
.service p { color: var(--muted); }
.service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .026);
  font-size: .855rem;
  color: var(--text-soft);
  transition: border-color .3s var(--ease), color .3s var(--ease), background .3s;
}
.tag::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--teal-bright);
}
.service:hover .tag { border-color: rgba(134, 215, 226, .28); }

.service__art {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 90% at 22% 8%, rgba(109, 163, 172, .18), transparent 62%),
    linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .008));
  overflow: hidden;
  display: grid;
  place-items: center;
}
.service__art svg { width: 100%; height: 100%; }
.service__art::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent 76%);
  pointer-events: none;
}

/* ---------- Process ---------------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(40px, 5.5vw, 72px);
  counter-reset: step;
  border-top: 1px solid var(--line);
}
.step {
  position: relative;
  padding: 30px 26px 34px 0;
  border-right: 1px solid var(--line);
  padding-right: 26px;
}
.step:last-child { border-right: 0; }
.step::before {
  content: '';
  position: absolute;
  top: -3px; left: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 4px rgba(134, 215, 226, .14);
}
.step__no {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--muted-dim);
  display: block;
  margin-bottom: 26px;
}
.step h3 { font-size: 1.24rem; margin-bottom: 9px; }
.step p { color: var(--muted); font-size: .945rem; }

/* ---------- Why / feature grid ----------------------------------------- */
.reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(36px, 4.4vw, 58px);
}
.reason { padding: 30px 28px 34px; }
.reason__badge {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--grad-brand);
  color: #07171B;
  margin-bottom: 20px;
  box-shadow: 0 12px 30px -16px rgba(109, 163, 172, .9);
}
.reason__badge svg { width: 21px; height: 21px; }
.reason h3 { font-size: 1.2rem; margin-bottom: 9px; }
.reason p { color: var(--muted); font-size: .96rem; }

/* ---------- Careers ---------------------------------------------------- */
.careers {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  padding: clamp(34px, 5.6vw, 76px);
  background:
    radial-gradient(120% 130% at 88% 6%, rgba(167, 155, 247, .16), transparent 55%),
    radial-gradient(100% 120% at 4% 96%, rgba(109, 163, 172, .2), transparent 58%),
    linear-gradient(170deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01));
}
.careers__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.roles { display: grid; gap: 9px; }
.role {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(5, 7, 8, .4);
  transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}
.role:hover { border-color: rgba(134, 215, 226, .34); background: rgba(5, 7, 8, .62); transform: translateX(4px); }
.role__title { display: block; font-family: var(--font-display); font-weight: 500; letter-spacing: -.018em; }
.role__meta { display: block; font-size: .85rem; color: var(--muted-dim); margin-top: 2px; }
.role svg { width: 17px; height: 17px; color: var(--teal-bright); flex: 0 0 auto; }

/* ---------- Contact CTA ------------------------------------------------ */
.cta {
  position: relative;
  text-align: center;
  padding: clamp(46px, 7vw, 96px) clamp(24px, 5vw, 72px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 130% at 50% 0%, rgba(109, 163, 172, .26), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .008));
}
.cta__mail {
  display: inline-block;
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: clamp(1.32rem, 3.4vw, 2.5rem);
  letter-spacing: -.035em;
  font-weight: 500;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  position: relative;
}
.cta__mail::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .5s var(--ease);
}
.cta__mail:hover::after { transform: scaleX(1); }
.cta__note { margin-top: 22px; color: var(--muted); font-size: .95rem; }
.cta__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

/* ---------- Footer ----------------------------------------------------- */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .012), transparent);
  padding-top: clamp(56px, 7vw, 92px);
  overflow: hidden;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.footer__brand img { height: 28px; margin-bottom: 18px; }
.footer__brand p { color: var(--muted); font-size: .95rem; max-width: 30ch; }
.footer h4 {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
}
.footer ul { display: grid; gap: 11px; }
.footer li a,
.footer address,
.footer__col p { color: var(--muted); font-size: .95rem; }
.footer li a { transition: color .3s var(--ease); }
.footer li a:hover { color: var(--teal-bright); }
.footer address { line-height: 1.6; }
.mail-link { color: var(--teal-bright); border-bottom: 1px solid rgba(134, 215, 226, .3); transition: border-color .3s; }
.mail-link:hover { border-color: var(--teal-bright); }

.footer__wordmark {
  margin-top: clamp(48px, 7vw, 86px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 15.6vw, 15rem);
  line-height: .84;
  letter-spacing: -.055em;
  text-align: center;
  background: linear-gradient(180deg, rgba(238, 244, 245, .1), rgba(238, 244, 245, 0));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  user-select: none;
  pointer-events: none;
}
.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 24px 30px;
  margin-top: -10px;
  border-top: 1px solid var(--line);
  color: var(--muted-dim);
  font-size: .875rem;
}
.footer__base a { transition: color .3s; }
.footer__base a:hover { color: var(--text-soft); }
.footer__base nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Back to top ------------------------------------------------ */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(6, 9, 10, .8);
  backdrop-filter: blur(12px);
  color: var(--text);
  z-index: 70;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s, border-color .3s;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--teal); }
.to-top svg { width: 17px; height: 17px; }

/* ---------- Reveal on scroll ------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Legal / article pages -------------------------------------- */
.doc-hero {
  padding-block: clamp(128px, 16vh, 190px) clamp(28px, 4vw, 48px);
}
.doc-hero .display { font-size: clamp(2.3rem, 5.6vw, 4.2rem); }
.doc-hero p { margin-top: 18px; color: var(--muted); }
.doc-back {
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  font-size: .9rem;
  color: var(--muted);
  transition: color .3s, gap .3s;
}
.doc-back:hover { color: var(--teal-bright); gap: 13px; }
.doc-back svg { width: 15px; height: 15px; }

.doc {
  max-width: 78ch;
  padding-bottom: clamp(64px, 9vw, 120px);
  font-size: 1.02rem;
  color: var(--text-soft);
  overflow-wrap: break-word;
}
/* legal text carries bare URLs — let them break rather than widen the page */
.doc a { overflow-wrap: anywhere; }
.doc > * + * { margin-top: 1.1em; }
.doc h1, .doc h2, .doc h3, .doc h4, .doc h5, .doc h6 {
  font-family: var(--font-display);
  color: var(--text);
  letter-spacing: -.028em;
  line-height: 1.2;
}
.doc h1 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-top: 2em; }
.doc h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin-top: 2.1em; padding-top: 1.1em; border-top: 1px solid var(--line); }
.doc h3 { font-size: 1.24rem; margin-top: 1.9em; }
.doc h4, .doc h5, .doc h6 { font-size: 1.06rem; margin-top: 1.6em; }
.doc p, .doc li { color: var(--text-soft); }
.doc ul, .doc ol { padding-left: 1.35em; display: grid; gap: .55em; }
.doc ul { list-style: disc; }
.doc ol { list-style: decimal; }
.doc ul li::marker, .doc ol li::marker { color: var(--teal); }
.doc a { color: var(--teal-bright); border-bottom: 1px solid rgba(134, 215, 226, .28); }
.doc a:hover { border-color: var(--teal-bright); }
.doc strong, .doc b { color: var(--text); font-weight: 600; }
.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
  display: block;
  overflow-x: auto;
}
.doc th, .doc td {
  border: 1px solid var(--line);
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
}
.doc th { background: var(--surface); color: var(--text); font-weight: 600; font-family: var(--font-display); }
.doc hr { border: 0; height: 1px; background: var(--line); margin-block: 2em; }
.doc img { border-radius: var(--radius-sm); border: 1px solid var(--line); }
.doc blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--teal);
  color: var(--muted);
}

/* ---------- Skip link -------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 200;
}
.skip-link:focus { left: 16px; }

/* ---------- Responsive ------------------------------------------------- */
@media (max-width: 1080px) {
  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { border-bottom: 1px solid var(--line); }
  .step:nth-child(2n) { border-right: 0; }
  .step:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: block; }
  .masthead__cta .btn { display: none; }
  .masthead__inner { justify-content: space-between; }
  .masthead__cta { margin-left: auto; }
  .about,
  .service,
  .careers__grid,
  .sec-head--split { grid-template-columns: minmax(0, 1fr); }
  .sec-head--split { gap: 22px; align-items: start; }
  .service:nth-child(even) .service__art { order: 0; }
  .service__art { order: -1; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: auto; }
  .scroll-cue { display: none; }
}

@media (max-width: 620px) {
  .reasons { grid-template-columns: minmax(0, 1fr); }
  .hero__badge { flex-wrap: wrap; row-gap: 4px; padding: 8px 16px 9px 8px; font-size: .82rem; }
  .brand img { height: 26px; }
}

@media (max-width: 560px) {
  .process { grid-template-columns: minmax(0, 1fr); }
  .step { border-right: 0; padding-right: 0; }
  .step:last-child { border-bottom: 0; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__meta { gap: 22px; }
  .btn { width: 100%; }
  .hero__actions { flex-direction: column; }
  .cta__row .btn { width: auto; }
}

/* ---------- Motion preferences ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__title .word > span { transform: none; }
  .marquee__track { animation: none; }
  .aurora span { animation: none; }
  .grain { display: none; }
}

/* ---------- Print ----------------------------------------------------- */
@media print {
  .aurora, .grid-veil, .masthead, .to-top, .scroll-progress, .footer__wordmark { display: none !important; }
  body { background: #fff; color: #111; }
  .doc, .doc p, .doc li { color: #111; }
}
