/* AVE Christmas Party – shared styles (ballroom theme) */
:root {
  --cream: #fbf4e6;
  --cream-deep: #f3e6cd;
  --wall: #fff9ef;
  --wood: #d9a35a;
  --wood-deep: #b57a35;
  --ink: #2a1d14;
  --ink-soft: #6b5745;
  --red: #c8202c;
  --red-dark: #a3131f;
  --green: #1f7a3a;
  --green-dark: #155a2a;
  --gold: #f2b826;
  --gold-soft: #ffe08a;
  --radius-lg: 22px;
  --radius-sm: 10px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  background-image:
    radial-gradient(900px 500px at 50% -10%, rgba(242,184,38,0.28), transparent 65%),
    radial-gradient(700px 500px at 100% 30%, rgba(200,32,44,0.08), transparent 60%),
    radial-gradient(700px 500px at 0% 70%, rgba(31,122,58,0.09), transparent 60%),
    linear-gradient(180deg, var(--wall) 0%, var(--cream) 50%, var(--cream-deep) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

a { color: var(--red); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

/* Snow canvas sits behind everything */
#snow {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.page { position: relative; z-index: 1; }

.wrap {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

/* ---------- String lights ---------- */
.lights {
  position: relative;
  height: 44px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  border-top: 3px solid var(--green-dark);
  background: linear-gradient(180deg, rgba(31,122,58,0.12), transparent);
}
.lights li {
  position: relative;
  width: 12px;
  height: 22px;
  margin-top: 8px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  background: var(--c);
  box-shadow: 0 0 12px 3px var(--c);
  animation: twinkle 2.4s ease-in-out infinite;
  animation-delay: var(--d);
  flex: 0 0 auto;
}
.lights li::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 3px;
  width: 6px;
  height: 8px;
  border-radius: 2px;
  background: var(--green-dark);
}
.lights li:nth-child(5n+1) { --c: #e63946; --d: 0s; }
.lights li:nth-child(5n+2) { --c: #f2b826; --d: .5s; }
.lights li:nth-child(5n+3) { --c: #2a9d4f; --d: 1s; }
.lights li:nth-child(5n+4) { --c: #4cc9f0; --d: 1.5s; }
.lights li:nth-child(5n+5) { --c: #e26cc6; --d: 2s; }
@keyframes twinkle {
  0%, 100% { opacity: 1; filter: brightness(1.1); }
  50% { opacity: .45; filter: brightness(.85); }
}

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--green-dark);
}
.brand span { color: var(--red); }
.nav-links { display: flex; gap: 10px; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 8px 12px;
  border-radius: 999px;
}
.nav-links a:hover { color: var(--ink); background: rgba(42,29,20,0.06); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 26px rgba(200,32,44,0.3);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 26px rgba(31,122,58,0.3);
}
.btn-green:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid rgba(31,122,58,0.45);
}
.btn-ghost:hover { border-color: var(--green); background: rgba(31,122,58,0.08); }
.nav-links .btn { padding: 10px 18px; font-size: .95rem; color: #fff; }
.nav-links .btn:hover { background: var(--red-dark); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0 80px;
}
.when {
  margin: 0 0 14px;
  font-weight: 800;
  color: var(--red);
  font-size: 1.1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: var(--green-dark);
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--red);
}
.lede {
  font-size: 1.25rem;
  max-width: 34ch;
  margin: 0 0 28px;
  color: var(--ink-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { color: var(--ink-soft); font-size: .95rem; }
.hero-note strong { color: var(--ink); }

/* Picture with the ticket tucked over its corner */
.hero-visual {
  position: relative;
  padding: 0 0 56px 48px;
}
.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 6px solid #fff;
  box-shadow: 0 24px 50px rgba(42,29,20,0.22);
  transform: rotate(2deg);
}

/* ---------- Ticket card ---------- */
.ticket {
  position: relative;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  box-shadow: 0 24px 50px rgba(163,19,31,0.35);
  transform: rotate(-3deg);
}
.hero-visual .ticket {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(300px, 82%);
}
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  left: -14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  top: 66%;
}
.ticket::after { left: auto; right: -14px; }
.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 800;
  font-size: .85rem;
  color: rgba(255,255,255,0.85);
}
.ticket-head .badge {
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: .78rem;
}
.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 1;
  margin: 12px 0 2px;
  letter-spacing: -0.03em;
}
.ticket .price { color: var(--gold-soft); }
.price small { font-size: 1rem; font-family: var(--font-body); font-weight: 700; margin-left: 6px; }
.ticket-meta {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
  font-size: .95rem;
}
.ticket-meta li { display: flex; gap: 10px; align-items: center; }
.ticket-meta li::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
}
.ticket .tear {
  margin: 0 -22px 14px;
  border-top: 2px dashed rgba(255,255,255,0.4);
}
.ticket .btn { width: 100%; }
.ticket-fine { margin: 10px 0 0; font-size: .82rem; color: rgba(255,255,255,0.85); text-align: center; }

/* ---------- Countdown strip ---------- */
.countdown {
  background: #fff;
  border: 1px solid rgba(42,29,20,0.1);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 10px 30px rgba(42,29,20,0.06);
}
.countdown p { margin: 0; font-weight: 700; }
.countdown p span { color: var(--red); }
.cd-units { display: flex; gap: 14px; }
.cd-unit { text-align: center; min-width: 64px; }
.cd-unit b {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--green-dark);
}
.cd-unit small { color: var(--ink-soft); font-size: .8rem; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  line-height: 1.1;
  color: var(--green-dark);
}
.section-intro { margin: 0 0 32px; color: var(--ink-soft); max-width: 60ch; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.feature {
  background: #fff;
  border: 1px solid rgba(42,29,20,0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 8px 24px rgba(42,29,20,0.05);
}
.feature .icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}
.feature h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  margin: 0 0 6px;
  color: var(--ink);
}
.feature p { margin: 0; color: var(--ink-soft); }
.feature.highlight {
  background: linear-gradient(135deg, #fff2c4, #ffe3e3);
  border-color: rgba(242,184,38,0.6);
}

/* Details list */
.details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px 32px;
  margin: 0;
}
.details div {
  border-left: 3px solid var(--red);
  padding-left: 16px;
}
.details dt { color: var(--ink-soft); font-size: .9rem; margin-bottom: 2px; }
.details dd { margin: 0; font-weight: 700; font-size: 1.15rem; }

/* Book / CTA band */
.band {
  background: var(--green);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: 0 24px 50px rgba(21,90,42,0.25);
}
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,0.85); margin: 0 0 20px; }
.band .steps { margin: 0; padding-left: 20px; color: #fff; }
.band .steps li { margin-bottom: 6px; }
.band a { color: var(--gold-soft); }
.band-cta { text-align: center; }
.band-cta .price { font-size: 3.6rem; margin: 0 0 10px; color: var(--gold-soft); }
.band-cta .btn { width: 100%; }
.band-cta .fine { font-size: .88rem; color: rgba(255,255,255,0.85); margin: 12px 0 0; }

/* Rules */
.rules {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  max-width: 70ch;
}
.rules li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid rgba(42,29,20,0.1);
  border-radius: var(--radius-sm);
}
.rules li::before {
  content: "✦";
  color: var(--red);
  flex: 0 0 auto;
  margin-top: 2px;
}

/* Footer */
footer {
  margin-top: 24px;
  padding: 40px 0 56px;
  background: var(--ink);
  color: rgba(251,244,230,0.8);
  font-size: .92rem;
  border-top: 8px solid var(--wood);
}
footer .foot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  align-items: center;
  padding-right: 180px; /* room for Santa in the corner */
}
footer a { color: var(--gold-soft); }
footer a:hover { color: #fff; }

/* Sponsor page extras */
.sponsor-hero { padding: 48px 0 24px; max-width: 70ch; }
.sponsor-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--green-dark);
}
.sponsor-hero h1 em { font-style: italic; font-weight: 500; color: var(--red); }
.sponsor-hero .lede { max-width: 50ch; }
.spot-card {
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: 0 24px 50px rgba(163,19,31,0.3);
}
.spot-card h3 { font-family: var(--font-display); font-size: 1.6rem; margin: 0 0 8px; }
.spot-card p { margin: 0; color: rgba(255,255,255,0.88); }
.spot-card .price { font-size: 3.4rem; margin: 0; text-align: center; color: var(--gold-soft); }
.spot-card .price small { display: block; margin: 4px 0 0; }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.logo-slot {
  aspect-ratio: 3 / 2;
  border: 2px dashed rgba(42,29,20,0.3);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-size: .9rem;
  text-align: center;
  padding: 10px;
}
.logo-slot.filled { border-style: solid; border-color: var(--gold); background: #fff; color: var(--ink); font-weight: 800; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 32px 0 48px; }
  .hero-visual { padding: 0; display: grid; gap: 24px; }
  .hero-visual img { transform: none; }
  .hero-visual .ticket { position: static; width: 100%; max-width: 420px; transform: none; }
  .band { grid-template-columns: 1fr; padding: 32px 24px; }
  .spot-card { grid-template-columns: 1fr; text-align: left; }
  .spot-card .price { text-align: left; }
  section { padding: 48px 0; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 480px) {
  body { font-size: 1rem; }
  .cd-unit { min-width: 54px; }
  .cd-unit b { font-size: 1.6rem; }
}

/* ---------- Waving Santa (fixed, bottom-right, decorative) ---------- */
.santa {
  position: fixed;
  right: 10px;
  bottom: 0;
  width: 170px;
  z-index: 2;
  pointer-events: none;
  animation: santa-rise 1.2s cubic-bezier(.22,1,.36,1) .4s both, santa-bob 3.2s ease-in-out 1.6s infinite;
  filter: drop-shadow(0 8px 10px rgba(42,29,20,0.25));
}
.santa-svg { display: block; width: 100%; height: auto; overflow: visible; }
.santa-arm {
  transform-box: view-box;
  transform-origin: 160px 150px;
  animation: santa-wave 1.6s ease-in-out infinite;
}
.santa-eyes {
  transform-box: view-box;
  transform-origin: 112px 90px;
  animation: santa-blink 5s steps(1, end) infinite;
}
.santa-bubble {
  position: absolute;
  right: 72%;
  top: 2px;
  padding: 7px 13px;
  background: #fff;
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
  border-radius: 16px 16px 4px 16px;
  box-shadow: 0 6px 16px rgba(42,29,20,0.18);
  opacity: 0;
  transform: translateY(6px) scale(.85);
  animation: santa-bubble 9s ease-in-out 3s infinite;
}
.santa-bubble::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: 6px;
  border: 7px solid transparent;
  border-left-color: #fff;
  border-bottom-color: #fff;
  transform: rotate(-20deg);
}
@keyframes santa-rise {
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}
@keyframes santa-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
@keyframes santa-wave {
  0%, 100% { transform: rotate(-14deg); }
  50%      { transform: rotate(18deg); }
}
@keyframes santa-blink {
  0%, 92%, 100% { transform: scaleY(1); }
  94%, 97%      { transform: scaleY(0.1); }
}
@keyframes santa-bubble {
  0%, 68%  { opacity: 0; transform: translateY(6px) scale(.85); }
  72%, 92% { opacity: 1; transform: translateY(0) scale(1); }
  96%, 100%{ opacity: 0; transform: translateY(-6px) scale(.9); }
}
@media (max-width: 860px) {
  .santa { width: 120px; right: 4px; }
  .santa-bubble { font-size: .9rem; }
  footer .foot { padding-right: 130px; }
}
@media (max-width: 480px) {
  .santa { width: 96px; }
  footer .foot { padding-right: 0; padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lights li { animation: none; }
  .btn { transition: none; }
  #snow { display: none; }
  .santa, .santa-arm, .santa-eyes { animation: none; }
  .santa-bubble { display: none; }
}

/* ---------- Sponsor tiers ---------- */
.tiers {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 22px;
  align-items: stretch;
}
.tier {
  border-radius: var(--radius-lg);
  padding: 30px 30px 26px;
  display: flex;
  flex-direction: column;
}
.tier-event {
  background: var(--red);
  color: #fff;
  box-shadow: 0 24px 50px rgba(163,19,31,0.3);
}
.tier-supporter {
  background: #fff;
  color: var(--ink);
  border: 2px solid rgba(31,122,58,0.35);
  box-shadow: 0 10px 30px rgba(42,29,20,0.06);
}
.tier-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.tier h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.7rem;
  margin: 0;
}
.tier-supporter h3 { color: var(--green-dark); }
.tier .badge {
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: .8rem;
  font-weight: 800;
}
.tier .price { margin: 14px 0 10px; }
.tier-event .price { color: var(--gold-soft); }
.tier-supporter .price { color: var(--red); }
.tier-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 8px;
  flex: 1;
}
.tier-list li { display: flex; gap: 10px; align-items: flex-start; }
.tier-list li::before {
  content: "✓";
  font-weight: 800;
  flex: 0 0 auto;
  color: var(--gold);
}
.tier-supporter .tier-list li::before { color: var(--green); }
.tier .btn { width: 100%; }
.tier-fine { margin: 10px 0 0; font-size: .85rem; text-align: center; opacity: .85; }

/* Comparison table */
.compare-wrap { overflow-x: auto; }
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid rgba(42,29,20,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-width: 520px;
}
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid rgba(42,29,20,0.08); }
.compare thead th { background: var(--cream-deep); font-family: var(--font-display); font-size: 1.15rem; color: var(--green-dark); vertical-align: bottom; }
.compare thead th span { font-family: var(--font-body); font-size: .9rem; color: var(--red); font-weight: 800; }
.compare tbody th { font-weight: 700; color: var(--ink); width: 45%; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare td.yes { color: var(--green-dark); font-weight: 800; }
.compare td.no { color: var(--ink-soft); }

/* Supporters' board */
.board {
  list-style: none;
  margin: 0;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px 24px;
  background: var(--ink);
  color: rgba(251,244,230,0.55);
  border: 8px solid var(--wood);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.board li { padding: 6px 0; border-bottom: 1px dashed rgba(251,244,230,0.2); }
.board li.filled { color: var(--gold-soft); font-weight: 600; }

@media (max-width: 860px) {
  .tiers { grid-template-columns: 1fr; }
}
