﻿/* ── K2M Labs SWISS DESIGN SYSTEM ── */
:root {
  --paper: #f5f2eb;
  --paper-2: #ebe6dc;
  --ink: #161615;
  --muted: #6c675f;
  --line: rgba(22, 22, 21, 0.14);
  --line-strong: rgba(22, 22, 21, 0.28);
  --accent: #b83e2f;
  --accent-dark: #8e2f25;
  --surface: rgba(255, 255, 255, 0.48);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Geist", "Helvetica Neue", Helvetica, sans-serif;
  --max: 1440px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(22, 22, 21, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(22, 22, 21, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 82% 18%, rgba(184, 62, 47, 0.12), transparent 24rem),
    var(--paper);
  background-size: 80px 80px, 80px 80px, auto, auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.shell {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(245, 242, 235, 0.45);
  background: rgba(245, 242, 235, 0.52);
  backdrop-filter: blur(28px) saturate(200%) brightness(1.04);
  -webkit-backdrop-filter: blur(28px) saturate(200%) brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 4px 24px rgba(22, 22, 21, 0.07);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand links end";
  align-items: center;
  min-height: 72px;
  gap: 24px;
}
.brand { grid-area: brand; }
.nav-links { grid-area: links; }
.nav-end {
  grid-area: end;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 22px;
}
.mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  justify-self: center;
}
.nav-links a { transition: color 240ms var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(245, 242, 235, 0.48);
  border: 1px solid rgba(22, 22, 21, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  transition: background 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.hamburger:hover {
  background: rgba(245, 242, 235, 0.72);
  border-color: rgba(22, 22, 21, 0.22);
  box-shadow: 0 2px 8px rgba(22, 22, 21, 0.1);
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  width: 18px;
  border-radius: 2px;
  transition: transform 240ms var(--ease), opacity 240ms var(--ease), width 240ms var(--ease);
}
.hamburger span:nth-child(3) { width: 12px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); width: 18px; }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 18px; }

/* ── DOCTRINE ── */
.doctrine-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.doctrine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}

.pill {
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 12px 16px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: transparent;
  transition: transform 240ms var(--ease), background 240ms var(--ease), color 240ms var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.pill:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }
.pill:active { transform: translateY(1px) scale(0.99); }
.pill.filled { background: var(--ink); color: var(--paper); }
.pill.filled:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.pill.accent { background: var(--accent); border-color: var(--accent); color: white; }
.pill.accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

/* ── PAGE HEADER (sub-pages) ── */
.page-header {
  padding: 88px 0 68px;
  border-bottom: 1px solid var(--line);
}
.page-header .kicker {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 30px;
}
.page-header .kicker::before { content: ""; width: 46px; height: 2px; background: var(--accent); }
.page-header h1 {
  margin: 0;
  font-size: clamp(48px, 7.2vw, 118px);
  line-height: 0.88;
  letter-spacing: -0.085em;
  font-weight: 800;
  max-width: 1000px;
}
.page-header .lead {
  margin: 34px 0 0;
  font-size: clamp(19px, 2.2vw, 28px);
  line-height: 1.18;
  letter-spacing: -0.04em;
  max-width: 700px;
  color: var(--muted);
}
.page-header .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.page-status {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  border: 1px solid var(--accent);
  color: var(--accent);
  margin-bottom: 20px;
}

/* ── HERO (homepage) ── */
@keyframes hero-breathe {
  from { opacity: 0.55; }
  to   { opacity: 1; }
}
@keyframes hero-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(2.5%, 1.8%) scale(1.06); }
}

.hero {
  min-height: calc(100dvh - 72px);
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 64px;
  align-items: end;
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}

/* Breathing orange halo — GPU composited, zero layout cost */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 78% 22%, rgba(184, 62, 47, 0.22) 0%, transparent 68%),
    radial-gradient(ellipse 45% 38% at 18% 78%, rgba(184, 62, 47, 0.10) 0%, transparent 62%);
  animation:
    hero-breathe 5s ease-in-out infinite alternate,
    hero-drift   11s ease-in-out infinite alternate;
  will-change: opacity, transform;
}

/* Stack children above the halo */
.hero > * { position: relative; z-index: 1; }

.hero-copy { animation: rise 780ms var(--ease) both; }

.kicker {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 30px;
}
.kicker::before { content: ""; width: 46px; height: 2px; background: var(--accent); }

h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(56px, 8.8vw, 138px);
  line-height: 0.88;
  letter-spacing: -0.085em;
  font-weight: 800;
}
.hero-lede {
  display: grid;
  grid-template-columns: 220px minmax(0, 600px);
  gap: 48px;
  margin-top: 42px;
  align-items: start;
}
.section-number, .small-label {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.lead {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.13;
  letter-spacing: -0.045em;
  max-width: 720px;
}
.lead strong { color: var(--accent-dark); font-weight: 700; }
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-panel {
  align-self: stretch;
  min-height: 640px;
  display: grid;
  grid-template-rows: 1fr auto;
  border-left: 1px solid var(--line-strong);
  padding-left: 40px;
  animation: rise 900ms var(--ease) 140ms both;
}
.system-card {
  align-self: end;
  background: rgba(22, 22, 21, 0.92);
  color: var(--paper);
  border-radius: 2px;
  padding: 28px;
  box-shadow: 0 28px 80px -42px rgba(22, 22, 21, 0.55);
}
.system-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(245, 242, 235, 0.62);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(245, 242, 235, 0.18);
}
.signal { display: inline-flex; align-items: center; gap: 8px; }
.signal::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.8s var(--ease) infinite;
}
.map-flow { display: grid; gap: 12px; padding-top: 24px; }
.flow-row {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(245, 242, 235, 0.12);
  opacity: 0;
  transform: translateY(10px);
  animation: rowIn 700ms var(--ease) both;
}
.flow-row:nth-child(1) { animation-delay: 260ms; }
.flow-row:nth-child(2) { animation-delay: 410ms; }
.flow-row:nth-child(3) { animation-delay: 560ms; }
.flow-row:nth-child(4) { animation-delay: 710ms; }
.flow-key {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245, 242, 235, 0.5);
}
.flow-value { margin: 0; font-size: 17px; line-height: 1.35; letter-spacing: -0.02em; }
.flow-value b { color: #f0c7be; font-weight: 600; }
.hero-note {
  margin-top: 28px;
  font-family: var(--mono);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  max-width: 420px;
}

/* ── STRIP ── */
.strip {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  overflow: hidden;
  background: rgba(235, 230, 220, 0.62);
}
.marquee {
  display: flex;
  width: max-content;
  animation: drift 36s linear infinite;
}
.marquee span {
  display: block;
  padding: 18px 34px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-right: 1px solid var(--line);
  white-space: nowrap;
}

/* ── SECTIONS ── */
section { padding: 112px 0; border-bottom: 1px solid var(--line); }
.section-head {
  display: grid;
  grid-template-columns: 260px minmax(0, 820px);
  gap: 56px;
  align-items: start;
  margin-bottom: 68px;
}
h2 {
  margin: 0;
  font-size: clamp(38px, 5.4vw, 86px);
  line-height: 0.94;
  letter-spacing: -0.075em;
  font-weight: 800;
}
.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.42;
  letter-spacing: -0.025em;
  max-width: 760px;
}

/* ── THREE ROUTES ── */
.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-strong);
}
.route {
  padding: 38px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 28px;
  min-height: 540px;
  background: rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
  transition: background 280ms var(--ease);
  text-decoration: none;
  color: var(--ink);
}
.route + .route { border-left: 1px solid var(--line-strong); }
.route:hover { background: rgba(255, 255, 255, 0.34); }

/* depth gradient — signals a deeper door */
.route::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 180px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(235, 230, 220, 0.55) 60%,
    rgba(225, 220, 208, 0.88) 100%
  );
  pointer-events: none;
}

.route-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.route h3 {
  margin: 0;
  align-self: end;
  font-size: clamp(26px, 2.8vw, 42px);
  line-height: 0.97;
  letter-spacing: -0.06em;
  font-weight: 800;
}
.route p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.015em;
}
.route-footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.route-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--ink);
  padding-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.route-link svg { width: 42px; height: 12px; transition: transform 260ms var(--ease); }
.route:hover .route-link svg { transform: translateX(6px); }

/* ── KIRA SECTION ── */
.kira-split {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 56px;
  align-items: stretch;
}
.workspace {
  background: rgba(22, 22, 21, 0.92);
  color: var(--paper);
  padding: 30px;
  min-height: 620px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  box-shadow: 0 30px 90px -52px rgba(22, 22, 21, 0.8);
}
.workspace-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(245, 242, 235, 0.16);
  padding-bottom: 18px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245, 242, 235, 0.55);
}
.fog-input {
  margin: 26px 0;
  border: 1px solid rgba(245, 242, 235, 0.16);
  padding: 20px;
  color: rgba(245, 242, 235, 0.82);
  line-height: 1.5;
  letter-spacing: -0.02em;
  font-style: italic;
}
.map-table { display: grid; align-content: start; }
.map-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(245, 242, 235, 0.13);
}
.map-label {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(245, 242, 235, 0.48);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.map-copy { margin: 0; color: rgba(245, 242, 235, 0.86); line-height: 1.42; letter-spacing: -0.02em; }

.kira-copy {
  display: grid;
  align-content: end;
  gap: 26px;
  border-top: 1px solid var(--line-strong);
  padding-top: 28px;
}
.kira-copy h2 { max-width: 540px; }
.kira-copy p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.5; letter-spacing: -0.02em; }
.kira-moves { display: grid; gap: 10px; }
.kira-move {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}
.kira-move::before { content: "—"; color: var(--accent); font-family: var(--mono); flex-shrink: 0; }

/* ── TRAININGS ── */
.trainings-split {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  border: 1px solid var(--line-strong);
}
.trainings-main {
  padding: 44px;
  display: grid;
  align-content: space-between;
  gap: 36px;
  background: rgba(255, 255, 255, 0.2);
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-strong);
}
.audience-cell { background: var(--paper); padding: 20px; min-height: 140px; }
.audience-cell b { display: block; font-size: 15px; letter-spacing: -0.03em; margin-bottom: 8px; }
.audience-cell span { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }

.trainings-side {
  border-left: 1px solid var(--line-strong);
  padding: 38px;
  display: grid;
  align-content: space-between;
  background: var(--ink);
  color: var(--paper);
}
.trainings-side .small-label { color: rgba(245, 242, 235, 0.5); }
.trainings-side h3 {
  font-size: clamp(26px, 3vw, 44px);
  line-height: 0.97;
  letter-spacing: -0.065em;
  margin: 0;
}
.trainings-side p { color: rgba(245, 242, 235, 0.7); font-size: 15px; line-height: 1.52; margin: 0; }
.status-pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  border: 1px solid var(--accent);
  color: var(--accent);
  margin-bottom: 16px;
}

/* ── ORGANIZATIONS ── */
.org-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 68px;
  align-items: start;
}
.org-statement {
  position: sticky;
  top: 116px;
  font-size: clamp(34px, 4.6vw, 72px);
  line-height: 0.94;
  letter-spacing: -0.075em;
  font-weight: 800;
}
.org-statement em { color: var(--accent-dark); font-style: normal; }
.sequence { border-top: 1px solid var(--line-strong); }
.seq-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 200px;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.seq-title { margin: 0; font-size: 26px; line-height: 1; letter-spacing: -0.05em; font-weight: 800; }
.seq-copy { margin: 0; color: var(--muted); line-height: 1.5; }
.seq-tag { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); text-align: right; }

/* ── PROOF BAR ── */
.proof-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}
.proof-cell {
  background: rgba(255, 255, 255, 0.22);
  padding: 30px;
  min-height: 190px;
  display: grid;
  align-content: space-between;
}
.proof-cell b { display: block; font-size: 24px; letter-spacing: -0.05em; margin-bottom: 12px; }
.proof-cell span { color: var(--muted); font-size: 15px; line-height: 1.48; }

/* ── OFFER CARDS ── */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}
.offer-card {
  background: rgba(255, 255, 255, 0.2);
  padding: 38px;
  display: grid;
  align-content: start;
  gap: 18px;
}
.offer-card .offer-tag {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.offer-card h3 { margin: 0; font-size: 26px; line-height: 1; letter-spacing: -0.055em; font-weight: 800; }
.offer-card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.offer-card .offer-status {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  width: fit-content;
}
.offer-card .offer-status.ready {
  border-color: var(--accent);
  color: var(--accent);
}
.offer-details { display: grid; gap: 8px; margin-top: 4px; }
.offer-detail {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}
.offer-detail::before { content: "—"; color: var(--line-strong); font-family: var(--mono); flex-shrink: 0; }

/* ── FIELD NOTES ── */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}
.note-card {
  background: rgba(255, 255, 255, 0.22);
  padding: 38px;
  min-height: 280px;
  display: grid;
  align-content: start;
  gap: 18px;
}
.note-date {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.note-card h3 { margin: 0; font-size: 28px; line-height: 0.97; letter-spacing: -0.055em; font-weight: 800; }
.note-card p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.52; letter-spacing: -0.02em; }

/* ── ABOUT ── */
.origin-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.origin-split h2 { max-width: 420px; }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.contact-grid h2 { max-width: 540px; }
.contact-intro { margin: 18px 0 0; color: var(--muted); font-size: 18px; line-height: 1.5; }
.form-panel {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.3);
  padding: 34px;
}
.form-grid { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: rgba(245, 242, 235, 0.72);
  color: var(--ink);
  padding: 15px 14px;
  outline: none;
  transition: border 200ms var(--ease), background 200ms var(--ease);
  border-radius: 0;
  -webkit-appearance: none;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.44);
}
.helper { color: var(--muted); font-size: 13px; line-height: 1.4; }
.error { min-height: 18px; color: var(--accent-dark); font-size: 13px; }
.submit-row { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-top: 6px; }
.submit {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 15px 20px;
  min-width: 190px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 220ms var(--ease), background 220ms var(--ease);
}
.submit:hover { background: var(--accent-dark); }
.submit:active { transform: translateY(1px) scale(0.99); }
.form-status { color: var(--muted); font-size: 14px; line-height: 1.4; }
.form-status[data-state="ok"] { color: var(--accent-dark); }

/* ── BACK BUTTON (mobile float) ── */
.back-btn {
  display: none;
  position: fixed;
  bottom: max(28px, env(safe-area-inset-bottom, 0px) + 16px);
  left: 20px;
  z-index: 50;
  align-items: center;
  gap: 8px;
  padding: 12px 20px 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(245, 242, 235, 0.14);
  background: rgba(22, 22, 21, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #f5f2eb;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 20px -4px rgba(22, 22, 21, 0.45), 0 1px 4px rgba(22, 22, 21, 0.3);
  transition: transform 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
}
.back-btn:hover, .back-btn:focus-visible {
  background: rgba(22, 22, 21, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px -6px rgba(22, 22, 21, 0.55), 0 2px 6px rgba(22, 22, 21, 0.25);
  outline: none;
}
.back-btn svg { stroke: #f5f2eb; }
.back-btn:active { transform: translateY(0) scale(0.97); }
.back-btn svg { flex-shrink: 0; }

/* ── SITE FOOTER ── */
.site-footer {
  background: #000;
  margin-top: 80px;
}
.footer-band {
  clip-path: inset(0 10%);
  transition: clip-path 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: clip-path;
  padding: 64px 0 48px;
}
.site-footer.in-view .footer-band { clip-path: inset(0 0%); }
.footer-inner-full {
  width: min(1400px, calc(100% - 64px));
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(245, 242, 235, 0.1);
}
.footer-brand-col { flex: 1; max-width: 320px; }
.footer-wordmark {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 10px;
}
.footer-tagline {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245, 242, 235, 0.38);
  margin: 0;
  line-height: 1.7;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: right;
}
.footer-nav a {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245, 242, 235, 0.46);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--paper); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  gap: 24px;
}
.footer-copy {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245, 242, 235, 0.24);
}
.footer-socials { display: flex; gap: 12px; align-items: center; }
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(245, 242, 235, 0.14);
  color: rgba(245, 242, 235, 0.50);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.social-icon:hover {
  border-color: rgba(245, 242, 235, 0.40);
  color: var(--paper);
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .site-footer { margin-top: 48px; }
  .footer-band { padding: 48px 0 40px; }
  .footer-inner-full { width: calc(100% - 40px); }
  .footer-top { flex-direction: column; gap: 28px; }
  .footer-nav { text-align: left; flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ── ANIMATIONS ── */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rowIn { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.55); opacity: 0.45; } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

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

/* ── RESPONSIVE ── */
@media (max-width: 1180px) {
  .hero, .kira-split, .contact-grid, .org-split, .origin-split { grid-template-columns: 1fr; }
  .hero-panel { min-height: auto; border-left: 0; border-top: 1px solid var(--line-strong); padding-left: 0; padding-top: 32px; }
  .org-statement { position: static; }
  .route-grid, .trainings-split, .offer-grid, .notes-grid { grid-template-columns: 1fr; }
  .route + .route { border-left: 0; border-top: 1px solid var(--line-strong); }
  .trainings-side { border-left: 0; border-top: 1px solid var(--line-strong); }
  .offer-grid .offer-card + .offer-card { border-left: 0; border-top: 1px solid var(--line-strong); }
}
@media (max-width: 900px) {
  .nav-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand end";
  }
  .nav-links { display: none; }
  .nav-end .pill { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(245, 242, 235, 0.82);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    z-index: 19;
    padding: 0 24px 24px;
    border-bottom: 1px solid var(--line-strong);
    animation: rise 200ms var(--ease) both;
  }
  .nav-links.open a {
    display: block;
    padding: 18px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .hamburger { display: flex; }
  .back-btn { display: flex; }
  .hero { padding-top: 54px; }
  .hero-lede, .section-head { grid-template-columns: 1fr; }
  .audience-grid, .proof-bar { grid-template-columns: 1fr; }
  .seq-row { grid-template-columns: 1fr; gap: 12px; }
  .seq-tag { text-align: left; }
}
@media (max-width: 640px) {
  .shell { width: min(100% - 28px, var(--max)); }
  .nav-inner { min-height: 62px; }
  .nav-links.open { top: 62px; }
  .brand { font-size: 19px; }
  /* Doctrine vertical stack */
  .doctrine-section { padding: 48px 0; }
  .doctrine-grid {
    display: grid;
    grid-template-columns: 1fr;
    background: var(--line-strong);
    border: 1px solid var(--line-strong);
    gap: 1px;
    overflow: visible;
  }
  .doctrine-grid > div {
    padding: 28px 24px !important;
    border-left: 3px solid var(--accent);
  }
  .doctrine-grid > div:nth-child(2) {
    border-left-color: var(--paper);
  }
  h1 { font-size: clamp(48px, 17vw, 78px); }
  .lead { font-size: 21px; }
  section { padding: 74px 0; }
  .workspace, .form-panel, .trainings-main, .trainings-side { padding: 22px; }
  .map-item { grid-template-columns: 1fr; gap: 8px; }
  .submit-row { flex-direction: column; align-items: stretch; }
  .hero-actions, .page-header .actions { flex-direction: column; align-items: stretch; }
  .hero-actions .pill, .page-header .actions .pill { text-align: center; justify-content: center; }
  .offer-card { padding: 26px; }
  .note-card { padding: 26px; }
}
