/* Responsive home hero: keep the original artwork and motion intact.
   Source artwork: 1686 x 933. Never size width and height independently.
   The desktop stage stops growing at 1920 CSS pixels; wide monitors gain gutters.
*/
#home.hero {
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  padding: 72px 0 40px;
  background-color: #fff9ef;
  background-image:
    linear-gradient(90deg, rgba(255,249,239,.76) 0%, rgba(255,249,239,.58) 14%, rgba(255,249,239,.24) 28%, rgba(255,249,239,0) 42%),
    radial-gradient(circle at 16% 18%, rgba(255,208,92,.14), transparent 18%),
    url('assets/home-faces-v36.webp');
  background-position: center top;
  background-size: 100% auto;
  background-repeat: no-repeat;
}
#home .hero-grid {
  width: min(calc(100% - 48px), 1240px);
  /* Grow with artwork, and allow extra height if text needs it. */
  min-height: max(700px, calc(min(100vw, 1920px) * 933 / 1686 - 112px));
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 18px;
}
#home .hero-copy {
  max-width: 430px;
  padding: 28px 0 120px;
}
#home .hero-attraction-card {
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  padding: 20px;
  min-width: 0;
}
#home .hero-attraction-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
#home .hero-attraction-card strong {
  font-size: clamp(26px, 1.875vw, 36px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}
#home .hero-attraction-card span {
  font-size: 16px;
  overflow-wrap: anywhere;
}
/* At tablet and phone widths the full artwork gets its own row.
   Text remains readable without covering or cropping the characters. */
@media (max-width: 1199px) {
  #home.hero {
    padding: 36px 0 42px;
    background: #fff9ef;
  }
  #home .hero-grid {
    display: grid;
    grid-template-areas: 'copy' 'art' 'stats';
    grid-template-rows: auto auto auto;
    min-height: 0;
    gap: 24px;
  }
  #home .hero-copy {
    max-width: 100%;
    padding: 14px 0 0;
  }
  #home .home-waitlist-note { max-width: 31rem; }
  #home .hero-mobile-image {
    display: block;
    grid-area: art;
    width: 100%;
    height: auto;
    aspect-ratio: 1686 / 933;
    object-fit: contain;
  }
  #home .hero-attractions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
  }
}
/* Mobile composition: headline, full-bleed scene, invitation, quick facts. */
@media (max-width: 1199px) {
  #home .hero-grid {
    grid-template-areas: 'copy' 'stats';
    grid-template-rows: auto auto;
  }
}
@media (max-width: 760px) {
  #home.hero {
    padding: 24px 0 32px;
    background: #fff9ef;
  }
  #home .hero-grid { width: calc(100% - 40px); gap: 20px; }
  #home .hero-copy { padding: 0; min-width: 0; }
  #home .hero-copy::before { content: none; }
  #home .eyebrow {
    display: flex;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 14px;
    padding: 7px 12px;
    font-size: .6875rem;
    letter-spacing: .1em;
    line-height: 1.5;
    text-align: center;
    box-shadow: none;
  }
  #home.hero h1 {
    display: block;
    margin: 0;
    padding: 0;
    max-width: none;
    font-family: 'Englebert', cursive;
    font-size: clamp(2rem, 10vw, 2.875rem);
    line-height: 1.08;
    letter-spacing: -.025em;
    text-transform: none;
    text-align: center;
    text-wrap: initial;
    background: none;
    box-shadow: none;
    filter: none;
  }
  #home.hero h1 .hero-line-top { display: block; }
  #home.hero h1 em,
  #home.hero h1 .hero-line-bottom { display: inline; }
  #home.hero h1 em { color: #ff9d18; font-style: normal; }
  #home .hero-mobile-image {
    width: calc(100% + 40px);
    max-width: none;
    height: auto;
    margin: 18px -20px 0;
    object-fit: contain;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 9%);
    mask-image: linear-gradient(to bottom, transparent, #000 9%);
  }
  #home .home-waitlist-note {
    max-width: none;
    margin: 0;
    padding: 20px;
    border-radius: 0 0 24px 24px;
    background: #fffdf8;
    box-shadow: 0 10px 24px rgba(8,26,73,.06);
    border-color: rgba(16,43,104,.08);
  }
  #home .home-waitlist-note-kicker {
    font-size: .6875rem;
    letter-spacing: .1em;
  }
  #home .home-waitlist-note-title {
    margin: 10px 0 8px;
    font-size: 1.375rem;
    line-height: 1.25;
    text-wrap: initial;
  }
  #home .home-waitlist-note p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 16px;
  }
  #home .home-waitlist-note .btn {
    display: flex;
    width: 100%;
    min-height: 50px;
    font-size: 1rem;
    box-shadow: 0 6px 16px rgba(255,181,34,.16);
  }
  #home .hero-attractions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  #home .hero-attraction-card {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    align-content: start;
    padding: 16px;
    gap: 8px;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(8,26,73,.04);
  }
  #home .hero-attraction-card img { width: 36px; height: 36px; }
  #home .hero-attraction-card strong {
    font-size: 1.5rem;
    line-height: 1.15;
    letter-spacing: -.035em;
  }
  #home .hero-attraction-card span {
    font-size: .75rem;
    letter-spacing: .035em;
    line-height: 1.35;
  }
}
@media (max-width: 350px) {
  #home .hero-attraction-card { padding: 12px; }
  #home .hero-attraction-card strong { font-size: 1.375rem; }
}
