/* Avoid the extra vertical scrollports created when horizontal overflow is hidden. */
html,
body,
#root > div,
#root > div > .bg-hero-gradient.overflow-x-hidden {
  overflow-x: clip;
  overflow-y: visible;
}

/* Artwork can extend below the gradient wrapper while it animates. Match the
   page canvas to the gradient's final stop to avoid a horizontal color seam. */
html,
body,
#root,
#root > div {
  background-color: #f77a00;
}

#root > div > .bg-hero-gradient.overflow-x-hidden {
  background-image:
    linear-gradient(to bottom, transparent calc(100% - 32rem), #f77a00 100%),
    linear-gradient(135deg, #fff9a1, #fbac4b, #f77a00);
}

/* The original utility name is misleading here: it is a solid orange fill
   used by several sections. Let those sections inherit the invitation
   gradient so no abrupt orange bands appear between compositions. */
.bg-custom_blue {
  background-color: transparent !important;
}

/* The floating registration notice crosses a busy photograph. */
.shop > .word {
  display: block;
  position: relative;
  z-index: 2;
  max-width: calc(100% - 1rem);
  padding: 0.3rem 0.65rem;
  border: 2px solid #171717;
  border-radius: 999px;
  background: #fff5d1;
  box-shadow: 0 3px 0 #171717;
  color: #171717;
  font-size: 0.875rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.015em;
  text-align: center;
}

@media (max-width: 767px) {
  .shop > .word {
    max-width: calc(100vw - 2rem);
    font-size: clamp(0.72rem, 3.6vw, 0.95rem);
    white-space: nowrap;
  }
}

/* Let the invitation's ScrollTrigger control this callout.  It is intentionally
   hidden/revealed as the hero is scrubbed, including on narrow screens. */

body.overflow-hidden {
  overflow-x: clip;
  overflow-y: visible;
}

/* Let every illustrated section inherit the single page background. Nested
   gradients create visible white bands between the original compositions. */
.sec-1,
.sec-2,
.sec-3,
.sec-4,
.sec-5 {
  background: transparent;
}

/* Keep marquee labels intact at narrow widths.  The original flex track can
   otherwise split the collaboration label between letters while it scrolls. */
.bg-custom_blue .text-nowrap,
.bg-custom_blue .font-bold,
.bg-custom_blue > div {
  white-space: nowrap !important;
  word-break: keep-all;
  overflow-wrap: normal;
  flex: 0 0 auto;
}

.bg-custom_blue .font-bold,
.bg-custom_blue > div {
  display: inline-block;
}

.bg-custom_blue.text-nowrap {
  column-gap: clamp(1.5rem, 6vw, 4rem);
}

/* The information panel is intentionally a readable editorial block instead
   of an unstyled list pasted over the gradient. */
.info-section {
  padding-inline: clamp(1rem, 5vw, 5rem);
}

.info-card {
  color: #171717;
  max-width: 58rem;
  text-align: left;
  box-shadow: 0 1.25rem 2.5rem rgb(87 39 0 / 0.22);
}

.info-card h3,
.info-card > p {
  text-align: center;
  text-wrap: balance;
}

.info-card > p {
  color: #7a2600;
  letter-spacing: 0.02em;
}

.info-card ul {
  display: grid;
  gap: 0.7rem;
  width: 100%;
}

.info-card .info-item {
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgb(122 38 0 / 0.16);
  border-radius: 0.75rem;
  background: rgb(255 255 255 / 0.58);
  box-shadow: 0 0.25rem 0.7rem rgb(87 39 0 / 0.08);
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  line-height: 1.45;
}

.info-card .info-icon {
  flex: 0 0 auto;
  margin-top: 0.18rem;
  width: 1.2rem;
  height: 1.2rem;
}

@media (min-width: 768px) {
  .info-card .info-item:hover {
    background: rgb(255 255 255 / 0.82);
    transform: translateX(0.25rem);
    transition: background-color 180ms ease, transform 180ms ease;
  }
}
