/* Let It Glow — mobile-first. Base styles are for phones; wider screens add columns. */
:root {
  --pine: #050607;
  --pine-deep: #000000;
  --pine-card: #14181c;
  --green: #0f5e10;
  --cyan: #1cb5d8;
  --red: #d0252f;
  --red-deep: #9a1219;
  --gold: #f3cf62;
  --snow: #ffffff;
  --snow-dim: #d6d9dd;
  --line: rgba(255, 255, 255, .16);
  --field: #fffaf1;
  --field-ink: #1b2a24;
  --display: "League Spartan", "Futura", "Trebuchet MS", sans-serif;
  --script: "Mr Dafoe", "Brush Script MT", cursive;
  --body: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--pine);
  color: var(--snow);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
img { max-width: 100%; display: block; }
a { color: var(--gold); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(18px, env(safe-area-inset-right, 0px));
}
section { padding-block: 48px; }
.alt { background: var(--pine-deep); }

h1, h2, h3 { margin: 0; font-weight: 800; text-wrap: balance; }
h2 { font-family: var(--display); text-transform: uppercase; font-size: clamp(28px, 7.4vw, 48px); line-height: 1.05; letter-spacing: 0; text-shadow: 0 0 18px rgba(208, 37, 47, .55); }
h3 { font-family: var(--display); text-transform: uppercase; font-size: 22px; letter-spacing: .02em; }
p { margin: 0; }
.stack { display: grid; gap: 16px; }
.center { text-align: center; justify-items: center; }
.script { font-family: var(--script); color: var(--red); font-size: clamp(40px, 11vw, 60px); line-height: 1; }

/* Ribbon banner, the red band from last year's site */
.ribbon {
  display: inline-block;
  background: var(--red);
  color: var(--snow);
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: clamp(16px, 4.4vw, 22px);
  padding: 8px 18px;
  border-radius: 4px;
  box-shadow: 0 3px 0 var(--red-deep);
}

/* Top bar */
.topbar { background: var(--pine-deep); border-bottom: 1px solid var(--line); font-size: 14px; }
.topbar .wrap { display: flex; gap: 8px 18px; flex-wrap: wrap; justify-content: center; padding-block: 10px; }
.topbar a { color: var(--snow); text-decoration: none; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.topbar a:hover { color: var(--gold); }

/* String lights */
.lights { height: 46px; position: relative; overflow: hidden; }
.lights .cord { position: absolute; inset: 0; width: 100%; height: 100%; }
.lights .bulbs { position: absolute; inset: 0; display: flex; justify-content: space-between; padding-inline: 3%; }
.bulb { width: 11px; height: 17px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: var(--c); box-shadow: 0 0 12px 3px var(--c); margin-top: calc(var(--y) * 1px); animation: twinkle 2.8s ease-in-out infinite; animation-delay: calc(var(--d) * 1s); }
@keyframes twinkle { 50% { opacity: .5; box-shadow: 0 0 5px 1px var(--c); } }
@media (prefers-reduced-motion: reduce) { .bulb { animation: none; } }

/* Hero: last year's bokeh lights over black, glowing title, cyan + gold subtitle */
.hero { position: relative; text-align: center; background: var(--pine-deep) url("img/lights.jpg") center top / max(100%, 720px) auto no-repeat; padding-block: max(150px, 20vw) 40px; }
.hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: max(22vw, 159px); background: linear-gradient(180deg, rgba(0,0,0,0) 55%, #000 100%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero .stack { justify-items: center; gap: 12px; }
.hero h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .95; letter-spacing: -.02em; font-size: clamp(50px, 14vw, 128px); color: #fff; text-shadow: 0 0 18px rgba(255, 214, 140, .85), 0 0 42px rgba(255, 180, 80, .45); }
.hero .sub { display: grid; gap: 2px; font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 1.1; font-size: clamp(19px, 5.6vw, 40px); }
.hero .sub .c { color: var(--cyan); }
.hero .sub .g { color: var(--gold); }
.hero .btn-row { margin-top: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 12px 26px; border: 0; border-radius: 999px;
  background: var(--red); color: var(--snow); box-shadow: 0 4px 0 var(--red-deep);
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 18px; padding-top: 15px;
  text-decoration: none; cursor: pointer;
}
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--red-deep); }
.btn-gold { background: var(--gold); color: var(--pine-deep); box-shadow: 0 4px 0 #b88d2b; }
.btn-line { background: transparent; border: 2px solid var(--snow); box-shadow: none; }
.btn-row { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 360px; }
@media (min-width: 640px) { .btn-row { flex-direction: row; max-width: none; justify-content: center; } }

/* Hey neighbor */
.intro-grid { display: grid; gap: 22px; align-items: center; }
.intro-grid img { width: 100%; max-width: 520px; margin: 0 auto; height: auto; }
@media (min-width: 820px) { .intro-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .intro-grid img { order: 2; } }
.intro { display: grid; gap: 16px; max-width: 62ch; margin: 0 auto; }
.intro p { color: var(--snow-dim); }
.intro strong { color: var(--snow); }

/* Dates */
.dates-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dates-list li { background: var(--pine-card); border-radius: 12px; padding: 14px; display: grid; gap: 2px; border-top: 4px solid var(--c, var(--gold)); }
.dates-list .when { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: .02em; }
.dates-list .what { font-size: 14px; color: var(--snow-dim); line-height: 1.3; }
.dates-list li.now { outline: 2px solid var(--gold); }
@media (min-width: 760px) { .dates-list { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* Categories */
.cats { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.cat { background: var(--pine-card); border-radius: 12px; padding: 14px 16px; display: grid; gap: 2px; }
.cat b { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: 19px; font-weight: 400; color: var(--gold); }
.cat span { font-size: 15px; color: var(--snow-dim); }
@media (min-width: 640px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Forms */
.form-card { color-scheme: light; background: var(--snow); color: var(--field-ink); border-radius: 18px; padding: 22px 18px; display: grid; gap: 18px; width: 100%; max-width: 640px; margin: 0 auto; }
.form-card .field { display: grid; gap: 6px; }
.form-card label, .form-card legend { font-weight: 800; font-size: 16px; line-height: 1.3; }
.form-card .hint { font-weight: 400; font-size: 14px; color: #4c5d55; }
.form-card input[type="text"], .form-card input[type="email"], .form-card input[type="tel"], .form-card input[type="number"], .form-card select {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--field-ink);
  background: #fff; border: 2px solid #c9d3cd; border-radius: 10px; color-scheme: light;
}
.form-card input:focus, .form-card select:focus { border-color: var(--pine); outline: none; box-shadow: 0 0 0 3px rgba(13, 59, 44, .2); }
.form-card fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 2px solid #c9d3cd; border-radius: 10px; background: #fff; cursor: pointer; font-weight: 600; font-size: 16px; line-height: 1.35; }
.choice input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--red); }
.choice small { display: block; font-weight: 400; color: #4c5d55; font-size: 14px; }
.choice:has(input:checked) { border-color: var(--red); background: #fff3f4; }
.house-pick { border: 2px solid #c9d3cd; border-radius: 10px; background: #fff; }
.house-pick.picked { border-color: var(--red); }
.house-pick summary { list-style: none; cursor: pointer; display: grid; gap: 6px; padding: 12px 44px 12px 14px; position: relative; min-height: 50px; }
.house-pick summary::-webkit-details-marker { display: none; }
.house-pick summary::after { content: ""; position: absolute; right: 18px; top: 22px; width: 10px; height: 10px; border-right: 3px solid var(--field-ink); border-bottom: 3px solid var(--field-ink); transform: rotate(45deg); transition: transform .15s; }
.house-pick[open] summary::after { transform: rotate(-135deg); top: 27px; }
.house-pick summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 8px; }
.pick-title { font-weight: 800; font-size: 16px; line-height: 1.3; }
.pick-current { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #4c5d55; }
.house-pick.picked .pick-current { color: var(--field-ink); font-weight: 700; }
.pick-current img { width: 64px; height: 40px; object-fit: cover; border-radius: 6px; flex: none; }
.house-list { display: grid; gap: 8px; padding: 0 10px 10px; max-height: 70vh; overflow-y: auto; }
.house-opt { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 132px; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; border: 2px solid #e1e5e3; border-radius: 12px; background: #ececec; cursor: pointer; font-weight: 600; font-size: 16px; line-height: 1.3; }
.house-opt input { position: absolute; opacity: 0; pointer-events: none; }
.house-opt img { width: 132px; height: 80px; object-fit: cover; border-radius: 8px; background: #222; }
.house-opt:has(input:checked) { border-color: var(--red); background: #fff3f4; }
.house-opt:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.house-skip { grid-template-columns: minmax(0, 1fr); min-height: 50px; font-weight: 400; color: #4c5d55; }
@media (max-width: 380px) { .house-opt { grid-template-columns: minmax(0, 1fr) 104px; } .house-opt img { width: 104px; height: 66px; } }
.form-card .btn { width: 100%; }
.form-error { color: var(--red-deep); font-weight: 700; font-size: 15px; }
.form-note { font-size: 13px; color: #4c5d55; text-align: center; }
.two { display: grid; gap: 18px; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }
.form-head { text-align: center; display: grid; gap: 8px; justify-items: center; }
.deadline { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--gold); font-size: 20px; }

/* Tour */
.tour { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tour li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 12px; align-items: center; background: var(--pine-card); border-radius: 12px; padding: 10px 12px; }
.tour .num { font-weight: 800; grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-family: var(--display); font-size: 20px; }
.tour .addr { font-weight: 800; font-size: 16px; }
.tour .tcat { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
@media (min-width: 760px) { .tour { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.map-links { display: grid; gap: 10px; justify-items: center; text-align: center; }
.map-links p { font-size: 14px; color: var(--snow-dim); max-width: 46ch; }

/* Winners */
.winners { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); width: 100%; }
.winner { background: var(--pine-card); border: 2px solid var(--gold); border-radius: 14px; padding: 16px; display: grid; gap: 4px; text-align: center; }
.winner .wcat { font-family: var(--display); font-weight: 800; text-transform: uppercase; color: var(--gold); letter-spacing: .04em; }
.winner .waddr { font-weight: 800; font-size: 18px; }
@media (min-width: 640px) { .winners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Cocoa */
.cocoa-card { background: var(--red); border-radius: 18px; padding: 22px; display: grid; gap: 8px; text-align: center; justify-items: center; box-shadow: 0 5px 0 var(--red-deep); }
.cocoa-card .big { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 8vw, 44px); line-height: 1; text-transform: uppercase; }

/* Guide promo */
.promo { display: grid; gap: 14px; justify-items: center; text-align: center; }
.promo h2 { font-size: clamp(24px, 6vw, 36px); }

/* Footer */
footer { background: var(--pine-deep); border-top: 1px solid var(--line); padding-block: 32px 96px; font-size: 15px; }
footer .stack { gap: 6px; justify-items: center; text-align: center; }
footer .who { font-family: var(--script); font-size: 38px; color: var(--snow); line-height: 1; }
footer .role { text-transform: uppercase; letter-spacing: .1em; font-size: 13px; font-weight: 800; color: var(--snow-dim); }
footer .fine { font-size: 12px; color: var(--snow-dim); margin-top: 10px; }
@media (min-width: 760px) { footer { padding-bottom: 32px; } }

/* Sticky action bar on phones */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: rgba(8, 42, 31, .96); border-top: 1px solid var(--line);
  padding: 10px max(14px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px));
  display: flex; gap: 10px;
}
.dock .btn { flex: 1; min-height: 48px; font-size: 17px; padding-inline: 12px; }
@media (min-width: 760px) { .dock { display: none; } }

/* Thank-you pages */
.thanks { min-height: 70vh; display: grid; place-items: center; padding-block: 40px; text-align: center; }
.thanks .stack { justify-items: center; gap: 18px; max-width: 34rem; }
.thanks h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(42px, 12vw, 80px); line-height: .95; }
.thanks p { color: var(--snow-dim); }
.next { background: var(--pine-card); border-radius: 14px; padding: 18px; display: grid; gap: 8px; width: 100%; text-align: left; }
.next b { color: var(--gold); }

.preview-banner { background: var(--gold); color: var(--pine-deep); text-align: center; font-weight: 800; font-size: 14px; padding: 8px 14px; }
.preview-banner a { color: var(--pine-deep); }

/* Lit-up house band from last year's site */
.house-band { position: relative; height: clamp(120px, 26vw, 200px); background: url("img/lit-house.jpg") center / cover no-repeat; }
.house-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--pine) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,0) 60%, var(--pine-deep) 100%); }
.glow-q { font-size: clamp(26px, 7vw, 46px); }
.ready { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 11vw, 72px); line-height: 1; color: #fff; text-shadow: 0 0 14px rgba(255,255,255,.35); }
.form-head em { font-weight: 700; color: var(--snow); }

.rule { max-width: 46ch; font-size: 15px; color: var(--snow-dim); }
.rule b { color: var(--snow); }
.map-frame { width: 100%; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 14px; overflow: hidden; background: var(--pine-card); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (min-width: 760px) { .map-frame { aspect-ratio: 16 / 9; } }

/* Social icons */
.topbar .wrap { align-items: center; }
.social-mini { display: inline-flex; gap: 14px; align-items: center; }
.social-mini a { display: inline-flex; width: 22px; height: 22px; }
.social-mini svg, .social svg { width: 100%; height: 100%; }
.social-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.social { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 12px 22px 12px 16px; border-radius: 999px; background: var(--gold); color: var(--pine-deep); text-decoration: none; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 17px; padding-top: 14px; }
.social svg { width: 28px; height: 28px; flex: none; margin-top: -2px; }
.social:hover { filter: brightness(1.06); }
