/* Layout: a quiet academic page (white paper, serif reading text, one navy accent, hairline rules)
   with the three dark wavefield screens as the only dark objects. */
:root {
  --paper: #FFFFFF; --surface: #FFFFFF; --surface-2: #F4F5F7;
  --ink: #1F2328; --ink-2: #4E555D; --ink-3: #697079; --rule: #E4E7EB;
  --accent: #1D4E9A; --accent-strong: #F5A524; --accent-ink: #FFFFFF; --fda: #1D4E9A;
  --good: #2F7D4F; --warn: #9A5B00; --bad: #B42E2E;
  --screen: #0B1220; --screen-2: #111B2D; --screen-ink: #DCE6F2; --screen-ink-2: #8FA0B8; --screen-rule: #22314A;
  --plot-bg: #FFFFFF; --plot-ink: #1F2328; --plot-ink-2: #5F6670; --plot-rule: #E4E7EB; --plot-amber: #B86E00;
  --mark: #FFE08A; --mark-ink: #1F2328;
  --code-bg: #F8F9FA; --code-ink: #1F2328; --code-kw: #1D4E9A; --code-str: #9A4F06; --code-com: #6A7179; --code-num: #0B7261; --code-fn: #6B3FA0; --code-line: #A6ADB5; --code-hl: #FFF6DB;
  --focus: #1D4E9A;
  --shadow: 0 1px 2px rgb(31 35 40 / .05), 0 6px 18px rgb(31 35 40 / .05);
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --step--1: 0.8125rem; --step-0: 1rem; --step-1: 1.125rem; --step-2: 1.375rem; --step-3: 1.875rem; --step-4: 2.5rem;
  --radius: 6px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: #121417; --surface: #171A1E; --surface-2: #1F2328;
  --ink: #E6E8EB; --ink-2: #AEB4BC; --ink-3: #8C939C; --rule: #2B3036;
  --accent: #8AB4F8; --accent-strong: #F5A524; --accent-ink: #0F1720; --fda: #8AB4F8;
  --good: #5CC98A; --warn: #F2C14E; --bad: #F07A7A;
  --screen: #070B13; --screen-2: #0D1420; --screen-ink: #DCE6F2; --screen-ink-2: #8FA0B8; --screen-rule: #1D2A40;
  --plot-bg: #171A1E; --plot-ink: #E6E8EB; --plot-ink-2: #9AA1AA; --plot-rule: #2B3036; --plot-amber: #F5A524;
  --mark: #6B5414; --mark-ink: #FFF3D1;
  --code-bg: #15181C; --code-ink: #D9DDE2; --code-kw: #8AB4F8; --code-str: #F0B566; --code-com: #868E98; --code-num: #52D1C2; --code-fn: #C9A2F2; --code-line: #4E5560; --code-hl: #2A2414;
  --focus: #8AB4F8; --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 6px 18px rgb(0 0 0 / .25);
  color-scheme: dark;
} }
:root[data-theme="dark"] {
  --paper: #121417; --surface: #171A1E; --surface-2: #1F2328;
  --ink: #E6E8EB; --ink-2: #AEB4BC; --ink-3: #8C939C; --rule: #2B3036;
  --accent: #8AB4F8; --accent-strong: #F5A524; --accent-ink: #0F1720; --fda: #8AB4F8;
  --good: #5CC98A; --warn: #F2C14E; --bad: #F07A7A;
  --screen: #070B13; --screen-2: #0D1420; --screen-ink: #DCE6F2; --screen-ink-2: #8FA0B8; --screen-rule: #1D2A40;
  --plot-bg: #171A1E; --plot-ink: #E6E8EB; --plot-ink-2: #9AA1AA; --plot-rule: #2B3036; --plot-amber: #F5A524;
  --mark: #6B5414; --mark-ink: #FFF3D1;
  --code-bg: #15181C; --code-ink: #D9DDE2; --code-kw: #8AB4F8; --code-str: #F0B566; --code-com: #868E98; --code-num: #52D1C2; --code-fn: #C9A2F2; --code-line: #4E5560; --code-hl: #2A2414;
  --focus: #8AB4F8; --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 6px 18px rgb(0 0 0 / .25);
  color-scheme: dark;
}
body { background: var(--paper); color: var(--ink); }

/* ------------------------------------------------------------------ */
/* Base                                                                 */
/* ------------------------------------------------------------------ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* keeps anchor targets and scrollIntoView clear of the sticky header */
  scroll-padding-top: calc(4.5rem + env(safe-area-inset-top, 0px));
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg, video, canvas { max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
main > section[tabindex="-1"]:focus { outline: none; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
a:hover { text-decoration-color: currentColor; }

code, kbd, samp { font-family: var(--font-mono); font-size: .9em; }
.nowrap { white-space: nowrap; }

math { font-family: math, "Cambria Math", "STIX Two Math", "Latin Modern Math", serif; }

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Page width wrapper: the one place the side gutter is set. */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: calc(8px + env(safe-area-inset-top, 0px));
  left: max(16px, env(safe-area-inset-left, 0px));
  padding: 8px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-300%);
}
.skip-link:focus { transform: none; }

/* ------------------------------------------------------------------ */
/* Header                                                               */
/* ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
@supports (background: color-mix(in srgb, red 50%, transparent)) and ((backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px))) {
  .site-header {
    background: color-mix(in srgb, var(--paper) 86%, transparent);
    -webkit-backdrop-filter: saturate(1.3) blur(12px);
    backdrop-filter: saturate(1.3) blur(12px);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 4px 24px;
  min-height: 56px;
  padding-block: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-stretch: 122%;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -.005em;
  line-height: 1.2;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; flex: none; color: var(--ink); }
.brand-mark .arc { stroke: var(--accent); }

.site-nav {
  position: relative;
  min-width: 0;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav ul {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 2px;
  list-style: none;
}
.site-nav a {
  display: block;
  padding: 6px 11px;
  border-radius: var(--radius);
  color: var(--ink-2);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--ink); background: var(--surface-2); }
.site-nav a[aria-current] {
  color: var(--ink);
  background: var(--surface);
  box-shadow: inset 0 -2px 0 var(--accent), 0 0 0 1px var(--rule);
}
.site-nav a:focus-visible { outline-offset: -2px; }

@media (prefers-reduced-motion: no-preference) {
  .site-nav a { transition: background-color .15s ease, color .15s ease; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: calc(6.5rem + env(safe-area-inset-top, 0px)); }
  .header-inner { flex-wrap: wrap; padding-block: 8px 6px; }
  .site-nav { flex: 1 0 100%; margin-left: 0; }
  .site-nav ul { padding-inline: 0; }
  .site-nav a { padding: 5px 10px; }
}

/* Phones: wrap the five links instead of hiding the overflow in a scroller. */
@media (max-width: 480px) {
  html { scroll-padding-top: calc(8rem + env(safe-area-inset-top, 0px)); }
  .site-nav { overflow-x: visible; }
  .site-nav ul { flex-wrap: wrap; row-gap: 2px; }
  .site-nav a { padding: 5px 7px; font-size: .8125rem; }
}

/* ------------------------------------------------------------------ */
/* Sections and type                                                    */
/* ------------------------------------------------------------------ */

.section { position: relative; }
.section > .wrap {
  position: relative;
  display: grid;
  gap: clamp(26px, 3.4vw, 44px);
  padding-block: clamp(52px, 7vw, 96px);
}
.section > .wrap > * { min-width: 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 24px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, var(--step-3));
  line-height: 1.2;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.section-meta {
  margin: 0;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.sub-title {
  margin: 0;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-wrap: balance;
}

.block { display: grid; gap: 16px; align-content: start; }
.block > * { min-width: 0; }

/* Reading text is set in the serif, as on an academic page; controls and labels stay sans. */
.prose { display: grid; gap: 16px; max-width: 68ch; font-family: var(--font-serif); font-size: 1.0625rem; line-height: 1.72; }
.prose p { margin: 0; }
.note { margin: 0; font-family: var(--font-serif); font-size: 1rem; line-height: 1.65; color: var(--ink-2); max-width: 68ch; }

/* Button that asks the code browser to open a MATLAB file */
.file-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 1px 8px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: transparent;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .84em;
  font-weight: 500;
  line-height: 1.55;
  cursor: pointer;
  vertical-align: baseline;
  white-space: nowrap;
}
.file-link::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 1px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.file-link:hover { border-color: var(--accent); background: var(--surface-2); }

/* ------------------------------------------------------------------ */
/* Simulation section (hero)                                            */
/* ------------------------------------------------------------------ */

.section-sim::before {
  display: none;
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 440px;
  background-image:
    linear-gradient(to right, var(--rule) 1px, transparent 1px),
    linear-gradient(to bottom, var(--rule) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
  opacity: .5;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
  mask-image: linear-gradient(to bottom, black, transparent);
  pointer-events: none;
}
.section-sim > .wrap {
  gap: clamp(22px, 2.8vw, 34px);
  padding-block: clamp(30px, 4vw, 52px) clamp(52px, 6vw, 80px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: end;
  gap: 14px clamp(24px, 4vw, 56px);
}
.hero-text { display: grid; gap: 10px; min-width: 0; }

.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  display: none;
  content: "";
  flex: none;
  width: 20px;
  height: 2px;
  background: var(--accent);
  transform: translateY(-.32em);
}

.page-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 1.35rem + 1.7vw, var(--step-4));
  line-height: 1.15;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.lede {
  margin: 0;
  max-width: 56ch;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink-2);
  min-width: 0;
}

.noscript-note {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink-2);
}

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .lede { font-size: var(--step-0); }
}

/* ------------------------------------------------------------------ */
/* How it works                                                         */
/* ------------------------------------------------------------------ */

.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: start;
}

.eq-sheet {
  margin: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.eq-row {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  align-items: center;
  gap: 2px 18px;
  padding: 12px 4px;
  border-top: 1px solid var(--rule);
}
.eq-row:first-child { border-top: 0; }
.eq-label {
  margin: 0;
  font-size: var(--step--1);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-2);
}
.eq {
  display: grid;
  gap: 10px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-block: 4px;
}
.eq > math {
  font-size: 1.14em;
  justify-self: start;
}

.symbols {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 9px 18px;
  margin: 0;
  font-size: .9375rem;
  line-height: 1.5;
}
.symbols dt { white-space: nowrap; }
.symbols dt math { font-size: 1.08em; }
.symbols dd { margin: 0; color: var(--ink-2); min-width: 0; font-family: var(--font-serif); }

p math, li math, dd math, dt math { font-size: 1.06em; }

.rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px clamp(20px, 2.5vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.rule {
  display: grid;
  gap: 8px;
  align-content: start;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  min-width: 0;
}
.rule-head { display: flex; align-items: center; gap: 12px; }
.rule-glyph { flex: none; width: 58px; height: 28px; }
.rule-glyph .base { stroke: var(--ink-3); }
.rule-glyph .bar { fill: var(--accent); }
.rule-glyph .bar-pa { fill: var(--plot-amber); }
.rule-name { margin: 0; font-family: var(--font-serif); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.rule-k { margin: 0; }
.rule p { margin: 0; color: var(--ink-2); font-family: var(--font-serif); font-size: 1rem; line-height: 1.65; }

.derived {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px clamp(20px, 2.5vw, 32px);
  margin: 0;
}
/* Each card spans four shared rows (name, formula, value, meaning) so the rows line up across cards. */
.derived > div {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  gap: 6px;
  align-content: start;
  align-items: end;
  padding-block: 12px 14px;
  border-top: 1px solid var(--rule);
  min-width: 0;
}
.derived .meaning { align-self: start; }
.derived dt { font-weight: 600; line-height: 1.3; }
.derived dd { margin: 0; min-width: 0; }
.derived .formula { overflow-x: auto; overflow-y: hidden; }
.derived .value {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.derived .meaning { color: var(--ink-2); font-family: var(--font-serif); font-size: 1rem; line-height: 1.6; }

.how-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px clamp(24px, 3.5vw, 48px);
  align-items: start;
}

@media (max-width: 1040px) {
  .derived { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .how-grid, .how-notes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .rules { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .eq-row { grid-template-columns: minmax(0, 1fr); padding: 10px 12px; }
  .eq > math { font-size: 1.04em; }
  .symbols { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .symbols dd { margin-bottom: 8px; }
}
@media (max-width: 520px) {
  .derived { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .eq-row { padding-inline: 10px; }
  .eq > math { font-size: .94em; }
}

/* ------------------------------------------------------------------ */
/* MATLAB code section (the browser itself lives in #code-root)         */
/* ------------------------------------------------------------------ */

/* ------------------------------------------------------------------ */
/* Figures                                                              */
/* ------------------------------------------------------------------ */

.figures { display: grid; gap: clamp(36px, 4.5vw, 60px); }

.plate {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 16px clamp(20px, 3vw, 40px);
  align-items: start;
  margin: 0;
}
.plate-zoom {
  display: block;
  width: 100%;
  min-width: 0;
  padding: clamp(8px, 1.2vw, 14px);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: #FFFFFF;
  cursor: zoom-in;
}
.plate-zoom img { display: block; width: 100%; height: auto; }
.plate-zoom:hover { border-color: var(--ink-3); }

.plate figcaption {
  display: grid;
  gap: 8px;
  align-content: start;
  justify-items: start;
  min-width: 0;
}
.plate-label {
  margin: 0;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.plate-label strong { color: var(--ink); font-weight: 500; }
.plate-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  text-wrap: balance;
}
.plate-caption { margin: 0; color: var(--ink-2); font-family: var(--font-serif); font-size: 1rem; line-height: 1.65; }
.plate figcaption .file-link { margin-top: 4px; }

@media (max-width: 900px) {
  .plate { grid-template-columns: minmax(0, 1fr); }
}

/* Lightbox */
html:has(dialog.lightbox[open]) { overflow: hidden; }

.lightbox {
  width: min(1640px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.lightbox::backdrop { background: var(--screen); opacity: .82; }
@supports (background: color-mix(in srgb, red 50%, transparent)) {
  .lightbox::backdrop { background: color-mix(in srgb, var(--screen) 82%, transparent); opacity: 1; }
}
.lightbox[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.lightbox-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 10px 12px 10px 16px;
  border-bottom: 1px solid var(--rule);
}
.lightbox-heading {
  margin: 0;
  min-width: 0;
  font-size: .9375rem;
  line-height: 1.4;
}
.lightbox-label {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--ink-2);
  margin-right: 8px;
}
.lightbox-title { font-weight: 600; }
.lightbox-actions { display: flex; align-items: center; gap: 8px; }
.lightbox-close {
  padding: 5px 12px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 500;
  cursor: pointer;
}
.lightbox-close:hover { border-color: var(--ink-3); }
.lightbox-view {
  min-height: 0;
  overflow: auto;
  padding: 12px;
  background: var(--surface);
}
.lightbox-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 130px);
  max-height: calc(100dvh - 130px);
  object-fit: contain;
  margin-inline: auto;
}
.lightbox-hint {
  display: none;
  margin: 0;
  padding: 8px 16px 10px;
  border-top: 1px solid var(--rule);
  font-size: var(--step--1);
  color: var(--ink-2);
}
@media (max-width: 700px) {
  .lightbox-img {
    width: auto;
    max-width: none;
    height: min(58vh, 340px);
    max-height: none;
    margin-inline: 0;
  }
  .lightbox-hint { display: block; }
}

/* ------------------------------------------------------------------ */
/* About and footer                                                     */
/* ------------------------------------------------------------------ */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.draft-label {
  margin: 0;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.draft-title {
  margin: 0;
  max-width: 34ch;
  font-family: var(--font-serif);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.3;
  text-wrap: balance;
}
.facts { display: grid; gap: 16px; margin: 0; }
.facts > div { display: grid; gap: 2px; padding-top: 10px; border-top: 1px solid var(--rule); }
.facts dt {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.facts dd { margin: 0; font-family: var(--font-serif); font-size: 1.0625rem; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
}

.site-footer { border-top: 1px solid var(--rule); }
.site-footer .wrap {
  padding-block: 22px 30px;
  font-size: var(--step--1);
  color: var(--ink-2);
}
.site-footer p { margin: 0; }
