/* ============================================================
   DARKFRAME — darkframegaming.com
   Cinematic darkroom / lens aesthetic.
   Type: Big Shoulders Display (poster) · Michroma (lens engraving)
         · Newsreader (editorial body)
   ============================================================ */

@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../assets/fonts/BigShouldersDisplay.woff2') format('woff2');
}
@font-face {
  font-family: 'Michroma';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/Michroma.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../assets/fonts/Newsreader.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url('../assets/fonts/Newsreader-italic.woff2') format('woff2');
}

:root {
  --bg: #060608;
  --panel: #0a0a0d;
  --line: #222228;
  --line-soft: #18181d;
  --ink: #d8d8de;
  --body: #a9aab3;
  --dim: #7c7d87;
  --faint: #55565f;
  --red: #e11a2b;
  --red-hot: #ff4a55;
  --disp: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --mono: 'Michroma', 'Courier New', monospace;
  --serif: 'Newsreader', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--body);
  font-family: var(--serif);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--red); color: #fff; }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #08080a; }
::-webkit-scrollbar-thumb { background: #26262d; border: 3px solid #08080a; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
section { scroll-margin-top: 90px; }

/* red hairline across the very top */
body::before {
  content: '';
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 4%, var(--red) 38%, var(--red-hot) 50%, var(--red) 62%, transparent 96%);
  z-index: 90; pointer-events: none;
}

/* film grain overlay */
.grain {
  position: fixed; inset: -50px; z-index: 80; pointer-events: none;
  opacity: .055; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
}

/* ---------------- nav ---------------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 44px);
  transition: background .4s ease, border-color .4s ease, padding .4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 6, 9, .82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line-soft);
  padding-top: 13px; padding-bottom: 13px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { width: 27px; height: 27px; }
.brand b {
  font-family: var(--mono); font-weight: 400; font-size: 11px;
  letter-spacing: .5em; color: var(--ink); text-indent: .5em;
}
.nav ul { display: flex; gap: clamp(18px, 3vw, 40px); list-style: none; }
.nav ul a {
  font-family: var(--mono); font-size: 9px; letter-spacing: .26em;
  color: var(--dim); padding: 6px 2px; position: relative; transition: color .3s;
}
.nav ul a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--red); transition: width .35s ease;
}
.nav ul a:hover { color: var(--ink); }
.nav ul a:hover::after { width: 100%; }

/* ---------------- hero ---------------- */

.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
  padding: 120px 24px 90px;
  background:
    radial-gradient(ellipse 120% 90% at 50% 118%, #0c0c10 0%, transparent 55%),
    radial-gradient(ellipse 90% 70% at 50% -20%, #101014 0%, transparent 60%),
    var(--bg);
}
.hero::after { /* red light leak */
  content: ''; position: absolute; top: -18%; right: -12%;
  width: 64vw; height: 74vh; pointer-events: none;
  background: radial-gradient(ellipse at 68% 32%, rgba(225, 26, 43, .13), transparent 58%);
  animation: leak-drift 16s ease-in-out infinite alternate;
}
@keyframes leak-drift {
  from { transform: translate(0, 0) scale(1); opacity: .9; }
  to   { transform: translate(-6vw, 6vh) scale(1.15); opacity: .55; }
}

/* viewfinder corner engravings */
.hud span {
  position: absolute; z-index: 3;
  font-family: var(--mono); font-size: 8px; letter-spacing: .3em; color: var(--faint);
}
.hud .tl { top: 88px; left: 30px; padding: 12px 0 0 14px; border-top: 1px solid #2c2c33; border-left: 1px solid #2c2c33; }
.hud .tr { top: 88px; right: 30px; padding: 12px 14px 0 0; border-top: 1px solid #2c2c33; border-right: 1px solid #2c2c33; }
.hud .bl { bottom: 34px; left: 30px; padding: 0 0 12px 14px; border-bottom: 1px solid #2c2c33; border-left: 1px solid #2c2c33; }
.hud .br { bottom: 34px; right: 30px; padding: 0 14px 12px 0; border-bottom: 1px solid #2c2c33; border-right: 1px solid #2c2c33; }

.mark-wrap { position: relative; margin-bottom: 34px; }
.mark-wrap::before {
  content: ''; position: absolute; inset: -75%;
  background: radial-gradient(circle, rgba(225, 26, 43, .3), transparent 58%);
  animation: breathe 5.5s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: .45; transform: scale(.92); }
  50%      { opacity: 1;   transform: scale(1.06); }
}
.mark-wrap img {
  position: relative; width: clamp(120px, 16vw, 172px);
  filter: drop-shadow(0 18px 44px rgba(0, 0, 0, .8));
  animation: mark-spin 90s linear infinite;
}
@keyframes mark-spin { to { transform: rotate(360deg); } }

.hero h1 {
  font-family: var(--disp); font-weight: 800;
  font-size: clamp(4.2rem, 16vw, 12.5rem);
  line-height: .88; letter-spacing: .015em; color: var(--ink);
  text-transform: uppercase;
}
.hero h1 .frame {
  color: transparent;
  -webkit-text-stroke: 2px #a9aab3;
  paint-order: stroke;
}
.tagline {
  margin-top: 26px;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.15rem, 2.6vw, 1.6rem); color: var(--body);
}
.tagline em { font-style: italic; color: var(--red-hot); }
.hero-sub {
  margin-top: 18px; max-width: 520px;
  font-size: 1.02rem; line-height: 1.7; color: var(--dim);
}
.hero-stats {
  margin-top: 52px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
}
.hero-stats span {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .24em; color: var(--body);
  padding: 4px 26px; position: relative; white-space: nowrap;
}
.hero-stats span + span::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%) rotate(18deg);
  width: 1px; height: 22px; background: var(--red); opacity: .65;
}
.hero-stats b { font-weight: 400; color: var(--red-hot); }

.scroll-cue {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 8px; letter-spacing: .34em; color: var(--faint);
  animation: cue 2.6s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { opacity: .35; transform: translateX(-50%) translateY(0); }
  50%      { opacity: 1;   transform: translateX(-50%) translateY(7px); }
}

/* ---------------- film ticker ---------------- */

.ticker {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: #08080b;
  overflow: hidden;
}
.sprockets {
  height: 15px; background-color: #0c0c0f;
  background-image: radial-gradient(ellipse 3.6px 4.6px at 11px 7.5px, var(--bg) 62%, transparent 68%);
  background-size: 22px 15px;
}
.sprockets + .track-wrap { border-top: 1px solid var(--line-soft); }
.track-wrap { border-bottom: 1px solid var(--line-soft); padding: 15px 0; }
.track {
  display: flex; width: max-content; gap: 0;
  animation: ticker-run 46s linear infinite;
}
.track span {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .3em;
  color: var(--dim); white-space: nowrap; padding-right: 3.2em;
}
.track span i { font-style: normal; color: var(--red); padding-right: 3.2em; }
@keyframes ticker-run { to { transform: translateX(-50%); } }

/* ---------------- shared section chrome ---------------- */

.wrap { max-width: 1220px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 60px); }

.section { padding: clamp(90px, 12vw, 150px) 0; position: relative; }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .36em; color: var(--red);
}
.eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--red); }

.section h2 {
  font-family: var(--disp); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.7rem, 6.5vw, 4.8rem); letter-spacing: .012em;
  color: var(--ink); margin: .32em 0 .3em;
}
.section-sub {
  font-size: 1.12rem; line-height: 1.7; color: var(--dim); max-width: 580px;
}

/* reveal-on-scroll */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 1s ease, transform 1s cubic-bezier(.16, .84, .28, 1);
  transition-delay: var(--d, 0s);
}
.reveal.lit { opacity: 1; transform: none; }

/* ---------------- games / contact sheet ---------------- */

#games .sheet { margin-top: clamp(60px, 8vw, 110px); display: grid; gap: clamp(100px, 12vw, 170px); }

.frame {
  display: grid; grid-template-columns: minmax(300px, 430px) 1fr;
  gap: clamp(40px, 6vw, 84px); align-items: center;
}
.frame.flip { grid-template-columns: 1fr minmax(300px, 430px); }
.frame.flip .frame-art { order: 2; }

/* per-game accent */
.frame[data-g="celestia"] { --acc: #c79aff; }
.frame[data-g="darkroom"] { --acc: #4fd8c8; }
.frame[data-g="dome"]     { --acc: #f2c14e; }
.frame[data-g="monster"]  { --acc: #ff9440; }

.art-card {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  background: #0a0a0c; border: 1px solid var(--line);
  transform-style: preserve-3d; will-change: transform;
  transition: border-color .5s ease, box-shadow .5s ease;
}
.frame:hover .art-card {
  border-color: color-mix(in srgb, var(--acc) 45%, var(--line));
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9),
              0 0 70px -30px color-mix(in srgb, var(--acc) 55%, transparent);
}
.art-bg, .art-char {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center bottom;
  transition: transform 1.1s cubic-bezier(.19, .6, .22, 1);
}
.art-char { --ty: 0%; transform: translateY(var(--ty)); }
.frame[data-g="darkroom"] .art-char { --ty: 7%; }
.frame:hover .art-bg { transform: scale(1.07); }
.frame:hover .art-char { transform: scale(1.045) translateY(calc(var(--ty) - 8px)); }
.art-card .dimmed { filter: brightness(.52) saturate(.85) contrast(1.04); }
.art-logo {
  position: absolute; top: 4%; left: 50%; width: 72%;
  transform: translateX(-50%);
  transition: transform .9s cubic-bezier(.19, .6, .22, 1);
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .75));
}
.frame:hover .art-logo { transform: translateX(-50%) scale(1.045); }
.art-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 6, 8, .3) 0%, transparent 26% 60%, rgba(6, 6, 8, .78) 100%);
}
/* viewfinder corners on art */
.corner {
  position: absolute; width: 17px; height: 17px; z-index: 4;
  border: 0 solid color-mix(in srgb, var(--acc, #888) 75%, #fff 6%);
  opacity: .8; transition: opacity .4s;
}
.frame:hover .corner { opacity: 1; }
.corner.tl { top: 11px; left: 11px; border-top-width: 1.5px; border-left-width: 1.5px; }
.corner.tr { top: 11px; right: 11px; border-top-width: 1.5px; border-right-width: 1.5px; }
.corner.bl { bottom: 11px; left: 11px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.corner.br { bottom: 11px; right: 11px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

.film-edge {
  display: flex; justify-content: space-between; margin-top: 12px;
  font-family: var(--mono); font-size: 7.5px; letter-spacing: .26em; color: var(--faint);
}
.film-edge i { font-style: normal; color: var(--red); }

.fr-no {
  font-family: var(--mono); font-size: 9px; letter-spacing: .34em; color: var(--dim);
}
.fr-no b { font-weight: 400; color: var(--red); }
.frame h3 {
  font-family: var(--disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.9rem, 6vw, 4.7rem); line-height: .95; letter-spacing: .012em;
  color: var(--ink); margin: 14px 0 4px;
  text-shadow: 0 0 58px color-mix(in srgb, var(--acc) 26%, transparent);
}
.hook {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 1.35rem; color: color-mix(in srgb, var(--acc) 78%, #fff 10%);
  margin-bottom: 18px;
}
.frame .desc {
  font-size: 1.05rem; line-height: 1.75; color: var(--body); max-width: 560px;
}
.chips {
  display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 24px;
}
.chips li {
  font-family: var(--mono); font-size: 8px; letter-spacing: .2em;
  color: #b3b4bd; padding: 8px 12px; border: 1px solid var(--line);
  border-radius: 2px; transition: border-color .35s, color .35s;
}
.frame:hover .chips li { border-color: color-mix(in srgb, var(--acc) 34%, var(--line)); }
.chips li:hover { color: var(--acc); border-color: var(--acc); }

.specs {
  display: flex; flex-wrap: wrap; margin-top: 28px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 15px 0; width: fit-content;
}
.spec { display: flex; flex-direction: column; gap: 7px; padding: 0 26px; }
.spec:first-child { padding-left: 0; }
.spec + .spec { border-left: 1px solid var(--line); }
.spec span {
  font-family: var(--mono); font-size: 7px; letter-spacing: .26em; color: var(--faint);
}
.spec b {
  font-family: var(--mono); font-weight: 400; font-size: 11px;
  letter-spacing: .1em; color: var(--ink); white-space: nowrap;
}
.spec b i { font-style: normal; color: var(--acc); }

.live {
  display: inline-flex; align-items: center; gap: 11px; margin-top: 26px;
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .26em; color: var(--body);
}
.live i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 14px var(--red);
  animation: live-pulse 2.2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 14px var(--red); }
  50%      { opacity: .45; box-shadow: 0 0 4px var(--red); }
}

/* ---------------- studio ---------------- */

#studio {
  background: linear-gradient(180deg, var(--panel), #08080b);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.pull {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.55rem, 3.4vw, 2.45rem); line-height: 1.45;
  color: var(--ink); max-width: 780px; margin-top: 26px;
}
.pull em { font-style: italic; color: var(--red-hot); }
.principles {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 4vw, 56px); margin-top: clamp(50px, 7vw, 90px);
}
.prin .num {
  font-family: var(--disp); font-weight: 700; font-style: normal; font-size: 2.9rem;
  color: transparent; -webkit-text-stroke: 1px #43444d; line-height: 1;
}
.prin b {
  display: block; font-family: var(--mono); font-weight: 400; font-size: 10px;
  letter-spacing: .24em; color: var(--ink); margin: 18px 0 12px;
}
.prin p { font-size: .99rem; line-height: 1.7; color: var(--dim); }

/* ---------------- process ---------------- */

.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(26px, 3.5vw, 48px); margin-top: clamp(54px, 7vw, 90px);
}
.step { border-top: 1px solid var(--line); padding-top: 24px; position: relative; }
.step::before {
  content: ''; position: absolute; top: -1px; left: 0; width: 38px; height: 2px;
  background: var(--red);
}
.step .num {
  font-family: var(--disp); font-weight: 700; font-style: normal; font-size: 3.4rem;
  color: transparent; -webkit-text-stroke: 1px #3c3d46; line-height: 1;
}
.step b {
  display: block; font-family: var(--mono); font-weight: 400; font-size: 10.5px;
  letter-spacing: .3em; color: var(--ink); margin: 16px 0 12px;
}
.step p { font-size: .95rem; line-height: 1.68; color: var(--dim); }

.stake-note {
  margin-top: clamp(60px, 8vw, 100px); text-align: center;
}
.stake-note > div {
  display: inline-block; border: 1px solid var(--line); padding: 30px clamp(24px, 5vw, 54px);
  position: relative; max-width: 640px;
}
.stake-note b {
  display: block; font-family: var(--mono); font-weight: 400; font-size: 9px;
  letter-spacing: .34em; color: var(--red); margin-bottom: 14px;
}
.stake-note p { font-size: 1.02rem; line-height: 1.7; color: var(--body); }
.stake-note a { color: var(--ink); border-bottom: 1px solid var(--red); transition: color .3s; }
.stake-note a:hover { color: var(--red-hot); }

/* ---------------- contact ---------------- */

#contact { text-align: center; }
#contact .eyebrow { justify-content: center; }
#contact .eyebrow::after { content: ''; width: 36px; height: 1px; background: var(--red); }
#contact h2 { font-size: clamp(3.2rem, 9vw, 6.6rem); }
#contact .section-sub { margin: 0 auto; }
.btn {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 44px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .22em; color: var(--ink);
  border: 1px solid var(--red); padding: 21px 34px;
  transition: background .35s, color .35s, box-shadow .35s;
}
.btn:hover {
  background: var(--red); color: #fff;
  box-shadow: 0 0 54px rgba(225, 26, 43, .4);
}
.contact-note {
  margin-top: 40px; font-size: .9rem; color: var(--faint);
  font-family: var(--serif); font-style: italic;
}

/* ---------------- footer ---------------- */

footer { border-top: 1px solid var(--line-soft); background: #07070a; }
.foot-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 26px; flex-wrap: wrap;
  padding: 40px clamp(20px, 5vw, 60px);
  max-width: 1220px; margin: 0 auto;
}
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { width: 22px; height: 22px; opacity: .85; }
.foot-brand span { font-family: var(--mono); font-size: 8.5px; letter-spacing: .22em; color: var(--dim); }
.foot-links { display: flex; gap: 26px; list-style: none; flex-wrap: wrap; }
.foot-links a {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .22em; color: var(--dim);
  transition: color .3s;
}
.foot-links a:hover { color: var(--red-hot); }
.foot-right { display: flex; align-items: center; gap: 16px; }
.age {
  font-family: var(--mono); font-size: 9.5px; color: var(--ink);
  border: 1px solid #3c3d46; padding: 7px 10px; letter-spacing: .1em;
}
.foot-right span { font-family: var(--mono); font-size: 8px; letter-spacing: .2em; color: var(--faint); }
.film-strip-end {
  border-top: 1px solid var(--line-soft);
  padding: 16px 20px; text-align: center;
  font-family: var(--mono); font-size: 7.5px; letter-spacing: .32em; color: #3f4048;
}
.film-strip-end i { font-style: normal; color: var(--red); opacity: .8; }

/* ---------------- legal pages ---------------- */

.page { max-width: 780px; margin: 0 auto; padding: 150px clamp(20px, 5vw, 40px) 110px; }
.page h1 {
  font-family: var(--disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.6rem, 7vw, 4.2rem); color: var(--ink); line-height: .95;
  margin: 14px 0 10px;
}
.page .updated {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .26em; color: var(--faint);
}
.page h2 {
  font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .26em;
  color: var(--ink); text-transform: uppercase;
  margin: 52px 0 16px; padding-top: 26px; border-top: 1px solid var(--line-soft);
}
.page p, .page li { font-size: 1.04rem; line-height: 1.78; color: var(--body); margin-bottom: 14px; }
.page ul { padding-left: 22px; }
.page a { color: var(--ink); border-bottom: 1px solid var(--red); transition: color .3s; }
.page a:hover { color: var(--red-hot); }
.page .backlink {
  display: inline-block; margin-bottom: 34px; border-bottom: none;
  font-family: var(--mono); font-size: 9px; letter-spacing: .26em; color: var(--dim);
}
.page .backlink:hover { color: var(--red-hot); }

/* ---------------- 404 ---------------- */

.notfound {
  min-height: 100svh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 24px;
}
.notfound img { width: 120px; margin-bottom: 30px; opacity: .9; }
.notfound h1 {
  font-family: var(--disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(3rem, 10vw, 7rem); color: var(--ink); line-height: .92;
}
.notfound h1 span { color: transparent; -webkit-text-stroke: 2px #a9aab3; }
.notfound p { margin-top: 18px; font-style: italic; color: var(--dim); font-size: 1.1rem; }

/* ---------------- responsive ---------------- */

@media (max-width: 900px) {
  .frame, .frame.flip { grid-template-columns: 1fr; gap: 34px; }
  .frame.flip .frame-art { order: 0; }
  .frame-art { max-width: 430px; }
  .principles { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .hud .tl, .hud .tr { top: 78px; }
  .spec { padding: 0 16px; }
  .spec:last-child { padding-right: 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .nav ul { gap: 14px; }
  .nav ul li:nth-child(3) { display: none; }
  .brand b { display: none; }
  .specs { row-gap: 14px; }
  .spec { border-left: none !important; padding-left: 0; padding-right: 22px; }
  .hero h1 .frame { -webkit-text-stroke-width: 1.4px; }
  .hud span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track, .mark-wrap img, .mark-wrap::before, .live i, .scroll-cue, .hero::after { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01s !important; }
}

/* screenshot/test mode (?flat): fixed hero height so tall captures don't inflate it */
html.flat .hero { min-height: 940px; }
