/* Osahon — shared site styles.
   Brand: Deep Midnight Navy base, Golden Principle for highlights (sparingly),
   True North Blue for calls to action, Clash Display + Sentient.
   The north pointer (the shape inside the logo mark) is used for bullets, markers and motion. */

@font-face { font-family: "Clash Display"; src: url("fonts/ClashDisplay-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("fonts/ClashDisplay-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("fonts/ClashDisplay-Semibold.otf") format("opentype"); font-weight: 600; font-display: swap; }

:root {
  --navy: #0B1C2C;
  --gold: #D8A94F;
  --blue: #1D6FA3;
  --stone: #C8C5BF;
  --graphite: #3C3F3E;

  --bg: var(--navy);
  --bg-2: #13293D;
  --bg-3: #1A3349;
  --fg: #F4F3F0;
  --muted: #A3ADB8;
  --rule: rgba(200, 197, 191, .16);
  --accent: var(--gold);
  --accent-text: var(--gold);
  --cta: var(--blue);
  --cta-hover: #2E86BE;
  --on-cta: #FFFFFF;
  --link: #6FB3E0;
  --error: #F08A7A;
  --node: var(--stone);
  --is-dark: 1;

  --f-display: "Clash Display", "Segoe UI", system-ui, sans-serif;
  --f-serif: "Sentient", Georgia, "Times New Roman", serif;
  --f-body: "Clash Display", "Segoe UI", system-ui, sans-serif;

  --step--1: .8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: clamp(1.45rem, 1.15rem + 1.3vw, 2rem);
  --step-3: clamp(2rem, 1.35rem + 2.8vw, 3.3rem);
  --step-4: clamp(2.6rem, 1.5rem + 4.6vw, 5rem);
  --step-h1: clamp(2.3rem, 1.5rem + 3.4vw, 4.2rem);

  --wrap: 72rem;
  --narrow: 44rem;
  --pointer: polygon(13% 22%, 99% 0%, 72% 86%, 13% 86%);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F7F6F3; --bg-2: #ECEAE5; --bg-3: #E2DFD8; --fg: #0B1C2C; --muted: #4D5458;
    --rule: rgba(11, 28, 44, .14); --accent: #C4922F; --accent-text: #8A6316;
    --cta: #1D6FA3; --cta-hover: #0B1C2C; --link: #1D6FA3; --error: #B3261E; --node: #3C3F3E; --is-dark: 0;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #F7F6F3; --bg-2: #ECEAE5; --bg-3: #E2DFD8; --fg: #0B1C2C; --muted: #4D5458;
  --rule: rgba(11, 28, 44, .14); --accent: #C4922F; --accent-text: #8A6316;
  --cta: #1D6FA3; --cta-hover: #0B1C2C; --link: #1D6FA3; --error: #B3261E; --node: #3C3F3E; --is-dark: 0;
  color-scheme: light;
}

/* Logo colourway follows the theme (Full Color - Dark Bg vs Light Bg) */
.on-light { display: none; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .on-dark { display: none; } :root:not([data-theme="dark"]) .on-light { display: block; } }
:root[data-theme="light"] .on-dark { display: none; }
:root[data-theme="light"] .on-light { display: block; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6; letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 0; background: var(--cta); color: var(--on-cta); padding: .6rem 1rem; z-index: 60; }
.skip:focus { left: 1rem; top: 1rem; }
.js .no-js-only { display: none !important; }
html:not(.js) .js-only { display: none !important; }

.wrap, .wrap-narrow {
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap { max-width: var(--wrap); }
.wrap-narrow { max-width: calc(var(--narrow) + 64px); }
@media (min-width: 700px) {
  .wrap, .wrap-narrow { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

/* ---------- Type ---------- */
.eyebrow { font-family: var(--f-display); font-weight: 600; font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin: 0; display: flex; gap: .7rem; align-items: baseline; flex-wrap: wrap; }
.eyebrow b { font-weight: 600; color: var(--accent-text); }
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -.008em; }
h2 { font-size: var(--step-3); }
h1 em, h2 em { font-style: normal; color: var(--accent); }
p { margin: 0; }
.serif { font-family: var(--f-serif); }
.muted { color: var(--muted); }
.slogan { font-family: var(--f-display); font-weight: 600; letter-spacing: .14em; color: var(--accent-text); font-size: var(--step--1); }

/* ---------- Nav (Mission Nexus-style bar: solid, pill links, mega panels) ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--bg); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; min-height: 82px; padding-block: 14px; }
.mark { display: block; line-height: 0; padding-block: 4px; flex: none; }
/* Wordmark with the signature line set beneath it as live text, spread to exactly the wordmark's width
   (justified on one line). Colours follow the brand lockup: warm stone on navy, graphite on light. */
.mark { display: inline-flex; flex-direction: column; gap: 6px; text-decoration: none; }
.mark img { height: 26px; width: auto; }
.mark-slogan { display: block; width: 100%; font-family: var(--f-display); font-weight: 600; font-size: 9.4px; line-height: 1;
  letter-spacing: .02em; white-space: nowrap; text-align: justify; text-align-last: justify; color: var(--slogan); }
:root { --slogan: #C8C5BF; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --slogan: #4D5458; } }
:root[data-theme="light"] { --slogan: #4D5458; }
.primary-nav ul { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0 8px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px; padding: 8px 11px; border-radius: 999px;
  font: 600 .875rem/1 var(--f-display); letter-spacing: .01em; text-decoration: none;
  color: color-mix(in srgb, var(--fg) 88%, transparent); background: transparent; border: 0; cursor: pointer;
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--accent); }
.nav-link[aria-current], .nav-link.is-current { color: var(--accent); }
.nav-link .chev { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-end { display: flex; align-items: center; gap: .5rem; flex: none; }
.icon-btn { width: 38px; height: 38px; border-radius: 999px; display: inline-grid; place-items: center; padding: 0; background: transparent; border: 0; color: var(--fg); cursor: pointer; transition: background .2s, color .2s; }
.icon-btn:hover { background: color-mix(in srgb, var(--fg) 9%, transparent); }
.theme-btn svg { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.theme-btn:hover svg { transform: rotate(-25deg); }
/* Smooth colour change when the theme is switched */
body, .nav, .mega, .card, .engagement, .section-tint, .cta-panel, .form-card { transition: background-color .35s, color .35s, border-color .35s; }
.nav .btn-subscribe { height: 38px; padding: 0 20px; font-size: .875rem; }
/* Motion switch: the pointer turns while motion is on */
.motion-btn { color: var(--accent); }
.motion-icon { animation: spin 8s linear infinite; }
.motion-btn[aria-checked="false"] { color: var(--muted); }
.motion-btn[aria-checked="false"] .motion-icon { animation: none; opacity: .6; }
@media (max-width: 1080px) { .primary-nav { display: none; } }
@media (min-width: 1081px) { .menu-icon { display: none; } }
@media (max-width: 520px) { .nav .btn-subscribe { display: none; } }

/* Mega panels */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--rule); opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .35s cubic-bezier(.2,.7,.2,1); }
.mega.open { opacity: 1; transform: none; }
.mega-inner { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: 4rem; padding-block: 40px 48px; }
.mega-intro { display: grid; gap: .9rem; align-content: start; }
.mega-title { font-family: var(--f-display); font-weight: 600; font-size: 2.6rem; line-height: 1; letter-spacing: -.04em; text-transform: uppercase; }
.mega-cap { font-family: var(--f-serif); color: var(--muted); line-height: 1.5; }
.mega-all { font-weight: 600; font-size: .875rem; color: var(--accent-text); text-decoration: none; display: inline-flex; gap: .4rem; }
.mega-all span { transition: transform .3s; }
.mega-all:hover span { transform: translateX(4px); }
.mega-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; align-content: start; }
.mega-link { display: flex; align-items: center; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--rule); font-weight: 600; font-size: 1rem; text-decoration: none; color: color-mix(in srgb, var(--fg) 86%, transparent); transition: color .2s; }
.mega-link::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--accent); clip-path: var(--pointer); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.mega-link:hover, .mega-link[aria-current] { color: var(--accent); }
.mega-link:hover::before { transform: rotate(45deg) scale(1.2); }
.js .mega.open .mega-link { animation: rise .5s cubic-bezier(.2,.7,.2,1) both; }
.mega.open .mega-link:nth-child(2) { animation-delay: .03s; } .mega.open .mega-link:nth-child(3) { animation-delay: .06s; }
.mega.open .mega-link:nth-child(4) { animation-delay: .09s; } .mega.open .mega-link:nth-child(5) { animation-delay: .12s; }
.mega.open .mega-link:nth-child(6) { animation-delay: .15s; } .mega.open .mega-link:nth-child(7) { animation-delay: .18s; }
.mega-scrim { position: fixed; inset: 0; z-index: 35; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.mega-scrim.open { opacity: 1; visibility: visible; }
@media (max-width: 1080px) { .mega, .mega-scrim { display: none; } }

/* Full menu panel */
.menu-panel { position: fixed; inset: 0; z-index: 50; background: var(--bg); overflow-y: auto; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.menu-panel.open { opacity: 1; visibility: visible; }
.menu-panel canvas { position: fixed; left: 0; right: 0; bottom: 0; width: 100%; height: 22vh; pointer-events: none; }
.menu-top { display: flex; justify-content: space-between; align-items: center; min-height: 82px; padding-block: 14px; border-bottom: 1px solid var(--rule); }
.menu-list { position: relative; padding-block: 1.5rem 30vh; max-width: 40rem; }
.menu-list > ul { list-style: none; margin: 0; padding: 0; }
.menu-list > ul > li { border-bottom: 1px solid var(--rule); }
.menu-link { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; text-decoration: none; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-weight: 600; font-size: 1.6rem; letter-spacing: -.02em; transition: color .2s; }
.menu-link::-webkit-details-marker { display: none; }
.menu-link:hover, .menu-link[aria-current] { color: var(--accent); }
.menu-link .chev { width: 22px; height: 22px; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.menu-group[open] > .menu-link { color: var(--accent); }
.menu-group[open] > .menu-link .chev { transform: rotate(180deg); }
.menu-group ul { list-style: none; margin: 0; padding: 0 0 1.1rem; display: grid; gap: .2rem; }
.menu-group ul a { display: flex; align-items: center; gap: .8rem; padding: .45rem 0; text-decoration: none; font-weight: 500; font-size: 1.1rem; color: color-mix(in srgb, var(--fg) 86%, transparent); }
.menu-group ul a::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--accent); clip-path: var(--pointer); }
.menu-group ul a:hover, .menu-group ul a[aria-current] { color: var(--accent); }
.menu-cta { padding-top: 1.8rem; }
.menu-cta a.btn { width: 100%; max-width: 22rem; }
.js .menu-panel.open .menu-list > ul > li, .js .menu-panel.open .menu-cta { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 40ms); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.4rem; border-radius: 999px;
  font: 600 .95rem/1.1 var(--f-display); letter-spacing: .01em; text-decoration: none; cursor: pointer; text-align: center;
  border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s, transform .25s cubic-bezier(.2,.7,.2,1);
}
.btn-solid, .btn-primary { background: var(--cta); color: var(--on-cta); }
.btn-solid:hover, .btn-primary:hover { background: var(--cta-hover); }
.btn-line, .btn-quiet { border-color: var(--rule); color: var(--fg); background: transparent; }
.btn-line:hover, .btn-quiet:hover { border-color: var(--accent); }
.btn-sm { padding: .5rem .9rem; font-size: .82rem; }
.btn .arrow { transition: transform .3s; }
.btn:hover .arrow { transform: translateX(4px); }
.nav .btn { padding: .65rem 1.1rem; font-size: .88rem; }
.actions, .cta-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.text-link, .link-arrow { font-family: var(--f-display); font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); text-decoration: none; display: inline-flex; gap: .5rem; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .3s; }
.link-arrow.external::after { content: "↗"; }
.text-link span { transition: transform .3s; }
.text-link:hover span, .link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Shared page head ---------- */
.page-head { position: relative; overflow: hidden; }
.page-head > .wrap, .page-head > .wrap-narrow { position: relative; padding-block: 4.5rem 3.5rem; display: grid; gap: 1.3rem; }
@media (min-width: 900px) { .page-head > .wrap, .page-head > .wrap-narrow { padding-block: 6rem 4.5rem; } }
.page-head-tight > .wrap { padding-block: 3.5rem 4rem; }
.page-head h1 { font-size: var(--step-h1); max-width: 18ch; }
.page-head .lead { font-family: var(--f-serif); font-size: var(--step-1); color: var(--muted); max-width: 60ch; line-height: 1.5; }
.page-head .lead-follow { font-size: 1.1rem; }
.page-head .actions { margin-top: .6rem; }
.featured-intro { color: var(--accent-text); font-weight: 500; }
.slogan-hero { margin-top: .4rem; }
.page-pattern { position: absolute; right: 0; bottom: 0; width: min(55%, 640px); height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, #000 30%, transparent); mask-image: linear-gradient(to left, #000 30%, transparent); }
.page-head .hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .page-head .hero-grid { grid-template-columns: 1.4fr 1fr; } }
.page-head .hero-grid > div { display: grid; gap: 1.3rem; min-width: 0; }

/* Portraits (inner pages) */
.hero-portrait, .portrait-figure { margin: 0; position: relative; justify-self: center; width: min(320px, calc(100vw - 96px)); max-width: 100%; aspect-ratio: 1; }
.portrait-figure { width: min(240px, calc(100vw - 96px)); }
/* Shared portrait ring: a dashed gold circle that turns slowly, carrying a north pointer around with it */
.ring { position: absolute; inset: -14px; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--accent) 70%, transparent); animation: spin 60s linear infinite; pointer-events: none; z-index: 1; }
.ring::after { content: ""; position: absolute; top: 50%; right: -9px; width: 16px; height: 16px; margin-top: -8px; background: var(--accent); clip-path: var(--pointer); transform: rotate(45deg); }
.portrait { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: var(--bg-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Sections ---------- */
.section, section.block { position: relative; overflow-x: clip; }
.section > .wrap, .section > .wrap-narrow { padding-block: 4.5rem; }
@media (min-width: 900px) { .section > .wrap, .section > .wrap-narrow { padding-block: 5.5rem; } }
.section-rule, section.block { border-top: 1px solid var(--rule); }
.section-tint { background: var(--bg-2); }
.section-compact > .wrap { padding-block: 1.6rem; }
.section-head { display: grid; gap: .9rem; margin-bottom: 2.5rem; max-width: 46rem; }
.section-head h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap; max-width: none; }
.section-lead { font-family: var(--f-serif); color: var(--muted); max-width: 62ch; font-size: 1.1rem; line-height: 1.55; }
.split { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.6fr; align-items: start; } .split > .section-head { margin-bottom: 0; } }
.prose-block { display: grid; gap: 1rem; color: var(--muted); max-width: 62ch; }
.prose-block .check-list { color: var(--fg); }

/* Long-form text */
.page-prose { padding-block: 3.5rem 5rem; }
.prose { font-family: var(--f-serif); font-size: 1.16rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--f-display); font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); margin-top: 2.4em; display: flex; gap: .8rem; align-items: baseline; scroll-margin-top: 6rem; }
.prose h2::before { content: ""; flex: none; width: .55em; height: .55em; background: var(--accent); clip-path: var(--pointer); transform: translateY(-.05em); }
.prose a { color: var(--link); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; display: grid; gap: .6em; }
.prose ol li::marker { font-family: var(--f-display); font-weight: 600; color: var(--accent-text); }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.6em; }
.prose ul li::before { content: ""; position: absolute; left: .1em; top: .55em; width: .6em; height: .6em; background: var(--accent); clip-path: var(--pointer); }
.prose-sans { font-family: var(--f-body); font-size: 1.05rem; }

/* Pointer bullets for check lists */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.check-list li { position: relative; padding-left: 1.5rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: .65rem; height: .65rem; background: var(--accent); clip-path: var(--pointer); }
.compact { font-size: .95rem; }

/* ---------- Cards ---------- */
.card-grid, .related-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.related-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card { position: relative; border: 1px solid var(--rule); border-radius: 18px; background: var(--bg); overflow: hidden; transition: border-color .3s, transform .4s cubic-bezier(.2,.7,.2,1); }
.section-tint .card { background: var(--bg-2); }
.card:hover { border-color: color-mix(in srgb, var(--accent) 60%, transparent); transform: translateY(-3px); }
.card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--cta) 14%, transparent), transparent 60%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.card:hover::after { opacity: 1; }
.card-link { display: grid; gap: .7rem; padding: 1.6rem; height: 100%; text-decoration: none; align-content: start; grid-template-rows: auto auto auto 1fr auto; }
.card-meta { font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.card-title { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.01em; transition: color .3s; }
.card:hover .card-title { color: var(--accent); }
.card-summary { font-family: var(--f-serif); color: var(--muted); font-size: 1rem; line-height: 1.55; }
.card-foot { font-size: .82rem; color: var(--muted); display: flex; justify-content: space-between; gap: 1rem; padding-top: .6rem; border-top: 1px solid var(--rule); margin-top: .4rem; }
.card-foot::after { content: "→"; color: var(--accent-text); transition: transform .3s; }
.card:hover .card-foot::after { transform: translateX(4px); }
.card-principle .card-link { grid-template-rows: auto auto auto auto 1fr auto; }
/* A single card (e.g. Enterprise's one principle) spans the row instead of leaving half of it empty */
.card-grid > .card:only-child { grid-column: 1 / -1; }
.card-grid > .card:only-child .card-link { max-width: 46rem; }
/* Compact principle results in Insights read like essay results; the big numbered cards stay in the Library */
.card-compact .card-meta { color: var(--accent-text); }
.featured-grid .card { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.chips-secondary { margin-top: -.4rem; }
.chips-secondary .chip { font-size: .85rem; padding: .4rem .8rem; }
.card-number { font-family: var(--f-display); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--accent); display: flex; justify-content: space-between; align-items: flex-start; }
.card-number::after { content: ""; width: 18px; height: 18px; background: var(--accent); clip-path: var(--pointer); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card-principle:hover .card-number::after { transform: rotate(45deg); }

/* ---------- Engagements, formats, services, talks ---------- */
.engagement-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.engagement { border: 1px solid var(--rule); border-radius: 18px; padding: 1.7rem; display: grid; gap: .9rem; align-content: start; background: var(--bg); scroll-margin-top: 6rem; transition: border-color .3s; }
.section-tint .engagement { background: var(--bg); }
.engagement:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.engagement-org { font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.engagement-title { font-size: 1.3rem; line-height: 1.2; }
.engagement-body { display: grid; gap: .8rem; color: var(--muted); font-family: var(--f-serif); font-size: 1rem; line-height: 1.6; }
.principle-note { margin-top: .4rem; padding: 1rem 1.1rem; border-radius: 12px; background: var(--bg-2); border-left: 3px solid var(--accent); display: grid; gap: .3rem; }
.section-tint .principle-note { background: var(--bg-3); }
.principle-note-label { font-weight: 600; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.principle-note p:last-child { font-family: var(--f-serif); font-size: 1rem; line-height: 1.5; }

.format-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.format { border-top: 1.5px solid var(--accent); padding-top: 1.1rem; display: grid; gap: .5rem; align-content: start; }
.format h3 { font-size: 1.15rem; }
.format p { color: var(--muted); font-size: .95rem; }

.services { display: grid; }
.service { border-top: 1px solid var(--rule); padding-block: 2.2rem; display: grid; gap: 1.4rem; scroll-margin-top: 6rem; position: relative; }
.service::before { content: ""; position: absolute; left: 0; top: -1px; height: 1.5px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.service:hover::before { transform: scaleX(1); }
.service h3 { font-size: var(--step-2); }
.service-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .service-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.service-grid > div { display: grid; gap: .6rem; align-content: start; }
.service-grid > div > p:not(.service-label):not(.service-note) { color: var(--muted); }
.service-label { font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.service-situation { font-family: var(--f-serif); font-size: 1.1rem; line-height: 1.5; color: var(--fg) !important; }
.service-note { font-size: .85rem; color: var(--muted); font-style: italic; font-family: var(--f-serif); }
@media (min-width: 900px) { .service-grid-2 { grid-template-columns: 1.4fr 1fr; } }
.service-grid-2 > div:first-child p { font-family: var(--f-serif); font-size: 1.1rem; line-height: 1.55; color: var(--fg) !important; }
.services-more { margin-top: 2rem; }
.illustrative { font-style: italic; color: var(--muted); font-size: 1rem; }
.qualifications { font-family: var(--f-serif); font-size: 1.15rem; gap: .8rem; }
.theme-list { gap: 0; border-top: 1px solid var(--rule); }
.theme-list li { border-bottom: 1px solid var(--rule); }
.theme-list a { display: block; padding: .9rem 0; text-decoration: none; color: var(--fg); font-weight: 500; }
.theme-list a::after { content: " →"; color: var(--accent-text); }
.theme-list a:hover { color: var(--accent); }

.talk { border-top: 1px solid var(--rule); padding-block: 2.2rem; display: grid; gap: 1.5rem; scroll-margin-top: 6rem; }
@media (min-width: 900px) { .talk { grid-template-columns: 1.3fr 1fr; gap: 3.5rem; } }
.talk-intro { display: grid; gap: .8rem; align-content: start; }
.talk-intro h3 { font-size: var(--step-2); }
.talk-intro > p:not(.talk-num) { font-family: var(--f-serif); color: var(--muted); font-size: 1.08rem; line-height: 1.6; }
.talk-num { font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.talk-detail { display: grid; gap: .6rem; align-content: start; padding: 1.4rem; border-radius: 16px; background: var(--bg-2); }
.talk-detail h4 { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: .4rem; }
.talk-detail h4:first-child { margin-top: 0; }
.talk-detail ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.talk-detail li { position: relative; padding-left: 1.4rem; font-size: .95rem; }
.talk-detail li::before { content: ""; position: absolute; left: 0; top: .45em; width: .6rem; height: .6rem; background: var(--accent); clip-path: var(--pointer); }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary { list-style: none; cursor: pointer; padding-block: 1.3rem; font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 14px; height: 14px; background: var(--accent); clip-path: var(--pointer); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.faq-item[open] summary::after { transform: rotate(90deg); }
.faq-item p { padding-bottom: 1.3rem; color: var(--muted); font-family: var(--f-serif); font-size: 1.05rem; max-width: 62ch; }

/* CTA panel */
.cta-panel { position: relative; overflow: hidden; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--rule); padding: 2.2rem; display: grid; gap: 1.6rem; align-items: center; }
@media (min-width: 900px) { .cta-panel { grid-template-columns: 1.5fr auto; padding: 3rem; gap: 3rem; } }
.cta-panel > div:first-child { display: grid; gap: .8rem; }
.cta-panel h2 { font-size: var(--step-2); }
.cta-panel p { font-family: var(--f-serif); font-size: 1.2rem; line-height: 1.5; max-width: 56ch; }
.cta-panel::before { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; background: var(--accent); opacity: .08; clip-path: var(--pointer); transform: rotate(-12deg); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.cta-panel:hover::before { transform: rotate(33deg); }
.cta-actions { position: relative; }

/* Credentials, link lists, pathways */
.credentials { display: grid; gap: 1.4rem; margin: 0; }
.credentials > div { display: grid; gap: .3rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--rule); }
.credentials dt { font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.credentials dd { margin: 0; font-family: var(--f-serif); font-size: 1.12rem; line-height: 1.5; }
.link-list, .pathways { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.link-list a, .pathways a { color: var(--link); font-weight: 500; text-underline-offset: 3px; }
.pathways > li { display: grid; gap: .6rem; padding: 1.4rem; border-radius: 16px; background: var(--bg-2); }
.pathways h3 { font-size: 1.15rem; }
.pathways ul { list-style: none; padding: 0; margin: 0; }

/* About: journey strip */
.stage-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.stage-strip::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--rule); }
.stage-strip::after { content: ""; position: absolute; left: 0; top: 6px; height: 1px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 1)); }
.stage-strip li { position: relative; }
.stage-strip li::before { content: ""; position: absolute; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 1px solid var(--accent); z-index: 1; }
.stage-strip a { display: block; padding-top: 1.4rem; text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .2s; }
.stage-strip a:hover { color: var(--accent); }
.stage-num { display: block; font-weight: 600; font-size: .75rem; color: var(--accent-text); letter-spacing: .08em; }

/* Media: biographies */
.bio-stack { display: grid; gap: 1.2rem; }
.bio-block { border: 1px solid var(--rule); border-radius: 16px; padding: 1.4rem; display: grid; gap: .9rem; background: var(--bg); }
.section-tint .bio-block { background: var(--bg-2); }
.bio-head { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.bio-head h3 { font-size: 1.1rem; margin-right: auto; }
.bio-head .muted { font-size: .8rem; }
.bio-text { display: grid; gap: .8rem; font-family: var(--f-serif); font-size: 1.05rem; line-height: 1.6; color: var(--muted); }
.bio-block + .actions { margin-top: 1.4rem; }
.portrait-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 760px) { .portrait-grid { grid-template-columns: auto 1fr; gap: 4rem; } }
.portrait-grid > div { display: grid; gap: 1rem; justify-items: start; max-width: 56ch; }
.portrait-grid h2 { font-size: var(--step-2); }

/* ---------- Library (insights and principles) ---------- */
.library > .wrap { padding-block: 1rem 5rem; display: grid; gap: 1.4rem; }
.library-tools { display: grid; gap: .5rem; }
.search-label { font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.search-box { position: relative; }
.search-box input { width: 100%; padding: 1rem 1.2rem 1rem 3rem; border-radius: 999px; border: 1px solid var(--rule); background: var(--bg-2); color: var(--fg); font: inherit; font-size: 1.05rem; }
.search-box input:focus { outline: none; border-color: var(--cta); }
.search-box::before { content: ""; position: absolute; left: 1.2rem; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: var(--accent); clip-path: var(--pointer); transition: transform .4s; }
.search-box:focus-within::before { transform: rotate(45deg); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--rule); text-decoration: none; font-size: .9rem; font-weight: 500; transition: border-color .25s, background .25s, color .25s; }
.chip:hover { border-color: var(--accent); }
.chip[aria-current] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip-count { font-size: .75rem; color: var(--muted); }
.chip[aria-current] .chip-count { color: inherit; opacity: .7; }
.result-count, .end-of-list { color: var(--muted); font-size: .9rem; }
.end-of-list { text-align: center; padding-top: 1.5rem; display: flex; justify-content: center; gap: .6rem; align-items: center; }
.end-of-list::before { content: ""; width: 10px; height: 10px; background: var(--accent); clip-path: var(--pointer); }
.empty-state { padding: 2rem; border-radius: 16px; background: var(--bg-2); text-align: center; color: var(--muted); }
.empty-state a { color: var(--link); }
.card.filtered-out { display: none; }

/* ---------- Articles ---------- */
.article-head { padding-block: 3.5rem 2rem; display: grid; gap: 1.1rem; }
.breadcrumb { display: flex; gap: .6rem; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--fg); }
.article-title { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); }
.dek { font-family: var(--f-serif); font-size: var(--step-1); color: var(--muted); line-height: 1.5; }
.article-meta { font-size: .88rem; color: var(--muted); }
.article-meta a { color: var(--fg); }
.article .prose { padding-bottom: 2rem; }
.reading-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); z-index: 40; }
.disclosure { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-radius: 14px; background: var(--bg-2); font-size: .95rem; margin-bottom: 2rem; }
.disclosure-mark { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent-text); display: grid; place-items: center; font-family: var(--f-serif); font-style: italic; }
.disclosure a { color: var(--link); }
.article-end { padding-block: 1rem 5rem; display: grid; gap: 2.5rem; }
.takeaway { position: relative; overflow: hidden; padding: 2rem; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--rule); display: grid; gap: .9rem; }
.takeaway::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; background: var(--accent); opacity: .1; clip-path: var(--pointer); }
.takeaway-label, .end-label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); font-weight: 600; }
.takeaway-question { position: relative; font-family: var(--f-serif); font-weight: 500; font-size: clamp(1.35rem, 1.15rem + .9vw, 1.8rem); line-height: 1.35; }
.tag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list li { border: 1px solid var(--rule); border-radius: 999px; padding: .35rem .8rem; font-size: .82rem; color: var(--muted); }
.tag-list a { text-decoration: none; }
.tag-list li:has(a):hover { border-color: var(--accent); }
.related, .next-route { display: grid; gap: 1rem; }
.route-card { display: grid; gap: .4rem; padding: 1.6rem 4rem 1.6rem 1.6rem; border-radius: 18px; border: 1px solid var(--rule); text-decoration: none; position: relative; transition: border-color .3s, background .3s; }
.route-card:hover { border-color: var(--accent); background: var(--bg-2); }
.route-kind { font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.route-title { font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.01em; }
.route-text { font-family: var(--f-serif); color: var(--muted); }
.route-arrow { position: absolute; right: 1.6rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--accent-text); transition: transform .3s; }
.route-card:hover .route-arrow { transform: translate(6px, -50%); }

/* ---------- Principle detail ---------- */
.principle-detail .article-head { padding-bottom: 1rem; }
.statement { margin: 1rem 0 0; position: relative; }
.statement blockquote { margin: 0; }
.statement-text { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem); line-height: 1.05; }
.statement figcaption { margin-top: 1.2rem; color: var(--muted); font-family: var(--f-serif); font-style: italic; display: flex; gap: .6rem; align-items: center; }
.statement figcaption::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.share-row { display: flex; align-items: center; gap: .8rem; }
.copy-confirm { font-size: .85rem; color: var(--accent-text); }
.principle-body { padding-block: 1.5rem 5rem; display: grid; gap: 2rem; }
.principle-body > section:not(.takeaway):not(.related) { display: grid; gap: .6rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.principle-body > section:not(.takeaway):not(.related) h2 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.principle-body > section:not(.takeaway):not(.related) p { font-family: var(--f-serif); font-size: 1.2rem; line-height: 1.6; }
.principle-theme { color: var(--muted); }
.principle-theme a { color: var(--link); }
.pager { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.pager a { display: grid; gap: .3rem; text-decoration: none; padding: 1.2rem; border-radius: 14px; border: 1px solid var(--rule); font-family: var(--f-display); font-weight: 600; line-height: 1.25; transition: border-color .3s; }
.pager a:hover { border-color: var(--accent); }
.pager a span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.pager-next { grid-column: 2; text-align: right; }
@media (max-width: 600px) { .pager { grid-template-columns: 1fr; } .pager-next { grid-column: 1; } }

/* ---------- Ventures ---------- */
.venture-profiles { display: grid; gap: 0; }
.venture-profile { padding-block: 3rem; display: grid; gap: 2rem; scroll-margin-top: 6rem; }
.venture-profile + .venture-profile { border-top: 1px solid var(--rule); }
.venture-profile-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; }
.venture-profile-head > div:first-child { display: grid; gap: .5rem; }
.venture-profile-head h2 { font-size: var(--step-3); }
.venture-intro { font-family: var(--f-serif); font-size: var(--step-1); color: var(--muted); }
.venture-status { display: grid; gap: .4rem; justify-items: end; }
.stage { display: inline-block; font-weight: 600; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); padding: .4rem .8rem; border-radius: 999px; }
.status-date { font-size: .8rem; color: var(--muted); }
.venture-profile-body { display: grid; gap: 2rem; }
@media (min-width: 900px) { .venture-profile-body { grid-template-columns: 1.6fr 1fr; gap: 3.5rem; align-items: start; } }
.venture-profile-body .prose-block { font-family: var(--f-serif); font-size: 1.08rem; line-height: 1.65; }
.venture-profile-body .prose-block h3 { font-family: var(--f-display); color: var(--fg); font-size: 1.25rem; margin-top: 1rem; }
.venture-role { color: var(--fg); font-weight: 500; }
.venture-aside { display: grid; gap: 1.5rem; padding: 1.6rem; border-radius: 18px; background: var(--bg-2); position: sticky; top: 6rem; }
.venture-facts { margin: 0; display: grid; gap: 1rem; }
.venture-facts dt { font-weight: 600; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.venture-facts dd { margin: .2rem 0 0; }
.venture-facts a { color: var(--link); }
.capabilities { display: grid; gap: .7rem; }
.capabilities h3 { font-size: 1rem; }
.venture-links { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; }

/* ---------- Forms ---------- */
.form-layout { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 980px) { .form-layout { grid-template-columns: 1fr 1.35fr; gap: 4rem; } .enquiry-aside { position: sticky; top: 7rem; } }
.enquiry-aside { display: grid; gap: 1.3rem; }
.enquiry-aside h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem); }
.aside-block { padding-left: 1rem; border-left: 2px solid var(--accent); color: var(--muted); font-family: var(--f-serif); }
.aside-block a { color: var(--link); }
.form-card, .subscribe-card { border-radius: 22px; background: var(--bg-2); border: 1px solid var(--rule); padding: 1.6rem; }
@media (min-width: 700px) { .form-card { padding: 2.4rem; } }
.form-card form, .subscribe-form { display: grid; gap: 1.4rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; margin-bottom: .9rem; padding: 0; display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; }
.type-options { display: grid; gap: .6rem; }
@media (min-width: 600px) { .type-options { grid-template-columns: 1fr 1fr; } }
.type-option { position: relative; display: grid; gap: .2rem; padding: 1rem 1rem 1rem 2.8rem; border-radius: 14px; border: 1px solid var(--rule); background: var(--bg); cursor: pointer; transition: border-color .2s, background .2s; }
.type-option:hover { border-color: color-mix(in srgb, var(--cta) 60%, transparent); }
.type-option input { position: absolute; left: 1rem; top: 1.15rem; accent-color: var(--cta); width: 16px; height: 16px; margin: 0; }
.type-option:has(input:checked) { border-color: var(--cta); background: color-mix(in srgb, var(--cta) 12%, var(--bg)); }
.type-name { font-weight: 600; }
.type-blurb { font-size: .86rem; color: var(--muted); line-height: 1.4; }
.type-group { padding: 1.2rem; border-radius: 16px; border: 1px dashed var(--rule); }
.js .type-group { border-style: solid; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field-row, .field-grid { display: grid; gap: 1.2rem; }
@media (min-width: 640px) { .field-row, .field-grid { grid-template-columns: 1fr 1fr; } }
.field label, .subscribe-form > label { font-weight: 500; font-size: .95rem; }
.optional { font-size: .8rem; color: var(--muted); font-weight: 400; }
.hint { font-size: .85rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="date"], input[type="search"], select, textarea {
  width: 100%; padding: .8rem 1rem; border-radius: 10px; border: 1px solid var(--rule); background: var(--bg); color: var(--fg); font: inherit; font-size: 1rem;
}
textarea { resize: vertical; min-height: 9rem; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cta); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cta) 25%, transparent); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.error { color: var(--error); font-size: .85rem; min-height: 0; }
.error:empty { display: none; }
.form-alert { padding: 1rem 1.2rem; border-radius: 12px; border: 1px solid var(--error); color: var(--error); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form-note, .form-status { font-size: .88rem; color: var(--muted); }
.form-section { display: grid; gap: 1.2rem; }
.form-section legend { margin-bottom: .2rem; }
.form-privacy, .form-reassure { font-size: .85rem; color: var(--muted); line-height: 1.5; }
.form-privacy a, .form-reassure a { color: var(--link); }
.form-desc { font-family: var(--f-serif); color: var(--muted); font-size: .98rem; line-height: 1.5; }
.btn[disabled] { opacity: .65; cursor: progress; }
.footer-descriptor { color: var(--fg) !important; font-weight: 500; }
.form-note.ok, .form-status.ok { color: var(--accent-text); }
.inline-fields { display: flex; flex-wrap: wrap; gap: .7rem; }
.inline-fields input { flex: 1 1 220px; }
.page-head .split { align-items: center; }
@media (min-width: 900px) { .page-head .split { grid-template-columns: 1.2fr 1fr; } }
.page-head .split > div:first-child { display: grid; gap: 1.2rem; }

/* ---------- Footer ---------- */
footer.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--rule); }
.footer-grid { display: grid; gap: 2.5rem; padding-block: 3.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.footer-brand { display: grid; gap: 1rem; align-content: start; grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); } .footer-brand { grid-column: auto; } }
.footer-brand img { width: 44px; height: 44px; }
.footer-brand p { color: var(--muted); font-size: .9rem; max-width: 30ch; }
.footer-grid h2 { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: .8rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .92rem; }
.footer-grid a { text-decoration: none; color: var(--muted); transition: color .2s; }
.footer-grid a:hover { color: var(--fg); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; padding-block: 1.4rem 2.2rem; border-top: 1px solid var(--rule); font-size: .82rem; color: var(--muted); }
.footer-base a { color: var(--muted); }

/* ---------- Motion helpers ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(.45em); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.js .page-head h1, .js .article-head h1, .js .statement-text { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: .1s; }
.js .page-head .lead, .js .dek { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: .3s; }
.js .reveal.pending { opacity: .08; transform: translateY(28px); }
.js .reveal { transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1), border-color .3s; transition-delay: var(--d, 0s); }
.halo { position: fixed; left: 0; top: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, color-mix(in srgb, var(--cta) 10%, transparent) 0%, transparent 65%); opacity: 0; transition: opacity .5s; }
main { position: relative; z-index: 1; }

/* =========================================================
   Homepage sections
   ========================================================= */
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-block: 3.5rem 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: .85fr 1.15fr; gap: 1rem; padding-block: 4rem 3rem; } }
.hero-copy { display: grid; gap: 1.5rem; min-width: 0; }
.hero h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.2rem); }
.hero h1 .w { display: inline-block; }
.hero .lede { font-family: var(--f-serif); font-size: var(--step-1); color: var(--muted); max-width: 36ch; line-height: 1.5; }
.graph-box { position: relative; aspect-ratio: 1 / .9; max-width: 100%; min-width: 0; }
@media (min-width: 900px) { .graph-box { margin-right: -2rem; } }
.graph-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.graph-caption { position: absolute; left: 0; bottom: 0; font-size: .78rem; color: var(--muted); display: flex; gap: .6rem; align-items: center; }
.graph-caption i { flex: none; width: 10px; height: 10px; background: var(--accent); clip-path: var(--pointer); }
.js .hero h1 .w { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 70ms + 150ms); }
.js .hero .fade-in { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, .7s); }

.ticker { border-block: 1px solid var(--rule); overflow: hidden; padding-block: 1.1rem; }
.ticker-track { display: flex; width: max-content; gap: 3rem; animation: slide 80s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { font-family: var(--f-serif); font-style: italic; font-size: 1.3rem; white-space: nowrap; color: var(--muted); display: inline-flex; align-items: center; gap: 3rem; }
.ticker span::after { content: ""; width: 9px; height: 9px; background: var(--accent); clip-path: var(--pointer); }
@keyframes slide { to { transform: translateX(-50%); } }

section.block > .wrap { padding-block: 5rem; }
@media (min-width: 900px) { section.block > .wrap { padding-block: 6.5rem; } }
.head { display: grid; gap: 1rem; margin-bottom: 3rem; max-width: 46rem; }
.head > p:not(.eyebrow) { color: var(--muted); max-width: 62ch; }

.story { display: grid; gap: 3rem; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1.3fr; gap: 5rem; align-items: start; } }
.portrait-home { position: relative; width: min(340px, calc(100vw - 80px)); max-width: 100%; aspect-ratio: 1; margin-inline: auto; }
.portrait-home .photo { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: var(--bg-2); display: grid; place-items: center; font-family: var(--f-display); font-size: 5rem; color: var(--accent); }
.portrait-home img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-copy { display: grid; gap: 1.4rem; min-width: 0; }
.story-copy > p { color: var(--muted); max-width: 62ch; }
.story-copy .big { font-family: var(--f-serif); font-size: var(--step-1); line-height: 1.45; color: var(--fg); }
.path { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.path::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--rule); }
.path::after { content: ""; position: absolute; left: 0; top: 6px; height: 1px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 1)); }
.path li { position: relative; padding-top: 1.4rem; font-size: .92rem; font-weight: 500; }
.path li::before { content: ""; position: absolute; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 1px solid var(--accent); z-index: 1; }
.path li b { display: block; font-weight: 600; font-size: .75rem; color: var(--accent-text); letter-spacing: .08em; }

@media (min-width: 900px) { .props-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; } .props-layout .side { position: sticky; top: 7rem; align-self: start; } }
.side { display: grid; gap: 2.5rem; }
.side .head { margin-bottom: 0; }
.props { display: grid; grid-template-columns: 2.25rem 1fr; gap: 0 1.5rem; position: relative; }
.spine { grid-row: 1 / span 20; position: relative; }
.spine svg { position: absolute; left: 50%; top: .4rem; transform: translateX(-50%); width: 4px; height: calc(100% - .8rem); overflow: visible; }
.spine line { stroke: var(--accent); stroke-width: 2; }
.spine .track { stroke: var(--rule); }
.prop { grid-column: 2; display: grid; grid-template-columns: 3.6rem 1fr; gap: .4rem 1rem; padding-block: 1.3rem; border-bottom: 1px solid var(--rule); }
.prop .n { font-family: var(--f-display); font-weight: 600; font-size: .95rem; color: var(--accent-text); padding-top: .2rem; font-variant-numeric: tabular-nums; }
.prop .tag { grid-column: 2; font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.prop p.claim { grid-column: 2; font-family: var(--f-serif); font-weight: 500; font-size: 1.45rem; line-height: 1.3; }
.prop p.claim a { text-decoration: none; }
.prop p.claim a:hover { color: var(--accent); }
.prop.sub { padding-left: 1.5rem; }
.prop.sub p { font-size: 1rem; color: var(--muted); line-height: 1.6; }

.library-stage { perspective: 1200px; display: none; }
@media (min-width: 900px) { .library-stage { display: block; } }
.library-cover {
  width: 240px; aspect-ratio: 2 / 3; border-radius: 4px 10px 10px 4px; position: relative; overflow: hidden; text-decoration: none;
  background: #0B1C2C;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5), inset 6px 0 0 rgba(255,255,255,.06), inset 8px 0 14px rgba(0,0,0,.35);
  transform: rotateY(-14deg) rotateX(4deg); transition: transform .5s cubic-bezier(.2,.7,.2,1);
  padding: 1.4rem 1.2rem 1.2rem 1.6rem; display: flex; flex-direction: column; gap: 1rem; color: #F4F3F0;
}
.library-cover canvas { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 45%; }
.library-cover img { position: relative; width: 44px; height: 44px; }
.library-cover .t { position: relative; font-family: "Clash Display", system-ui, sans-serif; font-weight: 600; font-size: 1.7rem; line-height: 1.02; letter-spacing: -.02em; margin: 0; }
.library-cover .t em { font-style: normal; color: #D8A94F; }
.library-cover .a { position: relative; font-family: "Sentient", Georgia, serif; font-size: .82rem; color: #C8C5BF; margin: 0; }

.areas { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; }
@media (min-width: 760px) { .areas { grid-template-columns: 1fr 1fr; } }
.area { background: var(--bg); padding: 2rem; display: grid; gap: .9rem; align-content: start; text-decoration: none; position: relative; min-width: 0; }
.area::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--cta) 14%, transparent), transparent 60%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.area:hover::after { opacity: 1; }
.area h3 { font-size: var(--step-2); transition: color .3s; }
.area:hover h3 { color: var(--accent); }
.area > p:not(.eyebrow) { color: var(--muted); max-width: 46ch; }
.area .text-link { margin-top: .4rem; }

.method { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 900px) { .method { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem; } }
.method li { border-top: 1.5px solid var(--accent); padding-top: 1.1rem; display: grid; gap: .5rem; align-content: start; min-width: 0; }
.method li::before { counter-increment: step; content: "0" counter(step); font-weight: 600; font-size: .85rem; color: var(--accent-text); }
.method b { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; line-height: 1.25; }
.method span { color: var(--muted); font-size: .93rem; line-height: 1.5; }

.exp { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .exp { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; } }
.exp p { color: var(--muted); max-width: 60ch; }
.exp p + p { margin-top: 1rem; }
.chips-static { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0 0 1.6rem; padding: 0; }
.chips-static li { border: 1px solid var(--rule); border-radius: 999px; padding: .5rem 1rem; font-size: .92rem; font-weight: 500; transition: border-color .3s, color .3s, transform .3s; }
.chips-static li:hover { border-color: var(--accent); color: var(--accent-text); transform: translateY(-2px); }

.ventures-list { border-top: 1px solid var(--rule); }
.venture { display: grid; grid-template-columns: 1fr; gap: .6rem 2rem; padding-block: 2rem; border-bottom: 1px solid var(--rule); position: relative; }
@media (min-width: 820px) { .venture { grid-template-columns: 11rem 1fr 13rem; align-items: baseline; } }
.venture .yrs { font-size: .85rem; color: var(--muted); font-weight: 500; }
.venture h3 { font-size: var(--step-2); display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.venture h3 small { font-weight: 600; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); padding: .3rem .6rem; border-radius: 999px; }
.venture p { color: var(--muted); margin-top: .5rem; max-width: 58ch; }
.venture::before { content: ""; position: absolute; left: 0; top: -1px; height: 1.5px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.venture:hover::before { transform: scaleX(1); }

.essays { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.essays a { display: grid; grid-template-columns: 1fr auto; gap: .4rem 2rem; padding-block: 1.6rem; border-bottom: 1px solid var(--rule); text-decoration: none; }
@media (min-width: 760px) { .essays a { grid-template-columns: 13rem 1fr auto; align-items: baseline; } }
.essays .date { font-weight: 600; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); grid-column: 1 / -1; }
@media (min-width: 760px) { .essays .date { grid-column: auto; } }
.essays .body { display: grid; gap: .35rem; min-width: 0; }
.essays .title { font-family: var(--f-display); font-weight: 600; letter-spacing: -.01em; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); line-height: 1.2; transition: transform .45s cubic-bezier(.2,.7,.2,1), color .3s; }
.essays .sum { font-family: var(--f-serif); color: var(--muted); font-size: 1rem; max-width: 62ch; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.essays .meta { font-size: .8rem; color: var(--muted); display: flex; gap: .8rem; align-items: center; white-space: nowrap; }
.essays .go { color: var(--accent-text); transition: transform .35s; display: inline-block; }
.essays a:hover .title { transform: translateX(10px); color: var(--accent); }
.essays a:hover .sum { transform: translateX(10px); }
.essays a:hover .go { transform: translate(4px, -4px); }
.more { margin-top: 2rem; }

.letters { position: relative; overflow: hidden; border-top: 1px solid var(--rule); }
.letters canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.letters .wrap { position: relative; display: grid; gap: 2.5rem; padding-block: 6rem 10rem; }
@media (min-width: 900px) { .letters .wrap { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 4rem; } }
.letters .head { margin: 0; }
.letters .head > * { position: relative; }
.card-form { background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--rule); border-radius: 18px; padding: 1.6rem; display: grid; gap: .9rem; min-width: 0; }
.card-form h3 { font-size: 1.5rem; }
.card-form label { font-size: .85rem; color: var(--muted); }
.card-form input { background: var(--bg-2); }
.card-form .btn { justify-content: center; }

/* =========================================================
   Drawn line icons and illustrated sections (homepage, About, Human Systems)
   ========================================================= */
.ico { width: 28px; height: 28px; flex: none; display: block; color: var(--accent); }

/* Hero: portrait beside the headline */
@media (min-width: 900px) { .hero-portrait-layout .wrap { grid-template-columns: 1.25fr .75fr; gap: 4rem; padding-block: 5rem 4.5rem; } }
.hero-portrait-layout .portrait-home { width: min(360px, calc(100vw - 96px)); }
/* the turning ring's rotated box can poke past a narrow screen; clip it at the section edge */
.hero-portrait-layout, .about-open { overflow-x: clip; }

/* Illustrated strip: four stages joined by one line */
.strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 1rem; position: relative; }
@media (min-width: 760px) { .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .strip::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 36px; border-top: 1.5px dashed color-mix(in srgb, var(--accent) 55%, transparent); } }
.strip li { display: grid; justify-items: center; gap: .9rem; text-align: center; position: relative; }
.strip-ico { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--rule); position: relative; transition: transform .4s cubic-bezier(.2,.7,.2,1), border-color .3s; }
.strip-ico .ico { width: 34px; height: 34px; }
.strip li:hover .strip-ico { transform: translateY(-4px); border-color: var(--accent); }
.strip-label { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; }

/* Three principle cards with a symbol */
.p-cards { display: grid; gap: 1rem; }
@media (min-width: 820px) { .p-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; } }
.p-card { display: grid; gap: 1rem; align-content: start; padding: 1.8rem; border: 1px solid var(--rule); border-radius: 18px; background: var(--bg-2); text-decoration: none; min-width: 0; transition: transform .4s cubic-bezier(.2,.7,.2,1), border-color .3s; }
.p-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.p-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.p-label { font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.p-stmt { font-family: var(--f-serif); font-size: 1.35rem; line-height: 1.32; color: var(--fg); }

/* Four illustrated thinking tiles */
.tiles { display: grid; gap: 1rem; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { position: relative; display: grid; gap: .8rem; align-content: start; padding: 1.6rem 1.6rem 3.4rem; border: 1px solid var(--rule); border-radius: 18px; text-decoration: none; min-width: 0; overflow: hidden; transition: border-color .3s, background-color .3s; }
.tile:hover { border-color: var(--accent); background: var(--bg-2); }
.tile-ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); margin-bottom: .4rem; }
.tile-ico .ico { width: 32px; height: 32px; }
.tile h3 { font-size: 1.2rem; line-height: 1.25; }
.tile p { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.tile-go { position: absolute; left: 1.6rem; bottom: 1.3rem; color: var(--accent-text); transition: transform .35s; }
.tile:hover .tile-go { transform: translateX(6px); }

/* Five-stage approach with a return from Review to Observe */
.approach-wrap { position: relative; }
.approach { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; position: relative; }
.approach li { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 1rem; align-items: center; position: relative; min-width: 0; }
.approach li b { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; align-self: end; }
.approach li > span:last-child { grid-column: 2; color: var(--muted); font-size: .95rem; align-self: start; }
.ap-node { grid-row: 1 / 3; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1.5px solid var(--accent); position: relative; z-index: 1; }
.ap-node .ico { width: 26px; height: 26px; }
.approach::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; border-left: 1.5px solid var(--accent); }
.approach-loop { margin-top: 1.6rem; display: flex; gap: .8rem; align-items: center; color: var(--muted); font-size: .9rem; font-family: var(--f-serif); font-style: italic; }
.approach-loop::before { content: "↺"; font-style: normal; font-size: 1.4rem; color: var(--accent); line-height: 1; }
@media (min-width: 900px) {
  .approach { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
  .approach li { grid-template-columns: 1fr; grid-template-rows: auto; justify-items: center; align-items: start; align-content: start; text-align: center; gap: .5rem; }
  .approach li b { align-self: start; }
  .approach li > span:last-child { grid-column: auto; }
  .ap-node { grid-row: auto; width: 76px; height: 76px; margin-bottom: .6rem; }
  .ap-node .ico { width: 32px; height: 32px; }
  .approach::before { left: 10%; right: 10%; top: 38px; bottom: auto; border-left: 0; border-top: 1.5px solid var(--accent); }
  /* the return arc, drawn under the row from the last node back to the first */
  .approach-loop { margin: 0; padding-top: 3.2rem; justify-content: center; position: relative; }
  .approach-loop::after { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 2.4rem; border: 1.5px dashed color-mix(in srgb, var(--accent) 60%, transparent); border-top: 0; border-radius: 0 0 28px 28px; }
}

/* Sector grid */
.sectors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; }
.sectors li { background: var(--bg); padding: 1.5rem 1.3rem; display: grid; gap: .9rem; align-content: start; font-weight: 500; line-height: 1.35; }

/* Venture cards with a drawn platform preview */
.v-cards { display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .v-cards { grid-template-columns: 1.25fr 1fr; align-items: stretch; } }
.v-card { border: 1px solid var(--rule); border-radius: 18px; padding: 1.8rem; display: grid; gap: 1rem; align-content: start; min-width: 0; background: var(--bg-2); }
.v-top { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: baseline; justify-content: space-between; }
.v-top h3 { font-size: var(--step-2); line-height: 1.2; }
.v-status { font-weight: 600; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); padding: .3rem .65rem; border-radius: 999px; white-space: nowrap; }
.v-card > p { color: var(--muted); max-width: 52ch; }
.v-caps-label { color: var(--fg) !important; font-weight: 600; font-size: .85rem; margin-top: .4rem; }
.v-caps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.v-caps li { border: 1px solid var(--rule); border-radius: 999px; padding: .45rem .95rem; font-size: .9rem; font-weight: 500; background: var(--bg); }
.ui-preview { margin: .4rem 0 0; display: grid; gap: .6rem; }
.ui-preview figcaption { font-size: .78rem; color: var(--muted); }
.ui-window { border: 1px solid var(--rule); border-radius: 12px; background: var(--bg); overflow: hidden; }
.ui-bar { display: flex; gap: 5px; padding: .55rem .7rem; border-bottom: 1px solid var(--rule); }
.ui-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--rule); }
.ui-shot { display: block; width: 100%; height: auto; }
.ui-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.ui-thumbs .ui-shot { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border: 1px solid var(--rule); border-radius: 10px; }
.ui-body { display: grid; grid-template-columns: 22% 1fr; min-height: 150px; }
.ui-side { border-right: 1px solid var(--rule); padding: .8rem .6rem; display: grid; gap: .5rem; align-content: start; }
.ui-side b { height: 8px; border-radius: 4px; background: var(--bg-3); }
.ui-side b.on { background: var(--accent); }
.ui-main { padding: .9rem 1rem; display: grid; gap: .5rem; align-content: start; }
.ui-title { height: 12px; width: 55%; border-radius: 4px; background: var(--fg); opacity: .8; }
.ui-line { height: 7px; width: 90%; border-radius: 4px; background: var(--bg-3); }
.ui-line.short { width: 65%; }
.ui-formats { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .3rem; }
.ui-formats em { font-style: normal; font-size: .68rem; font-weight: 600; padding: .25rem .55rem; border-radius: 6px; border: 1px solid var(--rule); color: var(--muted); }
.ui-formats em:last-child { border-color: var(--accent); color: var(--accent-text); }
.ui-progress { height: 6px; border-radius: 3px; background: var(--bg-3); margin-top: .4rem; overflow: hidden; }
.ui-progress span { display: block; height: 100%; width: 62%; background: var(--cta); border-radius: 3px; }


/* About: portrait opening, connected composition, faith line, signature */
.about-open-grid { display: grid; gap: 2.8rem; align-items: center; }
/* .page-head > .wrap sets a small gap with higher specificity, so match it here */
.page-head > .about-open-grid { gap: 2.8rem; }
@media (min-width: 900px) { .page-head > .about-open-grid { grid-template-columns: auto 1fr; gap: 5.5rem; } }
.about-portrait { margin: 0; position: relative; width: min(340px, calc(100vw - 96px)); aspect-ratio: 1; justify-self: center; }
.about-open-copy { display: grid; gap: 1.3rem; min-width: 0; }
.about-open-copy h1 { font-size: var(--step-h1); max-width: 14ch; }
.about-open-copy .lead { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); color: var(--fg); max-width: 38ch; }
.about-connected { border-top: 1px solid var(--rule); }
.about-connected-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .about-connected-grid { grid-template-columns: 1.1fr 1fr; gap: 4.5rem; } }
.composition { margin: 0; display: grid; gap: .8rem; border: 1px solid var(--rule); border-radius: 22px; padding: 1.4rem; background: var(--bg-2); min-width: 0; }
.composition svg { width: 100%; height: auto; color: var(--fg); }
.composition .c-faint { opacity: .35; }
.composition .c-accent, .composition .c-thread { color: var(--accent); stroke: var(--accent); }
.composition .c-dot { fill: var(--accent); stroke: none; }
.composition figcaption { font-size: .82rem; color: var(--muted); font-family: var(--f-serif); font-style: italic; }
.js .composition .c-thread { stroke-dashoffset: 0; animation: thread 18s linear infinite; }
@keyframes thread { to { stroke-dashoffset: -220; } }
.about-connected-copy { display: grid; gap: 1.4rem; min-width: 0; }
.about-connected-copy p { font-family: var(--f-serif); font-size: var(--step-1); line-height: 1.55; max-width: 40ch; }
.about-connected-copy p + p { color: var(--muted); }
.about-faith { background: var(--bg-2); }
.about-faith .wrap-narrow { padding-block: 6rem; }
@media (min-width: 900px) { .about-faith .wrap-narrow { padding-block: 8rem; } }
.faith-line { font-family: var(--f-serif); font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.3; text-align: center; max-width: 26ch; margin-inline: auto; position: relative; }
.faith-line::before { content: ""; display: block; width: 48px; height: 1.5px; background: var(--accent); margin: 0 auto 2rem; }
.about-close-inner { display: grid; gap: 1.8rem; justify-items: center; text-align: center; }
.about-close-line { font-family: var(--f-serif); font-size: var(--step-1); }
.about-sign { display: grid; gap: .9rem; justify-items: center; margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--rule); width: 100%; }
.about-sign img { width: 56px; height: 56px; }
.about-slogan { font-family: var(--f-display); font-weight: 600; font-size: .8rem; letter-spacing: .16em; color: var(--slogan, var(--muted)); }

/* Human Systems: quality / speed tension diagram */
.tension { border-radius: 22px; background: color-mix(in srgb, var(--accent) 8%, var(--bg-2)); border: 1px solid var(--rule); padding: 2rem 1.4rem; display: grid; gap: 2rem; }
@media (min-width: 760px) { .tension { padding: 3rem; } }
.tension-row { display: grid; gap: .6rem; justify-items: center; }
@media (min-width: 760px) { .tension-row { grid-template-columns: 1fr 56px 1.1fr 56px 1fr; align-items: center; gap: 0; } }
.t-card, .t-centre { display: grid; justify-items: center; gap: .5rem; text-align: center; padding: 1.4rem 1.2rem; border-radius: 16px; background: var(--bg); border: 1px solid var(--rule); width: 100%; max-width: 260px; }
.t-card .ico, .t-centre .ico { width: 36px; height: 36px; }
.t-k { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.t-card b { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; }
.t-centre { border: 1.5px solid var(--accent); padding-block: 1.8rem; }
.t-centre b { font-family: var(--f-serif); font-weight: 500; font-size: 1.15rem; line-height: 1.3; }
.t-arrow { width: 2px; height: 28px; background: var(--accent); position: relative; }
.t-arrow::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateX(-50%) rotate(45deg); }
.t-arrow-l::after { bottom: auto; top: -2px; transform: translateX(-50%) rotate(-135deg); }
@media (min-width: 760px) {
  .t-arrow { width: 100%; height: 2px; }
  .t-arrow::after, .t-arrow-l::after { left: auto; top: 50%; bottom: auto; }
  .t-arrow-r::after { right: 0; transform: translateY(-50%) rotate(-45deg); }
  .t-arrow-l::after { left: 0; transform: translateY(-50%) rotate(135deg); }
}
.tension-q { text-align: center; font-family: var(--f-serif); font-size: var(--step-1); font-style: italic; }

/* Navy band: always dark, whichever theme is active */
.band-navy { background: #0B1C2C; color: #F4F3F0; }
.band-navy .wrap { padding-block: 5rem; display: grid; gap: 3rem; }
@media (min-width: 900px) { .band-navy .wrap { grid-template-columns: 1fr 1.2fr; align-items: center; padding-block: 6rem; } }
.band-head { display: grid; gap: 1rem; }
.band-head h2 { color: #F4F3F0; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.band-head p { color: #C8C5BF; font-family: var(--f-serif); font-size: var(--step-1); }
.influence { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.influence li { display: grid; justify-items: center; gap: .8rem; text-align: center; padding: 1.4rem .6rem; border: 1px solid rgba(200,197,191,.2); border-radius: 16px; font-weight: 600; font-size: .95rem; min-width: 0; }
.influence .ico { width: 34px; height: 34px; color: #D8A94F; }

/* Faith block */
.faith-block { display: grid; gap: 2rem; }
@media (min-width: 900px) { .faith-block { grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; } }
.faith-label { display: grid; gap: .8rem; }
.faith-label h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.faith-qs { display: grid; gap: 1.6rem; border-left: 2px solid var(--accent); padding-left: 1.6rem; }
.faith-qs p { font-family: var(--f-serif); font-size: clamp(1.3rem, 1.1rem + .9vw, 1.75rem); line-height: 1.35; }

/* Read further */
.further { display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .further { grid-template-columns: 1fr 1fr; } }
.further-card { display: grid; gap: .9rem; align-content: start; padding: 1.8rem; border: 1px solid var(--rule); border-radius: 18px; text-decoration: none; transition: border-color .3s, transform .4s cubic-bezier(.2,.7,.2,1); min-width: 0; }
.further-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.further-card h3 { font-size: 1.4rem; line-height: 1.25; }
.further-meta { color: var(--muted); font-size: .88rem; }
.further-card .text-link { margin-top: .6rem; }

/* =========================================================
   Visuals on the inner pages: diagrams, icons and essay covers
   ========================================================= */
/* Prose interrupted by a full-width diagram (Principles) */
.prose-before-break { padding-bottom: 1.5rem; }
.prose-after-break { padding-top: 1.5rem; }
.diagram-break { padding-block: 1.5rem 2.5rem; }
.approach-detailed .approach li b { font-size: 1.05rem; line-height: 1.3; }
.approach-detailed .approach li > span:last-child { font-size: .9rem; line-height: 1.5; }

/* Principles example: measure, missing owner, action */
.chain { margin: 2.2rem 0; display: grid; gap: 1.2rem; padding: 1.6rem 1.2rem; border-radius: 20px; border: 1px solid var(--rule); background: var(--bg-2); }
.chain-row { display: grid; gap: .5rem; justify-items: center; }
@media (min-width: 640px) { .chain-row { grid-template-columns: 1fr 36px 1fr 36px 1fr; align-items: stretch; gap: 0; } }
.chain-step { display: grid; justify-items: center; align-content: start; gap: .45rem; text-align: center; padding: 1.1rem .9rem; border-radius: 14px; background: var(--bg); border: 1px solid var(--rule); width: 100%; max-width: 240px; }
.chain-step .ico { width: 30px; height: 30px; }
.chain-step b { font-family: var(--f-display); font-weight: 600; font-size: .98rem; line-height: 1.3; }
.chain-gap { border: 1.5px dashed var(--accent); }
.chain-k { font-family: var(--f-display); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.chain-link { width: 2px; height: 22px; background: var(--accent); align-self: center; }
@media (min-width: 640px) { .chain-link { width: 100%; height: 2px; } }
.chain figcaption { text-align: center; font-family: var(--f-serif); font-style: italic; color: var(--muted); font-size: .95rem; }

/* Thinking pages: a diagram under the page head */
.diagram-band .wrap { padding-block: 0 1rem; }
.diagram { margin: 0; display: grid; gap: 2rem; align-items: center; padding: 1.8rem 1.4rem; border-radius: 22px; border: 1px solid var(--rule); background: var(--bg-2); }
@media (min-width: 820px) { .diagram { grid-template-columns: minmax(0, 340px) 1fr; gap: 4rem; padding: 2.6rem 3rem; } }
.diagram-art { width: 100%; max-width: 300px; height: auto; justify-self: center; color: var(--fg); }
.diagram-art text { stroke: none; fill: var(--accent-text); font-family: var(--f-display); font-weight: 600; font-size: 14px; text-anchor: middle; }
.diagram-art .d-core { fill: color-mix(in srgb, var(--accent) 14%, transparent); stroke: var(--accent); }
.diagram-art .d-ring2 { stroke: var(--accent); opacity: .8; }
.diagram-art .d-ring3 { stroke: var(--accent); opacity: .55; }
.diagram-art .d-ring4 { stroke: var(--accent); opacity: .3; }
.diagram-art .d-mark circle, .diagram-art .d-node circle { fill: var(--bg); stroke: var(--accent); stroke-width: 1.6; }
.diagram-art .d-node text { font-size: 18px; }
.diagram-art .d-cycle, .diagram-art .d-arrow { stroke: var(--accent); }
.diagram-art .d-label { fill: var(--muted); font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 14px; }
.diagram-copy { display: grid; gap: 1.4rem; min-width: 0; }
.diagram-copy figcaption { font-family: var(--f-serif); font-style: italic; color: var(--muted); }
.diagram-key { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.diagram-key li { display: grid; grid-template-columns: 2rem 1fr; column-gap: .9rem; row-gap: .15rem; }
.diagram-key .n, .hand-n { grid-row: 1 / 3; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--accent); color: var(--accent-text); font-family: var(--f-display); font-weight: 600; font-size: .85rem; }
.diagram-key a, .handover-steps a { text-decoration: none; color: var(--fg); }
.diagram-key a:hover, .handover-steps a:hover { color: var(--accent-text); }
.diagram-key b { font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; }
.diagram-key li > span:last-child { color: var(--muted); font-size: .95rem; }

/* Capability: support handing over to the learner */
.handover { margin: 0; display: grid; gap: 1.4rem; padding: 1.8rem 1.4rem; border-radius: 22px; border: 1px solid var(--rule); background: var(--bg-2); }
@media (min-width: 820px) { .handover { padding: 2.6rem 3rem; } }
.handover-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
@media (min-width: 820px) { .handover-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem; } }
.handover-steps li { display: grid; grid-template-columns: 2rem 1fr; column-gap: .9rem; row-gap: .6rem; align-content: start; min-width: 0; }
.handover-steps .hand-n { grid-row: auto; }
.handover-steps b { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; line-height: 1.3; align-self: center; display: block; }
.hand-bar, .hand-t { grid-column: 1 / -1; }
.hand-bar { height: 14px; border-radius: 7px; background: repeating-linear-gradient(135deg, var(--bg-3) 0 6px, transparent 6px 10px); border: 1px solid var(--rule); overflow: hidden; }
.hand-bar i { display: block; height: 100%; width: var(--own); background: var(--accent); border-radius: 7px; }
.hand-t { color: var(--muted); font-size: .95rem; }
.hand-key { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; font-size: .82rem; color: var(--muted); }
.hand-key span { display: inline-flex; align-items: center; gap: .5rem; }
.hand-key span::before { content: ""; width: 22px; height: 10px; border-radius: 5px; border: 1px solid var(--rule); }
.hand-key .k-own::before { background: var(--accent); border-color: var(--accent); }
.hand-key .k-support::before { background: repeating-linear-gradient(135deg, var(--bg-3) 0 4px, transparent 4px 7px); }
.handover figcaption { font-family: var(--f-serif); font-style: italic; color: var(--muted); }

/* Advisory: formats on a scale, icons on services; shared format icon */
.scale-bar { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; font-family: var(--f-display); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.scale-bar::before { content: ""; order: 1; flex: 1; height: 2px; border-radius: 1px; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 20%, transparent), var(--accent)); }
.scale-bar span:last-child { order: 2; color: var(--accent-text); }
.f-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); margin-bottom: .3rem; }
.f-ico .ico { width: 24px; height: 24px; }
.service h3 { display: flex; align-items: center; gap: .9rem; }
.s-ico { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.s-ico .ico { width: 24px; height: 24px; }

/* Speaking: talk icons and format icons */
.talk-ico { margin-bottom: 0; width: 56px; height: 56px; }
.talk-ico .ico { width: 28px; height: 28px; }
.format-icons { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); gap: .8rem; font-family: var(--f-display); }
.format-icons li { display: grid; justify-items: center; gap: .6rem; text-align: center; padding: 1.2rem .6rem; border: 1px solid var(--rule); border-radius: 14px; font-size: .9rem; font-weight: 600; line-height: 1.3; }
.event-photos .photo-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.event-photos figure { margin: 0; display: grid; gap: .5rem; }
.event-photos img { width: 100%; height: auto; border-radius: 16px; display: block; }
.event-photos figcaption { font-size: .82rem; color: var(--muted); }

/* Work: sector icons on the themes */
.engagement-org { display: flex; align-items: center; gap: .6rem; }
.engagement-org .ico { width: 22px; height: 22px; }

/* Ventures page screenshots */
.venture-shot { margin-top: 1.8rem; font-family: var(--f-body, inherit); }

/* Essay covers */
.cover { display: block; color: var(--fg); background: var(--bg-2); }
.cover svg { display: block; width: 100%; height: auto; }
.cover .c-accent { stroke: var(--accent); }
.cover .c-faint { opacity: .35; }
.cover .c-fade { opacity: .6; }
.card-cover { margin: -1.6rem -1.6rem .3rem; padding: .6rem 1.2rem; border-bottom: 1px solid var(--rule); }
.featured-grid .card-cover svg { max-height: 200px; }
@media (min-width: 820px) { .handover-steps b { min-height: 2.6em; } }
.article-cover .cover { border: 1px solid var(--rule); border-radius: 18px; padding: 1rem 1.5rem; margin-bottom: 1.6rem; }
.article-cover .cover svg { max-height: 240px; }
.essays-compact a { grid-template-columns: 5.5rem 1fr auto; align-items: center; }
.essays-compact .essay-cover { grid-row: 1 / 3; grid-column: 1; border-radius: 10px; border: 1px solid var(--rule); padding: .2rem; }
.essays-compact .date { grid-column: 2 / -1; }
@media (min-width: 760px) {
  .essays-compact a { grid-template-columns: 7.5rem 16rem 1fr auto; }
  .essays-compact .essay-cover { grid-row: auto; }
  .essays-compact .date { grid-column: auto; }
}

/* Photography: wide bands, tile photos and essay headers, toned toward the navy palette */
.photo-section .wrap { padding-block: 0 2.5rem; }
.photo-band { margin: 0; position: relative; border-radius: 22px; overflow: hidden; background: var(--bg-2); }
.photo-band img, .tile-photo img, .article-photo img { display: block; width: 100%; height: auto; object-fit: cover; filter: saturate(.88) contrast(1.02); }
.photo-band img { aspect-ratio: 4 / 3; }
@media (min-width: 760px) { .photo-band img { aspect-ratio: 21 / 8; } }
.photo-band::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(11, 28, 44, .5), rgba(11, 28, 44, 0) 55%), rgba(11, 28, 44, .08); }
.photo-band figcaption { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.2rem; z-index: 1; color: #F4F3F0; font-family: var(--f-serif); font-style: italic; font-size: .95rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.photo-band .photo-over { font-family: var(--f-display); font-style: normal; font-weight: 600; font-size: clamp(.8rem, .7rem + .5vw, 1.05rem); letter-spacing: .18em; color: #D8A94F; }
@media (min-width: 760px) { .photo-band figcaption { left: 2.2rem; bottom: 1.8rem; } }
/* keep the speaker's face in frame when the band crops: he stands right of centre */
.photo-speaker img { object-position: 72% 22%; }
.photo-top img { object-position: 50% 12%; }
.tile-photo { display: block; margin: -1.6rem -1.6rem 0; border-bottom: 1px solid var(--rule); overflow: hidden; }
.tile-photo img { aspect-ratio: 16 / 10; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.tile:hover .tile-photo img { transform: scale(1.04); }
.tile-photo + .tile-ico { margin-top: -32px; background: var(--bg); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); position: relative; z-index: 1; }
.article-photo { margin-block: 0 1.6rem; }
.article-photo img { border-radius: 18px; aspect-ratio: 16 / 9; }

/* Refreshed copy layouts (Principles, Thinking, Advisory, Ventures, Media) */
.kinds { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.kinds-note { margin-top: 1.8rem; max-width: 62ch; font-family: var(--f-serif); font-style: italic; color: var(--muted); }
.pair { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 2rem; }
.pair-h { font-size: var(--step-2); }
.pair .format p { font-family: var(--f-serif); font-size: 1.08rem; line-height: 1.6; }
.chain-wide { margin: 0; padding: 2rem 1.4rem; }
@media (min-width: 760px) { .chain-wide { padding: 2.6rem 3rem; } .chain-wide .chain-step { max-width: 300px; } }
.chain-scenario { display: grid; gap: .4rem; text-align: center; font-family: var(--f-serif); font-size: var(--step-1); }
@media (min-width: 900px) { .approach-4 .approach { grid-template-columns: repeat(4, minmax(0, 1fr)); } .approach-4 .approach::before { left: 12.5%; right: 12.5%; } .approach-4 .approach-loop::after { left: 12.5%; right: 12.5%; } }
@media (min-width: 900px) { .further-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.evidence-step { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; font-family: var(--f-display); color: var(--accent-text); }
.evidence-step b { font-weight: 600; padding: .35rem .8rem; border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); border-radius: 999px; }
.support-tiles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.support-tile { display: grid; gap: .7rem; align-content: start; padding: 1.6rem; border: 1px solid var(--rule); border-radius: 18px; background: var(--bg); scroll-margin-top: 6rem; }
.support-tile h3 { font-size: 1.2rem; line-height: 1.25; }
.support-tile > p:not(.support-out) { color: var(--muted); }
.support-out { margin-top: .4rem; padding-top: .8rem; border-top: 1px solid var(--rule); font-size: .92rem; display: grid; gap: .2rem; }
.support-out span { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.venture-for { font-family: var(--f-display); font-weight: 600; font-size: .95rem; color: var(--fg); }
.venture-steps { list-style: none; margin: 1.4rem 0; padding: 0; display: grid; gap: 1rem; font-family: var(--f-display); }
.venture-steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 1rem; align-items: center; }
.venture-steps .f-ico { grid-row: 1 / 3; margin: 0; }
.venture-steps b { font-weight: 600; font-size: 1.05rem; align-self: end; }
.venture-steps li > span:last-child { color: var(--muted); font-size: .95rem; align-self: start; }
.venture-profile-body .venture-shot { margin-top: 0; }
.media-name h2 { font-size: var(--step-3); }
.media-role { font-family: var(--f-display); font-weight: 600; color: var(--accent-text); }
.bio-more > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; }
.bio-more > summary::-webkit-details-marker { display: none; }
.bio-more > summary::after { content: "+"; color: var(--accent-text); font-size: 1.3rem; line-height: 1; }
.bio-more[open] > summary::after { content: "−"; }
.bio-more > summary .muted { margin-left: auto; font-family: var(--f-body, inherit); font-weight: 400; font-size: .85rem; }
.bio-more[open] > .bio-head { justify-content: flex-end; margin-top: .8rem; }
.resource-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.resource-card { display: grid; gap: .7rem; align-content: start; justify-items: start; padding: 1.6rem; border: 1px solid var(--rule); border-radius: 18px; background: var(--bg); }
.resource-card p { color: var(--muted); }
.resource-preview { margin: 0 0 .4rem; width: 100%; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--bg-2); display: grid; place-items: center; }
.resource-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.resource-brand img { width: auto; height: auto; max-width: 70%; max-height: 170px; object-fit: contain; }
.topic-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.topic-grid li { display: grid; gap: .8rem; align-content: start; padding: 1.3rem; border: 1px solid var(--rule); border-radius: 16px; font-family: var(--f-display); font-weight: 600; line-height: 1.3; }

/* ---------- Print: navigation never overlaps content, headings stay with their text, actions stay legible ---------- */
@media print {
  :root { --bg: #fff; --bg-2: #f4f4f2; --bg-3: #ececea; --fg: #0B1C2C; --muted: #3f454a; --rule: rgba(11, 28, 44, .25); --accent: #8A6316; --accent-text: #8A6316; --link: #0B1C2C; color-scheme: light; }
  html, body { background: #fff !important; color: #0B1C2C; }
  .nav { position: static !important; background: #fff !important; backdrop-filter: none !important; border-bottom: 1px solid var(--rule); }
  .nav .on-dark { display: none !important; } .nav .on-light { display: block !important; }
  .primary-nav, .nav-end, .mega, .mega-scrim, .menu-panel, .skip, .halo, .reading-progress, canvas, .page-pattern, .ticker, .js-only, .share-row, .library-tools, .chips, .empty-state, .ring, form .honeypot { display: none !important; }
  .js .reveal.pending, .reveal { opacity: 1 !important; transform: none !important; }
  * { animation: none !important; transition: none !important; }
  .page-head > .wrap, .page-head > .wrap-narrow, .section > .wrap, section.block > .wrap { padding-block: 1.6rem !important; }
  h1, h2, h3, h4, .section-head, .eyebrow, .card-meta, .talk-intro h3, .service h3 { break-after: avoid; page-break-after: avoid; }
  .card, .engagement, .format, .bio-block, .talk-detail, .faq-item, .takeaway, .route-card, .pager, .principle-note, .credentials > div, .venture-aside, .cta-panel { break-inside: avoid; page-break-inside: avoid; }
  .card:hover, .card { transform: none !important; }
  .card, .engagement, .cta-panel, .form-card, .subscribe-card, .talk-detail, .pathways > li { background: #fff !important; border: 1px solid var(--rule) !important; }
  .btn, .btn-primary, .btn-solid, .btn-quiet, .btn-line { background: #fff !important; color: #0B1C2C !important; border: 1.5px solid #0B1C2C !important; }
  .faq-item:not([open]) > p { display: block; }
  /* Compact footer: brand and notices, not the whole navigation tree */
  .footer-grid > :not(.footer-brand) { display: none !important; }
  .footer-brand .on-dark { display: none !important; } .footer-brand .on-light { display: block !important; }
  .site-footer { break-inside: avoid; }
  .footer-grid { padding-block: 1.2rem .6rem !important; }
  .hero .graph-box { display: none; }
  .hero .wrap { grid-template-columns: 1fr !important; }
}

/* Motion switch off: same result as the reduced-motion setting */
[data-motion="off"] { scroll-behavior: auto; }
[data-motion="off"] *, [data-motion="off"] *::before, [data-motion="off"] *::after { animation: none !important; }
[data-motion="off"] .reveal.pending { opacity: 1; transform: none; }
[data-motion="off"] .ticker-track { flex-wrap: wrap; width: auto; row-gap: .6rem; }
[data-motion="off"] .ticker-track [aria-hidden] { display: none; }
[data-motion="off"] .halo { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero h1 .w, .js .hero .fade-in, .js .page-head h1, .js .article-head h1, .js .statement-text, .js .page-head .lead, .js .dek, .js .menu-panel.open .menu-grid li { animation: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; row-gap: .6rem; }
  .ticker-track [aria-hidden] { display: none; }
  .ring, .composition .c-thread { animation: none !important; }
  .js .reveal.pending { opacity: 1; transform: none; }
  .halo { display: none; }
  .card:hover { transform: none; }
}
