/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* 60% — Warm Neutrals (foundation for warmth) */
  --bg:         #faf8f5;
  --surface:    #ffffff;
  --border:     #e8e4dc;
  --ink:        #2a1810;
  --ink-muted:  #6b5d52;

  /* 30% — Warm Brand (rust/burnt sienna for authority + warmth) */
  --accent:     #a85a42;
  --accent-mid: #c97456;
  --accent-bg:  #faf0e8;

  /* 10% — Status / Active (warm green for vitality) */
  --current:    #5a7d4f;
  --current-bg: #e8ede3;
  --tag-bg:     #f0ebe4;

  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  14px;
  --shadow:     0 2px 8px rgba(15,25,35,.07);
  --shadow-md:  0 6px 28px rgba(15,25,35,.12);
  --font-body:  'Inter', system-ui, sans-serif;
  --font-head:  'Lora', Georgia, serif;
  --max-w:      1080px;
  --transition-fast: .2s ease;

  /* Modular type scale — Golden Ratio ×1.618 */
  --text-xs:      max(0.8125rem, 0.618rem);
  --text-sm:      max(0.9375rem, 0.764rem);
  --text-base:    1rem;
  --text-md:      1.236rem;
  --text-lg:      1.618rem;
  --text-xl:      2.058rem;
  --text-2xl:     2.618rem;
  --text-3xl:     4.236rem;
  --text-display: 6.854rem;
  --leading-tight:  1.1;
  --leading-snug:   1.25;
  --leading-normal: 1.6;
  --leading-loose:  1.8;

  /* Fibonacci spacing (8px base) */
  --space-1: 8px;
  --space-2: 13px;
  --space-3: 21px;
  --space-4: 34px;
  --space-5: 55px;
  --space-6: 89px;
  --space-7: 144px;

  /* Semantic status tokens */
  --success: var(--current); --success-bg: var(--current-bg);
  --warning: #b45309;        --warning-bg: #fef3c7;
  --error:   #b91c1c;        --error-bg:   #fee2e2;

  /* Motion tokens (§14.1) */
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 500ms;
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
address { font-style: normal; }

/* ============================================================
   FOCUS STYLES (§9.7 / §23.2 — accessibility non-negotiable)
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
:focus:not(:focus-visible) { outline: none; }

/* Skip-nav (§9.5) */
.skip-nav {
  position: absolute;
  top: -100%;
  left: var(--space-3);
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--text-sm);
  z-index: 9999;
  transition: top var(--duration-fast) var(--ease-default);
}
.skip-nav:focus { top: var(--space-2); }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--space-4); }

section {
  padding: var(--space-7) var(--space-4);
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-2);
}

.section-title {
  font-family: var(--font-head);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: var(--leading-snug);
  color: var(--ink);
  margin-bottom: var(--space-4);
}

/* reveal animation */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-height: 44px;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition:
    background var(--duration-fast) var(--ease-default),
    color var(--duration-fast) var(--ease-default),
    transform var(--duration-fast) var(--ease-bounce),
    box-shadow var(--duration-fast) var(--ease-default),
    border-color var(--duration-fast) var(--ease-default);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); transition-duration: 60ms; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-mid); border-color: var(--accent-mid); box-shadow: 0 4px 14px rgba(168, 90, 66, 0.25); text-decoration: none; }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent-bg); text-decoration: none; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-4);
  height: 60px;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-brand { display: flex; align-items: center; gap: var(--space-2); text-decoration: none; color: var(--ink); }
.header-initials {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.header-name { font-size: var(--text-sm); font-weight: 500; }

.nav { display: flex; gap: 6px; }
.nav a {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--ink-muted);
  padding: 6px var(--space-2);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.nav a:hover, .nav a.is-active { color: var(--accent); background: var(--accent-bg); text-decoration: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; display: block; }

/* ============================================================
   HERO — Art-Directed for "Approachable Authority"
   Warm, human, yet deeply competent. §Art Direction for the Web
   ============================================================ */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--space-6) var(--space-4) var(--space-7);
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-6);
  align-items: start;
  background: linear-gradient(
    135deg,
    rgba(160, 90, 66, 0.03) 0%,
    rgba(90, 125, 79, 0.02) 100%
  );
  border-radius: var(--radius-lg);
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--current);
  background: var(--current-bg);
  padding: 8px var(--space-2);
  border-radius: 30px;
  margin-bottom: var(--space-4);
  width: fit-content;
  letter-spacing: 0.05em;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--current);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

/* Lead with Lora: authority + warmth (Clarke §3: Typography as Emotion) */
.hero-name {
  font-family: var(--font-head);
  font-size: clamp(var(--text-2xl), 7vw, var(--text-3xl));
  font-weight: 700;
  line-height: var(--leading-tight);
  color: var(--ink);
  margin-bottom: var(--space-3);
  letter-spacing: -0.015em;
}

/* Surname in italic: visual accent that says "personable, not corporate" */
.hero-name-em {
  font-style: italic;
  color: var(--accent);
  display: block;
  font-size: 1.12em;
  letter-spacing: -0.02em;
  margin-top: var(--space-1);
}

/* Subtitle: focus on *what they do* not just *what they are* (narrative framing) */
.hero-descriptor {
  font-family: var(--font-head);
  font-size: var(--text-lg);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: var(--space-3);
  line-height: var(--leading-snug);
}

/* Hero body copy: Lead with impact, then context (Clarke §3: Narrative Structure) */
.hero-text {
  font-size: var(--text-base);
  color: var(--ink);
  max-width: 560px;
  margin-bottom: var(--space-5);
  line-height: var(--leading-loose);
  letter-spacing: 0.01em;
}

.hero-cta { display: flex; gap: var(--space-2); flex-wrap: wrap; }

/* hero card — warm, inviting sidebar that complements the narrative */
.hero-card {
  background: linear-gradient(135deg, var(--surface) 0%, var(--accent-bg) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: 0 2px 16px rgba(160, 90, 66, 0.08);
}
.profile-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-3);
}
.avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-size: var(--text-lg);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-2);
}
.profile-role { font-size: var(--text-sm); font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.profile-org { font-size: var(--text-xs); color: var(--accent); }

.meta-list { display: flex; flex-direction: column; gap: var(--space-2); }
.meta-row { display: flex; flex-direction: column; gap: 2px; }
.meta-row dt {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-muted);
}
.meta-row dd { font-size: var(--text-sm); color: var(--ink); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 240px; gap: var(--space-5); align-items: start; }
.about-main p {
  font-size: var(--text-base);
  line-height: var(--leading-loose);
  color: var(--ink);
  margin-bottom: var(--space-3);
  max-width: 65ch;
}
.about-main p:last-child { margin-bottom: 0; }
.about-aside { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }

.highlight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-2);
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.highlight-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.highlight-number {
  font-family: var(--font-head);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
  line-height: var(--leading-tight);
  letter-spacing: -.02em;
}
.highlight-label {
  font-size: var(--text-xs);
  color: var(--ink-muted);
  line-height: var(--leading-snug);
}

/* ============================================================
   EXPERIENCE / TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding-left: var(--space-4);
  border-left: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-item { position: relative; padding: 0 0 var(--space-5) var(--space-4); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
  position: absolute;
  left: -37px;
  top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--border);
  border: 2.5px solid var(--bg);
  outline: 2px solid var(--border);
}
.timeline-item--current .timeline-marker {
  background: var(--success);
  outline-color: var(--success);
}
.timeline-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow);
}
.timeline-item--current .timeline-content {
  border-color: rgba(15,123,84,.18);
  border-left: 3px solid var(--success);
}
.timeline-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-1);
  flex-wrap: wrap;
}
.timeline-period {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink-muted);
  margin-bottom: 4px;
}
.timeline-role {
  font-family: var(--font-head);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--ink);
  line-height: var(--leading-snug);
}
.timeline-badge {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--success);
  background: var(--success-bg);
  padding: 3px var(--space-2);
  border-radius: 30px;
  white-space: nowrap;
}
.timeline-org {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  margin-bottom: var(--space-2);
  line-height: var(--leading-normal);
}
.timeline-org a { color: var(--accent); }
.timeline-duties { display: flex; flex-direction: column; gap: 6px; }
.timeline-duties li {
  font-size: var(--text-sm);
  color: var(--ink);
  padding-left: var(--space-3);
  position: relative;
  line-height: var(--leading-normal);
}
.timeline-duties li::before { content: '–'; position: absolute; left: 0; color: var(--ink-muted); }

/* ============================================================
   SKILLS
   ============================================================ */
.skills-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.skill-category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
}
.skill-cat-title {
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-2);
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.skill-tags span {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 4px var(--space-2);
  border-radius: 30px;
  border: 1px solid rgba(26,75,140,.15);
}

/* ============================================================
   PROJECTS
   ============================================================ */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-bottom: var(--space-3); }
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.project-card--active { border-color: rgba(26,75,140,.25); }
.project-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-1);
  flex-wrap: wrap;
}
.project-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink-muted);
}
.project-year { font-size: var(--text-xs); color: var(--ink-muted); }
.active-badge {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--success);
  background: var(--success-bg);
  padding: 2px var(--space-1);
  border-radius: 30px;
}
.project-title {
  font-family: var(--font-head);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
  line-height: var(--leading-snug);
}
.project-desc { font-size: var(--text-sm); color: var(--ink-muted); line-height: var(--leading-normal); flex: 1; }

/* callout */
.daily-builds-callout {
  background: var(--accent-bg);
  border: 1px solid rgba(26,75,140,.2);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}
.callout-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.callout-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 6px;
}
.callout-title {
  font-family: var(--font-head);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-1);
  line-height: var(--leading-snug);
}
.callout-desc { font-size: var(--text-sm); color: var(--ink-muted); max-width: 560px; line-height: var(--leading-normal); }

/* ============================================================
   RECOGNITION / TRUST SIGNALS
   ============================================================ */
.recognition { padding: var(--space-7) var(--space-4); max-width: var(--max-w); margin: 0 auto; }

.recognition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.rec-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow);
  transition: box-shadow .2s ease, transform .2s ease;
}
.rec-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.rec-icon {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  display: block;
}
.rec-title {
  font-family: var(--font-head);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-2);
  line-height: var(--leading-snug);
}
.rec-body { font-size: var(--text-sm); color: var(--ink-muted); line-height: var(--leading-loose); }

.pull-quote {
  background: var(--accent-bg);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-4);
  margin: 0;
}
.pull-quote p {
  font-family: var(--font-head);
  font-size: var(--text-md);
  font-style: italic;
  color: var(--ink);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-2);
}
.pull-quote footer {
  font-size: var(--text-xs);
  color: var(--ink-muted);
  font-weight: 500;
  letter-spacing: .06em;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 100% !important;
  padding: var(--space-7) var(--space-4);
}
.contact .contact-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-6);
  align-items: start;
}
.contact-copy p {
  font-size: var(--text-base);
  color: var(--ink-muted);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-4);
}
.contact-links { display: flex; flex-direction: column; gap: var(--space-2); }
.contact-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
  transition: var(--transition-fast);
}
.contact-link:hover { color: var(--accent); text-decoration: none; }
.contact-link svg { color: var(--accent); flex-shrink: 0; }

.contact-detail-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}
.detail-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.detail-address, .detail-value { font-size: var(--text-sm); color: var(--ink); line-height: var(--leading-normal); margin-bottom: 0; }
.detail-divider { border: none; border-top: 1px solid var(--border); margin: var(--space-3) 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: var(--space-4); background: #0d1117; color: rgba(255,255,255,0.7); }
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  font-size: var(--text-xs);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: var(--space-4); }
  .hero-card { max-width: 400px; }
  .skills-board { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-aside { grid-template-columns: repeat(4, 1fr); }
  .recognition-grid { grid-template-columns: 1fr; }
  .contact .contact-grid { grid-template-columns: 1fr; gap: var(--space-4); }
}

@media (max-width: 600px) {
  section { padding: var(--space-6) var(--space-3); }
  .header { padding: 0 var(--space-3); }
  .header-name { display: none; }
  .hero { padding: var(--space-5) var(--space-3) var(--space-6); }
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: var(--space-2) var(--space-3);
    gap: 2px;
  }
  .nav a { padding: var(--space-2) var(--space-2); font-size: var(--text-sm); }
  .nav.is-open { display: flex; }
  .nav-toggle { display: flex; }
  .skills-board { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .about-aside { grid-template-columns: 1fr 1fr; }
  .callout-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; text-align: center; }
  .timeline { padding-left: var(--space-3); }
  .timeline-item { padding-left: var(--space-3); }
  .timeline-marker { left: -27px; }
  .timeline-content { padding: var(--space-3); }
  .contact { padding: var(--space-6) var(--space-3); }
  .contact-detail-card { padding: var(--space-3); }
  .hero-cta { width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .recognition { padding: var(--space-6) var(--space-3); }
}

@media (max-width: 420px) {
  .about-aside { grid-template-columns: 1fr; }
  .hero-name { font-size: var(--text-2xl); }
  .hero-descriptor { font-size: var(--text-base); }
  .highlight-card { padding: var(--space-3) var(--space-2); }
}

/* ============================================================
   DARK MODE (§14.3 — respect OS colour preference)
   ============================================================ */
@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #0d1117;
    --surface:   #161b22;
    --border:    #30363d;
    --ink:       #e6edf3;
    --ink-muted: #8b949e;
    --accent:    #4d8fe8;
    --accent-mid: #6ba3f0;
    --accent-bg: rgba(77,143,232,.12);
    --current-bg: rgba(26,127,84,.15);
    --tag-bg:    #21262d;
    --shadow:    0 2px 8px rgba(0,0,0,.4);
    --shadow-md: 0 6px 28px rgba(0,0,0,.6);
  }
  body {
    background: var(--bg);
  }
  .header {
    background: rgba(13, 17, 23, 0.92);
    border-bottom-color: #30363d;
  }
}

/* ============================================================
   REDUCED MOTION (§9.7 — respect vestibular/motion sensitivity)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
