:root {
  --paper: #E3E3DF;
  --paper-deep: #D5D5D0;
  --grid: rgba(0, 0, 0, .065);
  --ink: #000;
  --ink-soft: #3A3A3A;
  --band: #141416;
  --rule: rgba(0, 0, 0, .18);
  --display: 'Archivo', 'Arial Narrow', sans-serif;
  --body: 'Archivo', system-ui, sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  font: 400 1.0625rem/1.6 var(--body); font-stretch: 100%;
  border-left: 8px solid var(--accent);
  min-height: 100vh;
}
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
code, .path { font-family: var(--mono); font-size: .92em; background: rgba(0,0,0,.07); padding: .05em .35em; border-radius: 3px; }

.topbar { background: var(--band); color: #E8E8E4; font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-block: .6rem; flex-wrap: wrap; }
.topbar a { color: #E8E8E4; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.hero { background: var(--band); border-bottom: 6px solid var(--edge); }
.hero img { display: block; width: min(1280px, 100%); height: auto; margin-inline: auto; aspect-ratio: 16 / 9; }

.get { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: end; padding-block: 2.5rem 2rem; border-bottom: 1px solid var(--rule); }
.tag { display: inline-block; background: var(--accent); color: #000; font: 800 1rem/1 var(--display); font-stretch: 75%; text-transform: uppercase; letter-spacing: .02em; padding: .35rem .55rem .3rem; }
h1 { font: 900 clamp(2.6rem, 7vw, 4.6rem)/.92 var(--display); font-stretch: 62%; text-transform: uppercase; margin: .6rem 0 .8rem; letter-spacing: .005em; }
.lede { margin: 0; max-width: 60ch; color: var(--ink-soft); }
.download { text-align: right; }
.btn {
  display: inline-block; background: var(--accent); color: #000; text-decoration: none;
  font: 900 1.6rem/1 var(--display); font-stretch: 70%; text-transform: uppercase; letter-spacing: .02em;
  padding: 1.05rem 1.6rem 1rem; border: 3px solid #000; box-shadow: 6px 6px 0 #000;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 #000; }
.btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 #000; }
.meta { margin: .9rem 0 0; font-size: .92rem; color: var(--ink-soft); }
.meta span + span::before { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--accent); margin: 0 .6rem .12rem; outline: 1px solid #000; }

section { padding-block: 2.6rem; border-bottom: 1px solid var(--rule); }
h2 { font: 900 clamp(1.9rem, 4.4vw, 2.6rem)/1 var(--display); font-stretch: 62%; text-transform: uppercase; margin: 0 0 1.4rem; }
h3 { font: 800 1.35rem/1.15 var(--display); font-stretch: 75%; text-transform: uppercase; margin: 0 0 .35rem; }

.features { list-style: none; margin: 0; padding: 0; columns: 2 18rem; column-gap: 3rem; }
.features li { break-inside: avoid; padding: .45rem 0 .45rem 1.4rem; position: relative; border-top: 1px solid var(--rule); }
.features li::before { content: ''; position: absolute; left: 0; top: 1.05rem; width: 9px; height: 9px; background: var(--accent); outline: 1px solid #000; }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 2px solid #000; background: var(--paper); }
.steps li { counter-increment: step; padding: 1.4rem 1.4rem 1.6rem; border-right: 2px solid #000; }
.steps li:last-child { border-right: 0; }
.steps li::before {
  content: counter(step); display: block; font: 900 6.5rem/.8 var(--display); font-stretch: 62%;
  color: #000; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 8px solid var(--accent); width: max-content; min-width: 3.2rem;
}
.steps p { margin: .3rem 0 0; }
.steps .aside { font-size: .92rem; color: var(--ink-soft); margin-top: .7rem; }
.note { margin: 1.4rem 0 0; padding: .9rem 1.1rem; background: var(--paper-deep); border-left: 6px solid var(--accent); max-width: 70ch; }

details { border-top: 2px solid #000; background: transparent; }
details:last-of-type { border-bottom: 2px solid #000; }
summary { cursor: pointer; list-style: none; padding: 1rem 2.4rem 1rem 0; position: relative; font: 800 1.3rem/1.2 var(--display); font-stretch: 75%; text-transform: uppercase; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: .3rem; top: .7rem; font: 900 1.9rem/1 var(--display); }
details[open] summary::after { content: '\2212'; }
details[open] summary { color: #000; box-shadow: inset 0 -4px 0 var(--accent); }
.detail-body { padding: .6rem 0 1.4rem; max-width: 72ch; }
.detail-body ol, .detail-body ul { padding-left: 1.3rem; }
.detail-body li { margin: .45rem 0; }
pre { background: var(--band); color: #E8E8E4; padding: 1rem 1.1rem; overflow-x: auto; font: .95rem/1.5 var(--mono); border-left: 6px solid var(--accent); }
pre .add { color: var(--accent); font-weight: 700; }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 0; }
.gallery figure { margin: 0; background: var(--band); border: 2px solid #000; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.gallery figcaption { background: var(--paper); border-top: 2px solid #000; padding: .45rem .7rem; font-size: .9rem; }

.changes { margin: 0; }
.change { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--rule); }
.change h3 { font-size: 2rem; font-stretch: 62%; margin: 0; }
.change time { display: block; font-size: .88rem; color: var(--ink-soft); }
.change ul { margin: 0; padding-left: 1.1rem; }

.also { margin: .55rem 0 0; font-size: .92rem; }
.looks { display: grid; grid-template-columns: repeat(var(--look-cols, 3), minmax(0, 1fr)); gap: 1rem; }
.look { display: flex; flex-direction: column; min-width: 0; background: var(--paper); border: 2px solid #000; }
.look img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 4 / 5; background: var(--band); border-bottom: 2px solid #000; }
.look-body { display: flex; flex-direction: column; gap: .5rem; flex: 1; padding: .9rem .95rem 1.1rem; }
.look h3 { margin: 0; font-size: 1.2rem; text-wrap: balance; }
.look p { margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.45; }
.look .btn { align-self: flex-start; margin-top: auto; font-size: 1.05rem; padding: .62rem .9rem .56rem; box-shadow: 4px 4px 0 #000; }
.look .btn:hover { box-shadow: 6px 6px 0 #000; }
.look .meta { margin: .1rem 0 0; font-size: .85rem; }
.gallery.faces { grid-template-columns: repeat(var(--look-cols, 3), minmax(0, 1fr)); gap: .8rem; margin-top: 1.2rem; }
.gallery.faces img { aspect-ratio: 1 / 1; }
.gallery.ingame { grid-template-columns: repeat(var(--shot-cols, 2), minmax(0, 1fr)); gap: .8rem; margin-bottom: 1.2rem; }
.gallery.ingame img { aspect-ratio: 1 / 1; object-fit: cover; }
.gallery.ingame figcaption { font-size: .85rem; }
.gallery.faces figcaption { font-size: .82rem; }
.cols-2 { --look-cols: 2; max-width: 760px; } .cols-3 { --look-cols: 3; } .cols-4 { --look-cols: 4; } .cols-5 { --look-cols: 5; }
@media (max-width: 1000px) { .looks.cols-4, .looks.cols-5, .faces.cols-4, .faces.cols-5 { --look-cols: 2; } }
@media (max-width: 760px) { .looks, .gallery.faces { --look-cols: 2; } .gallery.ingame { --shot-cols: 2 !important; } }

.credits { font-size: .95rem; color: var(--ink-soft); }
.credits p { margin: 0 0 .7rem; max-width: 72ch; }
.credits h2 { color: var(--ink); }
.more { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: 2rem 3rem; }
.more a.other { font: 900 1.7rem/1 var(--display); font-stretch: 62%; text-transform: uppercase; text-decoration: none; border-bottom: 6px solid var(--edge); padding-bottom: .2rem; }

@media (max-width: 760px) {
  body { border-left-width: 5px; }
  .get { grid-template-columns: 1fr; }
  .download { text-align: left; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; border-bottom: 2px solid #000; }
  .steps li:last-child { border-bottom: 0; }
  .steps li::before { font-size: 5rem; }
  .gallery { grid-template-columns: 1fr; }
  .looks, .gallery.faces { gap: .7rem; }
  .look-body { padding: .7rem .7rem .9rem; }
  .look h3 { font-size: 1.05rem; }
  .look p { font-size: .84rem; }
  .change { grid-template-columns: 1fr; gap: .2rem; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
