/* PlanBord.online V15 — hero layout correction and distinct visual identities.
   Loaded after studio overrides. Marketing only; no tenant planning or admin selectors. */

/* Decorative divs were accidentally made relative by V14's generic `> *` rule.
   Restore their absolute positioning so the flex hero only lays out its content shell. */
.pbo-site :is(.hero-v4.dark,.pagehero-v4.dark,.story-dark,.tenant-section-v4,.cta-v4) > :is(.mesh,.hero-noise){
  position:absolute;z-index:0;pointer-events:none;
}
.pbo-site .hero-v4.dark > .hero-scroll{position:absolute;z-index:3;}
.pbo-site :is(.hero-v4.dark,.pagehero-v4.dark,.story-dark,.tenant-section-v4,.cta-v4) > .pbo-shell{
  position:relative;z-index:2;
}

/* Each dark section is backed by its own artwork; no single image repeats across the homepage. */
.pbo-site .hero-v4.dark::before,
.pbo-site .pagehero-v4.dark::before,
.pbo-site .story-dark::before,
.pbo-site .tenant-section-v4::before,
.pbo-site .cta-v4::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  opacity:1;background-repeat:no-repeat;background-position:center;background-size:cover;
}
.pbo-site .hero-v4.dark::before{
  background-image:linear-gradient(90deg,rgba(2,22,30,.58) 0%,rgba(2,28,38,.22) 53%,rgba(3,25,35,.25) 100%),url('/images/premium/planbord-public-hero-abstract.png');
}
.pbo-site .pagehero-v4.dark::before{
  background-image:linear-gradient(90deg,rgba(3,23,31,.46),rgba(3,23,31,.12) 60%,rgba(3,23,31,.24)),url('/images/premium/planbord-pagehero-orbits.svg');
}
.pbo-site .story-dark::before{
  background-image:linear-gradient(90deg,rgba(3,21,29,.13),rgba(3,21,29,.32)),url('/images/premium/planbord-projectflow-timelines.svg');
}
.pbo-site .tenant-section-v4::before{
  background-image:linear-gradient(90deg,rgba(4,22,31,.32),rgba(4,22,31,.14) 65%,rgba(4,22,31,.17)),url('/images/premium/planbord-tenant-glass.svg');
}
.pbo-site .cta-v4::before{
  background-image:linear-gradient(90deg,rgba(2,19,27,.36),rgba(3,23,31,.13)),url('/images/premium/planbord-cta-aurora.svg');
}
/* Secondary pages have independent surfaces as well, rather than one repeated hero. */
.pbo-site .pagehero-v4.article-hero::before{
  background-image:linear-gradient(90deg,rgba(3,24,34,.58),rgba(3,24,34,.16)),url('/images/premium/planbord-projectflow-timelines.svg');
}
.pbo-site .pagehero-v4.cluster-hero::before,
.pbo-site .pagehero-v4.thanks-hero::before{
  background-image:linear-gradient(90deg,rgba(3,24,34,.55),rgba(3,24,34,.20)),url('/images/premium/planbord-tenant-glass.svg');
}
.pbo-site .pagehero-v4.contact-hero::before{
  background-image:linear-gradient(90deg,rgba(3,24,34,.60),rgba(3,24,34,.20)),url('/images/premium/planbord-cta-aurora.svg');
}
.pbo-site :is(.hero-v4.dark,.pagehero-v4.dark,.story-dark,.tenant-section-v4,.cta-v4)::after{
  z-index:0;pointer-events:none;
}

/* Hero: balanced, vertically centered two-column composition. Never move the shell
   with decorative flex items, and never squeeze the headline into a narrow column. */
.pbo-site .hero-v4.dark{
  min-height:830px;
  padding:138px 0 98px;
  align-items:center;
}
.pbo-site .hero-v4.dark .hero-grid{
  width:min(1320px,calc(100% - 96px));
  display:grid;
  grid-template-columns:minmax(0,1.07fr) minmax(0,.93fr);
  column-gap:clamp(38px,4.5vw,76px);
  align-items:center;
  justify-content:center;
  min-width:0;
}
.pbo-site .hero-v4.dark .hero-grid > .hero-copy{
  width:100%;min-width:0;max-width:650px;
  display:flex;flex-direction:column;
  justify-self:start;align-items:flex-start;justify-content:center;
  text-align:left;margin:0;padding:16px 0;
}
.pbo-site .hero-v4.dark .hero-copy .kicker{
  font-size:clamp(10px,.75vw,12px);letter-spacing:.13em;
  line-height:1.5;margin:0 0 24px;
}
.pbo-site .hero-v4.dark .hero-copy h1{
  width:100%;max-width:650px;
  margin:0;
  font-size:clamp(52px,5.1vw,80px);
  line-height:1.02;letter-spacing:-.065em;
  text-wrap:balance;overflow-wrap:normal;word-break:normal;
}
.pbo-site .hero-v4.dark .hero-copy .lead{
  max-width:570px;margin:25px 0 0;
  font-size:clamp(17px,1.2vw,21px);line-height:1.6;
}
.pbo-site .hero-v4.dark .hero-copy .actions{
  margin:30px 0 0;gap:12px;align-items:center;
}
.pbo-site .hero-v4.dark .hero-copy .proof{
  margin:24px 0 0;gap:8px 10px;
  font-size:12px;line-height:1.4;
}
.pbo-site .hero-v4.dark .hero-product{
  display:block;width:100%;max-width:620px;min-width:0;
  justify-self:end;align-self:center;margin:0;
}
.pbo-site .hero-v4.dark .hero-product .pbo-product-stage{
  width:100%;min-height:610px;
}
.pbo-site .hero-v4.dark .hero-scroll{bottom:22px;}
/* Higher contrast for white text over artwork. */
.pbo-site .hero-v4.dark .hero-copy h1,
.pbo-site .pagehero-v4.dark h1{text-shadow:0 12px 38px rgba(0,15,23,.23)}
.pbo-site .pagehero-v4.dark > .pbo-shell{min-width:0;}
.pbo-site .pagehero-v4.dark > .pbo-shell.split > *{min-width:0;}

@media(max-width:1100px){
  .pbo-site .hero-v4.dark{min-height:0;padding:126px 0 88px;}
  .pbo-site .hero-v4.dark .hero-grid{
    width:min(880px,calc(100% - 48px));
    grid-template-columns:minmax(0,1fr);row-gap:24px;
  }
  .pbo-site .hero-v4.dark .hero-grid > .hero-copy{max-width:790px;}
  .pbo-site .hero-v4.dark .hero-copy h1{max-width:760px;font-size:clamp(52px,6.4vw,78px)}
  .pbo-site .hero-v4.dark .hero-product{max-width:760px;justify-self:center;}
}
@media(max-width:760px){
  .pbo-site .hero-v4.dark{padding:112px 0 66px;}
  .pbo-site .hero-v4.dark .hero-grid{width:calc(100% - 34px);row-gap:14px;}
  .pbo-site .hero-v4.dark .hero-grid > .hero-copy{padding:4px 0 0;}
  .pbo-site .hero-v4.dark .hero-copy h1{
    font-size:clamp(41px,10vw,62px);line-height:1.065;
    letter-spacing:-.053em;overflow-wrap:break-word;
  }
  .pbo-site .hero-v4.dark .hero-copy .kicker{margin-bottom:18px;font-size:10px;}
  .pbo-site .hero-v4.dark .hero-copy .lead{font-size:17px;line-height:1.56;margin-top:18px;}
  .pbo-site .hero-v4.dark .hero-copy .actions{margin-top:24px;gap:10px;}
  .pbo-site .hero-v4.dark .hero-copy .proof{margin-top:20px;gap:8px;}
  .pbo-site .hero-v4.dark .hero-product{width:100%;max-width:600px;}
  .pbo-site .hero-v4.dark .hero-product .pbo-product-stage{min-height:450px;}
  .pbo-site .hero-v4.dark > .hero-scroll{display:none;}
  .pbo-site .pagehero-v4.dark::before{background-position:62% center;}
}
@media(max-width:440px){
  .pbo-site .hero-v4.dark .hero-copy h1{font-size:clamp(37px,10.2vw,45px);}
  .pbo-site .hero-v4.dark .hero-copy .lead{font-size:16px;}
  .pbo-site .hero-v4.dark .hero-copy .proof span{font-size:11px;padding:7px 9px;}
}
@media(prefers-reduced-motion:reduce){
  .pbo-site .hero-v4.dark .hero-product .pbo-product-stage{transform:none!important;}
}
