:root {
  --ink: #000000;
  --raised: #161618;
  --paper: #f5f5f7;
  --muted: #a1a1a6;
  --line: #2a2a2d;
  --berry: #e8547a;
  --berry-ink: #1f0710;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --measure: 38rem;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --control-edge: #636366;
  color-scheme: dark;
}

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

[hidden] { display: none !important; }

html {
  font: 100%/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  background: var(--ink);
  color: var(--paper);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-padding-top: 6rem;
}

body { margin: 0; background: var(--ink); overflow-x: hidden; }

a { color: inherit; }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; border-radius: 0.25rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  padding: 0.75rem 1rem; background: var(--paper); color: var(--ink); border-radius: 0.5rem;
}
.skip:focus { top: 1rem; }

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1.15rem;
  border-radius: 0.75rem;
  border: 1px solid var(--control-edge);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: transform 120ms var(--ease-out), background-color 150ms ease;
}
.btn:hover { background: var(--raised); }
.btn:active, .btn.is-pressed { transform: scale(0.97); }
.btn-primary { background: var(--berry); color: var(--berry-ink); border-color: var(--berry); }
.btn-primary:hover { background: #ee6b8d; }

.nav {
  position: fixed;
  z-index: 20;
  top: max(0.75rem, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.3rem 0.3rem 0.3rem 1rem;
  max-width: calc(100% - 1.5rem);
  border-radius: 1rem;
  background: rgba(22, 22, 24, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.nav-brand { font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }

.nav-links { position: relative; display: flex; }
.nav-links a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
  transition: color 150ms ease;
}
.nav-links a[aria-current="true"] { color: var(--paper); }

.nav-mark {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  will-change: transform;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--ink);
}
.is-loading .loader { display: flex; }
.is-loading body { overflow: hidden; }
.loader-roll {
  width: clamp(7rem, 30vw, 10rem);
  height: auto;
  image-rendering: pixelated;
  animation: roll-sway 1.4s ease-in-out infinite;
}
@keyframes roll-sway {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-6px); }
}
.is-loading .hero-line > span, .is-loading .hero-body { animation-play-state: paused; }

.nav-brand { display: inline-flex; align-items: center; gap: 0.4rem; }
.berry { display: block; image-rendering: pixelated; }

.perch { position: relative; display: inline-block; padding-top: clamp(2.5rem, 5vw, 4rem); }
.berry-title { font: inherit; letter-spacing: inherit; line-height: inherit; text-align: left; cursor: pointer; transition: transform 120ms var(--ease-out); }
.berry-title:active { transform: scale(0.98); }
.perch-roll {
  position: absolute;
  right: -0.4em;
  top: clamp(0.1rem, 0.6vw, 0.5rem);
  width: clamp(4.75rem, 10vw, 7.5rem);
  padding: 0.25rem;
  cursor: pointer;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
}
.perch-roll img { display: block; width: 100%; height: auto; image-rendering: pixelated; transform-origin: 50% 90%; will-change: transform; }

.seeds { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }

.eyes { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }

.eyes-front { z-index: 2; }

main, .footer { position: relative; z-index: 1; }

main { padding-inline: var(--gutter); max-width: 84rem; margin: 0 auto; }

.hero { padding-block: clamp(8rem, 18vh, 12rem) 0; }

.hero-title {
  margin: 0;
  font-size: clamp(2.5rem, 7.2vw, 6.25rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.hero-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-line > span { display: block; animation: rise 900ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-line:nth-of-type(2) > span { animation-delay: 60ms; }
.hero-line:nth-of-type(3) > span { animation-delay: 120ms; }
.hero-line:nth-of-type(4) > span { animation-delay: 180ms; }
.hero-line:nth-of-type(5) > span { animation-delay: 240ms; }
.hero-br { display: none; }

@media (min-width: 52.01rem) {
  .hero-line { display: inline-block; vertical-align: top; }
  .hero-br { display: inline; }
}

.hero-body {
  margin-top: clamp(2rem, 4vw, 3rem);
  margin-left: clamp(0rem, 18vw, 16rem);
  max-width: var(--measure);
  animation: settle 700ms 260ms ease-out both;
}
.hero-body p { margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--raised);
  font-size: 0.9375rem;
  line-height: 1.35;
  text-decoration: none;
  animation: settle 700ms 120ms ease-out both;
  transition: border-color 160ms var(--ease-out);
}
.hero-note:hover { border-color: var(--berry); }
.hero-note-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--berry); flex: none; }
.hero-note-go { color: var(--berry); }

@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes settle { from { opacity: 0; } to { opacity: 1; } }

.devices { padding-top: clamp(6rem, 14vw, 11rem); }

.rail {
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.rail.is-dragging { cursor: grabbing; }

.rail-track { display: flex; gap: clamp(2rem, 6vw, 5rem); width: max-content; will-change: transform; }

.rail-item {
  font-size: clamp(3.25rem, 12vw, 10.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 700;
  white-space: nowrap;
  padding-block: 0.1em;
}

.rail-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.tabs { position: relative; display: flex; gap: 0.25rem; }
.tabs button {
  position: relative;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--muted);
  transition: color 150ms ease;
}
.tabs button[aria-selected="true"] { color: var(--paper); }
.tab-mark {
  position: absolute;
  left: 0;
  bottom: -1.3rem;
  height: 2px;
  width: 0;
  background: var(--berry);
  will-change: transform;
}

.rail-hint { margin: 0; font-size: 0.875rem; color: var(--muted); }

.device-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem clamp(2rem, 6vw, 6rem);
  padding-top: 3rem;
  min-height: 28rem;
}
.device-panel:focus-visible { outline-offset: 0.5rem; }

.device-lead { margin: 0 0 2rem; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.3; letter-spacing: -0.02em; font-weight: 600; max-width: 30ch; }

.facts { list-style: none; margin: 0; padding: 0; max-width: var(--measure); }
.facts li { padding: 0.9rem 0; border-top: 1px solid var(--line); color: #d2d2d7; line-height: 1.5; }
.facts li:first-child { border-top: 0; padding-top: 0; }

.specs { margin: 0; display: grid; gap: 1.5rem; align-content: start; }
.specs div { display: grid; gap: 0.2rem; }
.specs dt { font-size: 0.875rem; color: var(--muted); }
.specs dd { margin: 0; font-size: 1.0625rem; font-weight: 500; }
.specs a { text-decoration-color: var(--berry); text-underline-offset: 0.2em; }

.kernel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 4rem clamp(2rem, 7vw, 7rem);
  padding-top: clamp(8rem, 16vw, 13rem);
}

.section-title { margin: 0; font-size: clamp(2.75rem, 7vw, 5.5rem); line-height: 1; letter-spacing: -0.045em; font-weight: 700; }

.kernel-lead { margin: 1.75rem 0 0; font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.5; max-width: var(--measure); }
.kernel-note { margin: 1.25rem 0 0; color: var(--muted); max-width: var(--measure); }

.release { align-self: end; padding-top: 1.5rem; border-top: 2px solid var(--berry); }
.release-label { margin: 0; font-size: 0.875rem; color: var(--muted); }
.release-name { margin: 0.5rem 0 0; font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }
.release-meta { margin: 0.6rem 0 0; color: var(--muted); }
.release-state[data-state="loading"] .release-name { color: var(--muted); }
.release-btn { margin-top: 1.75rem; }

.upstream {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 3rem clamp(2rem, 7vw, 7rem);
  padding-top: clamp(8rem, 16vw, 13rem);
}
.upstream-head p { margin: 1.25rem 0 0; color: var(--muted); max-width: 22rem; }

.log { list-style: none; margin: 0; padding: 0; }
.log li { border-top: 1px solid var(--line); }
.log li:last-child { border-bottom: 1px solid var(--line); }
.log a, .log li > div {
  display: grid;
  gap: 0.2rem;
  padding: 1.05rem 0;
  text-decoration: none;
}
.log a { transition: opacity 150ms ease; }
.log a:active { opacity: 0.6; }
.log-what { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.log-where { font-size: 0.875rem; color: var(--muted); }

.press { grid-column: 2; margin-top: 2rem; }
.press-title { margin: 0 0 1rem; font-size: 1rem; color: var(--muted); font-weight: 500; }
.press ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.press li a { display: inline-block; padding-block: 0.65rem; }
.press a { text-decoration-color: var(--line); text-underline-offset: 0.25em; line-height: 1.45; }
.press a:hover { text-decoration-color: var(--berry); }

.people { padding-top: clamp(8rem, 16vw, 13rem); }

.people-lead {
  margin: 0;
  font-size: clamp(1.6rem, 3.6vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 28ch;
}
.people-lead[data-state="loading"], .people-lead[data-state="error"] { color: var(--muted); font-weight: 600; }
.people-lead a { text-decoration-color: var(--berry); text-underline-offset: 0.12em; text-decoration-thickness: 0.06em; }

.known {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 6vw, 5rem);
  max-width: 60rem;
}
.known:empty { display: none; }
.known li { border-top: 1px solid var(--line); }
.known a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 0;
  text-decoration: none;
  transition: opacity 120ms ease-out;
}
.known a:active { opacity: 0.6; }
.known a:hover .known-name { text-decoration: underline; text-decoration-color: var(--berry); text-underline-offset: 0.2em; }
.known img { flex: none; width: 3rem; height: 3rem; border-radius: 50%; background: var(--raised); }
.known-text { display: grid; gap: 0.1rem; min-width: 0; }
.known-name { font-weight: 600; letter-spacing: -0.01em; }
.known-what { font-size: 0.875rem; color: var(--muted); }

@media (max-width: 52rem) {
  .known { grid-template-columns: minmax(0, 1fr); }
}

.faces {
  list-style: none;
  margin: 2.5rem 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 44rem;
}
.faces a {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--raised);
  transition: transform 120ms ease-out;
}
.faces a:active, .faces a.is-pressed { transform: scale(0.9); }
.faces a.is-key { box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--berry); }
.faces img { display: block; width: 100%; height: 100%; object-fit: cover; }

.support { padding-block: clamp(8rem, 16vw, 13rem) clamp(5rem, 10vw, 8rem); }

.support-lead {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
  max-width: 22ch;
}

.drive {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 1rem;
  max-width: 46rem;
}
.drive p { margin: 0 0 1rem; color: #d2d2d7; }
.drive .hero-actions { margin-top: 1.75rem; }
.drive-h { margin-top: 2rem; }

.drive-specs {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.875rem;
}
.drive-specs li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--line);
}
.drive-specs li:last-child { padding-bottom: 0; border-bottom: 0; }
.drive-model { font-weight: 700; min-width: 7.5rem; }
.drive-id { color: var(--muted); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.drive-yes { margin-left: auto; color: var(--berry); font-weight: 600; font-size: 0.9375rem; }
.drive-no { margin-left: auto; color: var(--muted); font-size: 0.9375rem; }
.drive-note { color: var(--muted) !important; }

.supporters { margin: 2rem 0 0; color: var(--muted); max-width: 44rem; line-height: 1.7; }

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem clamp(2rem, 7vw, 7rem);
  margin-top: clamp(4rem, 8vw, 6rem);
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.support-grid p { margin: 0 0 1.5rem; color: #d2d2d7; max-width: 30rem; }
.support-h { margin: 0 0 0.75rem; font-size: 1.375rem; letter-spacing: -0.02em; }
.discord { font-size: 1.0625rem; font-weight: 600; color: var(--paper) !important; font-variant-numeric: tabular-nums; }
.discord[data-state="error"] { color: var(--muted) !important; font-weight: 400; }

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: 84rem;
  margin: 0 auto;
  padding: 2rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.footer-links a, .copy {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--muted);
  transition: color 150ms ease;
}
.footer-links a:hover, .copy:hover { color: var(--paper); }
.copy.is-done { color: var(--berry); }
.footer-time { margin: 0; font-size: 0.875rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.scrim { position: fixed; inset: 0; z-index: 30; background: #000; opacity: 0; pointer-events: none; }
.scrim.is-active { pointer-events: auto; }

.sheet {
  position: fixed;
  z-index: 40;
  left: 0;
  right: 0;
  bottom: 0;
  margin-inline: auto;
  width: min(36rem, 100%);
  max-height: 88dvh;
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem 1.5rem 0 0;
  background: rgba(22, 22, 24, 0.86);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 0;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.6);
  touch-action: none;
  will-change: transform;
}
.sheet::after { content: ""; position: absolute; left: -1px; right: -1px; top: 100%; height: 6rem; background: var(--raised); }

.grabber { flex: none; width: 2.25rem; height: 0.3rem; margin: 0.6rem auto 0; border-radius: 1rem; background: rgba(255, 255, 255, 0.3); }

.sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 1.25rem 1.5rem calc(1.75rem + env(safe-area-inset-bottom)); }
.sheet-body h2 { margin: 0; font-size: 1.75rem; letter-spacing: -0.03em; }
.sheet-lead { margin: 0.5rem 0 1.5rem; color: var(--muted); }
.sheet-lead a, .profile-all a { text-decoration-color: var(--berry); text-underline-offset: 0.2em; }
.profiles { list-style: none; margin: 0; padding: 0; }
.profiles li { padding: 1rem 0; border-top: 1px solid var(--line); }
.profile-head { display: flex; align-items: baseline; gap: 0.6rem; }
.profile-name { font-weight: 650; font-size: 1.125rem; letter-spacing: -0.01em; }
.profile-pick { font-size: 0.8125rem; font-weight: 600; color: var(--berry); }
.profile-about { margin: 0.25rem 0 0; color: #d2d2d7; }
.profile-dl {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 0.35rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--berry);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.profile-dl:active { opacity: 0.6; }
.profile-sha { margin: 0; font-size: 0.8125rem; color: var(--muted); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.profile-all { margin: 1rem 0 0; font-size: 0.9375rem; }
.release-open { font: inherit; letter-spacing: inherit; text-align: left; transition: transform 120ms ease-out, opacity 120ms ease-out; }
.release-open:hover { text-decoration: underline; text-decoration-color: var(--berry); text-underline-offset: 0.12em; text-decoration-thickness: 0.05em; }
.release-open:active { transform: scale(0.98); opacity: 0.8; }
.sheet-close { margin-top: 1.25rem; width: 100%; justify-content: center; }

@media (max-width: 52rem) {
  .device-panel, .kernel, .upstream, .support-grid { grid-template-columns: minmax(0, 1fr); }
  .press { grid-column: 1; }
  .hero-body { margin-left: 0; }
  .device-panel { min-height: 0; }
}

@media (max-width: 30rem) {
  .nav { gap: 0.25rem; padding-left: 0.8rem; }
  .nav-links a { padding: 0 0.5rem; font-size: 0.8125rem; }
  .rail-hint { display: none; }
  .drive-yes, .drive-no { margin-left: 0; flex-basis: 100%; }
  .drive-model { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-line > span, .hero-body, .hero-note { animation: none; }
  .btn:active, .btn.is-pressed { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .nav, .sheet { background: var(--raised); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

@media (prefers-contrast: more) {
  :root { --line: #6e6e73; --muted: #d2d2d7; }
}

.known-count { font-weight: 400; font-size: 0.8125rem; color: var(--muted); margin-left: 0.35rem; font-variant-numeric: tabular-nums; }

.facts a { text-decoration-color: var(--berry); text-underline-offset: 0.2em; }

.hero-who { display: flex; align-items: flex-start; gap: 1rem; }
.avatar { flex: none; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--raised); margin-top: 0.2rem; }
.hero-job { margin: 1.25rem 0 0 !important; color: var(--paper) !important; font-size: 1.0625rem !important; }

.footer-main { color: var(--paper) !important; font-weight: 600; }

.doc { max-width: 52rem; padding-block: 8rem 5rem; }
.doc-title { margin: 0; font-size: clamp(2.25rem, 6vw, 4rem); line-height: 1.05; letter-spacing: -0.04em; }
.doc-sub { margin: 1rem 0 2.5rem; color: var(--muted); max-width: var(--measure); }
.doc-text {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font: 0.8125rem/1.65 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: #d2d2d7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.petty { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 2px solid var(--berry); max-width: var(--measure); }
.petty-text { margin: 0; color: #d2d2d7; }
.petty-count {
  margin: 0.6rem 0;
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.rail-item { transform-origin: 0 80%; will-change: transform, opacity; }
.device-panel { will-change: transform, opacity; }

.petty-count .digit { display: inline-block; min-width: 0.05em; }

.log-what { position: relative; justify-self: start; }
.log a .log-what::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15em;
  height: 1px;
  background: var(--berry);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease-out);
}
.log a:focus-visible .log-what::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .log a:hover .log-what { text-decoration: none; }
  .log a:hover .log-what::after { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .log a .log-what::after { transition: none; }
}

.age-count { color: var(--paper); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.age-count .digit { display: inline-block; }

.lost-page { min-height: 100dvh; display: grid; place-items: center; }
.lost {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem var(--gutter);
  max-width: 34rem;
}
.lost-roll { padding: 0.5rem; cursor: pointer; }
.lost-roll img { display: block; width: clamp(9rem, 40vw, 13rem); height: auto; image-rendering: pixelated; transform-origin: 50% 90%; }
.lost-code { margin: 1.5rem 0 0; font-size: 1rem; font-weight: 600; color: var(--berry); font-variant-numeric: tabular-nums; }
.lost-title { margin: 0.4rem 0 0; font-size: clamp(2.5rem, 9vw, 4.5rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; }
.lost-sub { margin: 1rem 0 2rem; color: var(--muted); font-size: 1.0625rem; }

.journey { padding-top: clamp(8rem, 16vw, 13rem); }
.journey-title { font-size: clamp(2.25rem, 5.5vw, 4rem); }
.journey-sub { margin: 1rem 0 0; color: var(--muted); max-width: var(--measure); }
.journey-viewport {
  margin: 3rem calc(var(--gutter) * -1) 0;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.journey-viewport.is-dragging { cursor: grabbing; }
.journey-viewport:focus-visible { outline-offset: -2px; }
.journey-track {
  list-style: none;
  margin: 0;
  padding: 0 var(--gutter) 1rem;
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  width: max-content;
  will-change: transform;
}
.journey-track > .stop { width: clamp(15rem, 72vw, 19rem); flex: none; }
.journey-foot { display: flex; align-items: center; gap: 1.25rem; margin-top: 1.25rem; }
.journey-bar { position: relative; flex: 1; height: 2px; background: var(--line); overflow: hidden; max-width: 22rem; }
.journey-fill { position: absolute; inset: 0; background: var(--berry); transform-origin: left; transform: scaleX(0.06); will-change: transform; }
.journey-count { margin: 0; font-size: 0.875rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stop { position: relative; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.stop.is-waiting { opacity: 0; }
.stop-dot {
  position: absolute;
  top: -0.3rem;
  left: 0;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--paper);
}
.stop.is-now .stop-dot { background: var(--berry); }
.stop.is-now { border-top-color: var(--berry); }
.stop-when { margin: 0; font-size: 0.875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.stop-title { margin: 0.35rem 0 0.5rem; font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.02em; }
.stop-text { margin: 0; color: #d2d2d7; line-height: 1.5; }

@media (max-width: 22.5rem) {
  .nav { gap: 0.15rem; padding-left: 0.65rem; }
  .nav-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-links a { padding: 0 0.45rem; font-size: 0.78rem; }
}
.nav-brand { min-height: 2.75rem; min-width: 2.75rem; justify-content: center; }
