/* ===== Winterfest 2026 — brand tokens ===== */
:root {
  --purple: #351F65;
  --purple-2: #432a7a;      /* slightly lighter purple for cards on purple */
  --gold: #F5C842;          /* only on purple */
  --blue: #4FD8FF;          /* only on purple, sparingly */
  --white: #FFFFFF;
  --grey: #E6E6E6;          /* backgrounds & dividers only */
  --font-head: "Oswald", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 12px;
  --space: clamp(3rem, 8vw, 5.5rem);
  /* snowflake icons */
  --flake-blue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234FD8FF' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17l17.4-10M9.5 3.5 12 6l2.5-2.5M9.5 20.5 12 18l2.5 2.5M3 10.3l3.4-.9-.9-3.4M21 13.7l-3.4.9.9 3.4M3 13.7l3.4.9-.9 3.4M21 10.3l-3.4-.9.9-3.4'/%3E%3C/svg%3E");
  --flake-purple: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23351F65' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17l17.4-10M9.5 3.5 12 6l2.5-2.5M9.5 20.5 12 18l2.5 2.5'/%3E%3C/svg%3E");
}

/* ===== Base (mobile first) ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;        /* 18px — easy reading on phones */
  line-height: 1.6;
  color: var(--purple);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.75rem, 12vw, 5rem); }
h2 { font-size: clamp(1.9rem, 6vw, 2.6rem); }
h3 { font-size: 1.35rem; font-weight: 500; }
h4 { font-size: 1rem; font-weight: 500; letter-spacing: .08em; }
p { margin: 0 0 1em; }
a { color: inherit; text-underline-offset: .2em; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.section:not(.section-purple) :focus-visible,
.section-grey :focus-visible { outline-color: var(--purple); }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--gold); color: var(--purple); padding: .6rem 1rem;
  border-radius: 6px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ===== Placeholders (visible until filled in content.js) ===== */
mark.placeholder {
  background: var(--grey);
  color: var(--purple);
  border: 2px dashed var(--purple);
  border-radius: 4px;
  padding: 0 .3em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9em;
  text-transform: none;
  letter-spacing: 0;
}

/* ===== Header ===== */
.site-header { background: var(--purple); border-bottom: 1px solid rgba(255,255,255,.12); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 72px; padding-top: .75rem; padding-bottom: .75rem;
}
.logo { height: 48px; width: auto; }
.nav-list { display: flex; gap: .25rem; }
.nav-list a {
  display: block; padding: .6rem .9rem; min-height: 44px;
  font-family: var(--font-head); font-size: 1.05rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--white); text-decoration: none;
  border-bottom: 3px solid transparent;
}
.nav-list a:hover { color: var(--gold); }
.nav-list a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background: var(--purple); color: var(--white);
  padding: clamp(3.5rem, 12vw, 7rem) 0;
  text-align: center;
}
.hero h1 { color: var(--gold); margin-bottom: .25em; }
.hero-small h1 { font-size: clamp(2.2rem, 9vw, 3.75rem); }
.tagline { font-size: clamp(1.2rem, 4.5vw, 1.5rem); max-width: 42ch; margin: 0 auto 1.5rem; }
.hero-date {
  display: inline-block;
  font-family: var(--font-head); font-size: clamp(1.15rem, 4.6vw, 1.7rem);
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue);
  border-top: 1px solid rgba(79,216,255,.4); border-bottom: 1px solid rgba(79,216,255,.4);
  padding: .4rem 1rem; margin-bottom: 1rem;
}
.hero-location { margin: 0; }

/* Decorative snowflakes — few and subtle */
.flake {
  position: absolute; pointer-events: none;
  background: var(--flake-blue) no-repeat center / contain;
  opacity: .35;
}
.f1 { width: 70px; height: 70px; top: 10%; left: 6%; }
.f2 { width: 40px; height: 40px; bottom: 12%; right: 8%; opacity: .25; }
.f3 { width: 100px; height: 100px; top: -20px; right: -20px; opacity: .15; }

/* ===== Sections ===== */
.section { padding: var(--space) 0; }
.section-tight { padding: 2rem 0 var(--space); }
.section-grey { background: var(--grey); }
.section-purple { position: relative; overflow: hidden; background: var(--purple); color: var(--white); }
.section-purple h2 { color: var(--gold); }
.lead { font-size: 1.2rem; max-width: 50ch; }

/* What's on cards */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
.card {
  background: var(--white);
  border: 1px solid var(--grey);
  border-left: 5px solid var(--purple);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1rem;
}
.card h3 { margin-bottom: .3em; }
.card p { margin: 0; font-size: 1rem; }
.card h3 { font-size: 1.6rem; }
.card .flake-list { margin-top: .75rem; }
.card .flake-list li { margin-bottom: .5rem; }
.card .flake-list li:last-child { margin-bottom: 0; }

/* Buttons — gold on purple */
.btn {
  display: inline-block;
  background: var(--gold); color: var(--purple);
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  padding: .85rem 1.6rem; min-height: 48px;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.btn-big { font-size: 1.5rem; padding: 1.1rem 2.75rem; }
.btn.is-pending { opacity: .6; cursor: not-allowed; outline: 2px dashed var(--gold); outline-offset: 3px; }
.btn.is-pending:hover { transform: none; box-shadow: none; }
.pending-note { display: block; margin-top: .75rem; font-size: .9rem; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* Get involved */
.involve-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2rem; }
.involve-card {
  background: var(--purple-2);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.involve-card h3 { color: var(--gold); }
.dropoff {
  margin: 0; padding-left: 1rem;
  border-left: 3px solid var(--blue);
}

/* Support */
.support-panel {
  background: var(--purple); color: var(--white);
  border-radius: var(--radius);
  padding: clamp(2rem, 6vw, 3.5rem);
  text-align: center;
  max-width: 760px; margin: 0 auto;
}
.support-panel h2 { color: var(--gold); }
.support-panel p { max-width: 42ch; margin: 0 auto 1.5rem; font-size: 1.2rem; }

/* Vendor banner (on white) */
.vendor-banner {
  margin: 0; padding: 1.1rem 1.25rem;
  border: 2px solid var(--purple); border-radius: var(--radius);
  text-align: center; font-weight: 600;
}
.vendor-banner a { margin-left: .35rem; font-weight: 700; }

/* ===== Vendors page ===== */
.two-col { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.flake-list li {
  position: relative; padding-left: 2rem; margin-bottom: .75rem;
}
.flake-list li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 1.1rem; height: 1.1rem;
  background: var(--flake-purple) no-repeat center / contain;
}
.details-box {
  background: var(--grey);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.details-list li { padding: .6rem 0; border-bottom: 1px solid var(--white); font-weight: 600; }
.details-list li:last-child { border-bottom: 0; }

.package-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 1.5rem; }
.package {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 10px rgba(53,31,101,.08);
}
.package-head { background: var(--purple); color: var(--white); padding: 1.4rem 1.5rem; }
.package-head h3 { color: var(--white); margin-bottom: .2em; }
.price {
  font-family: var(--font-head); font-weight: 700; font-size: 2.2rem;
  color: var(--gold); margin: 0; line-height: 1.1;
}
.price-note { margin: .35rem 0 0; font-size: .95rem; }
.package-body { padding: 1.4rem 1.5rem .75rem; flex: 1; }
.package-body li { font-size: 1rem; }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0 1.25rem; }
.chips li {
  background: var(--grey); border-radius: 999px;
  padding: .5rem 1.1rem; font-weight: 600;
}
.note { font-weight: 600; margin: 0; }

.apply-deadline {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.5rem, 6vw, 2.2rem); letter-spacing: .03em;
  color: var(--gold); margin-bottom: 1.5rem;
}
.small-print { margin-top: 2rem; font-size: .95rem; }
.small-print p { margin: .25rem 0; }

/* ===== Footer ===== */
.site-footer {
  background: var(--purple); color: var(--white);
  border-top: 4px solid var(--gold);
  padding: 2rem 0; text-align: center; font-size: 1rem;
}
.site-footer p { margin: .25rem 0; }

/* ===== Larger screens ===== */
@media (min-width: 600px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .package-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .involve-grid { grid-template-columns: repeat(3, 1fr); }
  .package-grid { grid-template-columns: repeat(4, 1fr); }
  .two-col { grid-template-columns: 3fr 2fr; align-items: start; }
  .logo { height: 56px; }
}

/* Keep snowflakes clear of text on small phones */
@media (max-width: 599px) {
  .f1 { width: 44px; height: 44px; top: 4%; left: 4%; }
  .f2 { display: none; }
}

/* Logo sizing (wordmark is about 5.3 : 1) */
.logo { height: 34px; }
@media (max-width: 599px) { .nav-list a { padding: .6rem .6rem; } }
@media (max-width: 380px) { .logo { height: 28px; } .nav-list a { padding: .6rem .45rem; } }
@media (min-width: 600px) { .logo { height: 44px; } }
@media (min-width: 900px) { .logo { height: 52px; } }

/* Mascot */
.hero-mascot { height: clamp(170px, 24vw, 260px); width: auto; margin: 0 auto 1rem; }
.card { position: relative; }
.card.has-image { padding-right: 7.5rem; min-height: 11rem; }
.card-mascot {
  position: absolute; right: .75rem; bottom: .75rem;
  width: auto; height: 8.5rem; max-width: 6.5rem; object-fit: contain;
}
@media (min-width: 600px) { .card-mascot { height: 10rem; max-width: 8rem; } .card.has-image { padding-right: 9rem; } }

/* ===== More Electric Blue accents =====
   Blue is used as text only on purple. On white it appears only as decorative
   bars and edges (never as text) so readability isn't affected. */
.site-header { border-bottom: 3px solid var(--blue); }
.hero { border-bottom: 6px solid var(--blue); }
.flake { opacity: .55; }
.f2 { opacity: .45; }
.f3 { opacity: .3; }
.section h2::after {
  content: ""; display: block; width: 56px; height: 5px; margin-top: .45rem;
  background: var(--blue); border-radius: 3px;
}
.support-panel h2::after, .form-success h2::after, .center h2::after { margin-left: auto; margin-right: auto; }
.card { border-left-color: var(--blue); }
.involve-card { border-color: rgba(79,216,255,.45); border-top: 4px solid var(--blue); }
.support-panel { border-top: 6px solid var(--blue); }
.details-box { border-left: 6px solid var(--blue); }
.package-head { border-bottom: 5px solid var(--blue); }
.package-head h3 { color: var(--blue); }
.vendor-banner { border-color: var(--blue); border-width: 3px; }
.site-footer { border-top-color: var(--blue); }
.apply { border-top: 6px solid var(--blue); }

/* Package cards: purple headers line up across each row (subgrid) */
@supports (grid-template-rows: subgrid) {
  .package { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
}
