/* ============================================================
   BelBes Studio — Site styles
   Multi-page, editorial. Shared across all pages.
   ============================================================ */

/* ---- Fonts ------------------------------------------------ */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Serif Pro";
  src: url("../fonts/source-serif-pro-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Serif Pro";
  src: url("../fonts/source-serif-pro-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Serif Pro";
  src: url("../fonts/source-serif-pro-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* JetBrains Mono via Google for monospace specimen */
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap");

/* ---- Tokens ----------------------------------------------- */

:root {
  --bb-red:           #EB0000;
  --bb-red-ink:       #C40000;
  --bb-ink:           #1F1B17;
  --bb-ink-soft:      #2A2620;
  --bb-graphite:      #5A554F;
  --bb-stone:         #8A857F;
  --bb-hairline:      #1F1B17;
  --bb-hairline-soft: rgba(31, 27, 23, 0.12);

  --bb-cream:         #F7F4EE;
  --bb-cream-deep:    #EFEAE0;
  --bb-paper:         #FAFAFA;
  --bb-white:         #FFFFFF;

  --bg:               var(--bb-cream);
  --bg-alt:           var(--bb-cream-deep);
  --bg-inverse:       var(--bb-ink);
  --fg:               var(--bb-ink);
  --fg-muted:         var(--bb-graphite);
  --fg-subtle:        var(--bb-stone);
  --fg-inverse:       var(--bb-cream);
  --primary:          var(--bb-red);
  --rule:             var(--bb-hairline);
  --rule-soft:        var(--bb-hairline-soft);

  --font-display:     "Source Serif Pro", "Iowan Old Style", Georgia, serif;
  --font-body:        "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:        "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fs-display-xl:    clamp(56px, 9vw, 128px);
  --fs-display-lg:    clamp(44px, 6.4vw, 96px);
  --fs-display-md:    clamp(36px, 4.8vw, 72px);
  --fs-display-sm:    clamp(28px, 3.6vw, 52px);
  --fs-h1:            clamp(36px, 4.2vw, 64px);
  --fs-h2:            clamp(26px, 2.6vw, 40px);
  --fs-h3:            22px;
  --fs-h4:            18px;
  --fs-body-lg:       18px;
  --fs-body:          16px;
  --fs-body-sm:       14px;
  --fs-caption:       12px;
  --fs-label:         11px;

  --sp-1:  4px;  --sp-2:  8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px;  --sp-6: 32px;  --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px;  --sp-10: 128px; --sp-11: 192px;

  --container-max: 1280px;
  --gutter: clamp(20px, 4vw, 64px);

  --bw-hairline: 1px;
  --bw-rule:     1.5px;
  --bw-strong:   2px;

  --ease-editorial: cubic-bezier(0.25, 0.1, 0.25, 1);
  --dur-fast: 180ms; --dur-base: 280ms; --dur-slow: 600ms; --dur-hero: 800ms;
}

/* ---- Reset ------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--bb-ink); color: var(--bb-cream); }

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }

a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--dur-fast) var(--ease-editorial); }
a:hover { color: var(--primary); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--bb-ink); outline-offset: 2px;
}

/* ---- Type utilities --------------------------------------- */

.t-display-xl, .t-display-lg, .t-display-md, .t-display-sm, .t-h1, .t-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--fg);
  text-wrap: balance;
  margin: 0;
}
.t-display-xl { font-size: var(--fs-display-xl); line-height: 0.95; letter-spacing: -0.03em; }
.t-display-lg { font-size: var(--fs-display-lg); line-height: 0.98; letter-spacing: -0.028em; }
.t-display-md { font-size: var(--fs-display-md); line-height: 1.0; letter-spacing: -0.025em; }
.t-display-sm { font-size: var(--fs-display-sm); line-height: 1.04; }
.t-h1 { font-size: var(--fs-h1); line-height: 1.05; }
.t-h2 { font-size: var(--fs-h2); line-height: 1.1; }
.t-italic { font-style: italic; }
em, i { font-style: italic; }
strong, b { font-weight: 600; }

.t-h3 { font-family: var(--font-body); font-weight: 500; font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.01em; margin: 0; }
.t-h4 { font-family: var(--font-body); font-weight: 500; font-size: var(--fs-h4); line-height: 1.35; margin: 0; }

.t-body-lg { font-size: var(--fs-body-lg); line-height: 1.6; }
.t-body    { font-size: var(--fs-body); line-height: 1.6; }
.t-body-sm { font-size: var(--fs-body-sm); line-height: 1.5; }
.t-muted  { color: var(--fg-muted); }
.t-subtle { color: var(--fg-subtle); }

.t-caption { font-size: var(--fs-caption); line-height: 1.4; color: var(--fg-muted); }

.t-label, .bb-label, .bb-eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-label);
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.bb-eyebrow.on-dark, .t-label.on-dark { color: var(--fg-inverse); opacity: 0.75; }
.bb-eyebrow .dot,
.t-label .dot { display: inline-block; width: 6px; height: 6px; background: var(--primary); border-radius: 999px; margin-right: 8px; vertical-align: 1px; }

.t-mono, .bb-mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0; }

/* ---- Layout shell ----------------------------------------- */

.bb-page { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-wide {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.bb-section { padding: var(--sp-9) 0; border-top: var(--bw-hairline) solid var(--rule); }
.bb-section:first-child { border-top: 0; }
.bb-section-pad-lg { padding: var(--sp-10) 0; }
.bb-section-pad-sm { padding: var(--sp-8) 0; }
.bb-section-inverse { background: var(--bg-inverse); color: var(--fg-inverse); }
.bb-section-inverse .bb-eyebrow, .bb-section-inverse .t-label { color: var(--fg-inverse); opacity: 0.7; }
.bb-section-inverse .t-muted { color: rgba(247,244,238,0.65); }

@media (max-width: 768px) {
  .bb-section { padding: var(--sp-8) 0; }
  .bb-section-pad-lg { padding: var(--sp-8) 0; }
}

/* ---- Header ----------------------------------------------- */

.bb-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-6);
  padding: var(--sp-5) var(--gutter);
  border-bottom: var(--bw-hairline) solid var(--rule);
  position: sticky; top: 0; z-index: 50;
  background: var(--bb-cream);
}
.bb-wordmark {
  display: flex; align-items: baseline; gap: 10px;
  text-decoration: none;
  position: relative;
}
.bb-wordmark-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 6px;
}
.bb-wordmark-italic::after {
  content: ""; position: absolute; left: 0; right: 14%;
  bottom: 0; height: 2px; background: var(--bb-red);
}
.bb-wordmark-tag {
  font-family: var(--font-body); font-weight: 500;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-muted);
}
.bb-nav { display: flex; align-items: center; gap: var(--sp-6); }
.bb-nav-link {
  font-family: var(--font-body); font-weight: 500;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; color: var(--fg);
  padding: 6px 0;
  position: relative;
}
.bb-nav-link:hover { color: var(--primary); }
.bb-nav-link.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1.5px; background: var(--bb-ink);
}
.bb-nav-link.is-active { color: var(--bb-ink); }

@media (max-width: 880px) {
  .bb-nav { display: none; }
}

/* ---- Buttons ---------------------------------------------- */

.bb-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border: var(--bw-rule) solid var(--bb-ink);
  background: var(--bb-ink);
  color: var(--bb-cream);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: none;
  text-decoration: none;
  border-radius: 2px;
  transition: background var(--dur-fast) var(--ease-editorial),
              color var(--dur-fast) var(--ease-editorial),
              border-color var(--dur-fast) var(--ease-editorial);
  cursor: pointer;
}
.bb-btn:hover { color: var(--bb-cream); background: var(--bb-red); border-color: var(--bb-red); }
.bb-btn:active { background: var(--bb-red-ink); border-color: var(--bb-red-ink); }

.bb-btn-primary { background: var(--bb-red); border-color: var(--bb-red); }
.bb-btn-primary:hover { background: var(--bb-ink); border-color: var(--bb-ink); color: var(--bb-cream); }
.bb-btn-primary:active { background: var(--bb-red-ink); border-color: var(--bb-red-ink); }

.bb-btn-ghost { background: transparent; color: var(--bb-ink); border-color: var(--bb-ink); }
.bb-btn-ghost:hover { background: var(--bb-ink); color: var(--bb-cream); }

.bb-btn-sm { padding: 10px 16px; font-size: 12px; }

.bb-btn-link {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
  font-family: var(--font-body); font-weight: 500; font-size: 14px;
  color: var(--bb-ink);
  padding: 8px 0;
  border-bottom: 1px solid var(--bb-ink);
}
.bb-btn-link .bb-arr { transition: transform var(--dur-fast) var(--ease-editorial); display: inline-block; }
.bb-btn-link:hover { color: var(--bb-red); border-bottom-color: var(--bb-red); }
.bb-btn-link:hover .bb-arr { transform: translateX(3px); }

/* ---- Chips ------------------------------------------------ */

.bb-chip {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--bb-ink);
  border-radius: 999px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
}
.bb-chip.is-red { color: var(--bb-red); border-color: var(--bb-red); }

/* ---- Hero ------------------------------------------------- */

.bb-hero {
  position: relative;
  padding: var(--sp-10) var(--gutter) var(--sp-9);
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  gap: var(--sp-7);
  align-items: end;
  border-bottom: var(--bw-hairline) solid var(--rule);
  overflow: hidden;
}
.bb-hero-rail { display: flex; flex-direction: column; gap: var(--sp-3); }
.bb-hero-rail .bb-label {
  writing-mode: vertical-rl; transform: rotate(180deg);
  letter-spacing: 0.14em;
}
.bb-hero-body { max-width: 64ch; }
.bb-hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-display-lg);
  line-height: 0.98;
  letter-spacing: -0.028em;
  margin: var(--sp-5) 0 var(--sp-6);
  text-wrap: balance;
}
.bb-hero-lede {
  font-family: var(--font-body);
  font-size: 18px; line-height: 1.55;
  max-width: 56ch;
  color: var(--bb-ink);
  margin: 0 0 var(--sp-7);
}
.bb-hero-cta { display: flex; flex-wrap: wrap; gap: var(--sp-5); align-items: center; }
.bb-hero-meta {
  position: relative;
  align-self: stretch;
  display: flex; align-items: flex-end;
}
.bb-hero-photo {
  position: relative;
  width: 100%; height: 100%;
  min-height: 420px;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  overflow: hidden;
}

@media (max-width: 1024px) {
  .bb-hero { grid-template-columns: 1fr; padding: var(--sp-8) var(--gutter) var(--sp-7); gap: var(--sp-6); }
  .bb-hero-rail { display: none; }
  .bb-hero-photo { min-height: 280px; }
}

/* ---- Photo placeholders / ambient ------------------------- */

.bb-photo-tag {
  position: absolute; left: 16px; bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0;
  color: var(--fg-muted);
  background: var(--bb-cream);
  padding: 4px 8px;
  border: 1px solid var(--rule);
}
.bb-photo-corner {
  position: absolute; right: 16px; top: 16px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-muted);
}
.bb-photo-placeholder {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  width: 100%;
  aspect-ratio: 16/10;
}

/* Editorial hero placeholder painting:
   warm cream surface w/ subtle grain via radial gradients,
   single red accent (book/cup/dot), hairline rule for desk edge.
   No photographic illusion — honest editorial sketch. */
.bb-photo-editorial {
  position: relative;
  background: var(--bb-cream-deep);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.bb-photo-editorial::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 22% 30%, rgba(255,253,247,0.85), transparent 60%),
    radial-gradient(ellipse 50% 40% at 75% 85%, rgba(31,27,23,0.08), transparent 70%);
  pointer-events: none;
}
.bb-photo-editorial::after {
  content: ""; position: absolute;
  left: 0; right: 0; top: 64%;
  height: 1px; background: rgba(31,27,23,0.18);
}
.bb-photo-editorial .bb-photo-accent {
  position: absolute;
  left: 30%; top: 38%;
  width: clamp(90px, 14%, 200px);
  aspect-ratio: 3/4;
  background: var(--bb-cream);
  border: 1px solid rgba(31,27,23,0.25);
}
.bb-photo-editorial .bb-photo-accent::after {
  content: "";
  position: absolute;
  right: 8%; top: 12%;
  width: 12%; height: 78%;
  background: var(--bb-red);
}
.bb-photo-editorial .bb-photo-accent::before {
  content: "";
  position: absolute; left: 14%; top: 18%;
  right: 22%; height: 2px;
  background: rgba(31,27,23,0.35);
  box-shadow:
    0 8px 0 0 rgba(31,27,23,0.25),
    0 16px 0 0 rgba(31,27,23,0.18),
    0 24px 0 0 rgba(31,27,23,0.12);
}
.bb-photo-editorial .bb-photo-cup {
  position: absolute;
  right: 22%; top: 50%;
  width: 9%;
  aspect-ratio: 1/1;
  background: var(--bb-red);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(31,27,23,0.15);
}

@media (prefers-reduced-motion: no-preference) {
  .bb-photo-editorial .bb-photo-cup {
    animation: bb-red-breathe 8s var(--ease-editorial) infinite;
  }
  .bb-photo-editorial::before {
    animation: bb-light-drift 14s ease-in-out infinite alternate;
  }
}
@keyframes bb-red-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}
@keyframes bb-light-drift {
  0%   { transform: translateX(-2%); }
  100% { transform: translateX(2%); }
}

/* Portrait placeholder for founders */
.bb-photo-portrait {
  position: relative;
  background: var(--bb-cream-deep);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.bb-photo-portrait::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 35% 28% at 35% 35%, rgba(31,27,23,0.18), transparent 70%),
    radial-gradient(ellipse 35% 28% at 65% 38%, rgba(31,27,23,0.18), transparent 70%),
    radial-gradient(ellipse 45% 18% at 35% 72%, rgba(31,27,23,0.16), transparent 70%),
    radial-gradient(ellipse 45% 18% at 65% 74%, rgba(31,27,23,0.16), transparent 70%);
}
.bb-photo-portrait::after {
  content: ""; position: absolute;
  right: 8%; top: 12%;
  width: 6px; height: 56px;
  background: var(--bb-red);
}

/* Case thumb placeholder — laptop sketch */
.bb-photo-case {
  position: relative;
  background: var(--bb-cream-deep);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.bb-photo-case::before {
  content: "";
  position: absolute;
  left: 16%; top: 18%; right: 16%; bottom: 26%;
  background: var(--bb-cream);
  border: 1px solid rgba(31,27,23,0.35);
}
.bb-photo-case::after {
  content: ""; position: absolute;
  left: 10%; right: 10%; bottom: 22%;
  height: 6px; background: rgba(31,27,23,0.4);
}
.bb-photo-case .bb-photo-accent {
  position: absolute;
  right: 22%; bottom: 12%;
  width: 22px; height: 22px;
  background: var(--bb-red);
  border-radius: 999px;
}

/* ---- Manifesto / numbered rows ---------------------------- */

.bb-manifesto-list {
  margin-top: var(--sp-6);
  display: grid; grid-template-columns: 1fr;
}
.bb-manifesto-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--sp-6);
  align-items: baseline;
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--rule);
}
.bb-manifesto-row:last-child { border-bottom: 1px solid var(--rule); }
.bb-manifesto-num {
  font-family: var(--font-mono); font-size: 13px; color: var(--fg-muted);
}
.bb-manifesto-text {
  font-family: var(--font-display); font-size: clamp(24px, 3vw, 40px);
  line-height: 1.15; letter-spacing: -0.02em;
}

/* ---- Section heads ---------------------------------------- */

.bb-section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-7);
  align-items: end;
  margin-bottom: var(--sp-8);
}
.bb-section-head-stack { display: flex; flex-direction: column; gap: var(--sp-3); }
.bb-section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.bb-section-kicker {
  font-family: var(--font-body); font-size: 16px; color: var(--fg-muted);
  max-width: 52ch; line-height: 1.5;
}
@media (max-width: 880px) {
  .bb-section-head { grid-template-columns: 1fr; align-items: start; }
}

/* ---- Process list (typographic table) --------------------- */

.bb-process-list { display: flex; flex-direction: column; }
.bb-process-row {
  display: grid;
  grid-template-columns: 80px minmax(180px, 1fr) 2fr 120px;
  gap: var(--sp-6);
  align-items: baseline;
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--rule);
  transition: background var(--dur-fast) var(--ease-editorial);
}
.bb-process-row:last-child { border-bottom: 1px solid var(--rule); }
.bb-process-row:hover { background: var(--bg-alt); }
.bb-process-num {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--fg-muted);
}
.bb-process-h {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.15; letter-spacing: -0.02em;
  color: var(--fg);
}
.bb-process-t {
  font-size: 16px; line-height: 1.6;
  color: var(--fg-muted); max-width: 56ch;
}
.bb-process-meta {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--fg-muted);
  text-align: right;
  align-self: center;
}
@media (max-width: 980px) {
  .bb-process-row {
    grid-template-columns: 56px 1fr;
    grid-template-areas:
      "num heading"
      "num text"
      ".  meta";
    row-gap: var(--sp-3);
  }
  .bb-process-num { grid-area: num; }
  .bb-process-h   { grid-area: heading; }
  .bb-process-t   { grid-area: text; }
  .bb-process-meta { grid-area: meta; text-align: left; }
}

/* ---- Pricing / proposition tiers -------------------------- */

.bb-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.bb-tier {
  padding: var(--sp-7) var(--sp-6);
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: var(--sp-5);
  position: relative;
}
.bb-tier:last-child { border-right: 0; }
.bb-tier-eyebrow { display: flex; align-items: center; justify-content: space-between; }
.bb-tier-name { font-family: var(--font-display); font-size: clamp(28px, 3vw, 44px); line-height: 1.05; }
.bb-tier-name em { font-style: italic; }
.bb-tier-price { display: flex; align-items: baseline; gap: 8px; }
.bb-tier-price-num { font-family: var(--font-display); font-style: italic; font-size: clamp(36px, 4vw, 56px); line-height: 1; }
.bb-tier-price-unit { font-family: var(--font-mono); font-size: 13px; color: var(--fg-muted); }
.bb-tier-time {
  font-family: var(--font-mono); font-size: 13px; color: var(--fg-muted);
  display: inline-flex; align-items: center; gap: 8px;
}
.bb-tier-time::before { content: ""; width: 6px; height: 6px; background: var(--bb-red); border-radius: 999px; }
.bb-tier-line { height: 1px; background: var(--rule); }
.bb-tier-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bb-tier-list li {
  display: grid; grid-template-columns: 16px 1fr; gap: 12px;
  font-size: 14px; line-height: 1.5;
  color: var(--fg);
}
.bb-tier-list li::before {
  content: "—"; color: var(--fg-muted); font-family: var(--font-mono);
}
.bb-tier-list.is-out li::before { content: "×"; color: var(--bb-red); }
.bb-tier-list.is-out li { color: var(--fg-muted); }

.bb-tier-cta { margin-top: auto; padding-top: var(--sp-5); }

.bb-tier.is-feature {
  background: var(--bg-alt);
}
.bb-tier.is-feature .bb-tier-name { position: relative; }

@media (max-width: 980px) {
  .bb-tiers { grid-template-columns: 1fr; }
  .bb-tier { border-right: 0; border-bottom: 1px solid var(--rule); }
  .bb-tier:last-child { border-bottom: 0; }
}

/* ---- Case grid -------------------------------------------- */

.bb-work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-7) var(--sp-7);
}
.bb-work-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  border-top: 1px solid var(--rule);
  padding-top: var(--sp-5);
  cursor: pointer;
}
.bb-work-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  margin-bottom: var(--sp-5);
  transition: opacity var(--dur-base) var(--ease-editorial);
}
.bb-work-card:hover .bb-work-photo { opacity: 0.86; }
.bb-work-meta { display: flex; flex-direction: column; gap: 8px; }
.bb-work-num { font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted); }
.bb-work-title {
  font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.15; letter-spacing: -0.02em;
}
.bb-work-title em { font-style: italic; }
.bb-work-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: var(--sp-3);
  gap: var(--sp-4);
}
@media (max-width: 768px) {
  .bb-work-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
}

/* ---- Form ------------------------------------------------- */

.bb-form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6) var(--sp-7); margin-top: var(--sp-6); }
.bb-field { display: flex; flex-direction: column; gap: 8px; }
.bb-field-wide { grid-column: 1 / -1; }
.bb-field label {
  font-family: var(--font-body); font-weight: 500;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-muted);
}
.bb-field input, .bb-field textarea, .bb-field select {
  width: 100%;
  padding: 12px 0;
  font-family: var(--font-body); font-size: 18px;
  color: var(--bb-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--bb-ink);
  border-radius: 0;
  resize: vertical;
}
.bb-field input::placeholder, .bb-field textarea::placeholder { color: var(--fg-subtle); }
.bb-field.is-err input, .bb-field.is-err textarea { border-bottom-color: var(--bb-red); }
.bb-help { font-size: 12px; color: var(--bb-red); }
.bb-help-inline { color: var(--fg-muted); font-size: 12px; }
.bb-form-foot {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
  margin-top: var(--sp-3); flex-wrap: wrap;
}
@media (max-width: 768px) {
  .bb-form { grid-template-columns: 1fr; }
}

/* ---- Hairline rule with red dot (decorative section divider) */

.bb-rule-decor {
  position: relative;
  height: 1px;
  background: var(--bb-ink);
  margin: var(--sp-9) 0;
}
.bb-rule-decor::after {
  content: ""; position: absolute;
  width: 10px; height: 10px;
  background: var(--bb-red); border-radius: 999px;
  top: -4.5px; left: 0;
  animation: bb-dot-travel 5s var(--ease-editorial) infinite;
}
@keyframes bb-dot-travel {
  0%   { left: 0; opacity: 1; }
  80%  { left: calc(100% - 10px); opacity: 1; }
  100% { left: calc(100% - 10px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bb-rule-decor::after { animation: none; left: 50%; }
}

/* ---- Footer ----------------------------------------------- */

.bb-footer {
  background: var(--bb-ink);
  color: var(--fg-inverse);
  padding: var(--sp-9) var(--gutter) var(--sp-6);
  margin-top: 0;
}
.bb-footer .container { padding: 0; }
.bb-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: var(--sp-9);
  padding-bottom: var(--sp-8);
}
.bb-footer-mark {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(80px, 11vw, 160px);
  line-height: 0.9; letter-spacing: -0.03em;
  margin: var(--sp-5) 0 0;
}
.bb-footer-mark-dot { color: var(--bb-red); font-style: normal; }
.bb-footer-rule {
  height: 2px; background: var(--bb-red);
  width: 56%; margin-top: 16px;
}
.bb-footer-cols {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-6);
}
.bb-footer-cols > div { display: flex; flex-direction: column; gap: 8px; }
.bb-footer-h {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(247,244,238,0.55); margin-bottom: 8px;
}
.bb-footer a {
  color: var(--fg-inverse); text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  width: max-content;
}
.bb-footer a:hover { color: var(--bb-red); border-bottom-color: var(--bb-red); }
.bb-footer-bot {
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: var(--sp-5);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(247,244,238,0.18);
}
.bb-footer-bot .bb-mono { color: rgba(247,244,238,0.65); }

@media (max-width: 880px) {
  .bb-footer-top { grid-template-columns: 1fr; }
  .bb-footer-cols { grid-template-columns: 1fr 1fr; }
}

/* ---- Process overview (typographic narrative) ------------- */

.bb-process-narrative {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--rule);
}
.bb-pn-cell {
  padding: var(--sp-6) var(--sp-4) var(--sp-7);
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: var(--sp-3);
  position: relative;
  transition: background var(--dur-base) var(--ease-editorial);
}
.bb-pn-cell:last-child { border-right: 0; }
.bb-pn-cell:hover { background: var(--bg-alt); }
.bb-pn-num { font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted); }
.bb-pn-name {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.1; letter-spacing: -0.02em;
}
.bb-pn-tag { font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted); }
.bb-pn-body { font-size: 14px; line-height: 1.55; color: var(--fg-muted); margin-top: auto; }
.bb-pn-arrow {
  position: absolute;
  right: -7px; top: 50%;
  width: 12px; height: 12px;
  transform: translateY(-50%) rotate(-45deg);
  border-right: 1.5px solid var(--bb-red);
  border-top: 1.5px solid var(--bb-red);
  background: var(--bb-cream);
}
.bb-pn-cell:last-child .bb-pn-arrow { display: none; }
@media (max-width: 980px) {
  .bb-process-narrative { grid-template-columns: 1fr; border-bottom: 1px solid var(--rule); }
  .bb-pn-cell { border-right: 0; border-bottom: 1px solid var(--rule); }
  .bb-pn-cell:last-child { border-bottom: 0; }
  .bb-pn-arrow { display: none; }
}

/* ---- Pull quote / manifesto block ------------------------- */

.bb-pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-display-sm);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.bb-pullquote em { font-style: italic; }
.bb-pullquote .accent { color: var(--bb-red); font-style: normal; }

/* ---- FAQ list --------------------------------------------- */

.bb-faq { border-top: 1px solid var(--rule); }
.bb-faq details {
  border-bottom: 1px solid var(--rule);
  padding: var(--sp-5) 0;
}
.bb-faq summary {
  display: grid;
  grid-template-columns: 64px 1fr 32px;
  gap: var(--sp-5);
  align-items: baseline;
  cursor: pointer;
  list-style: none;
}
.bb-faq summary::-webkit-details-marker { display: none; }
.bb-faq-num { font-family: var(--font-mono); font-size: 13px; color: var(--fg-muted); }
.bb-faq-q { font-family: var(--font-display); font-size: clamp(20px, 2vw, 28px); line-height: 1.2; letter-spacing: -0.02em; }
.bb-faq-toggle {
  width: 22px; height: 22px;
  position: relative;
  justify-self: end;
  align-self: center;
}
.bb-faq-toggle::before, .bb-faq-toggle::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 14px; height: 1.5px; background: var(--bb-ink);
  transform: translate(-50%, -50%);
  transition: transform var(--dur-base) var(--ease-editorial);
}
.bb-faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .bb-faq-toggle::after { transform: translate(-50%, -50%) rotate(0); }
.bb-faq-a {
  display: grid;
  grid-template-columns: 64px 1fr 32px;
  gap: var(--sp-5);
  padding-top: var(--sp-4);
}
.bb-faq-a > div:nth-child(2) {
  font-size: 16px; line-height: 1.6; color: var(--fg-muted);
  max-width: 64ch;
}

/* ---- Values / two-col text -------------------------------- */

.bb-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-7) var(--sp-9);
}
.bb-value-row {
  display: grid; grid-template-columns: 40px 1fr; gap: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--rule);
}
.bb-value-num { font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted); }
.bb-value-h { font-family: var(--font-display); font-size: clamp(22px, 2vw, 28px); line-height: 1.15; margin-bottom: var(--sp-3); letter-spacing: -0.02em; }
.bb-value-h em { font-style: italic; }
.bb-value-t { color: var(--fg-muted); line-height: 1.6; }
@media (max-width: 880px) {
  .bb-values { grid-template-columns: 1fr; gap: var(--sp-6); }
}

/* ---- Contact channels ------------------------------------ */

.bb-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.bb-channel {
  padding: var(--sp-7) var(--sp-5);
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: var(--sp-3);
  text-decoration: none; color: inherit;
  transition: background var(--dur-fast) var(--ease-editorial);
}
.bb-channel:last-child { border-right: 0; }
.bb-channel:hover { background: var(--bg-alt); color: var(--bb-ink); }
.bb-channel-h { font-family: var(--font-display); font-style: italic; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; }
.bb-channel-meta { font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted); }
.bb-channel-arr { margin-top: auto; padding-top: var(--sp-5); display: flex; align-items: center; gap: 8px; color: var(--bb-red); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; }
@media (max-width: 880px) { .bb-channels { grid-template-columns: 1fr; } .bb-channel { border-right: 0; border-bottom: 1px solid var(--rule); } .bb-channel:last-child { border-bottom: 0; } }

/* ---- Banner CTA strip ------------------------------------- */

.bb-cta-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-7);
  align-items: end;
  padding: var(--sp-9) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.bb-cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin: 0;
}
.bb-cta-banner-title em { font-style: italic; }
.bb-cta-banner-side { display: flex; flex-direction: column; gap: var(--sp-4); align-items: flex-start; }
@media (max-width: 880px) { .bb-cta-banner { grid-template-columns: 1fr; align-items: start; } }

/* ---- Side rail label (decorative number) ------------------ */

.bb-rail {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
}
.bb-rail-v {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.14em;
}

/* ---- Spec table (pricing detail) -------------------------- */

.bb-spec {
  width: 100%; border-collapse: collapse;
}
.bb-spec th, .bb-spec td {
  text-align: left;
  padding: var(--sp-4) var(--sp-3);
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  font-size: 14px;
}
.bb-spec th {
  font-weight: 500;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border-bottom: 1.5px solid var(--bb-ink);
  vertical-align: bottom;
}
.bb-spec td.is-out { color: var(--fg-subtle); }
.bb-spec td .yes { color: var(--bb-ink); }
.bb-spec td .no  { color: var(--fg-subtle); }
.bb-spec tr:hover { background: var(--bg-alt); }
.bb-spec .row-label { font-weight: 500; color: var(--fg); }

/* ---- 404 / error ------------------------------------------ */

.bb-404 {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-8);
  padding: var(--sp-10) 0;
  align-items: end;
  min-height: 60vh;
}
.bb-404-big {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(160px, 26vw, 360px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin: 0;
}
.bb-404-dot { color: var(--bb-red); font-style: normal; }
@media (max-width: 880px) { .bb-404 { grid-template-columns: 1fr; } }

/* ---- Misc ------------------------------------------------- */

.bb-arr { display: inline-block; transition: transform var(--dur-fast) var(--ease-editorial); }
a:hover .bb-arr { transform: translateX(3px); }

.bb-divider-thick {
  height: 2px; background: var(--bb-ink); margin: 0;
}
.bb-divider-red {
  height: 2px; background: var(--bb-red); margin: 0;
}

.bb-rule-h { height: 1px; background: var(--rule); }

/* Two-column body block */
.bb-two-col {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--sp-8);
}
.bb-two-col p { margin: 0 0 var(--sp-4); max-width: 64ch; }
@media (max-width: 880px) { .bb-two-col { grid-template-columns: 1fr; } }

/* Stat row */
.bb-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); padding: var(--sp-6) 0; }
.bb-stat-num { font-family: var(--font-display); font-style: italic; font-size: clamp(36px, 4.5vw, 72px); line-height: 1; }
.bb-stat-num .accent { color: var(--bb-red); font-style: normal; }
.bb-stat-label { font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted); margin-top: 8px; letter-spacing: 0.04em; }
@media (max-width: 880px) { .bb-stats { grid-template-columns: 1fr 1fr; } }

/* AI member card on /about */
.bb-ai-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-8);
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.bb-ai-card-block { display: flex; flex-direction: column; gap: var(--sp-5); }
.bb-ai-supervised { display: grid; grid-template-columns: 80px 1fr; gap: var(--sp-3); padding: var(--sp-4) 0; border-top: 1px solid var(--rule-soft); font-size: 14px; }
.bb-ai-supervised:first-of-type { border-top: 0; }
.bb-ai-supervised .who { font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted); }
@media (max-width: 880px) { .bb-ai-card { grid-template-columns: 1fr; } }

/* Skip link */
.bb-skip {
  position: absolute; left: -9999px; top: -9999px;
}
.bb-skip:focus {
  left: var(--sp-4); top: var(--sp-4);
  z-index: 100;
  background: var(--bb-ink); color: var(--bb-cream);
  padding: 8px 12px; text-decoration: none;
}


/* @v6.11.3-img-fallback */
.bb-photo-editorial,.bb-photo-case{position:relative;overflow:hidden;}
.bb-photo-img{border-radius:inherit;}
