/* am-i.ooo /1/: a fan site about AM I?  Night indigo, one lamp. Sibling of doom.ooo. */
:root {
  color-scheme: dark;
  --bg: #100f24;
  --s1: #1a1936;
  --s2: #262450;
  --ink: #100f24;
  --text: #f0e8d4;
  --dim: #a8a2c8;
  --lamp: #f7c62f;
  --warm: #ffb057;
  --lilac: #b9a6ff;
  --rose: #ff7d6b;
  --line: #34316a;
  --display: "Caprasimo", "Cooper Black", Georgia, serif;
  --sans: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
  --col: 720px;
  --r: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.58;
  text-wrap: pretty; overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--lamp); }
.wrap { max-width: var(--col); margin: 0 auto; padding: 0 20px; }
.wide { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: -.005em; }
h1 { font-size: clamp(46px, 13vw, 104px); }
h2 { font-size: clamp(31px, 7.4vw, 50px); margin-bottom: 14px; }
p { margin-bottom: 1em; }
.kick { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lamp); margin-bottom: 12px; }
.lede { font-size: clamp(18px, 4.6vw, 22px); line-height: 1.45; }
.dim { color: var(--dim); }
.small { font-size: 14.5px; line-height: 1.5; }
section { padding: 54px 0; }
section[id] { scroll-margin-top: 46px; }
section.band { background: var(--s1); }
hr.stars { border: 0; height: 26px; margin: 0; background:
  radial-gradient(circle, var(--lamp) 1.2px, transparent 1.6px) 12% 40% / 100% 100% no-repeat,
  radial-gradient(circle, var(--text) 1px, transparent 1.4px) 37% 70% / 100% 100% no-repeat,
  radial-gradient(circle, var(--lilac) 1.2px, transparent 1.6px) 63% 30% / 100% 100% no-repeat,
  radial-gradient(circle, var(--text) 1px, transparent 1.4px) 88% 60% / 100% 100% no-repeat; opacity: .8; }

/* masthead */
.mast { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 16px; background: rgba(16, 15, 36, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.mark { font-family: var(--display); font-size: 21px; text-decoration: none; white-space: nowrap; }
.mark span { color: var(--lamp); }
.mast nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.mast nav::-webkit-scrollbar { display: none; }
.mast nav a { font-size: 13.5px; font-weight: 600; text-decoration: none; padding: 6px 9px; border-radius: 999px; white-space: nowrap; color: var(--dim); }
.mast nav a:hover, .mast nav a.here { color: var(--ink); background: var(--lamp); }

/* hero */
.hero { position: relative; padding: 46px 0 40px; text-align: center; overflow: hidden; }
.hero .sky { position: absolute; inset: 0; pointer-events: none; }
.hero .sky i { position: absolute; width: 3px; height: 3px; background: var(--text); opacity: .5; animation: tw 3.4s steps(2) infinite; }
@keyframes tw { 50% { opacity: .12; } }
.hero .home { width: 148px; image-rendering: pixelated; margin-bottom: 6px; filter: drop-shadow(0 0 26px rgba(247, 198, 47, .28)); }
.hero h1 { margin-bottom: 14px; }
.hero h1 b { font-weight: 400; color: var(--lamp); }
.hero .lede { max-width: 30em; margin: 0 auto 18px; }
.btns { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin: 20px 0 16px; }
.btn { display: inline-block; font-weight: 700; font-size: 15px; text-decoration: none; padding: 11px 18px; border-radius: 999px; background: var(--lamp); color: var(--ink); }
.btn:hover { background: #fff; color: var(--ink); }
.btn.alt { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.alt:hover { box-shadow: inset 0 0 0 1.5px var(--lamp); color: var(--lamp); background: transparent; }
.fan { font-size: 14px; color: var(--dim); max-width: 34em; margin: 0 auto; }

/* player */
.play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--r); overflow: hidden; cursor: pointer; border: 0; padding: 0; }
.play img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; display: block; }
.play iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play .go { position: absolute; left: 14px; bottom: 14px; font: 700 14px var(--sans); background: var(--lamp); color: var(--ink); padding: 9px 15px; border-radius: 999px; }
.play:hover .go { background: #fff; }
.cap { font-size: 14px; color: var(--dim); margin-top: 10px; }

/* the lineup */
.lineup { margin: 26px 0 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px 4px; }
.mind { position: relative; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 10px 2px 8px; border-radius: 12px; text-align: center; -webkit-tap-highlight-color: transparent; }
.mind img { width: 62px; height: 62px; object-fit: contain; image-rendering: pixelated; filter: grayscale(1) brightness(.5) contrast(.9); transition: filter .25s, transform .25s; }
.mind span { display: block; font-size: 12px; font-weight: 600; color: var(--dim); margin-top: 3px; line-height: 1.2; }
.mind.on { background: radial-gradient(closest-side, rgba(247, 198, 47, .2), transparent); }
.mind.on img { filter: none; transform: translateY(-3px); animation: bob 2.6s steps(3) infinite; }
.mind.on span { color: var(--lamp); }
.mind:focus-visible { outline: 2px solid var(--lamp); }
@keyframes bob { 50% { transform: translateY(-6px); } }
.said { min-height: 3.2em; font-size: 15.5px; line-height: 1.45; color: var(--text); background: var(--s1); border-radius: var(--r); padding: 14px 16px; margin: 6px 0 0; }
.said b { color: var(--lamp); font-weight: 700; }
.band .said { background: var(--s2); }
.count { font-size: 13.5px; color: var(--dim); margin-top: 8px; }
.dial { margin-top: 34px; display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
.dial .machine { width: 96px; image-rendering: pixelated; filter: grayscale(1) brightness(.5); transition: filter .2s; }
.dial output { font-family: var(--display); font-size: 44px; line-height: 1; color: var(--lamp); display: block; }
.dial label { font-weight: 700; display: block; margin-bottom: 4px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; }
input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--s2), var(--lamp)); }
input[type=range]::-moz-range-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--s2), var(--lamp)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--text); border: 4px solid var(--ink); box-shadow: 0 0 0 2px var(--lamp); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--text); border: 4px solid var(--ink); box-shadow: 0 0 0 2px var(--lamp); }

/* the board */
.board { list-style: none; margin: 22px 0; }
.board li { display: grid; grid-template-columns: 98px 1fr; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); }
.board li > b { font-family: var(--display); font-weight: 400; font-size: 23px; color: var(--lamp); line-height: 1.1; }
.board li > b.w { font-size: 16px; font-family: var(--sans); font-weight: 700; color: var(--lilac); }
.board li span { font-weight: 700; }
.board li span i { display: block; font-style: normal; font-weight: 400; font-size: 14.5px; line-height: 1.45; color: var(--dim); margin-top: 2px; }
.board li.you { background: var(--lamp); color: var(--ink); border-radius: 10px; padding: 11px 12px; border: 0; margin: 4px -12px; }
.board li.you b, .board li.you span i { color: var(--ink); }
.board li.thing img { width: 30px; height: 30px; object-fit: contain; image-rendering: pixelated; vertical-align: -8px; margin-right: 8px; }
h3.group { font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin: 34px 0 0; }
.board { margin-top: 10px; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { display: block; text-decoration: none; background: var(--s1); border-radius: var(--r); padding: 18px 16px 16px; transition: transform .15s, background .15s; }
.band .tile { background: var(--s2); }
.tile:hover { transform: translateY(-3px); color: inherit; background: var(--s2); }
.tile img { width: 58px; height: 58px; object-fit: contain; image-rendering: pixelated; margin-bottom: 8px; }
.tile b { display: block; font-family: var(--display); font-weight: 400; font-size: 23px; line-height: 1.1; margin-bottom: 4px; }
.tile:hover b { color: var(--lamp); }
.tile span { font-size: 14px; line-height: 1.4; color: var(--dim); display: block; }

/* episodes */
.five { list-style: none; margin-top: 18px; }
.five li { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.th { display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--s1); margin-top: 3px; }
.th img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; display: block; }
.five .n, .ep .n { font-size: 13px; font-weight: 700; color: var(--lamp); letter-spacing: .03em; }
.five .n i, .ep .n i { font-style: normal; color: var(--dim); font-weight: 500; }
.five .t { font-weight: 700; line-height: 1.3; }
.five .t a, .ep .t a { text-decoration: none; }
.five p { font-size: 14.5px; line-height: 1.45; color: var(--dim); margin: 3px 0 0; }
.season { padding: 40px 0 6px; }
.season h2 { margin-bottom: 8px; }
.ep { padding: 30px 0 8px; border-top: 1px solid var(--line); scroll-margin-top: 70px; }
.ep .head { display: grid; grid-template-columns: 124px 1fr; gap: 14px; align-items: start; margin-bottom: 12px; }
.ep .t { font-size: clamp(19px, 4.8vw, 24px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; margin-top: 2px; }
.ep .blurb { font-size: 16.5px; line-height: 1.5; margin: 0 0 4px; }
.ep .guest { font-size: 14.5px; color: var(--dim); margin: 0 0 6px; }
.ep .guest b { color: var(--text); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 2px; }
.tag { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--s2); color: var(--dim); }
.ep .watch { font-size: 14px; font-weight: 700; }
.filter { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 4px; }
.filter button { font: 700 13.5px var(--sans); color: var(--text); background: var(--s1); border: 0; border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.filter button.on { background: var(--lamp); color: var(--ink); }
.jump { display: flex; flex-wrap: wrap; gap: 5px; margin: 14px 0 0; }
.jump a { font-size: 13px; font-weight: 700; text-decoration: none; width: 34px; text-align: center; padding: 5px 0; border-radius: 8px; background: var(--s1); color: var(--dim); }
.jump a:hover { background: var(--lamp); color: var(--ink); }
.ep.hide, .season.hide { display: none; }

/* boxes */
.box { position: relative; background: var(--s1); border-radius: var(--r); padding: 19px 20px 18px; margin: 12px 0; }
.band .box { background: var(--s2); }
.box .lab { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lamp); margin-bottom: 7px; }
.box h3 { font-size: 25px; line-height: 1.12; margin-bottom: 9px; }
.box p { font-size: 16px; line-height: 1.55; margin-bottom: .75em; }
.box p:last-child { margin-bottom: 0; }
.box.who .lab { color: var(--lilac); }
.box.but { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.box.but .lab { color: var(--rose); }
.box.note .lab { color: var(--dim); }
.box.src { background: transparent; padding: 4px 0; font-size: 14.5px; color: var(--dim); }
.box.src p { font-size: 14.5px; }
.box .ico { float: right; width: 62px; height: auto; margin: -6px -4px 6px 12px; image-rendering: pixelated; }
.ep-ref { font-weight: 700; text-decoration: none; color: var(--lamp); }
.grid2 { display: grid; gap: 12px; }
@media (min-width: 760px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.stat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 12px; margin: 20px 0; }
@media (min-width: 640px) { .stat { grid-template-columns: repeat(4, 1fr); } }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.05; color: var(--lamp); }
.stat span { font-size: 13px; font-weight: 600; color: var(--dim); line-height: 1.3; display: block; margin-top: 3px; }

/* experiments */
.exp { padding: 44px 0 10px; border-top: 1px solid var(--line); scroll-margin-top: 70px; }
.exp h2 { font-size: clamp(28px, 6.6vw, 42px); }
.exp .n { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lamp); margin-bottom: 8px; }
.toy { background: var(--s1); border-radius: var(--r); padding: 20px; margin: 16px 0; }
.toy .bar { height: 30px; border-radius: 8px; background: var(--s2); overflow: hidden; margin: 12px 0 6px; }
.toy .bar i { display: block; height: 100%; width: 50%; background: var(--lamp); transition: width .2s; }
.toy .out { font-family: var(--display); font-size: 30px; color: var(--lamp); line-height: 1.1; }
.toy .ends { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.toy .say { font-size: 15.5px; line-height: 1.45; margin-top: 12px; min-height: 4.4em; }
.zones { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
.zones button { font: 700 16px var(--sans); color: var(--text); background: var(--s2); border: 0; border-radius: 12px; padding: 22px 8px; cursor: pointer; }
.zones button:hover { box-shadow: inset 0 0 0 2px var(--lamp); }

/* people, timeline, words */
.people { display: grid; gap: 12px; margin-top: 18px; }
@media (min-width: 760px) { .people { grid-template-columns: 1fr 1fr; } }
.person { background: var(--s1); border-radius: var(--r); padding: 18px 18px 16px; }
.person h3 { font-size: 23px; margin-bottom: 3px; }
.person .role { font-size: 13.5px; font-weight: 600; color: var(--lilac); margin-bottom: 8px; }
.person p { font-size: 15.5px; line-height: 1.5; margin-bottom: .6em; }
.person p:last-child { margin: 0; }
.tl { list-style: none; margin: 20px 0; border-left: 2px solid var(--line); }
.tl li { position: relative; padding: 0 0 20px 20px; }
.tl li::before { content: ""; position: absolute; left: -6px; top: 8px; width: 10px; height: 10px; background: var(--lamp); }
.tl li.show::before { background: var(--lilac); border-radius: 50%; }
.tl time { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.tl b { font-weight: 700; }
.tl p { font-size: 15.5px; line-height: 1.5; margin: 2px 0 0; }
.tl li.yr { padding: 14px 0 6px 20px; }
.tl li.yr::before { display: none; }
.tl h3 { font-size: 34px; color: var(--lamp); }
dl.words dt { font-family: var(--display); font-size: 24px; margin-top: 24px; scroll-margin-top: 70px; }
dl.words dd { font-size: 16px; line-height: 1.55; margin-top: 4px; }

/* sister band, reading room, footer */
.sister { background: #0a0908; color: #ece5d6; text-align: center; padding: 56px 0; }
.sister h2 { color: #f7c62f; }
.sister .btn { background: #c7271b; color: #fff4e0; }
.sister .btn:hover { background: #f7c62f; color: #0a0908; }
.sister img { width: 92px; image-rendering: pixelated; margin-bottom: 10px; }
.texts { display: grid; gap: 12px; margin-top: 18px; }
@media (min-width: 760px) { .texts { grid-template-columns: repeat(3, 1fr); } }
.text { display: block; text-decoration: none; background: #f4ecd8; color: #1a1712; border-radius: 6px; padding: 22px 18px 18px; font-family: Georgia, "Iowan Old Style", serif; }
.text:hover { color: #1a1712; transform: translateY(-3px); }
.text b { display: block; font-size: 23px; font-weight: 400; line-height: 1.15; margin-bottom: 6px; }
.text i { display: block; font-size: 13.5px; margin-bottom: 10px; color: #6b6253; }
.text span { font-size: 14.5px; line-height: 1.45; display: block; }
footer { padding: 46px 0 70px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.55; color: var(--dim); }
footer a { color: var(--text); }
.page-head { padding: 44px 0 14px; }
.page-head h1 { font-size: clamp(40px, 10.5vw, 76px); margin-bottom: 14px; }
.page-head .ico { width: 84px; image-rendering: pixelated; margin-bottom: 4px; }
.next { display: flex; flex-wrap: wrap; gap: 9px; margin: 34px 0 10px; }
.mark small { font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-left: 4px; vertical-align: 2px; }
.ep .moment { font-size: 15px; line-height: 1.5; color: var(--dim); margin: 6px 0 4px; }
.ep .moment b { color: var(--lilac); font-weight: 700; }
details { margin: 10px 0 6px; }
summary { cursor: pointer; font-weight: 700; font-size: 14.5px; color: var(--lamp); padding: 8px 0; list-style: none; -webkit-tap-highlight-color: transparent; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "+"; display: inline-block; width: 1.1em; font-weight: 800; }
details[open] > summary::before { content: "–"; }
summary:hover { color: #fff; }
.zones button.on { background: var(--lamp); color: var(--ink); }
.zones button:disabled { cursor: default; }
.play:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }
.grid2 .cap { margin-bottom: 8px; }
.board li a.ep-ref { font-weight: 700; }
.box b { font-weight: 700; }
@media (max-width: 520px) { .mark small { display: none; } }
@media (max-width: 420px) { .ep .head { grid-template-columns: 104px 1fr; } .five li { grid-template-columns: 100px 1fr; } .dial { grid-template-columns: 72px 1fr; } .dial .machine { width: 72px; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---- edition 3: the garden behind the house (garden.v1.js) ---- */
body { position: relative; }
.garden { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 20; }
.gthing { position: absolute; left: 0; top: 0; padding: 0; border: 0; background: none; pointer-events: auto; cursor: pointer; will-change: transform; -webkit-tap-highlight-color: transparent; }
.gthing::after { content: ''; position: absolute; inset: -8px; }
.gthing img { display: block; width: 100%; height: 100%; image-rendering: pixelated; pointer-events: none; }
.gthing.fly img { animation: flap .28s step-end infinite; }
.gthing.fly.rest img { animation-duration: 2.1s; }
.gthing.moth img { animation: flap .17s step-end infinite; }
.gthing.glow img { opacity: .75; }
.gthing.glow.lit img { opacity: 1; filter: drop-shadow(0 0 7px rgba(247, 198, 47, .95)); }
.gthing.bee img { animation: buzz .12s steps(2) infinite; }
.gthing.bug.dead img { transform: rotate(180deg); }
@keyframes flap { 0% { transform: scaleX(1); } 25% { transform: scaleX(.62); } 50% { transform: scaleX(.22); } 75% { transform: scaleX(.62); } }
@keyframes buzz { 50% { transform: translateY(-1.5px); } }
.gspeck { position: absolute; width: 4px; height: 4px; margin: -2px; animation: speck 1s ease-out forwards; }
@keyframes speck { to { transform: translate(var(--dx), var(--dy)); opacity: 0; } }

.gsaid { position: fixed; z-index: 45; left: 12px; top: 0; box-sizing: border-box; font-size: 14.5px; line-height: 1.42; color: var(--text); background: var(--s2);
  border-radius: var(--r); padding: 12px 14px; box-shadow: 0 0 0 1.5px var(--lamp), 0 10px 30px rgba(0, 0, 0, .5); text-wrap: pretty;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
.gsaid.on { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.gsaid b, .gsaid a { color: var(--lamp); }

.gsnail { position: fixed; left: 0; bottom: 0; z-index: 25; padding: 0; border: 0; background: none; cursor: pointer; will-change: transform; -webkit-tap-highlight-color: transparent; }
.gsnail img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
footer { position: relative; }
.gowl { position: absolute; right: max(18px, calc(50% - 340px)); bottom: 100%; margin-bottom: -5px; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.gowl img { display: block; width: 100%; height: auto; image-rendering: pixelated; }

.bed { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 108px; overflow-x: clip; cursor: pointer; }
.fl { flex: none; padding: 0; margin: 0 -6px; border: 0; background: none; cursor: pointer; transform: scale(0); transform-origin: 50% 100%;
  transition: transform .55s cubic-bezier(.3, 1.5, .5, 1); -webkit-tap-highlight-color: transparent; }
.bed.on .fl { transform: scale(1); }
.fl img { display: block; width: 100%; height: auto; image-rendering: pixelated; transform-origin: 50% 100%; animation: sway 3.6s ease-in-out infinite; pointer-events: none; }
.bed.on .fl.up { animation: grow .5s cubic-bezier(.3, 1.5, .5, 1) both; }
.bed.on .fl.boing { animation: boing .5s; }
.fl.lit img { filter: drop-shadow(0 0 5px rgba(247, 198, 47, .5)); }
@keyframes sway { 50% { rotate: 3deg; } }
@keyframes boing { 30% { transform: scale(1.18, .84); } 60% { transform: scale(.93, 1.1); } }
@keyframes grow { from { transform: scale(0); } }

/* the hero: the house is a light switch, and there is a moon */
.hero { padding-bottom: 0; }
.hero .bed { margin-top: 22px; }
.hero .homebtn { position: relative; z-index: 1; display: inline-block; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hero .homebtn .home { display: block; transition: filter .25s; }
.hero .homebtn.off .home { filter: brightness(.5) saturate(.5); }
.lightsout .hero .sky i { opacity: .95; }
.hero .moon { position: absolute; z-index: 2; top: 20px; right: max(16px, calc(50% - 330px)); width: 42px; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hero .moon img { display: block; width: 100%; height: auto; image-rendering: pixelated; filter: drop-shadow(0 0 14px rgba(240, 232, 212, .4)); }

/* doom.ooo: the fire next door */
canvas.fire { display: block; width: 100%; height: 96px; image-rendering: pixelated; margin-bottom: -1px; }
.band + canvas.fire, .band + .bed, .band + .bed + canvas.fire { background: var(--s1); }
.sister { padding: 30px 0 64px; }
.sister img.camp { width: 124px; height: auto; margin-bottom: 6px; }
.sister .three { list-style: none; padding: 0; margin: 20px auto 6px; display: grid; gap: 8px; max-width: 31em; text-align: left; }
.sister .three li { background: #17110e; border-radius: var(--r); padding: 12px 15px; font-size: 15.5px; line-height: 1.45; box-shadow: inset 3px 0 0 #c7271b; }
.sister .three b { color: #f7c62f; }
.sister .btn.big { font-family: var(--display); font-weight: 400; font-size: 24px; padding: 14px 30px 15px; animation: ember 2.6s ease-in-out infinite; }
@keyframes ember { 50% { box-shadow: 0 0 30px 5px rgba(238, 122, 27, .55); } }
.sister .where { font-size: 13.5px; color: #a89f8d; margin-top: 4px; }

.doomstrip { background: #0a0908; color: #ece5d6; padding: 14px 0 28px; }
.doomstrip .wrap { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.doomstrip img { width: 62px; height: auto; image-rendering: pixelated; flex: none; }
.doomstrip div.tx { flex: 1 1 200px; }
.doomstrip b { display: block; font-family: var(--display); font-weight: 400; font-size: 21px; color: #f7c62f; }
.doomstrip p { margin: 2px 0 0; font-size: 14.5px; line-height: 1.4; }
.doomstrip .btn { background: #c7271b; color: #fff4e0; animation: ember 2.6s ease-in-out infinite; }
.doomstrip .btn:hover { background: #f7c62f; color: #0a0908; }
.doomstrip + footer { border-top: 0; }

.mast nav { margin-left: auto; min-width: 0; }
.doomlink { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap;
  padding: 5px 11px 5px 7px; border-radius: 999px; background: #c7271b; color: #fff4e0; }
.doomlink:hover { background: #f7c62f; color: #0a0908; }
.doomlink img { width: 17px; height: auto; image-rendering: pixelated; animation: flick .5s step-end infinite; }
@keyframes flick { 50% { transform: scaleX(-1); } }
