.mo-b2b-home-hero-wrap,
.mo-b2b-home-hero-wrap *,
.mo-b2b-home-hero-wrap *::before,
.mo-b2b-home-hero-wrap *::after {
  box-sizing: border-box;
}

.mo-b2b-home-hero-wrap {
  --mo-b2b-forest: #173f32;
  --mo-b2b-forest-hover: #3f6944;
  --mo-b2b-matcha: #8ebb72;
  --mo-b2b-cream: #f6f3e8;
  --mo-b2b-light-cream: #fbfaf5;
  --mo-b2b-border: #dDE5DC;
  --mo-b2b-text: #24312b;
  width: 100%;
  margin: 0;
}

body:has(.mo-b2b-home-hero-wrap) {
  overflow-x: clip;
}

.wp-block-matcha-origin-b2b-home-hero.alignfull,
.mo-b2b-home-hero-wrap.alignfull {
  width: 100vw;
  max-width: none;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

.mo-b2b-home-hero {
  position: relative;
  min-height: var(--mo-b2b-hero-desktop-height, 690px);
  overflow: hidden;
  background: #17241f;
  color: #fff;
  isolation: isolate;
}

.mo-b2b-home-hero__media,
.mo-b2b-home-hero__media picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.mo-b2b-home-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--mo-b2b-hero-desktop-position, center center);
}

.mo-b2b-home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(10, 24, 19, 1) 0%,
      rgba(10, 24, 19, .88) 30%,
      rgba(10, 24, 19, .34) 58%,
      rgba(10, 24, 19, 0) 78%),
    linear-gradient(180deg, rgba(5,16,12,.05) 44%, rgba(5,16,12,.32) 100%);
  opacity: var(--mo-b2b-hero-overlay, .72);
  pointer-events: none;
}

.mo-b2b-home-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100%, 1600px);
  min-height: var(--mo-b2b-hero-desktop-height, 690px);
  align-items: center;
  margin: 0 auto;
  padding: 76px clamp(28px, 5vw, 84px);
}

.mo-b2b-home-hero__content {
  width: min(660px, 48vw);
}

.mo-b2b-home-hero__eyebrow {
  margin: 0 0 18px;
  color: #b8d58c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .19em;
  line-height: 1.25;
  text-transform: uppercase;
}

.mo-b2b-home-hero__heading {
  max-width: 720px;
  margin: 0;
  color: var(--mo-b2b-cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .99;
  text-wrap: balance;
}

.mo-b2b-home-hero__description {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.7;
}

.mo-b2b-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.mo-b2b-home-hero__button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.2;
  padding: 14px 24px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}

.mo-b2b-home-hero__button svg {
  width: 18px;
  height: 18px;
  transition: transform .18s ease;
}

.mo-b2b-home-hero__button--primary {
  background: var(--mo-b2b-light-cream);
  border-color: var(--mo-b2b-light-cream);
  color: var(--mo-b2b-forest);
}

.mo-b2b-home-hero__button--primary:hover {
  transform: translateY(-2px);
  background: var(--mo-b2b-matcha);
  border-color: var(--mo-b2b-matcha);
}

.mo-b2b-home-hero__button--secondary {
  background: rgba(23,63,50,.18);
  border-color: rgba(255,255,255,.68);
  color: #fff;
  backdrop-filter: blur(5px);
}

.mo-b2b-home-hero__button--secondary:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.12);
  border-color: #fff;
}

.mo-b2b-home-hero__button--secondary:hover svg {
  transform: translateX(4px);
}

.mo-b2b-home-hero__button:focus-visible {
  outline: 3px solid rgba(184,213,140,.75);
  outline-offset: 3px;
}

.mo-b2b-home-hero__facts {
  background: var(--mo-b2b-light-cream);
  border-top: 1px solid var(--mo-b2b-border);
  border-bottom: 1px solid var(--mo-b2b-border);
  color: var(--mo-b2b-text);
}

.mo-b2b-home-hero__facts-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: 0 clamp(28px, 5vw, 84px);
}

.mo-b2b-home-hero__fact {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-height: 104px;
  padding: 20px 26px;
  border-right: 1px solid var(--mo-b2b-border);
}

.mo-b2b-home-hero__fact:first-child {
  border-left: 1px solid var(--mo-b2b-border);
}

.mo-b2b-home-hero__fact-mark {
  position: relative;
  display: block;
  width: 13px;
  height: 13px;
  border: 2px solid var(--mo-b2b-matcha);
  border-radius: 50%;
}

.mo-b2b-home-hero__fact-mark::after {
  position: absolute;
  width: 5px;
  height: 8px;
  right: -3px;
  bottom: -5px;
  border-right: 2px solid var(--mo-b2b-matcha);
  content: "";
  transform: rotate(35deg);
}

.mo-b2b-home-hero__fact-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.mo-b2b-home-hero__fact-copy strong {
  color: var(--mo-b2b-forest);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .025em;
  line-height: 1.35;
}

.mo-b2b-home-hero__fact-copy small {
  color: #66756c;
  font-size: 12px;
  line-height: 1.35;
}

@media (max-width: 1100px) {
  .mo-b2b-home-hero__content {
    width: min(600px, 56vw);
  }

  .mo-b2b-home-hero__heading {
    font-size: clamp(44px, 5.5vw, 66px);
  }

  .mo-b2b-home-hero__facts-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mo-b2b-home-hero__fact:nth-child(2) {
    border-right: 1px solid var(--mo-b2b-border);
  }

  .mo-b2b-home-hero__fact:nth-child(3) {
    border-left: 1px solid var(--mo-b2b-border);
    border-top: 1px solid var(--mo-b2b-border);
  }

  .mo-b2b-home-hero__fact:nth-child(4) {
    border-top: 1px solid var(--mo-b2b-border);
  }
}

@media (max-width: 749px) {
  .mo-b2b-home-hero {
    min-height: var(--mo-b2b-hero-mobile-height, 760px);
  }

  .mo-b2b-home-hero__image {
    object-position: var(--mo-b2b-hero-mobile-position, 62% center);
  }

  .mo-b2b-home-hero__overlay {
    background:
      linear-gradient(180deg,
        rgba(9,24,18,.08) 10%,
        rgba(9,24,18,.25) 42%,
        rgba(9,24,18,.88) 76%,
        rgba(9,24,18,.97) 100%);
  }

  .mo-b2b-home-hero__inner {
    min-height: var(--mo-b2b-hero-mobile-height, 760px);
    align-items: flex-end;
    padding: 36px 22px 42px;
  }

  .mo-b2b-home-hero__content {
    width: 100%;
  }

  .mo-b2b-home-hero__eyebrow {
    margin-bottom: 12px;
    font-size: 10px;
  }

  .mo-b2b-home-hero__heading {
    font-size: clamp(39px, 12vw, 54px);
    line-height: 1.02;
  }

  .mo-b2b-home-hero__description {
    margin-top: 17px;
    font-size: 15px;
    line-height: 1.58;
  }

  .mo-b2b-home-hero__actions {
    flex-direction: column;
    margin-top: 25px;
  }

  .mo-b2b-home-hero__button {
    width: 100%;
    min-height: 50px;
  }

  .mo-b2b-home-hero__facts-inner {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .mo-b2b-home-hero__fact,
  .mo-b2b-home-hero__fact:first-child,
  .mo-b2b-home-hero__fact:nth-child(3) {
    min-height: 76px;
    border-top: 1px solid var(--mo-b2b-border);
    border-right: 0;
    border-left: 0;
    padding: 16px 4px;
  }

  .mo-b2b-home-hero__fact:first-child {
    border-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mo-b2b-home-hero__button,
  .mo-b2b-home-hero__button svg {
    transition: none;
  }
}
