/* doom.ooo /6/  type is type; everything else is pixel art */
:root {
  --paper: #f1e5ca;
  --paper2: #e7d8b4;
  --paper3: #dccb9f;
  --ink: #1c1410;
  --ink2: #4a3c30;
  --red: #c7271b;
  --red-d: #8d160f;
  --yellow: #f7c62f;
  --orange: #ee7a1b;
  --green: #2c6e31;
  --night: #1a1228;
  --night2: #2a1d3d;
  --cream: #f7eeda;
  --display: "Caprasimo", "Cooper Black", Georgia, serif;
  --text: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
  --col: 720px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--text); font-size: 17px; line-height: 1.55;
  text-wrap: pretty; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
.px, .px img, img.px { image-rendering: pixelated; }
.wrap { max-width: var(--col); margin: 0 auto; padding: 0 20px; position: relative; }

/* ---- masthead ---- */
.mast {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: 48px; padding: 0 14px; background: var(--ink); color: var(--cream);
  border-bottom: 3px solid var(--red);
}
.mast .mark { font-family: var(--display); font-size: 20px; line-height: 1; text-decoration: none; color: var(--yellow); letter-spacing: .01em; }
.mast .mark span { color: var(--cream); }
.mast nav { display: flex; gap: 14px; align-items: center; font-size: 13px; font-weight: 700; }
.mast nav a { text-decoration: none; }
.mast nav a.sub { background: var(--red); color: #fff; padding: 6px 12px; }
.mast nav a.sub:hover { background: var(--yellow); color: var(--ink); }
@media (max-width: 520px) { .mast nav a.hide-s { display: none; } }

/* ---- hero ---- */
.hero { background: var(--night); }
.hero picture, .hero img.art { width: 100%; }
.hero img.art { aspect-ratio: 3 / 2; object-fit: cover; max-height: 78vh; object-position: 50% 42%; }
.hero-text { background: var(--paper); padding: 30px 0 8px; }
h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(42px, 11.5vw, 92px); line-height: .98; letter-spacing: -.01em;
  margin-bottom: 18px;
}
.kick {
  font-size: 12.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  color: var(--red); margin-bottom: 12px;
}
.lede { font-size: 20px; line-height: 1.45; font-weight: 500; margin-bottom: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 6px; }
.btn {
  display: inline-block; padding: 11px 18px; font-weight: 800; font-size: 15px;
  text-decoration: none; background: var(--red); color: #fff;
  border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
}
.btn:hover { background: var(--yellow); color: var(--ink); }
.btn.alt { background: var(--paper); color: var(--ink); }
.btn.alt:hover { background: var(--yellow); }
.fan { font-size: 14px; color: var(--ink2); margin-top: 18px; }

/* ---- prose ---- */
.tale { margin: 44px auto; }
.tale p { font-size: 19px; line-height: 1.6; margin-bottom: 1em; }
.tale p:last-child { margin-bottom: 0; }
.tale p.big { font-family: var(--display); font-size: clamp(24px, 5.4vw, 34px); line-height: 1.18; margin-bottom: .7em; }
h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(34px, 8.6vw, 62px); line-height: 1.02; margin-bottom: 14px;
}
h2 small { display: block; font-family: var(--text); font-size: 12.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; line-height: 1.3; }
p.sub { font-size: 18px; margin-bottom: 20px; }
section { padding: 46px 0; }

/* ---- pixel fire ---- */
canvas.fire { display: block; width: 100%; height: 96px; image-rendering: pixelated; }
canvas.fire.down { transform: scaleY(-1); }
.band-red { background: var(--red); color: var(--cream); }
.band-red .kick, .band-red h2 small { color: var(--yellow); }
.band-red h2 { color: var(--yellow); text-shadow: 3px 3px 0 var(--ink); }
.band-red a { text-decoration-color: var(--yellow); }
.band-red a:hover { color: var(--yellow); }
.band-night { background: var(--night); color: var(--cream); }
.band-night .kick, .band-night h2 small { color: var(--yellow); }
.band-night h2 { color: var(--cream); }
.band-night a { text-decoration-color: var(--yellow); }
.band-night a:hover { color: var(--yellow); }

/* ---- player, pixel thumbs ---- */
.play {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  background: var(--ink); border: 3px solid var(--ink); cursor: pointer; overflow: hidden;
}
.play img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.play iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play button {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 54px; border: 3px solid var(--ink); background: var(--red); color: #fff;
  font-size: 22px; cursor: pointer; box-shadow: 4px 4px 0 var(--ink);
}
.play:hover button { background: var(--yellow); color: var(--ink); }
.meta { font-size: 14px; color: var(--ink2); margin-top: 8px; font-weight: 600; }

/* ---- shorts reel ---- */
.reel { display: flex; gap: 12px; overflow-x: auto; padding: 4px 20px 18px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.reel a { flex: 0 0 132px; scroll-snap-align: start; text-decoration: none; font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.reel img { width: 132px; height: 235px; object-fit: cover; image-rendering: pixelated; border: 3px solid var(--ink); margin-bottom: 7px; background: var(--ink); }
.reel a.more { display: flex; align-items: center; justify-content: center; text-align: center; height: 235px; border: 3px dashed var(--ink); padding: 12px; }
@media (min-width: 900px) { .reel { max-width: 1100px; margin: 0 auto; } }

/* ---- numbers ---- */
.nums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 14px; padding-top: 6px; padding-bottom: 6px; }
.nums b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(34px, 9vw, 54px); line-height: 1; color: var(--red); }
.nums span { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
@media (min-width: 640px) { .nums { grid-template-columns: repeat(4, 1fr); } }

/* ---- the board ---- */
.board { list-style: none; margin: 22px 0 0; border-top: 2px solid rgba(0,0,0,.35); }
.board li { display: grid; grid-template-columns: 148px 1fr; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 2px solid rgba(0,0,0,.35); }
.board li b { font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.1; color: var(--yellow); }
.board li span { font-weight: 800; font-size: 17px; }
.board li i { display: block; font-style: normal; font-weight: 500; font-size: 14px; opacity: .92; }
.board li.you { background: var(--ink); margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-bottom-color: var(--ink); }
.board li.you b { color: #fff; }
.yours { margin-top: 26px; padding: 16px; background: var(--ink); color: var(--cream); border: 3px solid var(--yellow); }
.yours label { display: block; font-weight: 800; font-size: 17px; margin-bottom: 6px; }
.yours output { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--yellow); display: block; margin: 6px 0 2px; }
.yours input[type=range] { width: 100%; accent-color: var(--yellow); height: 30px; }
.yours p { font-size: 15px; margin-top: 6px; min-height: 2.9em; }

/* ---- start here ---- */
.five { list-style: none; counter-reset: five; margin-top: 18px; }
.five li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 14px 0; border-top: 2px solid var(--ink); align-items: start; }
.five li:last-child { border-bottom: 2px solid var(--ink); }
.five img { width: 96px; aspect-ratio: 16 / 9; object-fit: cover; image-rendering: pixelated; border: 2px solid var(--ink); }
.five .t { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.five a.n { font-family: var(--display); font-size: 26px; line-height: 1.1; text-decoration: none; display: block; }
.five p { font-size: 16px; }

/* ---- words ---- */
.words dt { font-family: var(--display); font-size: 28px; line-height: 1.1; margin-top: 22px; }
.words dd { font-size: 17px; margin-top: 6px; }

/* ---- the archive spine ---- */
.archive { position: relative; }
.year {
  position: sticky; top: 48px; z-index: 20;
  background: var(--red); color: var(--yellow);
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  margin-top: 40px;
}
.year .wrap { display: flex; align-items: baseline; justify-content: space-between; padding-top: 6px; padding-bottom: 6px; }
.year b { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.1; text-shadow: 2px 2px 0 var(--ink); }
.year span { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cream); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.jump a { font-weight: 800; font-size: 15px; text-decoration: none; padding: 7px 13px; border: 2px solid var(--ink); background: var(--paper2); }
.jump a:hover { background: var(--yellow); color: var(--ink); }

.ep { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--paper3); scroll-margin-top: 96px; }
.ep .th { display: block; width: 96px; aspect-ratio: 16 / 9; background: var(--ink); border: 2px solid var(--ink); overflow: hidden; }
.ep .th img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.ep .n { font-size: 13px; font-weight: 800; color: var(--red); letter-spacing: .03em; }
.ep .n a { text-decoration: none; }
.ep .n i { font-style: normal; color: var(--ink2); font-weight: 600; }
.ep .t { font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.ep .t a { text-decoration: none; }
.ep .t a:hover { text-decoration: underline; }

.ep.feat { display: block; border-bottom: 0; padding: 30px 0 4px; }
.ep.feat .n { font-size: 14px; margin-bottom: 4px; }
.ep.feat .t { font-size: clamp(21px, 5vw, 27px); font-weight: 800; line-height: 1.18; margin-bottom: 12px; letter-spacing: -.01em; }
.ep.new .n::after { content: "New"; background: var(--yellow); color: var(--ink); padding: 1px 6px; margin-left: 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border: 2px solid var(--ink); }
.after { padding-bottom: 22px; border-bottom: 3px solid var(--ink); margin-bottom: 4px; }

/* ---- boxes ---- */
.box { position: relative; background: var(--paper2); border: 2px solid var(--ink); padding: 16px 16px 15px; margin: 16px 0; }
.box .lab { font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.box h3 { font-family: var(--display); font-weight: 400; font-size: 25px; line-height: 1.12; margin-bottom: 8px; }
.box p { font-size: 16px; line-height: 1.52; margin-bottom: .75em; }
.box p:last-child { margin-bottom: 0; }
.box .more { font-size: 14px; font-weight: 700; }
.box.what { background: var(--paper); border-style: dashed; }
.box.note { border-left: 10px solid var(--red); }
.box.quote { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.box.quote p:first-of-type, .box.quote .q { font-family: var(--display); font-size: 24px; line-height: 1.2; color: var(--yellow); }
.box.quote .lab { color: var(--cream); opacity: .8; }
.box.quote .attr { font-size: 14.5px; margin-top: 10px; }
.box .grid, .grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 12px; margin-top: 8px; }
.box .stat .n { font-family: var(--display); font-size: 27px; line-height: 1.05; color: var(--red); }
.box .stat .l { font-size: 12.5px; font-weight: 700; line-height: 1.3; margin-top: 2px; }
.box .ico { float: right; width: 64px; height: auto; margin: -6px -4px 6px 12px; image-rendering: pixelated; }
.box.news { background: var(--red); color: var(--cream); border-color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.box.news .lab { color: var(--yellow); }
.box.news h3 { color: #fff; }
.box.news a { text-decoration-color: var(--yellow); }
.box.news a:hover { color: var(--yellow); }
.box.news blockquote, .box.door blockquote, .box blockquote { border-left: 4px solid var(--yellow); padding-left: 12px; margin: 10px 0; font-weight: 600; }
.box blockquote { border-left-color: var(--red); }
.box.door { background: var(--night); color: var(--cream); border-color: var(--ink); }
.box.door .lab { color: var(--yellow); }
.box.door h3 { color: #fff; }
.box.door a { text-decoration-color: var(--yellow); }
.box.door a:hover { color: var(--yellow); }
.box.door blockquote { border-left-color: var(--yellow); }
.box.kebab { background: var(--yellow); text-align: center; padding: 22px 18px; border-width: 3px; box-shadow: 6px 6px 0 var(--ink); }
.box.kebab .lab { color: var(--ink); }
.box.kebab p { font-size: 17px; font-weight: 500; max-width: 30em; margin-left: auto; margin-right: auto; }
.box.kebab .spit { width: 84px; margin: 0 auto 10px; image-rendering: pixelated; animation: spit 1.4s step-end infinite; }
@keyframes spit { 0% { transform: scaleX(1); } 50% { transform: scaleX(-1); } }
.ep-ref { font-weight: 700; }

/* ---- scenes ---- */
.scene { margin: 0; }
.scene img { width: 100%; }
.scene.frame img { border: 3px solid var(--ink); }
.scene figcaption { font-size: 13.5px; color: var(--ink2); margin-top: 7px; font-weight: 600; }
.band-night .scene figcaption { color: var(--cream); opacity: .8; }
.full { width: 100%; }
.full img { width: 100%; max-height: 80vh; object-fit: cover; }

/* ---- flowers ---- */
.bed { display: flex; align-items: flex-end; justify-content: center; gap: 2px; height: 74px; margin: 26px auto 0; padding: 0 8px; max-width: 1100px; overflow: hidden; pointer-events: none; }
.bed img { width: 46px; height: auto; flex: 0 0 auto; transform-origin: 50% 100%; image-rendering: pixelated; }
.bed.on img { animation: sway 2.4s steps(2) infinite; }
.bed img.grow { transform: scale(0); transition: transform .5s steps(5); }
.bed.on img.grow { transform: scale(1); }
@keyframes sway { 50% { rotate: 3deg; } }
.bed + .band-red, .bed + canvas { margin-top: 0; }
.margin-fl { position: absolute; width: 54px; image-rendering: pixelated; pointer-events: none; opacity: .95; transform-origin: 50% 100%; animation: sway 3s steps(2) infinite; }
@media (max-width: 1099px) { .margin-fl { display: none; } }
.flyer { position: fixed; z-index: 40; width: 34px; left: -60px; top: 40vh; image-rendering: pixelated; pointer-events: none; }
.flyer.flap { animation: flap .32s steps(2) infinite; }
@keyframes flap { 50% { transform: scaleX(.45); } }

/* ---- host, footer ---- */
.host .grid2 { display: grid; gap: 22px; }
@media (min-width: 700px) { .host .grid2 { grid-template-columns: 1fr 1fr; align-items: start; } }
.links { list-style: none; margin-top: 16px; }
.links li { display: grid; grid-template-columns: 108px 1fr; gap: 10px; padding: 9px 0; border-top: 2px solid rgba(255,255,255,.18); font-size: 16px; }
.links li b { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); padding-top: 3px; }
.end { background: #9fc56b; }
.end .line { font-family: var(--display); font-size: clamp(28px, 7vw, 52px); line-height: 1.05; text-align: center; padding: 34px 20px 10px; color: var(--ink); background: var(--paper); }
footer { background: var(--ink); color: var(--cream); font-size: 14px; padding: 26px 0 40px; }
footer p { margin-bottom: 10px; }
footer a { text-decoration-color: var(--yellow); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bed.on img, .margin-fl, .box.kebab .spit, .flyer { animation: none !important; }
  .bed img.grow { transition: none; transform: none; }
}

/* ---- additions while building the page ---- */
.lines { list-style: none; }
.lines li { padding: 7px 0 7px 62px; text-indent: -62px; border-top: 1px solid var(--paper3); font-size: 15.5px; line-height: 1.45; }
.lines li:first-child { border-top: 0; }
.lines li b { display: inline-block; width: 62px; text-indent: 0; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--red); }
.ep .t i.gone { font-style: normal; font-weight: 500; color: var(--ink2); }
.box.kebab .scene { margin: 6px -6px 14px; }
.box.door .play { margin-top: 12px; }
.host .links li { border-top-color: rgba(0,0,0,.25); }
.host .links li b { color: var(--red); }
.board a { text-decoration-color: rgba(255,255,255,.55); }
.board a:hover { color: #fff; }
.band-night .box.quote .q { font-size: clamp(24px, 5.6vw, 34px); }
.box.quote .ico { width: 54px; }
h3[id], aside[id], section[id] { scroll-margin-top: 60px; }
footer p { max-width: 62ch; }
