@font-face {
  font-family: "Open Sans";
  src: url("/assets/open-sans-regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/open-sans-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans Condensed";
  src: url("/assets/open-sans-condensed-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "DejaVu Poster Serif";
  src: url("/assets/dejavu-serif-condensed-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --midnight: #10202c;
  --deep: #0b1721;
  --panel: #182b38;
  --line: #546977;
  --cream: #fff4df;
  --muted: #dce5ea;
  --gold: #f3c782;
  --silver: #c9dfe9;
  --wine: #652b34;
  --paper: #f2eadb;
  --ink: #1a2b34;
  --paper-line: #b69e7c;
  --letterpress: "DejaVu Poster Serif", Georgia, serif;
  --condensed: "Open Sans Condensed", "Arial Narrow", sans-serif;
  font-family: "Open Sans", system-ui, sans-serif;
  background: var(--midnight);
  color: var(--cream);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
section[id] { scroll-margin-top: 1rem; }
button, input { font: inherit; }
.shell { width: min(87.5%, 76rem); margin-inline: auto; }

.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus { position: absolute; z-index: 10; left: 1rem; top: 1rem; padding: .7rem 1rem; background: var(--paper); color: var(--ink); }

.site-header { background: var(--deep); }
.nav { min-height: 4.65rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--cream);
  font: 700 1.12rem/1 var(--letterpress);
  letter-spacing: .065em;
  text-decoration: none;
  white-space: nowrap;
}
.brand-icon { color: var(--gold); font: 1.1rem/1 system-ui, sans-serif; }
nav { display: flex; flex-wrap: wrap; align-items: center; column-gap: clamp(1rem, 3vw, 2.25rem); }
nav a { color: var(--muted); text-decoration: none; font-size: .875rem; padding-block: .75rem; }
nav a:hover { color: var(--cream); text-decoration: underline; }

.holiday-lights {
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  height: 1.05rem;
  position: relative;
  background: var(--deep);
  border-top: 1px solid #5f6567;
}
.holiday-lights i {
  display: block;
  width: .35rem;
  height: .52rem;
  margin-top: .09rem;
  border-radius: 35% 35% 60% 60%;
  background: #ffd78c;
  box-shadow: 0 0 .65rem .15rem #f4be6466;
}
.holiday-lights i:nth-child(3n+1) { background: #fa886e; box-shadow: 0 0 .65rem .15rem #fa735f55; }
.holiday-lights i:nth-child(3n+2) { background: #c8eafa; box-shadow: 0 0 .65rem .15rem #9dd4f488; }

.hero {
  position: relative;
  min-height: clamp(31rem, 44vw, 40rem);
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: clip;
  background: var(--deep);
}
.hero .shell { z-index: 2; }
.hero-snow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  color: #d4e9f5;
}
.hero-snow span { position: absolute; font: 1.25rem/1 system-ui, sans-serif; opacity: .45; }
.hero-snow span:nth-child(1) { top: 9%; left: 6%; }
.hero-snow span:nth-child(2) { top: 12%; left: 32%; font-size: .8rem; }
.hero-snow span:nth-child(3) { bottom: 9%; left: 22%; font-size: 1rem; }
.hero-snow span:nth-child(4) { top: 9%; right: 9%; font-size: .9rem; }
.hero-copy { position: relative; width: min(55%, 39rem); padding-block: 3.15rem 3.6rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--gold);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .115em;
  text-transform: uppercase;
}
.rule { width: 1.6rem; height: 1px; background: currentColor; flex: none; }
h1, h2 { font-family: var(--letterpress); text-transform: uppercase; }
h1 {
  margin-block: 1rem 1.15rem;
  font-size: clamp(3.3rem, 5.4vw, 5.85rem);
  line-height: .98;
  letter-spacing: -.055em;
  text-shadow: 0 3px 25px #07111a;
}
h1 span { display: block; color: var(--silver); }

@supports (background-clip: text) {
  h1 span {
    background-image: linear-gradient(180deg, #f5f8fa 14%, #b6cddd 100%);
    background-clip: text;
    color: transparent;
    text-shadow: none;
  }
}
.hero-date {
  color: var(--gold);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.55;
}
.hero-date span { padding-inline: .25rem; }
.hero-intro { margin-top: .65rem; color: var(--muted); font-size: 1.0625rem; line-height: 1.65; max-width: 23rem; }
.admission { margin-top: .7rem; font-size: 1rem; font-weight: 700; line-height: 1.45; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.05rem; padding: .65rem 1.05rem; font-size: .92rem; font-weight: 700; text-decoration: none; }
.primary { background: var(--gold); color: #281c12; margin-top: 1.35rem; border: 1px solid var(--gold); }
.primary:hover { background: #ffdfa4; border-color: #ffdfa4; }
.hero-art { position: absolute; inset: 0 0 0 27%; min-width: 0; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--deep), #0b1721d9 12%, #0b172154 35%, transparent 62%),
    linear-gradient(0deg, #0b17218c, transparent 26%);
  pointer-events: none;
}

.details {
  background: var(--wine);
  border-block: 1px solid #9d694c;
  padding-block: 1.75rem 1.4rem;
}
.details-grid { display: grid; grid-template-columns: 1.12fr .85fr .85fr 1.45fr; }
.details-grid > div { padding-inline: clamp(.85rem, 2.5vw, 2.25rem); border-left: 1px solid #a16f5e; }
.details-grid > div:first-child { border-left: 0; padding-left: 0; }
.details-grid > div:last-child { padding-right: 0; }
.details dt { color: var(--gold); text-transform: uppercase; letter-spacing: .095em; font-size: .875rem; font-weight: 700; }
.details dd { font: 700 clamp(1.6rem, 2.65vw, 2.25rem)/1.12 var(--condensed); margin-top: .25rem; }
.details .detail-note { font: 400 .875rem/1.5 "Open Sans", system-ui, sans-serif; color: var(--muted); margin-top: .3rem; }
.event-links { display: flex; flex-wrap: wrap; gap: .45rem 1.45rem; margin-top: 1.15rem; font-size: .875rem; font-weight: 700; }
.event-links a { padding-block: .25rem; }

.donations { color-scheme: light; background: var(--paper); color: var(--ink); padding-block: clamp(2.8rem, 5.45vw, 5rem); }
.ink { color: #762a31; }
h2 { font-size: clamp(2.2rem, 4.25vw, 4.15rem); line-height: 1.05; letter-spacing: -.045em; margin-top: .55rem; }
.donation-grid, .prep-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.1rem, 3vw, 2.8rem); margin-top: 1.65rem; }
.recipient { display: grid; grid-template-columns: auto 1fr; gap: .8rem; padding-top: 1.15rem; border-top: 1px solid var(--paper-line); }
.recipient-mark { color: #762a31; font-size: 1.35rem; line-height: 1.35; }
h3 { font-family: var(--condensed); font-size: 1.9rem; line-height: 1.1; font-weight: 700; }
.recipient p { margin-top: .5rem; color: #364952; line-height: 1.67; max-width: 35rem; }
.recipient a { display: inline-block; margin-top: .8rem; padding-block: .2rem; color: #762a31; font-size: .875rem; font-weight: 700; }

.prep { padding-block: clamp(2.8rem, 5.45vw, 5rem); }
.check-panel { background: var(--panel); border: 1px solid var(--line); padding: clamp(1rem, 2.4vw, 1.85rem); }
.check-header { display: flex; gap: .4rem 1rem; justify-content: space-between; align-items: baseline; flex-wrap: wrap; }
#check-count { color: var(--gold); font-size: .875rem; font-weight: 700; }
progress { display: block; width: 100%; height: .33rem; margin-block: .9rem .6rem; appearance: none; border: 0; color: var(--gold); background: var(--line); }
progress::-webkit-progress-bar { background: var(--line); }
progress::-webkit-progress-value { background: var(--gold); }
progress::-moz-progress-bar { background: var(--gold); }
.check-row { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .8rem; padding: .9rem 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.check-row:has(input:checked) strong { color: var(--gold); }
.check-row:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.check-row input { inline-size: 1.15rem; block-size: 1.15rem; margin: .15rem 0 0; accent-color: var(--gold); cursor: pointer; }
.check-row small { display: block; color: var(--muted); font-size: .875rem; line-height: 1.55; margin-top: .22rem; }
.text-button { border: 0; background: transparent; color: var(--cream); padding: .55rem 0; margin-top: .5rem; text-decoration: underline; text-underline-offset: .25em; cursor: pointer; font-size: .875rem; }
.faq { padding-block: .45rem; }
.faq h3 { margin-bottom: .85rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; gap: .5rem; justify-content: space-between; padding-block: .9rem; cursor: pointer; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: .65rem; height: .65rem; flex: none; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); transform: rotate(45deg); margin: 0 .3rem .25rem; }
details[open] summary::after { transform: rotate(225deg); margin-bottom: -.25rem; }
details p { padding-bottom: .95rem; color: var(--muted); line-height: 1.65; }

.site-footer { background: var(--deep); border-top: 1px solid #7b6851; }
.footer-row { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1rem; }
.footer-row p { color: var(--muted); font-size: .875rem; }

@media (min-width: 52.01rem) and (max-width: 70rem) {
  .hero-art img { object-position: 84% center; }
}

@media (max-width: 52rem) {
  .shell { width: min(90%, 44rem); }
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: auto; }
  .hero-copy { width: 100%; padding-block: 1.9rem 1.45rem; }
  .hero-snow span:nth-child(1) { top: 3.5%; left: auto; right: 8%; font-size: .9rem; }
  .hero-snow span:nth-child(2), .hero-snow span:nth-child(3), .hero-snow span:nth-child(4) { display: none; }
  h1 { font-size: clamp(2.75rem, 10.3vw, 5.25rem); margin-block: .8rem 1rem; }
  .hero-art { position: relative; inset: auto; width: 100%; aspect-ratio: 2 / 1; min-height: 11.5rem; }
  .hero-art img { position: absolute; inset: 0; object-position: 70% center; }
  .hero-art::after { background: linear-gradient(180deg, var(--deep), transparent 21%); }
  .details-grid { grid-template-columns: 1fr 1fr; }
  .details-grid > div { padding: .75rem 0 .75rem .85rem; }
  .details-grid > div:nth-child(odd) { border-left: 0; padding-left: 0; padding-right: .55rem; }
  .details-grid > div:nth-child(n+3) { border-top: 1px solid #a16f5e; }
  .details { padding-block: .65rem 1rem; }
  .details dd { font-size: 1.7rem; }
  .event-links { margin-top: .65rem; }
}

@media (max-width: 39rem) {
  .donation-grid, .prep-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 31rem) {
  .nav { align-items: flex-start; flex-direction: column; padding-block: .9rem .35rem; gap: .12rem; }
  nav a { padding-block: .55rem; }
  .holiday-lights i:nth-child(2n) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
