:root {
  --paper: #F2ECDF;
  --paper-2: #E8DFCC;
  --ink: #1C2B33;
  --ink-soft: #55636A;
  --rule: rgba(28, 43, 51, .16);
  --ochre: #E0A43A;
  --terra: #C9573A;
  --teal: #2F6F6B;
  --sky: #9CC3CF;
  --sage: #A7B48C;
  --navy: #22394D;
  --rose: #E7B7A3;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --bar: 52px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  background: var(--paper);
  height: 100%;
  overflow-y: scroll;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* paper grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: .22;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .28 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; }
strong { font-weight: 650; }

/* ---------- top bar ---------- */
.bar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--bar);
  z-index: 40;
  display: flex; align-items: center; gap: 20px;
  padding: 0 28px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
  font: 500 12px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark svg { width: 26px; height: 26px; }
.mark span { font: 700 15px/1 var(--serif); letter-spacing: .02em; text-transform: none; }
.bar-issue { color: var(--ink-soft); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-issue em { font: italic 400 14px/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--ink); }
.bar-count { font-family: var(--mono); letter-spacing: .04em; }
.bar-count b { color: var(--terra); font-weight: 500; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.progress i { display: block; height: 100%; width: 0; background: var(--terra); transition: width .5s cubic-bezier(.2,.7,.2,1); }

/* ---------- dots ---------- */
.dots {
  position: fixed; right: 18px; top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex; flex-direction: column; gap: 10px;
}
.dots a {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: transparent;
  transition: transform .25s, background .25s;
  position: relative;
}
.dots a:hover { transform: scale(1.3); }
.dots a.on { background: var(--terra); border-color: var(--terra); transform: scale(1.25); }
.dots a span {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  white-space: nowrap;
  font: 500 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); padding: 6px 8px; border-radius: 2px;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.dots a:hover span { opacity: 1; }
.slide.dark ~ .x {}
body.on-dark .dots a { border-color: var(--paper); }
body.on-dark .dots a.on { border-color: var(--terra); }

/* ---------- slides ---------- */
.slide {
  position: relative;
  height: 100vh; height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  padding: calc(var(--bar) + 20px) 64px 28px 48px;
  display: flex; align-items: center;
  border-bottom: 1px solid var(--rule);
}
.slide:nth-child(even):not(.dark):not(.close) { background: #EFE7D6; }
.wrap {
  width: 100%; max-width: 1360px; height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 5fr) 7fr;
  gap: 48px;
  align-items: center;
}
.wrap.wide { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: auto; align-content: center; gap: 28px; }
.wrap.wide .copy { max-width: 900px; }

.copy { position: relative; z-index: 2; }
.copy > * {
  opacity: 0; transform: translateY(16px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 90ms + 120ms);
}
.is-active .copy > *, .is-active .close-copy > * { opacity: 1; transform: none; }

.kicker {
  margin: 0 0 14px;
  font: 600 11.5px/1.2 var(--sans);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: 12px;
}
.kicker em {
  font: italic 500 22px/1 var(--serif); letter-spacing: 0; color: var(--terra);
}
.kicker::after { content: ""; flex: 0 0 48px; height: 1px; background: currentColor; opacity: .5; }

h1, h2 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.015em; }
h2 {
  font-size: clamp(30px, 3.6vw, 56px);
  line-height: 1.04;
  font-variation-settings: "opsz" 144;
  margin-bottom: 18px;
  text-wrap: balance;
}
.masthead {
  font-size: clamp(64px, 9.5vw, 156px);
  line-height: .86;
  font-weight: 700;
  letter-spacing: -.035em;
  font-variation-settings: "opsz" 144;
  margin: 4px 0 8px;
}
.masthead span { font-style: italic; font-weight: 300; color: var(--terra); }
.strap { font: italic 400 clamp(22px, 2.2vw, 32px)/1.2 var(--serif); margin: 0 0 16px; }
.deck {
  font: 400 clamp(15px, 1.15vw, 18px)/1.55 var(--sans);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 22px;
}
.deck strong { color: var(--ink); }
.src {
  font: 400 11px/1.4 var(--mono);
  color: var(--ink-soft);
  margin: 16px 0 0;
  max-width: 60ch;
}

/* stats */
.stats { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.stats.s2 { grid-template-columns: repeat(2, 1fr); }
.stats.s3 { grid-template-columns: repeat(3, 1fr); }
.stat { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); }
.stat + .stat { padding-left: 14px; border-left: 1px solid var(--rule); }
.stats.s2 .stat:nth-child(3) { border-left: 0; padding-left: 0; }
.stat b {
  display: block;
  font: 500 clamp(26px, 2.6vw, 40px)/1 var(--serif);
  font-variation-settings: "opsz" 144;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -.02em;
}
.stat span { font: 500 12px/1.35 var(--sans); color: var(--ink-soft); display: block; }

/* art */
.art { position: relative; height: 100%; max-height: 760px; display: flex; flex-direction: column; min-height: 0; }
.stage { position: relative; flex: 1; min-height: 0; width: 100%; }
.stage canvas { position: absolute; inset: 0; display: block; }
.stage.full { position: absolute; inset: 0; }
.caption {
  font: italic 400 13px/1.4 var(--serif);
  color: var(--ink-soft);
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  opacity: 0; transition: opacity 1s 1.2s;
}
.is-active .caption { opacity: 1; }

/* cover */
.cover .copy .stats { margin-top: 8px; }
.cue { margin: 26px 0 0; display: flex; align-items: center; gap: 12px; font: 600 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.cue i { width: 1px; height: 36px; background: var(--ink); position: relative; overflow: hidden; }
.cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--terra); animation: cue 1.8s infinite ease-in-out; }
@keyframes cue { to { top: 100%; } }

/* utilities plates */
.plates {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  align-self: start;
  padding-top: 8px;
}
.plate { margin: 0; position: relative; z-index: 1; }
.plate svg { width: 100%; max-width: 230px; aspect-ratio: 1; display: block; margin: 0 auto 18px; overflow: visible; }
.plate .disc { fill: var(--c); stroke: var(--ink); stroke-width: 1.2; transform-origin: 60px 60px; transform: scale(0); transition: transform .8s cubic-bezier(.3,1.4,.5,1); transition-delay: calc(var(--k) * .45s + .2s); }
.plate .draw { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-active .plate .disc { transform: scale(1); }
.is-active .plate .draw { animation: draw 1.6s cubic-bezier(.6,0,.3,1) forwards; animation-delay: calc(var(--k) * .45s + .5s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.plate figcaption {
  font: 400 14px/1.45 var(--sans); color: var(--ink-soft);
  border-top: 1.5px solid var(--ink); padding-top: 12px;
  opacity: 0; transform: translateY(10px); transition: all .6s; transition-delay: calc(var(--k) * .45s + .9s);
}
.is-active .plate figcaption { opacity: 1; transform: none; }
.plate figcaption b { display: block; font: 500 28px/1.1 var(--serif); color: var(--ink); }
.plate figcaption span { display: block; font: 500 12px/1.6 var(--mono); color: var(--terra); margin: 2px 0 6px; }
.plate.now figcaption b { font-style: italic; color: var(--terra); }
.timeline { position: absolute; left: 0; right: 0; top: calc(8px + min(115px, 11vw)); height: 1px; z-index: 0; }
.timeline i { display: block; height: 1.5px; width: 0; background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px); transition: width 2.6s cubic-bezier(.6,0,.3,1) .2s; }
.is-active .timeline i { width: 100%; }

/* layers list */
.layers, .loop { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); counter-reset: n; }
.layers li, .loop li {
  display: flex; gap: 14px; align-items: baseline;
  padding: 8px 0; border-bottom: 1px solid var(--rule);
  font: 400 14px/1.4 var(--sans); color: var(--ink-soft);
}
.layers b { font: italic 500 19px/1 var(--serif); color: var(--ink); min-width: 74px; }
.loop li::before { counter-increment: n; content: "0" counter(n); font: 500 12px/1 var(--mono); color: var(--terra); min-width: 22px; }

/* segmented */
.seg { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 999px; padding: 3px; margin: 0 0 18px; background: var(--paper); }
.seg button {
  border: 0; background: transparent; color: var(--ink);
  font: 600 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  padding: 9px 14px; border-radius: 999px; cursor: pointer;
}
.seg button.on { background: var(--ink); color: var(--paper); }

/* dark slide */
.slide.dark { background: var(--navy); color: var(--paper); }
.dark .kicker, .dark .deck, .dark .stat span, .dark .src, .dark .caption { color: #B9C6CC; }
.dark .deck strong, .dark .stat b { color: var(--paper); }
.dark .stats { border-top-color: var(--paper); }
.dark .stat { border-color: rgba(242,236,223,.16); }
.dark .caption { border-color: rgba(242,236,223,.16); }

/* close */
.slide.close { background: var(--navy); color: var(--paper); padding: 0; }
.close-copy {
  position: relative; z-index: 2;
  max-width: 760px; margin: 0 auto 0 8vw; padding: calc(var(--bar) + 20px) 24px 0;
  align-self: flex-start; margin-top: 8vh;
}
.close-copy > * { opacity: 0; transform: translateY(16px); transition: opacity .8s, transform .8s; transition-delay: calc(var(--i, 0) * 120ms + .6s); }
.close h2 { font-size: clamp(40px, 6vw, 96px); font-style: italic; font-weight: 300; line-height: .98; }
.close .deck { color: #C9D3D7; }
.close .deck strong { color: var(--ochre); }
.kicker.light { color: var(--ochre); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  padding: 15px 20px; border-radius: 999px; border: 1.5px solid var(--paper);
  background: var(--paper); color: var(--navy); text-decoration: none; cursor: pointer;
}
.btn.ghost { background: transparent; color: var(--paper); }
.btn:hover { background: var(--ochre); border-color: var(--ochre); color: var(--navy); }

/* notes */
.sources {
  list-style: none; margin: 0; padding: 0;
  columns: 2; column-gap: 40px;
  border-top: 1.5px solid var(--ink);
  font: 400 13px/1.5 var(--sans); color: var(--ink-soft);
}
.sources li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.sources b { color: var(--ink); font-weight: 600; }
.colophon { font: italic 400 14px/1.4 var(--serif); color: var(--ink-soft); margin: 18px 0 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .slide { padding-right: 44px; padding-left: 28px; }
  .wrap { gap: 28px; grid-template-columns: minmax(280px, 1fr) 1fr; }
  .gantt { --lab: 190px; }
  .g-row b { font-size: 14px; }
}
@media (max-width: 820px), (max-aspect-ratio: 4/5) {
  :root { --bar: 46px; }
  .bar { padding: 0 16px; gap: 12px; }
  .bar-issue { display: none; }
  .bar .mark { flex: 1; }
  .dots { right: 6px; gap: 7px; }
  .dots a { width: 7px; height: 7px; border-width: 1.2px; }
  .dots a span { display: none; }
  .slide { padding: calc(var(--bar) + 12px) 22px 14px 16px; align-items: stretch; }
  .wrap { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 10px; align-content: stretch; }
  .wrap.wide { align-content: center; }
  h2 { font-size: clamp(24px, 6.6vw, 36px); margin-bottom: 10px; }
  .masthead { font-size: clamp(56px, 18vw, 96px); }
  .strap { font-size: 20px; margin-bottom: 8px; }
  .kicker { margin-bottom: 8px; }
  .deck { font-size: 14px; margin-bottom: 12px; line-height: 1.45; }
  .stat { padding: 7px 8px 7px 0; }
  .stat + .stat { padding-left: 8px; }
  .stat b { font-size: clamp(19px, 5.4vw, 26px); margin-bottom: 3px; }
  .stat span { font-size: 11px; }
  .src, .cue, .caption { display: none; }
  .layers, .loop { display: none; }
  .art { max-height: none; }
  .seg { margin-bottom: 10px; }
  .seg button { padding: 7px 10px; font-size: 11px; }
  .plates { grid-template-columns: repeat(2, 1fr); gap: 14px 16px; }
  .plate svg { max-width: 92px; margin-bottom: 8px; }
  .plate figcaption { font-size: 12px; padding-top: 6px; }
  .plate figcaption b { font-size: 20px; }
  .timeline { display: none; }
  .gantt { --lab: 0px; padding-bottom: 20px; }
  .g-row { grid-template-columns: 1fr; min-height: 0; padding: 6px 0; }
  .g-row b { font-size: 13px; padding: 0 0 4px; }
  .g-track { min-height: 22px; }
  .g-miles { height: 64px; }
  .g-miles span { font-size: 0; }
  .g-miles em { font-size: 12px; }
  .g-now { display: none; }
  .calc { gap: 8px; margin-bottom: 10px; }
  .results .stat b { font-size: 20px; }
  .sources { columns: 1; font-size: 11.5px; line-height: 1.35; }
  .sources li { padding: 5px 0; }
  .close-copy { margin: 0; padding: calc(var(--bar) + 16px) 20px 0; }
  .close h2 { font-size: 44px; }
  .colophon { font-size: 12px; }
}
@media (max-height: 760px) and (min-width: 821px) {
  .deck { font-size: 14.5px; margin-bottom: 14px; }
  h2 { font-size: clamp(28px, 3.1vw, 44px); }
  .stat { padding-top: 8px; padding-bottom: 8px; }
  .stat b { font-size: 28px; }
  .layers li, .loop li { padding: 5px 0; }
  .plate svg { max-width: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  /* The infographic animations are the content, so they still play; only the scroll jump is instant. */
  html { scroll-behavior: auto; }
}

/* ---------- Digital Township components ---------- */
.hl { color: var(--terra); font-style: italic; }
h2 em { font-style: italic; color: var(--terra); }
.dark h2 em { color: var(--ochre); }
.plate .draw.light { stroke: var(--paper); }
.legend { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--ink); }
.legend li { padding: 10px 10px 8px 0; font: 500 12px/1.35 var(--sans); color: var(--ink-soft); border-bottom: 1px solid var(--rule); }
.legend li + li { padding-left: 10px; border-left: 1px solid var(--rule); }
.legend b { display: flex; align-items: center; gap: 7px; font: italic 500 18px/1.2 var(--serif); color: var(--ink); margin-bottom: 2px; }
.legend b::before { content: ""; width: 10px; height: 10px; border: 1.2px solid var(--ink); background: var(--c); border-radius: 50%; flex: none; }
.years { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.years li { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); font: 400 14px/1.45 var(--sans); color: var(--ink-soft); }
.years b { font: italic 500 18px/1.2 var(--serif); color: var(--terra); }
.punch { font: italic 400 clamp(22px, 2.4vw, 36px)/1.15 var(--serif); margin: 8px 0 0; text-align: center; opacity: 0; transition: opacity 1s 2.6s; }
.punch em { color: var(--terra); }
.is-active .punch { opacity: 1; }
.punch.left { text-align: left; font-size: clamp(20px, 1.9vw, 28px); margin-top: 14px; }
blockquote { margin: 0 0 14px; padding: 4px 0 4px 16px; border-left: 3px solid var(--ochre); font: italic 400 clamp(16px, 1.3vw, 20px)/1.4 var(--serif); }
blockquote cite { display: block; margin-top: 6px; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; font-style: normal; color: var(--ink-soft); }
.rules { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); display: grid; grid-template-columns: 1fr 1fr; }
.rules li { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--rule); font: 400 13.5px/1.4 var(--sans); color: var(--ink-soft); }
.rules li:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--rule); }
.rules b { display: block; font: italic 500 18px/1.2 var(--serif); color: var(--ink); }
.deck.small { font-size: 14px; margin: 14px 0 0; }
.zones { display: grid; gap: 6px; }
.zones button, .steps button {
  all: unset; box-sizing: border-box; cursor: pointer;
  display: grid; grid-template-columns: 14px 120px 1fr; gap: 10px; align-items: baseline;
  padding: 8px 10px; border: 1px solid var(--rule); border-radius: 3px;
  font: 400 13px/1.35 var(--sans); color: var(--ink-soft);
  transition: background .25s, border-color .25s, transform .25s;
}
.zones button::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c); border: 1.2px solid var(--ink); align-self: center; }
.zones button b { font: italic 500 17px/1.2 var(--serif); color: var(--ink); }
.zones button:hover, .steps button:hover { border-color: var(--ink); }
.zones button.on, .steps button.on { background: var(--ink); color: #C9D3D7; border-color: var(--ink); transform: translateX(4px); }
.zones button.on b, .steps button.on b { color: var(--paper); }
.zones button:focus-visible, .steps button:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }
.steps { display: grid; gap: 6px; margin-bottom: 4px; }
.steps button { grid-template-columns: 26px 1fr; grid-template-rows: auto auto; }
.steps button em { grid-row: 1 / 3; font: italic 500 26px/1 var(--serif); color: var(--terra); }
.steps button b { font: italic 500 17px/1.2 var(--serif); color: var(--ink); }
.steps button.on em { color: var(--ochre); }
.versus { display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--ink); }
.versus div { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); font: 400 13.5px/1.4 var(--sans); color: var(--ink-soft); }
.versus div + div { padding-left: 12px; border-left: 1px solid var(--rule); }
.versus b { display: block; font: italic 500 20px/1.2 var(--serif); color: var(--ink); text-decoration: line-through; text-decoration-color: var(--terra); }
.versus .win b { text-decoration: none; color: var(--teal); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.tags span { font: 600 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 8px 10px; border: 1.2px solid var(--ink); border-radius: 999px; }
.links { margin: 0; border-top: 1.5px solid var(--ink); display: grid; grid-template-columns: 1fr 1fr; }
.links div { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--rule); }
.links div:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--rule); }
.links dt { font: italic 500 19px/1.2 var(--serif); color: var(--terra); }
.links dd { margin: 2px 0 0; font: 400 13px/1.4 var(--sans); color: var(--ink-soft); }
.standard { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 1.5px solid var(--ink); counter-reset: s; }
.standard li {
  position: relative; display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--rule); font: 400 16px/1.4 var(--sans); color: var(--ink-soft);
  opacity: 0; transform: translateX(-10px); transition: opacity .5s, transform .5s;
}
.standard li::before {
  content: "✓"; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--ink);
  display: grid; place-items: center; font: 700 14px/1 var(--sans); color: var(--paper); background: var(--paper);
  transition: background .4s; align-self: center;
}
.standard li b { font: italic 500 20px/1.2 var(--serif); color: var(--ink); }
.standard li span { font: 500 11px/1 var(--mono); color: var(--terra); text-align: right; }
.is-active .standard li { opacity: 1; transform: none; }
.is-active .standard li::before { background: var(--teal); }
.standard li:nth-child(1) { transition-delay: .3s; } .standard li:nth-child(1)::before { transition-delay: .6s; }
.standard li:nth-child(2) { transition-delay: .5s; } .standard li:nth-child(2)::before { transition-delay: .8s; }
.standard li:nth-child(3) { transition-delay: .7s; } .standard li:nth-child(3)::before { transition-delay: 1s; }
.standard li:nth-child(4) { transition-delay: .9s; } .standard li:nth-child(4)::before { transition-delay: 1.2s; }
.standard li:nth-child(5) { transition-delay: 1.1s; } .standard li:nth-child(5)::before { transition-delay: 1.4s; }
.standard li:nth-child(6) { transition-delay: 1.3s; } .standard li:nth-child(6)::before { transition-delay: 1.6s; }
.standard li:nth-child(7) { transition-delay: 1.5s; } .standard li:nth-child(7)::before { transition-delay: 1.8s; }
.standard li:nth-child(8) { transition-delay: 1.7s; } .standard li:nth-child(8)::before { transition-delay: 2s; }
.standard li:nth-child(6) b { color: var(--terra); }
.close h2 { font-size: clamp(34px, 4.6vw, 76px); font-style: normal; font-weight: 300; }
.close h2 .dim { font-style: italic; color: #8FA3AE; }
.close h2 .glow { font-style: italic; font-weight: 500; color: var(--ochre); }
.dark .years li, .dark .rules li { border-color: rgba(242,236,223,.16); }

@media (max-width: 820px), (max-aspect-ratio: 4/5) {
  .legend { grid-template-columns: repeat(2, 1fr); }
  .legend li:nth-child(3) { border-left: 0; padding-left: 0; }
  .legend b { font-size: 15px; }
  .legend li { font-size: 11px; padding: 5px 6px 5px 0; }
  .years, .rules, .links, .versus, blockquote, .tags, .deck.small { display: none; }
  .punch { font-size: 20px; margin-top: 4px; }
  .punch.left { display: none; }
  .zones { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .zones button { grid-template-columns: 1fr; padding: 6px; font-size: 0; gap: 0; }
  .zones button::before { display: none; }
  .zones button b { font-size: 13px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .steps button { grid-template-columns: 1fr; font-size: 0; padding: 6px; text-align: center; }
  .steps button b { font-size: 11px; font-style: normal; font-family: var(--sans); }
  .steps button em { font-size: 18px; grid-row: auto; }
  .standard { grid-template-columns: 1fr; }
  .standard li { padding: 7px 0; font-size: 13px; grid-template-columns: 28px 1fr; }
  .standard li b { font-size: 15px; }
  .standard li span { display: none; }
  .standard li::before { width: 20px; height: 20px; font-size: 11px; }
  .close h2 { font-size: 30px; }
}
@media (max-height: 760px) and (min-width: 821px) {
  .years li, .rules li, .links div { padding-top: 6px; padding-bottom: 6px; }
  .zones button, .steps button { padding: 6px 10px; }
  .standard li { padding: 9px 0; }
}

.nw { white-space: nowrap; }
.standard li div { min-width: 0; }
.close::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(22,36,50,.82) 0%, rgba(22,36,50,.55) 45%, rgba(22,36,50,0) 75%); }
