/* Hallmark · v2.0.0 · redesign: full · theme: cobalt (deal: manual, matched on backend, api, database) · genre: modern-minimal · job: hire · posture: restrained · hero: Stage · nav: edge-aligned, wordmark and four links with one Contact key · footer: colophon block · signature: an ASCII field of raw requests resolving into the backend profile */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: P, the page argues for backend judgement but still opens on a profile; each case now leads with its own system diagram so the argument is made in the work */
/* Hallmark · dropped the eyebrows and the hero index strip (54, 66), the arrows glued to links (63), the VERIFIED and ACTIVE status tags, the signal bars and the Anime.js choreography (genre keeps the page composed) */
/* Hallmark · reworded all page copy into the owner's own voice (first person, casual, short), taken from the original site; date ranges as "2025 to 2028" since 19 names the en dash */

:root {
  --color-paper: oklch(98.6% 0.005 250);
  --color-paper-2: oklch(96.2% 0.008 252);
  --color-paper-3: oklch(93% 0.011 252);
  --color-ink: oklch(21% 0.028 262);
  --color-ink-2: oklch(36% 0.022 260);
  --color-muted: oklch(50% 0.018 258);
  --color-rule: oklch(90% 0.009 252);
  --color-rule-2: oklch(83% 0.012 252);
  --color-graphite: oklch(21% 0.024 262);
  --color-graphite-2: oklch(26.5% 0.026 262);
  --color-graphite-ink: oklch(93% 0.010 250);
  --color-graphite-muted: oklch(72% 0.022 256);
  --color-graphite-rule: oklch(34% 0.026 262);
  --color-accent: oklch(52% 0.19 258);
  --color-accent-2: oklch(76% 0.13 254);
  --color-accent-wash: oklch(95% 0.028 256);
  --color-accent-ink: oklch(98.6% 0.005 250);
  --color-accent-deep: oklch(43% 0.2 262);
  --color-accent-edge: oklch(39% 0.16 260);
  --color-focus: oklch(52% 0.19 258);
  --color-focus-dark: oklch(76% 0.13 254);
  --color-glyph-1: oklch(89% 0.025 254);
  --color-glyph-2: oklch(81% 0.045 255);
  --color-glyph-3: oklch(70% 0.085 256);
  --color-glyph-4: oklch(60% 0.13 257);
  --color-key-face: oklch(99.4% 0.003 250);
  --color-key-edge: oklch(80% 0.016 254);
  --color-header: oklch(98.6% 0.005 250 / 0.9);

  --font-display: "Familjen Grotesk", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-outlier: "JetBrains Mono", ui-monospace, monospace;

  --text-display: clamp(2.75rem, 1.6rem + 3.6vw, 5.25rem);
  --text-display-s: clamp(2.25rem, 1.4rem + 2.6vw, 3.75rem);
  --text-section: clamp(2.125rem, 1.5rem + 1.9vw, 3.25rem);
  --text-title: clamp(1.375rem, 1.2rem + 0.5vw, 1.5625rem);
  --text-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --text-md: 1rem;
  --text-sm: 0.875rem;

  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px;
  --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;

  --container: 1440px;
  --gutter: 64px;
  --gap-columns: 32px;
  --nav-height: 72px;

  --radius-card: 8px; --radius-input: 6px;
  --cut: 8px; --cut-l: 16px;
  --rule-hair: 1px;
  --shadow-card: 0 1px 2px oklch(21% 0.028 262 / 0.06);
  --shadow-key: 0 3px 0 0 var(--color-key-edge), 0 6px 8px -4px oklch(21% 0.028 262 / 0.28), inset 0 1px 0 oklch(100% 0 0 / 0.9);
  --shadow-key-accent: 0 3px 0 0 var(--color-accent-edge), 0 6px 8px -4px oklch(30% 0.12 260 / 0.45), inset 0 1px 0 oklch(100% 0 0 / 0.22);
  --shadow-key-dark: 0 3px 0 0 oklch(14% 0.02 262), inset 0 1px 0 oklch(100% 0 0 / 0.08);
  --shadow-key-press: inset 0 1px 2px oklch(21% 0.028 262 / 0.14);
  --tracking-display: -0.028em;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-micro: 120ms;
  --dur-short: 220ms;
  --z-sticky-nav: 300;
  --z-skip: 400;
}

@media (max-width: 60rem) {
  :root { --gutter: 24px; --section-gap-s: 88px; --section-gap: 96px; --section-gap-l: 112px; }
}
@media (max-width: 30rem) {
  :root { --gutter: 16px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  overflow-x: clip;
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font: 400 var(--text-md)/1.6 var(--font-body);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: var(--tracking-display);
  line-height: 1.04;
  color: inherit;
  text-wrap: balance;
  overflow-wrap: break-word;
  min-width: 0;
}
h1 { font-size: var(--text-display); max-width: 14ch; }
h2 { font-size: var(--text-section); max-width: 22ch; }
h3 { font-size: var(--text-title); font-weight: 500; line-height: 1.15; max-width: 40ch; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: var(--text-lead); line-height: 1.45; color: var(--color-ink-2); max-width: 42ch; }

a { color: inherit; text-decoration-color: var(--color-rule-2); text-underline-offset: 0.2em; transition: text-decoration-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
a:hover { text-decoration-color: var(--color-accent); }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; transition: none; }
.graphite :focus-visible { outline-color: var(--color-focus-dark); }
button { font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: fixed; top: var(--space-sm); left: var(--space-sm); z-index: var(--z-skip);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-accent); color: var(--color-accent-ink);
  border-radius: var(--radius-input);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* Keys */
.key {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 var(--space-lg);
  border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-input);
  background: var(--color-key-face); color: var(--color-ink);
  font: 500 var(--text-md)/1 var(--font-display);
  text-decoration: none; white-space: nowrap;
  box-shadow: var(--shadow-key);
  cursor: pointer;
  transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out);
}
.key:hover { transform: translateY(-1px); }
.key:active { transform: translateY(3px); box-shadow: var(--shadow-key-press); }
.key--primary { background: var(--color-accent); border-color: var(--color-accent-edge); color: var(--color-accent-ink); box-shadow: var(--shadow-key-accent); }
.key--dark { background: var(--color-graphite-2); border-color: var(--color-graphite-rule); color: var(--color-graphite-ink); box-shadow: var(--shadow-key-dark); }
.key--small { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
@media (prefers-reduced-motion: reduce) {
  .key { transition: none; }
  .key:hover, .key:active { transform: none; }
}

.cut { border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); }
@supports (corner-shape: bevel) {
  .cut { border-radius: var(--cut-l) 4px var(--cut-l) 4px; corner-shape: bevel round bevel round; }
}
.graphite { background: var(--color-graphite); color: var(--color-graphite-ink); }
.graphite.cut { border-color: var(--color-graphite-rule); }

/* Nav */
.site-header {
  position: sticky; top: 0; z-index: var(--z-sticky-nav);
  border-bottom: var(--rule-hair) solid var(--color-rule);
  background: var(--color-header);
  backdrop-filter: blur(10px);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--nav-height); }
.wordmark { font: 600 1.25rem/1 var(--font-display); letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: var(--space-lg); }
.nav-links > a:not(.key) { font-size: var(--text-sm); color: var(--color-ink-2); text-decoration: none; white-space: nowrap; padding-block: var(--space-sm); }
.nav-links > a:not(.key):hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }
.menu-toggle {
  display: none; align-items: center; gap: var(--space-xs);
  min-height: 44px; padding: 0 var(--space-md);
  border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-input);
  background: var(--color-key-face); cursor: pointer;
  font-family: var(--font-display); font-weight: 500;
}
.menu-toggle:active { background: var(--color-paper-3); }
.menu-mark { width: 14px; height: 8px; border-block: 2px solid currentColor; transition: transform var(--dur-short) var(--ease-out); }
.menu-toggle[aria-expanded="true"] .menu-mark { transform: scaleY(0.4); }
@media (prefers-reduced-motion: reduce) { .menu-mark { transition: none; } }

@media (max-width: 52rem) {
  .menu-toggle { display: inline-flex; }
  .nav { position: relative; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--space-xs) var(--gutter) var(--space-lg);
    background: var(--color-paper);
    border-bottom: var(--rule-hair) solid var(--color-rule);
  }
  .nav-links.is-open { display: flex; }
  .nav-links > a:not(.key) { padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); font-size: var(--text-md); }
  .nav-links .key { margin-top: var(--space-md); }
}

/* Hero: Stage */
.hero { padding-block: var(--space-2xl) var(--space-3xl); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-3xl);
  align-items: center;
  min-height: calc(100svh - var(--nav-height) - var(--space-2xl) - var(--space-3xl));
}
.hero-copy { display: grid; gap: var(--space-lg); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-xs); }
.hero-stage {
  position: relative;
  margin: 0;
  min-height: 600px;
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: end; align-items: center;
  padding: var(--space-xl);
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-card);
  background: var(--color-paper-2);
  background-image: radial-gradient(circle at 1px 1px, var(--color-glyph-1) 1px, transparent 1.5px);
  background-size: 8px 16px;
  overflow: hidden;
}
.field { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.profile { position: relative; width: min(100%, 440px); min-width: 0; box-shadow: var(--shadow-card); }
.pane-head {
  display: flex; justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  border-bottom: var(--rule-hair) solid var(--color-graphite-rule);
  background: var(--color-graphite-2);
  border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0;
  font: 400 var(--text-sm)/1.4 var(--font-outlier); color: var(--color-graphite-muted);
}
.code { margin: 0; padding: var(--space-lg) var(--space-md); overflow-x: auto; font: 400 0.9375rem/1.7 var(--font-outlier); color: var(--color-graphite-ink); }
.code .k { color: var(--color-graphite-muted); }
.code .s { color: var(--color-accent-2); }

@media (max-width: 60rem) {
  .hero { padding-block: var(--space-xl) var(--space-2xl); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); min-height: 0; }
  .hero-stage { min-height: 400px; justify-items: center; padding: var(--space-lg); }
}
@media (max-width: 30rem) {
  .hero-stage { padding: var(--space-md); min-height: 360px; }
  .code { font-size: 0.8125rem; white-space: pre-wrap; overflow-wrap: break-word; padding-inline: var(--space-sm); }
}

/* Sections */
.section { padding-block: var(--section-gap) 0; }
.band { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-paper-2); border-block: var(--rule-hair) solid var(--color-rule); }
.head-split {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: var(--gap-columns); align-items: end;
  padding-bottom: var(--space-2xl);
  border-bottom: var(--rule-hair) solid var(--color-rule);
}
@media (max-width: 60rem) { .head-split { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); } }

/* Work */
.project { padding-block: var(--space-3xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.project:last-child { border-bottom: 0; padding-bottom: 0; }
.project--split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.project--flip { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.project-main { display: grid; gap: var(--space-md); align-content: start; }
.project-main > p:not(.project-lead), .project-body > p { color: var(--color-ink-2); max-width: 62ch; }
.project-lead { font-size: var(--text-lead); line-height: 1.4; color: var(--color-ink); max-width: 36ch; }

.decisions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); margin: var(--space-xs) 0 0; padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.decisions dt { font: 500 var(--text-sm)/1.4 var(--font-display); color: var(--color-accent); margin-bottom: var(--space-2xs); }
.decisions dd { margin: 0; font-size: var(--text-sm); line-height: 1.55; color: var(--color-ink-2); }

.stack { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: var(--space-xs) 0 0; padding: 0; list-style: none; }
.stack li { padding: var(--space-2xs) var(--space-sm); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-input); font-size: var(--text-sm); color: var(--color-ink-2); background: var(--color-paper); }
.project-actions { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin-top: var(--space-xs); }
.project-actions a, .text-link { font: 500 var(--text-md)/1.4 var(--font-display); text-decoration: underline; text-decoration-thickness: 1px; padding-block: var(--space-xs); }
.project-actions a:hover, .text-link:hover { color: var(--color-accent); }

/* Mint diagram */
.diagram { margin: 0; padding: var(--space-xl); min-height: 440px; display: grid; align-content: center; gap: var(--space-xl); }
.flow { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-xl); position: relative; }
.flow li { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md); padding: var(--space-md) var(--space-lg); border: var(--rule-hair) solid var(--color-graphite-rule); border-radius: var(--radius-input); }
.flow li + li::before { content: ""; position: absolute; left: var(--space-2xl); bottom: 100%; height: var(--space-xl); border-left: var(--rule-hair) solid var(--color-graphite-muted); }
.flow-step { font: 500 1.125rem/1.2 var(--font-outlier); }
.flow-note { font-size: var(--text-sm); color: var(--color-graphite-muted); text-align: right; }
.flow-core { background: var(--color-graphite-2); border-color: var(--color-accent-2) !important; }
.branches { margin: 0; padding: var(--space-lg) 0 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); position: relative; border-top: var(--rule-hair) solid var(--color-graphite-muted); }
.branches::before { content: ""; position: absolute; left: var(--space-2xl); bottom: 100%; height: var(--space-xl); border-left: var(--rule-hair) solid var(--color-graphite-muted); }
.branches li { display: grid; gap: var(--space-2xs); padding-top: var(--space-sm); }
.branches span { font-size: var(--text-sm); color: var(--color-graphite-muted); }
.branches strong { font: 500 var(--text-md)/1.3 var(--font-outlier); color: var(--color-accent-2); }

/* WattWise */
.project--wide { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl) var(--space-3xl); }
.project-head { display: grid; gap: var(--space-md); align-content: start; }
.pipeline-figure { grid-column: 1 / -1; grid-row: 2; margin: 0; padding: var(--space-xl); background: var(--color-paper-2); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-xl); align-items: center; }
.pipeline { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; }
.pipeline li { position: relative; display: grid; gap: var(--space-2xs); padding: var(--space-lg) var(--space-lg) 0 0; border-top: 2px solid var(--color-ink); counter-increment: step; }
.pipeline li::before { content: counter(step); position: absolute; top: calc(-1 * var(--space-sm)); left: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--color-paper-2); border: 2px solid var(--color-ink); font: 500 0.75rem/1 var(--font-outlier); }
.pipeline li:last-child { border-top-color: var(--color-accent); }
.pipeline li:last-child::before { border-color: var(--color-accent); color: var(--color-accent); }
.pipeline strong { font: 600 var(--text-title)/1.1 var(--font-display); letter-spacing: var(--tracking-display); padding-top: var(--space-xs); }
.pipeline span { font-size: var(--text-sm); color: var(--color-muted); }
.reading { display: grid; gap: var(--space-2xs); padding-left: var(--space-xl); border-left: var(--rule-hair) solid var(--color-rule-2); }
.reading-figure { font: 600 var(--text-display-s)/1 var(--font-display); letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.reading-figure small { font-size: 0.45em; color: var(--color-muted); }
.reading-label { font-size: var(--text-sm); color: var(--color-muted); }
.project-body { grid-column: 2; grid-row: 1; display: grid; gap: var(--space-md); }
.project-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-md); }

/* CivicLens mapping */
.mapping { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) var(--space-xl) minmax(0, 1fr); align-items: center; min-height: 440px; padding: var(--space-xl); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); }
.mapping .pane { min-height: 240px; }
.pane-rows { margin: 0; padding: var(--space-md) var(--space-lg) var(--space-lg); }
.pane-rows div { display: flex; justify-content: space-between; gap: var(--space-md); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-graphite-rule); }
.pane-rows div:last-child { border-bottom: 0; }
.pane-rows dt { font-size: var(--text-sm); color: var(--color-graphite-muted); }
.pane-rows dd { margin: 0; font: 500 var(--text-md)/1.5 var(--font-outlier); color: var(--color-accent-2); text-align: right; }
.mapping-joint { height: 100%; position: relative; }
.mapping-joint::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; border-top: var(--rule-hair) solid var(--color-ink-2); }
.mapping-joint::after { content: ""; position: absolute; top: calc(50% - 4px); right: 0; border: 4px solid transparent; border-left-color: var(--color-ink-2); border-right: 0; }

@media (max-width: 60rem) {
  .project--split, .project--flip, .project--wide { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .project--flip .mapping { order: 2; }
  .project-body { grid-column: 1; grid-row: auto; }
  .pipeline-figure { grid-row: auto; grid-template-columns: minmax(0, 1fr); }
  .reading { padding-left: 0; padding-top: var(--space-lg); border-left: 0; border-top: var(--rule-hair) solid var(--color-rule-2); }
  .diagram { min-height: 0; padding: var(--space-lg); }
}
@media (max-width: 40rem) {
  .decisions { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-xl); }
  .branches { grid-template-columns: minmax(0, 1fr); }
  .flow li { flex-direction: column; gap: var(--space-2xs); }
  .flow-note { text-align: left; }
  .mapping { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto var(--space-xl) auto; min-height: 0; padding: var(--space-md); }
  .mapping .pane { min-height: 0; }
  .mapping-joint::before { top: 0; bottom: 0; left: 50%; right: auto; border-top: 0; border-left: var(--rule-hair) solid var(--color-ink-2); }
  .mapping-joint::after { top: auto; bottom: 0; right: auto; left: calc(50% - 4px); border: 4px solid transparent; border-top-color: var(--color-ink-2); border-bottom: 0; }
}

/* Experience: rows */
.rows-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); align-items: start; }
.rows-layout h2 { max-width: 12ch; position: sticky; top: calc(var(--nav-height) + var(--space-xl)); }
.timeline { margin: 0; padding: 0; list-style: none; }
.role { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) minmax(0, 4fr); gap: var(--gap-columns); padding-block: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule-2); }
.role:first-child { border-top: 0; padding-top: 0; }
.role time { font: 500 var(--text-sm)/1.6 var(--font-display); color: var(--color-muted); font-variant-numeric: tabular-nums; }
.role-company { margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-muted); }
.role > p { color: var(--color-ink-2); }
@media (max-width: 60rem) {
  .rows-layout { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .rows-layout h2 { position: static; max-width: 22ch; }
  .role { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
}

/* Toolkit: table */
.tool-table { width: 100%; margin-top: var(--space-2xl); border-collapse: collapse; }
.tool-table th, .tool-table td { text-align: left; vertical-align: baseline; padding: var(--space-lg) var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.tool-table thead th { padding-block: var(--space-sm); font: 500 var(--text-sm)/1.4 var(--font-display); color: var(--color-muted); border-bottom-color: var(--color-rule-2); }
.tool-table tbody th { width: 30%; font: 500 var(--text-title)/1.2 var(--font-display); letter-spacing: var(--tracking-display); }
.tool-table td { font: 400 var(--text-md)/1.6 var(--font-outlier); color: var(--color-ink-2); }
.tool-table .is-lead { background: var(--color-accent-wash); }
.tool-table .is-lead td { color: var(--color-ink); }
@media (max-width: 40rem) {
  .tool-table thead { display: none; }
  .tool-table tr { display: grid; padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
  .tool-table th, .tool-table td { width: auto !important; padding: var(--space-2xs) var(--space-sm); border: 0; }
  .tool-table td { font-size: var(--text-sm); }
}

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: start; }
.about-copy { display: grid; gap: var(--space-lg); }
.about-copy h2 { font-size: var(--text-display-s); max-width: 20ch; margin-bottom: var(--space-xs); }
.about-copy p { max-width: 60ch; color: var(--color-ink-2); font-size: 1.0625rem; }
.credentials { display: grid; gap: var(--space-sm); padding: var(--space-xl); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper); box-shadow: var(--shadow-card); }
.credential-school { color: var(--color-muted); font-size: var(--text-sm); }
.credential-list { margin: var(--space-md) 0; padding: 0; list-style: none; }
.credential-list li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); }
.credential-list time { color: var(--color-muted); font-variant-numeric: tabular-nums; }
.credential-list span { color: var(--color-ink); font-weight: 500; }
@media (max-width: 60rem) { .about-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); } .credentials { padding: var(--space-lg); } }

/* Contact: graphite close */
.contact { margin-top: var(--section-gap-l); padding-block: var(--section-gap-s); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--gap-columns); align-items: end; }
.contact h2 { font-size: var(--text-display-s); max-width: 14ch; }
.contact-body { display: grid; gap: var(--space-xl); }
.contact-body p { color: var(--color-graphite-muted); font-size: var(--text-lead); line-height: 1.5; max-width: 44ch; }
.contact-links { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.contact a { text-decoration-color: var(--color-graphite-rule); }
@media (max-width: 60rem) { .contact-inner { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }
@media (max-width: 30rem) { .contact-links .key { width: 100%; padding-inline: var(--space-md); font-size: var(--text-sm); } }

/* Footer: colophon */
.footer { padding-block: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-md) var(--space-xl); font-size: var(--text-sm); color: var(--color-muted); }
.footer-mark { font: 600 var(--text-md)/1.2 var(--font-display); color: var(--color-ink); }
.footer a { color: var(--color-ink); padding-block: var(--space-xs); }

/* Competitions: ruled results list */
.results { margin: var(--space-2xl) 0 0; padding: 0; list-style: none; }
.result { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--gap-columns); align-items: center; padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.result:first-child { padding-top: 0; }
.result-place { font: 600 var(--text-display-s)/1 var(--font-display); letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums; color: var(--color-ink); white-space: nowrap; }
.result.is-lead .result-place { color: var(--color-accent); }
.result h3 { font-size: var(--text-title); }
.result p { margin-top: var(--space-2xs); color: var(--color-muted); }
@media (max-width: 40rem) { .result { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); padding-block: var(--space-lg); } }

.credential-note { font-size: var(--text-sm); color: var(--color-ink-2); }
.credential-list li { grid-template-columns: minmax(0, 1fr); }
