/* sbr/hero — all layout variants, tokenized. Auto-enqueued by block.json only when block is on page. */

/* ===== BASE HERO ===== */
.sbr-hero{position:relative;overflow:hidden}
.sbr-hero__in{position:relative;z-index:2}

/* ===== FULL-BLEED ===== */
.sbr-hero--fullbleed{min-height:92vh;display:flex;align-items:flex-end;color:var(--on-dark)}
.sbr-hero--fullbleed .sbr-hero__scrim{position:absolute;inset:0;background:linear-gradient(to top,var(--brand-deep) 2%,rgba(16,14,11,.82) 22%,rgba(16,14,11,.45) 45%,rgba(16,14,11,.08) 68%,transparent 100%),linear-gradient(to left,rgba(16,14,11,.45),transparent 55%)}
.sbr-hero--fullbleed .sbr-hero__in{max-width:1240px;margin:0 auto;width:100%;padding:0 48px 84px}
.sbr-hero--fullbleed .sbr-hero__kicker{margin-bottom:22px;color:var(--accent)}
.sbr-hero--fullbleed .sbr-hero__title{font-size:clamp(44px,6vw,86px);line-height:1.04;margin-bottom:22px;max-width:880px;text-shadow:0 2px 30px rgba(0,0,0,.25)}
.sbr-hero--fullbleed .sbr-hero__title em{color:var(--accent)}
.sbr-hero--fullbleed .sbr-hero__sub{font-size:20px;color:var(--on-dark-soft);max-width:540px;margin-bottom:38px}
.sbr-hero--fullbleed .sbr-hero__cta{display:flex;gap:24px;align-items:center;flex-wrap:wrap;margin-bottom:32px}
.sbr-hero--fullbleed .sbr-hero__cta .sbr-link{color:var(--on-dark)}
.sbr-hero--fullbleed .sbr-hero__cta .sbr-link .sbr-ico{color:var(--accent)}
.sbr-hero--fullbleed .sbr-hero__trust{display:inline-flex;align-items:center;gap:10px;font-size:15px;color:var(--on-dark-soft)}
.sbr-hero--fullbleed .sbr-hero__trust b{font-weight:700;color:#fff}

/* ===== VIDEO ===== */
.sbr-hero--video{min-height:92vh;display:flex;align-items:center;justify-content:center;text-align:center;background:var(--brand-deep);color:var(--on-dark)}
.sbr-hero--video .sbr-hero__scrim{position:absolute;inset:0;background:radial-gradient(120% 90% at 50% 45%,rgba(16,14,11,.3),rgba(16,14,11,.72) 78%),linear-gradient(to top,rgba(16,14,11,.7),rgba(16,14,11,.35) 40%,rgba(16,14,11,.5))}
.sbr-hero--video .sbr-hero__in{max-width:760px;padding:96px 28px}
.sbr-hero--video .sbr-hero__kicker{justify-content:center;margin-bottom:24px;color:var(--accent)}
.sbr-hero--video .sbr-hero__title{font-size:clamp(42px,5.6vw,74px);line-height:1.05;margin-bottom:22px;text-shadow:0 2px 30px rgba(0,0,0,.3)}
.sbr-hero--video .sbr-hero__sub{font-size:20px;color:var(--on-dark-soft);max-width:560px;margin:0 auto 38px}
.sbr-hero--video .sbr-hero__cta{display:flex;justify-content:center;gap:24px;align-items:center;flex-wrap:wrap;margin-bottom:34px}
.sbr-hero--video .sbr-hero__cta .sbr-link{color:var(--on-dark)}
.sbr-hero--video .sbr-hero__cta .sbr-link .sbr-ico{color:var(--accent)}
.sbr-hero--video .sbr-hero__trust{display:inline-flex;align-items:center;gap:10px;font-size:15px;color:var(--on-dark-soft)}
.sbr-hero--video .sbr-hero__trust b{font-weight:700;color:#fff}

/* ===== TYPE-LED (dark) ===== */
.sbr-hero--typeled{background:var(--ink);color:var(--on-dark);min-height:92vh;display:flex;align-items:center;padding:84px 7vw}
.sbr-hero--typeled .sbr-hero__in{position:relative;z-index:2;max-width:900px;margin-inline-start:auto}
.sbr-hero--typeled .sbr-hero__kicker{color:var(--accent);margin-bottom:28px}
.sbr-hero--typeled .sbr-hero__title{font-size:clamp(44px,6.4vw,92px);line-height:1.04;margin-bottom:28px}
.sbr-hero--typeled .sbr-hero__title em{color:var(--accent)}
.sbr-hero--typeled .sbr-hero__sub{font-size:20px;color:var(--on-dark-soft);max-width:540px;margin-bottom:40px}
.sbr-hero--typeled .sbr-hero__cta{display:flex;gap:24px;align-items:center;flex-wrap:wrap}
.sbr-hero--typeled .sbr-hero__cta .sbr-link{color:var(--on-dark)}
.sbr-hero--typeled .sbr-hero__cta .sbr-link .sbr-ico{color:var(--accent)}
.sbr-hero--typeled .sbr-hero__trust{margin-top:38px;display:inline-flex;align-items:center;gap:10px;font-size:15px;color:var(--on-dark-mute)}
.sbr-hero--typeled .sbr-hero__trust b{font-weight:700;color:var(--on-dark)}

/* ===== FRAMED ===== */
.sbr-hero--framed{background:var(--paper);min-height:92vh;display:flex;align-items:center;justify-content:center;padding:52px}
/* Keyline frame + floating masthead/footer labels */
.sbr-hero__frame{position:absolute;inset:28px;border:1.5px solid var(--accent-strong);border-radius:3px;pointer-events:none;z-index:1}
.sbr-hero__mast{position:absolute;top:19px;inset-inline-end:76px;background:var(--paper);padding:0 16px;font-weight:600;font-size:12.5px;letter-spacing:.26em;color:var(--accent-strong);z-index:2}
.sbr-hero__foot{position:absolute;bottom:19px;inset-inline-start:76px;background:var(--paper);padding:0 16px;font-weight:500;font-size:12.5px;letter-spacing:.22em;color:var(--fg-mute);z-index:2}
/* Two-column inner: vertical index column + content column */
.sbr-hero--framed .sbr-hero__in{position:relative;z-index:2;max-width:1000px;width:100%;padding:0 40px;display:grid;grid-template-columns:auto 1fr;gap:50px;align-items:center}
/* Content wrapper — sits in the second column of the framed grid */
.sbr-hero__content{min-width:0}
/* Vertical index label (editorial signature) */
.sbr-hero__index{font-weight:700;writing-mode:vertical-rl;transform:rotate(180deg);font-size:14px;letter-spacing:.16em;color:var(--accent-strong);display:flex;align-items:center;gap:18px}
.sbr-hero__index-year{font-variant-numeric:tabular-nums;color:var(--accent)}
.sbr-hero--framed .sbr-hero__kicker{color:var(--ink);margin-bottom:24px}
.sbr-hero--framed .sbr-hero__title{font-size:clamp(42px,4.6vw,68px);line-height:1.05;margin-bottom:22px}
.sbr-hero--framed .sbr-hero__sub{font-size:19px;color:var(--fg-soft);max-width:500px;margin-bottom:34px}
.sbr-hero--framed .sbr-hero__cta{display:flex;gap:24px;align-items:center;flex-wrap:wrap}
.sbr-hero--framed .sbr-hero__cta .sbr-link{color:var(--ink)}
.sbr-hero--framed .sbr-hero__cta .sbr-link .sbr-ico{color:var(--accent-strong)}
.sbr-hero--framed .sbr-hero__trust{margin-top:32px;display:inline-flex;align-items:center;gap:10px;font-size:15px;color:var(--fg-mute)}
.sbr-hero--framed .sbr-hero__trust b{font-weight:700;color:var(--ink)}

/* ===== CLEAN SPLIT (dark — Incentive Ink & Gold) =====
   Text + side portrait on deep ink, mirroring the logo-concepts mood file:
   subtle radial highlight from the top-corner, gold kicker/accent, cream copy. */
.sbr-hero--split{background:radial-gradient(125% 125% at 80% -10%,var(--ink-2) 0%,var(--ink) 60%);color:var(--on-dark);min-height:92vh;display:flex;align-items:center}
.sbr-hero--split .sbr-hero__in{max-width:1240px;margin:0 auto;width:100%;padding:80px 48px;display:grid;grid-template-columns:1.04fr .96fr;gap:60px;align-items:center}
.sbr-hero--split .sbr-hero__kicker{margin-bottom:22px;color:var(--accent)}
.sbr-hero--split .sbr-hero__title{font-size:clamp(38px,4.4vw,58px);line-height:1.09;margin-bottom:20px}
.sbr-hero--split .sbr-hero__title em{color:var(--accent)}
.sbr-hero--split .sbr-hero__sub{font-size:19px;color:var(--on-dark-soft);max-width:460px;margin-bottom:30px}
.sbr-hero--split .sbr-hero__cta{display:flex;gap:24px;align-items:center;flex-wrap:wrap;margin-bottom:28px}
.sbr-hero--split .sbr-hero__cta .sbr-link{color:var(--on-dark)}
.sbr-hero--split .sbr-hero__cta .sbr-link .sbr-ico{color:var(--accent)}
.sbr-hero--split .sbr-hero__media{position:relative}
.sbr-hero--split .sbr-hero__img{width:100%;height:540px;object-fit:cover;object-position:top center;border-radius:20px;box-shadow:0 34px 80px -34px rgba(0,0,0,.75);border:1px solid rgba(200,162,76,.22)}

/* ===== CLEAN CENTERED =====
   Default = compact (auto height ~ 380-450px) — right for inner-page mastheads
   (about, services, contact). Add className "is-tall" via block editor → 90vh
   full poster look for homepage. */
.sbr-hero--centered{background:var(--paper);display:flex;align-items:center;justify-content:center;text-align:center;padding:64px 28px 56px;position:relative;overflow:hidden}
.sbr-hero--centered.is-tall{min-height:90vh;padding:72px 28px}
.sbr-hero--centered::before{content:"";position:absolute;width:720px;height:720px;border-radius:50%;top:-320px;inset-inline-end:-220px;background:radial-gradient(circle at 50% 50%,rgba(224,162,60,.16),transparent 66%);pointer-events:none}
.sbr-hero--centered .sbr-hero__in{position:relative;z-index:2;max-width:720px}
.sbr-hero--centered .sbr-hero__kicker{justify-content:center;margin-bottom:16px;color:var(--accent-strong)}
.sbr-hero--centered .sbr-hero__title{font-size:clamp(38px,4.6vw,56px);line-height:1.1;margin-bottom:14px}
.sbr-hero--centered .sbr-hero__sub{font-size:18.5px;color:var(--fg-soft);max-width:520px;margin:0 auto 24px}
.sbr-hero--centered .sbr-hero__cta{display:flex;justify-content:center;gap:24px;align-items:center;flex-wrap:wrap;margin-bottom:18px}
.sbr-hero--centered .sbr-hero__cta .sbr-link{color:var(--ink)}
.sbr-hero--centered .sbr-hero__cta .sbr-link .sbr-ico{color:var(--accent-strong)}
.sbr-hero--centered .sbr-hero__trust{display:inline-flex;align-items:center;gap:10px;font-size:15px;color:var(--fg-mute)}
.sbr-hero--centered .sbr-hero__trust b{font-weight:700;color:var(--ink)}

/* ===== HERO-FORM (lead capture) ===== */
.sbr-hero--form{background:var(--ink);color:var(--on-dark);min-height:auto;display:flex;align-items:center}
.sbr-hero--form::before{content:"";position:absolute;width:760px;height:760px;border-radius:50%;top:-340px;inset-inline-start:-220px;background:radial-gradient(circle at 50% 50%,rgba(224,162,60,.14),transparent 66%);pointer-events:none}
.sbr-hero--form .sbr-hero__in{position:relative;z-index:2;max-width:1240px;margin:0 auto;width:100%;padding:80px 48px;display:grid;grid-template-columns:1.05fr .95fr;gap:64px;align-items:center}
.sbr-hero--form .sbr-hero__kicker{color:var(--accent);margin-bottom:24px}
.sbr-hero--form .sbr-hero__title{font-size:clamp(38px,4.4vw,60px);line-height:1.07;margin-bottom:20px}
.sbr-hero--form .sbr-hero__title em{color:var(--accent)}
.sbr-hero--form .sbr-hero__sub{font-size:19px;color:var(--on-dark-soft);max-width:460px;margin-bottom:28px}
.sbr-hero--form .sbr-hero__formcard{background:#fff;color:var(--ink);border-radius:20px;padding:32px;box-shadow:0 30px 70px -30px rgba(0,0,0,.6)}
.sbr-hero--form .sbr-hero__formnote{color:var(--fg-mute);font-size:14.5px}
/* Demo lead form inside the card */
.sbr-hero__formtitle{font-weight:800;font-size:20px;margin-bottom:18px;color:var(--ink)}
.sbr-hero__formcard .sbr-formrow{margin-bottom:13px}
.sbr-hero__formcard label{display:block;font-size:13px;font-weight:600;color:var(--fg-soft);margin-bottom:6px}
.sbr-hero__formcard input,.sbr-hero__formcard textarea{width:100%;padding:11px 13px;border:1px solid var(--line);border-radius:10px;font-family:var(--ff);font-size:15px;background:var(--paper);color:var(--ink);box-sizing:border-box}
.sbr-hero__formcard input:focus,.sbr-hero__formcard textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(224,162,60,.18)}
.sbr-hero__formcard .sbr-btn{width:100%;justify-content:center;margin-top:6px}

/* ===== CHIPS (shared across layouts) ===== */
.sbr-hero__chips{display:flex;gap:10px;flex-wrap:wrap}
/* Centered layout: chips sit on ONE horizontally-centred row */
.sbr-hero--centered .sbr-hero__chips{justify-content:center;flex-wrap:nowrap;flex-shrink:0}
.sbr-chip{display:inline-flex;align-items:center;gap:7px;font-weight:500;font-size:14px;color:var(--fg-soft);background:#fff;border:1px solid var(--line);padding:9px 14px;border-radius:10px}
.sbr-chip svg{width:15px;height:15px;color:var(--accent-strong)}
/* Dark-bg chip variant (form/typeled/video/fullbleed/split layouts) */
.sbr-hero--form .sbr-chip,
.sbr-hero--typeled .sbr-chip,
.sbr-hero--video .sbr-chip,
.sbr-hero--fullbleed .sbr-chip,
.sbr-hero--split .sbr-chip{color:var(--on-dark-soft);background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14)}

/* ===== STATS ===== */
.sbr-hero__stats{display:flex;gap:28px;flex-wrap:wrap;margin-top:32px}
.sbr-stat{display:flex;flex-direction:column;gap:2px}
.sbr-stat b{font-weight:800;font-size:28px;line-height:1.1;color:var(--accent)}
.sbr-stat span{font-size:13px;color:var(--on-dark-mute)}
.sbr-hero--centered .sbr-stat b,
.sbr-hero--framed .sbr-stat b{color:var(--accent-strong)}
.sbr-hero--centered .sbr-stat span,
.sbr-hero--framed .sbr-stat span{color:var(--fg-mute)}
/* split is dark → keep the bright accent + cool muted from the dark default above */

/* ===== VIDEO lazy-load opacity-fade ===== */
.sbr-hero__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.06);filter:blur(2px) brightness(.72) saturate(.92);opacity:0;transition:opacity .9s ease}
.sbr-hero__video.is-on{opacity:1}
.sbr-hero--video .sbr-hero__img{filter:blur(2px) brightness(.72) saturate(.92);transform:scale(1.06)}
.sbr-hero__bg,.sbr-hero__bg .sbr-hero__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sbr-link.is-on-dark{color:var(--on-dark)}

/* ===== RESPONSIVE ===== */
@media(max-width:880px){
  /* --- single-column grids --- */
  .sbr-hero--split .sbr-hero__in,
  .sbr-hero--form .sbr-hero__in{grid-template-columns:1fr;gap:20px}
  .sbr-hero--framed .sbr-hero__in{grid-template-columns:1fr;gap:14px}

  /* --- ABOVE THE FOLD: kill desktop vh heights + vertical-centering gaps; flow
     from the top with tight padding so eyebrow+H1+sub+CTA+trust fit a phone
     without scrolling (critical for UX, conversion, dwell time, SEO). --- */
  .sbr-hero--centered,.sbr-hero--typeled,.sbr-hero--framed,
  .sbr-hero--split,.sbr-hero--form{min-height:auto}
  .sbr-hero--centered{padding:24px 22px 34px}
  .sbr-hero--typeled{padding:26px 22px 34px}
  .sbr-hero--framed{padding:24px 20px 30px}
  .sbr-hero--split .sbr-hero__in{padding:20px 22px 32px}
  .sbr-hero--form .sbr-hero__in{padding:22px 22px 32px}

  /* tight typographic rhythm for the text-led layouts */
  .sbr-hero--centered .sbr-hero__title,.sbr-hero--typeled .sbr-hero__title,
  .sbr-hero--framed .sbr-hero__title,.sbr-hero--split .sbr-hero__title,
  .sbr-hero--form .sbr-hero__title{font-size:clamp(27px,7vw,38px);line-height:1.14;margin-bottom:12px}
  .sbr-hero--centered .sbr-hero__sub,.sbr-hero--typeled .sbr-hero__sub,
  .sbr-hero--framed .sbr-hero__sub,.sbr-hero--split .sbr-hero__sub,
  .sbr-hero--form .sbr-hero__sub{font-size:16px;line-height:1.5;margin-bottom:14px}
  .sbr-hero--centered .sbr-hero__kicker,.sbr-hero--typeled .sbr-hero__kicker,
  .sbr-hero--framed .sbr-hero__kicker,.sbr-hero--split .sbr-hero__kicker,
  .sbr-hero--form .sbr-hero__kicker{margin-bottom:12px}
  .sbr-hero--centered .sbr-hero__cta,.sbr-hero--typeled .sbr-hero__cta,
  .sbr-hero--framed .sbr-hero__cta,.sbr-hero--split .sbr-hero__cta{gap:14px;margin-bottom:0}
  .sbr-hero--centered .sbr-hero__trust,.sbr-hero--typeled .sbr-hero__trust,
  .sbr-hero--framed .sbr-hero__trust{margin-top:16px}
  .sbr-hero__stats{margin-top:16px;gap:18px}

  /* CENTERED: 3 trust chips on ONE centered row (compact so they fit) */
  .sbr-hero--centered .sbr-hero__chips{justify-content:center;flex-wrap:nowrap;gap:8px;margin-top:18px}
  .sbr-hero--centered .sbr-chip{font-size:11.5px;padding:6px 8px;gap:5px;white-space:nowrap}
  .sbr-hero--centered .sbr-chip svg{width:13px;height:13px}

  /* FRAMED: keep the signature keyline frame visible on mobile */
  .sbr-hero__frame{display:block;inset:11px}
  .sbr-hero__mast{display:block;inset-inline-end:32px;top:4px;font-size:10.5px;letter-spacing:.14em}
  .sbr-hero__foot{display:none}
  .sbr-hero__index{writing-mode:horizontal-tb;transform:none;flex-direction:row;font-size:11.5px;margin-bottom:2px}

  /* SPLIT mobile order: eyebrow → H1 → image → subtitle → CTA → trust.
     display:contents dissolves .sbr-hero__text so its children + the image are
     siblings in the grid. The CTA wrapper is targeted by its own class
     (.sbr-hero__ctarow) — a `>` selector can't reach it through display:contents.
     Element margins are zeroed so the single grid `gap` controls rhythm. */
  .sbr-hero--split .sbr-hero__text{display:contents}
  .sbr-hero--split .sbr-hero__kicker{order:1;margin-bottom:0}
  .sbr-hero--split .sbr-hero__title{order:2;margin-bottom:0}
  .sbr-hero--split .sbr-hero__media{order:3}
  .sbr-hero--split .sbr-hero__sub{order:4;margin-bottom:0}
  .sbr-hero--split .sbr-hero__ctarow{order:5}
  .sbr-hero--split .sbr-hero__chips,
  .sbr-hero--split .sbr-hero__trust,
  .sbr-hero--split .sbr-hero__stats{order:6;margin-top:0}
  .sbr-hero--split .sbr-hero__img{height:228px}

  /* FORM: form card sits right under the subtitle (above the proof) so it starts
     above the fold; proof/chips drop below it. */
  .sbr-hero--form .sbr-hero__text{display:contents}
  .sbr-hero--form .sbr-hero__kicker{order:1;margin-bottom:0}
  .sbr-hero--form .sbr-hero__title{order:2;margin-bottom:0}
  .sbr-hero--form .sbr-hero__sub{order:3;margin-bottom:0}
  .sbr-hero--form .sbr-hero__formcard{order:4;padding:22px}
  .sbr-hero--form .sbr-hero__trust,
  .sbr-hero--form .sbr-hero__chips,
  .sbr-hero--form .sbr-hero__stats{order:5;margin-top:0}

  /* photo heroes (fullbleed/video): keep their look, just trim padding */
  .sbr-hero--fullbleed .sbr-hero__in,
  .sbr-hero--video .sbr-hero__in{padding-inline:22px}
  .sbr-hero--fullbleed .sbr-hero__in{padding-bottom:48px}
  .sbr-hero--video .sbr-hero__in{padding-block:60px}
}

/* Portrait photo heroes: cap height so the photo doesn't tower over the text. */
@media(orientation:portrait){
  .sbr-hero--fullbleed,.sbr-hero--video{min-height:52vh}
}

/* ===== Full-bleed + flush-to-header + warm duotone (added 2026-05-29) ===== */
.sbr-hero{position:relative;width:100vw;max-width:100vw;margin-inline:calc(50% - 50vw)}
.sbr-has-hero #primary,.sbr-has-hero #primary>article,.sbr-has-hero .entry-content{margin-top:0;padding-top:0}
.sbr-has-hero .entry-content>:first-child{margin-block-start:0}
html.sbr-has-hero,body.sbr-has-hero{overflow-x:clip}
.sbr-hero--fullbleed .sbr-hero__bg::after,.sbr-hero--video .sbr-hero__bg::after{content:"";position:absolute;inset:0;background:rgba(224,162,60,.14);mix-blend-mode:multiply;pointer-events:none}
