/* Fervor Creative AI — fervorcreativeai.com
   Studio dark. Warm ink-black, one acid accent, ember reserved for heat.
   Deliberately single-theme: the dark surface is the identity, not a mode. */

/* ---------- tokens ---------- */
:root {
  --ink-900: #0c0c0a;
  --ink-850: #111110;
  --ink-800: #171714;
  --ink-750: #1d1d19;
  --ink-700: #232320;
  --rule: #2b2b26;
  --rule-strong: #3d3d35;

  --paper: #f3f1e9;
  --paper-dim: #a5a399;
  --paper-faint: #8a877c;

  --acid: #d7ff3e;
  --acid-deep: #a9cc19;
  --acid-ghost: #363d16;
  --ember: #ff5c2b;

  --display: "Space Grotesk", "Helvetica Neue", Helvetica, sans-serif;
  --body: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;

  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --measure: 68ch;
  --step: clamp(2.5rem, 6vw, 4.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--paper);
  font-family: var(--body);
  font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.14rem);
  line-height: 1.68;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Fine tooth of grain over the whole page — keeps the flat black from
   reading as a screenshot of a terminal. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--acid); color: var(--ink-900); }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--acid);
  color: var(--ink-900);
  font-family: var(--display);
  font-weight: 700;
  padding: 0.6rem 1rem;
  z-index: 1000;
}
.skip:focus { left: 0; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.prose-wrap { max-width: calc(var(--measure) + 2 * var(--gutter)); }

/* ---------- typographic primitives ---------- */
.label,
.kicker,
.meta,
.ticker,
.nav,
.chip,
.tag,
th {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.label {
  display: inline-block;
  color: var(--acid);
  font-weight: 500;
}

h1, h2, h3, h4, .display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.06;
  text-wrap: balance;
}

/* ---------- masthead ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in oklab, var(--ink-900) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--rule);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.1rem, 0.95rem + 0.7vw, 1.35rem);
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}
.brand-slash {
  color: var(--acid);
  font-weight: 500;
  transform: translateY(0.02em);
}
.brand-rest { color: var(--paper-dim); font-weight: 500; }
.brand:hover .brand-rest { color: var(--paper); }
.brand:hover .brand-slash { color: var(--ember); }
.brand-slash, .brand-rest { transition: color 0.25s var(--ease); }

.nav {
  display: flex;
  gap: clamp(0.8rem, 2vw, 1.6rem);
  flex-wrap: wrap;
  align-items: center;
}
.nav a {
  color: var(--paper-dim);
  padding-block: 0.35rem;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav a:hover { color: var(--paper); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--acid); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- ticker rail ---------- */
.ticker-rail {
  border-bottom: 1px solid var(--rule);
  background: var(--ink-850);
  overflow: hidden;
}
.ticker {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding-block: 0.5rem;
  color: var(--paper-faint);
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.ticker::-webkit-scrollbar { display: none; }
.ticker b { color: var(--paper-dim); font-weight: 500; }
.ticker .hot { color: var(--acid); }
.ticker-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ember);
  flex: none;
}
.ticker-live::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--ember);
  border-radius: 50%;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-live::before { animation: none; }
}

/* ---------- page shell ---------- */
main {
  display: block;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 8vw, 6rem);
}

/* ---------- band: labelled hairline section head ---------- */
.band {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 0 0 1.4rem;
}
.band::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.band h2, .band .band-title {
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.5rem);
  margin: 0;
  letter-spacing: -0.02em;
}
.band .band-title a:hover { color: var(--acid); }
.band-more {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--paper-faint);
  flex: none;
  order: 3;
  transition: color 0.2s var(--ease);
}
.band-more:hover { color: var(--acid); }

.section { margin-top: var(--step); }
.section-sub {
  color: var(--paper-dim);
  max-width: var(--measure);
  margin: 0 0 1.5rem;
}

/* ---------- lead story ---------- */
.lead {
  border-bottom: 1px solid var(--rule);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}
.dateline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--paper-faint);
  margin: 0 0 1.2rem;
}
.dateline .acid { color: var(--acid); }
.dateline .sep { color: var(--rule-strong); }
.dateline a:hover { color: var(--acid); }

.lead-title {
  font-size: clamp(2.1rem, 1.2rem + 4.2vw, 4.1rem);
  line-height: 0.98;
  margin: 0;
  max-width: 22ch;
}
.lead-title a { display: inline; background-image: none; }
.lead-title a:hover { color: var(--acid); }

.lead-thesis {
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  color: var(--paper-dim);
  max-width: 58ch;
  margin: 1.4rem 0 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  align-items: center;
  margin-top: 1.8rem;
}

.button {
  --btn-bg: var(--acid);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--btn-bg);
  color: var(--ink-900);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  padding: 0.62rem 1.15rem;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.button:hover { background: #e8ff77; transform: translateY(-2px); }
.button .arrow { transition: transform 0.25s var(--ease); }
.button:hover .arrow { transform: translateX(3px); }

.button-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--paper-dim);
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 0.25rem;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.button-ghost:hover { color: var(--acid); border-color: var(--acid); }

/* ---------- home layout ---------- */
.home-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: var(--step);
}
@media (max-width: 820px) {
  .home-grid { grid-template-columns: 1fr; }
}

/* ---------- numbered index rows ---------- */
.index {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: idx;
  border-top: 1px solid var(--rule);
}
.index > li {
  counter-increment: idx;
  border-bottom: 1px solid var(--rule);
}
.index > li > a,
.index > li > .row {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0 1rem;
  padding: 1.1rem 0.5rem 1.1rem 0;
  transition: background 0.28s var(--ease), padding-left 0.28s var(--ease);
}
.index > li > a:hover,
.index > li > .row:hover {
  background: var(--ink-850);
  padding-left: 0.6rem;
}
.index .num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--paper-faint);
  padding-top: 0.35rem;
  transition: color 0.28s var(--ease);
}
.index .num::before { content: counter(idx, decimal-leading-zero); }
.index > li > a:hover .num,
.index > li > .row:hover .num { color: var(--acid); }
.index .row-title {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.18rem);
  letter-spacing: -0.02em;
  line-height: 1.24;
  margin: 0;
  text-wrap: pretty;
}
.index > li > a:hover .row-title { color: var(--acid); }
.index .row-sub {
  display: block;
  color: var(--paper-dim);
  font-size: 0.94rem;
  line-height: 1.55;
  margin: 0.35rem 0 0;
  max-width: 62ch;
}
.index .row-meta {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-faint);
  margin: 0.5rem 0 0;
}
.index.tight > li > a { padding-block: 0.85rem; }

/* Staggered entrance for the first screenful of rows. */
@media (prefers-reduced-motion: no-preference) {
  .index > li {
    animation: rise 0.55s var(--ease) both;
  }
  .index > li:nth-child(1) { animation-delay: 0.02s; }
  .index > li:nth-child(2) { animation-delay: 0.06s; }
  .index > li:nth-child(3) { animation-delay: 0.1s; }
  .index > li:nth-child(4) { animation-delay: 0.14s; }
  .index > li:nth-child(5) { animation-delay: 0.18s; }
  .index > li:nth-child(n + 6) { animation-delay: 0.22s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- chips / tags ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.2rem 0;
  padding: 0;
  list-style: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--rule);
  background: var(--ink-800);
  color: var(--paper-dim);
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.chip:hover { color: var(--acid); border-color: var(--acid-deep); background: var(--ink-750); }
.chip .count { color: var(--acid); }
.chip-beat { border-style: dashed; }

/* ---------- workflow entries ---------- */
.workflow {
  border-bottom: 1px solid var(--rule);
  padding-block: clamp(1.6rem, 3vw, 2.4rem);
}
.workflow:first-of-type { border-top: 1px solid var(--rule); }
.workflow-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.workflow-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--paper-faint);
  flex: none;
  padding-top: 0.3rem;
}
.workflow h3 {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  margin: 0;
  font-weight: 700;
  line-height: 1.16;
}
.workflow-body { margin-left: calc(0.72rem + 2.4ch); }
@media (max-width: 620px) { .workflow-body { margin-left: 0; } }
.workflow-lead {
  color: var(--paper-dim);
  margin: 0.7rem 0 0;
  max-width: var(--measure);
}
.workflow-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1px;
  margin-top: 1.2rem;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.note {
  background: var(--ink-850);
  padding: 0.95rem 1.05rem;
}
.note-label {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}
.note-why .note-label { color: var(--acid); }
.note-breaks .note-label { color: var(--ember); }
.note p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--paper-dim);
}
.workflow-source {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-dim);
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 0.2rem;
}
.workflow-source:hover { color: var(--acid); border-color: var(--acid); }

/* ---------- trend board ---------- */
.trend-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.trend-list li { border-bottom: 1px solid var(--rule); }
.trend-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem 1.2rem;
  padding: 0.85rem 0.5rem 0.85rem 0;
  transition: background 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.trend-list a:hover { background: var(--ink-850); padding-left: 0.6rem; }
.trend-name {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: -0.015em;
}
.trend-list a:hover .trend-name { color: var(--acid); }
.trend-bar {
  flex: none;
  width: clamp(60px, 14vw, 140px);
  height: 6px;
  background: var(--ink-700);
  position: relative;
  overflow: hidden;
}
.trend-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--acid-deep);
}
.trend-count {
  flex: none;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--paper-faint);
  min-width: 6.5rem;
  text-align: right;
}
.status {
  flex: none;
  min-width: 5.2rem;
  text-align: right;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.status::before { content: "▲ "; }
.status-tracking::before { content: "· "; }
.status-cooling::before { content: "▾ "; }
.status-rising { color: var(--acid); }
.status-new { color: var(--ember); }
.status-tracking { color: var(--paper-faint); }
.status-cooling { color: var(--paper-faint); opacity: 0.7; }
@media (max-width: 620px) {
  .trend-bar, .trend-count { display: none; }
}

/* ---------- tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--rule);
  margin: 1.4rem 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.94rem;
  background: var(--ink-850);
}
th {
  text-align: left;
  color: var(--paper-faint);
  font-weight: 500;
  background: var(--ink-800);
  white-space: nowrap;
}
th, td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background 0.2s var(--ease); }
tbody tr:hover { background: var(--ink-750); }
td a { color: var(--paper); border-bottom: 1px solid var(--rule-strong); }
td a:hover { color: var(--acid); border-color: var(--acid); }
.repo-cell { font-family: var(--mono); font-size: 0.84rem; letter-spacing: -0.01em; }
.num-cell { font-family: var(--mono); font-size: 0.8rem; white-space: nowrap; color: var(--paper-dim); }
.num-cell strong { color: var(--acid); font-weight: 500; }
table td.desc { min-width: 20rem; color: var(--paper-dim); }
@media (max-width: 780px) { table td.desc { min-width: 15rem; } }

/* ---------- posts ---------- */
.post-header { margin-bottom: 2rem; }
.post-title {
  font-size: clamp(1.9rem, 1.2rem + 3vw, 3.1rem);
  line-height: 1.02;
  margin: 0;
  max-width: 24ch;
}
.thesis {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  line-height: 1.5;
  color: var(--paper);
  margin: 1.5rem 0 0;
  max-width: 60ch;
  padding-left: 1.1rem;
  border-left: 2px solid var(--acid);
}
.hero {
  width: 100%;
  height: auto;
  display: block;
  margin: 1.8rem 0 0;
  border: 1px solid var(--rule);
}

.post-body { max-width: var(--measure); }
.post-body > * { margin-block: 0; }
.post-body > * + * { margin-top: 1.15em; }
.post-body h1 { font-size: clamp(1.8rem, 1.2rem + 2.5vw, 2.6rem); margin-top: 0; }
.post-body h2 {
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.7rem);
  margin-top: 2.8rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.post-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 2.5rem;
  height: 2px;
  background: var(--acid);
}
.post-body h3 {
  font-size: 1.16rem;
  margin-top: 2.1rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.post-body h4 { font-size: 1rem; margin-top: 1.6rem; color: var(--paper-dim); }
.post-body strong { color: var(--paper); font-weight: 600; }
.post-body em { color: var(--paper-dim); }
.post-body a {
  color: var(--paper);
  border-bottom: 1px solid var(--acid-ghost);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.post-body a:hover { color: var(--acid); border-color: var(--acid); }
.post-body ul, .post-body ol { padding-left: 1.2rem; }
.post-body li + li { margin-top: 0.55rem; }
.post-body li::marker { color: var(--acid-deep); }
.post-body img { max-width: 100%; height: auto; border: 1px solid var(--rule); }
.post-body blockquote {
  margin: 1.6rem 0;
  padding-left: 1.2rem;
  border-left: 2px solid var(--rule-strong);
  color: var(--paper-dim);
  font-style: italic;
}
.post-body code {
  font-family: var(--mono);
  font-size: 0.84em;
  background: var(--ink-750);
  color: var(--acid);
  padding: 0.12em 0.36em;
  border-radius: 2px;
}
.post-body pre {
  background: var(--ink-850);
  border: 1px solid var(--rule);
  padding: 1rem 1.1rem;
  overflow-x: auto;
  font-size: 0.86rem;
  line-height: 1.6;
}
.post-body pre code { background: none; padding: 0; color: var(--paper); }
.post-body hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }
.post-body .table-wrap { max-width: none; }

.briefing .post-body > h1:first-child {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.briefing .thesis {
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.7rem);
  line-height: 1.42;
}

.post-footer {
  border-top: 1px solid var(--rule);
  margin-top: 3rem;
  padding-top: 1.2rem;
  color: var(--paper-dim);
  font-size: 0.94rem;
  max-width: var(--measure);
}
.post-footer a { color: var(--paper); border-bottom: 1px solid var(--acid-ghost); }
.post-footer a:hover { color: var(--acid); border-color: var(--acid); }

/* ---------- page heads ---------- */
.page-head {
  border-bottom: 1px solid var(--rule);
  padding-bottom: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
}
.page-title {
  font-size: clamp(2rem, 1.3rem + 3.4vw, 3.4rem);
  margin: 0.7rem 0 0;
  max-width: 20ch;
}
.page-head .section-sub { margin: 1.1rem 0 0; }

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--paper-faint);
}
.stat-row b { color: var(--acid); font-weight: 500; }

.fine {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--paper-faint);
  max-width: 70ch;
}
.fine b { color: var(--paper-dim); font-weight: 500; }
.fine a { color: var(--paper-dim); border-bottom: 1px solid var(--rule-strong); }
.method { margin-top: var(--step); }
.fine a:hover { color: var(--acid); }

.empty {
  border: 1px dashed var(--rule-strong);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--paper-dim);
  max-width: var(--measure);
}
.empty p { margin: 0.5rem 0 0; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--rule);
  background: var(--ink-850);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 2rem clamp(2rem, 5vw, 4rem);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  margin: 0;
}
.footer p { color: var(--paper-dim); font-size: 0.95rem; }
.footer-inner > div > p + p { margin-top: 0.7rem; }
.footer a { color: var(--paper); border-bottom: 1px solid var(--rule-strong); }
.footer a:hover { color: var(--acid); border-color: var(--acid); }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.footer-links a { border-bottom: 0; color: var(--paper-dim); }
.footer-links a:hover { color: var(--acid); }
.colophon {
  border-top: 1px solid var(--rule);
  padding-block: 1.1rem;
}

/* ---------- 404 ---------- */
.big-404 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(5rem, 22vw, 15rem);
  line-height: 0.82;
  letter-spacing: -0.05em;
  color: var(--ink-700);
  margin: 0 0 1rem;
}
