/* The Coherence Company — site styles
   Builds on the design-system tokens. */
@import url('../colors_and_type.css');

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--surface-white);
  color: var(--fg-2);
  font-family: var(--font-sans);
  font-weight: var(--w-light);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.page { display: flex; flex-direction: column; min-height: 100vh; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 56px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 56px; }

/* ---------- shared blocks ---------- */
.eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--ink-500);
  margin: 0 0 28px;
}
.section { padding: 144px 0; }
.section-tight { padding: 96px 0; }

.section-title {
  font-family: var(--font-display);
  font-size: 60px; font-weight: 400; letter-spacing: -0.02em;
  color: var(--ink-900); line-height: 1.04; margin: 0 0 32px;
  max-width: 880px; text-wrap: balance;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--teal-800);
}
.section-dek {
  font-size: 19px; font-weight: 300; line-height: 1.6;
  color: var(--ink-600); max-width: 680px; margin: 0;
  text-wrap: pretty;
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 56px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 260ms var(--ease-out), background 260ms var(--ease-out);
}
.nav.scrolled { border-bottom-color: var(--border-2); }
.nav-brand { display: flex; align-items: center; gap: 16px; cursor: pointer; }
.nav-brand img { width: 32px; height: 32px; }
.nav-logo {
  height: 46px;
  width: auto !important;
  display: block;
}
.nav-brand-text {
  display: flex; flex-direction: column; gap: 1px;
}
.nav-brand-name {
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-900);
}
.nav-brand-tag {
  font-size: 11px; font-weight: 300; letter-spacing: 0.06em;
  color: var(--ink-500);
  padding-left: 16px;
  border-left: 1px solid var(--ink-200);
  line-height: 1.3;
  max-width: 110px;
  text-transform: none;
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-size: 13px; font-weight: 400; color: var(--ink-700);
  background: none; border: none; padding: 4px 0;
  border-bottom: 1px solid transparent;
  cursor: pointer; transition: color 180ms, border-color 180ms;
  font-family: inherit;
}
.nav-link:hover { color: var(--ink-900); }
.nav-link.active { color: var(--ink-900); border-bottom-color: var(--teal-500); }
.nav-cta {
  margin-left: 8px;
}

/* ---------- nav dropdown ---------- */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
/* Transparent bridge that extends the hit area over the gap between the
   nav link and the dropdown, preventing mouseleave from firing mid-hover. */
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: 18px;
  pointer-events: auto;
}
.nav-link.has-sub { display: flex; align-items: center; gap: 4px; }
.nav-chevron {
  font-size: 11px; color: var(--ink-400); line-height: 1;
  transition: transform 200ms var(--ease-out);
  transform: rotate(90deg);
  display: inline-block;
}
.nav-item:hover .nav-chevron { transform: rotate(270deg); }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 210px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
  z-index: 100;
}
.nav-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* CSS hover as a secondary layer — shows the dropdown via :hover in addition
   to the JS .open class, so it stays visible even if React state lags. */
.nav-item:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-700);
  text-decoration: none;
  transition: background 140ms, color 140ms;
}
.nav-dropdown-link:hover,
.nav-dropdown-link.active {
  background: var(--teal-050, #f0fdfa);
  color: var(--teal-800);
}
.nav-dropdown-icon {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: var(--teal-600);
  flex-shrink: 0;
}

/* ---------- buttons ---------- */
.btn {
  font-family: inherit; font-weight: 400; font-size: 14px;
  padding: 13px 24px; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer; line-height: 1;
  transition: background 180ms var(--ease-out),
              color 180ms var(--ease-out),
              border-color 180ms var(--ease-out),
              box-shadow 220ms var(--ease-out),
              transform 180ms var(--ease-out);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal-800); color: #fff; }
.btn-primary:hover { background: var(--teal-900); box-shadow: 0 8px 24px rgba(31,154,154,0.25); }
.btn-accent { background: var(--teal-500); color: var(--ink-900); }
.btn-accent:hover { background: var(--teal-700); color: #fff; box-shadow: var(--shadow-teal); }
.btn-secondary { background: transparent; color: var(--ink-900); border-color: var(--ink-300); }
.btn-secondary:hover { border-color: var(--teal-800); color: var(--teal-800); }
.btn-ghost { background: transparent; color: var(--ink-700); }
.btn-ghost:hover { color: var(--ink-900); background: var(--ink-050); }
.btn iconify-icon { font-size: 16px; display: inline-block; vertical-align: -2px; }
.btn-lg { padding: 16px 28px; font-size: 15px; border-radius: 12px; }
.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: 8px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 760px;
  padding: 80px 0 144px;
  background: var(--grad-hero);
  overflow: hidden;
}
.hero-watermark {
  position: absolute;
  right: -120px; top: 40px;
  width: 820px; height: 820px;
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
}

/* ---------- calligraphy accents ----------
   Black ink on white paper (JPEG). On light surfaces we use `multiply` to drop
   the paper and keep the ink, then dial in low opacity so it reads as a
   charcoal whisper (matches the brand mark's vocabulary). On dark surfaces
   we invert + use `screen` so the ink shows up as a soft white wash. */
.calli {
  position: absolute;
  pointer-events: none;
  user-select: none;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  mix-blend-mode: multiply;
  opacity: 0.07;
  z-index: 0;
}
.calli.on-dark {
  filter: invert(1) brightness(1.2);
  mix-blend-mode: screen;
  opacity: 0.10;
}
.calli.in-gradient {
  /* For light teal→white gradient backgrounds where multiply makes the ink
     pick up a faint teal tone from the wash beneath — perfect. */
  mix-blend-mode: multiply;
  opacity: 0.09;
}
.calli.subtle { opacity: 0.045; }
.calli.faint  { opacity: 0.035; }

/* ---------- calligraphy position/scale variants ----------
   Reusable placements so motifs are never stamped in the same spot.
   Pair a variant with a motif file (and optionally `on-dark`/`subtle`/`faint`). */
.calli.v-edge-right { width: 720px; height: 720px; right: -180px; top: 18%; }
.calli.v-edge-left  { width: 720px; height: 720px; left: -180px;  top: 22%; }
.calli.v-wide-top   { width: 1400px; height: 480px; left: 50%; top: 34%; transform: translateX(-50%); }
.calli.v-corner-br  { width: 600px;  height: 600px; right: -140px; bottom: -160px; }
.calli.v-corner-bl  { width: 600px;  height: 600px; left: -140px;  bottom: -160px; }
.calli.v-full       { width: 940px;  height: 940px; right: -180px; top: 50%; transform: translateY(-50%); }

@media (max-width: 960px) {
  .calli.v-edge-right, .calli.v-edge-left,
  .calli.v-corner-br, .calli.v-corner-bl,
  .calli.v-full { width: 460px; height: 460px; }
  .calli.v-wide-top { width: 900px; height: 320px; }
}
.hero-vertical {
  position: absolute;
  right: 28px; top: 0; bottom: 0;
  display: flex; align-items: center;
  z-index: 3;
}
.hero-vertical-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-800);
}
.hero-inner { position: relative; z-index: 2; }
.hero-mark {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 80px;
}
.hero-mark img { width: 64px; height: 64px; }
.hero-mark-text {
  display: flex; flex-direction: column;
}
.hero-mark-name {
  font-size: 12px; font-weight: 500; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--ink-900);
}
.hero-mark-tag {
  font-size: 12px; font-weight: 300; color: var(--ink-600);
  margin-top: 2px;
}
.hero-h1 {
  font-family: var(--font-display);
  font-size: 104px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.98;
  color: var(--ink-900);
  margin: 0 0 36px;
  max-width: 1000px;
}
.hero-h1 .accent {
  font-style: italic;
  color: var(--teal-800);
  font-weight: 400;
}
.hero-sub {
  font-size: 22px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink-700);
  max-width: 620px;
  margin: 0 0 48px;
}
.hero-ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-meta {
  display: flex; gap: 32px; align-items: center;
  margin-top: 56px; padding-top: 28px;
  border-top: 1px solid rgba(15,15,15,0.08);
  max-width: 720px;
  font-size: 13px; font-weight: 300; color: var(--ink-600);
}
.hero-meta-item {
  display: flex; align-items: center; gap: 8px;
}
.hero-meta-item .dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--teal-700);
}

/* ---------- problem / stats ---------- */
.problem { background: var(--surface-white); position: relative; overflow: hidden; }
.problem .calli {
  width: 720px; height: 720px;
  right: -180px; top: 40%;
  background-image: url('../assets/backgrounds/calligraphy-23.jpg');
}
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; margin-top: 80px;
}
.stat {
  border-top: 1px solid var(--ink-200);
  padding-top: 32px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 88px; font-weight: 400; letter-spacing: -0.02em;
  line-height: 1; color: var(--teal-800);
  margin-bottom: 16px;
  display: flex; align-items: baseline; gap: 6px;
}
.stat-num small {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 400; color: var(--teal-800);
  letter-spacing: -0.01em;
}
.stat-label {
  font-size: 15px; font-weight: 300; line-height: 1.5;
  color: var(--ink-700);
  max-width: 280px;
}
.stat-source {
  font-size: 11px; font-weight: 400; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-400);
  margin-top: 14px;
}

.problem-conclusion {
  margin-top: 96px; padding-top: 56px;
  border-top: 1px solid var(--ink-200);
  display: grid; grid-template-columns: 1fr 1fr; gap: 96px;
  align-items: start;
}
.problem-conclusion h3 {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 400; letter-spacing: -0.015em;
  color: var(--ink-900); margin: 0; line-height: 1.12;
  text-wrap: balance;
}
.problem-conclusion h3 em {
  font-style: italic;
  color: var(--teal-800);
}
.problem-conclusion p {
  font-size: 17px; font-weight: 300; line-height: 1.65;
  color: var(--ink-600); margin: 0;
}

/* ---------- missing layer ---------- */
.missing-layer {
  background: var(--surface-off);
}
.layer-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 72px;
}
.layer-card {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: 18px;
  padding: 40px 36px 44px;
  position: relative;
  transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out), border-color 280ms var(--ease-out);
}
.layer-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
  border-color: var(--teal-200);
}
.layer-icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--teal-050);
  color: var(--teal-900);
  margin-bottom: 28px;
}
.layer-icon svg, .layer-icon iconify-icon { width: 26px; height: 26px; font-size: 26px; stroke-width: 1.5; }
.layer-num {
  position: absolute; top: 28px; right: 32px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em;
  color: var(--ink-400);
}
.layer-card h3 {
  font-size: 24px; font-weight: 400; color: var(--ink-900);
  letter-spacing: -0.01em; margin: 0 0 14px; line-height: 1.2;
}
.layer-card p {
  font-size: 15px; font-weight: 300; line-height: 1.6;
  color: var(--ink-600); margin: 0;
}

/* ---------- coherence journey ---------- */
.journey {
  background: linear-gradient(180deg, var(--surface-white) 0%, var(--teal-050) 100%);
  position: relative; overflow: hidden;
}
.journey .calli {
  width: 1400px; height: 480px;
  left: 50%; top: 38%;
  transform: translateX(-50%);
  background-image: url('../assets/backgrounds/calligraphy-32.jpg');
  opacity: 0.055;
}
.journey-track {
  margin-top: 96px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.journey-track::before {
  content: ""; position: absolute;
  top: 60px; left: 8%; right: 8%;
  height: 1px; background: var(--ink-200);
  z-index: 0;
}
.journey-step {
  position: relative;
  padding: 0 12px;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center;
}
.journey-num {
  width: 40px; height: 40px; border-radius: 999px;
  background: #fff; color: var(--teal-800);
  border: 1px solid var(--teal-200);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  margin-bottom: 32px;
  position: relative; z-index: 1;
}
.journey-step.void .journey-num {
  background: var(--teal-800); color: #fff; border-color: var(--teal-800);
  box-shadow: 0 6px 18px rgba(31,154,154,0.25);
}
.journey-name {
  font-size: 19px; font-weight: 400; color: var(--ink-900);
  letter-spacing: -0.01em; margin-bottom: 10px;
}
.journey-step.void .journey-name { color: var(--teal-800); }
.journey-current {
  font-size: 12px; font-weight: 400; line-height: 1.5;
  color: var(--ink-500); padding: 0 8px;
  min-height: 64px;
}
.journey-step.void .journey-current {
  color: var(--teal-900); font-weight: 500; font-style: italic;
}
.journey-callout {
  margin-top: 80px;
  background: #fff;
  border: 1px solid var(--teal-200);
  border-radius: 16px;
  padding: 28px 36px;
  display: grid; grid-template-columns: auto 1fr; gap: 28px;
  align-items: center;
  max-width: 880px; margin-left: auto; margin-right: auto;
  box-shadow: 0 8px 32px rgba(31,154,154,0.08);
}
.journey-callout-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--teal-050); color: var(--teal-800);
  display: flex; align-items: center; justify-content: center;
}
.journey-callout-icon svg, .journey-callout-icon iconify-icon { width: 22px; height: 22px; font-size: 22px; stroke-width: 1.5; }
.journey-callout h4 {
  font-size: 16px; font-weight: 500; color: var(--ink-900);
  margin: 0 0 4px;
}
.journey-callout p {
  font-size: 14px; font-weight: 300; color: var(--ink-600);
  margin: 0; line-height: 1.55;
}
.journey-intro {
  margin-top: 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start;
}
.journey-intro p {
  font-size: 16px; font-weight: 300; line-height: 1.65;
  color: var(--ink-600); margin: 0;
}
.journey-intro p + p { margin-top: 18px; }

/* ---------- seed ---------- */
.seed {
  background: var(--ink-900);
  color: rgba(255,255,255,0.85);
  position: relative;
  overflow: hidden;
}
.seed-watermark {
  position: absolute;
  right: -160px; bottom: -160px;
  width: 720px; height: 720px;
  opacity: 0.06;
  pointer-events: none;
  filter: invert(1);
}
.seed .calli {
  width: 880px; height: 880px;
  right: -160px; bottom: -200px;
}
.seed .eyebrow { color: var(--teal-300); }
.seed .section-title { color: #fff; }
.seed .section-title em { color: var(--teal-400); }
.seed .section-dek { color: rgba(255,255,255,0.7); }
.seed-meta {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; margin-top: 80px;
  position: relative; z-index: 2;
}
.seed-meta-item {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
}
.seed-meta-key {
  font-size: 11px; font-weight: 500; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--teal-300);
  margin-bottom: 12px;
}
.seed-meta-val {
  font-size: 28px; font-weight: 300; letter-spacing: -0.01em;
  color: #fff; line-height: 1.15;
}
.seed-meta-val small {
  display: block; font-size: 14px; color: rgba(255,255,255,0.6);
  margin-top: 8px; font-weight: 300;
}

/* ---------- invite ---------- */
.invite { background: var(--surface-white); }
.invite-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-top: 72px;
}
.invite-chip {
  border: 1px solid var(--border-1);
  border-radius: 14px;
  padding: 20px 22px;
  background: #fff;
  display: flex; align-items: center; gap: 14px;
  transition: border-color 220ms, background 220ms, transform 220ms;
}
.invite-chip:hover {
  border-color: var(--teal-300);
  background: var(--teal-050);
  transform: translateY(-1px);
}
.invite-chip-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--teal-050);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-800);
  flex-shrink: 0;
}
.invite-chip-icon svg, .invite-chip-icon iconify-icon { width: 18px; height: 18px; font-size: 18px; stroke-width: 1.5; }
.invite-chip-text {
  font-size: 15px; font-weight: 400; color: var(--ink-900);
  letter-spacing: -0.005em;
}
.invite-note {
  margin-top: 64px;
  background: var(--teal-050);
  border-radius: 16px;
  padding: 32px 40px;
  display: grid; grid-template-columns: auto 1fr; gap: 28px;
  align-items: center;
  max-width: 980px;
}
.invite-note-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: #fff; color: var(--teal-800);
  display: flex; align-items: center; justify-content: center;
}
.invite-note-icon svg, .invite-note-icon iconify-icon { width: 22px; height: 22px; font-size: 22px; stroke-width: 1.5; }
.invite-note p {
  font-size: 16px; font-weight: 300; color: var(--ink-700);
  line-height: 1.6; margin: 0;
  text-wrap: pretty;
}

/* ---------- process / sessions ---------- */
.process { background: var(--surface-off); }
.sessions {
  margin-top: 72px;
  display: flex; flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-1);
}
.session {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 56px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-1);
  align-items: start;
}
.session-label {
  display: flex; flex-direction: column; gap: 8px;
}
.session-num {
  font-family: var(--font-display);
  font-size: 68px; font-weight: 400; color: var(--teal-800);
  letter-spacing: -0.02em; line-height: 1;
  font-feature-settings: "tnum";
}
.session-tag {
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-500);
}
.session-body h4 {
  font-size: 24px; font-weight: 300; color: var(--ink-900);
  letter-spacing: -0.01em; margin: 0 0 12px; line-height: 1.25;
}
.session-body p {
  font-size: 15px; font-weight: 300; line-height: 1.65;
  color: var(--ink-600); margin: 0;
  max-width: 720px;
}
.process-footnote {
  margin-top: 56px;
  font-size: 14px; font-weight: 300; line-height: 1.65;
  color: var(--ink-500); max-width: 720px;
  font-style: italic;
}

/* ---------- join (final CTA) ---------- */
.join {
  position: relative;
  background: var(--grad-hero);
  padding: 160px 0;
  overflow: hidden;
}
.join-watermark {
  position: absolute;
  left: -180px; bottom: -180px;
  width: 760px; height: 760px;
  opacity: 0.10;
  pointer-events: none;
}
.join .calli {
  width: 820px; height: 820px;
  left: -160px; bottom: -180px;
}
.join-inner {
  position: relative; z-index: 2;
  text-align: center;
}
.join-mark { width: 88px; height: 88px; margin: 0 auto 48px; }
.join-h2 {
  font-family: var(--font-display);
  font-size: 88px; font-weight: 400; letter-spacing: -0.025em;
  color: var(--ink-900); line-height: 1.02;
  margin: 0 0 32px; text-wrap: balance;
}
.join-h2 em {
  font-style: italic;
  color: var(--teal-800);
}
.join-sub {
  font-size: 20px; font-weight: 300; line-height: 1.5;
  color: var(--ink-700); max-width: 580px;
  margin: 0 auto 48px;
}
.join-ctas {
  display: flex; gap: 12px; justify-content: center;
  align-items: center; flex-wrap: wrap;
}
.join-rsvp {
  margin-top: 56px; padding-top: 32px;
  border-top: 1px solid rgba(15,15,15,0.10);
  display: flex; justify-content: center; gap: 32px;
  font-size: 13px; font-weight: 400; color: var(--ink-700);
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.join-rsvp-item {
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: 0.04em;
}
.join-rsvp-item svg, .join-rsvp-item iconify-icon { width: 14px; height: 14px; font-size: 14px; stroke-width: 1.5; color: var(--teal-800); }

/* ---------- footer ---------- */
.footer {
  background: #fff;
  padding: 72px 0 32px;
  border-top: 1px solid var(--border-2);
}
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 64px; align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-brand img { width: 44px; height: 44px; }
.footer-brand-name {
  font-size: 12px; font-weight: 500; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--ink-900);
}
.footer-brand-tag {
  font-size: 13px; font-weight: 300; color: var(--ink-600);
  max-width: 340px; line-height: 1.55;
}
.footer-col h6 {
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-500); margin: 0 0 16px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px; font-weight: 300; color: var(--ink-700);
  border: none; cursor: pointer;
}
.footer-col a:hover { color: var(--teal-800); }
.footer-bottom {
  margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--border-2);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 300; color: var(--ink-500);
}

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%);
  background: var(--teal-900); color: #fff;
  padding: 14px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 400;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 12px 32px rgba(15,15,15,0.25);
  z-index: 200;
  animation: toastIn 280ms var(--ease-out);
}
.toast svg, .toast iconify-icon { width: 16px; height: 16px; font-size: 16px; stroke-width: 2; color: var(--teal-300); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity:1; transform: translate(-50%, 0); } }

/* ---------- modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(15,15,15,0.5);
  backdrop-filter: blur(6px); z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 32px; animation: fadeIn 200ms ease-out;
}
.modal {
  background: #fff; border-radius: 20px;
  padding: 48px 48px 40px;
  max-width: 520px; width: 100%;
  box-shadow: var(--shadow-4);
  animation: fadeUp 280ms var(--ease-out);
}
.modal h3 {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 400; letter-spacing: -0.015em;
  color: var(--ink-900); margin: 0 0 12px; line-height: 1.1;
}
.modal p {
  font-size: 15px; font-weight: 300; color: var(--ink-600);
  line-height: 1.6; margin: 0 0 28px;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label {
  font-size: 11px; font-weight: 500; color: var(--ink-700);
  letter-spacing: 0.18em; text-transform: uppercase;
}
.field input, .field textarea, .field select {
  font-family: inherit; font-weight: 300; font-size: 15px;
  color: var(--ink-900);
  padding: 14px 16px; border-radius: 10px;
  border: 1px solid var(--ink-200);
  background: #fff; outline: none;
  transition: border-color 180ms, box-shadow 180ms;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(75,219,219,0.35);
}
.modal-actions { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
@keyframes fadeIn { from {opacity:0} to {opacity:1} }
@keyframes fadeUp { from {opacity:0; transform: translateY(12px)} to {opacity:1; transform: translateY(0)} }

/* ---------- reveal ---------- */
.reveal { animation: fadeUp 600ms var(--ease-out) both; }
.reveal-2 { animation-delay: 100ms; }
.reveal-3 { animation-delay: 180ms; }
.reveal-4 { animation-delay: 260ms; }

/* ===================================================================
   New architecture · shared section patterns
   =================================================================== */

/* Section tones */
.section-white     { background: var(--surface-white); position: relative; overflow: hidden; }
.section-off       { background: var(--surface-off);   position: relative; overflow: hidden; }
.section-teal      { background: linear-gradient(180deg, var(--surface-white) 0%, var(--teal-050) 100%);
                     position: relative; overflow: hidden; }
.section-sand      { background: var(--surface-sand, #faf5ec); position: relative; overflow: hidden; }
.section-ink       { background: var(--ink-900); color: rgba(255,255,255,0.85);
                     position: relative; overflow: hidden; }
.section-ink .eyebrow      { color: var(--teal-300); }
.section-ink .section-title { color: #fff; }
.section-ink .section-title em { color: var(--teal-400); }
.section-ink .section-dek   { color: rgba(255,255,255,0.72); }

/* Section head wrapper */
.section-head { max-width: 880px; position: relative; z-index: 2; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .section-title,
.section-head.center .section-dek { margin-left: auto; margin-right: auto; }
.section-head + * { margin-top: 56px; position: relative; z-index: 2; }

/* Hero light variant (generic, replaces page-specific) */
.hero-light { background: var(--grad-hero); }

/* ---------- Card grid ---------- */
.card-grid {
  display: grid; gap: 20px;
  position: relative; z-index: 2;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-card {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: 18px;
  padding: 36px 32px 38px;
  position: relative;
  transition: transform 280ms var(--ease-out),
              box-shadow 280ms var(--ease-out),
              border-color 280ms var(--ease-out);
  display: flex; flex-direction: column;
}
.grid-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
  border-color: var(--teal-200);
}
.grid-card-num {
  position: absolute; top: 24px; right: 28px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em;
  color: var(--ink-400);
}
.grid-card-icon {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 13px;
  background: var(--teal-050); color: var(--teal-900);
  margin-bottom: 24px;
}
.grid-card-icon svg, .grid-card-icon iconify-icon { width: 24px; height: 24px; font-size: 24px; stroke-width: 1.5; }
.grid-card h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 400; color: var(--ink-900);
  letter-spacing: -0.01em; margin: 0 0 12px; line-height: 1.22;
}
.grid-card p {
  font-size: 15px; font-weight: 300; line-height: 1.6;
  color: var(--ink-600); margin: 0;
  flex: 1;
}
.grid-card-link {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--teal-800);
  letter-spacing: 0.02em;
  text-decoration: none;
}
.grid-card-link svg, .grid-card-link iconify-icon { width: 14px; height: 14px; font-size: 14px; stroke-width: 1.75; }
.grid-card-link:hover { color: var(--teal-900); }

.card-grid.cols-4 .grid-card { padding: 28px 24px 30px; }
.card-grid.cols-4 .grid-card h3 { font-size: 18px; }
.card-grid.cols-4 .grid-card p { font-size: 14px; }

/* dark variant on ink sections */
.section-ink .grid-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.85);
}
.section-ink .grid-card h3 { color: #fff; }
.section-ink .grid-card p  { color: rgba(255,255,255,0.7); }
.section-ink .trust-list li { color: rgba(255,255,255,0.82); }

/* ---------- Tag list ---------- */
.tag-list {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px;
  position: relative; z-index: 2;
}
.tag-list li {
  font-size: 13px; font-weight: 400; color: var(--ink-800);
  background: #fff;
  border: 1px solid var(--border-1);
  padding: 8px 14px; border-radius: 999px;
  letter-spacing: 0.01em;
}
.section-off .tag-list li { background: #fff; }

/* ---------- Timeline ---------- */
.timeline {
  list-style: none; padding: 0; margin: 56px 0 0;
  position: relative; z-index: 2;
  border-top: 1px solid var(--border-1);
}
.timeline-step {
  display: grid; grid-template-columns: 120px 1fr;
  gap: 48px; padding: 28px 0;
  border-bottom: 1px solid var(--border-1);
  align-items: baseline;
}
.timeline-num {
  font-family: var(--font-display);
  font-size: 44px; font-weight: 400;
  color: var(--teal-800); letter-spacing: -0.02em;
  line-height: 1;
}
.timeline-body h4 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 400; color: var(--ink-900);
  letter-spacing: -0.01em; margin: 0 0 8px; line-height: 1.25;
}
.timeline-body p {
  font-size: 15px; font-weight: 300; line-height: 1.65;
  color: var(--ink-600); margin: 0; max-width: 680px;
}

/* ---------- Fit / Poor-fit ---------- */
.fit-compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 56px; position: relative; z-index: 2;
}
.fit-col {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: 18px;
  padding: 32px 32px 36px;
}
.fit-col.fit-strong { border-color: var(--teal-200); background: var(--teal-050); }
.fit-head {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-700);
  margin-bottom: 20px;
}
.fit-col.fit-strong .fit-head { color: var(--teal-900); }
.fit-col.fit-poor   .fit-head { color: var(--ink-500); }
.fit-head svg, .fit-head iconify-icon { width: 18px; height: 18px; font-size: 18px; stroke-width: 1.5; }
.fit-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.fit-col li {
  font-size: 15px; font-weight: 300; line-height: 1.55;
  color: var(--ink-800);
  padding-left: 22px; position: relative;
}
.fit-col li::before {
  content: "";
  position: absolute; left: 0; top: 0.7em;
  width: 8px; height: 1px; background: var(--ink-400);
}
.fit-col.fit-strong li::before { background: var(--teal-700); }

/* ---------- Tensions ---------- */
.tensions {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 56px;
  position: relative; z-index: 2;
}
.tension {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: 18px;
  padding: 32px 30px 34px;
}
.tension-num {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 400; color: var(--teal-800);
  letter-spacing: -0.02em; line-height: 1; margin-bottom: 18px;
}
.tension h4 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 400; color: var(--ink-900);
  letter-spacing: -0.01em; margin: 0 0 10px; line-height: 1.25;
}
.tension p {
  font-size: 14px; font-weight: 300; line-height: 1.6;
  color: var(--ink-600); margin: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  padding: 112px 0;
  position: relative; overflow: hidden;
}
.cta-sand { background: var(--surface-sand, #faf5ec); }
.cta-teal { background: linear-gradient(180deg, var(--teal-050) 0%, var(--surface-white) 100%); }
.cta-ink  { background: var(--ink-900); color: #fff; }
.cta-band-inner { text-align: center; }
.cta-band-inner .eyebrow { margin-left: auto; margin-right: auto; }
.cta-band-title {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 400; letter-spacing: -0.02em;
  color: var(--ink-900); line-height: 1.05;
  margin: 0 auto 24px; max-width: 820px;
  text-wrap: balance;
}
.cta-band-title em { font-style: italic; color: var(--teal-800); }
.cta-ink .cta-band-title { color: #fff; }
.cta-ink .cta-band-title em { color: var(--teal-400); }
.cta-band-body {
  font-size: 18px; font-weight: 300; color: var(--ink-700);
  line-height: 1.55; max-width: 620px;
  margin: 0 auto 36px;
}
.cta-ink .cta-band-body { color: rgba(255,255,255,0.72); }

/* ---------- Three-step horizontal flow ---------- */
.flow-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 56px;
  counter-reset: flow;
  position: relative; z-index: 2;
}
.flow-step {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: 18px;
  padding: 36px 32px;
  counter-increment: flow;
  position: relative;
}
.flow-step::before {
  content: counter(flow, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 60px; font-weight: 400; color: var(--teal-200);
  line-height: 1; display: block; margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.flow-step h4 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 400; color: var(--ink-900);
  margin: 0 0 10px; letter-spacing: -0.01em; line-height: 1.25;
}
.flow-step p {
  font-size: 14px; font-weight: 300; line-height: 1.6;
  color: var(--ink-600); margin: 0;
}

/* ---------- Routing cards (question → segment) ---------- */
.routing-list {
  margin-top: 56px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative; z-index: 2;
}
.routing-card {
  display: grid; grid-template-columns: 1fr auto;
  gap: 32px; align-items: center;
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: 16px;
  padding: 24px 28px;
  text-decoration: none;
  transition: border-color 220ms, background 220ms, transform 220ms;
}
.routing-card:hover {
  border-color: var(--teal-300);
  background: var(--teal-050);
  transform: translateX(2px);
}
.routing-q {
  font-size: 17px; font-weight: 400; color: var(--ink-900);
  letter-spacing: -0.005em;
}
.routing-a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--teal-800);
  letter-spacing: 0.02em;
}
.routing-a svg, .routing-a iconify-icon { width: 16px; height: 16px; font-size: 16px; stroke-width: 1.75; }

/* ---------- Two-column editorial ---------- */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  margin-top: 48px; position: relative; z-index: 2;
  align-items: start;
}
.two-col p {
  font-size: 16px; font-weight: 300; line-height: 1.7;
  color: var(--ink-600); margin: 0 0 14px;
}

/* ---------- Dashboard preview (Coherence Conversations Event host view) ---------- */
.dash-preview {
  margin-top: 56px;
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: 22px;
  padding: 36px 40px;
  position: relative; z-index: 2;
  box-shadow: 0 12px 48px rgba(15,15,15,0.05);
}
.dash-preview h5 {
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-500); margin: 0 0 18px;
}
.dash-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.dash-tile {
  background: var(--teal-050);
  border-radius: 12px;
  padding: 18px 18px 20px;
}
.dash-tile-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal-900);
  margin-bottom: 8px;
}
.dash-tile-val {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 400; color: var(--ink-900);
  letter-spacing: -0.01em; line-height: 1;
}
.dash-tile-sub {
  font-size: 12px; font-weight: 300; color: var(--ink-600);
  margin-top: 6px;
}

/* ---------- Trust bullets ---------- */
.trust-list {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px; position: relative; z-index: 2;
}
.trust-list li {
  font-size: 15px; font-weight: 300; color: var(--ink-800);
  padding-left: 28px; position: relative; line-height: 1.55;
}
.trust-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--teal-050);
  box-shadow: inset 0 0 0 1.5px var(--teal-700);
}

/* ---------- Quote / manifesto ---------- */
.manifesto {
  margin-top: 32px;
  padding: 48px 0 0;
  position: relative; z-index: 2;
}
.manifesto p {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 400; line-height: 1.3;
  color: var(--ink-900); margin: 0 0 24px;
  letter-spacing: -0.015em; max-width: 880px;
  text-wrap: balance;
}
.manifesto p em { font-style: italic; color: var(--teal-800); }

/* ---------- Form (Start a Conversation) ---------- */
.conv-form {
  margin-top: 48px;
  max-width: 720px;
  position: relative; z-index: 2;
}
.conv-form .field { margin-bottom: 22px; }
.conv-form-actions { margin-top: 16px; display: flex; gap: 12px; }

/* ---------- Profile cards (Team) ---------- */
.profile-grid {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  position: relative; z-index: 2;
}
.profile-card {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: 18px;
  padding: 32px 28px;
}
.profile-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--teal-050); color: var(--teal-900);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 22px; font-weight: 400;
  margin-bottom: 20px;
}
.profile-card h4 {
  font-size: 18px; font-weight: 500; color: var(--ink-900);
  margin: 0 0 4px; letter-spacing: -0.005em;
}
.profile-role {
  font-size: 12px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--teal-800);
  margin-bottom: 14px;
}
.profile-bio {
  font-size: 14px; font-weight: 300; line-height: 1.6;
  color: var(--ink-600); margin: 0;
}

/* ---------- Nav anchors (replaces button-based) ---------- */
.nav-brand { text-decoration: none; }
.nav-link { text-decoration: none; }
a.nav-link {
  font-size: 13px; font-weight: 400; color: var(--ink-700);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 180ms, border-color 180ms;
}
a.nav-link:hover  { color: var(--ink-900); }
a.nav-link.active { color: var(--ink-900); border-bottom-color: var(--teal-500); }
a.btn { text-decoration: none; }

/* ---------- Page hero generic header (non-home) ---------- */
.page-hero {
  position: relative;
  padding: 96px 0 112px;
  background: var(--grad-hero);
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: 72px; font-weight: 400; letter-spacing: -0.025em;
  line-height: 1.02; color: var(--ink-900);
  margin: 24px 0 28px; max-width: 980px;
}
.page-hero h1 em { font-style: italic; color: var(--teal-800); }
.page-hero .page-hero-sub {
  font-size: 19px; font-weight: 300; line-height: 1.55;
  color: var(--ink-700); max-width: 640px; margin: 0 0 36px;
}
.page-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .container, .container-narrow { padding: 0 28px; }
  .section { padding: 96px 0; }
  .section-title { font-size: 40px; }
  .hero-h1 { font-size: 64px; }
  .page-hero h1 { font-size: 48px; }
  .cta-band-title { font-size: 38px; }
  .card-grid.cols-3, .card-grid.cols-4,
  .stats, .seed-meta,
  .layer-grid, .invite-grid,
  .tensions, .flow-steps,
  .profile-grid, .dash-grid,
  .fit-compare, .two-col,
  .trust-list, .problem-conclusion {
    grid-template-columns: 1fr;
  }
  .journey-track { grid-template-columns: 1fr; gap: 24px; }
  .journey-track::before { display: none; }
  .timeline-step { grid-template-columns: 60px 1fr; gap: 20px; }
  .nav { padding: 14px 24px !important; }
  .nav-links { gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
  .hero-vertical { display: none; }
}

