:root {
  --night: #120f24;
  --night-2: #1c1735;
  --dusk: #3a2552;
  --ink: #f6eee6;
  --muted: #b7aac3;
  --sun: #ff9a3c;
  --sun-2: #ffcf6e;
  --rose: #ff6f7d;
  --line: rgba(255, 255, 255, 0.09);
  --radius: 14px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(120% 900px at 50% 0%, rgba(255, 154, 60, 0.22), transparent 70%),
    radial-gradient(80% 600px at 85% 0%, rgba(255, 111, 125, 0.18), transparent 70%),
    linear-gradient(180deg, var(--dusk) 0, var(--night-2) 350px, var(--night) 900px) no-repeat;
  min-height: 100vh;
  line-height: 1.5;
}
a { color: var(--sun-2); }

/* ---- Header ---- */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: 1180px; margin: 0 auto; padding: 1.1rem 1.25rem;
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 1.25rem;
}
.brand b { color: var(--sun); font-weight: 700; }
.sun {
  width: 26px; height: 13px; border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, var(--sun-2), var(--sun));
  box-shadow: 0 0 18px rgba(255, 154, 60, .7);
}
.top nav { display: flex; gap: 1.1rem; align-items: center; font-size: .95rem; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--ink); }
.soon { color: var(--muted); opacity: .75; }
.soon small {
  font-size: .65rem; text-transform: uppercase; letter-spacing: .06em;
  background: rgba(255, 154, 60, .18); color: var(--sun-2);
  padding: .1rem .35rem; border-radius: 6px; margin-left: .15rem;
}

main { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }

/* ---- Hero ---- */
.hero {
  display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: 2.5rem;
  align-items: center; padding: 2.5rem 0 3.5rem;
}
.eyebrow {
  margin: 0; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem;
  color: var(--sun); font-weight: 600;
}
.hero h1 {
  font-family: var(--serif); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.02; margin: .6rem 0 .8rem;
}
.hero-date { font-size: 1.15rem; margin: 0; }
.stats { color: var(--muted); margin: .35rem 0 0; font-size: .95rem; }

.player {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: #000; box-shadow: 0 30px 80px -30px rgba(255, 140, 60, .45), 0 0 0 1px var(--line);
}
.player iframe, .facade, .facade img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.facade { padding: 0; cursor: pointer; background: #000; }
.facade img { object-fit: cover; transition: transform .6s ease, filter .3s; }
.facade:hover img { transform: scale(1.02); filter: brightness(1.08); }
.play {
  position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; translate: -50% -50%;
  border-radius: 50%; background: rgba(18, 15, 36, .55); backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, .55);
}
.play::after {
  content: ''; position: absolute; left: 31px; top: 24px;
  border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent #fff;
}

/* ---- Archive ---- */
.archive { padding-bottom: 3rem; }
.archive-head h2 { font-family: var(--serif); font-size: 2rem; margin: 0; }
.archive-head p { color: var(--muted); margin: .35rem 0 1.2rem; }

.months {
  position: sticky; top: 0; z-index: 5; display: flex; gap: .4rem; overflow-x: auto;
  padding: .7rem 0; margin-bottom: .5rem; scrollbar-width: none;
  background: linear-gradient(180deg, var(--night) 75%, transparent);
}
.months::-webkit-scrollbar { display: none; }
.months a {
  flex: none; padding: .35rem .75rem; border-radius: 999px; font-size: .85rem;
  color: var(--ink); text-decoration: none; border: 1px solid var(--line); background: rgba(255,255,255,.04);
}
.months a:hover { border-color: var(--sun); color: var(--sun-2); }

.month { padding-top: 1.6rem; scroll-margin-top: 3.5rem; }
.month h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; margin: 0 0 .8rem; }
.month h3 span { font-family: var(--sans); font-size: .85rem; color: var(--muted); margin-left: .4rem; }

.grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.wd { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-left: 2px; }
.day {
  position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden;
  background: var(--night-2); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
}
.day img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.day span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem .45rem .3rem;
  background: linear-gradient(transparent, rgba(10, 8, 22, .85)); font-size: .8rem;
}
.day b { font-weight: 600; }
.day i { font-style: normal; color: var(--muted); font-size: .7rem; }
a.day:hover { border-color: var(--sun); }
a.day:hover img { transform: scale(1.06); }
a.day:focus-visible { outline: 2px solid var(--sun); outline-offset: 2px; }
.day.missing { background: transparent; border-style: dashed; opacity: .45; }
.day.missing span { background: none; }

.status { color: var(--muted); text-align: center; padding: 3rem 0; }

/* ---- Viewer ---- */
dialog {
  width: min(1100px, 94vw); padding: 0; border: 0; border-radius: var(--radius);
  background: var(--night-2); color: var(--ink); box-shadow: 0 40px 120px rgba(0,0,0,.6);
}
dialog::backdrop { background: rgba(8, 6, 18, .82); backdrop-filter: blur(4px); }
.viewer-bar { display: flex; align-items: center; gap: .5rem; padding: .6rem .75rem; }
.viewer-bar h3 { flex: 1; text-align: center; margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
.icon {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.05);
  color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.icon:hover:not(:disabled) { border-color: var(--sun); color: var(--sun-2); }
.icon:disabled { opacity: .3; cursor: default; }
.icon.close { font-size: 1rem; }
dialog .player { border-radius: 0; box-shadow: none; }
.viewer-foot { margin: 0; padding: .6rem .9rem; font-size: .85rem; text-align: right; }

/* ---- Footer ---- */
footer {
  max-width: 1180px; margin: 0 auto; padding: 2rem 1.25rem 3rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .9rem;
}
footer p { margin: .25rem 0; }
footer .links { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ---- Small screens ---- */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 1.2rem; padding: 1rem 0 2.5rem; }
  .top nav { gap: .8rem; font-size: .88rem; }
  .top .soon { display: none; }
  .brand { font-size: 1.1rem; white-space: nowrap; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .wd, .pad { display: none; }
  .day { aspect-ratio: 16 / 11; }
}
