/* VerdictIQ — Style System */

:root, [data-theme="dark"] {
  --bg: #0a0d12;
  --surface: #10141a;
  --surface-raised: #161b24;
  --text: #d0d8e4;
  --text-dim: #7e8da0;
  --text-bright: #eef2f7;
  --accent: #299DF0;
  --accent-light: #38E2FF;
  --accent-muted: rgba(41,157,240,0.15);
  --border: rgba(255,255,255,0.08);
  --border-accent: rgba(41,157,240,0.2);
  --success: #34c77b;
  --error: #e05252;
  --verdict-fill: #c0c6e8;
  --divider-fill: #2B2855;
  --subtitle-fill: #76B3EA;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --nav-height: 72px;
  --container: 1200px;
  --container-narrow: 800px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --bg: #f0f2f5;
  --surface: #fff;
  --surface-raised: #f6f7fa;
  --text: #1a2a3a;
  --text-dim: #5a6878;
  --text-bright: #0c1824;
  --accent: #1565c0;
  --accent-light: #1e88e5;
  --accent-muted: rgba(21,101,192,0.1);
  --border: rgba(0,0,0,0.08);
  --border-accent: rgba(21,101,192,0.15);
  --success: #1a8e50;
  --error: #c0392b;
  --verdict-fill: #222451;
  --divider-fill: #c0c8d8;
  --subtitle-fill: #4a7aaa;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; }

/* Focus */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Typography */
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.35;
  color: var(--text-bright);
  max-width: 42ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.9rem 2rem;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  min-height: 44px;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-light); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--lg { padding: 1rem 2.5rem; font-size: 0.92rem; }

/* ── Nav ── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav--scrolled {
  border-bottom-color: var(--border);
  background: color-mix(in srgb, var(--bg) 95%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__brand .fp-mark { height: 32px; width: auto; flex-shrink: 0; }
.nav__brand .logo-text { height: 22px; width: auto; color: var(--text-bright); flex-shrink: 0; }

.nav__right { display: flex; align-items: center; gap: clamp(0.75rem, 2vw, 1.5rem); }
.nav__links { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 2rem); }

.nav__link {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.15s;
  padding: 0.5rem 0;
}
.nav__link:hover, .nav__link--active { color: var(--text-bright); }
.nav__link--active { border-bottom: 1.5px solid var(--accent); padding-bottom: calc(0.5rem - 1.5px); }

.nav__cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--accent);
  border-radius: 3px;
  transition: background 0.15s, color 0.15s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav__cta:hover { background: var(--accent); color: #fff; }

.theme-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--text-dim);
  transition: color 0.15s;
}
.theme-toggle:hover { color: var(--text-bright); }
.theme-toggle__icon { width: 16px; height: 16px; }
.theme-toggle__icon--light { display: none; }
[data-theme="light"] .theme-toggle__icon--dark { display: none; }
[data-theme="light"] .theme-toggle__icon--light { display: block; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; min-height: 44px; min-width: 44px; justify-content: center; align-items: center; }
.nav__toggle span { display: block; width: 20px; height: 1.5px; background: var(--text); transition: transform 0.2s; }

/* ── Hero ── */

.hero {
  padding-top: calc(var(--nav-height) + clamp(2rem, 4vw, 3rem));
  padding-bottom: clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: 50%; right: 20%;
  width: 600px; height: 600px;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(41,157,240,0.08) 0%, transparent 65%);
  pointer-events: none;
}
[data-theme="light"] .hero::before {
  background: radial-gradient(circle, rgba(21,101,192,0.1) 0%, transparent 65%);
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  min-height: calc(100vh - var(--nav-height) - 4rem);
}

.hero__content {
  position: relative;
  z-index: 1;
  animation: hero-enter 0.8s var(--ease-out) both;
}

.hero__logo {
  min-width: 0;
  position: relative;
  z-index: 1;
  animation: hero-enter 1s var(--ease-out) 0.2s both;
}
.hero__logo .logo-component { width: 100%; }
.hero__logo .logo-component .scene { width: 100%; }
.hero__logo .logo-component .callout { font-size: clamp(7px, 0.9vw, 11px); width: clamp(110px, 16vw, 200px); padding: clamp(5px, 0.8vw, 10px) clamp(6px, 1vw, 12px); }

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.08;
  color: var(--text-bright);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero__title em { font-style: italic; color: var(--accent); }

.hero__desc {
  font-size: clamp(0.92rem, 1.05vw, 1.05rem);
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 48ch;
  margin-bottom: 2.5rem;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Ticker ── */

.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--surface);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker__track {
  display: inline-flex;
  animation: tickerScroll 40s linear infinite;
  will-change: transform;
}
.ticker__track span {
  flex-shrink: 0;
  padding: 0 clamp(1rem, 1.8vw, 1.8rem);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: clamp(0.8rem, 1.5vw, 1.5rem);
}
.ticker__track span::after {
  content: '';
  display: inline-block;
  height: 12px;
  background: linear-gradient(180deg, #38E2FF, #299DF0, #121DAA);
  border-radius: 1px;
  opacity: 0.5;
  flex-shrink: 0;
}
[data-theme="light"] .ticker__track span::after {
  background: linear-gradient(180deg, #1e88e5, #1565c0, #0d47a1);
}
/* 1 line, 2 lines, 3 lines, 4 lines — cycling */
.ticker__track span:nth-child(4n+1)::after { width: 2px; }
.ticker__track span:nth-child(4n+2)::after { width: 7px; background: repeating-linear-gradient(90deg, #38E2FF 0px, #299DF0 2px, transparent 2px, transparent 5px, #121DAA 5px, #299DF0 7px); }
.ticker__track span:nth-child(4n+3)::after { width: 12px; background: repeating-linear-gradient(90deg, #38E2FF 0px, #299DF0 2px, transparent 2px, transparent 5px, #299DF0 5px, #1565c0 7px, transparent 7px, transparent 10px, #121DAA 10px, #121DAA 12px); }
.ticker__track span:nth-child(4n)::after { width: 17px; background: repeating-linear-gradient(90deg, #38E2FF 0px, #38E2FF 2px, transparent 2px, transparent 5px); }
[data-theme="light"] .ticker__track span:nth-child(4n+2)::after,
[data-theme="light"] .ticker__track span:nth-child(4n+3)::after,
[data-theme="light"] .ticker__track span:nth-child(4n)::after { background: repeating-linear-gradient(90deg, #1565c0 0px, #1565c0 2px, transparent 2px, transparent 5px); }

@keyframes tickerScroll { to { transform: translateX(-50%); } }

/* ── Metrics ── */

.metrics {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: clamp(2.5rem, 4vw, 4rem) 0;
}

.metrics__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
}

.metric { text-align: left; }

.metric__val, .metric__val--text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--text-bright);
  line-height: 1.1;
  display: inline;
}
.metric__unit {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--accent);
}
.metric__val--text {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-style: italic;
  color: var(--accent);
  display: block;
}
.metric__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* ── Services ── */

.services { padding: clamp(3rem, 7vw, 6rem) 0; }

.services__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.services__head {
  margin-bottom: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.services__head::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 1.2s var(--ease-out);
}
.services__head.visible::after { width: 120px; }

.svc-stack { display: flex; flex-direction: column; }

.svc {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.svc:last-child { border-bottom: 1px solid var(--border); }

.svc__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-dim);
  opacity: 0.5;
  display: block;
  margin-bottom: 0.4rem;
}

.svc__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  color: var(--text-bright);
}

.svc__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 2rem;
}
.svc__details li {
  font-size: 0.88rem;
  color: var(--text-dim);
  padding-left: 1rem;
  position: relative;
  line-height: 1.6;
}
.svc__details li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65em;
  width: 4px; height: 1px;
  background: var(--accent);
}

.svc--highlight {
  background: var(--surface-raised);
  margin: 0 -1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  border-radius: 3px;
  border-top-color: var(--border-accent);
}
.svc--highlight .svc__title { color: var(--accent); }

/* ── Differentiator ── */

.diff {
  padding: clamp(3rem, 7vw, 6rem) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.diff__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.diff__content {
  max-width: 55ch;
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid transparent;
  transition: border-left-color 0.6s 0.3s ease;
}
.diff__content.visible { border-left-color: var(--accent); }

.diff__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  color: var(--text-bright);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.diff__text {
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
}

/* ── CTA Band ── */

.cta-band {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--accent-muted);
  border-top: 1px solid var(--border-accent);
  border-bottom: 1px solid var(--border-accent);
}

.cta-band__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--text-bright);
  letter-spacing: -0.01em;
}

/* ── Contact Page ── */

.contact-hero {
  padding-top: calc(var(--nav-height) + clamp(2rem, 5vw, 4rem));
  padding-bottom: 2rem;
}

.contact-hero__inner {
  max-width: 50ch;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.contact-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  color: var(--text-bright);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.contact-hero__desc {
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  line-height: 1.75;
  color: var(--text-dim);
}

.contact-form-section { padding-bottom: clamp(3rem, 6vw, 5rem); }

.contact-form-section__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 3px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group { margin-bottom: 1.5rem; }
.form-group--check { margin-top: 0.5rem; }

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.req { color: var(--accent); }

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.92rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-muted);
}
.form-input.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(224,82,82,0.1);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237e8da0' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  appearance: none;
}
.form-textarea { resize: vertical; min-height: 120px; }

.form-check { display: flex; gap: 0.75rem; cursor: pointer; align-items: flex-start; }
.form-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-check__text { font-size: 0.78rem; line-height: 1.6; color: var(--text-dim); }

.form-message { margin-top: 1rem; font-size: 0.88rem; line-height: 1.6; display: none; border-radius: 3px; }
.form-message--success { display: block; color: var(--success); padding: 1rem; background: rgba(52,199,123,0.08); border-left: 3px solid var(--success); }
.form-message--error { display: block; color: var(--error); padding: 1rem; background: rgba(224,82,82,0.08); border-left: 3px solid var(--error); }

.contact-aside { padding-top: 1rem; }
.contact-aside__block { margin-bottom: 2.5rem; }
.contact-aside__heading { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.4rem; }
.contact-aside__link { font-size: 0.95rem; color: var(--accent); font-weight: 500; transition: color 0.15s; }
.contact-aside__link:hover { color: var(--accent-light); }
.contact-aside__text { font-size: 0.9rem; color: var(--text-dim); line-height: 1.6; }

/* ── Privacy ── */

.privacy { padding-top: calc(var(--nav-height) + clamp(2rem, 5vw, 4rem)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.privacy__inner { max-width: var(--container-narrow); margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 3rem); }
.privacy__title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: var(--text-bright); margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.privacy__updated { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 3rem; }
.privacy__content h2 { font-family: var(--font-display); font-size: 1.3rem; color: var(--text-bright); margin-top: 2.5rem; margin-bottom: 0.75rem; }
.privacy__content p { color: var(--text-dim); margin-bottom: 0.75rem; line-height: 1.8; }
.privacy__content ul { margin-bottom: 0.75rem; padding-left: 1.5rem; }
.privacy__content li { color: var(--text-dim); line-height: 1.8; list-style: disc; }
.privacy__content a { color: var(--accent); transition: color 0.15s; }
.privacy__content a:hover { color: var(--accent-light); }

/* ── Footer ── */

.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
}

.footer__inner { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 3rem); }

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.footer__logo-link { display: inline-flex; align-items: center; gap: 6px; }
.footer__logo-link .fp-mark { height: 28px; width: auto; }
.footer__logo-link .logo-text { height: 18px; width: auto; color: var(--text-bright); }
.footer__tagline { font-size: 0.88rem; color: var(--text-dim); margin-top: 0.75rem; line-height: 1.6; }
.footer__heading { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.75rem; }
.footer__link { display: block; font-size: 0.88rem; color: var(--text-dim); margin-bottom: 0.5rem; transition: color 0.15s; }
.footer__link:hover { color: var(--text-bright); }
.footer__bottom { padding-top: 2rem; }
.footer__bottom p { font-size: 0.78rem; color: var(--text-dim); opacity: 0.5; }

/* ── Reusable Components ── */

.fp-mark { display: block; }
.fp-mark--sm { height: 20px; width: auto; }
.fp-mark--md { height: 32px; width: auto; }
.fp-mark--lg { height: 48px; width: auto; }
.fp-mark--watermark { opacity: 0.08; position: absolute; height: 80px; width: auto; pointer-events: none; }

.logo-text { display: block; }

/* ── Animations ── */

.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

.slide-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.slide-left.visible { opacity: 1; transform: translateX(0); }

.slide-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.slide-right.visible { opacity: 1; transform: translateX(0); }

.svc.visible .svc__details li {
  opacity: 0;
  animation: stagger-in 0.4s var(--ease-out) forwards;
}
.svc.visible .svc__details li:nth-child(1) { animation-delay: 0.05s; }
.svc.visible .svc__details li:nth-child(2) { animation-delay: 0.1s; }
.svc.visible .svc__details li:nth-child(3) { animation-delay: 0.15s; }
.svc.visible .svc__details li:nth-child(4) { animation-delay: 0.2s; }
.svc.visible .svc__details li:nth-child(5) { animation-delay: 0.25s; }

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

.metric { opacity: 0; transform: translateY(16px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.metrics.in-view .metric { opacity: 1; transform: translateY(0); }
.metrics.in-view .metric:nth-child(1) { transition-delay: 0s; }
.metrics.in-view .metric:nth-child(2) { transition-delay: 0.1s; }
.metrics.in-view .metric:nth-child(3) { transition-delay: 0.15s; }
.metrics.in-view .metric:nth-child(4) { transition-delay: 0.2s; }

/* ── Responsive ── */

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; min-height: auto; }
  .hero__logo { order: -1; max-width: 500px; margin: 0 auto; }
  .hero__content { text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__desc { margin-left: auto; margin-right: auto; }

  .metrics__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .svc { grid-template-columns: 1fr; gap: 1rem; }
  .svc__details { grid-template-columns: 1fr; }

  .contact-form-section__inner { grid-template-columns: 1fr; }
  .contact-form__row { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr; gap: 2rem; }

  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .nav__links {
    position: fixed;
    top: var(--nav-height); left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem clamp(1.5rem, 4vw, 3rem);
    gap: 0.75rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    align-items: flex-start;
  }
  .nav__links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__toggle { display: flex; }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg) translate(2px, 3px); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg) translate(2px, -3px); }

  .metrics__inner { grid-template-columns: 1fr 1fr; }
  .hero__title { font-size: clamp(2rem, 8vw, 3rem); }
  .contact-hero__inner { max-width: 100%; }
}
