/* Handzo Holidays 2026 – stylesheet (v8)
   Night scene: navy sky, strings of Christmas lights, little trees on snow.
   Palette: navy, snow white, Christmas red, evergreen, gold. Nothing moves. */

:root {
  --navy: #14284b;
  --navy-deep: #0c1a33;
  --snow: #fbfdff;
  --red: #c1272d;
  --red-deep: #8f1a20;
  --green: #1f7a4d;
  --gold: #e0b04a;
  --cream: #fff5e1;
  --line: #b8c7de;

  --font-display: "Young Serif", "Georgia", serif;
  --font-body: "Lora", "Georgia", serif;

  --lights-on-navy: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='52' viewBox='0 0 160 52'><path d='M0 6 Q20 22 40 6 Q60 22 80 6 Q100 22 120 6 Q140 22 160 6' fill='none' stroke='%238fa3c4' stroke-width='2'/><circle cx='20' cy='29' r='15' fill='%23e0353b' opacity='0.28'/><rect x='17' y='12' width='6' height='8' rx='1' fill='%238fa3c4'/><ellipse cx='20' cy='29' rx='6.5' ry='10' fill='%23e0353b'/><ellipse cx='18' cy='25' rx='1.6' ry='3.2' fill='%23ffffff' opacity='0.6'/><circle cx='60' cy='29' r='15' fill='%23f5c542' opacity='0.28'/><rect x='57' y='12' width='6' height='8' rx='1' fill='%238fa3c4'/><ellipse cx='60' cy='29' rx='6.5' ry='10' fill='%23f5c542'/><ellipse cx='58' cy='25' rx='1.6' ry='3.2' fill='%23ffffff' opacity='0.6'/><circle cx='100' cy='29' r='15' fill='%233fbf7a' opacity='0.28'/><rect x='97' y='12' width='6' height='8' rx='1' fill='%238fa3c4'/><ellipse cx='100' cy='29' rx='6.5' ry='10' fill='%233fbf7a'/><ellipse cx='98' cy='25' rx='1.6' ry='3.2' fill='%23ffffff' opacity='0.6'/><circle cx='140' cy='29' r='15' fill='%23fff0c8' opacity='0.28'/><rect x='137' y='12' width='6' height='8' rx='1' fill='%238fa3c4'/><ellipse cx='140' cy='29' rx='6.5' ry='10' fill='%23fff0c8'/><ellipse cx='138' cy='25' rx='1.6' ry='3.2' fill='%23ffffff' opacity='0.6'/></svg>");
  --lights-on-white: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='52' viewBox='0 0 160 52'><path d='M0 6 Q20 22 40 6 Q60 22 80 6 Q100 22 120 6 Q140 22 160 6' fill='none' stroke='%2314284b' stroke-width='2'/><circle cx='20' cy='29' r='15' fill='%23e0353b' opacity='0.14'/><rect x='17' y='12' width='6' height='8' rx='1' fill='%2314284b'/><ellipse cx='20' cy='29' rx='6.5' ry='10' fill='%23e0353b'/><ellipse cx='18' cy='25' rx='1.6' ry='3.2' fill='%23ffffff' opacity='0.6'/><circle cx='60' cy='29' r='15' fill='%23f5c542' opacity='0.14'/><rect x='57' y='12' width='6' height='8' rx='1' fill='%2314284b'/><ellipse cx='60' cy='29' rx='6.5' ry='10' fill='%23f5c542'/><ellipse cx='58' cy='25' rx='1.6' ry='3.2' fill='%23ffffff' opacity='0.6'/><circle cx='100' cy='29' r='15' fill='%233fbf7a' opacity='0.14'/><rect x='97' y='12' width='6' height='8' rx='1' fill='%2314284b'/><ellipse cx='100' cy='29' rx='6.5' ry='10' fill='%233fbf7a'/><ellipse cx='98' cy='25' rx='1.6' ry='3.2' fill='%23ffffff' opacity='0.6'/><circle cx='140' cy='29' r='15' fill='%23fff0c8' opacity='0.14'/><rect x='137' y='12' width='6' height='8' rx='1' fill='%2314284b'/><ellipse cx='140' cy='29' rx='6.5' ry='10' fill='%23fff0c8'/><ellipse cx='138' cy='25' rx='1.6' ry='3.2' fill='%23ffffff' opacity='0.6'/></svg>");
  --trees: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='220' height='112' viewBox='0 0 220 112'><defs><g id='t'><rect x='-5' y='0' width='10' height='10' fill='%236b4423'/><polygon points='0,-84 18,-52 9,-52 26,-26 14,-26 34,0 -34,0 -14,-26 -26,-26 -9,-52 -18,-52' fill='%232f9e66' stroke='%2314563a' stroke-width='1.5' stroke-linejoin='round'/><circle cx='-6' cy='-60' r='3.5' fill='%23e0353b'/><circle cx='7' cy='-40' r='3.5' fill='%23f5c542'/><circle cx='-16' cy='-14' r='3.5' fill='%23fff0c8'/><circle cx='18' cy='-10' r='3.5' fill='%23e0353b'/><circle cx='-4' cy='-30' r='3.5' fill='%23fff0c8'/><polygon points='0.0,-95.0 2.1,-89.8 7.6,-89.5 3.3,-85.9 4.7,-80.5 0.0,-83.5 -4.7,-80.5 -3.3,-85.9 -7.6,-89.5 -2.1,-89.8' fill='%23f5c542'/></g></defs><use href='%23t' xlink:href='%23t' transform='translate(50 100)'/><use href='%23t' xlink:href='%23t' transform='translate(140 100) scale(.72)'/><use href='%23t' xlink:href='%23t' transform='translate(196 100) scale(.5)'/></svg>");

  --night:
    radial-gradient(circle, rgba(255, 255, 255, 0.55) 1.5px, transparent 2.5px) 0 0 / 83px 83px,
    radial-gradient(circle, rgba(255, 255, 255, 0.35) 1px, transparent 2px) 37px 41px / 53px 53px,
    var(--navy);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--snow);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.6;
}

a {
  color: var(--red-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 4px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(100% - 2.5rem, 60rem);
  margin-inline: auto;
}

/* ---------- Hero: night sky with lights across the top ---------- */

.hero {
  position: relative;
  background: var(--night);
  color: var(--cream);
  text-align: center;
}

.hero::before,
footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 52px;
  background: var(--lights-on-navy) repeat-x 0 0 / 160px 52px;
}

.hero-content {
  padding-top: 4.5rem;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 7.5vw, 3.6rem);
  line-height: 1.05;
  color: var(--cream);
  text-shadow: 3px 4px 0 var(--red);
}

.ribbon {
  display: inline-block;
  margin: 1.4rem 0 1.25rem;
  padding: 0.55rem 3rem;
  background: var(--red);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
  clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 50%, 100% 100%, 0 100%, 20px 50%);
}

.hero-sheet {
  max-width: 34rem;
  margin: 0 auto;
}

.hero-sheet p {
  margin: 0 0 1rem;
  font-weight: 500;
}

.button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--cream);
  border: 3px solid var(--red);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--red);
  color: var(--red-deep);
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.2;
  text-decoration: none;
}

.button:focus-visible {
  outline: 4px solid var(--gold);
  outline-offset: 4px;
}

.jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.jump a {
  color: var(--cream);
  font-weight: 500;
}

.jump a:focus-visible {
  outline-color: var(--gold);
}

/* Little trees standing on the snow */
.treeline {
  height: 118px;
  margin-top: 1rem;
  background: var(--trees) repeat-x center bottom / 220px 112px;
}

.snow {
  position: relative;
  z-index: 2;
  height: 28px;
  margin-top: -20px;
  background:
    radial-gradient(circle at 12px 16px, var(--snow) 13px, transparent 14px) 0 0 / 24px 28px repeat-x,
    linear-gradient(var(--snow), var(--snow)) 0 14px / 100% 14px no-repeat;
}

/* ---------- Sections (on the snow) ---------- */

section {
  padding: 2.5rem 0 3rem;
}

h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 2.75rem);
  line-height: 1.1;
  color: var(--red);
}

.section-intro {
  max-width: 38rem;
  margin: 0 0 2.25rem;
}

/* ---------- Day cards ---------- */

.days {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.day {
  overflow: hidden;
  background: var(--snow);
  border: 3px solid var(--navy);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--navy);
}

.day-head {
  padding: 1rem 1.5rem 0.9rem;
  color: var(--cream);
}

.day:nth-child(1) .day-head,
.day:nth-child(4) .day-head { background: var(--green); }

.day:nth-child(2) .day-head,
.day:nth-child(3) .day-head { background: var(--red); }

.day h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1.1;
}

.day .date {
  margin: 0.1rem 0 0;
  font-weight: 500;
}

.day-body {
  padding: 0.5rem 1.5rem 1.4rem;
}

.meals {
  margin: 0;
  padding: 0;
  list-style: none;
}

.meals li {
  padding: 0.7rem 0;
  border-top: 2px dashed var(--line);
}

.meals li:first-child {
  border-top: 0;
}

.meals .what {
  display: block;
  font-weight: 600;
}

/* Claimed meals are green; open meals are gold so they stand out */
.pill {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.05rem 0.8rem;
  background: var(--green);
  border: 2px solid var(--green);
  border-radius: 999px;
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 600;
}

.pill.open {
  background: var(--gold);
  border-color: var(--navy);
  color: var(--navy);
}

.day-note {
  margin: 0.5rem 0 0;
  font-size: 1rem;
}

/* ---------- String of lights as a divider ---------- */

.lights-divider {
  height: 52px;
  background: var(--lights-on-white) repeat-x 0 0 / 160px 52px;
}

/* ---------- Lessons from 2023 ---------- */

.lessons {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 44rem;
}

.lessons li {
  position: relative;
  padding: 0.55rem 0 0.55rem 2.6rem;
}

.lessons li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.85) 0 2px, transparent 3px),
    var(--red);
}

.lessons li::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  width: 0.5rem;
  height: 0.3rem;
  background: var(--navy);
}

.lessons li.keep::before {
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.85) 0 2px, transparent 3px),
    var(--green);
}

.lessons strong {
  color: var(--red-deep);
}

/* ---------- Footer: back to the night sky ---------- */

footer {
  position: relative;
  padding: 4.25rem 0 2.5rem;
  background: var(--night);
  color: var(--cream);
  text-align: center;
  font-weight: 500;
}

footer p {
  margin: 0 0 0.5rem;
}

footer .big {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.2;
  font-weight: 400;
}

footer a {
  color: var(--cream);
}

footer a:focus-visible {
  outline-color: var(--gold);
}

/* ---------- Small screens ---------- */

@media (max-width: 40rem) {
  .days {
    grid-template-columns: 1fr;
  }

  body {
    font-size: 1.05rem;
  }

  .ribbon {
    padding-inline: 2.4rem;
    font-size: 1.2rem;
  }

  .button {
    font-size: 1.15rem;
    padding-inline: 1.5rem;
  }
}
