/* =========================================================
   MANCHESTER BOILERS — MILO HERO
   Minimal / responsive
   ========================================================= */

.mb-milo-hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 158px 0 64px;
}

.mb-milo-hero__shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  align-items: center;
  width: 100%;
  min-height: 620px;
  overflow: hidden;

  border: 1px solid rgba(62, 166, 255, .15);
  border-radius: 38px;

  background:
    radial-gradient(
      circle at 80% 30%,
      rgba(62, 166, 255, .22),
      transparent 31%
    ),
    radial-gradient(
      circle at 10% 5%,
      rgba(255, 77, 77, .1),
      transparent 27%
    ),
    linear-gradient(
      135deg,
      #091426 0%,
      #0b1830 55%,
      #09182d 100%
    );

  box-shadow:
    0 28px 80px rgba(0, 0, 0, .32),
    inset 0 1px 0 rgba(255, 255, 255, .025);
}


/* ========================
   COPY
   ======================== */

.mb-milo-hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 760px;
  padding: 72px clamp(38px, 5vw, 70px);
}

.mb-milo-hero__title {
  margin: 0;
  max-width: 740px;

  color: #fff;

  font-family: "Outfit", Inter, Arial, sans-serif;
  font-size: clamp(3.7rem, 5.2vw, 5.4rem);
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.052em;

  text-wrap: balance;
}

.mb-milo-hero__text {
  max-width: 610px;
  margin: 28px 0 0;

  color: rgba(255, 255, 255, .74);

  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1.05rem, 1.35vw, 1.18rem);
  font-weight: 450;
  line-height: 1.65;

  text-wrap: pretty;
}


/* ========================
   GAS SAFE PILL
   ======================== */

.mb-milo-hero__gas {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  width: max-content;
  max-width: 100%;
  margin-top: 28px;
  padding: 11px 16px;

  border: 1px solid rgba(62, 166, 255, .22);
  border-radius: 999px;

  background: rgba(255, 255, 255, .065);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .06),
    0 8px 24px rgba(0, 0, 0, .12);

  color: rgba(255, 255, 255, .88);

  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mb-milo-hero__gas strong {
  color: #fff;
  font-weight: 800;
}

.mb-milo-hero__gas-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #3ea6ff;

  box-shadow: 0 0 0 4px rgba(62, 166, 255, .11);
}


/* ========================
   MILO
   ======================== */

.mb-milo-hero__visual {
  position: relative;
  align-self: stretch;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  min-width: 0;
  min-height: 620px;
}

.mb-milo-hero__glow {
  position: absolute;
  z-index: 0;

  top: 48%;
  left: 52%;

  width: min(38vw, 520px);
  aspect-ratio: 1;

  transform: translate(-50%, -50%);

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(151, 211, 255, .9) 0%,
      rgba(62, 166, 255, .35) 34%,
      rgba(255, 77, 77, .11) 58%,
      transparent 74%
    );

  filter: blur(38px);
  opacity: .9;

  pointer-events: none;
}

.mb-milo-hero__milo {
  position: relative;
  z-index: 2;

  display: block;

  width: min(125%, 620px);
  max-width: none;
  height: auto;

  transform: translate(-28px, 66px);

  filter: drop-shadow(
    0 30px 45px rgba(0, 0, 0, .34)
  );
}


/* =========================================================
   LAPTOP
   ========================================================= */

@media (max-width: 1200px) {

  .mb-milo-hero__shell {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    min-height: 590px;
  }

  .mb-milo-hero__content {
    padding-inline: 42px;
  }

  .mb-milo-hero__title {
    font-size: clamp(3.25rem, 5vw, 4.6rem);
  }

  .mb-milo-hero__visual {
    min-height: 590px;
  }

  .mb-milo-hero__milo {
    width: min(128%, 560px);
    transform: translate(-20px, 62px);
  }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .mb-milo-hero {
    padding-top: 125px;
    padding-bottom: 50px;
  }

  .mb-milo-hero__shell {
    grid-template-columns: 1fr;

    min-height: 0;

    border-radius: 30px;

    text-align: center;
  }

  .mb-milo-hero__content {
    max-width: 760px;
    margin-inline: auto;

    padding:
      54px
      clamp(24px, 6vw, 48px)
      12px;
  }

  .mb-milo-hero__title {
    max-width: 700px;
    margin-inline: auto;

    font-size: clamp(3.2rem, 9vw, 5rem);
  }

  .mb-milo-hero__text {
    max-width: 620px;
    margin: 24px auto 0;
  }

  .mb-milo-hero__gas {
    margin: 26px auto 0;
  }

  .mb-milo-hero__visual {
    min-height: 380px;
  }

  .mb-milo-hero__glow {
    top: 54%;

    width: min(68vw, 470px);

    filter: blur(34px);
  }

  .mb-milo-hero__milo {
    width: min(100%, 470px);

    transform: translateY(58px);
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

  .mb-milo-hero {
    padding-top: 100px;
    padding-bottom: 38px;
  }

  .mb-milo-hero__shell {
    border-radius: 24px;
  }

  .mb-milo-hero__content {
    padding:
      38px
      20px
      4px;
  }

  .mb-milo-hero__title {
    font-size: clamp(2.65rem, 12vw, 3.65rem);
    line-height: .98;
    letter-spacing: -.045em;
  }

  .mb-milo-hero__text {
    margin-top: 20px;

    font-size: 16px;
    line-height: 1.58;
  }

  .mb-milo-hero__gas {
    justify-content: center;

    margin-top: 22px;
    padding: 10px 14px;

    font-size: 12.5px;
  }

  .mb-milo-hero__visual {
    min-height: 290px;
  }

  .mb-milo-hero__glow {
    width: min(88vw, 370px);
    filter: blur(28px);
  }

  .mb-milo-hero__milo {
    width: min(108%, 360px);

    transform: translateY(46px);
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 390px) {

  .mb-milo-hero__content {
    padding-inline: 16px;
  }

  .mb-milo-hero__title {
    font-size: clamp(2.4rem, 12.5vw, 3rem);
  }

  .mb-milo-hero__visual {
    min-height: 250px;
  }

  .mb-milo-hero__milo {
    width: min(112%, 325px);
  }

  .mb-milo-hero__gas {
    white-space: normal;
    text-align: center;
  }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .mb-milo-hero *,
  .mb-milo-hero *::before,
  .mb-milo-hero *::after {
    animation: none !important;
    transition: none !important;
  }
}