/* ============================================================
   Nouvel — Strategy, Innovation & Disruption
   Design system: colors, type, spacing, motion.
   ============================================================ */

:root {
  /* Palette (light) */
  --surface-100: #FDFDF9;
  --surface-200: #F5F4EC;
  --surface-inv: #0C1F40;
  --ink: #0C1F40;
  --ink-70: rgba(12, 31, 64, 0.70);
  --ink-40: rgba(12, 31, 64, 0.40);
  --ink-12: rgba(12, 31, 64, 0.12);
  --ink-06: rgba(12, 31, 64, 0.06);
  --accent-amber: #FDC200;
  --accent-mint: #3EB49C;
  --slate: #4B5563;
  --slate-light: #9CA3AF;
  --danger: #C0392B;
  --success: #2E7D5B;

  /* Type */
  --font-display: "Nexa", "Playfair Display", "Century Gothic", "Poppins", sans-serif;
  --font-editorial: "Playfair Display", "Georgia", serif;
  --font-sans: "Poppins", "Century Gothic", system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
  --space-7: 128px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  /* Layout */
  --wrap-max: 1200px;
  --header-h: 72px;

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 160ms;
  --dur-med: 320ms;
  --dur-slow: 560ms;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface-100: #0C1F40;
    --surface-200: #14294F;
    --surface-inv: #FDFDF9;
    --ink: #FDFDF9;
    --ink-70: rgba(253, 253, 249, 0.70);
    --ink-40: rgba(253, 253, 249, 0.40);
    --ink-12: rgba(253, 253, 249, 0.12);
    --ink-06: rgba(253, 253, 249, 0.06);
    --accent-amber: #FFD43B;
    --accent-mint: #4DD9BC;
    --slate: #C7CDD6;
    --slate-light: #98A1AF;
  }
}
:root[data-theme="dark"] {
  --surface-100: #0C1F40;
  --surface-200: #14294F;
  --surface-inv: #FDFDF9;
  --ink: #FDFDF9;
  --ink-70: rgba(253, 253, 249, 0.70);
  --ink-40: rgba(253, 253, 249, 0.40);
  --ink-12: rgba(253, 253, 249, 0.12);
  --ink-06: rgba(253, 253, 249, 0.06);
  --accent-amber: #FFD43B;
  --accent-mint: #4DD9BC;
  --slate: #C7CDD6;
  --slate-light: #98A1AF;
}

/* Fonts */
@font-face {
  font-family: "Nexa";
  src: url("/fonts/Nexa-Heavy.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nexa";
  src: url("/fonts/Nexa-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

/* Reset-ish */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--surface-100);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }
input, textarea, select, button { font-family: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible {
  outline: 3px solid var(--accent-amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--surface-100);
  padding: 12px 20px;
  z-index: 100;
  border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { left: 0; }

.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  margin: 0 0 var(--space-2);
  color: var(--ink);
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(44px, 6.5vw, 84px); line-height: 1.03; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.07; }
h3 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.25; font-weight: 700; font-family: var(--font-sans); letter-spacing: 0; }
h4 { font-size: 18px; line-height: 1.3; font-weight: 700; font-family: var(--font-sans); }

.h1-alt { font-family: var(--font-editorial); font-weight: 400; font-style: normal; color: var(--ink); letter-spacing: -0.01em; }

p { color: var(--slate); margin: 0 0 var(--space-2); }

.editorial {
  font-family: var(--font-editorial);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.editorial em { font-style: normal; color: var(--accent-mint); font-family: inherit; }
.editorial .line { display: block; }
.editorial .line + .line { margin-top: 0.45em; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 200;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--slate);
  margin: 0 0 var(--space-2);
}
.eyebrow-mint { color: var(--accent-mint); }

.section-head { max-width: 720px; margin: 0 auto var(--space-4); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head .section-lede { font-size: 18px; color: var(--slate); margin-top: var(--space-2); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -12px var(--ink-40); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; box-shadow: none; }
.btn-amber { background: var(--accent-amber); color: #0C1F40; }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 18px 34px; font-size: 17px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--accent-amber);
  padding-bottom: 2px;
  transition: gap var(--dur-fast) var(--ease-out);
}
.link-arrow:hover { gap: 12px; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--surface-100) 88%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-med) var(--ease-out),
              background var(--dur-med) var(--ease-out);
}
.site-header.is-scrolled {
  border-bottom-color: var(--ink-12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: var(--space-3);
}
.brand-mark { height: 36px; width: auto; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-mark {
    content: url("/assets/nouvel-logo-white.png");
  }
}
:root[data-theme="dark"] .brand-mark {
  content: url("/assets/nouvel-logo-white.png");
}
.site-nav { display: flex; align-items: center; gap: var(--space-3); }

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--ink-12);
  border-radius: 999px;
  overflow: hidden;
  background: transparent;
}
.lang-toggle button {
  background: transparent;
  border: 0;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--slate);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  font-family: var(--font-sans);
}
.lang-toggle button:hover { color: var(--ink); }
.lang-toggle button.is-active {
  background: var(--ink);
  color: var(--surface-100);
}
.lang-toggle--mobile { align-self: flex-start; margin: 4px 0 0; }

.site-nav a:not(.btn) {
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink);
  padding: 8px 4px;
  position: relative;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: 2px; left: 4px; right: 4px;
  height: 2px;
  background: var(--accent-amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease-out);
}
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  gap: 4px;
  flex-direction: column;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--surface-100);
  border-top: 1px solid var(--ink-12);
}
.mobile-nav a { font-size: 17px; color: var(--ink); padding: 8px 0; }
.mobile-nav .btn { align-self: flex-start; }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding: var(--space-5) 0 var(--space-6); position: relative; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: var(--space-5);
}
.hero-copy .eyebrow { margin-bottom: var(--space-3); }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--slate); max-width: 52ch; margin-top: var(--space-2); }
.hero-actions { display: flex; gap: var(--space-2); margin-top: var(--space-4); flex-wrap: wrap; }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
}
.hero-meta li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: var(--space-2);
  border-left: 2px solid var(--accent-amber);
}
.hero-meta li:nth-child(2) { border-color: var(--accent-mint); }
.hero-meta li strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hero-meta li span { font-size: 13px; color: var(--slate); }

/* Hero art — logo centerpiece */
.hero-art { display: flex; justify-content: center; }
.hero-frame {
  position: relative;
  width: min(480px, 100%);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.hero-cube {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.14;
  animation: cubeFloat 12s ease-in-out infinite;
}
.hero-fragment {
  position: absolute;
  width: 32%;
  animation: fragFloat 8s ease-in-out infinite;
}
.hero-fragment.fragment-a { top: 4%; right: 6%; animation-delay: -1s; }
.hero-fragment.fragment-b { bottom: 8%; left: 4%; width: 26%; animation-delay: -3s; }
.hero-lockup {
  position: relative;
  z-index: 2;
  width: 68%;
  max-width: 340px;
  filter: drop-shadow(0 20px 40px rgba(12,31,64,0.12));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-lockup {
    content: url("/assets/nouvel-logo-white.png");
    filter: none;
  }
}
:root[data-theme="dark"] .hero-lockup {
  content: url("/assets/nouvel-logo-white.png");
  filter: none;
}

@keyframes cubeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1.5deg); }
}
@keyframes fragFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-6px, -10px) rotate(6deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cube, .hero-fragment { animation: none; }
}

/* Marquee */
.hero-marquee {
  margin-top: var(--space-5);
  overflow: hidden;
  border-top: 1px solid var(--ink-12);
  border-bottom: 1px solid var(--ink-12);
  padding: var(--space-2) 0;
  max-width: none;
  padding-left: 0; padding-right: 0;
}
.marquee-track {
  display: flex;
  gap: var(--space-3);
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 13px;
  color: var(--slate);
}
.marquee-track span { flex-shrink: 0; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ============================================================
   Manifesto
   ============================================================ */
.manifesto { padding: var(--space-6) 0; }
.manifesto-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-5);
  align-items: start;
  margin-top: var(--space-3);
}
.manifesto-grid h2.editorial {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.15;
  color: var(--ink);
}
.manifesto-body p { font-size: 17px; color: var(--slate); }
.manifesto-body .link-arrow { margin-top: var(--space-2); }

/* ============================================================
   Essence
   ============================================================ */
.essence { padding: var(--space-5) 0; background: var(--surface-200); }
.essence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.essence-mark {
  display: block;
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-2);
}
.mark-amber { background: var(--accent-amber); }
.mark-mint { background: var(--accent-mint); }
.mark-ink { background: var(--ink); }
.essence-item p { font-size: 15px; }

/* ============================================================
   Services
   ============================================================ */
.services { padding: var(--space-6) 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.service-card {
  position: relative;
  background: var(--surface-100);
  border: 1px solid var(--ink-12);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink-40);
  box-shadow: 0 24px 48px -30px var(--ink-40);
}
.service-card--featured {
  background: var(--ink);
  border-color: transparent;
}
.service-card--featured h3,
.service-card--featured .service-lede { color: var(--surface-100); }
.service-card--featured .service-list li { color: color-mix(in srgb, var(--surface-100) 80%, transparent); border-color: color-mix(in srgb, var(--surface-100) 20%, transparent); }
.service-card--featured .service-meta { color: color-mix(in srgb, var(--surface-100) 60%, transparent); }
.service-card--featured .service-meta span { color: var(--accent-mint); }

.service-head { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-2); }
.service-frag {
  width: 24px; height: 24px;
  border-radius: 6px;
  transform: rotate(20deg);
  flex-shrink: 0;
}
.frag-amber { background: var(--accent-amber); }
.frag-mint { background: var(--accent-mint); }
.service-lede { font-size: 15.5px; color: var(--slate); margin-bottom: var(--space-3); }
.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-3);
  border-top: 1px solid var(--ink-12);
}
.service-list li {
  padding: 12px 0;
  font-size: 14.5px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink-12);
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-list li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-amber);
  flex-shrink: 0;
}
.service-meta {
  font-size: 13px;
  color: var(--slate);
  margin: 0;
  display: flex; align-items: baseline; gap: 6px;
}
.service-meta span {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--accent-mint);
  font-weight: 600;
}
.service-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--accent-amber);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  border-radius: 999px;
}

/* ============================================================
   AI Process
   ============================================================ */
.process { padding: var(--space-6) 0; background: var(--surface-200); }
.process-stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: var(--ink-12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-4);
  border: 1px solid var(--ink-12);
}
.step-btn {
  background: var(--surface-100);
  border: 0;
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  color: var(--ink);
  transition: background var(--dur-fast) var(--ease-out);
  position: relative;
}
.step-btn:hover { background: var(--surface-200); }
.step-btn.is-active {
  background: var(--ink);
  color: var(--surface-100);
}
.step-btn.is-active .step-sub { color: var(--accent-mint); }
.step-btn.is-active .step-num { color: var(--accent-amber); }
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  color: var(--slate-light);
  letter-spacing: 0.14em;
}
.step-title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.step-sub { font-size: 12px; color: var(--slate); }

.process-panels {
  background: var(--surface-100);
  border: 1px solid var(--ink-12);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  min-height: 320px;
}
.step-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-4);
  align-items: center;
  animation: panelIn var(--dur-med) var(--ease-out);
}
.step-panel[hidden] { display: none; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.panel-eyebrow {
  font-family: var(--font-display);
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--accent-mint);
  margin-bottom: var(--space-1);
}
.panel-copy h3 { font-size: clamp(22px, 2.4vw, 30px); color: var(--ink); margin-bottom: var(--space-2); }
.panel-list {
  list-style: none;
  padding: 0;
  margin: var(--space-2) 0 0;
}
.panel-list li {
  padding: 10px 0 10px 22px;
  position: relative;
  color: var(--ink);
  font-size: 15px;
  border-bottom: 1px solid var(--ink-06);
}
.panel-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-amber);
  font-weight: 700;
}

/* Comparison viz */
.panel-viz {
  background: var(--surface-200);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
}
.viz-compare { display: flex; flex-direction: column; gap: var(--space-2); }
.viz-row { display: flex; flex-direction: column; gap: 4px; }
.viz-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--slate);
}
.viz-bar {
  height: 44px;
  background: var(--ink-12);
  border-radius: var(--radius-md);
  width: var(--w);
  min-width: 60px;
  display: flex; align-items: center;
  padding: 0 var(--space-2);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  overflow: visible;
  transition: width var(--dur-slow) var(--ease-out);
}
.viz-bar > span { white-space: nowrap; }
.viz-bar--accent {
  background: var(--accent-amber);
  color: var(--ink);
  box-shadow: 0 8px 20px -12px var(--accent-amber);
}

/* ============================================================
   Calculator
   ============================================================ */
.calculator { padding: var(--space-6) 0; }
.calc {
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  color: var(--surface-100);
}
.calc-form {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.calc-field { display: flex; flex-direction: column; gap: 8px; }
.calc-field label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-mint);
}
.calc-field input,
.calc-field select {
  background: color-mix(in srgb, var(--surface-100) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--surface-100) 20%, transparent);
  color: var(--surface-100);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 15px;
}
.calc-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent-amber) 50%), linear-gradient(135deg, var(--accent-amber) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.calc-field select option { background: #0C1F40; color: #FDFDF9; }
.calc-field input:focus,
.calc-field select:focus {
  outline: 2px solid var(--accent-amber);
  outline-offset: 2px;
}
.calc-results {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: var(--space-2);
}
.calc-card {
  background: color-mix(in srgb, var(--surface-100) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--surface-100) 15%, transparent);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
}
.calc-card--hero {
  background: color-mix(in srgb, var(--accent-amber) 12%, transparent);
  border-color: var(--accent-amber);
}
.calc-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-mint);
  margin: 0 0 var(--space-1);
}
.calc-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 44px);
  color: var(--surface-100);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.calc-value--amber { color: var(--accent-amber); }
.calc-hint {
  font-size: 12px;
  color: color-mix(in srgb, var(--surface-100) 55%, transparent);
  margin: 8px 0 0;
}
.calc-note {
  margin: var(--space-3) 0 0;
  font-size: 13px;
  color: color-mix(in srgb, var(--surface-100) 60%, transparent);
  text-align: center;
}
.calc-note a { color: var(--accent-amber); border-bottom: 1px solid currentColor; }

/* ============================================================
   Insights
   ============================================================ */
.insights { padding: var(--space-6) 0; background: var(--surface-200); }
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.insight-card {
  background: var(--surface-100);
  border: 1px solid var(--ink-12);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: transform var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out);
}
.insight-card:hover { transform: translateY(-4px); border-color: var(--ink-40); }
.insight-card--dark {
  background: var(--ink);
  border-color: transparent;
}
.insight-card.insight-card--dark h3 { color: var(--surface-100); }
.insight-card.insight-card--dark p:not(.insight-meta):not(.insight-tag) { color: color-mix(in srgb, var(--surface-100) 75%, transparent); }
.insight-card.insight-card--dark .insight-tag { color: var(--accent-mint); }
.insight-card.insight-card--dark .insight-meta { color: color-mix(in srgb, var(--surface-100) 55%, transparent); }
.insight-card.insight-card--dark .insight-meta { border-top-color: color-mix(in srgb, var(--surface-100) 15%, transparent); }
.insight-tag {
  font-family: var(--font-display);
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--accent-mint);
  margin: 0;
}
.insight-card h3 { font-size: 20px; color: var(--ink); }
.insight-card p { font-size: 14.5px; margin: 0; }
.insight-meta {
  font-size: 12px;
  color: var(--slate-light);
  margin-top: auto !important;
  padding-top: var(--space-2);
  border-top: 1px solid var(--ink-12);
}

/* ============================================================
   Contact
   ============================================================ */
.contact { padding: var(--space-6) 0; background: var(--ink); color: var(--surface-100); }
.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-5);
  align-items: start;
}
.contact-copy h2, .contact-copy p { color: var(--surface-100); }
.contact-copy p { color: color-mix(in srgb, var(--surface-100) 75%, transparent); font-size: 17px; max-width: 40ch; }
.contact-channels {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.contact-channels li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: var(--space-2);
  border-left: 2px solid var(--accent-mint);
}
.contact-channel-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-mint);
}
.contact-channels a {
  color: var(--surface-100);
  font-weight: 500;
  border-bottom: 1px solid transparent;
}
.contact-channels a:hover { border-color: var(--accent-amber); }

.contact-form {
  background: color-mix(in srgb, var(--surface-100) 4%, transparent);
  border: 1px solid color-mix(in srgb, var(--surface-100) 15%, transparent);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-mint);
}
.form-field input,
.form-field textarea,
.form-field select {
  background: color-mix(in srgb, var(--surface-100) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--surface-100) 18%, transparent);
  color: var(--surface-100);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 15px;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent-amber) 50%), linear-gradient(135deg, var(--accent-amber) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.form-field select option { background: #0C1F40; color: #FDFDF9; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 2px solid var(--accent-amber);
  outline-offset: 2px;
  border-color: var(--accent-amber);
}
.form-field.has-error input,
.form-field.has-error textarea,
.form-field.has-error select {
  border-color: var(--danger);
}
.form-error-msg {
  font-size: 12px;
  color: #FF9F94;
}
.form-hint {
  font-size: 12px;
  color: color-mix(in srgb, var(--surface-100) 55%, transparent);
  margin: 0;
  text-align: right;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-1);
}
.form-consent {
  font-size: 12px;
  color: color-mix(in srgb, var(--surface-100) 55%, transparent);
  margin: 0;
  max-width: 40ch;
}
.form-status {
  min-height: 20px;
  font-size: 14px;
  padding-top: var(--space-1);
}
.form-status.is-success { color: var(--accent-mint); }
.form-status.is-error { color: #FF9F94; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { padding: var(--space-4) 0 var(--space-3); background: var(--ink); color: var(--surface-100); }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid color-mix(in srgb, var(--surface-100) 10%, transparent);
}
.footer-brand { display: flex; align-items: flex-start; }
.footer-mark { height: 64px; width: auto; opacity: 0.95; }
@media (max-width: 780px) {
  .footer-mark { height: 56px; }
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.footer-cols > div { display: flex; flex-direction: column; gap: 10px; }
.footer-h {
  font-family: var(--font-display);
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--accent-mint);
  margin: 0 0 4px;
}
.footer-cols a {
  color: color-mix(in srgb, var(--surface-100) 75%, transparent);
  font-size: 14px;
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-cols a:hover { color: var(--accent-amber); }
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-2);
  font-size: 12px;
  color: color-mix(in srgb, var(--surface-100) 45%, transparent);
  flex-wrap: wrap;
  gap: var(--space-1);
}
.footer-legal p { color: inherit; margin: 0; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner, .manifesto-grid, .contact-inner { grid-template-columns: 1fr; gap: var(--space-4); }
  .step-panel { grid-template-columns: 1fr; }
  .calc-form { grid-template-columns: 1fr 1fr; }
  .calc-form .calc-field:first-child { grid-column: 1 / -1; }
  .calc-results { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  :root { --header-h: 64px; }
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav[data-open="true"] { display: flex; }
  .hero-inner { text-align: left; }
  .hero-meta { grid-template-columns: 1fr; }
  .essence-grid, .services-grid, .insights-grid, .footer-cols { grid-template-columns: 1fr; }
  .process-stepper { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .service-card--featured { order: -1; }
  h1 { font-size: clamp(38px, 8vw, 56px); }
  .hero { padding: var(--space-4) 0 var(--space-5); }
  .manifesto, .services, .process, .calculator, .insights, .contact { padding: var(--space-5) 0; }
}
