/* deadmileage.io: the front page, the devlog and its posts. One sheet, no web fonts: the display face is the
   condensed DIN-alike each system already has (Bahnschrift on Windows, DIN Condensed on Apple, Roboto Condensed on
   Android), the same one the games and the press kit use. */
:root {
  color-scheme: dark;
  --bg: #0e0b09;
  --bg2: #15100c;
  --bg3: #1e1712;
  --line: #3a2d22;
  --ink: #eadbc0;
  --dim: #ad9a7e;
  --faint: #7d6c57;
  --title: #ffe2a6;
  --amber: #d9932f;
  --amber2: #f2b65c;
  --rust: #b4512f;
  --red: #e0583c;
  --paper: #e9dfc8;
  --paper2: #d9cbab;
  --paper-ink: #3a2414;
  --paper-dim: #6a4a30;
  --display: Bahnschrift, 'DIN Condensed', 'DIN Alternate', 'Roboto Condensed', 'Arial Narrow', sans-serif-condensed, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --hand: 'Ink Free', 'Segoe Print', 'Bradley Hand', Noteworthy, 'Comic Neue', cursive;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: var(--amber2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--title); }
:focus-visible { outline: 2px solid var(--amber2); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); font-stretch: condensed; font-weight: 700; line-height: 1.02; margin: 0; color: var(--title); letter-spacing: .02em; }
h2 { font-size: clamp(34px, 5vw, 56px); text-transform: uppercase; }
h3 { font-size: clamp(26px, 3vw, 34px); text-transform: uppercase; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.kicker {
  font-family: var(--display); font-stretch: condensed; font-weight: 600; text-transform: uppercase;
  letter-spacing: .22em; font-size: 15px; color: var(--amber); margin: 0 0 12px;
}
.hand { font-family: var(--hand); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--title); color: #000; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --b: var(--amber);
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px;
  font-family: var(--display); font-stretch: condensed; font-weight: 700; font-size: 19px; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border-radius: 4px; border: 2px solid var(--b); color: var(--title); background: transparent;
  transition: background .18s, color .18s, transform .18s, box-shadow .18s; cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); color: var(--title); }
.btn-play { background: linear-gradient(180deg, #e7a23c, #c47c1e); border-color: #f0b45a; color: #1b1009; box-shadow: 0 6px 24px rgba(217, 147, 47, .25), inset 0 1px 0 rgba(255, 240, 200, .5); }
.btn-play::after { content: ''; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 2px; }
.btn-play:hover { color: #000; background: linear-gradient(180deg, #f6b450, #d48a28); box-shadow: 0 8px 30px rgba(217, 147, 47, .4), inset 0 1px 0 rgba(255, 240, 200, .6); }
.btn-ghost { background: rgba(14, 11, 9, .35); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(217, 147, 47, .14); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 16px; }

/* ---------------------------------------------------------------- nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.nav.solid, .page .nav { background: rgba(14, 11, 9, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { font-family: var(--display); font-stretch: condensed; font-weight: 700; font-size: 22px; letter-spacing: .16em; color: var(--title); text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.brand:hover { color: #fff; }
.nav-links { display: flex; gap: 24px; margin-right: auto; }
.nav-links a { color: var(--ink); text-decoration: none; font-family: var(--display); font-stretch: condensed; font-size: 17px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.nav-links a:hover { color: var(--title); opacity: 1; }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-in { justify-content: space-between; }
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: max(620px, 100svh); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-media, .hero-media img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-media img { object-position: 50% 50%; }
.hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero-video.on { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 7, 5, .88) 0%, rgba(10, 7, 5, .55) 38%, rgba(10, 7, 5, 0) 70%),
    linear-gradient(0deg, var(--bg) 0%, rgba(14, 11, 9, .55) 22%, rgba(14, 11, 9, 0) 50%),
    linear-gradient(180deg, rgba(10, 7, 5, .6) 0%, rgba(10, 7, 5, 0) 18%);
}
.hero-shade::after { /* film grain, very light */
  content: ''; position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-in { padding-top: 120px; padding-bottom: clamp(72px, 11vh, 120px); }
.logo {
  font-size: clamp(76px, 14vw, 168px); line-height: .84; letter-spacing: .05em; text-transform: uppercase; color: var(--title);
  text-shadow: 0 0 2px #000, 0 10px 40px rgba(0, 0, 0, .85);
}
.rule { width: min(340px, 70%); height: 2px; margin: 26px 0 22px; background: linear-gradient(90deg, var(--amber), rgba(217, 147, 47, 0)); }
.lede { max-width: 560px; font-size: clamp(18px, 1.6vw, 20px); color: #f3e4c8; text-shadow: 0 2px 12px rgba(0, 0, 0, .9); margin-bottom: 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .kicker { color: var(--amber2); text-shadow: 0 2px 10px #000; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 28px; height: 44px; margin-left: -14px; border: 2px solid rgba(234, 219, 192, .45); border-radius: 16px; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--amber2); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue span { animation: none; } }
@media (max-width: 700px) {
  .hero-shade { background: linear-gradient(0deg, var(--bg) 4%, rgba(14, 11, 9, .82) 42%, rgba(14, 11, 9, .15) 75%), linear-gradient(180deg, rgba(10, 7, 5, .6) 0%, rgba(10, 7, 5, 0) 18%); }
  .scroll-cue { display: none; }
  .hero .kicker { letter-spacing: .12em; }
  .cta .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.sec-head { max-width: 900px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head h2 { margin-bottom: 18px; }
.sec-head p:last-child { color: var(--dim); font-size: 18px; margin: 0; max-width: 700px; }
.sec-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.sec-head--row h2 { margin: 0; }
.more { font-family: var(--display); font-stretch: condensed; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; font-size: 18px; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; }
.chips li { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; }

/* ---------------------------------------------------------------- games */
.games { background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%); padding-top: clamp(48px, 7vw, 88px); }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.game {
  position: relative; display: flex; flex-direction: column; background: var(--bg3); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.game:hover { border-color: #5a4430; transform: translateY(-3px); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
.game-shot { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.game-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.game:hover .game-shot img { transform: scale(1.04); }
.game-shot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30, 23, 18, .9) 0%, rgba(30, 23, 18, 0) 45%); }
.game-tag { position: absolute; left: 22px; bottom: 14px; z-index: 1; font-family: var(--display); font-stretch: condensed; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--amber2); text-shadow: 0 1px 6px #000; }
.game-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.game-body .kicker { margin-bottom: 6px; font-size: 14px; }
.game h3 { margin-bottom: 12px; }
.game h3 a { color: inherit; text-decoration: none; }
.game h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }  /* the whole card is the link */
.game-body > p { color: #d8c8ac; font-size: 16px; }
.game-go { margin-top: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; position: relative; z-index: 2; }
.url { color: var(--faint); font-size: 14px; font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; }
.game--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr 1fr; }
.game--featured .game-shot { aspect-ratio: auto; min-height: 100%; }
.game--featured .game-shot::after { background: linear-gradient(90deg, rgba(30, 23, 18, 0) 55%, rgba(30, 23, 18, 1) 100%), linear-gradient(0deg, rgba(30, 23, 18, .7) 0%, rgba(30, 23, 18, 0) 30%); }
.game--featured .game-body { padding: clamp(24px, 3vw, 40px); justify-content: center; }
.game--featured h3 { font-size: clamp(36px, 4vw, 52px); }
.game--featured .game-body > p { font-size: 17px; }
/* a game still in development: shown, but nothing on it to click */
.game--soon:hover { border-color: var(--line); transform: none; box-shadow: none; }
.game--soon:hover .game-shot img { transform: none; }
.game--soon .game-shot img { filter: saturate(.7) brightness(.85); }
.badge {
  position: absolute; left: 16px; top: 16px; z-index: 1; padding: 5px 12px 4px; border-radius: 3px;
  font-family: var(--display); font-stretch: condensed; font-weight: 700; font-size: 14px; letter-spacing: .2em; text-transform: uppercase;
  color: #1b1009; background: var(--amber2); box-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}
.soon {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border: 2px dashed #6a5238; border-radius: 4px;
  font-family: var(--display); font-stretch: condensed; font-weight: 700; font-size: 19px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}
@media (max-width: 860px) {
  .game-grid { grid-template-columns: 1fr; }
  .game--featured { display: flex; }
  .game--featured .game-shot { aspect-ratio: 16 / 9; min-height: 0; }
  .game--featured .game-shot::after { background: linear-gradient(0deg, rgba(30, 23, 18, .9) 0%, rgba(30, 23, 18, 0) 45%); }
}

/* ---------------------------------------------------------------- labour of love */
.love { position: relative; padding: clamp(72px, 10vw, 128px) 0; background: radial-gradient(ellipse 80% 120% at 85% 50%, rgba(180, 81, 47, .16), rgba(14, 11, 9, 0) 60%), var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.love-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.love h2 { font-size: clamp(38px, 5.4vw, 64px); margin-bottom: 26px; }
.love h2 span { color: var(--amber); }
.love-copy p { font-size: 18px; color: #dccdb2; max-width: 560px; }
.promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.promises li { background: rgba(30, 23, 18, .75); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 18px; }
.promises b { display: block; font-family: var(--display); font-stretch: condensed; font-size: 22px; letter-spacing: .05em; white-space: nowrap; text-transform: uppercase; color: var(--title); margin-bottom: 6px; }
.promises b::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 10px; background: var(--amber); transform: rotate(45deg) translateY(-2px); }
.promises span { color: var(--dim); font-size: 15px; line-height: 1.5; display: block; }
@media (max-width: 900px) { .love-in { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .promises { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- bestiary: a page of field notes */
.paper {
  position: relative; color: var(--paper-ink); padding: clamp(64px, 9vw, 112px) 0;
  background: radial-gradient(ellipse at 50% 30%, #f0e7d2, #ddd0b2 75%, #cbbb98);
  box-shadow: inset 0 18px 30px -18px rgba(0, 0, 0, .55), inset 0 -18px 30px -18px rgba(0, 0, 0, .55);
}
.paper::before { /* paper fibre */
  content: ''; position: absolute; inset: 0; opacity: .35; mix-blend-mode: multiply; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .3 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
}
.paper .wrap { position: relative; }
.paper-head { position: relative; margin-bottom: clamp(28px, 4vw, 44px); padding-right: 200px; }
.paper h2 { color: #3a2414; font-size: clamp(48px, 7vw, 84px); letter-spacing: .12em; }
.paper-head .hand { font-size: clamp(20px, 2.2vw, 26px); color: var(--paper-dim); margin: 6px 0 0; }
.stamp {
  position: absolute; right: 0; top: 8px; font-family: var(--display); font-stretch: condensed; font-size: 22px; letter-spacing: .2em; text-transform: uppercase;
  color: #a8452a; border: 3px solid #a8452a; padding: 4px 14px; transform: rotate(4deg); opacity: .82; border-radius: 3px;
}
.beasts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px) clamp(18px, 3vw, 44px); }
.beast { margin: 0; }
.beast:nth-child(odd) { transform: rotate(-.5deg); }
.beast:nth-child(3n) { transform: rotate(.6deg); }
.beast img { width: 100%; height: auto; border-radius: 6px; mix-blend-mode: multiply; box-shadow: 0 1px 0 rgba(255, 255, 255, .4), 0 8px 18px -10px rgba(58, 36, 20, .6); }
.beast figcaption { margin-top: 12px; }
.beast b { display: block; font-family: var(--display); font-stretch: condensed; font-size: 28px; letter-spacing: .16em; text-transform: uppercase; color: #3a2414; line-height: 1.1; }
.beast .hand { display: block; font-size: 19px; color: #5a3e28; line-height: 1.35; transform: rotate(-.6deg); }
@media (max-width: 900px) { .beasts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .beasts { grid-template-columns: 1fr; }
  .paper-head { padding-right: 0; }
  .stamp { position: static; display: inline-block; margin-top: 16px; }
}

/* ---------------------------------------------------------------- screenshots */
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.shot { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #000; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; filter: saturate(.9); }
.shot:hover img { transform: scale(1.05); filter: saturate(1.05); }
.shot--big { grid-column: span 2; grid-row: span 2; }
@media (max-width: 760px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } .shot--big { grid-row: span 1; } }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1600px, 94vw); width: 100%; color: var(--ink); overflow: visible; }
.lightbox::backdrop { background: rgba(5, 4, 3, .92); }
.lightbox img { width: 100%; height: auto; max-height: 82vh; object-fit: contain; border-radius: 6px; }
.lightbox p { text-align: center; margin: 12px 0 0; color: var(--dim); }
.lightbox-close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg3); color: var(--title); font-size: 26px; line-height: 1; cursor: pointer; }

/* ---------------------------------------------------------------- the daily board */
.board { background: linear-gradient(180deg, var(--bg) 0%, #120d0a 100%); border-top: 1px solid var(--line); }
.board-top { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: stretch; margin-bottom: 26px; }
.today { background: var(--bg3); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: var(--radius); padding: 24px 26px; }
.today-day { color: var(--amber); font-family: var(--display); font-stretch: condensed; letter-spacing: .16em; text-transform: uppercase; font-size: 15px; margin-bottom: 6px; }
.today h3 { margin-bottom: 10px; }
.today-blurb { color: #d8c8ac; max-width: 640px; }
.tally { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tally div { background: var(--bg3); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; display: flex; flex-direction: column; justify-content: center; min-width: 150px; }
.tally b { font-family: var(--display); font-stretch: condensed; font-size: 56px; line-height: 1; color: var(--title); font-variant-numeric: tabular-nums; }
.tally span { color: var(--dim); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; margin-top: 6px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--bg3); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 18px; }
.tabs button { font: 600 15px var(--display); font-stretch: condensed; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); background: none; border: 0; border-radius: 5px; padding: 8px 18px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--amber); color: #1b1009; }
.boards { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.lb { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 12px; }
.lb h4 { font-size: 18px; letter-spacing: .16em; text-transform: uppercase; color: var(--amber2); margin-bottom: 10px; }
.lb ol { list-style: none; margin: 0; padding: 0; }
.lb li { display: grid; grid-template-columns: 34px 1fr auto; gap: 4px 12px; align-items: baseline; padding: 11px 0; border-top: 1px solid rgba(58, 45, 34, .7); }
.lb li:first-child { border-top: 0; }
.lb .rank { font-family: var(--display); font-stretch: condensed; font-size: 22px; color: var(--faint); font-variant-numeric: tabular-nums; }
.lb li:nth-child(1) .rank { color: var(--title); }
.lb li:nth-child(2) .rank, .lb li:nth-child(3) .rank { color: var(--amber); }
.lb .who { font-family: var(--display); font-stretch: condensed; font-size: 20px; letter-spacing: .06em; color: var(--ink); text-transform: uppercase; }
.lb .who small { display: block; font-family: var(--body); font-stretch: normal; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--faint); }
.lb .val { text-align: right; font-family: var(--display); font-stretch: condensed; font-size: 22px; color: var(--title); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lb .val small { display: block; font-family: var(--body); font-stretch: normal; font-size: 13px; color: var(--faint); }
.lb li.lb-empty { display: block; color: var(--dim); padding: 18px 0; }
.board-note { color: var(--faint); font-size: 14px; margin-top: 18px; max-width: 760px; }
@media (max-width: 860px) {
  .board-top, .boards { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- devlog cards */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--bg3); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, transform .25s; }
.post-card:hover { border-color: #5a4430; transform: translateY(-2px); }
.post-card img { aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover; }
.post-card div { padding: 18px 20px 22px; }
.post-card time { color: var(--amber); font-family: var(--display); font-stretch: condensed; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; }
.post-card h3 { font-size: 26px; margin: 6px 0 10px; text-transform: none; letter-spacing: .01em; }
.post-card h3 a { color: var(--title); text-decoration: none; }
.post-card h3 a::after { content: ''; position: absolute; inset: 0; }
.post-card p { color: var(--dim); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } .post-card { flex-direction: row; } .post-card img { width: 38%; aspect-ratio: auto; } }
@media (max-width: 560px) { .post-card { flex-direction: column; } .post-card img { width: 100%; aspect-ratio: 16 / 9; } }

/* ---------------------------------------------------------------- faq */
.faq { border-top: 1px solid var(--line); }
.faq h2 { margin-bottom: 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--display); font-stretch: condensed; font-size: 22px; letter-spacing: .03em; color: var(--title); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 28px; color: var(--amber); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: #d8c8ac; margin: -4px 0 22px; }

/* ---------------------------------------------------------------- footer */
.foot { background: #090706; border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--faint); font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot .brand { font-size: 26px; display: inline-block; margin-bottom: 10px; }
.foot h4 { font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0 0 6px; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { color: var(--title); text-decoration: underline; }
.foot-soon { color: var(--faint); }
.foot-soon span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-left: 4px; }
.foot-small { grid-column: 1 / -1; border-top: 1px solid #241b14; padding-top: 22px; margin-top: 10px; font-size: 13px; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-in > div:first-child { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- devlog pages */
.page main { padding-top: 64px; }
.blog-head { padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); }
.blog-head h1 { font-size: clamp(48px, 7vw, 84px); text-transform: uppercase; margin-bottom: 14px; }
.blog-head p { color: var(--dim); font-size: 18px; max-width: 640px; }
.blog-list { display: grid; gap: 22px; padding-bottom: clamp(64px, 9vw, 112px); }
.blog-list .post-card { flex-direction: row; }
.blog-list .post-card img { width: 40%; aspect-ratio: 16 / 9; }
.blog-list .post-card div { padding: 22px 26px; align-self: center; }
@media (max-width: 640px) { .blog-list .post-card { flex-direction: column; } .blog-list .post-card img { width: 100%; } }
.post-head { padding: clamp(40px, 6vw, 72px) 0 26px; }
.post-head .kicker a { color: inherit; text-decoration: none; }
.post-head h1 { font-size: clamp(40px, 6vw, 68px); text-transform: none; letter-spacing: .01em; line-height: 1.02; }
.post-cover { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 36px; }
.prose { font-size: 18px; line-height: 1.7; color: #e3d3b6; }
.prose h2 { font-size: clamp(28px, 3.4vw, 36px); text-transform: none; margin: 1.6em 0 .5em; letter-spacing: .01em; }
.prose h3 { font-size: 24px; text-transform: none; margin: 1.4em 0 .4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--amber); }
.prose strong { color: var(--title); font-weight: 600; }
.prose em { color: #f1e0c0; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: 8px; border: 1px solid var(--line); }
.prose figcaption { color: var(--faint); font-size: 14px; margin-top: 8px; text-align: center; }
.post-end { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 48px 0 clamp(64px, 9vw, 112px); padding-top: 32px; border-top: 1px solid var(--line); }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 120px 0 80px; }
.notfound h1 { font-size: clamp(64px, 12vw, 140px); text-transform: uppercase; }
.notfound p { color: var(--dim); font-size: 19px; }
