/* =========================================================
   MB‑Consulting · Variante B
   Inspired by terminal-industries.com:
   typographic dominance, dark off-black, structured grid,
   numbered sections, monochrome restraint.
   ========================================================= */

:root {
  --bg:       #09080a;
  --bg-2:     #0f0d0a;
  --surface:  #161310;
  --surface-2:#1c1814;
  --line:     rgba(255,255,255,0.08);
  --line-2:   rgba(255,255,255,0.14);

  --fg:       #F2F4F7;
  --fg-2:     #C8CCD3;
  --muted:    #8B8F98;
  --dim:      #5E626B;

  --accent:      #FFFFFF;
  /* Warm accent pulled from the background palette (champagne/tobacco) —
     used for highlighted keywords so type and stage feel connected */
  --accent-warm: #c9a87c;

  --max:      1280px;
  --gutter:   clamp(24px, 4vw, 56px);

  --radius:   4px;
  --t-fast:   .25s cubic-bezier(.2,.6,.2,1);
  --t-slow:   .8s cubic-bezier(.2,.6,.2,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-feature-settings: "ss01","cv11";
  letter-spacing: -0.005em;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Lenis smooth-scroll: it sets html.lenis on init */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* ---------- Fixed WebGL background stage ---------- */
#bg-stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  display: block;
  pointer-events: none;
}
.bg-vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.35), transparent 12%, transparent 88%, rgba(0,0,0,.45));
}

/* All content layers above the canvas */
.nav, main, .foot { position: relative; z-index: 2; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ------- Keyboard focus (WCAG 2.4.7) ------- */
:focus-visible {
  outline: 2px solid var(--accent-warm);
  outline-offset: 3px;
  border-radius: 3px;
}
.contact__form input:focus-visible,
.contact__form textarea:focus-visible {
  outline: none;
  border-bottom-color: var(--accent-warm);
  box-shadow: 0 1px 0 0 var(--accent-warm);
}

/* ------- Skip to content (keyboard / screen-reader) ------- */
.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--surface);
  color: var(--fg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-150%);
  transition: transform var(--t-fast);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

/* ------- Containers / sections ------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: clamp(96px, 14vh, 180px) 0;
  position: relative;
}
.section + .section { border-top: 1px solid var(--line); }
.section__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: clamp(56px, 8vh, 96px);
}

/* ------- Navigation ------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--gutter);
  /* No backdrop-filter: blurring a fixed bar over an animated canvas forces a
     full re-blur every scroll frame. A slightly stronger gradient reads almost
     identical over this dark background and costs nothing to scroll. */
  background: linear-gradient(to bottom, rgba(9,8,10,.94), rgba(9,8,10,.6) 55%, rgba(9,8,10,0));
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.nav.is-scrolled {
  background: rgba(9,8,10,.96);
  border-bottom-color: var(--line);
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--fg);
  font-family: "Inter Tight", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 16px;
}
.nav__brand img { width: 26px; height: 26px; opacity: 1; }

.nav__links {
  display: flex;
  gap: clamp(20px, 2.4vw, 36px);
  margin-left: auto;
}
.nav__links a {
  color: var(--fg-2);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--t-fast);
}
.nav__links a:hover { color: var(--fg); }

.nav__cta {
  padding: 10px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--fg);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.nav__cta:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.32); }

/* Language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-right: 4px;
  border-right: 1px solid var(--line);
  margin-right: 4px;
}
.lang-switch__btn {
  background: none;
  border: 0;
  padding: 4px 4px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  cursor: pointer;
  transition: color var(--t-fast);
}
.lang-switch__btn:hover { color: var(--fg-2); }
.lang-switch__btn.is-active { color: var(--fg); }
.lang-switch__sep {
  color: var(--dim);
  font-size: 11px;
  user-select: none;
}
@media (max-width: 520px) {
  .lang-switch { border-right: 0; padding-right: 0; margin-right: 0; }
}

@media (max-width: 820px) {
  .nav__links { display: none; }
}
@media (max-width: 520px) {
  .nav__cta { display: none; }
}

/* ------- Typography ------- */
.eyebrow {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 28px;
  font-weight: 600;
}
.eyebrow.center,
.h2.center,
.display.center { text-align: center; }

.display {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: clamp(48px, 8vw, 116px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin: 0 0 32px;
}
.h2 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: clamp(36px, 5.5vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0;
}
.h2 .muted, .display .muted {
  color: var(--dim);
  font-weight: 600;
}

/* Warm keyword highlight — picks up the background palette */
.hl {
  color: var(--accent-warm);
  font-style: normal;
}
em.hl, .hl em { font-style: italic; }

.lede {
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.45;
  color: var(--fg-2);
  max-width: 640px;
  margin: 0 0 40px;
}
.body {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 580px;
  margin: 0 0 32px;
}

/* ------- Buttons ------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  will-change: transform;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn > * { pointer-events: none; }
.btn i {
  display: inline-block; width: 14px; height: 10px; position: relative;
}
.btn i::before {
  content: ""; position: absolute; top: 50%; left: 0; right: 4px;
  height: 1.5px; background: currentColor; transform: translateY(-50%);
}
.btn i::after {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 7px; height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn--primary {
  background: var(--accent);
  color: #0A0D12;
}
.btn--primary:hover { transform: translateY(-1px); background: #E6E8EC; }
.btn--ghost {
  border-color: var(--line-2);
  color: var(--fg);
  background: transparent;
}
.btn--ghost:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.28); }

/* ─────────────────────── HERO ─────────────────────── */
.hero {
  padding-top: clamp(160px, 22vh, 240px);
  padding-bottom: 0;
}
.hero .display { max-width: 12ch; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: clamp(80px, 14vh, 140px); }

.hero__stats {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0 var(--gutter);
}
.hero__stats { padding-top: 32px; padding-bottom: 32px; max-width: var(--max); margin: 0 auto; }
.stat { padding: 16px 0; border-right: 1px solid var(--line); padding-left: 24px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
  /* Force a stable box equal to the largest font-size so any variant
     (digits, "1:1", or word like "C‑LEVEL") aligns on the same baseline */
  height: clamp(32px, 4vw, 56px);
  display: flex;
  align-items: flex-end;
}
/* Word values (e.g. C‑LEVEL) — same font-size as digits, only loosen tracking
   slightly so letters don't crowd at the tight -0.04em used for numbers */
.stat__num--word {
  letter-spacing: -0.025em;
  font-variant-numeric: normal;
}
.stat__label {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
@media (max-width: 760px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .stat { border-right: 0; padding-left: 0; }
  .stat:nth-child(2n) { border-left: 1px solid var(--line); padding-left: 24px; }
}

/* ─────────────────────── PRINCIPLES ─────────────────────── */
.principles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.principle {
  padding: 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background var(--t-fast);
  min-height: 240px;
  display: flex;
  flex-direction: column;
}
.principle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px 180px at var(--mx,50%) var(--my,0%),
                              rgba(255,255,255,.08), transparent 60%);
  opacity: 0;
  transition: opacity var(--t-fast);
  pointer-events: none;
}
.principle { position: relative; }
.principle > * { position: relative; }
.principle:hover { background: rgba(255,255,255,.025); }
.principle:hover::before { opacity: 1; }
.principle__num {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}
.principle h3 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.principle p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}
@media (max-width: 900px) { .principles__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .principles__grid { grid-template-columns: 1fr; } .principle { padding: 28px; min-height: 200px; } }

/* ─────────────────────── SERVICES ─────────────────────── */
/* Editorial 2-column grid — no boxes, just hairlines between rows */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(32px, 5vw, 80px);
  row-gap: 0;
  border-top: 1px solid var(--line);
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vh, 44px) 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--t-fast);
}
.service::before {
  /* hairline accent that draws when tile enters view */
  content: "";
  position: absolute;
  top: -1px; left: 0;
  height: 2px;
  width: 0;
  background: var(--fg);
  transition: width .9s cubic-bezier(.2,.6,.2,1) .1s;
}
.service.is-in::before { width: 44px; }
.service:hover { background: rgba(255,255,255,.018); }

.service__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}
.service__num {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: clamp(22px, 1.9vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
}
.service__label {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.service__body { flex: 1; }
.service h3 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 12px;
  transition: color var(--t-fast);
}
.service__body > p {
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 18px;
  max-width: 52ch;
}
.service ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service li {
  font-size: 13px;
  color: var(--fg-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.service li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--dim);
  transition: background var(--t-fast);
}
.service:hover li { color: var(--fg); }
.service:hover li::before { background: var(--fg); }

.service__arrow {
  align-self: flex-end;
  margin-top: 18px;
  font-size: 18px;
  color: var(--dim);
  transform: translateX(-8px);
  opacity: 0.4;
  transition: transform .35s cubic-bezier(.2,.6,.2,1),
              opacity .35s cubic-bezier(.2,.6,.2,1),
              color .35s cubic-bezier(.2,.6,.2,1);
  font-family: "Inter Tight";
  line-height: 1;
}
.service:hover .service__arrow {
  transform: translateX(0);
  opacity: 1;
  color: var(--fg);
}

@media (max-width: 760px) {
  .services__grid {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .service__arrow { display: none; }
}

/* ─────────────────────── KI‑PROGRAMM ─────────────────────── */
.ai__lead {
  font-size: clamp(19px, 1.7vw, 26px);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--fg);
  max-width: 60ch;
  margin: 0 0 clamp(48px, 7vh, 88px);
  font-family: "Inter Tight", "Inter", sans-serif;
  font-weight: 500;
}

/* Spec-sheet style block list — distinct from the 2x2 services grid */
.ai__stack {
  border-top: 1px solid var(--line);
}
.ai__block {
  display: grid;
  grid-template-columns: minmax(220px, 32%) 1fr;
  gap: clamp(20px, 4vw, 64px);
  padding: clamp(22px, 3.2vh, 34px) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: background var(--t-fast);
}
.ai__block:hover { background: rgba(255,255,255,.018); }
.ai__block h3 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: clamp(19px, 1.7vw, 25px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  color: var(--fg);
}
.ai__block p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 52ch;
}
@media (max-width: 680px) {
  .ai__block { grid-template-columns: 1fr; gap: 8px; }
}

/* Anonymised proof block */
.ai__proof {
  margin-top: clamp(48px, 7vh, 80px);
  padding-top: clamp(32px, 4vh, 48px);
  border-top: 1px solid var(--line-2);
}
.ai__proof-label {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-warm);
  font-weight: 600;
  margin: 0 0 32px;
}
.ai__proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 64px);
}
.ai__proof-scale {
  display: block;
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 12px;
}
.ai__proof-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 46ch;
}
@media (max-width: 680px) {
  .ai__proof-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ─────────────────────── FEATURE / QUOTE ─────────────────────── */
.feature {
  position: relative;
  overflow: hidden;
  padding: clamp(140px, 22vh, 240px) 0;
  isolation: isolate;
}
.feature__bg {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, #1f1813, #0a0907 60%);
}
.feature__bg img {
  position: absolute;
  top: -10%; left: 0;
  width: 100%; height: 120%;
  object-fit: cover;
  opacity: 0.35;
  filter: grayscale(0.6) contrast(1.1) brightness(0.55);
  will-change: transform;
}
.feature::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,13,18,.6), rgba(10,13,18,.4) 40%, rgba(10,13,18,.85)),
    radial-gradient(ellipse at 20% 30%, rgba(255,255,255,.06), transparent 60%);
  z-index: -1;
}
.feature__inner { max-width: 980px; }
.quote {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: clamp(28px, 4.5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--fg);
  margin: 0 0 32px;
}
.quote em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent-warm);
}
.quote__attr {
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--muted);
  margin: 0 0 64px;
}

.feature__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.feature__pillars > div { display: flex; flex-direction: column; gap: 8px; }
.feature__pillars strong {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.feature__pillars span {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.5;
}
@media (max-width: 720px) { .feature__pillars { grid-template-columns: 1fr; } }

/* ─────────────────────── PROCESS ─────────────────────── */
.process__line {
  position: relative;
  height: 1px;
  background: var(--line);
  margin-bottom: 0;
  overflow: visible;
}
.process__line span {
  position: absolute;
  left: 0; top: -1px;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, transparent, var(--fg) 30%, var(--fg) 70%, transparent);
  box-shadow: 0 0 12px rgba(255,255,255,.3);
  will-change: width;
}

.process__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.process__steps li {
  padding: 40px 32px 48px;
  border-right: 1px solid var(--line);
  position: relative;
}
.process__steps li:last-child { border-right: 0; }
.process__steps li::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 32px; height: 2px;
  background: var(--fg);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .9s cubic-bezier(.2,.6,.2,1) .15s;
}
.process__steps li.is-in::before { transform: scaleX(1); }
.step__num {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  font-weight: 600;
}
.process__steps h3 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.process__steps p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}
@media (max-width: 900px) {
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .process__steps li:nth-child(2n) { border-right: 0; }
}
@media (max-width: 560px) {
  .process__steps { grid-template-columns: 1fr; }
  .process__steps li { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ─────────────────────── TRUST / LOGO WALL ─────────────────────── */
.trust { padding-block: clamp(80px, 12vh, 140px); }
.trust__intro {
  text-align: center;
  color: var(--fg-2);
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.55;
}
.trust__statement {
  max-width: 18ch;
  margin: 0 auto 32px;
}
.marquee {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee__group {
  display: flex;
  flex: 0 0 auto;
}
.marquee__group span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(180px, 18vw, 240px);
  height: 100px;
  padding: 0 32px;
  color: var(--dim);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border-right: 1px solid var(--line);
  transition: color var(--t-fast);
}
.marquee__group span:hover { color: var(--fg); }

/* ─────────────────────── CONTACT ─────────────────────── */
.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact__left .display { max-width: 11ch; }
.contact__details {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
}
.contact__details li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  align-items: baseline;
}
.contact__details li span {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__details a { color: var(--fg); }
.contact__details a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Editorial form — no box, bottom-line inputs, name + e-mail side by side */
.contact__form {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 28px;
}
.form__field {
  display: grid;
  gap: 10px;
  position: relative;
}
.form__field--full { grid-column: 1 / -1; }

.contact__form label > span {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.contact__form input,
.contact__form textarea {
  font: inherit;
  color: var(--fg);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 0 12px;
  font-size: 16px;
  letter-spacing: -0.005em;
  outline: none;
  transition: border-color var(--t-fast);
  resize: vertical;
  width: 100%;
}
.contact__form input::placeholder,
.contact__form textarea::placeholder {
  /* --dim (#5E626B) fails WCAG AA on dark; #868A93 clears 4.5:1 */
  color: #868A93;
  opacity: 1;
}
.contact__form input:hover,
.contact__form textarea:hover { border-bottom-color: var(--line-2); }
.contact__form input:focus,
.contact__form textarea:focus {
  border-bottom-color: var(--fg);
  background: transparent;
}
.contact__form textarea {
  min-height: 140px;
  line-height: 1.55;
  padding-top: 14px;
}
.form__submit {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 8px;
}
.form__submit:disabled { opacity: .55; pointer-events: none; }

/* Honeypot — visually & programmatically hidden, still focusable by bots */
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Submit status message */
.form__status {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.5;
}
.form__status[data-kind="pending"] { color: var(--muted); }
.form__status[data-kind="ok"]      { color: var(--accent-warm); }
.form__status[data-kind="err"]     { color: #e0a08a; }

@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .contact__form { grid-template-columns: 1fr; gap: 28px; }
}

/* ─────────────────────── FOOTER ─────────────────────── */
.foot {
  border-top: 1px solid var(--line);
  padding: clamp(56px, 8vh, 80px) 0 24px;
  background: #060505;
}
.foot__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.foot__brand { display: flex; flex-direction: column; gap: 12px; }
.foot__brand img { width: 30px; height: 30px; opacity: .9; }
.foot__brand span { font-family: "Inter Tight"; font-weight: 700; font-size: 17px; }
.foot__brand small { color: var(--muted); font-size: 13px; max-width: 28ch; line-height: 1.5; }

.foot__col { display: flex; flex-direction: column; gap: 10px; }
.foot__col h4 {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
  font-weight: 600;
}
.foot__col a {
  color: var(--fg-2);
  font-size: 14px;
  transition: color var(--t-fast);
}
.foot__col a:hover { color: var(--fg); }

.foot__base {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}
@media (max-width: 800px) {
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

/* ─────────────────────── LEGAL PAGES ─────────────────────── */
.section.legal {
  padding-top: clamp(140px, 18vh, 200px);
  padding-bottom: clamp(96px, 12vh, 140px);
}
.legal__container {
  max-width: 760px;
}
.legal__title {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0 0 16px;
}
.legal__meta {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted);
  margin: 0 0 56px;
}
.legal__lede {
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.legal__body { color: var(--fg-2); }
.legal__body h2 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 48px 0 14px;
  line-height: 1.2;
}
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 28px 0 10px;
}
.legal__body p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 14px;
}
.legal__body strong { color: var(--fg); font-weight: 600; }
.legal__body a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.25);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--t-fast);
}
.legal__body a:hover { text-decoration-color: var(--fg); }

.legal__dl {
  display: grid;
  grid-template-columns: minmax(140px, 22%) 1fr;
  gap: 10px 24px;
  margin: 0 0 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.legal__dl dt {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding-top: 2px;
}
.legal__dl dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg);
}
@media (max-width: 600px) {
  .legal__dl { grid-template-columns: 1fr; gap: 4px 0; }
  .legal__dl dt { margin-top: 12px; }
  .legal__dl dt:first-child { margin-top: 0; }
}

.legal__list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
.legal__list li {
  font-size: 15px;
  line-height: 1.65;
  padding: 6px 0 6px 22px;
  position: relative;
}
.legal__list li::before {
  content: "·";
  position: absolute;
  left: 6px;
  top: 6px;
  color: var(--dim);
  font-weight: 700;
}

.legal__hint {
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
}

.legal__back {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.legal__back a {
  display: inline-block;
  font-size: 14px;
  color: var(--fg-2);
  text-decoration: none;
  transition: color var(--t-fast), transform var(--t-fast);
}
.legal__back a:hover { color: var(--fg); transform: translateX(-3px); }

/* ─────────────────────── FX initial state ─────────────────────── */
/* Hidden states are gated behind .fx-ready (added by JS only when GSAP is
   present and motion is allowed). Pre-JS / no-JS, everything paints on first
   CSS paint — so the hero LCP text is never hidden behind an animation. */
[data-fx] { will-change: transform, opacity; }
.fx-ready [data-fx="fade-up"] { opacity: 0; transform: translateY(28px); }
.fx-ready [data-fx="reveal"] .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  filter: blur(6px);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-fx] { opacity: 1 !important; transform: none !important; }
  [data-fx="reveal"] .word { opacity: 1 !important; transform: none !important; }
}
