/* Section 8 Compass — editorial civic-reference design system
   Type pairing: Fraunces (display) + Newsreader (long-form body) + Public Sans (UI/government)
   Palette: parchment, deep ink, single rust accent. Hairlines over shadows. Tabular numerics.
*/

:root {
  --ink:        #0e1614;
  --ink-2:      #2a3735;
  --muted:      #525d5b;
  --rule:       #20302d;
  --line:       #d8d0bf;
  --line-soft:  #ece6d6;
  --paper:      #f5efe1;
  --paper-2:    #f9f4e7;
  --card:       #ffffff;
  --teal:       #134e48;
  --teal-deep:  #0a2624;
  --rust:       #b04a26;
  --rust-deep:  #7a2f15;
  --gold:       #c79443;

  --max:        1180px;
  --max-prose:  720px;

  --display: "Fraunces", "Times New Roman", Georgia, serif;
  --body:    "Newsreader", "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --ui:      "Public Sans", -apple-system, "Segoe UI", system-ui, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* paper grain */
html { background: var(--paper); }
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply; opacity: .55;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--body);
  font-size: 17px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "kern", "liga";
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(176,74,38,.35); }
a:hover { text-decoration-color: var(--rust); color: var(--rust); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }

/* numbers: tabular wherever they appear in UI/numeric contexts */
.kpi .value, table.data td, .article-card .meta, .state-tile .meta, .pill {
  font-variant-numeric: tabular-nums;
}

/* ----- Masthead / header ----- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  position: sticky; top: 0; z-index: 30;
}
.site-header::after {
  content: ""; display: block; height: 3px; background: var(--ink);
  border-top: 1px solid var(--paper);
}
.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px 32px 14px;
  max-width: var(--max); margin: 0 auto;
}
.brand { display: inline-flex; align-items: baseline; gap: 12px; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 28px; height: 28px; position: relative; display: inline-block;
  background: var(--ink); border-radius: 0;
  transform: translateY(4px);
}
.brand-mark::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 12px;
  background: var(--rust);
  transform: translate(-50%, -50%) rotate(45deg);
}
.brand-mark::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 3px; height: 3px;
  background: var(--paper);
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 0;
  color: var(--ink);
}

.primary-nav {
  display: flex; gap: 22px; justify-content: center;
  font-family: var(--ui); font-weight: 500; font-size: .82rem;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.primary-nav a { color: var(--ink); text-decoration: none; padding: 4px 0; position: relative; }
.primary-nav a:hover { color: var(--rust); text-decoration: none; }
.primary-nav a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--rust);
}

.search-form { display: flex; align-items: stretch; }
.search-form input[type=search] {
  border: 1px solid var(--ink); border-right: 0;
  background: var(--paper);
  padding: 7px 12px;
  font-family: var(--ui); font-size: .85rem;
  min-width: 220px;
  border-radius: 0;
  color: var(--ink);
}
.search-form input[type=search]::placeholder { color: var(--muted); }
.search-form input[type=search]:focus { outline: 2px solid var(--rust); outline-offset: -2px; }
.search-form button {
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  padding: 7px 18px;
  font-family: var(--ui); font-size: .8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
  border-radius: 0;
}
.search-form button:hover { background: var(--rust); border-color: var(--rust); }

/* ----- Typographic hero (no stock image) ----- */
.hero {
  border-bottom: 1px solid var(--ink);
  padding: 64px 0 72px;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(176,74,38,0.08), transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(19,78,72,0.06), transparent 50%),
    var(--paper);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: var(--max); margin: 0 auto; padding: 0 32px;
  gap: 0;
}
.hero-eyebrow {
  font-family: var(--ui); font-size: .78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rust);
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 18px;
}
.hero-eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--rust); display: inline-block; }
.hero-eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.hero-eyebrow .edition { color: var(--ink); font-weight: 600; letter-spacing: 0.1em; }
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 28px;
  max-width: 18ch;
}
.hero h1 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80;
  color: var(--rust-deep);
}
.hero p.lede {
  font-family: var(--body);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 32px;
  max-width: 62ch;
}
.hero p.lede strong { color: var(--ink); font-weight: 600; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin: 32px 0;
  max-width: 720px;
}
.hero-stat {
  padding: 18px 28px 18px 0;
  border-right: 1px solid var(--line);
}
.hero-stat:last-child { border-right: 0; padding-right: 0; }
.hero-stat:not(:first-child) { padding-left: 28px; }
.hero-stat .n {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.hero-stat .l {
  font-family: var(--ui); font-size: .72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-top: 4px;
}

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  font-family: var(--ui); font-size: .82rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--rust); border-color: var(--rust); color: var(--paper); text-decoration: none; }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); text-decoration: none; }
.btn::after { content: "→"; font-family: var(--display); font-weight: 400; }

@media (max-width: 820px) {
  .header-row { grid-template-columns: 1fr; gap: 14px; padding: 16px 22px 12px; }
  .primary-nav { justify-content: flex-start; flex-wrap: wrap; gap: 14px; }
  .search-form input[type=search] { min-width: 0; flex: 1; }
  .search-form { width: 100%; }
  .hero { padding: 40px 0 48px; }
  .hero h1 { max-width: none; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 0 !important; }
  .hero-stat:last-child { border-bottom: 0; }
  .container { padding: 0 22px; }
}

/* ----- Sections ----- */
section { padding: 56px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }

.section-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}
.section-num {
  font-family: var(--ui); font-weight: 700; font-size: .78rem;
  letter-spacing: 0.16em; color: var(--rust);
}
.section-title {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 96, "SOFT" 50;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.section-sub {
  font-family: var(--ui); font-size: .9rem; color: var(--muted);
  margin: 0 0 24px; max-width: 60ch;
}
.section-head .section-sub {
  text-align: right; max-width: 28ch; justify-self: end; margin: 0;
}

@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; gap: 6px; }
  .section-head .section-sub { text-align: left; justify-self: start; }
}

/* ----- Article feed ----- */
.feed { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; align-items: start; }
.feed .articles { display: grid; gap: 0; }
.article-card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 26px 0;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  align-items: baseline;
  box-shadow: none;
  border-radius: 0;
}
.article-card:first-child { border-top: 0; padding-top: 0; }
.article-card .kind {
  font-family: var(--ui); font-weight: 700; font-size: .68rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin: 0;
  padding-top: 4px;
}
.article-card h3 {
  font-family: var(--display); font-weight: 500;
  font-variation-settings: "opsz" 36, "SOFT" 40;
  font-size: 1.45rem; line-height: 1.15;
  margin: 0 0 8px; color: var(--ink); letter-spacing: -0.015em;
}
.article-card h3 a {
  color: inherit; text-decoration: none;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-size: 0 1px; background-repeat: no-repeat;
  background-position: 0 95%;
  transition: background-size .3s ease;
}
.article-card h3 a:hover { background-size: 100% 1px; color: var(--ink); }
.article-card p { font-family: var(--body); color: var(--ink-2); margin: 0 0 10px; font-size: 1rem; }
.article-card .meta {
  font-family: var(--ui); font-size: .75rem; color: var(--muted);
  letter-spacing: 0.06em; text-transform: uppercase;
}

aside.sidebar > div {
  background: transparent;
  border: 0;
  border-top: 2px solid var(--ink);
  padding: 18px 0 24px;
  margin-bottom: 28px;
  border-radius: 0;
  box-shadow: none;
}
aside.sidebar h4 {
  margin: 0 0 14px;
  font-family: var(--ui); font-weight: 700; font-size: .74rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink);
}
aside.sidebar ul { list-style: none; padding: 0; margin: 0; }
aside.sidebar li {
  padding: 9px 0; border-bottom: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-family: var(--body); font-size: .98rem;
}
aside.sidebar li:last-child { border-bottom: 0; }
aside.sidebar li a { color: var(--ink); text-decoration: none; }
aside.sidebar li a:hover { color: var(--rust); text-decoration: underline; }
aside.sidebar .pill {
  font-family: var(--ui); font-size: .68rem; font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--rust); background: transparent;
  padding: 0; border-radius: 0;
  white-space: nowrap;
}
aside.sidebar blockquote {
  font-family: var(--display); font-style: italic;
  font-variation-settings: "opsz" 36, "SOFT" 80;
  font-size: 1.1rem; line-height: 1.4;
  color: var(--ink-2); margin: 0;
  padding-left: 18px; border-left: 2px solid var(--rust);
}
aside.sidebar blockquote .who {
  display: block; margin-top: 10px;
  font-family: var(--ui); font-style: normal; font-size: .72rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}

@media (max-width: 820px) { .feed { grid-template-columns: 1fr; gap: 32px; } }

/* ----- State grid: atlas style ----- */
.state-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0;
  border: 1px solid var(--ink);
  background: var(--ink);
}
.state-tile {
  background: var(--card);
  padding: 18px 20px;
  text-decoration: none;
  display: block;
  transition: background .12s ease;
  border: 0;
  border-radius: 0;
  outline: 1px solid var(--ink);
  outline-offset: 0;
}
.state-tile:hover { background: var(--paper-2); text-decoration: none; transform: none; }
.state-tile .name {
  font-family: var(--display); font-weight: 500;
  font-variation-settings: "opsz" 36;
  font-size: 1.15rem; letter-spacing: -0.01em;
  color: var(--ink); margin-bottom: 4px;
}
.state-tile .meta {
  font-family: var(--ui); font-size: .72rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}

/* ----- Tables ----- */
.table-wrap { overflow-x: auto; border: 1px solid var(--ink); background: var(--card); }
table.data {
  width: 100%; border-collapse: collapse; background: var(--card);
  font-family: var(--ui); font-size: .88rem;
}
table.data th, table.data td {
  text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
table.data th {
  background: var(--ink); color: var(--paper);
  font-weight: 700; font-size: .72rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 12px 16px;
  border-bottom: 0;
}
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: var(--paper-2); }
table.data a { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rust); }
table.data a:hover { color: var(--rust); }
table.data td:nth-child(3), table.data td:nth-child(4) { font-variant-numeric: tabular-nums; color: var(--ink-2); }

/* ----- Article body (prose) ----- */
.prose {
  background: var(--card);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 56px 64px;
  max-width: var(--max-prose);
  margin: 0 auto;
  box-shadow: 8px 8px 0 var(--ink);
}
.prose h1 {
  font-family: var(--display); font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  color: var(--ink); font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 12px;
}
.prose .byline {
  font-family: var(--ui); color: var(--muted);
  font-size: .76rem; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 36px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.prose h2 {
  font-family: var(--display); font-weight: 500;
  font-variation-settings: "opsz" 96, "SOFT" 40;
  color: var(--ink); font-size: 1.5rem;
  margin: 40px 0 12px; letter-spacing: -0.015em;
}
.prose h3 {
  font-family: var(--display); font-weight: 500;
  font-variation-settings: "opsz" 36;
  color: var(--ink); font-size: 1.18rem;
  margin: 28px 0 8px; letter-spacing: -0.01em;
}
.prose p, .prose li {
  font-family: var(--body); font-size: 1.1rem; line-height: 1.6;
  color: var(--ink); font-variation-settings: "opsz" 14;
}
.prose p > strong { font-weight: 600; color: var(--ink); }
.prose p:first-of-type::first-letter {
  font-family: var(--display); font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 0;
  float: left; font-size: 4.6rem; line-height: 0.85;
  padding: 6px 12px 0 0; color: var(--rust-deep);
}
.prose ul, .prose ol { padding-left: 22px; }
.prose ul li, .prose ol li { margin: 6px 0; }
.prose blockquote {
  border-left: 0; background: var(--paper-2);
  padding: 22px 28px; margin: 28px -28px;
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  font-family: var(--display); font-style: italic;
  font-variation-settings: "opsz" 36, "SOFT" 80;
  font-size: 1.2rem; line-height: 1.4; color: var(--ink);
}
.prose blockquote .who {
  display: block; font-family: var(--ui); font-style: normal;
  font-size: .72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-top: 12px;
}
.prose .callout {
  background: var(--ink); color: var(--paper);
  border: 0; border-radius: 0;
  padding: 24px 28px; margin: 28px -28px;
  font-family: var(--body); font-size: 1rem;
}
.prose .callout strong { color: var(--gold); font-weight: 600; }
.prose .callout a { color: var(--gold); text-decoration-color: var(--gold); }
.prose code {
  font-family: var(--mono); font-size: .85em;
  background: var(--paper-2); padding: 1px 6px;
  border: 1px solid var(--line);
}

.related { margin-top: 48px; padding-top: 24px; border-top: 2px solid var(--ink); }
.related h3 {
  font-family: var(--ui); font-weight: 700; font-size: .74rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); margin: 0 0 16px;
}
.related ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.related li { border-top: 1px solid var(--line); }
.related li:nth-child(-n+2) { border-top: 0; }
.related li a {
  display: block; padding: 14px 0; padding-right: 18px;
  font-family: var(--display); font-weight: 500;
  font-variation-settings: "opsz" 36;
  color: var(--ink); font-size: 1.05rem;
  text-decoration: none;
  position: relative;
}
.related li a::after {
  content: "→"; position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%); color: var(--rust); opacity: 0;
  transition: opacity .15s ease, right .15s ease;
}
.related li a:hover { color: var(--rust); }
.related li a:hover::after { opacity: 1; right: 8px; }
@media (max-width: 700px) {
  .related ul { grid-template-columns: 1fr; }
  .related li, .related li:nth-child(-n+2) { border-top: 1px solid var(--line); }
  .related li:first-child { border-top: 0; }
  .prose { padding: 32px 26px; margin: 0 6px; box-shadow: 4px 4px 0 var(--ink); }
  .prose blockquote, .prose .callout { margin-left: -6px; margin-right: -6px; padding-left: 22px; padding-right: 22px; }
}

/* ----- PHA / state KPIs: oversized tabular ----- */
.kpis {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0; margin: 24px 0 36px;
  border: 1px solid var(--ink);
  background: var(--ink);
}
.kpi {
  background: var(--card);
  outline: 1px solid var(--ink);
  padding: 18px 22px;
  border-radius: 0; border: 0;
}
.kpi .label {
  font-family: var(--ui); color: var(--muted); font-size: .7rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.kpi .value {
  font-family: var(--display); font-weight: 500;
  font-variation-settings: "opsz" 144;
  font-size: 2rem; line-height: 1;
  color: var(--ink); letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 24px 26px;
  box-shadow: 6px 6px 0 var(--rust);
}
.contact-card h4 {
  margin: 0 0 16px !important;
  font-family: var(--ui); font-weight: 700; font-size: .74rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 10px; border-bottom: 1px solid var(--ink);
}
.contact-card dt {
  font-family: var(--ui); font-weight: 600; color: var(--muted);
  font-size: .68rem; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 2px;
}
.contact-card dd { margin: 0 0 14px; color: var(--ink); font-family: var(--body); font-size: 1rem; }

.breadcrumb {
  font-family: var(--ui); color: var(--muted);
  font-size: .72rem; letter-spacing: 0.12em; text-transform: uppercase;
  margin: 28px 0 14px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--rust); }

/* ----- Footer: dense colophon ----- */
.site-footer {
  background: var(--ink); color: #cdc6b6;
  margin-top: 0; padding: 56px 0 28px;
  border-top: 4px solid var(--rust);
  position: relative; z-index: 2;
}
.site-footer .container { max-width: var(--max); }
.site-footer .brand { color: var(--paper); }
.site-footer .brand-name { color: var(--paper); }
.site-footer .brand-mark { background: var(--paper); }
.site-footer .brand-mark::before { background: var(--rust); }
.site-footer .brand-mark::after { background: var(--ink); }
.site-footer h4 {
  color: var(--paper); font-family: var(--ui); font-weight: 700;
  font-size: .74rem; letter-spacing: 0.16em; text-transform: uppercase;
  margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid #3a4543;
}
.site-footer .footer-tag {
  color: #a39c8d; max-width: 36ch; margin: 16px 0 0;
  font-family: var(--body); font-size: .95rem; line-height: 1.4;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; font-family: var(--body); font-size: .95rem; }
.site-footer a { color: #cdc6b6; text-decoration: none; border-bottom: 1px solid transparent; }
.site-footer a:hover { color: var(--paper); border-bottom-color: var(--rust); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-bottom {
  border-top: 1px solid #3a4543; margin-top: 40px; padding-top: 20px;
  color: #8a8478; font-size: .78rem; font-family: var(--ui); letter-spacing: 0.04em;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
