:root {
  --pitch: #0b0907;      /* page background */
  --soot: #1a1511;       /* raised panels */
  --pumpkin: #ff7a1a;    /* main accent */
  --ember: #b8470f;      /* deep orange */
  --bone: #f3ead8;       /* text */
  --ash: #a39785;        /* secondary text */

  --display: "Grenze Gotisch", serif;
  --body: "Grenze", Georgia, serif;

  --s-0: 1.125rem;
  --s-1: 1.5rem;
  --s-3: clamp(2.2rem, 5vw, 2.9rem);
  --s-hero: clamp(5rem, 19vw, 13rem);
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--pitch);
  color: var(--bone);
  font-family: var(--body);
  font-size: var(--s-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--pumpkin); text-underline-offset: 3px; }
a:hover { color: var(--bone); }
:focus-visible { outline: 3px solid var(--pumpkin); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: 42rem; margin-left: auto; margin-right: auto; padding-left: clamp(16px, 5vw, 2rem); padding-right: clamp(16px, 5vw, 2rem); }

h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: var(--s-3);
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--pumpkin);
}
p { margin: 0 0 1rem; max-width: 62ch; }

.button {
  display: inline-block;
  padding: .75rem 1.5rem;
  background: var(--pumpkin);
  color: var(--pitch);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--pumpkin);
  border-radius: 3px;
}
.button:hover { background: var(--bone); border-color: var(--bone); color: var(--pitch); }
.button.ghost { background: transparent; color: var(--pumpkin); }
.button.ghost:hover { background: var(--pumpkin); color: var(--pitch); border-color: var(--pumpkin); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 1.5rem; }

.fine { font-size: .92rem; color: var(--ash); }
.fine a { color: var(--ash); }

/* ---------- hero: a porch-light glow that catches once on load ---------- */
.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: 4rem clamp(16px, 7vw, 7rem);
  overflow: hidden;
  isolation: isolate;
}
.glow {
  position: absolute;
  inset: -20% -10% -30% 30%;
  background: radial-gradient(closest-side, rgba(255, 122, 26, .55), rgba(184, 71, 15, .22) 45%, transparent 75%);
  z-index: -1;
  animation: catch 2.4s ease-out both;
}
@keyframes catch {
  0%   { opacity: 0; }
  12%  { opacity: .7; }
  18%  { opacity: .1; }
  26%  { opacity: .85; }
  32%  { opacity: .3; }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .glow { animation: none; } }

.place { color: var(--ash); font-style: italic; margin-bottom: .5rem; }

h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: var(--s-hero);
  line-height: .8;
  margin: 0 0 2rem;
  color: var(--bone);
  text-shadow: 0 0 60px rgba(255, 122, 26, .35);
}
h1.logo { line-height: 0; text-shadow: none; }
h1.logo img {
  display: block;
  width: min(560px, 82vw);
  height: auto;
  filter: drop-shadow(0 0 40px rgba(255, 122, 26, .3));
}
.footer-logo { width: 110px; height: auto; margin: 0 auto 1rem; display: block; opacity: .85; }
.tagline { font-size: var(--s-1); line-height: 1.35; max-width: 22ch; margin-bottom: 2rem; }
.award { color: var(--pumpkin); font-style: italic; margin: 0; }

/* past-season reel on the right of the hero */
.reel {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 520px;
  justify-self: center;
  border: 2px solid var(--ember);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(255, 122, 26, .15);
  background: var(--soot);
  overflow: hidden;
}
.slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.slide.is-on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 3rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(11, 9, 7, .9), transparent);
  color: var(--bone);
  font-weight: 600;
  font-size: 1.1rem;
}
.slide figcaption span {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--pumpkin);
}
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

/* ---------- sections ---------- */
main > section { margin-top: 6rem; }

/* past years: the centerpiece */
.years {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0 clamp(16px, 5vw, 2rem) 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1px;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}
.year {
  position: relative;
  padding: 1.5rem 1.25rem 1.75rem;
  border-top: 2px solid var(--ember);
  min-height: 11rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.year .yr {
  font-family: var(--display);
  font-weight: 900;
  font-size: 4.5rem;
  line-height: .9;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ember);
  margin-bottom: .5rem;
}
.year h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.25;
  margin: 0;
  color: var(--bone);
}
.year .badge { margin: .5rem 0 0; font-style: italic; color: var(--pumpkin); font-size: 1rem; }
.year .credit { margin: .4rem 0 0; font-size: .8rem; color: var(--ash); font-style: italic; }
.award-year { border-top-color: var(--pumpkin); }
.award-year .yr { color: var(--pumpkin); -webkit-text-stroke: 0; }

/* a year with a photo: <img class="shot" ...> inside the <li> */
.year .shot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.year:has(.shot)::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(11, 9, 7, .92) 0%, rgba(11, 9, 7, .3) 32%, transparent 50%);
}
.year:has(.shot) { isolation: isolate; min-height: 21rem; }
.year:has(.shot) .yr { color: var(--bone); -webkit-text-stroke: 0; }

.scare {
  border-left: 6px solid var(--pumpkin);
  background: var(--soot);
  padding-top: 2rem; padding-bottom: 1.25rem;
}
.phone { font-weight: 600; white-space: nowrap; }

.visit dl { margin: 0; }
.visit dt { font-weight: 600; color: var(--bone); margin-top: 1.25rem; }
.visit dd { margin: .15rem 0 0; color: var(--bone); max-width: 62ch; }

.support {
  background: var(--soot);
  border-top: 2px solid var(--ember);
  border-bottom: 2px solid var(--ember);
  padding: 3.5rem 0 2.5rem;
}

.sponsors { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.sponsors a {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: var(--s-1);
  line-height: 1.2;
  padding: .7rem 1.2rem .8rem;
  border: 1px solid rgba(255, 122, 26, .5);
  color: var(--bone);
  text-decoration: none;
}
.sponsors a span { display: block; font-family: var(--body); font-weight: 400; font-size: .9rem; color: var(--ash); margin-top: .2rem; }
.sponsors a.has-logo { padding: 1.1rem 1.4rem .9rem; text-align: center; }
.sponsors a.has-logo img { display: block; width: 200px; height: auto; margin: 0 auto .6rem; }
.sponsors a:hover { border-color: var(--pumpkin); color: var(--pumpkin); }
.textlink { font-size: var(--s-1); font-weight: 600; }

footer {
  margin-top: 6rem;
  border-top: 1px solid rgba(243, 234, 216, .12);
  padding: 2rem clamp(16px, 5vw, 2rem) 3rem;
  text-align: center;
  font-size: .95rem;
  color: var(--ash);
}
footer p { margin: 0 auto .4rem; }
footer a { color: var(--ash); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .reel { max-width: 420px; justify-self: start; aspect-ratio: 4 / 3; }
}
@media (max-width: 720px) {
  .hero { min-height: 80svh; padding-top: 3rem; }
  .glow { inset: 10% -40% -20% -10%; }
  .year { min-height: 8.5rem; }
  .year .yr { font-size: 3.6rem; }
  .scare { border-left-width: 4px; }
}

/* ---------- home: year cards link to their season page ---------- */
.year-link { position: absolute; inset: 0; z-index: 2; }
.year-link:focus-visible { outline-offset: -4px; }
.year .more {
  margin: .5rem 0 0; font-size: .95rem; color: var(--pumpkin);
  opacity: .85; transition: opacity .2s;
}
.year:hover .more { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.year:hover .shot { filter: brightness(1.1); }
.year .shot { transition: filter .3s; }

/* ---------- season pages ---------- */
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem clamp(16px, 5vw, 2.5rem);
  font-weight: 600;
}
.topbar a { color: var(--bone); text-decoration: none; }
.topbar a:hover { color: var(--pumpkin); }
.topbar .home { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-size: 1.35rem; }
.topbar .home img { width: 38px; height: auto; }

.year-hero {
  position: relative; isolation: isolate;
  min-height: min(70svh, 620px);
  display: flex; align-items: flex-end;
  padding: 2rem clamp(16px, 6vw, 5rem);
  overflow: hidden;
}
.year-hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%; z-index: -2;
}
.year-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, var(--pitch) 0%, rgba(11, 9, 7, .55) 40%, rgba(11, 9, 7, .15) 100%);
}
.year-hero .yr {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(4.5rem, 14vw, 9rem); line-height: .85;
  color: var(--pumpkin); margin: 0;
}
.year-hero h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1;
  margin: .3rem 0 .5rem; color: var(--bone);
}
.year-hero .badge { color: var(--pumpkin); font-style: italic; margin: 0; }

.year-page main > section { margin-top: 3.5rem; }
.about p { font-size: var(--s-1); line-height: 1.5; }

.wrap-wide { max-width: 72rem; margin-left: auto; margin-right: auto; padding: 0 clamp(16px, 5vw, 2rem); }
.gallery { columns: 3 18rem; column-gap: 1rem; }
.gallery figure { break-inside: avoid; margin: 0 0 1rem; }
.gallery a { display: block; border: 1px solid rgba(255, 122, 26, .25); }
.gallery a:hover { border-color: var(--pumpkin); }
.gallery img { display: block; width: 100%; height: auto; }
.gallery figcaption { font-size: .95rem; color: var(--ash); padding: .45rem .1rem 0; line-height: 1.4; }
.gallery .credit { display: block; font-size: .8rem; font-style: italic; }

.season-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 4rem; }
.season-nav a {
  flex: 1; max-width: 48%; padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 122, 26, .45);
  color: var(--bone); text-decoration: none; font-weight: 600;
}
.season-nav a span { display: block; font-family: var(--display); font-weight: 900; font-size: 2rem; color: var(--pumpkin); line-height: 1; }
.season-nav a:hover { border-color: var(--pumpkin); }
.season-nav .newer { text-align: right; margin-left: auto; }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(11, 9, 7, .96); color: var(--bone);
}
.lightbox::backdrop { background: rgba(0, 0, 0, .7); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3.5rem 4rem 1.5rem; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 8rem); object-fit: contain; }
.lightbox figcaption { margin-top: .8rem; color: var(--ash); text-align: center; }
.lightbox button {
  position: absolute; background: none; border: 0; color: var(--bone);
  font-size: 3rem; line-height: 1; cursor: pointer; padding: .5rem 1rem;
}
.lightbox button:hover { color: var(--pumpkin); }
.lb-close { top: .5rem; right: .5rem; }
.lb-prev { left: .25rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .25rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 720px) {
  .lightbox figure { padding: 3.5rem .5rem 1rem; }
  .lb-prev, .lb-next { top: auto; bottom: .5rem; transform: none; }
  .season-nav { flex-direction: column; }
  .season-nav a { max-width: none; }
}

.about .notes { list-style: none; padding: 0; margin: 1.5rem 0 0; border-left: 3px solid var(--ember); }
.about .notes li { padding: .25rem 0 .25rem 1rem; color: var(--ash); }

.cycle { list-style: none; counter-reset: c; margin: 1.5rem 0 0; padding: 0; border-left: 2px solid var(--ember); }
.cycle li { position: relative; padding: 0 0 1.1rem 1.4rem; max-width: 62ch; }
.cycle li::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--pumpkin); }
.cycle b { display: block; color: var(--pumpkin); }

.seen { margin: .4rem 0 0; color: var(--ash); font-size: .95rem; }
.countdown { margin-top: 1.5rem; border-left: 4px solid var(--pumpkin); padding: .4rem 0 .4rem 1.1rem; }
.cd-label { margin: 0; color: var(--ash); }
.cd-num { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 8vw, 4rem); line-height: 1.05; color: var(--pumpkin); }
.wishlist { margin-top: .5rem; }
.haunter-link { margin-top: 2rem; font-style: italic; color: var(--ash); }

/* ---------- build notes ---------- */
.note-intro h1, .note h1 { font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 7vw, 4rem); line-height: 1; color: var(--pumpkin); margin: 2rem 0 1rem; }
.notes { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.note-card { display: block; border: 1px solid rgba(255, 122, 26, .35); color: var(--bone); text-decoration: none; padding: 0 0 1rem; }
.note-card:hover { border-color: var(--pumpkin); }
.note-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.note-card h2 { font-size: 1.6rem; margin: .2rem 1rem .4rem; }
.note-card p { margin: 0 1rem; color: var(--ash); }
.note-date { margin: .8rem 1rem 0; font-style: italic; color: var(--pumpkin); font-size: .95rem; display: block; }
.note .note-date { margin: 2rem 0 0; }
.note .note-hero { width: 100%; max-height: 420px; object-fit: cover; margin: 0 0 1.5rem; border: 1px solid rgba(255, 122, 26, .25); }
.note h2 { font-size: 1.9rem; margin: 2.2rem 0 .6rem; }
.note img { max-width: 100%; height: auto; }
.note-back { margin-top: 3rem; }

.hero.lost { grid-template-columns: 1fr; }
.lost-h { font-family: var(--display); font-weight: 900; font-size: clamp(4rem, 15vw, 9rem); line-height: .85; margin: 0 0 1.5rem; color: var(--bone); text-shadow: 0 0 60px rgba(255, 122, 26, .35); }
.lost .tagline { max-width: 34ch; }

/* Season page audio player */
.listen { margin-top: 2rem; padding: 1.25rem 1.25rem 1.5rem; border-left: 3px solid var(--pumpkin); background: var(--soot); }
.listen h2 { margin-top: 0; }
.listen p { color: var(--ash); }
.listen audio { width: 100%; margin-top: .5rem; color-scheme: dark; }

/* About the haunters */
.creators-intro { display: grid; gap: 2rem; align-items: center; padding-top: 2.5rem; padding-bottom: 1rem; }
.creators-intro h1 { font-family: var(--display); color: var(--pumpkin); font-size: clamp(2.4rem, 7vw, 3.6rem); line-height: 1; margin: 0 0 1rem; }
.creators-intro p { font-size: var(--s-1); line-height: 1.55; max-width: 38rem; }
.creators-photo { margin: 0; }
.creators-photo img { width: 100%; height: auto; display: block; border: 1px solid var(--ember); }
.creators-photo figcaption { color: var(--ash); font-style: italic; font-size: .95rem; margin-top: .5rem; }
.bios { display: grid; gap: 1.5rem; padding-top: 1.5rem; padding-bottom: 2rem; }
.bio { background: var(--soot); border-top: 3px solid var(--pumpkin); padding: 1.25rem 1.5rem 1.5rem; }
.bio h2 { font-family: var(--display); font-size: 2rem; margin: 0; color: var(--bone); }
.bio-role { color: var(--pumpkin); font-style: italic; margin: .2rem 0 .9rem; }

@media (min-width: 760px) {
  .creators-intro { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .bios { grid-template-columns: 1fr 1fr; }
}
.bio p { line-height: 1.55; }
.bio .bio-links { margin: 1rem 0 0; font-size: .95rem; }
