/* Homepage: festive, family-first. Builds on style.css tokens. */
body.home {
  --red: #ff4d4d;
  --green: #3ccf7a;
  --blue: #5ab0ff;
  --gold: #ffc94d;
  --cocoa: #2a1a12;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
}
.wrap.wide { max-width: 72rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.home nav a { margin-left: 1.1rem; font-weight: 600; }
body.home header.site { border-bottom: 0; }

/* ---------- string of lights ---------- */
.lights {
  position: relative; height: 42px; overflow: hidden;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='24'%3E%3Cpath d='M0 6 Q32 30 64 6' fill='none' stroke='%23557a57' stroke-width='2'/%3E%3C/svg%3E") 0 0 / 64px 24px repeat-x;
}
.bulb-light {
  position: absolute; width: 11px; height: 17px; border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%;
  background: var(--c); box-shadow: 0 2px 14px 3px var(--c);
  animation: twinkle var(--d, 2.4s) ease-in-out infinite; animation-delay: var(--delay, 0s);
}
.bulb-light::before {
  content: ""; position: absolute; top: -4px; left: 2.5px; width: 6px; height: 5px; border-radius: 1px; background: #4a5a4a;
}
@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; box-shadow: 0 2px 4px 0 var(--c); }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 3rem 1.25rem 4.5rem;
  background:
    radial-gradient(60rem 26rem at 50% 115%, rgba(255, 201, 77, 0.18), transparent 70%),
    radial-gradient(40rem 20rem at 15% 0%, rgba(90, 176, 255, 0.10), transparent 70%),
    linear-gradient(#06102e, #0b1640 70%, #10204f);
}
.hero-inner { position: relative; z-index: 1; max-width: 44rem; margin: 0 auto; }
.countdown {
  display: inline-block; margin: 0 0 1.2rem; padding: 0.35rem 0.95rem; border-radius: 999px;
  background: rgba(255, 77, 77, 0.14); border: 1px solid rgba(255, 77, 77, 0.45); color: #ffd1d1;
  font-weight: 800; font-size: 0.95rem; letter-spacing: 0.01em;
}
.hero h1 {
  margin: 0; line-height: 1.05; font-weight: 700;
  font-family: "Mountains of Christmas", "Nunito", cursive;
  font-size: clamp(2.6rem, 9vw, 4.6rem); color: #fff;
  text-shadow: 0 0 24px rgba(255, 201, 77, 0.35);
}
.hero h1 span { color: var(--gold); }
.lede { margin: 1rem auto 0; max-width: 34rem; color: #cfd6ee; font-size: clamp(1.05rem, 2.6vw, 1.22rem); }

.find {
  display: flex; gap: 0.5rem; margin: 2rem auto 0; max-width: 32rem;
  background: #fff; border-radius: 999px; padding: 0.35rem;
  box-shadow: 0 0 0 4px rgba(255, 201, 77, 0.25), 0 14px 40px rgba(0, 0, 0, 0.45);
}
.find input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: #14193a;
  font: inherit; font-size: 1.08rem; padding: 0 0.6rem 0 1.1rem; outline: none;
}
.find input::placeholder { color: #737a96; }
.find .go {
  flex: none; border: 0; border-radius: 999px; padding: 0.85rem 1.4rem; cursor: pointer;
  background: linear-gradient(#ff5e5e, #e43b3b); color: #fff; font: inherit; font-weight: 800; font-size: 1.02rem;
}
.find .go:hover { background: linear-gradient(#ff7272, #ec4747); }
.find:focus-within { box-shadow: 0 0 0 4px var(--gold), 0 14px 40px rgba(0, 0, 0, 0.45); }
.or { margin: 1.3rem 0 0; color: var(--muted); }
.or a { color: #fff; font-weight: 700; text-decoration: none; }
.or a:hover { color: var(--gold); }
.near { display: inline-flex; align-items: center; gap: 0.35rem; }
.near svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; }
.near svg circle:first-child { fill: currentColor; stroke: none; }
.free { margin: 1.4rem 0 0; color: #93a0c6; font-size: 0.95rem; }

/* gentle snow: two layers of dots drifting down */
.snow, .snow::before {
  position: absolute; inset: -100% 0 0 0; pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 90px 120px, #fff 50%, transparent 51%),
    radial-gradient(2.5px 2.5px at 160px 60px, #ffffffcc 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 230px 170px, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 60px 210px, #ffffffaa 50%, transparent 51%);
  background-size: 260px 240px;
  animation: snow 22s linear infinite; opacity: 0.55;
}
.snow::before { content: ""; inset: 0; background-size: 180px 200px; animation-duration: 14s; opacity: 0.5; }
@keyframes snow { to { transform: translateY(50%); } }

/* ---------- sections ---------- */
main { padding: 0; }
body.home main h2 {
  font-size: clamp(1.5rem, 3.6vw, 2rem); line-height: 1.2; margin: 0 0 1.4rem; font-weight: 800;
}
.trail, .steps, .tips, .hosts { padding-top: 3.5rem; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.4rem 1rem; margin-bottom: 1.4rem; }
.section-head h2 { margin: 0 !important; }
.see-all { font-weight: 700; text-decoration: none; }

.show-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.show-card a {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 1.1rem; overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.show-card a:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 10px 30px rgba(255, 201, 77, 0.15); color: var(--text); }
.show-card .art {
  height: 7.5rem; display: grid; place-items: center; position: relative;
  background: radial-gradient(circle at 50% 120%, rgba(255, 201, 77, 0.35), transparent 65%), #0e1a45;
  background-size: cover; background-position: center;
}
.show-card .art img { width: 4.5rem; height: 4.5rem; border-radius: 1rem; object-fit: cover; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5); }
.show-card .art .init { font-size: 2.2rem; }
.show-card .body { padding: 0.9rem 1rem 1.1rem; }
.show-card h3 { margin: 0; font-size: 1.12rem; }
.show-card p { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.93rem; line-height: 1.45; }
.show-card .when { color: #ffe3a3; }

.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); counter-reset: step; }
.step-list li {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 1.1rem; padding: 1.3rem 1.3rem 1.4rem;
  counter-increment: step;
}
.step-list li::after {
  content: counter(step); position: absolute; top: 1rem; right: 1.1rem;
  font-family: "Mountains of Christmas", cursive; font-size: 2.2rem; line-height: 1; color: rgba(255, 201, 77, 0.35);
}
.step-icon { font-size: 2rem; line-height: 1; }
.step-list h3 { margin: 0.7rem 0 0.35rem; font-size: 1.15rem; }
.step-list p { margin: 0; color: var(--muted); }
.steps-cta { text-align: center; margin: 2rem 0 0; }
.cta-btn { background: linear-gradient(#ff5e5e, #e43b3b); color: #fff; box-shadow: 0 0 2rem rgba(255, 77, 77, 0.3); }
.cta-btn:hover { background: linear-gradient(#ff7272, #ec4747); color: #fff; }

.tip-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.tip-grid li {
  display: grid; gap: 0.2rem; align-content: start; padding: 1rem 1.15rem; border-radius: 1rem;
  background: linear-gradient(135deg, rgba(60, 207, 122, 0.08), rgba(255, 77, 77, 0.06));
  border: 1px solid var(--line); border-left: 4px solid var(--green);
}
.tip-grid li:nth-child(even) { border-left-color: var(--red); }
.tip-grid strong { font-size: 1.05rem; }
.tip-grid span { color: var(--muted); font-size: 0.97rem; }

.hosts { padding-bottom: 4rem; }
.hosts-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem;
  padding: 1.6rem 1.7rem; border-radius: 1.2rem; border: 1px dashed #3a4a7a; background: #0a1336;
}
.hosts-card > div { flex: 1 1 26rem; }
body.home .hosts-card h2 { font-size: 1.35rem; margin: 0 0 0.4rem; }
.hosts-card p { margin: 0; color: var(--muted); }
.btn-outline {
  flex: none; padding: 0.75rem 1.3rem; border-radius: 999px; border: 2px solid var(--gold);
  color: var(--gold); font-weight: 800; text-decoration: none;
}
.btn-outline:hover { background: var(--gold); color: #1a1000; }

footer.site .wrap.wide { max-width: 72rem; }

@media (max-width: 560px) {
  body.home header.site .wrap { justify-content: center; }
  body.home nav a { margin: 0 0.6rem; }
  .hero { padding-top: 2rem; }
  .find { flex-direction: column; border-radius: 1.2rem; padding: 0.5rem; }
  .find input { padding: 0.8rem 0.8rem; text-align: center; }
  .find .go { border-radius: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .bulb-light, .snow, .snow::before { animation: none; }
  .show-card a { transition: none; }
}
