/* warm.css — standalone warm theme for the mission pages (/ and /mission/*)
   No dependency on styles.css — defines its own full component library.
   Brand anchors: Fraunces (display) · Outfit (body) · JetBrains Mono.
   Palette is single-sourced: all warm hex values come from /warm-tokens.css.
   ================================================================ */

@import '/warm-tokens.css';

/* ===== DESIGN TOKENS (mapped from /warm-tokens.css) ===== */
:root {
  /* Backgrounds */
  --bg:          var(--wt-bg-cream);   /* warm cream — body base */
  --bg-warm:     var(--wt-bg-warm);    /* deeper warm — alternating sections */
  --bg-white:    #FFFFFF;              /* card / white sections */
  --bg-footer:   var(--wt-bg-footer);  /* warm charcoal — footer */

  /* Text */
  --ink:         var(--wt-ink);    /* headings, near-black */
  --ink-2:       var(--wt-ink-2);  /* body copy */
  --ink-3:       var(--wt-ink-3);  /* secondary / descriptions */
  --ink-4:       var(--wt-ink-4);  /* muted / captions / meta */

  /* Primary — warm teal */
  --teal:        var(--wt-teal);
  --teal-light:  var(--wt-teal-light);
  --teal-dim:    var(--wt-teal-dim);
  --teal-glow:   var(--wt-teal-glow);
  --teal-glow-s: var(--wt-teal-glow-s);

  /* Secondary — warm gold */
  --gold:        var(--wt-gold);
  --gold-light:  var(--wt-gold-light);
  --gold-label:  var(--wt-gold-label);  /* darkened for AA on cream */
  --gold-glow:   var(--wt-gold-glow);
  --gold-border: var(--wt-gold-border);

  /* Borders */
  --border:      var(--wt-border);
  --border-mid:  var(--wt-border-mid);
  --border-teal: var(--wt-border-teal);

  /* Fonts */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Outfit', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Shape */
  --radius-card: 12px;
  --radius-btn:  8px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;           /* 17px — comfortable for older readers */
  line-height: 1.82;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Barely-visible warm paper grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.022;
  pointer-events: none;
  z-index: 0;
}

a           { color: inherit; }
strong      { color: var(--ink); font-weight: 600; }
img         { display: block; max-width: 100%; }

/* ===== SKIP LINK ===== */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 1.5rem;
  padding: 0.5rem 1rem;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-to-content:focus { top: 1rem; }

/* ===== FOCUS STYLES (keyboard navigation) ===== */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 3px;
}
.btn-primary:focus-visible {
  outline-color: var(--teal);
  outline-width: 3px;
  box-shadow: 0 0 0 4px rgba(30, 110, 110, 0.28);
}
.btn-secondary:focus-visible {
  outline-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(30, 110, 110, 0.14);
}
.nav-links a:focus-visible {
  outline-offset: 4px;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: rgba(251, 247, 240, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}
nav.scrolled { border-bottom-color: var(--border-mid); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-mark { width: 26px; height: 26px; flex-shrink: 0; }
.nav-mark svg { width: 100%; height: 100%; }

.nav-wordmark {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.wm-right    { color: var(--ink); }
.wm-fidelity { color: var(--teal); }
.wm-ai       { color: var(--ink-4); font-size: 0.72rem; }

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
}
.nav-links a {
  display: block;
  padding: 0.4rem 0.8rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-3);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover       { color: var(--teal); background: var(--teal-glow); }
.nav-links a.nav-active  { color: var(--teal); font-weight: 600; }
/* CTA pill — teal on warm pages (gold on dark pages via styles.css) */
.nav-links a.nav-cta {
  background: var(--teal) !important;
  color: #fff !important;
  padding: 0.4rem 1rem !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  transition: background 0.25s !important;
}
.nav-links a.nav-cta:hover {
  background: var(--teal-light) !important;
  color: #fff !important;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== PAGE HERO ===== */
.wm-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 11rem 2rem 6rem;
  background: radial-gradient(ellipse 85% 65% at 50% 20%, #EDE3D0 0%, var(--bg) 62%);
  position: relative;
}
/* thin teal top rule */
.wm-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--teal) 35%, var(--gold) 65%, transparent);
  opacity: 0.55;
}

.wm-hero-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.wm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--teal);
  margin-bottom: 1.75rem;
}
.wm-eyebrow::before,
.wm-eyebrow::after {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--teal);
  opacity: 0.55;
}

.wm-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.8vw, 4.5rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 1.6rem;
}
.wm-hero h1 em { color: var(--teal); font-style: italic; }

.wm-hero-sub {
  font-size: 1.075rem;
  line-height: 1.78;
  color: var(--ink-3);
  max-width: 580px;
  margin: 0 auto 2.75rem;
}

.wm-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== ARTICLE HERO (build-log pages) ===== */
.wm-article-hero {
  padding: 9rem 2rem 4.5rem;
  background: radial-gradient(ellipse 90% 80% at 50% 10%, #EDE3D0 0%, var(--bg) 65%);
  position: relative;
  text-align: center;
}
.wm-article-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--teal) 35%, var(--gold) 65%, transparent);
  opacity: 0.55;
}
.wm-article-hero-inner { max-width: 720px; margin: 0 auto; }
.wm-article-hero .wm-eyebrow { margin-bottom: 1.5rem; }
.wm-article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.2rem;
}
.wm-article-hero h1 em { color: var(--teal); font-style: italic; }
.wm-article-hero p {
  font-size: 1.0625rem;
  color: var(--ink-3);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.8rem 1.6rem;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  text-decoration: none;
  border: 1.5px solid var(--teal);
  letter-spacing: 0.01em;
  transition: background 0.22s, border-color 0.22s, transform 0.18s, box-shadow 0.22s;
}
.btn-primary:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(30, 110, 110, 0.20);
  color: #fff;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.8rem 1.6rem;
  background: transparent;
  color: var(--teal);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  text-decoration: none;
  border: 1.5px solid var(--border-teal);
  letter-spacing: 0.01em;
  transition: background 0.22s, border-color 0.22s, transform 0.18s;
}
.btn-secondary:hover {
  background: var(--teal-glow);
  border-color: var(--teal);
  transform: translateY(-2px);
}

.section-deeplink {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  letter-spacing: 0.04em;
  opacity: 0.7;
  margin-top: 1.5rem;
  transition: opacity 0.2s, transform 0.2s;
}
.section-deeplink:hover { opacity: 1; transform: translateX(-3px); }

/* ===== SECTION SCAFFOLDING ===== */
.wm-section         { padding: 6.5rem 2rem; }
.wm-section-warm    { background: var(--bg-warm); }
.wm-section-white   { background: var(--bg-white); }
.wm-section-base    { background: var(--bg); }

.wm-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.wm-section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--teal);
  margin-bottom: 1.1rem;
}
.wm-section-label::before {
  content: '';
  width: 18px; height: 1px;
  background: var(--teal);
  opacity: 0.6;
  flex-shrink: 0;
}

.wm-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.8rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.018em;
  margin-bottom: 1.1rem;
}
.wm-section-title em { color: var(--teal); font-style: italic; }

.wm-section-desc {
  font-size: 1rem;
  color: var(--ink-3);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 3rem;
}

/* ===== PROSE ===== */
.wm-prose {
  max-width: 700px;
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--ink-2);
}
.wm-prose p           { margin-bottom: 1.35rem; }
.wm-prose p:last-child { margin-bottom: 0; }
.wm-prose h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin: 2.25rem 0 0.6rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.wm-prose strong      { color: var(--ink); }
.wm-prose em          { color: var(--teal-dim); font-style: italic; }
.wm-prose a           { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }

/* Opening paragraph — emotional weight */
.wm-prose .wm-opening {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--ink);
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
  margin-left: -1.5rem;
}

/* Inline code in prose and callouts */
.wm-prose code,
.wm-callout code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: rgba(30, 110, 110, 0.07);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  color: var(--ink);
}

/* ===== EDITORIAL FINDINGS (work section) ===== */
.wm-findings {
  max-width: 700px;
  margin-bottom: 2rem;
}
.wm-finding {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.75rem 2rem;
  align-items: start;
  padding: 2.25rem 0;
  border-top: 1px solid var(--border);
}
.wm-finding:last-child { border-bottom: 1px solid var(--border); }

.wm-finding-stat {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--teal);
  line-height: 1;
  letter-spacing: -0.04em;
  padding-top: 0.12em;
  text-align: center;
}
.wm-finding-stat.wm-stat-contrast {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  letter-spacing: -0.03em;
}
.wm-finding-stat .wm-stat-vs {
  display: block;
  font-size: 0.55em;
  color: var(--ink-3);
  letter-spacing: 0;
  line-height: 1.4;
  margin-top: 0.25em;
  font-family: var(--font-mono);
  font-style: normal;
}

.wm-finding-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.wm-finding-body p {
  font-size: 0.93rem;
  color: var(--ink-3);
  line-height: 1.78;
}
.wm-finding-body em { color: var(--teal-dim); font-style: italic; }
.wm-finding-body strong { color: var(--ink-2); }

/* ===== INSIGHT / CAVEAT CALLOUT (warm amber) ===== */
.wm-callout {
  max-width: 700px;
  background: rgba(168, 116, 32, 0.05);
  border-left: 3px solid var(--gold);
  padding: 1.75rem 2rem;
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  margin: 2.5rem 0;
}
.wm-callout-head {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-label);
  margin-bottom: 1rem;
}
.wm-callout > p,
.wm-callout-body > p {
  font-size: 0.93rem;
  color: var(--ink-2);
  line-height: 1.8;
  margin-bottom: 0.6rem;
}
.wm-callout > p:last-child,
.wm-callout-body > p:last-child { margin-bottom: 0; }
.wm-callout strong { color: var(--ink); }
.wm-callout em { font-style: italic; color: var(--ink-3); }

.wm-callout ul {
  padding-left: 1.1rem;
  margin: 0;
}
.wm-callout ul li {
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.78;
  margin-bottom: 0.5rem;
}
.wm-callout ul li:last-child { margin-bottom: 0; }
.wm-callout cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-4);
  letter-spacing: 0.04em;
}

/* ===== PILLAR TILES ===== */
.wm-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 0.5rem;
}
.wm-pillar-tile {
  padding: 1.75rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: border-color 0.28s, box-shadow 0.28s, transform 0.28s;
}
.wm-pillar-tile:hover {
  border-color: var(--border-teal);
  box-shadow: 0 4px 20px rgba(30,110,110,0.10);
  transform: translateY(-2px);
}

/* status tags */
.wm-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 0.18rem 0.55rem;
  border-radius: 100px;
  margin-bottom: 0.9rem;
  align-self: flex-start;
  border: 1px solid transparent;
}
.wm-tag-live     { background: rgba(30,110,110,0.10); color: var(--teal); border-color: rgba(30,110,110,0.18); }
.wm-tag-preview  { background: rgba(168,116,32,0.12); color: var(--gold); border-color: var(--gold-border); }
.wm-tag-starting { background: rgba(168,116,32,0.09); color: var(--gold); border-color: var(--gold-border); }
.wm-tag-planned  { background: rgba(0,0,0,0.04); color: var(--ink-3); border-color: var(--border-mid); }
.wm-tag-forming  { background: rgba(30,110,110,0.06); color: var(--teal); border-color: rgba(30,110,110,0.13); }

/* roadmap sub-treatment under the pillar grid */
.wm-roadmap {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.wm-roadmap-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-4);
  margin-bottom: 1rem;
}

.wm-pillar-tile h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.wm-pillar-tile > p {
  font-size: 0.875rem;
  color: var(--ink-3);
  line-height: 1.75;
  flex: 1;
}
.wm-pillar-note {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  font-size: 0.76rem;
  color: var(--ink-4);
  line-height: 1.65;
}
.wm-pillar-note strong { color: var(--ink-3); font-weight: 600; }
.wm-pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  margin-top: 0.9rem;
  letter-spacing: 0.04em;
  opacity: 0.7;
  transition: opacity 0.22s, transform 0.22s;
  align-self: flex-start;
}
.wm-pillar-link:hover { opacity: 1; transform: translateX(3px); }

/* ===== BUILD LOG TEASER ===== */
.wm-log-teaser {
  text-align: center;
}
.wm-log-teaser .wm-section-label { justify-content: center; }
.wm-log-teaser .wm-section-title { max-width: 560px; margin-left: auto; margin-right: auto; }
.wm-log-teaser .wm-section-desc  { margin-left: auto; margin-right: auto; }

/* ===== FOOTER ===== */
footer {
  background: var(--bg-footer);
  padding: 3.5rem 2rem;
  text-align: center;
}
.wm-footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(251, 247, 240, 0.45);
  letter-spacing: 0.01em;
  margin-bottom: 1.6rem;
}
.wm-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.1rem;
  margin-bottom: 1.6rem;
}
.wm-footer-links a {
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 500;
  color: rgba(251, 247, 240, 0.5);
  text-decoration: none;
  padding: 0.25rem 0.65rem;
  border-radius: 5px;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.wm-footer-links a:hover,
.wm-footer-links a.footer-active { color: var(--wt-bg-cream); }
.wm-footer-legal {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  color: rgba(251, 247, 240, 0.3);
  letter-spacing: 0.04em;
}
.wm-footer-map {
  /* reset the global fixed-position nav rule so this footer <nav> stays in the footer */
  position: static;
  inset: auto;
  height: auto;
  z-index: auto;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem 2rem;
  max-width: 800px;
  margin: 0 auto 1.6rem;
  text-align: left;
}
.wm-footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251, 247, 240, 0.38);
  margin: 0 0 0.65rem;
}
.wm-footer-col a {
  display: block;
  font-family: var(--font-body);
  font-size: 0.83rem;
  color: rgba(251, 247, 240, 0.5);
  text-decoration: none;
  padding: 0.18rem 0;
  transition: color 0.2s;
}
.wm-footer-col a:hover { color: rgba(251, 247, 240, 0.88); }
.wm-footer-contact {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(251, 247, 240, 0.35);
  margin-bottom: 0.8rem;
}
.wm-footer-contact a {
  color: rgba(251, 247, 240, 0.55);
  text-decoration: none;
}
.wm-footer-contact a:hover { color: rgba(251, 247, 240, 0.88); }

/* ===== BUILD LOG CARDS ===== */
.wm-log-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 720px;
  margin-top: 2.5rem;
}

.wm-log-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.wm-log-card:hover {
  box-shadow: 0 4px 18px rgba(30, 110, 110, 0.09);
  border-left-color: var(--teal-light);
}

.wm-log-card-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
}

.wm-log-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
}
.wm-log-card-title em { color: var(--teal); font-style: italic; }

.wm-log-card-dek {
  font-size: 0.92rem;
  color: var(--ink-3);
  line-height: 1.7;
  margin: 0;
}

.wm-log-card-read {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  letter-spacing: 0.06em;
  margin-top: 0.5rem;
  opacity: 0.75;
  transition: opacity 0.22s, transform 0.22s;
  align-self: flex-start;
}
.wm-log-card-read:hover { opacity: 1; transform: translateX(3px); }

/* Breadcrumb row inside article heroes */
.wm-entry-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.wm-breadcrumb-sep {
  color: var(--ink-4);
  font-size: 0.75rem;
  opacity: 0.5;
}

/* ===== REVEAL ANIMATION (progressive enhancement) ===== */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(16px);
}
.js-reveal .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .menu-toggle { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(251, 247, 240, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.25rem 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.7rem 0.75rem; font-size: 0.95rem; }

  .wm-pillar-grid { grid-template-columns: 1fr 1fr; }
  .wm-finding { grid-template-columns: 90px 1fr; }
}

@media (max-width: 640px) {
  nav { padding: 0 1.25rem; }
  .wm-hero { padding: 8.5rem 1.25rem 4.5rem; }
  .wm-article-hero { padding: 8rem 1.25rem 3.5rem; }
  .wm-section { padding: 4.5rem 1.25rem; }
  .wm-pillar-grid { grid-template-columns: 1fr; }
  .wm-finding { grid-template-columns: 1fr; gap: 0.75rem; }
  .wm-finding-stat { text-align: left; font-size: 2.4rem; }
  .wm-hero-actions { flex-direction: column; align-items: center; }
  .wm-prose .wm-opening { margin-left: 0; }
}
