/* ==========================================================================
   Osas: site styles
   Palette from the Osahon Brand Guidelines: Deep Midnight Navy #0B1C2C (ink,
   dark background), Golden Principle #D8A94F (sparing highlights: rules,
   numbers), True North Blue #1D6FA3 (calls to action), Warm Gray Stone
   #C8C5BF (backgrounds, lines) and Ash Graphite #3C3F3E (body text). Other
   values are tints and shades of these. Gold is never small body text on a
   light background. Type follows the guidelines too: Clash Display for
   headings, Sentient for reading text, Inter for the interface.
   Layout cues (pill navigation, tagged section labels, a navy hero with the
   brand pattern, a navy subscription band) follow the reference site.
   ========================================================================== */

:root {
  --paper: #ffffff;
  --surface: #ffffff;
  --tint: #f2f1ef;
  --ink: #0b1c2c;
  --ink-2: #3c3f3e;
  --muted: #5b5e5d;
  --line: #e4e2df;
  --line-strong: #c8c5bf;
  --accent: #1d6fa3;
  --accent-hover: #175279;
  --on-accent: #ffffff;
  --accent-soft: #e8f1f6;
  --accent-ink: #1d6fa3;
  --icon-bg: #0b1c2c;
  --gold: #d8a94f;
  --gold-ink: #795f2c;
  --danger: #a3352b;
  --danger-soft: #f8e7e4;
  --success: #2c6a4e;
  --success-soft: #e3efe8;

  --display: "Clash Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Sentient", "Iowan Old Style", "Charter", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 12px;
  --radius-sm: 9px;
  --wrap: 1140px;
  --narrow: 700px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 8vw, 104px);
  --shadow: 0 1px 2px rgba(11, 28, 44, 0.05), 0 10px 30px rgba(11, 28, 44, 0.08);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b1c2c;
    --surface: #0f2d44;
    --tint: #0d2438;
    --ink: #f1f0ef;
    --ink-2: #c8c5bf;
    --muted: #9ea09f;
    --line: #253441;
    --line-strong: #444f58;
    --accent: #1d6fa3;
    --accent-hover: #195d89;
    --on-accent: #ffffff;
    --accent-soft: #103550;
    --accent-ink: #83b0cd;
    --icon-bg: #103550;
    --gold: #d8a94f;
    --gold-ink: #d8a94f;
    --danger: #f19a8f;
    --danger-soft: #3b1e26;
    --success: #8fd0ae;
    --success-soft: #123a33;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

/* Navy panels (the home hero, the subscription band and call-to-action panels)
   use the dark palette in both colour schemes, so everything inside adapts. */
.hero, .subscribe-band, .cta-panel {
  --paper: #0b1c2c;
  --surface: #0f2d44;
  --tint: #0d2438;
  --ink: #f1f0ef;
  --ink-2: #c8c5bf;
  --muted: #9ea09f;
  --line: #253441;
  --line-strong: #56636d;
  --accent-soft: #103550;
  --accent-ink: #83b0cd;
  --gold-ink: #d8a94f;
  --danger: #f19a8f;
  --success: #8fd0ae;
  background-color: var(--paper);
  color: var(--ink);
}
@media (prefers-color-scheme: dark) {
  /* On a navy page, lift the band and panels onto the lighter navy. */
  .subscribe-band, .cta-panel { --paper: #0f2d44; --surface: #0b1c2c; --accent-soft: #0b1c2c; }
}

/* -- base ----------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
/* Brand roles: Ash Graphite for body text, Deep Midnight Navy for headings,
   True North Blue for links and calls to action. */
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--line-strong); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.25rem); letter-spacing: -0.02em; line-height: 1.06; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h3, h4 { font-weight: 500; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
figure { margin: 0; }
[hidden] { display: none !important; }
section[id], article[id], h2[id] { scroll-margin-top: 104px; } /* clears the sticky header */

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--radius-sm); z-index: 100; text-decoration: none; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }
.js .no-js-only { display: none !important; }
html:not(.js) .js-only { display: none !important; }

/* Section label, led by the logo's north marker: "the north point is illumination". */
.eyebrow {
  display: flex; align-items: center; gap: 0.65rem; margin: 0 0 1.1rem;
  font: 600 0.76rem/1.35 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink);
}
.eyebrow::before { content: ""; flex: none; width: 9px; height: 13px; background: url("../img/marker.svg") center / contain no-repeat; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.display { font-size: clamp(2.4rem, 5.2vw, 3.9rem); line-height: 1.03; letter-spacing: -0.025em; }
.lead { font-size: clamp(1.12rem, 1.6vw, 1.28rem); line-height: 1.55; color: var(--ink-2); max-width: 38em; }
.lead-follow { font-size: 1.06rem; }

.slogan {
  display: flex; align-items: center; gap: 0.85rem; margin: 1.6rem 0 0;
  font: 600 0.8rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
}
.slogan::before { content: ""; flex: none; width: 32px; height: 2px; background: var(--gold); }

/* -- buttons and links ---------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.7em 1.35em; border-radius: 999px; border: 1px solid transparent;
  font: 500 0.98rem/1.2 var(--sans); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
/* A forward arrow after the label that moves on hover. */
.btn-primary::after {
  content: ""; flex: none; width: 1em; height: 1em; background: currentColor; transition: transform 0.15s;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn-primary:hover::after { transform: translateX(3px); }
.btn-quiet { background: transparent; border-color: var(--ink-2); color: var(--ink); }
.btn-quiet:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
.btn-sm { min-height: 38px; padding: 0.45em 1em; font-size: 0.9rem; }
.btn[disabled] { opacity: 0.65; cursor: progress; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 500; color: var(--accent-ink); text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform 0.15s; }
.link-arrow:hover { text-decoration: underline; text-decoration-color: currentColor; }
.link-arrow:hover::after { transform: translateX(3px); }
.link-arrow.external::after { content: "↗"; }
.link-arrow.external:hover::after { transform: translate(2px, -2px); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem 1rem; margin-top: 2rem; }

/* -- header and navigation ------------------------------------------------ */

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 30; }
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 84px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand-text { display: flex; flex-direction: column; gap: 0.55rem; }
.brand-logo { width: auto; height: 28px; }
/* The catch phrase sits beneath the logo: full-contrast ink, never small grey text. */
.brand-slogan { font: 600 0.68rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.brand-slogan::before { content: ""; display: inline-block; width: 14px; height: 1.5px; margin-right: 0.45rem; background: var(--gold); vertical-align: 0.22em; }
@media (max-width: 420px) {
  .brand-logo { height: 22px; }
  .brand-slogan { font-size: 0.6rem; letter-spacing: 0.08em; }
  .brand-slogan::before { width: 10px; margin-right: 0.35rem; }
}

.primary-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }
/* The current page is marked by the gold north marker pointing up at it, like a compass needle. */
.nav-link, .nav-group summary {
  position: relative; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.55rem 0.8rem; border-radius: 8px;
  font-size: 0.95rem; color: var(--ink-2); text-decoration: none; cursor: pointer; list-style: none; transition: color 0.15s;
}
.nav-group summary::-webkit-details-marker { display: none; }
.nav-link:hover, .nav-group summary:hover { color: var(--accent-ink); }
.nav-link[aria-current], .nav-group summary.is-current { color: var(--ink); font-weight: 500; }
.nav-link[aria-current]::after, .nav-group summary.is-current::after {
  content: ""; position: absolute; left: 50%; bottom: -9px; width: 8px; height: 12px; transform: translateX(-50%);
  background: url("../img/marker.svg") center / contain no-repeat;
}
.chevron { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.15s; }
.nav-group details[open] .chevron { transform: translateY(1px) rotate(225deg); }
.nav-group { position: relative; }
.nav-panel {
  position: absolute; left: 0; top: calc(100% + 8px); min-width: 280px; padding: 0.5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.nav-panel ul { list-style: none; margin: 0; padding: 0; }
.nav-panel a { display: block; padding: 0.6rem 0.8rem; border-radius: 8px; text-decoration: none; font-size: 0.95rem; }
.nav-panel a:hover { background: var(--tint); }
.nav-panel a[aria-current] { background: var(--accent-soft); }

.menu { display: none; position: relative; margin-left: auto; }
.menu > summary {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 40px; padding: 0 0.95rem;
  border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.92rem; cursor: pointer; list-style: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu-icon, .menu-icon::before { display: block; width: 14px; height: 1.5px; background: currentColor; position: relative; }
.menu-icon::before { content: ""; position: absolute; top: 5px; }
.menu-icon { transform: translateY(-2.5px); }
.menu > nav {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 32px)); max-height: 75vh; overflow-y: auto;
  padding: 0.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a, .menu-group > summary { display: block; padding: 0.75rem 0.85rem; border-radius: 8px; text-decoration: none; cursor: pointer; list-style: none; }
.menu a:hover, .menu-group > summary:hover { background: var(--tint); }
.menu a[aria-current] { background: var(--accent-soft); }
.menu-group > summary { display: flex; justify-content: space-between; align-items: center; font-weight: 500; }
.menu-group > summary::after { content: "+"; color: var(--muted); font-size: 1.1rem; }
.menu-group[open] > summary::after { content: "–"; }
.menu-group ul { padding: 0 0 0.35rem 0.75rem; border-left: 2px solid var(--gold); margin: 0 0 0.35rem 0.85rem; }

.header-subscribe { flex: none; }
.menu-cta { padding: 0.6rem 0.35rem 0.35rem; margin-top: 0.35rem; border-top: 1px solid var(--line); }
.menu .menu-cta .btn { display: flex; width: 100%; padding: 0.7em 1.2em; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
.menu .menu-cta .btn:hover { background: var(--accent-hover); }

@media (max-width: 1080px) {
  .primary-nav, .header-subscribe { display: none; }
  .menu { display: block; }
}

/* -- sections ------------------------------------------------------------- */

.section { padding: var(--section) 0; }
.section-rule { border-top: 1px solid var(--line); }
.section-tint { background: var(--tint); }
.section-compact { padding: clamp(24px, 3vw, 40px) 0; }
.section-head { max-width: 44rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin-bottom: 0.4em; }
.section-lead { color: var(--ink-2); font-size: 1.08rem; margin-top: 0.5rem; max-width: 40em; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap; max-width: none; }
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 6vw, 88px); align-items: start; }
.split > .section-head { margin-bottom: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.prose-block > p { color: var(--ink-2); font-size: 1.08rem; }
.prose-block > p:first-child { color: var(--ink); }

.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); }
.page-head h1 { max-width: 18em; }
.page-head-tight { padding-bottom: var(--section); }
.page-prose { padding-top: clamp(8px, 2vw, 24px); padding-bottom: var(--section); }
.featured-intro { margin: 1.75rem 0 0; font: italic 400 1.2rem/1.4 var(--serif); color: var(--ink-2); }

/* -- hero ----------------------------------------------------------------- */

/* Full-width navy hero with the guidelines' pattern rising from the bottom edge
   (their "Pattern 02"). */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 112px) 0 clamp(72px, 10vw, 136px); }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 58%; pointer-events: none;
  background: url("../img/pattern.svg") repeat left bottom / 121px auto; opacity: 0.13;
  -webkit-mask-image: linear-gradient(to top, #000 15%, transparent 95%); mask-image: linear-gradient(to top, #000 15%, transparent 95%);
}
/* The logomark as a faint watermark behind the portrait (the guidelines allow it as a watermark). */
.hero::before {
  content: ""; position: absolute; top: 50%; right: -8%; width: min(64vw, 780px); aspect-ratio: 1; transform: translateY(-50%);
  background: url("../img/logomark.svg") center / contain no-repeat; opacity: 0.045; pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero .portrait { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero-portrait { max-width: 440px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { max-width: 300px; }
}
/* The portrait sits inside "the O, the core": a circle with a gold ring and the
   north marker on it, pointing north-east like the logomark's compass. */
.portrait { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--tint); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero-portrait, .portrait-figure { position: relative; margin: 14px; }
.hero-portrait::before, .portrait-figure::before {
  content: ""; position: absolute; inset: -14px; border: 1.5px solid var(--gold); border-radius: 50%; opacity: 0.8; pointer-events: none;
}
.hero-portrait::after, .portrait-figure::after {
  content: ""; position: absolute; left: calc(85.36% + 10px); top: calc(14.64% - 10px); width: 20px; height: 29px;
  transform: translate(-50%, -50%) rotate(45deg); background: url("../img/marker.svg") center / contain no-repeat; pointer-events: none;
}

.closing { text-align: center; }
.closing-inner { max-width: 820px; }
.closing-title { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.closing .lead { margin: 0 auto; }
.closing .actions { justify-content: center; }

/* -- cards ---------------------------------------------------------------- */

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.card:hover { border-color: var(--accent-ink); box-shadow: var(--shadow); transform: translateY(-3px); }
.card-link { display: flex; flex-direction: column; height: 100%; padding: 28px; text-decoration: none; }
.card-meta { font: 600 0.74rem/1.4 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; }
.card-title { font-family: var(--display); font-weight: 500; font-size: 1.3rem; line-height: 1.25; margin: 0 0 0.6rem; }
.card-summary { color: var(--ink-2); font-size: 0.98rem; margin-bottom: 1.4rem; }
.card-foot { margin: auto 0 0; font-size: 0.85rem; color: var(--muted); }
.card-number { font: 500 2.4rem/1 var(--display); color: var(--gold-ink); margin: 0 0 1.1rem; font-variant-numeric: tabular-nums; }
.card-principle { background: var(--paper); border-top: 2px solid var(--gold); }

/* -- home ------------------------------------------------------------------ */

.topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .topic-grid { grid-template-columns: 1fr; } }
.topic-tile {
  display: flex; flex-direction: column; min-height: 230px; padding: 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
/* Icon tile, as on the reference's service cards: the logo's north marker on navy. */
/* Icon: the core (a navy circle with a gold ring) holding the north marker,
   which turns like a compass needle when the card is hovered. */
.topic-tile::before {
  content: ""; flex: none; width: 48px; height: 48px; margin-bottom: 1.35rem; border-radius: 50%;
  background: var(--icon-bg) url("../img/marker.svg") center / 12px auto no-repeat;
  box-shadow: inset 0 0 0 1.5px rgba(216, 169, 79, 0.6); transition: transform 0.35s ease;
}
.topic-tile:hover { border-color: var(--accent-ink); box-shadow: var(--shadow); transform: translateY(-3px); }
.topic-tile:hover::before { transform: rotate(45deg); }
.topic-tile h3 { font-size: 1.3rem; }
.topic-tile p { color: var(--ink-2); font-size: 0.96rem; }
.topic-tile .link-arrow, .topic-count { margin-top: auto; font-size: 0.92rem; }
.topic-count { color: var(--muted); }

.sector-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 1.5rem 0; }
.sector-list li { padding: 0.4em 0.9em; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.9rem; color: var(--ink-2); }

.venture-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .venture-grid { grid-template-columns: 1fr; } }
.venture-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.15s, box-shadow 0.15s; }
.venture-card:hover { border-color: var(--accent-ink); box-shadow: var(--shadow); }
.venture-card p { color: var(--ink-2); }
.venture-card .btn { margin-top: auto; }
.venture-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; width: 100%; margin-bottom: 0.9rem; }
.venture-head h3 { margin: 0; font-size: 1.65rem; }
.stage { flex: none; padding: 0.3em 0.85em; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font-size: 0.8rem; font-weight: 500; white-space: nowrap; }
.stage-date { color: var(--muted); font-weight: 400; }

/* -- about ----------------------------------------------------------------- */

.stage-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 640px) { .stage-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stage-strip a { display: flex; align-items: baseline; gap: 0.6rem; padding: 0.9rem 0; border-top: 2px solid var(--gold); text-decoration: none; font: 500 1.1rem/1.2 var(--display); }
.stage-strip a:hover { color: var(--gold-ink); }
.stage-num { font: 600 0.75rem/1 var(--sans); letter-spacing: 0.08em; color: var(--muted); }
.credentials { margin: 0; border-top: 1px solid var(--line-strong); }
.credentials > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line-strong); }
.credentials dt { font: 600 0.76rem/1.6 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.credentials dd { margin: 0; }
@media (max-width: 520px) { .credentials > div { grid-template-columns: 1fr; gap: 0.25rem; } }

/* -- library --------------------------------------------------------------- */

.library { padding-bottom: var(--section); }
.library-tools { margin-bottom: 1.25rem; }
.search-label { display: block; font-weight: 500; font-size: 0.95rem; margin-bottom: 0.5rem; }
.search-row { display: flex; gap: 0.75rem; }
.search-box { position: relative; flex: 1; }
.search-box svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.search-box input[type="search"] {
  width: 100%; min-height: 56px; padding: 0.8rem 1.1rem 0.8rem 50px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit;
}
.search-box input[type="search"]::placeholder { color: var(--muted); }
.search-box input[type="search"]:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 0.75rem; }
@media (max-width: 640px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
}
.chip {
  display: inline-flex; align-items: center; gap: 0.5em; padding: 0.5em 1em; white-space: nowrap;
  border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.92rem; color: var(--ink-2); text-decoration: none;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip-count { font-size: 0.8rem; opacity: 0.7; font-variant-numeric: tabular-nums; }
.topic-description { color: var(--ink-2); min-height: 1.65em; margin: 0.75rem 0 0; max-width: 46rem; }
.result-count { font-size: 0.9rem; color: var(--muted); margin: 1.25rem 0 1rem; }
.empty-state { padding: 3rem 0 1rem; color: var(--ink-2); }
.end-of-list { margin: 2rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); text-align: center; }

/* -- article and principle --------------------------------------------------- */

.article-head { padding-top: clamp(40px, 6vw, 80px); padding-bottom: 2.25rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.88rem; color: var(--muted); margin-bottom: 1.75rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.article-title { font-size: clamp(2.1rem, 4.4vw, 3.15rem); line-height: 1.1; }
.dek { font: 400 clamp(1.18rem, 1.9vw, 1.38rem)/1.5 var(--serif); color: var(--ink-2); margin-top: 1rem; }
.article-meta { font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; margin: 1.75rem 0 0; }
.article-meta a { color: var(--accent-ink); }

.disclosure {
  display: flex; gap: 0.85rem; align-items: flex-start; margin-bottom: 2.5rem; padding: 1rem 1.15rem;
  background: var(--tint); border-left: 2px solid var(--gold); border-radius: var(--radius-sm); font-size: 0.93rem; color: var(--ink-2);
}
.disclosure p { margin: 0; }
.disclosure a { color: var(--accent-ink); }
.disclosure-mark {
  flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px;
  border: 1px solid var(--line-strong); border-radius: 50%; font: italic 500 0.85rem/1 var(--serif); color: var(--muted);
}

.prose { font-family: var(--serif); font-size: clamp(1.13rem, 1.5vw, 1.25rem); line-height: 1.7; }
.prose p { margin: 0 0 1.25em; }
.prose h2 { font-size: 1.65rem; margin: 2em 0 0.6em; }
.prose h3 { font-size: 1.3rem; margin: 1.8em 0 0.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose li { margin-bottom: 0.6em; padding-left: 0.2em; }
.prose li::marker { color: var(--gold-ink); }
.prose blockquote { margin: 2em 0; padding-left: 1.25em; border-left: 2px solid var(--gold); font-style: italic; color: var(--ink-2); }
.prose a { color: var(--accent-ink); text-decoration-color: currentColor; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.prose code { font: 0.86em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--tint); padding: 0.1em 0.35em; border-radius: 4px; }
.prose-sans { font-family: var(--sans); font-size: 1.05rem; }

.article-end { padding-bottom: var(--section); }
.takeaway { margin: 3rem 0 2rem; padding: clamp(26px, 4vw, 44px); background: var(--accent-soft); border-radius: var(--radius); border-top: 3px solid var(--gold); }
.takeaway-label { font: 600 0.76rem/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); margin: 0 0 0.9rem; }
.takeaway-question { font: 400 clamp(1.4rem, 2.6vw, 1.95rem)/1.3 var(--serif); margin: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 3rem; }
.tag-list li { font-size: 0.82rem; color: var(--muted); padding: 0.25em 0.75em; border: 1px solid var(--line); border-radius: 999px; }
.tag-list a { text-decoration: none; }
.end-label { font: 600 0.76rem/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
.related { margin-bottom: 3rem; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 600px) { .related-grid { grid-template-columns: 1fr; } }
.related .card-title { font-size: 1.25rem; }
.route-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.5rem; row-gap: 0.35rem;
  padding: 26px; border: 1px solid var(--ink); border-radius: var(--radius); text-decoration: none; transition: background-color 0.15s, border-color 0.15s;
}
.route-card:hover { background: var(--accent-soft); border-color: var(--accent-ink); }
.route-kind { font: 600 0.76rem/1.4 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.route-principle .route-kind { color: var(--gold-ink); }
.route-title { font: 500 1.35rem/1.25 var(--display); }
.route-text { color: var(--ink-2); font-size: 0.98rem; }
.route-arrow { grid-column: 2; grid-row: 1 / span 3; align-self: center; font-size: 1.5rem; color: var(--gold-ink); transition: transform 0.15s; }
.route-card:hover .route-arrow { transform: translateX(4px); }

.principle-label { color: var(--gold-ink); }
.statement { margin: 0; }
.statement blockquote { margin: 0; padding-left: 1.25rem; border-left: 3px solid var(--gold); }
.statement-text { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.12; margin: 0; }
.statement figcaption { margin: 1rem 0 0 1.25rem; font-size: 0.95rem; color: var(--muted); }
.statement figcaption::before { content: "— "; }
.share-row { display: flex; align-items: center; gap: 0.85rem; margin-top: 1.75rem; }
.copy-confirm { font-size: 0.9rem; color: var(--success); }
.principle-body { padding-bottom: var(--section); }
.principle-body > section > h2 { font: 600 0.76rem/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 2.25rem 0 0.6rem; }
.principle-body > section > p { font: 400 clamp(1.13rem, 1.5vw, 1.25rem)/1.7 var(--serif); margin: 0; }
.principle-body .takeaway { margin-top: 2.75rem; }
.principle-theme { color: var(--muted); font-size: 0.95rem; margin-bottom: 3rem; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 2rem; border-top: 1px solid var(--line); }
.pager a { display: flex; flex-direction: column; gap: 0.3rem; padding: 1rem 0; text-decoration: none; font: 500 1.05rem/1.3 var(--display); }
.pager a span { font: 600 0.74rem/1.4 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pager-next { text-align: right; }
.pager a:hover { color: var(--gold-ink); }

/* -- work, advisory, speaking ------------------------------------------------- */

.format-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.format-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .format-grid, .format-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .format-grid, .format-grid-4 { grid-template-columns: 1fr; } }
.format { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; border-top: 2px solid var(--gold); }
.format h3 { font-size: 1.3rem; }
.format p:last-child { margin: 0; color: var(--ink-2); }

.engagement-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .engagement-grid { grid-template-columns: 1fr; } }
.engagement, .appearance { display: flex; flex-direction: column; padding: clamp(22px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.engagement-org { font: 600 0.74rem/1.4 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.engagement-title { font-size: 1.45rem; }
.engagement-body p { color: var(--ink-2); font-size: 0.98rem; }
.principle-note { margin-top: auto; padding: 0.9rem 1rem; background: var(--tint); border-left: 2px solid var(--gold); border-radius: var(--radius-sm); }
.principle-note p { margin: 0; font: italic 400 1.05rem/1.45 var(--serif); }
.principle-note .principle-note-label { font: 600 0.72rem/1.4 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem; font-style: normal; }
.engagement .link-arrow { margin-top: 1rem; }

.services { display: grid; gap: 20px; }
.service { padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.service h3 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); margin-bottom: 1.25rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 860px) { .service-grid { grid-template-columns: 1fr; } }
.service-label { font: 600 0.74rem/1.4 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.service-situation { font: italic 400 1.1rem/1.5 var(--serif); }
.service-grid p { color: var(--ink-2); }
.service-note { font-size: 0.88rem; color: var(--muted) !important; margin-top: 0.75rem; }

.faq { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; cursor: pointer; list-style: none; font: 500 1.12rem/1.35 var(--display); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; color: var(--gold-ink); font: 400 1.4rem/1 var(--sans); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--ink-2); margin: 0 0 1.25rem; max-width: 40em; }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding: 0.85rem 0 0.85rem 2rem; border-bottom: 1px solid var(--line); }
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: 1.3rem; width: 12px; height: 7px;
  border-left: 1.5px solid var(--gold-ink); border-bottom: 1.5px solid var(--gold-ink); transform: rotate(-45deg);
}
.check-list.compact li { padding-top: 0.5rem; padding-bottom: 0.5rem; font-size: 0.95rem; }
.check-list.compact li::before { top: 0.95rem; }

.cta-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: var(--radius); position: relative; overflow: hidden;
}
.cta-panel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold); }
.cta-panel h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.cta-panel p { color: var(--ink-2); margin: 0; max-width: 36em; font-size: 1.1rem; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.cta-actions .actions { margin-top: 0; }
.cta-note { font-size: 0.88rem; color: var(--muted) !important; max-width: 24rem; }
@media (max-width: 860px) { .cta-panel { grid-template-columns: 1fr; } }

.talk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem clamp(28px, 5vw, 72px); padding: 2.25rem 0; border-top: 1px solid var(--line); }
.talk:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .talk { grid-template-columns: 1fr; } }
.talk-num { font: 600 0.76rem/1.4 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-ink); }
.talk h3 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
.talk-intro > p:not(.talk-num) { color: var(--ink-2); }
.talk-detail h4 { font: 600 0.76rem/1.4 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.5rem; }
.talk-detail p { color: var(--ink-2); margin-bottom: 1.25rem; }
.talk-detail ul { padding-left: 1.15rem; margin-bottom: 0; color: var(--ink-2); }
.talk-detail li { margin-bottom: 0.35rem; }
.talk-detail li::marker { color: var(--gold-ink); }

.bio-stack { display: grid; gap: 16px; }
.bio-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.bio-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.bio-head h3 { font-size: 1.15rem; margin: 0; }
.bio-head .muted { font-size: 0.85rem; }
.bio-head .btn { margin-left: auto; }
.bio-text { font-family: var(--serif); font-size: 1.08rem; line-height: 1.65; }
.bio-text p:last-child { margin-bottom: 0; }

.portrait-grid { display: grid; grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.portrait-figure { max-width: 360px; }
.portrait-grid .btn { margin-bottom: 1rem; }
@media (max-width: 760px) { .portrait-grid { grid-template-columns: 1fr; } .portrait-figure { max-width: 240px; } }

.link-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.link-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.link-list a { font: 500 1.1rem/1.35 var(--display); text-decoration: none; }
.link-list a:hover { color: var(--gold-ink); }

.pathways { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.pathways h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.pathways ul { list-style: none; padding: 0; margin: 0; }
.pathways li li { padding: 0.35rem 0; }

/* -- ventures --------------------------------------------------------------- */

.venture-profiles { display: grid; gap: clamp(28px, 4vw, 48px); }
.venture-profile { padding: clamp(26px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); border-top: 3px solid var(--gold); }
.venture-profile-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.venture-profile-head h2 { margin: 0 0 0.35rem; font-size: clamp(2rem, 3.6vw, 2.8rem); }
.venture-intro { font: italic 400 1.2rem/1.4 var(--serif); color: var(--ink-2); margin: 0; }
.venture-status { text-align: right; }
.status-date { margin: 0.4rem 0 0; font-size: 0.82rem; color: var(--muted); }
.venture-profile-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: clamp(24px, 5vw, 64px); }
@media (max-width: 860px) { .venture-profile-body { grid-template-columns: 1fr; } .venture-status { text-align: left; } }
.venture-role { font-weight: 500; }
.venture-profile-body h3 { font-size: 1.3rem; margin-top: 1.75rem; }
.venture-facts { margin: 0 0 1.5rem; border-top: 1px solid var(--line); }
.venture-facts div { padding: 0.75rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.venture-facts dt { font: 600 0.72rem/1.4 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem; }
.venture-facts dd { margin: 0; }
.capabilities h3 { font: 600 0.74rem/1.4 var(--sans) !important; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.4rem !important; }
.venture-links { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; margin-top: 1.5rem; }

/* -- forms ------------------------------------------------------------------ */

.form-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }
.enquiry-aside .lead { font-size: 1.12rem; }
.aside-block { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.aside-block p { color: var(--ink-2); font-size: 0.97rem; }
.aside-block a { color: var(--accent-ink); text-decoration-color: currentColor; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-weight: 500; font-size: 0.95rem; margin-bottom: 0.35rem; }
.optional { font-weight: 400; color: var(--muted); font-size: 0.9em; }
.hint { font-size: 0.87rem; color: var(--muted); margin: -0.1rem 0 0.5rem; }
input[type="text"], input[type="email"], input[type="url"], input[type="date"], select, textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.9rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem;
}
textarea { min-height: 190px; resize: vertical; line-height: 1.55; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%235f6878' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.error { color: var(--danger); font-size: 0.87rem; margin: 0.4rem 0 0; }
.error:empty { display: none; }
.field-row, .field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.field-grid { align-items: end; }
@media (max-width: 600px) { .field-row, .field-grid { grid-template-columns: 1fr; } }

.type-picker { border: 0; padding: 0; margin: 0 0 1.25rem; min-width: 0; }
.type-picker legend { font: 500 1.25rem/1.3 var(--display); padding: 0; margin-bottom: 0.9rem; }
.type-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.type-option {
  position: relative; display: block; padding: 14px 14px 14px 44px; cursor: pointer;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); transition: border-color 0.15s, background-color 0.15s;
}
.type-option:hover { border-color: var(--ink); }
.type-option input { position: absolute; left: 15px; top: 17px; width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.type-option:has(input:checked) { border-color: var(--ink); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--ink); }
.type-option:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.type-name { display: block; font-weight: 600; font-size: 0.97rem; }
.type-blurb { display: block; margin-top: 0.15rem; font-size: 0.85rem; line-height: 1.45; color: var(--muted); }

.recipient-line { padding: 0.85rem 1rem; margin: 0 0 1.75rem; background: var(--tint); border-radius: var(--radius-sm); font-size: 0.92rem; color: var(--ink-2); }
.recipient-line::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 0.65rem; border-radius: 50%; background: var(--gold); vertical-align: 0.1em; }
.recipient-line strong { color: var(--ink); font-weight: 600; }

.type-group { border: 0; border-top: 1px solid var(--line); padding: 1.5rem 0 0.25rem; margin: 0 0 1.25rem; min-width: 0; }
.type-group legend { float: left; width: 100%; padding: 0; margin-bottom: 1rem; font: 500 1.12rem/1.3 var(--display); }
.type-group legend + * { clear: both; }
.js .type-group:not(.is-active) { display: none; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 0.5rem; }
.form-note { font-size: 0.88rem; color: var(--muted); margin: 0; }
.form-alert { margin-bottom: 1.75rem; padding: 1rem 1.2rem; background: var(--danger-soft); border-left: 3px solid var(--danger); border-radius: var(--radius-sm); font-size: 0.95rem; }
.form-alert p { margin: 0; }
.form-alert ul { margin: 0.6rem 0 0; padding-left: 1.1rem; }
.form-alert a { color: var(--accent-ink); }
.success-panel { padding: clamp(28px, 5vw, 48px); background: var(--success-soft); border-left: 3px solid var(--success); border-radius: var(--radius); }
.success-panel:focus { outline: none; }
.success-panel h1, .success-panel h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.success-panel .eyebrow { color: var(--success); }
.success-panel p:last-child { margin-bottom: 0; }
.honeypot { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* -- subscription --------------------------------------------------------------- */

.subscribe-band { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0; }
.subscribe-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold); }
/* The brand pattern drifting in from the right edge. */
.subscribe-band::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 55%; pointer-events: none;
  background: url("../img/pattern.svg") repeat right top / 121px auto; opacity: 0.08;
  -webkit-mask-image: linear-gradient(to left, #000 10%, transparent 90%); mask-image: linear-gradient(to left, #000 10%, transparent 90%);
}
.subscribe-band > .wrap { position: relative; z-index: 1; }
.subscribe-band .btn-primary { min-height: 50px; }
.subscribe-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
@media (max-width: 860px) { .subscribe-inner { grid-template-columns: 1fr; } }
.subscribe-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.subscribe-pitch { color: var(--ink-2); margin: 0; max-width: 34em; }
.subscribe-form label { display: block; font-weight: 500; font-size: 0.92rem; margin-bottom: 0.4rem; }
.inline-fields { display: flex; gap: 0.6rem; }
.inline-fields input[type="email"] { flex: 1; min-width: 0; min-height: 50px; border-radius: 999px; padding: 0 1.15rem; background: var(--surface); }
.inline-fields .btn { flex: none; }
@media (max-width: 560px) { .inline-fields { flex-direction: column; } .inline-fields .btn { width: 100%; } }
.form-status { min-height: 1.6em; margin: 0.75rem 0 0; font-size: 0.92rem; color: var(--ink-2); }
.form-status.is-error { color: var(--danger); }
.form-status.is-success { color: var(--success); font-weight: 500; }
.subscribe-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }

/* -- footer ------------------------------------------------------------------ */

.site-footer { border-top: 1px solid var(--line); }
.site-footer:has(> .subscribe-band) { border-top: 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding: 56px var(--gutter) 40px; }
.footer-grid:has(> nav:nth-of-type(4)) { grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .footer-grid, .footer-grid:has(> nav:nth-of-type(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-intro { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid, .footer-grid:has(> nav:nth-of-type(4)) { grid-template-columns: 1fr; } }
.footer-intro p { color: var(--ink-2); margin-top: 0.9rem; max-width: 24rem; font-size: 0.95rem; }
.footer-intro .brand-slogan { font-size: 0.7rem; }
.footer-grid h2 { font: 600 0.74rem/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.5rem; font-size: 0.95rem; }
.footer-grid li a { color: var(--ink-2); text-decoration: none; }
.footer-grid li a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
.footer-base p { margin: 0; }
.footer-base a { color: var(--muted); }

/* -- metrics ------------------------------------------------------------------ */

.metrics { padding-bottom: var(--section); }
.metrics h2 { font-size: 1.4rem; margin-top: 0.5rem; }
.metric-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 3rem; }
.metric { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.metric-value { margin: 0; font: 500 2.2rem/1.1 var(--display); font-variant-numeric: tabular-nums; }
.metric-label { margin: 0.25rem 0 0; font-size: 0.85rem; color: var(--muted); }
.metrics-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); }
@media (max-width: 860px) { .metrics-split { grid-template-columns: 1fr; } }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin-bottom: 2.5rem; }
.data-table th, .data-table td { text-align: left; padding: 0.65rem 0.5rem; border-bottom: 1px solid var(--line); }
.data-table th { font-weight: 500; color: var(--muted); font-size: 0.85rem; }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
