:root {
  --bg: #f3f0ea;
  --ink: #1a1916;
  --muted: #6f6a62;
  --line: #ddd6cb;
  --accent: #1f4d3a;
  --card: #fffcf8;
  --soft: #e7f0ea;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Songti SC", "PingFang SC", serif;
}

body { overflow: hidden; }

.slide {
  display: none;
  min-height: 100vh;
  padding: 7vh 8vw 12vh;
}

.slide.is-active {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kicker {
  margin: 0 0 1.5rem;
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

h1, h2 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1 { max-width: 14ch; font-size: clamp(2.6rem, 5vw, 4.4rem); }
h2 { max-width: 16ch; font-size: clamp(2.1rem, 4vw, 3.4rem); }

.lede, .note {
  max-width: 38rem;
  color: var(--muted);
  font-family: "PingFang SC", "Helvetica Neue", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
}

.lede { margin: 1.6rem 0 0; }

.mark {
  width: 52px;
  height: 52px;
  margin-bottom: 2.5rem;
}

.facts, .phases, .metrics {
  display: grid;
  gap: 1rem;
  margin: 2.4rem 0 0;
  padding: 0;
  list-style: none;
  font-family: "PingFang SC", "Helvetica Neue", sans-serif;
}

.facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.facts li, .metrics li, .phases li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.15rem 1.2rem 1.25rem;
}

.facts strong, .metrics strong, .phases b {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.facts span, .metrics span, .phases span, .split p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.flow {
  width: 100%;
  height: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.phases { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.note { margin-top: 1.5rem; font-size: 0.92rem; }

.bounds {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 40rem;
  font-family: "PingFang SC", "Helvetica Neue", sans-serif;
}

.bounds li {
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
  line-height: 1.6;
}

.bounds li:last-child { border-bottom: 1px solid var(--line); }

.chrome {
  position: fixed;
  left: 8vw;
  right: 8vw;
  bottom: 4vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

@media (max-width: 860px) {
  .facts, .phases, .metrics, .split { grid-template-columns: 1fr; }
  body { overflow: auto; }
  .slide { min-height: auto; padding-bottom: 18vh; }
}
