@font-face {
  font-family: "Geologica";
  src: url(fonts/geologica-cyrillic.woff2) format("woff2");
  font-weight: 300 800;
  font-display: swap;
  unicode-range:
    U+0301,
    U+0400-045F,
    U+0490-0491,
    U+04B0-04B1,
    U+2116;
}
@font-face {
  font-family: "Geologica";
  src: url(fonts/geologica-latin.woff2) format("woff2");
  font-weight: 300 800;
  font-display: swap;
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}
:root {
  --ink: #1d1c19;
  --ink-2: #4b4841;
  --accent: #226540;
  --accent-2: #1a5234;
  --accent-3: #143f28;
  --on-accent: #f3f1ea;
  --paper: rgb(244 242 236 / 0.9);
  --paper-solid: #f2f0e9;
  --ring: rgb(244 242 236 / 0.6);
  --hover: rgb(29 28 25 / 0.07);
  --line: rgb(29 28 25 / 0.14);
  --stop: #b8391f;
  --go: #1e7a45;
  --wait: #d9901f;
  --sky-top: #d3dee3;
  --sky-mid: #e2e7e3;
  --sky-low: #ebe6da;
  --y0: #eadcae;
  --y1: #cfb66a;
  --y2: #98a352;
  --y3: #5f8a41;
  --y4: #35643a;
  --shadow-pop: 0 6px 24px rgb(40 35 25 / 0.14);
  --font:
    "Geologica",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  --r: 18px;
  --r-md: 14px;
  --r-sm: 12px;
}
* {
  box-sizing: border-box;
}
html {
  color-scheme: light;
  background: var(--sky-mid);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  font: 400 1.0625rem/1.55 var(--font);
  color: var(--ink);
}
h1,
h2,
p,
dl,
dd {
  margin: 0;
}
a {
  color: var(--accent);
}
::selection {
  background: rgb(34 101 64 / 0.22);
}
:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.over-thing {
  cursor: pointer;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (hover: hover) and (pointer: fine) {
  ::-webkit-scrollbar {
    width: 14px;
    height: 14px;
  }
  ::-webkit-scrollbar-track,
  ::-webkit-scrollbar-corner {
    background: transparent;
  }
  ::-webkit-scrollbar-thumb {
    min-height: 56px;
    border: 4px solid transparent;
    border-radius: 999px;
    background: var(--accent) padding-box;
  }
  ::-webkit-scrollbar-thumb:hover {
    border-width: 3px;
    background-color: var(--accent-2);
  }
  ::-webkit-scrollbar-thumb:active {
    background-color: var(--accent-3);
  }
}
@supports not selector(::-webkit-scrollbar) {
  html {
    scrollbar-color: var(--accent) transparent;
    scrollbar-width: thin;
  }
}
html.own-rail {
  scrollbar-width: none;
}
html.own-rail::-webkit-scrollbar {
  display: none;
}
.rail {
  position: fixed;
  z-index: 5;
  top: 0;
  right: 0;
  bottom: 0;
  width: 16px;
  cursor: default;
  user-select: none;
  touch-action: none;
}
.rail-thumb {
  position: absolute;
  top: 0;
  right: 3px;
  width: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 1.5px var(--ring);
  scale: 0.667 1;
  transform-origin: 100% 50%;
}
.rail:hover .rail-thumb,
.rail-drag .rail-thumb {
  scale: 1 1;
  background: var(--accent-2);
}
.rail-drag .rail-thumb {
  background: var(--accent-3);
}
.rail-tick {
  position: absolute;
  right: 4px;
  width: 7px;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
  opacity: 0.35;
}
.rail-label {
  position: absolute;
  right: 22px;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--paper-solid);
  box-shadow: var(--shadow-pop);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  translate: 0 -50%;
}
.rail-label.is-on {
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .rail-thumb {
    transition: scale 0.15s ease, background-color 0.15s ease;
  }
  .rail-label {
    transition: opacity 0.12s ease;
  }
}
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      180deg,
      var(--sky-top) 0%,
      var(--sky-mid) 55%,
      var(--sky-low) 100%);
}
.stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.scene-ready .stage canvas {
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .stage canvas {
    transition: opacity 0.9s ease;
  }
}
.no-3d .stage canvas,
.no-3d .tags,
.no-3d .scalebar {
  display: none;
}
.no-3d .stage {
  background: url(../poster.jpg) 70% 50% / cover no-repeat, var(--sky-mid);
}
.cloud-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 50% 55%,
      rgb(252 252 250 / 0.96),
      rgb(240 243 240 / 0.8));
  opacity: 0;
  pointer-events: none;
}
.no-3d .cloud-veil,
.poster-mode .cloud-veil {
  display: none;
}
.edge-haze {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 72% 68% at 50% 47%,
      rgb(227 231 227 / 0) 44%,
      rgb(227 231 227 / 0.55) 76%,
      rgb(227 231 227 / 0.9) 100%);
  opacity: 0;
  pointer-events: none;
}
.no-3d .edge-haze,
.poster-mode .edge-haze {
  display: none;
}
.tags {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.tag {
  position: absolute;
  left: 0;
  top: 0;
  padding: 7px 11px 8px;
  border-radius: 10px;
  background: var(--paper-solid);
  box-shadow: 0 3px 14px rgb(40 35 25 / 0.16);
  color: var(--ink-2);
  font-size: 0.8125rem;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
}
.tag b,
.tag span {
  display: block;
}
.tag b {
  color: var(--ink);
  font-weight: 650;
  max-width: 17rem;
  white-space: normal;
}
.tag-note::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px;
  height: 10px;
  background: inherit;
  rotate: 45deg;
  translate: -50% 0;
  border-radius: 0 0 2px 0;
}
.tag.is-shifted::after {
  display: none;
}
.tag.is-stop b::before,
.tag.is-go b::before,
.tag.is-wait b::before,
.tag .warn::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  vertical-align: 0.05em;
}
.tag.is-stop b::before {
  background: var(--stop);
}
.tag.is-go b::before {
  background: var(--go);
}
.tag.is-wait b::before {
  background: var(--wait);
}
.tag .warn {
  color: var(--ink);
}
.tag .warn::before {
  background: var(--wait);
}
.tag-map {
  padding: 6px 10px 7px;
  background: rgb(242 240 233 / 0.94);
}
.tag-map::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--paper-solid);
  border-radius: 50%;
  background: var(--accent);
  translate: -50% 0;
}
.tag-dist {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: none;
}
.tag-dist b {
  color: inherit;
  font-weight: 600;
}
.scalebar {
  position: absolute;
  right: 32px;
  bottom: 28px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 7px 10px 8px;
  border-radius: 10px;
  background: rgb(242 240 233 / 0.92);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.scalebar-line {
  height: 7px;
  border: 2px solid var(--ink);
  border-top: 0;
}
.top {
  position: fixed;
  z-index: 3;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px);
  pointer-events: none;
}
.top > * {
  pointer-events: auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 8px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.2;
}
.brand .mark {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--accent);
}
.top nav {
  display: flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: var(--paper);
}
.top nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
}
.top nav a:hover {
  background: var(--hover);
}
main {
  position: relative;
  z-index: 1;
}
.ch {
  position: relative;
  min-height: 150vh;
  pointer-events: none;
}
.ch-hero {
  min-height: 140vh;
}
.ch-1 {
  min-height: 140vh;
}
.ch-2 {
  min-height: 165vh;
}
.ch-3 {
  min-height: 155vh;
}
.ch-nav {
  min-height: 165vh;
}
.ch-finale {
  min-height: 120vh;
}
.panel {
  pointer-events: auto;
  position: sticky;
  top: clamp(96px, 24vh, 220px);
  margin-left: clamp(16px, 5vw, 76px);
  width: min(33rem, 42vw);
  padding: clamp(20px, 2.2vw, 30px);
  border-radius: var(--r);
  background: var(--paper);
}
.ch + .ch .panel {
  margin-top: 16vh;
}
.ch-hero .panel {
  top: clamp(96px, 18vh, 180px);
}
.under-head {
  -webkit-mask-image:
    linear-gradient(
      to bottom,
      transparent var(--fade-a),
      #000 var(--fade-b));
  mask-image:
    linear-gradient(
      to bottom,
      transparent var(--fade-a),
      #000 var(--fade-b));
}
.scene-ready .finale-note {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
h1 {
  font-size: clamp(2.3rem, 4.3vw, 4.1rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.panel .project-stage {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
}
.promise {
  margin-top: 18px;
  font-size: clamp(1.3rem, 1.75vw, 1.6rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.lede {
  margin-top: 12px;
  font-size: clamp(1.02rem, 1.15vw, 1.12rem);
  color: var(--ink-2);
}
.panel p + p,
.panel h2 + p {
  margin-top: 14px;
  color: var(--ink-2);
}
.panel .promise + .lede {
  margin-top: 12px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.975rem;
  text-decoration: none;
}
.btn:hover {
  border-color: var(--ink-2);
}
.btn-main {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.btn-main:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
}
.panel .hint {
  font-size: 0.875rem;
}
.thing {
  font: inherit;
  color: var(--ink);
  background: none;
  border: 0;
  padding: 10px 0;
  margin: -10px 0;
  cursor: pointer;
  text-decoration: underline dotted var(--accent) 2px;
  text-underline-offset: 4px;
}
.thing:hover {
  color: var(--accent);
}
.panel .yield-key {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
}
.yield-scale {
  display: inline-flex;
  flex: none;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
}
.yield-scale i {
  width: 14px;
  height: 12px;
}
.yield-scale i:nth-child(1) {
  background: var(--y0);
}
.yield-scale i:nth-child(2) {
  background: var(--y1);
}
.yield-scale i:nth-child(3) {
  background: var(--y2);
}
.yield-scale i:nth-child(4) {
  background: var(--y3);
}
.yield-scale i:nth-child(5) {
  background: var(--y4);
}
.ch-outro {
  min-height: auto;
  padding-top: 14vh;
}
.sheet {
  pointer-events: auto;
  scroll-margin-top: 96px;
  width: min(58rem, calc(100% - 32px));
  margin: 0 auto 20px;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--r);
  background: var(--paper-solid);
}
.sheet > p {
  margin-top: 12px;
  color: var(--ink-2);
}
.sheet .caps-h {
  margin-top: 30px;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.caps {
  margin-top: 8px;
}
.facts {
  margin-top: 26px;
  border-bottom: 1px solid var(--line);
}
.caps > div,
.facts > div {
  display: grid;
  grid-template-columns: 13rem 1fr;
  gap: 4px 24px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.caps dt,
.facts dt {
  font-weight: 600;
}
.caps dd,
.facts dd {
  color: var(--ink-2);
  max-width: 62ch;
}
.sheet .grant {
  margin-top: 22px;
  max-width: 70ch;
  font-size: 0.9375rem;
}
.support {
  margin-top: 26px;
}
.support-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.support-marks a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 132px;
  padding: 10px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
}
.support-marks a:hover {
  border-color: var(--accent);
}
.support-marks a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.support-marks img {
  display: block;
}
@media (max-width: 640px) {
  .support-marks li {
    flex: 1 1 100%;
  }
}
.sheet .sheet-cta {
  margin-top: 22px;
}
.sheet .mail {
  margin-top: 16px;
  font-size: 1.35rem;
  font-weight: 600;
}
.sheet .mail a {
  color: var(--ink);
  text-decoration-color: var(--accent);
  text-underline-offset: 5px;
}
.sheet .who {
  margin-top: 6px;
}
.foot {
  pointer-events: auto;
  width: min(58rem, calc(100% - 32px));
  margin: 0 auto 40px;
  padding: 16px clamp(20px, 3vw, 28px);
  border-radius: var(--r-md);
  background: var(--paper);
  font-size: 0.8125rem;
  color: var(--ink-2);
}
.foot p {
  max-width: 78ch;
}
.foot p + p {
  margin-top: 6px;
}
.tip {
  position: fixed;
  z-index: 4;
  left: 0;
  top: 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  max-width: 19rem;
  padding: 12px 8px 12px 14px;
  border-radius: var(--r-sm);
  background: var(--paper-solid);
  box-shadow: var(--shadow-pop);
  color: var(--ink-2);
  font-size: 0.875rem;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
  transform: translate(-9999px, 0);
}
.tip[hidden] {
  display: none;
}
.tip-body strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 0.9375rem;
}
.tip-body span {
  display: block;
}
.tip-x {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: -5px -2px 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink-2);
  cursor: pointer;
}
.tip-x svg {
  width: 16px;
  height: 16px;
}
.tip-x:hover {
  background: var(--hover);
  color: var(--ink);
}
@media (max-width: 899px), (max-aspect-ratio: 23/20) {
  .ch {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 165vh;
  }
  .ch-2,
  .ch-nav {
    min-height: 185vh;
  }
  .ch-finale {
    min-height: 130vh;
  }
  .ch + .ch .panel {
    margin-top: 0;
  }
  .panel {
    top: auto;
    bottom: 12px;
    width: auto;
    margin: 0 12px 12px;
  }
  .ch-hero .panel {
    top: auto;
  }
  .ch-outro {
    display: block;
  }
  .panel .hint {
    display: none;
  }
  h1 {
    font-size: clamp(2rem, 8.4vw, 2.9rem);
  }
  .promise {
    margin-top: 12px;
    font-size: 1.15rem;
  }
  .lede {
    margin-top: 8px;
    font-size: 0.98rem;
  }
  .actions {
    margin-top: 18px;
  }
  .btn {
    min-height: 44px;
    padding: 0 16px;
  }
  .scalebar {
    top: 76px;
    right: 16px;
    bottom: auto;
  }
}
@media (max-width: 640px) {
  .top nav a:first-child,
  .nav-long {
    display: none;
  }
  .top nav a {
    padding: 8px 12px;
  }
  .caps > div,
  .facts > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
.poster-mode .top,
.poster-mode main,
.poster-mode .tip,
.poster-mode .rail,
.poster-mode .tags,
.poster-mode .scalebar {
  display: none;
}
.dbg {
  position: fixed;
  right: 8px;
  bottom: 8px;
  z-index: 9;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgb(0 0 0 / 0.65);
  color: #fff;
  font:
    12px/1.3 ui-monospace,
    Consolas,
    monospace;
}
