/* Buzizi Foundation — Light Editorial CSS
   Inherits Claude Buzizi design tokens, swaps to a cream/ivory ground.
*/
@import url('tokens.css');

:root {
  /* Light editorial palette derived from brand */
  --bf-ivory:        45 38% 97%;   /* page bg */
  --bf-cream:        38 40% 94%;   /* surface raised */
  --bf-paper:        40 30% 90%;   /* divider tint */
  --bf-ink:          222 47% 11%;  /* primary text */
  --bf-ink-muted:    222 20% 35%;  /* body text */
  --bf-ink-soft:     222 14% 50%;  /* captions */
  --bf-rule:         35 20% 80%;   /* hairlines */
  --bf-rule-strong:  35 18% 70%;
  --bf-navy:         212 65% 15%;  /* footer / accent dark */
  --bf-navy-deep:    222 84% 6%;
  --bf-orange:       16 94% 58%;
  --bf-orange-warm:  25 95% 63%;
  --bf-gold:         43 74% 52%;
  --bf-gold-soft:    45 100% 68%;
  --bf-burgundy:     0 65% 35%;
  --bf-success:      142 50% 36%;

  /* Resolved */
  --page-bg:        hsl(var(--bf-ivory));
  --page-fg:        hsl(var(--bf-ink));
  --page-fg-muted:  hsl(var(--bf-ink-muted));
  --page-fg-soft:   hsl(var(--bf-ink-soft));
  --page-rule:      hsl(var(--bf-rule));

  /* Tweakable accent */
  --bf-accent:        hsl(var(--bf-orange));
  --bf-accent-soft:   hsl(var(--bf-gold));
  --bf-accent-grad:   linear-gradient(135deg, hsl(var(--bf-orange)), hsl(var(--bf-gold)));
  --bf-accent-grad-hover: linear-gradient(135deg, hsl(var(--bf-orange-warm)), hsl(var(--bf-gold-soft)));

  --bf-shadow-card:    0 1px 2px hsl(var(--bf-ink) / 0.04), 0 8px 32px -12px hsl(var(--bf-ink) / 0.12);
  --bf-shadow-cta:     0 4px 18px -4px hsl(var(--bf-orange) / 0.45);
  --bf-shadow-cta-hov: 0 8px 28px -6px hsl(var(--bf-orange) / 0.65);

  --bf-radius:    14px;
  --bf-radius-lg: 22px;
  --bf-radius-pill: 9999px;

  --bf-maxw: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.bf {
  margin: 0;
  background: var(--page-bg);
  color: var(--page-fg);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.bf h1, body.bf h2, body.bf h3, body.bf h4, body.bf h5, body.bf h6 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 96, "SOFT" 30;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--page-fg);
  margin: 0 0 0.5em 0;
  padding-bottom: 0.05em;
  text-wrap: balance;
}

body.bf p { color: var(--page-fg-muted); margin: 0 0 1em 0; text-wrap: pretty; }

.bf-container { max-width: var(--bf-maxw); margin: 0 auto; padding: 0 32px; }

.bf-eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bf-accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.bf-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--bf-accent);
}
.bf-eyebrow.no-rule::before { display: none; }

.bf-script {
  font-family: var(--font-accent);
  font-weight: 600;
  font-style: normal;
  background: var(--bf-accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  /* Caveat italic strokes extend past the glyph box — give them breathing room
     so background-clip:text doesn't shear off the final letter. */
  padding-right: 0.18em;
  padding-left: 0.04em;
  padding-bottom: 0.08em;
  margin-right: -0.08em;
  display: inline-block;
}

.bf-grad-text {
  background: var(--bf-accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Navigation ---------- */
.bf-nav {
  position: sticky; top: 0; z-index: 50;
  background: hsl(var(--bf-ivory) / 0.85);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid hsl(var(--bf-rule) / 0.6);
}
.bf-nav-inner {
  max-width: var(--bf-maxw);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.bf-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--page-fg);
  flex-shrink: 0;
}
.bf-logo { gap: 12px; }
.bf-logo-mark {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  color: hsl(var(--bf-ink));
  flex-shrink: 0;
}
.bf-logo-mark .bf-logo-svg { width: 100%; height: 100%; display: block; }
.bf-logo-mark .bf-logo-disc { fill: hsl(var(--bf-orange)); }
.bf-footer-brand .bf-logo-mark { color: white; }
.bf-footer-brand .bf-logo-mark .bf-logo-disc { fill: hsl(var(--bf-gold)); }
.bf-logo-mark-LEGACY {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bf-accent-grad);
  display: grid; place-items: center;
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 16px -4px hsl(var(--bf-orange) / 0.5);
}
.bf-logo-text {
  display: flex; flex-direction: column; line-height: 1.05;
  gap: 3px;
}
.bf-logo-text strong {
  font-family: 'Archivo', var(--font-display), sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--bf-accent);
  line-height: 1;
}
.bf-logo-text span {
  font-family: 'Archivo', var(--font-display), sans-serif;
  font-size: 9px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: hsl(var(--bf-ink));
  font-weight: 600;
  line-height: 1;
}
  font-size: 19px;
  letter-spacing: -0.02em;
}
.bf-logo-text span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--page-fg-soft);
  margin-top: 4px;
  font-weight: 500;
}

.bf-nav-links {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto;
}
.bf-nav-link {
  position: relative;
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--page-fg-muted);
  text-decoration: none;
  border-radius: 10px;
  transition: color 200ms ease, background 200ms ease;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.bf-nav-link:hover { color: var(--page-fg); background: hsl(var(--bf-paper) / 0.5); }
.bf-nav-link.active { color: var(--page-fg); }
.bf-nav-link.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 2px; border-radius: 2px;
  background: var(--bf-accent-grad);
}
.bf-nav-link svg { width: 14px; height: 14px; }

.bf-dropdown { position: relative; }
.bf-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 240px;
  background: hsl(var(--bf-ivory));
  border: 1px solid hsl(var(--bf-rule));
  border-radius: 14px;
  box-shadow: var(--bf-shadow-card);
  padding: 8px;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}
.bf-dropdown:hover .bf-dropdown-menu,
.bf-dropdown:focus-within .bf-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.bf-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--page-fg-muted);
  text-decoration: none;
  border-radius: 8px;
  transition: background 160ms, color 160ms;
}
.bf-dropdown-menu a:hover { background: hsl(var(--bf-paper) / 0.6); color: var(--page-fg); }
.bf-dropdown-menu a small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--page-fg-soft);
  margin-top: 2px;
}

/* ---------- Buttons ---------- */
.bf-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  border-radius: var(--bf-radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 220ms var(--ease-spring), box-shadow 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
  white-space: nowrap;
}
.bf-btn svg { width: 16px; height: 16px; }
.bf-btn-primary {
  background: var(--bf-accent-grad);
  color: white;
  box-shadow: var(--bf-shadow-cta);
}
.bf-btn-primary:hover { transform: translateY(-2px); box-shadow: var(--bf-shadow-cta-hov); background: var(--bf-accent-grad-hover); }
.bf-btn-ghost {
  background: transparent;
  color: var(--page-fg);
  border: 1.5px solid hsl(var(--bf-rule-strong));
}
.bf-btn-ghost:hover { border-color: var(--bf-accent); color: var(--bf-accent); transform: translateY(-1px); }
.bf-btn-dark {
  background: hsl(var(--bf-navy));
  color: white;
}
.bf-btn-dark:hover { background: hsl(var(--bf-navy-deep)); transform: translateY(-2px); }

.bf-btn-lg { padding: 16px 30px; font-size: 15.5px; border-radius: 16px; }
.bf-btn-sm { padding: 9px 16px; font-size: 13px; border-radius: 11px; }

/* ---------- Hero (motion gradient bg) ---------- */
.bf-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 88px 0 96px;
}
.bf-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 80% at 80% 10%, hsl(var(--bf-gold-soft) / 0.35), transparent 60%),
    radial-gradient(50% 70% at 10% 90%, hsl(var(--bf-orange) / 0.22), transparent 65%),
    linear-gradient(180deg, hsl(var(--bf-cream)), hsl(var(--bf-ivory)) 70%);
}
.bf-hero-orbs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bf-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: bfFloat 14s ease-in-out infinite;
}
.bf-hero-orb.a { width: 520px; height: 520px; top: -160px; right: -120px;
  background: radial-gradient(circle, hsl(var(--bf-orange) / 0.55), transparent 70%); }
.bf-hero-orb.b { width: 420px; height: 420px; bottom: -180px; left: -100px;
  background: radial-gradient(circle, hsl(var(--bf-gold) / 0.6), transparent 70%);
  animation-delay: -5s; animation-duration: 18s; }
.bf-hero-orb.c { width: 320px; height: 320px; top: 30%; left: 40%;
  background: radial-gradient(circle, hsl(var(--bf-burgundy) / 0.18), transparent 70%);
  animation-delay: -10s; animation-duration: 22s; }

@keyframes bfFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.05); }
  66%      { transform: translate(-30px, 40px) scale(0.97); }
}

.bf-hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.07;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='5'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.bf-hero-inner {
  max-width: var(--bf-maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.bf-hero-h1 {
  font-size: clamp(44px, 5.6vw, 76px);
  letter-spacing: -0.025em;
  line-height: 1.02;
  font-weight: 400;
  margin-bottom: 28px;
}
.bf-hero-h1 .bf-line-1 { display: block; }
.bf-hero-h1 .bf-line-1 .bf-script { font-size: 1em; display: inline-block; margin-left: 0.18em; line-height: 1; vertical-align: baseline; }
.bf-hero-h1 .bf-line-2 {
  display: block;
  font-size: 0.6em;
  font-weight: 400;
  color: var(--page-fg-muted);
  letter-spacing: -0.015em;
  margin-top: 10px;
  line-height: 1.15;
}
.bf-hero-lead {
  font-size: 19px;
  line-height: 1.6;
  max-width: 560px;
  color: var(--page-fg-muted);
  margin-bottom: 32px;
}
.bf-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* portrait + ambient cards */
.bf-hero-art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 30px 80px -24px hsl(var(--bf-ink) / 0.25),
    0 0 0 1px hsl(var(--bf-ink) / 0.05);
  background: hsl(var(--bf-paper));
  isolation: isolate;
}
.bf-hero-art video,
.bf-hero-art .bf-hero-portrait {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.bf-hero-art-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 40%, hsl(var(--bf-navy-deep) / 0.55) 100%);
}
.bf-hero-art-stamp {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  color: white;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.bf-hero-art-stamp::before {
  content: ""; width: 28px; height: 1.5px; background: hsl(var(--bf-gold-soft));
}

.bf-floatcard {
  position: absolute;
  background: white;
  backdrop-filter: blur(10px);
  border: 1px solid hsl(var(--bf-rule));
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--bf-shadow-card);
  display: flex; align-items: center; gap: 12px;
  z-index: 2;
}
.bf-floatcard .bf-floatcard-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--bf-accent-grad);
  display: grid; place-items: center;
  color: white; flex-shrink: 0;
}
.bf-floatcard .bf-floatcard-mark svg { width: 18px; height: 18px; }
.bf-floatcard b { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 600; line-height: 1.1; }
.bf-floatcard small { display: block; font-size: 12px; color: var(--page-fg-soft); margin-top: 3px; letter-spacing: 0.02em; }

/* ---------- Sections ---------- */
.bf-section { padding: 96px 0; position: relative; }
.bf-section.alt { background: hsl(var(--bf-cream)); }
.bf-section.dark { background: hsl(var(--bf-navy)); color: hsl(var(--cb-cream)); }
.bf-section.dark h1, .bf-section.dark h2, .bf-section.dark h3, .bf-section.dark h4 { color: white; }
.bf-section.dark p { color: hsl(0 0% 100% / 0.78); }

.bf-section-head { max-width: 760px; margin-bottom: 56px; }
.bf-section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.bf-section-head h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  letter-spacing: -0.025em;
  margin: 16px 0 18px;
  font-weight: 400;
}
.bf-section-head p { font-size: 19px; line-height: 1.6; color: var(--page-fg-muted); max-width: 620px; }
.bf-section-head.center p { margin-left: auto; margin-right: auto; }

/* Stats */
.bf-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid hsl(var(--bf-rule));
  border-bottom: 1px solid hsl(var(--bf-rule));
  background: hsl(var(--bf-ivory));
}
.bf-stat {
  padding: 36px 28px;
  border-right: 1px solid hsl(var(--bf-rule));
  position: relative;
}
.bf-stat:last-child { border-right: none; }
.bf-stat-num {
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--page-fg);
  display: flex; align-items: baseline; gap: 4px;
}
.bf-stat-num span.suffix { font-size: 0.55em; color: var(--bf-accent); margin-left: 2px; font-weight: 600; }
.bf-stat-label {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--page-fg-soft);
}
.bf-stat-tbd {
  position: absolute; top: 14px; right: 14px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--bf-accent);
  background: hsl(var(--bf-orange) / 0.1);
  padding: 4px 8px;
  border-radius: 6px;
}

/* Cards */
.bf-cards {
  display: grid;
  gap: 24px;
}
.bf-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.bf-cards.cols-2 { grid-template-columns: repeat(2, 1fr); }

.bf-card {
  background: hsl(var(--bf-ivory));
  border: 1px solid hsl(var(--bf-rule));
  border-radius: var(--bf-radius-lg);
  padding: 32px;
  transition: transform 280ms var(--ease-spring), box-shadow 280ms ease, border-color 280ms ease;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.bf-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bf-shadow-card);
  border-color: hsl(var(--bf-orange) / 0.3);
}
.bf-card-tile {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--bf-accent-grad);
  color: white;
  margin-bottom: 22px;
  box-shadow: 0 8px 20px -6px hsl(var(--bf-orange) / 0.4);
}
.bf-card-tile svg { width: 26px; height: 26px; }
.bf-card-tile.muted {
  background: hsl(var(--bf-paper));
  color: var(--bf-accent);
  box-shadow: none;
}
.bf-card h3, .bf-card h4 { margin: 0 0 10px; }
.bf-card h3 { font-size: 24px; }
.bf-card h4 { font-size: 20px; }
.bf-card p { font-size: 15.5px; margin: 0; flex: 1; }
.bf-card-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid hsl(var(--bf-rule));
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bf-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.bf-card-foot svg { width: 14px; height: 14px; transition: transform 200ms ease; }
.bf-card:hover .bf-card-foot svg { transform: translateX(4px); }

/* Editorial split */
.bf-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.bf-split.flip { direction: rtl; }
.bf-split.flip > * { direction: ltr; }

.bf-split-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--bf-radius-lg);
  overflow: hidden;
  background: hsl(var(--bf-paper));
}
.bf-split-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bf-split-image .bf-split-image-tag {
  position: absolute;
  top: 22px; left: 22px;
  background: hsl(var(--bf-ivory) / 0.92);
  backdrop-filter: blur(6px);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--page-fg);
}

.bf-quote {
  position: relative;
  padding: 36px 0 12px 0;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.35;
  font-style: italic;
  font-weight: 400;
  color: var(--page-fg);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.bf-quote::before {
  content: "“";
  position: absolute;
  top: -8px; left: -4px;
  font-family: var(--font-display);
  font-size: 110px;
  font-style: normal;
  color: hsl(var(--bf-orange) / 0.18);
  line-height: 1;
}
.bf-quote-cite {
  margin-top: 18px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  color: var(--page-fg-muted);
  display: flex; align-items: center; gap: 12px;
}
.bf-quote-cite::before { content: ""; width: 28px; height: 1.5px; background: var(--bf-accent); }

/* Image placeholder */
.bf-img-ph {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(135deg, hsl(var(--bf-paper)) 0 14px, hsl(var(--bf-cream)) 14px 28px);
  color: var(--page-fg-soft);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  padding: 24px;
}
.bf-img-ph small { display: block; margin-top: 6px; opacity: 0.6; font-weight: 400; letter-spacing: 0.05em; text-transform: none; }

/* CTA band */
.bf-cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 28px;
  padding: 72px 64px;
  background:
    radial-gradient(60% 80% at 100% 0%, hsl(var(--bf-orange) / 0.35), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, hsl(var(--bf-gold) / 0.4), transparent 60%),
    linear-gradient(135deg, hsl(var(--bf-navy)), hsl(var(--bf-navy-deep)));
  color: white;
  text-align: center;
}
body.bf .bf-cta-band h2 { color: white; font-size: clamp(36px, 4.8vw, 56px); margin-bottom: 16px; max-width: 800px; margin-inline: auto; }
body.bf .bf-cta-band p { color: hsl(0 0% 100% / 0.88); font-size: 19px; max-width: 620px; margin: 0 auto 32px; }
body.bf .bf-cta-band .bf-script {
  background: linear-gradient(120deg, hsl(45 100% 80%), hsl(45 100% 65%) 50%, hsl(16 95% 65%));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Footer */
.bf-footer {
  background: hsl(var(--bf-navy-deep));
  color: hsl(0 0% 100% / 0.75);
  padding: 80px 0 32px;
}
.bf-footer h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--bf-gold-soft)) !important;
  margin: 0 0 18px;
  font-weight: 700;
  opacity: 1;
}
.bf-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.bf-footer a {
  color: hsl(0 0% 100% / 0.78);
  text-decoration: none;
  font-size: 14.5px;
  transition: color 160ms ease;
  display: inline-flex; align-items: center; gap: 10px;
}
.bf-footer a svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: hsl(var(--bf-gold-soft));
  transition: transform 200ms ease, color 200ms ease;
}
.bf-footer a:hover { color: white; }
.bf-footer a:hover svg { color: hsl(var(--bf-orange)); transform: translateY(-1px); }
.bf-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
}
.bf-footer-brand p {
  color: hsl(0 0% 100% / 0.75);
  font-size: 15px;
  margin: 16px 0 24px;
  max-width: 320px;
}
/* Script accent — brighter on dark grounds */
.bf-cta-band .bf-script,
.bf-footer .bf-script,
.bf-hero .bf-script {
  background: linear-gradient(120deg, hsl(var(--bf-gold-soft)) 0%, hsl(var(--bf-gold)) 50%, hsl(var(--bf-orange)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bf-footer-brand .bf-logo-text strong { color: hsl(var(--bf-gold)); }
.bf-footer-brand .bf-logo-text span { color: white; }
.bf-footer-bottom {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid hsl(0 0% 100% / 0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  font-size: 13px;
  color: hsl(0 0% 100% / 0.6);
}
.bf-footer-bottom a { font-size: 13px; }
.bf-footer-tax {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--bf-gold-soft));
  margin-top: 8px;
  font-weight: 600;
}

/* Page hero (small) */
.bf-page-hero {
  padding: 80px 0 56px;
  background:
    radial-gradient(70% 100% at 80% 0%, hsl(var(--bf-gold-soft) / 0.25), transparent 70%),
    linear-gradient(180deg, hsl(var(--bf-cream)), hsl(var(--bf-ivory)));
  border-bottom: 1px solid hsl(var(--bf-rule));
}
.bf-page-hero h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.025em;
  max-width: 900px;
  margin: 14px 0 20px;
}
.bf-page-hero p { font-size: 20px; max-width: 640px; line-height: 1.55; }
.bf-page-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  align-items: center;
  gap: 56px;
}
.bf-page-hero-text { display: flex; flex-direction: column; }
.bf-page-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.bf-page-hero-art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 25%, hsl(var(--bf-gold-soft) / 0.55), transparent 70%),
    linear-gradient(180deg, hsl(var(--bf-ivory)), hsl(var(--bf-cream)));
  box-shadow: 0 30px 60px -22px hsl(var(--bf-shadow) / 0.5), inset 0 0 0 1px hsl(var(--bf-rule));
}
.bf-page-hero-art img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}

/* Form */
.bf-form { display: grid; gap: 18px; }
.bf-field { display: grid; gap: 8px; }
.bf-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bf-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--page-fg);
}
.bf-input, .bf-textarea, .bf-select {
  font-family: var(--font-sans);
  font-size: 16px;
  padding: 14px 16px;
  border: 1.5px solid hsl(var(--bf-rule));
  border-radius: 12px;
  background: hsl(var(--bf-ivory));
  color: var(--page-fg);
  width: 100%;
  transition: border-color 180ms, box-shadow 180ms;
}
.bf-input:focus, .bf-textarea:focus, .bf-select:focus {
  outline: none;
  border-color: var(--bf-accent);
  box-shadow: 0 0 0 4px hsl(var(--bf-orange) / 0.15);
}
.bf-textarea { min-height: 140px; resize: vertical; }

/* Toggle */
.bf-toggle {
  display: inline-flex;
  background: hsl(var(--bf-paper));
  border: 1px solid hsl(var(--bf-rule));
  border-radius: 999px;
  padding: 4px;
  position: relative;
}
.bf-toggle button {
  background: transparent;
  border: none;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--page-fg-muted);
  border-radius: 999px;
  cursor: pointer;
  transition: color 220ms;
  position: relative;
  z-index: 1;
}
.bf-toggle button.is-active { color: white; }
.bf-toggle .bf-toggle-thumb {
  position: absolute;
  top: 4px; bottom: 4px;
  border-radius: 999px;
  background: var(--bf-accent-grad);
  box-shadow: var(--bf-shadow-cta);
  transition: left 320ms var(--ease-spring), width 320ms var(--ease-spring);
  z-index: 0;
}

/* Donation tiers */
.bf-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bf-tier {
  border: 1.5px solid hsl(var(--bf-rule));
  background: hsl(var(--bf-ivory));
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 240ms var(--ease-spring);
  position: relative;
}
.bf-tier:hover { border-color: hsl(var(--bf-orange) / 0.5); transform: translateY(-2px); }
.bf-tier.is-selected {
  border-color: var(--bf-accent);
  background: hsl(var(--bf-orange) / 0.06);
  box-shadow: 0 0 0 3px hsl(var(--bf-orange) / 0.15);
}
.bf-tier-amt {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.bf-tier-impact {
  display: block;
  font-size: 12px;
  color: var(--page-fg-soft);
  margin-top: 8px;
  line-height: 1.4;
}
.bf-tier.popular::before {
  content: "Most popular";
  position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--bf-accent-grad);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Programs list with numbers */
.bf-numlist { display: grid; gap: 0; }
.bf-numitem {
  display: grid;
  grid-template-columns: 80px 1fr 220px;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid hsl(var(--bf-rule));
  align-items: start;
}
.bf-numitem:last-child { border-bottom: 1px solid hsl(var(--bf-rule)); }
.bf-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  color: var(--bf-accent);
  line-height: 1;
  letter-spacing: -0.04em;
}
.bf-numitem h3 { font-size: 28px; margin-bottom: 8px; }
.bf-numitem p { margin: 0; font-size: 16px; }
.bf-numitem-meta { font-size: 13px; color: var(--page-fg-soft); display: flex; flex-direction: column; gap: 6px; }
.bf-numitem-meta b { color: var(--page-fg); font-size: 14px; font-weight: 600; }

/* Officer cards */
.bf-officer {
  background: hsl(var(--bf-ivory));
  border: 1px solid hsl(var(--bf-rule));
  border-radius: var(--bf-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.bf-officer-photo {
  aspect-ratio: 1 / 1;
  background: hsl(var(--bf-paper));
  position: relative;
  overflow: hidden;
}
.bf-officer-photo img { width: 100%; height: 100%; object-fit: cover; }
.bf-officer-body { padding: 24px 26px 28px; }
.bf-officer-role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bf-accent);
  margin-bottom: 6px;
}
.bf-officer h3 { font-size: 24px; margin-bottom: 4px; }
.bf-officer p { font-size: 14.5px; margin: 8px 0 0; }

/* Logos / partner row */
.bf-partners {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 24px 0;
}
.bf-partner {
  height: 80px;
  border: 1px dashed hsl(var(--bf-rule-strong));
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 13px;
  color: var(--page-fg-soft);
  font-weight: 500;
  background: hsl(var(--bf-ivory));
}

/* Donorbox iframe wrapper */
.bf-donorbox-wrap {
  background: hsl(var(--bf-ivory));
  border: 1px solid hsl(var(--bf-rule));
  border-radius: var(--bf-radius-lg);
  padding: 8px;
  box-shadow: var(--bf-shadow-card);
}
.bf-donorbox-frame {
  width: 100%;
  min-height: 520px;
  border: none;
  border-radius: 14px;
  background: hsl(var(--bf-cream));
  display: grid; place-items: center;
  padding: 48px 32px;
  text-align: center;
  font-size: 14px;
  color: var(--page-fg-muted);
}

/* Misc */
.bf-divider {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--bf-accent-grad);
  border-radius: 2px;
  margin: 24px 0;
}
.bf-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: hsl(var(--bf-ivory));
  border: 1px solid hsl(var(--bf-rule));
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--page-fg);
}
.bf-pill svg { width: 14px; height: 14px; color: var(--bf-accent); }

/* Responsive */
@media (max-width: 980px) {
  .bf-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .bf-split { grid-template-columns: 1fr; gap: 40px; }
  .bf-cards.cols-3 { grid-template-columns: 1fr; }
  .bf-cards.cols-2 { grid-template-columns: 1fr; }
  .bf-stats { grid-template-columns: 1fr 1fr; }
  .bf-stat:nth-child(2) { border-right: none; }
  .bf-stat:nth-child(1), .bf-stat:nth-child(2) { border-bottom: 1px solid hsl(var(--bf-rule)); }
  .bf-numitem { grid-template-columns: 1fr; gap: 12px; }
  .bf-num { font-size: 36px; }
  .bf-tiers { grid-template-columns: repeat(2, 1fr); }
  .bf-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .bf-cta-band { padding: 48px 28px; }
  .bf-nav-links { display: none; }
  .bf-partners { grid-template-columns: repeat(2, 1fr); }
  .bf-page-hero-row { grid-template-columns: 1fr; gap: 32px; }
  .bf-page-hero-art { max-width: 320px; margin-top: 8px; }
  .bf-section { padding: 64px 0; }
}
