/* Authored \n breaks are desktop-only; below the site's mobile breakpoint
   (navbar switch, 1280px) the text reflows naturally. */
@media (max-width: 1280px) {
  br.multiline-br {
    display: none;
  }
}

/* Full-bleed photo band with a left glass card (Figma frame 1440×499).
   The image spans the whole section; the content keeps the shared 1440px
   cap with 30px gutters and 30px top/bottom padding. */

.image-banner,
.image-banner *,
.image-banner *::before,
.image-banner *::after {
  box-sizing: border-box;
}

.image-banner {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 499px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--image-banner-background, #28362d);
  color: #fcfcfc;
  font-family: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
}

.image-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.image-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  max-width: 1440px;
  min-height: 499px;
  margin-inline: auto;
  padding: 30px;
}

/* Glass card: 523px text column + 30px card padding; the exact gradient
   direction and blur radius aren't in the Figma inspect, so this reuses the
   system glass recipe (155.46deg, blur 40) with the dark 20% fill */
.image-banner__card {
  display: flex;
  width: min(600px, 100%);
  flex-direction: column;
  align-self: stretch;
  padding: 28px 30px;
  border-radius: 20px;
  background: linear-gradient(
    155.46deg,
    rgba(24, 20, 30, 0.3) -50.09%,
    rgba(24, 20, 30, 0.1) 106.94%
  );
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
}

.image-banner__title {
  width: min(523px, 100%);
  margin: 0;
  color: #fcfcfc;
  font: inherit;
  font-size: 60px;
  font-style: normal;
  font-weight: 500;
  line-height: 64px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.image-banner__description {
  width: min(497px, 100%);
  margin: 37px 0 0;
  color: #fcfcfc;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.29;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

@keyframes image-banner-reveal-left {
  from {
    opacity: 0;
    transform: translateX(-36px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.image-banner-reveal .image-banner__card {
  opacity: 0;
}

.image-banner-reveal.is-revealed .image-banner__card {
  animation: image-banner-reveal-left 850ms cubic-bezier(0.4, 0, 0.2, 1) 100ms both;
}

@media (max-width: 1280px) {
  .image-banner__title {
    font-size: 46px;
    line-height: 52px;
  }

  .image-banner__description {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .image-banner {
    min-height: 0;
    border-radius: 16px;
  }

  .image-banner__inner {
    min-height: 0;
    padding: 20px 15px;
  }

  .image-banner__card {
    width: 100%;
    padding: 24px 20px;
    border-radius: 16px;
  }

  .image-banner__title {
    font-size: clamp(34px, 9vw, 40px);
    line-height: 1.1;
  }

  .image-banner__description {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .image-banner-reveal .image-banner__card {
    opacity: 1;
    animation: none;
  }
}

