/* Vibrant system (Nov 2026): one signature colour (ultramarine), one spark (sunlit yellow),
   confident grotesk headlines. Loaded after exec.css. */
@font-face { font-family: "Inter Tight"; src: url("../fonts/inter-tight.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --blue: #7E0F02; --blue-soft: #fbf3f1; --blue-line: #efd5cf; --sun: #F3D08A; --deep: #2b0e09;
  --ink: #ffffff; --ink-2: #ffffff; --ink-3: var(--blue-soft); --line: #ece0dd;
  --text: #2b0e09; --muted: #5c4a45; --faint: #5c4a45; --signal: var(--blue);
  --display: "Inter Tight", "Instrument Sans", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #1a0b08; --ink-2: #26120d; --ink-3: #26120d; --line: #3d211a; --blue-line: #4d281f;
    --text: #fbf1ee; --muted: #d9c1bb; --faint: #d9c1bb; --signal: #e8907e; }
}

h1, h2, h3, .mark, .x-facts dt, .x-outcomes dt, .note-title, .x-more-item, .x-chapters h3 {
  font-family: var(--display); letter-spacing: -0.03em; }
h1 { font-weight: 700; line-height: 1.0; }
h2 { font-weight: 680; line-height: 1.06; }
h3 { font-weight: 650; }
.mark { font-weight: 750; font-size: 20px; }
.x-kicker { color: var(--signal); font-weight: 650; }

/* Hero: a full ultramarine field */
.x-hero { background: var(--blue); color: #fff; padding: 104px 0 80px; }
.x-hero h1 { color: #fff; font-size: clamp(2.8rem, 5.6vw, 4.8rem); max-width: 14ch; }
.x-hero .x-lede { color: #f5d6cf; }
.x-hero .btn-primary { background: var(--sun); border-color: var(--sun); color: var(--deep); }
.x-hero .btn-primary:hover { background: #fff; border-color: #fff; color: var(--deep); }
.x-hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.x-hero .btn-ghost:hover { border-color: #fff; color: #fff; }
.x-portrait img { border-radius: 32px; box-shadow: 0 0 0 6px rgba(255,255,255,.14), 0 40px 80px -40px rgba(0,0,0,.6); }
.x-facts { border-top-color: rgba(255,255,255,.28); }
.x-facts dt { color: var(--sun); font-weight: 700; font-size: 3rem; }
.x-facts dd { color: #f5d6cf; }
.topbar { background: color-mix(in srgb, var(--ink) 90%, transparent); }

/* Leadership: big ultramarine marks */
.x-outcomes dt { color: var(--signal); font-weight: 700; font-size: 2.4rem; }
.x-outcomes div { border-bottom-color: var(--line); }

/* Lessons: soft blue field, yellow rule */
.x-story { background: var(--ink-3); }
.x-moment::before { background: var(--sun); width: 4px; }
.x-moment h3 { font-family: var(--display); font-style: normal; font-weight: 680; font-size: 1.5rem; }
.x-moment p { font-family: var(--sans); font-size: 1.1rem; line-height: 1.7; opacity: 1; color: var(--muted); }

/* Journey: chapters on a bright line, current role in yellow */
.x-chapters li { border-top: 4px solid var(--blue-line); }
.x-chapters li.now { border-top-color: var(--sun); }
.x-chapters li.now .x-yr { color: var(--signal); }
.x-chapters h3 { font-size: 1.35rem; }

/* Principles: a deep ink band */
.x-principles { background: var(--deep); color: #fbf1ee; }
.x-principles h2, .x-principles .rules dt { color: #fff; }
.x-principles .x-kicker { color: var(--sun); }
.x-principles .rules { border-top-color: rgba(255,255,255,.2); }
.x-principles .rules div { border-bottom-color: rgba(255,255,255,.14); }
.x-principles .rules dt { font-family: var(--display); font-weight: 650; letter-spacing: -0.02em; }
.x-principles .rules dd { color: #f5d6cf; }

/* Notes and articles */
.note a { border-color: var(--line); }
.note a:hover { border-color: var(--signal); box-shadow: 0 20px 40px -28px rgba(126,15,2,.4); }
.note-title { font-weight: 680; font-size: 1.35rem; }
.x-article h1 { font-weight: 720; }
.prose a { color: var(--signal); }
.x-standfirst { font-family: var(--sans); font-style: normal; font-size: 1.22rem; }

/* Buttons elsewhere */
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--deep); border-color: var(--deep); color: #fff; }

@media (prefers-color-scheme: dark) {
  .x-hero { background: #7E0F02; }
  .btn-primary { background: var(--sun); border-color: var(--sun); color: var(--deep); }
}
.x-outcomes div { grid-template-columns: 230px 1fr; }
@media (max-width: 960px) { .x-outcomes div { grid-template-columns: 1fr; } }

/* Readability: one clean sans for all reading text, normal leading, calmer code */
.prose p, .prose li, .x-moment p, .note-hook { font-family: var(--sans); font-size: 1.04rem; line-height: 1.65; }
.prose { max-width: 70ch; }
.x-article .prose, .x-body { max-width: none; }
.prose li { margin: .35em 0; }
.prose h2 { font-family: var(--display); font-weight: 680; letter-spacing: -0.02em; }
.prose code { font-size: .86em; padding: 1px 6px; border-radius: 6px; }
.project { padding: 28px 30px; }
.project h2 { font-size: 1.6rem; }
.x-standfirst { font-size: 1.15rem; line-height: 1.55; }
.project > :first-child, .project h2:first-child { margin-top: 0; padding-top: 0; }
.project h2 { margin-top: 0; }
