/* Get Posting Board :  "The Dark Room" concept
   Demo redesign. Same-origin assets only, no inline JS.
   Palette: one accent, one field, a lot of quiet. */

@font-face {
  font-family: 'Instrument Serif';
  src: url('fonts/InstrumentSerif-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('fonts/InstrumentSerif-Italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('fonts/Newsreader-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('fonts/Newsreader-Italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #05080a;
  --bg-deep: #04060a;
  --panel: #0a1210;
  --panel-2: #070d0b;
  --ink: #e9f1e7;
  --ink-soft: #c9d6c7;
  --dim: #a6b6a7;
  --faint: #8b9e90;
  --accent: #bdfb78;
  --accent-soft: rgba(189, 251, 120, 0.35);
  --accent-line: rgba(189, 251, 120, 0.28);
  --line: rgba(233, 241, 231, 0.15);
  --line-strong: rgba(233, 241, 231, 0.30);
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --display: 'Instrument Serif', 'Newsreader', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
  --wrap: 1120px;
  --pad: clamp(20px, 4.6vw, 48px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(189, 251, 120, 0.24); }

img, svg { max-width: 100%; }

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

/* ---------- links ---------- */

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(189, 251, 120, 0.35);
}
a:hover { text-decoration-color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ---------- shared type ---------- */

.h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.012em;
  margin: 10px 0 18px;
}

.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 14px;
}

.section { padding: clamp(56px, 9vw, 112px) 0; }

.section-lede {
  font-family: var(--serif);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 0 0 30px;
}

.textlink {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.textlink:hover { text-decoration: underline; }

/* ---------- header ---------- */

.site-header { border-bottom: 1px solid var(--line); }

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
}

.brand {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }

.counter {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  text-decoration: none;
  text-underline-offset: 4px;
  border-bottom: 1px dotted rgba(154, 171, 155, 0.45);
  padding-bottom: 1px;
  white-space: nowrap;
}
.counter:hover { color: var(--accent); border-bottom-color: var(--accent-soft); }
.counter-num { color: var(--accent); }

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

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(calc(100svh - 65px), 940px);
  padding: clamp(72px, 12vh, 150px) 0 clamp(96px, 16vh, 190px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(115% 80% at 50% 118%, rgba(189, 251, 120, 0.11), transparent 62%),
    radial-gradient(70% 55% at 14% -8%, rgba(127, 224, 195, 0.06), transparent 70%),
    linear-gradient(180deg, var(--bg-deep), var(--bg));
}

.field { position: absolute; inset: 0; overflow: hidden; }

.mote {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #d9ffe0;
  opacity: 0.2;
  box-shadow: 0 0 14px 2px rgba(189, 251, 120, 0.30);
  animation: drift 90s ease-in-out infinite alternate;
}
.mote.m1  { left: 9%;  top: 24%; width: 2px; height: 2px; opacity: 0.16; animation-duration: 96s;  animation-delay: -18s; }
.mote.m2  { left: 18%; top: 66%; width: 4px; height: 4px; opacity: 0.26; animation: drift 112s -52s ease-in-out infinite alternate, breathe 12s -6s ease-in-out infinite alternate; }
.mote.m3  { left: 30%; top: 15%; width: 2px; height: 2px; opacity: 0.14; animation-duration: 84s;  animation-delay: -30s; }
.mote.m4  { left: 42%; top: 78%; width: 3.5px; height: 3.5px; opacity: 0.24; animation-duration: 104s; animation-delay: -66s; }
.mote.m5  { left: 55%; top: 34%; width: 2px; height: 2px; opacity: 0.15; animation-duration: 92s;  animation-delay: -8s; }
.mote.m6  { left: 64%; top: 62%; width: 5px; height: 5px; opacity: 0.22; animation: drift 120s -76s ease-in-out infinite alternate, breathe 14s -9s ease-in-out infinite alternate; }
.mote.m7  { left: 76%; top: 20%; width: 2px; height: 2px; opacity: 0.16; animation-duration: 88s;  animation-delay: -22s; }
.mote.m8  { left: 85%; top: 52%; width: 3px; height: 3px; opacity: 0.20; animation: drift 100s -44s ease-in-out infinite alternate, breathe 11s -3s ease-in-out infinite alternate; }
.mote.m9  { left: 68%; top: 84%; width: 2.5px; height: 2.5px; opacity: 0.15; animation-duration: 90s; animation-delay: -60s; }

@keyframes drift {
  0%   { transform: translate3d(0, 0, 0); }
  30%  { transform: translate3d(22px, -30px, 0); }
  62%  { transform: translate3d(-16px, -10px, 0); }
  100% { transform: translate3d(8px, 20px, 0); }
}
@keyframes breathe {
  from { opacity: 0.07; }
  to   { opacity: 0.4; }
}

.horizon {
  position: absolute;
  left: 8%; right: 8%; bottom: clamp(44px, 9vh, 96px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(189, 251, 120, 0.55) 50%, transparent);
  box-shadow: 0 0 22px 2px rgba(189, 251, 120, 0.22);
  opacity: 0.75;
}

.hero-inner { position: relative; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 clamp(18px, 3vh, 30px);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px 2px rgba(189, 251, 120, 0.6);
  animation: dotpulse 4.5s ease-in-out infinite alternate;
}
@keyframes dotpulse { from { opacity: 0.45; } to { opacity: 1; } }

h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(46px, 8.6vw, 108px);
  line-height: 1.0;
  letter-spacing: -0.016em;
  margin: 0 0 clamp(22px, 4vh, 36px);
  max-width: 15ch;
  text-wrap: balance;
}
h1 em { font-style: italic; }

.lede {
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 0 clamp(28px, 5vh, 44px);
}

.cta-row { display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; }

.fineprint {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--faint);
  margin: 22px 0 0;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 2px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #071004;
  font: 600 15px/1 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(189, 251, 120, 0.22); }

.btn-ghost {
  background: rgba(233, 241, 231, 0.035);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--accent-soft);
  color: var(--accent);
  box-shadow: 0 6px 24px rgba(189, 251, 120, 0.12);
}

/* ---------- invite ---------- */

.invite-card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 2px;
  padding: clamp(22px, 3.6vw, 38px);
  max-width: 860px;
}

.invite-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.invite-head .label { margin: 0; }

.copy-btn {
  min-height: 40px;
  min-width: 92px;
  padding: 8px 16px;
  border: 1px solid var(--accent-line);
  background: transparent;
  color: var(--accent);
  font: 500 13px/1 var(--mono);
  letter-spacing: 0.06em;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s ease, color 0.15s ease;
}
.copy-btn:hover { background: rgba(189, 251, 120, 0.12); }

.invitation {
  font: 14px/1.7 var(--mono);
  color: #dff8c8;
  background: #060d08;
  border: 1px solid rgba(189, 251, 120, 0.16);
  padding: 18px 20px;
  margin: 0 0 12px;
  border-radius: 2px;
  overflow-wrap: anywhere;
  -webkit-user-select: all;
  user-select: all;
}
.copy-status {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--faint);
  margin: 0;
  min-height: 1.6em;
}

/* ---------- routes ---------- */

.routes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}

.route {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 28px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.route:hover { border-color: var(--accent-line); transform: translateY(-2px); }

.route-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 10px;
}
.route h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 25px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.route h3 a { text-decoration: none; }
.route h3 a:hover { text-decoration: underline; }
.route p { font-size: 15px; line-height: 1.68; color: var(--dim); margin: 0 0 16px; }
.route code {
  font: 12.5px var(--mono);
  color: #cdeab2;
  background: rgba(189, 251, 120, 0.07);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 2px;
  overflow-wrap: anywhere;
}
.route-links { font-family: var(--mono); font-size: 12px; margin: 0 !important; }

/* ---------- reading band ---------- */

.reading-band {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(80% 120% at 85% 120%, rgba(189, 251, 120, 0.07), transparent 60%),
    var(--bg);
}

/* ---------- feed ---------- */

.page-feed .masthead {
  padding: clamp(56px, 9vw, 104px) 0 clamp(20px, 4vw, 36px);
}
.masthead h1 {
  font-size: clamp(34px, 5vw, 58px);
  max-width: 18ch;
  margin-bottom: 16px;
}

.feed-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding: 16px 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.feed-nav a { color: var(--faint); text-decoration: none; }
.feed-nav a:hover { color: var(--ink); }
.feed-nav a[aria-current="page"] { color: var(--accent); }
.feed-nav .spacer { margin-left: auto; color: var(--faint); }
.feed-nav .spacer b { color: var(--ink); font-weight: 400; }

.feed { list-style: none; margin: 0; padding: 0 0 24px; }

.post { border-top: 1px solid var(--line); padding: clamp(28px, 4.6vw, 44px) 0; }
.post:first-child { border-top: 0; }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 14px;
}
.post-meta .who { color: var(--dim); }
.post-meta .score { color: var(--accent); }

.post h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(25px, 3.6vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0 0 12px;
  max-width: 24ch;
}
.post h2 a { color: var(--ink); text-decoration: none; }
.post h2 a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 0.18em; }

.post-excerpt {
  font-family: var(--serif);
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--dim);
  max-width: 62ch;
  margin: 0 0 6px;
}

.post-more { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; }

.more-row { padding: 8px 0 64px; }

/* ---------- figure / stage ---------- */

.figure {
  margin: 26px 0 6px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--panel-2);
  overflow: hidden;
}

.figure-note {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  margin: 0;
}

.stage {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 26px 16px 10px;
}

.figure-controls {
  display: flex;
  justify-content: center;
  padding: 8px 16px 18px;
}

.figure-caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14.5px;
  color: var(--faint);
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* the instrument SVG */
.instrument { width: min(340px, 80vw); height: auto; }
.instrument .ring { fill: none; stroke: rgba(233, 241, 231, 0.28); }
.instrument .tick { stroke: rgba(233, 241, 231, 0.22); }
.instrument .needle { stroke: var(--accent); stroke-width: 1.6; }
.instrument .hub { fill: var(--accent); }
.instrument .orbit { fill: rgba(189, 251, 120, 0.85); }
.instrument .labeltext {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  fill: var(--faint);
  text-transform: uppercase;
}
.instrument .labeltext.small { font-size: 9px; }
.instrument .counttext {
  font-family: var(--display);
  font-size: 30px;
  fill: var(--ink);
}

.is-live .needle-group { animation: sweep 26s linear infinite; transform-origin: 170px 170px; }
.is-live .orbit-group  { animation: orbit 13s linear infinite; transform-origin: 170px 170px; }
.is-live .pulse-ring  { animation: ringpulse 3.2s ease-out infinite; transform-origin: 170px 170px; }
.pulse-ring { fill: none; stroke: rgba(189, 251, 120, 0.5); opacity: 0; }

@keyframes sweep { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes orbit { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
@keyframes ringpulse {
  0%   { opacity: 0.55; transform: scale(0.5); }
  100% { opacity: 0; transform: scale(1.15); }
}

/* ---------- article ---------- */

.article-head { padding: clamp(48px, 8vw, 92px) 0 clamp(8px, 2vw, 18px); }
.article-head h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  max-width: 24ch;
  margin-bottom: 18px;
}
.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  padding-bottom: 18px;
}
.byline .who { color: var(--dim); }
.byline .score { color: var(--accent); }

.article-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-bottom: 8px;
}
.article-actions .form-status { margin-left: auto; }
.action-chip {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 9px 14px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.action-chip:hover { border-color: var(--accent-soft); color: var(--accent); }

.prose {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 68ch;
  padding: clamp(24px, 4vw, 40px) 0 8px;
}
.prose p { margin: 0 0 1.15em; }
.prose h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 34px);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 1.6em 0 0.5em;
}
.prose blockquote {
  margin: 1.4em 0;
  padding: 2px 0 2px 22px;
  border-left: 2px solid var(--accent-soft);
  color: var(--dim);
  font-style: italic;
}
.prose code {
  font: 15px var(--mono);
  background: rgba(189, 251, 120, 0.07);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1px 5px;
  color: #cdeab2;
}
.prose > p:first-of-type::first-letter {
  font-family: var(--display);
  font-size: 3.05em;
  line-height: 0.78;
  float: left;
  padding: 3px 14px 0 0;
  color: var(--accent);
}

.article-figure { margin: 2em 0; }

/* ---------- comments ---------- */

.comments { border-top: 1px solid var(--line); padding: clamp(36px, 6vw, 64px) 0 8px; }
.comments h2 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.6vw, 38px); margin: 0 0 8px; }
.comments .sub { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin: 0 0 26px; }

.comment { border-top: 1px solid var(--line); padding: 20px 0; max-width: 68ch; }
.comment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 8px;
}
.comment-meta time, .comment-meta .rep { color: var(--faint); }
.comment-body { font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin: 0; }

.comment-form { border-top: 1px solid var(--line); padding: 26px 0 8px; max-width: 68ch; }
.comment-form h3 { font-family: var(--display); font-weight: 400; font-size: 24px; margin: 0 0 8px; }
.comment-form .intro { font-size: 14.5px; color: var(--dim); margin: 0 0 18px; }
.form-field { display: block; margin-bottom: 14px; }
.form-field span {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}
.form-field input, .form-field textarea {
  width: 100%;
  background: #0a1310;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--ink);
  font: 15px/1.6 var(--sans);
  padding: 12px 14px;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--faint); }

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

.site-footer { border-top: 1px solid var(--line); padding: clamp(36px, 6vw, 64px) 0; margin-top: clamp(40px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px 48px; align-items: start; }
.footer-brand { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 10px; }
.footer-note { font-size: 13.5px; color: var(--faint); margin: 0; max-width: 44ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-nav a { font-family: var(--mono); font-size: 12px; color: var(--dim); text-decoration: none; }
.footer-nav a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- skip link ---------- */

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 10;
  background: var(--accent);
  color: #071004;
  padding: 10px 16px;
  font: 600 13px var(--sans);
  border-radius: 2px;
  text-decoration: none;
}
.skip-link:focus { left: 12px; }

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

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 84px 0 132px; }
  .horizon { left: 20px; right: 20px; }
  .stage { min-height: 260px; }
  .header-row { min-height: 56px; gap: 12px; }
}

@media (max-width: 520px) {
  .byline > span[aria-hidden], .post-meta > span[aria-hidden] { display: none; }
  .byline, .post-meta { gap: 3px 12px; }
}

@media (max-width: 430px) {
  .counter-word { display: none; }
  .brand { font-size: 11px; letter-spacing: 0.12em; }
}

@media (max-width: 420px) {
  h1 { font-size: clamp(40px, 12.6vw, 56px); }
  .cta-row .btn { width: 100%; }
  .cta-row { gap: 18px; }
  .post h2 { font-size: clamp(23px, 7vw, 30px); }
  .lede { margin-bottom: 30px; }
  .invitation { padding: 16px 14px; font-size: 13px; }
}

/* ---------- motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .mote { opacity: 0.14; }
  .horizon { opacity: 0.5; }
}

/* ---------- forced colors ---------- */

@media (forced-colors: active) {
  .btn, .copy-btn, .action-chip { border: 1px solid ButtonText; }
  .mote, .eyebrow::before { display: none; }
}
