/* Sip & Salsa - one shared stylesheet. Mobile first; wider screens adjust at the bottom.
   Colors live in the variables below so they can be changed in one place.
   Bebas Neue is SIL Open Font Licensed. See /fonts/OFL.txt. */
@font-face {
  font-family: "Bebas Neue";
  src: url("/fonts/bebas-neue-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --wine: #7a1f2b;
  --wine-dark: #561520;
  --coral: #e8573f;
  --gold: #f2b544;
  --cream: #fff7ec;
  --sand: #f6e6d0;
  --ink: #2b1a17;
  --muted: #6b5550;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--wine); text-underline-offset: 2px; display: inline-flex; align-items: center; min-height: 44px; }
a:hover { color: var(--coral); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

h1, h2, h3.event-date, .event-date {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .03em;
  line-height: 1.05;
}
h3.event-date { margin: .2rem 0 .35rem; color: var(--wine); font-size: 1.55rem; }
h1, h2 { margin: 0 0 .5em; }
h1 { font-size: 2.6rem; }
h2 { font-size: 1.85rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 64rem; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 42rem; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--ink); padding: .5rem 1rem; z-index: 30;
}
.skip-link:focus { left: 0; }

/* Header + nav */
.site-header { background: var(--wine-dark); color: var(--cream); }
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem 1rem; padding-top: .65rem; padding-bottom: .65rem;
}
.brand {
  display: flex; align-items: center; gap: .55rem;
  color: var(--cream); text-decoration: none;
  font-family: var(--font-display); font-size: 1.55rem; font-weight: 400;
  letter-spacing: .04em; line-height: 1;
}
.brand:hover { color: var(--gold); }
.brand-logo { height: 40px; width: auto; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: .4rem .65rem; border-radius: 999px;
  color: var(--cream); text-decoration: none; font-size: .95rem;
}
.nav a:hover { background: rgba(255,255,255,.12); color: var(--cream); }
.nav a[aria-current="page"] { background: var(--gold); color: var(--ink); }

/* Hero: deep teal -> magenta -> orange so cream text stays WCAG AA. */
.hero {
  background: linear-gradient(155deg, #0c6f7c 0%, #8e1458 48%, #a83e16 100%);
  color: var(--cream);
  padding: 2rem 0 2.5rem;
}
.hero-layout { display: grid; gap: 1.15rem; }
.hero h1 { font-size: 2.85rem; color: #fff; margin-bottom: .35em; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .08em; font-size: .9375rem;
  color: var(--cream); margin-bottom: .55rem; font-weight: 700;
}
.eyebrow-short { display: none; }
.lede { font-size: 1.15rem; margin-bottom: 0; }

.event-card {
  background: var(--cream); color: var(--ink);
  border-radius: var(--radius); padding: 1.25rem;
  border-top: 6px solid var(--coral);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.event-card h2 { color: var(--wine); font-size: 1.7rem; margin-bottom: .35em; }
.event-facts { margin: 0 0 .75rem; }
.event-facts div { padding: .55rem 0; border-bottom: 1px solid var(--sand); }
.event-facts div:last-child { border-bottom: 0; }
.event-facts dt {
  font-size: .9375rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); font-weight: 700;
}
.event-facts dd { margin: .15rem 0 0; font-size: 1.05rem; font-weight: 600; }
.event-date { font-size: 1.45rem; color: var(--wine); display: inline-block; }
.free { color: var(--coral); font-size: 1.35rem; font-weight: 800; }
.event-notes { margin: .35rem 0 1rem; font-weight: 650; }

.schedule { list-style: none; margin: .2rem 0 0; padding: 0; font-weight: 500; }
.schedule li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: .35rem .75rem;
  align-items: baseline;
  padding: .2rem 0;
}
.when { font-weight: 800; white-space: nowrap; }
.what { font-weight: 500; }

.add-label { margin: 0 0 .4rem; font-weight: 700; }
.cal-buttons, .cal-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}
.cal-buttons { margin: 0 0 1rem; }
.venue-link { display: flex; align-items: center; min-height: 44px; }
.directions { width: 100%; margin-top: .5rem; }
.outline {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: .5rem .7rem;
  border: 2px solid var(--wine); border-radius: 999px;
  color: var(--wine); background: transparent;
  font-weight: 700; font-size: .9375rem; text-align: center; text-decoration: none;
}
.outline:hover { background: var(--wine); color: #fff; }

.event-line, .venue-name { margin: 0 0 .45rem; font-weight: 400; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-height: 44px; text-align: center;
  background: var(--coral); color: #fff; border: 0; border-radius: 999px;
  padding: .85rem 1.5rem; font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer;
}
.button:hover { background: var(--wine); color: #fff; }

/* Flyer follows the next-night card. Desktop CSS places it beside the card. */
.flyer { margin: .25rem 0 0; max-width: 26rem; }
.flyer img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
}
.flyer-link { display: block; }
.flyer .share-flyer { margin-top: .75rem; }

/* Sections */
.section { padding: 2.25rem 0; }
.section.alt { background: var(--sand); }
.date-note { margin: 1.1rem 0 0; font-weight: 700; }

.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .9rem;
}
.event-list li {
  background: var(--cream);
  border-radius: var(--radius);
  border-top: 6px solid var(--coral);
  padding: 1rem 1.1rem;
}
.event-list h3 {
  font-size: 1.45rem;
  margin: 0 0 .45rem;
  color: var(--wine);
}
.event-list p { margin: 0 0 .45rem; }
.add-cal { margin-top: .35rem; }
.add-cal summary {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 44px; padding: .4rem 0; cursor: pointer;
  font-weight: 700; font-size: .9375rem; list-style: none;
}
.add-cal summary::-webkit-details-marker { display: none; }
.add-cal summary::marker { content: ""; }
.add-cal .cal-options { margin-top: .35rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--sand); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  min-height: 44px; padding: .65rem 0; cursor: pointer;
  color: var(--wine); font-family: var(--font-display); font-size: 1.35rem;
  letter-spacing: .03em; line-height: 1.15; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq-icon {
  flex: 0 0 auto; width: 1.25rem; text-align: center;
  font-family: var(--font); font-size: 1.5rem; line-height: 1;
}
.faq-icon::before { content: "+"; }
.faq details[open] .faq-icon::before { content: "\2212"; }
.faq details p { margin: 0 0 1rem; }

/* Phone bar. Hidden until JS confirms the next date, and hidden again near the footer. */
.ig-bar { display: none; }

/* Footer */
.site-footer { background: var(--ink); color: var(--sand); padding: 1.5rem 0; font-size: .9375rem; }
.site-footer a { color: var(--gold); }
.site-footer p { margin: .25rem 0; }
.footer-logo { height: 64px; width: auto; margin-bottom: .75rem; }

@media (max-width: 39.99em) {
  body.has-ig-bar { padding-bottom: 4.6rem; }
  body.has-ig-bar.bar-hidden { padding-bottom: 0; }
  body.has-ig-bar .ig-bar {
    display: flex;
    flex-wrap: wrap;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 20;
    align-items: center;
    justify-content: space-between;
    gap: .5rem .75rem;
    padding: .6rem 1rem;
    background: var(--wine-dark);
    color: var(--cream);
    box-shadow: 0 -8px 24px rgba(0,0,0,.28);
  }
  .ig-bar p { margin: 0; font-size: .9375rem; font-weight: 700; }
  .ig-bar .button { width: auto; padding: .55rem .9rem; white-space: nowrap; }
  body.has-ig-bar .ig-bar.is-hidden { display: none; }
}

/* Phones: one header row, short eyebrow. */
@media (max-width: 39.99em) {
  .header-inner { flex-wrap: nowrap; align-items: center; gap: .35rem; }
  .brand { flex: 0 0 auto; min-height: 44px; }
  .brand-logo { height: 36px; }
  .brand-name {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }
  .nav { flex-wrap: nowrap; margin-left: auto; gap: 0; }
  .nav a { font-size: 15px; padding: 0 .3rem; }
  .eyebrow-full { display: none; }
  .eyebrow-short { display: inline; }
}

/* Wider screens */
@media (min-width: 40em) {
  h1 { font-size: 3.15rem; }
  .hero { padding: 3rem 0 3.25rem; }
  .hero h1 { font-size: 4rem; }
  .brand-logo { height: 48px; }
  .event-card { padding: 1.5rem 1.6rem; }
  .button { width: auto; }
}

@media (min-width: 56em) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 26rem;
    column-gap: 2rem;
    row-gap: 1.15rem;
    align-items: start;
  }
  .hero-copy { grid-column: 1 / -1; }
  #next-card { grid-column: 1; grid-row: 2; }
  .hero-layout .flyer { grid-column: 2; grid-row: 2; margin: 0; max-width: none; align-self: start; }
  .event-list { grid-template-columns: repeat(3, 1fr); }
}
