/* DABY detail-page polish — additive, shared by existing detail pages.
   Does not replace the compiled stylesheet or change content/behaviour. */
.detail-hero-copy {
  max-width: 760px;
}

.detail-hero-copy > h1 {
  max-width: 15ch;
  text-wrap: balance;
  line-height: .98;
  letter-spacing: -.045em;
}

.detail-hero-copy > p:not(.eyebrow) {
  max-width: 60ch;
  line-height: 1.72;
}

.detail-hero-copy > .button-primary {
  min-height: 52px;
  margin-top: .35rem;
}

.detail-hero-card {
  align-self: end;
  border-color: rgba(214, 168, 74, .34);
  background: linear-gradient(145deg, rgba(214, 168, 74, .12), rgba(7, 17, 31, .78));
}

.detail-section {
  scroll-margin-top: 6rem;
}

.detail-contact {
  background:
    radial-gradient(circle at 82% 18%, rgba(50, 214, 255, .08), transparent 30%),
    linear-gradient(145deg, #0a1929, #07111f);
}

.detail-contact > h2,
.detail-contact > p {
  text-wrap: balance;
}

.detail-crosslinks {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

@media (max-width: 820px) {
  .detail-hero-copy > h1 {
    max-width: 12ch;
    font-size: clamp(2.9rem, 12.5vw, 4.5rem);
    line-height: 1.02;
  }

  .detail-hero-copy > p:not(.eyebrow) {
    font-size: .98rem;
    line-height: 1.68;
  }

  .detail-hero-copy > .button-primary {
    width: 100%;
  }

  .detail-crosslinks > a {
    flex: 1 1 100%;
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .detail-hero-copy > h1 {
    max-width: none;
    font-size: clamp(2.55rem, 12.2vw, 3.35rem);
    letter-spacing: -.04em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .detail-section {
    scroll-behavior: auto;
  }
}
