/* Self-hosted web font (SD-039, 2026-10-14): the site used to rely on a locally installed EB Garamond, so most visitors got Georgia/Times.
   No third-party font CDN (no trackers). SIL OFL 1.1: see assets/fonts/FONT-LICENSE.md. */
@font-face { font-family: "EB Garamond"; src: url(/assets/fonts/EBGaramond.ttf) format("truetype"); font-weight: 400 800; font-style: normal; font-display: swap; }
/* thousandhandsgames.com — WEB4 horror-signal lock.
   Palette: black + one warm amber accent. NO red. NO cold-blue.
   Typography: clean serif. NO blackletter, NO cracked/glitch.
   Motion: slow, continuous, reduced-motion-aware. */

:root {
  --bg: #0a0a0b;              /* black, slight warm cast */
  --bg-elev: #121214;         /* elevated surface */
  --accent: #c6a35a;          /* warm amber/gold — single accent */
  --accent-dim: #8a7340;
  --text: #e8e4dc;            /* warm off-white */
  --text-muted: #9e978a;
  --rule: #26241f;
  --focus: #e7c87c;

  --serif: "EB Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --measure: 60ch;
  --radius: 2px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 320ms ease;
}
a:hover { border-bottom-color: var(--accent); }
a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--radius);
}

h1, h2, h3 {
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text);
}
h1 { font-size: 2.2rem; margin: 0 0 0.6em; }
h2 { font-size: 1.4rem; margin: 2em 0 0.4em; }
h3 { font-size: 1.1rem; margin: 1.6em 0 0.3em; color: var(--accent); font-family: var(--sans); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.78rem; }

p, li { max-width: var(--measure); }

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.2rem 0;
}

code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: var(--accent);
  background: rgba(198, 163, 90, 0.08);
  padding: 0.08em 0.35em;
  border-radius: var(--radius);
  font-size: 0.9em;
}

/* ---- Page frame ---------------------------------------------------------- */
.site {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.4rem;
  padding: 1.6rem clamp(1rem, 4vw, 2.4rem);
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--rule);
}
.site-nav a {
  color: var(--text-muted);
  border-bottom: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav .brand {
  color: var(--text);
  margin-right: auto;
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

main.site-main {
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2.4rem);
  max-width: 72ch;
  box-sizing: content-box;
  width: calc(100% - 2 * clamp(1rem, 4vw, 2.4rem));   /* content-box: 100% + the side padding overflowed the page by ~30 px */
  margin: 0 auto;
}

.site-footer {
  padding: 1.6rem clamp(1rem, 4vw, 2.4rem);
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

/* ---- Home hero ------------------------------------------------------------ */
.hero {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 10rem);
  text-align: center;
  padding: 2rem 1rem;
}
.hero-inner { position: relative; }
.hero h1 {
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--text);
  margin: 0;
  letter-spacing: 0.02em;
}
.hero p {
  color: var(--text-muted);
  margin: 0.8rem auto 0;
  max-width: 36ch;
  font-size: 1rem;
}


@keyframes ring-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---- Forms --------------------------------------------------------------- */
form.form {
  display: grid;
  gap: 0.9rem;
  max-width: 36rem;
  margin-top: 1.4rem;
}
form.form label {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
form.form input[type="email"] {
  width: 100%;
  background: var(--bg-elev);
  color: var(--text);
  border: 1px solid var(--rule);
  padding: 0.7rem 0.8rem;
  font-family: var(--serif);
  font-size: 1rem;
  border-radius: var(--radius);
}
form.form input[type="email"]:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-color: var(--accent-dim);
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.consent input { margin-top: 0.3rem; accent-color: var(--accent); }
button.btn {
  justify-self: start;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 0.6rem 1.2rem;
  font-family: var(--sans);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 320ms ease, color 320ms ease;
}
button.btn:hover { background: rgba(198, 163, 90, 0.08); }
button.btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.form-status {
  font-family: var(--sans);
  font-size: 0.88rem;
  min-height: 1.3em;
  color: var(--accent);
}
.form-status.err { color: var(--text); }

/* ---- Full site (SD-003): G1 buzz above the fold, G2 depth one click down -- */
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--bg-elev); color: var(--accent); padding: 0.5rem 0.8rem;
}
.skip:focus { left: 0.5rem; z-index: 10; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.staging-banner {
  font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.08em;
  text-transform: uppercase; text-align: center; padding: 0.4rem 1rem;
  color: var(--bg); background: var(--accent);
}
.site-nav .nav-cta {
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius);
}
main.site-main.wide { max-width: 68rem; }

.kicker, .section-kicker {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 0.6rem;
}
.lead { font-size: 1.2rem; color: var(--text); }
.note { color: var(--text-muted); font-size: 0.92rem; }
.page-head { margin-bottom: 2.4rem; }
.page-head h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); line-height: 1.2; font-weight: 400; }

/* Home hero, Option A */
.hero-a {
  min-height: auto;
  padding: clamp(1rem, 4vw, 3rem) 0 3rem;
  position: relative;
}
.hero-a h1 {
  font-size: clamp(1.7rem, 4.6vw, 3rem);
  line-height: 1.2; max-width: 26ch; margin: 0 auto;
}
.hero-a .hero-sub { font-size: 1.15rem; max-width: 40ch; margin: 1.2rem auto 0; color: var(--text); }
.hero-a form.signup { margin: 2rem auto 0; text-align: left; }
.hero-a form.signup p { margin: 0; max-width: none; }
form.form label.consent { text-transform: none; letter-spacing: 0; font-size: 0.86rem; }

.signup-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.signup-row input[type="email"] { flex: 1 1 16rem; }
.form-note { font-family: var(--sans); font-size: 0.84rem; color: var(--text-muted); margin: 0; }

.pillar-list {
  list-style: none; padding: 0; margin: 1rem 0 0;
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  counter-reset: pillar;
}
.pillar-list li { border-top: 1px solid var(--rule); padding-top: 1rem; }
.pillar-list h3, .tile h3, .card h3 {
  font-family: var(--serif); text-transform: none; letter-spacing: 0.01em;
  font-size: 1.2rem; color: var(--text); margin: 0 0 0.4rem;
}
.pillar-list h3 a { color: var(--text); }
.pillar-list p, .tile p, .card p { margin: 0 0 0.6rem; }
.deeper, .go-deeper a {
  font-family: var(--sans); font-size: 0.84rem; letter-spacing: 0.04em;
}
.pillars, .taste, .systems-grid, .math-sims, .cta-block { margin: 3.6rem 0; }

.taste {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.tile, .card {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  display: block;
  color: var(--text);
}
a.card { border-bottom: 1px solid var(--rule); transition: border-color 320ms ease; }
a.card:hover, a.card:focus-visible { border-color: var(--accent-dim); }
.cards {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin: 1rem 0;
}
.cards.two { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.card.placeholder, .placeholder {
  border-style: dashed; border-color: var(--accent-dim);
  color: var(--text-muted);
}
.card.placeholder p { color: var(--accent); font-family: var(--sans); font-size: 0.86rem; }

.toc {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem;
  font-family: var(--sans); font-size: 0.84rem;
  padding: 1rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  margin: 2rem 0;
}
.prose { max-width: 72ch; }
.prose section { scroll-margin-top: 1.5rem; }
.prose .short {
  border-left: 2px solid var(--accent); padding-left: 0.9rem; color: var(--text);
}
.list-marks li { margin-bottom: 0.4rem; }

.faq dt { font-weight: 500; margin-top: 1.6rem; color: var(--text); font-size: 1.1rem; }
.faq dd { margin: 0.4rem 0 0; max-width: var(--measure); }
.contact-list dt { font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-top: 1rem; }
.contact-list dd { margin: 0.2rem 0 0; }

.btn-link {
  display: inline-block; font-family: var(--sans); font-size: 0.86rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--accent-dim); padding: 0.6rem 1.2rem; border-radius: var(--radius);
}

.depth-rail {
  border-top: 1px solid var(--rule);
  padding: 1.2rem clamp(1rem, 4vw, 2.4rem);
  text-align: center;
  font-size: 1rem;
}
.depth-rail p { margin: 0 auto; max-width: none; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--accent); }

/* Devlog deep-dive: math + sim cards */
.stat { margin: 0.2rem 0 0.4rem; }
.stat-num { font-size: 2.4rem; color: var(--text); line-height: 1; }
.stat-unit { font-family: var(--sans); font-size: 0.9rem; color: var(--text-muted); }
.formula {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88rem; color: var(--text); background: var(--bg);
  border: 1px solid var(--rule); padding: 0.8rem; overflow-x: auto; white-space: pre;
}
figure { margin: 0; }
.chart-card { margin: 1rem 0; }
.chart-card figcaption { display: grid; gap: 0.2rem; margin-bottom: 0.8rem; }
.chart-title { font-size: 1.15rem; color: var(--text); }
.chart-sub { font-family: var(--sans); font-size: 0.82rem; color: var(--text-muted); }
.chart { position: relative; }
.chart-svg { width: 100%; height: auto; display: block; }
.chart-svg .grid { stroke: var(--rule); stroke-width: 1; }
.chart-svg .axis { stroke: var(--text-muted); stroke-width: 1; }
.chart-svg .tick { fill: var(--text-muted); font-family: var(--sans); font-size: 12px; }
.chart-svg .series-line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.chart-svg .series-dot { fill: var(--accent); stroke: var(--bg-elev); stroke-width: 2; }
.chart-svg .series-bar { fill: var(--accent); }
.chart-svg .hit { fill: transparent; }
.chart-tip {
  position: absolute; transform: translate(-50%, -130%); pointer-events: none;
  background: var(--bg); color: var(--text); border: 1px solid var(--accent-dim);
  font-family: var(--sans); font-size: 0.8rem; padding: 0.25rem 0.5rem; border-radius: var(--radius);
  white-space: nowrap;
}
details summary { cursor: pointer; font-family: var(--sans); font-size: 0.84rem; color: var(--accent); margin-top: 0.6rem; }
table.data { border-collapse: collapse; font-family: var(--sans); font-size: 0.86rem; margin-top: 0.6rem; }
table.data th, table.data td { border-bottom: 1px solid var(--rule); padding: 0.3rem 1rem 0.3rem 0; text-align: left; color: var(--text); }

/* Build planner shell (inactive) */
.planner-shell fieldset {
  border: 1px dashed var(--accent-dim); border-radius: var(--radius);
  margin: 0 0 1rem; padding: 1rem 1.2rem; color: var(--text-muted);
}
.planner-shell legend { font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); padding: 0 0.4rem; }
.planner-shell select { background: var(--bg-elev); color: var(--text); border: 1px solid var(--rule); padding: 0.5rem; font-family: var(--serif); font-size: 1rem; }
.logo-card { text-align: center; }
.logo-card img { width: 160px; height: 160px; display: block; margin: 0 auto 0.8rem; }

@media (max-width: 40rem) {
  .site-nav { font-size: 0.74rem; gap: 0.6rem 1rem; }
  .site-nav .brand { flex-basis: 100%; }
}

/* Links inside running text carry an underline, not colour alone (WCAG 1.4.1). */
p a, dd a, li > a, .lead a, .depth-rail a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  border-bottom: none;
}
p a.btn-link { text-decoration: none; }

/* careers forms: honeypot field (bots fill it, people never see it) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
form[data-interest] textarea { width: 100%; font: inherit; padding: 0.6rem; margin-bottom: 0.8rem; }

/* Logo (Gill 2026-10-14 11:14: the old thin-line ring from the holding page is the placeholder mark) */
.site-nav .brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-mark { width: 30px; height: 30px; flex: none; }
/* Home hero mark (Gill 11:19): BIG ring, ~61% of the viewport height and fully above the fold under the nav (box 64vh) on desktop, near full width on phones, with the
   studio name INSIDE it; only the ring turns. The ring's clear centre is ~75% of its box, the name stays inside ~60%. */
.hero-mark { position: relative; width: min(64vh, 92vw); aspect-ratio: 1; margin: 0 auto 2.2rem; container-type: inline-size; }
.hero-ring-img { position: absolute; inset: 0; width: 100%; height: 100%; animation: logo-turn 240s linear infinite; }
.hero .hero-mark .hero-name { position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; font-family: var(--serif); font-size: 8.4cqw; line-height: 1.12; letter-spacing: 0.14em; opacity: 1; font-weight: 400;
  text-transform: uppercase; color: var(--text); text-align: center; max-width: none; }
.hero .hero-mark .hero-name span { display: block; }
@keyframes logo-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-ring-img { animation: none; } }

/* ---- Long-form pages: devlog posts + world teaser (SD-039, Gill 2026-10-14 21:29: "ends up being a wall of white text") ----
   Readable measure (~65ch), generous leading + paragraph spacing, warm off-white (--text), line-ring beat dividers, pull-quotes for in-world lines,
   media between beats, a lead clip/still at the top; on phones: comfortable side padding, slightly smaller type. */
.devlog-post, .world-teaser { max-width: 68ch; margin: 0 auto; padding: 0 0 4.5rem; }
.devlog-post p, .world-teaser p { font-size: 1.2rem; line-height: 1.8; margin: 0 0 1.4em; color: var(--text); max-width: 65ch; }
.devlog-post .eyebrow { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.76rem; color: var(--accent); margin: 0 0 0.6em; }
.devlog-post h1, .world-teaser h1 { font-size: clamp(2rem, 5vw, 2.9rem); line-height: 1.18; margin: 0.1em 0 0.9em; }
/* beat headers (Gill 21:30 "headers should be different, maybe paragraph/header line separators"): display serif, gold, small caps + letterspacing,
   space above, and a thin gold rule with the line-ring mark centred on it as the separator */
.devlog-post h2, .world-teaser h2 { position: relative; font-family: var(--serif); font-variant: small-caps; letter-spacing: 0.08em; font-weight: 500;
  font-size: 1.6rem; color: var(--accent); margin: 3.4em 0 1.1em; padding-top: 2.2em; border-top: 1px solid rgba(198, 163, 90, 0.35); }
.devlog-post h2::before, .world-teaser h2::before { content: ""; position: absolute; top: -15px; left: 50%; transform: translateX(-50%); width: 30px; height: 30px;
  background: var(--bg, #0b0b0b) url(/assets/line-ring-mark.svg) center / 22px 22px no-repeat; border-radius: 50%; }
.beat-break { height: 30px; margin: 2.8em auto; background: url(/assets/line-ring-mark.svg) center / 30px 30px no-repeat; opacity: 0.6; }
.pullquote { margin: 2.4em 0; padding: 0.3em 0 0.3em 1.3em; border-left: 2px solid var(--accent); max-width: 52ch;
  font-style: italic; font-size: 1.45rem; line-height: 1.5; color: var(--accent); }
.lead-media, .beat-media { margin: 0 0 2.4em; }
.beat-media { margin: 2.6em 0; }
.lead-media img, .lead-media video, .beat-media img, .beat-media video { display: block; width: 100%; height: auto; border-radius: 6px; }
.lead-media figcaption, .beat-media figcaption { font-family: var(--sans); font-size: 0.8rem; color: var(--text-muted); margin-top: 0.6em; }
.devlog-sig { font-style: italic; color: var(--text-muted); margin-top: 2.4em; }
.cta-row { margin: 2.4em 0 0; }
.media-placeholder { border: 1px dashed var(--text-muted); border-radius: 6px; padding: 3.5em 1em; text-align: center; font-family: var(--sans);
  font-size: 0.85rem; color: var(--text-muted); }   /* PREVIEW ONLY: never shipped (the renderer drops placeholders in production builds) */
@media (max-width: 600px) {
  .devlog-post, .world-teaser { padding: 0 1.25rem 3rem; }
  .devlog-post p, .world-teaser p { font-size: 1.1rem; line-height: 1.75; margin-bottom: 1.25em; }
  .pullquote { font-size: 1.22rem; padding-left: 1em; }
  .devlog-post h2, .world-teaser h2 { font-size: 1.35rem; }
}

/* ---- Newsletter signup (SD-039, Gill 21:31: "dark grey highlight on black background ... can't see anything") ----
   AA contrast: text #e8e4dc and placeholder #a39c8f on field #17171a (>= 4.5:1); field border #8a8478 vs #0a0a0b (>= 3:1); gold button #c6a35a with
   #0a0a0b text (~9:1); visible focus ring. Phones: label, field, checkbox and button each on their own line. */
.newsletter-cta { max-width: 68ch; margin: 0 auto; padding: 0 0 4rem; }
.newsletter-cta h2 { color: var(--accent); font-variant: small-caps; letter-spacing: 0.06em; font-weight: 500; }
.newsletter-form { display: grid; gap: 0.9rem; max-width: 34rem; margin-top: 1.4rem; }
.newsletter-form label { display: grid; gap: 0.35rem; font-family: var(--sans); font-size: 0.95rem; color: var(--text); }
.newsletter-form input[type="email"] { font: inherit; font-size: 1.05rem; color: #e8e4dc; background: #17171a; border: 1px solid #8a8478;
  border-radius: 6px; padding: 0.75rem 0.9rem; min-height: 48px; }
.newsletter-form input[type="email"]::placeholder { color: #a39c8f; opacity: 1; }
.newsletter-form .check { display: flex; align-items: center; gap: 0.7rem; grid-template-columns: none; }
.newsletter-form input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; flex: none; margin: 0; cursor: pointer;
  border: 2px solid #c6a35a; border-radius: 4px; background: #17171a; display: inline-grid; place-content: center; }
.newsletter-form input[type="checkbox"]::before { content: ""; width: 12px; height: 12px; transform: scale(0); transition: transform 0.1s;
  background: #c6a35a; clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); }
.newsletter-form input[type="checkbox"]:checked::before { transform: scale(1); }
.newsletter-form button { font: 600 1rem var(--sans); letter-spacing: 0.04em; color: #0a0a0b; background: #c6a35a; border: 2px solid #c6a35a;
  border-radius: 6px; padding: 0.8rem 1.4rem; min-height: 48px; cursor: pointer; justify-self: start; }
.newsletter-form button:hover { background: #d8b86e; border-color: #d8b86e; }
.newsletter-form input:focus-visible, .newsletter-form button:focus-visible, .cta-row button:focus-visible { outline: 3px solid #e8c77c; outline-offset: 3px; }
.newsletter-form .fine { font-family: var(--sans); font-size: 0.85rem; color: var(--text-muted); }
.cta-row button { font: 600 1rem var(--sans); color: #0a0a0b; background: #c6a35a; border: 2px solid #c6a35a; border-radius: 6px; padding: 0.75rem 1.3rem; }
@media (max-width: 600px) { .newsletter-cta { padding: 0 1.25rem 3rem; } .newsletter-form button { justify-self: stretch; } }

/* ---- Devlog list and post pages (SD-020) ---- */
.devlog-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2rem; }
.devlog-card { border-top: 1px solid var(--rule); padding-top: 1.4rem; }
.devlog-card > h3 { font-family: var(--serif); font-size: 1.6rem; text-transform: none; letter-spacing: 0.01em; color: var(--text); margin: 0.2rem 0 0.6rem; }
.devlog-card > h3 a { color: var(--text); text-decoration: none; border-bottom: 1px solid transparent; }
.devlog-card > h3 a:hover { border-bottom-color: var(--accent); }
.devlog-meta { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin: 0; }
article.devlog-post h3 { font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 2.2rem 0 0.6rem; }
article.devlog-post p { margin: 0 0 1rem; max-width: var(--measure); }
blockquote.pull {
  border-left: 2px solid var(--accent); padding: 0.4rem 0 0.4rem 1.2rem;
  margin: 1.6rem 0; color: var(--text); font-size: 1.15rem; font-style: italic; max-width: var(--measure);
}
.post-media, .world-still { margin: 1.6rem 0; }
.post-media video, .post-media img, .world-still img {
  width: 100%; height: auto; display: block; background: var(--bg-elev); border-radius: var(--radius);
}

/* ---- Post prev/next navigation (2321) ---- */
.post-nav {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between;
  border-top: 1px solid var(--rule); padding-top: 1.4rem; margin: 2rem 0;
  font-family: var(--sans); font-size: 0.84rem;
}
.post-nav a { color: var(--text-muted); border-bottom: none; }
.post-nav a:hover { color: var(--accent); }
.post-nav-next { margin-left: auto; text-align: right; }

/* ---- Home: latest devlog card (2321) ---- */
.latest-devlog { margin: 3rem 0; }
.latest-devlog-card { border-top: 1px solid var(--rule); padding-top: 1.4rem; }
.latest-devlog-card h2 { font-family: var(--serif); font-size: 1.6rem; text-transform: none;
  letter-spacing: 0.01em; color: var(--text); margin: 0.2rem 0 0.6rem; font-weight: 400; }
.latest-devlog-card h2 a { color: var(--text); text-decoration: none; border-bottom: 1px solid transparent; }
.latest-devlog-card h2 a:hover { border-bottom-color: var(--accent); }
.latest-still { width: 100%; height: auto; display: block; border-radius: var(--radius);
  margin: 1rem 0; background: var(--bg-elev); aspect-ratio: 1200/630; }
