.bl-hero {
  --bl-hero-header: var(--bl-header-height, 5rem);
  --bl-hero-ink: #f5f8f7;
  --bl-hero-muted: #a8b4b1;
  position: relative;
  z-index: 0;
  min-block-size: 132svh;
  margin-block-start: calc(-1 * var(--bl-hero-header));
  color: var(--bl-hero-ink);
  background: var(--bl-bg-deep, #050707);
  isolation: isolate;
}

.bl-hero,
.bl-hero *,
.bl-hero *::before,
.bl-hero *::after {
  box-sizing: border-box;
}

.bl-hero__stage {
  position: sticky;
  inset-block-start: 0;
  display: grid;
  min-block-size: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 47%, rgba(61, 191, 176, .075), transparent 27%),
    linear-gradient(180deg, #050707 0%, #070b0b 62%, #050707 100%);
}

.bl-hero__stage::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: '';
  opacity: .19;
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
}

.bl-hero__environment {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.bl-hero__falloff {
  position: absolute;
  inset: 17% 25%;
  border-radius: 50%;
  background: rgba(61, 191, 176, .055);
  filter: blur(60px);
}

.bl-hero__system {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  color: var(--bl-color-brand, #3dbfb0);
  overflow: visible;
}

.bl-hero__depth {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
}

.bl-hero__depth--back { opacity: .42; }
.bl-hero__depth--mid { opacity: .66; }
.bl-hero__depth--front { opacity: .88; }

.bl-hero__gridline,
.bl-hero__technical-line,
.bl-hero__plane,
.bl-hero__ring,
.bl-hero__arc,
.bl-hero__axis,
.bl-hero__core-frame,
.bl-hero__core-mark,
.bl-hero__signal {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.bl-hero__gridline {
  stroke: rgba(245, 248, 247, .12);
  stroke-width: .65;
  stroke-dasharray: 2 13;
}

.bl-hero__technical-line {
  stroke: currentColor;
  stroke-width: .75;
  opacity: .34;
}

.bl-hero__plane {
  fill: rgba(61, 191, 176, .018);
  stroke: rgba(61, 191, 176, .16);
  stroke-width: .75;
}

.bl-hero__ring {
  stroke: currentColor;
  stroke-width: .85;
  stroke-dasharray: 86 24 9 48;
  opacity: .42;
}

.bl-hero__ring--two {
  stroke-dasharray: 38 18 4 34;
  opacity: .55;
}

.bl-hero__arc {
  stroke: currentColor;
  stroke-width: 1.15;
  opacity: .62;
}

.bl-hero__axis {
  stroke: rgba(245, 248, 247, .11);
  stroke-width: .65;
  stroke-dasharray: 1 11;
}

.bl-hero__core-frame {
  stroke: currentColor;
  stroke-width: 1.05;
  opacity: .62;
}

.bl-hero__core-frame--inner {
  opacity: .34;
  stroke-dasharray: 7 5;
}

.bl-hero__core-mark {
  stroke: rgba(245, 248, 247, .25);
  stroke-width: .65;
}

.bl-hero__nodes circle {
  fill: var(--bl-color-brand, #3dbfb0);
  filter: drop-shadow(0 0 5px rgba(61, 191, 176, .45));
}

.bl-hero__signal {
  stroke-width: 1;
}

.bl-hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  inline-size: 100%;
  min-block-size: 100svh;
  padding-block: calc(var(--bl-hero-header) + clamp(2.5rem, 6vh, 5rem)) clamp(2.25rem, 6vh, 4.5rem);
  text-align: center;
}

.bl-hero__eyebrow {
  max-inline-size: 72ch;
  margin: 0 0 clamp(1.25rem, 2.8vh, 2rem);
  color: var(--bl-hero-muted);
  font: 500 clamp(.67rem, .59rem + .25vw, .78rem)/1.6 var(--bl-font-ui, system-ui, sans-serif);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.bl-hero__title {
  display: flex;
  flex-direction: column;
  max-inline-size: none;
  inline-size: 100%;
  margin: 0;
  color: var(--bl-hero-ink);
  font: 600 clamp(3.2rem, 6.7vw, 7rem)/.93 var(--bl-font-display, system-ui, sans-serif);
  letter-spacing: -.065em;
  text-wrap: balance;
  text-shadow: 0 1px 30px rgba(5, 7, 7, .78);
  overflow-wrap: anywhere;
}

/* Padding keeps descenders (ç, p) inside the clip; flex column stops the negative margins from
   collapsing, so the line rhythm stays at line-height + .08em. */
.bl-hero__title-mask {
  display: block;
  overflow: hidden;
  padding-block: .16em;
  margin-block: -.12em;
  transform-origin: 50% 100%;
}

.bl-hero__title-line {
  display: block;
  white-space: nowrap;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}

.bl-hero__complement {
  max-inline-size: 42ch;
  margin: clamp(1.35rem, 3.2vh, 2.25rem) 0 0;
  color: var(--bl-hero-muted);
  font: 400 clamp(.98rem, .9rem + .28vw, 1.12rem)/1.65 var(--bl-font-ui, system-ui, sans-serif);
  text-wrap: balance;
}

.bl-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-block-start: clamp(1.5rem, 3.8vh, 2.5rem);
}

.bl-hero .bl-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-block-size: 3.25rem;
  padding: .82rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--bl-radius-sm, .375rem);
  color: var(--bl-hero-ink);
  font: 600 .9rem/1.25 var(--bl-font-ui, system-ui, sans-serif);
  text-decoration: none;
  transition: border-color 200ms, background-color 200ms, box-shadow 200ms, color 200ms, transform 200ms;
}

.bl-hero .bl-hero__button--primary {
  color: var(--bl-bg-deep, #050707);
  background: var(--bl-color-brand, #3dbfb0);
}

.bl-hero .bl-hero__button--secondary {
  border-color: rgba(245, 248, 247, .16);
  background: rgba(13, 19, 18, .55);
  backdrop-filter: blur(8px);
}

.bl-hero__button svg {
  flex: 0 0 auto;
  transition: transform 200ms;
}

.bl-hero .bl-hero__button:focus-visible {
  outline: 2px solid var(--bl-color-brand, #3dbfb0);
  outline-offset: 4px;
}

.bl-hero__labels {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.bl-hero__label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .55rem;
  color: rgba(168, 180, 177, .8);
  font: 500 .68rem/1.2 var(--bl-font-ui, system-ui, sans-serif);
  letter-spacing: .11em;
  text-transform: uppercase;
  white-space: nowrap;
  will-change: transform, opacity;
}

.bl-hero__label > span {
  inline-size: 1.65rem;
  block-size: 1px;
  background: linear-gradient(90deg, transparent, rgba(61, 191, 176, .7));
}

.bl-hero__label--brand { inset: 25% auto auto 7%; }
.bl-hero__label--presence { inset: 21% 7% auto auto; }
.bl-hero__label--acquisition { inset: 49% auto auto 3.5%; }
.bl-hero__label--sales { inset: 46% 3% auto auto; }
.bl-hero__label--clients { inset: auto auto 19% 10%; }
.bl-hero__label--technology { inset: auto 9% 17% auto; }

.bl-hero__edge {
  position: absolute;
  inset: auto 0 0;
  z-index: 4;
  block-size: 18svh;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, #050707 88%);
}

@media (hover: hover) and (pointer: fine) {
  .bl-hero .bl-hero__button--primary:hover {
    color: var(--bl-bg-deep, #050707);
    background: var(--bl-color-brand, #3dbfb0);
    box-shadow: inset 0 0 0 1px rgba(245, 248, 247, .25), 0 4px 18px rgba(61, 191, 176, .14);
    transform: translateY(-1px);
  }

  .bl-hero .bl-hero__button--secondary:hover {
    color: var(--bl-hero-ink);
    border-color: rgba(61, 191, 176, .4);
    background: rgba(18, 27, 25, .72);
  }

  .bl-hero__button:hover svg { transform: translateX(3px); }
}

@media (max-width: 1199px) {
  .bl-hero__title { font-size: clamp(3rem, 7.25vw, 5.8rem); }
  .bl-hero__label--acquisition { inset-inline-start: 2%; }
  .bl-hero__label--sales { inset-inline-end: 2%; }
}

@media (max-width: 1023px) {
  .bl-hero {
    --bl-hero-header: var(--bl-header-mobile-height, 4.5rem);
    min-block-size: 124svh;
  }

  .bl-hero__content {
    padding-block-start: calc(var(--bl-hero-header) + clamp(2rem, 6vh, 4rem));
  }

  .bl-hero__system {
    inline-size: 122%;
    margin-inline-start: -11%;
  }

  .bl-hero__depth--back { opacity: .28; }
  .bl-hero__label--brand { inset-inline-start: 3%; }
  .bl-hero__label--presence { inset-inline-end: 3%; }
}

@media (max-width: 767px) {
  .bl-hero {
    min-block-size: auto;
  }

  .bl-hero__stage::before {
    opacity: .13;
    background-size: 3rem 3rem;
  }

  .bl-hero__falloff {
    inset: 25% 7%;
    filter: blur(40px);
  }

  .bl-hero__system {
    position: absolute;
    inset: 10% auto auto 50%;
    inline-size: 180%;
    block-size: 76%;
    margin: 0;
    transform: translateX(-50%);
  }

  .bl-hero__depth--back .bl-hero__plane,
  .bl-hero__depth--back .bl-hero__technical-line,
  .bl-hero__nodes circle:nth-child(n+7) {
    display: none;
  }

  .bl-hero__content {
    min-block-size: auto;
    justify-content: flex-start;
    padding-block: calc(var(--bl-hero-header) + clamp(1.5rem, 5vh, 3rem)) clamp(24rem, 65vw, 30rem);
  }

  .bl-hero__eyebrow {
    max-inline-size: 34ch;
    margin-block-end: 1.1rem;
    font-size: .62rem;
    letter-spacing: .105em;
  }

  .bl-hero__title {
    max-inline-size: 12ch;
    font-size: clamp(2.55rem, 12.2vw, 4.15rem);
    line-height: .98;
    letter-spacing: -.055em;
  }

  .bl-hero__title-line { white-space: normal; }

  .bl-hero__complement {
    max-inline-size: 31ch;
    margin-block-start: 1.2rem;
    font-size: .96rem;
    line-height: 1.55;
  }

  .bl-hero__actions {
    flex-direction: column;
    inline-size: min(100%, 22rem);
    margin-block-start: 1.35rem;
  }

  .bl-hero .bl-hero__button {
    inline-size: 100%;
    min-block-size: 3.15rem;
  }

  .bl-hero__labels {
    position: relative;
    inset: auto;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem .35rem;
    inline-size: min(100%, 24rem);
    margin-block-start: clamp(1.5rem, 4vh, 2.5rem);
  }

  .bl-hero__label {
    position: static;
    justify-content: center;
    gap: .35rem;
    font-size: .56rem;
    letter-spacing: .075em;
  }

  .bl-hero__label > span { inline-size: .75rem; }
  .bl-hero__edge { block-size: 11svh; }
}

@media (max-width: 374px) {
  .bl-hero__content { padding-inline: .875rem; }
  .bl-hero__title { font-size: clamp(2.35rem, 12vw, 3rem); }
  .bl-hero__eyebrow { max-inline-size: 31ch; }
  .bl-hero__labels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) and (max-height: 700px) {
  .bl-hero { min-block-size: auto; }
  .bl-hero__stage { position: relative; min-block-size: 44rem; }
  .bl-hero__content { min-block-size: 44rem; }
}

@media (prefers-reduced-motion: reduce) {
  .bl-hero *,
  .bl-hero *::before,
  .bl-hero *::after {
    animation: none;
    scroll-behavior: auto;
    transition-duration: 0ms;
  }

  .bl-hero__depth,
  .bl-hero__title-mask,
  .bl-hero__title-line,
  .bl-hero__label {
    transform: none;
    opacity: 1;
  }
}

@media (forced-colors: active) {
  .bl-hero__environment { display: none; }
  .bl-hero .bl-hero__button { border-color: ButtonText; }
  .bl-hero .bl-hero__button--primary { color: ButtonText; background: ButtonFace; }
}
