:root {
  --bg: #05070c;
  /* Same rgb as --panel / site surfaces — navy, not pure black */
  --navy: #0a101c;
  --body-bg: radial-gradient(900px 500px at 20% -10%, rgba(34, 211, 238, 0.18), transparent 55%),
    radial-gradient(900px 520px at 90% 10%, rgba(52, 211, 153, 0.16), transparent 55%),
    radial-gradient(900px 520px at 70% 120%, rgba(167, 139, 250, 0.12), transparent 55%),
    var(--bg);
  /* Hero stat cards: same ambient layers as the page, grounded on navy */
  --stat-card-bg: radial-gradient(900px 500px at 20% -10%, rgba(34, 211, 238, 0.16), transparent 55%),
    radial-gradient(900px 520px at 90% 10%, rgba(52, 211, 153, 0.14), transparent 55%),
    radial-gradient(900px 520px at 70% 120%, rgba(167, 139, 250, 0.1), transparent 55%),
    var(--navy);
  --panel: rgba(10, 16, 28, 0.65);
  --panel-2: rgba(10, 16, 28, 0.35);
  --text: rgba(245, 250, 255, 0.92);
  --muted: rgba(205, 220, 245, 0.75);

  --blue: #22d3ee;
  --green: #34d399;
  --purple: #a78bfa;
  --neon: #7cffa8;

  --border: rgba(120, 160, 255, 0.18);
  --border-2: rgba(60, 255, 210, 0.16);

  --shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.42);

  --radius: 18px;
  --radius-lg: 22px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--body-bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.text-gradient {
  background: linear-gradient(90deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
  position: relative;
}

.section__header {
  margin-bottom: 28px;
}

.section__title {
  font-family: "Space Grotesk", Inter, system-ui;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0;
}

.section__subtitle {
  color: var(--muted);
  max-width: 72ch;
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.65;
}

/* Legal pages (Privacy, Cookie Policy, Terms) */
.legal-page {
  padding: 96px 0 100px;
}

.legal-page .container {
  max-width: min(52rem, calc(100% - 40px));
}

.legal-page__title {
  font-family: "Space Grotesk", Inter, system-ui;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 10px;
}

.legal-page__meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 36px;
}

.legal-page__content h2 {
  font-family: "Space Grotesk", Inter, system-ui;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 36px 0 14px;
  color: rgba(245, 250, 255, 0.95);
}

.legal-page__content h2:first-of-type {
  margin-top: 0;
}

.legal-page__content h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 26px 0 10px;
  color: rgba(245, 250, 255, 0.92);
}

.legal-page__content p,
.legal-page__content li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 14px;
}

.legal-page__content ul,
.legal-page__content ol {
  margin: 0 0 18px;
  padding-left: 1.35em;
}

.legal-page__content li {
  margin-bottom: 8px;
}

.legal-page__content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page__content a:hover {
  color: var(--green);
}

.legal-page__contact {
  margin: 18px 0 14px;
  font-style: normal;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.legal-page__contact strong {
  color: rgba(245, 250, 255, 0.92);
  font-weight: 600;
}

.legal-page__content .legal-page__contact a {
  color: inherit;
  text-decoration: none;
}

.legal-page__content .legal-page__contact a:hover {
  color: inherit;
  text-decoration: none;
  opacity: 0.88;
}

/* Background effects */
.aurora {
  position: fixed;
  inset: -30vh -20vw;
  z-index: -3;
  pointer-events: none;
  filter: blur(40px) saturate(1.25);
  opacity: 0.9;
  background:
    radial-gradient(700px 500px at 20% 20%, rgba(34, 211, 238, 0.22), transparent 60%),
    radial-gradient(720px 540px at 70% 25%, rgba(52, 211, 153, 0.22), transparent 60%),
    radial-gradient(780px 560px at 40% 70%, rgba(167, 139, 250, 0.16), transparent 62%),
    radial-gradient(740px 520px at 80% 75%, rgba(124, 255, 168, 0.12), transparent 62%);
  animation: auroraMove 18s ease-in-out infinite alternate;
  transform: translate3d(0, 0, 0);
}

@keyframes auroraMove {
  0% {
    transform: translate3d(-2%, -2%, 0) scale(1.02);
  }
  50% {
    transform: translate3d(2%, -1%, 0) scale(1.06);
  }
  100% {
    transform: translate3d(1%, 2%, 0) scale(1.03);
  }
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(5, 7, 12, 0.84), rgba(5, 7, 12, 0.3));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(120, 160, 255, 0.12);
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", Inter, system-ui;
  letter-spacing: 0.02em;
}

.brand__mark {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(34, 211, 238, 0.95), rgba(52, 211, 153, 0.9));
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.08), 0 0 20px rgba(52, 211, 153, 0.18);
}

.brand__text {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}

.brand--small .brand__text {
  font-size: 13px;
}

.nav {
  display: inline-flex;
  gap: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(10, 16, 28, 0.5);
  border: 1px solid rgba(120, 160, 255, 0.14);
  justify-self: end;
}

.nav__link {
  font-size: 13px;
  color: rgba(225, 235, 255, 0.82);
  transition: color 160ms ease, opacity 160ms ease;
  opacity: 0.9;
}

.nav__link:hover {
  color: rgba(255, 255, 255, 0.95);
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 13px;
  letter-spacing: 0.01em;
  border: 1px solid rgba(120, 160, 255, 0.16);
  background: rgba(10, 16, 28, 0.25);
  color: rgba(245, 250, 255, 0.92);
  transition: transform 140ms ease, border-color 160ms ease, background 160ms ease;
  user-select: none;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(52, 211, 153, 0.26);
}

.btn--primary {
  background: linear-gradient(
    135deg,
    rgba(34, 211, 238, 0.22),
    rgba(52, 211, 153, 0.16),
    rgba(167, 139, 250, 0.12)
  );
  border-color: rgba(34, 211, 238, 0.28);
  box-shadow: 0 18px 50px rgba(34, 211, 238, 0.12);
}

.btn--ghost {
  background: rgba(10, 16, 28, 0.2);
}

.btn--full {
  width: 100%;
}

/* Hero */
.hero {
  padding-top: 70px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: stretch;
}

.kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.pill {
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(120, 160, 255, 0.14);
  background: rgba(10, 16, 28, 0.35);
  color: rgba(220, 235, 255, 0.85);
}

.pill--accent {
  border-color: rgba(52, 211, 153, 0.22);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.06);
}

.hero__title {
  font-family: "Space Grotesk", Inter, system-ui;
  letter-spacing: -0.04em;
  font-size: clamp(40px, 6vw, 60px);
  line-height: 1.02;
  margin: 0;
}

.hero__lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 62ch;
  margin: 16px 0 22px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  padding: 14px 14px;
  border-radius: var(--radius);
  background: rgba(10, 16, 28, 0.35);
  border: 1px solid rgba(120, 160, 255, 0.14);
}

.stat__value {
  font-family: "Space Grotesk", Inter, system-ui;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(245, 250, 255, 0.95);
}

.stat__label {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(205, 220, 245, 0.72);
}

/* Electric border (React Bits–style): animated ring only; inner stays static */
.stat-electric {
  position: relative;
  min-width: 0;
  border-radius: var(--radius);
  padding: 2px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.14), 0 0 22px rgba(167, 139, 250, 0.1);
}

.stat-electric::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: conic-gradient(
    from 0deg,
    #0a101c,
    #12202c,
    #142428,
    #1c2434,
    #121e28,
    #0a101c
  );
  animation: statElectricBorderRotate 4s linear infinite;
}

@supports (color: color-mix(in srgb, white, black)) {
  .stat-electric::before {
    background: conic-gradient(
      from 0deg,
      var(--navy),
      color-mix(in srgb, var(--blue) 28%, var(--navy)),
      color-mix(in srgb, var(--green) 26%, var(--navy)),
      color-mix(in srgb, var(--purple) 26%, var(--navy)),
      color-mix(in srgb, var(--neon) 18%, var(--navy)),
      color-mix(in srgb, var(--blue) 24%, var(--navy)),
      var(--navy)
    );
  }
}

@keyframes statElectricBorderRotate {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stat-electric::before {
    animation: none;
  }
}

.stat-electric .stat {
  position: relative;
  z-index: 1;
  border: none;
  box-shadow: none;
  border-radius: calc(var(--radius) - 2px);
  background: var(--stat-card-bg);
  background-attachment: fixed;
}

.hero__visual {
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  height: 100%;
}

.hero__mosaic {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-height: 0;
  width: 100%;
  align-self: stretch;
}

.mosaic-card {
  margin: 0;
  min-height: 0;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(120, 160, 255, 0.12);
  background: rgba(10, 16, 28, 0.25);
  box-shadow: var(--shadow-soft);
}

.mosaic-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.05);
  transform: scale(1.02);
}

.mosaic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 7, 12, 0.25) 70%, rgba(5, 7, 12, 0.7) 100%);
}

/* Tilted Card (reactbits-style structure, pure HTML/CSS/JS) */
.tilted-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(10, 16, 28, 0.55), rgba(10, 16, 28, 0.25));
  border: 1px solid rgba(120, 160, 255, 0.16);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}

.tilted-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(600px 240px at var(--mx, 20%) var(--my, 20%), rgba(34, 211, 238, 0.22), transparent 55%),
    radial-gradient(620px 260px at calc(var(--mx, 20%) + 30%) calc(var(--my, 20%) + 25%), rgba(52, 211, 153, 0.18), transparent 55%),
    radial-gradient(600px 260px at 75% 80%, rgba(167, 139, 250, 0.12), transparent 55%);
  opacity: 0.8;
  pointer-events: none;
  filter: blur(12px);
}

.tilted-card__inner {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: inherit;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform 220ms ease, box-shadow 220ms ease;
  will-change: transform;
}

.tilted-card:hover .tilted-card__inner {
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.68);
}

.tilted-card__glare {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.18), transparent 38%);
  opacity: var(--glare, 0);
  transform: translateZ(1px);
  pointer-events: none;
  transition: opacity 180ms ease;
  mix-blend-mode: screen;
}

.tilted-card__content {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 22px 22px;
  transform: translateZ(22px);
}

.tilted-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.18);
  background: rgba(10, 16, 28, 0.35);
  color: rgba(210, 255, 240, 0.84);
  font-size: 12px;
  margin-bottom: 14px;
}

.tilted-card__title {
  margin: 0;
  font-family: "Space Grotesk", Inter, system-ui;
  letter-spacing: -0.02em;
  font-size: 22px;
}

.tilted-card__text {
  color: rgba(205, 220, 245, 0.78);
  line-height: 1.72;
  margin: 10px 0 0;
  font-size: 14px;
}

.tilted-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.chip {
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  background: rgba(10, 16, 28, 0.32);
  color: rgba(225, 235, 255, 0.82);
}

.chip--purple {
  border-color: rgba(167, 139, 250, 0.24);
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.06);
}

.bullets {
  margin: 14px 0 0;
  padding: 0 0 0 18px;
  color: rgba(205, 220, 245, 0.78);
  line-height: 1.75;
  font-size: 14px;
}

.callouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.callout {
  border-radius: 16px;
  border: 1px solid rgba(120, 160, 255, 0.14);
  background: rgba(10, 16, 28, 0.28);
  padding: 12px 12px;
}

.callout__title {
  font-weight: 700;
  font-size: 13px;
  color: rgba(245, 250, 255, 0.92);
}

.callout__text {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(205, 220, 245, 0.76);
}

/* Layout grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

/* About: both columns share row height; card background + glow fill the full tile */
#about .grid-2 > .tilted-card {
  height: 100%;
  min-height: 0;
}

#about .grid-2 .bullets {
  flex: 1 1 auto;
}

#about .grid-2 .callouts {
  flex: 1 1 auto;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  border-radius: var(--radius-lg);
  background: rgba(10, 16, 28, 0.34);
  border: 1px solid rgba(120, 160, 255, 0.14);
  padding: 18px 18px;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(400px 260px at 20% 20%, rgba(34, 211, 238, 0.16), transparent 60%),
    radial-gradient(420px 280px at 85% 70%, rgba(52, 211, 153, 0.14), transparent 60%),
    radial-gradient(420px 280px at 60% 10%, rgba(167, 139, 250, 0.10), transparent 62%);
  opacity: 0.85;
  filter: blur(14px);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, 0.24);
}

.service-card__icon {
  font-family: "Space Grotesk", Inter, system-ui;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 14px;
  color: rgba(210, 255, 240, 0.78);
  margin-bottom: 12px;
  position: relative;
}

.service-card__title {
  margin: 0;
  font-family: "Space Grotesk", Inter, system-ui;
  letter-spacing: -0.02em;
  font-size: 18px;
  position: relative;
}

.service-card__text {
  margin: 10px 0 0;
  color: rgba(205, 220, 245, 0.78);
  line-height: 1.7;
  font-size: 14px;
  position: relative;
}

.service-card__tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  position: relative;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.team-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
  border-radius: var(--radius-lg);
  background: rgba(10, 16, 28, 0.34);
  border: 1px solid rgba(120, 160, 255, 0.14);
  padding: 16px 16px;
}

.team-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, rgba(34, 211, 238, 0.35), rgba(52, 211, 153, 0.16));
  border: 1px solid rgba(34, 211, 238, 0.22);
  color: rgba(245, 250, 255, 0.92);
  font-family: "Space Grotesk", Inter, system-ui;
  font-weight: 700;
}

.team-card__avatar--alt {
  background: radial-gradient(circle at 30% 30%, rgba(52, 211, 153, 0.32), rgba(34, 211, 238, 0.14));
  border-color: rgba(52, 211, 153, 0.22);
}

.team-card__avatar--purple {
  background: radial-gradient(circle at 30% 30%, rgba(167, 139, 250, 0.28), rgba(34, 211, 238, 0.12));
  border-color: rgba(167, 139, 250, 0.22);
}

.team-card__name {
  margin: 0;
  font-family: "Space Grotesk", Inter, system-ui;
  letter-spacing: -0.02em;
  font-size: 16px;
}

.team-card__role {
  margin-top: 6px;
  color: rgba(210, 255, 240, 0.78);
  font-size: 12px;
}

.team-card__text {
  margin-top: 10px;
  color: rgba(205, 220, 245, 0.78);
  line-height: 1.65;
  font-size: 13px;
}

/* Contact */
.contact__header {
  margin-bottom: 28px;
}

.contact__header .section__title {
  margin-bottom: 14px;
}

.contact__channels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 28px;
  row-gap: 10px;
}

.contact__channel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.contact__channel:hover {
  color: var(--blue);
}

.contact__icon {
  flex-shrink: 0;
  color: var(--blue);
  opacity: 0.92;
}

.contact__channel:hover .contact__icon {
  opacity: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
  align-items: start;
}

.contact-aside {
  min-width: 0;
}

.contact-split-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

/* Split text — ReactBits Split Text–style (chars, stagger, y + opacity), no GSAP */
.split-text {
  margin: 0;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  text-align: center;
  gap: 0;
  font-family: "Space Grotesk", Inter, system-ui;
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: rgba(245, 250, 255, 0.95);
  --split-stagger: 50ms;
  --split-duration: 1.25s;
  transform: translate(4cm, 2cm);
}

.split-text--stack {
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  gap: 0.2em;
}

.split-text__line {
  margin: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1.2;
}

.split-text-sticker {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.55em;
  max-width: 100%;
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  will-change: opacity, transform;
}

.split-text-sticker__emoji {
  display: block;
  font-size: clamp(3rem, 8vw, 4.5rem);
  line-height: 1;
  text-align: center;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
}

.split-text--visible .split-text-sticker {
  animation: splitTextCharIn var(--split-duration) cubic-bezier(0.33, 1, 0.68, 1) forwards;
  animation-delay: calc(var(--i) * var(--split-stagger));
}

.split-text__char {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  will-change: opacity, transform;
}

.split-text--visible .split-text__char {
  animation: splitTextCharIn var(--split-duration) cubic-bezier(0.33, 1, 0.68, 1) forwards;
  animation-delay: calc(var(--i) * var(--split-stagger));
}

.split-text__char--space {
  width: 0.3em;
}

@keyframes splitTextCharIn {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .split-text__char {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .split-text-sticker {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.contact {
  border-radius: var(--radius-lg);
  background: rgba(10, 16, 28, 0.34);
  border: 1px solid rgba(120, 160, 255, 0.14);
  padding: 18px 18px;
}

.contact__intro {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 52ch;
}

.field label {
  display: block;
  font-size: 12px;
  color: rgba(210, 255, 240, 0.78);
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(120, 160, 255, 0.16);
  background: rgba(5, 7, 12, 0.5);
  color: rgba(245, 250, 255, 0.92);
  padding: 12px 12px;
  outline: none;
  font-size: 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(52, 211, 153, 0.32);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.08);
}

.field {
  margin-bottom: 12px;
}

.form-note {
  margin: 10px 0 0;
  min-height: 20px;
  font-size: 12px;
  color: rgba(205, 220, 245, 0.75);
}

.contact-side {
  display: grid;
  gap: 14px;
}

.contact-points {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.contact-point {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  border-radius: 16px;
  border: 1px solid rgba(120, 160, 255, 0.14);
  background: rgba(10, 16, 28, 0.28);
  padding: 12px 12px;
}

.contact-point__label {
  font-size: 12px;
  color: rgba(210, 255, 240, 0.78);
}

.contact-point__value {
  font-size: 12px;
  color: rgba(225, 235, 255, 0.86);
}

.contact-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(120, 160, 255, 0.12);
  background: rgba(10, 16, 28, 0.25);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.contact-photo img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
  transform: scale(1.03);
}

.contact-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 7, 12, 0.25) 70%, rgba(5, 7, 12, 0.72) 100%);
}

/* Cookie banner — UK GDPR / PECR: Accept all, Reject non-essential, Customize + granular prefs */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0 calc(18px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(10, 16, 28, 0.98), rgba(5, 7, 12, 0.99));
  border-top: 1px solid rgba(120, 160, 255, 0.22);
  box-shadow:
    0 -16px 56px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(34, 211, 238, 0.1),
    0 -2px 28px rgba(52, 211, 153, 0.08);
  backdrop-filter: blur(16px);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-banner__copy {
  min-width: 0;
}

.cookie-banner__title {
  margin: 0 0 8px;
  font-family: "Space Grotesk", Inter, system-ui;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(245, 250, 255, 0.94);
}

.cookie-banner__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 68ch;
}

.cookie-banner__text a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__text a:hover {
  color: var(--green);
}

.cookie-banner__prefs {
  border-radius: var(--radius);
  border: 1px solid rgba(120, 160, 255, 0.16);
  background: rgba(5, 7, 12, 0.45);
  padding: 16px 18px 18px;
}

.cookie-banner__prefs[hidden] {
  display: none !important;
}

.cookie-banner__prefs-heading {
  margin: 0 0 6px;
  font-family: "Space Grotesk", Inter, system-ui;
  font-size: 14px;
  font-weight: 600;
  color: rgba(245, 250, 255, 0.92);
}

.cookie-banner__prefs-note {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(205, 220, 245, 0.72);
}

.cookie-banner__prefs-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-banner__pref {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(120, 160, 255, 0.1);
}

.cookie-banner__pref:last-of-type {
  padding-bottom: 0;
  border-bottom: none;
}

.cookie-banner__pref-text {
  flex: 1 1 12rem;
  min-width: 0;
}

.cookie-banner__pref-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(245, 250, 255, 0.9);
  margin-bottom: 4px;
}

label.cookie-banner__pref-name {
  cursor: pointer;
}

.cookie-banner__pref-desc {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(205, 220, 245, 0.7);
}

.cookie-banner__pref-locked {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(52, 211, 153, 0.85);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.22);
  background: rgba(10, 16, 28, 0.4);
}

.cookie-banner__input {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  accent-color: var(--green);
  cursor: pointer;
}

.cookie-banner__save {
  width: 100%;
  max-width: 220px;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.cookie-banner__btn {
  flex: 1 1 auto;
  min-width: min(100%, 140px);
}

.cookie-banner__btn--custom {
  border-color: rgba(34, 211, 238, 0.28);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.06);
}

body.cookie-banner--open {
  padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
}

body.cookie-banner--prefs-open {
  padding-bottom: calc(280px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 900px) {
  .cookie-banner__actions {
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .cookie-banner__btn {
    flex: 0 1 auto;
    min-width: 158px;
  }

  .cookie-banner__save {
    width: auto;
  }
}

@media (max-width: 520px) {
  .cookie-banner__pref {
    flex-direction: column;
  }

  .cookie-banner__input {
    align-self: flex-start;
  }
}

/* Footer */
.footer {
  border-top: 1px solid rgba(120, 160, 255, 0.12);
  padding: 28px 0 34px;
  background: rgba(5, 7, 12, 0.55);
  backdrop-filter: blur(10px);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 14px;
  align-items: start;
}

.footer__text {
  margin: 10px 0 0;
  color: rgba(205, 220, 245, 0.75);
  font-size: 13px;
  line-height: 1.6;
}

.footer__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  justify-self: center;
  align-self: center;
  text-align: center;
}

.footer__links a {
  font-size: 13px;
  color: rgba(225, 235, 255, 0.82);
  opacity: 0.9;
}

.footer__links a:hover {
  opacity: 1;
}

.footer__meta {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  max-width: 36ch;
  text-align: right;
  color: rgba(205, 220, 245, 0.7);
  font-size: 13px;
}

.footer__copyright {
  margin: 0;
}

.footer__company-line {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(205, 220, 245, 0.62);
}

.footer__company {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  font-style: normal;
  color: rgba(205, 220, 245, 0.62);
}

/* Responsive */
@media (max-width: 980px) {
  .header__inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand brand"
      "nav nav";
  }

  .brand {
    grid-area: brand;
  }
  .nav {
    grid-area: nav;
    justify-content: center;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero__mosaic {
    grid-template-rows: repeat(2, minmax(140px, 1fr));
    min-height: min(52vh, 380px);
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .cards-3 {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-split-row {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__meta {
    justify-self: end;
    align-items: flex-end;
  }

  .callouts {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .aurora {
    animation: none;
  }
  .tilted-card__inner {
    transition: none;
  }
  .btn {
    transition: none;
  }
}

