@font-face { font-family: Jersey; src: url(/devlog/assets/jersey15.ttf); font-display: swap; }
@font-face { font-family: Fredoka; src: url(/assets/fonts/fredoka.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
:root {
  --ground: #0b0d12; --panel: #141820; --line: #39404c; --text: #ece7da; --soft: #b3b0a6;
  --ink: #2a1a14; --parch: #f3e3bd; --parch-lo: #dcc597; --wood: #b97a46; --wood-lo: #7c4a2a; --gold: #f2c14e; --gold-hi: #ffe28a; --red: #b8402f;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 76px; }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 17px/1.6 Fredoka, system-ui, sans-serif; -webkit-text-size-adjust: 100%; }
h1, h2, h3, p, figure, ol, ul { margin: 0; padding: 0; }
h1, h2, h3, .date, .nav, .btn { font-family: Jersey, Fredoka, sans-serif; font-weight: 400; line-height: 1.05; }
h1 { font-size: clamp(46px, 9vw, 84px); color: var(--gold); text-wrap: balance; }
h2 { font-size: clamp(34px, 5vw, 46px); color: var(--parch); text-wrap: balance; }
h3 { font-size: 32px; color: #fff; text-wrap: balance; }
a { color: var(--gold-hi); }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; }
img, video { display: block; max-width: 100%; height: auto; background: #000; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.read { max-width: 720px; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; padding: 16px 0; font-size: 24px; }
.nav a { text-decoration: none; color: var(--soft); padding: 6px 0; }
.nav a:hover, .nav a[aria-current] { color: var(--gold); }
.nav .home { margin-right: auto; color: var(--parch); }
.intro { padding: 44px 0 52px; }
.intro p { max-width: 640px; margin-top: 20px; font-size: 19px; }
.intro .by { font-size: 15px; color: var(--soft); }

/* Then and now: shots in date order, scrolled sideways on a phone */
.strip { margin-bottom: 52px; }
.strip ol { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(148px, 1fr); gap: 14px; margin: 18px -16px 0; padding: 0 16px 12px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding: 16px; }
.strip.small ol { grid-auto-columns: minmax(148px, 210px); }
.strip li { scroll-snap-align: start; }
.strip a { color: inherit; text-decoration: none; display: block; }
.strip img { width: 100%; border: 3px solid var(--line); border-radius: 10px; aspect-ratio: 390 / 844; object-fit: cover; }
.strip.small img { aspect-ratio: 340 / 560; image-rendering: pixelated; }
.strip.square img { aspect-ratio: 1; }
.strip a:hover img { border-color: var(--gold); }
.strip li:last-child img { border-color: var(--gold); }
.strip .date { display: block; margin-top: 10px; color: var(--gold); font-size: 23px; }
.strip .cap { display: block; font-size: 15px; line-height: 1.35; }
.strip small { color: var(--soft); font-size: 14px; }
.strip a .cap { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--wood); }

/* The timeline: a path that starts grey and is lit as far as you've read */
.where { position: sticky; top: 0; z-index: 5; background: var(--ink); border-block: 3px solid var(--wood-lo); }
.where ol { list-style: none; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.where a { display: block; padding: 10px; font: 400 21px/1.1 Jersey, sans-serif; color: var(--parch-lo); text-decoration: none; white-space: nowrap; }
.where a[aria-current] { color: var(--ink); background: var(--gold); }
.where li span { display: block; padding: 10px; font: 400 21px/1.1 Jersey, sans-serif; color: #8d7a6c; white-space: nowrap; }
.path { position: relative; padding: 8px 0 72px 34px; }
.path::before, .path .lit { content: ""; position: absolute; left: 6px; top: 0; width: 6px; height: 100%; background: var(--line); }
.path .lit { background: var(--gold); height: 0; max-height: 100%; }
.chapter { padding-top: 60px; }
.chapter > p { max-width: 620px; margin-top: 10px; color: var(--soft); }
.chapter .date, .row .date { color: var(--gold); font-size: 25px; }
.chapter.waiting { padding-top: 34px; }
.chapter.waiting h2 { color: var(--soft); font-size: 30px; }
.chapter.waiting .date { color: var(--soft); }
.row { position: relative; margin-top: 44px; display: grid; gap: 18px; text-decoration: none; color: inherit; }
.row::before { content: ""; position: absolute; left: -35px; top: 5px; width: 20px; height: 20px; background: var(--ground); border: 5px solid var(--line); }
.row.on::before { background: var(--gold-hi); border-color: var(--wood); }
.row .shots { display: flex; gap: 8px; align-items: flex-start; }
.row .shots img { flex: var(--r) 1 0; min-width: 0; border-radius: 8px; border: 2px solid var(--line); }
.row .shots.stack { flex-direction: column; }
.row .shots.stack img { width: 100%; flex: none; }
.row:hover img { border-color: var(--wood); }
.row:hover h3 { color: var(--gold-hi); }
.row p { margin-top: 10px; }
.row .more { color: var(--gold-hi); font-size: 16px; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 820px) {
  .wrap { padding: 0 28px; }
  .path { padding-left: 64px; }
  .path::before, .path .lit { left: 18px; }
  .row { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 34px; align-items: center; }
  .row::before { left: -53px; }
}

/* An update */
.head { padding: 34px 0 10px; }
.head .date { color: var(--gold); font-size: 26px; display: block; margin-bottom: 8px; }
.head h1 { font-size: clamp(42px, 7vw, 66px); max-width: 16ch; }
.head p { font-size: 20px; max-width: 640px; margin-top: 16px; }
.story { display: grid; gap: 44px; padding: 34px 0 20px; }
.story section + section { margin-top: 34px; }
.story h2 { font-size: 32px; margin-bottom: 8px; }
.story p + p { margin-top: 14px; }
.sum { border: 4px solid var(--ink); box-shadow: 0 0 0 3px var(--wood); background: #1d1512; padding: 18px 20px 20px; margin: 3px; align-self: start; }
.sum h2 { color: var(--gold); font-size: 27px; }
.sum ul + h2 { margin-top: 22px; }
.sum ul { padding-left: 20px; display: grid; gap: 7px; font-size: 16px; line-height: 1.4; }
.sum li::marker { color: var(--wood); content: "\25AA  "; }
@media (min-width: 980px) {
  .story { grid-template-columns: minmax(0, 640px) 360px; grid-template-rows: auto 1fr; justify-content: space-between; column-gap: 40px; }
  .story .read { grid-area: 1 / 1 / 3 / 2; }
  .story .sum { grid-area: 1 / 2; }
  .story .first { grid-area: 2 / 2; }
}
.story .first video { width: 100%; max-width: 340px; }
figure img, figure video { border: 3px solid var(--line); border-radius: 10px; }
figcaption { margin-top: 10px; font-size: 15px; line-height: 1.45; }
figcaption span { display: block; color: var(--soft); }
.figs { display: flex; flex-wrap: wrap; gap: 28px 22px; align-items: flex-start; padding: 20px 0 48px; }
.figs figure { flex: 0 1 260px; }
.figs figure.wide { flex: 1 1 440px; max-width: 700px; }
@media (max-width: 600px) { .figs figure { flex: 0 1 calc(50% - 11px); } .figs figure.wide { flex-basis: 100%; } }
.btn { display: inline-block; background: var(--gold); color: var(--ink); border: 3px solid var(--ink); box-shadow: 0 0 0 3px var(--wood), inset 0 -4px 0 #c28a26; padding: 12px 20px 14px; font-size: 27px; text-decoration: none; }
.btn:hover { background: var(--gold-hi); }
.links { list-style: none; display: grid; gap: 8px; margin-top: 28px; }
.turn { display: grid; gap: 14px; border-top: 3px solid var(--wood-lo); margin-top: 52px; padding: 24px 0 64px; font: 400 25px/1.15 Jersey, sans-serif; }
.turn a { text-decoration: none; }
.turn small { display: block; font: 400 14px/1.4 Fredoka, sans-serif; color: var(--soft); }
@media (min-width: 720px) { .turn { grid-template-columns: 1fr 1fr; } .turn .next { text-align: right; grid-column: 2; } }

/* The prompts: each in the game's dialogue box, with what Claude did under it */
.ex { padding: 30px 0 14px; }
.box { background: var(--parch); color: var(--ink); border: 4px solid var(--ink); box-shadow: 0 0 0 4px var(--wood), 0 0 0 7px var(--ink); margin: 7px; padding: 18px 18px 20px; white-space: pre-wrap; overflow-wrap: anywhere; }
.box + .box { margin-top: 24px; }
.box .date { display: block; color: var(--wood-lo); font-size: 22px; margin-bottom: 6px; }
.box .date a { color: inherit; text-decoration: none; }
.box .date a:hover { text-decoration: underline; }
.cut { background: var(--parch-lo); color: #5a3a22; font-size: .88em; padding: 1px 6px; }
.did { margin: 22px 7px 0 28px; padding-left: 18px; border-left: 4px solid var(--wood); }
.did b { color: var(--gold); font: 400 23px/1 Jersey, sans-serif; display: block; margin-bottom: 6px; }
.asked { margin: 22px 7px 0 28px; }
.asked dt { color: var(--soft); font-size: 16px; }
.asked dd { margin: 4px 0 14px; background: var(--parch); color: var(--ink); padding: 8px 14px; border-left: 6px solid var(--wood); white-space: pre-wrap; overflow-wrap: anywhere; }
.note { border-left: 4px solid var(--wood); padding-left: 18px; overflow-wrap: anywhere; }
.note .date { color: var(--gold); font-size: 22px; display: block; margin-bottom: 6px; }
.note blockquote { margin: 12px 0 0; padding: 10px 14px; background: var(--parch); color: var(--ink); }
details.spoiler { border: 2px dashed var(--wood); padding: 10px 14px; margin: 14px 0; }
details.spoiler summary { cursor: pointer; color: var(--gold-hi); }
.games { list-style: none; display: grid; gap: 0; margin: 26px 0 60px; max-width: 640px; }
.games a { display: block; border-bottom: 2px solid var(--line); padding: 14px 0; font: 400 32px/1.1 Jersey, sans-serif; text-decoration: none; }
.draft { background: var(--red); color: #fff; padding: 8px 16px; text-align: center; font-size: 15px; }
.draft a { color: #fff; }
