/* ============================================================
   Tokens — OKLCH, light + dark. Dark applies via explicit
   [data-theme="dark"] or system preference (unless overridden
   with data-theme="light").
   ============================================================ */
:root {
  --ground: oklch(0.985 0.008 78);
  --panel: oklch(0.963 0.011 78);
  --ink: oklch(0.235 0.012 62);
  --muted: oklch(0.505 0.013 65);
  --line: oklch(0.86 0.012 72);
  --amber: oklch(0.605 0.132 55);
  --amber-ink: oklch(0.52 0.14 50);
  --verified: oklch(0.535 0.062 168);
  --reckless: oklch(0.515 0.115 32);
  --console-bg: oklch(0.205 0.012 62);
  --console-panel: oklch(0.255 0.013 62);
  --console-ink: oklch(0.9 0.012 80);
  --console-muted: oklch(0.62 0.012 72);
  --console-line: oklch(0.32 0.013 62);
}

[data-theme="dark"] {
  --ground: oklch(0.185 0.012 62);
  --panel: oklch(0.228 0.013 62);
  --ink: oklch(0.93 0.008 80);
  --muted: oklch(0.66 0.013 72);
  --line: oklch(0.315 0.013 62);
  --amber: oklch(0.7 0.13 60);
  --amber-ink: oklch(0.74 0.13 62);
  --verified: oklch(0.685 0.072 168);
  --reckless: oklch(0.64 0.12 34);
  --console-bg: oklch(0.145 0.012 62);
  --console-panel: oklch(0.19 0.013 62);
  --console-ink: oklch(0.9 0.012 80);
  --console-muted: oklch(0.6 0.012 72);
  --console-line: oklch(0.28 0.013 62);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: oklch(0.185 0.012 62);
    --panel: oklch(0.228 0.013 62);
    --ink: oklch(0.93 0.008 80);
    --muted: oklch(0.66 0.013 72);
    --line: oklch(0.315 0.013 62);
    --amber: oklch(0.7 0.13 60);
    --amber-ink: oklch(0.74 0.13 62);
    --verified: oklch(0.685 0.072 168);
    --reckless: oklch(0.64 0.12 34);
    --console-bg: oklch(0.145 0.012 62);
    --console-panel: oklch(0.19 0.013 62);
    --console-ink: oklch(0.9 0.012 80);
    --console-muted: oklch(0.6 0.012 72);
    --console-line: oklch(0.28 0.013 62);
  }
}

/* ============================================================
   Base
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ground);
  color: var(--ink);
  font-family: 'Archivo', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: clip;
  transition: background 0.4s ease, color 0.4s ease;
}

a { color: var(--amber-ink); text-decoration: none; }
a:hover { color: var(--ink); }

::selection { background: var(--amber); color: oklch(0.99 0 0); }

@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ============================================================
   Layout primitives
   ============================================================ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 56px);
  padding-right: clamp(20px, 5vw, 56px);
}

.section { border-top: 1px solid var(--line); }
.section--panel { background: var(--panel); }
.section--invert { background: var(--ink); color: var(--ground); }

.section-inner {
  padding-top: clamp(72px, 10vw, 140px);
  padding-bottom: clamp(72px, 10vw, 140px);
}

.section-inner--contact {
  padding-top: clamp(80px, 11vw, 150px);
  padding-bottom: clamp(80px, 11vw, 150px);
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.eyebrow--amber { color: var(--amber); }

.section-title {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-size: clamp(30px, 4.6vw, 56px);
}
.max-16ch { max-width: 16ch; }
.max-18ch { max-width: 18ch; }
.max-20ch { max-width: 20ch; }

.section-sub {
  margin-top: 20px;
  max-width: 58ch;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
}

.em-ink { font-style: normal; color: var(--ink); }

/* ============================================================
   Reveal states (applied by main.js; content is visible
   without JS and under prefers-reduced-motion)
   ============================================================ */
.reveal-pending {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal-pending.is-visible { opacity: 1; transform: none; }

.run-pending {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.run-pending.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Nav
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--ground) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  padding-top: 12px;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.wordmark { display: flex; align-items: baseline; gap: 10px; color: var(--ink); }
.wordmark:hover { color: var(--ink); }
.wordmark-name { font-weight: 900; font-size: 20px; letter-spacing: -0.04em; }
.wordmark-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(12px, 2.2vw, 30px);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-link { color: var(--muted); transition: color 0.2s; }
.nav-link:hover { color: var(--ink); }

.theme-toggle {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--muted); }

.nav-cta {
  color: var(--ground);
  background: var(--ink);
  padding: 9px 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--amber); color: var(--ink); }

/* ============================================================
   Hero
   ============================================================ */
.hero-inner {
  padding-top: clamp(56px, 9vw, 120px);
  padding-bottom: clamp(40px, 6vw, 72px);
}

.hero-eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 40px;
  margin-bottom: 34px;
}

.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-ink);
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
}
.eyebrow-rule { width: 26px; height: 1px; background: var(--amber); }

.status-stamp {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px 18px;
  min-width: 234px;
  background: var(--panel);
}
.status-stamp-head {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.status-stamp-state {
  margin-top: 11px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--verified);
  display: flex;
  align-items: center;
  gap: 9px;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--verified); flex-shrink: 0; }
.status-stamp-note {
  margin-top: 11px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
}

.hero-title {
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.97;
  font-size: clamp(38px, 6.6vw, 88px);
  max-width: 15ch;
}
.hero-title-accent { color: var(--amber-ink); }

.hero-sub {
  margin-top: 30px;
  max-width: 60ch;
  font-size: clamp(16px, 1.9vw, 21px);
  line-height: 1.55;
  color: var(--muted);
}

.hero-ctas { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }

.btn { border-radius: 4px; font-size: 15px; padding: 15px 26px; }
.btn-primary {
  color: var(--ground);
  background: var(--ink);
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s;
}
.btn-primary:hover { background: var(--amber); color: var(--ink); }
.btn-secondary {
  color: var(--ink);
  background: transparent;
  font-weight: 600;
  border: 1px solid var(--line);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-secondary:hover { background: var(--ink); color: var(--ground); border-color: var(--ink); }

/* ============================================================
   Console (hero sample run)
   ============================================================ */
.console {
  margin-top: clamp(44px, 6vw, 72px);
  background: var(--console-bg);
  border: 1px solid var(--console-line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 60px -40px oklch(0.2 0.02 60 / 0.55);
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--console-line);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--console-muted);
}
.console-header-run { display: flex; align-items: center; gap: 10px; }
.console-header-flow { text-transform: uppercase; }

.console-body {
  padding: 16px clamp(12px, 2.4vw, 22px) 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(10.5px, 1.35vw, 13px);
  line-height: 1.5;
  color: var(--console-ink);
  overflow-x: auto;
}

.console-row {
  display: grid;
  grid-template-columns: 66px 92px 1fr auto;
  gap: 4px 16px;
  align-items: baseline;
  padding: 5px 0;
}
.console-row .c-time { color: var(--console-muted); }
.console-row .c-label { color: var(--amber); }
.console-row .c-msg { color: var(--console-muted); white-space: nowrap; }
.console-row .c-status { color: var(--console-muted); white-space: nowrap; }

.console-row--verify {
  border-top: 1px dashed var(--console-line);
  margin-top: 4px;
  padding-top: 9px;
}
.console-row--verify .c-label { color: var(--verified); }
.console-row--verify .c-msg { color: var(--console-ink); }
.console-row--verify .c-status { color: var(--verified); font-weight: 600; white-space: nowrap; }

.console-row--guard .c-label { color: var(--reckless); }
.console-row--guard .c-msg { color: var(--console-ink); }
.console-row--guard .c-status { color: var(--reckless); font-weight: 600; white-space: nowrap; }

/* A caught-and-fixed incident: flagged in red, resolved in teal. */
.console-row--fixed .c-label { color: var(--reckless); }
.console-row--fixed .c-msg { color: var(--console-ink); }
.console-row--fixed .c-status { color: var(--verified); font-weight: 600; white-space: nowrap; }

.console-note {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--console-line);
  color: var(--console-muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.console-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--console-ink);
  margin-left: 8px;
  transform: translateY(2px);
  animation: blink 1.05s steps(1) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .console-cursor { animation: none; }
}

/* ============================================================
   The bind
   ============================================================ */
.bind-grid {
  margin-top: clamp(38px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.option-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.option-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.option-tag-name { color: var(--muted); }
.option-badge { padding: 3px 8px; border-radius: 3px; }
.option-badge--safe {
  color: var(--verified);
  border: 1px solid color-mix(in oklch, var(--verified) 45%, transparent);
}
.option-badge--reckless {
  color: var(--reckless);
  border: 1px solid color-mix(in oklch, var(--reckless) 45%, transparent);
}
.option-tag-cost--reckless { color: var(--reckless); }
.option-tag-cost--verified { color: var(--verified); }

.option-title { font-weight: 800; letter-spacing: -0.02em; font-size: clamp(22px, 2.6vw, 30px); }
.option-body { color: var(--muted); font-size: 16px; line-height: 1.55; }

.third-option {
  margin-top: 22px;
  background: var(--ink);
  color: var(--ground);
  border-radius: 8px;
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
}
.third-option-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.third-option-title {
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  font-size: clamp(24px, 3.4vw, 42px);
  max-width: 20ch;
}
.third-option-body {
  margin-top: 16px;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.78;
}
.third-option-body strong { font-weight: 700; color: var(--amber); }

/* ============================================================
   The method
   ============================================================ */
.method-list { margin-top: clamp(40px, 5vw, 68px); border-top: 1px solid var(--line); }

.method-row {
  display: grid;
  grid-template-columns: minmax(0, 200px) 1fr;
  gap: clamp(16px, 4vw, 56px);
  padding: clamp(24px, 3.2vw, 40px) 0;
  border-bottom: 1px solid var(--line);
}
.method-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-ink);
  padding-top: 6px;
}
.method-title { font-weight: 800; letter-spacing: -0.02em; font-size: clamp(22px, 2.8vw, 32px); line-height: 1.1; }
.method-body { margin-top: 12px; max-width: 62ch; font-size: 16.5px; line-height: 1.55; color: var(--muted); }

/* ============================================================
   Engagements
   ============================================================ */
.eng-grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.eng-cell {
  background: var(--ground);
  padding: clamp(26px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
}
.eng-code { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.1em; color: var(--muted); }
.eng-title { font-weight: 800; letter-spacing: -0.02em; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.1; }
.eng-body { font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.eng-body a { color: var(--amber-ink); font-weight: 600; transition: color 0.2s; }
.eng-body a:hover { color: var(--ink); }

/* ============================================================
   How it runs
   ============================================================ */
.steps { margin-top: clamp(40px, 5vw, 68px); }

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 3vw, 44px);
  align-items: start;
  padding-bottom: clamp(28px, 3.2vw, 44px);
}
.step-marker { display: flex; flex-direction: column; align-items: center; gap: 10px; align-self: stretch; }
.step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 46px);
  color: var(--amber-ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.step-line { width: 1px; flex: 1; min-height: 40px; background: var(--line); }
.step-body { padding-top: clamp(4px, 1vw, 10px); }
.step-title { font-weight: 800; letter-spacing: -0.02em; font-size: clamp(21px, 2.6vw, 30px); line-height: 1.1; }
.step-text { margin-top: 12px; max-width: 60ch; font-size: 16.5px; line-height: 1.55; color: var(--muted); }

/* ============================================================
   The record — engagement ledger
   ============================================================ */
.record-sub {
  margin-top: 18px;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}
.record-sub-accent { color: var(--amber-ink); }

.ledger {
  margin-top: clamp(36px, 4.5vw, 60px);
  background: var(--console-bg);
  border: 1px solid var(--console-line);
  border-radius: 8px;
  overflow: hidden;
}

.ledger-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--console-line);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--console-muted);
}

.ledger-scroll { overflow-x: auto; }

.ledger-table {
  min-width: 720px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  color: var(--console-ink);
}

.ledger-cols,
.ledger-row {
  display: grid;
  grid-template-columns: 78px 1.4fr 1fr 0.9fr auto;
  gap: 20px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--console-line);
}

.ledger-cols {
  color: var(--console-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 10.5px;
}

.ledger-row { padding: 15px 20px; align-items: center; }
.ledger-row .l-id { color: var(--console-muted); }
.ledger-row .l-eng { color: var(--console-ink); }
.ledger-row .l-scope { color: var(--console-muted); }
.ledger-row .l-cycle { color: var(--amber); }
.ledger-row .l-status { color: var(--verified); font-weight: 600; white-space: nowrap; }

.ledger-note {
  padding: 14px 20px;
  color: var(--console-muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* Stats band — verified figures from the engagement record. */
.stat-grid {
  margin-top: clamp(28px, 3.5vw, 44px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.stat-cell {
  background: var(--ground);
  padding: clamp(22px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-num {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  font-size: clamp(30px, 3.6vw, 44px);
  color: var(--amber-ink);
}
.stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.stat-note {
  margin-top: 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* Incident block — the "when it goes wrong" trust asset. */
.incident {
  margin-top: clamp(32px, 4vw, 52px);
  background: var(--ink);
  color: var(--ground);
  border-radius: 8px;
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
}
.incident-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.incident-title {
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  font-size: clamp(23px, 3vw, 38px);
  max-width: 22ch;
}
.incident-body {
  margin-top: 16px;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.78;
}
.incident-meta {
  margin-top: 18px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: color-mix(in oklch, var(--ground) 60%, transparent);
}
.incident-meta-bad { color: var(--reckless); font-weight: 600; }
.incident-meta-good { color: var(--verified); font-weight: 600; }

/* ============================================================
   About
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.about-title {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-size: clamp(30px, 4.6vw, 54px);
}
.about-body { margin-top: 22px; max-width: 52ch; font-size: 17px; line-height: 1.6; color: var(--muted); }
.about-body--follow { margin-top: 16px; }

.facts { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.fact-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.fact-k {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact-v { font-size: 15.5px; color: var(--ink); font-weight: 500; }

/* ============================================================
   Contact
   ============================================================ */
.contact-title {
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.99;
  font-size: clamp(34px, 6vw, 76px);
  max-width: 16ch;
}

.contact-sub {
  margin-top: 26px;
  max-width: 58ch;
  font-size: clamp(16px, 1.9vw, 20px);
  line-height: 1.55;
  opacity: 0.8;
}

.contact-ctas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.contact-primary {
  color: var(--ink);
  background: var(--amber);
  padding: 16px 30px;
  font-weight: 700;
  border-radius: 4px;
  font-size: 16px;
  letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s;
}
.contact-primary:hover { background: var(--ground); color: var(--ink); }

.contact-secondary {
  color: var(--ground);
  border: 1px solid color-mix(in oklch, var(--ground) 30%, transparent);
  padding: 16px 30px;
  font-weight: 600;
  border-radius: 4px;
  font-size: 16px;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.02em;
  transition: background 0.2s, border-color 0.2s;
}
.contact-secondary:hover {
  color: var(--ground);
  background: color-mix(in oklch, var(--ground) 12%, transparent);
  border-color: color-mix(in oklch, var(--ground) 55%, transparent);
}

.contact-footnote {
  margin-top: 40px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  opacity: 0.5;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid color-mix(in oklch, var(--ground) 16%, var(--ink));
  background: var(--ink);
  color: var(--ground);
}

.footer-inner {
  padding-top: 26px;
  padding-bottom: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.55;
}
