/* ================================================================
   SingleMixers.ca — one stylesheet for the whole site.
   Maintainers: you should not need to edit this file.
   ================================================================ */
:root {
  --plum: #2a1440;
  --plum-soft: #3d2258;
  --plum-dark: #170a24;
  --magenta: #e5245e;
  --magenta-deep: #c81950;
  --coral: #ff6b4a;
  --gold: #ffc145;
  --cream: #fff6ef;
  --ink: #33203f;
  --muted: #6b5a7a;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(42, 20, 64, 0.14);
  --max-w: 68rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.125rem; /* 18px minimum for 50+ readability */
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--magenta-deep); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }

/* Announced by screen readers, invisible on screen. */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---------- Header & nav ---------- */
.site-header { background: var(--plum); border-bottom: 3px solid var(--plum-dark); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 0.75rem;
  padding-top: 1rem; padding-bottom: 1rem;
}
.wordmark {
  font-weight: 900; font-style: italic; font-size: 1.5rem;
  letter-spacing: -0.02em; color: var(--white); text-decoration: none;
}
.wordmark span { color: var(--gold); }
.site-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.site-nav a {
  color: var(--white); text-decoration: none; font-weight: 600;
  padding: 0.5rem 0.9rem; border-radius: 999px;
}
.site-nav a:hover { background: var(--plum-soft); }
/* magenta-deep, not magenta: white on #e5245e is 4.44:1 and fails WCAG AA. */
.site-nav a[aria-current="page"] { background: var(--magenta-deep); }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(120% 120% at 80% 0%, var(--plum-soft), var(--plum) 60%);
  color: var(--white);
  padding: 4rem 0 4.5rem;
}
.hero .wrap {
  display: grid; gap: 2.5rem; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 50rem) {
  .hero .wrap { grid-template-columns: 3fr 2fr; }
}
.hero-words {
  margin: 0 0 1rem;
  font-style: italic; font-weight: 900;
  line-height: 0.95; letter-spacing: -0.03em;
  font-size: clamp(3rem, 9vw, 5.5rem);
}
.hero-words span { display: block; animation: rise 0.6s ease-out backwards; }
.hero-words .w1 { color: var(--magenta); }
.hero-words .w2 { color: var(--coral); animation-delay: 0.12s; }
.hero-words .w3 { color: var(--gold); animation-delay: 0.24s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(0.4em); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-words span { animation: none; }
}
.lede { font-size: 1.35rem; max-width: 34rem; margin: 0 0 1.75rem; }
.prose { max-width: 34rem; }
.hero-photo { border-radius: var(--radius); border: 4px solid var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--magenta-deep); color: var(--white);
  font-weight: 700; font-size: 1.15rem;
  padding: 0.9rem 1.8rem; border-radius: 999px;
  text-decoration: none; border: none; cursor: pointer;
}
.btn:hover { background: #a91344; }
.btn-gold { background: var(--gold); color: var(--plum); }
.btn-gold:hover { background: #e8a92f; }

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
.section h1, .page-head h1 { font-size: 2.6rem; font-weight: 900; font-style: italic; margin: 0 0 0.5rem; }
.section h2 { font-size: 2rem; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 1.25rem; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.85rem; font-weight: 700; color: var(--magenta-deep);
  margin: 0 0 0.35rem;
}
.hero .eyebrow { color: var(--gold); }
.page-head {
  /* same radial fade as the home hero, so all three pages share one sky */
  background: radial-gradient(120% 120% at 80% 0%, var(--plum-soft), var(--plum) 60%);
  color: var(--white); padding: 3rem 0;
}
.page-head p { max-width: 38rem; margin: 0; font-size: 1.25rem; }

/* ---------- Highlight cards (Home) ---------- */
.highlights {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  padding: 0; margin: 0; list-style: none;
}
.highlight {
  background: var(--white); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
  border-top: 6px solid var(--coral);
}
.highlight h3 { margin: 0 0 0.5rem; font-size: 1.3rem; }
.highlight p { margin: 0; }

/* ---------- Ticket card (next-event teaser — the signature piece) ---------- */
.ticket {
  position: relative;
  background: var(--white);
  border: 2px dashed var(--magenta);
  border-radius: var(--radius);
  padding: 1.5rem 2.25rem;
  max-width: 34rem;
  box-shadow: var(--shadow);
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; top: 50%;
  width: 1.6rem; height: 1.6rem; margin-top: -0.8rem;
  background: var(--cream); border: 2px dashed var(--magenta);
  border-radius: 50%;
}
.ticket::before { left: -0.9rem; }
.ticket::after { right: -0.9rem; }
.ticket .eyebrow { color: var(--coral); }
.ticket h3 { margin: 0 0 0.25rem; font-size: 1.5rem; }
.ticket p { margin: 0 0 1rem; }

/* ---------- Event cards ---------- */
.event-card {
  display: flex; gap: 1.25rem;
  background: var(--white); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.date-tile {
  flex: none; width: 5rem; text-align: center;
  background: var(--plum); color: var(--white);
  border-radius: 12px; padding: 0.6rem 0.25rem;
  align-self: flex-start;
}
.date-tile .day { display: block; font-size: 1.9rem; font-weight: 900; line-height: 1.1; }
.date-tile .month {
  display: block; text-transform: uppercase;
  font-size: 0.8rem; letter-spacing: 0.1em;
  color: var(--gold); font-weight: 700;
}
.event-body { min-width: 0; }
.event-body h3 { margin: 0 0 0.25rem; font-size: 1.4rem; }
.event-meta { color: var(--muted); font-weight: 600; margin: 0 0 0.5rem; }
.event-body p { margin: 0; }
@media (max-width: 30rem) {
  .event-card { flex-direction: column; }
}

/* ---------- Photo grid + lightbox ---------- */
.photo-grid {
  display: grid; gap: 0.6rem;
  grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
  margin-top: 1rem;
}
.photo-grid button {
  padding: 0; border: 0; background: none;
  cursor: zoom-in; border-radius: 10px; overflow: hidden;
}
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.lightbox {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(42, 20, 64, 0.92);
  display: none; align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: 1rem; right: 1rem;
  font-size: 2rem; line-height: 1;
  background: var(--white); color: var(--plum);
  border: none; border-radius: 999px;
  width: 3rem; height: 3rem; cursor: pointer;
}

/* ---------- Notices & forms ---------- */
.notice {
  background: var(--white); border-left: 6px solid var(--gold);
  padding: 1rem 1.25rem; border-radius: 8px;
}
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 0.75rem 0.9rem;
  border: 2px solid var(--plum-soft); border-radius: 10px;
  background: var(--white);
}
.field input:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 1px;
}
.contact-cards {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  padding: 0; margin: 0 0 2.5rem; list-style: none;
}
.contact-cards li {
  background: var(--white); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
  border-top: 6px solid var(--gold);
}
.contact-cards h3 { margin: 0 0 0.5rem; }
.contact-cards p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--plum); color: var(--white);
  padding: 2.5rem 0; margin-top: 3.5rem;
}
.site-footer a { color: var(--gold); }
.site-footer p { margin: 0.35rem 0; }
