/*
Theme Name: Bridge Productions (Clarity)
Theme URI: https://bridgeproductions.org
Description: Child theme of Twenty Twenty-Five implementing the Bridge Productions "Clarity" design. Native-block content styled here; palette + fonts in theme.json. Dark mode is handled by the active "Dark Mode" code snippet.
Author: Bridge Productions
Template: twentytwentyfive
Version: 1.3.2
Requires at least: 6.7
Requires PHP: 8.0
Text Domain: twentytwentyfive-child
*/

/* ============================================================
   Design tokens map to WordPress preset color variables so the
   existing body.dark snippet (which overrides those same vars)
   flips the whole page automatically.
   navy teal teal-deep gray paper paper-2 white line
   ============================================================ */

:root{
  --bp-navy:#122438;
  --bp-teal:#1891A8;
  --bp-teal-deep:#0f7287;
  --bp-gray:#8d8d8d;
  --bp-paper:#f6f8f9;
  --bp-paper-2:#eef2f4;
  --bp-white:#ffffff;
  --bp-line:#dde4e8;
  --bp-muted:#46555f;
  --bp-nav-ink:#3a4854;
  --bp-navy-muted:#aebac4;
}
/* Dark mode: redefine tokens at body level so every var(--bp-*) flips.
   Complements the active Dark Mode snippet (which flips the wp preset vars). */
body.dark{
  --bp-navy:#eef4f8;
  --bp-teal:#23a6c0;
  --bp-teal-deep:#52cee2;
  --bp-gray:#8295a2;
  --bp-paper:#101d28;
  --bp-paper-2:#172634;
  --bp-white:#0d1822;
  --bp-line:#28394a;
  --bp-muted:#a9b8c4;
  --bp-nav-ink:#9fb0bd;
  --bp-navy-muted:#a9b8c4;
}

body{
  font-family: var(--wp--preset--font-family--source-sans-3), system-ui, sans-serif;
  color: var(--bp-navy);
  background: var(--bp-white);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
html{scroll-behavior:smooth}

/* kill the theme's default big top/bottom block gaps inside our sections */
.bp-page :where(.wp-block-group, .wp-block-columns){margin-block:0}

/* ---------- content width helpers ---------- */
.bp-container,.bp-inner{max-width:1180px;margin-inline:auto;padding-inline:40px}
.bp-inner > *{max-width:100%}

/* ============================================================
   BUTTONS  (native .wp-block-button)
   ============================================================ */
.wp-block-button .wp-block-button__link{
  font-weight:600;font-size:15px;line-height:1;
  padding:12px 22px;border-radius:6px;border:1px solid transparent;
  transition:all .2s;
}
.wp-block-button.bp-btn-lg .wp-block-button__link{padding:15px 28px;font-size:16px}

/* primary comes from theme.json (teal -> teal-deep) */

.wp-block-button.bp-btn-ghost .wp-block-button__link{
  background:transparent;color:var(--bp-navy);border-color:var(--bp-line);
}
.wp-block-button.bp-btn-ghost .wp-block-button__link:hover{
  border-color:var(--bp-teal);color:var(--bp-teal-deep);
}
/* Also matches a bare <a class="bp-btn-navy"> — the Give page's level CTAs are
   hand-authored anchors inside wp:html blocks, not wp:button blocks.
   color is var(--bp-white), not #fff: --bp-navy flips to a near-white in dark
   mode, so a literal #fff here would render white-on-white. */
.wp-block-button.bp-btn-navy .wp-block-button__link,
a.bp-btn-navy{
  display:inline-block;background:var(--bp-navy);color:var(--bp-white);
  font-weight:600;font-size:15px;line-height:1;padding:12px 22px;
  border-radius:6px;border:1px solid transparent;transition:all .2s;
}
.wp-block-button.bp-btn-navy .wp-block-button__link:hover,
a.bp-btn-navy:hover{background:#1d3a57;color:var(--bp-white)}
.wp-block-button.bp-btn-white .wp-block-button__link{background:#fff;color:#122438}
.wp-block-button.bp-btn-white .wp-block-button__link:hover{background:#e8eef1}
.wp-block-button.bp-btn-outline .wp-block-button__link{
  background:transparent;color:#fff;border-color:rgba(255,255,255,.3);
}
.wp-block-button.bp-btn-outline .wp-block-button__link:hover{border-color:#fff}

/* ============================================================
   HEADER  (template part)
   ============================================================ */
.bp-header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.86);backdrop-filter:blur(14px);
  border-bottom:1px solid var(--bp-line);
}
body.dark .bp-header{background:rgba(13,24,34,.86)}
.bp-header .bp-header-inner{
  max-width:1180px;margin-inline:auto;padding:0 40px;
  min-height:74px;align-items:center;
}
.bp-logo{align-items:center;gap:12px}
.bp-logo img{height:38px;width:auto;display:block}
.bp-logo a{display:block;line-height:0}
.bp-logo-word{font-weight:700;font-size:19px;letter-spacing:-.01em;color:var(--bp-navy);margin:0}
.bp-logo-word a{color:inherit;text-decoration:none}
.bp-logo-sub{font-weight:300;color:var(--bp-gray)}
.bp-logo-dark{display:none}
body.dark .bp-logo-light{display:none}
body.dark .bp-logo-dark{display:block}
.bp-nav .wp-block-navigation__container{gap:30px}
.bp-nav a{color:var(--bp-nav-ink);font-size:15px;font-weight:500;transition:color .2s}
.bp-nav a:hover{color:var(--bp-teal-deep)}
.bp-header-cta{align-items:center;gap:14px;flex:none}
/* The CTA cluster must never be the flex row's shrink victim: WP core ships
   word-break:break-word on .wp-block-button__link, so any shortfall lands as a
   mid-word split ("Gi"/"ve") rather than a harmless overflow. */
.bp-header-cta .wp-block-buttons{flex:none}
.bp-header-cta .wp-block-button__link{white-space:nowrap}

/* theme-toggle button base (colors/sun-moon come from the dark-mode snippet) */
.theme-toggle{width:42px;height:42px;flex:none}

/* mobile hamburger + panel (hidden by default; shown ≤880px in RESPONSIVE) */
.bp-mobile-toggle{
  display:none;width:42px;height:42px;flex:none;
  align-items:center;justify-content:center;
  border:1px solid var(--bp-line);border-radius:8px;background:transparent;
  color:var(--bp-navy);cursor:pointer;transition:border-color .2s,color .2s;
}
.bp-mobile-toggle:hover{border-color:var(--bp-teal);color:var(--bp-teal-deep)}
.bp-mobile-toggle svg{width:19px;height:19px;display:block}
.bp-mobile-toggle .ic-close{display:none}
.bp-mobile-toggle.is-open .ic-burger{display:none}
.bp-mobile-toggle.is-open .ic-close{display:block}

.bp-mobile-panel{
  position:fixed;top:74px;left:0;right:0;bottom:0;z-index:49;
  background:var(--bp-paper);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;
  padding:40px 24px;overflow-y:auto;
  opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease;
}
.bp-mobile-panel.is-open{opacity:1;visibility:visible}
.bp-mobile-nav{display:flex;flex-direction:column;align-items:center;gap:26px}
.bp-mobile-nav a{font-size:26px;font-weight:600;color:var(--bp-nav-ink);text-decoration:none;transition:color .2s}
.bp-mobile-nav a:hover{color:var(--bp-teal-deep)}
.bp-mobile-divider{width:60px;height:1px;background:var(--bp-line)}
.bp-mobile-cta{
  display:inline-flex;font-weight:600;font-size:15px;color:var(--bp-navy);
  border:1px solid var(--bp-line);border-radius:6px;padding:12px 26px;text-decoration:none;transition:all .2s;
}
.bp-mobile-cta:hover{border-color:var(--bp-teal);color:var(--bp-teal-deep)}
@media (prefers-reduced-motion: reduce){
  .bp-mobile-panel{transition:none}
}

/* ============================================================
   HERO
   ============================================================ */
.bp-hero{padding:84px 0 70px;background:linear-gradient(180deg,var(--bp-paper),var(--bp-white))}
.bp-hero .wp-block-columns{gap:64px;align-items:center}
.bp-eyebrow{
  display:inline-flex;align-items:center;gap:14px;
  font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--bp-teal-deep);
  margin-bottom:22px;
}
.bp-eyebrow::before{content:"";width:30px;height:2px;background:var(--bp-teal);display:inline-block}
.bp-hero h1{
  font-size:clamp(40px,5vw,68px);font-weight:700;letter-spacing:-.025em;line-height:1.03;
  color:var(--bp-navy);text-wrap:balance;margin:0 0 22px;
}
.bp-hero h1 .bp-hl{color:var(--bp-teal)}
.bp-hero .bp-lead{font-size:20px;color:var(--bp-muted);max-width:48ch;margin:0 0 32px}
.bp-hero-media{position:relative}
.bp-badge{
  position:absolute;left:-22px;bottom:-22px;max-width:220px;
  background:var(--bp-navy);color:#fff;padding:18px 22px;border-radius:12px;
  box-shadow:0 20px 50px rgba(18,36,56,.22);font-size:15px;font-weight:600;line-height:1.3;
}
.bp-badge p{margin:0;color:#fff}

/* ============================================================
   PLACEHOLDER IMAGE (clean, production-friendly — no dashed pattern)
   ============================================================ */
.bp-ph{
  position:relative;background:var(--bp-paper-2);border:1px solid var(--bp-line);
  border-radius:16px;display:flex;align-items:flex-end;overflow:hidden;min-height:100%;
}
.bp-ph.ratio-45{aspect-ratio:4/5}
.bp-ph.ratio-54{aspect-ratio:5/4}
.bp-ph .bp-ph-label{
  font-family:ui-monospace,"SF Mono",Menlo,monospace;font-size:11px;letter-spacing:.07em;
  text-transform:uppercase;color:#5c6b78;background:rgba(255,255,255,.78);
  padding:6px 10px;margin:12px;border-radius:3px;
}
.bp-hero-video video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* ============================================================
   TRUST BAR
   ============================================================ */
.bp-trust{
  background:var(--bp-paper);border-top:1px solid var(--bp-line);border-bottom:1px solid var(--bp-line);
  padding:28px 0;
}
.bp-trust .bp-trust-inner{max-width:1180px;margin-inline:auto;padding:0 40px}
.bp-trust .bp-trust-label{font-family:ui-monospace,monospace;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--bp-gray);margin:0 0 18px}

.bp-trust-rotator{display:grid;justify-items:center}
.bp-trust-page{grid-area:1/1;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:20px;opacity:0;visibility:hidden;transition:opacity .6s ease}
.bp-trust-page.is-active{opacity:1;visibility:visible}
.bp-trust-item{display:flex;align-items:center;justify-content:center;flex-shrink:0;height:72px;min-width:120px;padding:10px 20px;background:#fff;border:1px solid var(--bp-line);border-radius:10px}
.bp-trust-item img{max-height:48px;max-width:140px;width:auto;height:auto;object-fit:contain}
@media (prefers-reduced-motion: reduce){
  .bp-trust-page{transition:none}
}

/* ============================================================
   SECTIONS + HEADS
   ============================================================ */
.bp-section{padding:84px 0}
.bp-section.bp-alt{background:var(--bp-paper)}
.bp-section.bp-navy{background:var(--bp-navy);color:#fff}
.bp-head{max-width:680px;margin-bottom:44px}
.bp-head.bp-center{margin-inline:auto;text-align:center}
.bp-label{font-family:ui-monospace,monospace;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--bp-teal-deep);margin-bottom:16px}
.bp-navy .bp-label{color:#3fc6dd}
.bp-head h2{font-size:clamp(30px,3.6vw,48px);font-weight:700;letter-spacing:-.025em;line-height:1.06;color:var(--bp-navy);text-wrap:balance;margin:0}
.bp-navy .bp-head h2{color:#fff}
.bp-head p{color:var(--bp-muted);font-size:18px;margin:16px 0 0}
.bp-navy .bp-head p{color:var(--bp-navy-muted)}

/* ============================================================
   PATHWAYS CARDS  (native Columns -> Column.bp-card)
   ============================================================ */
.bp-grid-3 .wp-block-columns,.bp-grid-3.wp-block-columns{gap:22px}
.bp-card{
  background:var(--bp-white);border:1px solid var(--bp-line);border-radius:16px;
  padding:32px 30px;transition:transform .25s,border-color .25s,box-shadow .25s;
  display:flex;flex-direction:column;gap:14px;
}
.bp-card:hover{transform:translateY(-5px);border-color:var(--bp-teal);box-shadow:0 24px 60px rgba(18,36,56,.12)}
.bp-pill{
  display:inline-flex;align-items:center;align-self:flex-start;gap:8px;
  font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  padding:7px 13px;border-radius:30px;background:var(--bp-paper-2);color:var(--bp-teal-deep);
}
.bp-card h3{font-size:28px;font-weight:700;letter-spacing:-.01em;color:var(--bp-navy);margin:0}
.bp-card .bp-card-desc{color:var(--bp-muted);font-size:16px;margin:0}
.bp-card ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.bp-card ul li{position:relative;padding-left:22px;color:var(--bp-nav-ink);font-size:15px}
.bp-card ul li::before{content:"";position:absolute;left:0;top:8px;width:8px;height:8px;border-radius:50%;background:var(--bp-teal)}
.bp-card .bp-card-action{margin-top:auto;color:var(--bp-teal-deep);font-weight:600}
.bp-card .bp-card-action a{color:var(--bp-teal-deep)}

/* ============================================================
   STEPS  (native Columns -> Column.bp-step)
   ============================================================ */
.bp-steps .wp-block-columns,.bp-steps.wp-block-columns{gap:22px}
.bp-step{
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);
  border-radius:14px;padding:28px 24px;display:flex;flex-direction:column;gap:10px;
}
.bp-step .bp-step-num{
  width:42px;height:42px;border-radius:10px;background:var(--bp-teal);color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px;margin-bottom:10px;
}
.bp-step h3{font-size:19px;font-weight:600;color:#fff;margin:0}
.bp-step p{font-size:15px;color:var(--bp-navy-muted);margin:0}

/* ============================================================
   IMPACT
   ============================================================ */
.bp-impact .wp-block-columns{gap:60px;align-items:center}
.bp-quote{border-left:3px solid var(--bp-teal);padding-left:22px;margin:0}
.bp-quote p{font-size:19px;color:var(--bp-navy);font-style:italic;margin:0}
.bp-quote .bp-cite{display:block;margin-top:12px;font-size:14px;font-style:normal;color:var(--bp-gray)}
.bp-stats{display:flex;gap:40px;flex-wrap:wrap;margin-top:8px}
.bp-stat .bp-stat-num{font-size:42px;font-weight:700;color:var(--bp-teal-deep);line-height:1}
.bp-stat .bp-stat-label{font-size:14px;color:var(--bp-gray);margin-top:6px}

/* ============================================================
   ABOUT
   ============================================================ */
.bp-about .wp-block-columns{gap:60px;align-items:flex-start}
.bp-about-title h2{font-size:clamp(28px,3.4vw,42px);font-weight:700;letter-spacing:-.025em;line-height:1.08;color:var(--bp-navy);margin:6px 0 0;text-wrap:balance}
.bp-about-body p{color:var(--bp-muted);font-size:18px;line-height:1.65;margin:0 0 18px}
.bp-about-body p:last-child{margin-bottom:0}
@media(max-width:880px){.bp-about .wp-block-columns{gap:24px}}

/* ============================================================
   CTA BAND
   ============================================================ */
.bp-cta-band{padding:90px 0}
.bp-cta-box{
  background:linear-gradient(120deg,var(--bp-navy),#1d3a57);border-radius:24px;
  padding:70px;text-align:center;position:relative;overflow:hidden;
}
.bp-cta-box::after{
  content:"";position:absolute;right:-60px;top:-60px;width:280px;height:280px;border-radius:50%;
  background:radial-gradient(circle,rgba(24,145,168,.4),transparent 70%);
}
.bp-cta-box h2{font-size:clamp(30px,4vw,50px);font-weight:700;color:#fff;letter-spacing:-.025em;line-height:1.05;text-wrap:balance;max-width:18ch;margin:0 auto;position:relative}
.bp-cta-box p{color:var(--bp-navy-muted);font-size:18px;max-width:48ch;margin:22px auto 36px;position:relative}
.bp-cta-box .wp-block-buttons{justify-content:center;position:relative}

/* ============================================================
   GIVE PAGE — VALUE CARDS (4-up) + PARTNER TIERS
   ============================================================ */
.bp-grid-4 .wp-block-columns,.bp-grid-4.wp-block-columns{gap:18px}
.bp-card-sm{padding:26px 24px;gap:10px}
.bp-card-sm h3{font-size:20px}
.bp-card-sm .bp-card-desc{font-size:15px}

.bp-tiers .wp-block-columns,.bp-tiers.wp-block-columns{gap:18px;margin-bottom:0}
.bp-tier{
  background:var(--bp-white);border:1px solid var(--bp-line);border-radius:16px;
  overflow:hidden;display:flex;flex-direction:column;
  transition:transform .25s,box-shadow .25s;
}
.bp-tier:hover{transform:translateY(-5px);box-shadow:0 24px 60px rgba(18,36,56,.12)}
.bp-tier.is-featured{border-color:var(--bp-teal);box-shadow:0 0 0 1px var(--bp-teal)}
.bp-tier.is-featured:hover{box-shadow:0 0 0 1px var(--bp-teal),0 24px 60px rgba(18,36,56,.12)}
body.dark .bp-tier{background:var(--bp-paper-2)}

.bp-tier-top{background:var(--bp-navy);padding:26px 24px 22px}
body.dark .bp-tier-top{background:#0a141d}
.bp-tier-name{font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#fff;margin:0}
.bp-tier-price{font-size:34px;font-weight:700;letter-spacing:-.02em;color:#3fc6dd;line-height:1.05;margin:10px 0 0}
.bp-tier-price span{display:block;font-size:14px;font-weight:400;letter-spacing:0;color:rgba(255,255,255,.55);margin-top:4px}
.bp-tier-cap{font-size:13px;color:rgba(255,255,255,.6);margin:14px 0 0}
.bp-tier-flag{
  display:inline-block;margin:16px 0 0;
  font-family:ui-monospace,monospace;font-size:10px;letter-spacing:.1em;text-transform:uppercase;
  background:var(--bp-teal);color:#fff;padding:5px 9px;border-radius:4px;
}

.bp-tier ul{list-style:none;margin:0;padding:24px 24px 8px;display:flex;flex-direction:column;gap:13px;flex:1}
.bp-tier ul li{position:relative;padding-left:26px;font-size:15px;line-height:1.5;color:var(--bp-muted)}
.bp-tier ul li::before{content:"";position:absolute;left:2px;top:3px;width:6px;height:11px;
  border:solid var(--bp-teal);border-width:0 2px 2px 0;transform:rotate(45deg)}
.bp-tier ul li strong{color:var(--bp-navy);font-weight:700}

.bp-tier .wp-block-buttons{margin:8px 24px 24px}
.bp-tier .wp-block-button{width:100%}
.bp-tier .wp-block-button__link{display:block;width:100%;text-align:center}

.bp-tier-note{margin:34px auto 0;max-width:72ch;text-align:center;font-size:15px;color:var(--bp-muted)}
.bp-tier-note a{color:var(--bp-teal-deep);font-weight:600}

/* .bp-grid-4 is the columns block's own className (compound: .bp-grid-4.wp-block-columns,
   one element), but .bp-tiers sits on the section group above the columns (genuine
   descendant: .bp-tiers .wp-block-columns). They look symmetrical below but aren't —
   swap either form and the other grid silently stops matching.
   box-sizing:border-box is load-bearing on the card/tier selector: .wp-block-column is
   content-box by default, so each card's 1px border would fall outside flex-basis and
   overflow the 50% 2-up row by 4px, silently collapsing it to 1-up.
   flex-wrap:wrap!important is required because core forces flex-wrap:nowrap!important
   above 782px — without the override, 782–1000px can't wrap and just squeezes narrower. */
@media(max-width:1000px){
  .bp-grid-4.wp-block-columns,
  .bp-tiers .wp-block-columns{flex-wrap:wrap!important}
  .bp-grid-4.wp-block-columns>.wp-block-column.bp-card,
  .bp-tiers .wp-block-columns>.wp-block-column.bp-tier{box-sizing:border-box;flex-basis:calc(50% - 9px)!important;flex-grow:0}
}
@media(max-width:600px){
  .bp-grid-4.wp-block-columns>.wp-block-column.bp-card,
  .bp-tiers .wp-block-columns>.wp-block-column.bp-tier{flex-basis:100%!important}
}

/* ============================================================
   FORM EMBED (Google Form)
   ============================================================ */
.bp-form-embed{
  max-width:640px;margin:0 auto;
  background:var(--bp-white);border:1px solid var(--bp-line);border-radius:16px;
  box-shadow:0 24px 60px rgba(18,36,56,.08);overflow:hidden;
}
.bp-form-embed iframe{display:block;width:100%;height:1200px;border:0}
.bp-form-embed.bp-form-md iframe{height:1500px}
.bp-form-embed.bp-form-tall iframe{height:1750px}
@media(max-width:600px){
  .bp-form-embed{border-radius:12px}
}

/* ============================================================
   PORTFOLIO (placeholder grid)
   ============================================================ */
.bp-ph.ratio-169{aspect-ratio:16/9}
.bp-portfolio-grid .wp-block-columns{gap:22px}
.bp-portfolio-grid .wp-block-image,.bp-portfolio-grid figure{margin:0}
.bp-ph-link{
  position:absolute;inset:0;z-index:2;
  display:flex;align-items:center;justify-content:center;
  text-decoration:none;transition:background .2s ease;
}
.bp-ph-link:hover,.bp-ph-link:focus-visible{background:rgba(13,24,34,.30)}
.bp-ph-link .bp-play{
  width:60px;height:60px;border-radius:50%;background:rgba(255,255,255,.92);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 18px rgba(13,24,34,.35);
  transition:transform .2s ease,background .2s ease;
}
.bp-ph-link .bp-play::before{
  content:"";display:block;width:0;height:0;margin-left:5px;
  border-style:solid;border-width:11px 0 11px 18px;
  border-color:transparent transparent transparent #122438;
}
.bp-ph-link:hover .bp-play,.bp-ph-link:focus-visible .bp-play{transform:scale(1.08);background:#fff}
/* Portfolio video lightbox */
.bp-modal-open{overflow:hidden}
.bp-modal{
  position:fixed;inset:0;z-index:9999;
  display:flex;align-items:center;justify-content:center;padding:24px;
  background:rgba(8,15,22,.86);
  opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease;
}
.bp-modal.is-open{opacity:1;visibility:visible}
.bp-modal-dialog{position:relative;width:min(1120px,100%);aspect-ratio:16/9}
.bp-modal-frame{position:absolute;inset:0}
.bp-modal-frame iframe{
  width:100%;height:100%;border:0;border-radius:12px;background:#000;
  box-shadow:0 24px 60px rgba(0,0,0,.5);
}
.bp-modal-close{
  position:absolute;top:-46px;right:0;width:40px;height:40px;line-height:1;
  display:flex;align-items:center;justify-content:center;
  font-size:30px;color:#fff;background:transparent;border:0;border-radius:8px;cursor:pointer;
  transition:background .15s ease;
}
.bp-modal-close:hover,.bp-modal-close:focus-visible{background:rgba(255,255,255,.14)}
@media (max-width:600px){
  .bp-modal{padding:16px}
  .bp-modal-close{top:-42px}
}
/* Portfolio page: video grid + testimonial grid */
.bp-video-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.bp-video-card{display:flex;flex-direction:column}
.bp-video-card .bp-ph{min-height:0}
.bp-video-cap{font-size:15px;font-weight:600;color:var(--bp-navy);margin:14px 0 0}
.bp-quote-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:32px}
.bp-quote-full{grid-column:1/-1}
@media(max-width:900px){.bp-video-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.bp-quote-grid{grid-template-columns:1fr;gap:24px}}
@media(max-width:600px){.bp-video-grid{grid-template-columns:1fr}}

/* ============================================================
   TEAM (placeholder)
   ============================================================ */
.bp-team-grid .wp-block-columns{gap:22px;justify-content:center}
.bp-team-grid .wp-block-column.bp-member{flex:0 0 200px}
.bp-member{text-align:center;display:flex;flex-direction:column;align-items:center;gap:4px}
.bp-avatar{width:104px;height:104px;border-radius:50%;background:var(--bp-paper-2);border:1px solid var(--bp-line);margin-bottom:14px}
.bp-member h3{font-size:18px;font-weight:700;color:var(--bp-navy);margin:0}
.bp-member p{font-size:14px;color:var(--bp-gray);margin:0}
.bp-member-link{display:flex;flex-direction:column;align-items:center;text-decoration:none;color:inherit}
.bp-member-link:hover h3{color:var(--bp-teal-deep)}
.bp-board-list{max-width:520px;margin-inline:auto}
.bp-board-list p{display:flex;justify-content:space-between;gap:16px;padding:14px 0;margin:0;border-bottom:1px solid var(--bp-line);font-size:16px}
.bp-board-list p:last-child{border-bottom:none}
.bp-board-name{font-weight:700;color:var(--bp-navy)}
.bp-board-role{color:var(--bp-muted)}

/* ============================================================
   CONTACT
   ============================================================ */
.bp-contact .wp-block-columns{gap:60px;align-items:center}
.bp-contact-email{font-size:clamp(22px,2.6vw,30px);font-weight:700;color:var(--bp-teal-deep);letter-spacing:-.01em;margin:0}
.bp-contact-email a{color:var(--bp-teal-deep)}

/* ============================================================
   FOOTER  (template part)
   ============================================================ */
.bp-footer{background:var(--bp-paper);border-top:1px solid var(--bp-line);padding:64px 0 36px}
.bp-footer .bp-footer-inner{max-width:1180px;margin-inline:auto;padding:0 40px}
.bp-foot-top .wp-block-columns{gap:40px}
.bp-foot-top{padding-bottom:46px;border-bottom:1px solid var(--bp-line)}
.bp-foot-brand p{color:#5c6b78;font-size:15px;margin-top:18px;max-width:30ch}
.bp-foot-brand p.bp-org-info{max-width:none;font-size:13px;margin-top:10px;color:var(--bp-gray)}
.bp-foot-col h4{font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--bp-gray);margin-bottom:18px;font-weight:600}
.bp-foot-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:11px}
.bp-foot-col a{color:var(--bp-muted);font-size:15px}
.bp-foot-col a:hover{color:var(--bp-teal-deep)}
.bp-foot-bot{display:flex;justify-content:space-between;padding-top:26px;color:var(--bp-gray);font-size:14px;flex-wrap:wrap;gap:12px}

/* ============================================================
   INTERIOR PAGES (Apply / Give / Join)
   ============================================================ */
.bp-subhero{padding:70px 0 64px;background:linear-gradient(180deg,var(--bp-paper),var(--bp-white));border-bottom:1px solid var(--bp-line)}
.bp-crumb{font-family:ui-monospace,monospace;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--bp-gray);margin-bottom:18px}
.bp-subhero h1{font-size:clamp(36px,4.6vw,60px);font-weight:700;letter-spacing:-.025em;line-height:1.02;color:var(--bp-navy);max-width:18ch;text-wrap:balance;margin:0}
.bp-subhero h1 .bp-hl{color:var(--bp-teal)}
.bp-subhero .bp-lead{font-size:20px;color:var(--bp-muted);max-width:54ch;margin:22px 0 0}
.bp-faq details{border-bottom:1px solid var(--bp-line)}
.bp-faq summary{cursor:pointer;padding:24px 0;font-size:19px;font-weight:600;color:var(--bp-navy);list-style:none;display:flex;justify-content:space-between;align-items:center;gap:20px}
.bp-faq summary::-webkit-details-marker{display:none}
.bp-faq summary::after{content:"+";font-size:26px;color:var(--bp-teal);transition:transform .2s}
.bp-faq details[open] summary::after{transform:rotate(45deg)}
.bp-faq details p{padding:0 0 24px;color:var(--bp-muted);font-size:16px;max-width:62ch}

/* ============================================================
   TEAM BIO PAGE
   ============================================================ */
.bp-bio-hero .bp-inner{text-align:center}
.bp-bio-hero h1{margin-inline:auto}
.bp-bio-photo{width:160px;height:160px;border-radius:50%;background:var(--bp-paper-2);border:1px solid var(--bp-line);margin:0 auto 24px}
.bp-bio-role{font-size:20px;color:var(--bp-muted);margin:22px 0 0}
.bp-bio-body{max-width:640px;margin-inline:auto;text-align:left}
.bp-bio-body p{font-size:17px;line-height:1.75;color:var(--bp-muted);margin:0 0 20px}
.bp-bio-back{color:var(--bp-teal-deep);font-weight:600;text-decoration:none}
.bp-bio-back:hover{text-decoration:underline}

/* ============================================================
   OUR STORY (standalone page + homepage teaser)
   ============================================================ */
/* narrative column; photos break out wider than the text measure, sharing the same left edge */
.bp-story{max-width:940px;margin-inline:auto;text-align:left}
.bp-story > p{max-width:720px;margin-inline:0;font-size:18px;line-height:1.78;color:var(--bp-muted)}
.bp-story > p{margin-block:0 22px}
.bp-story-fig{margin:44px 0 46px}
.bp-story-fig .bp-ph{border-radius:16px}
.bp-story-fig .bp-ph.ratio-43{aspect-ratio:4/3}
.bp-story-cap{max-width:720px;margin:12px auto 0;font-family:ui-monospace,monospace;font-size:12px;letter-spacing:.04em;color:var(--bp-gray);text-align:center}
.bp-story-sig{margin-top:8px;font-style:italic;color:var(--bp-gray)}
@media(max-width:600px){
  .bp-story > p{font-size:17px}
  .bp-story-fig{margin:32px 0 34px}
}

/* ============================================================
   DARK MODE — section/component overrides (match design reference)
   Cases where a plain token flip is wrong (navy bg would go light).
   ============================================================ */
body.dark .bp-card{background:var(--bp-paper)}
body.dark .bp-badge{background:#122438}
body.dark .bp-section.bp-navy{background:#0a141d}
body.dark .bp-cta-box{background:linear-gradient(120deg,#13283d,#0f2032)}
body.dark .bp-ph .bp-ph-label{background:rgba(13,24,34,.8);color:#9fb0bd}
body.dark .bp-foot-brand p{color:#8295a2}

/* ============================================================
   INTERIOR PAGES (Apply/Give/Join) — tighter vertical rhythm
   than the marketing homepage (pages 33/34/35)
   ============================================================ */
.page-id-33 .bp-section,.page-id-34 .bp-section,.page-id-35 .bp-section{padding-block:44px}
.page-id-33 .bp-subhero,.page-id-34 .bp-subhero,.page-id-35 .bp-subhero{padding:48px 0 36px}
.page-id-33 .bp-cta-band,.page-id-34 .bp-cta-band,.page-id-35 .bp-cta-band{padding-block:48px}
.page-id-33 .bp-head,.page-id-34 .bp-head,.page-id-35 .bp-head{margin-bottom:28px}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:880px){
  .bp-nav{display:none}
  .bp-header-cta .theme-toggle,.bp-header-cta .bp-btn-ghost{display:none}
  .bp-mobile-toggle{display:flex}
  .bp-hero .wp-block-columns{gap:32px}
  .bp-grid-3 .wp-block-columns{gap:16px}
}
@media(max-width:600px){
  .bp-section,.bp-hero{padding:56px 0}
  .bp-cta-box{padding:44px 24px}
  .bp-badge{position:static;margin-top:16px;max-width:none}
  .bp-inner,.bp-trust-inner,.bp-footer-inner{padding-inline:20px}
  /* needs the .bp-header prefix to outrank `.bp-header .bp-header-inner{padding:0 40px}`
     above — without it the header kept 40px gutters on phones and squeezed "Give" */
  .bp-header .bp-header-inner{padding-inline:20px;gap:12px}
  .bp-header-cta{gap:10px}
  .bp-header-cta .wp-block-button__link{padding-inline:18px}
}
/* very narrow phones: trim the logo so the header row still fits at 320px */
@media(max-width:360px){
  .bp-logo img{height:32px}
}

/* ============================================================
   GIVE PAGE — STICKY RAIL LAYOUT (page 34)
   Two-column shell: a sticky pitch/amount rail beside scrolling content.

   The width constraint deliberately sits on .bp-give-shell (an ordinary
   child) rather than on the .alignfull wrapper above it. Twenty
   Twenty-Five ships root-padding-aware alignments, so core emits
   `.has-global-padding > .alignfull{margin-left/right:calc(root-padding * -1)}`
   at (0,2,0) — a `margin-inline:auto` on the alignfull element itself
   would lose that fight and render the shell off-centre. Same
   wrapper/inner split as .bp-section > .bp-inner everywhere else.

   Colours are --bp-* tokens only. Note --bp-navy paired with --bp-white:
   both flip in dark mode, so the pairing stays legible. A literal #fff
   there would render white-on-white at body.dark.
   ============================================================ */
.bp-give-shell{
  max-width:1400px;margin-inline:auto;padding:0 40px;
  display:grid;grid-template-columns:380px 1fr;gap:56px;align-items:start;
}
.bp-give-rail{position:sticky;top:74px;align-self:start;padding:44px 0}
.bp-give-main{padding-top:44px;min-width:0}

/* ---------- rail ---------- */
.bp-give-rail h1{
  font-size:40px;font-weight:700;letter-spacing:-.03em;line-height:1.04;
  color:var(--bp-navy);text-wrap:balance;margin:0;
}
.bp-give-rail .bp-lead{font-size:17px;color:var(--bp-muted);max-width:none;margin:16px 0 0}

/* the widget renders its own white card chrome; this wrapper only sets the
   same top spacing the old custom picker had relative to the lead paragraph */
.bp-give-widget{margin-top:28px}
.bp-give-trust{margin:18px 0 0;font-size:14px;line-height:1.55;color:var(--bp-gray)}
.bp-give-trust a{color:var(--bp-teal-deep);font-weight:600}

/* ---------- hero ---------- */
.bp-give-hero{margin:0}
.bp-give-hero img{
  display:block;width:100%;aspect-ratio:16/9;object-fit:cover;
  border:1px solid var(--bp-line);border-radius:16px;background:var(--bp-paper-2);
}

/* ---------- "why give to us" block ---------- */
.bp-give-why{
  margin-top:36px;padding:28px 0;max-width:70ch;
  border-top:1px solid var(--bp-line);border-bottom:1px solid var(--bp-line);
}
.bp-give-why-q{font-size:17px;font-weight:600;font-style:italic;color:var(--bp-navy);margin:0 0 14px}
.bp-give-why p{font-size:15px;line-height:1.6;color:var(--bp-muted);margin:0 0 14px}
.bp-give-why p:last-child{margin-bottom:0}

/* ---------- section heads ---------- */
.bp-give-sec{padding-top:44px}
.bp-give-sec-last{padding-bottom:56px}
.bp-give-sechead{
  display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;
  gap:20px;margin-bottom:24px;
}
.bp-give-main h2{font-size:30px;font-weight:700;letter-spacing:-.025em;color:var(--bp-navy);margin:0}
.bp-give-note{font-size:15px;color:var(--bp-gray);margin:0}
.bp-give-after{margin:20px 0 0;font-size:15px;color:var(--bp-muted);max-width:70ch}
.bp-give-after a{color:var(--bp-teal-deep);font-weight:600}

/* the shared .bp-form-embed is max-width:640px centred, which reads as broken
   inside the ~884px main column — let it fill instead */
.bp-give-main .bp-form-embed{max-width:none}

/* ---------- partner level rows ---------- */
.bp-levels{display:block}
.bp-level{
  display:block;background:var(--bp-white);border:1px solid var(--bp-line);
  border-radius:14px;margin-bottom:12px;transition:border-color .2s,box-shadow .2s;
}
.bp-level[open]{border-color:var(--bp-teal);box-shadow:0 18px 44px rgba(18,36,56,.10)}
.bp-level > summary{
  display:grid;grid-template-columns:1fr auto auto;gap:24px;align-items:center;
  padding:22px 24px;cursor:pointer;list-style:none;
}
.bp-level > summary::-webkit-details-marker{display:none}
.bp-level > summary::after{
  content:"+";font-size:24px;line-height:1;color:var(--bp-teal);
  width:20px;text-align:center;transition:transform .2s;
}
.bp-level[open] > summary::after{transform:rotate(45deg)}
.bp-level-head{display:block}
.bp-level-title{display:flex;align-items:center;gap:12px}
.bp-level-name{font-size:19px;font-weight:700;letter-spacing:-.01em;color:var(--bp-navy)}
.bp-level-badge{
  font-family:ui-monospace,monospace;font-size:10px;letter-spacing:.1em;text-transform:uppercase;
  background:var(--bp-teal);color:var(--bp-white);padding:4px 8px;border-radius:4px;
}
.bp-level-cap{display:block;font-size:15px;color:var(--bp-gray);margin-top:4px}
.bp-level-price-cell{display:block;text-align:right}
.bp-level-price{display:block;font-size:26px;font-weight:700;letter-spacing:-.02em;color:var(--bp-teal-deep);line-height:1.1}
.bp-level-monthly{display:block;font-size:13px;color:var(--bp-gray)}
.bp-level-body{padding:0 24px 24px}
.bp-level-benefits{
  list-style:none;margin:0;padding:20px 0 0;
  display:grid;grid-template-columns:repeat(2,1fr);gap:10px 32px;
  border-top:1px solid var(--bp-paper-2);
}
/* same rotated-border checkmark idiom as .bp-tier ul li::before */
.bp-level-benefits li{position:relative;padding-left:26px;font-size:15px;line-height:1.55;color:var(--bp-muted)}
.bp-level-benefits li::before{
  content:"";position:absolute;left:2px;top:4px;width:6px;height:11px;
  border:solid var(--bp-teal-deep);border-width:0 2px 2px 0;transform:rotate(45deg);
}
.bp-level-body a.bp-btn-navy{margin-top:22px}

/* ---------- closing CTA ----------
   Reuses .bp-cta-box for its navy gradient and its existing body.dark
   override; this modifier only changes the layout. */
.bp-cta-box.bp-give-close{
  border-radius:20px;padding:48px;text-align:left;
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:28px;
}
.bp-give-close-text{position:relative;z-index:1;margin:0}
/* color:#fff IS restated here, deliberately — this selector's own specificity
   ((0,2,1), two classes + element) must win outright over both the pre-existing
   .bp-cta-box h2 rule and this task's own .bp-give-main h2 rule, which have
   equal (0,1,1) specificity to each other and would otherwise resolve by
   source order alone. */
.bp-cta-box.bp-give-close h2{
  font-size:32px;line-height:1.06;max-width:20ch;margin:0;color:#fff;
}
.bp-cta-box.bp-give-close p{
  font-size:17px;color:var(--bp-navy-muted);margin:12px 0 0;max-width:none;
}
.bp-cta-box.bp-give-close .wp-block-buttons{flex:none;justify-content:flex-start;margin:0}

/* ---------- Give page dark mode ----------
   Plain token flips cover most of the page. One surface needs help: it is a
   white card that would sit on an almost-identical dark page background. */
body.dark .bp-level{background:var(--bp-paper-2)}

/* ---------- Give page responsive ---------- */
@media(max-width:1080px){
  .bp-give-shell{grid-template-columns:1fr;gap:0}
  .bp-give-rail{position:static;padding:44px 0 8px}
  .bp-give-main{padding-top:8px}
}
@media(max-width:680px){
  .bp-give-shell{padding-inline:20px}
  .bp-level-benefits{grid-template-columns:1fr}
  /* Explicit placement, not auto-flow. summary has three grid items (two spans
     plus ::after); letting them flow into a 2-col grid puts the price beside
     the name and pushes the +/- glyph onto its own row. */
  .bp-level > summary{grid-template-columns:1fr auto;row-gap:10px}
  .bp-level-head{grid-column:1;grid-row:1}
  .bp-level > summary::after{grid-column:2;grid-row:1}
  .bp-level-price-cell{grid-column:1;grid-row:2;text-align:left}
  .bp-cta-box.bp-give-close{padding:32px 24px}
  .bp-cta-box.bp-give-close h2{font-size:26px}
}
@media (prefers-reduced-motion: reduce){
  .bp-level,.bp-level > summary::after{transition:none}
}
