/* Infused events polish + private-events CTA + inline newsletter (Nov 17, 2026).
   Loaded after style.css on index.html and nights.html. Mobile-first; WCAG 2.1 AA contrast
   (text on #0c0610 cards: #fff 19:1, #f1dfb4 14:1, #d9c08a 10:1); 44px+ touch targets. */

:root {
  --iev-accent: #e9c46a;      /* warm gold, 11.6:1 on #0c0610 */
  --iev-accent-ink: #1a1206;  /* ink on gold buttons, 10:1 */
  --iev-card: #0f0814;
  --iev-line: rgba(233, 196, 106, 0.28);
}

/* ---------- Hero: third button, same weight as Reserve Table ---------- */
.btn-lg-private {
  border: 1.5px solid rgba(255, 120, 200, 0.9);
  background: linear-gradient(135deg, rgba(40, 6, 30, 0.92) 0%, rgba(22, 6, 32, 0.88) 100%);
  box-shadow:
    0 0 22px rgba(236, 72, 153, 0.55),
    0 0 45px rgba(168, 85, 247, 0.32),
    inset 0 0 16px rgba(236, 72, 153, 0.32),
    inset 0 1px 1px rgba(255, 255, 255, 0.7),
    0 10px 25px rgba(0, 0, 0, 0.5);
}
.btn-lg-private .btn-text {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.95), 0 0 14px rgba(236, 72, 153, 0.85);
}
.btn-lg-private:hover { border-color: #ffb3dd; }
.btn-lg-private .liquid-glass-glow {
  background: radial-gradient(circle at center, rgba(236, 72, 153, 0.45) 0%, rgba(168, 85, 247, 0.3) 45%, rgba(0, 0, 0, 0) 75%);
}
.hero-btn-row-infuse .btn-lg-private::before {
  background: radial-gradient(circle, rgba(236, 72, 153, 0.45) 0%, rgba(168, 85, 247, 0.25) 50%, transparent 80%);
}
.hero-btn-row-infuse .btn-liquid-glass { min-height: 48px; }
.hero-btn-row-infuse .btn-liquid-glass:focus-visible { outline: 3px solid #ffffff; outline-offset: 4px; }
@media (min-width: 577px) {
  .hero-btn-row-infuse { flex-wrap: wrap; gap: 1rem 1.25rem; }
}
@media (max-width: 576px) {
  .hero-btn-row-infuse { margin-top: 1.1rem !important; gap: 0.65rem !important; }
  .hero-btn-row-infuse .btn-liquid-glass { padding: 0.85rem 1.6rem !important; }
}

/* ---------- Shared event card ---------- */
.ievent-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; grid-template-columns: 1fr; }
.ievent-list > li { margin: 0; padding: 0; background: none; border: 0; }
.ievent-card {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.1rem 1.15rem;
  background: var(--iev-card);
  border: 1px solid var(--iev-line);
  border-radius: 14px;
  height: 100%;
  box-sizing: border-box;
}
.ievent-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 4.6rem; padding: 0.45rem 0.25rem;
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(233, 196, 106, 0.2), rgba(233, 196, 106, 0.06));
  border: 1px solid rgba(233, 196, 106, 0.45);
  color: #f1dfb4; text-align: center; line-height: 1.05;
}
.ievent-date .nights-cal-dow { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.ievent-date .nights-cal-day { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 700; color: #ffffff; margin: 0.1rem 0; }
.ievent-date .nights-cal-month { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.ievent-body { min-width: 0; }
.ievent-title {
  font-family: var(--font-heading); font-weight: 600;
  font-size: clamp(1.05rem, 1.2vw + 0.8rem, 1.3rem);
  line-height: 1.25; letter-spacing: 0.02em; color: #ffffff; margin: 0 0 0.35rem;
  overflow-wrap: anywhere;
}
.ievent-when { margin: 0 0 0.45rem; color: #f1dfb4; font-size: 0.92rem; line-height: 1.45; }
.ievent-blurb { margin: 0 0 0.6rem; color: #e6dccb; font-size: 0.95rem; line-height: 1.55; }
.ievent-reserve { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.9rem; margin: 0.5rem 0 0; }
.ievent-reserve-note { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: #d9c08a; }
.ievent-reserve-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem;
  border-radius: 999px; border: 1.5px solid var(--iev-accent); color: #ffffff;
  font-weight: 600; font-size: 0.88rem; text-decoration: none; letter-spacing: 0.04em;
}
.ievent-reserve-link:hover { background: var(--iev-accent); color: var(--iev-accent-ink); }
.ievent-reserve-link:focus-visible, .ievent-past-summary:focus-visible, .ievent-home-more a:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }
.ievent-card.is-past { opacity: 1; background: #0b070e; border-color: rgba(255, 255, 255, 0.12); }
.ievent-card.is-past .ievent-date { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.2); color: #cfc6b8; }
.ievent-card.is-past .ievent-title { color: #e6e0d6; }
.ievent-card.is-past .nights-kicker { margin: 0 0 0.25rem; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: #cfc6b8; }

/* Past nights: collapsed by default */
.ievent-past { margin-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 0.75rem; }
.ievent-past-summary {
  cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 0.4rem;
  color: #f1dfb4; font-weight: 600; letter-spacing: 0.06em; font-size: 0.95rem; list-style: none;
}
.ievent-past-summary::-webkit-details-marker { display: none; }
.ievent-past-summary::before { content: "+"; display: inline-block; width: 1.2rem; text-align: center; font-size: 1.1rem; }
.ievent-past[open] .ievent-past-summary::before { content: "\2212"; }
.ievent-past-count { color: #cfc6b8; font-weight: 400; }
.ievent-past .ievent-list { margin-top: 0.6rem; }

/* ---------- /nights layout ---------- */
.nights-page .ievent-intro { margin-bottom: 1.5rem; }
.ievent-layout { display: flex; flex-direction: column; gap: 1.75rem; }
.ievent-aside { order: 2; }
.ievent-flyer { margin: 0 auto; max-width: 420px; }
.ievent-flyer img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--iev-line); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); }
.ievent-flyer figcaption { margin-top: 0.6rem; text-align: center; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: #d9c08a; }
.nights-page .nights-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1rem; }
.nights-page .nights-tab, .nights-page .nights-month-btn { min-height: 44px; }
.nights-page .nights-month-nav[hidden] { display: none !important; }
.nights-page .nights-cal-event { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 0.72rem; }
.ievent-cta-row { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem; }
.ievent-cta-row a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
@media (min-width: 960px) {
  .ievent-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2.25rem; align-items: start; }
  .ievent-aside { order: 0; position: sticky; top: 6.5rem; }
  .ievent-flyer { max-width: none; }
}

/* ---------- Homepage events block ---------- */
.home-public-events .ievent-home-head .home-eyebrow { display: block; margin-bottom: 0.6rem; }
.home-public-events .ievent-home-head h2 { margin-bottom: 0.6rem; }
.home-public-events .home-public-events-lede { margin-bottom: 1.5rem; }
.ievent-home { display: grid; gap: 1.25rem; margin-bottom: 1.5rem; }
.ievent-home-flyer { margin: 0 auto; width: min(100%, 360px); }
.ievent-home-flyer img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--iev-line); }
.home-public-events .home-public-events-list.ievent-list { grid-template-columns: 1fr; margin: 0; }
.home-public-events .home-public-events-list.ievent-list li { padding: 0; background: none; border: 0; }
.ievent-home-more { margin: 0.9rem 0 0; }
.ievent-home-more a { color: #f1dfb4; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; min-height: 44px; align-items: center; }
.home-public-events .home-events-actions a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
@media (min-width: 900px) {
  .ievent-home.has-flyer { grid-template-columns: 340px minmax(0, 1fr); gap: 2rem; align-items: start; }
  .ievent-home-flyer { width: 100%; margin: 0; }
}

/* ---------- Inline newsletter ("Get first word on Infused nights") ---------- */
.inl-nl {
  margin: 2.5rem 0 0; padding: 1.5rem 1.25rem;
  display: grid; gap: 1rem;
  border-radius: 16px; border: 1px solid var(--iev-line);
  background: radial-gradient(120% 140% at 0% 0%, rgba(236, 72, 153, 0.14), transparent 55%),
              radial-gradient(120% 140% at 100% 100%, rgba(233, 196, 106, 0.12), transparent 55%), #0d0712;
}
.inl-nl-kicker { margin: 0 0 0.35rem; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: #d9c08a; }
.inl-nl-title { margin: 0 0 0.4rem; font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.25rem, 1.6vw + 0.9rem, 1.75rem); line-height: 1.2; color: #ffffff; letter-spacing: 0.02em; }
.inl-nl-title::after { display: none !important; }
.inl-nl-desc { margin: 0; color: #e6dccb; line-height: 1.55; font-size: 0.97rem; }
.inl-nl-label { display: block; margin-bottom: 0.4rem; color: #f1dfb4; font-size: 0.85rem; font-weight: 600; }
.inl-nl-row { display: flex; flex-direction: column; gap: 0.6rem; }
.inl-nl-row input {
  min-height: 48px; padding: 0 1rem; border-radius: 10px; font-size: 1rem;
  background: #ffffff; color: #111111; border: 2px solid #ffffff; width: 100%; box-sizing: border-box;
}
.inl-nl-row input:focus-visible { outline: 3px solid var(--iev-accent); outline-offset: 2px; }
.inl-nl-row input[aria-invalid="true"] { border-color: #ff8a8a; }
.inl-nl-btn {
  min-height: 48px; padding: 0 1.5rem; border-radius: 10px; border: 0; cursor: pointer;
  background: var(--iev-accent); color: var(--iev-accent-ink); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.inl-nl-btn:hover { background: #f3d68f; }
.inl-nl-btn:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }
.inl-nl-btn:disabled { opacity: 0.7; cursor: wait; }
.inl-nl-status { margin: 0.4rem 0 0; min-height: 1.2em; font-size: 0.9rem; color: #ffb4b4; }
.inl-nl .inl-nl-consent { color: rgba(255, 255, 255, 0.72); }
.inl-nl .inl-nl-consent a { color: #ffffff; }
@media (min-width: 720px) {
  .inl-nl { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; padding: 1.75rem 2rem; gap: 2rem; }
  .inl-nl-row { flex-direction: row; }
  .inl-nl-row input { flex: 1; }
}

/* ---------- Homepage private-events CTA ---------- */
.pe-cta {
  position: relative; z-index: 21;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 3.5rem);
  scroll-margin-top: 6.5rem;
  border-top: 1px solid rgba(233, 196, 106, 0.18);
  background: radial-gradient(70% 80% at 85% 20%, rgba(236, 72, 153, 0.16), transparent 60%),
              radial-gradient(60% 70% at 10% 90%, rgba(233, 196, 106, 0.12), transparent 60%), #08030b;
}
.pe-cta-inner { max-width: 1180px; margin: 0 auto; display: grid; gap: 2rem; }
.pe-cta-photos { position: relative; padding-bottom: 18%; }
.pe-cta-photo img { display: block; width: 100%; height: auto; border-radius: 16px; }
.pe-cta-photo-main img { aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--iev-line); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55); }
.pe-cta-photo-inset { position: absolute; right: -2%; bottom: 0; width: 52%; }
.pe-cta-photo-inset img { aspect-ratio: 4 / 3; object-fit: cover; border: 4px solid #08030b; outline: 1px solid var(--iev-line); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6); }
.pe-cta-copy .home-eyebrow { display: block; color: #d9c08a; margin-bottom: 0.7rem; }
.pe-cta-copy h2 { font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.9rem, 3.6vw + 0.6rem, 3.2rem); line-height: 1.1; color: #ffffff; margin: 0 0 1rem; letter-spacing: 0.02em; }
.pe-cta-copy h2::after { display: none !important; }
.pe-cta-lede { color: #e6dccb; font-size: clamp(1rem, 0.5vw + 0.9rem, 1.15rem); line-height: 1.7; margin: 0 0 1.5rem; max-width: 46ch; }
.pe-cta-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1rem; }
.pe-cta-btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; }
.pe-cta-btn.btn-gold { font-size: 0.95rem; padding: 1rem 2.4rem; }
.pe-cta-note { margin: 0; color: #cfc6b8; font-size: 0.9rem; }
@media (max-width: 480px) { .pe-cta-btn { width: 100%; } }
@media (min-width: 860px) {
  .pe-cta-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
  .pe-cta-photos { padding-bottom: 14%; }
}
@media (prefers-reduced-motion: reduce) { .btn-lg-private { animation: none; } }

/* style.css sets `section { padding: 4rem 0 !important }` on small screens, which pushed these
   blocks flush to the screen edge on phones. Restore side gutters (higher specificity + !important). */
section.home-public-events,
section.pe-cta {
  padding-left: clamp(1.25rem, 5vw, 3.5rem) !important;
  padding-right: clamp(1.25rem, 5vw, 3.5rem) !important;
}
section.inl-nl { padding: 1.5rem 1.25rem !important; }
@media (min-width: 720px) { section.inl-nl { padding: 1.75rem 2rem !important; } }
@media (max-width: 859px) { .pe-cta-photo-inset { right: 0; width: 50%; } }
@media (max-width: 576px) {
  .ievent-cta-row a { width: 100%; max-width: 340px; }
  .home-public-events .home-events-actions a { flex: 1 1 100%; }
  .ievent-card { grid-template-columns: 3.75rem 1fr; gap: 0.85rem; padding: 1rem; }
}
