:root {
  --bg: #1d1825;
  --panel: #241d30;
  --panel-raised: #2b2340;
  --header-bg: #171122;
  --edge-hi: #3a3050;
  --edge-lo: #0f0b18;
  --line: #322a42;
  --text: #e6edf3;
  --muted: #a0a8b3;
  --brand: #fc9d03;
  --brand-2: #e28900;
  --brand-hi: #ffd07a;
  --brand-lo: #a35f00;
  --brand-text: #fc9d03;
  --brand-shade: #3f2700;
  --brand-accent: #ffbc4d;
  --brand-ink: #221300;
  --brand-deep: #2a1a05;
  --pixel: "Silkscreen", ui-monospace, monospace;
  --body: "Barlow", ui-sans-serif, system-ui, sans-serif;
  --notch: polygon(0 12px, 6px 12px, 6px 6px, 12px 6px, 12px 0, calc(100% - 12px) 0, calc(100% - 12px) 6px, calc(100% - 6px) 6px, calc(100% - 6px) 12px, 100% 12px, 100% calc(100% - 12px), calc(100% - 6px) calc(100% - 12px), calc(100% - 6px) calc(100% - 6px), calc(100% - 12px) calc(100% - 6px), calc(100% - 12px) 100%, 12px 100%, 12px calc(100% - 6px), 6px calc(100% - 6px), 6px calc(100% - 12px), 0 calc(100% - 12px));
  --notch-sm: polygon(0 6px, 6px 6px, 6px 0, calc(100% - 6px) 0, calc(100% - 6px) 6px, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 6px calc(100% - 6px), 0 calc(100% - 6px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background-color: #1d1825;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  background: transparent;
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: #1d1825;
  background-image: linear-gradient(rgba(0, 0, 0, .35), rgba(0, 0, 0, .55)), url("../assets/background_squares.png");
  background-repeat: no-repeat, repeat;
  background-size: auto, 512px 512px;
  image-rendering: pixelated;
}

.embers {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, transparent, #000 20%, #000 60%, transparent 92%);
  mask-image: linear-gradient(to top, transparent, #000 20%, #000 60%, transparent 92%);
}

.embers::before,
.embers::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(100% + 1024px);
  background: url("img/embers-far.png") 0 0 / 1280px 1024px;
  image-rendering: pixelated;
  animation: ember-rise 24s linear infinite;
  will-change: transform;
}

.embers::after {
  background-image: url("img/embers-near.png");
  background-size: 1536px 1024px;
  animation-duration: 13s;
}

@keyframes ember-rise {
  to {
    transform: translateY(-1024px);
  }
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand-accent);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-hi);
}

:focus-visible {
  outline: 3px solid var(--brand-hi);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
}

p {
  margin: 0 0 1em;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 60;
  padding: 10px 14px;
  background: var(--brand);
  color: var(--brand-ink);
  font: 700 13px var(--pixel);
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px max(16px, calc((100% - 1320px) / 2));
  background: var(--header-bg);
  border-bottom: 4px solid var(--edge-lo);
  box-shadow: 0 4px 0 rgba(0, 0, 0, .35);
  position: relative;
  z-index: 5;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font: 700 14px var(--pixel);
  text-transform: uppercase;
}

.brand img {
  image-rendering: pixelated;
}

.masthead-links {
  display: flex;
  gap: 8px;
}

.stone-link {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 12px;
  background: var(--panel-raised);
  border: 3px solid;
  border-color: var(--edge-hi) var(--edge-lo) var(--edge-lo) var(--edge-hi);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .4);
  color: var(--text);
  font: 400 12px var(--pixel);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.stone-link:hover {
  background: #342a4c;
  color: var(--text);
}

.stone-link:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-text);
  font: 700 clamp(18px, 2.2vw, 24px) / 1.2 var(--pixel);
  text-transform: uppercase;
  text-shadow: 2px 2px 0 var(--brand-shade);
}

.section-title::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background: var(--brand);
  box-shadow: 2px 2px 0 var(--brand-shade);
}

.hero {
  position: relative;
  min-height: calc(100svh - 62px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 5vh, 56px);
  padding: clamp(24px, 5vh, 56px) max(16px, calc((100% - 1320px) / 2)) clamp(40px, 7vh, 72px);
  overflow: hidden;
}

.wordmark {
  --s: 2;
  --p: 2;
  position: relative;
  z-index: 1;
  margin: 0;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0;
}

.hero-mark {
  display: block;
  width: calc(56px * var(--p));
  height: auto;
  image-rendering: pixelated;
}

.wordmark-art {
  position: relative;
  display: block;
  width: calc(141px * var(--s));
  max-width: none;
  height: auto;
  margin-top: calc(-20px * var(--s));
  image-rendering: pixelated;
}

@media (prefers-reduced-motion: no-preference) {
  .js .wordmark-art:not(.is-playing) {
    visibility: hidden;
  }
}

@media (min-width: 440px) {
  .wordmark {
    --s: 3;
  }
}

@media (min-width: 620px) {
  .wordmark {
    --s: 4;
  }
}

@media (min-width: 900px) and (min-height: 640px) {
  .wordmark {
    --s: 6;
    --p: 3;
  }
}

@media (min-width: 1200px) and (min-height: 760px) {
  .wordmark {
    --s: 7;
  }
}

@media (min-width: 1600px) and (min-height: 950px) {
  .wordmark {
    --s: 8;
    --p: 4;
  }
}

@media (min-width: 2200px) and (min-height: 1250px) {
  .wordmark {
    --s: 10;
    --p: 5;
  }
}

.hero-foot {
  position: relative;
  z-index: 3;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}

.statement {
  max-width: 34ch;
  margin: 0;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.45;
  font-weight: 500;
}

.tally {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  margin: 0;
  border-top: 4px solid var(--edge-hi);
}

.tally-row {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: 14px 18px 0;
  border-left: 1px solid var(--line);
}

.tally-row:first-child {
  padding-left: 0;
  border-left: 0;
}

.tally dt {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.tally dd {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.tally-big {
  color: var(--text);
  font: 700 clamp(40px, 4.6vw, 68px) / 1 var(--pixel);
  font-variant-numeric: tabular-nums;
  text-shadow: 3px 3px 0 #0f0b18;
}

.tally-main .tally-big {
  color: var(--brand-text);
  text-shadow: 3px 3px 0 var(--brand-shade);
}

.tally-exact {
  color: var(--muted);
  font: 400 13px var(--pixel);
  font-variant-numeric: tabular-nums;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 112px) 16px clamp(16px, 3vw, 40px);
}

.about-text .section-title {
  margin: 0 0 24px;
}

.about-text p {
  max-width: 44ch;
  margin: 0 0 16px;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
}

.about-team {
  margin-top: 16px;
}

.adv-panel {
  justify-self: center;
  margin: 0;
  padding: 20px 28px 32px;
  background: rgba(14, 10, 20, .72);
  border: 4px solid;
  border-color: #8f88a1 #494353 #494353 #8f88a1;
  box-shadow: 0 0 0 4px #241e27, 8px 8px 0 4px rgba(0, 0, 0, .4);
}

.adv-caption {
  margin: 0 0 20px;
  color: var(--muted);
  font: 700 12px var(--pixel);
  text-transform: uppercase;
}

.adv-map {
  --n: 90px;
  --gx: 40px;
  --gy: 24px;
  --trunk: calc(3 * (var(--n) + var(--gx)) - var(--gx) / 2);
  position: relative;
}

.adv-tree {
  display: grid;
  grid-template-columns: repeat(4, var(--n));
  grid-template-rows: repeat(3, var(--n));
  gap: var(--gy) var(--gx);
  margin: 0;
  padding: 0;
  list-style: none;
}

.adv-mods { grid-area: 2 / 1; }
.adv-origin { grid-area: 2 / 2; }
.adv-studio { grid-area: 2 / 3; }
.adv-fungal { grid-area: 1 / 4; }
.adv-prominence { grid-area: 2 / 4; }
.adv-restless { grid-area: 3 / 4; }

.adv-link {
  position: absolute;
  background: #241e27;
}

.adv-link::after {
  content: "";
  position: absolute;
  inset: 3px;
  z-index: 1;
  background: #bd4e07;
}

.adv-link-main {
  left: calc(var(--n) / 2);
  top: calc(var(--n) * 1.5 + var(--gy) - 5px);
  width: calc(3 * (var(--n) + var(--gx)));
  height: 10px;
}

.adv-link-trunk {
  left: calc(var(--trunk) - 5px);
  top: calc(var(--n) / 2 - 5px);
  width: 10px;
  height: calc(2 * (var(--n) + var(--gy)) + 10px);
}

.adv-link-up,
.adv-link-down {
  left: calc(var(--trunk) - 5px);
  width: calc(var(--gx) / 2 + var(--n) / 2 + 5px);
  height: 10px;
}

.adv-link-up {
  top: calc(var(--n) / 2 - 5px);
}

.adv-link-down {
  top: calc(var(--n) * 2.5 + 2 * var(--gy) - 5px);
}

.adv {
  position: relative;
  z-index: 2;
}

.adv:hover,
.adv:focus-within {
  z-index: 3;
}

.adv-node {
  display: grid;
  place-items: center;
  width: var(--n);
  height: var(--n);
  padding: 0;
  border: 0;
  background: url("img/adv-task.png") 0 0 / 100% 100%;
  image-rendering: pixelated;
  cursor: help;
}

.adv-goal {
  background-image: url("img/adv-goal.png");
}

.adv-challenge {
  background-image: url("img/adv-challenge.png");
}

.adv-node img {
  width: calc(var(--n) * 16 / 30);
  height: calc(var(--n) * 16 / 30);
  object-fit: contain;
  image-rendering: auto;
}

.adv-cycle img {
  grid-area: 1 / 1;
  opacity: 0;
  animation: adv-cycle 15s linear infinite;
}

.adv-cycle img:nth-child(2) { animation-delay: 3s; }
.adv-cycle img:nth-child(3) { animation-delay: 6s; }
.adv-cycle img:nth-child(4) { animation-delay: 9s; }
.adv-cycle img:nth-child(5) { animation-delay: 12s; }

@keyframes adv-cycle {
  0% { opacity: 0; }
  5%, 20% { opacity: 1; }
  25%, 100% { opacity: 0; }
}

.adv-node:focus-visible {
  outline: 3px solid #ffd07a;
  outline-offset: 2px;
}

.mc-tip.adv-tip {
  --gp: 2px;
  display: none;
  position: absolute;
  top: 0;
  left: calc(100% + 16px);
  z-index: 10;
  width: max-content;
  max-width: 300px;
  pointer-events: none;
}

.adv-studio .mc-tip.adv-tip,
.adv-fungal .mc-tip.adv-tip,
.adv-prominence .mc-tip.adv-tip,
.adv-restless .mc-tip.adv-tip {
  left: auto;
  right: calc(100% + 16px);
}

.adv:hover .adv-tip,
.adv:focus-within .adv-tip {
  display: block;
}

@media (max-width: 1200px) and (min-width: 961px), (max-width: 620px) {
  .adv-map {
    --n: 60px;
    --gx: 24px;
    --gy: 16px;
  }
}

.packs {
  position: relative;
  padding-top: clamp(32px, 6vw, 72px);
  scroll-margin-top: 0;
}

.packs > .section-title {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px 24px;
}

.rail-wrap {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
}

.rail {
  height: 24px;
  margin: 0 -4px;
  background: #686474;
  border-top: 4px solid #8f88a1;
  border-bottom: 6px solid #494353;
  box-shadow: 0 0 0 4px #241e27, 0 8px 0 4px rgba(0, 0, 0, .4);
  position: relative;
}

.rail::before,
.rail::after {
  content: "";
  position: absolute;
  top: -12px;
  width: 20px;
  height: 40px;
  background: #585262;
  border-top: 4px solid #8f88a1;
  border-bottom: 4px solid #494353;
  box-shadow: 0 0 0 4px #241e27;
}

.rail::before {
  left: -8px;
}

.rail::after {
  right: -8px;
}

.banners {
  display: flex;
  justify-content: safe center;
  align-items: flex-start;
  gap: clamp(16px, 6vw, 96px);
  padding: 0 12px 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.banner-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: none;
  width: 220px;
  padding: 0 0 42px;
  border: 0;
  scroll-snap-align: center;
  background: none;
  color: var(--text);
  cursor: pointer;
  text-align: center;
  font: inherit;
}

.banner-tab:focus-visible {
  outline: none;
}

.banner-tab:focus-visible .banner-cloth {
  outline: 3px solid #ffd07a;
  outline-offset: 6px;
}

.cords {
  position: relative;
  display: block;
  width: 100px;
  height: 16px;
  transition: height 240ms steps(4);
}

.banner-tab {
  transition: padding-bottom 240ms steps(4);
}

.banner-tab[aria-selected="true"] {
  padding-bottom: 6px;
}

.banner-tab[aria-selected="false"]:hover {
  padding-bottom: 50px;
}

.cords::before,
.cords::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6px;
  background: repeating-linear-gradient(#8f88a1 0 6px, #494353 6px 12px);
  box-shadow: 0 0 0 2px #241e27;
}

.cords::before {
  left: 8px;
}

.cords::after {
  right: 8px;
}

.banner-cloth {
  display: block;
  width: 132px;
  height: 264px;
  image-rendering: pixelated;
  filter: brightness(.85);
  transition: filter 240ms steps(3), transform 240ms steps(3);
}

.banner-tab[aria-selected="true"] .cords {
  height: 52px;
}

.banner-tab[aria-selected="true"] .banner-cloth {
  filter: drop-shadow(8px 8px 0 rgba(0, 0, 0, .45));
}

.banner-tab[aria-selected="false"]:hover .cords {
  height: 8px;
}

.banner-tab[aria-selected="false"]:hover .banner-cloth {
  filter: brightness(1);
}

.tab-label {
  display: block;
  margin-top: 14px;
  font: 700 14px var(--pixel);
  text-transform: uppercase;
  color: var(--muted);
}

.tab-meta {
  display: block;
  min-height: 2lh;
  white-space: pre-line;
  color: var(--muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.banner-tab[aria-selected="true"] .tab-label {
  color: var(--text);
}

[data-tone="prominence"] {
  --ledge: url("img/ledge-prominence.png");
  --brand: #fc9d03;
  --brand-2: #e28900;
  --brand-hi: #ffd07a;
  --brand-lo: #a35f00;
  --brand-text: #fc9d03;
  --brand-shade: #3f2700;
  --brand-accent: #ffbc4d;
  --brand-ink: #221300;
  --brand-deep: #2a1a05;
}

[data-tone="restless"] {
  --ledge: url("img/ledge-restless.png");
  --brand: #c91512;
  --brand-2: #a8110f;
  --brand-hi: #ef5b4c;
  --brand-lo: #780d0b;
  --brand-text: #f05545;
  --brand-shade: #3a0605;
  --brand-accent: #f7836a;
  --brand-ink: #fff1ee;
  --brand-deep: #2a0605;
}

[data-tone="fungal"] {
  --ledge: url("img/ledge-fungal.png");
  --brand: #b84a56;
  --brand-2: #9a2e40;
  --brand-hi: #e8848a;
  --brand-lo: #6b1f2e;
  --brand-text: #e8848a;
  --brand-shade: #2e0a14;
  --brand-accent: #f2b4b4;
  --brand-ink: #fff0f1;
  --brand-deep: #2a0b14;
}

.projects {
  position: relative;
}

.project {
  --wrap: 1200px;
  position: relative;
  padding: 136px 0 72px;
  margin-top: 0;
  background: color-mix(in srgb, var(--brand-deep) 30%, transparent);
}

.project::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #1d1825;
  background-image: linear-gradient(rgba(0, 0, 0, .35), rgba(0, 0, 0, .55)), url("../assets/background_squares.png");
  background-repeat: no-repeat, repeat;
  background-size: 100vw 100vh, 512px 512px;
  background-attachment: fixed;
  image-rendering: pixelated;
}

.project::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 128px;
  background: var(--ledge) 0 0 / 1036px 128px repeat-x;
  image-rendering: pixelated;
}

.project + .project {
  margin-top: 48px;
}

.js .project + .project {
  margin-top: 0;
}

.project > :not(.strip):not(.banner) {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 16px;
}

.banner {
  margin: 0 auto 32px;
  max-width: var(--wrap);
  padding-inline: 16px;
}

.banner img {
  width: 77px;
  height: 154px;
  image-rendering: pixelated;
}

.js .banner {
  display: none;
}

.project-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  margin-bottom: 56px;
}

.project-title img {
  display: block;
  width: min(100%, 460px);
}

.project-title-plate {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.project-title-plate img {
  width: clamp(160px, 22vw, 280px);
  height: auto;
  border: 6px solid;
  border-color: var(--brand-hi) var(--brand-lo) var(--brand-lo) var(--brand-hi);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, .45);
  image-rendering: pixelated;
}

.project-title-plate span {
  display: inline-block;
  padding: 12px 18px 10px;
  background: var(--brand-2);
  border: 4px solid;
  border-color: var(--brand-hi) var(--brand-lo) var(--brand-lo) var(--brand-hi);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, .45);
  color: var(--brand-ink);
  font: 700 clamp(26px, 3.4vw, 44px) / 1.05 var(--pixel);
  text-transform: uppercase;
  text-shadow: 3px 3px 0 var(--brand-shade);
}

[data-tone="prominence"] .project-title-plate span {
  color: #fff;
}

.mc-tip {
  --gp: 3px;
  --tip-bg: rgba(16, 0, 16, .94);
  position: relative;
  z-index: 2;
  justify-self: start;
  width: max-content;
  max-width: min(100%, 600px);
  margin: 0;
  padding: calc(var(--gp) * 3);
  font: 400 calc(var(--gp) * 8) / calc(var(--gp) * 10) "Pixelify Sans", var(--pixel);
  font-variant-ligatures: none;
  color: #aaaaaa;
  background: var(--tip-bg);
  box-shadow:
    0 calc(var(--gp) * -1) 0 var(--tip-bg),
    0 var(--gp) 0 var(--tip-bg),
    calc(var(--gp) * -1) 0 0 var(--tip-bg),
    var(--gp) 0 0 var(--tip-bg),
    inset 0 0 0 var(--gp) #2d0a6e;
}

.mc-tip p,
.mc-tip ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mc-tip .tip-name {
  margin-bottom: calc(var(--gp) * 2);
}

.mc-tip .tip-gap {
  margin-top: calc(var(--gp) * 10);
}

.tip-lore {
  font-style: italic;
}

.mc-tip [class*="c-"] {
  color: var(--c);
  text-shadow: var(--gp) var(--gp) 0 var(--s);
}

.c-gold { --c: #ffaa00; --s: #3f2a00; }
.c-red { --c: #ff5555; --s: #3f1515; }
.c-pink { --c: #ff7f8a; --s: #3f1f22; }
.c-gray { --c: #aaaaaa; --s: #2a2a2a; }
.c-dark-gray { --c: #555555; --s: #151515; }
.c-dark-purple { --c: #aa00aa; --s: #2a002a; }
.c-blue { --c: #5555ff; --s: #15153f; }
.c-aqua { --c: #55ffff; --s: #153f3f; }
.c-white { --c: #ffffff; --s: #3f3f3f; }
.c-green { --c: #55ff55; --s: #153f15; }

.mc-tip a {
  text-decoration: underline;
  text-decoration-thickness: var(--gp);
  text-underline-offset: calc(var(--gp) * 1.5);
}

.mc-tip a:hover {
  --c: #ffffff;
  --s: #3f3f3f;
}

.tip-get {
  display: inline-block;
  padding: 0 calc(var(--gp) * 2);
  margin-left: calc(var(--gp) * -2);
}

.tip-get:hover {
  background: rgba(255, 255, 255, .16);
}

.mc-tip-float {
  --gp: 2px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  max-width: min(420px, calc(100vw - 16px));
  margin: 0;
  pointer-events: none;
}

.strip {
  margin: 0 0 64px;
}

.strip-frame {
  padding: 6px 0;
  background: #0f0b18;
  border-block: 6px solid;
  border-color: var(--brand-hi) transparent var(--brand-lo);
}

.strip-frame img {
  display: block;
  width: 100%;
  height: clamp(220px, 40vw, 600px);
  object-fit: cover;
}

.play {
  margin-bottom: 64px;
}

.block-title {
  margin-bottom: 28px;
  color: var(--text);
  font: 700 clamp(32px, 3.6vw, 48px) / 1.05 var(--body);
  letter-spacing: -.01em;
}

.block-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 6px;
  margin-top: 14px;
  background: var(--brand);
  box-shadow: 3px 3px 0 var(--brand-shade);
}

.play h4 {
  margin-bottom: 14px;
  color: var(--brand-accent);
  font: 700 clamp(22px, 2.2vw, 28px) / 1.15 var(--body);
}

.play-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  margin-bottom: 64px;
}

.play-story p {
  max-width: 46ch;
  font-size: 18px;
}

.play-build {
  padding-left: clamp(0px, 3vw, 40px);
  border-left: 4px solid var(--brand-2);
}

.build-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 16px;
}

.build-table div {
  display: flex;
  flex-direction: column-reverse;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.build-table dd {
  margin: 0;
  color: var(--brand-text);
  font: 700 clamp(40px, 4vw, 56px) / 1 var(--pixel);
  font-variant-numeric: tabular-nums;
  text-shadow: 3px 3px 0 var(--brand-shade);
}

.build-table dt {
  color: var(--muted);
  font-size: 15px;
}

.play-build > p {
  color: var(--muted);
}

.artifacts {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.framed {
  margin: 0;
  padding: 6px;
  background: #0f0b18;
  border: 6px solid;
  border-color: var(--edge-hi) var(--edge-lo) var(--edge-lo) var(--edge-hi);
  clip-path: var(--notch);
}

.framed img {
  display: block;
  width: 100%;
  clip-path: var(--notch-sm);
}

.artifacts-text p {
  font-size: 18px;
}

.endgame {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 64px);
  margin-bottom: 72px;
}

.endgame-text .block-title {
  margin-bottom: 20px;
}

.endgame-text p {
  font-size: 18px;
  max-width: 32ch;
}

.numbers {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  margin-top: 0;
  margin-bottom: 64px;
  border-top: 4px solid var(--brand-2);
}

.numbers div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 8px;
  padding: 20px 20px 0;
  border-left: 1px solid var(--line);
}

.numbers div:first-child {
  padding-left: 0;
  border-left: 0;
}

.numbers dd {
  margin: 0;
  font: 700 clamp(40px, 5vw, 72px) / 1 var(--pixel);
  font-variant-numeric: tabular-nums;
  text-shadow: 3px 3px 0 #0f0b18;
}

.numbers .numbers-lead dd {
  color: var(--brand-text);
  font-size: clamp(56px, 8vw, 120px);
  text-shadow: 4px 4px 0 var(--brand-shade);
}

.numbers dt {
  color: var(--muted);
}

.play-lede {
  max-width: 40ch;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.35;
  font-weight: 600;
  margin-bottom: 32px;
}

.loop {
  margin: 0 0 32px;
  border-top: 1px solid var(--line);
}

.loop div {
  display: grid;
  grid-template-columns: minmax(140px, 3fr) 7fr;
  gap: 24px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.loop dt {
  color: var(--brand-text);
  font: 700 clamp(18px, 2vw, 24px) / 1.2 var(--pixel);
  overflow-wrap: anywhere;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 var(--brand-shade);
}

.loop dd {
  margin: 0;
  font-size: 19px;
}

.watch {
  font-weight: 600;
}

.get {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "text actions" "more more";
  gap: 20px 32px;
  align-items: center;
  padding-block: 28px;
  background: var(--panel);
  border: 4px solid;
  border-color: var(--edge-hi) var(--edge-lo) var(--edge-lo) var(--edge-hi);
  border-left: 12px solid var(--brand);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, .4);
}

.project > .get {
  padding-inline: clamp(20px, 3vw, 36px);
  max-width: calc(var(--wrap) - 32px);
}

.get-text {
  grid-area: text;
}

.get-title {
  margin-bottom: 6px;
  font: 700 clamp(26px, 3vw, 38px) / 1.1 var(--body);
}

.get-text p {
  margin: 0;
  color: var(--muted);
}

.get-actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.get-more {
  grid-area: more;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.btn-magma,
.btn-stone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 3px solid;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .4);
  font: 700 17px/1.2 var(--body);
  text-decoration: none;
  text-align: center;
}

.btn-magma {
  background: var(--brand);
  border-color: var(--brand-hi) var(--brand-lo) var(--brand-lo) var(--brand-hi);
  color: var(--brand-ink);
}

.btn-magma:hover {
  background: var(--brand-2);
  color: var(--brand-ink);
}

.btn-stone {
  background: var(--panel-raised);
  border-color: var(--edge-hi) var(--edge-lo) var(--edge-lo) var(--edge-hi);
  color: var(--text);
}

.btn-stone:hover {
  background: #342a4c;
  color: var(--text);
}

.btn-magma:active,
.btn-stone:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.community {
  max-width: 1232px;
  margin: 0 auto;
  padding: 88px 16px 72px;
}

.closer {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  background: var(--panel);
  border: 4px solid;
  border-color: var(--edge-hi) var(--edge-lo) var(--edge-lo) var(--edge-hi);
  border-top: 8px solid var(--brand);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, .4);
}

.closer-main {
  padding: clamp(24px, 4vw, 48px);
}

.closer-title {
  margin-bottom: 14px;
  font: 700 clamp(32px, 3.6vw, 48px) / 1.05 var(--body);
}

.closer-main p {
  max-width: 44ch;
  margin-bottom: 24px;
  font-size: 19px;
}

.closer-links {
  margin: 0;
  padding: 16px 0;
  list-style: none;
  background: rgba(15, 11, 24, .45);
  border-left: 1px solid var(--line);
}

.closer-links li {
  padding: 12px clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}

.closer-links li:last-child {
  border-bottom: 0;
}

.closer-links a {
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
}

.closer-links a:hover {
  color: var(--brand-hi);
}

.closer-links span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.team {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) 16px clamp(64px, 9vw, 128px);
}

.team > .section-title {
  margin: 0 0 clamp(28px, 4vw, 48px);
}

.member {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding: clamp(20px, 3vw, 36px);
  background: rgba(14, 10, 20, .72);
  border: 4px solid;
  border-color: #8f88a1 #494353 #494353 #8f88a1;
  box-shadow: 0 0 0 4px #241e27, 8px 8px 0 4px rgba(0, 0, 0, .4);
}

.member + .member {
  margin-top: 40px;
}

.member-portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: 6px solid;
  border-color: #8f88a1 #494353 #494353 #8f88a1;
  box-shadow: 0 0 0 4px #241e27;
}

.member-body p {
  max-width: 60ch;
  margin: 0 0 16px;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
}

.member-body .member-role {
  margin: 4px 0 8px;
  color: var(--brand-text);
  font: 700 13px var(--pixel);
  text-transform: uppercase;
  text-shadow: 2px 2px 0 var(--brand-shade);
}

.member-name {
  margin: 0 0 12px;
  font: 700 clamp(32px, 3.6vw, 46px) / 1.05 var(--body);
}

.member-handle {
  color: var(--muted);
  font-weight: 500;
}

.member-body .member-country {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 16px;
}

.member-country img {
  width: 24px;
  height: 18px;
  box-shadow: 0 0 0 2px #241e27;
}

.member-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.stone-link[aria-current="page"] {
  background: var(--brand);
  border-color: var(--brand-hi) var(--brand-lo) var(--brand-lo) var(--brand-hi);
  color: var(--brand-ink);
}

.blog {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) 16px clamp(64px, 9vw, 128px);
}

.blog > .section-title {
  margin-bottom: 12px;
}

.blog-intro {
  margin-bottom: clamp(28px, 4vw, 48px);
  color: var(--muted);
  font-size: 19px;
}

.post-index {
  display: grid;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-entry,
.post {
  background: rgba(14, 10, 20, .72);
  border: 4px solid;
  border-color: #8f88a1 #494353 #494353 #8f88a1;
  box-shadow: 0 0 0 4px #241e27, 8px 8px 0 4px rgba(0, 0, 0, .4);
}

.post-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 240px);
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
  padding: clamp(18px, 2.6vw, 28px);
  color: var(--text);
  text-decoration: none;
}

.post-entry:not(:has(.post-entry-thumb)) {
  grid-template-columns: minmax(0, 1fr);
}

.post-entry:hover {
  color: var(--text);
  background: rgba(32, 24, 46, .82);
}

.post-entry:active {
  transform: translate(2px, 2px);
}

.post-entry-text {
  display: grid;
  gap: 8px;
}

.post-entry-title {
  font: 700 clamp(24px, 2.6vw, 32px) / 1.15 var(--body);
}

.post-entry:hover .post-entry-title {
  color: var(--brand-hi);
}

.post-entry-excerpt {
  color: var(--muted);
}

.post-entry-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 4px solid;
  border-color: #8f88a1 #494353 #494353 #8f88a1;
}

.post-meta {
  margin: 0;
  color: var(--brand-text);
  font: 700 12px / 1.4 var(--pixel);
  text-transform: uppercase;
  text-shadow: 2px 2px 0 var(--brand-shade);
}

.post-meta a {
  color: inherit;
}

.blog-back {
  min-height: 40px;
  margin-bottom: 28px;
  font-size: 15px;
}

.post {
  padding: clamp(20px, 4.5vw, 56px);
}

.post-head {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.post-title {
  margin-top: 12px;
  font: 700 clamp(32px, 4.4vw, 52px) / 1.05 var(--body);
}

.post-cover {
  display: block;
  width: 100%;
  margin-bottom: clamp(24px, 3vw, 36px);
  border: 4px solid;
  border-color: #8f88a1 #494353 #494353 #8f88a1;
}

.post-body {
  max-width: 70ch;
  font-size: clamp(17px, 1.3vw, 18px);
  overflow-wrap: break-word;
}

.post-body h2 {
  margin: 1.9em 0 .6em;
  padding-bottom: 10px;
  border-bottom: 4px solid var(--line);
  color: var(--brand-text);
  font: 700 clamp(26px, 2.8vw, 34px) / 1.15 var(--body);
  text-shadow: 2px 2px 0 var(--brand-shade);
}

.post-body h3 {
  margin: 1.7em 0 .5em;
  font: 700 clamp(22px, 2.2vw, 27px) / 1.2 var(--body);
}

.post-body h4 {
  margin: 1.4em 0 .4em;
  color: var(--brand-accent);
  font: 700 20px / 1.25 var(--body);
}

.post-body h5 {
  margin: 1.2em 0 .3em;
  font: 700 18px / 1.3 var(--body);
}

.post-body > :first-child {
  margin-top: 0;
}

.post-body .is-bullet {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.post-body .is-bullet::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  background: var(--brand);
  box-shadow: 2px 2px 0 var(--brand-shade);
  transform: translateY(-.15em);
}

.post-num {
  color: var(--brand-text);
}

.post-body code {
  padding: 1px 6px;
  background: var(--panel-raised);
  font: .9em ui-monospace, monospace;
}

.post-indent {
  padding-left: 28px;
}

.post-list {
  margin: 0 0 1em;
  padding-left: 28px;
}

.post-list li {
  margin-bottom: .35em;
}

.post-list li > :last-child {
  margin-bottom: 0;
}

ul.post-list {
  list-style: square;
}

.post-list li::marker {
  color: var(--brand);
  font-weight: 700;
}

.post-toggle {
  margin: 0 0 1em;
}

.post-toggle summary {
  cursor: pointer;
  list-style: none;
}

.post-toggle summary::-webkit-details-marker {
  display: none;
}

.post-toggle summary::before,
.post-toggle.is-empty::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-right: 12px;
  border-block: 6px solid transparent;
  border-left: 9px solid var(--brand);
  transform: translateY(-1px);
}

.post-toggle[open] > summary::before {
  transform: translateY(-1px) rotate(90deg);
}

.post-toggle.is-empty::before {
  border-left-color: var(--edge-hi);
}

.post-toggle > :not(summary) {
  margin-left: 21px;
}

.post-toggle[open] > summary {
  margin-bottom: .6em;
}

.post-figure {
  margin: 28px 0;
}

.post-figure a {
  display: block;
  width: fit-content;
  max-width: 100%;
}

.post-figure img {
  display: block;
  border: 4px solid;
  border-color: #8f88a1 #494353 #494353 #8f88a1;
  box-shadow: 0 0 0 4px #241e27;
}

.post-figure.is-pixel img {
  image-rendering: pixelated;
}

.post-figure figcaption,
.post-caption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.post-rule {
  height: 4px;
  margin: 40px 0;
  border: 0;
  background: var(--line);
  box-shadow: 0 2px 0 var(--edge-lo);
}

.post-card {
  display: grid;
  gap: 4px;
  max-width: 560px;
  margin: 12px 0 20px;
  padding: 16px 20px;
  background: var(--panel-raised);
  border: 3px solid;
  border-color: var(--edge-hi) var(--edge-lo) var(--edge-lo) var(--edge-hi);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .4);
  color: var(--text);
  text-decoration: none;
}

.post-card:hover {
  background: #342a4c;
  color: var(--text);
}

.post-card:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.post-card span {
  color: var(--muted);
  font-size: 15px;
}

.post-card .post-card-host {
  color: var(--brand-accent);
  font: 400 11px var(--pixel);
  text-transform: uppercase;
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.post-nav-link {
  display: grid;
  gap: 6px;
  padding: 16px 20px;
  background: var(--panel-raised);
  border: 3px solid;
  border-color: var(--edge-hi) var(--edge-lo) var(--edge-lo) var(--edge-hi);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .4);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.post-nav-link:hover {
  background: #342a4c;
  color: var(--text);
}

.post-nav-link:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.post-nav-link[rel="next"] {
  grid-column: 2;
  text-align: right;
}

.post-nav-link span {
  color: var(--brand-accent);
  font: 400 11px var(--pixel);
  text-transform: uppercase;
}

.footer {
  position: relative;
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 28px max(16px, calc((100% - 1200px) / 2));
  background: var(--header-bg);
  border-top: 4px solid var(--edge-lo);
  color: var(--muted);
  font-size: 14px;
}

.footer p {
  margin: 0 0 4px;
}

.footer-logo {
  flex: none;
  width: 112px;
  height: 112px;
  image-rendering: pixelated;
}

.flood {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin-top: 60px;
  z-index: 40;
  overflow: hidden;
  pointer-events: none;
}

.flood.is-pouring,
.flood.is-draining {
  display: block;
}

.flood-sheet {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: calc(100% + 96px);
  transform: translateY(-100%);
  background: var(--brand-2);
  background-clip: content-box;
  padding: 48px 0;
}

.flood-tail,
.flood-fill,
.flood-front {
  position: absolute;
  left: 0;
  right: 0;
  height: 48px;
  -webkit-mask: url("img/drip-tail.png") 0 0 / 384px 48px repeat-x;
  mask: url("img/drip-tail.png") 0 0 / 384px 48px repeat-x;
}

.flood-tail {
  top: 0;
  background: var(--brand-lo);
}

.flood-front {
  bottom: 0;
  background: var(--brand-hi);
  -webkit-mask-image: url("img/drip-front.png");
  mask-image: url("img/drip-front.png");
}

.flood-fill {
  bottom: 0;
  z-index: 1;
  background: var(--brand-2);
  -webkit-mask-image: url("img/drip-fill.png");
  mask-image: url("img/drip-fill.png");
}

.flood.is-pouring .flood-sheet {
  animation: flood-pour 380ms steps(12) 1 both;
}

.flood.is-draining .flood-sheet {
  animation: flood-drain 340ms steps(12) 1 both;
}

@keyframes flood-pour {
  from { transform: translateY(-100%); }
  to { transform: translateY(-48px); }
}

@keyframes flood-drain {
  from { transform: translateY(-48px); }
  to { transform: translateY(100%); }
}

@media (max-width: 960px) {
  .hero-foot,
  .about,
  .project-head,
  .play-grid,
  .artifacts,
  .endgame,
  .closer {
    grid-template-columns: minmax(0, 1fr);
  }

  .closer-links {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .play-build {
    padding-left: 0;
    padding-top: 24px;
    border-left: 0;
    border-top: 4px solid var(--brand-2);
  }
}

@media (max-width: 720px) {
  .member,
  .post-entry,
  .post-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .post-entry-thumb {
    grid-row: 1;
  }

  .post-nav-link[rel="next"] {
    grid-column: auto;
  }

  .post-indent,
  .post-list {
    padding-left: 20px;
  }

  .member-portrait {
    max-width: 280px;
  }

  body {
    font-size: 16px;
  }

  .hero {
    min-height: auto;
    justify-content: flex-start;
  }

  .tally {
    grid-template-columns: 1fr 1fr;
  }

  .tally-main {
    grid-column: 1 / -1;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
  }

  .tally-row:nth-child(2) {
    padding-left: 0;
    border-left: 0;
  }

  .banners {
    justify-content: safe center;
    gap: 12px;
    padding: 0 4px 20px;
  }

  .banner-tab {
    width: 160px;
  }

  .cords {
    width: 84px;
  }

  .banner-cloth {
    width: 110px;
    height: 220px;
  }

  .banner-tab[aria-selected="true"] .cords {
    height: 40px;
  }

  .banner-tab[aria-selected="false"] {
    padding-bottom: 30px;
  }

  .banner-tab[aria-selected="false"]:hover {
    padding-bottom: 38px;
  }

  .numbers {
    grid-template-columns: 1fr 1fr;
  }

  .numbers .numbers-lead {
    grid-column: 1 / -1;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }

  .numbers div:nth-child(2) {
    padding-left: 0;
    border-left: 0;
  }

  .get {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "text" "actions" "more";
  }

  .get-actions > a {
    flex: 1 1 100%;
  }

  .loop div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .adv-panel {
    justify-self: stretch;
    padding: 16px 12px 20px;
  }

  .adv-map {
    width: max-content;
    margin: 0 auto;
  }

  .adv {
    position: static;
  }

  .mc-tip.adv-tip,
  .adv-studio .mc-tip.adv-tip,
  .adv-fungal .mc-tip.adv-tip,
  .adv-prominence .mc-tip.adv-tip,
  .adv-restless .mc-tip.adv-tip {
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
  }

  .project {
    padding-top: 88px;
  }

  .project::before {
    height: 64px;
    background-size: 518px 64px;
  }

  .flood {
    margin-top: 30px;
  }

  .masthead {
    padding-block: 8px;
    gap: 8px;
  }

  .brand span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .masthead-links {
    gap: 6px;
  }

  .stone-link {
    height: 32px;
    padding: 0 8px;
    border-width: 2px;
    font-size: 10px;
  }

  .mc-tip {
    --gp: 2px;
  }

  .banners {
    gap: 4px;
    padding-inline: 0;
  }

  .banner-tab {
    width: 112px;
  }

  .cords {
    width: 68px;
  }

  .cords::before {
    left: 6px;
  }

  .cords::after {
    right: 6px;
  }

  .banner-cloth {
    width: 88px;
    height: 176px;
  }

  .tab-label {
    font-size: 11px;
  }

  .tab-meta {
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .masthead-links {
    gap: 4px;
  }

  .stone-link {
    padding: 0 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .embers {
    display: none;
  }

  .adv-cycle img {
    animation: none;
  }

  .adv-cycle img:first-child {
    opacity: 1;
  }

  .cords,
  .banner-cloth,
  .banner-tab {
    transition: none;
  }
}
