.bombs-hero,
.bombs-hero * {
  box-sizing: border-box;
}

.bombs-hero {
  --bombs-hero-ink: #064f81;
  --bombs-hero-ink-deep: #073d62;
  --bombs-hero-body: #475c70;
  --bombs-hero-surface: #f7f0e7;
  --bombs-hero-surface-deep: #eee1d2;
  --bombs-hero-mobile-image: #dbe7e5;
  --bombs-hero-mobile-eyebrow-backdrop: #c8aa8c;
  --bombs-hero-accent: #9f4f46;
  --bombs-hero-focus: #9f4f46;
  --bombs-hero-font-family:
    Gilroy, "Avenir Next", "Century Gothic", Arial, sans-serif;
  --bombs-hero-space-xs: 4px;
  --bombs-hero-space-sm: 8px;
  --bombs-hero-space-md: 16px;
  --bombs-hero-space-lg: 24px;
  --bombs-hero-space-xl: 32px;
  --bombs-hero-content-max: 560px;
  --bombs-hero-action-radius: 12px;
  --bombs-hero-mobile-overlap-offset: -68px;
  --bombs-hero-mobile-shape-radius-inline: 224px;
  --bombs-hero-mobile-shape-radius-block: 44px;
  --bombs-hero-mobile-media-height: clamp(240px, 60vw, 264px);
  --bombs-hero-eyebrow-size: 0.76rem;
  --bombs-hero-eyebrow-line-height: 1.3;
  --bombs-hero-title-size: clamp(2.65rem, 3vw, 3.1rem);
  --bombs-hero-title-line-height: 1.02;
  --bombs-hero-copy-size: clamp(1rem, 1.08vw, 1.08rem);
  --bombs-hero-copy-line-height: 1.55;
  --bombs-hero-action-size: 0.98rem;
  --bombs-hero-action-line-height: 1;

  position: relative;
  overflow: hidden;
  min-height: 660px;
  color: var(--bombs-hero-body);
  background: var(--bombs-hero-surface);
  font-family: var(--bombs-hero-font-family);
}

.bombs-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(
    90deg,
    rgba(247, 240, 231, 0.98) 0%,
    rgba(247, 240, 231, 0.94) 30%,
    rgba(247, 240, 231, 0.76) 42%,
    rgba(247, 240, 231, 0.24) 52%,
    transparent 62%
  );
  pointer-events: none;
}

.bombs-hero-inner {
  position: relative;
  display: grid;
  grid-template-areas: "content media";
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  min-height: inherit;
  max-width: 1920px;
  margin: 0 auto;
}

.bombs-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  grid-area: content;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(32px, 3.2vw, 48px) 80px
    max(48px, calc((100vw - 1328px) / 2));
}

.bombs-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--bombs-hero-accent);
  font-family: var(--bombs-hero-font-family);
  font-size: var(--bombs-hero-eyebrow-size);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: var(--bombs-hero-eyebrow-line-height);
}

.bombs-hero-eyebrow--mobile {
  display: none;
}

.bombs-hero-eyebrow::before {
  width: 34px;
  height: 1px;
  content: "";
  background: currentColor;
}

.bombs-hero-title {
  max-width: 100%;
  margin: 0;
  color: var(--bombs-hero-ink);
  font-family: var(--bombs-hero-font-family);
  font-size: var(--bombs-hero-title-size);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: var(--bombs-hero-title-line-height);
  text-wrap: balance;
}

.bombs-hero-title-line {
  display: block;
}

.bombs-hero-copy {
  max-width: var(--bombs-hero-content-max);
  margin-top: var(--bombs-hero-space-lg);
}

.bombs-hero-copy p {
  margin: 0;
  font-family: var(--bombs-hero-font-family);
  font-size: var(--bombs-hero-copy-size);
  font-weight: 500;
  line-height: var(--bombs-hero-copy-line-height);
  text-wrap: pretty;
}

.bombs-hero-copy p + p {
  margin-top: var(--bombs-hero-space-md);
  color: #5d6a72;
}

.bombs-hero-actions {
  display: flex;
  align-items: center;
  gap: var(--bombs-hero-space-lg);
  margin-top: 28px;
}

.bombs-hero-primary-action,
.bombs-hero-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  font-family: var(--bombs-hero-font-family);
  font-size: var(--bombs-hero-action-size);
  font-weight: 600;
  line-height: var(--bombs-hero-action-line-height);
  text-align: center;
  text-decoration: none;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    transform 220ms ease;
}

.bombs-hero .bombs-hero-primary-action {
  padding: 0 24px;
  border: 1px solid var(--bombs-hero-ink);
  border-radius: var(--bombs-hero-action-radius);
  color: #fff;
  background: var(--bombs-hero-ink);
  box-shadow: 0 12px 28px rgba(7, 61, 98, 0.16);
}

.bombs-hero .bombs-hero-primary-action:hover {
  border-color: var(--bombs-hero-ink-deep);
  color: #fff;
  background: var(--bombs-hero-ink-deep);
  transform: translateY(-2px);
}

.bombs-hero-secondary-action {
  gap: var(--bombs-hero-space-sm);
  color: var(--bombs-hero-ink);
}

.bombs-hero-secondary-action span {
  transition: transform 220ms ease;
}

.bombs-hero-secondary-action:hover span {
  transform: translateX(4px);
}

.bombs-hero-primary-action:active,
.bombs-hero-secondary-action:active {
  transform: translateY(1px);
}

.bombs-hero-primary-action:focus-visible,
.bombs-hero-secondary-action:focus-visible {
  outline: 3px solid var(--bombs-hero-focus);
  outline-offset: 4px;
}

.bombs-hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  margin: 0;
  overflow: hidden;
  background: var(--bombs-hero-surface-deep);
}

.bombs-hero .bombs-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 60%;
}

@media (max-width: 1100px) {
  .bombs-hero {
    --bombs-hero-title-size: clamp(2.35rem, 4vw, 2.85rem);

    min-height: 620px;
  }

  .bombs-hero-inner {
    grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  }

  .bombs-hero-content {
    padding: 56px 40px 64px;
  }

  .bombs-hero .bombs-hero-image {
    object-position: 72% 50%;
  }

  .bombs-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .bombs-hero-secondary-action {
    min-height: 36px;
  }
}

@media (max-width: 800px) {
  .bombs-hero {
    --bombs-hero-eyebrow-size: 0.75rem;
    --bombs-hero-eyebrow-line-height: 1.333;
    --bombs-hero-title-size: clamp(2rem, 8vw, 2.5rem);
    --bombs-hero-title-line-height: 1.1;
    --bombs-hero-copy-size: 1rem;
    --bombs-hero-copy-line-height: 1.5;
    --bombs-hero-action-size: 1rem;
    --bombs-hero-action-line-height: 1.25;

    min-height: 0;
    background: var(--bombs-hero-mobile-image);
  }

  .bombs-hero::after {
    display: none;
  }

  .bombs-hero-inner {
    grid-template-areas:
      "media"
      "content";
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    background: var(--bombs-hero-mobile-image);
  }

  .bombs-hero-media {
    position: relative;
    z-index: 1;
    inset: auto;
    grid-area: media;
    min-width: 0;
    height: var(--bombs-hero-mobile-media-height);
    background: var(--bombs-hero-mobile-image);
  }

  .bombs-hero .bombs-hero-image {
    object-position: 88% 54%;
  }

  .bombs-hero-content {
    z-index: 2;
    justify-content: flex-start;
    margin: var(--bombs-hero-mobile-overlap-offset) 0 0;
    padding: var(--bombs-hero-space-xl)
      max(var(--bombs-hero-space-lg), env(safe-area-inset-right, 0px)) 28px
      max(var(--bombs-hero-space-lg), env(safe-area-inset-left, 0px));
    border-radius: 0 var(--bombs-hero-mobile-shape-radius-inline) 0 0 / 0
      var(--bombs-hero-mobile-shape-radius-block) 0 0;
    background: var(--bombs-hero-surface);
  }

  .bombs-hero-eyebrow--desktop {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  .bombs-hero-eyebrow--mobile {
    position: absolute;
    z-index: 3;
    top: 20px;
    left: max(20px, env(safe-area-inset-left, 0px));
    display: flex;
    max-width: calc(100% - 40px);
    margin: 0;
    color: #fff;
    isolation: isolate;
    pointer-events: none;
  }

  .bombs-hero-eyebrow--mobile::before {
    width: var(--bombs-hero-space-xl);
  }

  .bombs-hero-eyebrow--mobile::after {
    position: absolute;
    z-index: -1;
    inset: -4px -32px -4px -8px;
    border-radius: 4px 0 0 4px;
    content: "";
    background: linear-gradient(
      90deg,
      var(--bombs-hero-mobile-eyebrow-backdrop) 0%,
      var(--bombs-hero-mobile-eyebrow-backdrop) calc(100% - 24px),
      transparent 100%
    );
  }

  .bombs-hero-title {
    max-width: 15ch;
    hyphens: auto;
    overflow-wrap: break-word;
  }

  .bombs-hero-title-line {
    display: inline;
  }

  .bombs-hero-copy {
    margin-top: var(--bombs-hero-space-md);
  }

  .bombs-hero-copy p,
  .bombs-hero-primary-action,
  .bombs-hero-secondary-action {
    overflow-wrap: break-word;
  }

  .bombs-hero-copy p + p {
    margin-top: var(--bombs-hero-space-sm);
  }

  .bombs-hero-actions {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--bombs-hero-space-sm) var(--bombs-hero-space-md);
    margin-top: var(--bombs-hero-space-lg);
  }

  .bombs-hero-primary-action,
  .bombs-hero-secondary-action {
    max-width: 100%;
  }

  .bombs-hero-primary-action {
    padding-inline: var(--bombs-hero-space-lg);
  }

  .bombs-hero-secondary-action {
    min-height: 40px;
  }
}

@media (max-width: 380px) {
  .bombs-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--bombs-hero-space-xs);
  }

  .bombs-hero-primary-action {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bombs-hero-primary-action,
  .bombs-hero-secondary-action,
  .bombs-hero-secondary-action span {
    transition: none;
  }
}
