/* ==========================================================================
   Eago Group — design tokens
   ========================================================================== */
:root {
  --wine: #6c0c31;
  --wine-strong: #540925;
  --wine-soft: #f8eef2;
  --accent-text: #6c0c31;

  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --surface: #ffffff;
  --ink: #0b0b0f;
  --text: #1d1d1f;
  --muted: #5c5c66;
  --line: rgba(0, 0, 0, 0.09);
  --line-strong: rgba(0, 0, 0, 0.16);
  --nav-bg: rgba(255, 255, 255, 0.72);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.04), 0 18px 40px -12px rgba(0, 0, 0, 0.12);

  --dark-bg: #0b0b0f;
  --dark-surface: #16161c;
  --dark-text: #f5f5f7;
  --dark-muted: #a6a6b0;
  --dark-line: rgba(255, 255, 255, 0.1);
  --dark-accent: #ff7aa6;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --container: 1200px;
  --gutter: clamp(16px, 5vw, 40px);
  --section: clamp(72px, 11vw, 140px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --wine-soft: #2a0f1a;
    --accent-text: #ff7aa6;
    --bg: #000000;
    --bg-alt: #0e0e12;
    --surface: #141419;
    --ink: #f5f5f7;
    --text: #f5f5f7;
    --muted: #a6a6b0;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.18);
    --nav-bg: rgba(10, 10, 14, 0.7);
    --shadow-sm: none;
    --shadow-md: 0 0 0 1px rgba(255, 255, 255, 0.06);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --wine-soft: #2a0f1a;
  --accent-text: #ff7aa6;
  --bg: #000000;
  --bg-alt: #0e0e12;
  --surface: #141419;
  --ink: #f5f5f7;
  --text: #f5f5f7;
  --muted: #a6a6b0;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --nav-bg: rgba(10, 10, 14, 0.7);
  --shadow-sm: none;
  --shadow-md: 0 0 0 1px rgba(255, 255, 255, 0.06);
  color-scheme: dark;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--wine); color: #fff; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: clamp(56px, 8vw, 96px); }

/* ==========================================================================
   Typography
   ========================================================================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.display {
  font-size: clamp(2.6rem, 7.2vw, 5.4rem);
  line-height: 1.02; letter-spacing: -0.035em; font-weight: 800;
}
.h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
.h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.08; letter-spacing: -0.028em; font-weight: 750; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; letter-spacing: -0.015em; font-weight: 700; }
.lead { font-size: clamp(1.125rem, 1.7vw, 1.375rem); line-height: 1.5; color: var(--muted); letter-spacing: -0.005em; }
.muted { color: var(--muted); }
.accent { color: var(--accent-text); }
.measure { max-width: 680px; }
.center { text-align: center; margin-inline: auto; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lead { margin-top: 20px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; letter-spacing: -0.005em; cursor: pointer;
  transition: transform 120ms var(--ease-out), background-color 200ms, color 200ms, border-color 200ms, box-shadow 200ms;
  touch-action: manipulation; white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--wine); color: #fff; }
.btn--primary:hover { background: var(--wine-strong); box-shadow: 0 8px 24px -8px rgba(108, 12, 49, 0.55); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: #0b0b0f; }
.btn--light:hover { background: #f0f0f2; }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.btn--outline-light:hover { border-color: #fff; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 0.9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent-text);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ==========================================================================
   Navigation — translucent material
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo { height: 30px; width: auto; }
/* Dark theme: reversed (white) logo, since wine on black lacks contrast */
:root[data-theme="dark"] .brand__logo { filter: brightness(0) invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand__logo { filter: brightness(0) invert(1); } }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  padding: 8px 14px; border-radius: 999px; font-size: 0.9375rem; font-weight: 500; color: var(--muted);
  transition: color 150ms, background-color 150ms;
}
.nav__links a:hover { color: var(--ink); background: var(--line); }
.nav__links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav__toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent;
  border-radius: 12px; cursor: pointer; position: relative;
}
.nav__toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform 250ms var(--ease-out), top 250ms var(--ease-out);
}
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 64px 0 0 0; z-index: 99; background: var(--bg);
  padding: 24px var(--gutter) 40px; overflow-y: auto;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: flex; align-items: center; min-height: 48px; padding: 10px 0;
  font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-menu nav a[aria-current="page"] { color: var(--accent-text); }
.mobile-menu .btn { margin-top: 24px; width: 100%; }
body.menu-open { overflow: hidden; }

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(56px, 8vw, 100px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero .display { font-size: clamp(2.6rem, 6vw, 4.75rem); }
.hero .lead { margin: 24px 0 36px; max-width: 560px; }
.hero__visual { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; justify-self: end; }
.hero__visual svg { width: 100%; height: 100%; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; max-width: 900px; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(108, 12, 49, 0.12), transparent 70%);
  pointer-events: none; z-index: -1;
}
.page-hero { padding-top: clamp(64px, 10vw, 128px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero .lead { margin-top: 24px; max-width: 720px; }

/* Circuit pulse animation */
.trace { fill: none; stroke: var(--line-strong); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trace--brand { stroke: var(--wine); opacity: 0.9; }
.pulse {
  fill: none; stroke: var(--wine); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 18 400; stroke-dashoffset: 418;
  animation: pulse 4.2s var(--ease-out) infinite;
}
:root[data-theme="dark"] .pulse, :root[data-theme="dark"] .trace--brand { stroke: var(--dark-accent); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pulse, :root:not([data-theme="light"]) .trace--brand { stroke: var(--dark-accent); }
}
.node { fill: var(--bg); stroke: var(--wine); stroke-width: 2.5; }
.chip { fill: #fff; stroke: var(--line-strong); stroke-width: 1.5; }
@keyframes pulse { to { stroke-dashoffset: 0; } }

/* Illustration helpers (inline SVG art) */
.a-dot { fill: var(--line-strong); }
.a-line { stroke: var(--line-strong); fill: none; }
.a-surface { fill: var(--surface); }
.a-bg { fill: var(--bg-alt); }
.a-ink { fill: var(--ink); }
.a-muted { fill: var(--muted); opacity: 0.35; }
.a-soft { fill: var(--wine-soft); }
.a-wine { fill: var(--wine); }
.a-wine-s { stroke: var(--wine); fill: none; }
.a-accent { fill: var(--accent-text); }
.a-accent-s { stroke: var(--accent-text); fill: none; }
.a-border { stroke: var(--line); }

/* ==========================================================================
   Facts strip
   ========================================================================== */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 32px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact__value { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.fact__label { margin-top: 8px; font-size: 0.9375rem; color: var(--muted); line-height: 1.4; }

/* ==========================================================================
   Cards / bento
   ========================================================================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px); box-shadow: var(--shadow-sm);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), border-color 300ms;
}
.section--alt .card { border-color: transparent; }
a.card:hover, .card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
a.card:active { transform: translateY(-2px) scale(0.99); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--wine-soft); color: var(--accent-text); margin-bottom: 28px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); }
.card .link-arrow { margin-top: auto; padding-top: 12px; }
.card__tag { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.card ul { list-style: none; padding: 0; margin: 4px 0 24px; display: grid; gap: 10px; }
.card li { display: flex; gap: 10px; color: var(--text); font-size: 0.975rem; line-height: 1.45; }
.card li::before {
  content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.55em; border-radius: 50%; background: var(--wine);
}

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento > :nth-child(1) { grid-column: span 3; }
.bento > :nth-child(2) { grid-column: span 3; }
.bento > :nth-child(3) { grid-column: span 6; }
.bento .card--feature { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.card__art { border-radius: var(--radius); background: var(--bg-alt); aspect-ratio: 16 / 10; overflow: hidden; display: grid; place-items: center; }
.section--alt .card__art { background: var(--bg-alt); }
.card__art svg { width: 100%; height: 100%; }

/* ==========================================================================
   Problem / statement
   ========================================================================== */
.statement { font-size: clamp(1.75rem, 3.8vw, 3rem); line-height: 1.18; letter-spacing: -0.025em; font-weight: 700; color: var(--ink); max-width: 980px; }
.statement .dim { color: var(--muted); }

/* ==========================================================================
   Steps (flywheel)
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 28px 28px 0 0; border-top: 2px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 0.875rem; font-weight: 700; color: var(--accent-text); margin-bottom: 18px; font-variant-numeric: tabular-nums;
}
.step::after { content: ""; position: absolute; top: -2px; left: 0; width: 40px; height: 2px; background: var(--wine); }
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.975rem; }

/* ==========================================================================
   Sectors
   ========================================================================== */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sector {
  display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); font-weight: 600; color: var(--ink);
}
.sector svg { width: 24px; height: 24px; color: var(--accent-text); flex: none; }

/* ==========================================================================
   Dark band
   ========================================================================== */
.dark { background: var(--dark-bg); color: var(--dark-text); }
.dark h2, .dark h3 { color: #fff; }
.dark .lead, .dark .muted, .dark p { color: var(--dark-muted); }
.dark .eyebrow { color: var(--dark-accent); }
.dark .card { background: var(--dark-surface); border-color: var(--dark-line); box-shadow: none; }
.dark .card p { color: var(--dark-muted); }
.dark .card li { color: var(--dark-text); }
.dark .card li::before { background: var(--dark-accent); }
.dark .card__icon { background: rgba(255, 122, 166, 0.12); color: var(--dark-accent); }
.dark .card__tag { color: var(--dark-muted); }
.dark .link-arrow { color: var(--dark-accent); }
.h2 + .lead { margin-top: 20px; }
.dark-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #6c0c31 0%, #3d0619 100%); color: #fff;
  padding: clamp(40px, 7vw, 88px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.78); margin: 18px 0 0; font-size: 1.125rem; }
.cta .btn-row { justify-content: flex-end; }
.cta__mark { position: absolute; right: -30px; bottom: -50px; width: 340px; height: auto; opacity: 0.1; filter: brightness(0) invert(1); pointer-events: none; }

/* ==========================================================================
   Split / prose
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split--center { align-items: center; }
.prose p { color: var(--muted); font-size: 1.125rem; line-height: 1.7; }
.prose p strong { color: var(--ink); font-weight: 600; }

.pillars { display: grid; gap: 0; }
.pillar { padding: 28px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 140px 1fr; gap: 24px; }
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar h3 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-text); padding-top: 6px; }
.pillar p { margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.45; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline__year { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.timeline h3 { font-size: 1.15rem; margin-bottom: 6px; }
.timeline p { margin: 0; color: var(--muted); }

/* ==========================================================================
   Detail rows (solutions)
   ========================================================================== */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.detail + .detail { margin-top: clamp(80px, 10vw, 140px); }
.detail--flip .detail__media { order: -1; }
.detail__media { border-radius: var(--radius-lg); background: var(--bg-alt); aspect-ratio: 5 / 4; overflow: hidden; display: grid; place-items: center; }
.section--alt .detail__media { background: var(--surface); }
.detail__media svg { width: 100%; height: 100%; }
.checklist { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); line-height: 1.4; }
.checklist svg { flex: none; width: 20px; height: 20px; color: var(--accent-text); margin-top: 1px; }
.dark .checklist li { color: var(--dark-text); }
.dark .checklist svg { color: var(--dark-accent); }

/* ==========================================================================
   Model table (partner)
   ========================================================================== */
.model { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.model__col { padding: clamp(28px, 3vw, 40px); border-left: 1px solid var(--line); }
.model__col:first-child { border-left: 0; }
.model__col h3 { margin: 8px 0 12px; }
.model__col p { color: var(--muted); margin: 0 0 20px; }
.model__kv { display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.model__kv div { display: flex; justify-content: space-between; gap: 16px; }
.model__kv dt { color: var(--muted); }
.model__kv dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-md); }
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--accent-text); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px;
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font-size: 1rem;
  transition: border-color 150ms, box-shadow 150ms;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--wine); box-shadow: 0 0 0 4px rgba(108, 12, 49, 0.14);
}
.field[data-invalid] input, .field[data-invalid] select, .field[data-invalid] textarea { border-color: #c62828; }
.field__error { font-size: 0.875rem; color: #c62828; min-height: 0; }
.form__note { font-size: 0.875rem; color: var(--muted); margin: 0; }
.form__status { padding: 14px 16px; border-radius: 14px; font-weight: 500; font-size: 0.975rem; }
.form__status[data-type="success"] { background: #e8f5ec; color: #1b5e20; }
.form__status[data-type="error"] { background: #fdecea; color: #8e1c1c; }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 0; }
.contact-list li { display: flex; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list svg { flex: none; width: 22px; height: 22px; color: var(--accent-text); margin-top: 2px; }
.contact-list strong { display: block; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.contact-list a, .contact-list span { color: var(--ink); font-weight: 500; font-size: 1.0625rem; }
.contact-list a:hover { color: var(--accent-text); }
.map { margin-top: clamp(56px, 8vw, 96px); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21 / 8; background: var(--bg-alt); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ==========================================================================
   Tracks (Eagobotics)
   ========================================================================== */
.track__level { display: inline-flex; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--wine-soft); color: var(--accent-text); font-size: 0.8125rem; font-weight: 600; margin-bottom: 20px; }
.dark .track__level { background: rgba(255, 122, 166, 0.12); color: var(--dark-accent); }
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--bg-alt); padding: clamp(56px, 8vw, 96px) 0 32px; font-size: 0.9375rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer p { color: var(--muted); max-width: 320px; margin-top: 16px; }
.footer h2 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a, .footer ul span { color: var(--muted); }
.footer ul a:hover { color: var(--ink); }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; color: var(--muted); }
.social { display: flex; gap: 8px; margin-top: 20px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); color: var(--muted); transition: color 150ms, border-color 150ms; }
.social a:hover { color: var(--ink); border-color: var(--line-strong); }
.social svg { width: 18px; height: 18px; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .pulse { display: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .grid-4, .formats { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero__grid, .split, .dark-split, .detail, .cta, .bento .card--feature { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; max-width: 380px; }
  .detail--flip .detail__media { order: 0; }
  .grid-3, .model { grid-template-columns: 1fr; }
  .model__col { border-left: 0; border-top: 1px solid var(--line); }
  .model__col:first-child { border-top: 0; }
  .bento > :nth-child(n) { grid-column: span 6; }
  .cta .btn-row { justify-content: flex-start; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .map { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid-2, .grid-4, .formats, .form__row, .checklist { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .fact { padding: 24px 16px; }
  .fact:nth-child(odd) { padding-left: 0; }
  .pillar, .timeline li { grid-template-columns: 1fr; gap: 8px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .btn-row .btn { flex: 1 1 100%; }
  .sector { padding: 16px; font-size: 0.9375rem; }
}
