:root {
  --deep: #171324;
  --ground: #2b233b;
  --raised: #40334f;
  --muted: #63516a;
  --cream: #f6e7c8;
  --amber: #f5b85a;
  --orange: #e77b55;
  --coral: #d95f70;
  --magenta: #d77baa;
  --cyan: #75d4d1;
  --mint: #bdebdd;
  --ink: #120e1c;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(245, 184, 90, 0.14), transparent 46%),
    var(--deep);
  color: var(--cream);
}

body {
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  line-height: 1.45;
}

a {
  color: inherit;
}

.top {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: calc(12px + env(safe-area-inset-top)) 20px 12px;
  border-bottom: 4px solid var(--raised);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: min(280px, 72vw);
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.brand:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}

main {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 48px;
}

.eyebrow,
.kicker {
  margin: 0 0 10px;
  color: var(--cyan);
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-family: "Courier New", ui-monospace, monospace;
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-wrap: balance;
}

.lede {
  max-width: 38ch;
  margin: 16px 0 0;
  color: #e7d7b8;
  font-size: 19px;
}

.directory {
  margin-top: 40px;
}

.directory h2 {
  margin: 0 0 14px;
  color: var(--amber);
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stall {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  background: var(--ground);
  border: 4px solid var(--raised);
  box-shadow: 8px 8px 0 var(--ink);
  color: inherit;
  text-decoration: none;
}

.stall:hover,
.stall:focus-visible {
  border-color: var(--amber);
  outline: none;
}

.stall:hover .play,
.stall:focus-visible .play {
  background: var(--cream);
}

.scene {
  min-height: 240px;
  background: url("/site/last-lantern-card.jpg") center / cover no-repeat;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 22px 20px;
}

.kicker {
  margin-bottom: 8px;
}

.name {
  font-family: "Courier New", ui-monospace, monospace;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.blurb {
  margin-top: 12px;
  color: #e7d7b8;
  font-size: 17px;
}

.play {
  margin-top: 20px;
  padding: 10px 16px;
  background: var(--amber);
  color: var(--ink);
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

footer {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 calc(28px + env(safe-area-inset-bottom));
  color: var(--muted);
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
}

footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .stall {
    grid-template-columns: 1fr;
    box-shadow: 4px 4px 0 var(--ink);
  }

  .scene {
    min-height: 180px;
  }

  h1 {
    max-width: none;
  }
}
