/* ===========================================================================
   Brand Pillar Page - scoped styles (.bpp-*)
   Added 2026-06-19 (CR dynamicmachine-2026-06-19-brand-pillar-pages).
   Restyle of the client's brand-page mockups to DMachine tokens. Design review
   passed 9/10. Enqueued only on the Brand Pillar Page template.
   ASCII hyphens only (em/en dashes break CSS parsing).
   =========================================================================== */

.bpp-page{
  --bpp-dark:#003c71;
  --bpp-primary:#317ED4;
  --bpp-primary-hover:#2569b8;
  --bpp-secondary:#054c81;
  --bpp-light:#F2F5F8;
  --bpp-tint:#e6f1fc;
  --bpp-body:#757575;
  --bpp-ink:#1b2733;
  --bpp-border:#dde7f1;
  --bpp-font-head:'Poppins',Arial,sans-serif;
  --bpp-font-body:'Lato',Arial,sans-serif;
  --bpp-font-accent:'Sen',Arial,sans-serif;
  font-family:var(--bpp-font-body);
  color:var(--bpp-ink);
  line-height:1.7;
}
.bpp-page *,.bpp-page *::before,.bpp-page *::after{box-sizing:border-box;}
.bpp-page img{max-width:100%;display:block;}

.bpp-container{max-width:1180px;margin:0 auto;padding:0 24px;}
.bpp-section{padding:72px 0;scroll-margin-top:150px;}
.bpp-section.bpp-alt{background:var(--bpp-light);}
.bpp-hero,.bpp-cta{scroll-margin-top:150px;}

/* TOC (static - the theme header is already sticky) */
.bpp-toc{background:var(--bpp-light);border-bottom:1px solid var(--bpp-border);padding:10px 0;}
.bpp-toc-inner{max-width:1180px;margin:0 auto;padding:0 24px;display:flex;gap:6px;flex-wrap:wrap;align-items:center;}
.bpp-toc-inner .bpp-toc-label{font-family:var(--bpp-font-accent);color:var(--bpp-body);font-weight:600;margin-right:6px;font-size:.82rem;}
.bpp-toc-inner a{color:var(--bpp-secondary);padding:5px 12px;border-radius:4px;white-space:nowrap;font-size:.82rem;font-weight:600;text-decoration:none;font-family:var(--bpp-font-accent);}
.bpp-toc-inner a:hover{background:var(--bpp-tint);text-decoration:none;}

/* Hero */
/* top padding clears the theme's fixed header (93px desktop) */
.bpp-hero{color:#fff;padding:120px 0 84px;text-align:center;background:linear-gradient(135deg,var(--bpp-dark) 0%,var(--bpp-secondary) 55%,var(--bpp-primary) 100%);}
.bpp-hero h1{font-family:var(--bpp-font-head);font-size:clamp(2rem,4vw,3rem);font-weight:800;line-height:1.18;margin:0 0 20px;color:#fff;}
.bpp-hero h1 em{color:#bfe0ff;font-style:normal;}
.bpp-hero .bpp-lead{font-size:1.18rem;max-width:740px;margin:0 auto 34px;color:#e3f0fc;}
.bpp-badges{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-bottom:38px;}
.bpp-badge{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.28);border-radius:50px;padding:8px 20px;font-size:.86rem;font-weight:600;color:#eaf4ff;font-family:var(--bpp-font-accent);}
.bpp-btn{display:inline-block;background:var(--bpp-primary);color:#fff;padding:14px 38px;border-radius:6px;font-weight:700;font-size:1rem;text-decoration:none;font-family:var(--bpp-font-head);transition:background .2s;}
.bpp-btn:hover{background:var(--bpp-primary-hover);color:#fff;text-decoration:none;}
.bpp-btn-outline{display:inline-block;border:2px solid rgba(255,255,255,.6);color:#fff;padding:13px 32px;border-radius:6px;font-weight:600;font-size:.95rem;text-decoration:none;font-family:var(--bpp-font-head);}
.bpp-btn-outline:hover{border-color:#fff;background:rgba(255,255,255,.12);color:#fff;text-decoration:none;}

/* Montage video (added 2026-08-02)
   The client's masters are not a uniform shape: most are 1920x1080, one is a
   portrait phone capture (478x850) and one is a 640x360 original. So the frame
   is a fixed dark stage and the video is sized to fit INSIDE it with
   object-fit:contain - never cropped, never stretched, never upscaled past its
   own width. A letterboxed portrait clip reads as deliberate; a stretched one
   reads as broken. */
.bpp-montage{background:var(--bpp-dark);padding:0;}
.bpp-montage .bpp-container{padding-top:56px;padding-bottom:56px;}
.bpp-montage-heading{font-family:var(--bpp-font-head);font-size:clamp(1.4rem,2.4vw,1.9rem);font-weight:700;color:#fff;text-align:center;margin:0 0 24px;}
.bpp-montage-heading em{color:#bfe0ff;font-style:normal;}
.bpp-montage-frame{background:#000;border-radius:12px;overflow:hidden;display:flex;justify-content:center;align-items:center;max-height:74vh;}
.bpp-montage-video{display:block;width:auto;max-width:100%;max-height:74vh;object-fit:contain;background:#000;}
.bpp-montage-caption{text-align:center;color:#cfe2f5;font-size:.9rem;font-family:var(--bpp-font-accent);margin:16px 0 0;}
@media(max-width:768px){.bpp-montage .bpp-container{padding-top:36px;padding-bottom:36px;}.bpp-montage-frame,.bpp-montage-video{max-height:60vh;}}

/* Stat bar */
.bpp-statbar{background:var(--bpp-secondary);color:#fff;overflow-x:hidden;}
.bpp-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));text-align:center;width:100%;max-width:1180px;margin:0 auto;}
.bpp-stat{padding:32px 24px;border-right:1px solid rgba(255,255,255,.15);}
.bpp-stat:last-child{border-right:none;}
.bpp-stat-num{font-family:var(--bpp-font-head);font-size:2.2rem;font-weight:800;color:#bfe0ff;display:block;}
.bpp-stat-label{font-size:.84rem;color:#dcebfb;margin-top:4px;font-family:var(--bpp-font-accent);}

/* Section headings */
.bpp-label{font-family:var(--bpp-font-accent);font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--bpp-primary);margin-bottom:10px;}
.bpp-section h2{font-family:var(--bpp-font-head);font-size:clamp(1.6rem,3vw,2.2rem);font-weight:800;color:var(--bpp-dark);line-height:1.25;margin:0 0 16px;}
.bpp-intro{font-size:1.05rem;color:var(--bpp-body);max-width:700px;margin-bottom:46px;}
.bpp-section h3{font-family:var(--bpp-font-head);font-size:1.22rem;font-weight:700;color:var(--bpp-dark);margin:0 0 12px;}

/* Cards */
.bpp-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:28px;}
.bpp-card{background:#fff;border:1px solid var(--bpp-border);border-radius:10px;padding:32px 28px;box-shadow:0 2px 12px rgba(0,60,120,.06);transition:box-shadow .2s,transform .2s;}
.bpp-card:hover{box-shadow:0 8px 28px rgba(0,60,120,.12);transform:translateY(-3px);}
.bpp-card-icon{width:52px;height:52px;background:var(--bpp-tint);border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.6rem;margin-bottom:18px;}
.bpp-card p{font-size:.95rem;color:var(--bpp-body);line-height:1.65;margin:0;}

/* Product blocks */
.bpp-product{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;margin-bottom:64px;}
.bpp-product:last-child{margin-bottom:0;}
.bpp-product.bpp-reverse .bpp-product-content{order:2;}
.bpp-product-content p{font-size:.98rem;color:var(--bpp-body);line-height:1.7;margin:0;}
.bpp-tag{display:inline-block;background:var(--bpp-tint);color:var(--bpp-secondary);border-radius:4px;padding:4px 12px;font-size:.76rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;margin-bottom:14px;font-family:var(--bpp-font-accent);}
.bpp-speclist{list-style:none;margin:18px 0 0;padding:0;}
.bpp-speclist li{display:flex;align-items:flex-start;gap:10px;padding:8px 0;border-bottom:1px solid var(--bpp-border);font-size:.95rem;color:var(--bpp-ink);}
.bpp-speclist li:last-child{border-bottom:none;}
.bpp-speclist li::before{content:"\2713";color:var(--bpp-primary);font-weight:700;flex-shrink:0;margin-top:2px;}
.bpp-visual{background:linear-gradient(145deg,#e8f1fd,var(--bpp-light));border-radius:12px;display:flex;flex-direction:column;gap:12px;min-height:260px;justify-content:center;align-items:center;border:1px solid var(--bpp-border);overflow:hidden;}
.bpp-visual img{width:100%;height:100%;min-height:260px;object-fit:cover;border-radius:11px;display:block;}
/* Filler image placeholder shown until the client uploads a real photo via ACF */
.bpp-visual-ph{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:var(--bpp-primary);opacity:.5;padding:24px;}
.bpp-visual-ph svg{width:64px;height:64px;}
.bpp-visual-ph span{font-family:var(--bpp-font-accent);font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;}

/* Applications */
.bpp-appgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px;}
.bpp-appcard{background:#fff;border-radius:10px;padding:28px 24px;border-left:4px solid var(--bpp-primary);box-shadow:0 2px 8px rgba(0,60,120,.07);}
.bpp-appcard h3{font-size:1.05rem;margin-bottom:8px;}
.bpp-appcard p{font-size:.9rem;color:var(--bpp-body);margin:0;}
.bpp-appcard ul{margin-top:10px;padding-left:18px;}
.bpp-appcard ul li{font-size:.9rem;color:var(--bpp-body);margin-bottom:4px;}

/* Why / differentiators */
.bpp-diffgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px;}
.bpp-diff{display:flex;gap:16px;align-items:flex-start;padding:24px;background:#fff;border-radius:10px;border:1px solid var(--bpp-border);box-shadow:0 2px 8px rgba(0,60,120,.05);}
.bpp-diff-icon{width:44px;height:44px;background:var(--bpp-dark);border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:1.3rem;flex-shrink:0;}
.bpp-diff h3{font-size:1rem;margin:0 0 6px;}
.bpp-diff p{font-size:.88rem;color:var(--bpp-body);line-height:1.55;margin:0;}

/* FAQ */
.bpp-faq{max-width:840px;}
.bpp-faq details{border:1px solid var(--bpp-border);border-radius:8px;margin-bottom:12px;background:#fff;overflow:hidden;}
.bpp-faq details[open]{border-color:var(--bpp-primary);}
.bpp-faq summary{padding:20px 24px;font-family:var(--bpp-font-head);font-weight:600;font-size:1rem;cursor:pointer;color:var(--bpp-dark);list-style:none;display:flex;justify-content:space-between;align-items:center;}
.bpp-faq summary::-webkit-details-marker{display:none;}
.bpp-faq summary::after{content:"+";font-size:1.4rem;color:var(--bpp-primary);flex-shrink:0;margin-left:16px;}
.bpp-faq details[open] summary::after{content:"\2212";}
.bpp-faq-answer{padding:0 24px 20px;font-size:.96rem;color:var(--bpp-body);line-height:1.7;}

/* CTA */
.bpp-cta{color:#fff;text-align:center;padding:80px 0;background:linear-gradient(135deg,var(--bpp-dark) 0%,var(--bpp-primary) 100%);}
.bpp-cta h2{color:#fff;margin:0 0 16px;font-family:var(--bpp-font-head);font-size:clamp(1.6rem,3vw,2.2rem);font-weight:800;}
.bpp-cta p{color:#e3f0fc;max-width:560px;margin:0 auto 34px;font-size:1.05rem;}
.bpp-cta-btns{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;}

@media(max-width:768px){
  /* mobile fixed header is taller (~143px) - increase hero clearance */
  .bpp-hero{padding-top:165px;}
  .bpp-product{grid-template-columns:1fr;gap:28px;}
  .bpp-product.bpp-reverse .bpp-product-content{order:0;}
  .bpp-stats{grid-template-columns:1fr 1fr;}
}
@media(max-width:360px){
  .bpp-stats{grid-template-columns:1fr;}
}

/* Cascade fixes 2026-09-17. style.css, new.css and responsive.css are hardcoded in
   header.php AFTER wp_head(), so they load after this file and win every tie.
   Every selector is scoped to .bpp-page (exists only on the Brand Pillar template).
   Verified by live injection at 390/768/1440 on /brands/schuster/ and /brands/fuji/. */
.bpp-page .bpp-statbar,.bpp-page .bpp-toc{float:left;width:100%;clear:both;}
.bpp-page *{font-family:inherit;}
.bpp-page .bpp-hero h1,.bpp-page .bpp-btn,.bpp-page .bpp-btn-outline,.bpp-page .bpp-montage-heading,.bpp-page .bpp-stat-num,.bpp-page .bpp-section h2,.bpp-page .bpp-section h3,.bpp-page .bpp-cta h2,.bpp-page .bpp-faq summary{font-family:var(--bpp-font-head);}
.bpp-page .bpp-toc-label,.bpp-page .bpp-toc-inner a,.bpp-page .bpp-badge,.bpp-page .bpp-montage-caption,.bpp-page .bpp-stat-label,.bpp-page .bpp-label,.bpp-page .bpp-tag,.bpp-page .bpp-visual-ph span{font-family:var(--bpp-font-accent);}
.bpp-page .bpp-section h2,.bpp-page .bpp-cta h2{font-size:clamp(1.6rem,3vw,2.2rem)!important;line-height:1.25!important;}
.bpp-page .bpp-section h3{font-size:1.22rem!important;line-height:1.35!important;}
.bpp-page .bpp-appcard h3{font-size:1.05rem!important;}
.bpp-page .bpp-diff h3{font-size:1rem!important;}
.bpp-page .bpp-diff>*{min-width:0;overflow-wrap:break-word;}
.bpp-page .bpp-stat-num,.bpp-page .bpp-badge{text-transform:none!important;}
.bpp-page .bpp-tag{text-transform:uppercase!important;}
.bpp-page .bpp-stat-num{text-align:center!important;}
/* Stat band sizing 2026-09-29 (DL-0001). responsive.css forces a,p,span,button to 15px!important
   (1101-1440px) and 16px!important (<=768px); .bpp-stat-num is a span, so numerals collapsed to label size.
   Higher specificity + !important restores the scale. Labels lifted to the 16px body floor. */
.bpp-page .bpp-statbar .bpp-stat-num{font-size:2.2rem!important;line-height:1.15!important;}
.bpp-page .bpp-statbar .bpp-stat-label{font-size:1rem;line-height:1.45;margin-top:6px;}
/* Explicit grid (DL-0003): auto-fit minmax(200px) went 3+1 at 769-799px. 4-up above 1000px, 2x2 at and below. */
.bpp-page .bpp-statbar .bpp-stats{grid-template-columns:repeat(4,minmax(0,1fr));}
@media(max-width:1000px){
  .bpp-page .bpp-statbar .bpp-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
  .bpp-page .bpp-statbar .bpp-stat-num{font-size:1.9rem!important;}
  .bpp-page .bpp-stat{padding:26px 16px;border-right:1px solid rgba(255,255,255,.15);border-bottom:1px solid rgba(255,255,255,.15);}
  .bpp-page .bpp-stat:nth-child(2n){border-right:none;}
  .bpp-page .bpp-stat:nth-last-child(-n+2):nth-child(odd),.bpp-page .bpp-stat:last-child{border-bottom:none;}
}
/* Product-section type 2026-09-29 (design review schuster-products iter 0). Same responsive.css leak:
   a,p,span forced to 15-16px!important with p line-height 1.3, so body copy fell under 16px, section
   intros went cramped and the uppercase tag/eyebrow grew to 15-16px at some widths. Restores the template's scale. */
.bpp-page .bpp-section .bpp-label{font-size:.8rem!important;line-height:1.4!important;}
.bpp-page .bpp-section .bpp-intro{font-size:1.05rem!important;line-height:1.65!important;}
.bpp-page .bpp-product .bpp-tag{font-size:.78rem!important;line-height:1.4!important;}
.bpp-page .bpp-product-content p{font-size:1rem!important;line-height:1.7!important;}
.bpp-page .bpp-speclist li{font-size:1rem;line-height:1.55;}
