/* ERAI · web · shared system */

:root {
  --bg: #FAF7F1;
  --fg: #15110C;
  --muted: #8A7E6E;
  --line: rgba(21, 17, 12, 0.10);
  --line-soft: rgba(21, 17, 12, 0.06);
  --olive: oklch(0.55 0.08 110);
  --olive-soft: oklch(0.65 0.06 110);
  --ink-soft: #26201A;
  --bone-tint: #ECE7DC;
  --sans: 'Inter Tight', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'JetBrains Mono', monospace;
  --maxw: 1440px;
  --pad-x: 56px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg); color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  font-size: 17px; line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ───────────── nav ───────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 241, 0.88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.nav-brand {
  display: flex; align-items: center; gap: 14px;
  color: var(--fg);
}
.nav-brand svg { width: 44px; height: 44px; }
.nav-brand svg circle { fill: currentColor; }
.nav-brand-text {
  font-family: var(--sans); font-weight: 500;
  font-size: 22px; letter-spacing: 0.22em;
}
.nav-brand-text .z { color: var(--olive); }

.nav-links {
  display: flex; align-items: center; gap: 36px;
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.nav-links a {
  position: relative; padding: 6px 0;
  transition: color 160ms ease;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a.active { color: var(--fg); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--olive);
}

.nav-right { display: flex; align-items: center; gap: 18px; }

.lang-toggle {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  padding: 2px;
}
.lang-toggle button {
  background: none; border: 0;
  padding: 6px 12px;
  font: inherit; color: var(--muted);
  cursor: pointer; border-radius: 999px;
  letter-spacing: 0.18em;
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--fg); color: var(--bg);
}

.btn-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px;
  background: var(--fg); color: var(--bg);
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 160ms ease, transform 160ms ease;
}
.btn-cta:hover { background: var(--olive); }
.btn-cta .arrow { transition: transform 200ms ease; }
.btn-cta:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px;
  border: 1px solid var(--line); color: var(--fg);
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
  transition: border-color 160ms ease, color 160ms ease;
}
.btn-ghost:hover { border-color: var(--fg); }

/* ───────────── primitives ───────────── */
.container {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--pad-x);
}

.eyebrow {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted);
}

h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.02em; }
em.serif, .serif-em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--olive);
}

.h-hero {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.95; letter-spacing: -0.04em;
}
.h-hero em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--olive); }

.h-section {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1.0; letter-spacing: -0.03em;
}
.h-section em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--olive); }

.h-card {
  font-family: var(--sans); font-weight: 500;
  font-size: 28px; line-height: 1.15; letter-spacing: -0.02em;
}
.h-card em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--olive); }

.lead {
  font-family: var(--sans); font-size: 22px; line-height: 1.45;
  color: var(--fg); max-width: 30ch;
}
.body-text {
  font-size: 17px; line-height: 1.6; color: var(--fg);
}
.body-text.muted { color: var(--muted); }

.lbl {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}

.editorial {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.18; color: var(--olive);
  max-width: 18ch;
}

/* ───────────── hero (slide 01 reused) ───────────── */
.hero {
  padding: clamp(56px, 8vw, 112px) 0 clamp(72px, 9vw, 140px);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.hero > .container { position: relative; z-index: 2; }
/* Canvas spans the full hero. Particles drift across the whole width;
   the logo target zone is computed in JS to land in the right-half empty space. */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 1100px) {
  .hero-canvas { display: none; }
}

/* ───────────── diagnostic quiz ───────────── */
.quiz {
  background: var(--fg);
  color: var(--bg);
  padding: clamp(80px, 10vw, 140px) 0;
}
.quiz .eyebrow { color: rgba(243, 239, 230, 0.55); }
.quiz .h-section { color: var(--bg); }
.quiz .h-section em { color: var(--olive-soft); }
.quiz-shell {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.quiz-progress {
  position: sticky;
  top: 100px;
}
.quiz-progress-num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 239, 230, 0.5);
  margin-bottom: 24px;
}
.quiz-progress-bars {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}
.quiz-progress-bars span {
  flex: 1;
  height: 2px;
  background: rgba(243, 239, 230, 0.15);
  transition: background 0.4s ease;
}
.quiz-progress-bars span.done { background: var(--olive-soft); }
.quiz-progress-bars span.current { background: var(--bg); }
.quiz-progress-hint {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: rgba(243, 239, 230, 0.7);
  max-width: 24ch;
}
.quiz-stage {
  min-height: 280px;
  position: relative;
}
.quiz-q {
  display: none;
}
.quiz-q.active {
  display: block;
  animation: quizFade 0.5s ease;
}
@keyframes quizFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.quiz-q-num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(243, 239, 230, 0.5);
  margin-bottom: 20px;
}
.quiz-q-text {
  font-family: var(--sans);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  text-wrap: pretty;
}
.quiz-q-text em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--olive-soft);
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
}
.quiz-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: transparent;
  border: 1px solid rgba(243, 239, 230, 0.2);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.quiz-option:hover {
  border-color: var(--bg);
  background: rgba(243, 239, 230, 0.04);
}
.quiz-option .opt-key {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(243, 239, 230, 0.4);
  letter-spacing: 0.08em;
}
.quiz-result {
  display: none;
}
.quiz-result.active {
  display: block;
  animation: quizFade 0.6s ease;
}
.quiz-result-eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 239, 230, 0.7);
  margin-bottom: 24px;
}
.quiz-tier {
  font-family: var(--sans);
  font-size: clamp(72px, 10vw, 140px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin-bottom: 12px;
}
.quiz-tier em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--olive-soft);
}
.quiz-tier-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  color: var(--bg);
  margin-bottom: 32px;
}
.quiz-result-body {
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--bg);
  margin-bottom: 40px;
  max-width: 48ch;
  text-wrap: pretty;
}
.quiz-result-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.quiz-result .btn-cta {
  background: var(--bg);
  color: var(--fg);
}
.quiz-restart {
  background: transparent;
  border: 0;
  color: rgba(243, 239, 230, 0.6);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 12px 0;
}
.quiz-restart:hover { color: var(--bg); }
.hero-eyebrow-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 24px; margin-bottom: clamp(48px, 8vw, 96px);
  flex-wrap: wrap;
}
.hero-mega {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(56px, 10vw, 144px);
  line-height: 0.92; letter-spacing: -0.05em;
  max-width: 9ch;
}
.hero-mega em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--olive); }
.hero-foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; margin-top: clamp(40px, 6vw, 72px);
  flex-wrap: wrap;
}

/* ───────────── proof strip ───────────── */
.proof {
  background: var(--bone-tint);
  padding: 56px 0;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.proof-grid-4 { grid-template-columns: repeat(4, 1fr); }
.proof-cell {
  padding: 0 40px;
  border-right: 1px solid var(--line);
}
.proof-cell:first-child { padding-left: 0; }
.proof-cell:last-child { border-right: 0; }
.proof-v {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(56px, 8vw, 96px);
  line-height: 0.95; letter-spacing: -0.04em;
}
.proof-v em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--olive); font-size: 0.7em; }
.proof-k {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-top: 14px; line-height: 1.6;
}
.proof-cap .proof-cell { padding: 0 28px; }
.proof-cap .proof-k { margin-top: 0; margin-bottom: 18px; color: var(--olive); }
.proof-cap .proof-v {
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.05;
}
.proof-cap .proof-v em { font-size: 1em; }

/* ───────────── section spacing ───────────── */
.section {
  padding: clamp(72px, 10vw, 140px) 0;
  border-bottom: 1px solid var(--line-soft);
}
.section-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; margin-bottom: clamp(48px, 6vw, 80px);
  align-items: end;
}
.section-head .eyebrow { margin-bottom: 16px; }
.section-head .lead { max-width: 36ch; }

/* ───────────── cards / grids ───────────── */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  padding: 36px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
  min-height: 320px;
}
.card .num {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.22em; color: var(--olive);
}
.card .body {
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  color: var(--muted); margin-top: auto;
}

/* photo / placeholder tile */
.photo-tile {
  background:
    repeating-linear-gradient(135deg, rgba(21,17,12,0.04), rgba(21,17,12,0.04) 5px, transparent 5px, transparent 10px),
    var(--bone-tint);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted);
  text-align: center; padding: 24px; line-height: 1.7;
  aspect-ratio: 4 / 5;
}

/* ───────────── footer ───────────── */
.footer {
  background: var(--fg); color: var(--bg);
  padding: clamp(72px, 9vw, 120px) 0 48px;
}
.footer .container { display: grid; gap: 56px; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px; align-items: start;
}
.footer h3 {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(250, 247, 241, 0.5);
  margin-bottom: 18px; font-weight: 400;
}
.footer .editorial { color: var(--olive-soft); max-width: 16ch; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a {
  font-size: 16px; color: rgba(250, 247, 241, 0.78);
}
.footer ul a:hover { color: var(--olive-soft); }
.footer-bot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid rgba(250, 247, 241, 0.12);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(250, 247, 241, 0.4);
  flex-wrap: wrap; gap: 16px;
}
.footer .nav-brand { color: var(--bg); }
.footer .nav-brand svg circle { fill: currentColor; }

/* dark mark accent in footer */
.footer .nav-brand-text .z { color: var(--olive-soft); }

/* ───────────── contact page world map ───────────── */
.contact-head {
  position: relative;
  overflow: hidden;
}
.contact-head > .container {
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.contact-head > .container > * { pointer-events: auto; }
/* Restrict the hero text column on contact so it never collides with the globe */
.contact-head h1,
.contact-head .lead,
.contact-head .page-head-eyebrow-row {
  max-width: 56%;
  width: fit-content;
}
/* The globe is anchored to the right half of the header */
.contact-map {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
  opacity: 0.95;
}
.globe-caption {
  padding-top: 16px; padding-bottom: 8px;
}

@media (max-width: 900px) {
  .contact-head h1,
  .contact-head .lead,
  .contact-head .page-head-eyebrow-row { max-width: 100%; }
  .contact-map {
    position: relative;
    width: 100%;
    height: 320px;
    margin-top: 32px;
  }
}

/* ───────────── page header (interior pages) ───────────── */
.page-head {
  padding: clamp(72px, 10vw, 140px) 0 clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line-soft);
}
.page-head-eyebrow-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 24px; margin-bottom: clamp(40px, 6vw, 72px);
  flex-wrap: wrap;
}
.page-head h1 {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.95; letter-spacing: -0.04em;
  max-width: 16ch;
}
.page-head h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--olive); }
.page-head .lead { margin-top: 40px; max-width: 38ch; font-size: 22px; }

/* engagement model steps */
.process-steps { display: grid; gap: 0; }
.process-step { display: grid; grid-template-columns: 64px 1fr; gap: 32px; padding: 40px 0; border-top: 1px solid var(--line); align-items: start; }
.process-steps .process-step:last-child { border-bottom: 1px solid var(--line); }
.process-step-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--olive); padding-top: 6px; }
.process-step-body h3 { font-family: var(--sans); font-weight: 500; font-size: clamp(20px, 2.5vw, 28px); letter-spacing: -0.02em; margin: 0 0 12px; }
.process-step-body p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 60ch; }
.process-step-output { margin-top: 16px; }

/* approach / process steps (vertical) */
.process-step {
  display: grid; grid-template-columns: 120px 1fr 1.2fr;
  gap: 48px; padding: 48px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.process-step:last-child { border-bottom: 1px solid var(--line); }
.process-step .step-n {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.25em; color: var(--olive);
  padding-top: 6px;
}
.process-step h2 {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05; letter-spacing: -0.02em;
}
.process-step h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--olive); }
.process-step .col-r { display: grid; gap: 20px; }
.process-step .col-r p {
  margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted);
  max-width: 42ch;
}
.process-step .col-r .deliv {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 10px;
}
.deliv-chip {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 999px;
}

/* services page — capability blocks */
.cap-block {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 64px; padding: 56px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.cap-block:last-child { border-bottom: 1px solid var(--line); }
.cap-block .cap-head {
  position: sticky; top: 100px;
}
.cap-block .cap-num {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.25em; color: var(--olive);
  margin-bottom: 14px;
}
.cap-block h2 {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.0; letter-spacing: -0.02em;
}
.cap-block h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--olive); }

.cap-list {
  display: grid; gap: 0;
}
.cap-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--line-soft);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; align-items: start;
}
.cap-item:last-child { border-bottom: 0; }
.cap-item:first-child { padding-top: 0; }
.cap-item h3 {
  font-family: var(--sans); font-weight: 500;
  font-size: 20px; letter-spacing: -0.01em;
  line-height: 1.25;
}
.cap-item h3 .code {
  display: inline-block; margin-top: 6px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; color: var(--muted);
  font-weight: 400;
}
.cap-item p {
  margin: 0; font-size: 15px; line-height: 1.6;
  color: var(--muted);
}

/* sectors page */
.sector-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.sector-card {
  padding: 56px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
  min-height: 380px;
}
.sector-card:nth-child(2n) { border-right: 0; }
.sector-card:nth-last-child(-n+2) { border-bottom: 0; }
.sector-card .sec-num {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.22em; color: var(--olive);
}
.sector-card h2 {
  font-family: var(--sans); font-weight: 500;
  font-size: 36px; line-height: 1.0; letter-spacing: -0.02em;
}
.sector-card h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--olive); }
.sector-card p {
  margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted);
  max-width: 38ch;
}
.sector-card .tech {
  margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px;
}
.sector-card .tech-chip {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); padding: 5px 10px;
  border: 1px solid var(--line); border-radius: 999px;
}

/* contact */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.calendly-frame {
  border: 1px solid var(--line);
  background: var(--bg);
  min-height: 620px;
  display: flex; flex-direction: column;
}
.calendly-head {
  padding: 18px 24px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.calendly-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--olive);
}
.calendly-body {
  flex: 1; padding: 40px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.cal-month {
  font-family: var(--sans); font-weight: 500;
  font-size: 18px; margin-bottom: 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px; font-family: var(--mono); font-size: 12px;
}
.cal-grid .dow {
  color: var(--muted); padding: 6px 0; text-align: center;
  letter-spacing: 0.18em; font-size: 10px;
}
.cal-grid .day {
  padding: 10px 0; text-align: center; border-radius: 50%;
  cursor: pointer; transition: background 160ms ease;
  color: var(--fg);
}
.cal-grid .day:hover { background: var(--bone-tint); }
.cal-grid .day.muted { color: var(--line); cursor: default; }
.cal-grid .day.muted:hover { background: none; }
.cal-grid .day.active { background: var(--fg); color: var(--bg); }
.cal-times { display: grid; gap: 8px; align-content: start; }
.cal-times .slot {
  padding: 12px 16px; border: 1px solid var(--line);
  border-radius: 8px; font-family: var(--mono); font-size: 13px;
  text-align: center; cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}
.cal-times .slot:hover { border-color: var(--fg); }
.cal-times .slot.selected { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* contact form (right col) */
.contact-form-frame {
  border: 1px solid var(--line);
  background: var(--bg);
  display: flex; flex-direction: column;
}
.contact-form-head {
  padding: 18px 24px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.contact-form-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--olive);
}
.contact-form { padding: 32px; display: grid; gap: 20px; }
.contact-form .hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 8px; }
.contact-form .lbl { color: var(--muted); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; box-sizing: border-box;
  padding: 12px 14px;
  font-family: var(--sans); font-size: 15px; color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color 160ms ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--fg);
}
.contact-form textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.contact-form select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%2315110C' fill='none' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.contact-form-submit { justify-content: center; margin-top: 4px; }
.contact-form-note {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  letter-spacing: 0.04em; line-height: 1.6; margin: 4px 0 0;
}
@media (max-width: 980px) {
  .contact-form { padding: 24px; }
  .contact-form-row { grid-template-columns: 1fr; }
}

/* contact list (left col) */
.contact-list { display: grid; gap: 32px; }
.contact-list .row {
  border-top: 1px solid var(--line); padding-top: 16px;
}
.contact-list .row .lbl { margin-bottom: 6px; }
.contact-list .row .v {
  font-family: var(--sans); font-size: 22px;
  letter-spacing: -0.01em;
}
.contact-list .row .v a { border-bottom: 1px solid var(--line); }
.contact-list .row .v a:hover { border-bottom-color: var(--olive); color: var(--olive); }

/* CTA band (bottom of pages) */
.cta-band {
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--fg); color: var(--bg);
}
.cta-band .container {
  display: grid; grid-template-columns: 1fr auto;
  gap: 48px; align-items: end;
}
.cta-band h2 {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.0; letter-spacing: -0.03em;
  max-width: 18ch;
}
.cta-band h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--olive-soft); }
.cta-band .btn-cta {
  background: var(--bg); color: var(--fg);
}
.cta-band .btn-cta:hover { background: var(--olive-soft); color: var(--fg); }

/* ───────────── responsive ───────────── */
/* hamburger + mobile menu (active <= 980px) */
.nav-burger { display: none; }
.mobile-menu { display: none; }

@media (max-width: 980px) {
  :root { --pad-x: 28px; }
  .nav-links { display: none; }
  .nav-burger {
    display: flex; flex-direction: column; justify-content: space-between;
    width: 26px; height: 18px; background: none; border: 0; padding: 0; cursor: pointer;
  }
  .nav-burger span {
    display: block; width: 100%; height: 2px; background: var(--fg);
    transition: transform .28s ease, opacity .2s ease;
    transform-origin: center;
  }
  .nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .mobile-menu {
    display: flex; flex-direction: column; justify-content: center; gap: 28px;
    position: fixed; inset: 0; z-index: 40;
    background: var(--bg); padding: 0 var(--pad-x);
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.4,0,.2,1);
    visibility: hidden;
  }
  .mobile-menu.open { transform: translateX(0); visibility: visible; }
  .mobile-menu a {
    font-family: var(--sans); font-size: 36px; font-weight: 500;
    color: var(--fg); text-decoration: none; letter-spacing: -0.02em;
    line-height: 1.05;
  }
  .mobile-menu a em { font-family: var(--serif); font-style: italic; color: var(--olive); font-weight: 400; }
  .mobile-menu a.active { color: var(--olive); }
  body.menu-open { overflow: hidden; }
  .nav-brand svg { width: 36px; height: 36px; }
  .nav-brand-text { font-size: 18px; letter-spacing: 0.2em; }
  .nav-brand { gap: 10px; }
  .lang-toggle button { padding: 6px 8px; font-size: 10px; }
  .btn-cta { padding: 10px 14px; font-size: 11px; }
  .nav-inner { padding: 14px var(--pad-x); gap: 12px; }
  .nav-right { gap: 12px; }
  .section-head { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
  .cards-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-step { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .process-step .step-n { padding-top: 0; }
  .cap-block { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .cap-block .cap-head { position: static; }
  .cap-item { grid-template-columns: 1fr; gap: 12px; }
  .sector-grid { grid-template-columns: 1fr; }
  .sector-card { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; padding: 40px var(--pad-x); }
  .sector-card:last-child { border-bottom: 0 !important; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .calendly-body { grid-template-columns: 1fr; }
  .proof-grid, .proof-grid-4 { grid-template-columns: 1fr; }
  .proof-cell { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 0; }
  .proof-cell:first-child { padding-top: 0; }
  .proof-cell:last-child { border-bottom: 0; padding-bottom: 0; }
  .cta-band .container { grid-template-columns: 1fr; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .quiz-shell { grid-template-columns: 1fr; gap: 48px; }
  .quiz-progress { position: static; }
  .quiz-progress-hint { display: none; }
}

/* ───────────── tweaks panel scoped overrides ───────────── */
[data-density="airy"] .section { padding: clamp(96px, 13vw, 180px) 0; }
[data-density="compact"] .section { padding: clamp(48px, 7vw, 96px) 0; }

[data-accent="purple"] {
  --olive: oklch(0.50 0.13 295);
  --olive-soft: oklch(0.65 0.13 295);
}
[data-accent="ink"] {
  --olive: var(--fg);
  --olive-soft: var(--bg);
}

/* ───────────── origin / about section ───────────── */
.origin .section-title {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1.02; letter-spacing: -0.03em;
  margin: 24px 0 0; max-width: 18ch;
}
.origin .section-title em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--olive);
}

/* Observation block */
.origin-observation {
  margin-top: 96px; padding: 56px 0;
  border-top: 1px solid var(--line);
}
.origin-observation-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 28px;
}
.origin-observation-quote {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(28px, 3.6vw, 48px); line-height: 1.25;
  max-width: 24ch; color: var(--fg); margin: 0;
}
.origin-observation-quote em {
  font-style: italic; color: var(--olive);
}
.origin-observation-foot {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  margin-top: 56px; padding-top: 32px;
  border-top: 1px solid var(--line-soft);
}
.origin-observation-v {
  font-family: var(--sans); font-size: 18px; line-height: 1.5;
  letter-spacing: -0.005em; margin-top: 12px; max-width: 32ch;
}

/* Name origin */
.origin-name {
  display: grid; grid-template-columns: 320px 1fr; gap: 80px;
  margin-top: 96px; padding-top: 96px; border-top: 1px solid var(--line);
  align-items: start;
}
.origin-name-glyph {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border: 1px solid var(--line);
}
.origin-name-glyph .g {
  font-family: var(--serif); font-style: italic;
  font-size: 96px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1; border: 1px solid var(--line-soft);
  color: var(--fg);
}
.origin-name-glyph .g2 { color: var(--muted); }
.origin-name-glyph .g3 { font-style: normal; font-family: var(--sans); font-weight: 500; font-size: 72px; color: var(--olive); }
.origin-name-glyph .g4 { color: var(--fg); }
.origin-name-title {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(32px, 4vw, 56px); line-height: 1.05;
  letter-spacing: -0.025em; margin: 16px 0 28px;
}
.origin-name-title em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--olive);
}
.origin-name-body p {
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  max-width: 56ch; margin: 0 0 18px; color: var(--fg);
}

/* Mission · Vision · Values */
.origin-mvv {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  margin-top: 96px; padding-top: 56px; border-top: 1px solid var(--line);
}
.origin-mvv-cell .lbl { margin-bottom: 24px; }
.origin-mvv-body {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 22px; line-height: 1.4; color: var(--fg);
  max-width: 28ch; margin: 0;
}
.origin-values {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0;
}
.origin-values li {
  padding: 14px 0; border-top: 1px solid var(--line-soft);
  font-family: var(--sans); font-size: 16px; letter-spacing: -0.005em;
}
.origin-values li:last-child { border-bottom: 1px solid var(--line-soft); }
.origin-v-name { font-weight: 500; }

@media (max-width: 900px) {
  .origin-observation-foot { grid-template-columns: 1fr; gap: 32px; }
  .origin-name { grid-template-columns: 1fr; gap: 32px; }
  .origin-name-glyph { max-width: 280px; }
  .origin-mvv { grid-template-columns: 1fr; gap: 32px; }
}
