/* =========================================================
   AVYRION — Design System (Figma brand kit)
   Colors: #2563EB · #0D1B2A · #0EA5E9 · #F4F6FA · #64748B
   Type: Poppins
   ========================================================= */

:root {
  /* Sampled from Figma homepage mockup (figma design.png) */
  --blue: #2042eb;
  --blue-btn: #2042eb;
  --navy: #06070f;
  --navy-mid: #0b1a33;
  --sky: #3bbdf8;
  --digital: #3bbdf8;
  --off-white: #f8f9fb;
  --slate: #64748b;
  --white: #ffffff;
  --charcoal: #111827;
  --blue-bright: #3b82f6;
  --logo-cyan: #38bdf8;
  --logo-deep: #1d4ed8;
  --violet: #7c3aed;
  --green: #10b981;
  --pink: #ec4899;
  --indigo: #6366f1;
  --text: #0b1220;
  --border: rgba(11, 18, 32, 0.08);
  --shadow: 0 10px 30px rgba(0, 8, 24, 0.06);
  --shadow-hover: 0 18px 44px rgba(0, 68, 240, 0.14);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --container: 1180px;
  --header-h: 78px;
  /* Pulls .tech-stats over the hero; hero min-height accounts for this so it stays below the fold. */
  --hero-overlap: 2.75rem;
  --font: "Poppins", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--navy);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--navy);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--blue);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 6rem 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}

.section-head.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-head h2,
.about-copy h2 {
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  line-height: 1.2;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.text-accent {
  background: linear-gradient(90deg, #7cdaff, #3bbdf8, #2042eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-link {
  color: var(--blue);
  font-weight: 500;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--sky);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  flex-shrink: 0;
}

.btn-primary {
  background: var(--blue-btn);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(0, 68, 240, 0.35);
}

.btn-primary:hover {
  background: var(--blue);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.75);
}

.btn-outline-dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-dark:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  overflow: visible;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  position: fixed;
  background: rgba(0, 8, 24, 0.94);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(0, 82, 255, 0.18);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}

.brand-lockup {
  display: block;
  width: auto;
  height: 46px;
  max-width: min(290px, 48vw);
  object-fit: contain;
  object-position: left center;
  background: transparent;
  border: 0;
  filter: drop-shadow(0 0 14px rgba(0, 163, 255, 0.35));
  animation: logoGlow 4s ease-in-out infinite;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  filter: drop-shadow(0 0 16px rgba(0, 163, 255, 0.45));
  animation: logoGlow 4s ease-in-out infinite;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  line-height: 1;
  min-width: 0;
}

.brand-wordmark {
  display: block;
  width: auto;
  height: 16px;
  object-fit: contain;
  object-position: left center;
}

.brand-tagline {
  display: block;
  width: auto;
  height: 8px;
  max-width: 180px;
  object-fit: contain;
  object-position: left center;
  opacity: 0.9;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 1.02rem;
  line-height: 1;
  color: var(--white);
  text-transform: uppercase;
}

@keyframes logoGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 10px rgba(0, 163, 255, 0.35));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(0, 163, 255, 0.7));
  }
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.7rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
}

.nav-link.is-active {
  box-shadow: inset 0 -2px 0 var(--blue);
  border-radius: 0;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.55rem;
  height: 0.55rem;
  flex-shrink: 0;
  margin-left: 0.1rem;
  opacity: 0.7;
  transform: translateY(1px);
  transition: transform 0.2s ease;
}

.chev svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nav-item:hover .chev,
.nav-item:focus-within .chev,
.nav-item.is-sub-open .chev {
  transform: translateY(1px) rotate(180deg);
}

.submenu {
  position: absolute;
  /* Overlap the trigger slightly so the pointer never falls through a dead gap. */
  top: calc(100% - 0.15rem);
  left: 0;
  min-width: 15rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-hover);
  padding: 0.5rem;
  display: none;
  z-index: 120;
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu,
.nav-item.is-sub-open .submenu {
  display: grid;
}

.submenu a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.submenu a:hover {
  background: var(--off-white);
  color: var(--blue);
}

.submenu.submenu-wide {
  min-width: 18.5rem;
  max-height: min(70vh, 28rem);
  overflow-y: auto;
  padding: 0.45rem;
}

.header-cta {
  min-height: 42px;
  padding: 0.6rem 1.2rem;
  font-size: 0.875rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
/* ---------- Hero (Figma homepage) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(ellipse 50% 55% at 78% 42%, rgba(32, 66, 235, 0.28), transparent 65%),
    radial-gradient(ellipse 35% 40% at 18% 75%, rgba(59, 189, 248, 0.08), transparent 60%),
    linear-gradient(165deg, #06070f 0%, #0b1a33 46%, #06070f 100%);
  color: var(--white);
  padding: calc(var(--header-h) + 2.5rem) 0 6rem;
  /* Include overlap so the light .tech-stats band cannot peek into the first viewport. */
  min-height: calc(100svh + var(--hero-overlap));
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.2) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 75% 70% at 72% 45%, #000 15%, transparent 78%);
}

.hero-mesh {
  position: absolute;
  left: 30%;
  right: -8%;
  bottom: -12%;
  height: 48%;
  background:
    radial-gradient(ellipse 85% 55% at 55% 70%, rgba(32, 66, 235, 0.4), transparent 70%),
    radial-gradient(circle at 25% 55%, rgba(59, 189, 248, 0.18), transparent 35%),
    radial-gradient(circle at 80% 40%, rgba(59, 130, 246, 0.16), transparent 28%);
  filter: blur(2px);
  animation: meshPulse 8s ease-in-out infinite;
}

.hero-node {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3bbdf8;
  box-shadow: 0 0 14px rgba(59, 189, 248, 0.95);
  animation: particleDrift 7s ease-in-out infinite;
}

.hero-node.n1 { top: 22%; left: 58%; }
.hero-node.n2 { top: 34%; left: 78%; animation-delay: 0.7s; width: 4px; height: 4px; }
.hero-node.n3 { top: 58%; left: 66%; animation-delay: 1.4s; }
.hero-node.n4 { top: 70%; left: 88%; animation-delay: 2s; width: 5px; height: 5px; }
.hero-node.n5 { top: 48%; left: 92%; animation-delay: 0.3s; width: 3px; height: 3px; }
.hero-node.n6 { top: 18%; left: 84%; animation-delay: 1.8s; width: 4px; height: 4px; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
  gap: 1.5rem 2rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
  padding: 0.42rem 1rem 0.42rem 0.72rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(59, 189, 248, 0.55);
  background: rgba(32, 66, 235, 0.14);
  box-shadow: 0 0 24px rgba(59, 189, 248, 0.16);
  color: #7cdaff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-badge svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 3.9vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 15ch;
}

.hero-lead {
  margin-top: 1.1rem;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.5rem;
  margin-top: 2.1rem;
  padding-top: 1.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}

.trust-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #7cdaff;
  flex-shrink: 0;
}

.trust-icon svg,
.stat-icon svg,
.service-icon svg,
.mission-icon svg,
.industry-icon svg {
  width: 100%;
  height: 100%;
}

.hero-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: visible;
  background: transparent;
}

.hero-glow {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  left: 54%;
  top: 48%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(32, 66, 235, 0.45) 0%,
    rgba(59, 189, 248, 0.16) 42%,
    transparent 70%
  );
  filter: blur(20px);
  z-index: 0;
  animation: heroGlow 4.8s ease-in-out infinite;
  pointer-events: none;
}

.hero-art {
  position: relative;
  z-index: 1;
  width: 118%;
  max-width: 760px;
  margin-right: -8%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  animation: floatY 6.5s ease-in-out infinite;
}

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

@keyframes heroGlow {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes meshPulse {
  0%, 100% { opacity: 0.7; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-8px); }
}

@keyframes particleDrift {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.35; }
  50% { transform: translate3d(10px, -18px, 0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art,
  .hero-glow,
  .hero-mesh,
  .hero-node {
    animation: none;
  }
}

/* ---------- Tech + Stats (Figma stacked cards) ---------- */
.tech-stats {
  background: var(--off-white);
  padding: 1.5rem 0 0;
  margin-top: calc(-1 * var(--hero-overlap));
  position: relative;
  z-index: 2;
}

.tech-stats-stack {
  display: grid;
  gap: 1rem;
  align-items: stretch;
  justify-items: stretch;
}

.tech-card,
.stats-card {
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 8, 24, 0.05);
  border: 1px solid rgba(11, 18, 32, 0.06);
}

.tech-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem 1.5rem;
  align-items: center;
  padding: 1.05rem 1.5rem;
  background: #eef1f5;
  overflow: hidden;
}

.tech-label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.35;
  white-space: normal;
  max-width: 9.5rem;
  flex-shrink: 0;
}

.tech-marquee {
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: tech-marquee 38s linear infinite;
  will-change: transform;
}

.tech-marquee:hover .marquee-track,
.tech-marquee:focus-within .marquee-track {
  animation-play-state: paused;
}

@keyframes tech-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

.tech-logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0 2rem 0 0;
  list-style: none;
  min-width: 0;
}

.tech-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0;
  white-space: nowrap;
  line-height: 1;
}

.tech-icon {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.tech-icon--aws {
  width: 52px;
  height: 28px;
}

.tech-item--wordmark {
  gap: 0;
}

.stats-card {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
  padding: 1.25rem 0.5rem;
  background: var(--white);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 0.5rem 0.75rem 0.65rem;
  position: relative;
  min-width: 0;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 4.5rem;
  transform: translateY(-50%);
  background: rgba(11, 18, 32, 0.1);
}

.stat-icon {
  width: 32px;
  height: 32px;
  margin: 0 0 0.7rem;
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}

.stat-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.stat-item strong {
  display: block;
  font-size: 1.7rem;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-weight: 700;
  min-height: 2rem;
}

.stat-item span:last-child {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: 0.35rem;
  color: #4b5563;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  max-width: 12ch;
  min-height: calc(1.35em * 2);
}

/* ---------- Services ---------- */
.services {
  background: var(--off-white);
  padding-top: 1rem;
  padding-bottom: 3.5rem;
  position: relative;
  z-index: 1;
}

.services-panel {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  padding: 2.25rem 1.6rem 1.75rem;
  box-shadow: 0 10px 32px rgba(0, 8, 24, 0.05);
  border: 1px solid rgba(11, 18, 32, 0.06);
}

.services-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 1rem;
  margin-bottom: 1.75rem;
}

.services-head .eyebrow {
  grid-column: 1 / -1;
  justify-self: center;
  margin-bottom: 0.55rem;
}

.services-head h2 {
  grid-column: 2;
  justify-self: center;
  text-align: center;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.25;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.services-view-all {
  grid-column: 3;
  justify-self: end;
  align-self: center;
  position: static;
  font-size: 0.86rem;
  white-space: nowrap;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: stretch;
}

/* Homepage services: equal-gap card grid (hide duplicated marquee set). */
.services-marquee {
  overflow: visible;
  margin: 0;
  mask-image: none;
  -webkit-mask-image: none;
}

.services-marquee-track {
  display: block;
  width: 100%;
  animation: none;
  will-change: auto;
}

.services-marquee-set {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.9rem;
  padding-right: 0;
  align-items: stretch;
}

.services-marquee-set[aria-hidden="true"] {
  display: none;
}

.services-marquee .service-card {
  flex: none;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 100%;
}

@keyframes services-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-marquee-track {
    animation: none;
  }
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: 14px;
  padding: 1.25rem 1.05rem 1.2rem;
  box-shadow: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 68, 240, 0.1);
  border-color: rgba(0, 68, 240, 0.16);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin-bottom: 0.95rem;
  background: rgba(0, 82, 255, 0.1);
  color: var(--blue);
  border: 0;
  flex-shrink: 0;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.service-icon.tone-violet {
  background: rgba(124, 58, 237, 0.1);
  color: var(--violet);
  border-color: transparent;
}

.service-icon.tone-green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
  border-color: transparent;
}

.service-icon.tone-sky {
  background: rgba(0, 163, 255, 0.1);
  color: var(--sky);
  border-color: transparent;
}

.service-icon.tone-indigo {
  background: rgba(99, 102, 241, 0.1);
  color: var(--indigo);
  border-color: transparent;
}

.service-icon.tone-pink {
  background: rgba(236, 72, 153, 0.1);
  color: var(--pink);
  border-color: transparent;
}

.service-card h3 {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
  line-height: 1.35;
}

.service-card p {
  color: var(--slate);
  font-size: 0.78rem;
  margin-bottom: 0;
  line-height: 1.55;
  flex: 1 1 auto;
}

.service-card .text-link {
  font-size: 0.8rem;
  margin-top: auto;
  padding-top: 0.95rem;
}

/* ---------- About / Why ---------- */
.about {
  background: var(--white);
  overflow: visible;
  padding-top: 3.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 4vw, 3.75rem);
  align-items: center;
}

.about .eyebrow {
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.14em;
}

.about-copy h2 {
  max-width: 14ch;
}

.about-copy > p {
  margin-top: 1rem;
  color: #64748b;
  max-width: 38ch;
  font-size: 0.95rem;
  line-height: 1.7;
}

.check-list {
  margin: 1.6rem 0 1.9rem;
  display: grid;
  gap: 0.95rem;
}

.check-list li {
  position: relative;
  padding-left: 2.15rem;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.94rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.08rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--blue);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0.42rem;
  width: 0.52rem;
  height: 0.3rem;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}

.about-visual {
  position: relative;
  padding: 0 8rem 3.25rem 0;
  z-index: 1;
}

.about-media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 8, 24, 0.1);
}

.about-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
}

.mission-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(300px, 58%);
  background: var(--white);
  color: var(--text);
  border-radius: 16px;
  padding: 1.45rem 1.4rem 1.35rem;
  box-shadow: 0 20px 48px rgba(0, 8, 24, 0.14);
  border: 1px solid rgba(11, 18, 32, 0.06);
}

.mission-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 82, 255, 0.1);
  color: var(--blue);
  margin-bottom: 0.9rem;
}

.mission-icon svg {
  width: 22px;
  height: 22px;
}

.mission-card h3 {
  font-size: 1.08rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.mission-card p {
  color: #64748b;
  font-size: 0.86rem;
  margin-bottom: 0.9rem;
  line-height: 1.6;
}

.mission-card .text-link {
  font-size: 0.88rem;
  font-weight: 500;
}

/* ---------- Industries ---------- */
.industries {
  background: var(--off-white);
  padding-top: 1.25rem;
  padding-bottom: 3.5rem;
}

.industries-panel {
  background: var(--white);
  border-radius: 18px;
  padding: 1.85rem 0.5rem 1.75rem;
  border: 1px solid rgba(11, 18, 32, 0.08);
  box-shadow: 0 8px 28px rgba(0, 8, 24, 0.04);
}

.industries-label {
  display: block;
  text-align: center;
  margin: 0 0 1.55rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.industries-row {
  display: flex;
  width: 100%;
  align-items: stretch;
  gap: 0;
}

.industries-row li {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.25;
  color: var(--navy);
  padding: 0.35rem 0.45rem 0.5rem;
  position: relative;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.industries-row li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 12%;
  right: 0;
  width: 1px;
  background: rgba(11, 18, 32, 0.1);
}

.industry-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--blue);
  transition: transform 0.25s var(--ease);
}

.industry-icon svg {
  width: 28px;
  height: 28px;
}

.industries-row li:hover .industry-icon {
  transform: translateY(-3px);
}

/* ---------- Cases ---------- */
.cases {
  background: var(--white);
  padding-top: 3.5rem;
}

.cases .section-head {
  align-items: flex-end;
  margin-bottom: 2.25rem;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.case-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  align-items: stretch;
  border: 1px solid rgba(11, 18, 32, 0.07);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(0, 8, 24, 0.05);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 68, 240, 0.1);
}

.case-media {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.case-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.case-card:hover .case-media img {
  transform: scale(1.04);
}

.case-body {
  padding: 1.35rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.case-tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-body h3 {
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.case-body p {
  color: #64748b;
  font-size: 0.84rem;
  margin-bottom: 1rem;
  line-height: 1.55;
}

.case-stats {
  display: flex;
  gap: 1.35rem;
  margin-bottom: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(11, 18, 32, 0.08);
}

.case-stats div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.case-stats strong {
  color: var(--blue);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.case-stats span {
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.3;
}

.case-body .text-link {
  font-size: 0.86rem;
  margin-top: auto;
}

/* ---------- CTA ---------- */
.cta-band {
  padding: 1.5rem 0 5rem;
  background: var(--white);
}

.cta-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.35rem 2.75rem;
  border-radius: 24px;
  color: var(--white);
  background:
    radial-gradient(ellipse 45% 90% at 8% 30%, rgba(32, 66, 235, 0.4), transparent 70%),
    linear-gradient(135deg, #06070f 0%, #0b1a33 55%, #06070f 100%);
  box-shadow: 0 22px 55px rgba(0, 8, 24, 0.26);
  overflow: hidden;
  isolation: isolate;
}

.cta-panel-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(59, 189, 248, 0.5) 1px, transparent 1.6px);
  background-size: 24px 24px;
  opacity: 0.22;
  mask-image: linear-gradient(115deg, #000 0%, #000 35%, transparent 65%);
  -webkit-mask-image: linear-gradient(115deg, #000 0%, #000 35%, transparent 65%);
}

.cta-copy {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.cta-copy h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.25;
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta-copy p {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  max-width: 44ch;
  font-size: 0.92rem;
  line-height: 1.6;
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  flex-shrink: 0;
}

.cta-actions .btn-primary {
  box-shadow: 0 8px 28px rgba(0, 68, 240, 0.55);
}

.cta-actions .btn-outline-dark {
  border-color: rgba(255, 255, 255, 0.45);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #000818;
  color: rgba(255, 255, 255, 0.72);
  padding: 4.5rem 0 1.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 0.85fr)) 1.2fr;
  gap: 1.75rem 1.15rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  align-items: start;
}

.footer-brand .brand {
  margin-bottom: 0.15rem;
}

.footer-brand .brand-lockup {
  height: 42px;
  max-width: 260px;
  filter: drop-shadow(0 0 12px rgba(0, 163, 255, 0.4));
  animation: none;
}

.footer-brand .brand-logo {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 0 12px rgba(0, 163, 255, 0.45));
  animation: none;
}

.footer-brand > p {
  margin-top: 1.05rem;
  max-width: 32ch;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer h3 {
  color: var(--white);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.05rem;
  font-weight: 600;
}

.footer-contact-list {
  gap: 0.9rem;
}

.footer-contact-list a,
.footer-contact-list span {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  line-height: 1.45;
}

.footer-contact-list svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--sky);
}

.site-footer ul {
  display: grid;
  gap: 0.7rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--white);
}

.socials {
  display: flex;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
}

.socials a:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.socials svg {
  width: 14px;
  height: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.35rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.48);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  gap: 1.35rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-left {
  transform: translateX(-32px);
}

.reveal-right {
  transform: translateX(32px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay {
  transition-delay: 0.12s;
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
}

.reveal-stagger > *.is-visible {
  animation: reveal-rise 0.65s var(--ease) forwards;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes reveal-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Hero load-in ---------- */
.hero-fade-item {
  opacity: 0;
  transform: translateY(24px);
}

body.is-ready .hero-fade-item {
  animation: hero-rise 0.85s var(--ease) forwards;
}

body.is-ready .hero-copy .hero-fade-item:nth-child(1) {
  animation-delay: 0.15s;
}

body.is-ready .hero-copy .hero-fade-item:nth-child(2) {
  animation-delay: 0.3s;
}

body.is-ready .hero-copy .hero-fade-item:nth-child(3) {
  animation-delay: 0.45s;
}

body.is-ready .hero-copy .hero-fade-item:nth-child(4) {
  animation-delay: 0.6s;
}

body.is-ready .hero-copy .hero-fade-item:nth-child(5) {
  animation-delay: 0.75s;
}

body.is-ready .hero-visual.hero-fade-item {
  animation-delay: 0.5s;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

body.is-ready .site-header {
  animation: header-drop 0.7s var(--ease) both;
}

@keyframes header-drop {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.service-card:hover .service-icon {
  animation: icon-pop 0.55s var(--ease);
}

@keyframes icon-pop {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
  }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 10, 20, 0.9);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 2rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(960px, 100%);
  max-height: 78vh;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.lightbox-caption {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .stats-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 1rem;
    padding: 1.25rem 0.5rem;
  }

  .stat-item:nth-child(3n)::after {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .service-card h3 {
    font-size: 1rem;
  }

  .service-card p {
    font-size: 0.84rem;
  }

  .industries-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 1.5rem;
  }

  .industries-row li {
    flex: none;
  }

  .industries-row li:not(:last-child)::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-brand,
  .footer-contact {
    grid-column: span 4;
  }
}

@media (max-width: 960px) {
  :root {
    --hero-overlap: 1rem;
  }

  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
    order: 2;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    max-height: calc(100svh - var(--header-h));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(0, 8, 24, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 1.25rem 1.35rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s ease;
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link {
    padding: 0.85rem 0.5rem;
  }

  .nav-link.is-active {
    box-shadow: none;
    color: var(--sky);
  }

  .nav-item {
    display: block;
    width: 100%;
  }

  .nav-item .submenu,
  .nav-item:hover .submenu,
  .nav-item:focus-within .submenu {
    position: static;
    display: none;
    min-width: 0;
    box-shadow: none;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    margin: 0.1rem 0 0.4rem 0.5rem;
    padding: 0.15rem 0;
  }

  .nav-item.is-sub-open .submenu {
    display: grid;
  }

  .submenu a {
    color: rgba(255, 255, 255, 0.75);
  }

  .submenu a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
  }

  .hero-grid,
  .cases-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .services-head {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .services-head h2,
  .services-head .eyebrow,
  .services-view-all {
    grid-column: auto;
    justify-self: auto;
  }

  .services-view-all {
    margin-top: 0.85rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .services-marquee-set {
    grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr));
    gap: 1rem;
  }

  .service-card {
    padding: 1.35rem 1.2rem;
  }

  .service-card h3 {
    font-size: 1rem;
  }

  .service-card p {
    font-size: 0.86rem;
  }

  .hero {
    min-height: auto;
    padding-top: 3.25rem;
    padding-bottom: 4.5rem;
  }

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

  .hero-copy h1 {
    max-width: none;
  }

  .hero-visual {
    min-height: 320px;
    margin-top: 0.5rem;
    order: -1;
  }

  .hero-art {
    width: 100%;
    max-width: 520px;
    margin-right: 0;
  }

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

  .section-head.centered {
    align-items: center;
  }

  .tech-card {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 1rem 1.15rem;
  }

  .tech-label {
    max-width: none;
    margin-bottom: 0.15rem;
  }

  .tech-logos {
    gap: 1.75rem;
    padding-right: 1.75rem;
  }

  .mission-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 1.25rem;
  }

  .about-visual {
    padding: 0;
  }

  .about-copy h2 {
    max-width: none;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
  }
}

@media (max-width: 640px) {
  .case-card {
    grid-template-columns: 1fr;
  }

  .case-media {
    order: -1;
  }

  .case-media img {
    aspect-ratio: 16 / 10;
  }

  .stats-card,
  .industries-row,
  .footer-grid,
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-marquee-set {
    grid-template-columns: 1fr;
  }

  .industries-row {
    display: grid;
    row-gap: 1.25rem;
  }

  .industries-row li {
    flex: none;
  }

  .stat-item:nth-child(3n)::after {
    display: block;
  }

  .stat-item:nth-child(2n)::after {
    display: none;
  }

  .footer-brand,
  .footer-contact {
    grid-column: 1 / -1;
  }

  .hero-trust li {
    width: 100%;
  }

  .section {
    padding: 4rem 0;
  }
}

/* ---------- Contact page ---------- */
.contact-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + 3.5rem) 0 3.75rem;
  background: var(--navy);
  color: var(--white);
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.contact-hero-bg .hero-grid-pattern,
.contact-hero-bg .hero-mesh,
.contact-hero-bg .hero-node {
  position: absolute;
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.contact-brand {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
  line-height: 1.1;
}

.contact-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--white);
}

.contact-hero-lead {
  margin: 1.1rem 0 0;
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
  line-height: 1.65;
}

.contact-section {
  background:
    radial-gradient(ellipse 55% 40% at 100% 0%, rgba(32, 66, 235, 0.06), transparent 60%),
    linear-gradient(180deg, #eef2f8 0%, var(--off-white) 45%, #ffffff 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem 3.5rem;
  align-items: start;
}

.contact-aside .eyebrow {
  margin-bottom: 0.65rem;
}

.contact-aside h2 {
  color: var(--navy);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.contact-aside-copy {
  margin-top: 0.75rem;
  color: var(--slate);
  font-size: 0.95rem;
  max-width: 36ch;
}

.contact-channels {
  margin-top: 2rem;
  display: grid;
  gap: 0.35rem;
}

.contact-channels a,
.contact-channel-static {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.85rem 0.15rem;
  border-bottom: 1px solid rgba(11, 18, 32, 0.08);
  color: var(--navy);
  transition: color 0.2s ease;
}

.contact-channels a:hover {
  color: var(--blue);
}

.contact-channels a:last-child,
.contact-channels li:last-child .contact-channel-static {
  border-bottom: 0;
}

.contact-channel-icon {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(32, 66, 235, 0.08);
  color: var(--blue);
}

.contact-channel-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.contact-channels strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.15rem;
}

.contact-channels a span span,
.contact-channel-static span span {
  font-size: 0.98rem;
  font-weight: 500;
  color: inherit;
}

.contact-form-panel {
  background: var(--white);
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: 18px;
  padding: 1.75rem 1.65rem 1.85rem;
  box-shadow: 0 18px 48px rgba(0, 8, 24, 0.07);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.contact-form {
  display: grid;
  gap: 1.05rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.05rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(11, 18, 32, 0.14);
  border-radius: 10px;
  background: #fbfcfe;
  color: var(--navy);
  padding: 0.78rem 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 8rem;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: rgba(32, 66, 235, 0.35);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(32, 66, 235, 0.14);
}

.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.form-status {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
}

.form-status.is-success {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
}

.form-status.is-error {
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
}

.contact-submit {
  justify-self: start;
  margin-top: 0.25rem;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .contact-hero {
    padding: calc(var(--header-h) + 2.5rem) 0 2.75rem;
  }

  .contact-form-panel {
    padding: 1.35rem 1.15rem 1.45rem;
  }
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-brand {
    letter-spacing: 0.1em;
  }
}

/* ---------- Inner pages (services, about, legal) ---------- */
.page-service,
.page-services,
.page-about,
.page-legal {
  background: var(--off-white);
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + 3.25rem) 0 3.5rem;
  background: var(--navy);
  color: var(--white);
}

.page-hero-compact {
  padding: calc(var(--header-h) + 2.75rem) 0 2.75rem;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-hero-bg .hero-grid-pattern,
.page-hero-bg .hero-mesh,
.page-hero-bg .hero-node {
  position: absolute;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.page-brand {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
  line-height: 1.1;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumbs a:hover {
  color: var(--sky);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--white);
}

.page-hero-lead {
  margin: 1rem 0 0;
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
  line-height: 1.65;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.service-detail {
  background:
    radial-gradient(ellipse 55% 40% at 0% 0%, rgba(32, 66, 235, 0.06), transparent 60%),
    linear-gradient(180deg, #eef2f8 0%, var(--off-white) 50%, #ffffff 100%);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.75rem 3.25rem;
  align-items: start;
}

.service-detail-copy h2 {
  color: var(--navy);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.service-detail-copy > p {
  margin-top: 0.85rem;
  color: var(--slate);
  max-width: 48ch;
}

.service-detail-copy .check-list {
  margin: 1.5rem 0 1.75rem;
}

.service-aside-card {
  background: var(--white);
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: 18px;
  padding: 1.65rem 1.5rem;
  box-shadow: 0 18px 48px rgba(0, 8, 24, 0.07);
}

.service-aside-card .service-icon {
  margin-bottom: 1rem;
}

.service-aside-card h3 {
  margin: 0 0 0.85rem;
  color: var(--navy);
  font-size: 1.15rem;
}

.service-aside-card ul {
  display: grid;
  gap: 0.65rem;
}

.service-aside-card li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.5;
}

.service-aside-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--blue);
}

.service-process {
  background: var(--white);
}

.service-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.service-step {
  padding: 1.35rem 1.2rem;
  border-radius: 14px;
  background: var(--off-white);
  border: 1px solid rgba(11, 18, 32, 0.06);
}

.service-step-num {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
}

.service-step h3 {
  margin: 0 0 0.45rem;
  color: var(--navy);
  font-size: 1.05rem;
}

.service-step p {
  margin: 0;
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.55;
}

.service-related {
  background: linear-gradient(180deg, var(--off-white) 0%, #ffffff 100%);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.related-service {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.1rem;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(11, 18, 32, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease);
}

.related-service:hover {
  border-color: rgba(32, 66, 235, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.related-service .service-icon {
  flex-shrink: 0;
}

.related-service strong {
  display: block;
  color: var(--navy);
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
}

.related-service span span {
  display: block;
  color: var(--slate);
  font-size: 0.86rem;
  line-height: 1.5;
}

.about-page {
  background: linear-gradient(180deg, #eef2f8 0%, var(--off-white) 45%, #ffffff 100%);
}

.about-values {
  background: var(--white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.value-item {
  padding: 1.5rem 1.35rem;
  border-radius: 14px;
  background: var(--off-white);
  border: 1px solid rgba(11, 18, 32, 0.06);
}

.value-item h3 {
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-size: 1.1rem;
}

.value-item p {
  margin: 0;
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.55;
}

.legal-section {
  background: linear-gradient(180deg, #eef2f8 0%, var(--off-white) 40%, #ffffff 100%);
}

.legal-content {
  max-width: 44rem;
  color: var(--slate);
}

.legal-content h2 {
  margin: 2rem 0 0.65rem;
  color: var(--navy);
  font-size: 1.25rem;
}

.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-content ul {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  list-style: disc;
}

.legal-content a {
  color: var(--blue);
}

.legal-content a:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .service-detail-grid,
  .service-steps,
  .values-grid {
    grid-template-columns: 1fr;
  }

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

  .page-hero {
    padding: calc(var(--header-h) + 2.5rem) 0 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal-stagger > *,
  .hero-fade-item,
  .hero-art,
  .hero-glow,
  .hero-mesh,
  .hero-node,
  .brand-lockup,
  .brand-logo,
  .btn,
  .service-card,
  .service-icon,
  .case-card,
  .site-header,
  .related-service {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .reveal-stagger > *,
  .hero-fade-item {
    opacity: 1;
    transform: none;
  }
}
