/* @tokens — Quantum Nocturne
   A duplicate of Quantum Mist (bb-design-system.css), revised against the Official Brand Guidelines 2024.
   The four decisions that make it a different system, not a re-colour:

   1. NIGHT IS THE GROUND. The guideline's colour balance (6.10) puts dark blue at 60%, black/white at 30%,
      the accent at 10%. Mist was a light site with dark bands; Nocturne is a dark site with light bands.
      The token names are unchanged, so the same markup flips: --mist is night, --paper is the panel,
      --ink is now the BRIGHT inverse ground (a section or a button that wants to shout goes pale).
   2. THE CORNER IS SHARP. The brand's own tokens set a 2px card radius; the pill stays 999. Architecture,
      not softness. Every card, photo and field is 2px; only what you press is round.
   3. THE PAGE IS RULED. The guideline is a ruled document: every section head sits under a full-bleed
      hairline, so the page reads as a set of plates rather than a scroll of blocks.
   4. THE TYPE IS BIGGER AND THE LABELS ARE MONO. Display runs to 108px at 0.98 leading; Space Mono carries
      every systematic line at 12px minimum, tracked 0.1em.

   Cream (#FAF8EB) is retired, as in Mist. It may never be a ground. */
:root {
  /* colour — the night, the panels above it, and what glows */
  --ds-color-night: #0A1124;
  --ds-color-night-2: #0D1630;
  --ds-color-navy: #131D39;
  --ds-color-navy-2: #1A2646;
  --ds-color-ink: #EEF2F8;           /* the bright inverse ground (was near-black) */
  --ds-color-graphite: #8E9AB4;
  --ds-color-slate: rgba(238, 242, 248, 0.54);
  --ds-color-steel: rgba(238, 242, 248, 0.72);
  --ds-color-haze: rgba(238, 242, 248, 0.14);   /* the hairline */
  --ds-color-haze-2: rgba(238, 242, 248, 0.24);
  --ds-color-mist: #0A1124;          /* the page ground */
  --ds-color-paper: #101B36;         /* the panel a card sits on */
  --ds-color-ember: #D75519;
  --ds-color-ember-deep: #C24A13;
  --ds-color-ember-tint: rgba(215, 85, 25, 0.16);
  --ds-color-glow: #4364B1;          /* the second accent: focus, links, the live thing */
  --ds-color-glow-2: #6E8FD8;
  /* the modalities keep their meaning and get louder on night */
  --ds-color-heat: #FF6A2B;
  --ds-color-cold: #5B8CFF;
  --ds-color-recovery: #6FA58C;
  --ds-color-clinical: #8FA7FF;
  --ds-color-skin: #E2A170;
  --ds-color-community: #E06A6A;
  --ds-color-text: #EEF2F8;
  --ds-color-text-2: rgba(238, 242, 248, 0.66);
  --ds-color-text-muted: var(--ds-color-slate);
  --ds-color-text-inverse: #0A1124;  /* text on a bright ground */
  --ds-color-bg: #0A1124;
  --ds-color-surface: #101B36;
  --ds-color-border: rgba(238, 242, 248, 0.14);
  --ds-color-overlay: rgba(10, 17, 36, 0.42);
  --ds-color-wash-a: #0A1124;
  --ds-color-wash-b: #131D39;
  --ds-color-wash-c: #2A1B2E;

  /* type — Glacial for everything that speaks, Space Mono for everything that labels */
  --ds-font-heading: "Glacial Indifference", "Helvetica Neue", Arial, sans-serif;
  --ds-font-body: "Glacial Indifference", "Helvetica Neue", Arial, sans-serif;
  --ds-font-mono: "Space Mono", "SFMono-Regular", Menlo, monospace;
  --ds-text-label: 0.75rem;
  --ds-text-xs: 0.75rem;
  --ds-text-sm: 0.9375rem;
  --ds-text-base: 1rem;
  --ds-text-lead: 1.1875rem;
  --ds-text-lg: 1.375rem;
  --ds-text-xl: 1.875rem;
  --ds-text-2xl: clamp(2rem, calc(3.4vw + (1rem - 16px) * 2.72), 3.25rem);
  --ds-text-3xl: clamp(2.5rem, calc(4.6vw + (1rem - 16px) * 3.68), 4.5rem);
  --ds-text-display: clamp(2.875rem, calc(5.6vw + (1rem - 16px) * 4.48), 5.25rem);   /* 2026-09-25: was 52/7.4vw/108 — Franco: the home and membership titles were "huge" */
  --ds-weight-regular: 400;
  --ds-weight-medium: 400;
  --ds-weight-semibold: 700;
  --ds-weight-bold: 700;
  --ds-line-display: 1.12;
  --ds-line-h1: 1.12;
  --ds-line-heading: 1.16;
  --ds-line-tight: 1.15;
  --ds-line-h4: 1.22;
  --ds-line-lead: 1.42;
  --ds-line-body: 1.5;
  --ds-letter-display: -0.034em;
  --ds-letter-h1: -0.03em;
  --ds-letter-heading: -0.026em;
  --ds-letter-h3: -0.018em;
  --ds-letter-h4: -0.012em;
  --ds-letter-lead: -0.01em;
  --ds-letter-body: -0.006em;
  --ds-letter-label: 0.1em;

  /* space (4-base) — the rhythm is looser than Mist's; night needs air */
  --ds-space-xs: 4px;
  --ds-space-sm: 8px;
  --ds-space-md: 16px;
  --ds-space-lg: 24px;
  --ds-space-xl: 32px;
  --ds-space-2xl: 48px;
  --ds-space-3xl: 72px;
  --ds-space-section: 104px;
  --ds-space-section-mobile: 80px;
  --ds-space-gutter: 48px;
  --ds-space-gutter-mobile: 20px;
  --ds-space-gap: 24px;

  /* layout */
  --ds-width-container: 1280px;
  --ds-width-prose: 62ch;

  /* shape + motion — sharp where it is read, round where it is pressed */
  --ds-radius-pill: 999px;
  --ds-radius-card: 2px;
  --ds-radius-img: 2px;
  --ds-radius-sm: 2px;
  --ds-shadow-none: none;
  --ds-transition-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ds-transition-fast: 180ms;
  --ds-transition-slow: 420ms;
  --ds-nav-h: 76px;
  --ds-nav-h-scrolled: 60px;
}
/* @reset */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, h5, h6, p, blockquote, figure { margin: 0; }
h1, h2, h3, h4, h5, h6 { color: inherit; font: inherit; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
blockquote { padding: 0; border: none; }

/* @base */
.bb-container { max-width: var(--ds-width-container); margin-inline: auto; padding-inline: var(--ds-space-gutter); }
.bb-section { padding-block: var(--ds-space-section); font-family: var(--ds-font-body); font-size: var(--ds-text-base); line-height: var(--ds-line-body); letter-spacing: var(--ds-letter-body); color: var(--ds-color-text); -webkit-font-smoothing: antialiased; }
.bb-section--mist { background: var(--ds-color-mist); }
.bb-section--paper + .bb-section--mist { padding-top: 88px; }
.bb-section--paper { background: var(--ds-color-paper); border-top: 1px solid var(--ds-color-haze); border-bottom: 1px solid var(--ds-color-haze); }
.bb-section--wash { background: linear-gradient(160deg, var(--ds-color-wash-a) 0%, var(--ds-color-wash-b) 55%, var(--ds-color-wash-c) 100%); }
.bb-section--ink { background: var(--ds-color-ink); color: var(--ds-color-text-inverse); padding-top: 128px; }
.bb-section--ink .bb-h1, .bb-section--ink .bb-h2, .bb-section--ink .bb-h3 { color: var(--ds-color-text-inverse); }
.bb-section--ink .bb-prose, .bb-section--ink .bb-lead { color: var(--ds-color-steel); }
.bb-grid { display: grid; gap: var(--ds-space-gap); grid-template-columns: repeat(12, minmax(0, 1fr)); }

.bb-display { font-family: var(--ds-font-heading); font-weight: var(--ds-weight-regular); font-size: var(--ds-text-display); line-height: var(--ds-line-display); letter-spacing: var(--ds-letter-display); text-wrap: balance; }
.bb-h1 { font-family: var(--ds-font-heading); font-weight: var(--ds-weight-regular); font-size: var(--ds-text-3xl); line-height: var(--ds-line-h1); letter-spacing: var(--ds-letter-h1); text-wrap: balance; }
.bb-h2 { font-family: var(--ds-font-heading); font-weight: var(--ds-weight-regular); font-size: var(--ds-text-2xl); line-height: var(--ds-line-heading); letter-spacing: var(--ds-letter-heading); text-wrap: balance; }
.bb-h3 { font-family: var(--ds-font-heading); font-weight: var(--ds-weight-regular); font-size: var(--ds-text-xl); line-height: var(--ds-line-tight); letter-spacing: var(--ds-letter-h3); }
.bb-h4 { font-family: var(--ds-font-heading); font-weight: var(--ds-weight-regular); font-size: var(--ds-text-lg); line-height: var(--ds-line-h4); letter-spacing: var(--ds-letter-h4); }
.bb-display em, .bb-h1 em, .bb-h2 em, .bb-h3 em { font-style: italic; }
.bb-lead { font-size: var(--ds-text-lead); line-height: var(--ds-line-lead); letter-spacing: var(--ds-letter-lead); color: var(--ds-color-text-2); }
.bb-prose { max-width: var(--ds-width-prose); color: var(--ds-color-text-2); }
.bb-small { font-size: var(--ds-text-sm); line-height: 1.5; color: var(--ds-color-text-2); }
.bb-caption { font-size: var(--ds-text-xs); line-height: 1.5; color: var(--ds-color-slate); }
.bb-label { font-family: var(--ds-font-mono); font-size: var(--ds-text-label); letter-spacing: var(--ds-letter-label); text-transform: uppercase; color: var(--ds-color-slate); line-height: 1.5; }
.bb-num { font-variant-numeric: tabular-nums; }

.bb-hero { position: relative; background-size: cover; background-position: center; color: var(--ds-color-text-inverse); }
.bb-hero::before { content: ""; position: absolute; inset: 0; background: var(--ds-color-overlay); }
.bb-hero > * { position: relative; }
.bb-hero .bb-display, .bb-hero .bb-h1, .bb-hero .bb-h2 { color: var(--ds-color-text-inverse); }
.bb-photo { position: relative; border-radius: var(--ds-radius-img); overflow: hidden; }
.bb-photo::after { content: ""; position: absolute; inset: 0; background: var(--ds-color-overlay); pointer-events: none; }

.bb-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--ds-space-sm); font-family: var(--ds-font-body); font-size: 0.9375rem; letter-spacing: 0; line-height: 1; padding: 15px 28px; border-radius: var(--ds-radius-pill); border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: background var(--ds-transition-fast) var(--ds-transition-ease), border-color var(--ds-transition-fast) var(--ds-transition-ease), color var(--ds-transition-fast) var(--ds-transition-ease); }
.bb-btn--primary { background: var(--ds-color-ember); color: var(--ds-color-text-inverse); }
.bb-btn--primary:hover { background: var(--ds-color-ember-deep); color: var(--ds-color-text-inverse); }
.bb-btn--secondary { background: transparent; color: var(--ds-color-ink); border-color: rgba(13, 13, 13, 0.35); }
.bb-btn--secondary:hover { border-color: var(--ds-color-ink); background: var(--ds-color-paper); color: var(--ds-color-ink); }
.bb-btn--ink { background: var(--ds-color-ink); color: var(--ds-color-text-inverse); }
.bb-btn--ink:hover { background: #262626; color: var(--ds-color-text-inverse); }
.bb-btn--ghost { padding: 0 0 4px; border-radius: 0; border: 0; border-bottom: 1px solid rgba(13, 13, 13, 0.3); color: var(--ds-color-text-2); justify-content: flex-start; justify-self: start; align-self: start; width: fit-content; }
.bb-btn--ghost:hover { color: var(--ds-color-ink); border-color: var(--ds-color-ink); }
.bb-btn--sm { font-size: 0.8438rem; padding: 11px 20px; }
.bb-btn:focus-visible { outline: 2px solid var(--ds-color-ember); outline-offset: 3px; }
.bb-section--ink .bb-btn--secondary, .bb-hero .bb-btn--secondary { color: var(--ds-color-text-inverse); background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.28); }
.bb-section--ink .bb-btn--secondary:hover, .bb-hero .bb-btn--secondary:hover { border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.16); }
.bb-section--ink .bb-btn--ghost { color: var(--ds-color-steel); border-color: rgba(255, 255, 255, 0.3); }

.bb-chips { display: flex; flex-wrap: wrap; gap: var(--ds-space-sm); }
.bb-chip { display: inline-flex; align-items: center; gap: var(--ds-space-sm); background: var(--ds-color-paper); border: 1px solid var(--ds-color-haze); border-radius: var(--ds-radius-pill); padding: 8px 14px 8px 10px; font-size: var(--ds-text-sm); line-height: 1.2; color: var(--ds-color-ink); }
.bb-chip svg { width: 16px; height: 16px; flex: none; }
.bb-section--ink .bb-chip, .bb-hero .bb-chip { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.28); color: var(--ds-color-text-inverse); }
.bb-tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--ds-font-mono); font-size: 0.75rem; letter-spacing: var(--ds-letter-label); text-transform: uppercase; padding: 6px 11px; border-radius: var(--ds-radius-pill); border: 1px solid var(--ds-color-haze); background: var(--ds-color-paper); color: var(--ds-color-ink); }
.bb-tag i { width: 7px; height: 7px; border-radius: var(--ds-radius-pill); background: var(--ds-color-ink); }
.bb-tag--heat i { background: var(--ds-color-heat); }
.bb-tag--cold i { background: var(--ds-color-cold); }
.bb-tag--recovery i { background: var(--ds-color-recovery); }
.bb-tag--clinical i { background: var(--ds-color-clinical); }
.bb-tag--skin i { background: var(--ds-color-skin); }
.bb-tag--community i { background: var(--ds-color-community); }
.bb-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--ds-color-ember-tint); border: 1px solid rgba(215, 85, 25, 0.35); border-radius: var(--ds-radius-sm); padding: 8px 14px 8px 10px; }
.bb-badge i { width: 6px; height: 6px; border-radius: var(--ds-radius-pill); background: var(--ds-color-ember); flex: none; }
.bb-badge b { font-size: 0.8125rem; font-weight: var(--ds-weight-regular); display: block; line-height: 1.2; }
.bb-badge small { display: block; font-size: 0.75rem; color: var(--ds-color-text-2); line-height: 1.3; }

.bb-card { background: var(--ds-color-paper); border: 1px solid var(--ds-color-haze); border-radius: var(--ds-radius-card); overflow: hidden; text-decoration: none; color: inherit; transition: border-color var(--ds-transition-fast) var(--ds-transition-ease); }
.bb-card:hover { border-color: rgba(13, 13, 13, 0.4); }
.bb-card__img { aspect-ratio: 4 / 3; background-size: cover; background-position: center; position: relative; }
.bb-card__img::before { content: ""; position: absolute; inset: 0; background: var(--ds-color-overlay); }
.bb-card__img .bb-tag { position: absolute; top: 12px; left: 12px; }
.bb-card__body { padding: var(--ds-space-md) var(--ds-space-md) var(--ds-space-lg); display: grid; gap: var(--ds-space-sm); }
.bb-card__meta { font-family: var(--ds-font-mono); font-size: 0.75rem; letter-spacing: var(--ds-letter-label); text-transform: uppercase; color: var(--ds-color-slate); }
.bb-card p { font-size: var(--ds-text-sm); color: var(--ds-color-text-2); }
.bb-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--ds-space-lg); }

.bb-stack { border-top: 1px solid var(--ds-color-haze); }
.bb-stack details { border-bottom: 1px solid var(--ds-color-haze); }
.bb-stack summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto 24px; gap: var(--ds-space-md); align-items: center; padding: 18px 0; cursor: pointer; }
.bb-stack summary::-webkit-details-marker { display: none; }
.bb-stack summary .bb-label { color: var(--ds-color-ink); }
.bb-stack__val { font-family: var(--ds-font-mono); font-size: var(--ds-text-xs); color: var(--ds-color-text-2); font-variant-numeric: tabular-nums; }
.bb-stack__ico { position: relative; width: 24px; height: 24px; border-radius: var(--ds-radius-sm); border: 1px solid var(--ds-color-haze); display: grid; place-items: center; transition: transform var(--ds-transition-fast) var(--ds-transition-ease); }
.bb-stack__ico::before, .bb-stack__ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ds-color-ink); transform: translate(-50%, -50%); }
.bb-stack__ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.bb-stack details[open] .bb-stack__ico { transform: rotate(45deg); }
.bb-stack__ans { padding: 0 0 20px; max-width: var(--ds-width-prose); color: var(--ds-color-text-2); font-size: var(--ds-text-sm); line-height: 1.5; }
.bb-stack--faq summary { grid-template-columns: minmax(0, 1fr) 24px; }
.bb-stack--faq summary > span:first-child { font-size: var(--ds-text-lg); line-height: 1.35; }

.bb-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ds-space-lg); }
.bb-step { background: var(--ds-color-paper); border: 1px solid var(--ds-color-haze); border-radius: var(--ds-radius-card); padding: var(--ds-space-lg); display: grid; gap: 12px; align-content: start; }
.bb-step__n { width: 32px; height: 32px; border-radius: var(--ds-radius-sm); border: 1px solid var(--ds-color-ink); display: grid; place-items: center; font-family: var(--ds-font-mono); font-size: var(--ds-text-xs); }
.bb-step .bb-h4 { margin-top: var(--ds-space-sm); }
.bb-step p { font-size: var(--ds-text-sm); color: var(--ds-color-text-2); }
.bb-price { background: var(--ds-color-paper); border: 1px solid var(--ds-color-haze); border-radius: var(--ds-radius-card); padding: var(--ds-space-xl); display: grid; gap: var(--ds-space-md); align-content: start; }
.bb-price__amount { font-family: var(--ds-font-heading); font-size: var(--ds-text-3xl); line-height: 1; letter-spacing: var(--ds-letter-heading); font-variant-numeric: tabular-nums; }
.bb-price__amount small { font-size: var(--ds-text-base); letter-spacing: 0; color: var(--ds-color-text-2); }
.bb-price ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--ds-space-sm); font-size: var(--ds-text-sm); color: var(--ds-color-text-2); }
.bb-price li { display: flex; gap: 10px; }
.bb-price li::before { content: ""; width: 5px; height: 5px; border-radius: var(--ds-radius-pill); background: var(--ds-color-ink); flex: none; margin-top: 8px; }
.bb-price .bb-btn { width: 100%; }
.bb-quote { background: var(--ds-color-paper); border: 1px solid var(--ds-color-haze); border-radius: var(--ds-radius-card); padding: var(--ds-space-xl); display: grid; gap: var(--ds-space-md); }
.bb-quote blockquote { margin: 0; font-size: var(--ds-text-lg); line-height: 1.4; max-width: 38ch; }
.bb-quote__who { display: flex; align-items: center; gap: 12px; font-size: var(--ds-text-sm); color: var(--ds-color-text-2); }

.bb-input { font: inherit; font-size: 0.9375rem; padding: 13px 16px; border: 1px solid var(--ds-color-haze); border-radius: var(--ds-radius-sm); background: var(--ds-color-paper); color: var(--ds-color-ink); }
.bb-input::placeholder { color: var(--ds-color-slate); }
.bb-input:focus { outline: 2px solid var(--ds-color-ember); outline-offset: 0; border-color: transparent; }

.bb-anchor { background: var(--ds-color-ink); color: var(--ds-color-text-inverse); border-radius: var(--ds-radius-card); padding: var(--ds-space-3xl) var(--ds-space-2xl); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--ds-space-2xl); align-items: center; }
.bb-anchor .bb-h1, .bb-anchor .bb-h2 { color: var(--ds-color-text-inverse); max-width: 16ch; }
.bb-anchor p { color: var(--ds-color-steel); margin-top: var(--ds-space-md); max-width: 44ch; }

@media (max-width: 900px) {
  .bb-steps, .bb-anchor { grid-template-columns: 1fr; }
  .bb-anchor { padding: var(--ds-space-xl) var(--ds-space-lg); }
}
@media (max-width: 720px) {
  .bb-container { padding-inline: var(--ds-space-gutter-mobile); }
  .bb-section { padding-block: var(--ds-space-section-mobile); }
  .bb-section--paper + .bb-section--mist { padding-top: 60px; }
  .bb-section--ink { padding-top: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .bb-btn, .bb-card, .bb-stack__ico { transition: none; }
}

/* @kit — the page kit, promoted from the homepage gauntlet (2026-09-16) and completed against a
   "for teams" page (superpower.com/organizations): header, footer, section heads, check lists,
   logo row, audience columns, split, stats, ink quote, snap rail, video card, photo anchor,
   forms, and the reveal system. Class names only — decisions, never the look. */
:root { --ds-nav-h: 72px; --ds-nav-h-scrolled: 56px; }

/* header: transparent over a dark hero, then a full-width compact ink bar past 80px (the script toggles .is-scrolled).
   .bb-nav--light for pages that open on mist: ink text, then a paper bar. Nothing centred on the viewport. */
.bb-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding: 0 var(--ds-space-gutter); font-family: var(--ds-font-body); font-size: 0.9375rem; letter-spacing: var(--ds-letter-body); color: var(--ds-color-paper); -webkit-font-smoothing: antialiased; background: transparent; border-bottom: 1px solid transparent; transition: background var(--ds-transition-slow) var(--ds-transition-ease), border-color var(--ds-transition-slow) var(--ds-transition-ease); }
.bb-nav__in { position: relative; max-width: calc(var(--ds-width-container) - 2 * var(--ds-space-gutter)); height: var(--ds-nav-h); margin-inline: auto; display: flex; align-items: center; gap: 40px; transition: height var(--ds-transition-slow) var(--ds-transition-ease); }
.bb-nav__brand { display: block; color: inherit; flex: none; }
.bb-nav__brand svg { display: block; height: 17px; width: auto; transition: height var(--ds-transition-slow) var(--ds-transition-ease); }
.bb-nav__brand svg path { fill: currentColor; }
.bb-nav__links { display: flex; align-items: center; gap: var(--ds-space-lg); }
.bb-nav__links a { color: inherit; opacity: .8; padding: 6px 0; transition: opacity var(--ds-transition-fast) var(--ds-transition-ease); }
.bb-nav__links a:hover { opacity: 1; }
.bb-nav__end { display: flex; align-items: center; gap: var(--ds-space-sm); flex: none; margin-left: auto; }
.bb-nav__cta { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: var(--ds-radius-pill); background: var(--ds-color-paper); color: var(--ds-color-ink); font-size: 0.9375rem; line-height: 1; transition: background var(--ds-transition-fast) var(--ds-transition-ease), height var(--ds-transition-slow) var(--ds-transition-ease); }
.bb-nav__cta:hover { background: var(--ds-color-mist); color: var(--ds-color-ink); }
.bb-nav__menu { display: none; width: 44px; height: 44px; border-radius: var(--ds-radius-pill); border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.08); color: inherit; cursor: pointer; padding: 0; position: relative; }
.bb-nav__menu i { position: absolute; left: 14px; right: 14px; top: 50%; height: 1.5px; background: currentColor; transform: translateY(-4px); transition: transform var(--ds-transition-slow) var(--ds-transition-ease); }
.bb-nav__menu i + i { transform: translateY(3px); }
.bb-nav.is-open .bb-nav__menu i { transform: translateY(-1px) rotate(45deg); }
.bb-nav.is-open .bb-nav__menu i + i { transform: translateY(-1px) rotate(-45deg); }
.bb-nav.is-scrolled { background: rgba(13, 13, 13, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: rgba(255, 255, 255, 0.16); }
.bb-nav.is-scrolled .bb-nav__in { height: var(--ds-nav-h-scrolled); }
.bb-nav.is-scrolled .bb-nav__brand svg { height: 15px; }
.bb-nav.is-scrolled .bb-nav__links a, .bb-nav.is-scrolled .bb-nav__cta { font-size: 0.875rem; }
.bb-nav.is-scrolled .bb-nav__cta { height: 36px; padding: 0 18px; }
.bb-nav--light { color: var(--ds-color-ink); }
.bb-nav--light .bb-nav__cta { background: var(--ds-color-ink); color: var(--ds-color-paper); }
.bb-nav--light .bb-nav__cta:hover { background: #262626; color: var(--ds-color-paper); }
.bb-nav--light .bb-nav__menu { border-color: rgba(13, 13, 13, 0.25); background: transparent; }
.bb-nav--light.is-scrolled { background: rgba(241, 244, 247, 0.92); border-bottom-color: var(--ds-color-haze); }
.bb-nav__panel { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--ds-nav-h) + 24px) var(--ds-space-gutter-mobile) 36px; background: var(--ds-color-ink); color: var(--ds-color-paper); opacity: 0; visibility: hidden; transition: opacity var(--ds-transition-slow) var(--ds-transition-ease), visibility 0s linear var(--ds-transition-slow); }
.bb-nav.is-open .bb-nav__panel { opacity: 1; visibility: visible; transition-delay: 0s; }
.bb-nav__panel nav { display: grid; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.bb-nav__panel nav a { font-family: var(--ds-font-heading); font-size: 2rem; line-height: 1.1; letter-spacing: var(--ds-letter-heading); color: var(--ds-color-paper); padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.bb-nav__panel .bb-label { color: rgba(255, 255, 255, 0.55); }
.bb-nav__foot { display: grid; gap: var(--ds-space-md); }
.bb-nav__foot .bb-btn { justify-content: center; }
.bb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bb-nav--light.is-open { color: var(--ds-color-paper); }

/* section head: label, title, lead. Split puts the lead in a second column; centre for a page that argues in the middle. */
.bb-head { display: grid; gap: var(--ds-space-md); margin-bottom: 40px; max-width: 60ch; }
.bb-head .bb-lead { max-width: 56ch; }
.bb-head--center { max-width: 44ch; margin-inline: auto; text-align: center; justify-items: center; }
.bb-head--split { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--ds-space-2xl); align-items: end; }
.bb-head--split > div { display: grid; gap: var(--ds-space-md); }

/* check list: a 16px stroked check in currentColor, so it works on ink and over photos too */
.bb-checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: var(--ds-text-sm); line-height: 1.5; }
.bb-checks li { display: flex; gap: 10px; align-items: flex-start; }
.bb-checks li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.bb-checks--lg { font-size: var(--ds-text-base); gap: 12px; }
.bb-hero .bb-checks, .bb-section--ink .bb-checks { color: rgba(255, 255, 255, 0.92); }

/* logo row: real partners, press or certifications only — grayscale, quiet, evenly spaced. A caption line above it. */
.bb-logos { display: grid; gap: var(--ds-space-lg); justify-items: center; text-align: center; }
.bb-logos ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--ds-space-lg) var(--ds-space-2xl); }
.bb-logos li { display: flex; align-items: center; height: 28px; opacity: .55; filter: grayscale(1); transition: opacity var(--ds-transition-fast) var(--ds-transition-ease); }
.bb-logos li:hover { opacity: .85; }
.bb-logos img, .bb-logos svg { height: 100%; width: auto; display: block; }
.bb-logos--badges li { height: 44px; opacity: .8; filter: none; }
.bb-section--ink .bb-logos li { filter: grayscale(1) invert(1); }

/* audience columns: three centred titles with a line each, on a hairline. Use for "who it is for", never for features. */
.bb-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ds-space-xl); border-top: 1px solid var(--ds-color-haze); padding-top: var(--ds-space-xl); text-align: center; }
.bb-trio > div { display: grid; gap: var(--ds-space-sm); justify-items: center; }
.bb-trio p { font-size: var(--ds-text-sm); color: var(--ds-color-text-2); max-width: 30ch; }
.bb-trio--left { text-align: left; }
.bb-trio--left > div { justify-items: start; }

/* split: text beside media, equal columns. --flip puts the media first. Media is a .bb-photo, a .bb-video or a .bb-card. */
.bb-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--ds-space-2xl); align-items: center; }
.bb-split > div { display: grid; gap: var(--ds-space-md); align-content: center; justify-items: start; }
.bb-split .bb-h2 { max-width: 16ch; }
.bb-split .bb-actions { margin-top: var(--ds-space-sm); }
.bb-split--flip > :first-child { order: 2; }
.bb-split__media { aspect-ratio: 1; }
.bb-split__media.is-wide { aspect-ratio: 4 / 3; }
.bb-actions { display: flex; flex-wrap: wrap; gap: var(--ds-space-sm); align-items: center; }

/* stats: value over label, hairlines between. Only for real, dated numbers. */
.bb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--ds-space-lg); border-top: 1px solid var(--ds-color-haze); }
.bb-stats > div { padding-top: var(--ds-space-md); display: grid; gap: 4px; }
.bb-stats b { font-family: var(--ds-font-heading); font-weight: var(--ds-weight-regular); font-size: var(--ds-text-2xl); line-height: 1.05; letter-spacing: var(--ds-letter-heading); font-variant-numeric: tabular-nums; }
.bb-stats span { font-size: var(--ds-text-sm); color: var(--ds-color-text-2); }
.bb-stats small { display: block; font-size: var(--ds-text-xs); color: var(--ds-color-slate); }

/* quote on ink — for a team's or an organisation's word; the paper .bb-quote stays for members. */
.bb-quote--ink { background: var(--ds-color-ink); color: var(--ds-color-paper); border-color: transparent; }
.bb-quote--ink blockquote { color: var(--ds-color-paper); font-size: var(--ds-text-lg); }
.bb-quote--ink .bb-quote__who { color: rgba(255, 255, 255, 0.72); }
.bb-quote__logo { height: 20px; width: auto; display: block; opacity: .85; }
.bb-quote__who small { display: block; font-size: var(--ds-text-xs); color: var(--ds-color-slate); }
.bb-quote--ink .bb-quote__who small { color: rgba(255, 255, 255, 0.5); }
.bb-quote__n { font-family: var(--ds-font-mono); font-size: var(--ds-text-xs); color: var(--ds-color-slate); }

/* rail: a horizontal snap row with a peek of the next card and a thin progress track underneath.
   Children size themselves with --bb-rail-card (default 340px). The script sets --bb-rail-p (0 to 1) on the .bb-rail from scrollLeft. */
.bb-rail { --bb-rail-card: 340px; --bb-rail-p: 0; display: grid; gap: var(--ds-space-md); }
.bb-rail__row { display: flex; gap: var(--ds-space-lg); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-inline: calc(-1 * var(--ds-space-gutter)); padding-inline: var(--ds-space-gutter); scroll-padding-inline: var(--ds-space-gutter); }
.bb-rail__row::-webkit-scrollbar { display: none; }
.bb-rail__row > * { flex: 0 0 min(78vw, var(--bb-rail-card)); scroll-snap-align: start; }
.bb-rail__bar { display: flex; align-items: center; gap: var(--ds-space-md); }
.bb-rail__bar .bb-caption { font-family: var(--ds-font-heading); color: var(--ds-color-text-2); }
.bb-rail__track { flex: 1; height: 2px; background: var(--ds-color-haze); position: relative; overflow: hidden; }
.bb-rail__track i { position: absolute; top: 0; left: 0; height: 100%; width: 25%; background: var(--ds-color-ink); transform: translateX(calc(var(--bb-rail-p) * 300%)); transition: transform 200ms var(--ds-transition-ease); }

/* video: a rounded poster with a play disc; the script swaps in the player on click ([data-video]). No autoplay, no chrome until asked. */
.bb-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--ds-radius-card); overflow: hidden; background: var(--ds-color-ink) center / cover no-repeat; display: block; cursor: pointer; }
.bb-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 13, 13, 0.35), transparent 50%); }
.bb-video__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); border-radius: var(--ds-radius-pill); background: rgba(255, 255, 255, 0.92); color: var(--ds-color-ink); display: grid; place-items: center; z-index: 1; transition: transform var(--ds-transition-fast) var(--ds-transition-ease), background var(--ds-transition-fast) var(--ds-transition-ease); }
.bb-video__play::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.bb-video:hover .bb-video__play { transform: translate(-50%, -50%) scale(1.06); background: var(--ds-color-paper); }
.bb-video__caption { position: absolute; left: var(--ds-space-lg); bottom: var(--ds-space-md); z-index: 1; color: var(--ds-color-paper); font-size: var(--ds-text-sm); }
.bb-video iframe, .bb-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.bb-video.is-playing::after, .bb-video.is-playing .bb-video__play, .bb-video.is-playing .bb-video__caption { display: none; }

/* anchor on a photo: the closing beat with a picture of the place. The scrim resolves to solid ink at the bottom edge so a mist footer can cut against it. */
.bb-anchor--photo { position: relative; background-size: cover; background-position: center; grid-template-columns: minmax(0, 1fr); padding: 128px var(--ds-space-2xl) var(--ds-space-3xl); min-height: 560px; align-content: end; isolation: isolate; }
.bb-anchor--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(13, 13, 13, 1) 0%, rgba(13, 13, 13, 0.7) 40%, rgba(13, 13, 13, 0.2) 100%); }
.bb-anchor--photo > div { display: grid; gap: var(--ds-space-md); justify-items: start; max-width: 40ch; }
.bb-anchor--photo .bb-h1, .bb-anchor--photo .bb-h2 { max-width: 14ch; }
.bb-anchor__trust { font-size: var(--ds-text-xs); color: rgba(255, 255, 255, 0.6); margin-top: var(--ds-space-sm); }
.bb-anchor--flush { border-radius: 0; }

/* forms: a field is a label, a control and an optional line of help or error. Inputs, selects and textareas share the .bb-input skin. */
.bb-form { display: grid; gap: var(--ds-space-md); max-width: 560px; }
.bb-form--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bb-form--2 > .is-full, .bb-form--2 > .bb-actions { grid-column: 1 / -1; }
.bb-field { display: grid; gap: 6px; }
.bb-field > label, .bb-field__label { font-size: var(--ds-text-sm); color: var(--ds-color-ink); }
.bb-field__msg { font-size: var(--ds-text-xs); color: var(--ds-color-slate); }
.bb-input, .bb-select, .bb-textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 0.9375rem; letter-spacing: 0; padding: 13px 16px; border: 1px solid var(--ds-color-haze); border-radius: var(--ds-radius-sm); background: var(--ds-color-paper); color: var(--ds-color-ink); min-height: 48px; }
.bb-select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%230D0D0D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; }
.bb-textarea { min-height: 128px; resize: vertical; line-height: 1.45; }
.bb-input:focus, .bb-select:focus, .bb-textarea:focus { outline: 2px solid var(--ds-color-ember); outline-offset: 0; border-color: transparent; }
.bb-field.is-error .bb-input, .bb-field.is-error .bb-select, .bb-field.is-error .bb-textarea { border-color: var(--ds-color-community); }
.bb-field.is-error .bb-field__msg { color: var(--ds-color-community); }
.bb-check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--ds-text-sm); color: var(--ds-color-text-2); }
.bb-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ds-color-ink); flex: none; }
.bb-form-row { display: flex; gap: var(--ds-space-sm); }
.bb-form-row .bb-input { flex: 1; min-width: 0; }
.bb-form-row .bb-btn { flex: none; }
.bb-section--ink .bb-input, .bb-section--ink .bb-select, .bb-section--ink .bb-textarea { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.24); color: var(--ds-color-paper); }
.bb-section--ink .bb-field > label { color: var(--ds-color-paper); }

/* footer: mist ground, ink text, haze hairlines — a plane change under an ink or photo anchor. Brand block + up to three link columns + a legal row. */
.bb-footer { background: var(--ds-color-mist); color: var(--ds-color-text-2); font-family: var(--ds-font-body); font-size: 0.9375rem; line-height: 1.45; letter-spacing: var(--ds-letter-body); padding: 80px 0 var(--ds-space-lg); -webkit-font-smoothing: antialiased; }
.bb-footer__top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: var(--ds-space-xl); padding-bottom: var(--ds-space-2xl); border-bottom: 1px solid var(--ds-color-haze); }
.bb-footer__brand { display: grid; gap: var(--ds-space-md); align-content: start; justify-items: start; color: var(--ds-color-ink); }
.bb-footer__brand svg { display: block; height: 20px; width: auto; }
.bb-footer__brand svg path { fill: currentColor; }
.bb-footer__brand p { max-width: 28ch; color: var(--ds-color-text-2); }
.bb-footer address { font-style: normal; display: grid; gap: 3px; color: var(--ds-color-text-2); }
.bb-footer__social { display: flex; flex-wrap: wrap; gap: 6px var(--ds-space-md); margin: 0; padding: 0; list-style: none; font-size: 0.8125rem; }
.bb-footer__social a { color: var(--ds-color-slate); }
.bb-footer .bb-label { color: var(--ds-color-slate); margin-bottom: 14px; }
.bb-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.bb-footer a { color: var(--ds-color-text-2); transition: color var(--ds-transition-fast) var(--ds-transition-ease); }
.bb-footer a:hover { color: var(--ds-color-ink); }
.bb-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--ds-space-sm) var(--ds-space-lg); padding-top: var(--ds-space-lg); font-size: 0.8125rem; color: var(--ds-color-slate); }
.bb-footer__legal ul { display: flex; flex-wrap: wrap; gap: var(--ds-space-lg); list-style: none; margin: 0; padding: 0; }
.bb-footer__legal a { color: var(--ds-color-slate); }

/* motion: one reveal system. Elements with data-reveal (and the children of a data-reveal-group, staggered by the script) rise 14px and fade
   in over 520ms when they enter the viewport, once. Nothing is hidden until the script marks <html> .js-reveal, so no-JS, print and thumbnails
   see the whole page; .no-motion settles anything already in view (init, anchor jumps) without a transition. */
.js-reveal [data-reveal], .js-reveal [data-reveal-group] > * { opacity: 0; transform: translateY(14px); transition: opacity 520ms var(--ds-transition-ease), transform 520ms var(--ds-transition-ease); }
.js-reveal .is-in[data-reveal], .js-reveal .is-in[data-reveal-group] > * { opacity: 1; transform: none; }
.no-motion, .no-motion *, .no-motion::before, .no-motion::after { transition: none !important; }
.bb-card .bb-card__img, .bb-photo img, .bb-photo > i { transition: transform 400ms var(--ds-transition-ease); }
.bb-card:hover .bb-card__img, .bb-photo:hover img, .bb-photo:hover > i { transform: scale(1.02); }

/* the nav takes the section gutter on a phone. It has to come after .bb-nav itself, or the desktop padding
   wins (2026-09-25: it sat 28px inside the content on a phone). */
@media (max-width: 720px) { .bb-nav { padding-inline: var(--ds-space-gutter-mobile); } }
@media (max-width: 900px) {
  .bb-nav__links { display: none; }
  .bb-nav__menu { display: block; }
  .bb-nav__cta, .bb-nav.is-scrolled .bb-nav__cta { min-height: 44px; height: auto; padding: 12px 18px; font-size: 0.875rem; }
  .bb-nav.is-open { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .bb-head--split { grid-template-columns: 1fr; gap: var(--ds-space-md); }
  .bb-trio { grid-template-columns: 1fr; text-align: left; }
  .bb-trio > div { justify-items: start; }
  .bb-split { grid-template-columns: 1fr; gap: var(--ds-space-lg); }
  .bb-split--flip > :first-child { order: 0; }
  .bb-split > .bb-split__media, .bb-split > .bb-video { order: -1; }
  .bb-form--2 { grid-template-columns: 1fr; }
  .bb-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ds-space-xl) var(--ds-space-lg); }
  .bb-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .bb-rail__row { margin-inline: calc(-1 * var(--ds-space-gutter-mobile)); padding-inline: var(--ds-space-gutter-mobile); scroll-padding-inline: var(--ds-space-gutter-mobile); }
  .bb-anchor--photo { padding: 88px var(--ds-space-lg) var(--ds-space-xl); min-height: 480px; }
  .bb-form-row { flex-direction: column; }
  .bb-footer { padding: 40px 0 var(--ds-space-md); }
  .bb-footer__top { grid-template-columns: 1fr 1fr; gap: var(--ds-space-md); padding-bottom: var(--ds-space-md); }
  .bb-footer__brand { grid-column: 1 / -1; gap: var(--ds-space-sm); }
  .bb-footer a { display: inline-block; padding: 8px 0; }
  .bb-footer__col ul { gap: 0; }
  .bb-footer .bb-label { margin-bottom: 6px; }
  .bb-footer__social a, .bb-footer__legal a { font-size: 0.9375rem; }
  .bb-footer__legal { padding-top: var(--ds-space-sm); gap: 0 var(--ds-space-lg); }
}
@media (prefers-reduced-motion: reduce) {
  .bb-nav, .bb-nav__in, .bb-nav__brand svg, .bb-nav__cta, .bb-nav__menu i, .bb-nav__panel, .bb-rail__track i, .bb-video__play, .bb-card .bb-card__img, .bb-photo img, .bb-photo > i, .bb-footer a { transition: none; }
  .js-reveal [data-reveal], .js-reveal [data-reveal-group] > * { opacity: 1; transform: none; transition: none; }
}

/* @kit-2 — added 2026-09-16 for the page templates: the nav's dropdown and top scrim, tabs, the offerings layout, the article table of contents. */

/* nav: a scrim under the bar at rest so white links hold over a bright photo; the dropdown for All Offerings */
.bb-nav::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 160px; background: linear-gradient(to bottom, rgba(13, 13, 13, 0.55), rgba(13, 13, 13, 0)); pointer-events: none; z-index: -1; opacity: 1; transition: opacity var(--ds-transition-slow) var(--ds-transition-ease); }
.bb-nav.is-scrolled::before, .bb-nav--light::before { opacity: 0; }
.bb-nav__item { position: relative; display: flex; align-items: center; }
.bb-nav__item > a::after { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 0 3px 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; }
.bb-nav__drop { position: absolute; top: calc(100% + 8px); left: -20px; min-width: 520px; background: var(--ds-color-paper); color: var(--ds-color-ink); border: 1px solid var(--ds-color-haze); border-radius: var(--ds-radius-card); padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--ds-transition-fast) var(--ds-transition-ease), transform var(--ds-transition-fast) var(--ds-transition-ease), visibility 0s linear var(--ds-transition-fast); }
.bb-nav__item:hover .bb-nav__drop, .bb-nav__item:focus-within .bb-nav__drop, .bb-nav__item.is-open .bb-nav__drop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
/* a hover bridge over the gap between the trigger and the menu, so the pointer never leaves the item on the way down (2026-09-25, Franco: "make sure that menu cannot close while you move from the title to the box") */
.bb-nav__drop::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 16px; }
.bb-nav__drop a { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--ds-radius-sm); color: var(--ds-color-ink); opacity: 1; font-size: 0.9375rem; }
.bb-nav__drop a small { font-size: 0.8125rem; color: var(--ds-color-text-2); }
.bb-nav__drop a:hover { background: var(--ds-color-mist); }
.bb-nav__drop .bb-nav__all { grid-column: 1 / -1; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--ds-color-haze); color: var(--ds-color-text-2); }
.bb-nav__drop .bb-nav__all:hover { background: transparent; color: var(--ds-color-ink); }

/* tabs: an underlined list, one panel at a time. Each tab is a name with a small line under it (a price, a duration). Space-efficient detail for daypasses and memberships. */
.bb-tabs { display: grid; gap: var(--ds-space-xl); }
.bb-tabs__list { display: flex; gap: var(--ds-space-xl); border-bottom: 1px solid var(--ds-color-haze); margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.bb-tabs__tab { font: inherit; font-family: var(--ds-font-heading); font-size: var(--ds-text-lg); letter-spacing: var(--ds-letter-h4); line-height: 1.25; color: var(--ds-color-text-2); background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 0 0 14px; cursor: pointer; text-align: left; white-space: nowrap; display: grid; gap: 4px; transition: color var(--ds-transition-fast) var(--ds-transition-ease), border-color var(--ds-transition-fast) var(--ds-transition-ease); }
.bb-tabs__tab small { font-family: var(--ds-font-body); font-size: var(--ds-text-xs); color: var(--ds-color-slate); letter-spacing: 0; }
.bb-tabs__tab:hover { color: var(--ds-color-ink); }
.bb-tabs__tab.is-active, .bb-tabs__tab[aria-selected="true"] { color: var(--ds-color-ink); border-bottom-color: var(--ds-color-ink); }
.bb-tabs__panel { display: none; }
.bb-tabs__panel.is-active { display: block; }
.bb-tabs__panel .bb-split { align-items: start; }
.bb-tabs--pills .bb-tabs__list { border: 0; gap: var(--ds-space-sm); }
.bb-tabs--pills .bb-tabs__tab { border: 1px solid var(--ds-color-haze); border-radius: var(--ds-radius-pill); padding: 10px 16px; margin: 0; font-family: var(--ds-font-body); font-size: 0.9375rem; letter-spacing: 0; background: var(--ds-color-paper); }
.bb-tabs--pills .bb-tabs__tab.is-active { background: var(--ds-color-ink); color: var(--ds-color-paper); border-color: var(--ds-color-ink); }
.bb-spec { display: grid; gap: 0; border-top: 1px solid var(--ds-color-haze); }
.bb-spec > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: var(--ds-space-md); padding: 12px 0; border-bottom: 1px solid var(--ds-color-haze); font-size: 0.9375rem; }
.bb-spec dt, .bb-spec > div > span:first-child { color: var(--ds-color-slate); }
.bb-timeline { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; border-left: 1px solid var(--ds-color-haze); }
.bb-timeline li { position: relative; padding: 0 0 18px 24px; display: grid; gap: 2px; }
.bb-timeline li::before { content: ""; position: absolute; left: -4px; top: 7px; width: 7px; height: 7px; border-radius: 999px; background: var(--ds-color-ink); }
.bb-timeline li span { font-size: var(--ds-text-xs); color: var(--ds-color-slate); font-variant-numeric: tabular-nums; }
.bb-timeline li b { font-weight: 400; color: var(--ds-color-ink); }
.bb-timeline li p { font-size: var(--ds-text-sm); color: var(--ds-color-text-2); }

/* offerings: a category menu on the left, the Momence widget on the right, both on mist */
.bb-offerings { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: var(--ds-space-2xl); align-items: start; }
.bb-catmenu { position: sticky; top: calc(var(--ds-nav-h-scrolled) + 24px); background: var(--ds-color-paper); border: 1px solid var(--ds-color-haze); border-radius: var(--ds-radius-card); padding: 8px; display: grid; gap: 2px; margin: 0; list-style: none; }
.bb-catmenu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--ds-radius-sm); color: var(--ds-color-text-2); font-size: 0.9375rem; transition: background var(--ds-transition-fast) var(--ds-transition-ease), color var(--ds-transition-fast) var(--ds-transition-ease); }
.bb-catmenu a small { font-size: var(--ds-text-xs); color: var(--ds-color-slate); }
.bb-catmenu a:hover { background: var(--ds-color-mist); color: var(--ds-color-ink); }
.bb-catmenu a.is-active { background: var(--ds-color-ink); color: var(--ds-color-paper); }
.bb-catmenu a.is-active small { color: rgba(255, 255, 255, 0.6); }
.bb-widget { display: grid; gap: var(--ds-space-md); }
.bb-widget__bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ds-space-sm); }
.bb-widget__days { display: flex; gap: 4px; margin-right: auto; }
.bb-widget__days span { display: grid; justify-items: center; gap: 2px; min-width: 52px; padding: 8px 6px; border-radius: var(--ds-radius-sm); font-size: 0.9375rem; font-variant-numeric: tabular-nums; color: var(--ds-color-ink); }
.bb-widget__days span small { font-size: 0.75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ds-color-slate); }
.bb-widget__days span.is-active { background: var(--ds-color-ink); color: var(--ds-color-paper); }
.bb-widget__days span.is-active small { color: rgba(255, 255, 255, 0.6); }
.bb-widget__day { font-size: var(--ds-text-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--ds-color-slate); padding-top: var(--ds-space-sm); }
.bb-session { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: var(--ds-space-md); align-items: start; background: var(--ds-color-paper); border: 1px solid var(--ds-color-haze); border-radius: var(--ds-radius-card); padding: var(--ds-space-md); }
.bb-session__img { width: 96px; height: 96px; border-radius: var(--ds-radius-sm); overflow: hidden; background: var(--ds-color-ink); }
.bb-session__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bb-session__body { display: grid; gap: 6px; }
.bb-session__body h3 { font-family: var(--ds-font-heading); font-weight: 400; font-size: var(--ds-text-lg); line-height: 1.25; letter-spacing: var(--ds-letter-h4); }
.bb-session__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: var(--ds-text-xs); color: var(--ds-color-slate); }
.bb-session__body p { font-size: var(--ds-text-sm); color: var(--ds-color-text-2); max-width: 60ch; }
.bb-session__side { display: grid; gap: 10px; justify-items: end; align-content: space-between; min-height: 96px; }
.bb-session__price { font-family: var(--ds-font-heading); font-size: 1.625rem; line-height: 1; letter-spacing: -.014em; font-variant-numeric: tabular-nums; }

/* article: a sticky table of contents (30%) beside the content (70%) */
.bb-article { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: var(--ds-space-2xl); align-items: start; }
.bb-toc { position: sticky; top: calc(var(--ds-nav-h-scrolled) + 24px); display: grid; gap: 4px; margin: 0; padding: 0 0 0 16px; list-style: none; border-left: 1px solid var(--ds-color-haze); }
.bb-toc li a { display: block; padding: 8px 0; font-size: 0.9375rem; color: var(--ds-color-text-2); position: relative; }
.bb-toc li a::before { content: ""; position: absolute; left: -17px; top: 0; bottom: 0; width: 1px; background: transparent; }
.bb-toc li.is-active a { color: var(--ds-color-ink); }
.bb-toc li.is-active a::before { background: var(--ds-color-ink); }
.bb-toc__label { margin-bottom: 8px; }
.bb-article__body { display: grid; gap: 18px; font-size: 1.0625rem; line-height: 1.55; color: var(--ds-color-text-2); max-width: 65ch; }
.bb-article__body h2 { font-family: var(--ds-font-heading); font-weight: 400; font-size: var(--ds-text-xl); line-height: 1.2; letter-spacing: var(--ds-letter-h3); color: var(--ds-color-ink); margin-top: 16px; scroll-margin-top: 96px; }
.bb-article__body p em { color: var(--ds-color-ink); }
.bb-article__body figure { margin: 8px 0; }
.bb-article__body figcaption { font-size: var(--ds-text-xs); color: var(--ds-color-slate); margin-top: 10px; }
.bb-article__body .bb-pull { border-top: 1px solid var(--ds-color-haze); border-bottom: 1px solid var(--ds-color-haze); padding: 24px 0; font-family: var(--ds-font-heading); font-size: 1.625rem; line-height: 1.2; letter-spacing: -.014em; color: var(--ds-color-ink); }
.bb-byline { display: flex; flex-wrap: wrap; gap: 16px; font-size: var(--ds-text-xs); color: var(--ds-color-slate); }
.bb-pager { display: flex; justify-content: center; gap: 6px; }
.bb-pager a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--ds-radius-pill); border: 1px solid var(--ds-color-haze); font-size: 0.9375rem; color: var(--ds-color-text-2); font-variant-numeric: tabular-nums; }
.bb-pager a.is-active { background: var(--ds-color-ink); color: var(--ds-color-paper); border-color: var(--ds-color-ink); }

@media (max-width: 900px) {
  .bb-offerings, .bb-article { grid-template-columns: 1fr; }
  .bb-catmenu, .bb-toc { position: static; }
  .bb-catmenu { display: flex; overflow-x: auto; scrollbar-width: none; }
  .bb-catmenu a { white-space: nowrap; }
  .bb-toc { display: flex; flex-wrap: wrap; gap: 4px 16px; border: 0; padding: 0; }
  .bb-tabs__list { gap: var(--ds-space-lg); }
  .bb-session { grid-template-columns: 72px minmax(0, 1fr); }
  .bb-session__img { width: 72px; height: 72px; }
  .bb-session__side { grid-column: 1 / -1; justify-items: start; min-height: 0; }
  .bb-nav__drop { position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; border: 0; padding: 0 0 0 16px; background: transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .bb-nav::before, .bb-nav__drop, .bb-tabs__tab, .bb-catmenu a { transition: none; }
}


/* ======================================================================================================
   @nocturne — what Quantum Nocturne changes and adds on top of the inherited structure.
   The structure itself (the 12-column grid, the section rhythm, .bb-head/.bb-split/.bb-trio/.bb-stats/
   .bb-rail/.bb-checks, the reveal system, the form) is the Mist system's and is deliberately kept: it is
   the part that was proven against superpower.com. What follows is the identity.
   ====================================================================================================== */

/* --- 1. grounds ------------------------------------------------------------------------------------- */
html, body { background: var(--ds-color-night); color: var(--ds-color-text); }
.bb-section { color: var(--ds-color-text); }
.bb-section--mist { background: var(--ds-color-night); }
.bb-section--paper { background: var(--ds-color-night-2); border-top: 0; border-bottom: 0; }
.bb-section--paper + .bb-section--mist, .bb-section--mist + .bb-section--paper { padding-top: 88px; }
/* the aurora: the guideline's own gradient field (6.3–6.7), never a swirl, never behind body copy */
.bb-section--wash { background: radial-gradient(120% 90% at 82% 8%, rgba(67,100,177,.55), transparent 58%),
                                 radial-gradient(90% 80% at 6% 96%, rgba(215,85,25,.30), transparent 62%),
                                 radial-gradient(70% 60% at 50% 40%, rgba(110,143,216,.14), transparent 70%),
                                 var(--ds-color-night); }
/* the bright band: where Mist went black, Nocturne goes pale — the page inverts once per journey */
.bb-section--ink { background: var(--ds-color-ink); color: var(--ds-color-text-inverse); padding-block: var(--ds-space-section); }
.bb-section--ink .bb-h1, .bb-section--ink .bb-h2, .bb-section--ink .bb-h3, .bb-section--ink .bb-h4, .bb-section--ink .bb-display { color: var(--ds-color-text-inverse); }
.bb-section--ink .bb-prose, .bb-section--ink .bb-lead, .bb-section--ink p { color: rgba(10, 17, 36, 0.72); }
.bb-section--ink .bb-label { color: rgba(10, 17, 36, 0.6); }
.bb-section--ink .bb-btn--secondary { color: var(--ds-color-text-inverse); background: transparent; border-color: rgba(10, 17, 36, 0.4); }
.bb-section--ink .bb-btn--secondary:hover { background: rgba(10, 17, 36, 0.06); border-color: var(--ds-color-text-inverse); }

/* --- 2. the section head: no hairlines (2026-09-25, Franco: "remove them and reduce the padding accordingly") */
.bb-head { position: relative; padding-top: 0; }
.bb-index { font-family: var(--ds-font-mono); font-size: var(--ds-text-label); letter-spacing: var(--ds-letter-label); color: var(--ds-color-slate); }
.bb-index b { font-weight: 400; color: var(--ds-color-text); }

/* --- 3. type ---------------------------------------------------------------------------------------- */
.bb-display, .bb-h1 { text-wrap: balance; }
.bb-display em, .bb-h1 em, .bb-h2 em, .bb-h3 em { font-style: italic; color: inherit; }
.bb-lead { color: var(--ds-color-steel); }
.bb-prose { color: var(--ds-color-text-2); }
.bb-label { color: var(--ds-color-slate); font-size: 0.75rem; }
.bb-small { color: var(--ds-color-text-2); }
.bb-caption { color: var(--ds-color-slate); font-family: var(--ds-font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* --- 4. cards, panels, photographs: 2px corners and a hairline -------------------------------------- */
.bb-card { background: var(--ds-color-paper); border: 1px solid var(--ds-color-haze); border-radius: var(--ds-radius-card); overflow: hidden; transition: border-color var(--ds-transition-fast) var(--ds-transition-ease), background var(--ds-transition-fast) var(--ds-transition-ease); }
.bb-card:hover { border-color: var(--ds-color-haze-2); background: var(--ds-color-navy); }
.bb-card__body { padding: var(--ds-space-lg) var(--ds-space-lg) var(--ds-space-xl); }
.bb-card__meta { font-family: var(--ds-font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ds-color-slate); }
.bb-card p { color: var(--ds-color-text-2); }
.bb-photo, .bb-card__img, .bb-video, .bb-split__media, .bb-price, .bb-quote, .bb-input, .bb-select, .bb-textarea, .bb-session__img { border-radius: var(--ds-radius-card); }
.bb-photo::after { background: none; }
.bb-price { background: var(--ds-color-paper); border-color: var(--ds-color-haze); }
.bb-price li { color: var(--ds-color-text-2); }
.bb-price li::before { background: var(--ds-color-glow); }
.bb-quote { background: var(--ds-color-paper); border-color: var(--ds-color-haze); }
.bb-quote blockquote { color: var(--ds-color-text); }
.bb-quote__who { color: var(--ds-color-slate); font-family: var(--ds-font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.bb-quote__n { color: var(--ds-color-glow); }
.bb-quote--ink { background: var(--ds-color-navy); border: 1px solid var(--ds-color-haze); color: var(--ds-color-text); }

/* --- 5. buttons: ember once, the bright pill for the second voice, hairline for the third ------------ */
.bb-btn { font-size: 0.9375rem; padding: 16px 30px; }
.bb-btn--primary { background: var(--ds-color-ember); color: #fff; }
.bb-btn--primary:hover { background: var(--ds-color-ember-deep); color: #fff; }
.bb-btn--ink { background: var(--ds-color-ink); color: var(--ds-color-text-inverse); border-color: var(--ds-color-ink); }
.bb-btn--ink:hover { background: #fff; color: var(--ds-color-text-inverse); border-color: #fff; }
.bb-btn--secondary { background: transparent; color: var(--ds-color-text); border-color: var(--ds-color-haze-2); }
.bb-btn--secondary:hover { background: rgba(238, 242, 248, 0.08); border-color: var(--ds-color-text); color: var(--ds-color-text); }
.bb-btn--ghost { color: var(--ds-color-text-2); border-bottom-color: var(--ds-color-haze-2); }
.bb-btn--ghost:hover { color: var(--ds-color-glow-2); border-color: var(--ds-color-glow-2); }
.bb-btn:focus-visible { outline: 2px solid var(--ds-color-glow-2); outline-offset: 3px; }

/* --- 6. chips, tags, badges ------------------------------------------------------------------------- */
.bb-chip { background: transparent; border-color: var(--ds-color-haze-2); color: var(--ds-color-text); border-radius: var(--ds-radius-pill); }
.bb-tag { background: transparent; border-color: var(--ds-color-haze-2); color: var(--ds-color-text-2); font-size: 0.75rem; }
.bb-tag i { background: var(--ds-color-text); }
.bb-badge { background: var(--ds-color-ember-tint); border-color: rgba(215, 85, 25, 0.45); border-radius: var(--ds-radius-sm); }
.bb-badge small { color: var(--ds-color-text-2); }

/* --- 7. the spectrum: the modality colours as one hairline row (new) -------------------------------- */
.bb-spectrum { display: flex; align-items: stretch; gap: 1px; height: 3px; background: var(--ds-color-haze); }
.bb-spectrum i { flex: 1; }
.bb-spectrum i:nth-child(1) { background: var(--ds-color-heat); }
.bb-spectrum i:nth-child(2) { background: var(--ds-color-cold); }
.bb-spectrum i:nth-child(3) { background: var(--ds-color-recovery); }
.bb-spectrum i:nth-child(4) { background: var(--ds-color-clinical); }
.bb-spectrum i:nth-child(5) { background: var(--ds-color-skin); }
.bb-spectrum i:nth-child(6) { background: var(--ds-color-community); }

/* --- 8. the plate: a composite image (photograph + the brand's line figure), as content -------------- */
.bb-plate { position: relative; display: block; border-radius: var(--ds-radius-card); overflow: hidden; background: var(--ds-color-navy); }
.bb-plate img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bb-plate--tall { aspect-ratio: 4 / 5; }
.bb-plate--wide { aspect-ratio: 16 / 9; }
.bb-plate--cine { aspect-ratio: 21 / 9; }
.bb-plate__cap { position: absolute; left: var(--ds-space-md); bottom: var(--ds-space-md); font-family: var(--ds-font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }

/* --- 9. nav and footer on night --------------------------------------------------------------------- */
.bb-nav { height: var(--ds-nav-h); }
.bb-nav::before { background: linear-gradient(to bottom, rgba(10, 17, 36, 0.72), rgba(10, 17, 36, 0)); }
.bb-nav.is-scrolled { background: rgba(10, 17, 36, 0.86); backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--ds-color-haze); height: var(--ds-nav-h-scrolled); }
.bb-nav__links a { letter-spacing: -0.01em; }
.bb-nav__links a.is-current { border-bottom: 1px solid var(--ds-color-ember); padding-bottom: 5px; opacity: 1; }
.bb-nav__cta { background: var(--ds-color-ink); color: var(--ds-color-text-inverse); border-radius: var(--ds-radius-pill); }
.bb-nav__cta:hover { background: #fff; color: var(--ds-color-text-inverse); }
.bb-nav--light { color: var(--ds-color-text); }
.bb-nav--light .bb-nav__cta { background: var(--ds-color-ink); color: var(--ds-color-text-inverse); }
.bb-nav--light.is-scrolled { background: rgba(10, 17, 36, 0.86); }
.bb-nav__drop { background: var(--ds-color-navy); border: 1px solid var(--ds-color-haze); border-radius: var(--ds-radius-card); }
.bb-nav__drop a { color: var(--ds-color-text); }
.bb-nav__drop a small { color: var(--ds-color-slate); font-family: var(--ds-font-mono); font-size: 0.75rem; letter-spacing: 0.06em; }
.bb-nav__panel { background: var(--ds-color-night); }
.bb-footer { background: var(--ds-color-night); color: var(--ds-color-text-2); border-top: 1px solid var(--ds-color-haze); }
.bb-footer__brand { color: var(--ds-color-text); }
.bb-footer a { color: var(--ds-color-text-2); }
.bb-footer a:hover { color: var(--ds-color-text); }
.bb-footer .bb-label, .bb-footer__social a, .bb-footer__legal, .bb-footer__legal a { color: var(--ds-color-slate); }
.bb-footer__top, .bb-footer__legal { border-color: var(--ds-color-haze); }

/* --- 10. lists, stacks, tabs, timelines, specs, the offerings layout -------------------------------- */
.bb-stack details { border-color: var(--ds-color-haze); }
.bb-stack summary { color: var(--ds-color-text); }
.bb-stack__ans { color: var(--ds-color-text-2); }
.bb-stack__ico::before, .bb-stack__ico::after { background: var(--ds-color-text-2); }
.bb-checks li::before { border-color: var(--ds-color-glow-2); }
.bb-stats > div { border-color: var(--ds-color-haze); }
.bb-stats b { color: var(--ds-color-text); }
.bb-stats span { color: var(--ds-color-text-2); }
.bb-stats small { color: var(--ds-color-slate); font-family: var(--ds-font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.bb-tabs__list { border-bottom: 1px solid var(--ds-color-haze); }
.bb-tabs__tab { color: var(--ds-color-text-2); }
.bb-tabs__tab.is-active { color: var(--ds-color-text); border-bottom-color: var(--ds-color-ember); }
.bb-tabs__tab small { color: var(--ds-color-slate); font-family: var(--ds-font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.bb-timeline li::before { background: var(--ds-color-glow); }
.bb-timeline span { color: var(--ds-color-slate); font-family: var(--ds-font-mono); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; }
.bb-timeline b { color: var(--ds-color-text); }
.bb-timeline p { color: var(--ds-color-text-2); }
.bb-spec > div { border-color: var(--ds-color-haze); }
.bb-spec dt { color: var(--ds-color-slate); font-family: var(--ds-font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.bb-spec dd { color: var(--ds-color-text); }
.bb-catmenu { background: var(--ds-color-night-2); border: 1px solid var(--ds-color-haze); border-radius: var(--ds-radius-card); }
.bb-catmenu a { color: var(--ds-color-text-2); }
.bb-catmenu a:hover { color: var(--ds-color-text); }
.bb-catmenu a.is-active { background: var(--ds-color-navy); color: var(--ds-color-text); }
.bb-catmenu small { color: var(--ds-color-slate); }
.bb-widget { background: transparent; }
.bb-widget__days span { color: var(--ds-color-text-2); border-color: var(--ds-color-haze); }
.bb-widget__days span.is-active { background: var(--ds-color-ink); color: var(--ds-color-text-inverse); border-color: var(--ds-color-ink); }
.bb-session { border-color: var(--ds-color-haze); }
.bb-session h4, .bb-session b { color: var(--ds-color-text); }
.bb-session p, .bb-session small { color: var(--ds-color-text-2); }
.bb-article__body { color: var(--ds-color-text-2); }
.bb-toc a { color: var(--ds-color-slate); }
.bb-toc a.is-active { color: var(--ds-color-text); }
.bb-pull { color: var(--ds-color-text); border-color: var(--ds-color-glow); }
.bb-pager a { border-color: var(--ds-color-haze); color: var(--ds-color-text-2); }

/* --- 11. anchors and heroes ------------------------------------------------------------------------- */
.bb-anchor { background: var(--ds-color-navy); border: 1px solid var(--ds-color-haze); border-radius: var(--ds-radius-card); color: var(--ds-color-text); }
.bb-anchor .bb-h1, .bb-anchor .bb-h2 { color: var(--ds-color-text); }
.bb-anchor p { color: var(--ds-color-text-2); }
.bb-anchor--photo { border: 0; }
.bb-hero::before { background: linear-gradient(to top, rgba(10,17,36,.86) 0%, rgba(10,17,36,.34) 48%, rgba(10,17,36,.12) 100%); }

/* --- 12. forms and fields --------------------------------------------------------------------------- */
.bb-input, .bb-select, .bb-textarea { background: var(--ds-color-night-2); border-color: var(--ds-color-haze-2); color: var(--ds-color-text); }
.bb-input::placeholder { color: var(--ds-color-slate); }
.bb-input:focus, .bb-select:focus, .bb-textarea:focus { outline: 2px solid var(--ds-color-glow-2); border-color: transparent; }
.bb-field > span { color: var(--ds-color-slate); font-family: var(--ds-font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.bb-check span { color: var(--ds-color-text-2); }

/* --- 13. motion: night moves slower ----------------------------------------------------------------- */
.js-reveal [data-reveal] { transition-duration: var(--ds-transition-slow); }

/* --- 14. mobile ------------------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .bb-section { padding-block: var(--ds-space-section-mobile); }
  .bb-card__body { padding: var(--ds-space-md) var(--ds-space-md) var(--ds-space-lg); }
}

/* --- 15. glass (2026-09-25) ------------------------------------------------------------------------------
   The surface the home page grew into — the testimonials, the daypass reel, the wall — made a component, so
   every page uses the same one. A thin tint of the page's own ground (--q-rgb, set per page group; the night
   when there is none), a heavy blur and saturation of what passes behind, a sheen lit from the top left, a
   bright hairline edge and a lit top edge. It always carries light type. */
:root {
  --ds-glass-tint: .38;
  --ds-glass-blur: 26px;
  --ds-glass-edge: rgba(238, 242, 248, .24);
  --ds-glass-sheen: linear-gradient(135deg, rgba(255, 255, 255, .15) 0%, rgba(255, 255, 255, .05) 40%, rgba(255, 255, 255, .02) 64%, rgba(255, 255, 255, .06) 100%);
  --ds-glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 40px 90px -48px rgba(0, 0, 0, .85);
}
.bb-glass {
  background: var(--ds-glass-sheen), rgba(var(--q-rgb, 10, 17, 36), var(--ds-glass-tint));
  -webkit-backdrop-filter: blur(var(--ds-glass-blur)) saturate(1.7) brightness(1.06);
          backdrop-filter: blur(var(--ds-glass-blur)) saturate(1.7) brightness(1.06);
  border: 1px solid var(--ds-glass-edge);
  box-shadow: var(--ds-glass-shadow);
  border-radius: var(--ds-radius-card);
  color: var(--ds-color-text);
}

/* --- 16. feathered photographs (2026-09-25) -----------------------------------------------------------------
   Franco: "All images in the site (not included videos) have to have the blurry borders." A photograph never
   sits in a hard box on the night: every edge dissolves, two intersected linear masks (the daypass plates and
   the first-visit photos were the first to do it). Full-bleed photographs have no side edges to lose, so they
   feather where they meet the ground — top and bottom. Videos and their posters keep a hard frame. */
:root {
  --ds-feather-x: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  --ds-feather-y: linear-gradient(180deg, transparent 0, #000 8%, #000 90%, transparent 100%);
  --ds-feather-bleed: linear-gradient(180deg, transparent 0, #000 16%, #000 100%);
}
.bb-feather, .bb-photo img, .bb-split__media:not(.bb-video) {
  border: 0; border-radius: 0; box-shadow: none;
  -webkit-mask-image: var(--ds-feather-x), var(--ds-feather-y); -webkit-mask-composite: source-in;
          mask-image: var(--ds-feather-x), var(--ds-feather-y); mask-composite: intersect;
}
.bb-photo { border: 0; border-radius: 0; box-shadow: none; background: none; overflow: visible; }
.bb-feather--bleed, .bb-anchor--photo > img.bg {
  -webkit-mask-image: var(--ds-feather-bleed); mask-image: var(--ds-feather-bleed);
}

/* --- 17. the play button (2026-09-25) ------------------------------------------------------------------------
   Franco: "fix play buttons on videos … (white over white). they should respect the color palette of the page".
   On the night the ink token is light, so the triangle vanished into the disc. The disc stays pale; the triangle
   takes the page's own ground (red on a red page, brown on the brown one), and on hover the disc takes the page's
   accent. */
.bb-video__play { background: rgba(238, 242, 248, .94); color: var(--ds-color-night); box-shadow: 0 10px 40px -12px rgba(0, 0, 0, .6); }
.bb-video:hover .bb-video__play { background: var(--ds-color-glow-2, var(--ds-color-glow)); color: var(--ds-color-night); }
.bb-video__caption { color: rgba(238, 242, 248, .86); }
