/* pyroluxa - the evening gazette of Macau
   Night newsroom. One accent light. Hairlines instead of boxes. Radius 0 everywhere. */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Narrow:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Roboto+Mono:wght@400;500&display=swap');

:root {
  --night: #1a1a1a;
  --night-deep: #101010;
  --surface: #242424;
  --rule: #343434;
  --rule-soft: #2b2b2b;
  --paper: #f6f4ef;
  --paper-2: #a8a49c;
  --ash: #6f6b66;
  --light: #ff9d2e;
  --chart-gray: #8a8a8a;

  --display: 'Archivo Narrow', 'Arial Narrow', system-ui, sans-serif;
  --text: 'Archivo Narrow', 'Arial Narrow', system-ui, sans-serif;
  --mono: 'Roboto Mono', ui-monospace, monospace;

  --gut: clamp(16px, 5vw, 76px);
  --col-gap: clamp(20px, 3vw, 44px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: var(--text);
  font-size: clamp(16px, 0.55vw + 15px, 18px);
  line-height: 1.55;
  font-synthesis-weight: none;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--paper); text-decoration-color: var(--ash); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--light); }

:focus-visible { outline: 2px solid var(--light); outline-offset: 3px; }

/* ---------- shared bits ---------- */

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--light); color: #1a1a1a; padding: 10px 16px;
  font-family: var(--mono); font-size: 13px;
}
.skip:focus { left: 0; }

.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
}

.lede { font-size: clamp(19px, 1.1vw + 16px, 25px); line-height: 1.42; color: var(--paper); font-weight: 400; }

.measure { max-width: 66ch; }
.measure-tight { max-width: 54ch; }

/* the single accent line of light */
.lightline {
  height: 2px; border: 0; margin: 0;
  background: linear-gradient(90deg, var(--light) 0%, rgba(255,157,46,0.35) 38%, rgba(255,157,46,0) 78%);
}

/* ---------- masthead ---------- */

.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--night-deep);
  position: relative;
  z-index: 5;
}

.masthead-inner {
  padding: 12px var(--gut);
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 3vw, 40px);
}

.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 25px;
  letter-spacing: -0.03em;
  text-transform: lowercase;
  text-decoration: none;
  color: var(--paper);
  line-height: 1;
  white-space: nowrap;
}
.wordmark .dot { color: var(--light); }

.masthead-slug {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  margin-right: auto;
}
/* the slug carries the auto margin; when it goes, the nav has to take over */
@media (max-width: 900px) {
  .masthead-slug { display: none; }
  .nav { margin-left: auto; }
}

.nav { display: flex; gap: clamp(12px, 1.6vw, 26px); align-items: baseline; }
.nav a {
  font-family: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--paper-2);
  white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--light); }

.burger {
  display: none;
  background: none; border: 1px solid var(--rule); color: var(--paper);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  padding: 7px 11px; cursor: pointer; text-transform: uppercase;
}
.burger:hover { border-color: var(--light); }

@media (max-width: 780px) {
  .burger { display: block; margin-left: auto; }
  .nav {
    margin-left: 0;
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: var(--night-deep);
    border-bottom: 1px solid var(--rule);
    padding: 4px var(--gut) 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; border-bottom: 1px solid var(--rule-soft); font-size: 17px; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--light); }
}

/* ---------- hero (front page) ---------- */

.frontpage {
  position: relative;
  border-bottom: 1px solid var(--rule);
  isolation: isolate;
}

.frontpage-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.42;
  z-index: -2;
}
.frontpage::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(16,16,16,0.72) 0%, rgba(16,16,16,0.55) 45%, rgba(26,26,26,0.95) 100%);
}

.frontpage-inner {
  padding: clamp(46px, 8vw, 92px) var(--gut) clamp(30px, 4vw, 46px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.4vw, 30px);
}
@media (min-width: 1024px) {
  .frontpage-inner { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: end; }
}

.frontpage h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.032em;
  margin: 0;
  text-wrap: balance;
}
.frontpage h1 em { font-style: italic; color: var(--light); }

.frontpage-side { border-top: 1px solid var(--rule); padding-top: 16px; }
@media (min-width: 1024px) { .frontpage-side { border-top: 0; border-left: 1px solid var(--rule); padding: 4px 0 4px clamp(18px, 2vw, 30px); } }

.frontpage-sub { margin: 0 0 20px; color: var(--paper); font-size: clamp(17px, 0.7vw + 15px, 20px); line-height: 1.45; }

.trustline { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--paper-2); margin: 18px 0 0; line-height: 1.7; text-transform: uppercase; }

/* buttons */
.btn {
  display: inline-block;
  font-family: var(--text); font-weight: 700; font-size: 16px;
  letter-spacing: 0.01em;
  padding: 12px 22px;
  border: 0;
  background: var(--light);
  color: #1a1a1a;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 140ms ease-out, background-color 140ms ease-out;
}
.btn:hover { background: #ffb055; }
.btn:active { transform: translateY(1px); }

.btn-ghost {
  display: inline-block;
  font-family: var(--text); font-weight: 600; font-size: 15px;
  padding: 11px 18px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--light); }

/* ---------- generic section frame ---------- */

.band { padding: clamp(44px, 6vw, 86px) var(--gut); border-bottom: 1px solid var(--rule); }
.band-tight { padding-block: clamp(32px, 4vw, 54px); }
.band-deep { background: var(--night-deep); }

.band > h2, .band > .band-head > h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.024em;
  margin: 0 0 10px;
}

.band-head { margin-bottom: clamp(24px, 3vw, 40px); }
.band-head p { margin: 0; color: var(--paper-2); }

/* ---------- who writes this (offset narrow column, no image) ---------- */

.editors { display: grid; gap: clamp(26px, 3vw, 46px); }
@media (min-width: 900px) { .editors { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }

.editors h2 { margin-bottom: 18px; }
.editors p { margin: 0 0 14px; }
.editors .byline-note {
  border-left: 2px solid var(--light);
  padding-left: 16px;
  color: var(--paper);
  font-style: italic;
  margin-top: 22px;
}

.staff { border-top: 1px solid var(--rule); margin: 0; padding-top: 14px; }
.staff div { padding: 12px 0; border-bottom: 1px solid var(--rule-soft); }
.staff dt { font-weight: 700; font-size: 17px; }
.staff dd { margin: 2px 0 0; color: var(--paper-2); font-size: 15px; line-height: 1.5; }

/* ---------- how we measure (dense two-col hairline list) ---------- */

.criteria { columns: 2; column-gap: clamp(26px, 4vw, 60px); margin: 0; padding: 0; list-style: none; }
@media (max-width: 760px) { .criteria { columns: 1; } }

.criteria li { break-inside: avoid; border-top: 1px solid var(--rule); padding: 14px 0 16px; }
.criteria h3 { font-family: var(--text); font-size: 18px; font-weight: 700; margin: 0 0 5px; }
.criteria p { margin: 0; color: var(--paper-2); font-size: 15.5px; line-height: 1.5; }

.measure-note {
  margin-top: clamp(24px, 3vw, 38px);
  border-top: 2px solid var(--light);
  padding-top: 16px;
  font-size: clamp(18px, 1vw + 15px, 22px);
  line-height: 1.4;
  max-width: 62ch;
}
.measure-note strong { color: var(--light); }

/* ---------- pages (the five reviews) ---------- */

.pages { padding: 0; }

.page-entry { border-bottom: 1px solid var(--rule); padding: clamp(40px, 5vw, 72px) var(--gut); }

.page-slug {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--light);
  margin: 0 0 12px;
}

.page-entry h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.026em;
  margin: 0 0 8px;
}
.page-standfirst { margin: 0 0 20px; color: var(--paper-2); font-size: clamp(16.5px, 0.5vw + 15px, 19px); line-height: 1.45; }

.page-entry p { margin: 0 0 13px; }
.page-entry p:last-child { margin-bottom: 0; }

figure { margin: 0; }
figure img { width: 100%; }
figcaption {
  font-family: var(--mono); font-size: 10.5px; line-height: 1.6;
  color: var(--ash); margin-top: 8px; letter-spacing: 0.03em;
}
/* a caption that argues opens with a lead-in, set in the paper's voice, not the credit's */
figcaption b {
  font-family: var(--text);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0;
  color: var(--paper);
  display: block;
  margin-bottom: 3px;
}
/* the light falls on the picture from the same side as everywhere else */
.page-entry figure img,
.board-fig img { border-top: 2px solid var(--light); }

/* two photographs that argue with each other, stacked in one column */
.figure-stack { display: grid; gap: clamp(18px, 2.2vw, 28px); align-content: start; }
.figure-stack figure:nth-child(2) img { border-top-color: var(--rule); }
.figure-stack figure:nth-child(2) figcaption b { color: var(--paper-2); }

/* layout A: text left, image right */
.entry-split { display: grid; gap: clamp(22px, 3vw, 44px); align-items: start; }
@media (min-width: 900px) { .entry-split { grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); } }

/* layout B: portrait image left, text right */
.entry-portrait { display: grid; gap: clamp(22px, 3vw, 44px); align-items: start; }
@media (min-width: 900px) { .entry-portrait { grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr); } }
.entry-portrait.flip > figure { order: 2; }

/* layout C: tall lead photograph beside newspaper columns, then a counterpoint below */
.entry-lede .lede-body { display: grid; gap: clamp(22px, 3vw, 44px); align-items: start; }
@media (min-width: 980px) { .entry-lede .lede-body { grid-template-columns: minmax(0, 0.58fr) minmax(0, 1fr); } }
.entry-lede .cols { columns: 2; column-gap: var(--col-gap); margin-top: 4px; }
@media (max-width: 700px) { .entry-lede .cols { columns: 1; } }
.entry-lede .cols p { break-inside: avoid; }
/* the lead photograph is the tallest thing in the entry; let it set the height */
@media (min-width: 980px) { .entry-lede .lede-fig img { max-height: 78vh; object-fit: cover; object-position: center; } }

/* the counterpoint: the same attraction, closed. Set cooler and narrower than the lead. */
.counterpoint {
  margin-top: clamp(24px, 3vw, 38px);
  padding-top: clamp(18px, 2.2vw, 26px);
  border-top: 1px solid var(--rule);
  display: grid;
  gap: clamp(14px, 2vw, 26px);
}
@media (min-width: 900px) { .counterpoint { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; } }
.counterpoint img { border-top: 2px solid var(--rule) !important; }
.counterpoint figcaption { margin-top: 0; }
@media (min-width: 900px) { .counterpoint figcaption { font-size: 11px; } }

/* layout D: text first, image as a wide strip beneath */
.entry-strip .strip-body { display: grid; gap: clamp(18px, 2.5vw, 36px); }
@media (min-width: 900px) { .entry-strip .strip-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.entry-strip > figure { margin-top: clamp(22px, 3vw, 36px); }
.entry-strip > figure img { max-height: 38vh; object-fit: cover; object-position: center 40%; }

/* metadata table inside an entry */
.meta { margin: 0 0 18px; border-top: 1px solid var(--rule); font-family: var(--mono); font-size: 12.5px; }
.meta div { display: flex; gap: 14px; padding: 7px 0; border-bottom: 1px solid var(--rule-soft); }
.meta dt { flex: 0 0 clamp(88px, 12vw, 132px); color: var(--ash); text-transform: uppercase; font-size: 10.5px; letter-spacing: 0.1em; padding-top: 2px; }
.meta dd { margin: 0; color: var(--paper); line-height: 1.5; }

/* the honest caveat */
.caveat {
  margin: 20px 0 0;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
  display: grid; gap: 4px;
}
.caveat .label { color: var(--light); }
.caveat p { margin: 0; color: var(--paper); }

.scale-stamp {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ash);
  border: 1px solid var(--rule);
  padding: 7px 12px;
  margin-bottom: 16px;
}
.scale-stamp b { font-size: 19px; color: var(--light); letter-spacing: 0; font-variant-numeric: tabular-nums; }

.entry-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- the scale board (dataviz) ---------- */

/* the board opens with the unit of measurement, stated as a photograph */
.board-head { display: grid; gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (min-width: 980px) { .board-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
/* the heading holds the top line with the photograph, then the standfirst drops away from it */
@media (min-width: 980px) { .board-head > div > .measure { margin-top: 18px; } }
.board-fig figcaption { margin-top: 8px; }

.board-chart { margin: 0 0 clamp(30px, 4vw, 44px); }

.dotrow {
  display: grid;
  grid-template-columns: minmax(104px, 1.05fr) minmax(0, 3fr) minmax(74px, auto);
  gap: clamp(10px, 2vw, 22px);
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid var(--rule-soft);
}
.dotrow:first-child { border-top: 1px solid var(--rule); }

.dotrow-name { font-size: 15px; font-weight: 600; line-height: 1.25; }

.dotrow-track {
  position: relative;
  height: 22px;
}
/* recessive baseline */
.dotrow-track::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: var(--rule-soft);
}
.dotrow-line {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  height: 2px; background: var(--light); opacity: 0.45;
}
.dotrow-dot {
  position: absolute; top: 50%;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--light);
  transform: translate(-50%, -50%);
  /* 2px surface ring so the dot never merges with the baseline */
  box-shadow: 0 0 0 2px var(--night);
}
.dotrow-val {
  font-family: var(--mono); font-size: 12px; color: var(--paper);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}
.dotrow-val.none { color: var(--chart-gray); font-size: 11px; letter-spacing: 0.04em; }

/* estimate state: hollow dot, fainter line. The mark shows we did not verify it. */
.dotrow-line.est {
  opacity: 1;
  background: repeating-linear-gradient(90deg, var(--light) 0 4px, transparent 4px 8px);
  height: 2px;
}
.dotrow-dot.est {
  background: var(--night);
  border: 2px solid var(--light);
  box-shadow: 0 0 0 2px var(--night);
}
.dotrow-val.est { color: var(--paper-2); }
.est-mark { color: var(--light); margin-left: 3px; font-weight: 500; }

/* an unmeasured row: dashed gray rule, no dot, because the number does not exist.
   The words sit on the track, so the empty space reads as a finding and not a bug. */
.dotrow-none {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  border-top: 1px dashed var(--chart-gray);
  opacity: 0.7;
}
.dotrow-none::after {
  content: attr(data-none);
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  background: var(--night);
  padding: 0 9px 0 0;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--chart-gray);
  white-space: nowrap;
}
.dotrow.unmeasured .dotrow-name { color: var(--paper-2); }

/* the line that turns two blanks into the point of the chart */
.board-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 4px 0 0; padding-top: 12px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--light);
  border-top: 1px solid var(--rule);
}
.board-divider::after {
  content: ""; flex: 1 1 auto; height: 1px;
  background: repeating-linear-gradient(90deg, var(--rule) 0 3px, transparent 3px 6px);
}

.board-key {
  list-style: none; margin: 14px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-family: var(--mono); font-size: 10.5px; color: var(--ash); letter-spacing: 0.04em;
}
.board-key li { display: flex; align-items: center; gap: 8px; }
.board-key .key-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--light); flex: 0 0 auto;
}
.board-key .key-dot.est { background: var(--night); border: 2px solid var(--light); }
.board-key .key-dash {
  width: 14px; height: 0; border-top: 1px dashed var(--chart-gray); flex: 0 0 auto;
}

.axis {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; color: var(--ash);
  letter-spacing: 0.08em;
  padding-top: 7px;
  border-top: 1px solid var(--rule);
  margin-top: 4px;
}
.axis-wrap { display: grid; grid-template-columns: minmax(104px, 1.05fr) minmax(0, 3fr) minmax(74px, auto); gap: clamp(10px, 2vw, 22px); }
.axis-wrap > .axis { grid-column: 2; }

.chart-foot { font-family: var(--mono); font-size: 11px; color: var(--ash); margin: 14px 0 0; line-height: 1.7; }

/* board table */
.board-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.board {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 12.5px;
  min-width: 720px;
}
table.board caption {
  text-align: left;
  font-family: var(--text);
  font-size: 17px;
  font-weight: 700;
  padding-bottom: 12px;
  color: var(--paper);
}
table.board th, table.board td {
  text-align: left;
  padding: 10px 14px 10px 0;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top;
}
table.board thead th {
  border-bottom: 1px solid var(--rule);
  color: var(--ash);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
table.board tbody th { font-weight: 500; color: var(--paper); font-family: var(--text); font-size: 15px; }
table.board td { color: var(--paper-2); font-variant-numeric: tabular-nums; }
table.board td.num { color: var(--paper); }
table.board td.unpub { color: var(--chart-gray); }

/* ---------- editor's pick ---------- */

.pick { display: grid; gap: clamp(20px, 3vw, 40px); }
@media (min-width: 900px) { .pick { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; } }
.pick h2 { margin-bottom: 12px; }
.pick .pick-name { font-family: var(--display); font-size: clamp(26px, 2.4vw, 38px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; margin: 0 0 12px; color: var(--light); }

/* ---------- stop press ---------- */

.press { display: grid; gap: clamp(18px, 2.4vw, 30px); }
@media (min-width: 780px) { .press { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .press { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.press article { border-top: 2px solid var(--rule); padding-top: 14px; }
.press article:first-child { border-top-color: var(--light); }
.press h3 { font-family: var(--text); font-size: 18px; font-weight: 700; margin: 6px 0 6px; line-height: 1.25; }
.press p { margin: 0; color: var(--paper-2); font-size: 15.5px; line-height: 1.55; }

/* ---------- faq ---------- */

.faq { margin: 0; }
.faq > div { border-top: 1px solid var(--rule); padding: 18px 0; }
.faq dt { font-family: var(--text); font-weight: 700; font-size: clamp(17px, 0.6vw + 15px, 20px); margin-bottom: 7px; }
.faq dd { margin: 0; color: var(--paper-2); max-width: 76ch; }

/* ---------- form ---------- */

.form-band { display: grid; gap: clamp(24px, 3vw, 46px); }
@media (min-width: 900px) { .form-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper-2); }
.field input[type="text"], .field input[type="email"], .field textarea {
  background: var(--night-deep);
  border: 1px solid var(--rule);
  border-radius: 0;
  color: var(--paper);
  font-family: var(--text);
  font-size: 16px;
  padding: 11px 12px;
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: #767267; }
.field input:focus, .field textarea:focus { border-color: var(--light); outline: none; }
.field textarea { min-height: 120px; resize: vertical; }

.consent { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 18px; }
.consent input { margin-top: 5px; width: 17px; height: 17px; accent-color: var(--light); flex: 0 0 auto; }
.consent label { font-size: 14.5px; line-height: 1.5; color: var(--paper-2); }

.form-legal { font-size: 13px; line-height: 1.6; color: var(--ash); margin: 16px 0 0; max-width: 62ch; }
.form-legal a { color: var(--paper-2); }

.success {
  display: none;
  border-left: 2px solid var(--light);
  background: var(--surface);
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 15.5px;
}
.success.show { display: block; }

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

.foot { background: var(--night-deep); padding: clamp(38px, 5vw, 64px) var(--gut) 26px; }
.foot-grid { display: grid; gap: clamp(22px, 3vw, 40px); }
@media (min-width: 860px) { .foot-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); } }

.foot h2 { font-family: var(--display); font-size: 22px; font-weight: 700; margin: 0 0 10px; letter-spacing: -0.02em; }
.foot p { margin: 0 0 10px; color: var(--paper-2); font-size: 15px; line-height: 1.55; }
.foot a { color: var(--paper-2); }
.foot a:hover { color: var(--paper); }

.foot-list { list-style: none; margin: 0; padding: 0; }
.foot-list li { padding: 5px 0; }
.foot-list a { font-size: 15px; text-decoration: none; }
.foot-list a:hover { text-decoration: underline; text-decoration-color: var(--light); }

.foot-title { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ash); margin: 0 0 10px; }

.rg-strip {
  margin-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--rule);
  padding-top: 16px;
  display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: baseline;
}
.rg-strip .age {
  font-family: var(--mono); font-weight: 500; font-size: 12px;
  border: 1px solid var(--light); color: var(--light);
  padding: 4px 9px; letter-spacing: 0.08em;
}
.rg-strip p { margin: 0; font-size: 14px; color: var(--paper-2); }

.disclaimer {
  margin-top: 18px; border-top: 1px solid var(--rule-soft); padding-top: 14px;
  font-size: 12.5px; line-height: 1.65; color: var(--ash); max-width: 100ch;
}
.disclaimer a { color: var(--ash); }

.copyright { margin-top: 14px; font-family: var(--mono); font-size: 11px; color: var(--ash); letter-spacing: 0.05em; }

/* ---------- legal / plain article pages ---------- */

.page-head { padding: clamp(46px, 6vw, 84px) var(--gut) clamp(22px, 3vw, 32px); border-bottom: 1px solid var(--rule); }
.page-head h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(32px, 4.6vw, 66px); line-height: 1.0; letter-spacing: -0.03em;
  margin: 10px 0 0; max-width: 22ch;
}
.page-head p.dek { margin: 14px 0 0; color: var(--paper-2); max-width: 62ch; font-size: clamp(16.5px, 0.5vw + 15px, 19px); }

.prose { padding: clamp(34px, 4vw, 60px) var(--gut) clamp(46px, 6vw, 80px); }
.prose > * { max-width: 74ch; }
.prose h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(21px, 1.5vw + 16px, 30px); letter-spacing: -0.018em;
  margin: 40px 0 12px; line-height: 1.15;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--text); font-size: 18px; font-weight: 700; margin: 26px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--light); }
.prose .updated { font-family: var(--mono); font-size: 11.5px; color: var(--ash); letter-spacing: 0.08em; text-transform: uppercase; }

.callout {
  border-left: 2px solid var(--light);
  background: var(--surface);
  padding: 16px 18px;
  margin: 22px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--paper); }

.help-list { list-style: none; margin: 0 0 20px; padding: 0; }
.help-list li { border-top: 1px solid var(--rule); padding: 15px 0; }
.help-list .h-name { font-weight: 700; font-size: 17.5px; }
.help-list .h-num { font-family: var(--mono); color: var(--light); font-size: 16px; display: block; margin: 3px 0; }
.help-list .h-note { color: var(--paper-2); font-size: 15px; }

/* ---------- 404 / thank you ---------- */

.stub { min-height: 62vh; display: grid; align-content: center; padding: clamp(50px, 8vw, 110px) var(--gut); }
.stub h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(38px, 6vw, 84px); line-height: 0.98; letter-spacing: -0.032em; margin: 0 0 16px; max-width: 18ch;
}
.stub p { color: var(--paper-2); max-width: 58ch; margin: 0 0 12px; font-size: clamp(17px, 0.6vw + 15px, 20px); }
.stub .stub-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--light); margin: 0 0 18px; text-transform: uppercase; }
.stub .stub-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
