/* Subpages (initiatives): the landing's tokens, type, ground and materials, without its scroll scenes. Night theme.
   The top bar, footer and .pill come from the shared shell (content/partials/header.css). */
:root {
  --ground: #0b0d12; --surface: #0e1017; --surface-raised: #12151d; --line: #222632;
  --text: #ebe6da; --text-muted: #a7abb9; --text-faint: #8a8f9e; --ivory: #ebe6da; --ink: #11141c;
  --blue: #5aa8ff; --gold: #d9b45a;
  --font-display: Spectral, "Iowan Old Style", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--text); font-family: var(--font-display); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.wrap { position: relative; z-index: 1; padding-left: max(21px, env(safe-area-inset-left, 0px)); padding-right: max(21px, env(safe-area-inset-right, 0px)); max-width: 1280px; margin: 0 auto; }
.ground { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
a { color: inherit; text-underline-offset: 0.2em; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 300; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 6vw, 84px); line-height: 0.98; }
h1 i, h2 i { font-style: italic; }
h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1; }
h3 { font-size: 23px; line-height: 1.25; font-weight: 400; letter-spacing: -0.01em; }
p { margin: 0; color: var(--text-muted); }
.lead { font-size: clamp(19px, 2vw, 24px); line-height: 1.45; color: var(--text); }
.small { font-size: 15px; color: var(--text-faint); }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-faint); }
.pill.ghost { background: transparent; color: var(--text) !important; border: 1px solid var(--line); }
.pill.ghost:hover { border-color: var(--text-faint); }
.state { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); border: 1px solid var(--line); border-radius: 9999px; padding: 3px 10px; white-space: nowrap; }
.state.proposal { color: var(--gold); border-color: rgba(217, 180, 90, 0.45); }
.crumbs { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a { color: var(--text-muted); text-decoration: none; } .crumbs a:hover { color: var(--text); }
main section { padding-block: 89px; }
main section.hero { padding-block: 34px 89px; }
.sec-head { display: flex; flex-direction: column; gap: 13px; max-width: 760px; margin-bottom: 34px; }
.prose { max-width: 680px; display: flex; flex-direction: column; gap: 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 13px; }
.card { background: rgba(14, 16, 23, 0.82); border: 1px solid var(--line); padding: 21px; display: flex; flex-direction: column; gap: 10px; transition: border-color 300ms ease; }
.card:hover { border-color: var(--text-faint); }
.card p { font-size: 16px; line-height: 1.55; }
.card .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); }
.card a.more { margin-top: auto; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.card a.more:hover { text-decoration: underline; }
.stage { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 13px; margin-top: 8px; }
.table-wrap { overflow-x: auto; margin-top: 21px; border: 1px solid var(--line); background: rgba(14, 16, 23, 0.86); }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
caption { caption-side: bottom; text-align: left; padding: 10px 13px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; line-height: 1.6; color: var(--text-faint); }
th, td { padding: 12px 13px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 300; }
thead th { border-top: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
tbody th { color: var(--text); font-weight: 400; }
td { color: var(--text-muted); }
td.yes { color: var(--gold); }
dl.panels { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 13px; margin: 21px 0 0; }
dl.panels > div { border: 1px solid var(--line); background: rgba(14, 16, 23, 0.86); padding: 18px 21px; display: flex; flex-direction: column; gap: 6px; }
dl.panels dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); }
dl.panels dd { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-muted); }
dl.panels dd b { font-weight: 400; color: var(--text); }
ol.steps { list-style: none; counter-reset: s; margin: 21px 0 0; padding: 0; display: flex; flex-direction: column; }
ol.steps > li { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 4px 13px; padding: 16px 0; border-top: 1px solid var(--line); align-items: baseline; }
ol.steps > li::before { content: counter(s); font-family: var(--font-mono); font-size: 13px; color: var(--text-faint); }
ol.steps b { font-weight: 400; color: var(--text); }
ol.steps p { grid-column: 2; font-size: 16px; }
ol.steps .state { grid-column: 3; grid-row: 1; }
form.interest { display: grid; gap: 13px; max-width: 560px; margin-top: 21px; }
form.interest label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); display: flex; flex-direction: column; gap: 6px; }
form.interest select, form.interest input, form.interest textarea { font: inherit; font-family: var(--font-display); font-size: 17px; text-transform: none; letter-spacing: 0; color: var(--text); background: var(--surface); border: 1px solid var(--line); padding: 10px 14px; min-height: 48px; width: 100%; }
form.interest textarea { min-height: 96px; resize: vertical; }
.form-msg { min-height: 1.6em; color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 21px; }
@media (max-width: 820px) {
  main section { padding-block: 55px; }
  ol.steps > li { grid-template-columns: 32px minmax(0, 1fr); }
  ol.steps .state { grid-column: 2; grid-row: auto; justify-self: start; }
  th, td { padding: 10px; }
}
/* an initiative hero: text left, the capacity expression right; on phones the expression sits under the heading */
.hero-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); column-gap: 55px; align-items: start; }
.hero-split > * { grid-column: 1; }
.hero-split > .capacity { grid-column: 2; grid-row: 2 / span 2; align-self: start; margin-top: 34px; width: 100%; max-width: 480px; aspect-ratio: 1; display: block; justify-self: center; }
@media (max-width: 820px) {
  .hero-split { display: flex; flex-direction: column; }
  .hero-split > .crumbs { order: 1; } .hero-split > .sec-head { order: 2; } .hero-split > .prose { order: 4; }
  .hero-split > .capacity { order: 3; max-width: 320px; align-self: center; margin-bottom: 21px; }
}
.grid.two { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.card .state { align-self: flex-start; }
