/* Concrete Designs v40 — heroes: text block sits in the optical centre of the space above the stats band
   (no dead gap at the foot), darker photo/video, crisper text; new logo sizes. */

/* ---------- logo (new wide 3D logo) ---------- */
.logo img{height:clamp(50px,4.6vw,68px)!important;width:auto}
.ftr-logo img{height:clamp(62px,5.2vw,84px)!important;width:auto;max-width:100%}
@media (max-width:640px){.logo img{height:48px!important}.ftr-logo img{height:60px!important}}

/* ---------- hero text placement ---------- */
.hero .stage,.sv-hero-in,.pj-hero-in,.ab-hero-in,.ct-hero-in{
  padding-top:calc(var(--hh) + clamp(20px,4vh,48px))!important;
  padding-bottom:clamp(36px,8vh,96px)!important;
  justify-content:center!important}
.sv-hero,.pj-hero,.ab-hero{justify-content:flex-start!important}
.sv-hero-in,.pj-hero-in,.ab-hero-in{flex:1 1 auto;display:flex;flex-direction:column;align-items:flex-start}
.sv-hero-in{justify-content:flex-start!important}
.sv-hero-in>.eyebrow{margin-top:auto}
.sv-hero-in>.cta{margin-bottom:auto}
.sv-hero-in>.sv-chips{margin-top:0;padding-top:clamp(20px,4vh,48px)}
.ctp .ct-hero .ct-hero-in{align-content:center!important;align-items:end}
@media (max-width:640px){
  .hero .stage,.sv-hero-in,.pj-hero-in,.ab-hero-in,.ct-hero-in{padding-top:calc(var(--hh) + 20px)!important;padding-bottom:28px!important}
}
@media (max-height:700px){
  .hero .stage,.sv-hero-in,.pj-hero-in,.ab-hero-in,.ct-hero-in{padding-top:calc(var(--hh) + 12px)!important;padding-bottom:20px!important}
}

/* ---------- darker backgrounds ---------- */
.hero .shade,.sv-shade,.pj-shade,.ab-shade,.ct-shade{box-shadow:inset 0 0 0 100vmax rgba(4,5,7,.26)}

/* ---------- text that pops ---------- */
.hero h1,.sv-hero h1,.pj-hero h1,.ab-hero h1,.ct-hero h1{color:#fff;text-shadow:0 2px 3px rgba(0,0,0,.5),0 10px 44px rgba(0,0,0,.65)}
.hero h1 em,.sv-hero h1 em,.pj-hero h1 em,.ab-hero h1 em,.ct-hero h1 em{color:#DDB86E}
.hero .sub,.sv-hero .sub,.pj-hero .sub,.ab-hero .sub,.ct-hero .sub{color:#fff;font-weight:450;text-shadow:0 1px 2px rgba(0,0,0,.75),0 4px 26px rgba(0,0,0,.65)}
.hero .eyebrow,.sv-hero .eyebrow,.pj-hero .eyebrow,.ab-hero .eyebrow,.ct-hero .eyebrow{color:#F1E0B4;text-shadow:0 1px 3px rgba(0,0,0,.7)}
.stats dt,.ab-stat dt,.pj-stat dt{color:rgba(255,255,255,.86)!important}
.ct-dk{color:#EBDDB6!important}
.ct-dv,.ct-band b{text-shadow:0 1px 3px rgba(0,0,0,.6)}

/* ---------- mobile / tablet: text first, then picture ---------- */
@media (max-width:900px){.pj-feat-fig,.ab-fd-img{order:2}}

/* ---------- hero buttons: same behaviour on every page ---------- */
@media (max-width:640px){
  .hero .cta,.sv-hero .cta,.pj-hero .cta,.ab-hero .cta{flex-direction:column;align-items:stretch;align-self:stretch;width:100%}
  .hero .cta .btn,.sv-hero .cta .btn,.pj-hero .cta .btn,.ab-hero .cta .btn{width:100%;justify-content:center}
}

/* ---------- contact hero on tablet: details sit under the text, not squeezed beside it ---------- */
@media (min-width:641px) and (max-width:900px){
  .ctp .ct-hero .ct-hero-in{grid-template-columns:minmax(0,1fr)!important;row-gap:26px}
  .ct-hero-d{display:flex!important;flex-direction:row;flex-wrap:wrap;border-left:0;padding-left:0;gap:14px 44px;margin:0;align-self:start}
}

/* contact hero: full first screen at every width, like the other pages (the old 720px cap on phones/tablets
   cut it short and let the next section peek into the first screen). The base rule lives in polish.css. */
