/* ==========================================================================
   steadfall.com: the cinematic site (2026-11-14)
   The game's own screenshots carry the page. Everything else stays quiet:
   dusk cobalt grounds, snow white type, and safety orange only where you act.
   DESIGN.md is the authority; where the two disagree, DESIGN.md is right.
   ========================================================================== */

@font-face {
  font-family: "DejaVu Sans Mono";
  src: url("/fonts/dejavusansmono.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/fonts/publicsans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --night: #0c1a30;       /* the sky an hour after sunset: every ground */
  --dusk: #16294a;        /* raised ground: panels and fields */
  --ridge: #24467a;       /* hairlines and the favicon's hill */
  --snow: #f2f4f1;        /* type */
  --haze: #aab8ca;        /* quieter type */
  --ember: #ff6a13;       /* safety orange off the hand tools: actions only */
  --ember-ink: #1a0d04;

  --mono: "DejaVu Sans Mono", ui-monospace, Menlo, Consolas, monospace;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --measure: clamp(30rem, 30vw, 44rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--night);
  color: var(--snow);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--snow); color: var(--night); padding: .6rem 1rem; text-decoration: none;
}
.skip:focus { top: 1rem; }

/* ---- the header: over the hero on the home page, on the ground elsewhere ---- */
.top {
  position: relative; z-index: 10;
  display: flex; align-items: center; gap: 2rem;
  padding: 1.25rem var(--gutter);
}
.home .top { position: absolute; inset: 0 0 auto 0; }
.top .mark {
  font: 400 1.05rem/1 var(--mono); letter-spacing: .32em; text-decoration: none;
  margin-right: auto;
}
.top nav { display: flex; align-items: center; gap: 1.6rem; font-size: .95rem; }
.top nav a { text-decoration: none; color: var(--haze); transition: color .15s var(--ease); }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--snow); }
.top nav .btn { color: var(--ember-ink); }
@media (max-width: 720px) {
  .top { flex-wrap: wrap; gap: .75rem 1.2rem; }
  .top nav { gap: 1.1rem; font-size: .9rem; flex-wrap: wrap; }
  .top nav .hide-sm { display: none; }
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.75rem; padding: .7rem 1.35rem; border-radius: 6px;
  font: 600 .98rem/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .ico { width: 1.25em; height: 1.25em; margin-right: .55em; flex: none; }
.btn-go { background: var(--ember); color: var(--ember-ink); }
.btn-go:hover { background: #ff8441; }
.btn-line { border-color: rgba(242, 244, 241, .55); color: var(--snow); }
.btn-line:hover { border-color: var(--snow); background: rgba(242, 244, 241, .08); }
.top .btn { min-height: 2.3rem; padding: .5rem 1rem; font-size: .9rem; }

/* ---- the hero ---- */
.hero {
  position: relative; isolation: isolate; min-height: 100svh; overflow: hidden;
  display: grid; align-items: end;
  padding: 7rem var(--gutter) clamp(2.5rem, 7vh, 5rem);
}
.hero .bg, .hero > video, .band .bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(12, 26, 48, .92) 0%, rgba(12, 26, 48, .55) 32%, rgba(12, 26, 48, 0) 62%),
    linear-gradient(to bottom, rgba(12, 26, 48, .55) 0%, rgba(12, 26, 48, 0) 18%);
}
.hero h1 {
  margin: 0;
  font: 400 clamp(3.2rem, 12.5vw, 11.5rem)/.9 var(--mono);
  letter-spacing: .14em; margin-right: -.14em;
}
.hero .lead {
  max-width: 40rem; margin: 1.6rem 0 0;
  font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.4; font-weight: 500;
}
.hero .sub { max-width: 40rem; margin: .8rem 0 0; color: var(--haze); font-size: clamp(1.05rem, .6rem + .6vw, 1.35rem); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero .when { margin: 1.4rem 0 0; color: var(--haze); font-size: .95rem; }

/* The one moment of motion: the hero settles in as the page opens. */
@media (prefers-reduced-motion: no-preference) {
  .hero .bg, .hero > video { animation: settle 2.4s var(--ease) both; }
  .hero .rise { animation: rise 1.1s .35s var(--ease) both; }
  @keyframes settle { from { opacity: .2; } to { opacity: 1; } }
  @keyframes rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* ---- a band: one screenshot, full bleed, a short block of copy laid over it ---- */
.band {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  display: grid; align-items: end;
  padding: 6rem var(--gutter) clamp(3rem, 9vh, 6rem);
}
.band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(12, 26, 48, .9) 0%, rgba(12, 26, 48, .5) 30%, rgba(12, 26, 48, 0) 58%);
}
.band.side::after {
  background:
    linear-gradient(to right, rgba(12, 26, 48, .88) 0%, rgba(12, 26, 48, .45) 38%, rgba(12, 26, 48, 0) 64%),
    linear-gradient(to top, rgba(12, 26, 48, .6) 0%, rgba(12, 26, 48, 0) 35%);
  align-items: center;
}
.band.side { align-items: center; }
.band.flip .copy { justify-self: end; }
.band.flip.side::after {
  background:
    linear-gradient(to left, rgba(12, 26, 48, .88) 0%, rgba(12, 26, 48, .45) 38%, rgba(12, 26, 48, 0) 64%),
    linear-gradient(to top, rgba(12, 26, 48, .6) 0%, rgba(12, 26, 48, 0) 35%);
}
.copy { max-width: var(--measure); text-shadow: 0 1px 18px rgba(12, 26, 48, .55); }
.copy h2, .page-body h2 {
  margin: 0;
  font: 800 clamp(2.4rem, 5.4vw, 6rem)/1 var(--sans);
  letter-spacing: -.025em; text-wrap: balance;
}
.copy p { margin: 1.1rem 0 0; font-size: clamp(1.05rem, .55rem + .75vw, 1.45rem); line-height: 1.55; }
.copy p + p { margin-top: .8rem; }

/* three ways to play */
.ways {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
  margin-top: 1.6rem;
}
.band .copy.wide { max-width: min(72rem, 100%); }
.ways div {
  padding: 1.1rem 1.2rem 1.2rem;
  background: rgba(12, 26, 48, .62); backdrop-filter: blur(8px);
  border-top: 3px solid var(--ember);
}
.ways h3 { margin: 0; font: 700 clamp(1.25rem, .9rem + .5vw, 1.6rem)/1.2 var(--sans); }
.ways p { margin: .45rem 0 0; font-size: clamp(1rem, .7rem + .4vw, 1.2rem); color: var(--haze); text-shadow: none; }
@media (max-width: 760px) { .ways { grid-template-columns: 1fr; } }

/* ---- the finale: one screenshot, one call to action, the email list under it ---- */
.finale {
  position: relative; isolation: isolate; overflow: hidden; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: 7rem var(--gutter);
}
.finale .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.finale::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 60% at 50% 50%, rgba(12, 26, 48, .78) 0%, rgba(12, 26, 48, .35) 70%, rgba(12, 26, 48, .2) 100%),
    linear-gradient(to bottom, rgba(12, 26, 48, .6) 0%, rgba(12, 26, 48, 0) 25%, rgba(12, 26, 48, 0) 75%, rgba(12, 26, 48, .85) 100%);
}
.finale-in { max-width: 52rem; text-shadow: 0 1px 24px rgba(12, 26, 48, .6); }
.finale h2 { margin: 0; font: 800 clamp(2.8rem, 7.5vw, 7.5rem)/.95 var(--sans); letter-spacing: -.035em; text-wrap: balance; }
.finale-lead { margin: 1.4rem auto 0; max-width: 36rem; font-size: clamp(1.1rem, .7rem + .9vw, 1.6rem); line-height: 1.4; color: var(--snow); }
.finale .actions { justify-content: center; margin-top: 2.2rem; }
.btn-big { min-height: 3.4rem; padding: .9rem 2rem; font-size: clamp(1.05rem, .8rem + .4vw, 1.25rem); border-radius: 8px; }
.signup {
  margin: clamp(3rem, 8vh, 5rem) auto 0; max-width: 34rem; padding: 1.5rem 1.6rem 1.2rem;
  background: rgba(12, 26, 48, .55); backdrop-filter: blur(10px);
  border: 1px solid rgba(170, 184, 202, .18); border-radius: 12px; text-shadow: none;
}
.signup-h { margin: 0 0 1rem; color: var(--haze); font-size: 1.02rem; }
.signup form { display: flex; gap: .5rem; }
.signup input[type="email"] {
  flex: 1 1 auto; min-width: 0; min-height: 2.9rem; padding: .6rem 1rem; border-radius: 8px;
  border: 1.5px solid var(--ridge); background: rgba(12, 26, 48, .85); color: var(--snow); font: inherit;
}
.signup input[type="email"]::placeholder { color: #7f8ea3; }
.signup input[type="email"]:focus { outline: none; border-color: var(--ember); }
.signup .btn { min-height: 2.9rem; border-radius: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 1.4em; margin: .6rem 0 0; font-size: .95rem; }
.form-msg[data-state="ok"] { color: #7fe0a8; }
.form-msg[data-state="err"] { color: #ff8a8a; }
@media (max-width: 520px) { .signup form { flex-direction: column; } }

/* ---- plain pages: press, the devlog ---- */
.page-head { padding: clamp(3rem, 8vw, 6rem) var(--gutter) 1rem; max-width: 80rem; margin-inline: auto; box-sizing: content-box; }
.page-head h1 { margin: 0; font: 800 clamp(2.6rem, 7vw, 5.2rem)/1 var(--sans); letter-spacing: -.03em; }
.page-head p { color: var(--haze); max-width: var(--measure); font-size: 1.15rem; }
.page-body { padding: 2rem var(--gutter) clamp(3rem, 8vw, 6rem); max-width: 80rem; margin-inline: auto; box-sizing: content-box; }
.page-body h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin: 3.5rem 0 1.2rem; }
.page-body h3 { font: 700 1.2rem/1.3 var(--sans); margin: 2rem 0 .5rem; }
.page-body p, .page-body li { max-width: 42rem; }
.page-body p { color: #d9dfe6; }
.facts { border-collapse: collapse; width: 100%; max-width: 46rem; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: .85rem 1rem .85rem 0; border-top: 1px solid var(--ridge); }
.facts th { width: 11rem; color: var(--haze); font-weight: 500; }
.lift { background: var(--dusk); padding: 1.3rem 1.5rem; max-width: 46rem; border-left: 3px solid var(--ember); }
.lift p { margin: 0; color: var(--snow); }
.lift p + p { margin-top: .8rem; }
.downloads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.downloads a { display: block; text-decoration: none; color: var(--haze); font-size: .9rem; }
.downloads img { aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: .4rem; }
.downloads a:hover { color: var(--snow); }
@media (max-width: 760px) { .downloads { grid-template-columns: 1fr 1fr; } .facts th { width: 8rem; } }

/* ---- footer ---- */
.foot {
  padding: 3rem var(--gutter) 2.5rem; border-top: 1px solid rgba(36, 70, 122, .7);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem 2rem; color: var(--haze); font-size: .92rem;
}
.foot .mark { font: 400 1rem/1 var(--mono); letter-spacing: .32em; color: var(--snow); margin-right: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--snow); }
.foot small { flex-basis: 100%; font-size: .85rem; }
.foot .social { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; }
.foot .social a, .footer .social a { display: inline-flex; color: var(--haze); transition: color .15s var(--ease); }
.foot .social a:hover, .footer .social a:hover { color: var(--snow); }
.foot .social svg, .footer .social svg { width: 1.3rem; height: 1.3rem; display: block; }

/* ---- the devlog: its posts still take their body styles from styles.css,
        and these bring the ground, the buttons and the reading size into line ---- */
.btn { text-transform: none; letter-spacing: 0; }
main { background: var(--night); }
.prose { font-size: clamp(1.05rem, .7rem + .45vw, 1.25rem); line-height: 1.65; }
.prose h1, .prose h2 { font-family: var(--sans); font-weight: 800; letter-spacing: -.02em; }
.prose h3 { font-family: var(--sans); font-weight: 700; margin-top: 2.2rem; }
/* a devlog post's section heads: h2 in the outline, h3 in size */
.prose h2.sub { font-size: var(--step-1); line-height: 1.25; font-weight: 700; letter-spacing: -0.015em; margin-top: 2.2rem; }
.section h1 { font: 800 clamp(2.3rem, 1.4rem + 2.6vw, 4rem)/1.05 var(--sans); letter-spacing: -.025em; }
.section h2 { font-family: var(--sans); font-weight: 800; letter-spacing: -.02em; }

/* ---- what you can do: six groups of short goals over one dimmed band ---- */
.band.todo { align-items: center; padding-top: 7rem; padding-bottom: 7rem; }
.band.todo::after { background: rgba(12, 26, 48, .82); }
.band.todo .copy.wide { max-width: min(96rem, 100%); }
.groups {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 4rem); margin-top: 2.6rem;
}
.group h3 {
  margin: 0 0 .4rem; padding-top: .9rem; border-top: 3px solid var(--ember);
  font: 800 clamp(1.25rem, .8rem + .7vw, 1.7rem)/1.2 var(--sans); letter-spacing: -.01em;
}
.group ul { list-style: none; margin: 0; padding: 0; }
.group li {
  padding: .55rem 0; border-bottom: 1px solid rgba(170, 184, 202, .18);
  font-size: clamp(1rem, .75rem + .4vw, 1.25rem); line-height: 1.4; text-shadow: none;
}
@media (max-width: 1100px) { .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .groups { grid-template-columns: 1fr; } }

/* ---- one group of goals per band: short lines, read at a glance ---- */
.does { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.does li {
  padding: .7rem 0; border-top: 1px solid rgba(242, 244, 241, .2);
  font: 500 clamp(1.1rem, .7rem + .75vw, 1.6rem)/1.3 var(--sans);
}
.does li:last-child { border-bottom: 1px solid rgba(242, 244, 241, .2); }
.copy h2 + p { font-size: clamp(1.2rem, .7rem + .9vw, 1.8rem); line-height: 1.35; color: var(--haze); }

/* ---- the hero slideshow (`app.js`): each shot fades in over the last and drifts in slowly ---- */
.hero .slide { opacity: 0; animation: none; transition: opacity 1.8s var(--ease); }
.hero .slide.on { opacity: 1; }

/* ---- phones: every shot at its own shape, full width, the copy under it ----
   A 16:9 capture cropped to fill a tall screen showed a third of the picture, blown up, and made
   every band a full screen of scrolling. Here the shot sits on top at 16:9 (the hero at 4:3, so the
   header has room), fades into the night at its foot, and the section is only as tall as its copy. */
@media (max-width: 760px) {
  .hero, .band, .band.side, .band.todo, .finale { min-height: 0; display: block; }
  .hero .bg, .band .bg, .finale .bg { inset: 0 0 auto 0; height: auto; aspect-ratio: var(--shot); }
  .hero::after, .band::after, .band.side::after, .band.flip.side::after, .band.todo::after, .finale::after {
    inset: 0 0 auto 0; height: calc(100vw / (var(--shot))); aspect-ratio: auto;
    background: linear-gradient(to top, var(--night) 0%, rgba(12, 26, 48, 0) 45%);
  }
  .hero { --shot: 4 / 3; padding: calc(75vw - 2.5rem) var(--gutter) 3rem; }
  .hero::after {
    background:
      linear-gradient(to top, var(--night) 0%, rgba(12, 26, 48, 0) 50%),
      linear-gradient(to bottom, rgba(12, 26, 48, .6) 0%, rgba(12, 26, 48, 0) 40%);
  }
  .band, .finale { --shot: 16 / 9; padding: calc(56.25vw - 1rem) var(--gutter) 3.5rem; }
  .band.todo { padding-top: calc(56.25vw - 1rem); padding-bottom: 3.5rem; }
  .band.flip .copy { justify-self: start; }
  .finale-in { margin-inline: auto; }
  .signup { margin-top: 2.5rem; }
}

/* ---- the devlog: an index of every post by date, and each post under its own picture ---- */
.log { max-width: 76rem; margin-inline: auto; box-sizing: content-box; padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) clamp(3rem, 8vw, 6rem); }
.log-head h1 { margin: 0; font: 800 clamp(3rem, 8vw, 6.5rem)/.95 var(--sans); letter-spacing: -.035em; }
.log-head p { margin: 1rem 0 0; max-width: 40rem; color: var(--haze); font-size: clamp(1.05rem, .8rem + .5vw, 1.3rem); }

.latest {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: end; margin-top: clamp(2.5rem, 5vw, 4rem); text-decoration: none; color: inherit;
}
.latest-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.latest-text { display: flex; flex-direction: column; gap: .75rem; padding-bottom: .25rem; }
.latest-new { color: var(--ember); font-weight: 600; font-size: .95rem; }
.latest-title { font: 800 clamp(1.8rem, 1.1rem + 2vw, 3rem)/1.05 var(--sans); letter-spacing: -.02em; text-wrap: balance; }
.latest time { color: var(--haze); font-size: .95rem; }
.latest-excerpt { color: #d9dfe6; line-height: 1.55; }
.latest-go { color: var(--snow); font-weight: 600; text-decoration: underline; text-decoration-color: var(--ember); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.latest:hover .latest-go { color: var(--ember); }

.rows picture, .latest picture { display: block; }
.index { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.year { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem 2rem; }
.year + .year { margin-top: 3rem; }
.year h2 { margin: 0; padding-top: 1.4rem; align-self: start; position: sticky; top: 1.25rem; font: 400 1rem/1 var(--mono); letter-spacing: .32em; color: var(--haze); }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(170, 184, 202, .2); }
.rows li { border-bottom: 1px solid rgba(170, 184, 202, .2); }
.rows a {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) 9.5rem; gap: 1.6rem; align-items: center;
  padding: 1.15rem 0; text-decoration: none; color: inherit;
}
.rows time { font: 400 .95rem/1.3 var(--mono); color: var(--haze); }
.row-title { display: block; font: 700 clamp(1.1rem, .9rem + .45vw, 1.4rem)/1.25 var(--sans); letter-spacing: -.01em; }
.row-excerpt {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: .35rem; color: var(--haze); font-size: .98rem; line-height: 1.5;
}
.row-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; opacity: .8; transition: opacity .15s var(--ease); }
.rows a:hover .row-title { text-decoration: underline; text-decoration-color: var(--ember); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.rows a:hover .row-thumb { opacity: 1; }
.log-mail { margin: 3.5rem 0 0; color: var(--haze); }
.log-mail a { color: var(--snow); text-underline-offset: 3px; }

.post-head {
  position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end;
  min-height: min(74svh, 50rem); padding: 8rem var(--gutter) clamp(2rem, 5vw, 3.5rem);
}
.post-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: -1; }
.post-head::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, var(--night) 0%, rgba(12, 26, 48, .78) 28%, rgba(12, 26, 48, .1) 68%);
}
.post-head-in { max-width: 58rem; width: 100%; margin-inline: auto; text-shadow: 0 1px 20px rgba(12, 26, 48, .6); }
.post-date { margin: 0; color: #d9dfe6; font-size: 1rem; }
.post-head h1 { margin: .6rem 0 0; font: 800 clamp(2.4rem, 1.3rem + 4vw, 5rem)/1 var(--sans); letter-spacing: -.03em; text-wrap: balance; }
.post-body { max-width: 58rem; margin: 0 auto; padding: clamp(1.5rem, 4vw, 2.75rem) var(--gutter) 0; box-sizing: content-box; }
.post-body > * { max-width: 44rem; }
.post-body .shot-frame::before, .post-body .shot-frame::after { content: none; }
.post-body .shot img { border-radius: 4px; }
.post-steps {
  max-width: 58rem; margin: clamp(3rem, 6vw, 5rem) auto 0; padding: 0 var(--gutter); box-sizing: content-box;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.step {
  display: flex; flex-direction: column; gap: .35rem; padding: 1.2rem 1.35rem; border-radius: 8px;
  border: 1px solid rgba(170, 184, 202, .22); text-decoration: none; color: inherit; transition: border-color .15s var(--ease);
}
.step:hover { border-color: var(--haze); }
.step.newer { text-align: right; }
.step-label, .step-date { color: var(--haze); font-size: .9rem; }
.step-title { font-weight: 700; font-size: 1.12rem; line-height: 1.3; }
.post-all { max-width: 58rem; margin: 1.6rem auto clamp(3rem, 8vw, 6rem); padding: 0 var(--gutter); box-sizing: content-box; }
.post-all a { color: var(--snow); text-underline-offset: 3px; }

@media (max-width: 760px) {
  .latest { grid-template-columns: 1fr; }
  .year { grid-template-columns: 1fr; gap: .75rem; }
  .year h2 { position: static; padding-top: 0; }
  .rows a { grid-template-columns: 3.4rem minmax(0, 1fr) 5.5rem; gap: .9rem; padding: .95rem 0; }
  .row-excerpt { display: none; }
  .post-head { min-height: 0; padding-top: calc(56.25vw + .5rem); }
  .post-bg { inset: 0 0 auto 0; height: auto; aspect-ratio: 16 / 9; }
  .post-head::after { inset: 0 0 auto 0; height: 56.25vw; background: linear-gradient(to top, var(--night) 0%, rgba(12, 26, 48, 0) 45%); }
  .post-steps { grid-template-columns: 1fr; }
  .step.newer { text-align: left; }
}
