/* Brawnd homepage hero premium layout refinement v1
   Final hero lock: calm scale, deliberate spacing and optical alignment while
   preserving the approved content, motion and component concepts. */

/* Header ---------------------------------------------------------------
   Keep the navigation dark and integrated with the hero, but give it enough
   material separation to read as a deliberate fixed surface rather than a
   continuation of the page background. */
.site-header {
  background: rgba(44,32,35, .96) !important;
  backdrop-filter: blur(18px) saturate(116%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(116%) !important;
  border-bottom: 1px solid rgba(169, 167, 161, .16) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .11) !important;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}

.site-header.scrolled {
  background: rgba(44,32,35, .98) !important;
  border-bottom-color: rgba(169, 167, 161, .21) !important;
  box-shadow: 0 13px 34px rgba(0, 0, 0, .16) !important;
}

/* Desktop composition --------------------------------------------------- */
.b2-hero {
  min-height: 750px !important;
  padding: 122px 0 44px !important;
}

.b2-hero .b2-hero-dashboard {
  grid-template-columns: minmax(330px, .98fr) minmax(360px, 1.05fr) minmax(240px, .66fr);
  gap: clamp(34px, 3.4vw, 60px);
  min-height: 584px;
  align-items: stretch;
}

.b2-hero .b2-hero-copy {
  padding-top: 10px;
}

/* Slightly restrained lead scale for a calmer premium hierarchy. */
.b2-hero .b2-hero-copy .hero-headline {
  font-size: clamp(46px, 3.75vw, 60px) !important;
  line-height: .90 !important;
  letter-spacing: -.056em !important;
}

.b2-hero .hero-headline-line--lead,
.b2-hero .hero-headline-line--edge {
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
}

.b2-hero .hero-headline-line--edge {
  margin-top: .11em !important;
}

.b2-hero .hero-edge-accent {
  margin-left: 0 !important;
}

/* Competitive edge sits a touch smaller inside the existing hand-drawn ring,
   creating more breathing room without weakening the emphasized phrase. */
.b2-hero .hero-edge-text {
  transform: scale(.92) !important;
  transform-origin: left bottom !important;
}

/* CTA rhythm: preserve the compact button treatment but give the headline and
   hand-drawn emphasis a little more breathing room above the actions. */
.b2-hero .hero-actions--dual {
  margin-top: 56px !important;
  gap: 12px !important;
}

.b2-hero .hero-actions--dual .hero-cta {
  min-height: 46px !important;
  padding: 0 18px !important;
  gap: 18px !important;
  font-size: 12.5px !important;
}

/* Social proof stays open and editorial rather than becoming another card.
   A quiet eyebrow and partial rule create structure; the stats themselves stay
   unboxed so the left side retains breathing room. */
.b2-hero .b2-hero-proof {
  position: relative;
  width: min(100%, 410px);
  margin-top: clamp(82px, 7.8vh, 96px) !important;
  padding-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 16px;
  border-top: 0 !important;
  border-bottom: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.b2-hero .b2-hero-proof::before {
  content: "PROVEN RESULTS";
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--body);
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .18em;
  color: rgba(244, 240, 232, .78);
  pointer-events: none;
}

.b2-hero .b2-hero-proof::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 104px;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(169, 167, 161, .34) 0%, rgba(243,239,233,.12) 38%, transparent 100%);
  pointer-events: none;
}

.b2-hero .b2-hero-proof-item {
  position: relative;
  padding: 10px 0 12px;
  border-left: 0 !important;
}

.b2-hero .b2-hero-proof-item + .b2-hero-proof-item {
  border-left: 0 !important;
}

.b2-hero .b2-hero-proof-item + .b2-hero-proof-item::before {
  content: none !important;
  display: none !important;
}

.b2-hero .b2-hero-proof-item strong {
  font-size: clamp(28px, 2.05vw, 33px);
  line-height: .92;
  letter-spacing: -.048em;
  color: #F1EEE7;
}

.b2-hero .b2-hero-proof-item span {
  max-width: 14ch;
  margin-top: 10px;
  font-size: 8.25px;
  line-height: 1.38;
  letter-spacing: .085em;
  color: #A9A7A1;
}

/* Center visual: keep the approved upward placement, but reduce the animated
   block mass so it reads as supporting motion rather than a competing focal point. */
.b2-hero .b2-hero-center {
  justify-content: center;
  top: -42px;
}

.b2-hero .b2-hero-center .hero-visual {
  height: 392px !important;
}

.b2-hero .hero-visual::before {
  inset: 16% 9% 13% !important;
}

.b2-hero .hero-visual > .brawnd-block-stage {
  scale: .87 !important;
  filter: drop-shadow(0 26px 62px rgba(0,0,0,.36)) drop-shadow(0 0 34px rgba(90, 73, 63, .12)) !important;
}

.b2-hero .b2-hero-pillars {
  margin-top: -5px;
  transform: scale(.91);
  transform-origin: center top;
}

.b2-hero .b2-hero-pillars span {
  padding: 8px 15px;
  font-size: 9.5px;
}

/* Right column: restore enough scale to feel intentional and premium while
   keeping the cards clearly secondary to the headline and center visual. */
.b2-hero .b2-hero-insights {
  width: 100%;
  max-width: 248px;
  justify-self: end;
  align-content: start;
  padding-top: 28px;
  gap: 17px;
}

.b2-hero .b2-insight-card {
  padding: 17px;
  border-radius: 19px;
}

.b2-hero .b2-card-label {
  font-size: 8.25px;
  letter-spacing: .15em;
}

.b2-hero .b2-insight-card strong {
  margin-top: 14px;
  font-size: clamp(20.5px, 1.62vw, 27px);
  line-height: .99;
}

.b2-hero .b2-journey-path {
  height: 90px;
  margin-top: 14px;
  padding-top: 13px;
}

.b2-hero .b2-card-axis {
  margin-top: 8px;
  font-size: 7.5px;
}

.b2-hero .b2-growth-line {
  margin-top: 17px;
}

.b2-hero .b2-growth-tags {
  gap: 8px;
  padding-top: 12px;
}

.b2-hero .b2-growth-tags span {
  font-size: 10.75px;
}

.b2-hero .b2-growth-tags span + span {
  padding-left: 13px;
}

.b2-hero .b2-growth-tags small {
  margin-bottom: 4px;
  font-size: 7px;
}

/* Controlled desktop compression before the layout changes shape. */
@media (max-width: 1320px) {
  .b2-hero .b2-hero-dashboard {
    grid-template-columns: minmax(315px, .98fr) minmax(345px, 1fr) minmax(235px, .62fr);
    gap: 32px;
  }

  .b2-hero .b2-hero-center {
    top: -34px;
  }

  .b2-hero .b2-hero-center .hero-visual {
    height: 382px !important;
  }

  .b2-hero .hero-visual > .brawnd-block-stage {
    scale: .84 !important;
  }

  .b2-hero .b2-hero-insights {
    max-width: 240px;
  }
}

/* Laptop / small desktop: two primary columns, insights below. */
@media (max-width: 1240px) {
  .b2-hero {
    min-height: 0 !important;
    padding-bottom: 52px !important;
  }

  .b2-hero .b2-hero-dashboard {
    grid-template-columns: minmax(300px, .96fr) minmax(340px, 1.04fr);
    gap: 46px 44px;
    min-height: 0;
  }

  .b2-hero .b2-hero-proof {
    width: min(100%, 420px);
    margin-top: 68px !important;
  }

  .b2-hero .b2-hero-center {
    top: -22px;
  }

  .b2-hero .b2-hero-center .hero-visual {
    height: 368px !important;
  }

  .b2-hero .hero-visual > .brawnd-block-stage {
    scale: .82 !important;
  }

  .b2-hero .b2-hero-insights {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 650px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-self: center;
    padding-top: 0;
    gap: 18px;
  }

  .b2-hero .b2-insight-card {
    min-height: 0;
  }
}

/* Tablet: stop squeezing the desktop composition. */
@media (max-width: 900px) {
  .b2-hero {
    padding: 112px 0 50px !important;
  }

  .b2-hero .b2-hero-dashboard {
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  .b2-hero .b2-hero-copy {
    order: 1;
    max-width: 610px;
  }

  .b2-hero .b2-hero-proof {
    margin-top: 52px !important;
  }

  .b2-hero .b2-hero-center {
    order: 2;
    top: 0;
  }

  .b2-hero .b2-hero-center .hero-visual {
    height: 354px !important;
  }

  .b2-hero .hero-visual > .brawnd-block-stage {
    scale: .82 !important;
  }

  .b2-hero .b2-hero-insights {
    order: 3;
    align-self: center;
    max-width: 620px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

/* Mobile: intentionally stacked rather than compressed. */
@media (max-width: 760px) {
  .b2-hero {
    padding: 104px 0 44px !important;
  }

  .b2-hero .b2-hero-dashboard {
    gap: 42px;
  }

  .b2-hero .b2-hero-copy {
    max-width: none;
    padding-top: 4px;
  }

  .b2-hero .b2-hero-copy .hero-headline {
    font-size: clamp(34px, 9.2vw, 44px) !important;
    line-height: .92 !important;
    letter-spacing: -.054em !important;
  }

  .b2-hero .hero-headline-line--lead,
  .b2-hero .hero-headline-line--edge {
    font-size: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
  }

  .b2-hero .hero-headline-line--edge {
    margin-top: .12em !important;
  }

  .b2-hero .hero-actions--dual {
    margin-top: 30px !important;
    gap: 10px !important;
  }

  .b2-hero .hero-actions--dual .hero-cta {
    min-height: 46px !important;
    padding: 0 16px !important;
    gap: 14px !important;
    font-size: 12px !important;
  }

  .b2-hero .b2-hero-proof {
    order: initial;
    width: 100%;
    margin-top: 42px !important;
    padding-top: 28px;
    column-gap: 10px;
  }

  .b2-hero .b2-hero-proof::before {
    font-size: 7.25px;
    letter-spacing: .16em;
  }

  .b2-hero .b2-hero-proof::after {
    left: 91px;
  }

  .b2-hero .b2-hero-proof-item {
    padding: 9px 0 12px;
  }

  .b2-hero .b2-hero-proof-item strong {
    font-size: clamp(23px, 6.8vw, 28px);
  }

  .b2-hero .b2-hero-proof-item span {
    max-width: 13ch;
    margin-top: 8px;
    font-size: 7.5px;
    line-height: 1.4;
    letter-spacing: .07em;
  }

  .b2-hero .b2-hero-center .hero-visual {
    height: 286px !important;
  }

  .b2-hero .hero-visual::before {
    inset: 16% 8% 12% !important;
  }

  .b2-hero .hero-visual > .brawnd-block-stage {
    scale: .76 !important;
  }

  .b2-hero .b2-hero-pillars {
    margin-top: -5px;
    transform: scale(.92);
  }

  .b2-hero .b2-hero-insights {
    max-width: none;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .b2-hero .b2-insight-card {
    width: 100%;
    padding: 20px;
  }

  .b2-hero .b2-card-label {
    font-size: 8.5px;
  }

  .b2-hero .b2-insight-card strong {
    font-size: clamp(25px, 7vw, 30px);
  }

  .b2-hero .b2-journey-path {
    height: 100px;
  }

  .b2-hero .b2-growth-line {
    margin-top: 20px;
  }

  .b2-hero .b2-growth-tags span {
    font-size: 12px;
  }

  .b2-hero .b2-growth-tags small {
    font-size: 7.5px;
  }
}

@media (max-width: 420px) {
  .b2-hero .b2-hero-center .hero-visual {
    height: 266px !important;
  }

  .b2-hero .hero-visual > .brawnd-block-stage {
    scale: .69 !important;
  }

  .b2-hero .b2-hero-proof-item {
    padding-inline: 0;
  }
}

/* Let the hero run uninterrupted behind the floating navigation. */
body.home .site-header,
body.home .site-header.scrolled {
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
