/* www.stefandecker.org
   Editorial layout: Source Serif for reading, Source Sans for interface text,
   Source Code Pro for RDF details. Accent is the RDF logo blue. */

:root {
  --paper: #fcfbf8;
  --band: #f2f4f7;
  --surface: #ffffff;
  --ink: #18202c;
  --ink-2: #3a4556;
  --muted: #5d6778;
  --line: #e2e0da;
  --line-strong: #c3ccd8;
  --accent: #00579c;
  --accent-strong: #003f73;
  --accent-soft: #e6eef7;
  --on-accent: #ffffff;
  --shadow: 0 1px 2px rgb(16 24 40 / 0.05), 0 12px 32px -18px rgb(16 24 40 / 0.22);
  --footer: #e8ebf0;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --display: "Source Serif 4 Display", "Source Serif 4", Georgia, serif;
  --sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Source Code Pro", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 72rem;
  --prose: 42rem;
  --radius: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f141b;
    --band: #141b24;
    --surface: #19212c;
    --ink: #e8ecf2;
    --ink-2: #c4ccd8;
    --muted: #98a4b5;
    --line: #253041;
    --line-strong: #3a4a62;
    --accent: #7db9ee;
    --accent-strong: #a8d0f5;
    --accent-soft: #172a3f;
    --on-accent: #0f141b;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 12px 32px -18px rgb(0 0 0 / 0.6);
    --footer: #0a0e14;
  }
}

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

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--serif);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe { max-width: 100%; }
img { height: auto; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--accent-strong); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3 { color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
@media (min-width: 48rem) { .wrap { width: min(100% - 4rem, var(--wrap)); } }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 50; background: var(--surface); padding: 0.5rem 1rem; }

.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.mono { font-family: var(--mono); font-size: 0.85em; word-break: break-all; }

.eyebrow {
  margin: 0 0 0.9rem;
  font: 600 0.78rem/1.3 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }

.label {
  margin: 0 0 1.25rem;
  font: 600 0.8rem/1.3 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.lead { font-size: 1.22rem; line-height: 1.6; color: var(--ink-2); }

/* ---- Buttons ------------------------------------------------------------ */

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin: 0 0 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: 600 0.98rem/1.2 var(--sans);
  text-decoration: none;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.button:hover { border-color: var(--accent); color: var(--accent); }
.button.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.button.primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--on-accent); }

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

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
@media (min-width: 48rem) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: color-mix(in srgb, var(--paper) 86%, transparent);
    -webkit-backdrop-filter: saturate(1.5) blur(12px);
    backdrop-filter: saturate(1.5) blur(12px);
  }
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-block: 0.85rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  font: 600 1.3rem/1 var(--display);
  letter-spacing: 0.005em;
}
.brand:hover { color: var(--ink); }
.graph-mark { width: 1.7rem; height: 1.7rem; color: var(--accent); flex: none; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0.15rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.site-nav a {
  display: inline-block;
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
  color: var(--ink-2);
  font: 400 0.98rem/1.3 var(--sans);
  text-decoration: none;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }

/* ---- Hero --------------------------------------------------------------- */

.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.hero h1 {
  margin: 0 0 1.1rem;
  font: 600 clamp(3rem, 6.4vw, 4.75rem)/1 var(--display);
  letter-spacing: -0.015em;
}
.hero-role { margin: 0 0 0.5rem; font-size: clamp(1.15rem, 1.8vw, 1.32rem); line-height: 1.45; color: var(--ink-2); }
.hero-role a, .credentials a { color: inherit; text-decoration-color: var(--line-strong); }
.hero-role a:hover, .credentials a:hover { color: var(--accent); text-decoration-color: currentColor; }
.credentials { margin: 0 0 1.75rem; font: 400 0.95rem/1.5 var(--sans); color: var(--muted); }
.tagline {
  max-width: 30ch;
  margin: 0 0 2rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--accent);
  font-size: clamp(1.25rem, 2.1vw, 1.5rem);
  font-style: italic;
  line-height: 1.4;
}
.hero .actions { margin: 0; }
.social { display: inline-flex; gap: 1.1rem; margin-left: 0.4rem; font: 400 0.98rem/1 var(--sans); }

.hero-figure { margin: 0; }
.hero-portrait { display: none; }

.hero-graph { display: block; width: 100%; height: auto; overflow: visible; }
.hg-edge { stroke: var(--line-strong); stroke-width: 1.6; }
.hg-arrowhead { fill: var(--line-strong); }
.hg-halo { fill: var(--accent-soft); }
.hg-ring { fill: none; stroke: var(--accent); stroke-width: 3; }
.hg-node ellipse { fill: var(--surface); stroke: var(--accent); stroke-width: 1.6; }
.hg-node text { font: 600 16px var(--sans); fill: var(--ink); }
.hg-pred {
  font: 400 13.5px var(--mono);
  fill: var(--muted);
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 5px;
  stroke-linejoin: round;
}
@media (prefers-reduced-motion: no-preference) {
  .hg-node { animation: hg-float 7s ease-in-out infinite; }
  .hg-node:nth-child(2) { animation-delay: -1.2s; }
  .hg-node:nth-child(3) { animation-delay: -2.4s; }
  .hg-node:nth-child(4) { animation-delay: -3.6s; }
  .hg-node:nth-child(5) { animation-delay: -4.8s; }
  .hg-node:nth-child(6) { animation-delay: -6s; }
}
@keyframes hg-float { 50% { transform: translateY(-3px); } }

/* ---- Sections ----------------------------------------------------------- */

.section { position: relative; padding-block: clamp(3rem, 7vw, 5rem); }
.band { background: var(--band); border-block: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head h2, .section-title {
  margin: 0 0 1rem;
  font: 600 clamp(1.9rem, 3.4vw, 2.6rem)/1.12 var(--display);
  letter-spacing: -0.01em;
}
.section-head p:last-child { margin-bottom: 0; }

/* Mission */
.mission-intro { max-width: 46rem; }
.mission-intro p:last-child { margin-bottom: 0; }
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr));
  gap: 1rem;
  margin: 2.25rem 0 2.75rem;
  padding: 0;
  list-style: none;
}
.pillars li {
  padding: 1.4rem 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.pillars h3 { margin: 0.9rem 0 0.4rem; font: 600 1.12rem/1.3 var(--serif); }
.pillars p { margin: 0; font-size: 0.98rem; line-height: 1.55; color: var(--ink-2); }
.icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mission-outro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.mission-outro > p { margin: 0; }
.pullquote { margin: 0; padding: 0 0 0 1.25rem; border-left: 3px solid var(--accent); }
.pullquote p { margin: 0; font-size: 1.28rem; font-style: italic; line-height: 1.5; color: var(--ink); }

.rdf-toggle {
  position: absolute;
  top: clamp(1.25rem, 3vw, 2rem);
  right: clamp(1.25rem, 3vw, 2rem);
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  transition: transform 0.4s, border-color 0.15s;
}
.rdf-toggle::before {
  content: "";
  position: absolute;
  inset: 0.55rem;
  background: var(--accent);
  -webkit-mask: url(../img/rdf-logo.svg) center / contain no-repeat;
  mask: url(../img/rdf-logo.svg) center / contain no-repeat;
}
.rdf-toggle:hover { border-color: var(--accent); transform: rotate(-25deg); }
.rdf-toggle[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.rdf-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* Current work */
.now-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.roles, .projects, .pubs { margin: 0 0 2.25rem; padding: 0; list-style: none; }
.roles li, .projects li { display: grid; gap: 0.1rem; padding: 0.85rem 0; border-top: 1px solid var(--line); }
.roles li:first-child, .projects li:first-child { padding-top: 0; border-top: 0; }
.role-title { font-weight: 600; line-height: 1.4; }
.roles a { font: 400 0.98rem/1.45 var(--sans); }
.projects a { font-weight: 600; line-height: 1.4; }
.projects span { font: 400 0.95rem/1.5 var(--sans); color: var(--muted); }
.pubs li {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.pub-title { color: var(--ink); font-weight: 600; line-height: 1.4; text-decoration: none; }
.pub-title:hover { color: var(--accent); text-decoration: underline; }
.pub-meta { font: 400 0.9rem/1.5 var(--sans); color: var(--muted); }
.pub-meta strong { font-weight: 600; color: var(--ink-2); }
.more { margin: 0; font: 600 0.98rem/1.4 var(--sans); }
.more a::after { content: "\00a0→"; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.career { position: relative; margin: 0; padding: 0; list-style: none; }
.career::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0.6rem;
  bottom: 0.6rem;
  border-left: 2px solid var(--line-strong);
}
.career li { position: relative; display: grid; padding: 0 0 1.35rem 2rem; }
.career li:last-child { padding-bottom: 0; }
.career li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 0.95rem;
  height: 0.95rem;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--surface);
}
.career li:nth-child(-n + 2)::before { background: var(--accent); }
.career-when { font: 600 0.78rem/1.6 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.career-where { font-weight: 600; line-height: 1.4; }
.career-where a { color: inherit; }
.career-what { color: var(--ink-2); font-size: 0.98rem; line-height: 1.5; }
.career-what a { color: inherit; }

/* Accomplishments: a path through the graph */
.aside-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.aside-head { position: sticky; top: 6rem; margin-bottom: 0; }
.milestones { position: relative; margin: 0; padding: 0; list-style: none; counter-reset: milestone; }
.milestones::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.2rem;
  bottom: 1.2rem;
  border-left: 2px solid var(--line-strong);
}
.milestones li { position: relative; padding: 0 0 2rem 3.4rem; counter-increment: milestone; }
.milestones li:last-child { padding-bottom: 0; }
.milestones li::before {
  content: counter(milestone);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
  font: 600 0.85rem/1 var(--sans);
}
.milestones h3 { margin: 0.15rem 0 0.4rem; font: 600 1.18rem/1.35 var(--serif); }
.milestones p { margin: 0; color: var(--ink-2); }

/* Vision */
.media-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.media-text p:last-child { margin-bottom: 0; }
.resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
}
.resources li {
  display: grid;
  gap: 0.2rem;
  align-content: start;
  padding: 1.15rem 1.25rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.resources a { font-weight: 600; font-size: 1.08rem; line-height: 1.35; }
.resource-badge { font: 600 0.82rem/1.4 var(--mono); color: var(--accent); }
.resource-meta { font: 400 0.92rem/1.45 var(--sans); color: var(--muted); }
.note {
  max-width: 50rem;
  margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--ink-2);
}

.video { margin: 0; }
.video-facade {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.3rem;
  aspect-ratio: 16 / 9;
  padding: 1.25rem 1.4rem;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 78% 22%, rgb(125 185 238 / 0.35), transparent 45%),
    linear-gradient(135deg, #0b2440, #00579c);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.video-facade:hover { color: #fff; }
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.95);
  transform: translate(-50%, -62%);
  transition: transform 0.2s;
}
.video-play svg { width: 1.7rem; height: 1.7rem; margin-left: 0.2rem; fill: #00579c; }
.video-facade:hover .video-play { transform: translate(-50%, -62%) scale(1.08); }
.video-title { font: 600 1.05rem/1.3 var(--sans); }
.video-note { font: 400 0.8rem/1.3 var(--sans); opacity: 0.8; }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
.video figcaption { margin-top: 0.6rem; font: 400 0.9rem/1.4 var(--sans); color: var(--muted); }

/* Anecdotes */
.anecdotes {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1rem;
}
.card {
  padding: 1.5rem 1.6rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.card-tall { grid-row: span 2; }
.card-wide { grid-column: 1 / -1; }
.card .card-kicker { margin: 0 0 0.35rem; font: 600 0.75rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.card h3 { margin: 0 0 0.6rem; font: 600 1.25rem/1.3 var(--serif); }
.card p { margin: 0 0 0.9rem; color: var(--ink-2); }
.card p:last-child { margin-bottom: 0; }

.chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
  font: 600 0.95rem/1.2 var(--sans);
}
.chain li { display: flex; align-items: center; }
.chain li + li::before {
  content: "";
  width: 1.9rem;
  border-top: 2px solid var(--line-strong);
  margin: 0 0.15rem;
}
.chain a, .chain span {
  padding: 0.45rem 0.85rem;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  background: var(--surface);
  text-decoration: none;
}
.chain li:last-child span { background: var(--accent); color: var(--on-accent); }

/* Link cards (guides) */
.link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.link-cards a {
  display: grid;
  gap: 0.4rem;
  height: 100%;
  padding: 1.4rem 1.5rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
.link-cards a:hover { border-color: var(--accent); transform: translateY(-2px); }
.link-card-title { font: 600 1.15rem/1.3 var(--serif); }
.link-card-title::after { content: "\00a0→"; color: var(--accent); }
.link-card-text { font: 400 0.98rem/1.5 var(--sans); color: var(--muted); }

/* ---- Content pages ------------------------------------------------------ */

.page { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 8vw, 6rem); }
.page-head, .prose { width: min(100% - 2.5rem, var(--prose)); margin-inline: auto; }
.page-wide .page-head, .page-wide .prose { width: min(100% - 2.5rem, 56rem); }
@media (min-width: 48rem) {
  .page-head, .prose { width: min(100% - 4rem, var(--prose)); }
  .page-wide .page-head, .page-wide .prose { width: min(100% - 4rem, 56rem); }
}
.page-head { margin-bottom: 2.25rem; }
.page-head h1 { margin: 0 0 1rem; font: 600 clamp(2.2rem, 5vw, 3.3rem)/1.08 var(--display); letter-spacing: -0.012em; }
.page-head .lead { margin: 0; }

.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1rem; }
.prose ul, .prose ol { padding-left: 1.5rem; }
.prose li { margin: 0.35rem 0; padding-left: 0.2rem; }
.prose li > ul, .prose li > ol { margin: 0.35rem 0 0.6rem; }
.prose li::marker { color: var(--accent); }
.prose ol > li::marker { font: 600 0.95em var(--sans); }
.prose h2 { margin: 2.5rem 0 1rem; }
.prose h2.label { margin: 2.75rem 0 1.25rem; }
.prose h2.label:first-child { margin-top: 0; }
.byline { color: var(--muted); font-family: var(--sans); }

.frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.doc-embed { display: block; width: 100%; height: 80vh; min-height: 32rem; border: 0; }
.folder-embed { display: block; width: 100%; height: 20rem; border: 0; }

.soundbites { display: grid; gap: 1rem; margin-bottom: 1rem; }
.soundbite {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 23.75rem);
  grid-template-areas: "quote audio" "caption audio";
  gap: 0.5rem 2rem;
  align-items: start;
  margin: 0;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.soundbite blockquote { grid-area: quote; margin: 0; font-size: 1.22rem; font-style: italic; line-height: 1.45; color: var(--ink); }
.soundbite figcaption { grid-area: caption; font: 400 0.98rem/1.5 var(--sans); color: var(--muted); }
.soundbite iframe { grid-area: audio; align-self: center; width: 100%; height: 3.5rem; border: 0; border-radius: 8px; }
.link-list { padding-left: 1.2rem; }

/* ---- Footer ------------------------------------------------------------- */

.site-footer {
  padding-block: 3rem 2rem;
  border-top: 1px solid var(--line);
  background: var(--footer);
  font: 400 0.95rem/1.55 var(--sans);
  color: var(--ink-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem 3rem;
}
.footer-grid p { margin: 0 0 0.75rem; }
.footer-name { font: 600 1.25rem/1.3 var(--display); color: var(--ink); }
.footer-label { font: 600 0.75rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin: 0 0 0.9rem; padding: 0; list-style: none; }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---- Responsive --------------------------------------------------------- */

@media (max-width: 60rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 36rem; width: 100%; margin-inline: auto; }
  .about-grid, .aside-grid, .media-row, .mission-outro, .now-grid { grid-template-columns: 1fr; }
  .aside-head { position: static; }
  .media-row.reverse .media-text { order: -1; }
  .anecdotes { grid-template-columns: 1fr; }
  .card-tall { grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 40rem) {
  .hero { padding-top: 2rem; }
  .hero-figure { display: none; }
  .hero-portrait {
    display: block;
    width: 7.5rem;
    height: 7.5rem;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 18%;
    border: 3px solid var(--surface);
    box-shadow: 0 0 0 2px var(--accent);
  }
  .social { margin-left: 0; width: 100%; }
  .rdf-toggle { top: 1rem; right: 1rem; }
  .milestones li { padding-left: 2.9rem; }
  .soundbite { grid-template-columns: 1fr; grid-template-areas: "quote" "caption" "audio"; }
  .footer-grid { grid-template-columns: 1fr; }
}
