:root {
  color-scheme: dark;
  --night: #091b28;
  --night-deep: #071520;
  --white: #fffaf0;
  --muted: #c4d5db;
  --gold: #f6cc82;
  --line: #ffffff24;
  --paper: #fff8ed;
  --ink: #31221e;
  --ink-muted: #594940;
  --cranberry: #852c42;
  --paper-line: #ddcbbb;
  --display: Georgia, 'Times New Roman', serif;
  font-family: system-ui, sans-serif;
  color: var(--white);
  background: var(--night);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #9be5ff; outline-offset: 5px; }
.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.skip { position: absolute; z-index: 10; left: 1rem; top: 1rem; padding: .7rem 1rem; background: var(--white); color: var(--night); transform: translateY(-200%); }
.skip:focus { transform: none; }
.masthead { border-bottom: 1px solid var(--line); background: var(--night-deep); }
.masthead-inner, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: 4.5rem; }
.brand { display: block; width: clamp(12.5rem, 23vw, 15.75rem); max-width: 100%; }
.brand img { display: block; width: 100%; height: auto; }
nav { display: flex; gap: clamp(1rem, 3vw, 2rem); }
nav a { text-decoration: none; color: var(--muted); font-size: .875rem; }
nav a:hover { color: var(--white); text-decoration: underline; }
.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid #edc57f70; background: #0e2434; }
.hero-image, .snow, .lights { position: absolute; inset: 0; pointer-events: none; }
.hero-image {
  z-index: -2;
  background: linear-gradient(90deg,#081725f5 0%,#081725e8 22%,#081725a8 46%,#08172512 76%), linear-gradient(0deg,#081725c7,transparent 34%), url(assets/holiday-home.webp) center 56% / cover no-repeat;
}
.hero-inner { min-height: 36rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 6.2rem 5.3rem; }
.eyebrow { color: var(--gold); font-size: .875rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; line-height: 1.5; }
.eyebrow span { margin-right: .4rem; }
h1, h2 { font-family: var(--display); font-weight: 400; }
h1 { font-size: clamp(3rem, 7.5vw, 7rem); letter-spacing: -.067em; line-height: .96; margin: 1rem 0 1.35rem; text-shadow: 0 3px 32px #06111da8; }
h1 em { color: var(--gold); font-weight: inherit; }
.hero-copy { max-width: 28rem; color: var(--white); font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.4rem; margin-top: 2rem; }
.hero-actions p { color: var(--muted); font-size: .875rem; line-height: 1.45; }
.hero-actions strong { color: var(--white); font-size: 1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.15rem; border-radius: .3rem; padding: .7rem 1.4rem; background: var(--gold); color: #24180d; font-weight: 750; text-decoration: none; }
.button:hover { background: #ffe0a6; }
.motion-toggle { position: absolute; right: 1rem; bottom: 1rem; color: var(--white); background: #071520eb; border: 1px solid #ffffff56; padding: .55rem .75rem; border-radius: .3rem; cursor: pointer; font: inherit; font-size: .875rem; }
.motion-toggle:hover { background: #172f42; }
.lights { inset: 0 0 auto; height: 3rem; overflow: hidden; mask-image: linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent); }
.lights::before { content: ''; position: absolute; inset: -.65rem 0 auto; height: 1.6rem; border-radius: 0 0 50% 50%; border-bottom: 1px solid #a5aa926c; }
.bulb { position: absolute; width: .32rem; height: .55rem; border-radius: 55%; background: var(--bulb); box-shadow: 0 0 .75rem .14rem var(--bulb); animation: twinkle var(--duration) ease-in-out var(--delay) infinite alternate; }
.snow { z-index: -1; overflow: hidden; }
.flake { position: absolute; top: -.7rem; width: var(--size); height: var(--size); border-radius: 50%; background: #fff; animation: fall var(--duration) linear var(--delay) infinite; }
@keyframes twinkle { from { opacity: .4; } to { opacity: 1; } }
@keyframes fall { from { opacity: 0; transform: translate3d(0,0,0); } 10%, 86% { opacity: var(--opacity); } to { opacity: 0; transform: translate3d(3rem,38rem,0); } }
.motion-off .bulb { animation: none; }
.motion-off .snow { display: none; }
@media (prefers-reduced-motion: reduce) { .bulb { animation: none; } .snow { display: none; } }
.prizes {
  background: radial-gradient(ellipse at 38% 0%, #963548, transparent 56%), linear-gradient(112deg, #801f35, #5e172b 72%, #451322);
  border-block: 1px solid #e8b66a99;
}
.prizes-inner { display: grid; grid-template-columns: .7fr 2.1fr; align-items: center; min-height: 8.5rem; }
.prize-intro { display: flex; gap: .65rem; align-items: center; }
.prize-intro span { color: var(--gold); }
.prize-intro h2 { font-size: clamp(1.35rem, 2.6vw, 2.15rem); }
.prizes dl { display: grid; grid-template-columns: repeat(3,1fr); }
.prizes dl div { border-left: 1px solid #f6cc825e; padding: .15rem 0 .2rem; text-align: center; }
.prizes dt { color: var(--white); font-size: .875rem; }
.prizes dd { color: var(--gold); font: 400 clamp(1.65rem, 4vw, 3.2rem)/1.12 var(--display); margin-top: .2rem; }
.prizes dl div:first-child dd { color: #ffe3a6; text-shadow: 0 0 1.2rem #ffcc673e; }
.contest-info { background: var(--paper); color: var(--ink); color-scheme: light; }
.contest-info :is(a, button):focus-visible { outline-color: var(--cranberry); }
.schedule { padding-block: clamp(2.2rem, 5vw, 4rem); }
.schedule h2, .entry-section h2, .map-section h2, .winner-section h2 { font-size: clamp(2.1rem, 4.6vw, 3.65rem); letter-spacing: -.05em; line-height: 1.08; margin-block: .3rem .8rem; }
.timeline { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; padding: 0; margin: 1.5rem 0 1rem; list-style: none; }
.timeline li { background: #fffdfa; border: 1px solid var(--paper-line); border-top: 3px solid #b8915d; border-radius: .4rem; padding: 1rem 1.1rem 1.2rem; }
.timeline li[aria-current="step"] { border-color: #c3818c; border-top-color: var(--cranberry); background: #fff0ef; }
.phase-badge { margin-left: .5rem; color: var(--cranberry); font-size: .875rem; font-weight: 650; }
.timeline-symbol { color: var(--cranberry); }
.timeline h3 { font-size: 1.07rem; margin-block: .55rem .35rem; }
.timeline .dates { font: 400 clamp(1.5rem, 3.6vw, 2rem)/1.2 var(--display); color: var(--cranberry); margin-bottom: .5rem; }
.timeline p, .entry-section p { color: var(--ink-muted); line-height: 1.65; }
.timezone { color: var(--ink-muted); font-size: .875rem; }
.entry-section {
  background: radial-gradient(ellipse at 2% 0%, #ffedca 0%, transparent 46%), linear-gradient(110deg, #fff8eb, #fbefe7);
  border-bottom: 1px solid var(--paper-line);
  padding-block: clamp(2rem, 4vw, 3.4rem);
}
.entry-layout { display: grid; gap: 2rem; grid-template-columns: .85fr 1.15fr; align-items: start; }
.entry-layout > div:first-child p:last-child { max-width: 32rem; }
.entry-card { border: 1px solid var(--paper-line); border-left: 4px solid var(--cranberry); border-radius: .5rem; padding: clamp(1.25rem, 4vw, 2rem); background: #fffdfa; box-shadow: 0 .55rem 1.6rem #65422a0d; overflow-wrap: anywhere; }
.entry-card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.entry-card .button { margin-top: 1rem; }
#second-street:empty { display: none; }
#second-street { grid-column: 1 / -1; min-width: 0; background: #fff; color: #18202a; border-radius: .25rem; }
#second-street iframe { display: block; width: 100%; border: 0; }
#second-street .promotion-frame { min-height: 55rem; }
.map-section {
  background: linear-gradient(112deg, #fbeedb, #f6e1e0);
  color: var(--ink);
  border-top: 1px solid var(--paper-line);
  padding-block: clamp(2rem, 4vw, 3.3rem);
}
.map-layout { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.2rem 2rem; }
.map-layout > div:first-child p { max-width: 34rem; color: var(--ink-muted); line-height: 1.65; }
.map-status { display: flex; align-items: center; gap: .75rem; padding: .75rem 1.15rem; border: 1px solid #c68c96; border-radius: .4rem; background: #fff8f4; color: var(--cranberry); font-weight: 700; }
.map-pin { display: block; width: .9rem; height: .9rem; border: .2rem solid currentColor; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.winner-section {
  background: radial-gradient(ellipse at 88% 28%, #472135, transparent 64%), linear-gradient(115deg, #0b1b2a, #172031 60%, #231a2b);
  border-block: 1px solid #b9915d63;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.winner-layout { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.winner-layout figure { margin: 0; max-width: 600px; }
.winner-layout img { display: block; width: 100%; height: auto; border: 1px solid #d2a87080; border-radius: .4rem; box-shadow: 0 1rem 2rem #080b1590; }
.winner-layout figcaption { margin-top: .6rem; color: var(--muted); font-size: .875rem; }
.winner-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }
.footer { min-height: 6rem; }
.footer p { font-size: .875rem; color: var(--muted); }
@media (max-width: 48rem) {
  .hero-inner { min-height: 35rem; justify-content: flex-end; padding-block: 12rem 4rem; }
  .hero-image { background-image: linear-gradient(0deg,#081725 0%,#081725f0 29%,#08172580 61%,#0817251c 100%),url(assets/holiday-home.webp); background-position: 70% top; }
  .prizes-inner { grid-template-columns: 1fr; gap: .8rem; padding-block: 1.15rem; }
  .prizes dl div:first-child { border-left: 0; }
  .entry-layout, .winner-layout { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 33rem) {
  .wrap { width: calc(100% - 2rem); }
  .masthead-inner { flex-wrap: wrap; gap: .7rem 1.2rem; min-height: 4rem; padding-block: .75rem; }
  nav { gap: .8rem; }
  h1 { font-size: clamp(2.65rem, 11vw, 3.55rem); }
  .timeline { grid-template-columns: 1fr; gap: 1.2rem; }
  .footer { flex-wrap: wrap; justify-content: flex-start; gap: .65rem 1rem; align-content: center; }
}
