/* Lakeland Lights Showdown, design B: bright storefront look, brand blues. */
:root {
  --blue: #0A6FAD;       /* hero card, buttons (white text AA) */
  --bulb: #0C84CC;       /* logo bulb */
  --navy: #1E4884;       /* logo lettering */
  --frost: #8AC6F0;
  --ice: #C9E6FA;
  --panel: #EEF6FC;      /* soft section panels */
  --ink: #0B1A2E;
  --body-ink: #3A4A5E;
  --white: #FFFFFF;

  --serif: "Playfair", "Bodoni 72", Didot, Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --frame: clamp(10px, 2vw, 24px);
  --pad: clamp(20px, 5vw, 72px);
  --max: 1160px;
  --r-lg: clamp(24px, 3vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
h2 { font: 600 clamp(2.25rem, 4.8vw, 3.75rem)/1.02 var(--serif); font-stretch: 87.5%; font-variation-settings: "wdth" 87.5; letter-spacing: -.025em; }
h2 em { font-style: normal; color: var(--blue); }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--bulb); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Pill buttons */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  background: var(--blue); color: var(--white); border: 2px solid var(--blue);
  font: 600 1rem/1 var(--sans); text-decoration: none;
  box-shadow: 0 10px 24px -10px rgba(10,111,173,.7);
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s;
}
.pill:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(10,111,173,.8); background: var(--navy); border-color: var(--navy); }
.pill-white { background: var(--white); color: var(--blue); border-color: var(--white); box-shadow: 0 10px 24px -12px rgba(11,26,46,.6); }
.pill-white:hover { background: var(--ice); border-color: var(--ice); }
.pill-line { background: transparent; color: var(--white); border-color: rgba(255,255,255,.75); box-shadow: none; }
.pill-line:hover { background: rgba(255,255,255,.12); border-color: var(--white); box-shadow: none; }

/* HERO: the lit house fills a rounded card (the "Curbside" concept), faded into the brand blues */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin: var(--frame); border-radius: var(--r-lg);
  min-height: calc(100svh - 2 * var(--frame));
  display: grid; grid-template-rows: auto 1fr auto;
  color: var(--white); background: var(--blue);
}
.hero-photo {
  position: absolute; inset: 0; z-index: -2;
  background: url(/images/hero.webp) 60% 40% / cover no-repeat;
  transform: scale(1.04); animation: hero-drift 24s ease-in-out infinite alternate;
}
@keyframes hero-drift { to { transform: scale(1.1) translate(-1.5%, -1%); } }
/* Same blues as before: #0C84CC (bulb) into #0A6FAD (button blue) */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,111,173,.78) 0%, rgba(12,132,204,0) 26%),
    linear-gradient(0deg, rgba(10,111,173,.97) 0%, rgba(12,132,204,.78) 26%, rgba(12,132,204,.3) 46%, rgba(12,132,204,0) 64%);
}
.hero-lights { position: absolute; top: 76px; left: 0; width: 100%; height: 130px; overflow: visible; }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--pad); position: relative; z-index: 2; }
.brand { font: 600 clamp(1.25rem, 2vw, 1.625rem)/1 var(--serif); font-stretch: 87.5%; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: 28px; font-weight: 500; }
.nav nav a:not(.pill) { text-decoration: none; opacity: .9; white-space: nowrap; }
@media (max-width: 1000px) { .nav nav { gap: 18px; } }
.nav nav a:not(.pill):hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.nav .pill { min-height: 42px; padding: 0 20px; font-size: .9375rem; white-space: nowrap; }

.hero-foot {
  grid-row: 3; position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 32px; align-items: end;
  padding: 0 var(--pad) clamp(32px, 5vw, 56px);
}
.hero-title {
  margin: 0; white-space: nowrap;
  font: 800 clamp(2.4rem, 6.4vw, 6.6rem)/.82 var(--serif);
  font-stretch: 87.5%; font-variation-settings: "wdth" 87.5;
  letter-spacing: -.03em; text-transform: uppercase;
  text-shadow: 0 6px 40px rgba(4,20,40,.6);
}
/* Squeeze the letters horizontally for the tall, narrow look */
.hero-title span { display: block; transform: scaleX(.74); transform-origin: left center; }
.hero-title .big { font-size: 1.5em; }
.hero-copy h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 10px; }
.hero-copy p { color: #E3F1FB; font-size: 1rem; margin-bottom: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.status { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 0 !important; font-weight: 600; color: var(--white) !important; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #FFF4CC; box-shadow: 0 0 10px 3px rgba(255,244,204,.85); }

/* String of lights */
.bulb { cursor: pointer; }
.bulb .glass { fill: currentColor; opacity: .25; transition: opacity .35s ease; }
.bulb .halo { fill: currentColor; opacity: 0; transition: opacity .5s ease; }
.bulb .cap { fill: #0B3E66; }
.bulb.on .glass { opacity: 1; }
.bulb.on .halo { opacity: .55; }
.bulb.twinkle .glass { animation: twinkle var(--d, 2.8s) ease-in-out var(--delay, 0s) infinite; }
.bulb.twinkle .halo { animation: halo var(--d, 2.8s) ease-in-out var(--delay, 0s) infinite; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes halo { 0%, 100% { opacity: .6; } 50% { opacity: .1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-photo, .bulb.twinkle .glass, .bulb.twinkle .halo { animation: none; }
}
/* Tablet widths: the copy sits higher over the photo, so carry the blue further up */
@media (max-width: 1100px) {
  .hero::before {
    background:
      linear-gradient(180deg, rgba(10,111,173,.78) 0%, rgba(12,132,204,0) 26%),
      linear-gradient(0deg, rgba(10,111,173,.97) 0%, rgba(12,132,204,.8) 34%, rgba(12,132,204,.4) 56%, rgba(12,132,204,0) 74%);
  }
}

/* Shared section width */
.split, .season, .footer { max-width: calc(var(--max) + 2 * var(--pad)); margin-left: auto; margin-right: auto; padding-left: var(--pad); padding-right: var(--pad); }
.lede { color: var(--body-ink); max-width: 56ch; margin: 14px auto 0; }

/* Split rows with a photo popping out of a blue card */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(72px, 10vw, 128px); }
.split-copy h2 { margin-bottom: 20px; }
.split-copy p { color: var(--body-ink); max-width: 46ch; }
.split-copy .pill { margin-top: 12px; }
.popcard { position: relative; margin: 0 0 0 auto; width: min(100%, 460px); padding: 0 0 28px 28px; }
.popcard::before {
  content: ""; position: absolute; right: 28px; top: -28px; bottom: 56px; left: 0;
  border-radius: 48px 48px 48px 48px; z-index: -1;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 50%),
    var(--blue);
}
.popcard img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: 40px; box-shadow: 0 30px 50px -24px rgba(11,26,46,.55); transform: translate(28px, 0); }
.split-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.split-flip .popcard { margin: 0 auto 0 0; padding: 0 28px 28px 0; }
.split-flip .popcard::before { left: 28px; right: 0; }
.split-flip .popcard img { transform: translate(-28px, 0); }
.split > *, .split { position: relative; isolation: isolate; }

/* Panels */
.panel { margin: 0 var(--frame); border-radius: var(--r-lg); background: var(--panel); padding: clamp(56px, 8vw, 96px) var(--pad); position: relative; overflow: hidden; isolation: isolate; }
.panel::after { /* faint snowflakes, like the reference's swirls */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%23C9E6FA' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M20 4v32M6 12l28 16M6 28l28-16M16 6l4 4 4-4M16 34l4-4 4 4'/%3E%3C/svg%3E") 6% 18% / 64px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%23C9E6FA' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M20 4v32M6 12l28 16M6 28l28-16M16 6l4 4 4-4M16 34l4-4 4 4'/%3E%3C/svg%3E") 94% 70% / 88px no-repeat;
}
.how { text-align: center; }
.steps { list-style: none; padding: 0; margin: clamp(40px, 6vw, 64px) auto 0; max-width: var(--max); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; padding: 32px 20px 28px; border-radius: 28px; background: var(--white); box-shadow: 0 18px 40px -28px rgba(11,26,46,.35); }
.icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--panel); position: relative; }
.icon::after { content: counter(s); position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: var(--white); font: 700 .8125rem/26px var(--sans); }
.icon svg { width: 40px; height: 40px; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.icon svg circle { fill: var(--blue); stroke: none; }
.icon .sparkle { stroke: var(--frost); }
.steps h3 { font: 600 1.5rem/1.15 var(--serif); font-stretch: 87.5%; margin-bottom: 8px; }
.steps p { color: var(--body-ink); margin: 0; font-size: 1rem; }

/* Season cards */
.season { text-align: center; padding-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(56px, 8vw, 96px); }
.cards { list-style: none; padding: 0; margin: clamp(36px, 5vw, 56px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; text-align: left; }
.card { position: relative; background: var(--panel); border-radius: 28px; padding: 18px 18px 22px; display: flex; flex-direction: column; }
.card time { align-self: flex-end; font: 600 1.5rem/1 var(--serif); font-stretch: 87.5%; color: var(--blue); margin-bottom: 14px; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; margin-bottom: 16px; }
.card h3 { font: 600 1.0625rem/1.35 var(--sans); text-align: center; margin-top: auto; }
.card-prize .tag { align-self: flex-end; font: 600 1.5rem/1 var(--serif); font-stretch: 87.5%; color: var(--blue); margin-bottom: 14px; }
.card-prize .sign { width: 100%; aspect-ratio: 1; padding: 12px; margin-bottom: 16px; border-radius: 20px; background: var(--white); }
.fine { color: var(--body-ink); margin: 28px auto 0; font-size: .9375rem; }
.fine a, .footer a { color: var(--blue); text-underline-offset: 4px; }

/* Join panel */
.join { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.join h2 { max-width: 14ch; }
.join p { color: var(--body-ink); }

/* About LEF */
.about-lef { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: clamp(72px, 10vw, 128px) var(--pad) clamp(40px, 6vw, 64px); }
.about-lef-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-lef-head h2 { margin-bottom: 20px; }
.about-lef-head p { color: var(--body-ink); max-width: 48ch; margin: 0; }
.about-lef-photo { margin: 0; position: relative; isolation: isolate; }
.about-lef-photo::before { content: ""; position: absolute; inset: 24px -18px -18px 24px; border-radius: 36px; background: var(--blue); z-index: -1; }
.about-lef-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 32px; box-shadow: 0 30px 50px -28px rgba(11,26,46,.55); }
.about-lef-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: clamp(48px, 6vw, 72px) 0 32px; }
.about-lef-cols > div { background: var(--panel); border-radius: 28px; padding: 28px 32px; }
.about-lef-cols h3 { font: 600 1.75rem/1.1 var(--serif); font-stretch: 87.5%; font-variation-settings: "wdth" 87.5; margin-bottom: 10px; }
.about-lef-cols p { color: var(--body-ink); margin: 0; }
@media (max-width: 760px) {
  .about-lef-head, .about-lef-cols { grid-template-columns: 1fr; }
  .about-lef-photo::before { inset: 14px -8px -10px 14px; border-radius: 24px; }
  .about-lef-photo img { border-radius: 22px; }
}

/* Footer */
.footer { padding-top: clamp(48px, 6vw, 72px); padding-bottom: 32px; color: var(--body-ink); font-size: .9375rem; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid #DCE8F2; }
.footer-top p { max-width: 52ch; margin: 0; }
.footer-brand { font: 600 2rem/1 var(--serif); font-stretch: 87.5%; text-transform: uppercase; letter-spacing: .02em; color: var(--blue); margin-bottom: 12px !important; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blue); }
.social a:hover { background: var(--navy); }
.social svg { width: 20px; height: 20px; fill: var(--white); }
.footer-base { margin: 20px 0 0; font-size: .875rem; }

/* Responsive */
@media (max-width: 960px) {
  .steps, .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav nav a:not(.pill) { display: none; }
  .hero-foot { grid-template-columns: 1fr; }
  .brand { font-size: 1.125rem; }
  .split, .split-flip, .join { grid-template-columns: 1fr; }
  .split .popcard, .split-flip .popcard { order: -1; margin: 0 auto; width: min(100%, 360px); padding: 0 16px 16px; }
  .split .popcard::before, .split-flip .popcard::before { left: 0; right: 0; top: -16px; bottom: 40px; }
  .split .popcard img, .split-flip .popcard img { transform: none; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .steps, .cards { grid-template-columns: 1fr; }
  .hero-actions .pill { flex: 1 1 100%; }
}
