/* =============================================================
   Ember — design system (dawn)
   Concept: "Tended, not taken."  The fire is kept through the
   night; morning arrives as you scroll. Night = brand navy,
   day = brand off-white. Teal does the working; the yellow is
   the spark, the ember's light, and one primary action.
   Brand guide: #002b49 · #007096 · #e3e935 · #f3f4ec · Lato.
   Display face: Newsreader (heritage) over Lato (continuity).
   ============================================================= */

:root {
  /* brand */
  --navy: #002b49;
  --navy-deep: #051f38;
  --navy-800: #0a3352;
  --teal: #007096;
  --teal-ink: #005a78;      /* small text on light */
  --teal-soft: #8fd0e3;
  --ember: #e3e935;
  --ember-soft: #eef27a;
  --hot: #fff5cf;
  --paper: #f3f4ec;
  --paper-2: #e9ebe1;
  --white: #ffffff;

  /* theme tokens — night by default; sections and html[data-theme] override */
  --bg: var(--navy);
  --fg: var(--paper);
  --fg-70: rgba(243, 244, 236, 0.76);
  --fg-45: rgba(243, 244, 236, 0.5);
  --rule: rgba(243, 244, 236, 0.16);
  --rule-strong: rgba(243, 244, 236, 0.32);
  --accent: var(--teal-soft);
  --scrim: 0, 43, 73;
  --surface: rgba(255, 255, 255, 0.04);
  --node-idle: rgba(243, 244, 236, 0.16);

  /* type */
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.15rem, 1.05rem + 0.5vw, 1.375rem);
  --fs-h1: clamp(3.4rem, 2rem + 8vw, 8.25rem);
  --fs-h2: clamp(2.1rem, 1.5rem + 3.2vw, 4.1rem);
  --fs-statement: clamp(2.6rem, 1.6rem + 5.6vw, 6.4rem);
  --fs-fact: clamp(1.9rem, 1.4rem + 2.4vw, 3.3rem);

  /* layout */
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --max: 82rem;
  --measure: 34em;
  --nav-h: 5rem;

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 180ms;
  --t-base: 420ms;
}

[data-theme="light"] {
  --bg: var(--paper);
  --fg: var(--navy);
  --fg-70: rgba(0, 43, 73, 0.76);
  --fg-45: rgba(0, 43, 73, 0.52);
  --rule: rgba(0, 43, 73, 0.14);
  --rule-strong: rgba(0, 43, 73, 0.32);
  --accent: var(--teal);
  --scrim: 243, 244, 236;
  --surface: rgba(0, 43, 73, 0.05);
  --node-idle: rgba(0, 43, 73, 0.14);
}
[data-theme="night"] {
  --bg: var(--navy);
  --fg: var(--paper);
  --fg-70: rgba(243, 244, 236, 0.76);
  --fg-45: rgba(243, 244, 236, 0.5);
  --rule: rgba(243, 244, 236, 0.16);
  --rule-strong: rgba(243, 244, 236, 0.32);
  --accent: var(--teal-soft);
  --scrim: 0, 43, 73;
  --surface: rgba(255, 255, 255, 0.04);
  --node-idle: rgba(243, 244, 236, 0.16);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--navy); color: var(--fg);
  font-family: var(--sans); font-size: var(--fs-body); line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ember); color: var(--navy); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 2px; }
[data-theme="night"] :focus-visible, html[data-theme="night"] .nav :focus-visible { outline-color: var(--ember); }

.skip-link {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: 100; padding: 0.6rem 1rem;
  background: var(--ember); color: var(--navy); font-weight: 700; border-radius: 999px;
  transform: translateY(-200%); transition: transform var(--t-fast) var(--ease-out);
}
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px; }

/* ---------- world (fixed WebGL canvas) ---------- */
.world { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--navy); }
.world canvas { width: 100%; height: 100%; display: block; }

/* CSS ember for no-WebGL / low tier: night layer fades to day */
.world-fallback { position: absolute; inset: 0; display: none; background: var(--paper); }
.world-fallback .night, .world-fallback .day { position: absolute; inset: 0; transition: opacity 1200ms ease; }
.world-fallback .night {
  background:
    radial-gradient(40rem 40rem at 68% 55%, rgba(0, 112, 150, 0.22), transparent 62%),
    radial-gradient(22rem 22rem at 68% 55%, rgba(227, 233, 53, 0.22), transparent 65%), var(--navy);
}
.world-fallback .day {
  opacity: 0;
  background:
    radial-gradient(34rem 34rem at 68% 60%, rgba(0, 112, 150, 0.12), transparent 62%),
    radial-gradient(18rem 18rem at 68% 60%, rgba(227, 233, 53, 0.25), transparent 65%), var(--paper);
}
.world-fallback::after {
  content: ""; position: absolute; left: 68%; top: 55%; width: 13rem; height: 13rem; transform: translate(-50%, -50%);
  border-radius: 50%; background: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20role%3D%22img%22%20aria-label%3D%22Ember%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220.6%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23e3e935%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23007096%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Ccircle%20cx%3D%2250%22%20cy%3D%2250%22%20r%3D%2250%22%20fill%3D%22url(%23g)%22%2F%3E%3Cg%20transform%3D%22translate(28.00%2023.00)%20scale(0.6719)%22%3E%3Cg%20transform%3D%22translate(-180.4180%20-347.2695)%22%20fill%3D%22%23ffffff%22%3E%3Cpath%20d%3D%22M%20218.96875%20394.515625%20C%20219.226562%20392.234375%20219.378906%20387.683594%20218.121094%20383.90625%20C%20215.667969%20380.621094%20211.648438%20376.949219%20204.203125%20371.886719%20C%20203.976562%20371.742188%20203.914062%20371.429688%20204.078125%20371.210938%20C%20205.21875%20369.667969%20209.207031%20358.574219%20210.824219%20349.78125%20C%20210.914062%20349.289062%20211.589844%20349.269531%20211.703125%20349.757812%20C%20213.175781%20355.972656%20219.421875%20379.609375%20243.460938%20382.785156%20C%20243.914062%20382.847656%20243.890625%20383.566406%20243.445312%20383.679688%20C%20239.902344%20384.601562%20226.503906%20387.40625%20219.738281%20394.921875%20C%20219.429688%20395.265625%20218.871094%20394.976562%20218.96875%20394.515625%22%2F%3E%3Cpath%20d%3D%22M%20207.367188%20380.398438%20C%20207.105469%20382.675781%20206.953125%20387.226562%20208.210938%20391.007812%20C%20210.664062%20394.289062%20214.683594%20397.960938%20222.128906%20403.023438%20C%20222.355469%20403.167969%20222.417969%20403.484375%20222.253906%20403.703125%20C%20221.113281%20405.242188%20217.125%20416.339844%20215.507812%20425.128906%20C%20215.417969%20425.621094%20214.742188%20425.640625%20214.628906%20425.152344%20C%20213.15625%20418.9375%20206.910156%20395.304688%20182.871094%20392.125%20C%20182.417969%20392.066406%20182.441406%20391.347656%20182.886719%20391.230469%20C%20186.429688%20390.308594%20199.828125%20387.503906%20206.59375%20379.992188%20C%20206.90625%20379.644531%20207.460938%20379.933594%20207.367188%20380.398438%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / contain no-repeat;
  box-shadow: 0 0 6rem 1.5rem rgba(227, 233, 53, 0.14), 0 0 14rem 4rem rgba(0, 112, 150, 0.14);
  animation: breathe 5s ease-in-out infinite;
}
html.no-webgl .world-fallback { display: block; }
html.no-webgl .world canvas { display: none; }
html.no-webgl[data-theme="light"] .world-fallback .night { opacity: 0; }
html.no-webgl[data-theme="light"] .world-fallback .day { opacity: 1; }
@keyframes breathe { 0%, 100% { transform: translate(-50%, -50%) scale(1); filter: brightness(1); } 50% { transform: translate(-50%, -50%) scale(1.04); filter: brightness(1.18); } }
@media (max-width: 760px) { .world-fallback::after { left: 50%; top: 40%; width: 11rem; height: 11rem; } }

/* ---------- loader (ignition) ---------- */
.loader { position: fixed; inset: 0; z-index: 60; background: var(--navy); display: grid; place-items: center; }
.loader-ember { width: 10px; height: 10px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 24px 6px rgba(227, 233, 53, 0.55), 0 0 80px 22px rgba(0, 112, 150, 0.3); animation: loader-breathe 1.6s ease-in-out infinite; }
@keyframes loader-breathe { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.35); opacity: 1; } }
.loader-note { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); width: 5.5rem; opacity: 0.6; color: var(--paper); }
html.is-ready .loader { pointer-events: none; }

/* ---------- content stack ---------- */
.page { position: relative; z-index: 1; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- logo ---------- */
.logo { display: block; height: 1.75rem; width: auto; color: var(--fg); }
.logo .letters { fill: currentColor; }
.logo .spark { fill: var(--ember); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h); color: var(--fg); transition: transform 480ms var(--ease-out), background-color 320ms ease, box-shadow 320ms ease, color 320ms ease; }
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-scrolled { background: rgba(var(--scrim), 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--rule); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; }
.nav-links { display: flex; gap: clamp(1.25rem, 2.4vw, 2.5rem); align-items: center; }
.nav-links a { font-size: 0.95rem; color: var(--fg-70); position: relative; padding: 0.35rem 0; transition: color var(--t-fast) ease; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--t-base) var(--ease-out); }
.nav-links a:hover, .nav-links a.is-current { color: var(--fg); }
.nav-links a:hover::after, .nav-links a.is-current::after { transform: scaleX(1); }
.nav-cta { display: inline-flex; }

.menu-btn { display: none; align-items: center; gap: 0.6rem; padding: 0.6rem 0.2rem; color: var(--fg); font-size: 0.95rem; }
.menu-btn .bars { width: 22px; height: 12px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform var(--t-base) var(--ease-out), top var(--t-base) var(--ease-out); }
.menu-btn .bars::before { top: 0; } .menu-btn .bars::after { top: 10px; }
html.menu-open .menu-btn .bars::before { top: 5px; transform: rotate(45deg); }
html.menu-open .menu-btn .bars::after { top: 5px; transform: rotate(-45deg); }
html.menu-open .nav { color: var(--paper); background: transparent; box-shadow: none; }

.menu { position: fixed; inset: 0; z-index: 45; background: rgba(0, 43, 73, 0.97); color: var(--paper); display: grid; align-content: center; padding: var(--gutter); opacity: 0; visibility: hidden; transition: opacity 360ms ease, visibility 0s linear 360ms; }
html.menu-open .menu { opacity: 1; visibility: visible; transition: opacity 360ms ease; }
.menu a { font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.2; color: var(--paper); display: block; padding: 0.2em 0; }
.menu .menu-foot { margin-top: 2rem; color: rgba(243, 244, 236, 0.55); font-size: 0.95rem; }

@media (max-width: 900px) {
  .nav .nav-links, .nav .nav-cta { display: none; }
  .nav .menu-btn { display: inline-flex; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 0.95rem 1.6rem; border-radius: 999px; font-family: var(--sans); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em; transition: background-color var(--t-fast) ease, color var(--t-fast) ease, box-shadow var(--t-base) ease, transform var(--t-base) var(--ease-out); will-change: transform; }
.btn-primary { background: var(--ember); color: var(--navy); }
.btn-primary:hover { background: var(--ember-soft); box-shadow: 0 0 34px 2px rgba(227, 233, 53, 0.3); }
.btn-primary:active { transform: scale(0.98); }
.btn-ghost { color: var(--fg); box-shadow: inset 0 0 0 1px var(--rule-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--accent); }

.link { position: relative; color: var(--fg); font-weight: 700; font-size: 0.95rem; padding-bottom: 0.15rem; background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 100% / 100% 1px; transition: background-size var(--t-base) var(--ease-out); }
.link:hover { background-size: 100% 2px; }

/* ---------- sections ---------- */
.section { position: relative; padding-block: clamp(6rem, 14vh, 11rem); color: var(--fg); }
.section-hero { min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--nav-h) + 3rem); }

.chapter { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--accent); font-size: 0.95rem; margin-bottom: 1.6rem; }
.chapter::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--ember); box-shadow: 0 0 10px 2px rgba(227, 233, 53, 0.4); }
[data-theme="light"] .chapter::before { box-shadow: none; }

.eyebrow { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--fg-70); margin-bottom: 1.4rem; }

h1, .h1 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h1); line-height: 0.96; letter-spacing: -0.025em; color: var(--fg); text-wrap: balance; }
h2, .h2 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.02em; color: var(--fg); max-width: 12em; text-wrap: balance; }
h3, .h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1.2; letter-spacing: -0.01em; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--fg); max-width: 30em; }
.prose { max-width: var(--measure); color: var(--fg-70); }
.prose + .prose { margin-top: 1.1rem; }
.col { max-width: 36rem; }

.reveal-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.02em 0.06em 0.1em; margin: -0.02em -0.06em -0.1em; }
.reveal-words .wi { display: inline-block; will-change: transform; }

/* ---------- hero ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; align-items: end; }
.hero-col { max-width: 38rem; }
.hero h1 { margin-bottom: 2rem; }
.hero h1 .indent { display: block; padding-left: clamp(1.5rem, 8vw, 7rem); }
.hero .lead { margin-bottom: 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; }
.hero-scrollhint { justify-self: end; align-self: end; color: var(--fg-45); font-size: 0.85rem; display: inline-flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.hero-scrollhint::after { content: ""; width: 1px; height: 3rem; background: linear-gradient(var(--accent), transparent); animation: hint 2.4s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: scaleY(0.6); transform-origin: top; opacity: 0.5; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- stake ---------- */
.section-stake { padding-bottom: clamp(14rem, 42vh, 26rem); } /* room below the copy so the dawn happens over empty sky */
.pressures { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; border-top: 1px solid var(--rule); padding-top: 2rem; max-width: 60rem; }
.pressures h3 { margin-bottom: 0.5rem; }
.pressures p { color: var(--fg-70); font-size: 0.98rem; }

/* ---------- dawn: the turn of the story ---------- */
.section-dawn { min-height: 92svh; display: flex; align-items: center; padding-top: 0; padding-bottom: 0; }
.dawn-line { font-family: var(--serif); font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.1; letter-spacing: -0.015em; max-width: 14em; color: var(--fg); }

/* ---------- alignment ---------- */
.facts { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2rem; max-width: 60rem; }
.fact { border-top: 1px solid var(--rule-strong); padding-top: 1.1rem; }
.fact strong { display: block; font-family: var(--serif); font-weight: 400; font-size: var(--fs-fact); line-height: 1.05; letter-spacing: -0.02em; color: var(--fg); margin-bottom: 0.5rem; }
.fact span { color: var(--fg-70); font-size: 0.98rem; }
.governance { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.9rem; color: var(--fg-70); font-size: 0.98rem; max-width: 60rem; }
.governance b { color: var(--fg); font-weight: 700; }
.governance .arrow { width: 2.2rem; height: 1px; background: var(--accent); position: relative; flex: 0 0 auto; }
.governance .arrow::after { content: ""; position: absolute; right: -1px; top: -3px; width: 7px; height: 7px; border: 1px solid var(--accent); border-left: 0; border-bottom: 0; transform: rotate(45deg); }
.note { margin-top: 2rem; font-size: 0.85rem; color: var(--fg-45); max-width: 46rem; }

/* ---------- services ledger ---------- */
.ledger { margin-top: 3rem; border-top: 1px solid var(--rule-strong); max-width: 48rem; }
.row { display: grid; grid-template-columns: 2.2rem minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem 2rem; align-items: start; padding: 1.8rem 0; border-bottom: 1px solid var(--rule); position: relative; }
.row .node { margin-top: 0.55rem; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--node-idle); transition: background-color var(--t-base) ease, box-shadow var(--t-base) ease, transform var(--t-base) var(--ease-out); }
.row.is-active .node, .row:hover .node { background: var(--accent); box-shadow: 0 0 14px 3px rgba(0, 112, 150, 0.35); transform: scale(1.2); }
.row h3 { transition: color var(--t-fast) ease; }
.row.is-active h3, .row:hover h3 { color: var(--accent); }
[data-theme="night"] .row.is-active h3, [data-theme="night"] .row:hover h3 { color: var(--hot); }
.row p { color: var(--fg-70); max-width: 34em; }

/* ---------- leadership: the orbit ---------- */
.orbit {
  --d: clamp(3.4rem, 8.6vw, 6.2rem);          /* portrait diameter */
  --radius: 42cqw;                              /* ring radius, from the orbit's own width */
  --spin: 0deg;
  position: relative; width: min(100%, 52rem); aspect-ratio: 1; margin: 3.5rem auto 0; container-type: inline-size;
}
.orbit-rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-rings circle { fill: none; stroke: var(--accent); stroke-width: 0.3; stroke-linecap: round; }
.orbit-rings .ring-outer { stroke-dasharray: 1.6 2.6; opacity: 0.85; }
.orbit-rings .ring-inner { stroke-dasharray: 2.4 3.4; opacity: 0.55; }
.orbit-people { position: absolute; inset: 0; transform: rotate(var(--spin)); }
.orbit-person {
  position: absolute; left: 50%; top: 50%; width: var(--d); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2);
  transform: rotate(calc(var(--i) * var(--step, 30deg) - 90deg)) translateX(var(--radius)) rotate(calc(90deg - var(--i) * var(--step, 30deg))) rotate(calc(-1 * var(--spin)));
}
.orbit-person .disc {
  display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: var(--paper-2);
  box-shadow: 0 0 0 3px var(--white), 0 10px 26px rgba(0, 43, 73, 0.18);
  transition: transform 500ms var(--ease-out), box-shadow 500ms ease;
}
.orbit-person .disc img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: grayscale(1) contrast(1.04); }
.orbit-person:hover .disc { transform: scale(1.08); box-shadow: 0 0 0 3px var(--white), 0 16px 34px rgba(0, 43, 73, 0.26); }
.orbit-name {
  position: absolute; top: calc(100% + 0.6rem); left: 50%; transform: translateX(-50%); width: max-content; max-width: 14rem;
  text-align: center; font-size: 0.82rem; line-height: 1.3; color: var(--fg); opacity: 0; transition: opacity 200ms ease; pointer-events: none;
  background: rgba(var(--scrim), 0.92); padding: 0.35rem 0.6rem; border-radius: 2px;
}
.orbit-name b { display: block; font-weight: 700; }
.orbit-name small { display: block; font-size: 0.78rem; color: var(--fg-70); white-space: normal; }
.orbit-person:hover .orbit-name { opacity: 1; }
.orbit-center {
  position: absolute; left: 50%; top: 50%; width: calc(var(--d) * 1.55); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; box-shadow: 0 0 0 6px var(--white), 0 16px 40px rgba(0, 43, 73, 0.22); background: var(--teal);
}
.orbit-badge { width: 100%; height: 100%; display: block; border-radius: 50%; }
.orbit-caption { text-align: center; margin-top: 1.4rem; font-size: 0.88rem; color: var(--fg-45); }
.roster { margin: 3rem auto 0; max-width: 60rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem 2rem; font-size: 0.95rem; color: var(--fg-70); }
.roster li b { display: block; color: var(--fg); font-weight: 700; }
.roster li span { display: block; line-height: 1.4; }

.bench { margin-top: 4rem; border-top: 1px solid var(--rule); padding-top: 2.5rem; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem 3rem; align-items: start; }
.bench-figure { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: var(--navy); margin: 0; }
.bench-figure img { width: 100%; height: 100%; object-fit: cover; }
.bench-figure figcaption { position: absolute; left: 1.1rem; bottom: 1rem; right: 1.1rem; color: var(--paper); font-size: 0.85rem; opacity: 0.85; }
.bench h3 { margin-bottom: 0.6rem; }
.bench ul { margin-top: 1.6rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem 2rem; color: var(--fg-70); font-size: 0.95rem; }
.bench li b { color: var(--fg); font-weight: 700; }
.bench li span { display: block; }

/* ---------- mission: the photographic band (mirrors the brand's tinted lockup) ---------- */
.section-mission { text-align: center; padding-block: clamp(8rem, 22vh, 16rem); background: var(--navy); overflow: hidden; }
.band-photo { position: absolute; inset: 0; z-index: 0; }
.band-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.band-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 43, 73, 0.55), rgba(0, 43, 73, 0.35) 50%, rgba(0, 43, 73, 0.65)); }
.section-mission .wrap { position: relative; z-index: 1; }
.statement { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: var(--fs-statement); line-height: 1.02; letter-spacing: -0.02em; color: var(--white); margin-inline: auto; max-width: 12em; text-wrap: balance; }
.section-mission .prose { margin: 2.2rem auto 0; max-width: 34em; color: rgba(243, 244, 236, 0.85); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 3rem 5rem; align-items: start; }
.contact-aside { padding-top: 0.5rem; }
.contact-aside p { color: var(--fg-70); max-width: 26em; }
.contact-aside .email { display: inline-block; margin-top: 1.4rem; font-family: var(--serif); font-size: 1.5rem; color: var(--fg); }
.social { display: flex; gap: 1.4rem; margin-top: 2rem; }
.social a { color: var(--fg-70); font-size: 0.95rem; transition: color var(--t-fast) ease; }
.social a:hover { color: var(--fg); }

.form { display: grid; gap: 1.4rem; margin-top: 3rem; max-width: 40rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.88rem; color: var(--fg-70); }
.field input, .field textarea { width: 100%; background: transparent; color: var(--fg); font: inherit; border: 0; border-bottom: 1px solid var(--rule-strong); padding: 0.7rem 0; border-radius: 0; transition: border-color var(--t-fast) ease; }
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #c9483e; }
.field .error { font-size: 0.82rem; color: #c9483e; min-height: 1.2em; }
.form-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.form-status { font-size: 0.95rem; color: var(--fg-70); }
.form-status.is-ok { color: var(--accent); }
.hp { position: absolute; left: -9999px; }

/* ---------- footer (night again: the bookend) ---------- */
.footer { background: var(--navy); color: var(--paper); padding: 4rem 0 2.5rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(243, 244, 236, 0.16); }
.footer-top .logo { height: 2.2rem; }
.footer-tag { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: rgba(243, 244, 236, 0.85); max-width: 22em; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.6rem; color: rgba(243, 244, 236, 0.55); font-size: 0.88rem; }
.footer-inner a:hover { color: var(--paper); }
.footer-links { display: flex; gap: 1.4rem; }

/* ---------- chapter indicator (desktop) ---------- */
.progress { position: fixed; left: var(--gutter); bottom: 1.75rem; z-index: 40; display: flex; align-items: center; gap: 0.9rem; color: var(--fg-45); font-size: 0.82rem; opacity: 0; transition: opacity 400ms ease, color 320ms ease; pointer-events: none; }
.progress.is-visible { opacity: 1; }
.progress .bar { width: 4rem; height: 1px; background: var(--rule-strong); position: relative; overflow: hidden; }
.progress .bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
@media (max-width: 900px) { .progress { display: none; } }

/* ---------- custom cursor (fine pointers only) ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  html.has-cursor .cursor { display: block; position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 1px solid var(--fg-45); transition: width 260ms var(--ease-out), height 260ms var(--ease-out), margin 260ms var(--ease-out), border-color 260ms ease, background-color 260ms ease, opacity 200ms ease; opacity: 0; }
  html.has-cursor .cursor::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: var(--ember); }
  html.has-cursor .cursor.is-on { opacity: 1; }
  html.has-cursor .cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: var(--accent); background: rgba(0, 112, 150, 0.12); }
  html.has-cursor .cursor.is-down { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-scrollhint { display: none; }
  .pressures, .facts { grid-template-columns: 1fr; gap: 1.6rem; }
  .row { grid-template-columns: 1.6rem minmax(0, 1fr); }
  .row p { grid-column: 2; }
  .bench { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --nav-h: 4.25rem; }
  .section { padding-block: clamp(4.5rem, 12vh, 7rem); }
  .section-hero { align-items: flex-end; padding-bottom: 4rem; min-height: 100svh; }
  /* phones: keep the night-to-day turn, but without the long empty stretch */
  .section-stake { padding-bottom: 3.5rem; }
  .section-dawn { min-height: 0; padding-block: 4.5rem 1.5rem; }
  .hero h1 .indent { padding-left: 1.2rem; }
  .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .orbit-name { display: none; }
  .bench ul { grid-template-columns: 1fr; }
  .logo { height: 1.5rem; }
  .orbit { --radius: 40cqw; }
  /* copy sits on a reading scrim in the section's own theme so the world never fights the text */
  .section:not(.section-mission) .wrap { position: relative; }
  .section:not(.section-mission) .wrap::before { content: ""; position: absolute; inset: -1.25rem calc(-1 * var(--gutter)); z-index: -1; background: linear-gradient(rgba(var(--scrim), 0), rgba(var(--scrim), 0.82) 8%, rgba(var(--scrim), 0.82) 92%, rgba(var(--scrim), 0)); }
  .section-hero .wrap::before { background: linear-gradient(rgba(var(--scrim), 0), rgba(var(--scrim), 0.86) 30%, rgba(var(--scrim), 0.86)); inset: -1.25rem calc(-1 * var(--gutter)) -4rem; }
  .section-dawn .wrap::before { display: none; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .loader-ember, .world-fallback::after, .hero-scrollhint::after { animation: none; }
}

/* ---------- print ---------- */
@media print {
  .world, .loader, .nav, .menu, .cursor, .progress { display: none !important; }
  body, .section, .section-mission, .footer { background: #fff !important; color: #000 !important; }
  .band-photo { display: none; }
  h1, h2, h3, .statement, .fact strong { color: #000 !important; }
}


/* ---------- WordPress additions ---------- */
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
.admin-bar .menu { top: 32px; }
/* inner pages (privacy, blog posts, etc.) */
.inner { background: var(--paper); color: var(--navy); min-height: 70vh; padding: calc(var(--nav-h) + 4rem) 0 6rem; }
.inner .entry { max-width: 46rem; }
.inner .entry h1 { font-size: var(--fs-h2); margin-bottom: 2rem; }
.inner .entry h2 { font-size: 2rem; margin: 2.5rem 0 1rem; max-width: none; }
.inner .entry p, .inner .entry ul, .inner .entry ol { margin: 0 0 1.1rem; color: rgba(0,43,73,.82); }
.inner .entry ul { list-style: disc; padding-left: 1.4rem; }
.inner .entry a { color: var(--teal-ink); text-decoration: underline; }
.inner .entry img { height: auto; }
body.ember-inner .nav { color: var(--navy); background: rgba(243,244,236,.92); box-shadow: 0 1px 0 rgba(0,43,73,.14); }
body.ember-inner .nav-links a { color: rgba(0,43,73,.76); }
body.ember-inner .nav-links a:hover { color: var(--navy); }
body.ember-inner .nav-links a::after { background: var(--teal); }
body.ember-inner .loader, body.ember-inner .world, body.ember-inner .cursor { display: none; }
body.ember-inner {
  --bg: var(--paper); --fg: var(--navy); --fg-70: rgba(0,43,73,.76); --fg-45: rgba(0,43,73,.52);
  --rule: rgba(0,43,73,.14); --rule-strong: rgba(0,43,73,.32); --accent: var(--teal); --scrim: 243,244,236;
  background: var(--paper);
}
body.ember-inner .footer { --fg: var(--paper); }
html.menu-open body.ember-inner .nav .logo, html.menu-open body.ember-inner .menu-btn { color: var(--paper); }
html.menu-open body.ember-inner .nav { background: transparent; box-shadow: none; }
body.ember-inner .page { min-height: 100vh; display: flex; flex-direction: column; }
body.ember-inner .inner { flex: 1; }

/* ---------- leadership bios: click a portrait, a bubble opens in the centre ---------- */
.orbit-person button.disc { padding: 0; border: 0; cursor: pointer; font: inherit; }
.orbit-person.is-selected .disc { transform: scale(1.1); box-shadow: 0 0 0 3px var(--ember), 0 16px 34px rgba(0, 43, 73, 0.26); }
.orbit.is-open .orbit-person:not(.is-selected) .disc img { opacity: 0.55; transition: opacity 300ms ease; }
.orbit-bubble {
  position: absolute; left: 50%; top: 50%; z-index: 3; width: 60%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(0.86);
  border-radius: 50%; background: var(--white); color: var(--navy); opacity: 0;
  box-shadow: 0 0 0 6px var(--paper-2), 0 24px 60px rgba(0, 43, 73, 0.22);
  transition: opacity 280ms ease, transform 420ms var(--ease-out);
  display: grid; place-items: center; overflow: hidden;
}
.orbit-bubble.is-visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.orbit-bubble[hidden] { display: none; }
.bubble-inner { width: 74%; max-height: 80%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.bubble-photo { width: clamp(4.2rem, 24cqw, 7.5rem); aspect-ratio: 1; border-radius: 50%; overflow: hidden; flex: 0 0 auto; background: var(--paper-2); box-shadow: 0 0 0 3px var(--ember); margin-bottom: 0.9rem; }
.bubble-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: grayscale(1) contrast(1.04); }
.bubble-name { font-family: var(--serif); font-size: clamp(1.15rem, 3.4cqw, 1.6rem); line-height: 1.15; letter-spacing: -0.01em; }
.bubble-role { margin-top: 0.25rem; font-size: 0.82rem; line-height: 1.35; color: var(--teal-ink); }
.bubble-bio { margin-top: 0.8rem; font-size: 0.9rem; line-height: 1.55; color: rgba(0, 43, 73, 0.8); overflow-y: auto; min-height: 0; padding: 0 0.25rem; overscroll-behavior: contain; }
.bubble-bio a { color: var(--teal-ink); text-decoration: underline; }
.orbit-bubble:not(.has-bio) .bubble-bio { display: none; }
.bubble-close {
  position: absolute; top: 13%; right: 13%; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.4rem; line-height: 1; color: var(--navy); background: var(--paper); transition: background-color var(--t-fast) ease;
}
.bubble-close:hover { background: var(--ember); }
.bubble-close:focus-visible { outline-color: var(--teal); }
/* small screens: the circle is too small for text, so the bubble becomes a rounded card over it */
@media (max-width: 760px) {
  .orbit-bubble { width: 94%; height: 94%; aspect-ratio: auto; border-radius: 1.25rem; padding: 1.1rem 1rem 1rem; display: flex; }
  .bubble-inner { width: 100%; max-height: 100%; min-height: 0; justify-content: center; }
  .bubble-photo { width: 3.6rem; margin-bottom: 0.5rem; }
  .bubble-name { font-size: 1.15rem; }
  .bubble-bio { margin-top: 0.5rem; font-size: 0.85rem; line-height: 1.5; flex: 0 1 auto; }
  .bubble-close { top: 0.5rem; right: 0.5rem; width: 2rem; height: 2rem; }
}

/* =============================================================
   Journal (blog)
   ============================================================= */
.journal-head { max-width: 46rem; margin-bottom: 3rem; }
.journal-head h1 { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.02em; margin-bottom: 1.2rem; }
.journal-intro { color: var(--fg-70); font-size: var(--fs-lead); line-height: 1.5; max-width: 36em; }
.journal-intro p { margin: 0 0 0.8rem; }
.journal-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.journal-cats a { font-size: 0.88rem; padding: 0.45rem 0.95rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule-strong); color: var(--fg-70); transition: box-shadow var(--t-fast) ease, color var(--t-fast) ease, background-color var(--t-fast) ease; }
.journal-cats a:hover { color: var(--navy); box-shadow: inset 0 0 0 1px var(--teal); }
.journal-cats a[aria-current="page"] { background: var(--navy); color: var(--paper); box-shadow: none; }

/* cards */
.post-card { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.post-art { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: var(--navy); }
.post-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.post-card:hover .post-art img { transform: scale(1.035); }
.post-art-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--ember);
  background: radial-gradient(60% 80% at 70% 60%, rgba(0, 112, 150, 0.55), transparent 70%), var(--navy); }
.post-art-placeholder svg { width: 16%; height: auto; filter: drop-shadow(0 0 18px rgba(227, 233, 53, 0.35)); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.9rem; font-size: 0.82rem; color: var(--fg-45); margin: 0; }
.post-meta > * + *::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; margin-right: 0.9rem; vertical-align: middle; opacity: 0.7; }
.post-cat { color: var(--teal-ink); font-weight: 700; letter-spacing: 0.02em; }
.post-cat:hover { text-decoration: underline; }
.post-title { font-family: var(--serif); font-weight: 400; font-size: 1.55rem; line-height: 1.15; letter-spacing: -0.01em; margin: 0.35rem 0 0.55rem; max-width: none; color: var(--navy); }
.post-title a { background: linear-gradient(var(--teal), var(--teal)) no-repeat 0 100% / 0 1px; transition: background-size var(--t-base) var(--ease-out); }
.post-card:hover .post-title a { background-size: 100% 1px; }
.post-excerpt { color: var(--fg-70); font-size: 0.98rem; line-height: 1.6; margin: 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 2.2rem; }
.post-card.is-featured { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem; align-items: center; padding-bottom: 3.5rem; margin-bottom: 3.5rem; border-bottom: 1px solid var(--rule); }
.post-card.is-featured .post-title { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.9rem); line-height: 1.06; letter-spacing: -0.02em; }
.post-card.is-featured .post-excerpt { font-size: 1.05rem; margin-bottom: 1.4rem; }
.journal-empty { padding: 3rem 0; border-top: 1px solid var(--rule); }
.journal-empty h2 { font-size: 2rem; margin-bottom: 0.6rem; }
.journal-empty p { color: var(--fg-70); }

/* pagination */
.journal-pages { margin-top: 4rem; }
.journal-pages .nav-links { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.journal-pages .page-numbers { min-width: 2.6rem; height: 2.6rem; padding: 0 0.9rem; display: inline-grid; place-items: center; border-radius: 999px; font-size: 0.92rem; color: var(--fg-70); box-shadow: inset 0 0 0 1px var(--rule); }
.journal-pages a.page-numbers:hover { color: var(--navy); box-shadow: inset 0 0 0 1px var(--teal); }
.journal-pages .page-numbers.current { background: var(--navy); color: var(--paper); box-shadow: none; }
.journal-pages .page-numbers.dots { box-shadow: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- article ---------- */
.inner.article { padding-bottom: 4rem; }
.article-head { width: min(100% - 2 * var(--gutter), 44rem); margin-bottom: 3rem; }
.article-back { display: inline-block; font-size: 0.9rem; color: var(--teal-ink); font-weight: 700; margin-bottom: 2rem; }
.article-back:hover { text-decoration: underline; }
.article-head h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.025em; margin: 1rem 0 1.4rem; text-wrap: balance; }
.article-dek { font-family: var(--serif); font-style: italic; font-size: var(--fs-lead); line-height: 1.45; color: var(--fg-70); max-width: 34em; margin: 0 0 1.4rem; }
.article-byline { font-size: 0.9rem; color: var(--fg-45); margin: 0; }
.article-hero { margin: 0 auto 3.5rem; width: min(100% - 2 * var(--gutter), 88rem); }
.article-hero img { width: 100%; height: auto; max-height: 78vh; object-fit: cover; border-radius: 4px; display: block; }
.article-hero figcaption { font-size: 0.85rem; color: var(--fg-45); margin-top: 0.7rem; }

/* article body: everything the post editor can produce */
.post-content { max-width: 44rem; margin-inline: auto; font-size: 1.12rem; line-height: 1.75; color: rgba(0, 43, 73, 0.86); }
.post-content > * { margin: 0 0 1.4rem; }
.post-content h2 { font-family: var(--serif); font-weight: 400; font-size: 2.1rem; line-height: 1.12; letter-spacing: -0.015em; color: var(--navy); margin: 3rem 0 1rem; max-width: none; }
.post-content h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.2; color: var(--navy); margin: 2.4rem 0 0.8rem; }
.post-content h4 { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; color: var(--navy); margin: 2rem 0 0.6rem; }
.post-content a { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 0.18em; }
.post-content a:hover { color: var(--navy); }
.post-content strong { color: var(--navy); }
.post-content ul, .post-content ol { padding-left: 1.4rem; list-style: revert; }
.post-content li { margin-bottom: 0.5rem; }
.post-content li::marker { color: var(--teal); }
.post-content blockquote, .post-content .wp-block-quote { margin: 2.4rem 0; padding: 0.2rem 0 0.2rem 1.6rem; border-left: 3px solid var(--ember); }
.post-content blockquote p { font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1.35; color: var(--navy); margin: 0 0 0.6rem; }
.post-content blockquote cite { font-size: 0.88rem; font-style: normal; color: var(--fg-45); }
.post-content .wp-block-pullquote { border: 0; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); padding: 2rem 0; text-align: left; }
.post-content .wp-block-pullquote blockquote { border: 0; padding: 0; margin: 0; }
.post-content .wp-block-pullquote p { font-size: 2rem; line-height: 1.2; }
.post-content img { max-width: 100%; height: auto; border-radius: 4px; }
.post-content figure { margin: 2.4rem 0; }
.post-content figcaption, .post-content .wp-element-caption { font-size: 0.85rem; color: var(--fg-45); margin-top: 0.6rem; text-align: left; }
.post-content .alignwide { width: min(100vw - 2 * var(--gutter), 64rem); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.post-content .alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.post-content .alignfull img { border-radius: 0; }
.post-content hr, .post-content .wp-block-separator { border: 0; border-top: 1px solid var(--rule-strong); margin: 3rem 0; }
.post-content .wp-block-button__link { background: var(--ember); color: var(--navy); font-weight: 700; border-radius: 999px; padding: 0.85rem 1.5rem; text-decoration: none; font-size: 0.95rem; }
.post-content .wp-block-button__link:hover { background: var(--ember-soft); color: var(--navy); }
.post-content .is-style-outline .wp-block-button__link { background: transparent; box-shadow: inset 0 0 0 1px var(--rule-strong); }
.post-content table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.post-content th, .post-content td { border-bottom: 1px solid var(--rule); padding: 0.7rem 0.6rem; text-align: left; }
.post-content th { color: var(--navy); }
.post-content code { font-size: 0.9em; background: var(--paper-2); padding: 0.1em 0.35em; border-radius: 3px; }
.post-content pre { background: var(--navy); color: var(--paper); padding: 1.2rem; border-radius: 4px; overflow-x: auto; font-size: 0.9rem; }
.post-content pre code { background: none; padding: 0; }
.post-content .wp-block-embed iframe { max-width: 100%; }
.post-content .wp-block-embed.is-type-video .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.post-content .wp-block-embed.is-type-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.article-tags { max-width: 44rem; margin-inline: auto !important; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin: 2.5rem 0 0; font-size: 0.9rem; }
.article-tags a { color: var(--teal-ink); }
.article-tags a:hover { text-decoration: underline; }

.article-cta { margin: 5rem 0 0; padding: clamp(2rem, 4vw, 3.5rem); border-radius: 6px; background: var(--navy); color: var(--paper);
  display: flex; flex-wrap: wrap; gap: 1.6rem 3rem; align-items: center; justify-content: space-between; }
.article-cta .chapter { color: var(--teal-soft); margin-bottom: 0.9rem; }
.article-cta h2 { color: var(--paper); font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem); max-width: 16em; }
.article-more { margin-top: 5rem; padding-top: 3rem; border-top: 1px solid var(--rule); }
.article-more > h2 { font-size: 2rem; margin-bottom: 2.2rem; max-width: none; }

@media (max-width: 1000px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .post-card.is-featured { grid-template-columns: 1fr; gap: 1.2rem; }
}
@media (max-width: 760px) {
  .inner { padding-top: calc(var(--nav-h) + 2.5rem); }
  .post-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .post-card.is-featured { padding-bottom: 2.6rem; margin-bottom: 2.6rem; }
  .journal-head { margin-bottom: 2.2rem; }
  .post-content { font-size: 1.05rem; }
  .post-content h2 { font-size: 1.75rem; }
  .post-content blockquote p { font-size: 1.3rem; }
  .article-hero { width: 100%; margin-bottom: 2.4rem; }
  .article-hero img { border-radius: 0; max-height: none; }
  .article-hero figcaption { padding-inline: var(--gutter); }
  .article-cta { margin-top: 3.5rem; }
}
.footer-links { flex-wrap: wrap; gap: 0.6rem 1.4rem; }
