:root {
  --bg: #070b16;
  --bg-2: #0b1120;
  --panel: #0f1626;
  --panel-2: #131c30;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #f4f7ff;
  --muted: #9aa7c2;
  --muted-soft: #6f7d99;
  --blue: #2f6bff;
  --blue-bright: #5b8cff;
  --blue-glow: rgba(47, 107, 255, 0.55);
  --gold: #ffd23f;
  --gold-soft: rgba(255, 210, 63, 0.16);
  --radius: 20px;
  --radius-lg: 28px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

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;
}

/* Ambient page glow that follows the cursor */
.page-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      600px circle at var(--mx, 50%) var(--my, 0%),
      rgba(47, 107, 255, 0.12),
      transparent 60%
    );
  transition: background 0.2s ease;
}

main,
.site-header,
.footer {
  position: relative;
  z-index: 1;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
}

.site-header.scrolled {
  background: rgba(7, 11, 22, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  width: 22px;
  height: 22px;
}

.brand-mark span {
  border-radius: 3px;
  background: var(--blue);
}

.brand-mark span:nth-child(2) {
  background: var(--gold);
}
.brand-mark span:nth-child(3) {
  background: var(--gold);
}
.brand-mark span:nth-child(4) {
  background: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:not(.nav-cta) {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--blue-bright);
  transition: width 0.25s var(--ease);
}

.nav-links a:not(.nav-cta):hover {
  color: var(--ink);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #0a1020;
  font-weight: 700;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.18);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--panel);
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle-bar {
  top: 50%;
  translate: 0 -50%;
}
.nav-toggle-bar::before {
  top: -6px;
}
.nav-toggle-bar::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  top: 0;
  transform: translateX(-50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  top: 0;
  transform: translateX(-50%) rotate(-45deg);
}

/* ---------- Layout helpers ---------- */
.hero-inner,
.section,
.marquee,
.footer-inner,
.footer-bottom {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--blue-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(255, 210, 63, 0.6);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 210, 63, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 210, 63, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 210, 63, 0);
  }
}

.section-heading {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-heading h2,
.split h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: -2px;
  z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 25%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 25%, #000 0%, transparent 72%);
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  width: 900px;
  height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--blue-glow), transparent 62%);
  opacity: 0.5;
  filter: blur(20px);
  z-index: 0;
  animation: floatGlow 12s ease-in-out infinite alternate;
}

@keyframes floatGlow {
  from {
    transform: translateX(-54%) translateY(0);
  }
  to {
    transform: translateX(-46%) translateY(34px);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  max-width: 16ch;
  margin: 6px auto 22px;
  font-size: clamp(2.9rem, 8vw, 6.2rem);
  font-weight: 700;
}

.grad-text {
  background: linear-gradient(100deg, var(--blue-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 64px 0 0;
  padding: 0;
  width: 100%;
}

.hero-stats div {
  flex: 1 1 200px;
  max-width: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), rgba(15, 22, 38, 0.4));
}

.hero-stats dt {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease);
}

.button.primary {
  color: #fff;
  background: linear-gradient(120deg, var(--blue), var(--blue-bright));
  box-shadow: 0 14px 34px rgba(47, 107, 255, 0.4);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(47, 107, 255, 0.55);
}

.button.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}

.button-arrow {
  transition: transform 0.2s var(--ease);
}

.button:hover .button-arrow {
  transform: translateX(4px);
}

/* ---------- Marquee ---------- */
.marquee {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-2);
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--muted-soft);
  animation: scrollX 28s linear infinite;
}

.marquee-track .dot {
  color: var(--blue);
}

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

/* ---------- Pillars ---------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line);
}

.pillar {
  padding: 36px;
  background: var(--bg);
  transition: background 0.3s var(--ease);
}

.pillar:hover {
  background: var(--panel);
}

.pillar-index {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.pillar h3 {
  margin: 16px 0 10px;
  font-size: 1.4rem;
}

.pillar p {
  color: var(--muted);
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-step {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.process-step::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(180deg, var(--blue-bright), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.process-step:hover {
  transform: translateY(-6px);
}

.process-step:hover::before {
  opacity: 1;
}

.process-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-bright);
}

.process-step h3 {
  margin: 14px 0 10px;
  font-size: 1.35rem;
}

.process-step p {
  color: var(--muted);
  font-size: 0.97rem;
}

/* ---------- Cards / services ---------- */
.cards {
  display: grid;
  gap: 22px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}

.service-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.service-card.featured {
  border-color: rgba(47, 107, 255, 0.45);
  background: linear-gradient(180deg, #15203a, #0d1424);
  box-shadow: 0 30px 80px rgba(47, 107, 255, 0.22);
}

.badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: #1a1300;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 6px;
}

.price-unit {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.service-card h3 {
  font-size: 1.45rem;
  margin-bottom: 14px;
}

.service-lede {
  color: var(--muted);
  font-size: 0.98rem;
}

.service-card ul {
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.service-card li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  font-size: 0.96rem;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--blue-bright);
  border-bottom: 2px solid var(--blue-bright);
  transform: rotate(-45deg);
}

.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--blue-bright);
}

.card-link span {
  transition: transform 0.2s var(--ease);
}

.card-link:hover span {
  transform: translateX(4px);
}

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: start;
}

.who-lede,
.contact-lede {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.use-cases {
  display: grid;
  gap: 16px;
}

.use-case {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.use-case:hover {
  transform: translateX(6px);
  border-color: var(--line-strong);
}

.use-case h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--gold);
}

.use-case p {
  color: var(--muted);
}

/* ---------- Guide ---------- */
.guide-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  min-height: 240px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.guide-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.guide-tag {
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.guide-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.guide-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.faq-item[open] {
  border-color: var(--line-strong);
  background: var(--panel-2);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--blue-bright);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.faq-item[open] summary::after {
  content: "+";
  transform: rotate(45deg);
  background: rgba(47, 107, 255, 0.15);
}

.faq-item p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact-note {
  margin-top: 26px;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 16px;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-note strong {
  color: var(--ink);
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: var(--muted-soft);
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.25);
}

.inquiry-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.inquiry-form textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: var(--gold);
  font-size: 0.92rem;
}

.field-error input,
.field-error select,
.field-error textarea {
  border-color: #ff6b6b;
}

/* Honeypot: hidden from people, visible to naive bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.inquiry-form[hidden],
.form-success[hidden] {
  display: none;
}

.inquiry-form.is-sending {
  opacity: 0.85;
}

.button[disabled] {
  opacity: 0.6;
  cursor: progress;
  pointer-events: none;
}

/* ---------- Success screen ---------- */
.form-success {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    160deg,
    rgba(91, 140, 255, 0.08),
    rgba(255, 255, 255, 0.02)
  );
  outline: none;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #0a0e1a;
  background: linear-gradient(120deg, var(--blue-bright), var(--gold));
}

.form-success h3 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--ink);
}

.form-success p {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
}

.success-direct {
  margin-top: 6px;
  color: var(--ink);
  font-weight: 600;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  background: var(--bg-2);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.footer-brand-text p {
  margin: 0;
}

.footer-parent {
  margin-top: 2px;
  font-family: Inter, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.footer-parent a {
  color: var(--blue-bright);
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-parent a:hover {
  color: var(--ink);
}

.footer-tagline {
  max-width: 44ch;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 22px;
  color: var(--muted-soft);
  font-size: 0.85rem;
}

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

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Stagger children within a grid */
.process-grid .reveal:nth-child(2),
.cards .reveal:nth-child(2),
.use-cases .reveal:nth-child(2),
.pillar-grid .reveal:nth-child(2) {
  transition-delay: 0.08s;
}
.process-grid .reveal:nth-child(3),
.cards .reveal:nth-child(3),
.use-cases .reveal:nth-child(3),
.pillar-grid .reveal:nth-child(3) {
  transition-delay: 0.16s;
}
.process-grid .reveal:nth-child(4),
.cards .reveal:nth-child(4) {
  transition-delay: 0.24s;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .process-grid,
  .cards.four {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards.three {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(11, 17, 32, 0.96);
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }

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

  .nav-links a {
    padding: 13px 14px;
  }

  .nav-links a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    text-align: center;
    margin-top: 4px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 30px 0 60px;
  }

  .process-grid,
  .cards.four {
    grid-template-columns: 1fr;
  }

  .inquiry-form {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
