/* ════════════════════════════════════════════════════════════════
   PLAYER MADE GAMES — style.css
   Palette
     void   #0B0C0E   page ground (space sits in it seamlessly)
     ash    #15161A   elevated panels
     bone   #F2EFE7   ink on dark / paper ground for open source
     ember  #FF5A1F   "Eden is on fire" — actions + accents
     sand   #C8A878   pulled from the dune captures
     ocean  #5E8C8A   pulled from the water captures
   Type
     Space Grotesk — display · Inter — body · JetBrains Mono — utility
   ════════════════════════════════════════════════════════════════ */

:root {
  --void: #0b0c0e;
  --ash: #15161a;
  --ash-2: #1c1d23;
  --bone: #f2efe7;
  --bone-dim: #a8a49a;
  --paper: #f2efe7;
  --paper-edge: #ddd8cc;
  --ink: #16150f;
  --ink-dim: #5c594f;
  --ember: #ff5a1f;
  --ember-deep: #c83f0e;
  --sand: #c8a878;
  --ocean: #5e8c8a;
  --hairline: rgba(242, 239, 231, 0.1);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --max: 1140px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  background: var(--void);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ── Reveal ─────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ── Shared text roles ──────────────────────── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-top: 0.85rem;
}
.lede {
  max-width: 38em;
  color: var(--bone-dim);
  margin-top: 1.1rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  transition: transform 0.15s ease, background 0.15s ease,
              border-color 0.15s ease, color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--ember {
  background: var(--ember);
  color: #190b04;
}
.btn--ember:hover { background: #ff7038; }
.btn--ghost {
  border: 1px solid rgba(242, 239, 231, 0.35);
  color: var(--bone);
}
.btn--ghost:hover { border-color: var(--bone); }

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

/* ════════════════════════════════════════════
   NAV
════════════════════════════════════════════ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.nav--scrolled {
  background: rgba(11, 12, 14, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--hairline);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.nav__brand img { height: 2rem; width: auto; }
.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  gap: 1.9rem;
  list-style: none;
}
.nav__links a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bone-dim);
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--bone); }
.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}

@media (max-width: 800px) {
  .nav { background: rgba(11, 12, 14, 0.85); backdrop-filter: blur(14px); }
  .nav__toggle { display: block; }
  .nav__links {
    display: none;
    position: absolute;
    top: 4.25rem;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 12, 14, 0.97);
    border-bottom: 1px solid var(--hairline);
    padding: 0.5rem 0 1rem;
  }
  .nav--open .nav__links { display: flex; }
  .nav__links a {
    display: block;
    padding: 0.85rem var(--pad);
  }
}

/* ════════════════════════════════════════════
   HERO — full-bleed in-engine horizon
════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(11, 12, 14, 0.55) 0%,
      rgba(11, 12, 14, 0.15) 38%,
      rgba(11, 12, 14, 0.62) 74%,
      var(--void) 100%);
}
.hero__content {
  width: 100%;
  padding-bottom: clamp(3.5rem, 9vh, 6.5rem);
  padding-top: 8rem;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sand);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.7rem, 7.5vw, 5.4rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-top: 1rem;
  max-width: 11em;
}
.hero h1 em {
  font-style: normal;
  color: var(--ember);
}
.hero__sub {
  margin-top: 1.4rem;
  max-width: 34em;
  color: rgba(242, 239, 231, 0.82);
  font-size: 1.1rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.1rem;
}
.hero__credit {
  position: absolute;
  right: var(--pad);
  bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: rgba(242, 239, 231, 0.45);
}

/* Telemetry strip — true facts, mono, hairline-ruled */
.telemetry {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--void);
}
.telemetry__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.telemetry__cell {
  padding: 1rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.telemetry__cell + .telemetry__cell { border-left: 1px solid var(--hairline); }
.telemetry__cell b {
  display: block;
  color: var(--bone);
  font-weight: 500;
  margin-top: 0.2rem;
}
@media (max-width: 800px) {
  .telemetry__row { grid-template-columns: 1fr 1fr; }
  .telemetry__cell:nth-child(3),
  .telemetry__cell:nth-child(4) { border-top: 1px solid var(--hairline); }
  .telemetry__cell:nth-child(3) { border-left: none; }
}

/* ════════════════════════════════════════════
   FLAGSHIP — Ashes of Eden
════════════════════════════════════════════ */
.flagship {
  padding: clamp(5rem, 10vw, 8.5rem) 0 clamp(4rem, 8vw, 7rem);
}
.flagship__head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2.5rem 4rem;
  align-items: end;
}
.flagship__pitch {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--sand);
  line-height: 1.45;
}
@media (max-width: 800px) {
  .flagship__head { grid-template-columns: 1fr; }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.6rem;
}
.chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--bone-dim);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  margin-top: 3.2rem;
}
.feature {
  background: var(--ash);
  padding: 1.8rem 1.6rem 2rem;
}
.feature h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}
.feature p {
  margin-top: 0.7rem;
  font-size: 0.94rem;
  color: var(--bone-dim);
}
.feature__key {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ocean);
  display: block;
  margin-bottom: 0.9rem;
}
@media (max-width: 800px) {
  .features { grid-template-columns: 1fr; }
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 3.2rem;
}
.gallery figure {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--hairline);
  cursor: zoom-in;
  background: var(--ash);
}
.gallery figure.wide { grid-column: 1 / -1; }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  transition: transform 0.5s ease;
}
.gallery figure.wide img { aspect-ratio: 21 / 9; }
.gallery figure:hover img { transform: scale(1.025); }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem 0.9rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 239, 231, 0.85);
  background: linear-gradient(180deg, transparent, rgba(11, 12, 14, 0.8));
}
@media (max-width: 800px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery figure.wide img { aspect-ratio: 16 / 9; }
}

/* Pull quote + Steam CTA */
.flagship__outro {
  margin-top: 3.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 2rem 4rem;
  align-items: center;
  border-top: 1px solid var(--hairline);
  padding-top: 2.6rem;
}
.pullquote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.pullquote span { color: var(--ember); }
@media (max-width: 800px) {
  .flagship__outro { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   OPEN SOURCE — orbit drops to paper
════════════════════════════════════════════ */
.oss {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: clamp(5rem, 10vw, 8.5rem) 0;
  overflow: hidden;
}
.oss::before {
  /* Oversized black mark, cropped at the edge — the paper-section signature */
  content: "";
  position: absolute;
  right: -9rem;
  top: -7rem;
  width: 30rem;
  height: 30rem;
  background: url("../assets/pmg-logo-black.png") no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
}
.oss .eyebrow { color: var(--ember-deep); }
.oss .lede { color: var(--ink-dim); }
.oss__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.oss__ns {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  border: 1px solid var(--paper-edge);
  border-radius: 4px;
  padding: 0.5rem 0.8rem;
  background: #fff;
}

.repo-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.1rem;
  position: relative;
}
.repo-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: #fff;
  border: 1px solid var(--paper-edge);
  border-radius: 8px;
  padding: 1.5rem 1.4rem 1.3rem;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.repo-card:hover {
  border-color: var(--ember);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px -18px rgba(22, 21, 15, 0.35);
}
.repo-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.repo-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}
.repo-card__stars {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-dim);
  white-space: nowrap;
}
.repo-card__desc {
  font-size: 0.94rem;
  color: var(--ink-dim);
}
.repo-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  margin-top: 0.15rem;
}
.repo-card__lang { display: inline-flex; align-items: center; gap: 0.4rem; }
.repo-card__dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  display: inline-block;
}
.repo-card__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.repo-card__tags .chip {
  border-color: var(--paper-edge);
  color: var(--ink-dim);
}
.repo-card__cta {
  margin-top: auto;
  padding-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--ember-deep);
}
.repo-grid__empty {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-dim);
}

/* Skeleton loading */
.repo-card--skeleton { pointer-events: none; }
.sk {
  border-radius: 4px;
  background: linear-gradient(90deg, #ece8dd 25%, #f6f3ea 50%, #ece8dd 75%);
  background-size: 200% 100%;
  animation: shimmer 1.3s infinite linear;
}
.sk--title { height: 1.3rem; width: 55%; }
.sk--line { height: 0.85rem; width: 100%; }
.sk--short { width: 70%; }
@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sk { animation: none; }
}

.oss__bench {
  margin-top: 2.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-dim);
  max-width: 52em;
}

/* ════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════ */
.about { padding: clamp(5rem, 10vw, 8.5rem) 0; }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 2.5rem 5rem;
}
.about__copy p + p { margin-top: 1.2rem; }
.about__copy { color: var(--bone-dim); }
.about__copy strong { color: var(--bone); font-weight: 600; }
.principles {
  list-style: none;
  margin-top: 2.6rem;
  border-top: 1px solid var(--hairline);
}
.principles li {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1.5rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.94rem;
  color: var(--bone-dim);
}
.principles b {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  padding-top: 0.2rem;
}
@media (max-width: 800px) {
  .about__grid { grid-template-columns: 1fr; }
  .principles li { grid-template-columns: 1fr; gap: 0.3rem; }
}

/* ════════════════════════════════════════════
   CAREERS — skeleton board
════════════════════════════════════════════ */
.careers {
  padding: 0 0 clamp(5rem, 10vw, 8.5rem);
}
.careers__board {
  margin-top: 2.4rem;
}
.job-card {
  border: 1.5px dashed rgba(242, 239, 231, 0.28);
  border-radius: 8px;
  padding: 2rem 1.8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  background: rgba(21, 22, 26, 0.5);
}
.job-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--bone-dim);
}
.job-card p {
  flex-basis: 100%;
  font-size: 0.92rem;
  color: var(--bone-dim);
  max-width: 46em;
}
.badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  border: 1px solid rgba(255, 90, 31, 0.45);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
}
.careers__hint {
  margin-top: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--bone-dim);
}
.careers__hint a { color: var(--sand); }

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--hairline);
  padding: 3rem 0 2.5rem;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer__brand { display: flex; align-items: center; gap: 0.7rem; }
.footer__brand img { height: 2.2rem; }
.footer__brand span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.footer__links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
}
.footer__links a {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--bone-dim);
}
.footer__links a:hover { color: var(--bone); }
.footer__legal {
  flex-basis: 100%;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(242, 239, 231, 0.4);
  margin-top: 0.5rem;
}

/* ════════════════════════════════════════════
   LIGHTBOX
════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(11, 12, 14, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem 2.5rem;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: min(1600px, 96vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox__caption {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.lightbox button {
  position: absolute;
  background: rgba(21, 22, 26, 0.85);
  border: 1px solid var(--hairline);
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 1rem;
  border-radius: 4px;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}
.lightbox button:hover { border-color: var(--bone-dim); }
.lightbox__close { top: 1.1rem; right: 1.1rem; }
.lightbox__prev { left: 1.1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.1rem; top: 50%; transform: translateY(-50%); }

/* ════════════════════════════════════════════
   BUTTON EXTRAS — icons + fine print
════════════════════════════════════════════ */
.btn .icon {
  width: 1.05em;
  height: 1.05em;
  vertical-align: -0.18em;
  margin-right: 0.45em;
}
.btn--nav {
  padding: 0.45rem 0.95rem;
  font-size: 0.78rem;
}
.cta-fineprint {
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--bone-dim);
  max-width: 42ch;
}

/* ════════════════════════════════════════════
   PLAYTEST — the conversion moment
════════════════════════════════════════════ */
.playtest {
  background: var(--ash);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.playtest__head { max-width: 640px; }
.playtest__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 3rem;
  counter-reset: none;
}
.step {
  background: var(--ash-2);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 1.6rem 1.4rem 1.5rem;
}
.step__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--ember);
  margin-bottom: 0.9rem;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--bone-dim);
}
.playtest__terms {
  margin-top: 2.6rem;
  border-top: 1px solid var(--hairline);
  padding-top: 2.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.4rem 3rem;
  align-items: center;
}
.playtest__facts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.playtest__terms .cta-fineprint { grid-column: 1 / -1; margin-top: 0; }
@media (max-width: 800px) {
  .playtest__steps { grid-template-columns: 1fr; }
  .playtest__terms { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   DEVLOG — teaser strip + archive + cards
════════════════════════════════════════════ */
.devlog-strip { padding: clamp(4rem, 9vw, 7rem) 0; }
.devlog-strip__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.4rem;
}
.devlog-strip__all {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--bone-dim);
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 0.4rem;
}
.devlog-strip__all:hover { color: var(--ember); }

.devlog-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--ash);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: var(--bone);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.post-card:hover { border-color: var(--ember); transform: translateY(-2px); }
.post-card__media { background: var(--ash-2); }
.post-card__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.post-card__body {
  padding: 1.2rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.post-card__date {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.post-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.35;
}
.post-card__summary {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--bone-dim);
}
.post-card__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.2rem; }
.post-card__cta {
  margin-top: auto;
  padding-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ember);
}
@media (max-width: 800px) {
  .devlog-cards { grid-template-columns: 1fr; }
  .devlog-strip__head { flex-direction: column; align-items: start; gap: 0.8rem; }
}

/* Archive page header */
.page-head {
  padding: clamp(7rem, 14vw, 10rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.page-head .lede { max-width: 620px; }
.page-head__meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-top: 1rem;
}
.page-body { padding-bottom: clamp(4rem, 9vw, 7rem); }

/* ════════════════════════════════════════════
   DEVLOG POST — article layout
════════════════════════════════════════════ */
.post {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(7rem, 14vw, 10rem) var(--pad) clamp(4rem, 8vw, 6rem);
}
.post__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 1rem;
}
.post h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.post__lede {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--bone-dim);
  margin-bottom: 2.2rem;
}
.post__cover {
  margin: 0 0 2.6rem;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.post__cover img { width: 100%; display: block; }
.post__cover figcaption {
  padding: 0.6rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-dim);
  background: var(--ash);
}
.post h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 2.6rem 0 0.9rem;
}
.post p { line-height: 1.7; margin-bottom: 1.1rem; color: var(--bone); }
.post p + .post p { margin-top: 0; }
.post ul, .post ol { margin: 0 0 1.1rem 1.2rem; line-height: 1.7; }
.post li { margin-bottom: 0.35rem; }
.post figure { margin: 1.8rem 0; border-radius: 6px; overflow: hidden; border: 1px solid var(--hairline); }
.post figure img { width: 100%; display: block; }
.post figure figcaption {
  padding: 0.6rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-dim);
  background: var(--ash);
}
.post code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--ash-2);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 0.1em 0.35em;
}
.post__outro {
  margin-top: 3rem;
  border-top: 1px solid var(--hairline);
  padding-top: 2rem;
}
.post__outro .cta-fineprint { max-width: none; }
.post__back {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--bone-dim);
  text-decoration: none;
}
.post__back:hover { color: var(--ember); }

/* ════════════════════════════════════════════
   PRESS KIT
════════════════════════════════════════════ */
.press-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}
.factsheet {
  position: sticky;
  top: 90px;
  background: var(--ash);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 1.6rem 1.5rem;
}
.factsheet h2 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 1.2rem;
}
.factsheet dl { display: grid; gap: 0.9rem; }
.factsheet dt {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.factsheet dd { font-size: 0.88rem; line-height: 1.5; }
.factsheet a { color: var(--bone); }
.factsheet a:hover { color: var(--ember); }

.press-body h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 2.8rem 0 1rem;
}
.press-body h2:first-child { margin-top: 0; }
.press-body p { line-height: 1.7; margin-bottom: 1.1rem; max-width: 68ch; }
.press-body ul { margin: 0 0 1.1rem 1.2rem; line-height: 1.7; max-width: 68ch; }
.press-body .video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  margin: 1.4rem 0 2rem;
  background: var(--ash);
}
.press-body .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.press-shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin: 1.4rem 0 1.8rem;
}
.press-shots figure {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--ash);
}
.press-shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.press-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin: 1.4rem 0 1.8rem;
}
.press-logos figure {
  border-radius: 6px;
  border: 1px solid var(--hairline);
  padding: 2rem;
  display: grid;
  place-items: center;
}
.press-logos figure.on-dark { background: var(--void); }
.press-logos figure.on-light { background: var(--paper); }
.press-logos img { max-width: 160px; max-height: 120px; }
.press-download {
  display: inline-block;
  margin: 0.4rem 0 1.6rem;
}
@media (max-width: 900px) {
  .press-grid { grid-template-columns: 1fr; }
  .factsheet { position: static; }
  .press-shots { grid-template-columns: 1fr; }
}

/* ════ POST BUG-CAPTURE FIGURES ═════════════════════════════════
   Small dev screenshots inside posts (devlog 003+). Shown at
   natural size on the void ground instead of stretched to the
   column; .fig-pair puts two captures side by side. */
.post figure.fig-capture { background: var(--void); }
.post figure.fig-capture img { width: auto; max-width: 100%; margin: 0 auto; }
.post .fig-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.8rem 0;
}
.post .fig-pair figure { margin: 0; }
@media (max-width: 800px) {
  .post .fig-pair { grid-template-columns: 1fr; }
}
/* .fig-seq lays a set of frames in a 2-up grid as a read-in-order sequence.
   Each figure is individually zoomable, so the lightbox arrows walk it. */
.post .fig-seq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.8rem 0;
}
.post .fig-seq figure { margin: 0; }
/* An odd final frame has no partner — let it span the full width. */
.post .fig-seq figure:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 800px) {
  .post .fig-seq { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   POST FIGURES — click to open in the lightbox
   (JS binds .post figure; this is the affordance)
════════════════════════════════════════════ */
.post figure { cursor: zoom-in; }
.post figure img { transition: opacity 0.15s ease; }
.post figure:hover img,
.post figure:focus-visible img { opacity: 0.9; }
.post figure:focus-visible {
  outline: 1px solid var(--bone-dim);
  outline-offset: 3px;
}
