/* ═══════════════════════════════════════════════════════════════
   BROTHERHOOD — scroll story sections
   manifesto · rite I match · rite II houses · rite III capital
   · get the app · faq · footer · responsive · reduced motion
   ═══════════════════════════════════════════════════════════════ */

/* ── shared rite grammar ──────────────────────────────────────── */
.rite { position: relative; }
.rite-copy { max-width: 52ch; }
.rite-kicker {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.1rem;
}
.rite-num {
  font-family: var(--font-serif); font-style: italic;
  font-size: var(--step-0);
  color: var(--champagne);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.rite-rule {
  flex: 1 1 auto; max-width: 180px; height: 1px;
  background: linear-gradient(90deg, oklch(0.87 0.06 80 / 0.55), oklch(0.87 0.06 80 / 0));
  transform-origin: 0 50%;
}
.rite-title {
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.rite-body {
  margin-top: 1.3rem;
  font-size: var(--step-0);
  color: var(--ink-dim);
  max-width: 46ch;
}
.rite-body--dim { color: var(--muted); margin-top: 0.8rem; }
.rite-caption {
  margin-top: 1.6rem;
  font-family: var(--font-serif); font-style: italic;
  color: var(--muted); font-size: var(--step-0);
}


/* ── rite I · the match ───────────────────────────────────────── */
.match { height: 420svh; background: var(--bg); }
.match-pin {
  position: sticky; top: 0; height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(4.5rem, 10vh, 6rem) var(--space-gutter) 0;
  overflow: clip;
}
.match-pin::before { /* warm hearth behind the phone */
  content: "";
  position: absolute; right: -6%; top: 18%;
  width: 58%; aspect-ratio: 1;
  background: radial-gradient(50% 50% at 50% 50%, oklch(0.32 0.09 20 / 0.34), oklch(0.32 0.09 20 / 0) 70%);
  pointer-events: none;
}

.signals { list-style: none; padding: 0; margin: 1.7rem 0 0; display: grid; gap: 0.55rem; }
.signal {
  --lit: 0;
  position: relative;
  width: fit-content;
  padding: 0.5em 1em;
  border-radius: 9px;
  font-size: var(--step--1);
  font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--line-soft);
  color: color-mix(in oklab, var(--muted), var(--ink) calc(var(--lit) * 100%));
  opacity: calc(0.4 + var(--lit) * 0.6);
  transform: translateX(calc((1 - var(--lit)) * -10px));
}
.signal::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px oklch(0.7 0.17 12 / 0.65);
  background: oklch(0.54 0.2 8 / 0.12);
  opacity: var(--lit);
  pointer-events: none;
}

/* phone */
.phone-wrap {
  position: relative;
  justify-self: center;
  display: grid;
  justify-items: center;
}
.phone {
  position: relative;
  aspect-ratio: 390 / 800;
  height: min(72svh, 640px);
  border-radius: 50px;
  background: oklch(0.14 0.004 30);
  box-shadow:
    inset 0 0 0 3px oklch(0.32 0.008 40),
    inset 0 0 0 5px oklch(0.09 0 0),
    0 30px 80px -20px oklch(0 0 0 / 0.75),
    0 0 90px oklch(0.54 0.2 8 / 0.12);
}
.phone-notch {
  position: absolute; top: 14px; left: 50%;
  width: 96px; height: 24px;
  margin-left: -48px; /* GSAP-proof centring */
  border-radius: 999px;
  background: oklch(0.06 0 0);
  z-index: 3;
}
.phone-screen {
  --flash: 0;
  position: absolute; inset: 9px;
  border-radius: 42px;
  overflow: clip;
  background: linear-gradient(210deg, oklch(0.17 0.008 35), oklch(0.115 0.004 30) 64%);
  display: flex; flex-direction: column;
}
.phone-screen::after { /* seal flash */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(70% 55% at 50% 46%, oklch(0.54 0.2 8 / 0.55), oklch(0.54 0.2 8 / 0) 74%);
  opacity: var(--flash);
  pointer-events: none;
  z-index: 4;
}
.app-top {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 3.2rem 1.2rem 0.9rem;
}
.app-title { font-family: var(--font-display); font-size: 1.16rem; letter-spacing: 0.02em; }
.app-city { font-size: 0.62rem; letter-spacing: 0.18em; color: var(--muted); }

.cardstack { position: relative; flex: 1; margin: 0.2rem 1rem 1rem; }
.mcard {
  position: absolute; inset: 0;
  border-radius: 24px;
  overflow: clip;
  background: var(--surface);
  box-shadow: 0 18px 44px -18px oklch(0 0 0 / 0.8), inset 0 0 0 1px oklch(0.93 0.012 65 / 0.07);
}
.mcard-img { width: 100%; height: 100%; object-fit: cover; }
.mcard-info {
  position: absolute; inset: auto 0 0 0;
  padding: 2.6rem 1.1rem 1.05rem;
  background: linear-gradient(to top, oklch(0.075 0 0 / 0.92), oklch(0.075 0 0 / 0) 100%);
}
.mcard-info h3 { font-family: var(--font-sans); font-weight: 700; font-size: 1.06rem; }
.mcard-info p { font-size: 0.8rem; color: var(--ink-dim); margin-top: 0.15rem; }
.mcard-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.6rem; }
.mcard-chips span {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0.32em 0.7em; border-radius: 999px;
  color: var(--champagne);
  box-shadow: inset 0 0 0 1px oklch(0.87 0.06 80 / 0.45);
  background: oklch(0.87 0.06 80 / 0.08);
}
.mcard-stamp {
  position: absolute; top: 16px; right: 14px;
  transform: rotate(12deg);
  padding: 0.28em 0.7em;
  border: 2.5px solid oklch(0.93 0.012 65 / 0.65);
  border-radius: 6px;
  font-weight: 800; font-size: 0.86rem; letter-spacing: 0.14em;
  color: oklch(0.93 0.012 65 / 0.8);
  opacity: 0;
}

/* stacked initial poses (scrub timeline owns the rest) */
.mcard-1 { z-index: 5; }
.mcard-2 { z-index: 4; transform: translateY(0) scale(1); }
.mcard-0 { z-index: 3; }
.mcard-3 { z-index: 2; }

.seal {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  z-index: 6;
  opacity: 0;
  visibility: hidden;
}
.seal svg {
  width: 64%;
  filter: drop-shadow(0 0 24px oklch(0.54 0.2 8 / 0.55));
}
.seal-ring { fill: none; stroke: var(--crimson-bright); stroke-width: 4; }
.seal-ring--thin { stroke-width: 1.4; opacity: 0.8; }
.seal-arc {
  font-family: var(--font-sans); font-weight: 700;
  font-size: 10.4px; letter-spacing: 2.6px;
  fill: var(--crimson-bright);
}
.seal-b { font-family: var(--font-display); font-size: 46px; fill: var(--crimson-bright); }

.app-actions {
  display: flex; justify-content: center; gap: 1.4rem;
  padding: 0 0 1.5rem;
}
.act {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 0;
  display: grid; place-items: center;
  font-size: 1.15rem;
  cursor: default;
}
.act--pass { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink-dim); }
.act--vouch {
  background: var(--crimson);
  color: oklch(0.97 0.008 65);
  box-shadow: 0 6px 22px oklch(0.54 0.2 8 / 0.45);
}
.phone-shadow {
  width: 70%; height: 26px;
  margin-top: 22px;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, oklch(0 0 0 / 0.55), transparent 72%);
}

/* ── rite II · founder houses (static grid) ───────────────────── */
/* ── rite II · founder houses (full-width slider) ─────────────── */
.houses {
  position: relative; overflow: clip; background: var(--bg);
  padding-block: var(--space-section);
  --edge: max(var(--space-gutter), calc((100% - 1180px) / 2 + var(--space-gutter)));
}
.houses-inner { padding-inline: var(--edge); }
.houses .rite-copy { max-width: 60ch; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }

.houses-slider { position: relative; }
.hslider-viewport {
  display: flex;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline-start: var(--edge);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.hslider-viewport::-webkit-scrollbar { display: none; }
.hslider-viewport:focus-visible { outline: 2px solid var(--champagne); outline-offset: -3px; border-radius: 6px; }
.hslider-track {
  display: flex; gap: clamp(1rem, 2vw, 1.4rem);
  padding-inline: var(--edge) var(--space-gutter);
  padding-block: 4px;
  width: max-content;
}
.house {
  flex: none;
  width: clamp(282px, 82vw, 372px);
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: clip;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-soft), 0 26px 60px -26px oklch(0 0 0 / 0.62);
  display: flex; flex-direction: column;
}
.house-photo { position: relative; }
.house-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.house-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 0.34em 0.72em; border-radius: 999px;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.03em;
  color: var(--champagne);
  background: oklch(0.12 0.004 30 / 0.72);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px oklch(0.87 0.06 80 / 0.32);
}
.house-price {
  position: absolute; bottom: 12px; right: 12px;
  padding: 0.28em 0.62em; border-radius: 11px;
  font-family: var(--font-display); font-size: 1.24rem; line-height: 1.1; color: var(--ink);
  background: oklch(0.09 0 0 / 0.72);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px var(--line);
}
.house-price small { font-size: 0.6em; color: var(--muted); font-family: var(--font-sans); font-weight: 500; }
.house-body { padding: 1.05rem 1.15rem 1.15rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.house-body h3 { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.1; }
.house-loc { display: flex; align-items: center; gap: 0.35rem; color: var(--ink-dim); font-size: 0.85rem; }
.house-loc svg { width: 14px; height: 14px; fill: var(--crimson-bright); flex: none; }
.house-desc { color: var(--muted); font-size: 0.85rem; line-height: 1.5; }
.house-facts {
  list-style: none; padding: 0; margin: 0.1rem 0 0;
  display: flex; flex-wrap: wrap; gap: 0.35rem 1rem;
  font-size: 0.78rem; color: var(--ink-dim);
}
.house-facts li { position: relative; }
.house-facts li + li::before { content: "·"; position: absolute; left: -0.6rem; color: var(--muted); }
.house-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.2rem; }
.house-tags span {
  font-size: 0.68rem; font-weight: 500; padding: 0.32em 0.66em; border-radius: 8px;
  color: var(--ink-dim); background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.house-foot {
  margin-top: auto; padding-top: 0.9rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.76rem;
}
.house-host { color: var(--muted); }
.house-cta { color: var(--crimson-bright); font-weight: 700; white-space: nowrap; }

/* group-chat card — a proper mini chat that fills the card top-to-bottom */
.house--chat { background: var(--surface); }
.chat { display: flex; flex-direction: column; height: 100%; padding: 1.1rem 1.15rem; gap: 0.7rem; }
.chat-head { display: flex; align-items: center; gap: 0.65rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line-soft); }
.chat-avatar {
  width: 36px; height: 36px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1rem;
  color: var(--ink); background: var(--crimson-deep);
  box-shadow: inset 0 0 0 1px oklch(0.7 0.17 12 / 0.4);
}
.chat-name { font-family: var(--font-sans); font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.chat-status { display: flex; align-items: center; gap: 0.4rem; font-size: 0.74rem; color: var(--muted); }
.chat-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: oklch(0.72 0.15 155); }
.chat-body { flex: 1; display: flex; flex-direction: column; gap: 0.45rem; padding-block: 0.3rem; }
.chat-day { font-size: 0.62rem; letter-spacing: 0.2em; color: var(--muted); text-align: center; margin-bottom: 0.25rem; }
.bubble {
  width: fit-content; max-width: 90%;
  padding: 0.52em 0.9em;
  border-radius: 16px; border-bottom-left-radius: 5px;
  background: var(--surface-2);
  font-size: 0.9rem; line-height: 1.42;
}
.bubble--self {
  align-self: flex-end;
  border-radius: 16px; border-bottom-right-radius: 5px;
  background: var(--crimson);
  color: oklch(0.97 0.008 65);
}
.chat-note {
  margin-top: auto; padding-top: 0.75rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-serif); font-style: italic;
  font-size: 0.76rem; color: var(--muted); text-align: center;
}

/* slider navigation — dots + arrows */
.hslider-nav {
  margin-top: clamp(1.3rem, 3vw, 2rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.hslider-dots { display: flex; align-items: center; gap: 0.5rem; }
.hslider-dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
  background: var(--line); cursor: pointer;
  transition: background-color 0.3s ease, width 0.35s var(--ease-out);
}
.hslider-dot:hover { background: oklch(0.5 0.02 40); }
.hslider-dot[aria-selected="true"] { background: var(--crimson-bright); width: 22px; }
.hslider-dot:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }
.hslider-arrows { display: flex; gap: 0.6rem; }
.hslider-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s var(--ease-out), opacity 0.3s ease, box-shadow 0.3s ease;
}
.hslider-arrow:hover:not(:disabled) { background: var(--surface-2); transform: translateY(-1px); box-shadow: inset 0 0 0 1px oklch(0.93 0.012 65 / 0.28); }
.hslider-arrow:disabled { opacity: 0.3; cursor: default; }
.hslider-arrow svg { width: 20px; height: 20px; }

/* ── rite III · the capital room ──────────────────────────────── */
.capital { position: relative; overflow: clip; background: var(--bg-deep); padding: var(--space-section) var(--space-gutter); }
.capital::before { /* subtle static depth glow — replaces the removed backdrop video */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(58% 60% at 84% 28%, oklch(0.22 0.04 24 / 0.5), transparent 64%);
}
.capital-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  max-width: 1180px;
  margin-inline: auto;
}

.counters {
  display: flex; flex-wrap: wrap;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  margin-top: 2rem;
}
.counter strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-3);
  line-height: 1;
  color: var(--champagne);
  font-variant-numeric: tabular-nums;
}
.counter span {
  display: block; margin-top: 0.35rem;
  font-size: 0.8rem; letter-spacing: 0.06em;
  color: var(--muted);
}

/* the interactive two-door panel */
.cap-panel {
  border-radius: 20px;
  background: oklch(0.125 0.005 30 / 0.93);
  box-shadow: inset 0 0 0 1px var(--line-soft), 0 30px 80px -30px oklch(0 0 0 / 0.8);
  padding: clamp(0.9rem, 1.8vw, 1.2rem);
  display: grid; gap: 0.8rem;
}

/* segmented Funding | Pitches toggle, as in the app */
.cap-tabs {
  display: flex; gap: 4px;
  padding: 4px; border-radius: 13px;
  background: var(--bg-deep);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.cap-tab {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.55em 0.6em;
  border: 0; border-radius: 10px;
  background: transparent;
  font-family: inherit; font-size: 0.84rem; font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease;
}
.cap-tab svg { width: 15px; height: 15px; }
.cap-tab:not(.is-on):hover { color: var(--ink-dim); background: oklch(0.93 0.012 65 / 0.04); }
.cap-tab:focus-visible { outline: 2px solid var(--champagne); outline-offset: 2px; }
.cap-tab.is-on {
  background: var(--surface-2);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: default;
}
.cap-tab.is-on svg { color: var(--champagne); }

.cap-pane { display: grid; gap: 0.8rem; }
.cap-aud { font-size: 0.84rem; color: var(--muted); }
.cap-aud strong { color: var(--ink-dim); font-weight: 600; }

.cap-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.cap-chip {
  font-size: 0.72rem; font-weight: 600;
  padding: 0.38em 0.8em; border-radius: 999px;
  color: var(--ink-dim); background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.cap-chip.is-on { background: var(--champagne); color: oklch(0.18 0.03 80); box-shadow: none; }

/* shared card shell */
.cap-card {
  border-radius: 15px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  padding: 1rem 1.05rem;
  display: grid; gap: 0.65rem;
}
.cap-desc { font-size: 0.85rem; line-height: 1.55; color: var(--muted); }
.cap-facts {
  display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem;
  font-size: 0.79rem; font-weight: 500; color: var(--ink-dim);
}
.cap-facts span { display: inline-flex; align-items: center; gap: 0.4rem; }
.cap-facts svg { width: 14px; height: 14px; color: var(--muted); flex: none; }
.cap-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.cap-tags span {
  font-size: 0.68rem; font-weight: 600; padding: 0.32em 0.7em; border-radius: 999px;
  color: var(--ink-dim); background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.cap-tags--pitch .is-stage {
  color: var(--champagne);
  background: oklch(0.87 0.06 80 / 0.09);
  box-shadow: inset 0 0 0 1px oklch(0.87 0.06 80 / 0.4);
}

/* funding card specifics */
.fund-top {
  display: grid; grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center; gap: 0.75rem;
}
.fund-ico {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center;
}
.fund-ico svg { width: 21px; height: 21px; }
.fund-ico--grant { color: oklch(0.78 0.13 155); background: oklch(0.72 0.15 155 / 0.13); }
.fund-ico--accel { color: oklch(0.78 0.09 250); background: oklch(0.72 0.12 250 / 0.13); }
.fund-id h4 { font-family: var(--font-sans); font-weight: 700; font-size: 0.98rem; line-height: 1.25; }
.fund-id p { font-size: 0.78rem; color: var(--muted); margin-top: 0.12rem; }
.cap-badge {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 0.32em 0.7em; border-radius: 999px;
  white-space: nowrap; align-self: start;
}
.cap-badge--grant { color: oklch(0.78 0.13 155); box-shadow: inset 0 0 0 1px oklch(0.72 0.15 155 / 0.45); background: oklch(0.72 0.15 155 / 0.08); }
.cap-badge--accel { color: oklch(0.78 0.09 250); box-shadow: inset 0 0 0 1px oklch(0.72 0.12 250 / 0.45); background: oklch(0.72 0.12 250 / 0.08); }
.fund-apply {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.52em 1.05em; border-radius: 10px;
  background: var(--champagne); color: oklch(0.18 0.03 80);
  font-size: 0.8rem; font-weight: 700;
}
.fund-apply svg { width: 14px; height: 14px; }

/* pitch card specifics */
.pitch-name { font-family: var(--font-display); font-size: 1.28rem; line-height: 1.1; }
.pitch-one { font-size: 0.84rem; color: var(--ink-dim); margin-top: 0.28rem; }
.pitch-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  padding-top: 0.7rem; border-top: 1px solid var(--line-soft);
}
.pitch-by { font-size: 0.78rem; color: var(--muted); }
.pitch-heart {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35em 0.8em; border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; color: var(--ink-dim);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pitch-heart svg { width: 14px; height: 14px; color: var(--crimson-bright); }

/* ── get the app ──────────────────────────────────────────────── */
.get {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(66% 52% at 80% 38%, oklch(0.3 0.1 20 / 0.4), transparent 66%),
    radial-gradient(90% 74% at 16% 96%, oklch(0.2 0.03 30 / 0.55), transparent 72%),
    var(--bg);
  padding: calc(var(--space-section) * 1.1) var(--space-gutter);
  border-top: 1px solid var(--line-soft);
}
.get-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  max-width: 1180px; margin-inline: auto;
}
.get-title {
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1.03;
  letter-spacing: -0.01em;
}
.get-body {
  margin-top: 1.4rem;
  font-size: var(--step-1);
  color: var(--ink-dim);
  max-width: 40ch;
}
.get-badges { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.badge {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.62em 1.15em;
  border-radius: 13px;
  background: oklch(0.2 0.008 40);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background-color 0.3s ease;
}
.badge:hover {
  transform: translateY(-2px);
  background: oklch(0.24 0.01 40);
  box-shadow: inset 0 0 0 1px oklch(0.93 0.012 65 / 0.32), 0 12px 30px -14px oklch(0 0 0 / 0.75);
}
.badge-glyph { width: 25px; height: 25px; flex: none; color: var(--ink); }
.badge-glyph--play { transform: translateX(1px); }
.badge-txt { display: grid; line-height: 1.16; }
.badge-txt small { font-size: 0.62rem; letter-spacing: 0.03em; color: var(--ink-dim); }
.badge-txt strong { font-family: var(--font-display); font-weight: 400; font-size: 1.14rem; letter-spacing: 0.01em; }
.get-fine { margin-top: 1.35rem; font-size: 0.8rem; letter-spacing: 0.02em; color: var(--muted); }

.get-phone { justify-self: center; }
.get-phone .phone { height: min(66svh, 600px); }

/* app home screen inside the phone */
.home { position: absolute; inset: 0; display: flex; flex-direction: column; }
.home-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.4rem 0.3rem;
  font-size: 0.72rem; font-weight: 600; color: var(--ink-dim);
}
.home-dots { display: inline-flex; gap: 3px; }
.home-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-dim); }
.home-head { padding: 1.3rem 1.4rem 0.9rem; }
.home-crest { width: 32px; height: 32px; color: var(--crimson-bright); }
.home-greet { margin-top: 0.7rem; color: var(--muted); font-size: 0.88rem; }
.home-name { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; }
.home-tiles { flex: 1; display: flex; flex-direction: column; gap: 0.55rem; padding: 0.3rem 1rem; }
.htile {
  display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 0.8rem;
  padding: 0.8rem 0.85rem;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.htile-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 11px;
  background: oklch(0.54 0.2 8 / 0.14);
  color: var(--crimson-bright);
  font-size: 1.15rem;
}
.htile h3 { font-family: var(--font-sans); font-weight: 600; font-size: 0.92rem; }
.htile p { font-size: 0.72rem; color: var(--muted); margin-top: 0.12rem; }
.htile-dot {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--crimson); color: oklch(0.97 0.008 65);
  font-size: 0.68rem; font-weight: 700;
}
.htile-go { color: var(--muted); font-size: 1.05rem; }
.home-nav {
  display: flex; justify-content: center; gap: 1.8rem;
  padding: 0.85rem 0 1.25rem;
  border-top: 1px solid var(--line-soft);
}
.home-nav i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); opacity: 0.45; }
.home-nav i.on { background: var(--crimson-bright); opacity: 1; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq {
  background: var(--bg-deep);
  padding: calc(var(--space-section) * 1.05) var(--space-gutter);
  border-top: 1px solid var(--line-soft);
}
.faq-inner { max-width: 760px; margin-inline: auto; }
.faq-title {
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1.02;
  text-align: center;
}
.faq-lede {
  margin-top: 0.9rem; text-align: center;
  color: var(--muted); font-size: var(--step-0);
}
.faq-list { margin-top: clamp(2rem, 5vw, 3.2rem); }
.faq-item { border-top: 1px solid var(--line-soft); }
.faq-item:last-of-type { border-bottom: 1px solid var(--line-soft); }
.faq-item h3 { margin: 0; font-weight: 400; }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 1.35rem 0.2rem;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--ink);
  transition: color 0.25s ease;
}
.faq-q:hover { color: var(--champagne); }
.faq-icon { position: relative; flex: none; width: 17px; height: 17px; color: var(--champagne); }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; inset: 0; margin: auto; background: currentColor; border-radius: 2px;
}
.faq-icon::before { width: 100%; height: 1.6px; }
.faq-icon::after { width: 1.6px; height: 100%; transition: transform 0.3s var(--ease-out); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: scaleY(0); }
.faq-answer { overflow: hidden; }
.faq-answer > p {
  padding: 0 0 1.5rem;
  max-width: 64ch;
  color: var(--ink-dim);
  font-size: var(--step-0);
  line-height: 1.62;
}
.faq-foot { margin-top: 2.4rem; text-align: center; color: var(--muted); font-size: 0.9rem; }
.faq-foot a { color: var(--champagne); text-decoration: underline; text-underline-offset: 3px; }

[hidden] { display: none !important; }

/* ── testimonials · outcome ledger ────────────────────────────── */
.voices {
  position: relative;
  background: var(--bg);
  padding: calc(var(--space-section) * 1.05) var(--space-gutter);
  border-top: 1px solid var(--line-soft);
}
.voices-inner { max-width: 1120px; margin-inline: auto; }
.voices-head { max-width: 60ch; }
.voices-title {
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1.02;
  letter-spacing: -0.012em;
}
.voices-lede {
  margin-top: 1rem;
  max-width: 50ch;
  font-family: var(--font-serif);
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-dim);
}
.voices-lede em { font-style: italic; color: var(--champagne); }

.voices-ledger {
  margin-top: clamp(2.4rem, 6vw, 4.2rem);
  display: grid;
  gap: 0; /* continuous spine down the rail */
}

/* one act: rail · portrait · body, portrait alternates side */
.vact {
  --rail: clamp(58px, 8vw, 116px);
  margin: 0;
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 0.86fr) minmax(0, 1.42fr);
  grid-template-areas: "rail portrait body";
  align-items: center;
  column-gap: clamp(1.4rem, 3.5vw, 3rem);
  padding-block: clamp(2rem, 5vw, 3.6rem);
}
.vact:nth-child(even) {
  grid-template-columns: var(--rail) minmax(0, 1.42fr) minmax(0, 0.86fr);
  grid-template-areas: "rail body portrait";
}

/* rail: vertical spine with the serif numeral sitting on the line as a node */
.vact-rail {
  grid-area: rail;
  position: relative; align-self: stretch;
  display: flex; align-items: center; justify-content: center;
}
.vact-rail::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px; background: var(--line); transform: translateX(-0.5px);
}
.vact:first-child .vact-rail::before { background: linear-gradient(var(--bg), var(--line) 46%); }
.vact:last-child  .vact-rail::before { background: linear-gradient(var(--line) 54%, var(--bg)); }
.vact-num {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-size: var(--step-3); line-height: 1; letter-spacing: -0.02em;
  color: var(--muted);
  background: var(--bg); /* masks the spine so the numeral reads as a station */
  padding-block: 0.4em;
  transition: color 0.5s var(--ease-out);
}
.vact:hover .vact-num { color: var(--champagne); }

/* portrait */
.vact-portrait {
  grid-area: portrait;
  width: 100%; max-width: 380px;
  justify-self: start;
  aspect-ratio: 3 / 4;
  overflow: clip; border-radius: 10px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 64px -34px oklch(0 0 0 / 0.85);
}
.vact:nth-child(even) .vact-portrait { justify-self: end; }
.vact-portrait img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 18%;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 0.9s var(--ease-out), filter 0.9s var(--ease-out);
}
.vact:hover .vact-portrait img { transform: scale(1.04); filter: saturate(1) contrast(1.04); }

/* body: outcome label → quote → founder */
.vact-body { grid-area: body; }
.vact-outcome {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 0.3rem 0.85rem;
  margin: 0 0 clamp(0.9rem, 2vw, 1.4rem);
}
.vact-verb {
  font-family: var(--font-sans); font-weight: 500;
  font-size: var(--step-1); letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--crimson-bright);
}
.vact-prod {
  position: relative; padding-left: 1.15rem;
  font-family: var(--font-serif); font-style: italic;
  font-size: var(--step-0); color: var(--muted);
}
.vact-prod::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 0.7rem; height: 1px; background: var(--line);
}
.vact-quote {
  margin: 0; max-width: 36ch;
  font-family: var(--font-serif);
  font-size: clamp(var(--step-1), 2.1vw, var(--step-2));
  line-height: 1.44; letter-spacing: -0.005em;
  color: var(--ink); text-wrap: pretty;
}
.vact-cite {
  margin-top: clamp(1.2rem, 2.4vw, 1.7rem);
  display: flex; flex-direction: column; gap: 0.14rem;
}
.vact-cite::before {
  content: ""; width: 34px; height: 1px; margin-bottom: 0.7rem;
  background: var(--champagne); opacity: 0.5;
}
.vact-name { font-family: var(--font-sans); font-weight: 500; font-size: var(--step-0); color: var(--ink); }
.vact-role { font-family: var(--font-sans); font-size: var(--step--1); color: var(--muted); }

/* ── logo marquee ─────────────────────────────────────────────── */
.logos {
  background: var(--bg-deep);
  padding: clamp(2.4rem, 5vw, 3.6rem) 0;
  border-top: 1px solid var(--line-soft);
  overflow: clip;
}
.logos-label {
  text-align: center;
  font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--muted);
  padding: 0 var(--space-gutter);
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.logos-marquee {
  display: grid; gap: clamp(0.9rem, 2vw, 1.5rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logos-track {
  display: flex; align-items: center;
  gap: clamp(2.2rem, 5vw, 4.5rem);
  width: max-content;
  will-change: transform;
}
.logos-group {
  display: flex; align-items: center;
  gap: clamp(2.2rem, 5vw, 4.5rem);
  flex: none;
}
.logo {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: oklch(0.7 0.014 60);
  white-space: nowrap;
  transition: color 0.3s ease;
}
.logos-track:hover .logo { color: oklch(0.62 0.012 60); }
.logo:hover { color: var(--ink); }
.logo-mark { color: var(--crimson-bright); font-size: 0.7em; }
.logo--500 { font-weight: 500; }
.logo--600 { font-weight: 600; }
.logo--800 { font-weight: 800; letter-spacing: 0.02em; }
.logo--up { font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; }
.logo--serif { font-family: var(--font-display); font-weight: 400; }
.logo--serif-it { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

/* ── FAQ social row ───────────────────────────────────────────── */
.faq-social { margin-top: 2.8rem; text-align: center; }
.faq-social-label {
  font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem;
}
.social-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.7rem; }
.social {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 13px;
  color: var(--ink-dim);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.3s var(--ease-out), color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.social:hover {
  color: var(--ink);
  transform: translateY(-2px);
  background: oklch(0.2 0.008 40);
  box-shadow: inset 0 0 0 1px oklch(0.93 0.012 65 / 0.32);
}
.social svg { width: 20px; height: 20px; fill: currentColor; }

/* ── footer ───────────────────────────────────────────────────── */
.footer { background: var(--bg-deep); }
.ticker {
  overflow: clip;
  border-block: 1px solid var(--line-soft);
  padding-block: 1rem;
}
.ticker-track {
  display: inline-flex; white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1.05rem; letter-spacing: 0.2em;
  color: oklch(0.87 0.06 80 / 0.6);
  animation: tickerRoll 46s linear infinite;
}
@keyframes tickerRoll { to { transform: translateX(-50%); } }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: clamp(1.6rem, 4vw, 3rem);
  max-width: 1180px; margin-inline: auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--space-gutter);
}
.footer-mark {
  font-family: var(--font-display);
  letter-spacing: 0.3em; font-size: 1.25rem;
}
.footer-tag {
  margin-top: 0.7rem;
  font-family: var(--font-serif); font-style: italic;
  color: var(--muted); font-size: 0.95rem;
}
.footer-col h3 {
  font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem; font-weight: 500;
}
.footer-col a {
  display: block;
  padding-block: 0.28rem;
  color: var(--ink-dim); font-size: 0.95rem;
  transition: color 0.25s ease;
}
.footer-col a:hover { color: var(--ink); }
.footer-legal {
  border-top: 1px solid var(--line-soft);
  padding: 1.4rem var(--space-gutter) 2rem;
  max-width: 1180px; margin-inline: auto;
  font-size: 0.78rem; color: var(--muted);
}

/* ── responsive ───────────────────────────────────────────────── */
@media (max-width: 980px) {
  .match-pin {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 1.2rem;
    padding-top: 5rem;
    align-items: start;
  }
  .match .rite-copy { max-width: 60ch; }
  .match .signals { grid-template-columns: repeat(2, fit-content(100%)); }
  .match .rite-caption { display: none; }
  .phone { height: min(52svh, 520px); }
  .phone-wrap { align-self: center; }

  .capital-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .get-inner { grid-template-columns: 1fr; gap: 2.4rem; }
  .get-copy { order: 1; }
  .get-phone { order: 2; }
  .get-title { text-align: center; }
  .get-body { margin-inline: auto; text-align: center; }
  .get-badges { justify-content: center; }
  .get-fine { text-align: center; }
}

@media (max-width: 680px) {
  .nav { gap: 0.8rem; }
  .nav-links { display: none; }
  .nav-name { display: none; }
  .nav-cta { margin-left: auto; }

  .hero-sub { font-size: var(--step-0); }
  .hero-foot-row span:last-child { display: none; }

  .match { height: 460svh; }
  .match .signals { grid-template-columns: 1fr; }
  .match .rite-body--dim { display: none; }
  .phone { height: min(46svh, 420px); }


  .counters { gap: 1.1rem 1.6rem; }
  .counter strong { font-size: var(--step-2); }
  .cap-facts { gap: 0.3rem 0.9rem; }

  .get-badges { flex-direction: column; align-items: stretch; }
  .badge { justify-content: center; }
  .get-phone .phone { height: min(64svh, 480px); }
  .faq-q { font-size: var(--step-0); }

  /* testimonials ledger → single column, spine collapses to a crimson index */
  .vact,
  .vact:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "rail" "portrait" "body";
    row-gap: 1.1rem;
    padding-block: clamp(2.2rem, 9vw, 3rem);
  }
  .vact-rail { align-self: start; justify-content: flex-start; }
  .vact-rail::before,
  .vact:first-child .vact-rail::before,
  .vact:last-child .vact-rail::before { display: none; }
  .vact-num { padding: 0; background: none; color: var(--crimson-bright); }
  .vact-portrait,
  .vact:nth-child(even) .vact-portrait { max-width: 100%; aspect-ratio: 4 / 5; justify-self: stretch; }
  .vact-quote { max-width: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--brand { grid-column: 1 / -1; }
}

/* ── reduced motion: static, fully readable story ─────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .grain, .embers i, .scrollcue i, .ticker-track, .logos-track { animation: none !important; }
  html { scroll-behavior: auto; }
}

body.reduced .match { height: auto; }
body.reduced .match-pin { position: static; height: auto; padding-block: var(--space-section); }

body.reduced .mcard-1, body.reduced .mcard-2, body.reduced .mcard-3 { display: none; }
body.reduced .seal { opacity: 1; visibility: visible; }
body.reduced .signal { --lit: 1; }
body.reduced .mcard-stamp { opacity: 0; }

body.reduced [data-chars] .char { transform: none !important; }
body.reduced .faq-answer { height: auto !important; opacity: 1 !important; }
