/* =====================================================================
   BLUEPRINT · the Encodex website design system (v1)
   ---------------------------------------------------------------------
   Separate from MONOLITH (the platform system). Shared with the platform:
   the wordmark and the three font families only.

   Rules, in one breath:
   - Two surfaces that alternate: ink (objects, 3D) and paper (reading).
   - Black and white ink, one grey per surface, ONE blue signal. Blue is a
     mark, never a glow, never body text, at most once per screen.
   - Four type sizes plus one label style. Michroma is display only.
   - Objects move; interfaces mostly do not.
   ===================================================================== */

/* ---------- fonts (self-hosted latin subsets) ---------- */
@font-face {
  font-family: 'Michroma';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/michroma-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Kode Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/kode-mono-latin.woff2) format('woff2');
}

/* ---------- tokens ---------- */
:root {
  color-scheme: dark light;

  /* surfaces */
  --bp-ink: #050608;
  --bp-black: #000;
  --bp-paper: #f5f5f3;
  --bp-white: #fff;

  /* ink on paper */
  --bp-l-fg: #080a0d;
  --bp-l-fg2: #656d78;      /* 4.8:1 on paper */
  --bp-l-rule: rgba(8, 10, 13, 0.14);
  /* ink on black */
  --bp-d-fg: #fff;
  --bp-d-fg2: #b8bec5;      /* 10:1 on ink */
  --bp-d-fg3: #858d98;      /* 5.9:1 on ink, labels only */
  --bp-d-rule: rgba(255, 255, 255, 0.14);

  /* the one signal */
  --bp-signal: #16b4ff;

  /* type */
  --bp-f-disp: 'Michroma', 'Hanken Grotesk', sans-serif;
  --bp-f-text: 'Hanken Grotesk', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --bp-f-mono: 'Kode Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --bp-fs-display: clamp(42px, 7.2vw, 118px);
  --bp-fs-title: clamp(28px, 3.5vw, 54px);
  --bp-fs-lead: clamp(19px, 1.55vw, 24px);
  --bp-fs-body: 17px;
  --bp-fs-label: 12px;

  /* space */
  --bp-gutter: clamp(20px, 5vw, 72px);
  --bp-gap: clamp(16px, 1.6vw, 28px);
  --bp-pad: clamp(96px, 15vh, 180px);
  --bp-nav-h: 72px;

  /* motion */
  --bp-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --bp-slow: 1.1s;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bp-ink);
  color: var(--bp-d-fg);
  font-family: var(--bp-f-text);
  font-size: var(--bp-fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--bp-signal); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }
::selection { background: rgba(22, 180, 255, 0.22); }
.bp-vh {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- surfaces ---------- */
.bp-dark {
  --fg: var(--bp-d-fg);
  --fg2: var(--bp-d-fg2);
  --fg3: var(--bp-d-fg3);
  --rule: var(--bp-d-rule);
  --btn-bg: var(--bp-white);
  --btn-fg: var(--bp-black);
  background: var(--bp-ink);
  color: var(--fg);
}
.bp-light {
  --fg: var(--bp-l-fg);
  --fg2: var(--bp-l-fg2);
  --fg3: var(--bp-l-fg2);
  --rule: var(--bp-l-rule);
  --btn-bg: var(--bp-l-fg);
  --btn-fg: var(--bp-white);
  background: var(--bp-paper);
  color: var(--fg);
}

/* ---------- layout ---------- */
.bp-wrap {
  width: 100%;
  max-width: 1720px;
  margin-inline: auto;
  padding-inline: var(--bp-gutter);
}
.bp-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--bp-gap);
}
.bp-ch { position: relative; padding-block: var(--bp-pad); }
.bp-rule { height: 1px; border: 0; margin: 0; background: var(--rule); }

/* ---------- type ---------- */
.bp-display,
.bp-title,
.bp-num {
  font-family: var(--bp-f-disp);
  font-weight: 400;
  margin: 0;
  color: var(--fg);
}
.bp-display { font-size: var(--bp-fs-display); line-height: 1.04; letter-spacing: -0.012em; }
/* a word longer than its column wraps instead of being cut (long FR/IT words, small phones) */
h1, h2, h3, .bp-display, .bp-title { overflow-wrap: break-word; }
.bp-title { font-size: var(--bp-fs-title); line-height: 1.14; letter-spacing: -0.006em; text-wrap: balance; }
.bp-lead {
  margin: 0;
  font-size: var(--bp-fs-lead);
  line-height: 1.42;
  color: var(--fg2);
  text-wrap: pretty;
}
.bp-lead--ink { color: var(--fg); }
.bp-body { margin: 0; font-size: var(--bp-fs-body); line-height: 1.6; color: var(--fg2); max-width: 46ch; }
.bp-label {
  margin: 0;
  font-family: var(--bp-f-mono);
  font-weight: 500;
  font-size: var(--bp-fs-label);
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg2);
}
.bp-num { font-size: clamp(44px, 5.2vw, 82px); line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
/* Michroma's % and € read as 0/o and 0: units sit in Hanken at .56em */
.bp-num .u { font-family: var(--bp-f-text); font-size: 0.56em; margin-left: 0.08em; letter-spacing: 0; }

/* ---------- buttons ---------- */
.bp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--btn-bg);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--bp-f-text);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.bp-btn .arr { transition: transform 0.45s var(--bp-ease); }
.bp-btn:hover .arr { transform: translateX(4px); }
.bp-btn--ghost { background: transparent; color: var(--fg); border-color: var(--rule); }
.bp-btn--ghost:hover { border-color: var(--fg); }
.bp-btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.bp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 4px;
  transition: border-color 0.3s ease;
}
.bp-link:hover { border-color: var(--fg); }

/* ---------- logo (shared brand asset; behaviour from the brand kit) ---------- */
.enx-logo { overflow: visible; height: auto; display: block; --ink: currentColor; --cur: #fff; --cur-gl: rgba(255, 255, 255, 0.5); --hot: #fff; --hot-gl: rgba(255, 255, 255, 0.55); }
.enx-logo.energized { --cur: #7ed6ff; --cur-gl: rgb(22 180 255 / 0.95); --hot: #e6faff; --hot-gl: rgb(22 180 255 / 0.8); }
.enx-logo .enx-fill path { fill: var(--ink); }
.enx-logo .enx-wire path { fill: none; stroke: var(--cur); stroke-width: 0.8; opacity: 0; }
.enx-logo .enx-spark path { fill: none; opacity: 0; }
.enx-logo[data-state="route"] .enx-fill path { fill: var(--ink); fill-opacity: 0; stroke: var(--ink); stroke-width: 0.6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: enx-route-draw 0.85s cubic-bezier(0.7, 0, 0.3, 1) forwards, enx-route-fill 0.45s ease forwards; animation-delay: calc(var(--i) * 0.14s), calc(0.85s + var(--i) * 0.14s); }
.enx-logo.energized[data-state="route"] .enx-fill path { stroke: var(--cur); stroke-width: 0.7; filter: drop-shadow(0 0 2.5px var(--cur-gl)); }
@keyframes enx-route-draw { to { stroke-dashoffset: 0; } }
@keyframes enx-route-fill { to { fill-opacity: 1; stroke-opacity: 0; filter: drop-shadow(0 0 0 transparent); } }
.enx-logo[data-state="current"] .enx-wire path { stroke-width: 0.85; stroke-dasharray: 0.14 0.86; stroke-dashoffset: 1; animation: enx-current 7s linear infinite; animation-delay: calc(var(--i) * 0.09s); }
@keyframes enx-current { 0% { stroke-dashoffset: 1; opacity: 0; } 3% { opacity: 0.95; } 22% { stroke-dashoffset: 0; opacity: 0.95; } 28%, 100% { opacity: 0; } }
.enx-logo[data-surge] .enx-spark path { stroke: var(--hot); stroke-width: 1.3; stroke-dasharray: 0.08 0.92; stroke-dashoffset: 1; }
a:hover > .enx-logo[data-surge] .enx-spark path { animation: enx-surge-race 0.52s cubic-bezier(0.4, 0, 0.2, 1); animation-delay: calc(var(--i) * 0.06s); }
@keyframes enx-surge-race { 0% { opacity: 0; stroke-dashoffset: 1; } 12%, 86% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: 0; } }

/* boot-loader.css reads a few platform-era tokens; alias them here so the
   loader keeps working without loading the platform system */
:root {
  --bg: var(--bp-ink);
  --black: var(--bp-ink);
  --line: #1a1d22;
  --txt: #eef1f4;
  --energy-300: #7ed6ff;
  --grad-energy: linear-gradient(90deg, #16b4ff, #5a78ff);
}

/* =====================================================================
   NAV — four links and the call to action, always visible
   ===================================================================== */
.bp-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--bp-nav-h);
  display: flex;
  align-items: center;
  gap: 24px;
  padding-inline: var(--bp-gutter);
  color: var(--bp-d-fg);
  transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, opacity 0.9s ease;
  border-bottom: 1px solid transparent;
}
.bp-nav[data-solid] {
  background: rgba(5, 6, 8, 0.74);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--bp-d-rule);
}
.bp-nav[data-theme="light"] { color: var(--bp-l-fg); }
.bp-nav[data-theme="light"][data-solid] { background: rgba(245, 245, 243, 0.84); border-bottom-color: var(--bp-l-rule); }
.bp-nav__brand { display: inline-flex; align-items: center; margin-right: auto; }
.bp-nav__brand .enx-logo { width: 132px; }
.bp-nav__links { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
.bp-nav__links a {
  font-weight: 500;
  font-size: 15px;
  opacity: 0.78;
  transition: opacity 0.25s ease;
}
.bp-nav__links a:hover { opacity: 1; }
.bp-nav .bp-btn { --btn-bg: var(--bp-white); --btn-fg: var(--bp-black); margin-left: clamp(8px, 1.4vw, 20px); }
.bp-nav[data-theme="light"] .bp-btn { --btn-bg: var(--bp-l-fg); --btn-fg: var(--bp-white); }
.bp-nav__menu {
  display: none;
  min-height: 40px;
  padding: 0 4px;
  border: 0;
  background: none;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
}
.bp-nav .cta-short { display: none; }

.bp-sheet {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: calc(var(--bp-nav-h) + 24px) var(--bp-gutter) 48px;
  background: rgba(5, 6, 8, 0.96);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}
.bp-sheet a {
  padding: 14px 0;
  border-bottom: 1px solid var(--bp-d-rule);
  font-family: var(--bp-f-disp);
  font-size: clamp(24px, 7vw, 40px);
  color: var(--bp-d-fg);
}
body.sheet-open .bp-sheet { opacity: 1; visibility: visible; transition: opacity 0.5s ease; }
body.sheet-open .bp-nav { color: var(--bp-d-fg); background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.sheet-open .bp-nav .bp-btn { --btn-bg: var(--bp-white); --btn-fg: var(--bp-black); }

/* language switch (filled per page by tools/i18n/build-locales.mjs) */
.bp-lang { display: flex; align-items: center; gap: 12px; font-family: var(--bp-f-mono); font-size: 11px; letter-spacing: 0.12em; }
.bp-lang a { padding: 8px 0; opacity: 0.5; transition: opacity 0.25s ease; }
.bp-lang a:hover, .bp-lang a[aria-current] { opacity: 1; }
/* the Arabic endonym: system Arabic faces on latin pages, so they never fetch Fustat */
.bp-lang a[lang="ar"] { letter-spacing: 0; font-size: 13px; font-family: 'Geeza Pro', 'Segoe UI', 'Noto Sans Arabic', Tahoma, sans-serif; }
.bp-nav .bp-lang { margin-left: clamp(4px, 1vw, 12px); }
/* the nav only has room for it on wide screens; the footer and the menu carry it everywhere */
@media (max-width: 1199px) { .bp-nav .bp-lang { display: none; } }
.bp-foot .bp-lang { gap: 16px; }
.bp-sheet .bp-lang { margin-top: 28px; gap: 22px; }
.bp-sheet .bp-lang a { border: 0; padding: 8px 0; font-family: var(--bp-f-mono); font-size: 14px; }
.bp-sheet .bp-lang a[lang="ar"] { font-family: 'Geeza Pro', 'Segoe UI', 'Noto Sans Arabic', Tahoma, sans-serif; font-size: 16px; }

@media (max-width: 960px) {
  .bp-nav__links { display: none; }
  .bp-nav .bp-lang { display: none; }
  .bp-nav__menu { display: inline-flex; align-items: center; }
}
@media (max-width: 520px) {
  .bp-nav .cta-long { display: none; }
  .bp-nav .cta-short { display: inline; }
  .bp-nav__brand .enx-logo { width: 112px; }
  .bp-nav { gap: 14px; }
}

/* =====================================================================
   FLOOR INDICATOR — where you are in the building
   ===================================================================== */
.bp-floor {
  position: fixed;
  right: clamp(14px, 2vw, 30px);
  top: 50%;
  z-index: 40;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--bp-d-fg);
  pointer-events: none;
  transition: color 0.5s ease, opacity 0.6s ease;
}
.bp-floor[data-theme="light"] { color: var(--bp-l-fg); }
.bp-floor__name {
  font-family: var(--bp-f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: right;
  opacity: 0.72;
  min-width: 13ch;
}
.bp-floor__name b { display: block; font-weight: 500; opacity: 1; }
.bp-floor__ticks { display: flex; flex-direction: column; gap: 7px; }
.bp-floor__ticks i {
  display: block;
  width: 10px;
  height: 1px;
  background: currentColor;
  opacity: 0.28;
  transition: width 0.5s var(--bp-ease), opacity 0.5s ease;
}
.bp-floor__ticks i.on { width: 22px; opacity: 1; }
@media (max-width: 1100px) { .bp-floor { display: none; } }
/* the name needs room: below 1600px only the ticks stay, inside the margin */
@media (max-width: 1599px) { .bp-floor__name { display: none; } }

/* =====================================================================
   CHAPTER 1 — the hero (live Sentinel Studio behind), opened like a film
   ---------------------------------------------------------------------
   html classes drive the cold open (set by home.js, in this order):
     .show-c1 / .show-c2  title cards
     .show-title          the title arrives (tracking closes in)
     .bars-open           the letterbox opens
     .show-ui             subtitle, calls to action, nav, floor counter
   ===================================================================== */
#app { position: fixed; inset: 0; z-index: 0; }
#app canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
#loader { position: fixed; inset: 0; z-index: 60; background: var(--bp-ink); }
.bp-page { position: relative; z-index: 1; }

/* the hero is transparent (the scene shows through) but reads as an ink surface */
.bp-hero {
  --k: 0;
  --fg: var(--bp-d-fg);
  --fg2: var(--bp-d-fg2);
  --fg3: var(--bp-d-fg3);
  --rule: var(--bp-d-rule);
  --btn-bg: var(--bp-white);
  --btn-fg: var(--bp-black);
  position: relative;
  height: 230vh;
  background: transparent;
  color: var(--fg);
}
.bp-hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.bp-hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(5, 6, 8, 0.55) 0%, rgba(5, 6, 8, 0) 16%),
    radial-gradient(ellipse 95% 58% at 50% 104%, rgba(5, 6, 8, 0.92) 0%, rgba(5, 6, 8, 0.55) 46%, rgba(5, 6, 8, 0) 78%),
    var(--lens-vignette, none);
}

/* ---------- letterbox (2.39:1 on landscape, capped on phones) ---------- */
.bp-letterbox { position: fixed; inset: 0; z-index: 35; pointer-events: none; }
.bp-letterbox i {
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(0px, calc((100vh - 100vw / 2.39) / 2), 13vh);
  background: #000;
  transition: transform 2.6s cubic-bezier(0.65, 0, 0.2, 1);
}
.bp-letterbox i:first-child { top: 0; }
.bp-letterbox i:last-child { bottom: 0; }
html.bars-open .bp-letterbox i:first-child { transform: translateY(-101%); }
html.bars-open .bp-letterbox i:last-child { transform: translateY(101%); }
html[data-intro="none"] .bp-letterbox { display: none; }

/* ---------- title cards ---------- */
.bp-intro { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.bp-intro__card {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--bp-f-disp);
  font-size: clamp(14px, 1.45vw, 22px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #e8ecf0;
  opacity: 0;
  filter: blur(10px);
  /* kept composited for the whole open, so the type never re-rasterises
     (that re-raster is a visible pop when a blur ends) */
  will-change: opacity, filter;
  transition: opacity 1.5s ease, filter 1.5s ease;
}
/* the slow push on the type runs one way only: it keeps moving forward
   while the card fades out, it never zooms back */
.bp-intro__card > span { display: inline-block; transform: scale(0.985); will-change: transform; }
html.show-c1 .bp-intro__card[data-card="1"],
html.show-c2 .bp-intro__card[data-card="2"] { opacity: 1; filter: blur(0); }
html.left-c1 .bp-intro__card[data-card="1"],
html.left-c2 .bp-intro__card[data-card="2"] { opacity: 0; filter: blur(6px); }
html.show-c1 .bp-intro__card[data-card="1"] > span,
html.left-c1 .bp-intro__card[data-card="1"] > span,
html.show-c2 .bp-intro__card[data-card="2"] > span,
html.left-c2 .bp-intro__card[data-card="2"] > span { animation: bpDrift 6.5s linear forwards; }
@keyframes bpDrift { from { transform: scale(0.985); } to { transform: scale(1.05); } }

/* ---------- resting composition: centred lower third ---------- */
.bp-hero__copy {
  position: absolute;
  left: 0;
  right: 0;
  margin-inline: auto;
  bottom: clamp(40px, 7.5vh, 96px);
  width: min(1180px, 92vw);
  /* even pixel width => the centred text sits on whole pixels (no shimmer) */
  width: min(1180px, round(down, 92vw, 2px));
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: calc(1 - var(--k) * 3.2);
  transform: translateY(calc(var(--k) * -60px));
  will-change: opacity, transform;
}
/* legibility pool: the units and lit screens share the title's luminance, so
   the copy carries its own feathered shadow (a gradient, no per-frame blur) */
.bp-hero__copy::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 46%;
  width: 118%;
  height: 150%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(5, 6, 8, 0.78) 0%, rgba(5, 6, 8, 0.56) 52%, rgba(5, 6, 8, 0.2) 80%, rgba(5, 6, 8, 0) 100%);
}
.bp-hero__h1 { margin: 0; font-weight: 400; display: flex; flex-direction: column; align-items: center; }
.bp-hero__pre {
  font-family: var(--bp-f-disp);
  font-size: clamp(11px, 0.95vw, 15px);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--bp-d-fg2);
  margin-bottom: clamp(14px, 2.2vh, 24px);
  padding-left: 0.5em; /* optically centre the tracked line */
}
.bp-hero__title {
  font-family: var(--bp-f-disp);
  font-size: clamp(26px, 3.7vw, 60px);
  line-height: 1.14;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bp-d-fg);
  text-wrap: balance;
}
.bp-hero__title > span { display: inline-block; }
.bp-hero__rule {
  display: block;
  width: 120px;
  height: 1px;
  margin: clamp(22px, 3.4vh, 36px) 0 clamp(18px, 2.8vh, 28px);
  background: linear-gradient(to right, transparent, var(--bp-d-fg2), transparent);
}
.bp-hero__sub { max-width: 42ch; color: var(--bp-d-fg2); }
.bp-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: clamp(22px, 3.4vh, 34px); }

/* The title arrives: the tracking closes in from wide, out of a soft blur.
   Letter spacing itself never animates (that re-lays the text out every
   frame and made the line breaks jump). Instead home.js splits the title
   into letters at their FINAL spacing and gives each one --o, its distance
   from the centre of its line; --spread eases 1 → 0, so every letter slides
   home along x. Pure transforms: the layout never changes. */
@property --spread { syntax: '<number>'; inherits: true; initial-value: 0; }
.bp-hero__pre,
.bp-hero__title {
  --spread: 1;
  opacity: 0;
  filter: blur(12px);
  will-change: opacity, filter;
  transition: opacity 2.6s ease, filter 2.6s ease, --spread 3.8s cubic-bezier(0.16, 0.7, 0.2, 1);
}
.bp-hero__pre { transition-delay: 0.5s; }
html.show-title .bp-hero__title,
html.show-title .bp-hero__pre { opacity: 1; filter: blur(0); --spread: 0; }
.bp-hero__h1 .w { white-space: nowrap; }
.bp-hero__h1 .l { display: inline-block; transform: translateX(calc(var(--o, 0) * var(--spread) * 1em)); }
.bp-hero__rule { transform: scaleX(0); opacity: 0; transition: transform 2.2s var(--bp-ease) 1.6s, opacity 1.2s ease 1.6s; }
html.show-title .bp-hero__rule { transform: none; opacity: 1; }
.bp-hero__sub,
.bp-hero__ctas,
.bp-hero__cue { opacity: 0; transform: translateY(14px); transition: opacity 1.6s ease, transform 1.6s var(--bp-ease); }
.bp-hero__ctas { transition-delay: 0.35s; }
.bp-hero__cue { transition-delay: 0.9s; }
html.show-ui .bp-hero__sub,
html.show-ui .bp-hero__ctas { opacity: 1; transform: none; }
html.show-ui .bp-hero__cue { opacity: calc(1 - var(--k) * 6); transform: translateX(-50%); }
html:not(.show-ui) .bp-nav,
html:not(.show-ui) .bp-floor { opacity: 0; pointer-events: none; }

.bp-intro__skip {
  position: absolute;
  right: var(--bp-gutter);
  bottom: calc(clamp(0px, calc((100vh - 100vw / 2.39) / 2), 13vh) + 18px);
  z-index: 40;
  padding: 10px 0;
  border: 0;
  background: none;
  font-family: var(--bp-f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bp-d-fg3);
  cursor: pointer;
  opacity: 0;
  transition: opacity 1s ease 1.2s, color 0.3s ease;
}
.bp-intro__skip:hover { color: var(--bp-d-fg); }
html[data-intro="full"] .bp-intro__skip { opacity: 1; }
html.show-ui .bp-intro__skip { opacity: 0; pointer-events: none; transition-delay: 0s; }

.bp-hero__bridge {
  position: absolute;
  left: 50%;
  bottom: clamp(70px, 15vh, 170px);
  width: min(92vw, 24ch);
  text-align: center;
  font-size: var(--bp-fs-title);
  opacity: clamp(0, calc((var(--k) - 0.42) * 5), 1);
  transform: translate(-50%, calc((1 - clamp(0, calc((var(--k) - 0.42) * 5), 1)) * 24px));
  pointer-events: none;
}
.bp-hero__cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--bp-d-fg3);
  transform: translate(-50%, 14px);
}
.bp-hero__cue i { width: 1px; height: 26px; background: linear-gradient(var(--bp-d-fg2), transparent); transform-origin: top; animation: bpCue 2.6s var(--bp-ease) infinite; }
@keyframes bpCue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-height: 820px) { .bp-hero__cue { display: none; } }
/* where the cue shows, the copy sits above it (the 3D framing follows the copy) */
@media (min-height: 821px) { .bp-hero__copy { bottom: max(112px, 9vh); } }
@media (max-width: 760px) {
  .bp-hero__pre { letter-spacing: 0.26em; padding-left: 0.26em; }
  .bp-hero { height: 200vh; }
  .bp-hero__title { font-size: clamp(22px, 6.4vw, 30px); }
  .bp-hero__title { letter-spacing: 0.06em; }
  .bp-hero__pre { letter-spacing: 0.36em; }
  .bp-hero__sub { font-size: 16px; max-width: 30ch; }
  .bp-hero__ctas .bp-btn--ghost { display: none; }
  .bp-intro__card { font-size: 13px; letter-spacing: 0.3em; }
  .bp-hero__cue { display: none; }
}

/* =====================================================================
   CHAPTER 2 — every discipline, one system (porcelain stack, live 3D)
   ===================================================================== */
.bp-stack { position: relative; height: 420vh; }
.bp-stack__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.bp-stack__canvas { position: absolute; inset: var(--bp-nav-h) 0 0 36%; }
.bp-stack__canvas canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.bp-stack__poster {
  position: absolute;
  right: 4vw;
  top: 50%;
  height: 82%;
  width: auto;
  transform: translateY(-46%);
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.bp-stack[data-fallback] .bp-stack__poster { opacity: 1; }
.bp-stack__copy {
  position: absolute;
  left: var(--bp-gutter);
  top: calc(var(--bp-nav-h) + clamp(28px, 7vh, 80px));
  bottom: clamp(36px, 8vh, 90px);
  width: min(460px, 36vw);
  display: flex;
  flex-direction: column;
}
.bp-stack__copy .bp-lead { margin-top: 22px; max-width: 26ch; }
.bp-floors { list-style: none; margin: auto 0 0; padding: 0; }
.bp-floors li {
  padding: 16px 0 18px;
  border-top: 1px solid var(--rule);
  opacity: 0.3;
  transition: opacity 0.6s ease;
}
.bp-floors li.on { opacity: 1; }
.bp-floors li.on .bp-label { color: var(--fg); }
.bp-floors h3 { margin: 6px 0 2px; font-family: var(--bp-f-disp); font-weight: 400; font-size: clamp(18px, 1.5vw, 23px); line-height: 1.25; }
.bp-floors p { margin: 0; color: var(--fg2); font-size: 16px; }
.bp-stack__close {
  position: absolute;
  right: var(--bp-gutter);
  bottom: clamp(36px, 8vh, 90px);
  max-width: 22ch;
  text-align: right;
  font-size: var(--bp-fs-lead);
  line-height: 1.35;
  color: var(--fg);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s ease, transform 0.9s var(--bp-ease);
}
.bp-stack[data-done] .bp-stack__close { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .bp-stack { height: 360vh; }
  .bp-stack__canvas { inset: var(--bp-nav-h) 0 calc(40% + 8px) 0; }
  .bp-stack__copy { top: auto; width: auto; right: var(--bp-gutter); bottom: 24px; height: 40%; justify-content: flex-end; }
  .bp-stack__copy > .bp-title, .bp-stack__copy > .bp-lead { display: none; }
  .bp-floors { margin-top: 0; }
  .bp-floors li { display: none; border-top: 0; padding: 0; opacity: 1; }
  .bp-floors li.on { display: block; }
  .bp-floors li.on::before { content: ''; display: block; height: 1px; background: var(--rule); margin-bottom: 18px; }
  .bp-stack__mtitle { display: block !important; }
  .bp-stack__close { left: var(--bp-gutter); text-align: left; bottom: auto; top: calc(var(--bp-nav-h) + 16px); font-size: 18px; }
}
.bp-stack__mtitle { display: none; margin-bottom: 18px; font-size: clamp(24px, 6.4vw, 32px); }

/* the department model, directly after the stack */
.bp-model__head { grid-column: 1 / span 6; }
.bp-model__head .bp-lead { margin-top: 18px; max-width: 34ch; }
.bp-model__fig { grid-column: 8 / span 5; align-self: center; }
.bp-model__steps {
  grid-column: 1 / -1;
  list-style: none;
  margin: clamp(56px, 9vh, 104px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--bp-gap);
}
.bp-model__steps li { padding-top: 22px; border-top: 1px solid var(--rule); }
.bp-model__steps h3 { margin: 14px 0 10px; font-family: var(--bp-f-disp); font-weight: 400; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.25; }
@media (max-width: 860px) {
  .bp-model__head, .bp-model__fig { grid-column: 1 / -1; }
  .bp-model__fig { margin-top: 48px; }
  .bp-model__steps { grid-template-columns: 1fr; row-gap: 36px; }
}

/* =====================================================================
   PATTERN — the process line
   ===================================================================== */
.bp-process {
  --n: 5;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
}
.bp-process::before {
  content: '';
  position: absolute;
  left: 4px;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.8s var(--bp-ease);
}
.bp-process li {
  position: relative;
  padding-bottom: 26px;
  font-family: var(--bp-f-mono);
  font-weight: 500;
  font-size: clamp(11px, 1vw, 14px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.7s ease, transform 0.7s var(--bp-ease);
  transition-delay: calc(0.18s * var(--i, 0) + 0.3s);
}
.bp-process li::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
}
.bp-process li.live::after { background: var(--bp-signal); }
.bp-process.is-in::before { transform: scaleX(1); }
.bp-process.is-in li { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .bp-process { font-size: 10px; }
  .bp-process li { font-size: 10px; letter-spacing: 0.08em; }
}

/* PATTERN — three facts */
.bp-facts {
  display: grid;
  grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
  column-gap: var(--bp-gap);
  margin: 0;
}
.bp-facts > div { padding-top: 22px; }
.bp-facts dd { margin: 0; }
.bp-facts dt { margin-top: 12px; color: var(--fg2); font-size: 16px; line-height: 1.4; max-width: 22ch; }
@media (max-width: 640px) {
  .bp-facts { grid-template-columns: 1fr; row-gap: 26px; }
}

/* =====================================================================
   CHAPTERS 3–5 — systems and products (object + promise + 3 facts)
   ===================================================================== */
.bp-system { overflow: hidden; }
/* an ink shade between the image and the copy column keeps the text clean */
.bp-system::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 62%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--bp-ink) 0%, var(--bp-ink) 42%, rgba(5, 6, 8, 0.7) 66%, rgba(5, 6, 8, 0) 100%);
}
.bp-system > .bp-wrap { position: relative; z-index: 1; }
.bp-system > .bp-system__media { z-index: 0; }
.bp-system__media {
  position: absolute;
  top: 0;
  right: 0;
  width: 64%;
  height: min(86vh, 860px);
  pointer-events: none;
}
.bp-system__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 22%, #000 48%), linear-gradient(to top, transparent 0%, #000 24%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 22%, #000 48%), linear-gradient(to top, transparent 0%, #000 24%);
  mask-composite: intersect;
  transform: scale(1.06);
  transition: transform 2.4s var(--bp-ease);
}
.bp-system.is-in .bp-system__media img { transform: scale(1); }
.bp-system__copy { position: relative; grid-column: 1 / span 5; }
.bp-system__copy .bp-display { margin: 14px 0 10px; }
.bp-system__copy .bp-title { margin-bottom: 26px; max-width: 16ch; }
.bp-system__copy .bp-body { max-width: 40ch; }
.bp-system__process { grid-column: 1 / -1; margin-top: clamp(56px, 10vh, 120px); }
.bp-system__facts { grid-column: 1 / -1; margin-top: clamp(40px, 6vh, 64px); }
@media (max-width: 860px) {
  .bp-system::before { display: none; }
  .bp-system__media { position: relative; width: calc(100% + 2 * var(--bp-gutter)); height: 46vw; min-height: 220px; margin: 0 calc(-1 * var(--bp-gutter)) 28px; }
  .bp-system__media img { -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 30%); mask-image: linear-gradient(to top, transparent 0%, #000 30%); }
  .bp-system__copy { grid-column: 1 / -1; }
  .bp-system__process { overflow-x: auto; }
  .bp-system__process .bp-process { min-width: 560px; }
}

/* split: HELIX on paper, FORGE on ink */
.bp-split { display: grid; grid-template-columns: 1fr 1fr; }
.bp-split > section { position: relative; padding: var(--bp-pad) var(--bp-gutter); overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; }
.bp-split .bp-display { font-size: clamp(42px, 5.6vw, 92px); margin: 14px 0 10px; }
.bp-split .bp-title { font-size: clamp(22px, 2.2vw, 34px); max-width: 16ch; }
.bp-split .bp-body { margin-top: 22px; max-width: 36ch; }
.bp-split__fig { margin: clamp(32px, 6vh, 64px) 0 clamp(32px, 6vh, 56px); }
.bp-split .bp-process { margin-top: auto; }
.bp-split__fact { display: flex; align-items: flex-end; gap: 22px; margin-top: clamp(36px, 6vh, 56px); padding-top: 22px; border-top: 1px solid var(--rule); }
.bp-split__fact p { margin: 0 0 6px; color: var(--fg2); max-width: 20ch; line-height: 1.4; }
.bp-split__img {
  position: relative;
  order: 2;
  width: calc(100% + var(--bp-gutter));
  max-width: none;
  margin: clamp(24px, 4vh, 48px) calc(-1 * var(--bp-gutter)) 0 auto;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 32%), linear-gradient(to top, transparent 0%, #000 18%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 32%), linear-gradient(to top, transparent 0%, #000 18%);
  mask-composite: intersect;
}
#forge > .forge-copy:first-of-type { order: 1; }
#forge > .bp-split__fact { order: 3; }
.bp-split .forge-copy { position: relative; z-index: 1; }
.bp-split .forge-copy .bp-body { max-width: 30ch; }
@media (max-width: 960px) {
  .bp-split { grid-template-columns: 1fr; }
  .bp-split > section { min-height: 0; }

}

/* SelfieStreet extras */
.bp-ss__app {
  position: absolute;
  z-index: 1;
  right: 46%;
  top: calc(var(--bp-pad) + 2vh);
  width: clamp(110px, 9vw, 160px);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6));
}
.bp-ss__features {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--bp-gap);
  margin-top: clamp(36px, 6vh, 60px);
}
.bp-ss__features h3 { margin: 0 0 8px; font-family: var(--bp-f-disp); font-weight: 400; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: 0.02em; text-transform: uppercase; }
.bp-ss__features p { margin: 0; color: var(--fg2); }
.bp-ss__proof { grid-column: 1 / -1; margin-top: clamp(64px, 11vh, 120px); }
.bp-ss__proof > p { max-width: 52ch; margin: 14px 0 32px; }
.bp-ss__photos { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--bp-gap); }
.bp-ss__photos figure { margin: 0; }
.bp-ss__photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(0.85) contrast(1.05); transition: filter 0.8s ease; }
.bp-ss__photos figure:hover img { filter: none; }
.bp-ss__photos figcaption { margin-top: 10px; }
@media (max-width: 860px) {
  .bp-ss__app { display: none; }
  .bp-ss__features { grid-template-columns: 1fr; row-gap: 24px; }
  .bp-ss__photos { grid-template-columns: 1fr 1fr; }
  .bp-ss__photos figure:first-child { grid-column: 1 / -1; }
}

/* our own products */
.bp-prod__head { grid-column: 1 / span 7; margin-bottom: clamp(48px, 8vh, 96px); }
.bp-prod__head .bp-lead { margin-top: 18px; max-width: 36ch; }
.bp-prod__card { grid-column: span 6; padding-top: 26px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; }
.bp-prod__card .bp-display { font-size: clamp(36px, 4.2vw, 68px); margin: 14px 0 12px; }
.bp-prod__card .bp-body { max-width: 40ch; }
.bp-prod__fig { margin: clamp(28px, 5vh, 52px) 0; aspect-ratio: 16 / 9; border: 1px solid var(--rule); display: grid; place-items: center; overflow: hidden; }
.bp-prod__fig--live { aspect-ratio: auto; border: 0; display: block; overflow: visible; }
.bp-prod__card .bp-facts { margin-bottom: 30px; }
.bp-prod__card .bp-facts .bp-num { font-size: clamp(30px, 2.8vw, 44px); }
.bp-prod__card .bp-link { margin-top: auto; align-self: flex-start; }
@media (max-width: 860px) {
  .bp-prod__head, .bp-prod__card { grid-column: 1 / -1; }
  .bp-prod__card + .bp-prod__card { margin-top: 72px; }
  .bp-prod__card .bp-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bp-prod__card .bp-facts dt { font-size: 14px; }
}

/* =====================================================================
   CHAPTER 6 — where are you? (stage ladder)
   ===================================================================== */
.bp-stages__head { grid-column: 1 / span 8; }
.bp-stages__head .bp-lead { margin-top: 18px; max-width: 38ch; }
.bp-ladder {
  grid-column: 1 / -1;
  position: relative;
  list-style: none;
  margin: clamp(56px, 9vh, 96px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: var(--bp-gap);
}
.bp-ladder::after { content: ''; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: var(--fg); opacity: 0.5; }
.bp-ladder li { display: flex; }
.bp-ladder button {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 150px;
  padding: 0 8px 42px 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  color: var(--fg);
}
.bp-ladder button::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--fg);
  transition: transform 0.4s var(--bp-ease), background-color 0.3s ease;
  z-index: 1;
}
.bp-ladder button .bp-label { color: var(--fg); font-size: 13px; }
.bp-ladder button span:last-child { display: block; margin-top: 14px; color: var(--fg2); font-size: 16px; line-height: 1.4; max-width: 22ch; }
.bp-ladder button:hover::after { transform: scale(1.35); }
.bp-ladder button[aria-pressed="true"]::after { background: var(--bp-signal); transform: scale(1.5); }
.bp-ladder button[aria-pressed="true"] span:last-child { color: var(--fg); }
.bp-answer {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--bp-gap);
  margin-top: clamp(48px, 7vh, 80px);
  min-height: 190px;
}
.bp-answer__text { grid-column: 1 / span 7; }
.bp-answer__text .bp-title { font-size: clamp(24px, 2.6vw, 40px); }
.bp-answer__go { grid-column: 9 / span 4; align-self: end; justify-self: end; }
.bp-answer [data-answer] { transition: opacity 0.5s ease; }
.bp-answer.swap [data-answer] { opacity: 0; }
.bp-stages__team { grid-column: 1 / -1; margin-top: clamp(64px, 10vh, 120px); padding-top: 22px; border-top: 1px solid var(--rule); }
@media (max-width: 860px) {
  .bp-stages__head { grid-column: 1 / -1; }
  .bp-ladder { grid-template-columns: 1fr; row-gap: 0; }
  .bp-ladder::after { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .bp-ladder button { min-height: 0; padding: 14px 0 18px 34px; }
  .bp-ladder button::after { bottom: auto; top: 18px; left: 0; }
  .bp-ladder button span:last-child { margin-top: 6px; }
  .bp-answer__text, .bp-answer__go { grid-column: 1 / -1; justify-self: start; }
  .bp-answer__go { margin-top: 26px; }
}

/* =====================================================================
   CHAPTER 7 — speak to the founder (Leica pattern)
   ===================================================================== */
.bp-founder__title { grid-column: 1 / -1; margin-bottom: clamp(48px, 8vh, 96px); }
.bp-founder__who { grid-column: 1 / span 5; }
.bp-founder__who .name { margin: 0 0 4px; font-weight: 600; font-size: clamp(22px, 1.9vw, 28px); color: var(--fg); }
.bp-founder__who .role { margin: 0 0 28px; color: var(--fg2); }
.bp-founder__who .bp-body { max-width: 36ch; }
.bp-founder__photo { width: min(320px, 100%); aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 28px; filter: grayscale(1); }
.bp-founder__mail { margin-top: 28px; }
.bp-form { grid-column: 7 / span 6; }
.bp-form fieldset { margin: 0; padding: 0; border: 0; }
.bp-field { display: block; padding: 18px 0 14px; border-bottom: 1px solid var(--rule); }
.bp-field .bp-label { display: block; margin-bottom: 8px; color: var(--fg3); }
.bp-field select,
.bp-field input,
.bp-field textarea {
  width: 100%;
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: var(--fg);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.4;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.bp-field select {
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 28px;
  cursor: pointer;
}
.bp-field select option { color: #000; }
.bp-field textarea { resize: vertical; min-height: 84px; }
.bp-field:focus-within { border-bottom-color: var(--fg); }
.bp-form__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.7s var(--bp-ease); }
.bp-form__more > div { overflow: hidden; }
.bp-form[data-open] .bp-form__more { grid-template-rows: 1fr; }
.bp-form__row { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--bp-gap); }
.bp-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.bp-form__note { margin: 0; color: var(--fg2); font-size: 15px; }
.bp-form__status { min-height: 1.6em; margin: 18px 0 0; font-size: 15px; color: var(--fg2); }
.bp-form__status[data-tone="ok"] { color: var(--fg); }
/* the honeypot: out of sight without a far offset (an offset makes RTL pages scroll sideways) */
.bp-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
@media (max-width: 860px) {
  .bp-founder__who, .bp-form { grid-column: 1 / -1; }
  .bp-form { margin-top: 48px; }
  .bp-form__row { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.bp-foot { padding-block: 56px 40px; border-top: 1px solid var(--rule); }
.bp-foot__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.bp-foot__top .enx-logo { width: 150px; }
.bp-foot nav { display: flex; gap: 28px; flex-wrap: wrap; }
.bp-foot nav a { color: var(--fg2); font-weight: 500; transition: color 0.25s ease; }
.bp-foot nav a:hover { color: var(--fg); }
.bp-foot__base { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 56px; }
.bp-foot__base button { padding: 0; border: 0; background: none; cursor: pointer; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; }

/* =====================================================================
   FIGURES
   ===================================================================== */
/* line figures: drawings that draw themselves once, in view (home + case pages) */
.bp-fig { width: 100%; height: auto; color: var(--fg); overflow: visible; }
.bp-fig .ln { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.bp-fig .ln.dim { opacity: 0.35; }
.bp-fig .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--bp-ease); transition-delay: calc(var(--d, 0) * 0.12s + 0.2s); }
.bp-fig .node { fill: var(--bg-fig, var(--bp-paper)); stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.bp-fig .dot { fill: currentColor; }
.bp-fig .sig { fill: var(--bp-signal); }
.bp-fig .pop { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.6); transition: opacity 0.6s ease, transform 0.8s var(--bp-ease); transition-delay: calc(var(--d, 0) * 0.12s + 0.5s); }
.bp-fig text { font-family: var(--bp-f-mono); font-size: 15px; letter-spacing: 0.12em; fill: var(--fg2); text-transform: uppercase; }
.bp-fig text.ink { fill: var(--fg); }
.is-in .bp-fig .draw, .bp-fig.is-in .draw { stroke-dashoffset: 0; }
.is-in .bp-fig .pop, .bp-fig.is-in .pop { opacity: 1; transform: none; }
.bp-dark .bp-fig { --bg-fig: var(--bp-ink); }
.bp-fig .run { offset-rotate: 0deg; animation: bpRun 6s linear infinite; }
@keyframes bpRun { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .bp-fig .draw { transition: none; stroke-dashoffset: 0; }
  .bp-fig .pop { transition: none; opacity: 1; transform: none; }
  .bp-fig .run { animation: none; display: none; }
}

/* =====================================================================
   WORK — hub and case pages
   ===================================================================== */
.bp-hero__canvas { position: absolute; inset: 0; z-index: 0; }
.bp-hero__canvas canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.bp-hero__stage > :not(.bp-hero__canvas) { z-index: 1; }
.bp-hero[data-flat] .bp-hero__canvas { display: none; }
body[data-page] .bp-hero { height: 200vh; }

/* the hub: the hero is also the showcase — scroll turns the stage */
body[data-page="work"] .bp-hero--hub { height: calc(100vh + 6 * 72vh); }
.bp-hero--hub .bp-hero__copy { opacity: calc(1 - var(--kk, 0) * 3.4); transform: translateY(calc(var(--kk, 0) * -50px)); }
.bp-hero--hub .bp-hero__cue { opacity: calc(1 - var(--kk, 0) * 8) !important; }
.bp-show { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.8s ease; }
.bp-show[data-on] { opacity: 1; }
.bp-show__index {
  position: absolute;
  left: var(--bp-gutter);
  top: 50%;
  transform: translateY(-50%);
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  font-family: var(--bp-f-disp);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--bp-d-fg3);
}
.bp-show__index li { display: flex; gap: 14px; align-items: baseline; transition: color 0.5s ease; }
.bp-show__index li .bp-label { color: inherit; }
.bp-show__index li.on { color: var(--bp-d-fg); }
.bp-show__captions { position: absolute; left: 0; right: 0; bottom: clamp(44px, 8vh, 100px); height: 210px; }
.bp-show__cap {
  position: absolute;
  inset: auto 0 0 0;
  margin-inline: auto;
  width: min(92vw, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  color: var(--bp-d-fg);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.9s var(--bp-ease);
  pointer-events: none;
}
.bp-show__cap.on { opacity: 1; transform: none; pointer-events: auto; }
.bp-show__name { font-family: var(--bp-f-disp); font-size: clamp(30px, 4.4vw, 70px); letter-spacing: 0.08em; line-height: 1.05; }
.bp-show__promise { color: var(--bp-d-fg2); font-size: var(--bp-fs-lead); }
.bp-show .bp-link { --rule: var(--bp-d-rule); --fg: var(--bp-d-fg); }
@media (max-width: 900px) { .bp-show__index { display: none; } }

/* all six */
.bp-cases__head { grid-column: 1 / span 8; margin-bottom: clamp(44px, 7vh, 88px); }
.bp-cases__head .bp-lead { margin-top: 18px; max-width: 40ch; }
.bp-cases { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--bp-gap); row-gap: clamp(40px, 6vh, 72px); }
.bp-case-card { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 1px solid var(--rule); height: 100%; }
.bp-case-card__name { font-family: var(--bp-f-disp); font-size: clamp(24px, 2.1vw, 40px); line-height: 1.05; letter-spacing: 0.02em; transition: letter-spacing 0.6s var(--bp-ease); }
.bp-case-card__promise { color: var(--fg2); font-size: 18px; line-height: 1.4; max-width: 26ch; }
.bp-case-card .bp-link { margin-top: auto; align-self: flex-start; }
.bp-case-card:hover .bp-link { border-color: var(--fg); }
@media (max-width: 960px) { .bp-cases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bp-cases { grid-template-columns: 1fr; } .bp-cases__head { grid-column: 1 / -1; } }

/* also on record */
.bp-record { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; }
.bp-record li { display: grid; grid-template-columns: 3fr 2fr 5fr 2fr; gap: 6px var(--bp-gap); align-items: baseline; padding: 22px 0; border-top: 1px solid var(--rule); }
.bp-record li:last-child { border-bottom: 1px solid var(--rule); }
.bp-record__name { font-family: var(--bp-f-disp); font-size: clamp(17px, 1.4vw, 21px); }
.bp-record__desc { color: var(--fg2); }
.bp-record__year { text-align: right; }
.bp-record--sealed .bp-record__name { color: var(--fg2); }
@media (max-width: 760px) {
  .bp-record li { grid-template-columns: 1fr auto; }
  .bp-record__desc { grid-column: 1 / -1; }
  .bp-record__year { text-align: left; }
}

/* case page */
.bp-case__intro { grid-column: 1 / span 8; }
/* the story opens with an editorial lead, not a display title */
.bp-case__intro .bp-title { font-family: var(--bp-f-text); font-size: clamp(24px, 2.4vw, 38px); line-height: 1.3; letter-spacing: -0.01em; max-width: 34ch; }
.bp-case__text { grid-column: 1 / span 6; margin-top: clamp(32px, 5vh, 56px); display: grid; gap: 22px; align-content: start; }
.bp-case__text .bp-link { justify-self: start; }
.bp-case__facts { grid-column: 8 / span 5; margin-top: clamp(32px, 5vh, 56px); }
.bp-case__facts .bp-facts { grid-template-columns: 1fr; row-gap: 26px; }
.bp-case__facts .bp-facts > div { border-top: 1px solid var(--rule); }
.bp-case__process { margin: clamp(28px, 5vh, 56px) 0 clamp(48px, 8vh, 96px); }
.bp-case__process .bp-process { color: var(--fg); }
.bp-case__media { margin: 0; }
.bp-case__media img {
  width: 100%;
  height: auto;
  /* the renders sit on pure black, a shade off the page ink: feather every edge */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 12%, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 12%, #000 72%, transparent 100%);
  mask-composite: intersect;
}
.bp-case__fig { max-width: 820px; margin-inline: auto; }
.bp-case__photos { margin-top: clamp(40px, 7vh, 80px); }
.bp-parts { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--bp-gap); }
.bp-parts li { padding-top: 22px; border-top: 1px solid var(--rule); }
.bp-parts h3 { margin: 14px 0 10px; font-family: var(--bp-f-disp); font-weight: 400; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.25; }
.bp-disc { grid-column: 1 / -1; margin-top: clamp(56px, 9vh, 104px); display: grid; gap: 18px; justify-items: start; }
.bp-disc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bp-disc li { padding: 10px 16px; border: 1px solid var(--rule); color: var(--fg2); font-size: 15px; }
.bp-disc li.on { border-color: var(--fg); color: var(--fg); }
.bp-next { border-top: 1px solid var(--rule); }
.bp-next__link { display: grid; gap: 14px; padding-block: clamp(80px, 14vh, 160px); }
.bp-next__name { font-family: var(--bp-f-disp); font-size: clamp(40px, 7vw, 112px); line-height: 1; letter-spacing: 0.04em; transition: letter-spacing 0.8s var(--bp-ease); }
.bp-next__link:hover .bp-next__name { letter-spacing: 0.07em; }
@media (max-width: 860px) {
  .bp-case__intro, .bp-case__text, .bp-case__facts { grid-column: 1 / -1; }
  .bp-parts { grid-template-columns: 1fr; row-gap: 32px; }
  .bp-case__process { overflow-x: auto; }
  .bp-case__process .bp-process { min-width: 520px; }
}

/* =====================================================================
   CAPABILITIES
   ===================================================================== */
.bp-disciplines { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; }
.bp-discipline {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--bp-gap);
  align-items: center;
  padding: clamp(48px, 8vh, 96px) 0;
  border-top: 1px solid var(--rule);
}
.bp-discipline__fig { grid-column: 1 / span 6; }
.bp-discipline__text { grid-column: 8 / span 5; display: grid; gap: 16px; justify-items: start; }
.bp-discipline:nth-child(even) .bp-discipline__fig { grid-column: 7 / span 6; order: 2; }
.bp-discipline:nth-child(even) .bp-discipline__text { grid-column: 1 / span 5; order: 1; }
.bp-discipline__name { margin: 0; font-family: var(--bp-f-disp); font-weight: 400; font-size: clamp(26px, 2.8vw, 44px); line-height: 1.1; }
.bp-discipline .bp-body { max-width: 52ch; }
.bp-tags { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bp-tags li { padding: 7px 12px; border: 1px solid var(--rule); font-size: 14px; color: var(--fg2); }
.bp-discipline__gets { margin: 6px 0 0; display: grid; gap: 6px; font-size: 18px; color: var(--fg); }
.bp-discipline__proof { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; }
.bp-discipline__proof .bp-label { width: 100%; }
@media (max-width: 860px) {
  .bp-discipline__fig, .bp-discipline__text,
  .bp-discipline:nth-child(even) .bp-discipline__fig, .bp-discipline:nth-child(even) .bp-discipline__text { grid-column: 1 / -1; order: 0; }
  .bp-discipline__fig { margin-bottom: 28px; }
}

/* LIVE INSTRUMENTS — figure plates that compute in front of you
   (drawn by src/site/live-figures.js). Hairlines, mono numerals, one blue. */
.bp-plate { --lf-bg: var(--bp-paper); margin: 0; }
.bp-dark .bp-plate { --lf-bg: var(--bp-ink); }
.bp-plate__bar {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 16px 0;
  font-family: var(--bp-f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg2);
}
.bp-plate__clock { font-variant-numeric: tabular-nums; color: var(--fg); }
.bp-live { padding: 10px 10px 12px; aspect-ratio: 520 / 340; overflow: hidden; }
.lf { display: block; width: 100%; height: auto; overflow: hidden; }
.lf-ln { fill: none; stroke: var(--fg); stroke-width: 1; vector-effect: non-scaling-stroke; }
.lf-dim { opacity: 0.4; }
.lf-faint { opacity: 0.16; }
.lf-dash { stroke-dasharray: 2 4; opacity: 0.5; }
.lf-node { fill: var(--lf-bg); stroke: var(--fg); stroke-width: 1; vector-effect: non-scaling-stroke; }
.lf-sig { fill: var(--bp-signal); }
.lf-pip { fill: var(--fg); }
.lf-field { opacity: 0.22; }
.lf-ring { fill: none; stroke: var(--bp-signal); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.lf-curve { fill: none; stroke: var(--fg); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.lf-trail { fill: none; stroke: var(--bp-signal); stroke-width: 1.2; vector-effect: non-scaling-stroke; opacity: 0.8; stroke-linejoin: round; }
.lf-link { fill: none; stroke: var(--fg); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.lf-scan { stroke: var(--bp-signal); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.lf-card { fill: var(--fg); }
.lf-ghost { fill: none; stroke: var(--fg); stroke-width: 1; vector-effect: non-scaling-stroke; }
.lf-bar, .lf-cell, .lf-packet { fill: var(--fg); }
.lf-bar { opacity: 0.78; }
.lf-hostile { fill: var(--lf-bg); stroke: var(--fg); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.lf text { font-family: var(--bp-f-mono); font-variant-numeric: tabular-nums; }
.lf text.lf-on { fill: var(--bp-signal); }
.lf text.lf-ink { fill: var(--fg); }
.lf-hot { stroke: var(--bp-signal); }
.lf-dashsig { stroke-dasharray: 3 3; }
.lf-cells { shape-rendering: crispEdges; }
.lf-t { font-size: 10.5px; letter-spacing: 0.06em; fill: var(--fg2); }
.lf-num { font-size: 12px; letter-spacing: 0.04em; fill: var(--fg); }
.lf-big { font-size: 22px; letter-spacing: 0.02em; fill: var(--fg); }
.lf-math { font-size: 12px; letter-spacing: 0.02em; fill: var(--fg); }
@media (max-width: 560px) {
  .bp-plate__bar { font-size: 10px; padding: 12px 12px 0; }
  .bp-plate__sub { display: none; }
  .bp-live { padding: 6px 4px 8px; }
  .lf-t { font-size: 11.5px; }
  .lf-num, .lf-math { font-size: 13px; }
  .lf .lf-wide { display: none; } /* parts of a plate that only make sense on a wide screen */
}

.bp-stations { grid-column: 1 / -1; }
.bp-stations .bp-process { color: var(--fg); }
.bp-stations__text { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--bp-gap); }
.bp-stations__text .bp-body { font-size: 16px; padding-right: 8px; }
.bp-stations__exit { margin: 14px 0 0; display: grid; gap: 6px; color: var(--fg); font-size: 15px; }

/* ---------- Privacy (privacy.html): a document ---------- */
.bp-doc { padding: calc(var(--bp-nav-h) + clamp(56px, 10vh, 120px)) 0 clamp(80px, 12vh, 140px); }
.bp-doc__head { grid-column: 1 / span 7; display: grid; gap: 16px; margin-bottom: clamp(48px, 8vh, 88px); }
.bp-doc__head .bp-title { margin: 0; }
.bp-doc__date { margin-top: 8px; color: var(--fg3, var(--fg2)); }
.bp-doc__body { grid-column: 1 / span 8; display: grid; gap: clamp(36px, 5vh, 52px); }
.bp-doc__part { display: grid; gap: 14px; padding-top: 22px; border-top: 1px solid var(--rule); }
.bp-doc__part h2 { margin: 0; display: flex; gap: 18px; align-items: baseline; font-family: var(--bp-f-disp); font-weight: 400; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.25; }
.bp-doc__part .bp-body { max-width: 68ch; }
@media (max-width: 960px) { .bp-doc__head, .bp-doc__body { grid-column: 1 / -1; } }

/* ---------- Company (company.html) ---------- */
.bp-co__thesis { grid-column: 1 / span 10; display: grid; gap: 22px; margin-bottom: clamp(56px, 9vh, 104px); }
.bp-co__statement { margin: 0; font-size: clamp(32px, 4.4vw, 68px); line-height: 1.08; }
.bp-co__thesis .bp-lead { max-width: 46ch; }
.bp-co__who { grid-column: 1 / span 4; display: grid; gap: 10px; align-content: start; }
.bp-co__name { margin: 18px 0 0; font-family: var(--bp-f-disp); font-size: clamp(24px, 2.2vw, 34px); line-height: 1.15; }
.bp-co__role { margin: 0; color: var(--fg2); }
.bp-co__facts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.bp-co__facts li { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--rule); color: var(--fg); }
.bp-co__letter { grid-column: 6 / span 7; display: grid; gap: 22px; align-content: start; }
.bp-co__letter .bp-lead { max-width: 52ch; }
.bp-sig { width: min(320px, 70%); height: auto; margin-top: 10px; }
.bp-sig .s { fill: none; stroke: var(--fg); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.bp-sig .s3 { stroke: var(--fg2); stroke-width: 1; }
.bp-sig .dot { fill: var(--fg); opacity: 0; transition: opacity 0.3s ease 2.8s; }
.is-in .bp-sig .s1 { stroke-dashoffset: 0; transition: stroke-dashoffset 1.25s cubic-bezier(0.4, 0, 0.3, 1) 0.4s; }
.is-in .bp-sig .s2 { stroke-dashoffset: 0; transition: stroke-dashoffset 1.05s cubic-bezier(0.4, 0, 0.3, 1) 1.55s; }
.is-in .bp-sig .s3 { stroke-dashoffset: 0; transition: stroke-dashoffset 0.5s cubic-bezier(0.4, 0, 0.3, 1) 2.5s; }
.is-in .bp-sig .dot { opacity: 1; }
.bp-co__fig { grid-column: 1 / span 7; }
.bp-co__roles { grid-column: 9 / span 4; list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; align-content: start; }
.bp-co__roles li { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--rule); }
.bp-co__roles h3 { margin: 0; font-family: var(--bp-f-disp); font-weight: 400; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.2; }
.bp-cities { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--bp-gap); row-gap: 40px; }
.bp-cities li { padding-top: 22px; border-top: 1px solid var(--rule); display: grid; gap: 10px; align-content: start; }
.bp-cities__name { margin: 0; font-family: var(--bp-f-disp); font-size: clamp(24px, 2.4vw, 38px); line-height: 1.1; }
.bp-cities__time { margin: 6px 0 0; font-family: var(--bp-f-mono); font-size: clamp(36px, 4.2vw, 64px); }
@media (prefers-reduced-motion: reduce) {
  .bp-sig .s { stroke-dashoffset: 0; transition: none; }
  .bp-sig .dot { opacity: 1; transition: none; }
}
@media (max-width: 960px) {
  .bp-co__thesis, .bp-co__who, .bp-co__letter, .bp-co__fig, .bp-co__roles { grid-column: 1 / -1; }
  .bp-co__letter { margin-top: 40px; }
  .bp-co__roles { margin-top: 40px; }
  .bp-cities { grid-template-columns: 1fr; }
}

/* ---------- Approach (lab.html) ---------- */
.bp-method__fig { grid-column: 1 / -1; }
.bp-method__stations { grid-column: 1 / -1; margin-top: clamp(40px, 6vh, 64px); }
.bp-method__stations li { display: grid; gap: 10px; align-content: start; }
.bp-method__name { margin: 0; font-family: var(--bp-f-disp); font-weight: 400; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.2; }
.bp-laws { margin-bottom: clamp(72px, 12vh, 140px); }
.bp-programs__head { margin-top: 0; }
.bp-tele {
  grid-column: 1 / -1; margin: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--bp-gap); row-gap: clamp(36px, 5vh, 56px);
}
.bp-tele > div { padding-top: 22px; border-top: 1px solid var(--rule); display: grid; gap: 12px; align-content: start; }
.bp-tele dt { font-family: var(--bp-f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg2); }
.bp-tele dd { margin: 0; font-size: clamp(36px, 4vw, 64px); }
.bp-tele__spark { width: 132px; height: 26px; }
.bp-tele__foot { grid-column: 1 / -1; margin: clamp(40px, 6vh, 64px) 0 0; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.lf text.lf-pre { white-space: pre; }
@media (max-width: 760px) {
  .bp-tele { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .bp-stations .bp-process { display: none; }
  .bp-stations__text { grid-template-columns: 1fr; row-gap: 26px; counter-reset: st; }
  .bp-stations__text li { padding-top: 18px; border-top: 1px solid var(--rule); }
}

.bp-programs, .bp-rules { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--bp-gap); row-gap: clamp(40px, 6vh, 64px); }
.bp-programs li, .bp-rules li { padding-top: 22px; border-top: 1px solid var(--rule); display: grid; gap: 10px; align-content: start; }
.bp-programs h3, .bp-rules h3 { margin: 4px 0 0; font-family: var(--bp-f-disp); font-weight: 400; font-size: clamp(20px, 1.8vw, 28px); line-height: 1.2; }
@media (max-width: 860px) { .bp-programs, .bp-rules { grid-template-columns: 1fr; } }

/* ---------- consent (EU and UK visitors only) ---------- */
.bp-consent {
  position: fixed;
  left: var(--bp-gutter);
  bottom: 20px;
  z-index: 70;
  width: min(440px, calc(100vw - 2 * var(--bp-gutter)));
  padding: 22px 22px 20px;
  background: rgba(5, 6, 8, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--bp-d-rule);
  color: var(--bp-d-fg);
  /* accept and decline carry identical weight */
  --btn-bg: var(--bp-white);
  --btn-fg: var(--bp-black);
  --fg: var(--bp-d-fg);
  --rule: var(--bp-d-rule);
}
.bp-consent p { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: var(--bp-d-fg2); }
.bp-consent p a { color: var(--bp-d-fg); text-decoration: underline; text-underline-offset: 3px; }
.bp-consent div { display: flex; gap: 10px; }
.bp-consent .bp-btn { flex: 1; }

/* ---------- reveal ---------- */
.bp-reveal { opacity: 0; transform: translateY(20px); transition: opacity 1s ease, transform 1.2s var(--bp-ease); }
.bp-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .bp-reveal, .bp-process li, .bp-hero__copy > * { transition: none !important; filter: none !important; }
  .bp-reveal, .bp-process li { transform: none !important; }
  .bp-process::before { transition: none; }
  .bp-hero__cue i { animation: none; }
  .bp-system__media img { transition: none; transform: none; }
}
