:root {
  --bg: #070512;
  --panel: #18143c;
  --panel-soft: #221a4f;
  --text: #f2f5ff;
  --muted: #c0c5e9;
  --accent: #47e5ff;
  --accent-2: #a578ff;
  --accent-3: #61f4bf;
  --border: rgba(185, 165, 255, 0.32);
}

* {
  box-sizing: border-box;
}

/* ── Sticky Navigation ───────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(7, 5, 18, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(71, 229, 255, 0.18);
  box-shadow: 0 2px 24px rgba(3, 2, 12, 0.45);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1080px, 92vw);
  margin: 0 auto;
  height: 60px;
  gap: 1rem;
}

.nav-brand {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.25rem 0;
  flex-shrink: 0;
}

.nav-brand-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04050e;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav-brand-title {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.nav-link {
  display: block;
  padding: 0.35rem 0.75rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid transparent;
  transition:
    color 200ms,
    background 200ms,
    border-color 200ms;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(71, 229, 255, 0.1);
  border-color: rgba(71, 229, 255, 0.25);
}

.nav-link.is-active {
  color: var(--accent);
  background: rgba(71, 229, 255, 0.12);
  border-color: rgba(71, 229, 255, 0.35);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 250ms, opacity 250ms;
}

.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 720px) {
  .nav-brand-title {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
    background: rgba(7, 5, 18, 0.96);
    border-bottom: 1px solid rgba(71, 229, 255, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .is-open .nav-links {
    display: flex;
  }

  .nav-link {
    font-size: 0.95rem;
    padding: 0.6rem 0.85rem;
  }
}

/* ── Language switcher ───────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem 0.4rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(71, 229, 255, 0.06);
  flex-shrink: 0;
}

.lang-switch-icon {
  color: var(--accent);
  margin-right: 0.2rem;
  flex-shrink: 0;
}

.lang-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Keeps the control at or above the WCAG 2.5.8 minimum target size. */
  min-width: 28px;
  min-height: 26px;
  padding: 0.22rem 0.42rem;
  background: none;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition:
    color 200ms,
    background 200ms,
    border-color 200ms;
}

.lang-option:hover {
  color: var(--text);
  background: rgba(71, 229, 255, 0.1);
  border-color: rgba(71, 229, 255, 0.25);
}

.lang-option.is-active {
  color: var(--accent);
  background: rgba(71, 229, 255, 0.12);
  border-color: rgba(71, 229, 255, 0.35);
}

.lang-option:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

body {
  position: relative;
  margin: 0;
  padding-top: 60px;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  /* Cooled toward engineering blues/teals; violet kept only for depth at the
     edges. Four layers, matching the position list in @keyframes auroraShift. */
  background:
    radial-gradient(circle at 12% -12%, rgba(71, 229, 255, 0.26), transparent 44%),
    radial-gradient(circle at 92% 0%, rgba(120, 150, 255, 0.24), transparent 40%),
    radial-gradient(circle at 40% 110%, rgba(97, 244, 191, 0.15), transparent 48%),
    var(--bg);
  background-size: 120% 120%, 120% 120%, 120% 120%, 100% 100%;
  line-height: 1.65;
}

/* Blueprint grid: a fine minor grid inside a coarser major grid, the way a
   CAD or architecture drawing reads. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 190, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 190, 255, 0.075) 1px, transparent 1px),
    linear-gradient(rgba(150, 180, 240, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 180, 240, 0.04) 1px, transparent 1px);
  background-size:
    160px 160px,
    160px 160px,
    32px 32px,
    32px 32px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 88%);
  opacity: 0.5;
  z-index: -1;
}

/* Ambient wash plus two faint dashed rails, reading as data moving through a
   pipeline. Only 1px tall each, so the animated repaint area stays tiny. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(130deg, rgba(115, 240, 255, 0.08), transparent 35%),
    linear-gradient(315deg, rgba(140, 160, 255, 0.09), transparent 40%),
    repeating-linear-gradient(90deg, rgba(71, 229, 255, 0.5) 0 26px, transparent 26px 78px),
    repeating-linear-gradient(90deg, rgba(97, 244, 191, 0.36) 0 16px, transparent 16px 96px);
  background-size:
    100% 100%,
    100% 100%,
    78px 1px,
    96px 1px;
  background-position:
    0 0,
    0 0,
    0 22vh,
    0 71vh;
  background-repeat: no-repeat, no-repeat, repeat-x, repeat-x;
  mix-blend-mode: screen;
  opacity: 0.45;
  z-index: -1;
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.hero {
  padding: 5.5rem 0 4rem;
}

.hero-layout {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  align-items: start;
}

.kicker {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}

h1 {
  margin: 0.3rem 0 0.8rem;
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  line-height: 1.12;
}

.headline {
  font-size: clamp(1rem, 2.3vw, 1.35rem);
  color: #d7e4ff;
  max-width: 60ch;
}

.context {
  color: var(--muted);
  max-width: 60ch;
}

.hero-metrics {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-metrics li {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  background: rgba(16, 23, 42, 0.82);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.45rem 0.72rem;
  color: #dce7ff;
  font-size: 0.88rem;
}

.hero-metrics strong {
  color: var(--accent);
  font-size: 1rem;
}

.cta {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.72rem 1.2rem;
  background: linear-gradient(120deg, var(--accent), var(--accent-2), var(--accent-3));
  color: #07101f;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.cta:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 28px rgba(115, 240, 255, 0.34);
}

.hero-visual {
  background:
    radial-gradient(circle at 5% 15%, rgba(115, 240, 255, 0.22), transparent 42%),
    linear-gradient(170deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(115, 240, 255, 0.42);
  border-radius: 18px;
  padding: 0.95rem;
  box-shadow: 0 24px 48px rgba(3, 8, 20, 0.38);
}

.photo-slot {
  margin: 0;
  border: 1px solid rgba(115, 240, 255, 0.45);
  border-radius: 14px;
  padding: 0.6rem;
  display: grid;
  gap: 0.55rem;
  justify-items: center;
  background:
    linear-gradient(150deg, rgba(8, 17, 33, 0.96), rgba(19, 31, 57, 0.92)),
    radial-gradient(circle at 85% 12%, rgba(159, 124, 255, 0.35), transparent 45%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 16px 34px rgba(7, 12, 29, 0.35);
  overflow: visible;
}

.photo-slot img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  min-height: 220px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  border: 2px solid rgba(115, 240, 255, 0.45);
  box-shadow:
    0 0 0 4px rgba(71, 229, 255, 0.1),
    0 0 48px rgba(159, 124, 255, 0.32),
    0 12px 40px rgba(3, 8, 20, 0.55);
  background: linear-gradient(160deg, #0a1428, #131f3c);
}

.photo-slot figcaption {
  margin: 0;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  color: #d8e4ff;
  font-weight: 600;
}

.hero-network {
  position: relative;
  margin-top: 0.9rem;
  height: 122px;
  border-radius: 14px;
  border: 1px solid rgba(115, 240, 255, 0.2);
  background:
    radial-gradient(circle at 16% 18%, rgba(71, 229, 255, 0.16), transparent 26%),
    linear-gradient(145deg, rgba(6, 11, 22, 0.85), rgba(10, 16, 30, 0.66));
  overflow: hidden;
}

.hero-network::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 10px;
  border: 1px solid rgba(171, 188, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(115, 240, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(165, 120, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
}

.hero-network .line,
.hero-network .node {
  position: absolute;
  display: block;
}

.hero-network .line {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(71, 229, 255, 0.2), rgba(71, 229, 255, 0.95), rgba(165, 120, 255, 0.8), rgba(71, 229, 255, 0.2));
  background-size: 220% 100%;
  box-shadow: 0 0 14px rgba(71, 229, 255, 0.22);
}

.hero-network .line-1 {
  top: 28px;
  left: 20px;
  width: 52%;
}

.hero-network .line-2 {
  top: 60px;
  left: 64px;
  width: 46%;
}

.hero-network .line-3 {
  bottom: 28px;
  left: 118px;
  width: 34%;
}

.hero-network .node {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(71, 229, 255, 1), rgba(97, 244, 191, 0.85));
  box-shadow: 0 0 0 4px rgba(71, 229, 255, 0.1), 0 0 18px rgba(165, 120, 255, 0.2);
}

.hero-network .node-1 {
  top: 24px;
  left: 20px;
}

.hero-network .node-2 {
  top: 24px;
  left: calc(20px + 52%);
}

.hero-network .node-3 {
  top: 56px;
  left: 64px;
}

.hero-network .node-4 {
  bottom: 24px;
  right: 22%;
}

.section {
  padding: 2.6rem 0;
  scroll-margin-top: 68px;
}

.hero {
  scroll-margin-top: 60px;
}

.alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: clamp(1.25rem, 3vw, 1.9rem);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.section-heading p {
  margin: 0;
}

.section-caption {
  flex-shrink: 0;
  display: inline-flex;
  align-self: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(115, 240, 255, 0.3);
  background: rgba(8, 13, 28, 0.68);
  color: #dce7ff;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

p,
li {
  color: #d5def5;
}

.expertise-section {
  position: relative;
  overflow: hidden;
}

.expertise-section::before,
.expertise-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.expertise-section::before {
  background:
    linear-gradient(90deg, rgba(71, 229, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(165, 120, 255, 0.08) 1px, transparent 1px);
  background-size: 100px 100px;
  mask-image: linear-gradient(180deg, transparent, black 16%, black 80%, transparent);
  opacity: 0.34;
}

.expertise-section::after {
  background:
    radial-gradient(circle at 10% 25%, rgba(115, 240, 255, 0.12), transparent 20%),
    radial-gradient(circle at 88% 22%, rgba(97, 244, 191, 0.12), transparent 24%),
    radial-gradient(circle at 68% 82%, rgba(165, 120, 255, 0.12), transparent 22%);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.expertise-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(161, 188, 255, 0.28);
  background: linear-gradient(150deg, rgba(12, 18, 35, 0.95), rgba(19, 28, 52, 0.9));
  padding: 1rem;
  box-shadow: 0 18px 40px rgba(4, 8, 20, 0.28);
  isolation: isolate;
  transition: transform 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
}

.expertise-card::before,
.expertise-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.expertise-card::after {
  inset: auto 0 0;
  height: 52%;
  background: linear-gradient(180deg, transparent, rgba(4, 9, 19, 0.72));
}

.expertise-card h3 {
  margin: 0.6rem 0 0.55rem;
}

.expertise-media {
  position: relative;
  margin: 0 0 0.8rem;
  min-height: 160px;
  border-radius: 14px;
  border: 1px solid rgba(171, 188, 255, 0.26);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.expertise-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(115, 240, 255, 0.12), transparent 35%),
    radial-gradient(circle at 84% 18%, rgba(165, 120, 255, 0.2), transparent 28%);
  pointer-events: none;
  z-index: 1;
}

.expertise-media img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  opacity: 0.9;
  transform: scale(1.03);
  transition: transform 380ms ease, opacity 380ms ease, filter 380ms ease;
  filter: saturate(1.06);
}

.expertise-media figcaption {
  position: absolute;
  left: 0.6rem;
  bottom: 0.55rem;
  z-index: 3;
  margin: 0;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(176, 192, 255, 0.34);
  background: rgba(5, 9, 20, 0.66);
  color: #eef4ff;
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.expertise-tag {
  margin: 0;
  display: inline-flex;
  padding: 0.26rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(176, 192, 255, 0.26);
  background: rgba(7, 11, 24, 0.58);
  color: #eef4ff;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.expertise-list {
  margin: 0;
  padding-left: 1.1rem;
}

.expertise-list li + li {
  margin-top: 0.35rem;
}

.expertise-visual {
  position: absolute;
  inset: 0;
  border: 0;
  background: linear-gradient(180deg, rgba(5, 10, 22, 0.22), rgba(6, 10, 22, 0.78));
  overflow: hidden;
  transition: transform 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
  z-index: 2;
}

.expertise-visual span {
  position: absolute;
  display: block;
}

.architecture-lane::before {
  background:
    linear-gradient(135deg, rgba(71, 229, 255, 0.16), transparent 42%),
    radial-gradient(circle at 86% 18%, rgba(97, 244, 191, 0.2), transparent 22%),
    linear-gradient(90deg, transparent 0 18%, rgba(71, 229, 255, 0.15) 18% 19%, transparent 19% 48%, rgba(165, 120, 255, 0.15) 48% 49%, transparent 49%);
}

.framework-lane::before {
  background:
    radial-gradient(circle at 12% 12%, rgba(165, 120, 255, 0.2), transparent 18%),
    repeating-linear-gradient(90deg, rgba(165, 120, 255, 0.12) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(rgba(71, 229, 255, 0.08) 0 1px, transparent 1px 22px);
}

.cloud-lane::before {
  background:
    linear-gradient(120deg, rgba(97, 244, 191, 0.16), transparent 38%),
    radial-gradient(circle at 80% 20%, rgba(71, 229, 255, 0.18), transparent 24%),
    linear-gradient(90deg, transparent 0 28%, rgba(97, 244, 191, 0.14) 28% 29%, transparent 29% 58%, rgba(71, 229, 255, 0.14) 58% 59%, transparent 59%);
}

.terminal-lane::before {
  background:
    linear-gradient(135deg, rgba(102, 255, 196, 0.15), transparent 35%),
    repeating-linear-gradient(rgba(97, 244, 191, 0.1) 0 1px, transparent 1px 18px),
    radial-gradient(circle at 84% 18%, rgba(165, 120, 255, 0.16), transparent 20%);
}

.orchestration-flow span {
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: linear-gradient(140deg, rgba(115, 240, 255, 0.95), rgba(97, 244, 191, 0.75));
  box-shadow: 0 0 0 5px rgba(115, 240, 255, 0.08);
}

.orchestration-flow span:nth-child(1) { left: 14%; }
.orchestration-flow span:nth-child(2) { left: 38%; }
.orchestration-flow span:nth-child(3) { left: 62%; }
.orchestration-flow span:nth-child(4) { left: 82%; }

.orchestration-flow::before,
.orchestration-flow::after,
.framework-grid::before,
.cloud-pipeline::before,
.terminal-scan::before {
  content: "";
  position: absolute;
}

.orchestration-flow::before {
  left: 16%;
  right: 18%;
  top: calc(50% - 1px);
  height: 2px;
  background: linear-gradient(90deg, rgba(71, 229, 255, 0.8), rgba(165, 120, 255, 0.7));
}

.orchestration-flow::after {
  inset: 18px;
  border: 1px solid rgba(115, 240, 255, 0.18);
  border-radius: 12px;
}

.framework-grid::before {
  inset: 14px;
  background:
    linear-gradient(90deg, rgba(71, 229, 255, 0.16) 1px, transparent 1px),
    linear-gradient(rgba(165, 120, 255, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
}

.framework-grid span {
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(115, 240, 255, 0.95);
}

.framework-grid span:nth-child(1) { left: 18%; }
.framework-grid span:nth-child(2) { left: 34%; }
.framework-grid span:nth-child(3) { left: 50%; }
.framework-grid span:nth-child(4) { left: 66%; }
.framework-grid span:nth-child(5) { left: 82%; }

.cloud-pipeline::before {
  inset: 28px 20px auto;
  height: 2px;
  background: linear-gradient(90deg, rgba(97, 244, 191, 0.7), rgba(71, 229, 255, 0.7));
  box-shadow: 0 22px 0 rgba(165, 120, 255, 0.55);
}

.cloud-pipeline span {
  width: 38px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(97, 244, 191, 0.34);
  background: rgba(6, 15, 25, 0.78);
}

.cloud-pipeline span:nth-child(1) { top: 18px; left: 14%; }
.cloud-pipeline span:nth-child(2) { top: 18px; right: 16%; }
.cloud-pipeline span:nth-child(3) { bottom: 18px; left: 22%; }
.cloud-pipeline span:nth-child(4) { bottom: 18px; right: 24%; }

.terminal-scan::before {
  inset: 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(5, 10, 21, 0.55), rgba(8, 14, 26, 0.9));
  border: 1px solid rgba(97, 244, 191, 0.2);
}

.terminal-scan span {
  left: 24px;
  height: 2px;
  background: linear-gradient(90deg, rgba(97, 244, 191, 0.9), rgba(71, 229, 255, 0.28));
}

.terminal-scan span:nth-child(1) { top: 28px; width: 48%; }
.terminal-scan span:nth-child(2) { top: 46px; width: 62%; }
.terminal-scan span:nth-child(3) { top: 64px; width: 55%; }
.terminal-scan span:nth-child(4) { top: 82px; width: 38%; }

.expertise-card:hover,
.expertise-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(115, 240, 255, 0.48);
  box-shadow: 0 24px 44px rgba(4, 8, 20, 0.4);
}

.expertise-card:hover .expertise-visual,
.expertise-card:focus-within .expertise-visual {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(115, 240, 255, 0.4);
}

.expertise-card:hover .expertise-media img,
.expertise-card:focus-within .expertise-media img {
  transform: scale(1.08) translateY(-3px);
  opacity: 1;
  filter: saturate(1.2);
}

.pill-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.pill-grid li {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  text-align: center;
  font-weight: 600;
}

.domain-section {
  position: relative;
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.domain-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(150deg, rgba(24, 20, 60, 0.92), rgba(18, 16, 48, 0.88));
  padding: 1rem;
  isolation: isolate;
  transition: transform 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
}

.domain-card:hover,
.domain-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(188, 168, 255, 0.7);
  box-shadow: 0 22px 38px rgba(30, 20, 70, 0.55);
}

.domain-card::before,
.domain-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.domain-card::before {
  opacity: 0.35;
  z-index: -1;
}

.domain-card::after {
  inset: auto -18% -28% -18%;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(6, 11, 25, 0.48));
  z-index: -1;
}

.domain-card h3 {
  margin: 0 0 0.45rem;
}

.domain-card p {
  margin: 0;
}

.domain-signal {
  margin-top: 0.72rem !important;
  display: inline-flex;
  padding: 0.26rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(180, 162, 255, 0.58);
  background: rgba(32, 24, 70, 0.68);
  color: #ebe8ff;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.domain-illustration {
  position: relative;
  margin-top: 0.8rem;
  min-height: 170px;
  border-radius: 18px;
  border: 1px solid rgba(180, 162, 255, 0.24);
  background:
    radial-gradient(circle at 18% 18%, rgba(115, 240, 255, 0.16), transparent 22%),
    linear-gradient(160deg, rgba(9, 14, 28, 0.96), rgba(11, 18, 36, 0.84));
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.domain-illustration::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(176, 196, 241, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(176, 196, 241, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 90%);
  pointer-events: none;
}

.domain-illustration img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  opacity: 0.92;
  transform: scale(1.04);
  transition: transform 360ms ease, opacity 360ms ease, filter 360ms ease;
  filter: saturate(1.08);
}

.domain-card:hover .domain-illustration img,
.domain-card:focus-within .domain-illustration img {
  transform: scale(1.1) translateY(-4px);
  opacity: 1;
  filter: saturate(1.22);
}

.android-illustration::after,
.automotive-illustration::after,
.healthcare-illustration::after,
.media-illustration::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.android-illustration::after {
  background: radial-gradient(circle at 85% 18%, rgba(71, 229, 255, 0.24), transparent 24%);
}

.automotive-illustration::after {
  background: radial-gradient(circle at 18% 82%, rgba(165, 120, 255, 0.26), transparent 30%);
}

.healthcare-illustration::after {
  background: radial-gradient(circle at 18% 20%, rgba(97, 244, 191, 0.22), transparent 26%);
}

.media-illustration::after {
  background: radial-gradient(circle at 78% 16%, rgba(71, 229, 255, 0.24), transparent 28%);
}

.domain-light {
  position: absolute;
  inset: -8%;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.5;
}

.android-light {
  background: linear-gradient(115deg, rgba(71, 229, 255, 0.18), transparent 52%);
}

.automotive-light {
  background: linear-gradient(120deg, rgba(165, 120, 255, 0.22), transparent 58%);
}

.healthcare-light {
  background: linear-gradient(122deg, rgba(97, 244, 191, 0.2), transparent 56%);
}

.media-light {
  background: linear-gradient(118deg, rgba(71, 229, 255, 0.2), transparent 54%);
}

.domain-visual {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(180, 162, 255, 0.45);
  background: rgba(8, 10, 28, 0.74);
  backdrop-filter: blur(8px);
  overflow: hidden;
  z-index: 2;
}

.domain-visual span {
  position: absolute;
  display: block;
  pointer-events: none;
}

.domain-highlights {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.domain-highlights li {
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(171, 188, 255, 0.24);
  background: rgba(8, 14, 28, 0.62);
  color: #eef4ff;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.domain-illustration figcaption {
  position: absolute;
  left: 0.6rem;
  top: 0.55rem;
  z-index: 3;
  margin: 0;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(176, 192, 255, 0.34);
  background: rgba(5, 9, 20, 0.66);
  color: #eef4ff;
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.android-grid span {
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(71, 229, 255, 0.95), transparent);
  animation: gridScan 4.2s linear infinite;
}

.android-grid span:nth-child(1) { left: 20%; }
.android-grid span:nth-child(2) { left: 50%; animation-delay: -1.4s; }
.android-grid span:nth-child(3) { left: 78%; animation-delay: -2.8s; }

.auto-radar span {
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.auto-radar span:nth-child(1) {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(71, 229, 255, 0.75);
  animation: radarPulse 2.5s ease-out infinite;
}

.auto-radar span:nth-child(2) {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(97, 244, 191, 0.72);
  animation: radarPulse 2.5s ease-out infinite -1.25s;
}

.health-pulse span {
  bottom: 7px;
  width: 10px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(97, 244, 191, 0.95), rgba(71, 229, 255, 0.5));
  animation: medBars 1.5s ease-in-out infinite;
}

.health-pulse span:nth-child(1) { left: 22%; height: 10px; }
.health-pulse span:nth-child(2) { left: 38%; height: 18px; animation-delay: -0.2s; }
.health-pulse span:nth-child(3) { left: 54%; height: 25px; animation-delay: -0.4s; }
.health-pulse span:nth-child(4) { left: 70%; height: 14px; animation-delay: -0.6s; }

.media-wave span {
  bottom: 7px;
  width: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(165, 120, 255, 0.95), rgba(71, 229, 255, 0.66));
  animation: mediaBeat 1.2s ease-in-out infinite;
}

.media-wave span:nth-child(1) { left: 16%; height: 8px; }
.media-wave span:nth-child(2) { left: 31%; height: 22px; animation-delay: -0.15s; }
.media-wave span:nth-child(3) { left: 46%; height: 13px; animation-delay: -0.3s; }
.media-wave span:nth-child(4) { left: 61%; height: 26px; animation-delay: -0.45s; }
.media-wave span:nth-child(5) { left: 76%; height: 11px; animation-delay: -0.6s; }

.domain-card.android::before {
  background:
    repeating-linear-gradient(90deg, rgba(71, 229, 255, 0.2) 0 1px, transparent 1px 16px),
    repeating-linear-gradient(rgba(71, 229, 255, 0.14) 0 1px, transparent 1px 16px),
    radial-gradient(circle at 80% 10%, rgba(71, 229, 255, 0.3), transparent 44%);
}

.domain-card.automotive::before {
  background:
    radial-gradient(circle at 20% 70%, rgba(165, 120, 255, 0.3), transparent 36%),
    repeating-linear-gradient(120deg, rgba(165, 120, 255, 0.16) 0 2px, transparent 2px 18px),
    linear-gradient(90deg, transparent 30%, rgba(165, 120, 255, 0.22) 50%, transparent 70%);
}

.domain-card.healthcare::before {
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(97, 244, 191, 0.2) 10% 11%, transparent 11% 21%, rgba(97, 244, 191, 0.16) 21% 22%, transparent 22%),
    radial-gradient(circle at 12% 20%, rgba(97, 244, 191, 0.3), transparent 36%),
    repeating-linear-gradient(0deg, rgba(97, 244, 191, 0.12) 0 1px, transparent 1px 12px);
}

.domain-card.media::before {
  background:
    radial-gradient(circle at 78% 18%, rgba(71, 229, 255, 0.24), transparent 36%),
    repeating-radial-gradient(circle at 10% 130%, rgba(71, 229, 255, 0.18) 0 2px, transparent 2px 14px),
    linear-gradient(95deg, transparent 0 28%, rgba(71, 229, 255, 0.2) 45%, transparent 62%);
}

.card-list,
.highlights {
  margin: 0;
  padding-left: 1.2rem;
}

.card-list li,
.highlights li {
  background: linear-gradient(145deg, rgba(21, 34, 65, 0.95), rgba(18, 30, 56, 0.9));
  border: 1px solid var(--border);
  margin-bottom: 0.75rem;
  border-radius: 14px;
  padding: 0.8rem 0.95rem;
  list-style-position: inside;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.card-list li:hover,
.highlights li:hover {
  transform: translateY(-2px);
  border-color: rgba(114, 226, 255, 0.45);
  box-shadow: 0 10px 22px rgba(4, 9, 20, 0.3);
}

.journey-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 1rem;
}

.featured-current {
  background:
    radial-gradient(circle at 90% 0%, rgba(115, 240, 255, 0.18), transparent 44%),
    var(--panel);
  border: 1px solid rgba(115, 240, 255, 0.46);
  border-radius: 16px;
  padding: 1rem;
  align-self: start;
}

.journey-tag {
  margin: 0;
  display: inline-block;
  color: #0b1220;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.22rem 0.48rem;
  border-radius: 999px;
}

.featured-current h3 {
  margin: 0.7rem 0 0.5rem;
}

.signal {
  margin-bottom: 0;
  color: var(--accent);
  font-weight: 600;
}

.chapter-points {
  margin: 0.85rem 0 0.55rem;
  padding-left: 1.1rem;
}

.chapter-points li {
  margin-bottom: 0.35rem;
}

.career-timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.career-timeline::after {
  content: "";
  position: absolute;
  left: 0.79rem;
  top: 1.15rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(115, 240, 255, 0.95) 0 32%, rgba(165, 120, 255, 0.88) 55%, rgba(115, 240, 255, 0) 70%);
  box-shadow: 0 0 16px rgba(71, 229, 255, 0.28);
  pointer-events: none;
}

.career-timeline li {
  position: relative;
  background: linear-gradient(145deg, rgba(21, 34, 65, 0.95), rgba(18, 30, 56, 0.9));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 0.95rem 0.9rem 2.1rem;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.career-timeline li::before {
  content: "";
  position: absolute;
  top: 1.28rem;
  left: 0.85rem;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 4px rgba(114, 226, 255, 0.13);
}

.career-timeline li::after {
  content: "";
  position: absolute;
  left: 1.12rem;
  top: 1.9rem;
  bottom: -0.8rem;
  width: 1px;
  background: linear-gradient(rgba(115, 240, 255, 0.65), rgba(115, 240, 255, 0));
}

.career-timeline li:last-child::after {
  display: none;
}

.career-timeline h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.timeplace {
  margin: 0;
  font-size: 0.88rem;
  color: var(--accent);
}

.career-timeline p {
  margin: 0.4rem 0 0;
}

.career-timeline li:hover {
  transform: translateY(-2px);
  border-color: rgba(114, 226, 255, 0.48);
  box-shadow: 0 10px 22px rgba(4, 9, 20, 0.28);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.95fr) minmax(320px, 1.05fr);
  gap: 1.25rem;
}

.contact-copy {
  background:
    radial-gradient(circle at 10% 0%, rgba(97, 244, 191, 0.18), transparent 48%),
    linear-gradient(145deg, rgba(23, 36, 68, 0.96), rgba(16, 28, 52, 0.9));
  border: 1px solid rgba(115, 240, 255, 0.3);
  border-radius: 18px;
  padding: 1.1rem 1.15rem;
}

.contact-kicker {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.73rem;
  font-weight: 700;
}

.contact-copy h2 {
  margin: 0.55rem 0 0.4rem;
}

.contact-copy p {
  margin: 0;
}

.contact-alternatives {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.contact-alternatives li {
  background: rgba(6, 13, 28, 0.5);
  border: 1px solid rgba(115, 240, 255, 0.22);
  border-radius: 12px;
  padding: 0.65rem 0.72rem;
  display: grid;
  gap: 0.15rem;
}

.contact-alternatives span {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact a {
  color: var(--accent);
  font-weight: 600;
  text-decoration-thickness: 2px;
  word-break: break-word;
}

.contact-form {
  background: linear-gradient(145deg, rgba(18, 30, 56, 0.95), rgba(14, 22, 42, 0.92));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.1rem;
  display: grid;
  gap: 0.6rem;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(185, 165, 255, 0.34);
  background: rgba(7, 5, 18, 0.74);
  color: var(--text);
  font: inherit;
  padding: 0.7rem 0.78rem;
  transition: border-color 180ms, box-shadow 180ms;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
  border-color: rgba(71, 229, 255, 0.75);
  box-shadow: 0 0 0 3px rgba(71, 229, 255, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-submit {
  margin-top: 0.25rem;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #04050e;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.78rem 1.35rem;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(8, 14, 32, 0.35);
}

.contact-submit:disabled {
  opacity: 0.65;
  cursor: progress;
  transform: none;
  box-shadow: none;
}

.contact-status {
  margin: 0.1rem 0 0;
  min-height: 1.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-status.success {
  color: var(--accent-3);
}

.contact-status.error {
  color: #ffb8c4;
}

footer {
  border-top: 1px solid var(--border);
  padding: 1.4rem 0;
  margin-top: 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--muted);
}

/* ── Image Credits ───────────────────────────────────── */
.image-credits {
  font-size: 0.78rem;
  color: var(--muted);
}

.image-credits summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(185, 165, 255, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  transition: background 180ms, border-color 180ms;
  user-select: none;
}

.image-credits summary::-webkit-details-marker {
  display: none;
}

.image-credits summary::before {
  content: "ⓘ";
  font-style: normal;
  font-size: 0.8rem;
  color: var(--accent-2);
}

.image-credits summary:hover {
  background: rgba(71, 229, 255, 0.06);
  border-color: rgba(71, 229, 255, 0.3);
}

.image-credits[open] summary {
  border-color: rgba(71, 229, 255, 0.3);
}

.image-credits ul {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0.7rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: rgba(7, 5, 18, 0.8);
  border: 1px solid rgba(185, 165, 255, 0.18);
  border-radius: 10px;
  min-width: 280px;
}

.image-credits li {
  line-height: 1.5;
}

.image-credits a {
  color: var(--accent);
  text-decoration: none;
}

.image-credits a:hover {
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 720ms cubic-bezier(0.2, 0.65, 0.2, 1),
    transform 720ms cubic-bezier(0.2, 0.65, 0.2, 1),
    filter 720ms cubic-bezier(0.2, 0.65, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (max-width: 640px) {
  .hero {
    padding-top: 4rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 2rem 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .hero-metrics {
    gap: 0.45rem;
  }

  .hero-network {
    height: 90px;
  }

  .card-list li,
  .highlights li {
    padding: 0.75rem;
  }

  .image-credits ul {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .photo-slot img {
    min-height: 180px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* ── Small phone breakpoint ──────────────────────────── */
@media (max-width: 480px) {
  .container {
    width: min(1080px, 96vw);
  }

  .hero {
    padding-top: 3.5rem;
  }

  .section {
    padding: 1.6rem 0;
  }

  h1 {
    font-size: clamp(1.7rem, 9vw, 2.8rem);
  }

  .headline {
    font-size: 0.97rem;
  }

  .hero-metrics li {
    font-size: 0.82rem;
  }

  .hero-network {
    height: 80px;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .domain-grid {
    grid-template-columns: 1fr;
  }

  .pill-grid {
    grid-template-columns: 1fr;
  }

  .domain-illustration {
    min-height: 140px;
  }

  .domain-illustration img {
    height: 140px;
  }

  .journey-grid {
    gap: 0.75rem;
  }

  .career-timeline li {
    padding-left: 1.8rem;
  }

  .section-caption {
    font-size: 0.7rem;
    padding: 0.3rem 0.55rem;
  }
}

@media (max-width: 860px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .journey-grid {
    grid-template-columns: 1fr;
  }

   .contact-layout {
    grid-template-columns: 1fr;
  }

  .expertise-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .domain-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* ── Touch-device adjustments ────────────────────────── */
@media (hover: none) and (pointer: coarse) {
  .expertise-card:hover,
  .expertise-card:focus-within {
    transform: none;
    box-shadow: 0 18px 40px rgba(4, 8, 20, 0.28);
    border-color: rgba(161, 188, 255, 0.28);
  }

  .expertise-card:hover .expertise-visual,
  .expertise-card:focus-within .expertise-visual {
    transform: none;
    box-shadow: none;
  }

  .expertise-card:hover .expertise-media img,
  .expertise-card:focus-within .expertise-media img {
    transform: scale(1.03);
    opacity: 0.9;
    filter: saturate(1.06);
  }

  .domain-card:hover,
  .domain-card:focus-within {
    transform: none;
    box-shadow: none;
    border-color: var(--border);
  }

  .domain-card:hover .domain-illustration img,
  .domain-card:focus-within .domain-illustration img {
    transform: scale(1.04);
    opacity: 0.92;
    filter: saturate(1.08);
  }

  .card-list li:hover,
  .highlights li:hover,
  .career-timeline li:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border);
  }

  .cta {
    min-height: 44px;
    padding: 0.85rem 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .lang-option {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  body {
    animation: auroraShift 22s ease-in-out infinite;
  }

  body::after {
    animation: pipelineFlow 32s linear infinite;
  }

  .hero-visual {
    animation: float 5s ease-in-out infinite;
  }

  .hero-network .line {
    animation: telemetryFlow 5.2s linear infinite;
  }

  .hero-network .line-2 {
    animation-delay: -1.4s;
  }

  .hero-network .line-3 {
    animation-delay: -2.6s;
  }

  .hero-network .node {
    animation: beaconPulse 2.8s ease-in-out infinite;
  }

  .hero-network .node-2 {
    animation-delay: -0.45s;
  }

  .hero-network .node-3 {
    animation-delay: -0.9s;
  }

  .hero-network .node-4 {
    animation-delay: -1.35s;
  }

  .career-timeline li {
    animation: rise 450ms ease both;
  }

  .career-timeline::after {
    animation: journeyPulse 6s linear infinite;
  }

  .career-timeline li:nth-child(2) {
    animation-delay: 60ms;
  }

  .career-timeline li:nth-child(3) {
    animation-delay: 120ms;
  }

  .career-timeline li:nth-child(4) {
    animation-delay: 180ms;
  }

  .career-timeline li:nth-child(5) {
    animation-delay: 240ms;
  }

  .orchestration-flow span {
    animation: nodePulse 2.8s ease-in-out infinite;
  }

  .framework-grid span {
    animation: nodePulse 2.4s ease-in-out infinite;
  }

  .framework-grid span:nth-child(2),
  .orchestration-flow span:nth-child(2) {
    animation-delay: -0.4s;
  }

  .framework-grid span:nth-child(3),
  .orchestration-flow span:nth-child(3) {
    animation-delay: -0.8s;
  }

  .framework-grid span:nth-child(4),
  .orchestration-flow span:nth-child(4) {
    animation-delay: -1.2s;
  }

  .cloud-pipeline span {
    animation: float 4.2s ease-in-out infinite;
  }

  .cloud-pipeline span:nth-child(2) {
    animation-delay: -1s;
  }

  .cloud-pipeline span:nth-child(3) {
    animation-delay: -1.8s;
  }

  .cloud-pipeline span:nth-child(4) {
    animation-delay: -2.6s;
  }

  .terminal-scan::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 12px;
    background: linear-gradient(180deg, transparent, rgba(97, 244, 191, 0.16), transparent);
    animation: terminalSweep 3.4s linear infinite;
  }

  .domain-illustration {
    animation: illustrationDrift 6.5s ease-in-out infinite;
  }

  .domain-illustration img {
    animation: domainImagePan 10s ease-in-out infinite alternate;
  }

  .domain-light {
    animation: domainSheen 5.6s ease-in-out infinite;
  }

  .expertise-media::before {
    animation: expertiseShimmer 6.4s linear infinite;
  }

  .domain-card:nth-child(2) .domain-illustration {
    animation-delay: -1.2s;
  }

  .domain-card:nth-child(3) .domain-illustration {
    animation-delay: -2.4s;
  }

  .domain-card:nth-child(4) .domain-illustration {
    animation-delay: -3.6s;
  }

  .domain-card:nth-child(2) .domain-illustration img {
    animation-delay: -1.8s;
  }

  .domain-card:nth-child(3) .domain-illustration img {
    animation-delay: -3.1s;
  }

  .domain-card:nth-child(4) .domain-illustration img {
    animation-delay: -4.4s;
  }

  .domain-card:nth-child(2) .domain-light {
    animation-delay: -1.2s;
  }

  .domain-card:nth-child(3) .domain-light {
    animation-delay: -2.4s;
  }

  .domain-card:nth-child(4) .domain-light {
    animation-delay: -3.6s;
  }
}

@keyframes auroraShift {
  0%,
  100% {
    background-position: 0% 0%, 100% 0%, 50% 100%, 0 0;
  }
  50% {
    background-position: 10% 8%, 92% 12%, 48% 92%, 0 0;
  }
}

/* The two rails drift in opposite directions. Offsets are whole multiples of
   each rail's tile (78px and 96px) so the loop restarts without a jump. */
@keyframes pipelineFlow {
  to {
    background-position:
      0 0,
      0 0,
      780px 22vh,
      -960px 71vh;
  }
}

@keyframes gridScan {
  0% {
    transform: translateY(-100%);
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(100%);
    opacity: 0.3;
  }
}

@keyframes radarPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.25);
    opacity: 0.9;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.8);
    opacity: 0;
  }
}

@keyframes medBars {
  0%,
  100% {
    transform: scaleY(0.7);
  }
  50% {
    transform: scaleY(1.2);
  }
}

@keyframes mediaBeat {
  0%,
  100% {
    transform: scaleY(0.6);
  }
  50% {
    transform: scaleY(1.25);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes nodePulse {
  0%,
  100% {
    transform: translateY(-50%) scale(0.92);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-50%) scale(1.18);
    opacity: 1;
  }
}

@keyframes terminalSweep {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  18% {
    opacity: 0.85;
  }
  100% {
    transform: translateY(110%);
    opacity: 0;
  }
}


@keyframes telemetryFlow {
  0% {
    background-position: 0% 0;
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
  100% {
    background-position: 200% 0;
    opacity: 0.72;
  }
}

@keyframes beaconPulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

@keyframes journeyPulse {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    transform: translateY(calc(100% + 7rem));
    opacity: 0;
  }
}

@keyframes illustrationDrift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes domainImagePan {
  0% {
    transform: scale(1.06) translateX(-2.4%);
  }
  100% {
    transform: scale(1.1) translateX(2.2%);
  }
}

@keyframes domainSheen {
  0% {
    transform: translateX(-18%) translateY(-2%);
    opacity: 0.34;
  }
  50% {
    opacity: 0.66;
  }
  100% {
    transform: translateX(18%) translateY(2%);
    opacity: 0.34;
  }
}

@keyframes expertiseShimmer {
  0% {
    transform: translateX(-26%);
    opacity: 0.42;
  }
  50% {
    opacity: 0.72;
  }
  100% {
    transform: translateX(26%);
    opacity: 0.42;
  }
}
