/* =========================================================================
   BiteSizeTalent — shared token layer and type scale
   Source of truth: bst-design-system-v1.md ("Forest and Brass", v1)

   One brand, one token layer, two modes. Components reference tokens only,
   never raw hex. A mode is applied by putting .mode-paper or .mode-forest
   on any wrapper (body, section, footer). Every scope repaints itself
   (background + color set directly) so nested modes never inherit the
   parent's surface.

   Fonts are loaded per page via Google Fonts <link> with display=swap:
   Fraunces:opsz,wght@9..144,500;9..144,600
   Hanken+Grotesk:wght@400;500;600
   JetBrains+Mono:wght@400;500
   ========================================================================= */

/* ---- Paper mode (light): homepage, articles, speaking ---- */
:root,
.mode-paper {
  --surface: #FAF7F1;          /* warm paper, never pure white */
  --surface-raised: #FFFFFF;   /* cards, panels */
  --surface-sunken: #F1ECE2;   /* quote blocks, code, secondary bands */
  --ink: #141F1A;              /* green-black, not #000 */
  --ink-muted: #5C6B62;        /* secondary text, metadata */
  --line: #E2DCCF;             /* hairline rules, card borders */
  --accent: #1C5238;           /* forest green: links, buttons, active */
  --accent-strong: #123B28;    /* hover/pressed */
  --brass: #A67F2E;            /* scarce: index numbers, key highlights */
  --focus: rgb(28 82 56 / 0.4);
  --shadow: 0 4px 16px rgb(20 31 26 / 0.06); /* the entire shadow system */

  /* Category taxonomy tints — Paper mode only, small mono labels */
  --tint-systems: #E3EBE2;
  --tint-strategy: #EFE6D3;
  --tint-operations: #E2E7EC;
  --tint-frameworks: #ECE2E9;
}

.mode-paper {
  background: var(--surface);
  color: var(--ink);
}

/* ---- Forest mode (dark): tools band, footer, product surfaces.
   One green hue ramp, ~6% lightness steps, brass is the ONLY accent. ---- */
.mode-forest {
  --surface: #1B2B22;          /* deep forest, not near-black */
  --surface-raised: #24382D;   /* +1 step */
  --surface-sunken: #142119;   /* -1 step */
  --ink: #F2EDDF;              /* warm off-white */
  --ink-muted: #C0CBBE;        /* >= 7:1 on --surface */
  --line: #35503F;             /* +2 steps from raised */
  --accent: #D8B25C;
  --accent-strong: #E9C97E;
  --brass: #D8B25C;            /* same as accent in this mode */
  --focus: rgb(216 178 92 / 0.4);
  --shadow: none;

  /* No category tints in Forest: tags go neutral (transparent bg,
     1px --line border, --ink-muted text) to protect the one-accent rule */
  --tint-systems: transparent;
  --tint-strategy: transparent;
  --tint-operations: transparent;
  --tint-frameworks: transparent;

  background: var(--surface);
  color: var(--ink);
}

/* Footer variant: one step deeper so the page closes darker, same hue */
.mode-forest.deep {
  --surface: #142119;
  --surface-raised: #1B2B22;
  --line: #2C4335;
  background: var(--surface);
  color: var(--ink);
}

/* ---- Base ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1.0625rem;         /* 17px */
  line-height: 1.65;
  background: var(--surface);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---- Type scale (desktop) ---- */
h1, h2 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
}
h1 { font-size: 3.5rem; line-height: 1.05; letter-spacing: -0.01em; }
h2 { font-size: 2.25rem; line-height: 1.15; }
h3 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.3;
}
small, .small { font-size: 0.875rem; line-height: 1.5; }

/* Mono label: the layer that makes the site read as engineered.
   Category tags, index numbers, read times, durations, footer legal. */
.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Body measure: no text column exceeds 68ch */
.measure { max-width: 68ch; }

@media (max-width: 860px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
}

/* ---- Spacing and layout primitives ---- */
/* Scale: 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 96 / 128px */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
@media (max-width: 860px) {
  section { padding: 64px 0; }
}

/* ---- Focus ---- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--focus);
}

/* =========================================================================
   Components — token-driven, work in either mode scope
   ========================================================================= */

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 16px;
  z-index: 100;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--surface);
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus-visible { left: 16px; }

/* ---- Nav ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.wordmark {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  transition: color 150ms ease-out;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--ink); position: relative; }
.nav-links a.active::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brass);
}
.nav-links a.btn-secondary { color: var(--ink); }
.nav-links a.btn-secondary:hover { color: var(--accent); }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--surface);
  border: 0;
  border-radius: 6px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 150ms ease-out;
}
.btn-primary:hover { background: var(--accent-strong); }
.mode-forest .btn-primary,
.mode-forest.deep .btn-primary { color: var(--surface-sunken); }
.btn-secondary {
  display: inline-block;
  padding: 9px 20px;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  transition: color 150ms ease-out, border-color 150ms ease-out;
}
.btn-secondary:hover { color: var(--accent); border-color: var(--accent); }

/* Text link: ink underline, brass on hover */
.text-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color 150ms ease-out;
}
.text-link:hover { text-decoration-color: var(--brass); }
.all-link {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: border-color 150ms ease-out;
}
.all-link:hover { border-color: var(--brass); }

/* ---- Hero ---- */
.hero { padding: 112px 0 96px; }
.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  align-items: start;
}
.hero p.sub {
  margin-top: 24px;
  font-size: 1.1875rem;
  color: var(--ink-muted);
  max-width: 34em;
}
.hero-ctas { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }

/* Spec block: mono-labelled rows with dotted leaders */
.spec-block {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-raised);
  padding: 28px;
  margin-top: 8px;
}
.spec-block .spec-title {
  color: var(--ink-muted);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.spec-row { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; }
.spec-row .k { color: var(--ink-muted); white-space: nowrap; }
.spec-row .leader { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.spec-row .v {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  text-align: right;
  color: var(--ink);
}
.spec-row a.v { text-decoration: none; }
.spec-row a.v:hover { color: var(--accent); }

/* Hero load stagger: the only load animation on the site */
.fade { opacity: 0; transform: translateY(12px); animation: rise 400ms ease-out forwards; }
.d1 { animation-delay: 80ms; }
.d2 { animation-delay: 160ms; }
.d3 { animation-delay: 240ms; }
.d4 { animation-delay: 320ms; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---- Section header: mono index + hairline rule ---- */
.section-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 12px; }
.section-head .idx { color: var(--brass); }
.section-head .rule { flex: 1; border-bottom: 1px solid var(--line); transform: translateY(-6px); }
.section-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-intro p { color: var(--ink-muted); max-width: 32em; }
.intro-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.intro-side .note { color: var(--ink-muted); }

/* ---- Category tag: mono, tinted (Paper), neutral (Forest) ---- */
.tag {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.tag.systems { background: var(--tint-systems); }
.tag.strategy { background: var(--tint-strategy); }
.tag.operations { background: var(--tint-operations); }
.tag.frameworks { background: var(--tint-frameworks); }
.mode-forest .tag,
.mode-forest.deep .tag { color: var(--ink-muted); border-color: var(--line); }

/* ---- Article ledger: full-width rows, hairline rules ---- */
.ledger { list-style: none; border-top: 1px solid var(--line); }
.ledger li { border-bottom: 1px solid var(--line); }
.ledger a {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 32px;
  align-items: baseline;
  padding: 28px 8px;
  text-decoration: none;
  transition: background 150ms ease-out;
}
.ledger a:hover { background: var(--surface-sunken); }
.ledger .rail { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ledger .meta {
  color: var(--ink-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ledger h3 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
  transition: color 150ms ease-out;
}
.ledger a:hover h3 { color: var(--accent); }
.ledger .stand { display: block; color: var(--ink-muted); font-size: 0.9375rem; margin-top: 6px; }
.ledger .arrow {
  font-size: 1.25rem;
  color: var(--ink-muted);
  transition: transform 150ms ease-out, color 150ms ease-out;
}
.ledger a:hover .arrow { transform: translateX(4px); color: var(--brass); }

/* ---- Cards (speaking talks, tools) ---- */
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px;
  transition: border-color 150ms ease-out, transform 150ms ease-out, box-shadow 150ms ease-out;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.card p { color: var(--ink-muted); font-size: 0.9375rem; margin-top: 12px; }
.card .icon { color: var(--ink-muted); margin-bottom: 16px; }
.card .num { color: var(--brass); margin-bottom: 16px; }
.card-foot {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px dotted var(--line);
  color: var(--ink-muted);
}
.card-span { grid-column: 1 / -1; }

/* Expandable tool detail: native details/summary, no JS */
.card .more { margin-top: 20px; }
.card .more summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 150ms ease-out;
}
.card .more summary::-webkit-details-marker { display: none; }
.card .more summary::before { content: '+'; font-size: 1rem; line-height: 1; }
.card .more[open] summary::before { content: '\2212'; }
.card .more summary:hover { color: var(--accent); }
.card .more .label { color: var(--ink); margin-top: 20px; }
.card .more ul {
  list-style: none;
  margin-top: 8px;
  display: grid;
  gap: 6px;
}
.card .more li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--ink-muted);
  font-size: 0.9375rem;
}
.card .more li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--ink-muted);
}
.card-links { margin-top: 24px; display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.card-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  text-decoration: none;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 150ms ease-out;
}
.card-links a:hover { border-color: var(--accent); }

/* ---- Quote / testimonial ---- */
.quote {
  background: var(--surface-sunken);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 24px 28px;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
}
.quote .attribution {
  display: block;
  margin-top: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-style: normal;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---- Portrait: single photograph, duotone towards --ink / --surface ---- */
.portrait {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface-sunken);
}
.portrait img {
  filter: grayscale(100%) contrast(1.02);
  mix-blend-mode: multiply;
}

/* ---- CTA band: the one centred layout ---- */
.cta { text-align: center; }
.cta p { color: var(--ink-muted); max-width: 36em; margin: 20px auto 36px; }
.cta .hero-ctas { justify-content: center; margin-top: 36px; }

/* ---- Footer (use with class="mode-forest deep") ---- */
.site-footer { padding: 80px 0 40px; }
.foot-grid {
  display: grid;
  grid-template-columns: 5fr 3fr 4fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.foot-grid .positioning { color: var(--ink-muted); font-size: 0.9375rem; margin-top: 16px; max-width: 26em; }
.foot-col .head { color: var(--ink-muted); margin-bottom: 20px; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.foot-col a {
  text-decoration: none;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: color 150ms ease-out;
}
.foot-col a:hover { color: var(--accent); }
.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 32px;
  color: var(--ink-muted);
}

/* ---- Article template (Paper mode) ---- */
.article-head { padding: 80px 0 0; }
.article-col { max-width: 68ch; margin: 0 auto; }
.article-head .article-col { border-bottom: 1px solid var(--line); padding-bottom: 40px; }
.article-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.article-meta .meta {
  color: var(--ink-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.article-head h1 { font-size: 3rem; }
.byline { margin-top: 24px; color: var(--ink-muted); }
.byline strong { color: var(--ink); font-weight: 600; }
.article-url { margin-top: 12px; color: var(--ink-muted); }
.stat-row { display: flex; gap: 48px; flex-wrap: wrap; margin-top: 32px; }
.stat .num {
  display: block;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1;
  color: var(--ink);
}
.stat .lab { display: block; margin-top: 8px; color: var(--ink-muted); }

.article-body { padding: 48px 0 96px; }
.article-col > p { margin-bottom: 24px; }
.article-col h2 { font-size: 2rem; margin: 56px 0 24px; }
.article-col h3 { margin: 40px 0 16px; }
.article-col ul, .article-col ol { margin: 0 0 24px 1.25rem; }
.article-col li { margin-bottom: 8px; }
.article-col li::marker { color: var(--ink-muted); }
.article-col blockquote {
  background: var(--surface-sunken);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 24px 28px;
  margin: 32px 0;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
}
.article-col blockquote p { margin: 0; font: inherit; }
.article-col hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
.article-col svg { max-width: 100%; height: auto; margin: 40px 0; }
.article-back { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); text-align: center; }

.article-footer { padding: 40px 0; }
.article-foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.article-foot-inner .links { display: flex; gap: 24px; }
.article-foot-inner .links a,
.article-foot-inner a.back {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 150ms ease-out;
}
.article-foot-inner .links a:hover,
.article-foot-inner a.back:hover { color: var(--accent); }

@media (max-width: 860px) {
  .article-head h1 { font-size: 2.25rem; }
  .article-col h2 { font-size: 1.75rem; }
  .stat-row { gap: 32px; }
}

/* ---- Tools page ---- */
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; color: var(--ink-muted); font-size: 0.9375rem; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row span::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-muted);
}
.card .oneline { color: var(--ink); font-size: 1.0625rem; font-weight: 500; margin-top: 12px; }
.card .label { color: var(--ink-muted); margin: 20px 0 0; }
.arrow-list { list-style: none; margin-top: 8px; display: grid; gap: 6px; }
.arrow-list li { position: relative; padding-left: 1.3rem; color: var(--ink-muted); font-size: 0.9375rem; }
.arrow-list li::before { content: '\2192'; position: absolute; left: 0; color: var(--ink-muted); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}
.card-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.card-actions .runs { width: 100%; margin-top: 4px; color: var(--ink-muted); }

.aside-block .k { color: var(--ink-muted); margin-top: 20px; }
.aside-block .k:first-child { margin-top: 0; }
.aside-block .v { color: var(--ink); margin-top: 4px; }

.signup-card {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.signup-card p { color: var(--ink-muted); max-width: 44ch; }
form.subscribe { display: flex; flex-direction: column; gap: 12px; }
.subscribe .field { display: flex; gap: 8px; flex-wrap: wrap; }
.subscribe input[type=email] {
  flex: 1;
  min-width: 200px;
  background: var(--surface-sunken);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color 150ms ease-out;
}
.subscribe input[type=email]::placeholder { color: var(--ink-muted); }
.subscribe input[type=email]:focus { border-color: var(--accent); }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 0.875rem; color: var(--ink-muted); }
.form-msg { font-size: 0.875rem; font-weight: 600; color: var(--accent); min-height: 1.2em; }

.bridge-inner {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.bridge-inner p { color: var(--ink-muted); max-width: 60ch; margin: 0; }
.bridge-inner p strong { color: var(--ink); }
.bridge-inner > a { font-weight: 600; white-space: nowrap; color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 150ms ease-out; }
.bridge-inner > a:hover { border-color: var(--accent); }

@media (max-width: 860px) {
  .signup-card { grid-template-columns: 1fr; padding: 32px; }
}

/* ---- Bands and split layouts ---- */
.band-sunken { background: var(--surface-sunken); }
.split-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: center;
}
.split-grid.cols-75 { grid-template-columns: 7fr 5fr; align-items: start; }
.kicker { color: var(--brass); margin-bottom: 20px; display: block; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .hero { padding: 64px 0; }
  .hero-grid, .card-grid, .foot-grid, .split-grid, .split-grid.cols-75 { grid-template-columns: 1fr; }
  .card-span { grid-column: auto; }
  .ledger a { grid-template-columns: 1fr; gap: 10px; padding: 24px 4px; }
  .ledger .rail { flex-direction: row; align-items: center; gap: 16px; flex-wrap: wrap; }
  .ledger .arrow { display: none; }
  .intro-side { align-items: flex-start; }
  .nav-links { gap: 20px; }
}
@media (max-width: 560px) {
  .nav-links li.nav-collapsible { display: none; }
}

/* ---- Motion: restraint is the brand ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .fade { opacity: 1; transform: none; }
}
