@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ground: #131110;
  --chrome: rgb(19 17 16 / 0.72);
  --ink: #f1eee9;
  --ink-soft: rgb(241 238 233 / 0.8);
  --ink-muted: #a29e98;
  --accent: #eb8c55;
  --street: rgb(241 238 233 / 0.18);
  --card-hover: rgb(235 140 85 / 0.09);

  --font: -apple-system, BlinkMacSystemFont, "Archivo", system-ui, sans-serif;
  --text-display: clamp(2.375rem, 1.7rem + 2.6vw, 3.25rem);
  --text-title: clamp(1.625rem, 1.4rem + 0.9vw, 2rem);
  --text-subtitle: clamp(1.375rem, 1.25rem + 0.5vw, 1.625rem);
  --text-headline: clamp(1.1875rem, 1.125rem + 0.25vw, 1.3125rem);
  --text-body: 1.0625rem;
  --text-small: 0.875rem;
  --text-micro: 0.75rem;

  --content: 61.25rem;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --header-height: 3rem;

  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-s: 0.75rem;
  --space-m: 1.25rem;
  --space-l: clamp(2rem, 1.7rem + 1.2vw, 2.75rem);
  --space-xl: clamp(3.5rem, 2.6rem + 3.6vw, 6rem);
  --space-2xl: clamp(5rem, 3.8rem + 4.8vw, 8.5rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --card-bleed-x: clamp(0.625rem, 0.3rem + 1.4vw, 1rem);
  --card-bleed-y: 0.75rem;
  --icon-go: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E");
  --icon-out: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8.5 7H17v8.5'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --ground: #fbfaf7;
    --chrome: rgb(251 250 247 / 0.72);
    --ink: #1a1815;
    --ink-soft: rgb(26 24 21 / 0.78);
    --ink-muted: #706b66;
    --accent: #b15425;
    --street: rgb(26 24 21 / 0.14);
    --card-hover: rgb(177 84 37 / 0.07);
  }
}

@media (prefers-contrast: more) {
  :root {
    --ink-soft: var(--ink);
    --ink-muted: var(--ink);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  background: var(--ground);
  scrollbar-color: color-mix(in srgb, var(--ink) 28%, transparent) var(--ground);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.47;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1 0 auto;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + var(--space-m));
}

::selection {
  background: var(--accent);
  color: var(--ground);
}

a,
.link-button {
  border-radius: 0.25rem;
  color: var(--accent);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  transition:
    color 200ms var(--ease-out),
    background-color 200ms var(--ease-out),
    text-decoration-color 200ms var(--ease-out);
}

a:hover,
.link-button:hover {
  text-decoration-color: currentColor;
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  text-wrap: balance;
}

p,
ul,
ol {
  margin: 0;
}

p {
  text-wrap: pretty;
}

ul[role="list"],
ol[role="list"] {
  padding: 0;
  list-style: none;
}

.wrap {
  width: 100%;
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 20;
  padding: var(--space-xs) var(--space-m);
  border-radius: 980px;
  background: var(--accent);
  color: var(--ground);
  font-size: var(--text-small);
  font-weight: 500;
  text-decoration: none;
}

.skip:focus-visible {
  top: var(--space-xs);
  outline-color: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--chrome);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--ground);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: var(--space-s);
  min-height: var(--header-height);
  padding-block: var(--space-xs);
}

.wordmark {
  color: var(--ink);
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.0625rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.wordmark span {
  font-weight: 400;
  color: var(--ink-muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  column-gap: clamp(0.875rem, 0.4rem + 1.6vw, 1.5rem);
  font-size: 0.8125rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-footer {
  margin-top: var(--space-2xl);
  padding-block: var(--space-l) var(--space-xl);
  font-size: var(--text-micro);
  line-height: 1.5;
  color: var(--ink-muted);
}

.site-footer .wrap {
  display: grid;
  gap: var(--space-xs);
}

.site-footer p {
  max-width: 60ch;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration-line: none;
}

.site-footer a:hover {
  color: var(--ink);
  text-decoration-line: underline;
}

.display {
  font-size: var(--text-display);
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -0.022em;
}

.title {
  font-size: var(--text-title);
  line-height: 1.1;
  letter-spacing: -0.016em;
}

.subtitle {
  font-size: var(--text-subtitle);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.lead {
  max-width: 42ch;
  font-size: var(--text-headline);
  line-height: 1.4;
  color: var(--ink-soft);
}

.meta {
  font-size: var(--text-small);
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.go::after,
.out::after {
  content: "";
  display: inline-block;
  width: 0.66em;
  height: 0.66em;
  margin-left: 0.32em;
  vertical-align: -0.02em;
  background: currentColor;
  -webkit-mask: var(--icon-go) center / contain no-repeat;
  mask: var(--icon-go) center / contain no-repeat;
  transition:
    transform 260ms var(--ease-out),
    background-color 200ms var(--ease-out);
}

.out::after {
  content: "" / "(opens in a new tab)";
  -webkit-mask-image: var(--icon-out);
  mask-image: var(--icon-out);
}

a:hover > .go::after,
a.go:hover::after {
  transform: translateX(0.18em);
}

a:hover > .out::after,
a.out:hover::after {
  transform: translate(0.12em, -0.12em);
}

a.go,
.source a {
  font-weight: 500;
  text-decoration-line: none;
}

a.go:hover,
.source a:hover {
  text-decoration-line: underline;
}

.site,
.link,
.year,
.set {
  position: relative;
  isolation: isolate;
  margin: calc(-1 * var(--card-bleed-y)) calc(-1 * var(--card-bleed-x));
  padding: var(--card-bleed-y) var(--card-bleed-x);
  border-radius: 1rem;
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.site::before,
.link::before,
.year::before,
.set::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--card-hover);
  opacity: 0;
  transition: opacity 180ms var(--ease-out);
}

.site:is(:hover, :focus-visible)::before,
.link:is(:hover, :focus-visible)::before,
.year:is(:hover, :focus-visible)::before,
.set:is(:hover, :focus-visible)::before {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .site::before,
  .link::before,
  .year::before,
  .set::before {
    scale: 0.96;
    transition:
      opacity 180ms var(--ease-out),
      scale 480ms var(--ease-spring);
  }

  .site:is(:hover, :focus-visible)::before,
  .link:is(:hover, :focus-visible)::before,
  .year:is(:hover, :focus-visible)::before,
  .set:is(:hover, :focus-visible)::before {
    scale: 1;
  }

  .site:active::before,
  .link:active::before,
  .year:active::before,
  .set:active::before {
    scale: 0.985;
    transition-duration: 120ms;
  }
}

.site-name,
.link-name,
.year-name,
.set-artist {
  transition: color 200ms var(--ease-out);
}

.site-name::after,
.link-name::after,
.year-name::after,
.set-artist::after {
  background: var(--ink-muted);
}

.site:is(:hover, :focus-visible) .site-name,
.link:is(:hover, :focus-visible) .link-name,
.year:is(:hover, :focus-visible) .year-name,
.set:is(:hover, :focus-visible) .set-artist {
  color: var(--accent);
}

.site:is(:hover, :focus-visible) .site-name::after,
.link:is(:hover, :focus-visible) .link-name::after,
.year:is(:hover, :focus-visible) .year-name::after,
.set:is(:hover, :focus-visible) .set-artist::after {
  background: var(--accent);
}

.icon {
  display: block;
  width: 2rem;
  height: 2rem;
  overflow: visible;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon .solid {
  fill: currentColor;
  stroke: none;
}

.icon :is(g, path, circle, rect) {
  transform-box: fill-box;
  transform-origin: center;
}

.icon .flash,
.icon .ding,
.icon .sparks,
.icon .waves {
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  :is(.link, .year):is(:hover, :focus-visible) .icon :is(.cheese, .plane, .cloth, .megaphone, .waves, .fan, .key, .fob, .flash, .lens, .bell, .ding, .knob, .snail, .stalks, .needle, .crown, .rays, .sun, .sparks) {
    animation: var(--play) both;
  }

  .icon .cheese { --play: spin 820ms var(--ease-spring); }
  .icon .sparks { --play: crackle 820ms steps(1, end); }
  .icon .plane { --play: fly 860ms var(--ease-in-out); }
  .icon .cloth { --play: wave 1100ms var(--ease-in-out); transform-origin: left center; }
  .icon .megaphone { --play: shout 640ms var(--ease-in-out); transform-origin: 30% 60%; }
  .icon .waves { --play: echo 900ms var(--ease-out); transform-origin: left center; }
  .icon .fan { --play: flutter 900ms var(--ease-spring); transform-origin: center bottom; }
  .icon .key { --play: jingle 900ms var(--ease-in-out); transform-box: view-box; transform-origin: 8.5px 8.5px; }
  .icon .fob { --play: swing 1300ms var(--ease-in-out); transform-box: view-box; transform-origin: 6.4px 10.6px; }
  .icon .flash { --play: flash 520ms var(--ease-out); }
  .icon .lens { --play: shutter 520ms var(--ease-spring); }
  .icon .bell { --play: ring 900ms var(--ease-in-out); transform-origin: center bottom; }
  .icon .knob { --play: press 300ms var(--ease-out); }
  .icon .ding { --play: ding 900ms var(--ease-out); }
  .icon .snail { --play: creep 1600ms var(--ease-in-out); }
  .icon .stalks { --play: wiggle 1600ms var(--ease-in-out); transform-origin: center bottom; }
  .icon .needle { --play: seek 1300ms var(--ease-out); }
  .icon .crown { --play: hop 700ms var(--ease-out); transform-origin: center bottom; }
  .icon .rays { --play: shine 1400ms var(--ease-out); transform-box: view-box; transform-origin: 12px 18.5px; }
  .icon .sun { --play: rise 1400ms var(--ease-spring); }
}

@keyframes spin {
  to { rotate: 360deg; }
}

@keyframes crackle {
  0%, 30%, 60%, 100% { opacity: 0; }
  12%, 45% { opacity: 1; }
}

@keyframes fly {
  45% { translate: 0.55rem -0.55rem; scale: 0.6; opacity: 0; }
  46% { translate: -0.55rem 0.55rem; scale: 0.6; opacity: 0; }
}

@keyframes wave {
  20% { transform: skewY(-7deg) scaleX(0.92); }
  45% { transform: skewY(5deg) scaleX(0.97); }
  70% { transform: skewY(-3deg); }
}

@keyframes shout {
  20% { rotate: -8deg; }
  45% { rotate: 6deg; }
  70% { rotate: -3deg; }
}

@keyframes echo {
  0% { opacity: 0; translate: -0.15rem 0; }
  35% { opacity: 1; }
  100% { opacity: 0; translate: 0.2rem 0; }
}

@keyframes flutter {
  35% { scale: 0.3 1; }
}

@keyframes jingle {
  20% { rotate: -14deg; }
  45% { rotate: 10deg; }
  70% { rotate: -5deg; }
  85% { rotate: 2deg; }
}

@keyframes swing {
  20% { rotate: 16deg; }
  45% { rotate: -11deg; }
  68% { rotate: 6deg; }
  85% { rotate: -2deg; }
}

@keyframes flash {
  0% { opacity: 0; scale: 0.4; }
  30% { opacity: 1; scale: 1.15; }
  100% { opacity: 0; scale: 1; }
}

@keyframes shutter {
  30% { scale: 0.55; }
}

@keyframes ring {
  15% { rotate: -9deg; }
  32% { rotate: 7deg; }
  50% { rotate: -4deg; }
  68% { rotate: 2deg; }
}

@keyframes press {
  40% { translate: 0 0.12rem; }
}

@keyframes ding {
  0% { opacity: 0; scale: 0.7; }
  25% { opacity: 1; }
  100% { opacity: 0; scale: 1.25; }
}

@keyframes creep {
  50% { translate: -0.14rem 0; }
}

@keyframes wiggle {
  25% { rotate: -10deg; }
  50% { rotate: 8deg; }
  75% { rotate: -5deg; }
}

@keyframes seek {
  55% { rotate: 400deg; }
  78% { rotate: 345deg; }
  100% { rotate: 360deg; }
}

@keyframes hop {
  35% { translate: 0 -0.3rem; rotate: -12deg; }
  70% { translate: 0 0; rotate: 4deg; }
  85% { rotate: -2deg; }
}

@keyframes shine {
  50% { rotate: 22deg; opacity: 1; }
}

@keyframes rise {
  50% { translate: 0 -0.12rem; }
}

.hero {
  padding-block: var(--space-xl) var(--space-l);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-xl);
  align-items: center;
}

.hero-text {
  display: grid;
  gap: var(--space-m);
  align-content: start;
}

.hero .note {
  font-size: var(--text-small);
  color: var(--ink-muted);
}

@media (min-width: 56rem) {
  .hero .wrap {
    grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
    column-gap: var(--space-l);
  }
}

.city {
  display: block;
  width: min(100%, 28rem);
  height: auto;
  margin-inline: auto;
  overflow: visible;
}

.city .street {
  stroke: var(--street);
  stroke-width: 1;
}

.city .ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.4;
  stroke-linecap: round;
}

.city .esplanade {
  stroke-width: 2.75;
}

.city .plaza {
  fill: var(--ground);
  stroke: var(--accent);
  stroke-width: 1.25;
}

.city .man {
  fill: var(--accent);
}

.city .temple {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
}

.city .glow {
  fill: var(--accent);
  opacity: 0.16;
}

.city .ember,
.city .bike {
  fill: var(--accent);
}

.city .ember {
  opacity: 0;
}

.city :is(.man, .glow, .ember) {
  transform-box: fill-box;
  transform-origin: center;
}

@media (min-width: 56rem) {
  .hero .city {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .city .bikes {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .city .ring {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: survey 1400ms var(--ease-out) forwards;
  }

  .city .streets,
  .city .plaza,
  .city .temple {
    opacity: 0;
    animation: appear 900ms var(--ease-out) 900ms forwards;
  }

  .city .ring:nth-of-type(2) { animation-delay: 60ms; }
  .city .ring:nth-of-type(3) { animation-delay: 120ms; }
  .city .ring:nth-of-type(4) { animation-delay: 180ms; }
  .city .ring:nth-of-type(5) { animation-delay: 240ms; }
  .city .ring:nth-of-type(6) { animation-delay: 300ms; }
  .city .ring:nth-of-type(7) { animation-delay: 360ms; }
  .city .ring:nth-of-type(8) { animation-delay: 420ms; }
  .city .ring:nth-of-type(9) { animation-delay: 480ms; }
  .city .ring:nth-of-type(10) { animation-delay: 540ms; }
  .city .ring:nth-of-type(11) { animation-delay: 600ms; }

  .city .man {
    animation: burn 2.9s var(--ease-in-out) 1.6s infinite;
  }

  .city .glow {
    animation: flicker 3.7s var(--ease-in-out) 1.6s infinite;
  }

  .city .ember {
    animation: ember 3.4s var(--ease-out) infinite;
  }

  .city .ember:nth-child(1) { --drift: -0.6rem; animation-delay: 1.7s; }
  .city .ember:nth-child(2) { --drift: 0.5rem; animation-delay: 2.3s; animation-duration: 4.1s; }
  .city .ember:nth-child(3) { --drift: -0.2rem; animation-delay: 2.9s; animation-duration: 3s; }
  .city .ember:nth-child(4) { --drift: 0.9rem; animation-delay: 3.6s; animation-duration: 4.6s; }
  .city .ember:nth-child(5) { --drift: -1rem; animation-delay: 4.2s; animation-duration: 3.8s; }
  .city .ember:nth-child(6) { --drift: 0.3rem; animation-delay: 4.9s; animation-duration: 3.2s; }

  .hero-text > * {
    animation: arrive 700ms var(--ease-out) both;
  }

  .hero-text > :nth-child(2) { animation-delay: 70ms; }
  .hero-text > :nth-child(3) { animation-delay: 140ms; }
  .hero-text > :nth-child(4) { animation-delay: 210ms; }
}

@keyframes arrive {
  from {
    opacity: 0;
    translate: 0 0.75rem;
  }
}

@keyframes burn {
  0%, 100% { scale: 1; }
  30% { scale: 1.18; }
  45% { scale: 0.94; }
  70% { scale: 1.1; }
}

@keyframes flicker {
  0%, 100% { opacity: 0.14; scale: 1; }
  18% { opacity: 0.28; scale: 1.1; }
  34% { opacity: 0.17; scale: 0.96; }
  52% { opacity: 0.32; scale: 1.16; }
  76% { opacity: 0.2; scale: 1.02; }
}

@keyframes ember {
  0% { opacity: 0; translate: 0 0; scale: 1; }
  12% { opacity: 1; }
  100% { opacity: 0; translate: var(--drift, 0) -5.5rem; scale: 0.3; }
}

@keyframes survey {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes appear {
  to {
    opacity: 1;
  }
}

.sites {
  display: grid;
  gap: var(--space-l);
  margin-top: var(--space-xs);
}

.site {
  display: grid;
  gap: var(--space-2xs);
}

.site-name,
.link-name,
.year-name,
.principle-name {
  font-size: var(--text-headline);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -0.005em;
}

.site-desc,
.link-desc {
  max-width: 46ch;
  color: var(--ink-muted);
}

.section {
  padding-top: var(--space-xl);
}

.section-head {
  display: grid;
  gap: var(--space-s);
  margin-bottom: var(--space-m);
}

.section-head p {
  max-width: 58ch;
  color: var(--ink-muted);
}

.links {
  display: grid;
  gap: var(--space-l);
}

.links > li {
  display: grid;
}

@media (min-width: 48rem) {
  .links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.link {
  display: grid;
  gap: var(--space-2xs);
  align-content: start;
}

.link:has(> .icon) {
  grid-template-columns: 2rem minmax(0, 1fr);
  column-gap: var(--space-s);
}

.link > .icon {
  grid-row: 1 / span 3;
}

.link-host {
  font-size: var(--text-micro);
  color: var(--ink-muted);
}

.principles {
  padding-top: var(--space-2xl);
}

.principles .section-head {
  margin-bottom: var(--space-l);
}

.principle-list {
  display: grid;
  gap: var(--space-l) var(--space-xl);
}

@media (min-width: 44rem) {
  .principle-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.principle {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  row-gap: var(--space-2xs);
  align-items: baseline;
  align-content: start;
}

.principle-no {
  grid-row: 1;
  font-size: var(--text-small);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink-muted);
  transform-origin: left center;
}

.principle-text {
  grid-column: 2;
  max-width: 44ch;
  color: var(--ink-muted);
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .principle {
      animation: arrive linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 22%;
    }

    .principle-no {
      animation: kindle linear both;
      animation-timeline: view();
      animation-range: entry 40% cover 45%;
    }
  }
}

@keyframes kindle {
  0%, 25% { scale: 1; color: var(--ink-muted); text-shadow: none; }
  55% { scale: 1.35; color: var(--accent); text-shadow: 0 0 0.9em var(--accent); }
  100% { scale: 1; color: var(--ink-muted); text-shadow: none; }
}

.plus {
  margin-top: var(--space-xl);
}

.source {
  margin-top: var(--space-xl);
}

.prose {
  display: grid;
  gap: var(--space-s);
  max-width: 66ch;
}

.prose h2 {
  margin-top: var(--space-l);
  font-size: var(--text-headline);
  line-height: 1.24;
  letter-spacing: -0.005em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  display: grid;
  gap: var(--space-2xs);
  padding-left: 1.2em;
}

.opt-out {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs) var(--space-s);
  align-items: baseline;
}

.opt-out[hidden] {
  display: none;
}

.prose address {
  font-style: normal;
}

.prose code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.875em;
}

.prose dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-2xs) var(--space-m);
  margin: 0;
}

.prose dt {
  color: var(--ink-muted);
}

.prose dd {
  margin: 0 0 var(--space-xs);
}

@media (min-width: 40rem) {
  .prose dl {
    grid-template-columns: max-content minmax(0, 1fr);
  }

  .prose dd {
    margin-bottom: 0;
  }
}

.page-head {
  display: grid;
  gap: var(--space-s);
  padding-block: var(--space-xl);
}

.page-head .lead {
  margin-top: var(--space-xs);
}

.crumb {
  font-size: var(--text-small);
  color: var(--ink-muted);
}

.crumb a {
  color: var(--ink-soft);
  text-decoration-line: none;
}

.crumb a:hover {
  color: var(--ink);
  text-decoration-line: underline;
}

.years {
  display: grid;
}

.year {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: var(--space-m);
  row-gap: var(--space-2xs);
  align-items: baseline;
}

.year-no {
  grid-row: span 2;
  font-size: var(--text-headline);
  font-weight: 500;
  line-height: 1.24;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

.year .meta {
  grid-column: 2;
}

.year:has(> .icon) {
  grid-template-columns: 2rem auto minmax(0, 1fr);
}

.year > .icon {
  grid-row: span 2;
  align-self: start;
}

.year:has(> .icon) .meta {
  grid-column: 3;
}

.sets {
  display: grid;
  font-variant-numeric: tabular-nums;
}

.set {
  display: grid;
  grid-template-columns: 0.875rem minmax(0, 1fr) auto;
  gap: var(--space-2xs) var(--space-s);
  align-items: baseline;
  margin-block: 0;
  padding-block: var(--space-s);
}

.set-artist {
  font-weight: 500;
}

.set-note {
  grid-column: 2;
  color: var(--ink-muted);
}

.set-time {
  grid-column: 3;
  grid-row: 1;
  color: var(--ink-muted);
  white-space: nowrap;
}

@media (min-width: 48rem) {
  .set {
    grid-template-columns: 0.875rem minmax(0, 2fr) minmax(0, 3fr) auto;
    column-gap: var(--space-m);
  }

  .set-note {
    grid-column: 3;
    grid-row: 1;
  }

  .set-time {
    grid-column: 4;
  }
}

.eq {
  display: flex;
  align-items: flex-end;
  gap: 0.125rem;
  height: 0.75rem;
  color: var(--ink-muted);
  opacity: 0.5;
  transition:
    color 200ms var(--ease-out),
    opacity 200ms var(--ease-out);
}

.eq span {
  flex: 1;
  border-radius: 1px;
  background: currentColor;
  height: 100%;
  transform-origin: bottom;
  scale: 1 0.4;
}

.eq span:nth-child(2) { scale: 1 0.8; }
.eq span:nth-child(3) { scale: 1 0.55; }
.eq span:nth-child(4) { scale: 1 0.95; }

.set:is(:hover, :focus-visible) .eq {
  color: var(--accent);
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .set:is(:hover, :focus-visible) .eq span {
    animation: level 720ms var(--ease-in-out) infinite alternate;
  }

  .set:is(:hover, :focus-visible) .eq span:nth-child(2) { animation-duration: 540ms; animation-delay: -260ms; }
  .set:is(:hover, :focus-visible) .eq span:nth-child(3) { animation-duration: 860ms; animation-delay: -120ms; }
  .set:is(:hover, :focus-visible) .eq span:nth-child(4) { animation-duration: 610ms; animation-delay: -430ms; }
}

@keyframes level {
  from { scale: 1 0.15; }
  to { scale: 1 1; }
}

.lost {
  display: grid;
  gap: var(--space-s);
  padding-block: var(--space-2xl) var(--space-xl);
}

.lost .lead {
  margin-bottom: var(--space-xs);
}

main:has(> .dust) {
  position: relative;
  overflow: hidden;
}

.dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dust span {
  position: absolute;
  left: 0;
  top: 38%;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: var(--ink-muted);
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .dust span {
    animation: gust 9s linear infinite;
  }

  .dust span:nth-child(2) { top: 22%; width: 0.375rem; height: 0.375rem; animation-duration: 11s; animation-delay: -3s; }
  .dust span:nth-child(3) { top: 55%; width: 0.1875rem; height: 0.1875rem; animation-duration: 7s; animation-delay: -5s; }
  .dust span:nth-child(4) { top: 47%; animation-duration: 12s; animation-delay: -8s; }
  .dust span:nth-child(5) { top: 30%; width: 0.1875rem; height: 0.1875rem; animation-duration: 8s; animation-delay: -1s; }
  .dust span:nth-child(6) { top: 64%; width: 0.3125rem; height: 0.3125rem; animation-duration: 10s; animation-delay: -6s; }
  .dust span:nth-child(7) { top: 16%; width: 0.1875rem; height: 0.1875rem; animation-duration: 9.5s; animation-delay: -2s; }
  .dust span:nth-child(8) { top: 72%; animation-duration: 13s; animation-delay: -10s; }
}

@keyframes gust {
  0% { opacity: 0; translate: -1rem 0; }
  12% { opacity: 0.55; }
  60% { translate: 60vw -1.5rem; }
  88% { opacity: 0.35; }
  100% { opacity: 0; translate: 102vw -0.5rem; }
}
