/* ============================================================================
   BCM — SINGLE-PAGE components (loaded on index.html after the core CSS)
   Scroll progress · full-bleed media band · family legacy marquee ·
   service feature rows · secondary CTA · type/color refinements.
   ============================================================================ */

/* ---- Type refinement (sharper, same scale) ---- */
h1,h2,h3,h4{ letter-spacing:-.015em; }
.eyebrow{ letter-spacing:.3em; }
.section-head .lead{ max-width:60ch; margin-left:auto; margin-right:auto; }

/* ---- Scroll progress bar (top) ---- */
.scroll-progress{ position:fixed; top:0; left:0; height:3px; width:0%; z-index:1300;
  background:linear-gradient(90deg, var(--bcm-blue), var(--bcm-green)); transition:width .1s linear; }

/* ---- Secondary CTA (line button on light) ---- */
.btn-line{ background:transparent; color:var(--bcm-blue); border:1px solid var(--bcm-blue); }
.btn-line:hover{ background:var(--bcm-blue); color:#fff; transform:translateY(-2px); }
.cta-pair{ display:flex; gap:var(--s-2); flex-wrap:wrap; align-items:center; }
.bcm-dark .btn-line{ color:#fff; border-color:rgba(255,255,255,.6); }
.bcm-dark .btn-line:hover{ background:#fff; color:var(--bcm-ink); }

/* active nav link */
.nav-menu a.active{ color:var(--bcm-blue); }
.nav:not(.scrolled) .nav-menu a.active{ color:var(--bcm-blue-soft); }
/* the menu CTA pill keeps white text regardless of active-link state */
.nav-menu a.menu-cta, .nav-menu a.menu-cta.active{ color:#fff; }

/* ============================================================
   FULL-BLEED MEDIA BAND (time-lapse / cinematic proof)
   ============================================================ */
.media-band{ position:relative; min-height:78vh; display:flex; align-items:flex-end; overflow:hidden; }
.media-band .mb-media{ position:absolute; inset:0; z-index:0; }
.media-band .mb-media video,.media-band .mb-media img{ width:100%; height:100%; object-fit:cover; }
.media-band .mb-media::after{ content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(15,27,61,.28) 0%, rgba(15,27,61,.08) 45%, rgba(15,27,61,.72) 100%); }
.media-band .mb-inner{ position:relative; z-index:2; width:100%; max-width:var(--content-max);
  margin:0 auto; padding:0 var(--gutter) var(--s-6); color:#fff; }
.media-band .mb-inner .eyebrow{ color:var(--bcm-blue-soft); background:rgba(125,163,232,.14); border-color:rgba(125,163,232,.25); }
.media-band h2{ color:#fff; max-width:18ch; }
.media-band p{ color:rgba(255,255,255,.85); max-width:54ch; margin-top:var(--s-2); }

/* ============================================================
   FAMILY LEGACY MARQUEE (the credibility peak)
   ============================================================ */
.legacy{ position:relative; overflow:hidden; }
.legacy .legacy-bg{ position:absolute; inset:0; z-index:0; }
.legacy .legacy-bg img{ width:100%; height:100%; object-fit:cover; opacity:.22; }
.legacy .legacy-bg::after{ content:""; position:absolute; inset:0;
  background:radial-gradient(120% 90% at 50% 30%, rgba(29,58,107,.65), var(--bcm-ink) 70%); }
.legacy .container{ position:relative; z-index:2; }
.pedigree{ display:grid; grid-template-columns:repeat(3,1fr); gap:var(--s-4); margin-top:var(--s-5); }
.pedigree .person{ text-align:center; }
.pedigree .person-photo{ width:182px; height:182px; margin:0 auto var(--s-2); border-radius:50%;
  overflow:hidden; background:rgba(125,163,232,.12); border:1px solid rgba(125,163,232,.25); box-shadow:var(--bcm-shadow-lg); }
.pedigree .person-photo img{ width:100%; height:100%; object-fit:cover; }
.pedigree .person-photo.placeholder{ display:grid; place-items:center; color:var(--bcm-blue-soft);
  font-family:var(--font-sans); font-size:12px; letter-spacing:.12em; text-transform:uppercase; }
.pedigree .person h3{ color:#fff; font-size:var(--fs-h3); margin-bottom:2px; }
.pedigree .person .role{ display:block; font-family:var(--font-sans); font-size:12px; letter-spacing:.12em;
  text-transform:uppercase; color:var(--bcm-blue-soft); margin-bottom:var(--s-2); }
.pedigree .person p{ color:rgba(255,255,255,.78); font-size:15px; line-height:1.6; text-align:left; }

/* founders sub-row inside/after legacy, on dark */
.legacy .founders .founder h3{ color:#fff; }
.legacy .founders .founder .role{ color:var(--bcm-blue-soft); }
.legacy .founders .founder .bio{ color:rgba(255,255,255,.8); }
.legacy-sub{ text-align:center; margin:0 auto var(--s-4); }
.legacy-sub .lead{ margin-left:auto; margin-right:auto; }
/* Founders block is now first; carry the original between-blocks gap onto the family block below it */
#family .section-head{ margin-top:var(--s-7); }

@media (max-width:991px){
  .pedigree{ grid-template-columns:1fr; max-width:380px; margin-left:auto; margin-right:auto; gap:var(--s-5); }
  /* the 128px between-blocks gap is too much on a narrow screen */
  #family .section-head{ margin-top:var(--s-5); }
}

/* ============================================================
   SERVICE FEATURE ROWS (alternating, editorial)
   ============================================================ */
.feature{ display:grid; grid-template-columns:1fr 1fr; gap:var(--s-6); align-items:center; }
.feature + .feature{ margin-top:var(--s-7); }
.feature.reverse .feature-media{ order:2; }
.feature-media{ border-radius:14px; overflow:hidden; box-shadow:var(--bcm-shadow-lg); aspect-ratio:4/3; }
.feature-media img{ width:100%; height:100%; object-fit:cover; transition:transform .8s var(--ease-out); }
.feature:hover .feature-media img{ transform:scale(1.04); }
.feature-num{
  display:inline-flex; align-items:center; justify-content:center;
  width:64px; height:64px; border-radius:50%;
  border:2px solid var(--bcm-blue);
  font-family:var(--font-display); font-weight:560;
  font-size:clamp(22px,2vw,28px); color:var(--bcm-blue); line-height:1;
  margin-bottom:var(--s-3);
}
.feature-body h3{ font-size:clamp(26px,3vw,40px); margin-bottom:var(--s-2); }
@media (max-width:991px){
  .feature,.feature.reverse{ grid-template-columns:1fr; gap:var(--s-3); }
  .feature.reverse .feature-media{ order:0; }
  .feature + .feature{ margin-top:var(--s-6); }
}

/* ============================================================
   HOW WE BUILD (light section) — legible timeline + balanced specs
   ============================================================ */
#process .steps{
  display:grid; grid-template-columns:repeat(5,1fr); gap:var(--s-2);
  position:relative; margin-top:var(--s-6);
}
/* hairline connector behind the step dots */
#process .steps::before{
  content:""; position:absolute; top:6px; left:10%; right:10%; height:2px;
  background:var(--bcm-hairline); z-index:0;
}
#process .step{ position:relative; z-index:1; text-align:center; padding-top:30px; border-top:0; }
#process .step::before{
  content:""; position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:14px; height:14px; border-radius:50%; background:var(--bcm-blue);
  box-shadow:0 0 0 5px var(--bcm-soft);
}
#process .step .sn{ font-family:var(--font-sans); font-size:12px; font-weight:700;
  letter-spacing:.18em; color:var(--bcm-blue); display:block; }
#process .step .st{ font-family:var(--font-display); font-weight:560;
  font-size:clamp(17px,1.7vw,21px); color:var(--bcm-ink); margin-top:4px; }
#process .step .sd{ font-family:var(--font-sans); font-size:13.5px; line-height:1.5;
  color:var(--bcm-gray); margin:8px auto 0; max-width:21ch; }

#process .spec-grid{
  display:grid; grid-template-columns:repeat(2,1fr); gap:var(--s-3);
  max-width:760px; margin:var(--s-7) auto 0;
}
#process .spec{
  background:var(--bcm-white); border:1px solid var(--bcm-hairline); border-radius:14px;
  padding:var(--s-4) var(--s-3); text-align:center; box-shadow:var(--bcm-shadow-sm);
  display:flex; flex-direction:column; justify-content:center; min-height:130px;
  transition:transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
}
#process .spec:hover{ transform:translateY(-3px); box-shadow:var(--bcm-shadow-md); border-color:var(--bcm-blue); }
#process .spec .n{ font-family:var(--font-display); font-weight:420; font-size:clamp(24px,2.4vw,32px);
  color:var(--bcm-ink); display:block; line-height:1.12; }
#process .spec .l{ font-family:var(--font-sans); font-size:12px; letter-spacing:.12em;
  text-transform:uppercase; color:var(--bcm-gray); margin-top:10px; display:block; }
#process .spec .d{ font-family:var(--font-sans); font-size:14px; line-height:1.55;
  color:var(--bcm-gray); margin-top:12px; display:block; }
@media (max-width:991px){
  #process .steps{ grid-template-columns:repeat(3,1fr); gap:var(--s-3); }
  #process .steps::before{ display:none; }
  #process .spec-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:560px){
  #process .steps{ grid-template-columns:1fr 1fr; }
  #process .spec-grid{ grid-template-columns:1fr; }
}

/* ---- court builder: "build this court" confirmation pill ---- */
.viz-applied{ display:none; margin-top:var(--s-2); font-family:var(--font-sans); font-size:13px; color:var(--bcm-green-deep); }
.viz-applied.show{ display:block; }
