:root {
  color-scheme: light;
  --ink: #171b18;
  --paper: #edece5;
  --paper-2: #f6f4ec;
  --line: rgb(23 27 24 / 18%);
  --muted: #616963;
  --green-deep: #173127;
  --lime: #d9e8a2;
  --signal: #d96832;
  --white: #f8f7f2;
  --page: min(100% - 3rem, 92rem);
  --sans: Arial, Helvetica, sans-serif;
  --mono: "Courier New", Courier, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.5; }
body:has(dialog[open]) { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { color: inherit; }
svg { width: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
:where(a, button, input, textarea):focus-visible { outline: .19rem solid var(--signal); outline-offset: .24rem; }
.visually-hidden { position: absolute !important; clip-path: inset(50%) !important; overflow: hidden !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; border: 0 !important; white-space: nowrap !important; }
.skip-link { position: fixed; inset: .8rem auto auto .8rem; z-index: 100; padding: .65rem 1rem; background: var(--white); color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.mono, .overline, .kicker { font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.overline, .kicker { margin: 0 0 1.25rem; font-size: .72rem; font-weight: 700; }
.muted { color: var(--muted); }

.site-header { width: var(--page); min-height: 7.4rem; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.site-header--overlay { width: auto; position: absolute; inset: 0 1.5rem auto; color: var(--white); border-bottom-color: rgb(255 255 255 / 25%); }
.brand { display: inline-flex; align-items: center; gap: .78rem; color: inherit; text-decoration: none; font-weight: 700; line-height: .88; letter-spacing: -.045em; }
.brand__mark { width: 2.9rem; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: .78rem; letter-spacing: -.08em; }
.brand__name { font-size: 1.05rem; }
.header-actions { display: flex; align-items: center; gap: .65rem; }
.icon-button, .menu-button { min-height: 2.9rem; border: 1px solid currentColor; background: transparent; cursor: pointer; }
.icon-button { width: 2.9rem; display: grid; place-items: center; border-radius: 50%; }
.menu-button { min-width: 7.6rem; padding: 0 1rem; display: grid; grid-template-columns: 1fr 1.2rem; align-content: center; gap: 0 .75rem; border-radius: 99rem; text-align: left; }
.menu-button span { grid-row: 1 / 3; align-self: center; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.menu-button i { width: 1.2rem; height: 1px; background: currentColor; }

.hero { min-height: 100svh; position: relative; overflow: hidden; color: var(--white); isolation: isolate; }
.hero__image, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__image { object-fit: cover; object-position: 58% center; z-index: -2; animation: hero-settle 1.6s cubic-bezier(.2,.7,.2,1) both; }
.hero__shade { z-index: -1; background: linear-gradient(90deg, rgb(12 23 19 / 88%) 0%, rgb(15 27 22 / 63%) 38%, rgb(15 25 21 / 18%) 72%), linear-gradient(0deg, rgb(8 16 13 / 62%) 0%, transparent 42%); }
.hero__meta { position: absolute; inset: 9.6rem 1.5rem auto; display: flex; justify-content: space-between; font-size: .65rem; }
.hero__content { width: min(80rem, calc(100% - 3rem)); margin-inline: auto; min-height: 100svh; display: grid; align-content: center; padding-top: 8rem; }
.hero h1 { margin: 0; font-size: clamp(4rem, 10.5vw, 10.5rem); line-height: .75; letter-spacing: -.09em; text-transform: uppercase; }
.hero h1 span { display: block; }
.hero h1 span:last-child { margin-left: .62em; color: var(--lime); }
.hero__lead { max-width: 37rem; margin: 2.4rem 0 0 .5rem; font-size: clamp(1rem, 1.5vw, 1.35rem); color: rgb(248 247 242 / 82%); }
.scroll-cue { position: absolute; right: 1.5rem; bottom: 1.5rem; display: flex; align-items: center; gap: 1rem; color: var(--white); font-size: .7rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; text-decoration: none; }
.scroll-cue svg { width: 2.8rem; height: 2.8rem; padding: .65rem; border: 1px solid rgb(255 255 255 / 55%); border-radius: 50%; }

.chapter { width: var(--page); margin-inline: auto; padding: clamp(5rem, 10vw, 10rem) 0; display: grid; grid-template-columns: minmax(8rem, 1fr) 4fr; gap: 4rem; border-top: 1px solid var(--line); }
.chapter__label { display: flex; align-items: flex-start; gap: 2rem; font-size: .66rem; }
.chapter__label span:first-child { color: var(--signal); }
.chapter__body h2, .statement-grid h2, .documents-feature h2, .cms-callout h2 { margin: 0; font-size: clamp(3rem, 7vw, 7.6rem); line-height: .88; letter-spacing: -.075em; font-weight: 500; }
.chapter__lead { max-width: 48rem; margin: 2rem 0 0; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.6rem); line-height: 1.42; }
.route-list { margin-top: clamp(3rem, 6vw, 6rem); border-top: 1px solid var(--line); }
.route-list a { min-height: 7rem; display: grid; grid-template-columns: 3rem 1.6fr 1fr auto; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .28s ease, background .28s ease; }
.route-list a:hover { padding-inline: 1.2rem; background: var(--paper-2); }
.route-list strong { font-size: clamp(1.2rem, 2vw, 1.7rem); }
.route-list em { color: var(--muted); font-style: normal; }

.chapter--statement { background: var(--green-deep); color: var(--white); width: 100%; padding-inline: max(1.5rem, calc((100% - 92rem) / 2)); border: 0; }
.chapter--statement .chapter__label { color: rgb(248 247 242 / 58%); }
.statement-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 5rem; }
.statement-grid h2 { color: var(--lime); }
.statement-copy { align-self: end; padding-bottom: .6rem; }
.statement-copy p { font-size: 1.15rem; }
.statement-copy .muted { color: rgb(248 247 242 / 58%); font-size: .9rem; }
.text-link { display: inline-flex; align-items: center; gap: .8rem; margin-top: 1.25rem; font-weight: 700; text-underline-offset: .35rem; }
.text-link svg { transition: transform .25s ease; }
.text-link:hover svg { transform: translateX(.3rem); }

.chapter--documents { display: block; }
.chapter--documents .chapter__label { margin-bottom: 4rem; }
.documents-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; }
.document-preview { min-height: 19rem; padding: 2rem; display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-content: space-between; background: #d7d5cb; border-top: .35rem solid var(--signal); }
.document-preview__type { width: 4rem; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: .72rem; }
.document-preview div { align-self: end; }
.document-preview small { display: block; margin-bottom: 1rem; color: var(--muted); }
.document-preview strong { display: block; max-width: 19rem; font-size: 1.55rem; line-height: 1.1; }
.document-preview p { max-width: 30rem; color: var(--muted); }
.section-cta { width: var(--page); min-height: 8rem; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: clamp(1.15rem, 2vw, 1.8rem); font-weight: 700; text-decoration: none; }
.section-cta svg { width: 2rem; transition: transform .25s ease; }
.section-cta:hover svg { transform: translateX(.4rem); }

.site-footer { width: var(--page); min-height: 16rem; margin-inline: auto; padding: 4rem 0 2rem; display: grid; grid-template-columns: 1fr 2fr auto; align-items: end; gap: 2rem; color: var(--muted); }
.brand--footer { color: var(--ink); }
.site-footer p { margin: 0; max-width: 30rem; font-size: .85rem; }

.site-dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 1.5rem; border: 0; background: var(--green-deep); color: var(--white); }
.site-dialog::backdrop { background: rgb(5 10 8 / 75%); }
.dialog-head { min-height: 5.9rem; display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid rgb(255 255 255 / 22%); font-size: .7rem; }
.dialog-head button { border: 0; background: transparent; color: inherit; cursor: pointer; text-transform: uppercase; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; }
.dialog-nav { width: min(80rem, 100%); margin: 7vh auto 0; }
.dialog-nav a { display: grid; grid-template-columns: 4rem 1fr; align-items: baseline; padding: 1.1rem 0; border-bottom: 1px solid rgb(255 255 255 / 20%); color: rgb(248 247 242 / 58%); font-size: clamp(2.2rem, 6vw, 6rem); letter-spacing: -.065em; text-decoration: none; transition: color .2s ease, padding .2s ease; }
.dialog-nav a:hover, .dialog-nav a[aria-current="page"] { color: var(--lime); padding-left: .4rem; }
.dialog-nav .mono { color: var(--signal); font-size: .65rem; letter-spacing: .08em; }
.dialog-note { position: absolute; left: 1.5rem; bottom: 1rem; color: rgb(248 247 242 / 48%); font-size: .78rem; }
.search-panel { width: min(70rem, 100%); margin: 10vh auto 0; }
.search-panel h2 { max-width: 12ch; margin: 0 0 3rem; font-size: clamp(3rem, 7vw, 7rem); line-height: .88; letter-spacing: -.07em; font-weight: 500; }
.search-panel label { display: block; margin-bottom: .6rem; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.search-panel input { width: 100%; padding: .8rem 0 1rem; border: 0; border-bottom: 2px solid rgb(255 255 255 / 48%); border-radius: 0; background: transparent; color: var(--white); font-size: clamp(1.4rem, 4vw, 3rem); }
.search-panel input::placeholder { color: rgb(248 247 242 / 36%); }
.search-results { margin-top: 2rem; display: grid; gap: .6rem; }
.search-results a { padding: 1rem 0; display: flex; justify-content: space-between; border-bottom: 1px solid rgb(255 255 255 / 16%); text-decoration: none; }
.search-results p { color: rgb(248 247 242 / 65%); }

.inner-page { background: var(--paper-2); }
.page-hero { width: var(--page); min-height: 36rem; margin-inline: auto; padding: clamp(5rem, 10vw, 10rem) 0 4rem; position: relative; }
.page-hero__index { position: absolute; right: 0; top: 3rem; color: var(--signal); font-size: .68rem; }
.page-hero h1 { max-width: 12ch; margin: 0; font-size: clamp(4rem, 11vw, 11rem); line-height: .78; letter-spacing: -.09em; font-weight: 500; }
.page-hero > p:last-child { max-width: 42rem; margin: 2.4rem 0 0 auto; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.45rem); }
.about-manifesto h2 { max-width: 13ch; }
.facts-shell { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--green-deep); color: var(--white); }
.facts-shell article { min-height: 24rem; padding: 2rem; display: flex; flex-direction: column; border-right: 1px solid rgb(255 255 255 / 18%); }
.facts-shell article:last-child { border: 0; }
.facts-shell .mono { color: var(--signal); font-size: .68rem; }
.facts-shell h2 { margin: auto 0 1rem; color: var(--lime); font-size: clamp(2rem, 3vw, 3.3rem); letter-spacing: -.06em; }
.facts-shell p { max-width: 26rem; margin: 0; color: rgb(248 247 242 / 65%); }
.content-request .chapter__body h2 { font-size: clamp(2.7rem, 6vw, 6rem); }
.plain-list { max-width: 46rem; margin: 3rem 0 0; padding: 0; list-style: none; counter-reset: material; }
.plain-list li { min-height: 4rem; padding: 1rem 0; border-top: 1px solid var(--line); counter-increment: material; }
.plain-list li::before { content: "0" counter(material); display: inline-block; width: 3rem; color: var(--signal); font-family: var(--mono); font-size: .72rem; }

.information-shell { width: var(--page); margin: 0 auto; padding: 4rem 0 8rem; border-top: 1px solid var(--line); }
.information-head { display: grid; grid-template-columns: 1fr auto auto auto; gap: .55rem; align-items: end; margin-bottom: 3rem; }
.information-head h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 5.5rem); letter-spacing: -.07em; line-height: .9; }
.filter-button { padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 99rem; background: transparent; cursor: pointer; font-size: .75rem; }
.filter-button.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.publication-list { border-top: 1px solid var(--line); }
.publication { min-height: 11rem; display: grid; grid-template-columns: 7rem 1fr auto; gap: 2rem; align-items: center; border-bottom: 1px solid var(--line); }
.publication[hidden] { display: none; }
.publication time { color: var(--signal); font-size: .68rem; }
.publication__type { color: var(--muted); font-size: .72rem; }
.publication h3 { margin: .4rem 0; font-size: clamp(1.35rem, 2.5vw, 2.3rem); letter-spacing: -.04em; }
.publication p { max-width: 48rem; margin: 0; color: var(--muted); }
.publication__arrow { width: 3.5rem; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 1.3rem; }
.demo-caption { margin-top: 1.5rem; color: var(--muted); font-size: .78rem; }
.cms-callout { padding: clamp(5rem, 9vw, 9rem) max(1.5rem, calc((100% - 92rem) / 2)); display: grid; grid-template-columns: 1fr .7fr; gap: 5rem; background: #d8e4a7; }
.cms-callout h2 { max-width: 10ch; }
.cms-callout > div:last-child { align-self: end; max-width: 34rem; }

.admin-page { min-height: 100vh; background: var(--green-deep); color: var(--white); }
.admin-header { width: var(--page); min-height: 7rem; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgb(255 255 255 / 20%); }
.admin-main { width: min(100% - 3rem, 72rem); margin-inline: auto; padding: 5rem 0 8rem; display: grid; grid-template-columns: .8fr 1.2fr; gap: 6rem; }
.admin-intro h1 { margin: 1.5rem 0; font-size: clamp(3rem, 6vw, 6.5rem); line-height: .86; letter-spacing: -.075em; font-weight: 500; }
.admin-intro p { color: rgb(248 247 242 / 64%); }
.prototype-badge { display: inline-flex; padding: .35rem .6rem; border: 1px solid var(--signal); border-radius: 99rem; color: #f0a07b; font: .68rem var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.editor-form { display: grid; gap: 1.5rem; }
.editor-form fieldset { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.editor-form legend { grid-column: 1 / -1; margin-bottom: .6rem; font-size: .78rem; }
.radio-card { position: relative; padding: 1rem; border: 1px solid rgb(255 255 255 / 24%); cursor: pointer; }
.radio-card:has(input:checked) { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.radio-card input { position: absolute; opacity: 0; }
.field { display: grid; gap: .45rem; }
.field label, .editor-form legend { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.field input, .field textarea { width: 100%; padding: .9rem 0; border: 0; border-bottom: 1px solid rgb(255 255 255 / 34%); border-radius: 0; background: transparent; color: var(--white); }
.field input[type="file"] { font-size: .8rem; }
.field small, .form-status { margin: 0; color: rgb(248 247 242 / 54%); font-size: .72rem; }
.primary-button { min-height: 3.6rem; padding: 0 1.4rem; border: 0; background: var(--lime); color: var(--ink); font-weight: 700; cursor: pointer; }
.form-status.is-success { color: var(--lime); }

@keyframes hero-settle { from { transform: scale(1.045); opacity: .72; } to { transform: scale(1); opacity: 1; } }

@media (max-width: 62rem) {
  .chapter { grid-template-columns: 1fr; gap: 2.5rem; }
  .chapter__label { justify-content: space-between; }
  .statement-grid, .documents-feature, .cms-callout, .admin-main { grid-template-columns: 1fr; gap: 3rem; }
  .facts-shell { grid-template-columns: 1fr; }
  .facts-shell article { min-height: 17rem; border-right: 0; border-bottom: 1px solid rgb(255 255 255 / 18%); }
  .route-list a { grid-template-columns: 3rem 1fr auto; }
  .route-list em { display: none; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer p { grid-column: 1 / -1; grid-row: 1; }
}

@media (max-width: 42rem) {
  :root { --page: calc(100% - 2rem); }
  .site-header { min-height: 5.8rem; }
  .site-header--overlay { inset-inline: 1rem; }
  .brand__name { display: none; }
  .brand__mark { width: 2.6rem; }
  .menu-button { min-width: 6.7rem; }
  .hero__meta { inset: 7.4rem 1rem auto; display: grid; gap: .3rem; }
  .hero__content { width: calc(100% - 2rem); padding-top: 7rem; align-content: end; padding-bottom: 8.5rem; }
  .hero h1 { font-size: clamp(3.7rem, 18vw, 6.2rem); line-height: .8; }
  .hero h1 span:last-child { margin-left: 0; }
  .hero__lead { margin-left: 0; }
  .scroll-cue span { display: none; }
  .scroll-cue { right: 1rem; bottom: 1rem; }
  .chapter { padding: 5rem 0; }
  .chapter--statement { padding-inline: 1rem; }
  .chapter__body h2, .statement-grid h2, .documents-feature h2, .cms-callout h2 { font-size: clamp(2.9rem, 14vw, 4.6rem); }
  .route-list a { min-height: 6rem; grid-template-columns: 2.5rem 1fr auto; }
  .route-list strong { line-height: 1.05; }
  .document-preview { min-height: 17rem; grid-template-columns: 1fr; }
  .document-preview__type { width: 3.2rem; }
  .site-footer { min-height: 13rem; padding-top: 3rem; }
  .dialog-nav { margin-top: 9vh; }
  .dialog-nav a { grid-template-columns: 2.5rem 1fr; font-size: clamp(2rem, 11vw, 3.2rem); }
  .search-panel { margin-top: 6vh; }
  .page-hero { min-height: 32rem; padding-top: 6rem; }
  .page-hero h1 { font-size: clamp(3.8rem, 18vw, 6.5rem); }
  .information-head { grid-template-columns: repeat(3, auto); justify-content: start; }
  .information-head > div { grid-column: 1 / -1; margin-bottom: 1.5rem; }
  .filter-button { padding-inline: .72rem; }
  .publication { grid-template-columns: 1fr auto; gap: 1rem; padding: 2rem 0; }
  .publication time { grid-column: 1 / -1; }
  .publication__arrow { width: 2.8rem; }
  .cms-callout { padding-inline: 1rem; }
  .admin-header { min-height: 5.8rem; }
  .admin-main { width: calc(100% - 2rem); padding-top: 3rem; }
  .editor-form fieldset { grid-template-columns: 1fr; }
}

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