/* ==========================================================================
   develooper — main stylesheet
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: "Galyon"; src: url("../fonts/Galyon-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Galyon"; src: url("../fonts/Galyon-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Metropolis"; src: url("../fonts/Metropolis-Light.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Metropolis"; src: url("../fonts/Metropolis-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Metropolis"; src: url("../fonts/Metropolis-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Metropolis"; src: url("../fonts/Metropolis-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Metropolis"; src: url("../fonts/Metropolis-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --primary: #00BFFF;
  --primary-hover: #0AADE8;
  --blue: #1D31E9;
  /* Softened navy scale (no near-blacks) */
  --navy-950: #0F1C3F;
  --navy-900: #13244F;
  --navy-800: #1A2E60;
  --navy-700: #22397A;
  --ink: #3A4152;
  --ink-strong: #2E3546;
  --ink-soft: #646C7D;
  --light: #F4F6FA;
  --white: #FFFFFF;
  --on-dark: #EDF1F9;
  --on-dark-soft: #AEBCD8;

  --font-display: "Galyon", "Metropolis", system-ui, sans-serif;
  --font-body: "Metropolis", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(88px, 12vw, 160px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --nav-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
button { font: inherit; }
::selection { background: var(--primary); color: var(--white); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 1; }
.text-accent { color: var(--primary); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--primary); color: var(--white); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { left: 8px; }

.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120;
  background: var(--primary); transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}

/* ---------- Buttons ---------- */
.btn {
  --bx: 0px; --by: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 16px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  transform: translate(var(--bx), var(--by));
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { color: var(--white); background: var(--primary); box-shadow: 0 10px 26px -12px rgba(0, 191, 255, .65); }
.btn--primary:hover { background: var(--primary-hover); box-shadow: 0 14px 32px -12px rgba(0, 191, 255, .75); }
.btn--ghost { color: var(--on-dark); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); backdrop-filter: blur(6px); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--primary); color: var(--white); }
.btn--sm { padding: 11px 20px; font-size: 12.5px; }
.btn--wide { min-width: min(100%, 260px); }
.btn--icon img { width: 26px; height: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--primary);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--primary); border-radius: 2px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .4s, box-shadow .4s, height .4s var(--ease), color .3s;
  color: var(--on-dark);
}
.nav.is-scrolled { --nav-h: 64px; background: rgba(19, 36, 79, .74); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.07); }
.nav.is-light { color: var(--ink); }
.nav.is-light.is-scrolled { background: rgba(244, 246, 250, .82); box-shadow: 0 1px 0 rgba(19, 36, 79, .08); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand { position: relative; display: block; width: 141px; height: 26px; flex: none; }
.nav__logo { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .3s; }
.nav__logo--dark { opacity: 0; }
.nav.is-light .nav__logo--dark { opacity: 1; }
.nav.is-light .nav__logo--light { opacity: 0; }
.nav__menu { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.nav__link {
  position: relative; text-decoration: none; font-weight: 500; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 0;
  opacity: .85; transition: opacity .25s;
}
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--primary); border-radius: 2px; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__link:hover, .nav__link.is-active { opacity: 1; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; }
@media (min-width: 901px) and (max-width: 1100px) { .nav__cta { display: none; } }

@media (max-width: 900px) {
  .nav__toggle {
    display: grid; place-content: center; gap: 7px; width: 46px; height: 46px; margin-right: -8px;
    background: none; border: 0; cursor: pointer; color: inherit; position: relative; z-index: 2;
  }
  .nav__toggle span { display: block; width: 26px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav__menu {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px;
    background: radial-gradient(120% 80% at 80% 0%, var(--navy-700) 0%, var(--navy-900) 60%);
    color: var(--on-dark);
    clip-path: circle(0 at calc(100% - 40px) 38px);
    transition: clip-path .7s var(--ease);
    visibility: hidden;
  }
  .nav.is-open .nav__menu { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; }
  .nav.is-open { color: var(--on-dark); }
  .nav.is-open .nav__logo--light { opacity: 1; }
  .nav.is-open .nav__logo--dark { opacity: 0; }
  .nav__link { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: .04em; }
  .nav__cta { margin-top: 12px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  color: var(--on-dark);
  background:
    radial-gradient(90% 70% at 75% 45%, rgba(29, 49, 233, .3) 0%, transparent 60%),
    linear-gradient(160deg, #1B3272 0%, var(--navy-900) 50%, var(--navy-950) 100%);
  /* Vertical spacing scales with viewport height so the hero always fits in 100vh */
  padding: calc(var(--nav-h) + 24px) 0 clamp(96px, 14vh, 180px);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5;
  -webkit-mask-image: radial-gradient(55% 60% at 70% 50%, #000 10%, rgba(0,0,0,.35) 55%, transparent 85%);
          mask-image: radial-gradient(55% 60% at 70% 50%, #000 10%, rgba(0,0,0,.35) 55%, transparent 85%);
}
@media (max-width: 760px) {
  /* Circuit is drawn lower on small screens (see main.js) */
  .hero__canvas {
    opacity: .7;
    -webkit-mask-image: radial-gradient(75% 45% at 62% 72%, #000 10%, rgba(0,0,0,.35) 55%, transparent 90%);
            mask-image: radial-gradient(75% 45% at 62% 72%, #000 10%, rgba(0,0,0,.35) 55%, transparent 90%);
  }
}
.hero__circuits-fallback { position: absolute; right: -6%; top: 6%; width: min(1100px, 90vw); opacity: .3; }
.js .hero__circuits-fallback { display: none; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .35; }
.hero__glow--a { width: 46vw; height: 46vw; right: -10vw; top: -12vw; background: #00A3FF; animation: drift 18s ease-in-out infinite alternate; }
.hero__glow--b { width: 36vw; height: 36vw; left: -12vw; bottom: -8vw; background: var(--blue); opacity: .28; animation: drift 22s ease-in-out infinite alternate-reverse; }
.hero__shape {
  position: absolute; max-width: none; filter: blur(2px);
  -webkit-mask-image: linear-gradient(to top, #000 15%, rgba(0,0,0,.4) 55%, transparent 95%);
          mask-image: linear-gradient(to top, #000 15%, rgba(0,0,0,.4) 55%, transparent 95%);
}
.hero__shape--sx { left: -4%; bottom: -2px; width: 108%; opacity: .42; animation: wave 14s ease-in-out infinite alternate; }
.hero__shape--dx { right: -18%; bottom: -14%; width: 95%; opacity: .22; animation: wave 18s ease-in-out infinite alternate-reverse; }
.hero__content { max-width: calc(var(--container) + var(--gutter) * 2); }
.hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(44px, min(8.4vw, 12.5vh), 118px); line-height: .98; letter-spacing: -.01em;
  color: var(--white); margin-bottom: clamp(18px, 3.5vh, 30px);
  text-shadow: 0 10px 40px rgba(15, 28, 63, .35);
}
.hero__lead { max-width: 560px; font-size: clamp(17px, 1.5vw, 20px); color: var(--on-dark-soft); margin-bottom: clamp(24px, 4.5vh, 40px); }
.hero__lead strong { color: var(--on-dark); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.rotator { display: inline-grid; vertical-align: top; }
.rotator__word {
  grid-area: 1 / 1; white-space: nowrap; color: var(--primary);
  padding-bottom: .08em;
  opacity: 0; transform: translateY(.45em); filter: blur(8px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease);
}
.rotator__word.is-active { opacity: 1; transform: none; filter: none; }
.rotator__word.is-leaving { opacity: 0; transform: translateY(-.45em); filter: blur(8px); }

.hero__scroll {
  position: absolute; left: 50%; z-index: 2; translate: -50% 0;
  width: 28px; height: 46px; border-radius: 20px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6);
  bottom: clamp(20px, 4vh, 36px);
}
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollcue 2s var(--ease) infinite; }

@keyframes drift { to { transform: translate(-6vw, 5vw) scale(1.12); } }
@keyframes wave { to { transform: translateX(-3%) translateY(10px) scaleY(1.06); } }
@keyframes scrollcue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section-y) 0; overflow: hidden; }
.section--light { background: var(--light); color: var(--ink); }
.section--dark { background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 60%, var(--navy-950) 100%); color: var(--on-dark); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(56px, 7vw, 88px); }
.section-title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(38px, 5.4vw, 68px); letter-spacing: .01em; margin-bottom: 26px;
  color: var(--ink-strong);
}
.section--dark .section-title { color: var(--white); }
.section-title::after { content: ""; display: block; width: 72px; height: 3px; margin: 22px auto 0; background: var(--primary); border-radius: 3px; }
.section-lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-soft); margin: 0; }
.section--dark .section-lead { color: var(--on-dark-soft); }
.section-lead strong { color: var(--ink); }

.deco { position: absolute; pointer-events: none; max-width: none; z-index: 0; }

/* ---------- How we work + Mission (shared background) ---------- */
.flow { position: relative; overflow: hidden; background: var(--light); }
.flow > .section { background: transparent; overflow: visible; }
.deco--hww { right: -24%; top: 16%; width: 82%; opacity: .85; }
/* Shape has flat left/bottom edges: keep it flush with the bottom-left corner */
.deco--mission { left: 0; bottom: -1px; width: min(58%, 820px); opacity: .75; }
@media (max-width: 900px) {
  .deco--hww { top: 22%; width: 140%; right: -60%; }
  .deco--mission { width: 130%; left: -30%; }
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 34px); }
.step {
  --rx: 0deg; --ry: 0deg;
  position: relative; padding: 34px 32px 38px; border-radius: var(--radius);
  background: rgba(255,255,255,.8); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 30px 60px -30px rgba(19, 36, 79, .22);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  text-align: center; color: var(--ink-soft); font-size: 15.5px;
}
.step:hover { box-shadow: 0 1px 0 #fff inset, 0 40px 80px -30px rgba(0, 150, 255, .3); }
.step__num { position: absolute; top: 22px; left: 26px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--primary); letter-spacing: .1em; }
.step__num::after { content: ""; display: inline-block; vertical-align: middle; width: 22px; height: 2px; margin-left: 10px; background: currentColor; opacity: .5; }
.step__icon { width: 100%; max-width: 230px; margin: 8px auto 12px; transition: transform .6s var(--ease); }
.step:hover .step__icon { transform: translateY(-8px) scale(1.04); }
.step__title { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--primary); margin-bottom: 14px; }
.step p { margin: 0; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}

/* ---------- Mission ---------- */
.mission { padding-top: 0; }
.mission__intro { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 80px); margin-bottom: clamp(72px, 10vw, 140px); }
.motto { margin: 0; position: relative; }
.motto blockquote { margin: 0; }
.motto p { margin: 0; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(46px, 7.4vw, 104px); line-height: .98; color: var(--ink-strong); }
.motto__line { display: block; }
.motto__line:nth-child(2) { padding-left: .6em; }
.motto__line:nth-child(3) { padding-left: .2em; }
.motto em { font-style: normal; color: #C3CBDA; transition: color .6s var(--ease), text-shadow .6s var(--ease); }
.motto.is-on em { color: var(--primary); text-shadow: 0 0 28px rgba(0, 191, 255, .35); }
.motto.is-on .motto__line:nth-child(2) em { transition-delay: .15s; }
.motto.is-on .motto__line:nth-child(3) em { transition-delay: .3s; }
.motto figcaption { margin-top: 22px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }

.switch {
  position: absolute; top: .4em; right: 0; width: 64px; height: 34px; border-radius: 20px; border: 0; cursor: pointer; padding: 0;
  background: #D8DEEA; transition: background .4s var(--ease), box-shadow .4s;
}
.switch__knob { position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(19, 36, 79, .2); transition: transform .45s var(--ease); }
.switch[aria-checked="true"] { background: var(--primary); box-shadow: 0 0 22px rgba(0, 191, 255, .5); }
.switch[aria-checked="true"] .switch__knob { transform: translateX(30px); }

.mission__art { position: relative; }
.mission__art img { margin-inline: auto; width: min(100%, 460px); }
.mission__art::before {
  content: ""; position: absolute; inset: 12% 8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 191, 255, .25), transparent); filter: blur(20px);
}
.float { animation: float 7s ease-in-out infinite; }
.float--slow { animation-duration: 9s; }
@keyframes float { 50% { transform: translateY(-18px); } }

.statement {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 4.2vw, 56px); line-height: 1.18; letter-spacing: -.005em;
  max-width: 1080px; margin: 0 auto clamp(72px, 10vw, 140px); text-align: center;
  color: var(--ink-strong);
}
.js .statement .w { opacity: .14; transition: opacity .35s linear; }
.js .statement .w.is-lit { opacity: 1; }
.statement .w--accent { color: var(--primary); }

.mission__approach { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(32px, 6vw, 80px); }
.approach__lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.55; color: var(--ink); font-weight: 500; margin-bottom: 36px; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.values li {
  display: flex; gap: 14px; padding: 20px; border-radius: var(--radius-sm);
  background: #fff; box-shadow: 0 18px 40px -26px rgba(19, 36, 79, .3);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.values li:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(0, 150, 255, .3); }
.values__dot { flex: none; width: 12px; height: 12px; margin-top: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px rgba(0, 191, 255, .15); }
.values strong { display: block; color: var(--ink-strong); font-size: 16px; margin-bottom: 2px; }
.values span { font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }

@media (max-width: 900px) {
  .mission__intro, .mission__approach { grid-template-columns: 1fr; }
  .mission__art img { width: min(80%, 380px); }
  .mission__art--launch { order: 2; }
  .switch { position: relative; top: auto; margin-top: 22px; display: block; }
}
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.deco--srv-sx { left: -30%; top: 12%; width: 90%; opacity: .5; }
.deco--srv-dx { right: -34%; bottom: 0; width: 95%; opacity: .4; }
.filters { display: flex; justify-content: center; gap: 6px; margin: -36px auto 48px; padding: 6px; width: max-content; max-width: 100%; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.filters__btn { border: 0; background: none; color: var(--on-dark-soft); padding: 10px 22px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; transition: background .3s, color .3s; }
.filters__btn:hover { color: #fff; }
.filters__btn.is-active { background: var(--primary); color: #fff; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); }
.card {
  --mx: 50%; --my: 0%;
  position: relative; padding: 32px 30px 34px; border-radius: var(--radius);
  background: rgba(255,255,255,.07);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--on-dark-soft); font-size: 15.5px;
  transition: transform .5s var(--ease), opacity .5s var(--ease), box-shadow .4s;
  overflow: hidden; isolation: isolate;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(0, 191, 255, .18), transparent 45%);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(300px circle at var(--mx) var(--my), var(--primary), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover { transform: translateY(-6px); }
.card:hover::before, .card:hover::after { opacity: 1; }
.card__head { display: flex; align-items: flex-start; justify-content: space-between; height: 72px; margin-bottom: 26px; }
.card__icon { height: 72px; width: auto; opacity: .9; transition: filter .4s, transform .5s var(--ease), opacity .4s; }
.card__icon--wide { height: 48px; margin-top: 12px; }
.card:hover .card__icon { opacity: 1; transform: scale(1.06); filter: drop-shadow(0 0 10px rgba(0, 191, 255, .7)); }
.card__tag { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; color: var(--primary); box-shadow: inset 0 0 0 1px rgba(0, 191, 255, .45); }
.card__tag--hw { color: var(--white); background: rgba(0, 191, 255, .18); box-shadow: none; }
.card__title { font-family: var(--font-display); font-weight: 700; font-size: 23px; color: var(--white); margin-bottom: 14px; }
.card p { margin: 0; }

@media (max-width: 1024px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } .filters { margin-top: -24px; } .filters__btn { padding: 10px 16px; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--navy-950); padding: clamp(28px, 4vw, 44px) 0; overflow: hidden; border-top: 1px solid rgba(255,255,255,.07); }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 38s linear infinite; }
.marquee span {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; white-space: nowrap;
  font-size: clamp(38px, 6vw, 84px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(174, 188, 216, .5);
}
.marquee span:nth-of-type(3n+1) { color: var(--primary); -webkit-text-stroke: 0; }
.marquee i { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); }
.marquee__track > * { margin-right: clamp(24px, 3vw, 44px); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Contact ---------- */
.deco--ct-sx { left: -8%; top: 30%; width: 34%; opacity: .9; }
.deco--ct-dx { right: -6%; bottom: -6%; width: 40%; opacity: .9; }
.contact__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: stretch; max-width: 1040px; margin-inline: auto; }
.mailcard {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: clamp(32px, 4.4vw, 56px); border-radius: var(--radius); text-decoration: none; color: var(--ink);
  background: rgba(255,255,255,.86); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 #fff inset, 0 40px 80px -40px rgba(19, 36, 79, .3);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.mailcard:hover { transform: translateY(-4px); box-shadow: 0 1px 0 #fff inset, 0 44px 80px -36px rgba(0, 150, 255, .32); }
.mailcard__label { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--primary); }
.mailcard__email {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 50px); line-height: 1.1;
  color: var(--ink-strong); overflow-wrap: anywhere; transition: color .3s;
}
.mailcard:hover .mailcard__email { color: var(--primary); }
.mailcard__btn { margin-top: auto; }
.mailcard:hover .mailcard__btn svg { transform: translateX(4px); }
.careers {
  position: relative; overflow: hidden; padding: 34px 30px; border-radius: var(--radius); color: var(--on-dark-soft);
  background: radial-gradient(120% 90% at 100% 0%, var(--navy-700) 0%, var(--navy-800) 55%, var(--navy-900) 100%);
  box-shadow: 0 40px 70px -40px rgba(19, 36, 79, .6);
}
.careers::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: var(--primary); filter: blur(70px); opacity: .3; }
.careers h3 { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--white); margin-bottom: 12px; }
.careers p { font-size: 15.5px; margin-bottom: 28px; }
.careers .btn { position: relative; z-index: 1; }

@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: var(--on-dark-soft); padding: 34px 0; font-size: 14px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer__brand { flex: none; }
.footer__legal { text-align: right; line-height: 1.8; }
.footer__legal p { margin: 0; }
.footer__legal address { font-style: normal; opacity: .8; }
.footer__legal a { color: var(--primary); text-decoration: none; }
.footer__legal a:hover { text-decoration: underline; }
.footer .sep { opacity: .35; margin: 0 6px; }
@media (max-width: 760px) {
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__legal { text-align: center; line-height: 1.9; }
}

/* ---------- Reveal ---------- */
/* Uses an animation on `translate` (not transitions on `transform`) so hover/tilt
   transitions on the same elements keep working independently. */
.js [data-reveal] { opacity: 0; }
.js [data-reveal].is-visible { opacity: 1; animation: reveal 1s var(--ease) var(--d, 0s) backwards; }
@keyframes reveal { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
.js .cards .card.is-dimmed { opacity: .22; transform: scale(.97); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .js .statement .w { opacity: 1; }
  .marquee__track { animation: none; }
}
