/* Machines vs. Monsters — machinesvsmonsters.com
   Tokens (colors, fonts, chamfer, measure) come from css/tokens.css, GENERATED by
   tools/gen_brand_tokens.py from the game's palette (DESIGN-SYSTEM §6). No raw colour
   values belong in this file: use var(--token), rgba(var(--x-rgb), a), or
   color-mix(in srgb, var(--token) N%, transparent) for alpha on tokens without a triplet.

   v2.1 look (2026-09-24): the site speaks the game's own UI grammar —
   · the sky: a code-drawn starfield + nebula haze behind every page (js/site.js)
   · the mark: the V1 stencil steel wordmark (ruling 29) as rendered by the game
   · plates: chamfered dark-steel panels with a steel rim and corner bolts
   · hazard stripes under titles, bolt-dot rails between bands
   · the primary action wears machine yellow, like UPGRADE in the tower panel */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --rim: color-mix(in srgb, var(--line) 100%, transparent);
  --plate-top: color-mix(in srgb, var(--raised) 94%, transparent);
  --plate-bottom: color-mix(in srgb, var(--panel) 94%, transparent);
  --wrap: 1160px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --space: clamp(4.5rem, 10vw, 8rem);
  --chamfer-poly: polygon(
    var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c),
    100% calc(100% - var(--c)), calc(100% - var(--c)) 100%,
    var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
  --c: var(--chamfer);
}

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-stack);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* The sky without JS: the two nebula glows of the game's sky screens. The starfield
     canvas (site.js) paints the stars on top of this. */
  background:
    radial-gradient(ellipse 60vw 50vh at 18% 72%, color-mix(in srgb, var(--epic) 7%, transparent), transparent 70%),
    radial-gradient(ellipse 55vw 45vh at 80% 22%, color-mix(in srgb, var(--starlight) 7%, transparent), transparent 70%),
    var(--bg);
  background-attachment: fixed;
}

#sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

img, video { max-width: 100%; display: block; }

a { color: var(--text); text-underline-offset: 0.2em; text-decoration-color: color-mix(in srgb, var(--text) 40%, transparent); }
a:hover { text-decoration-color: var(--machine); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--machine);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ================================================================ shared grammar */

/* Plate: the game's panel. The element itself is the steel rim (clip-path chamfer);
   ::before paints the dark body 1px inside it plus four corner bolts. */
.plate {
  position: relative;
  isolation: isolate;
  background: var(--rim);
  clip-path: var(--chamfer-poly);
}
.plate::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  clip-path: var(--chamfer-poly);
  background:
    radial-gradient(circle, var(--rim) 0 1.3px, transparent 1.8px) 9px 9px / 6px 6px no-repeat,
    radial-gradient(circle, var(--rim) 0 1.3px, transparent 1.8px) calc(100% - 9px) 9px / 6px 6px no-repeat,
    radial-gradient(circle, var(--rim) 0 1.3px, transparent 1.8px) 9px calc(100% - 9px) / 6px 6px no-repeat,
    radial-gradient(circle, var(--rim) 0 1.3px, transparent 1.8px) calc(100% - 9px) calc(100% - 9px) / 6px 6px no-repeat,
    linear-gradient(to bottom, var(--plate-top), var(--plate-bottom));
}

/* Card strip: the lighter header band of a game card, with the notched corner tab. */
.strip {
  position: relative;
  display: block;
  padding: 0.55rem 1.6rem 0.5rem;
  background: color-mix(in srgb, var(--line) 22%, transparent);
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}
.strip::after {                /* the corner tab (top-right triangle) */
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1.4rem;
  height: 1.4rem;
  background: linear-gradient(225deg, var(--strip-tab, var(--rim)) 50%, transparent 50%);
}

/* Hazard stripe: the yellow diagonal band under SUPPLY DROP in the game. */
.hazard {
  display: block;
  height: 7px;
  width: 100%;
  background: repeating-linear-gradient(-55deg,
    rgba(var(--machine-rgb), 0.85) 0 3px, transparent 3px 10px);
  opacity: 0.85;
}

/* Rail: the thin steel bar with bolt dots that runs under the card row. */
.rail {
  height: 9px;
  background:
    radial-gradient(circle, var(--rim) 0 1.6px, transparent 2.1px) 0 50% / 56px 9px repeat-x,
    linear-gradient(var(--line-soft), var(--line-soft)) 0 50% / 100% 1px no-repeat;
}

.caption {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: var(--space) var(--gutter) 0;
}
main > .section:last-child,
main > :last-child { padding-bottom: var(--space); }

/* Section heading: dim kicker, big steel title, a short hazard stripe. */
.section-head { margin-bottom: 2.4rem; }
.section-head h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text);
}
.section-head h2.caption { font-size: clamp(1.5rem, 3.4vw, 2.2rem); letter-spacing: 0.06em; color: var(--text); }
.section-head::after {
  content: "";
  display: block;
  width: 88px;
  height: 7px;
  margin-top: 0.9rem;
  background: repeating-linear-gradient(-55deg, rgba(var(--machine-rgb), 0.85) 0 3px, transparent 3px 10px);
}

/* ================================================================ buttons */

/* The primary action = machine yellow rim + text on a dark plate (the game's UPGRADE). */
.cta {
  --c: 9px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.3rem;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--machine);
  background: var(--machine);
  clip-path: var(--chamfer-poly);
  transition: filter 120ms ease, transform 120ms ease;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 1.5px;
  z-index: -1;
  clip-path: var(--chamfer-poly);
  background: linear-gradient(to bottom, var(--raised), var(--panel));
  transition: background 120ms ease;
}
.cta:hover { filter: drop-shadow(0 0 14px rgba(var(--machine-rgb), 0.45)); }
.cta:hover::before { background: linear-gradient(to bottom, color-mix(in srgb, var(--machine) 16%, var(--raised)), var(--panel)); }
.cta:active { transform: scale(0.98); }
.cta.cta-sm { --c: 6px; padding: 0.55rem 1.1rem; font-size: 0.78rem; }

/* Secondary: steel rim, light text (the game's menu buttons). */
.btn-steel { color: var(--text); background: var(--rim); }
.btn-steel:hover { filter: drop-shadow(0 0 10px color-mix(in srgb, var(--starlight) 35%, transparent)); }
.btn-steel:hover::before { background: linear-gradient(to bottom, color-mix(in srgb, var(--starlight) 10%, var(--raised)), var(--panel)); }

.cta-note {
  margin-top: 0.9rem;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  color: var(--dim);
}

/* ================================================================ site header */

.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.site-head-inner {
  display: flex;
  align-items: center;
  gap: 0.6rem 2rem;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.85rem var(--gutter);
}
.site-head .rail { opacity: 0.8; }
.site-brand { display: block; line-height: 0; }
.site-brand img { height: 22px; width: auto; }

.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.2rem 1.6rem; }
.site-nav a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--dim);
}
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--machine); }
.site-nav ul:empty { display: none; }

/* On the homepage the hero carries the big mark: the header starts without it and
   only shows it once the visitor scrolls past the hero (site.js adds .is-scrolled). */
.is-home .site-head:not(.is-scrolled) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.is-home .site-head:not(.is-scrolled) .site-brand { visibility: hidden; }
.is-home .site-head:not(.is-scrolled) .rail { opacity: 0; }
.is-home .site-head { position: fixed; inset: 0 0 auto 0; }

/* ================================================================ announcement bar */

.announce {
  position: relative;
  z-index: 21;
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: linear-gradient(to bottom, var(--raised), var(--panel));
  border-bottom: 1px solid var(--line-soft);
}
.announce a { color: var(--machine); text-decoration: none; }
.announce a:hover { text-decoration: underline; }

/* ================================================================ homepage hero */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(6rem, 14vh, 9rem) var(--gutter) 0;
}
.hero-mark { width: min(620px, 82vw); height: auto; margin: 0 auto; }
.hero-rule {
  width: min(620px, 82vw);
  height: 1px;
  margin: 1.2rem auto 0.6rem;
  background: var(--line);
}
.hero-studio { font-size: 0.72rem; letter-spacing: 0.3em; color: var(--dim); }
.hero-sub {
  margin: 2rem auto 0;
  max-width: 44rem;
  font-size: clamp(1.05rem, 2.1vw, 1.25rem);
  line-height: 1.6;
}
.hero-cta { margin-top: 2.2rem; }

/* The versus stage (real in-engine entity renders) under the title block. */
.hero-stage {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 1500px;
  min-height: clamp(15rem, 36vh, 26rem);
  margin: 2rem auto 0;
  pointer-events: none;
}
.hero-side { position: absolute; top: 0; bottom: 0; width: 46%; }
.hero-machines { left: 0; }
.hero-monsters { right: 0; }
.fig { position: absolute; height: auto; }
.hero-machines .fig { filter: drop-shadow(0 0 26px rgba(var(--machine-rgb), 0.22)); }
.fig-m1 { right: 2%;  bottom: 6%;  width: 40%; transform: rotate(-6deg); }
.fig-m2 { left: 22%;  bottom: 40%; width: 28%; transform: rotate(5deg); opacity: 0.9; }
.fig-m3 { left: 4%;   bottom: 2%;  width: 30%; transform: rotate(-11deg); opacity: 0.85; }
.fig-m4 { left: 36%;  top: 0;      width: 18%; opacity: 0.45; }
.hero-monsters .fig { filter: drop-shadow(0 0 26px rgba(var(--monster-rgb), 0.28)); }
.fig-x1 { left: 2%;   bottom: 4%;  width: 42%; transform: scaleX(-1) rotate(-6deg); }
.fig-x2 { right: 20%; bottom: 42%; width: 30%; transform: scaleX(-1) rotate(7deg); opacity: 0.9; }
.fig-x3 { right: 4%;  bottom: 2%;  width: 26%; transform: scaleX(-1) rotate(-10deg); opacity: 0.85; }
.fig-x4 { right: 34%; top: 2%;     width: 16%; transform: scaleX(-1); opacity: 0.45; }
.hero + .rail, .hero-end { width: 100%; }

/* ================================================================ homepage bands */

.register {
  max-width: var(--measure);
  padding: 2rem 2.2rem;
}
.register .lede { font-weight: 600; font-size: 1.2rem; line-height: 1.45; margin-bottom: 1rem; }
.register p + p { margin-top: 1rem; }
.register em { color: var(--starlight); font-style: italic; }

.prose { max-width: var(--measure); }
.prose p + p { margin-top: 1.1rem; }
.prose h3 { margin-bottom: 0.9rem; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
}
.feature { padding: 2rem 1.9rem 2.1rem; }
.feature h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.feature p { color: color-mix(in srgb, var(--text) 82%, transparent); font-size: 1rem; }

.bleed { padding-top: var(--space); }
.bleed .section-head { max-width: var(--wrap); margin: 0 auto 2.4rem; padding: 0 var(--gutter); }
.bleed-media { position: relative; margin: 0; border-block: 1px solid var(--line-soft); background: var(--well); }
.bleed-media video, .bleed-media img { display: block; width: 100%; height: auto; }
.bleed-media .motion-fallback { display: none; }

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.4rem;
}
.shot { position: relative; margin: 0; padding: 6px; }
.shot a { display: block; line-height: 0; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot figcaption {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 0.35rem 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(var(--bg-rgb), 0.82);
}

/* "What you do" beside the HUD stat tiles (the game's top bar: caption + big figure) */
.what-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1.6rem; align-items: stretch; }
.what-grid .register { max-width: none; display: flex; flex-direction: column; justify-content: center; }
.stat-tiles { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat { padding: 1.1rem 1.3rem 1.2rem; display: flex; flex-direction: column; justify-content: space-between; gap: 0.4rem; }
.stat strong { font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; font-weight: 700; }
.stat strong::before {
  content: "";
  display: inline-block;
  width: 0.26em;
  height: 0.26em;
  margin-right: 0.3em;
  vertical-align: 0.28em;
  border: 2px solid var(--machine);
  transform: rotate(45deg);
}
.setup-plate { max-width: none; }

/* Feature cards carry a number tab, like the numbered cards in the game's build bar. */
.features { counter-reset: feature; }
.feature { counter-increment: feature; padding-top: 2.6rem; }
.feature::after {
  content: counter(feature);
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  min-width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dim);
  border: 1px solid var(--rim);
}

/* ================================================================ inner pages */

.page-head {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(7rem, 16vh, 10rem) var(--gutter) 0;
}
.page-head .caption { display: block; margin-bottom: 0.8rem; }
.page-head h1 {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}
.page-head .hazard { width: 120px; margin-top: 1.2rem; }
.page-head p { margin-top: 1.4rem; max-width: 46rem; font-size: 1.1rem; color: color-mix(in srgb, var(--text) 82%, transparent); }
.page-head p a { color: var(--text); }
.page-body { max-width: var(--wrap); margin: 0 auto; padding: clamp(2.8rem, 6vw, 4rem) var(--gutter) var(--space); }

.more { margin-top: 2.2rem; }
.link-arrow {
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
}
.link-arrow::after { content: " \2192"; color: var(--machine); }
.link-arrow:hover { color: var(--machine); }
.empty-note { color: var(--dim); }
.small { font-size: 0.9rem; color: var(--dim); }

/* ---------------- dev diary: list cards */

.post-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.6rem;
}
.post-card { display: flex; flex-direction: column; transition: filter 140ms ease; }
.post-card:hover { filter: drop-shadow(0 0 16px color-mix(in srgb, var(--starlight) 22%, transparent)); }
.post-card .strip { --strip-tab: var(--machine); }
.post-card-cover { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; border-bottom: 1px solid var(--line-soft); }
.post-card-body { padding: 1.6rem 1.8rem 1.9rem; display: flex; flex-direction: column; gap: 0.8rem; flex: 1; }
.post-card h3 { font-size: 1.4rem; line-height: 1.2; font-weight: 700; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a::before { content: ""; position: absolute; inset: 0; }   /* whole card clickable */
.post-card p { color: color-mix(in srgb, var(--text) 78%, transparent); }
.post-card .link-arrow { margin-top: auto; padding-top: 0.6rem; }
.draft-tag { color: var(--danger); }

/* ---------------- dev diary: one post */

.post { max-width: calc(var(--measure) + 6rem); margin: 0 auto; padding: clamp(7rem, 16vh, 10rem) var(--gutter) var(--space); }
.post-back a { color: var(--dim); text-decoration: none; font-size: 0.9rem; letter-spacing: 0.06em; }
.post-back a:hover { color: var(--text); }
.post h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  margin: 1.4rem 0 1rem;
}
.post .hazard { width: 100px; }
.post-date { margin-top: 1.1rem; }
.post-cover { margin-top: 2rem; width: 100%; }
.post-body { margin-top: 2.4rem; font-size: 1.1rem; line-height: 1.75; }
.post-body > * + * { margin-top: 1.2rem; }
.post-body h2, .post-body h3, .post-body h4 {
  margin-top: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 1.15rem;
  line-height: 1.3;
}
.post-body h2::before {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  margin-right: 0.6em;
  vertical-align: 0.08em;
  background: var(--machine);
  transform: rotate(45deg);
}
.post-body ul, .post-body ol { padding-left: 1.4rem; }
.post-body li + li { margin-top: 0.5rem; }
.post-body li::marker { color: var(--machine); }
.post-body blockquote { padding: 0.4rem 1.2rem; border-left: 3px solid var(--starlight); color: color-mix(in srgb, var(--text) 80%, transparent); }
.post-body pre { padding: 1rem 1.2rem; background: var(--well); border: 1px solid var(--line-soft); overflow-x: auto; font-size: 0.9rem; }
.post-body code { font-size: 0.92em; }
.post-body img { border: 1px solid var(--line-soft); }
.post-body hr { border: 0; height: 9px; background:
  radial-gradient(circle, var(--rim) 0 1.6px, transparent 2.1px) 0 50% / 56px 9px repeat-x,
  linear-gradient(var(--line-soft), var(--line-soft)) 0 50% / 100% 1px no-repeat; }
.post-steam { margin-top: 2rem; }
.post-steam a { color: var(--dim); }
.draft-flag {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.25rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent-text);
  background: var(--danger);
}
.wishlist-block { margin-top: 3.4rem; text-align: center; }
.wishlist-block .strip { text-align: left; --strip-tab: var(--machine); }
.wishlist-block-body { padding: 2rem 1.8rem 2.3rem; }
.wishlist-block p { margin: 0 auto 1.5rem; max-width: 36rem; }

/* ---------------- road to Early Access: a rail with three stops */

.ea-track { margin-bottom: 2.6rem; }
.ea-track .caption { display: block; margin-bottom: 1.4rem; }
.ea-track ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
}
.ea-track ol::before {          /* the rail the stops sit on */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 9px;
  background:
    radial-gradient(circle, var(--rim) 0 1.6px, transparent 2.1px) 0 50% / 40px 9px repeat-x,
    linear-gradient(var(--line), var(--line)) 0 50% / 100% 1px no-repeat;
}
.ea-beat { position: relative; padding-top: 2.4rem; padding-right: 1rem; }
.ea-beat::before {              /* the stop: a machine-yellow diamond */
  content: "";
  position: absolute;
  top: 3px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: var(--bg);
  border: 2px solid var(--machine);
  transform: rotate(45deg);
}
.ea-beat:last-child::before { background: var(--machine); box-shadow: 0 0 14px rgba(var(--machine-rgb), 0.6); }
.ea-when { display: block; font-size: 1.2rem; font-weight: 700; letter-spacing: 0.02em; }
.ea-what { display: block; margin-top: 0.2rem; color: color-mix(in srgb, var(--text) 75%, transparent); }

/* ---------------- roadmap columns = game cards */

.roadmap-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.6rem;
  align-items: start;
}
.rm-col .strip { font-size: 0.8rem; }
.rm-now  { --tone: var(--ok); }
.rm-next { --tone: var(--machine); }
.rm-later { --tone: var(--starlight); }
.rm-col .strip { color: var(--tone); --strip-tab: var(--tone); }
.rm-col ul { list-style: none; padding: 0.6rem 1.6rem 1.4rem; }
.rm-col li {
  position: relative;
  padding: 1.05rem 0 1.05rem 1.6rem;
  border-top: 1px solid var(--line-soft);
}
.rm-col li:first-child { border-top: 0; }
.rm-col li::before {            /* status pip in the column's tone */
  content: "";
  position: absolute;
  left: 0;
  top: 1.45rem;
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: var(--tone);
  box-shadow: 0 0 10px color-mix(in srgb, var(--tone) 55%, transparent);
}
.rm-col li strong { display: block; font-size: 1.08rem; line-height: 1.3; }
.rm-col li span { display: block; margin-top: 0.3rem; color: color-mix(in srgb, var(--text) 72%, transparent); font-size: 0.97rem; line-height: 1.55; }

/* ---------------- FAQ */

.faq { max-width: 52rem; }
.faq-item { margin-top: 0.9rem; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 3.2rem 1.15rem 1.6rem;
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--machine);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:hover { color: var(--machine); }
.faq-item p { padding: 0 1.6rem 1.4rem; color: color-mix(in srgb, var(--text) 78%, transparent); }

/* ---------------- about */

.about { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; }
.about.has-photos { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.about.has-photos .about-made { grid-column: 2; }
.about-photos { display: grid; gap: 1.2rem; }
.about-photos img { width: 100%; }
.about-text { max-width: var(--measure); font-size: 1.1rem; line-height: 1.75; }
.about-text > p + p { margin-top: 1.1rem; }
.about-made { margin: 0; }
.made-list { list-style: none; padding: 0.4rem 1.6rem 1rem; }
.made-list li { padding: 1rem 0; border-top: 1px solid var(--line-soft); font-size: 1rem; line-height: 1.6; }
.made-list li:first-child { border-top: 0; }
.made-list strong { display: block; letter-spacing: 0.04em; }
.about-contact { margin-top: 2rem; }

/* ---------------- press */

.press-zip { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 2rem; }
.press-zip span { color: var(--dim); font-size: 0.9rem; }
.press .section { padding-top: clamp(3.5rem, 7vw, 5rem); }
.facts { width: 100%; border-collapse: collapse; font-size: 1rem; }
.facts-plate { padding: 0.6rem 1.6rem; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 0.8rem 1rem 0.8rem 0; border-top: 1px solid var(--line-soft); }
.facts tr:first-child th, .facts tr:first-child td { border-top: 0; }
.facts th { color: var(--dim); font-weight: 600; width: 13rem; }
.downloads td:nth-child(2), .downloads td:nth-child(3) { color: var(--dim); white-space: nowrap; }
.press-prose { max-width: var(--measure); }
.press-prose > * + * { margin-top: 1.1rem; }
.press-prose .lede { font-weight: 600; font-size: 1.2rem; }
.press-list { list-style: none; max-width: var(--measure); }
.press-list li { padding: 0.9rem 0; border-top: 1px solid var(--line-soft); }
.press-list li:first-child { border-top: 0; }

/* ================================================================ footer */

.site-foot { margin-top: 0; }
.site-foot-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 3rem var(--gutter) 3.4rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.6rem 3rem;
  align-items: center;
}
.foot-mark img { height: 18px; width: auto; opacity: 0.85; }
.socials { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.6rem; }
.socials a, .foot-meta a { color: var(--dim); text-decoration: none; font-size: 0.92rem; letter-spacing: 0.04em; }
.socials a:hover, .foot-meta a:hover { color: var(--text); }
.foot-meta { text-align: right; font-size: 0.86rem; color: var(--dim); line-height: 1.8; }

/* ================================================================ 404 */

.notfound { text-align: center; min-height: 60vh; }
.notfound h1 { margin-bottom: 1.2rem; }
.notfound p + p { margin-top: 0.8rem; }

/* ================================================================ motion + responsive */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  video[data-loop] { display: none; }
  .bleed-media .motion-fallback { display: block; }
  .cta, .cta::before, .post-card { transition: none; }
}

@media (max-width: 900px) {
  .hero-side { width: 48%; }
  .fig-m4, .fig-x4 { display: none; }
  .site-foot-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .foot-meta { text-align: center; }
}

@media (max-width: 720px) {
  .site-head-inner { gap: 0.5rem 1rem; }
  .site-head .cta-sm { order: 2; margin-left: auto; }
  .site-nav { order: 3; flex-basis: 100%; margin-left: 0; }
  .site-nav ul { gap: 0.1rem 1.2rem; }
  .ea-track ol { grid-template-columns: 1fr; gap: 1.4rem; }
  .ea-track ol::before { left: 9px; right: auto; top: 0; bottom: 0; width: 9px; height: auto;
    background:
      radial-gradient(circle, var(--rim) 0 1.6px, transparent 2.1px) 50% 0 / 9px 40px repeat-y,
      linear-gradient(var(--line), var(--line)) 50% 0 / 1px 100% no-repeat; }
  .ea-beat { padding: 0 0 0 2.6rem; }
  .ea-beat::before { top: 4px; left: 3px; }
  .about, .about.has-photos { grid-template-columns: 1fr; }
  .about.has-photos .about-made { grid-column: auto; }
  .what-grid { grid-template-columns: 1fr; }
  .facts th { width: auto; display: block; padding-bottom: 0; }
  .facts td { display: block; border-top: 0; padding-top: 0.2rem; }
  .downloads td { display: table-cell; }
  .page-head { padding-top: 8rem; }
  .hero { padding-top: 9.5rem; }
  .post { padding-top: 8rem; }
}

@media (max-width: 560px) {
  .hero-stage { min-height: 12rem; }
  .fig-m3, .fig-x3 { display: none; }
  .fig-m2 { left: 8%; }
  .fig-x2 { right: 8%; }
  .features, .shots, .post-list { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .site-brand img { height: 17px; }
  .cta.cta-sm { padding: 0.45rem 0.8rem; }
}
