:root {
  --bg: #07131c;
  --ink: #e8f1f6;
  --soft: #b7c9d6;
  --muted: #8aa3b5;
  --red: #e14b55;
  --sky: #3aa4dc;
  --line: rgba(232, 241, 246, 0.12);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, .84, .32, 1);
  --bar: rgba(246, 250, 252, 0.94);
  --bar-ink: #163044;
  --bar-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: calc(var(--bar-h) + 22px);
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.wash {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(225, 75, 85, 0.16), transparent 60%),
    radial-gradient(820px 560px at 100% 10%, rgba(58, 164, 220, 0.22), transparent 58%),
    #07131c;
}
.orb {
  position: absolute;
  width: 52vw;
  height: 52vw;
  border-radius: 50%;
  filter: blur(8px);
  animation: drift 16s ease-in-out infinite alternate;
}
.orb.cool {
  right: -12vw;
  top: -18vw;
  background: radial-gradient(circle, rgba(58, 164, 220, 0.34), transparent 68%);
}
.orb.warm {
  left: -18vw;
  bottom: -28vw;
  background: radial-gradient(circle, rgba(225, 75, 85, 0.2), transparent 70%);
  animation-duration: 22s;
}
.ambient-slide {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: blur(22px) saturate(1.15);
  animation: veil 48s ease-in-out infinite both;
}
.veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 19, 28, 0.55), rgba(7, 19, 28, 0.78) 40%, rgba(7, 19, 28, 0.92));
}
@keyframes veil {
  0% { opacity: 0; transform: scale(1.08); }
  10% { opacity: 0.55; }
  26% { opacity: 0.4; transform: scale(1); }
  38% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-4%, 3%, 0); }
}

.wipe {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(225, 75, 85, 0.18) 42%, rgba(58, 164, 220, 0.28) 58%, transparent 100%);
  transform: translateX(-110%);
}
html.leaving .wipe { animation: sweep 0.46s var(--ease) forwards; }
@keyframes sweep {
  to { transform: translateX(110%); }
}

.bar {
  --lx: 22%;
  --ly: 0%;
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 8;
  width: min(1080px, calc(100% - 28px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 8px 10px 8px 16px;
  border: 1px solid transparent;
  border-radius: 32px;
  color: #f4f8fb;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.06) 38%, rgba(7, 19, 28, 0.34) 100%) padding-box,
    linear-gradient(155deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.14) 40%, rgba(125, 196, 224, 0.65)) border-box;
  backdrop-filter: blur(26px) saturate(1.85);
  -webkit-backdrop-filter: blur(26px) saturate(1.85);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12),
    0 14px 36px rgba(0, 0, 0, 0.38);
  isolation: isolate;
  overflow: hidden;
}
.bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 42%),
    radial-gradient(38% 160% at var(--lx) var(--ly), rgba(255, 255, 255, 0.72), transparent 62%);
  mix-blend-mode: screen;
  animation: liquid 6s ease-in-out infinite;
}
.bar > * { position: relative; z-index: 1; }
@keyframes liquid {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}
html.scrolled .bar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(7, 19, 28, 0.5) 100%) padding-box,
    linear-gradient(155deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.16) 42%, rgba(125, 196, 224, 0.6)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 18px 40px rgba(0, 0, 0, 0.42);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  z-index: 2;
  width: max-content;
  padding: 4px 12px 4px 8px;
  border-radius: 18px;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 251, 0.78));
  box-shadow: inset 0 1px 0 #fff, 0 6px 16px rgba(0, 0, 0, 0.18);
}
.brand img { height: 34px; width: auto; }
.brand .cs { height: 40px; }

.rail {
  display: flex;
  justify-content: center;
  justify-self: center;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  position: relative;
  z-index: 1;
  gap: 6px;
  padding: 0;
  background: none;
  box-shadow: none;
}
.rail a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin: 0;
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: rgba(244, 248, 251, 0.92);
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, color 0.2s ease;
}
.rail a:hover { background: rgba(255, 255, 255, 0.12); }
.rail a[aria-current="page"] {
  color: #e00810;
  text-shadow: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 251, 0.78));
  box-shadow: inset 0 1px 0 #fff, 0 6px 16px rgba(0, 0, 0, 0.18);
}
.rail a[aria-current="page"]:hover {
  background: linear-gradient(180deg, #fff, rgba(244, 248, 251, 0.9));
}

.langs {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  margin: 0;
  padding: 0 8px 0 12px;
  border-radius: 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  background: none;
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.2);
}
.langs a {
  padding: 4px 8px;
  border-radius: 10px;
  text-decoration: none;
  color: rgba(244, 248, 251, 0.72);
  font-weight: 700;
}
.langs a[aria-current="true"] {
  color: #e00810;
  text-shadow: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 251, 0.78));
  box-shadow: inset 0 1px 0 #fff, 0 6px 16px rgba(0, 0, 0, 0.18);
}
.langs span { color: rgba(244, 248, 251, 0.35); }

h1, h2, h3, .chapters strong, .rows strong {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
h1, h2, h3, .rows strong {
  color: #f4f8fb;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35),
    0 2px 0 #9ec3d8,
    0 4px 0 #3f86ad,
    0 7px 0 rgba(18, 58, 84, 0.85),
    0 14px 22px rgba(0, 0, 0, 0.45);
}
.kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.lead, .prose { color: var(--soft); font-size: 18px; max-width: 40rem; }
.hero h1 { font-size: clamp(56px, 6.4vw, 92px); max-width: 12ch; margin: 0 0 16px; }
.story h2, .path h2, .page h1 { font-size: clamp(40px, 4.4vw, 64px); max-width: 14ch; margin: 0 0 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: white;
  background: linear-gradient(180deg, #49b0e4, #166896);
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 24px rgba(22, 104, 150, 0.35);
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(232, 241, 246, 0.35);
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 2vw;
  align-items: center;
  min-height: calc(100vh - var(--bar-h) - 22px);
  padding: 4vh 5vw 7vh;
}
.pile { position: relative; height: 560px; margin-left: -4vw; }
.pile figure {
  position: absolute;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.pile .back img, .pile .front img { width: 100%; height: 100%; object-fit: cover; }
.pile .far {
  width: 74%;
  aspect-ratio: 16 / 10;
  top: 18px;
  right: 0;
  transform: rotate(5deg);
  opacity: 0;
}
.pile .near {
  width: 78%;
  aspect-ratio: 16 / 10;
  top: 78px;
  right: 36px;
  transform: rotate(-2.4deg);
  opacity: 0;
}
.pile .front {
  width: 84%;
  aspect-ratio: 16 / 10;
  top: 150px;
  right: 78px;
  background: #0c1c28;
  opacity: 0;
}
.pile .front img.shot {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.pile.go .front { animation: card-in 0.45s ease forwards; }
.pile.go .far { animation: deck-far 0.9s ease forwards; }
.pile.go .near { animation: deck-near 0.9s ease forwards; }
.pile.go .front img.shot { animation: cross 42s ease-in-out infinite both; }
.mark-stage {
  position: fixed;
  inset: 0;
  z-index: 6;
  overflow: hidden;
  pointer-events: none;
}
.mark {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  margin: 0;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}
.mark img { width: 68%; height: auto; object-fit: contain; }
.mark-wave {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.18), 0 0 36px rgba(120, 196, 232, 0.45);
  opacity: 0;
}
@keyframes card-in { to { opacity: 1; } }
@keyframes deck-far { to { opacity: 0.55; } }
@keyframes deck-near { to { opacity: 0.82; } }
@keyframes cross {
  0% { opacity: 0; transform: scale(1.06); }
  8% { opacity: 1; transform: scale(1); }
  20% { opacity: 1; }
  30% { opacity: 0; transform: scale(1.03); }
  100% { opacity: 0; }
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 5vw 70px;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, var(--red), var(--sky)) 1;
}
.facts article { padding: 22px 18px 8px 0; }
.facts h2 {
  margin: 0 0 8px;
  font-size: 30px;
  color: #d7eef8;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3), 0 3px 0 #2f749c, 0 8px 12px rgba(0, 0, 0, 0.35);
}
.facts p { margin: 0; color: var(--muted); }

.story, .path, .page { padding: 10px 5vw 80px; }
.story {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.story ul, .split ul { list-style: none; margin: 22px 0 0; padding: 0; }
.story li, .split li {
  padding: 12px 0 12px 18px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  position: relative;
}
.story li::before, .split li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--red), var(--sky));
}
.stack { position: relative; height: 460px; }
.stack img {
  position: absolute;
  width: 78%;
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}
.stack img:nth-child(1) { top: 0; left: 8%; transform: rotate(-4deg); }
.stack img:nth-child(2) { top: 78px; left: 0; width: 84%; transform: rotate(2deg); }
.stack img:nth-child(3) { top: 168px; left: 12%; transform: rotate(-1deg); }

.path h2 { margin-bottom: 22px; }
.rows { display: grid; }
.rows a {
  display: grid;
  grid-template-columns: 72px 180px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 22px 8px;
  text-decoration: none;
  border-top: 1px solid var(--line);
  transition: background 0.45s var(--ease), transform 0.45s var(--ease);
}
.rows a:last-child { border-bottom: 1px solid var(--line); }
.rows a:hover { background: linear-gradient(90deg, rgba(225, 75, 85, 0.08), rgba(58, 164, 220, 0.08)); transform: translateX(8px); }
.rows span { color: var(--sky); letter-spacing: 0.14em; font-size: 13px; }
.rows strong { font-size: 36px; }
.rows em { font-style: normal; color: var(--muted); }

.page { padding-top: 36px; }
.page .lead { margin-bottom: 28px; }
.download-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 28px;
}
.disc {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 10px auto;
}
.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(58, 164, 220, 0.45);
}
.ring.a { animation: spin 28s linear infinite; border-color: transparent; background: conic-gradient(from 20deg, transparent, rgba(225, 75, 85, 0.7), transparent 28%, rgba(58, 164, 220, 0.75), transparent 70%); -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%); mask: radial-gradient(circle, transparent 62%, #000 63%); }
.ring.b { inset: 28px; border-color: rgba(232, 241, 246, 0.2); }
.ring.c { inset: 58px; border-color: rgba(225, 75, 85, 0.45); }
.hub {
  position: absolute;
  inset: 86px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: radial-gradient(circle at 40% 35%, #1c425c, #0b1c28 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15), 0 16px 30px rgba(0, 0, 0, 0.35);
}
.hub span { font-size: 11px; letter-spacing: 0.2em; color: var(--sky); }
.hub strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }
@keyframes spin { to { transform: rotate(360deg); } }

.files { display: grid; gap: 12px; }
.archive-card {
  background: rgba(10, 28, 40, 0.55);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.archive-card summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
}
.archive-card summary::-webkit-details-marker { display: none; }
.archive-card summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--sky);
  border-bottom: 2px solid var(--sky);
  transform: rotate(45deg);
  flex: none;
}
.archive-card details[open] summary::after { transform: rotate(-135deg); }
.archive-card summary h2 { margin: 0 0 4px; }
.archive-card summary p { margin: 0; color: var(--muted); }
.archive-body { padding: 0 24px 22px; }
.archive-body .btn { display: inline-flex; margin-top: 14px; }
.archive-card .notes { margin: 0; padding: 0; }
.archive-body .btn + .notes { margin-top: 18px; }
.archive-plain { padding: 22px 24px; }
.archive-plain h2 { margin: 0 0 4px; }
.archive-plain p { margin: 0; color: var(--muted); }
.file, .note, .split article, .blocks article {
  background: rgba(10, 28, 40, 0.55);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.file {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
}
.file h2, .split h2, .blocks h2, .note h2 {
  margin: 0 0 6px;
  font-size: 28px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), 0 3px 0 #245978, 0 8px 12px rgba(0, 0, 0, 0.3);
}
.file p, .note p { margin: 0; color: var(--muted); }
.sha { font-family: ui-monospace, monospace; font-size: 12px; word-break: break-all; margin-top: 8px !important; }
.release {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  margin: 8px 0 28px;
  padding: 28px 28px 8px;
  background: rgba(10, 28, 40, 0.55);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.release-mark span {
  display: block;
  color: var(--sky);
  letter-spacing: 0.18em;
  font-size: 13px;
}
.release-mark strong {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 500;
  line-height: 0.95;
}
.release .now { margin: 8px 0 0; padding-left: 18px; }
.release .now li { margin: 4px 0; color: var(--soft); }
.more { margin: 12px 0 0; }
.more a { color: var(--sky); text-decoration: none; border-bottom: 1px solid transparent; }
.more a:hover { border-bottom-color: currentColor; }
.release.history { display: block; padding-top: 8px; }
.release h2 { margin: 0 0 4px; font-size: 28px; }
.notes { list-style: none; margin: 8px 0 0; padding: 0; }
.notes > li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.notes > li b { color: var(--sky); font-weight: 600; padding-top: 2px; }
.notes ul { margin: 0; padding-left: 18px; }
.notes li li { margin: 3px 0; color: var(--soft); }
.split, .blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split article, .blocks article, .note { padding: 22px 24px; }
.note { margin-top: 16px; }
.blocks dt { color: var(--red); font-size: 13px; letter-spacing: 0.04em; }
.blocks dd { margin: 4px 0 0; color: var(--soft); }
.blocks dl { margin: 8px 0 0; }
.blocks dl > div { padding: 12px 0; border-top: 1px solid var(--line); }

.console {
  border-radius: 22px;
  overflow: hidden;
  background: rgba(6, 16, 24, 0.72);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35), inset 0 0 0 1px var(--line);
}
.console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.console-top i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.console-top i:nth-child(1) { background: var(--red); }
.console-top i:nth-child(2) { background: #e2b341; }
.console-top i:nth-child(3) { background: #3ecf8e; }
.console .blocks { padding: 8px 8px 16px; }

.theater { position: relative; margin: 8px 0 54px; min-height: 280px; }
.theater-back {
  position: absolute;
  width: 78%;
  left: 11%;
  top: 28px;
  border-radius: 20px;
  transform: rotate(2.4deg);
  opacity: 0.45;
  filter: saturate(0.8);
}
.video {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #061018;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.video figcaption { padding: 12px 16px 14px; }
.video a { color: #c5dff0; }
.section-title { font-size: 42px; margin: 8px 0 26px; }
.spine { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; display: grid; gap: 36px; }
.spine::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(var(--red), var(--sky));
}
.spine li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.step-copy h3 { font-size: 32px; margin: 0 0 8px; }
.step-copy p { margin: 0; color: var(--soft); max-width: 38rem; }
.still { position: relative; margin: 0; }
.still img {
  position: relative;
  z-index: 1;
  width: 88%;
  margin-left: auto;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.still .ghost {
  position: absolute;
  z-index: 0;
  width: 88%;
  right: 22px;
  top: 18px;
  margin: 0;
  opacity: 1;
  transform: rotate(2.5deg);
}

.walk {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  margin-top: 8px;
}
.walk-stage {
  position: relative;
  aspect-ratio: 1016 / 954;
  border-radius: 18px;
  overflow: hidden;
  background: #eef3f6;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.38);
}
.walk-shot {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.walk-shot.is-on { opacity: 1; }
.walk-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.walk-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--sky);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 2;
}
.walk-meter.run { animation: walk-fill linear forwards; }
@keyframes walk-fill { to { transform: scaleX(1); } }
.walk:hover .walk-meter,
.walk:focus-within .walk-meter { animation-play-state: paused; }
.walk-side { min-width: 0; }
.walk-copy { display: grid; }
.walk-copy article {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
}
.walk-copy article.is-on { opacity: 1; visibility: visible; }
.walk-n { margin: 0; color: var(--sky); letter-spacing: 0.16em; font-size: 12px; }
.walk-copy h2 { font-size: 40px; margin: 8px 0 12px; }
.walk-copy p { margin: 0; color: var(--soft); max-width: 34rem; }
.walk-nav { display: flex; gap: 10px; margin-top: 26px; }
.walk-nav button {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
}
.walk-nav button[data-walk="next"] {
  background: var(--sky);
  color: #07131c;
  border-color: transparent;
}
.walk-nav button:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 5vw 36px;
  color: var(--muted);
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, var(--red), var(--sky)) 1;
}
footer p { margin: 0; }
footer .dim a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s var(--ease), color 0.2s var(--ease); }
footer .dim a:hover { color: var(--sky); border-bottom-color: currentColor; }

.rise { animation: arrive 0.9s var(--ease) backwards; }
.hero .pile { animation: none; }
.facts article:nth-child(2) { animation-delay: 0.08s; }
.facts article:nth-child(3) { animation-delay: 0.16s; }
.facts article:nth-child(4) { animation-delay: 0.24s; }
.rows a:nth-child(2) { animation-delay: 0.08s; }
.rows a:nth-child(3) { animation-delay: 0.16s; }
.spine li:nth-child(2) { animation-delay: 0.06s; }
.spine li:nth-child(3) { animation-delay: 0.12s; }
.spine li:nth-child(4) { animation-delay: 0.18s; }
.spine li:nth-child(5) { animation-delay: 0.24s; }
.spine li:nth-child(6) { animation-delay: 0.3s; }
.blocks article:nth-child(2) { animation-delay: 0.08s; }
.blocks article:nth-child(3) { animation-delay: 0.14s; }
.blocks article:nth-child(4) { animation-delay: 0.2s; }
@keyframes arrive {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
html.leaving main { animation: leave 0.42s ease forwards; }
@keyframes leave {
  to { opacity: 0; transform: translateY(-24px) scale(0.985); }
}

@media (max-width: 980px) {
  :root { --bar-h: 150px; }
  .bar {
    grid-template-columns: 1fr auto;
    gap: 10px;
    width: calc(100% - 16px);
    padding: 10px 12px;
    border-radius: 24px;
  }
  .brand { grid-column: 1; grid-row: 1; }
  .langs { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; }
  .rail { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; width: 100%; margin: 0; }
  .rail a { min-width: 0; flex: 1; padding: 10px 6px; font-size: 13px; }
  .brand img { height: 26px; }
  .brand .cs { height: 30px; }
  .hero, .story, .facts, .split, .blocks, .spine li, .download-grid, .rows a, .walk, .release, .notes > li {
    grid-template-columns: 1fr;
  }
  .release-mark strong { font-size: 56px; }
  .pile { height: 320px; margin: 12px 0 0; }
  .pile .front { right: 24px; top: 70px; }
  .stack { height: 340px; }
  .facts { grid-template-columns: 1fr 1fr; margin-left: 18px; margin-right: 18px; }
  .hero, .story, .path, .page { padding-left: 18px; padding-right: 18px; }
  .rows a:hover { transform: none; }
  .still img, .still .ghost { width: 100%; margin: 0; }
  .walk-stage { aspect-ratio: 1016 / 954; }
  .walk-copy h2 { font-size: 32px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-slide, .orb, .pile .front img, .pile .front, .pile .far, .pile .near, .ring.a, .rise, .walk-meter, .bar::before, html.leaving main, html.leaving .wipe { animation: none; }
  .walk-shot { transition: none; }
  .pile .front { opacity: 1; }
  .pile .far { opacity: 0.55; }
  .pile .near { opacity: 0.82; }
  .mark, .mark-wave { display: none; }
  .pile .front img.shot:first-of-type, .ambient-slide:first-child { opacity: 1; }
  .rows a { transition: none; }
}
