/* News page. Markup is generated by work/build-news.mjs from work/news/posts.json.
   Builds on public.css tokens (--bg-*, --ink*, --muted, --line*, --accent*, --gutter).
   Mobile first: base rules target 375px phones, wider layouts are added below. */

.news-page {
  --news-max: 1320px;
  --news-pad: max(var(--gutter), calc((100vw - var(--news-max)) / 2));
  --news-card: #111214;
  --news-card-hover: #16171a;
  /* Monochrome by default (black / grey / white); the game page swaps in the game blue. */
  --news-accent-ink: #e4e4e1;
  --news-tint-line: rgba(255, 255, 255, .28);
  --news-tint-bg: rgba(255, 255, 255, .07);
  --news-tint-glow: rgba(255, 255, 255, .07);
  --news-action-bg: rgba(255, 255, 255, .08);
  --news-action-bg-hover: rgba(255, 255, 255, .15);
  --news-action-line: rgba(255, 255, 255, .5);
  --news-ease: cubic-bezier(.2, .7, .2, 1);
  overflow-x: clip;
}

/* Offline District: blue is reserved for the game. */
.game-page {
  --news-accent-ink: #e8e8e6;
  --news-tint-line: var(--game-accent-line);
  --news-tint-bg: var(--game-accent-soft);
  --news-tint-glow: rgba(255, 255, 255, 0.09);
  --news-action-bg: var(--game-accent-soft);
  --news-action-bg-hover: rgba(255, 255, 255, 0.13);
  --news-action-line: var(--game-accent-line);
  --accent: var(--game-accent);
  --accent-bright: var(--game-accent-bright);
  --accent-hover: var(--game-accent-hover);
  --accent-fill: var(--game-accent-fill);
  --accent-fill-hover: var(--game-accent-fill-hover);
  --accent-ink: var(--game-accent-ink);
}

/* Shared pieces, tuned for contrast (>= 4.5:1) and 44px touch targets. */
.news-page .tag {
  color: var(--ink-secondary);
  border-color: var(--line-strong);
  font-size: 12px;
}

.news-page :is(a, button):focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.news-page .button {
  min-height: 44px;
  gap: 8px;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  border-color: var(--line-strong);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

/* Primary actions on this page are tinted outlines, so the header's SHOP NOW stays the
   only filled accent button on screen. #e4e4e1 (and the game page's #e8e8e6) on the
   tinted card is > 9:1 contrast. */
.news-page .button.news-primary {
  background: var(--news-action-bg);
  border-color: var(--news-action-line);
  color: var(--news-accent-ink);
}

.news-page .button.news-primary:hover {
  background: var(--news-action-bg-hover);
  border-color: var(--accent-hover);
  color: var(--ink);
}

.news-page .text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration-color: var(--line-strong);
  transition: color .2s ease, text-decoration-color .2s ease;
}

.news-page .text-link:hover {
  color: var(--accent-hover);
  text-decoration-color: currentColor;
}

.news-icon-arrow,
.news-icon-x,
.news-icon-log {
  flex: none;
}

.news-icon-arrow {
  transition: transform .2s var(--news-ease);
}

.news-page a:hover .news-icon-arrow {
  transform: translate(2px, -2px);
}

.news-text {
  overflow-wrap: anywhere;
}

.news-text p + p {
  margin-top: .85em;
}

/* Hero */
.news-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0 var(--gutter) 24px;
}

.news-hero-art {
  position: relative;
  z-index: -1;
  margin: 0 calc(var(--gutter) * -1);
  height: min(100vw, 72svh);
  overflow: hidden;
}

.news-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}

.news-hero-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 9, 10, .8) 0%, rgba(8, 9, 10, 0) 24%),
    linear-gradient(0deg, var(--bg-deepest) 0%, rgba(8, 9, 10, .55) 26%, rgba(8, 9, 10, 0) 52%);
}

.news-hero-copy {
  position: relative;
  margin-top: -88px;
}

.news-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-secondary);
}

.news-kicker-line {
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}

.news-hero h1 {
  margin: 16px 0 20px;
  font-size: clamp(46px, 14vw, 136px);
  line-height: .86;
  font-weight: 700;
  letter-spacing: -.06em;
}

.news-hero h1 span {
  display: block;
  color: var(--accent-bright);
}

.news-hero-intro {
  max-width: 540px;
  color: var(--ink-secondary);
  font-size: 16px;
  line-height: 1.6;
}

.news-updated {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
}

.news-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid var(--news-tint-line);
  border-radius: 999px;
  background: var(--news-tint-bg);
  color: var(--news-accent-ink);
}

.news-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.news-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(8, 9, 10, .55);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background-color .2s ease, border-color .2s ease;
}

.news-jump a:hover {
  border-color: var(--ink-secondary);
  background: rgba(255, 255, 255, .06);
}

/* Sections */
.news-section {
  padding: 64px var(--news-pad) 0;
  scroll-margin-top: 16px;
}

.news-section:last-child {
  padding-bottom: 96px;
}

.news-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 32px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.news-section-head h2 {
  font-size: clamp(34px, 9vw, 72px);
  line-height: .9;
  font-weight: 700;
  letter-spacing: -.055em;
}

.news-section-head p {
  max-width: 420px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

/* Meta row: date, source, tag */
.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
}

.news-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--ink);
  letter-spacing: .04em;
}

.news-source-x {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .04);
}

.news-source-devlog {
  border: 1px solid var(--game-accent-line);
  background: var(--game-accent-soft);
  color: #e8e8e6;
  letter-spacing: .12em;
}

.news-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
}

/* Featured lead */
.news-lead {
  display: grid;
  gap: 20px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(120% 80% at 0% 0%, var(--news-tint-glow), transparent 55%),
    var(--news-card);
}

.news-lead-media {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
}

.news-lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  transition: transform .3s var(--news-ease);
}

.news-lead:hover .news-lead-media img {
  transform: scale(1.02);
}

.news-lead-copy {
  display: grid;
  gap: 18px;
  align-content: center;
  min-width: 0;
  padding: 4px 8px 12px;
}

.news-lead h3 {
  /* Below .news-section-head h2 (clamp(34px, 9vw, 72px)) at every width. */
  font-size: clamp(28px, 7vw, 56px);
  line-height: .9;
  font-weight: 700;
  letter-spacing: -.055em;
}

.news-lead .news-text {
  max-width: 560px;
  color: var(--ink-secondary);
  font-size: 17px;
  line-height: 1.6;
}

/* Feed */
.news-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.news-marker {
  display: none;
}

.news-card {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--news-card);
  transition: border-color .2s ease, background-color .2s ease;
}

.news-card:hover {
  border-color: var(--line-strong);
  background: var(--news-card-hover);
}

.news-card-copy {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
}

.news-card h3 {
  font-size: clamp(24px, 6.4vw, 36px);
  line-height: .98;
  font-weight: 700;
  letter-spacing: -.045em;
}

.news-card .news-text {
  max-width: 34em; /* about 65-75 characters per line */
  color: var(--ink-secondary);
  font-size: 16px;
  line-height: 1.65;
}

.news-item-x .news-card .news-text {
  padding-left: 14px;
  border-left: 2px solid var(--line-strong);
  color: var(--ink);
}

.news-card-media {
  order: -1;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  border: 1px solid var(--line-subtle);
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform .3s var(--news-ease);
}

.news-card:hover .news-card-media img {
  transform: scale(1.03);
}

/* Follow on X */
.news-follow-grid {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-follow-card {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(90% 120% at 100% 100%, var(--news-tint-glow), transparent 60%),
    var(--news-card);
}

.news-follow-mark {
  position: absolute;
  right: -18px;
  bottom: -24px;
  width: 170px;
  height: 170px;
  color: var(--ink);
  opacity: .05;
  pointer-events: none;
}

.news-follow-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--news-accent-ink);
}

.news-follow-card h3.news-handle {
  font-size: clamp(30px, 8vw, 52px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.045em;
  text-transform: none;
  overflow-wrap: anywhere;
}

.news-follow-card > p:not(.news-follow-role) {
  max-width: 420px;
  color: var(--ink-secondary);
  font-size: 16px;
  line-height: 1.6;
}

.news-follow-card .button {
  position: relative;
  margin-top: 6px;
}

.news-handle-inline {
  text-transform: none;
  letter-spacing: .02em;
}

/* Archive */
.news-archive-grid {
  display: grid;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.archive-card {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.archive-card-media {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  border: 1px solid var(--line-subtle);
}

.archive-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.35) brightness(.9);
  transition: filter .3s ease, transform .3s var(--news-ease);
}

.archive-card:hover .archive-card-media img {
  filter: none;
  transform: scale(1.02);
}

.archive-card h3 {
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.archive-card .news-text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* Tablet and up */
@media (min-width: 760px) {
  .news-section {
    padding-top: 96px;
  }

  .news-section:last-child {
    padding-bottom: 130px;
  }

  .news-card {
    padding: 26px;
  }

  /* 760-959px: the picture stays stacked above the text (side by side from 960px). */
  .news-card-media {
    aspect-ratio: 16 / 9;
  }

  /* Timeline: a date marker per day on a vertical rule. */
  .news-list {
    position: relative;
    gap: 18px;
  }

  .news-list::before {
    content: '';
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 35px;
    width: 1px;
    background: linear-gradient(180deg, var(--line-strong), var(--line-subtle));
  }

  .news-item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 20px;
  }

  .news-marker {
    position: relative;
    display: grid;
    justify-items: center;
    align-self: start;
    gap: 2px;
    padding: 10px 0;
    background: var(--bg-deepest);
    color: var(--ink);
  }

  .news-marker b {
    font-size: 28px;
    line-height: 1;
    letter-spacing: -.04em;
  }

  .news-marker span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
  }

  .news-marker-dot {
    width: 9px;
    height: 9px;
    margin: 30px auto 0;
    padding: 0;
    border: 1px solid var(--muted);
    border-radius: 50%;
  }

  .news-follow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .news-follow-card {
    padding: 36px;
  }

  .news-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
}

/* Desktop: split hero, side-by-side featured post and feed pictures */
@media (min-width: 960px) {
  .news-hero {
    display: grid;
    align-items: end;
    min-height: min(100svh, 940px);
    padding: 170px var(--news-pad) 72px;
  }

  .news-hero-art {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(60%, 940px);
    height: auto; /* reset the phone height: the top/bottom insets match the hero */
    margin: 0;
  }

  .news-hero-art img {
    object-position: 50% 55%;
  }

  .news-hero-art::after {
    background:
      linear-gradient(90deg, var(--bg-deepest) 0%, rgba(8, 9, 10, .6) 26%, rgba(8, 9, 10, 0) 58%),
      linear-gradient(0deg, var(--bg-deepest) 0%, rgba(8, 9, 10, 0) 30%),
      linear-gradient(180deg, rgba(8, 9, 10, .7) 0%, rgba(8, 9, 10, 0) 22%);
  }

  .news-hero-copy {
    max-width: 880px;
    margin-top: 0;
  }

  .news-hero h1 {
    font-size: clamp(64px, 7.6vw, 120px);
  }

  .news-hero-intro {
    font-size: 18px;
  }

  .news-lead.has-media {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 56px;
    padding: 20px;
    align-items: center;
  }

  .news-lead-copy {
    padding: 24px 32px 24px 0;
  }

  .news-item.has-media .news-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
    gap: 40px;
    align-items: start;
  }

  .news-card-media {
    order: 0;
    aspect-ratio: 1;
  }

  .news-card {
    padding: 30px;
  }
}

@media (min-width: 1200px) {
  .news-item.has-media .news-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
    gap: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-page *,
  .news-page *::before,
  .news-page *::after {
    transition: none !important;
  }

  .news-lead:hover .news-lead-media img,
  .news-card:hover .news-card-media img,
  .archive-card:hover .archive-card-media img,
  .news-page a:hover .news-icon-arrow {
    transform: none;
  }
}

/* Article pages (news/*.html and community/*.html): the /news/ hero, type and cards. */
.news-article-hero h1 {
  font-size: clamp(42px, 12vw, 96px);
  line-height: .9;
}

.news-article-hero .news-meta {
  margin-top: 18px;
}

.news-article-body {
  display: grid;
  gap: 28px;
  padding-top: 40px;
}

.news-article-copy {
  display: grid;
  gap: 18px;
  align-content: start;
  max-width: 680px;
  color: var(--ink-secondary);
  font-size: 18px;
  line-height: 1.7;
}

.news-article-status {
  padding: 12px 16px;
  border: 1px solid var(--news-tint-line);
  border-radius: 12px;
  background: var(--news-tint-bg);
  color: var(--news-accent-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.5;
}

.news-article-copy .news-actions {
  margin-top: 6px;
}

.news-article-aside {
  display: grid;
  gap: 12px;
  align-content: start;
  justify-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(90% 120% at 100% 100%, var(--news-tint-glow), transparent 60%),
    var(--news-card);
  color: var(--ink-secondary);
  font-size: 16px;
  line-height: 1.6;
}

.news-article-aside-title {
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
}

/* Whole archive card is clickable through its title link. */
.archive-card {
  position: relative;
}

.news-card-link::after {
  content: '';
  position: absolute;
  inset: 0;
}

.news-card-link:focus-visible {
  outline: none;
}

.archive-card:has(.news-card-link:focus-visible) {
  outline: 2px solid var(--accent-bright);
  outline-offset: 4px;
  border-radius: 12px;
}

.archive-card:hover h3 {
  color: var(--accent-hover);
}

/* Game page (/game/) */
.game-page .game-landing {
  min-height: min(100svh, 860px);
}

.game-landing .game-jump {
  justify-content: center;
  margin-top: 28px;
}

.game-split {
  display: grid;
  gap: 28px;
}

.game-copy {
  display: grid;
  gap: 16px;
  align-content: start;
  max-width: 620px;
  color: var(--ink-secondary);
  font-size: 17px;
  line-height: 1.65;
}

.game-lead {
  color: var(--ink);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  letter-spacing: -.01em;
}

.game-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.game-facts li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px 14px;
  align-items: center;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--news-card);
}

.game-facts b {
  color: var(--accent-bright);
  font-size: clamp(40px, 6vw, 64px);
  line-height: .9;
  font-weight: 700;
  letter-spacing: -.05em;
}

.game-facts span {
  color: var(--ink-secondary);
  font-size: 14px;
  line-height: 1.4;
}

.game-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: game-step;
}

.game-steps li {
  counter-increment: game-step;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--news-card);
}

.game-steps li::before {
  content: counter(game-step, decimal-leading-zero);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--news-tint-line);
  border-radius: 50%;
  background: var(--news-tint-bg);
  color: var(--news-accent-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
}

.game-steps b {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.game-steps p {
  color: var(--ink-secondary);
  font-size: 16px;
  line-height: 1.6;
}

.game-control-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.game-control-list li {
  display: grid;
  gap: 10px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--news-card);
}

.game-control-list p {
  color: var(--ink-secondary);
  font-size: 16px;
  line-height: 1.5;
}

.game-keys {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.game-page kbd,
.game-touch {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 3px;
  border-radius: 8px;
  background: #17181b;
  color: var(--ink);
  font: 600 13px/1 'Inter', sans-serif;
}

.game-touch {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.game-or {
  margin: 0 4px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.game-actions {
  margin-top: 22px;
}

@media (min-width: 760px) {
  .news-article-body {
    padding-top: 56px;
  }

  .game-control-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .game-facts li {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
  }

  .game-control-list li {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  }

  .game-steps-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .game-steps-wide li {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
  }

  .game-steps-wide li::before {
    grid-row: auto;
    margin-bottom: 10px;
  }
}

@media (min-width: 960px) {
  .news-article-hero {
    min-height: min(84svh, 780px);
    padding-bottom: 56px;
  }

  .news-article-hero h1 {
    font-size: clamp(56px, 6.4vw, 100px);
  }

  .news-article-body {
    grid-template-columns: minmax(0, 680px) minmax(0, 360px);
    justify-content: space-between;
    gap: 64px;
  }

  .game-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }
}

/* The centre line (2026-10-13): the News hero copy is centred. */
.news-hero-copy { text-align: center; margin-inline: auto; }
.news-hero-copy > * { margin-inline: auto; }
.news-hero-copy :is(.chips, .news-hero-actions, .news-jump, .news-updated) { justify-content: center; }
/* section heads (Featured, Latest, Follow on X, Archive, Game updates) sit on the centre line too */
.news-section-head { flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.news-section-head p { margin-inline: auto; }
/* label · rule · label: a 1fr auto 1fr grid, so the rule sits on the true centre whatever the two labels measure */
.news-hero-copy .news-kicker { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.news-hero-copy .news-kicker > :first-child { justify-self: end; } .news-hero-copy .news-kicker > :last-child { justify-self: start; }

/* ---------------------------------------------------------------- Dev logs (2026-10-13: Connor split the build notes
   from the company news). /devlog/ is a centre-line list; every log has its own page. Black / grey / white only. */
.devlog-page { padding: 120px var(--gutter) 96px; }
.devlog-hero, .devlog-post-head { max-width: 1320px; margin: 0 auto 56px; text-align: center; }
.devlog-post-head { margin-bottom: 36px; }
.devlog-post-head .lhead-title { max-width: 20ch; font-size: clamp(36px, 5.6vw, 80px); }
/* the spine runs behind the list only: it shows between the cards, never through the text */
.devlog-list { display: grid; gap: 28px; max-width: 760px; margin: 0 auto; padding: 0; list-style: none; }
.devlog-card { display: grid; gap: 18px; justify-items: center; padding: 14px 14px 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--news-card); color: inherit; text-align: center; text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.devlog-card:hover { border-color: var(--line-strong); background: var(--news-card-hover); }
.devlog-card-media { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; border: 1px solid var(--line-subtle); background: #0d0e10; }
.devlog-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .6s var(--news-ease); }
.devlog-card:hover .devlog-card-media img { transform: scale(1.03); }
.devlog-card-text { display: grid; place-content: center; gap: 10px; padding: 16px; }
.devlog-card-text span { font: 500 11px/1.2 var(--mono, ui-monospace, monospace); letter-spacing: .16em; color: var(--muted); }
.devlog-card-text b { font: 600 clamp(24px, 4vw, 40px)/1 var(--display, 'Oswald', sans-serif); text-transform: uppercase; color: var(--ink); }
.devlog-card-copy { display: grid; gap: 12px; justify-items: center; max-width: 56ch; padding-inline: 12px; }
.devlog-card .news-meta { justify-content: center; }
.devlog-card-copy h2 { font-size: clamp(24px, 3.4vw, 36px); line-height: 1; font-weight: 700; letter-spacing: -.04em; text-wrap: balance; }
.devlog-card-copy p { margin: 0; color: var(--ink-secondary); font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.devlog-read { color: var(--ink); }
.devlog-empty { text-align: center; color: var(--muted); }
.devlog-post { max-width: 1320px; margin: 0 auto; }
.devlog-post-media { max-width: 760px; margin: 0 auto 40px; overflow: hidden; border: 1px solid var(--line-subtle); border-radius: 18px; background: #0d0e10; }
.devlog-post-media img { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: contain; }
/* long-form text stays left, in a centred column */
.devlog-body { max-width: 62ch; margin: 0 auto; color: var(--ink-secondary); font-size: 17px; line-height: 1.7; }
.devlog-actions { margin: 36px auto 0; }
.devlog-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 760px; margin: 56px auto 0; }
.devlog-pager-link { display: grid; gap: 8px; align-content: start; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--news-card); color: var(--ink); text-decoration: none; transition: border-color .2s ease; }
.devlog-pager-link:hover { border-color: var(--line-strong); }
.devlog-pager-link b { font-size: 16px; font-weight: 600; line-height: 1.3; }
.devlog-pager-older { grid-column: 2; text-align: right; }
@media (max-width: 640px) {
  .devlog-page { padding-top: 96px; }
  .devlog-pager { grid-template-columns: minmax(0, 1fr); }
  .devlog-pager > span { display: none; }
  .devlog-pager-older { grid-column: auto; }
  .devlog-pager-link, .devlog-pager-older { text-align: center; }
}

/* News: an X post is a short quote that links out; a calm "More soon" while the page is thin; the dev log CTA. */
blockquote.news-quote { margin: 0; }
.news-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px auto 0; }
.news-source-update, .news-source-vlog { border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .04); letter-spacing: .12em; }
.news-icon-play { flex: none; }
.news-soon-card { display: grid; justify-items: center; gap: 12px; padding: 40px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--news-card); text-align: center; }
.news-soon-card h2 { font-size: clamp(34px, 7vw, 64px); line-height: .9; font-weight: 700; letter-spacing: -.05em; }
.news-soon-card p:last-child { max-width: 52ch; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
