:root {
  --ink: #0b1722;
  --ink-soft: #22313e;
  --paper: #f5f3ec;
  --paper-2: #ece9df;
  --white: #ffffff;
  --accent: #dfff73;
  --accent-strong: #bfe83f;
  --line: rgba(11, 23, 34, 0.16);
  --line-light: rgba(255, 255, 255, 0.18);
  --muted: #65717a;
  --radius: 1.25rem;
  --shell: min(1180px, calc(100vw - 40px));
  --shadow: 0 22px 70px rgba(2, 14, 24, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 1rem; left: 1rem; transform: translateY(-200%); background: var(--accent); padding: .65rem 1rem; z-index: 999; border-radius: .5rem; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .25s ease, box-shadow .25s ease, color .25s ease; color: var(--white); }
.site-header.scrolled { background: rgba(245, 243, 236, .92); color: var(--ink); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 750; letter-spacing: -.02em; }
.brand-mark { display: inline-grid; place-items: center; width: 2.4rem; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; font-size: .72rem; font-weight: 850; letter-spacing: .06em; }
.site-nav { display: flex; align-items: center; gap: 1.8rem; font-size: .9rem; font-weight: 650; }
.site-nav a { position: relative; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.35rem; height: 1px; background: currentColor; transition: right .25s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.nav-cta { border: 1px solid currentColor; border-radius: 999px; padding: .65rem 1rem; }
.nav-toggle { display: none; border: 0; background: transparent; color: currentColor; width: 44px; height: 44px; padding: 11px; }
.nav-toggle span:not(.sr-only) { display: block; width: 100%; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .2s ease; }

.hero { min-height: 100svh; background: var(--ink); color: var(--white); display: grid; align-content: end; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; width: 680px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; right: -260px; top: -180px; box-shadow: 0 0 0 110px rgba(255,255,255,.025), 0 0 0 230px rgba(255,255,255,.018); }
.hero-grid { padding-top: 150px; padding-bottom: 85px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 5vw; align-items: end; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 1.4rem; display: flex; align-items: center; gap: .7rem; font-size: .73rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 800; color: var(--muted); }
.eyebrow.light { color: rgba(255,255,255,.58); }
.eyebrow span { display: inline-block; width: 30px; height: 2px; background: var(--accent-strong); }
.hero .eyebrow { color: rgba(255,255,255,.64); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.045em; }
h1 { font-size: clamp(3.2rem, 7.1vw, 7rem); max-width: 11ch; margin-bottom: 1.7rem; font-weight: 660; }
h1 em { color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h2 { font-size: clamp(2.4rem, 4.7vw, 5rem); font-weight: 650; margin-bottom: 1.4rem; }
h3 { font-size: clamp(1.35rem, 2vw, 2rem); font-weight: 680; }
.hero-lede { max-width: 62ch; font-size: clamp(1.05rem, 1.7vw, 1.32rem); color: rgba(255,255,255,.72); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 52px; padding: .8rem 1.25rem; border-radius: 999px; border: 1px solid transparent; font-weight: 750; cursor: pointer; transition: transform .2s ease, background .2s ease, border .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--ink); }
.button-primary:hover { background: var(--accent-strong); }
.button-ghost { border-color: rgba(255,255,255,.34); color: var(--white); }
.button-ghost:hover { border-color: var(--white); }
.button-accent { background: var(--accent); color: var(--ink); }
.hero-panel { border-left: 1px solid var(--line-light); padding-left: 2rem; position: relative; }
.signal-card { padding: 1.35rem 0; border-bottom: 1px solid var(--line-light); }
.signal-card:first-child { border-top: 1px solid var(--line-light); }
.signal-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .15em; color: var(--accent); font-weight: 850; margin-bottom: .35rem; }
.signal-title { font-size: 1.1rem; font-weight: 750; margin-bottom: .2rem; }
.signal-card > p:last-child { color: rgba(255,255,255,.58); margin: 0; font-size: .9rem; }
.hero-orbit { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-orbit span { border: 1px solid var(--line-light); border-radius: 999px; padding: .38rem .7rem; color: rgba(255,255,255,.66); font-size: .75rem; }
.hero-rail { position: relative; z-index: 1; border-top: 1px solid var(--line-light); display: flex; overflow: hidden; white-space: nowrap; color: rgba(255,255,255,.38); font-size: .74rem; text-transform: uppercase; letter-spacing: .13em; }
.hero-rail div { padding: 1.15rem 2rem; border-right: 1px solid var(--line-light); flex: 1 0 auto; }

.section { padding: clamp(5.5rem, 10vw, 9rem) 0; }
.split-intro, .principles-grid { display: grid; grid-template-columns: .4fr 1.6fr; gap: 8vw; }
.section-kicker { display: flex; flex-direction: column; justify-content: space-between; }
.index-number { color: var(--muted); font-size: .8rem; letter-spacing: .12em; }
.intro-copy { max-width: 850px; }
.large-copy { font-size: clamp(1.35rem, 2.2vw, 2.05rem); line-height: 1.42; color: var(--ink-soft); }
.intro-copy > p:not(.large-copy) { max-width: 68ch; color: var(--muted); }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 3.5rem; }
.fact-grid div { padding: 1.4rem 1rem 0 0; }
.fact-grid strong, .fact-grid span { display: block; }
.fact-grid strong { font-size: 1.05rem; }
.fact-grid span { color: var(--muted); font-size: .85rem; margin-top: .25rem; }

.section-dark { background: var(--ink); color: var(--white); }
.section-heading { display: grid; grid-template-columns: 1.45fr .55fr; gap: 5vw; align-items: end; margin-bottom: 4rem; }
.section-heading h2 { max-width: 12ch; margin-bottom: 0; }
.section-heading > p { color: var(--muted); max-width: 42ch; margin-bottom: .4rem; }
.section-dark .section-heading > p { color: rgba(255,255,255,.58); }
.timeline { border-top: 1px solid var(--line-light); }
.timeline-item { display: grid; grid-template-columns: .45fr 1.55fr; gap: 5vw; padding: 2.5rem 0; border-bottom: 1px solid var(--line-light); }
.timeline-meta { display: flex; flex-direction: column; gap: .3rem; font-size: .74rem; text-transform: uppercase; letter-spacing: .11em; color: rgba(255,255,255,.46); }
.timeline-body h3 { margin-bottom: .35rem; }
.organisation { color: var(--accent); font-weight: 700; margin-bottom: 1rem; }
.timeline-body > p:last-of-type { color: rgba(255,255,255,.63); max-width: 65ch; }
.tags { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.tags li { padding: .34rem .65rem; border: 1px solid currentColor; border-radius: 999px; font-size: .72rem; opacity: .62; }

.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.project-card { min-height: 420px; padding: clamp(1.5rem, 3vw, 2.4rem); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; background: rgba(255,255,255,.18); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); background: rgba(255,255,255,.58); }
.project-featured { background: var(--accent); }
.project-featured:hover { background: var(--accent); }
.project-kenya { background: var(--ink); color: var(--white); }
.project-topline { display: flex; justify-content: space-between; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; opacity: .58; }
.project-type { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; margin-bottom: .8rem; opacity: .55; }
.project-card h3 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1rem; }
.project-card p { max-width: 50ch; }

.principles { background: var(--paper-2); }
.principle-list { border-top: 1px solid var(--line); }
.principle-list article { display: grid; grid-template-columns: 60px .9fr 1.1fr; gap: 2rem; align-items: baseline; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.principle-list article > span { font-size: .72rem; color: var(--muted); }
.principle-list h3 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 2.3rem); }
.principle-list p { color: var(--muted); margin: 0; }

.text-link { font-weight: 750; border-bottom: 1px solid currentColor; width: fit-content; }
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.insight-card { min-height: 310px; border-top: 1px solid var(--line); padding: 1.4rem .2rem; display: flex; flex-direction: column; }
.insight-card > span { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; margin-bottom: auto; }
.insight-card h3 { margin: 3rem 0 1rem; }
.insight-card p { color: var(--muted); }
.insight-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }

.contact { background: var(--ink); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }
.contact-copy h2 { max-width: 9ch; }
.contact-copy > p:not(.eyebrow) { color: rgba(255,255,255,.6); max-width: 50ch; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; margin-top: 2.2rem; }
.contact-links a { border-bottom: 1px solid rgba(255,255,255,.35); }
.contact-form { display: grid; gap: 1.2rem; }
.form-row { display: grid; gap: .45rem; }
.form-row label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.58); font-weight: 750; }
.form-row input, .form-row select, .form-row textarea { width: 100%; color: var(--white); background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.22); border-radius: .7rem; padding: .9rem 1rem; outline: none; }
.form-row select { color-scheme: dark; }
.form-row textarea { resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(223,255,115,.12); }
.contact-form .button { justify-self: start; }

.site-footer { background: #07111a; color: var(--white); padding: 3rem 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.footer-grid > div:first-child { max-width: 430px; display: flex; gap: 1rem; align-items: center; }
.footer-grid p { margin: 0; color: rgba(255,255,255,.52); font-size: .86rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.3rem; font-size: .85rem; }
.copyright { grid-column: 1 / -1; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.08); }

.page-hero { background: var(--ink); color: var(--white); padding: 170px 0 90px; }
.page-hero h1 { font-size: clamp(3rem, 7vw, 6rem); max-width: 13ch; }
.page-hero p { max-width: 60ch; color: rgba(255,255,255,.65); font-size: 1.12rem; }
.content-narrow { max-width: 820px; }
.content-narrow h2 { margin-top: 4rem; font-size: clamp(2rem, 4vw, 3.3rem); }
.content-narrow p, .content-narrow li { color: var(--ink-soft); }
.content-narrow .button { margin-top: 1rem; }
.theme-list { display: grid; gap: 1rem; }
.theme-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; scroll-margin-top: 110px; }
.theme-card h2 { margin-top: 0; }
.status-pill { display: inline-block; background: var(--accent); padding: .28rem .65rem; border-radius: 999px; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.cv-page { background: #fff; }
.cv-sheet { max-width: 960px; margin: 120px auto 80px; padding: 0 30px; }
.cv-head { display: grid; grid-template-columns: 1fr auto; gap: 2rem; padding-bottom: 2rem; border-bottom: 2px solid var(--ink); }
.cv-head h1 { color: var(--ink); font-size: clamp(3rem, 7vw, 5.5rem); margin-bottom: .5rem; }
.cv-head p { color: var(--muted); }
.cv-section { display: grid; grid-template-columns: 180px 1fr; gap: 2rem; padding: 2.2rem 0; border-bottom: 1px solid var(--line); }
.cv-section > h2 { font-size: .75rem; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); }
.cv-item { margin-bottom: 2rem; }
.cv-item:last-child { margin-bottom: 0; }
.cv-item h3 { margin-bottom: .25rem; }
.cv-item .cv-meta { color: var(--muted); font-size: .88rem; }
.cv-actions { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 50; display: flex; gap: .5rem; }
.thanks { min-height: 100svh; background: var(--ink); color: var(--white); display: grid; place-items: center; text-align: center; padding: 2rem; }
.thanks-card { max-width: 650px; }
.thanks-card .brand-mark { margin-bottom: 2rem; }
.thanks-card h1 { max-width: none; font-size: clamp(3rem, 7vw, 5rem); }
.thanks-card p { color: rgba(255,255,255,.65); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 0; background: var(--ink); color: var(--white); display: grid; place-content: center; gap: 1.4rem; font-size: 1.7rem; transform: translateY(-100%); transition: transform .35s ease; }
  .site-nav.open { transform: translateY(0); }
  .site-nav .nav-cta { border: 0; padding: 0; }
  .nav-toggle { position: relative; z-index: 2; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(1) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(-4px) rotate(-45deg); }
  .hero-grid, .section-heading, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 140px; }
  .hero-panel { border-left: 0; border-top: 1px solid var(--line-light); padding: 1.5rem 0 0; }
  .section-heading > p { max-width: 62ch; }
  .split-intro, .principles-grid { grid-template-columns: 1fr; }
  .section-kicker { flex-direction: row; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 360px; }
  .insight-grid { grid-template-columns: 1fr; }
  .insight-card { min-height: 220px; }
  .principle-list article { grid-template-columns: 40px 1fr; }
  .principle-list article p { grid-column: 2; }
}

@media (max-width: 620px) {
  :root { --shell: min(100% - 26px, 1180px); }
  .header-inner { min-height: 70px; }
  .brand-wordmark { display: none; }
  .hero-grid { padding-bottom: 60px; }
  h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .fact-grid { grid-template-columns: 1fr; }
  .fact-grid div { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .timeline-item { grid-template-columns: 1fr; gap: 1.2rem; }
  .timeline-meta { flex-direction: row; justify-content: space-between; }
  .project-card { min-height: 390px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { margin-top: 1rem; }
  .cv-head, .cv-section { grid-template-columns: 1fr; }
  .cv-sheet { margin-top: 100px; }
  .cv-actions { left: 1rem; right: 1rem; }
  .cv-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .cv-actions { display: none !important; }
  .cv-sheet { margin: 0; max-width: none; padding: 0; }
  .cv-head h1 { font-size: 36pt; }
  .cv-section { break-inside: avoid; }
  body { background: white; color: black; font-size: 10.5pt; }
}

/* Editorial homepage and article system */
.insights-preview { background: #f8f6ef; }
.insights-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .7fr);
  gap: 2rem 6vw;
  align-items: end;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}
.insights-masthead h2 { max-width: 10ch; margin-bottom: 0; }
.insights-masthead > p { color: var(--muted); max-width: 52ch; margin: 0; }
.insight-button { grid-column: 2; justify-self: start; background: var(--ink); color: var(--white); }
.insight-button:hover { background: var(--ink-soft); }
.insight-editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.editorial-card {
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + .2rem);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(255,255,255,.5);
  overflow: hidden;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.editorial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--white); }
.editorial-card-featured { background: var(--accent); }
.editorial-card-featured:hover { background: var(--accent); }
.editorial-card-dark { background: var(--ink); color: var(--white); }
.editorial-card-dark:hover { background: #122433; }
.editorial-meta { display: flex; justify-content: space-between; gap: 1rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; opacity: .62; }
.editorial-number { font-family: Georgia, "Times New Roman", serif; font-size: clamp(5rem, 12vw, 9rem); line-height: .9; align-self: center; opacity: .08; text-align: right; letter-spacing: -.08em; }
.editorial-card h3 { font-size: clamp(1.8rem, 3vw, 3rem); max-width: 13ch; margin-bottom: 1rem; }
.editorial-card p { color: var(--muted); max-width: 47ch; }
.editorial-card-dark p { color: rgba(255,255,255,.62); }
.read-link { display: inline-flex; align-items: center; gap: .65rem; margin-top: 1rem; font-size: .83rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.read-link b { display: inline-grid; place-items: center; width: 2.1rem; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; transition: transform .2s ease; }
.editorial-card:hover .read-link b, .article-index-card:hover .read-link b { transform: rotate(45deg); }

/* Insights index */
.insights-page-hero { padding-bottom: 110px; }
.insights-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 6vw; align-items: end; }
.insights-hero-grid h1 { max-width: 10ch; margin-bottom: 0; }
.insights-hero-grid > p { margin-bottom: .7rem; }
.article-index-section { background: #f8f6ef; }
.article-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.article-index-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  min-height: 440px;
  display: grid;
  grid-template-rows: auto 1fr;
  background: rgba(255,255,255,.55);
  transition: transform .25s ease, box-shadow .25s ease;
}
.article-index-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.article-index-featured { background: var(--accent); }
.article-index-dark { background: var(--ink); color: var(--white); }
.article-index-dark p { color: rgba(255,255,255,.62) !important; }
.article-index-meta { display: flex; flex-wrap: wrap; gap: .6rem 1rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; opacity: .58; }
.article-index-card > div:last-child { align-self: end; }
.article-index-number { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 4.2rem; opacity: .1; line-height: 1; margin-bottom: .5rem; }
.article-index-card h2 { font-size: clamp(2rem, 3.5vw, 3.4rem); max-width: 12ch; }
.article-index-card p { color: var(--muted); max-width: 50ch; }

/* Long-form articles */
.article-hero { background: var(--ink); color: var(--white); padding: 150px 0 90px; }
.article-hero-accent { background: #dfff73; color: var(--ink); }
.article-hero-paper { background: #e9e4d8; color: var(--ink); }
.article-hero-dark { background: #122433; color: var(--white); }
.article-shell { width: min(980px, calc(100vw - 40px)); margin-inline: auto; }
.article-back { display: inline-block; margin-bottom: 4rem; font-size: .82rem; font-weight: 750; opacity: .65; }
.article-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.1rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; opacity: .62; margin-bottom: 1.5rem; }
.article-hero h1 { max-width: 12ch; font-size: clamp(3.2rem, 8vw, 7.2rem); margin-bottom: 1.5rem; }
.article-deck { max-width: 66ch; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.5; opacity: .72; }
.article-layout { display: grid; grid-template-columns: 210px minmax(0, 720px); justify-content: center; gap: 6vw; padding-top: 6rem; padding-bottom: 7rem; }
.article-aside { align-self: start; position: sticky; top: 120px; padding-top: .9rem; border-top: 1px solid var(--line); }
.article-aside p { margin-bottom: .2rem; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .11em; font-weight: 800; }
.article-aside strong, .article-aside span { display: block; }
.article-aside span { color: var(--muted); font-size: .82rem; margin-top: .25rem; }
.article-body { font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; line-height: 1.8; }
.article-body .article-lead { font-size: clamp(1.3rem, 2.3vw, 1.65rem); line-height: 1.58; color: var(--ink-soft); }
.article-body h2 { font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.75rem); margin-top: 3.8rem; margin-bottom: 1rem; }
.article-body p { color: #2b3944; }
.article-body blockquote { margin: 3rem 0; padding: 2rem 0 2rem 2rem; border-left: 4px solid var(--accent-strong); font-size: clamp(1.35rem, 2.5vw, 1.9rem); line-height: 1.5; color: var(--ink); }
.article-end { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.article-end > span { font-family: Georgia, "Times New Roman", serif; font-size: 3rem; opacity: .16; }
.article-end p { margin: 0; color: var(--muted); font-size: .85rem; }
.article-end a { border-bottom: 1px solid currentColor; }
.next-article { border-top: 1px solid var(--line); padding: 2.5rem 0 5rem; }
.next-article > span { display: block; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; margin-bottom: 1rem; }
.next-article a { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.next-article strong { font-size: clamp(1.7rem, 4vw, 3.5rem); letter-spacing: -.04em; max-width: 18ch; line-height: 1.1; }
.next-article b { display: grid; place-items: center; width: 3rem; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; }

/* Enhanced CV */
.cv-page { background: #eceae3; }
.cv-sheet { max-width: 1040px; margin: 80px auto 100px; padding: 0; background: var(--white); box-shadow: 0 24px 80px rgba(11,23,34,.12); }
.cv-head-enhanced { background: var(--ink); color: var(--white); border: 0; padding: 2.8rem 3rem; align-items: center; }
.cv-identity { display: flex; align-items: center; gap: 1.4rem; }
.cv-monogram { display: grid; place-items: center; flex: 0 0 auto; width: 4.7rem; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font-size: 1rem; font-weight: 850; letter-spacing: .08em; }
.cv-head-enhanced h1 { color: var(--white); font-size: clamp(3rem, 6vw, 5rem); margin: 0 0 .35rem; }
.cv-head-enhanced p { margin: 0; color: rgba(255,255,255,.62); }
.cv-contact { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; font-size: .88rem; }
.cv-contact a { color: rgba(255,255,255,.72); }
.cv-contact a:hover { color: var(--accent); }
.cv-summary-band { padding: 2.4rem 3rem; background: var(--accent); }
.cv-summary-band > p { font-size: 1.15rem; line-height: 1.6; max-width: 78ch; color: var(--ink-soft); }
.cv-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; padding-top: 1.5rem; margin-top: 1.5rem; border-top: 1px solid rgba(11,23,34,.18); }
.cv-highlights strong, .cv-highlights span { display: block; }
.cv-highlights strong { font-size: 1rem; }
.cv-highlights span { font-size: .78rem; color: rgba(11,23,34,.62); }
.cv-section { padding: 2.4rem 3rem; grid-template-columns: 185px 1fr; }
.cv-section > h2 { margin: .2rem 0 0; color: var(--ink); font-weight: 850; }
.cv-section-featured { background: #f7f5ee; }
.cv-item { margin-bottom: 2.2rem; }
.cv-item-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.cv-item-head h3 { font-size: 1.3rem; letter-spacing: -.025em; }
.cv-item-head > span { flex: 0 0 auto; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 750; }
.cv-meta { margin-bottom: .75rem; }
.cv-bullets { margin: .7rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); }
.cv-bullets li + li { margin-top: .45rem; }
.cv-award { display: inline-block; background: var(--accent); padding: .55rem .8rem; border-radius: .6rem; }
.cv-capabilities { display: flex; flex-wrap: wrap; gap: .55rem; }
.cv-capabilities span { border: 1px solid var(--line); border-radius: 999px; padding: .45rem .75rem; font-size: .79rem; font-weight: 700; }
.cv-two-col { display: grid; grid-template-columns: 1fr .45fr; gap: 2rem; }
.cv-two-col h3 { font-size: 1rem; margin-bottom: .5rem; }

@media (max-width: 900px) {
  .insights-masthead, .insights-hero-grid { grid-template-columns: 1fr; }
  .insight-button { grid-column: auto; }
  .insight-editorial-grid, .article-index { grid-template-columns: 1fr; }
  .editorial-card, .article-index-card { min-height: 370px; }
  .article-layout { grid-template-columns: 1fr; width: min(760px, calc(100vw - 40px)); }
  .article-aside { position: static; display: grid; grid-template-columns: auto 1fr; column-gap: .7rem; }
  .article-aside p { grid-column: 1 / -1; }
  .cv-head-enhanced { grid-template-columns: 1fr; }
  .cv-contact { align-items: flex-start; }
}

@media (max-width: 620px) {
  .insights-masthead { padding-bottom: 2rem; }
  .editorial-card { min-height: 390px; }
  .editorial-meta { flex-direction: column; gap: .25rem; }
  .article-index-card { min-height: 390px; }
  .article-hero { padding-top: 120px; }
  .article-back { margin-bottom: 2.7rem; }
  .article-shell { width: min(100% - 26px, 980px); }
  .article-layout { width: min(100% - 26px, 760px); padding-top: 4rem; }
  .article-body { font-size: 1.04rem; }
  .article-body blockquote { margin-left: 0; padding-left: 1.2rem; }
  .cv-sheet { margin: 0; }
  .cv-head-enhanced, .cv-summary-band, .cv-section { padding-left: 1.3rem; padding-right: 1.3rem; }
  .cv-identity { align-items: flex-start; }
  .cv-monogram { width: 3.4rem; }
  .cv-highlights, .cv-two-col { grid-template-columns: 1fr; }
  .cv-item-head { display: block; }
  .cv-item-head > span { display: block; margin-top: .2rem; }
}

@media print {
  .cv-page { background: white; }
  .cv-sheet { box-shadow: none; margin: 0; }
  .cv-head-enhanced { -webkit-print-color-adjust: exact; print-color-adjust: exact; padding: 1.5rem 1.8rem; }
  .cv-summary-band { -webkit-print-color-adjust: exact; print-color-adjust: exact; padding: 1.2rem 1.8rem; }
  .cv-summary-band > p { font-size: 9.5pt; margin-bottom: .6rem; }
  .cv-highlights { padding-top: .7rem; margin-top: .7rem; }
  .cv-section { padding: 1rem 1.8rem; grid-template-columns: 145px 1fr; gap: 1.2rem; }
  .cv-item { margin-bottom: .8rem; }
  .cv-item h3 { font-size: 11pt; }
  .cv-bullets { margin-top: .35rem; }
  .cv-section-featured { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .cv-capabilities span { padding: .25rem .45rem; font-size: 7.5pt; }
}

/* Working principles — card system */
.principles-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr);
  gap: 3rem 7vw;
  align-items: end;
  margin-bottom: 3rem;
}
.principles-heading h2 { max-width: 11ch; margin-bottom: 0; }
.principles-heading > p { color: var(--muted); max-width: 44ch; margin: 0 0 .5rem; }
.principle-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.principle-card {
  min-height: 430px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + .2rem);
  background: rgba(255,255,255,.52);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.principle-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.principle-card-top { display: flex; justify-content: space-between; gap: 1rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 850; opacity: .56; }
.principle-card h3 { font-size: clamp(2rem, 3.3vw, 3.35rem); max-width: 9ch; margin: auto 0 1.4rem; }
.principle-card p { color: var(--muted); max-width: 39ch; margin: 0; }
.principle-mark { position: absolute; right: 1.3rem; bottom: .7rem; font-family: Georgia, "Times New Roman", serif; font-size: 5.5rem; line-height: 1; opacity: .07; }
.principle-card-dark { background: var(--ink); color: var(--white); }
.principle-card-dark p { color: rgba(255,255,255,.62); }
.principle-card-accent { background: var(--accent); }
.principle-card-accent p { color: rgba(11,23,34,.68); }

/* Homepage journal */
.journal-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .7fr);
  gap: 2.5rem 7vw;
  align-items: end;
  padding-bottom: 3.4rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.journal-masthead h2 { max-width: 11ch; margin-bottom: 0; }
.journal-intro p { color: var(--muted); max-width: 52ch; margin-bottom: 1.5rem; }
.journal-button { background: var(--ink); color: var(--white); width: fit-content; }
.journal-button:hover { background: var(--ink-soft); }
.journal-stage { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 1rem; margin-bottom: 3rem; }
.journal-feature {
  min-height: 600px;
  padding: clamp(1.6rem, 3.5vw, 3rem);
  border-radius: calc(var(--radius) + .35rem);
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}
.journal-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(145deg, transparent 35%, rgba(223,255,115,.08)); }
.journal-feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.journal-feature-top { display: flex; justify-content: space-between; gap: 1rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 850; color: rgba(255,255,255,.54); }
.journal-feature-copy { margin-top: auto; position: relative; z-index: 2; max-width: 760px; }
.journal-feature h3 { font-size: clamp(2.9rem, 6vw, 5.8rem); max-width: 11ch; margin: 1rem 0 1.4rem; }
.journal-feature p { color: rgba(255,255,255,.64); max-width: 55ch; font-size: 1.03rem; }
.journal-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 820; opacity: .62; }
.journal-feature-orbit { position: absolute; width: min(420px, 62%); aspect-ratio: 1; right: -8%; top: 7%; z-index: -1; }
.journal-feature-orbit span { position: absolute; inset: 0; border: 1px solid rgba(223,255,115,.18); border-radius: 50%; }
.journal-feature-orbit span:nth-child(2) { inset: 14%; }
.journal-feature-orbit span:nth-child(3) { inset: 31%; background: rgba(223,255,115,.06); }
.journal-stack { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.journal-stack-card {
  min-height: 0;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + .2rem);
  background: rgba(255,255,255,.58);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.journal-stack-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); background: var(--white); }
.journal-stack-card h3 { font-size: clamp(1.8rem, 3.2vw, 3rem); max-width: 11ch; margin: 2.5rem 0 .6rem; }
.journal-stack-accent { background: var(--accent); }
.journal-stack-accent:hover { background: var(--accent); }
.journal-archive-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.journal-archive-heading p { margin: 0; font-weight: 820; }
.journal-archive-heading span { color: var(--muted); font-size: .78rem; }
.journal-archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.journal-archive-card {
  min-height: 250px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.36);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.journal-archive-card:hover { transform: translateY(-4px); background: var(--white); box-shadow: 0 16px 45px rgba(2,14,24,.08); }
.journal-archive-card h3 { font-size: clamp(1.45rem, 2.1vw, 2rem); max-width: 13ch; margin: auto 0 0; }
.journal-arrow { position: absolute; right: 1.15rem; bottom: 1rem; display: grid; place-items: center; width: 2.2rem; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; transition: transform .2s ease; }
.journal-archive-card:hover .journal-arrow { transform: rotate(45deg); }

/* Journal index enhancements */
.journal-page-intro > p { margin-bottom: 1.4rem; }
.journal-topics { display: flex; flex-wrap: wrap; gap: .5rem; }
.journal-topics span { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .38rem .7rem; color: rgba(255,255,255,.66); font-size: .72rem; }
.article-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.article-index-wide { grid-column: 1 / -1; min-height: 520px; }
.article-index-wide h2 { font-size: clamp(3.2rem, 6vw, 5.8rem); max-width: 13ch; }
.article-index-paper { background: #e9e4d8; }

/* Reliable mobile navigation: closed means absent until the button is tapped. */
@media (max-width: 900px) {
  .brand { position: relative; z-index: 103; }
  .nav-toggle { position: relative; z-index: 104; display: block; }
  .site-nav {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    min-height: 100svh;
    padding: 100px 28px 40px;
    background: var(--ink);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.15rem;
    font-size: clamp(1.9rem, 9vw, 3.3rem);
    line-height: 1.08;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: none;
    transition: opacity .22s ease, visibility 0s linear .22s;
    z-index: 102;
  }
  .site-nav.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .site-nav a { display: block; }
  .site-nav .nav-cta { border: 0; border-radius: 0; padding: 0; color: var(--accent); }
  body.nav-open .site-header { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; }
  .nav-line { display: block; width: 100%; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .2s ease; transform-origin: center; }
  .nav-toggle[aria-expanded="true"] .nav-line-one { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-line-two { transform: translateY(-3.75px) rotate(-45deg); }
  .principles-heading, .journal-masthead, .journal-stage { grid-template-columns: 1fr; }
  .principle-cards { grid-template-columns: 1fr; }
  .principle-card { min-height: 360px; }
  .journal-feature { min-height: 540px; }
  .journal-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .journal-stack-card { min-height: 330px; }
  .journal-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .principles-heading { gap: 1.5rem; margin-bottom: 2rem; }
  .principle-card { min-height: 330px; }
  .principle-card h3 { margin-top: auto; }
  .journal-masthead { gap: 1.5rem; padding-bottom: 2.2rem; }
  .journal-button { width: 100%; }
  .journal-stage { gap: .8rem; }
  .journal-feature { min-height: 510px; padding: 1.35rem; }
  .journal-feature h3 { font-size: clamp(2.5rem, 12vw, 4.1rem); }
  .journal-feature p { font-size: .95rem; }
  .journal-feature-orbit { width: 85%; right: -28%; top: 8%; }
  .journal-stack { grid-template-columns: 1fr; gap: .8rem; }
  .journal-stack-card { min-height: 285px; }
  .journal-stack-card h3 { margin-top: 2.2rem; }
  .journal-archive-heading { display: block; }
  .journal-archive-heading span { display: block; margin-top: .25rem; }
  .journal-archive-grid { grid-template-columns: 1fr; gap: .8rem; }
  .journal-archive-card { min-height: 215px; }
  .article-index { grid-template-columns: 1fr; }
  .article-index-wide { grid-column: auto; min-height: 440px; }
  .article-index-wide h2 { font-size: clamp(2.45rem, 11vw, 4rem); }
}

@media (max-width: 900px) {
  .nav-toggle .nav-line {
    position: absolute !important;
    left: 11px;
    width: 22px;
    margin: 0 !important;
  }
  .nav-toggle .nav-line-one { top: 17px; }
  .nav-toggle .nav-line-two { top: 25px; }
  button.nav-toggle[aria-expanded="true"] .nav-line-one {
    top: 21px;
    transform: rotate(45deg) !important;
  }
  button.nav-toggle[aria-expanded="true"] .nav-line-two {
    top: 21px;
    transform: rotate(-45deg) !important;
  }
}

/* ==========================================================
   Desktop visual resilience and editorial depth — v4
   Keeps content fully visible even if reveal JavaScript is delayed.
   ========================================================== */
.reveal,
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* A dependable header treatment before JavaScript applies scroll state. */
.site-header {
  background: rgba(11, 23, 34, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.09);
}
.site-header.scrolled {
  background: rgba(245, 243, 236, .94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}

/* Ensure artwork sits above the card background rather than behind it. */
.journal-feature::after,
.journal-feature-orbit { z-index: 0; }
.journal-feature-top,
.journal-feature-copy { position: relative; z-index: 2; }

@media (min-width: 901px) {
  /* Working principles: a designed canvas rather than a plain section. */
  .principles {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
      linear-gradient(rgba(11,23,34,.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(11,23,34,.035) 1px, transparent 1px),
      radial-gradient(circle at 83% 16%, rgba(223,255,115,.42), transparent 24%),
      radial-gradient(circle at 6% 92%, rgba(11,23,34,.07), transparent 27%),
      var(--paper-2);
    background-size: 72px 72px, 72px 72px, auto, auto, auto;
  }
  .principles::before {
    content: "01 — 03";
    position: absolute;
    right: -1.5rem;
    top: 1.25rem;
    z-index: -1;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(8rem, 17vw, 16rem);
    line-height: .8;
    letter-spacing: -.08em;
    color: rgba(11,23,34,.035);
    white-space: nowrap;
    pointer-events: none;
  }
  .principles::after {
    content: "";
    position: absolute;
    width: 460px;
    aspect-ratio: 1;
    left: -260px;
    top: 20%;
    border: 1px solid rgba(11,23,34,.1);
    border-radius: 50%;
    box-shadow:
      0 0 0 68px rgba(11,23,34,.025),
      0 0 0 136px rgba(11,23,34,.018);
    z-index: -1;
    pointer-events: none;
  }
  .principles .shell { position: relative; z-index: 1; }
  .principles-heading {
    padding: 2.2rem 2.35rem;
    border: 1px solid rgba(11,23,34,.12);
    border-radius: calc(var(--radius) + .45rem);
    background: rgba(245,243,236,.76);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 55px rgba(2,14,24,.07);
  }
  .principles-heading > p {
    padding-left: 1.4rem;
    border-left: 2px solid var(--accent-strong);
  }
  .principle-cards { gap: 1.15rem; perspective: 1200px; }
  .principle-card {
    min-height: 455px;
    border-color: rgba(11,23,34,.14);
    box-shadow: 0 18px 55px rgba(2,14,24,.08);
  }
  .principle-card::before {
    content: "";
    position: absolute;
    width: 190px;
    aspect-ratio: 1;
    right: -72px;
    top: -72px;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: .09;
    box-shadow: 0 0 0 28px currentColor, 0 0 0 29px transparent;
    pointer-events: none;
  }
  .principle-card::after {
    content: "";
    position: absolute;
    left: 2.25rem;
    right: 2.25rem;
    top: 5.2rem;
    height: 1px;
    background: currentColor;
    opacity: .12;
  }
  .principle-card-dark {
    background:
      radial-gradient(circle at 100% 0%, rgba(223,255,115,.13), transparent 38%),
      var(--ink);
  }
  .principle-card:not(.principle-card-dark):not(.principle-card-accent) {
    background:
      linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.58)),
      var(--paper);
  }
  .principle-card-accent {
    background:
      radial-gradient(circle at 12% 88%, rgba(255,255,255,.34), transparent 35%),
      linear-gradient(145deg, #e7ff8e, var(--accent));
  }
  .principle-mark { opacity: .12; transform: scale(1.08); }

  /* Journal: a full editorial environment with visible graphic depth. */
  .insights-preview {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
      radial-gradient(circle at 8% 14%, rgba(223,255,115,.24), transparent 21%),
      radial-gradient(circle at 92% 76%, rgba(11,23,34,.08), transparent 24%),
      linear-gradient(180deg, #fbfaf6 0%, #f3f0e7 58%, #e8e4d9 100%);
  }
  .insights-preview::before {
    content: "JOURNAL";
    position: absolute;
    left: 50%;
    top: 2.4rem;
    transform: translateX(-50%);
    z-index: -1;
    font-size: clamp(8rem, 18vw, 17rem);
    line-height: .8;
    letter-spacing: -.075em;
    font-weight: 900;
    color: rgba(11,23,34,.025);
    pointer-events: none;
    white-space: nowrap;
  }
  .insights-preview::after {
    content: "";
    position: absolute;
    width: 620px;
    aspect-ratio: 1;
    right: -330px;
    top: 13%;
    border: 1px solid rgba(11,23,34,.08);
    border-radius: 50%;
    box-shadow:
      0 0 0 85px rgba(11,23,34,.018),
      0 0 0 170px rgba(11,23,34,.012);
    z-index: -1;
    pointer-events: none;
  }
  .insights-preview .shell { position: relative; z-index: 1; }
  .journal-masthead {
    padding: 2.5rem 2.6rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(11,23,34,.13);
    border-radius: calc(var(--radius) + .5rem);
    background: rgba(255,255,255,.69);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 22px 65px rgba(2,14,24,.07);
  }
  .journal-masthead h2 { max-width: 12ch; }
  .journal-intro {
    padding-left: 1.5rem;
    border-left: 2px solid var(--accent-strong);
  }
  .journal-stage {
    padding: 1rem;
    gap: 1rem;
    border: 1px solid rgba(11,23,34,.12);
    border-radius: calc(var(--radius) + .75rem);
    background: rgba(255,255,255,.44);
    box-shadow: 0 26px 80px rgba(2,14,24,.09);
  }
  .journal-feature {
    background:
      radial-gradient(circle at 82% 20%, rgba(223,255,115,.15) 0 9%, transparent 9.5% 16%, rgba(223,255,115,.12) 16.5% 17%, transparent 17.5%),
      linear-gradient(145deg, #0b1722 0%, #122a3a 62%, #0b1722 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
  }
  .journal-feature::before {
    content: "09";
    position: absolute;
    right: 1.2rem;
    bottom: -2.5rem;
    z-index: 1;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15rem;
    line-height: 1;
    color: rgba(255,255,255,.035);
    pointer-events: none;
  }
  .journal-feature-orbit { opacity: 1; }
  .journal-stack-card {
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 45px rgba(2,14,24,.07);
  }
  .journal-stack-card::before {
    content: "";
    position: absolute;
    width: 180px;
    aspect-ratio: 1;
    right: -85px;
    top: -85px;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: .1;
    box-shadow: 0 0 0 28px currentColor;
    pointer-events: none;
  }
  .journal-stack-card > * { position: relative; z-index: 1; }
  .journal-stack-accent {
    background: linear-gradient(145deg, #e9ff95, var(--accent));
  }
  .journal-stack-card:not(.journal-stack-accent) {
    background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,255,255,.7));
  }
  .journal-archive-heading {
    padding: 1.35rem 1.5rem;
    border: 1px solid rgba(11,23,34,.12);
    border-radius: var(--radius);
    background: rgba(255,255,255,.55);
  }
  .journal-archive-grid { gap: 1.1rem; }
  .journal-archive-card {
    min-height: 270px;
    border: 0;
    background: rgba(255,255,255,.78);
    box-shadow: 0 14px 38px rgba(2,14,24,.065);
    overflow: hidden;
  }
  .journal-archive-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--accent-strong);
  }
  .journal-archive-card:nth-child(2n)::before { background: var(--ink); }
  .journal-archive-card:nth-child(3n)::before { background: #9dbb33; }
  .journal-archive-card::after {
    content: "";
    position: absolute;
    width: 115px;
    aspect-ratio: 1;
    right: -45px;
    top: -45px;
    border: 1px solid rgba(11,23,34,.1);
    border-radius: 50%;
  }
}

/* Preserve the proven mobile header/menu appearance. */
@media (max-width: 900px) {
  .site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  .site-header.scrolled { background: rgba(245, 243, 236, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
  body.nav-open .site-header { background: transparent; }
}
