/* Shared full-bleed hero system for the ten DBM customer paths. */
.dbm-full-bleed-hero {
  --dbm-hero-forest: #071b16;
  position: relative;
  isolation: isolate;
  display: flex !important;
  min-height: clamp(420px, 70vh, 820px);
  width: 100vw;
  max-width: none !important;
  margin-inline: calc(50% - 50vw);
  padding: clamp(54px, 8vw, 110px) max(24px, calc((100vw - 1120px) / 2));
  padding-inline: max(24px, calc((100vw - 1120px) / 2)) !important;
  align-items: center;
  overflow: clip;
  background: var(--dbm-hero-forest);
}
.dbm-full-bleed-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: none;
}
.dbm-full-bleed-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 26%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(4, 12, 10, .72));
}
body.dbm-shell-page .dbm-full-bleed-hero::before {
  inset: 0 !important;
  z-index: 1 !important;
  opacity: 1 !important;
  background: none !important;
}
body.dbm-shell-page .dbm-full-bleed-hero::after {
  z-index: 1 !important;
}
.dbm-full-bleed-hero > *:not(.dbm-full-bleed-hero-media):not(.dbm-full-bleed-hero-scrim):not(.dbm-inner-hero-scene):not(.dbm-3d-rail) {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  min-width: 0;
}
.dbm-full-bleed-hero > .dbm-full-bleed-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 24, 19, .9) 0%, rgba(5, 24, 19, .78) 34%, rgba(5, 24, 19, .48) 52%, rgba(5, 24, 19, .16) 72%, rgba(5, 24, 19, .04) 100%),
    linear-gradient(180deg, rgba(4, 12, 10, .12), rgba(4, 12, 10, .46));
}
/* The shared 3D layer has its own decorative pseudo-elements. The full-bleed
   hero uses the explicit scrim above instead, so route labels and perspective
   borders cannot compete with the headline or leak into the image edge. */
body .dbm-full-bleed-hero::before,
body .dbm-full-bleed-hero::after {
  content: none !important;
  display: none !important;
}
body.dbm-blog-page .dbm-full-bleed-hero > .dbm-full-bleed-hero-scrim,
body.dbm-portfolio-page .dbm-full-bleed-hero > .dbm-full-bleed-hero-scrim {
  background:
    linear-gradient(90deg, rgba(5, 24, 19, .52) 0%, rgba(5, 24, 19, .62) 35%, rgba(5, 24, 19, .84) 72%, rgba(5, 24, 19, .96) 100%),
    linear-gradient(180deg, rgba(4, 12, 10, .18), rgba(4, 12, 10, .48));
}
body.dbm-blog-page .dbm-full-bleed-hero-media img {
  object-position: left center;
  transform-origin: left center;
  transform: scale(1.12) translate3d(0, var(--dbm-hero-shift, 0px), 0);
}
body.dbm-portfolio-page .dbm-full-bleed-hero-media img {
  object-position: left center;
  transform-origin: left center;
  transform: scale(1.12) translate3d(0, var(--dbm-hero-shift, 0px), 0);
}
.dbm-full-bleed-hero > .dbm-hero-panel,
.dbm-full-bleed-hero > .dbm-offer-hero-copy,
.dbm-full-bleed-hero > .spatial-hero-copy,
.dbm-full-bleed-hero > .hero-copy {
  width: min(560px, 46vw) !important;
  max-width: 560px !important;
  margin-block: 22px;
  padding: clamp(26px, 3.8vw, 46px);
  border: 1px solid rgba(200, 255, 61, .42);
  border-radius: 16px;
  background: rgba(3, 16, 13, .74);
  backdrop-filter: blur(2px);
  box-shadow: 0 22px 56px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .06);
}
body.dbm-home-page .dbm-full-bleed-hero > .dbm-hero-panel { margin-inline: 0 !important; }
.dbm-full-bleed-hero > .dbm-full-bleed-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: translateZ(0);
}
.dbm-full-bleed-hero-media picture,
.dbm-full-bleed-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}
.dbm-full-bleed-hero-media img {
  object-fit: cover;
  object-position: var(--dbm-hero-position, center center);
  transform: scale(1) translate3d(0, var(--dbm-hero-shift, 0px), 0);
  filter: saturate(1) contrast(1.04) brightness(1.08);
  transition: transform 300ms ease-out;
}
.dbm-full-bleed-hero h1,
.dbm-full-bleed-hero h1#offer-page-title {
  max-width: 15ch;
  margin: 0 0 18px;
  color: #f5f8f2;
  font-family: var(--dbm-font-mono, "Poppins", Arial, sans-serif);
  font-size: clamp(2.8rem, 5.6vw, 5.6rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}
body.dbm-shell-page .dbm-full-bleed-hero h1,
body.dbm-shell-page .dbm-full-bleed-hero h1#offer-page-title {
  font-family: var(--dbm-font-mono, "Poppins", Arial, sans-serif) !important;
  font-size: clamp(2.8rem, 5.6vw, 5.6rem) !important;
  font-weight: 800 !important;
  line-height: .98 !important;
  letter-spacing: -.045em !important;
}
body.dbm-shell-page .dbm-full-bleed-hero {
  padding-inline: max(24px, calc((100vw - 1120px) / 2)) !important;
}
body.dbm-shell-page main > .dbm-full-bleed-hero,
body.dbm-commercial-page main > .dbm-full-bleed-hero,
body.dbm-home-page main > .dbm-full-bleed-hero {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
.dbm-full-bleed-hero .dbm-eyebrow,
.dbm-full-bleed-hero .eyebrow,
.dbm-full-bleed-hero .dbm-kicker,
.dbm-full-bleed-hero .spatial-kicker { display: none !important; }
.dbm-full-bleed-hero .dbm-full-bleed-hero-subline {
  max-width: 38ch;
  margin: 0;
  color: #f2eee4;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.24;
  text-wrap: balance;
}
.dbm-full-bleed-hero > .dbm-hero-panel > p:not(.dbm-full-bleed-hero-subline),
.dbm-full-bleed-hero > .dbm-offer-hero-copy > p:not(.dbm-full-bleed-hero-subline),
.dbm-full-bleed-hero > .spatial-hero-copy > p:not(.dbm-full-bleed-hero-subline),
.dbm-full-bleed-hero > .hero-copy > p:not(.dbm-full-bleed-hero-subline) {
  max-width: 44ch;
  margin: 18px 0 0;
  color: #d7e4dc;
  font-size: 1rem;
  line-height: 1.5;
}
.dbm-full-bleed-hero .dbm-actions,
.dbm-full-bleed-hero .hero-actions {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}
.dbm-full-bleed-hero .dbm-full-bleed-hero-primary {
  border-color: #c8ff3d;
  background: #c8ff3d;
  color: #07110f;
  box-shadow: 0 8px 0 rgba(5, 25, 17, .38);
}
.dbm-full-bleed-hero .dbm-full-bleed-hero-primary:hover,
.dbm-full-bleed-hero .dbm-full-bleed-hero-primary:focus-visible {
  background: #e1ff8a;
  transform: translateY(-2px);
}
.dbm-full-bleed-hero > .dbm-offer-hero-art,
.dbm-full-bleed-hero > .content-engine-assembly,
.dbm-full-bleed-hero > .dbm-page-hero-picture,
.dbm-full-bleed-hero > .dbm-inner-hero-scene,
.dbm-full-bleed-hero > .spatial-portfolio-bay,
.dbm-full-bleed-hero > .field-notes-folio,
.dbm-full-bleed-hero > .dbm-instrument,
.dbm-full-bleed-hero > .dbm-hero-visual {
  display: none !important;
}
.dbm-full-bleed-hero .dbm-3d-rail {
  z-index: 4;
  right: max(24px, calc((100vw - 1120px) / 2));
  bottom: 9%;
}
@media (max-width: 820px) {
  body.dbm-home-page .dbm-full-bleed-hero { min-height: 740px !important; }
  .dbm-full-bleed-hero {
    flex-direction: column;
    min-height: clamp(420px, 60vh, 650px);
    padding: 46px 20px 58px;
  }
  .dbm-full-bleed-hero::before {
    background: none;
  }
  body.dbm-shell-page .dbm-full-bleed-hero::before {
    background: none !important;
  }
  .dbm-full-bleed-hero > .dbm-full-bleed-hero-scrim {
    background:
      linear-gradient(180deg, rgba(5, 24, 19, .94) 0%, rgba(5, 24, 19, .82) 48%, rgba(5, 24, 19, .38) 100%),
      linear-gradient(90deg, rgba(5, 24, 19, .92) 0%, rgba(5, 24, 19, .62) 66%, rgba(5, 24, 19, .16) 100%);
  }
  body.dbm-blog-page .dbm-full-bleed-hero > .dbm-full-bleed-hero-scrim,
  body.dbm-portfolio-page .dbm-full-bleed-hero > .dbm-full-bleed-hero-scrim {
    background:
      linear-gradient(180deg, rgba(5, 24, 19, .94) 0%, rgba(5, 24, 19, .82) 48%, rgba(5, 24, 19, .38) 100%),
      linear-gradient(90deg, rgba(5, 24, 19, .92) 0%, rgba(5, 24, 19, .62) 66%, rgba(5, 24, 19, .16) 100%);
  }
  body.dbm-shell-page .dbm-full-bleed-hero {
    padding: 46px 20px 58px !important;
  }
  .dbm-full-bleed-hero > .dbm-hero-panel,
  .dbm-full-bleed-hero > .dbm-offer-hero-copy,
  .dbm-full-bleed-hero > .spatial-hero-copy,
  .dbm-full-bleed-hero > .hero-copy {
    width: 100% !important;
    max-width: none !important;
    padding-inline: 20px !important;
    margin-block: 12px 0;
    padding: 24px 20px;
    background: rgba(3, 16, 13, .68);
    backdrop-filter: blur(1px);
  }
  body.dbm-home-page .dbm-full-bleed-hero > .dbm-hero-panel { margin: 12px 0 0 !important; }
  .dbm-full-bleed-hero h1,
  .dbm-full-bleed-hero h1#offer-page-title { max-width: 13ch; font-size: clamp(2.55rem, 11vw, 4.5rem); }
  .dbm-full-bleed-hero-media img { object-position: var(--dbm-hero-mobile-position, var(--dbm-hero-position, center center)); }
  .dbm-full-bleed-hero .dbm-3d-rail {
    display: none;
  }
  .dbm-full-bleed-hero .dbm-3d-rail span,
  .dbm-full-bleed-hero .dbm-3d-rail span:nth-child(2),
  .dbm-full-bleed-hero .dbm-3d-rail span:nth-child(3) {
    min-height: 48px;
    padding: 8px;
    font-size: 11px;
    letter-spacing: .02em;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dbm-full-bleed-hero-media img { transform: none; transition: none; }
}
