/* ==========================================================
   Aqvero Technologies — dark design system (v2)
   Brand colours from the logo: electric blue "A", cyan squares, silver text.
   ========================================================== */

/* ---------- Fonts (self-hosted, latin subset, variable weight) ---------- */
@font-face {
  font-family: "Space Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #060D1F;          /* page */
  --bg-2: #0A1428;        /* alternate sections */
  --card: #0B1630;
  --line: rgba(143, 163, 199, 0.15);
  --line-strong: rgba(143, 163, 199, 0.28);
  --blue: #1E6BFF;        /* buttons (white text 4.6:1) */
  --blue-hover: #3B80FF;
  --blue-text: #6EA0FF;   /* blue text on dark (7:1) */
  --blue-ink: #1554D9;    /* blue text on light (5.8:1) */
  --cyan: #38BDF8;        /* small highlights */
  --heading: #F5F7FC;
  --muted: #8FA3C7;       /* second line of headings (7:1) */
  --text: #AAB8D0;        /* body (9:1) */
  --light: #F5F7FC;       /* the one light section */
  --ink: #0B1222;
  --ink-2: #3A4660;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-card: 20px;
  --line-card: #1D2B49;   /* card borders */
  --container: 1320px;
  --gut: clamp(16px, 4vw, 48px);           /* page side padding */
  --sec: clamp(64px, 7vw, 96px);           /* section padding */
  --ease: cubic-bezier(.2, .7, .1, 1);     /* the site's motion curve */
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --glow: 0 0 0 1px rgba(30, 107, 255, 0.35), 0 24px 60px -24px rgba(30, 107, 255, 0.55);
  --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 32px;
  --space-6: 48px; --space-8: 64px; --space-12: 96px; --space-16: 128px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-text); text-decoration: none; }
a:hover { color: var(--heading); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); margin: 0 0 0.5em; line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
h3 { font-size: 1.3rem; }
ul { margin: 0; }
address { font-style: normal; }
button { font: inherit; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

/* Focus: always visible, cyan on dark, blue on light */
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.section--light :focus-visible { outline-color: var(--blue-ink); }
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 10px;
  background: var(--blue); color: #fff; font-weight: 600;
}
.skip-link:focus { top: 16px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px;
  padding: 12px 24px; border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease), transform .15s var(--ease), border-color .25s, color .25s;
}
.btn > span[aria-hidden] { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover > span[aria-hidden] { transform: translateX(3px); }
.btn:active { transform: scale(0.97); transition-duration: .08s; }
.btn--primary, .btn--amber { background: var(--blue); color: #fff; box-shadow: 0 10px 28px -12px rgba(30, 107, 255, 0.8); }
.btn--primary:hover, .btn--amber:hover { background: var(--blue-hover); color: #fff; box-shadow: 0 0 0 4px rgba(30, 107, 255, 0.18), 0 16px 38px -10px rgba(30, 107, 255, 0.85); }
.btn--outline, .btn--ghost-light { background: transparent; color: var(--heading); border-color: rgba(170, 184, 208, 0.38); }
.btn--outline:hover, .btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.05); color: #fff; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 0.95rem; }
.text-link { position: relative; font-weight: 600; color: var(--blue-text); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.text-link > span[aria-hidden] { display: inline-block; transition: transform .3s var(--ease); }
.text-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; opacity: 0.35; transform-origin: left; transition: opacity .25s, transform .35s var(--ease); }
.text-link:hover { color: #fff; }
.text-link:hover > span[aria-hidden] { transform: translateX(4px); }
.text-link:hover::after { opacity: 0.9; }

/* ---------- Header: floating glass bar (glassmorphism) ---------- */
.header { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; padding: 0 16px; pointer-events: none; }
.header__pill {
  position: relative; isolation: isolate; pointer-events: auto; max-width: var(--container); margin: 0 auto; height: 64px; padding: 0 8px 0 16px;
  display: flex; align-items: center; gap: 24px; border-radius: 16px;
}
/* Two layers of frosted glass: see-through at the top of the page; once scrolled, a little darker and blurrier,
   and both shrink slightly (transform) so the bar slims down without moving its contents. */
.header__pill::before, .header__pill::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform .45s var(--ease), opacity .45s var(--ease);
}
.header__pill::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.03) 45%, rgba(56, 189, 248, 0.07) 100%), rgba(12, 22, 46, 0.42);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(255, 255, 255, 0.04), 0 12px 40px -16px rgba(0, 0, 0, 0.6);
}
.header__pill::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 45%, rgba(56, 189, 248, 0.08) 100%), rgba(8, 16, 36, 0.62);
  -webkit-backdrop-filter: blur(26px) saturate(1.8); backdrop-filter: blur(26px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 50px -16px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(56, 189, 248, 0.1); opacity: 0;
}
.header.is-scrolled .header__pill::before, .header.is-scrolled .header__pill::after { transform: scaleY(0.875) scaleX(0.99); }
.header.is-scrolled .header__pill::before { opacity: 0; }
.header.is-scrolled .header__pill::after { opacity: 1; }
/* over the light section the glass gets darker, so the white text keeps its contrast */
.header.is-on-light .header__pill::before, .header.is-on-light .header__pill::after { background-color: rgba(8, 16, 36, 0.86); }
.logo__mark { transition: transform .45s var(--ease); }
.header.is-scrolled .logo__mark { transform: scale(0.9); }
.nav__cta { transition: transform .45s var(--ease), background-color .25s, box-shadow .25s; }
.header.is-scrolled .nav__cta { transform: scale(0.9); }
.header.is-scrolled .nav__cta:active { transform: scale(0.87); }
.logo { display: flex; align-items: center; gap: 12px; color: var(--heading); white-space: nowrap; min-height: 48px; }
.logo:hover { color: #fff; }
.logo__mark { width: 52px; height: auto; filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.35)); }
/* wordmark: AQVERO with a small TECHNOLOGIES line under it */
.logo__word { display: flex; flex-direction: column; font-family: var(--font-head); font-weight: 700; font-size: 1.36rem; line-height: 1; letter-spacing: 0.1em; color: var(--heading); }
.logo__word small { margin-top: 5px; font-family: var(--font-body); font-size: 8.6px; font-weight: 600; letter-spacing: 0.37em; text-transform: uppercase; color: var(--text); }
.nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav__links { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 2px; list-style: none; padding: 0; margin: 0 8px 0 0; }
.nav__links a, .nav__dropbtn {
  position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border-radius: 10px;
  color: #DCE4F3; font-weight: 500; font-size: 0.97rem; background: none; border: 0; cursor: pointer;
  transition: background-color .2s, color .2s;
}
/* cyan underline: slides in on hover, stays on the current page */
.nav__links > li > a::after, .nav__dropbtn::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--cyan);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.7); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__dropbtn::after { right: 32px; }
.nav__links > li > a:hover::after, .nav__dropbtn:hover::after, .nav__links > li > a[aria-current="page"]::after, .nav__dropbtn.is-current::after { transform: scaleX(1); }
.nav__links a:hover, .nav__dropbtn:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.nav__links a[aria-current="page"], .nav__dropbtn.is-current { color: #fff; font-weight: 600; }
.nav__dropbtn svg { width: 12px; height: 12px; transition: transform .2s; }
.has-dropdown { position: relative; }
.has-dropdown.is-open .nav__dropbtn svg { transform: rotate(180deg); }
/* dropdown and phone menu: the same frosted glass */
.dropdown {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02) 50%, rgba(56, 189, 248, 0.06)), rgba(9, 17, 38, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.13);
  -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 60px -16px rgba(0, 0, 0, 0.75);
}
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, -6px); min-width: 280px;
  list-style: none; margin: 0; padding: 8px; border-radius: 16px;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.dropdown a::after { display: none; }
.dropdown a { display: flex; width: 100%; border-radius: 12px; padding: 10px 14px; }
.dropdown li:first-child a { color: var(--cyan); font-weight: 600; }
.nav__cta { flex: none; }
.nav-toggle { display: none; width: 48px; height: 48px; margin-left: auto; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; background: rgba(255, 255, 255, 0.08); cursor: pointer; }
.nav-toggle:hover { background: rgba(255, 255, 255, 0.14); }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .header__pill { padding: 0 8px 0 16px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px); display: flex;
    flex-direction: column; align-items: stretch; gap: 8px; padding: 12px;
    border-radius: 16px; max-height: calc(100vh - 110px); overflow-y: auto;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02) 50%, rgba(56, 189, 248, 0.06)), rgba(9, 17, 38, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.13);
    -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 60px -16px rgba(0, 0, 0, 0.8);
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nav__links a, .nav__dropbtn { width: 100%; justify-content: space-between; border-radius: 12px; padding: 12px 14px; }
  .nav__links > li > a::after, .nav__dropbtn::after { display: none; }
  .dropdown { position: static; transform: none; box-shadow: none; padding: 0 0 8px 12px; min-width: 0; display: none; opacity: 1; visibility: visible; transition: none; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .has-dropdown.is-open .dropdown { display: block; transform: none; }
  .nav__cta { width: 100%; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: calc(var(--sec) + 24px) 0; }
.section--alt { background: var(--bg-2); }
.section--light { background: var(--light); color: var(--ink-2); }
.section--light h2, .section--light h3 { color: var(--ink); }
.section--light a { color: var(--blue-ink); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px;
  font: 600 12px/1.2 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text);
}
.eyebrow::before { content: ""; flex: none; width: 24px; height: 1px; background: var(--cyan); }
.section--light .eyebrow { color: var(--blue-ink); }
.section--light .eyebrow::before { background: var(--blue-ink); }

/* Section head: huge heading left, short paragraph right */
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: end; margin-bottom: var(--space-8); }
.sec-head h2 { font-size: clamp(34px, 4.4vw, 66px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; margin: 0; text-wrap: balance; }
.sec-head h2 .dim, .hero h1 .dim, .cta-final h2 .dim { color: var(--muted); display: block; }
.section--light .sec-head h2 .dim { color: #5B6B8C; }
.sec-head p { margin: 0; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.6; max-width: 480px; justify-self: start; }
@media (max-width: 900px) {
  .sec-head { grid-template-columns: 1fr; gap: var(--space-3); }
  .sec-head p { justify-self: start; }
}

/* ---------- Story: the home hero and sections 01-04 scroll over one sticky stage ---------- */
.story { display: grid; position: relative; }
.story > .stage, .story > .chapters { grid-area: 1 / 1; }
.stage { position: sticky; top: 0; height: 100vh; align-self: start; overflow: hidden; pointer-events: none; } /* no z-index: the rail must sit above the chapters */
.stage__layers, .stage__layers > * { position: absolute; inset: 0; }
.stage__bg { background: radial-gradient(50% 60% at 72% 48%, rgba(30, 107, 255, 0.17), transparent 70%), radial-gradient(32% 40% at 90% 85%, rgba(56, 189, 248, 0.1), transparent 70%), linear-gradient(180deg, #060D1F 0%, #0A1428 100%); }
.stage__grid {
  background-image: linear-gradient(rgba(41, 58, 92, 0.34) 1px, transparent 1px), linear-gradient(90deg, rgba(41, 58, 92, 0.34) 1px, transparent 1px);
  background-size: 80px 80px; background-position: center;
  -webkit-mask-image: radial-gradient(58% 62% at 68% 50%, #000 12%, transparent 76%); mask-image: radial-gradient(58% 62% at 68% 50%, #000 12%, transparent 76%);
  opacity: 0.5;
}
.stage canvas { width: 100%; height: 100%; }
.stage__vig { background: linear-gradient(90deg, rgba(6, 13, 31, 0.94) 0%, rgba(6, 13, 31, 0.84) 30%, rgba(6, 13, 31, 0.5) 46%, rgba(6, 13, 31, 0.12) 58%, transparent 66%), linear-gradient(0deg, rgba(6, 13, 31, 0.88), transparent 22%); }
/* glow behind the art: follows the pointer (moved by js/art.js) and slowly breathes */
.stage__glow, .hero__glow, .cta-final__glow { position: absolute; inset: auto; left: 0; top: 0; width: 1000px; height: 1000px; margin: -500px 0 0 -500px; opacity: 0; transition: opacity 1.6s ease; will-change: transform; }
.stage__glow i, .hero__glow i, .cta-final__glow i { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(30, 107, 255, 0.3), rgba(56, 189, 248, 0.08) 55%, transparent 72%); animation: breathe 6s ease-in-out infinite; }
.is-lit .stage__glow, .is-lit .hero__glow, .is-lit .cta-final__glow { opacity: 1; }
@keyframes breathe { 0%, 100% { transform: scale(0.9); opacity: 0.7; } 50% { transform: scale(1.06); opacity: 1; } }
.chapters { position: relative; z-index: 1; min-width: 0; }
.chapters > .section { background: transparent; }
@media (max-width: 959px) {
  .stage__vig { background: linear-gradient(0deg, rgba(6, 13, 31, 0.86), rgba(6, 13, 31, 0.35) 70%, rgba(6, 13, 31, 0.5)); }
}

/* Section rail: its own sticky layer above the content. Full labels over the hero art; in sections 01-04 it folds
   to numbers and lines that fit in the page margin (hovering it shows the labels again). */
.story > .rail-wrap { grid-area: 1 / 1; position: sticky; top: 0; height: 100vh; align-self: start; z-index: 3; pointer-events: none; }
.rail { position: absolute; right: clamp(16px, 1.6vw, 28px); top: 64%; transform: translateY(-50%); pointer-events: auto; display: none; }
.rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rail a {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 28px;
  font: 500 11px/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(170, 184, 208, 0.78); transition: color 0.4s var(--ease);
}
.rail__label { display: inline-block; opacity: 0; transform: translateX(8px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.rail.is-expanded .rail__label, .rail:hover .rail__label, .rail:focus-within .rail__label { opacity: 1; transform: none; }
.rail:not(.is-expanded):not(:hover):not(:focus-within) .rail__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rail a i { display: block; width: 44px; height: 1px; background: currentColor; transform: scaleX(0.41); transform-origin: right; transition: transform 0.5s var(--ease), background-color 0.4s; }
.rail a:hover { color: var(--heading); }
.rail a[aria-current="true"] { color: var(--heading); }
.rail a[aria-current="true"] i { transform: scaleX(1); background: var(--cyan); box-shadow: 0 0 8px rgba(56, 189, 248, 0.8); }
@media (min-width: 1200px) { .rail { display: block; } }
@media (min-width: 1680px) { .rail .rail__label { position: static !important; width: auto !important; height: auto !important; clip: auto !important; opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 128px 0 112px; }
.hero__inner { position: relative; max-width: 800px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 88px); font-weight: 600; line-height: 0.98; letter-spacing: -0.04em; margin-bottom: 30px; }
.hero h1 span { display: block; }
.hero h1 .dim { color: #8FA8D6; }
.hero__lead { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.6; max-width: 540px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; padding: 0; margin: 32px 0 0; }
.chips li { display: inline-flex; align-items: center; gap: 9px; color: var(--text); font-size: 13.5px; font-weight: 500; }
.chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
/* "Scroll to explore" (bottom-left) */
.cue { position: absolute; left: var(--gut); bottom: 30px; display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font: 500 11px/1 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--text); }
.cue:hover { color: var(--heading); }
.cue i { position: relative; display: block; width: 1px; height: 44px; background: rgba(170, 184, 208, 0.25); overflow: hidden; }
.cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--cyan); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
@media (min-width: 1440px) { .cue { left: calc((100vw - var(--container)) / 2 + var(--gut)); } }
@media (max-width: 700px) {
  .hero { padding-top: 116px; min-height: auto; padding-bottom: 72px; }
  .cue { display: none; }
}

/* ---------- Cards with a particle-network image ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 1.8vw, 26px); }
.p-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, #0D1834 0%, #091226 100%); border: 1px solid var(--line-card); border-radius: var(--radius-card);
  transition: border-color .25s, box-shadow .3s, transform .3s;
}
.p-card { transition: transform .55s var(--ease), border-color .4s, box-shadow .55s var(--ease); }
.p-card:hover, .p-card:focus-within { transform: perspective(1000px) translateY(-6px) rotateX(2.5deg); border-color: rgba(96, 150, 255, 0.6); box-shadow: 0 34px 60px -34px rgba(30, 107, 255, 0.75), 0 0 0 1px rgba(56, 189, 248, 0.12); }
.p-card__art::after { content: ""; position: absolute; inset: 0; background: rgba(6, 13, 31, 0.3); transition: opacity .5s var(--ease); pointer-events: none; }
.p-card:hover .p-card__art::after, .p-card:focus-within .p-card__art::after { opacity: 0; }
.p-card__art { position: relative; height: 190px; border-bottom: 1px solid var(--line-card); background: radial-gradient(70% 90% at 50% 100%, rgba(30, 107, 255, 0.26), transparent 70%), radial-gradient(60% 70% at 85% 10%, rgba(56, 189, 248, 0.08), transparent 70%), #08112A; }
.p-card__art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.p-card__body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 2.1vw, 30px) clamp(22px, 2.1vw, 30px) 0; }
.p-card__label { font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.p-card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.p-card h3 a { color: var(--heading); }
.p-card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card is the link target */
.p-card p { font-size: 0.98rem; }
.dots { list-style: none; padding: 0; margin: 4px 0 24px; display: grid; gap: 8px; }
.dots li { position: relative; padding-left: 20px; font-size: 0.95rem; }
.dots li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 8px rgba(30, 107, 255, 0.8); }
.p-card--cta { justify-content: center; background: radial-gradient(120% 100% at 100% 0%, rgba(30, 107, 255, 0.35), transparent 60%), var(--card); border-color: rgba(30, 107, 255, 0.4); }
.p-card--cta .p-card__body { padding-top: 32px; }
.p-card__foot { margin-top: auto; padding: 18px 0 22px; border-top: 1px solid var(--line-card); font-family: var(--font-head); font-weight: 600; color: var(--blue-text); display: flex; justify-content: space-between; align-items: center; transition: color .3s; }
.p-card__foot span { display: inline-block; transition: transform .3s var(--ease); }
.p-card:hover .p-card__foot { color: #fff; }
.p-card:hover .p-card__foot span { transform: translateX(4px); }
@media (max-width: 1024px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* Light spot that follows the pointer over a card (added by js/main.js, moved with transform) */
.spot { position: absolute; left: 0; top: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.14), rgba(30, 107, 255, 0.06) 50%, transparent); opacity: 0; transition: opacity .35s; will-change: transform; }
:is(.p-card, .card, .blog-card, .d-card, .industry-card):hover > .spot { opacity: 1; }
/* each card is its own layer, so the spot (z-index -1) sits above the card background and below the content */
:is(.p-card, .card, .blog-card, .d-card, .industry-card) { position: relative; overflow: hidden; isolation: isolate; }
.price-card { isolation: isolate; }

/* ---------- Screenshot showcase ---------- */
.showcase { margin-bottom: var(--space-8); }
.browser-frame { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 100px -40px rgba(30, 107, 255, 0.5); }
.browser-frame__bar { display: flex; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.browser-frame__bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.browser-frame img { width: 100%; }
.shot-figure { margin: 0; }
.shot-caption { margin-top: 12px; text-align: center; font-size: 0.85rem; color: var(--muted); }

/* ---------- Process ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; list-style: none; padding: 0; margin: 0; }
/* the line grows in, then a light streak keeps flowing along it */
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-strong); transform-origin: left; }
.steps::after { content: ""; position: absolute; left: 0; top: -1px; width: 22%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.9), transparent); animation: flow 4s linear infinite; }
.steps li { padding: 32px 24px 0 0; position: relative; }
.steps li::before { content: ""; position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: blink 2.6s ease-in-out infinite; }
.steps li:nth-child(2)::before { animation-delay: .6s; } .steps li:nth-child(3)::before { animation-delay: 1.2s; }
.steps li:nth-child(4)::before { animation-delay: 1.8s; } .steps li:nth-child(5)::before { animation-delay: 2.4s; }
@keyframes flow { from { transform: translateX(-100%); } to { transform: translateX(460%); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.steps__num { font-family: var(--font-head); font-size: 0.85rem; letter-spacing: 0.16em; color: var(--cyan); }
.steps h3 { margin: 8px 0 8px; font-size: 1.35rem; }
.steps p { font-size: 0.96rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; } .steps::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Impact numbers ---------- */
.metrics { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 32px 0; margin: 0; }
.metrics::before, .metrics::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line-strong); transform-origin: left; }
.metrics::before { top: 0; } .metrics::after { bottom: 0; }
.metrics__num .unit.pop { animation: pop .6s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes pop { from { opacity: 0; transform: scale(0.3) translateY(8px); } to { opacity: 1; transform: none; } }
.metrics li { padding: 8px 32px; border-left: 1px solid var(--line); }
.metrics li:first-child { border-left: 0; padding-left: 0; }
.metrics__num { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(56px, 7vw, 100px); line-height: 0.86; color: var(--heading); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.metrics__num sup, .metrics__num .unit { display: inline-block; font-size: 0.4em; line-height: 1; color: var(--cyan); vertical-align: top; margin-left: 6px; letter-spacing: 0; }
.metrics__label { display: block; margin-top: 16px; font-size: 0.98rem; max-width: 220px; }
@media (max-width: 900px) {
  .metrics { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .metrics li:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- Light "Why" section ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; padding: 0; margin: 0; }
.why li { padding: 0 28px; border-left: 1px solid rgba(11, 18, 34, 0.12); }
.why li:first-child { border-left: 0; padding-left: 0; }
.why__num { position: relative; font-family: var(--font-head); font-size: 2.6rem; font-weight: 600; color: var(--blue-ink); line-height: 1; display: block; margin-bottom: 30px; }
.why__num::after { content: ""; position: absolute; left: 0; bottom: -14px; width: 40px; height: 2px; background: var(--blue-ink); transform-origin: left; transform: scaleX(0); transition: transform 1.8s var(--ease) .3s; }
.why li.is-visible .why__num::after, html:not(.js) .why__num::after { transform: scaleX(1); }
.why h3 { font-size: 1.3rem; }
.why p { color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr 1fr; row-gap: 40px; } .why li:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } .why li { border-left: 0; padding-left: 0; } }

/* ---------- Plain dark cards (worldwide, engagement) ---------- */
.d-grid { display: grid; gap: 20px; }
.d-grid--4 { grid-template-columns: repeat(4, 1fr); }
.d-grid--3 { grid-template-columns: repeat(3, 1fr); }
.d-card { background: var(--card); border: 1px solid var(--line-card); border-radius: var(--radius-card); padding: clamp(22px, 2.1vw, 30px); }
.d-card:hover { border-color: rgba(96, 150, 255, 0.5); background-color: #0A1530; box-shadow: 0 30px 50px -34px rgba(30, 107, 255, 0.6); }
.d-card__icon { position: relative; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; border: 1px solid var(--line-strong); color: var(--cyan); background: rgba(30, 107, 255, 0.08); }
/* a dashed ring slowly turning around each icon */
.d-card__icon::after, .card__icon::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px dashed rgba(56, 189, 248, 0.35); animation: spin 14s linear infinite; pointer-events: none; }
.d-card:nth-child(even) .d-card__icon::after, .card:nth-child(even) .card__icon::after { animation-duration: 10s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.d-card__icon svg { width: 22px; height: 22px; }
.d-card h3 { font-size: 1.2rem; }
.d-card p { margin: 0; font-size: 0.97rem; }
.subhead { margin: var(--space-8) 0 var(--space-3); font-size: 1.5rem; }
@media (max-width: 1024px) { .d-grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .d-grid--3, .d-grid--4 { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative;
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--cyan); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 24px; max-width: 760px; }

/* ---------- Closing call to action ---------- */
.cta-final { text-align: center; overflow: hidden; isolation: isolate; }
.cta-final__art { position: absolute; left: 0; right: 0; top: 0; height: min(78vh, 720px); z-index: -1; pointer-events: none; }
.cta-final__art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-final__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 4%, transparent 40%); }
.cta-final h2 { font-size: clamp(48px, 8.4vw, 120px); line-height: 0.95; letter-spacing: -0.045em; max-width: 1240px; margin: 0 auto 28px; text-wrap: balance; text-shadow: 0 0 48px rgba(6, 13, 31, 0.9); }
.cta-final h2 .dim { font-size: 0.5em; letter-spacing: -0.03em; margin-top: 0.3em; }
.cta-final__lead { max-width: 560px; margin: 0 auto 36px; font-size: 1.1rem; }
.cta-final .hero__actions { justify-content: center; }
.cta-final__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; list-style: none; padding: 0; margin: 36px 0 0; }
.cta-final__contact a { color: var(--heading); font-weight: 500; display: inline-flex; min-height: 44px; align-items: center; }
.cta-final__contact a:hover { color: var(--cyan); }
.cta-final .form { max-width: 760px; margin: var(--space-8) auto 0; text-align: left; }

/* ---------- Forms ---------- */
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.form label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 8px; color: var(--heading); }
.form .optional { font-weight: 400; color: var(--muted); }
.form input:not([type="checkbox"]):not([type="radio"]), .form select, .form textarea {
  width: 100%; min-height: 48px; margin-bottom: 20px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--heading); font: inherit;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue-text); box-shadow: 0 0 0 3px rgba(30, 107, 255, 0.35); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form .consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 24px; }
.form .consent input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 3px; accent-color: var(--blue); }
.form .consent label { font-weight: 400; color: var(--text); font-size: 0.92rem; margin: 0; }
.form .consent a { text-decoration: underline; text-underline-offset: 2px; }
.form button[type="submit"] { width: 100%; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error { color: #FF9B9B; font-size: 0.88rem; margin: -12px 0 16px; }
.form [aria-invalid="true"] { border-color: #FF9B9B !important; }
.form__success { margin: 16px 0 0; text-align: center; font-weight: 600; color: var(--cyan); }
.form__success.is-error { color: #FF9B9B; }
.form__note { margin: 12px 0 0; text-align: center; font-size: 0.88rem; color: var(--muted); }
.form__done { text-align: center; padding: 24px 8px; }
.form__done:focus { outline: none; }
.form__done h3 { font-size: 1.4rem; }
.form__again { background: none; border: 0; color: var(--blue-text); font-weight: 600; cursor: pointer; min-height: 44px; padding: 12px; }
.js-form.is-sent > :not(.form__done) { display: none !important; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } .form { padding: 24px 20px; } }

/* ---------- Footer ---------- */
.footer { background: #040A18; border-top: 1px solid var(--line); padding: var(--space-12) 0 var(--space-4); font-size: 0.95rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px; }
.footer__logo { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.footer__logo img { width: 64px; height: auto; }
.footer__logo .logo__word { color: var(--heading); font-size: 1.5rem; }
.footer__logo .logo__word small { color: var(--text); }
.footer__brand p { max-width: 340px; }
.footer__title { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 4px; }
.footer li a { color: var(--text); display: inline-flex; align-items: center; min-height: 36px; }
.footer li a:hover { color: #fff; }
.footer__address { color: var(--text); padding: 6px 0; line-height: 1.5; }
.footer__address span { color: var(--heading); font-weight: 600; }
.footer__bottom { margin-top: var(--space-8); padding-top: var(--space-3); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; font-size: 0.85rem; color: var(--muted); }
.footer__bottom p { margin: 0; }
.footer__links { display: flex; gap: 20px; }
.footer__links a { color: var(--muted); }
.footer__tagline { color: var(--text); letter-spacing: 0.06em; }
@media (max-width: 960px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer li a { min-height: 44px; }
}
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Floating buttons, phone bar, cookie banner ---------- */
.whatsapp-float, .to-top { position: fixed; z-index: 60; display: grid; place-items: center; border-radius: 50%; transition: transform .2s, bottom .25s; }
.whatsapp-float { right: 20px; bottom: calc(20px + var(--banner-h, 0px)); width: 56px; height: 56px; background: #128c7e; color: #fff; box-shadow: 0 10px 30px -8px rgba(18, 140, 126, 0.6); }
.whatsapp-float:hover { transform: scale(1.06); color: #fff; }
.whatsapp-float svg { width: 30px; height: 30px; }
.to-top { right: 26px; bottom: calc(88px + var(--banner-h, 0px)); width: 44px; height: 44px; background: var(--card); color: var(--heading); border: 1px solid var(--line-strong); cursor: pointer; }
.to-top svg { width: 20px; height: 20px; }
.to-top[hidden], .menu-open .whatsapp-float, .menu-open .to-top { display: none; }
.mobile-bar { display: none; }
@media (max-width: 960px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; gap: 8px; align-items: center;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(6, 13, 31, 0.92); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .mobile-bar__book { flex: 1; min-height: 48px; }
  .mobile-bar__wa { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: #128c7e; color: #fff; }
  .mobile-bar__wa svg { width: 26px; height: 26px; }
  .whatsapp-float { display: none; }
  .to-top { bottom: calc(84px + var(--banner-h, 0px)); }
  .menu-open .mobile-bar { display: none; }
  .cookie-banner { bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important; }
  body { padding-bottom: 72px; }
}
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 560px;
  background: var(--card); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.8);
}
.cookie-banner h2 { font-size: 1.1rem; margin-bottom: 8px; }
.cookie-banner p { font-size: 0.93rem; margin-bottom: 16px; }
.cookie-banner a { color: var(--heading); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Hero text: rises into place on load, line by line ---------- */
/* hero text on load: rises 26px, fades in and goes from a 6px blur to sharp (scroll reveals don't blur) */
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
.rise { animation: rise 1.1s var(--ease) both; }
.rise-1 { animation-delay: 0.15s; } .rise-2 { animation-delay: 0.3s; } .rise-3 { animation-delay: 0.45s; }
.rise-4 { animation-delay: 0.6s; } .rise-5 { animation-delay: 0.8s; } .rise-6 { animation-delay: 1.05s; }
/* inner page heroes (and the 404) rise in the same way, block by block */
.page-hero .container > *, .not-found > * { animation: rise 1.1s var(--ease) both; }
.page-hero .container > :nth-child(2), .not-found > :nth-child(2) { animation-delay: 0.12s; }
.page-hero .container > :nth-child(3), .not-found > :nth-child(3) { animation-delay: 0.24s; }
.page-hero .container > :nth-child(4), .not-found > :nth-child(4) { animation-delay: 0.38s; }
.page-hero .container > :nth-child(5), .not-found > :nth-child(5) { animation-delay: 0.52s; }
.page-hero .container > :nth-child(n+6), .not-found > :nth-child(n+6) { animation-delay: 0.66s; }
@media (prefers-reduced-motion: reduce) { .rise, .page-hero .container > *, .not-found > * { animation: none; } }

/* ---------- Scroll animation ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .sec-head > p.reveal, .js .reveal-x { transform: translateX(-30px); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s !important; }
.reveal-d2 { transition-delay: .2s !important; }
.reveal-d3 { transition-delay: .3s !important; }
/* lines that draw themselves in from the left */
.js .grow-line::before, .js .grow-line::after { transform: scaleX(0); transition: transform 1.4s var(--ease) .1s; }
.js .grow-line.is-visible::before, .js .grow-line.is-visible::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .grow-line::before, .js .grow-line::after { transform: none; transition: none; }
  .btn, .p-card, .d-card, .card, .blog-card, .price-card, .rail a i, .header__pill::before, .header__pill::after, .dropdown, .nav { transition: none; }
  .p-card:hover, .card:hover, .blog-card:hover, .price-card:hover, .btn:hover, .btn:active { transform: none; }
  .steps::after, .steps li::before, .d-card__icon::after, .card__icon::after, .cue i::after, .stage__glow i, .hero__glow i, .cta-final__glow i { animation: none; }
  .why__num::after { transform: scaleX(1); transition: none; }
  .spot { display: none; }
}

/* Phones: tighter eyebrow so the hero line fits, shorter card images */
@media (max-width: 560px) {
  .eyebrow { letter-spacing: 0.12em; font-size: 0.74rem; }
  .p-card__art { height: 120px; }
}

/* ==========================================================
   Inner pages
   ========================================================== */

/* ---------- Page hero (every inner page) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 168px 0 104px; min-height: 560px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #060D1F 0%, #0A1428 100%); }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg::before { /* faint grid behind the art */
  content: ""; position: absolute; inset: 0; opacity: 0.45;
  background-image: linear-gradient(rgba(41, 58, 92, 0.34) 1px, transparent 1px), linear-gradient(90deg, rgba(41, 58, 92, 0.34) 1px, transparent 1px); background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(40% 70% at 76% 50%, #000 10%, transparent 75%); mask-image: radial-gradient(40% 70% at 76% 50%, #000 10%, transparent 75%);
}
.hero__bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__vig { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 13, 31, 0.92) 0%, rgba(6, 13, 31, 0.45) 42%, transparent 62%); }
.page-hero .container > * { max-width: 700px; }
.page-hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); font-weight: 600; line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 20px; text-wrap: balance; }
.page-hero h1 .dim { color: var(--muted); }
.page-hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 680px; margin: 0; }
.page-hero__icon { display: none; } /* the line-art icon lives on the cards instead */
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 32px; }
.page-hero__actions .text-link { padding: 0 8px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; padding: 0; margin: 0 0 28px; font-size: 0.88rem; }
.breadcrumb li { display: inline-flex; align-items: center; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; color: rgba(143, 163, 199, 0.5); }
.breadcrumb a { color: var(--text); display: inline-flex; align-items: center; min-height: 32px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current="page"] { color: var(--heading); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.hero-badges li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(11, 22, 48, 0.6); font-size: 0.9rem; }
.hero-badges li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.local-time { margin: 20px 0 0; color: var(--text); font-weight: 500; }
.local-time time { color: var(--heading); font-weight: 600; }
@media (max-width: 959px) { .hero__vig { background: linear-gradient(90deg, rgba(6, 13, 31, 0.85), rgba(6, 13, 31, 0.4)); } .hero__bg::before { -webkit-mask-image: radial-gradient(60% 50% at 80% 25%, #000 10%, transparent 75%); mask-image: radial-gradient(60% 50% at 80% 25%, #000 10%, transparent 75%); } }
@media (max-width: 700px) { .page-hero { padding: 136px 0 64px; min-height: 0; } }

/* ---------- Section variants used by inner pages ---------- */
.section--white { background: var(--bg-2); }
.section--dark { background: var(--bg); }
.sec-head--solo { grid-template-columns: 1fr; }
.section-cta { margin-top: 40px; text-align: center; }
.section-cta .btn { margin-top: 16px; }
.lead-text { font-size: 1.15rem; color: var(--text); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split > * { min-width: 0; }
.split h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Cards (icon cards, mission cards) ---------- */
.card, .mission-card, .industry-card, .job-card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: clamp(22px, 2.1vw, 30px);
}
.card, .mission-card, .industry-card, .job-card, .d-card, .price-card, .blog-card { transition: transform .55s var(--ease), border-color .4s, box-shadow .55s var(--ease), background-color .4s; }
.card:hover, .card:focus-within, .industry-card:hover, .blog-card:hover, .blog-card:focus-within { transform: perspective(1000px) translateY(-6px) rotateX(2.5deg); border-color: rgba(96, 150, 255, 0.55); box-shadow: 0 34px 60px -34px rgba(30, 107, 255, 0.7); }
.card__link { display: inline-flex; align-items: center; gap: 6px; }
.card { display: flex; flex-direction: column; }
.card__icon, .industry-card .card__icon {
  position: relative; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  border: 1px solid var(--line-strong); color: var(--cyan); background: linear-gradient(145deg, rgba(30, 107, 255, 0.18), rgba(56, 189, 248, 0.04));
}
.card__icon svg { width: 24px; height: 24px; stroke-width: 1.6; }
.card__label { font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; }
.card h3 { font-size: 1.25rem; }
.card h3 a { color: var(--heading); }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card p { margin: 0; font-size: 0.97rem; }
.card__link { margin-top: auto; padding-top: 16px; font-family: var(--font-head); font-weight: 600; color: var(--blue-text); }
.card:hover .card__link { color: #fff; }
.mission-card h3, .job-card h3 { font-size: 1.3rem; }
.section--dark .card, .section--dark .mission-card { background: var(--card); }
.note-box { margin-top: 40px; padding: 20px 24px; border-radius: var(--radius); border: 1px solid rgba(56, 189, 248, 0.3); background: rgba(56, 189, 248, 0.06); }
.note-box p { margin: 0; }
.note-box a, .section-cta a, .legal p a, .legal li a, .map-link a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Lists ---------- */
.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(30, 107, 255, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338BDF8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.checklist--cols { display: block; columns: 2; column-gap: 32px; }
.checklist--cols li { break-inside: avoid; margin-bottom: 12px; }
@media (max-width: 760px) { .checklist--cols { columns: 1; } }
.tech, .tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tech span, .tags li { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(11, 22, 48, 0.7); color: var(--heading); font-size: 0.9rem; font-weight: 500; }
.tech span:hover { border-color: var(--cyan); }

/* ---------- Process (inner pages) ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.process--4 { grid-template-columns: repeat(4, 1fr); }
.process .step { position: relative; padding: 32px 24px 0 0; counter-increment: step; }
.process { counter-reset: step; }
.process .step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.process .step h3::before { content: counter(step, decimal-leading-zero); display: block; font-size: 0.85rem; letter-spacing: 0.16em; color: var(--cyan); margin-bottom: 8px; font-weight: 600; }
.process .step h3 { font-size: 1.3rem; }
.process .step p { margin: 0; font-size: 0.96rem; }
@media (max-width: 900px) { .process, .process--4 { grid-template-columns: 1fr 1fr; row-gap: 32px; } }
@media (max-width: 560px) { .process, .process--4 { grid-template-columns: 1fr; } }

/* ---------- Call-to-action band ---------- */
.cta-band {
  position: relative; overflow: hidden; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between;
  padding: 56px; border-radius: var(--radius-lg); border: 1px solid rgba(30, 107, 255, 0.35);
  background: radial-gradient(80% 140% at 100% 0%, rgba(30, 107, 255, 0.35), transparent 60%), radial-gradient(60% 120% at 0% 100%, rgba(56, 189, 248, 0.12), transparent 60%), var(--card);
}
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 560px; }
.cta-band__actions, .article-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
@media (max-width: 600px) { .cta-band { padding: 32px 24px; } }

/* ---------- Related services ---------- */
.related { border-top: 1px solid var(--line); }

/* ---------- Pricing ---------- */
.currency-toggle { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 40px; }
.currency-toggle__label { color: var(--muted); font-weight: 600; margin-right: 4px; }
.currency-toggle button { min-width: 88px; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--heading); font-weight: 600; cursor: pointer; }
.currency-toggle button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; margin-bottom: 40px; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius-card); background: var(--card); border: 1px solid var(--line-card); overflow: visible; }
.price-card:hover { transform: translateY(-6px); border-color: rgba(96, 150, 255, 0.55); box-shadow: 0 34px 60px -34px rgba(30, 107, 255, 0.7); }
.price-card--popular { border-color: rgba(30, 107, 255, 0.7); background: radial-gradient(100% 60% at 50% 0%, rgba(30, 107, 255, 0.22), transparent 70%), var(--card); }
.price-card__badge { position: absolute; top: -13px; left: 32px; padding: 4px 14px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.price-card__name { font-size: 1.5rem; margin-bottom: 4px; }
.price-card__for { color: var(--muted); min-height: 3.2em; }
.price-card__price { margin: 0 0 8px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.price-card__price span { display: block; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.price-card__price strong { font-family: var(--font-head); font-size: 2.4rem; line-height: 1.2; color: var(--heading); font-weight: 600; }
.price-card .checklist { flex: 1; margin-bottom: 28px; }
.engage__price { font-family: var(--font-head); font-weight: 600; color: var(--cyan); margin-top: 14px !important; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }

/* ---------- Quote form (multi-step) ---------- */
.quote-wrap { max-width: 880px; }
.form--bordered { border-color: var(--line-strong); }
.quote-progress { margin-bottom: 32px; }
.quote-progress__label { font-weight: 600; font-size: 0.95rem; color: var(--heading); margin: 0 0 10px; }
.quote-progress__bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.quote-progress__bar span { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: inherit; transition: width .3s; }
.quote-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.quote-step + .quote-step { margin-top: 40px; }
.quote-step legend { padding: 0; width: 100%; }
.quote-step legend h2 { font-size: 1.45rem; margin: 0; }
.quote-step legend h2:focus { outline: none; }
.quote-hint { color: var(--muted); margin: 8px 0 16px; font-size: 0.95rem; }
.js .quote-step:not(.is-active) { display: none; }
.js .quote-step + .quote-step { margin-top: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 8px 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.form .choice {
  display: flex; align-items: center; gap: 12px; min-height: 52px; margin: 0; padding: 12px 16px; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg-2); font-weight: 500; font-size: 0.97rem; color: var(--heading);
}
.form .choice input { width: 18px; height: 18px; flex: none; margin: 0; accent-color: var(--blue); }
.form .choice:hover { border-color: var(--blue-text); }
.form .choice:has(input:checked) { border-color: var(--blue); background: rgba(30, 107, 255, 0.14); }
.form .choice:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }
.quote-step.has-error .choice { border-color: #FF9B9B; }
.choice-label { font-weight: 600; font-size: 0.92rem; color: var(--heading); margin: 0 0 8px; }
.group-error { color: #FF9B9B; font-weight: 600; font-size: 0.9rem; margin: 8px 0 16px; }
.group-error:empty { display: none; }
.quote-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.quote-nav .quote-next, .quote-nav .quote-submit { margin-left: auto; }
.quote-form.is-sent .quote-step, .quote-form.is-sent .quote-nav, .quote-form.is-sent .quote-progress, .quote-form.is-sent .form__note { display: none; }
.quote-form.is-sent .form__success { font-size: 1.2rem; padding: 32px 0 8px; margin: 0; }
.quote-form .form__success:focus { outline: none; }
.quote-done__faster { text-align: center; color: var(--muted); }
html:not(.js) .quote-progress, html:not(.js) .quote-back, html:not(.js) .quote-next { display: none; }
.form__intro, .form__hint { color: var(--muted); font-size: 0.92rem; }
.form__hint { margin: -12px 0 20px; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--card); border: 1px solid var(--line-card); border-radius: var(--radius-card); }

.blog-card__art { height: 150px; border-bottom: 1px solid var(--line); background: radial-gradient(120% 120% at 80% 0%, rgba(30, 107, 255, 0.3), transparent 60%), #08112A; display: grid; place-items: center; color: var(--cyan); }
.blog-card__art svg { width: 48px; height: 48px; stroke-width: 1.4; }
.blog-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.blog-card h2, .blog-card h3 { font-size: 1.25rem; line-height: 1.3; }
.blog-card h2 a, .blog-card h3 a { color: var(--heading); }
.blog-card h2 a::after, .blog-card h3 a::after { content: ""; position: absolute; inset: 0; }
.blog-card__meta, .article-meta { font-size: 0.85rem; color: var(--muted); }
.case__tag { display: inline-block; align-self: flex-start; font-family: var(--font-head); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; }
@media (max-width: 1024px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }
.article { max-width: 760px; margin: 0 auto; font-size: 1.08rem; line-height: 1.75; }
.article h2 { font-size: 1.8rem; margin-top: 2em; }
.article h3 { font-size: 1.3rem; margin-top: 1.6em; }
.article p a, .article li a { text-decoration: underline; text-underline-offset: 2px; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--heading); }
.article-lead { font-size: 1.25rem; color: var(--heading); margin-bottom: 1.6em; }
.article-cta { margin: 56px 0; padding: 32px; border-radius: var(--radius-lg); border: 1px solid rgba(30, 107, 255, 0.35); background: radial-gradient(80% 140% at 100% 0%, rgba(30, 107, 255, 0.3), transparent 60%), var(--card); }
.article-cta h2 { margin-top: 0; font-size: 1.6rem; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.55rem; margin-top: 2.2em; scroll-margin-top: 110px; }
.legal h2:first-of-type { margin-top: 1.2em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.5em; }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--heading); }
.legal__updated { color: var(--muted); font-size: 0.95rem; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.toc h2 { font-size: 1rem; margin: 0 0 12px !important; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 6px; break-inside: avoid; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
.table-wrap { overflow-x: auto; margin: 1em 0 1.4em; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 520px; }
.legal th, .legal td { border: 1px solid var(--line-strong); padding: 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--bg-2); color: var(--heading); }
@media (max-width: 600px) {
  .table-wrap--stack { overflow: visible; }
  .table-wrap--stack table, .table-wrap--stack tbody, .table-wrap--stack tr, .table-wrap--stack td { display: block; min-width: 0; width: 100%; }
  .table-wrap--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap--stack tr { border: 1px solid var(--line-strong); border-radius: 12px; margin-bottom: 16px; overflow: hidden; }
  .legal .table-wrap--stack td { border: 0; border-bottom: 1px solid var(--line); }
  .legal .table-wrap--stack td:last-child { border-bottom: 0; }
  .table-wrap--stack td::before { content: attr(data-label); display: block; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
}

/* ---------- Work, case studies, products ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter__btn { min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--heading); font-weight: 600; cursor: pointer; }
.filter__btn:hover { border-color: var(--blue-text); }
.filter__btn[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.filter-group { margin-top: 64px; }
.filter-group__title { font-size: 1.4rem; margin-bottom: 24px; }
.work-card .case__tag { margin-bottom: 8px; }
.more-built { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.more-built li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.more-built strong { color: var(--heading); }
.more-built__stack { display: block; margin-top: 4px; font-size: 0.9rem; color: var(--muted); }
.case-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.case-main h2 { font-size: 1.7rem; margin: 2em 0 0.6em; }
.case-main h2:first-child { margin-top: 0; }
.case-main > p { font-size: 1.08rem; line-height: 1.7; }
.case-aside { position: sticky; top: 110px; }
.case-aside__box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.case-aside__box .h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--cyan); margin: 0 0 12px; }
.case-aside__box .tags { margin-bottom: 24px; }
.case-aside__box p { margin: 0 0 24px; }
.btn--block { display: flex; width: 100%; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.shot { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-strong); }
.shots .shot:first-child { grid-column: 1 / -1; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(2, 6, 16, 0.88); }
.lightbox img { display: block; max-width: 100%; max-height: 88vh; border-radius: 12px; }
.lightbox__close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.65); color: #fff; font-size: 1.6rem; cursor: pointer; }
.next-project { padding: 40px 0; border-top: 1px solid var(--line); }
.next-project__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.next-project__link { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; text-align: right; color: var(--heading); }
.next-project__link span:first-child { display: block; font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.product__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.product__status { margin-top: 18px; color: var(--muted); }
.product--reverse > :first-child { order: 2; }
.placeholder-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; aspect-ratio: 16 / 10; margin: 18px; border: 1px dashed var(--line-strong); border-radius: 12px; color: var(--muted); text-align: center; font-size: 0.95rem; }
.placeholder-box strong { color: var(--heading); font-family: var(--font-head); }
@media (max-width: 1024px) { .case-layout { grid-template-columns: 1fr; gap: 40px; } .case-aside { position: static; } }
@media (max-width: 900px) { .product--reverse > :first-child { order: 0; } }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.industry-card { display: flex; gap: 20px; align-items: flex-start; }
.industry-card .card__icon { flex: none; margin: 0; }
.industry-card h2 { font-size: 1.5rem; }
.industry-card h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--cyan); margin: 18px 0 0; }
@media (max-width: 860px) { .industry-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .industry-card { flex-direction: column; } }

/* ---------- About ---------- */
.founder-card { display: flex; gap: 22px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.founder-card__photo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; flex: none; }
.founder-card__photo--placeholder { display: grid; place-items: center; border: 1px dashed var(--line-strong); background: rgba(30, 107, 255, 0.12); color: var(--heading); font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; }
.founder-card__role { color: var(--cyan); font-weight: 600; margin: 0 0 10px; }
.founder-card__links { display: flex; gap: 10px; list-style: none; padding: 0; margin: 14px 0 0; }
.founder-card__links a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--heading); }
.founder-card__links a:hover { border-color: var(--cyan); color: var(--cyan); }
.founder-card__links svg { width: 18px; height: 18px; }
@media (max-width: 600px) { .founder-card { flex-direction: column; } }
.facts { display: grid; margin: 24px 0 0; }
.facts > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--heading); }
.facts dd { margin: 0; }
@media (max-width: 600px) { .facts > div { grid-template-columns: 1fr; gap: 2px; } }
.video-slot .placeholder-box { margin: 0; }
.video-slot iframe, .video-slot__play { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.video-slot__play { background: var(--card); color: #fff; font-weight: 700; cursor: pointer; border: 1px solid var(--line-strong); }
.team-strip__title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--cyan); margin: 32px 0 12px; }
.team-strip { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.team-strip li { border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; font-weight: 500; font-size: 0.92rem; color: var(--heading); }
.team-strip li:first-child { background: var(--blue); border-color: var(--blue); color: #fff; }
.team-photo { width: 100%; border-radius: var(--radius-lg); }

/* ---------- Careers ---------- */
.job-card { max-width: 760px; margin: 0 auto 32px; border-color: rgba(30, 107, 255, 0.45); }
.job-card__meta { color: var(--cyan); font-weight: 600; margin-bottom: 10px; }
.apply-form { max-width: 760px; margin: 0 auto; scroll-margin-top: 110px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 32px; } }
.booking { max-width: 820px; margin: 0 auto; }
.booking__box { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 40px 28px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--card); }
.booking__box svg { width: 40px; height: 40px; color: var(--cyan); }
.booking__box strong { font-family: var(--font-head); font-size: 1.25rem; color: var(--heading); }
.booking__box p { max-width: 520px; margin: 0; }
.booking__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 10px; }
.booking__frame { display: block; width: 100%; height: 720px; border: 0; border-radius: var(--radius); background: #fff; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact-card .card__icon { width: 46px; height: 46px; margin: 0; flex: none; }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.contact-card p { margin: 0; }
.contact-card a { color: var(--heading); }
.contact-card a:hover { color: var(--cyan); }
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }
.map-embed iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius-lg); display: block; }
.map-consent { display: grid; place-items: center; min-height: 380px; padding: 24px; text-align: center; border-radius: var(--radius-lg); border: 1px solid var(--line); background: radial-gradient(60% 80% at 50% 50%, rgba(30, 107, 255, 0.18), transparent 70%), var(--bg-2); }
.map-consent__box { background: var(--card); border: 1px solid var(--line-strong); padding: 24px 32px; border-radius: var(--radius); max-width: 420px; }
.map-consent__box svg { width: 36px; height: 36px; color: var(--cyan); margin: 0 auto 8px; }
.map-consent__box strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--heading); }
.map-consent__box p { font-size: 0.95rem; margin: 8px 0 16px; }
.map-consent__box a { text-decoration: underline; }
.map-consent.is-loaded { display: block; min-height: 0; padding: 0; border: 0; background: none; }
.map-link { margin: 16px 0 0; font-weight: 600; }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: 40px 0; }
.not-found strong { display: block; font-family: var(--font-head); font-size: clamp(5rem, 16vw, 9rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--blue-text); margin-bottom: 16px; }
.not-found .hero__actions { justify-content: center; margin-top: 28px; }
.not-found__links { margin-top: 24px; font-weight: 600; }

/* ---------- Light section variants of shared blocks ---------- */
.section--light .why li h3 { color: var(--ink); }

/* Phones: tap targets for links that sit in lists and grids */
@media (max-width: 960px) {
  .breadcrumb a { min-height: 44px; min-width: 44px; }
  .card h3 a, .blog-card h2 a, .blog-card h3 a, .toc li a, .contact-card a, .facts a, .legal p a, .legal li a { display: inline-block; padding-block: 12px; margin-block: -12px; }
}
.card--cta { justify-content: center; border-color: rgba(30, 107, 255, 0.45); background: radial-gradient(120% 100% at 100% 0%, rgba(30, 107, 255, 0.3), transparent 60%), var(--card); }

/* Contact cards: long email addresses wrap instead of widening the page */
.contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-card > div { min-width: 0; }
.contact-card a, .footer li a, .cta-final__contact a { overflow-wrap: anywhere; }
/* Links inside notes are underlined so they don't rely on colour alone */
.form__note a { color: var(--heading); text-decoration: underline; text-underline-offset: 2px; }
/* Reserve the "current time in Rawalpindi" line so it doesn't push the page down when it appears */
.local-time[hidden] { display: block !important; visibility: hidden; }
.not-found-wrap { position: relative; overflow: hidden; isolation: isolate; min-height: 88vh; display: flex; align-items: center; padding-top: 160px; }
.not-found-wrap .hero__bg { position: absolute; inset: 0; z-index: -1; }
.not-found-wrap .hero__vig { background: radial-gradient(50% 50% at 50% 45%, rgba(6, 13, 31, 0.75), rgba(6, 13, 31, 0.3)); }
.not-found-wrap .hero__bg::before { -webkit-mask-image: radial-gradient(50% 60% at 50% 50%, #000 10%, transparent 75%); mask-image: radial-gradient(50% 60% at 50% 50%, #000 10%, transparent 75%); }
.not-found h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.not-found .lead-text { max-width: 560px; margin: 0 auto; }
.toc li a { display: inline-block; padding: 3px 0; } /* 24px+ tap targets on desktop too */
