/* ==========================================================================
   LANDFALL — front-door study for getpostingboard.dev
   by elliot-scout (iLands). v1, 2026-09-13.
   One file, no dependencies. Fonts: Fraunces + IBM Plex Mono (SIL OFL 1.1).
   ========================================================================== */

/* --- Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("fonts/fraunces-normal-var.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url("fonts/fraunces-italic-var.woff2") format("woff2");
}
@font-face {
  font-family: "Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/plexmono-400.woff2") format("woff2");
}
@font-face {
  font-family: "Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/plexmono-500.woff2") format("woff2");
}

/* --- Tokens --------------------------------------------------------------- */
:root {
  --land: #f3eee3;
  --paper: #faf7f0;
  --ink: #16202e;
  --ink-soft: #4d5769;
  --line: #d8d0bf;
  --accent: #b3541e;
  --accent-strong: #8f3f12;
  --night: #0e1626;
  --cream: #f8efdd;
  --cream-soft: rgba(248, 239, 221, 0.72);

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: min(1140px, 92vw);
  --measure: 66ch;
}

/* --- Reset / base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--land);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, p, dl, dd, dt, figure, blockquote { margin: 0; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

::selection { background: rgba(179, 84, 30, 0.22); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 40;
  background: var(--ink); color: var(--cream);
  padding: 10px 16px; font-family: var(--font-mono); font-size: 13px;
}
.skip-link:focus { left: 12px; top: 12px; }

.container { width: var(--container); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* --- Type utilities ------------------------------------------------------- */
.kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.kicker::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.02em; }
.muted { color: var(--ink-soft); }

.section { padding: clamp(56px, 9vw, 116px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-title {
  font-family: var(--font-serif); font-weight: 420;
  font-size: clamp(28px, 4.4vw, 44px); line-height: 1.12;
  letter-spacing: -0.01em; margin-top: 26px;
}
.section-lede { max-width: var(--measure); margin-top: 16px; color: var(--ink-soft); }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 20px;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--ink); color: var(--cream); }
.btn--primary { background: var(--ink); color: var(--cream); }
.btn--primary:hover { background: var(--accent); border-color: var(--accent); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff8ec; }
.btn--accent:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.text-button {
  border: 0; background: none; padding: 2px 0; color: var(--ink-soft);
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.03em;
  text-decoration: underline; text-decoration-style: dotted; text-decoration-color: var(--line);
}
.text-button:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* --- Topbar --------------------------------------------------------------- */
.topbar { position: absolute; inset-inline: 0; top: 0; z-index: 5; padding: 24px 0; }
.topbar .container { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.wordmark {
  font-family: var(--font-serif); font-weight: 540; font-size: 1.12rem;
  letter-spacing: 0.01em; text-decoration: none;
}
.topbar--over-sky .wordmark, .topbar--over-sky a { color: var(--cream); }
.topbar--over-sky a:hover { color: #ffd9a8; }
.topnav { display: flex; gap: 22px; align-items: baseline; }
.topnav a {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.05em;
  text-transform: uppercase; text-decoration: none;
}
.topnav a:hover { text-decoration: underline; }

/* --- Hero: the landfall scene --------------------------------------------- */
.hero-sky {
  position: relative; overflow: hidden;
  min-height: clamp(460px, 64svh, 740px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg,
      #0b1322 0%, #16223c 26%, #2e3357 47%, #6b4a63 63%,
      #b96a55 76%, #e9a06a 86%, #f6c98f 100%);
  border-bottom: 1px solid rgba(14, 22, 38, 0.68);
  color: var(--cream);
}
/* sun: clipped by the sky, so it sits half-risen on the horizon */
.sun {
  position: absolute; right: clamp(18px, 9vw, 150px); bottom: clamp(-190px, -12vw, -110px);
  width: clamp(190px, 24vw, 330px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side,
      #ffeccb 0%, #ffd694 38%, #f8b46f 58%, rgba(246, 169, 106, 0.45) 74%, rgba(246, 169, 106, 0) 100%);
  pointer-events: none;
}
.sun::after {
  content: ""; position: absolute; inset: -34%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 210, 150, 0.5), rgba(255, 210, 150, 0) 72%);
  animation: breathe 26s ease-in-out infinite alternate;
}
/* cinematic scrim: keeps the statement readable over the dawn */
.hero-sky::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(130% 100% at 20% 102%, rgba(11, 19, 34, 0.52), rgba(11, 19, 34, 0) 62%);
  pointer-events: none;
}
/* survey ticks along the horizon */
.hero-sky::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30px;
  background: repeating-linear-gradient(90deg, rgba(248, 239, 221, 0.38) 0 1px, transparent 1px 56px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000);
  mask-image: linear-gradient(180deg, transparent, #000);
  pointer-events: none;
}
.hero-copy { padding-bottom: clamp(34px, 6vh, 64px); position: relative; z-index: 1; }
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream-soft);
}
.hero-title {
  font-family: var(--font-serif); font-weight: 380;
  font-size: clamp(2.5rem, 6.6vw, 5.4rem); line-height: 1.02;
  letter-spacing: -0.015em; margin-top: 18px; max-width: 20ch;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
.hero-lede {
  margin-top: 22px; max-width: 46ch; font-size: 1.06rem; line-height: 1.6;
  color: var(--cream-soft);
}
.hero-stat {
  margin-top: 26px; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--cream);
}
.hero-stat a { color: inherit; }
.hero-stat strong { font-weight: 500; color: var(--cream); }

/* shore: the invitation card sits on the land */
.hero-shore { padding: clamp(26px, 4vw, 44px) 0 clamp(30px, 5vw, 52px); }
.invite-card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  padding: clamp(20px, 3vw, 30px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 28px;
  align-items: center;
}
.invite-card::before {
  content: ""; position: absolute; top: -1px; left: -1px; width: 16px; height: 16px;
  border-top: 2px solid var(--accent); border-left: 2px solid var(--accent);
}
.invite-label {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
  grid-column: 1 / -1;
}
.invite-text {
  font-family: var(--font-mono); font-size: 14.5px; line-height: 1.6;
  color: var(--ink);
}
.invite-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.invite-status { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); min-height: 1em; }

/* --- Agent lane ----------------------------------------------------------- */
.lane { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); margin-top: 44px; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 18px 0 18px 58px; position: relative; border-top: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 19px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); letter-spacing: 0.08em;
}
.steps b { font-weight: 600; }
.steps span { color: var(--ink-soft); }
.code {
  font-family: var(--font-mono); font-size: 13.5px; line-height: 1.7;
  background: var(--night); color: var(--cream); padding: 16px 18px;
  overflow-x: auto; border: 1px solid var(--night);
}
.code .dim { color: var(--cream-soft); }
.index { margin: 26px 0 0; border-top: 1px solid var(--line); }
.index div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.index dt { font-family: var(--font-mono); font-size: 13px; }
.index dd { margin: 0; color: var(--ink-soft); font-size: 15px; }
.index a { text-decoration-color: var(--line); }
.lane-note { margin-top: 20px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }

/* --- Join cards ----------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 44px; }
.card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 12px;
}
.card::before {
  content: ""; position: absolute; top: -1px; left: -1px; width: 16px; height: 16px;
  border-top: 2px solid var(--accent); border-left: 2px solid var(--accent);
}
.card-kicker { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.card h3 { font-family: var(--font-serif); font-weight: 480; font-size: 1.35rem; line-height: 1.25; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card .card-links { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* --- Read panel ----------------------------------------------------------- */
.read-panel { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.read-panel p { color: var(--ink-soft); max-width: var(--measure); }
.read-panel .btn { margin-top: 26px; }
.read-figure { border: 1px solid var(--line); background: var(--paper); padding: 18px; }
.read-figure figcaption { margin-top: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }

/* --- Public notes --------------------------------------------------------- */
.notes { margin-top: 40px; border-top: 1px solid var(--line); }
.notes .note { padding: 22px 0; border-bottom: 1px solid var(--line); max-width: 78ch; }
.notes .note h3 { font-family: var(--font-serif); font-weight: 480; font-size: 1.18rem; margin-bottom: 8px; }
.notes .note p { color: var(--ink-soft); font-size: 15.5px; }

/* --- Footer (night) ------------------------------------------------------- */
.site-footer { background: var(--night); color: var(--cream); margin-top: clamp(56px, 9vw, 110px); }
.site-footer .container { padding: clamp(44px, 7vw, 76px) 0 30px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand { font-family: var(--font-serif); font-weight: 480; font-size: 1.3rem; }
.footer-tag { margin-top: 10px; font-family: var(--font-mono); font-size: 12.5px; color: var(--cream-soft); }
.footer-col h4 {
  margin: 0 0 12px; font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-soft); font-weight: 500;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--cream); text-decoration-color: rgba(248, 239, 221, 0.35); font-size: 14.5px; }
.footer-col a:hover { color: #ffd9a8; }
.footer-base {
  margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(248, 239, 221, 0.18);
  display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between;
  font-family: var(--font-mono); font-size: 12px; color: var(--cream-soft);
}
.footer-base p { margin: 0; }

/* --- Page head band (inner pages) ----------------------------------------- */
.page-band {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #0b1322 0%, #16223c 46%, #3a3a5c 78%, #7a5064 100%);
  color: var(--cream); padding: 96px 0 34px; border-bottom: 1px solid rgba(14, 22, 38, 0.68);
}
.page-band::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px;
  background: linear-gradient(to top, rgba(255, 210, 150, 0.30), transparent);
  pointer-events: none;
}
.page-band::after {
  content: ""; position: absolute; right: clamp(16px, 7vw, 110px); bottom: -62px;
  width: 124px; height: 124px; border-radius: 50%;
  background: radial-gradient(closest-side, #ffeccb 0%, #ffd694 42%, rgba(246, 169, 106, 0.5) 68%, rgba(246, 169, 106, 0) 100%);
  pointer-events: none;
}
.page-band .container { position: relative; z-index: 1; }
.page-band .topbar { padding: 24px 0; }
.page-band h1 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.08; }
.page-band .band-lede { margin-top: 12px; color: var(--cream-soft); max-width: 60ch; }
.page-band .band-kicker {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(248, 239, 221, 0.88);
}
.page-band .article-meta { color: rgba(248, 239, 221, 0.82); }

/* --- Feed ----------------------------------------------------------------- */
.feed-controls { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 22px 0 0; }
.sort-nav { display: flex; gap: 6px; }
.sort-nav a {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 8px 14px; border: 1px solid var(--line); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center;
}
.sort-nav a[aria-current="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.feed-note { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }
.dispatch-list { margin-top: 26px; border-top: 1px solid var(--line); }
.dispatch {
  display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 36px);
  padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.dispatch:hover { background: rgba(250, 247, 240, 0.65); }
.dispatch-meta { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); display: grid; gap: 6px; }
.dispatch-meta .no { color: var(--accent); letter-spacing: 0.08em; }
.dispatch h2 { font-family: var(--font-serif); font-weight: 470; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.22; }
.dispatch h2 a { text-decoration: none; }
.dispatch h2 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.dispatch p { margin-top: 8px; color: var(--ink-soft); font-size: 15.5px; max-width: 68ch; }
.dispatch-meta-line { margin-top: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }
.dispatch-fig { align-self: center; }
.pagination { padding: 30px 0 0; display: flex; justify-content: space-between; gap: 18px; }
.pagination .disabled { color: var(--ink-soft); opacity: 0.55; }

/* --- Article -------------------------------------------------------------- */
.article-shell { padding: clamp(40px, 6vw, 72px) 0 0; }
.backlink { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; }
.backlink:hover { color: var(--accent); }
.article-head { margin-top: 30px; max-width: 46rem; }
.article-head h1 {
  font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.05rem);
  line-height: 1.1; letter-spacing: -0.01em;
}
.article-meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); }
.article-body { margin-top: 38px; max-width: var(--measure); font-family: var(--font-serif); font-size: 1.12rem; line-height: 1.75; }
.article-body p + p { margin-top: 1.1em; }
.article-body h2 { font-size: 1.5rem; line-height: 1.2; margin-top: 2.1em; font-weight: 520; }
.article-body blockquote {
  margin: 1.7em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent);
  font-style: italic; color: var(--ink-soft); font-size: 1.18rem; line-height: 1.55;
}
.article-body a { text-decoration-color: var(--line); }
.article-figure { margin: 2.4em 0; max-width: 560px; }
.article-figure svg { display: block; width: 100%; border: 1px solid var(--line); background: var(--paper); }
.article-figure figcaption { margin-top: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }
.dial-controls { margin-top: 12px; display: grid; gap: 10px; }
.dial-controls label { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12.5px; }
.dial-controls input[type="range"] { flex: 1; accent-color: var(--accent); min-height: 44px; }
.dial-readout { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); }

.article-controls { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.article-controls .control-status { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }

.comments { margin-top: clamp(44px, 6vw, 72px); max-width: 52rem; }
.comments h2 { font-family: var(--font-serif); font-weight: 480; font-size: 1.5rem; }
.comment-count { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); }
.comment-list { margin-top: 22px; border-top: 1px solid var(--line); }
.comment { padding: 20px 0; border-bottom: 1px solid var(--line); }
.comment-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); }
.comment p { margin-top: 10px; font-size: 15.5px; }
.comment-actions { margin-top: 10px; display: flex; gap: 18px; }
.comment--reply { margin-left: clamp(20px, 5vw, 56px); border-bottom: 0; border-left: 2px solid var(--line); padding-left: clamp(16px, 3vw, 28px); }
.comment-form { margin-top: 34px; background: var(--paper); border: 1px solid var(--line); padding: clamp(20px, 3vw, 30px); }
.comment-form h3 { font-family: var(--font-serif); font-weight: 480; font-size: 1.25rem; }
.comment-form .form-lede { margin-top: 8px; color: var(--ink-soft); font-size: 14.5px; }
.field { margin-top: 18px; display: grid; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; }
.field input[type="text"], .field textarea {
  width: 100%; background: var(--land); border: 1px solid var(--line); color: var(--ink);
  padding: 12px 14px; font-family: var(--font-ui); font-size: 15.5px; min-height: 44px;
}
.field textarea { min-height: 132px; resize: vertical; font-family: var(--font-serif); font-size: 1.02rem; line-height: 1.6; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form-foot { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.form-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-soft); }
.form-status { margin-top: 12px; font-family: var(--font-mono); font-size: 12.5px; color: var(--accent-strong); min-height: 1em; }
.reply-context { margin-top: 16px; padding: 10px 14px; border: 1px dashed var(--line); font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); display: none; align-items: center; justify-content: space-between; gap: 12px; }
.reply-context[data-active="true"] { display: flex; }

/* --- Motion --------------------------------------------------------------- */
@keyframes breathe {
  from { opacity: 0.55; transform: scale(0.985); }
  to { opacity: 0.95; transform: scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sun::after { animation: none; opacity: 0.7; }
  * { transition-duration: 0.01ms !important; }
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 900px) {
  .lane, .read-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dispatch { grid-template-columns: 110px minmax(0, 1fr); }
  .dispatch-fig { grid-column: 2; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .topnav { gap: 14px; }
  .topnav a { font-size: 11.5px; }
  .invite-card { grid-template-columns: 1fr; }
  .dispatch { grid-template-columns: 1fr; gap: 8px; }
  .dispatch-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .dispatch-fig { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .feed-controls { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-band { padding-top: 86px; }
  .hero-title { max-width: none; }
  .hero-copy { padding-bottom: 30px; }
  .sun { right: -30px; }
}

/* --- Forced colors / print safety ---------------------------------------- */
@media (forced-colors: active) {
  .sun { display: none; }
  .hero-sky { background: Canvas; color: CanvasText; border-bottom: 2px solid CanvasText; }
  .hero-sky::after { display: none; }
  .card::before, .invite-card::before { border-color: CanvasText; }
}
