/* ============================================================
 * Brand Identity page — local stylesheet (br- prefix)
 * Design vocabulary: editorial · paper-stained · coral primary
 * ============================================================ */

.br-page {
  --br-coral: #FF6B5B;
  --br-paper: #F7E7D7;
  --br-ink: #0A0A0C;
  --br-pine: #3A8C7F;
  --br-iris: #7C5BFF;
  --br-lime: #d4ff3a;
  --br-paper-soft: rgba(247, 231, 215, 0.04);
  --br-line: rgba(247, 231, 215, 0.12);
  --br-line-strong: rgba(247, 231, 215, 0.22);
  --br-mono: 'JetBrains Mono', ui-monospace, monospace;
  --br-display: 'Fraunces', 'Bodoni Moda', serif;
  --br-sans: 'Space Grotesk', system-ui, sans-serif;
  background: var(--br-ink);
  color: var(--br-paper);
}

/* ===== shared atoms ===== */
.br-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--br-mono);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(247, 231, 215, 0.62);
  padding: 8px 12px;
  border: 1px solid var(--br-line);
  border-radius: 999px;
  background: var(--br-paper-soft);
}
.br-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
  animation: brPulse 2.4s ease-in-out infinite;
}
@keyframes brPulse { 0%, 100% { opacity: 1 } 50% { opacity: 0.45 } }

.br-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--br-sans);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 22px;
  border: 1px solid var(--br-line-strong);
  border-radius: 999px;
  color: var(--br-paper);
  background: transparent;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.br-btn:hover {
  background: var(--br-paper);
  color: var(--br-ink);
  border-color: var(--br-paper);
}
/* Primary CTA — LIME per site convention (matches .v2-btn--lime, .wx-btn--lime).
 * Reserve coral for hover-state backgrounds, brand-demo surfaces, and warning
 * indicators. Primary call-to-action across every page is lime. */
.br-btn--lime,
.br-btn--coral {
  background: var(--br-lime);
  color: var(--br-ink);
  border-color: var(--br-lime);
}
.br-btn--lime:hover,
.br-btn--coral:hover {
  background: transparent;
  color: var(--br-lime);
  border-color: var(--br-lime);
}
.br-btn .arr { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.br-btn:hover .arr { transform: translateX(4px); }

.br-section {
  position: relative;
  padding: 140px 6vw 160px;
  z-index: 2;
}
/* Interactive sections sit above the rich.js ambient layer + any leftover
 * stacking context from earlier sticky sections. Belt-and-braces: also
 * pin pointer-events: auto on the interactive children so nothing the
 * shared layer adds can swallow clicks. */
.br-truth, .br-tools, .br-sys, .br-ledger, .br-cta {
  z-index: 5;
}
.br-truth__stage,
.br-truth__panel,
.br-truth__brand-row,
.br-truth__brand,
.br-truth__slider-wrap,
.br-truth__slider,
.br-truth__tokens,
.br-tools__grid,
.br-tool {
  pointer-events: auto;
  position: relative;
  z-index: 1;
}
.br-section__head {
  max-width: 880px;
  margin: 0 auto 80px;
  text-align: center;
}
.br-section__title {
  font-family: var(--br-display);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 24px 0 24px;
  font-variation-settings: 'opsz' 144, 'SOFT' 30, 'WONK' 1;
}
.br-section__title em {
  font-style: italic;
  color: var(--br-lime);
}
.br-section__lede {
  font-family: var(--br-sans);
  font-size: 17px;
  line-height: 1.62;
  color: rgba(247, 231, 215, 0.70);
  max-width: 640px;
  margin: 0 auto;
}
.br-section__lede em {
  font-family: var(--br-display);
  font-style: italic;
  color: var(--br-paper);
  font-weight: 500;
}

/* ============================================================
 * 01 — HERO (letterform foundry)
 * ============================================================ */
.br-hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 6vw 60px;
  overflow: hidden;
  z-index: 1;
}
.br-hero__grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    radial-gradient(rgba(247, 231, 215, 0.6) 1px, transparent 1px),
    radial-gradient(rgba(247, 231, 215, 0.6) 1px, transparent 1px);
  background-size: 4px 4px, 6px 6px;
  background-position: 0 0, 2px 3px;
  mix-blend-mode: overlay;
}
.br-hero__three {
  position: absolute;
  top: 8%; right: -6%;
  width: 70vw; max-width: 980px;
  height: 70vh;
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}
.br-hero__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: calc(100vh - 240px);
}
.br-hero__left { padding-right: 20px; }
.br-hero__title {
  font-family: var(--br-display);
  font-weight: 400;
  font-size: clamp(48px, 6.4vw, 108px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 28px 0 28px;
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 30, 'WONK' 1;
}
.br-hero__title em {
  font-style: italic;
  color: var(--br-lime);
}
.br-hero__lede {
  font-family: var(--br-sans);
  font-size: 18px;
  line-height: 1.62;
  color: rgba(247, 231, 215, 0.72);
  max-width: 540px;
}
.br-hero__cta-row {
  margin-top: 32px;
  display: flex; gap: 14px; flex-wrap: wrap;
}
.br-hero__caption {
  margin-top: 38px;
  font-family: var(--br-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 231, 215, 0.45);
  display: flex; gap: 14px; align-items: baseline;
}
.br-hero__caption .n {
  font-family: var(--br-display);
  font-style: italic;
  font-size: 16px;
  color: var(--br-lime);
}

/* foundry chrome */
.br-hero__foundry {
  position: relative;
  width: 100%;
  height: min(620px, 70vh);
  background: linear-gradient(180deg, #f4dcc6 0%, #f7e7d7 100%);
  border-radius: 12px;
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(247, 231, 215, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.br-foundry__chrome {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(10, 10, 12, 0.10);
  background: rgba(247, 231, 215, 0.6);
  backdrop-filter: blur(8px);
  z-index: 3;
}
.br-foundry__title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--br-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(10, 10, 12, 0.7);
}
.br-foundry__pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: brPulse 1.6s ease-in-out infinite;
}
.br-foundry__counter {
  font-family: var(--br-display);
  font-style: italic;
  font-size: 13px;
  color: rgba(10, 10, 12, 0.55);
}
.br-foundry__counter span { font-weight: 600; color: var(--br-lime); margin-right: 4px; }

#br-foundry-canvas {
  flex: 1 1 auto;
  display: block;
  width: 100%;
  min-height: 0;
  z-index: 1;
}

.br-foundry__hud {
  flex: 0 0 auto;
  padding: 12px 14px;
  display: flex; gap: 8px; justify-content: flex-end;
  border-top: 1px solid rgba(10, 10, 12, 0.10);
  background: rgba(247, 231, 215, 0.6);
  backdrop-filter: blur(8px);
  z-index: 3;
}
.br-foundry__btn {
  font-family: var(--br-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--br-ink);
  background: var(--br-ink);
  color: var(--br-paper);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.br-foundry__btn:hover { background: var(--br-lime); border-color: var(--br-lime); color: var(--br-ink); }
.br-foundry__btn--ghost { background: transparent; color: var(--br-ink); }
.br-foundry__btn--ghost:hover { background: var(--br-ink); color: var(--br-paper); border-color: var(--br-ink); }

.br-foundry__crest {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 220px; height: 220px;
  border-radius: 50%;
  background: var(--br-ink);
  color: var(--br-coral);
  display: grid; place-items: center;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.br-foundry__crest.is-on {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.br-foundry__crest-inner {
  font-family: var(--br-display);
  font-style: italic;
  font-weight: 600;
  font-size: 96px;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variation-settings: 'opsz' 144, 'wght' 600, 'SOFT' 30, 'WONK' 1;
}
.br-foundry__crest-label {
  position: absolute; bottom: 30px;
  font-family: var(--br-mono);
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(247, 231, 215, 0.4);
}

/* hero metrics row */
.br-hero__metrics {
  position: relative; z-index: 2;
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--br-line);
}
.br-hero__metric {
  padding: 22px 24px;
  border-right: 1px solid var(--br-line);
  display: flex; flex-direction: column; gap: 8px;
}
.br-hero__metric:last-child { border-right: 0; }
.br-hero__metric .k {
  font-family: var(--br-mono);
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 231, 215, 0.5);
}
.br-hero__metric .v {
  font-family: var(--br-display);
  font-size: 38px; font-weight: 500;
  color: var(--br-paper);
  font-variation-settings: 'opsz' 96, 'wght' 500;
}
.br-hero__metric .v em {
  font-style: italic;
  color: var(--br-lime);
}

/* ============================================================
 * 02 — LEDGER
 * ============================================================ */
.br-ledger__table {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--br-line-strong);
}
.br-ledger__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 2.4fr 1fr;
  gap: 30px;
  padding: 26px 18px;
  border-bottom: 1px solid var(--br-line);
  transition: background 0.3s ease, padding 0.3s ease;
  align-items: baseline;
}
.br-ledger__row:hover {
  background: rgba(247, 231, 215, 0.03);
  padding-left: 28px;
}
.br-ledger__name {
  font-family: var(--br-display);
  font-style: italic;
  font-size: 28px;
  font-variation-settings: 'opsz' 96, 'wght' 500, 'SOFT' 30, 'WONK' 1;
  color: var(--br-paper);
}
.br-ledger__type {
  font-family: var(--br-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 231, 215, 0.55);
}
.br-ledger__beat {
  font-family: var(--br-sans);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(247, 231, 215, 0.72);
}
.br-ledger__metric {
  text-align: right;
  display: flex; flex-direction: column; gap: 4px;
}
.br-ledger__metric em {
  font-family: var(--br-display);
  font-style: italic;
  font-size: 32px;
  font-weight: 500;
  color: var(--br-lime);
  font-variation-settings: 'opsz' 96, 'wght' 500;
}
.br-ledger__metric span {
  font-family: var(--br-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 231, 215, 0.45);
}

/* ============================================================
 * 03 — MARK TO SURFACE (sticky scroll)
 * ============================================================ */
.br-mark__intro { max-width: 880px; margin: 0 auto 60px; text-align: center; }
.br-mark__pin {
  position: relative;
  height: 600vh;
}
.br-mark__stage {
  position: relative;
  width: 100%;
  height: 100%;
}
.br-mark__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.br-mark__rail {
  position: absolute;
  bottom: 6vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 18px;
  padding: 10px 20px;
  background: rgba(247, 231, 215, 0.05);
  border: 1px solid var(--br-line);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  z-index: 5;
}
.br-mark__counter {
  font-family: var(--br-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  display: flex; gap: 6px;
}
.br-mark__counter span:first-child { color: var(--br-lime); font-weight: 600; }
.br-mark__counter .sep { color: rgba(247, 231, 215, 0.3); }
.br-mark__progress {
  width: 240px;
  height: 2px;
  background: rgba(247, 231, 215, 0.12);
  border-radius: 1px;
  overflow: hidden;
}
.br-mark__progress-fill {
  height: 100%;
  width: 0%;
  background: var(--br-lime);
  transition: width 0.3s ease;
}
.br-mark__label {
  font-family: var(--br-display);
  font-style: italic;
  font-size: 13px;
  color: rgba(247, 231, 215, 0.78);
  min-width: 180px;
}
.br-mark__viewport {
  position: relative;
  width: min(620px, 78vw);
  height: min(560px, 70vh);
  display: grid;
  place-items: center;
}
.br-mark__surface {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.br-mark__surface.is-on { opacity: 1; transform: scale(1); }

/* surface 0: business card */
.br-mark__card {
  width: min(540px, 80vw);
  height: min(340px, 50vh);
  background: var(--br-paper);
  color: var(--br-ink);
  border-radius: 4px;
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: center;
  padding: 36px 40px;
  gap: 30px;
  position: relative;
}
.br-mark__crest { width: 100%; height: 120px; color: var(--br-coral); }
.br-mark__crest--xl { width: 60%; height: 60%; color: var(--br-coral); }
.br-mark__card-meta {
  display: flex; flex-direction: column; gap: 8px;
  padding-left: 24px;
  border-left: 1px solid rgba(10, 10, 12, 0.18);
}
.br-mark__card-name {
  font-family: var(--br-display); font-style: italic;
  font-size: 30px;
  font-variation-settings: 'opsz' 96, 'wght' 500, 'SOFT' 30, 'WONK' 1;
}
.br-mark__card-role {
  font-family: var(--br-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(10, 10, 12, 0.55);
}
.br-mark__card-line {
  width: 32px; height: 2px;
  background: var(--br-coral);
  margin: 12px 0 8px;
}
.br-mark__card-contact {
  font-family: var(--br-sans);
  font-size: 13px;
  color: rgba(10, 10, 12, 0.7);
}

/* surface 1: phone home screen */
.br-mark__phone {
  width: min(280px, 60vw);
  aspect-ratio: 9 / 19;
  background: linear-gradient(180deg, #1c1c1f 0%, #0a0a0c 100%);
  border-radius: 36px;
  border: 8px solid #2a2a2d;
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 0 2px rgba(255, 255, 255, 0.04);
  position: relative;
  padding: 56px 14px 14px;
  display: flex; flex-direction: column;
}
.br-mark__phone-notch {
  position: absolute; top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 18px;
  background: #000;
  border-radius: 999px;
}
.br-mark__phone-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  flex: 1;
}
.br-mark__app {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--br-sans);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.55);
  aspect-ratio: 1;
}
.br-mark__app--brand {
  background: var(--br-coral);
  color: var(--br-ink);
  box-shadow: 0 8px 16px -4px rgba(255, 107, 91, 0.5);
}
.br-mark__app--brand svg { width: 60%; height: 60%; }
.br-mark__phone-dock {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  background: rgba(255, 255, 255, 0.07);
  padding: 8px;
  border-radius: 18px;
}
.br-mark__phone-dock .br-mark__app { background: rgba(255, 255, 255, 0.1); }

/* surface 2: billboard */
.br-mark__billboard {
  width: min(720px, 90vw);
  display: flex; flex-direction: column;
  align-items: center;
}
.br-mark__billboard-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--br-paper);
  color: var(--br-ink);
  display: flex; align-items: center; justify-content: center;
  gap: 40px;
  padding: 30px;
  border-radius: 4px;
  border: 8px solid #1c1c1f;
  box-shadow: 0 30px 60px -16px rgba(0, 0, 0, 0.6);
}
.br-mark__billboard-tag {
  font-family: var(--br-display);
  font-size: clamp(28px, 4.4vw, 56px);
  font-variation-settings: 'opsz' 144, 'wght' 500, 'SOFT' 30, 'WONK' 1;
  line-height: 1.04;
  max-width: 260px;
}
.br-mark__billboard-tag em {
  font-style: italic;
  color: var(--br-coral);
}
.br-mark__billboard-pole {
  width: 12px; height: 80px;
  background: linear-gradient(180deg, #1c1c1f, #0a0a0c);
  margin-top: -2px;
}

/* surface 3: t-shirt */
.br-mark__shirt {
  width: min(380px, 70vw);
  position: relative;
}
.br-mark__shirt-body {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(ellipse at 50% 30%, #f7e7d7 0%, #e8d5c0 60%, #d8c2a8 100%);
  clip-path: polygon(
    20% 0%, 35% 8%, 65% 8%, 80% 0%,
    100% 18%, 86% 32%, 86% 100%,
    14% 100%, 14% 32%, 0% 18%
  );
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5));
}
.br-mark__shirt-collar {
  position: absolute;
  top: 4%; left: 50%;
  transform: translateX(-50%);
  width: 30%;
  aspect-ratio: 3 / 1;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 0 0 50% 50%;
}
.br-mark__crest--shirt {
  position: absolute;
  top: 38%; left: 50%;
  transform: translate(-50%, -50%);
  width: 28%;
  height: auto;
  color: var(--br-coral);
}

/* surface 4: package */
.br-mark__pack {
  width: min(380px, 70vw);
  aspect-ratio: 1 / 1.4;
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.br-mark__pack-side {
  position: absolute;
  border-radius: 4px;
}
.br-mark__pack-side--front {
  inset: 0;
  background: linear-gradient(180deg, #FF6B5B 0%, #d8503e 100%);
  color: var(--br-paper);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 30px;
  gap: 18px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.br-mark__crest--pack { width: 50%; height: auto; color: var(--br-paper); }
.br-mark__pack-name {
  font-family: var(--br-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.22em;
  font-variation-settings: 'opsz' 144, 'wght' 600;
}
.br-mark__pack-sub {
  font-family: var(--br-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 231, 215, 0.85);
}

/* surface 5: brand site */
.br-mark__site {
  width: min(720px, 86vw);
  aspect-ratio: 16 / 10;
  background: var(--br-paper);
  color: var(--br-ink);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6);
  display: flex; flex-direction: column;
}
.br-mark__site-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(10, 10, 12, 0.08);
}
.br-mark__site-mark {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--br-display);
  font-style: italic;
  font-size: 22px;
  font-variation-settings: 'opsz' 96, 'wght' 500, 'SOFT' 30, 'WONK' 1;
}
.br-mark__site-mark svg { width: 28px; height: 28px; color: var(--br-coral); }
.br-mark__site-links {
  display: flex; gap: 24px;
  font-family: var(--br-sans);
  font-size: 13px;
  color: rgba(10, 10, 12, 0.7);
}
.br-mark__site-hero {
  flex: 1;
  padding: 40px 50px;
  display: flex; flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.br-mark__site-hero h3 {
  font-family: var(--br-display);
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1.04;
  font-variation-settings: 'opsz' 144, 'wght' 500, 'SOFT' 30, 'WONK' 1;
  margin: 0;
}
.br-mark__site-hero h3 em {
  font-style: italic;
  color: var(--br-coral);
}
.br-mark__site-hero p {
  font-family: var(--br-sans);
  font-size: 16px;
  color: rgba(10, 10, 12, 0.7);
  max-width: 460px;
  margin: 0;
}
.br-mark__site-hero .link {
  color: var(--br-coral);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* ============================================================
 * 04 — PROCESS (sticky pinned scenes)
 * ============================================================ */
.br-process {
  position: relative;
  padding: 0;
  background: linear-gradient(180deg, transparent, rgba(247, 231, 215, 0.02), transparent);
}
.br-process__inner {
  position: relative;
  height: 600vh;
}
.br-process__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.br-process__num {
  position: absolute;
  top: 8vh; right: 6vw;
  font-family: var(--br-display);
  font-style: italic;
  font-size: clamp(120px, 18vw, 280px);
  line-height: 1;
  color: rgba(247, 231, 215, 0.05);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 30, 'WONK' 1;
  pointer-events: none;
}
.br-process__scene {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  padding: 0 6vw;
}
.br-process__scene.is-active {
  opacity: 1;
  transform: translateY(0);
}
.br-process__scene-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}
.br-process__copy h3 {
  font-family: var(--br-display);
  font-size: clamp(40px, 5.6vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 24px 0 20px;
  font-variation-settings: 'opsz' 144, 'wght' 500, 'SOFT' 30, 'WONK' 1;
}
.br-process__copy h3 em {
  font-style: italic;
  color: var(--br-lime);
}
.br-process__copy p {
  font-family: var(--br-sans);
  font-size: 17px;
  line-height: 1.62;
  color: rgba(247, 231, 215, 0.72);
  max-width: 480px;
}
.br-process__step {
  margin-top: 24px;
  font-family: var(--br-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}
.br-process__visual {
  position: relative;
  height: 56vh;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(247, 231, 215, 0.03);
  border: 1px solid var(--br-line);
}

.br-process__rail {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: rgba(247, 231, 215, 0.12);
  border-radius: 1px;
  overflow: hidden;
  z-index: 50;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.br-process__rail.is-on { opacity: 1; }
.br-process__rail-fill {
  height: 100%;
  width: 0%;
  background: var(--br-lime);
  transition: width 0.2s linear;
}

/* process visual variants */
.br-pv {
  position: absolute; inset: 0;
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 12px;
  overflow: auto;
}
.br-pv--discover { gap: 16px; }
.br-pv__quote {
  padding: 18px 22px;
  background: rgba(247, 231, 215, 0.04);
  border-left: 2px solid var(--br-coral);
  border-radius: 0 6px 6px 0;
}
.br-pv__quote em {
  display: block;
  font-family: var(--br-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.3;
  color: var(--br-paper);
  font-variation-settings: 'opsz' 96, 'SOFT' 30, 'WONK' 1;
}
.br-pv__quote span {
  display: block;
  margin-top: 6px;
  font-family: var(--br-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 231, 215, 0.5);
}
.br-pv__tags {
  margin-top: auto;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.br-pv__tags span {
  padding: 6px 12px;
  border: 1px solid var(--br-line);
  border-radius: 999px;
  font-family: var(--br-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 231, 215, 0.6);
}

.br-pv--distill { gap: 14px; }
.br-pv__terr {
  padding: 18px 22px;
  border: 1px solid var(--br-line);
  border-radius: 8px;
  background: rgba(247, 231, 215, 0.02);
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0.6;
}
.br-pv__terr.is-pick {
  border-color: var(--br-coral);
  background: rgba(255, 107, 91, 0.08);
  opacity: 1;
}
.br-pv__terr-tag {
  font-family: var(--br-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 231, 215, 0.45);
}
.br-pv__terr.is-pick .br-pv__terr-tag { color: var(--br-coral); }
.br-pv__terr-name {
  font-family: var(--br-display);
  font-style: italic;
  font-size: 22px;
  font-variation-settings: 'opsz' 96, 'wght' 500, 'SOFT' 30, 'WONK' 1;
}
.br-pv__terr-line {
  font-family: var(--br-sans);
  font-size: 13px;
  color: rgba(247, 231, 215, 0.65);
}

.br-pv--design { padding: 18px; }
.br-pv__sketch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  height: 100%;
}
.br-pv__sketch {
  background: rgba(247, 231, 215, 0.03);
  border: 1px solid var(--br-line);
  border-radius: 6px;
  display: grid; place-items: center;
  position: relative;
  transition: all 0.3s ease;
}
.br-pv__sketch.is-pick {
  background: rgba(255, 107, 91, 0.10);
  border-color: var(--br-coral);
  box-shadow: 0 0 0 1px var(--br-coral);
}
.br-pv__sketch svg { width: 60%; height: 60%; color: rgba(247, 231, 215, 0.7); }
.br-pv__sketch.is-pick svg { color: var(--br-coral); }
.br-pv__sketch-num {
  position: absolute; top: 6px; left: 8px;
  font-family: var(--br-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(247, 231, 215, 0.4);
}

.br-pv--develop { padding: 22px 26px; }
.br-pv__sys-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--br-line);
  align-items: center;
}
.br-pv__sys-row:last-child { border-bottom: 0; }
.br-pv__sys-row .k {
  font-family: var(--br-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 231, 215, 0.5);
}
.br-pv__sys-row .v {
  font-family: var(--br-sans);
  font-size: 14px;
  color: rgba(247, 231, 215, 0.9);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.br-pv__sys-row .v i {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(247, 231, 215, 0.18);
}

.br-pv--deliver {
  flex-direction: row; flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 8px;
  padding: 28px;
}
.br-pv__chip {
  padding: 8px 14px;
  border: 1px solid var(--br-line);
  border-radius: 999px;
  font-family: var(--br-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 231, 215, 0.7);
  transition: all 0.3s ease;
}
.br-pv__chip:hover {
  background: var(--br-coral);
  color: var(--br-ink);
  border-color: var(--br-coral);
}

.br-pv--defend { padding: 22px 26px; gap: 0; }
.br-pv__defense {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--br-line);
  align-items: baseline;
}
.br-pv__defense:last-child { border-bottom: 0; }
.br-pv__defense .k {
  font-family: var(--br-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--br-lime);
}
.br-pv__defense .v {
  font-family: var(--br-display);
  font-style: italic;
  font-size: 17px;
  color: rgba(247, 231, 215, 0.92);
  font-variation-settings: 'opsz' 96, 'SOFT' 30, 'WONK' 1;
}

/* ============================================================
 * 05 — TRUTH (live brand morphing)
 * ============================================================ */
.br-truth__stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
.br-truth__phone {
  position: relative;
  width: min(340px, 80%);
  margin: 0 auto;
  aspect-ratio: 9 / 19;
  border: 8px solid #2a2a2d;
  border-radius: 38px;
  background: var(--br-paper);
  overflow: hidden;
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(247, 231, 215, 0.05);
  transition: background 0.6s ease;
}
.br-truth__notch {
  position: absolute; top: 4px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 22px;
  background: #000;
  border-radius: 999px;
  z-index: 5;
}
.br-truth__statusbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 36px 24px 8px;
  font-family: var(--br-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--br-ink);
  transition: color 0.6s ease;
}
.br-truth__screen {
  padding: 12px 18px 18px;
  display: flex; flex-direction: column;
  gap: 14px;
  height: calc(100% - 56px);
  color: var(--br-ink);
  transition: color 0.6s ease;
}
.br-truth__hero {
  text-align: center;
  padding: 22px 8px 18px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.02);
  display: flex; flex-direction: column; gap: 12px; align-items: center;
}
.br-truth__hero-mark {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--br-coral);
  color: var(--br-paper);
  display: grid; place-items: center;
  font-family: var(--br-display);
  font-style: italic;
  font-size: 32px;
  font-weight: 600;
  font-variation-settings: 'opsz' 96, 'wght' 600, 'SOFT' 30, 'WONK' 1;
  transition: background 0.45s ease, color 0.45s ease, transform 0.45s ease;
}
.br-truth__hero h4 {
  font-family: var(--br-display);
  font-size: 22px;
  font-style: italic;
  margin: 0;
  font-variation-settings: 'opsz' 96, 'wght' 500, 'SOFT' 30, 'WONK' 1;
}
.br-truth__hero p {
  font-family: var(--br-sans);
  font-size: 13px;
  color: rgba(10, 10, 12, 0.65);
  margin: 0;
}
.br-truth__cards {
  display: flex; flex-direction: column; gap: 8px;
}
.br-truth__card {
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  display: flex; flex-direction: column; gap: 2px;
  font-family: var(--br-sans);
  font-size: 12px;
}
.br-truth__card .k { color: rgba(10, 10, 12, 0.5); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.br-truth__card .v { color: var(--br-ink); font-weight: 500; }
.br-truth__cta {
  margin-top: auto;
  padding: 14px;
  background: var(--br-coral);
  color: var(--br-ink);
  border: 0;
  border-radius: 12px;
  font-family: var(--br-sans);
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: background 0.45s ease, color 0.45s ease;
}
.br-truth__panel {
  display: flex; flex-direction: column;
  gap: 22px;
  padding: 28px;
  background: rgba(247, 231, 215, 0.03);
  border: 1px solid var(--br-line);
  border-radius: 12px;
}
.br-truth__brand-row {
  display: flex; gap: 14px;
}
.br-truth__brand {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid var(--br-line);
  border-radius: 8px;
  cursor: pointer;
  /* Specific transitions only — `transition: all` on a clickable card
   * occasionally drops mid-click activation when the page bg-tone is
   * also transitioning (browser batching paint). */
  transition: border-color 0.3s ease, background-color 0.3s ease;
  position: relative;
  z-index: 1;
}
.br-truth__brand.is-on {
  border-color: var(--lime);
  background: rgba(212, 255, 58, 0.05);
}
.br-truth__brand.is-on .br-truth__brand-tag,
.br-truth__brand.is-on .br-truth__brand-name { color: var(--br-paper); }
.br-truth__brand-name {
  font-family: var(--br-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 231, 215, 0.7);
  margin-bottom: 4px;
}
.br-truth__brand-name em {
  font-family: var(--br-display);
  font-style: italic;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--br-paper);
  margin-left: 4px;
  font-variation-settings: 'opsz' 96, 'SOFT' 30, 'WONK' 1;
}
.br-truth__brand-line {
  font-family: var(--br-sans);
  font-size: 12px;
  color: rgba(247, 231, 215, 0.55);
}
.br-truth__slider-wrap {
  display: flex; flex-direction: column; gap: 8px;
}
.br-truth__slider {
  appearance: none;
  width: 100%; height: 4px;
  background: var(--br-line);
  border-radius: 2px;
  outline: none;
  cursor: ew-resize;
}
.br-truth__slider::-webkit-slider-thumb {
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--lime);
  cursor: ew-resize;
  box-shadow: 0 4px 12px rgba(212, 255, 58, 0.5);
}
.br-truth__slider::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--lime);
  cursor: ew-resize;
  border: 0;
  box-shadow: 0 4px 12px rgba(212, 255, 58, 0.5);
}
.br-truth__slider-rail {
  display: flex; justify-content: space-between;
  font-family: var(--br-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 231, 215, 0.55);
}
.br-truth__tokens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--br-line);
  border-left: 1px solid var(--br-line);
}
.br-truth__token {
  padding: 12px 14px;
  border-right: 1px solid var(--br-line);
  border-bottom: 1px solid var(--br-line);
  display: flex; flex-direction: column; gap: 4px;
}
.br-truth__token .k {
  font-family: var(--br-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 231, 215, 0.5);
}
.br-truth__token .v {
  font-family: var(--br-sans);
  font-size: 13px;
  color: var(--br-paper);
}

/* ============================================================
 * 06 — SYSTEM
 * ============================================================ */
.br-sys__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.br-sys__panel {
  padding: 28px;
  background: rgba(247, 231, 215, 0.03);
  border: 1px solid var(--br-line);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.br-sys__panel-head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--br-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 231, 215, 0.55);
  margin-bottom: 22px;
}
.br-sys__panel-head .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
}

.br-sys__type-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--br-line);
  color: var(--br-paper);
  line-height: 1.0;
}
.br-sys__type-row:last-child { border-bottom: 0; padding-bottom: 0; }

.br-sys__sw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--br-line);
  border: 1px solid var(--br-line);
  border-radius: 8px;
  overflow: hidden;
}
.br-sys__sw {
  aspect-ratio: 2 / 1;
  padding: 12px 14px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  color: var(--br-paper);
  position: relative;
}
.br-sys__sw-name {
  font-family: var(--br-display);
  font-style: italic;
  font-size: 22px;
  font-variation-settings: 'opsz' 96, 'wght' 500, 'SOFT' 30, 'WONK' 1;
}
.br-sys__sw-meta {
  font-family: var(--br-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.br-sys__voice-rule {
  padding: 14px 0;
  border-bottom: 1px solid var(--br-line);
  font-family: var(--br-sans);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(247, 231, 215, 0.78);
}
.br-sys__voice-rule:last-child { border-bottom: 0; }
.br-sys__voice-rule em {
  font-family: var(--br-display);
  font-style: italic;
  color: var(--br-paper);
  font-size: 15px;
  font-variation-settings: 'opsz' 96, 'SOFT' 30, 'WONK' 1;
}
.br-sys__voice-rule .ok, .br-sys__voice-rule .no {
  display: inline-block;
  padding: 3px 9px;
  margin-right: 10px;
  font-family: var(--br-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
}
.br-sys__voice-rule .ok { background: var(--br-pine); color: var(--br-paper); }
.br-sys__voice-rule .no { background: rgba(255, 107, 91, 0.15); color: var(--br-coral); border: 1px solid var(--br-coral); }

.br-sys__jar { padding: 0; }
.br-sys__jar .br-sys__panel-head {
  position: absolute; top: 18px; left: 22px;
  margin: 0;
  z-index: 2;
}
#br-sys-jar {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  display: block;
  background: rgba(247, 231, 215, 0.02);
}
.br-sys__jar-readout {
  position: absolute; bottom: 14px; left: 22px; right: 22px;
  padding: 10px 14px;
  background: rgba(10, 10, 12, 0.65);
  border: 1px solid var(--br-line);
  border-radius: 6px;
  font-family: var(--br-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: rgba(247, 231, 215, 0.85);
  backdrop-filter: blur(8px);
}

/* ============================================================
 * 07 — TOOLS
 * ============================================================ */
.br-tools__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--br-line);
  border: 1px solid var(--br-line);
  border-radius: 12px;
  overflow: hidden;
}
.br-tool {
  background: var(--br-ink);
  padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  /* Specific transitions only — `transition: all` collides with rich.js's
   * stagger-list animation-fill-mode: forwards (the animation "owns" the
   * transform/opacity properties under fill, so any all-transition fight
   * leaves the tile feeling unhoverable mid-viewport). */
  transition: background-color 0.3s ease, color 0.3s ease;
  min-height: 110px;
  position: relative;
}
.br-tool:hover {
  background: var(--br-coral);
  color: var(--br-ink);
}
.br-tool .cat {
  font-family: var(--br-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 231, 215, 0.45);
  margin-bottom: 6px;
}
.br-tool:hover .cat { color: rgba(10, 10, 12, 0.6); }
.br-tool .nm {
  font-family: var(--br-display);
  font-style: italic;
  font-size: 22px;
  font-variation-settings: 'opsz' 96, 'wght' 500, 'SOFT' 30, 'WONK' 1;
}
.br-tool .glyph svg {
  width: 28px; height: 28px;
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.4;
  transition: stroke 0.3s ease, transform 0.3s ease;
}
.br-tool:hover .glyph svg {
  stroke: var(--br-ink);
  transform: rotate(8deg);
}

/* ============================================================
 * 08 — CTA
 * ============================================================ */
.br-cta {
  position: relative;
  padding: 160px 6vw 200px;
  text-align: center;
  overflow: hidden;
}
.br-cta canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.br-cta__inner {
  position: relative; z-index: 1;
  max-width: 880px;
  margin: 0 auto;
}
.br-cta__title {
  font-family: var(--br-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 24px 0 24px;
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 30, 'WONK' 1;
}
.br-cta__title em {
  font-style: italic;
  color: var(--br-lime);
}
.br-cta__lede {
  font-family: var(--br-sans);
  font-size: 18px;
  line-height: 1.6;
  color: rgba(247, 231, 215, 0.7);
  max-width: 580px;
  margin: 0 auto 36px;
}

/* ============================================================
 * Tweaks panel + sound toggle — hidden on production-facing pages.
 * These were dev-only controls; Faris flagged the floating chrome as
 * out of place on Branding. Keep the markup so JS handlers don't
 * throw, but display: none.
 * ============================================================ */
.br-page .v2-tweaks,
.br-page .v2-sound { display: none !important; }

/* ============================================================
 * Responsive
 * ============================================================ */
@media (max-width: 1024px) {
  .br-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .br-hero__three { display: none; }
  .br-hero__metrics { grid-template-columns: repeat(2, 1fr); }
  .br-hero__metric { border-bottom: 1px solid var(--br-line); }
  .br-hero__metric:nth-child(2) { border-right: 0; }
  .br-process__scene-inner { grid-template-columns: 1fr; gap: 30px; }
  .br-process__visual { height: 38vh; }
  .br-truth__stage { grid-template-columns: 1fr; gap: 30px; }
  .br-tools__grid { grid-template-columns: repeat(2, 1fr); }
  .br-sys__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .br-section { padding: 80px 5vw 100px; }
  .br-hero { padding: 100px 5vw 40px; }
  .br-ledger__row { grid-template-columns: 1fr; gap: 8px; padding: 18px 12px; }
  .br-ledger__metric { text-align: left; }
  .br-pv__sketch-grid { grid-template-columns: repeat(3, 1fr); }
  .br-mark__pin { height: auto; }
  .br-mark__sticky { position: static; height: auto; }
  .br-mark__viewport { height: 60vh; margin: 24px 0; }
  .br-process__inner { height: auto; }
  .br-process__sticky { position: static; height: auto; padding: 60px 0; }
  .br-process__scene { position: relative; opacity: 1; transform: none; padding: 30px 5vw; height: auto; }
  .br-process__visual { height: 40vh; }
  .br-truth__tokens { grid-template-columns: 1fr; }
  .br-process__rail { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .br-process__scene { transition: none; }
  .br-mark__surface { transition: none; }
  .br-foundry__pulse, .br-eyebrow .dot { animation: none; }
}
