@font-face {
  font-family: "Barlow Condensed Local";
  src: url("/assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --black: #09090a;
  --near-black: #111113;
  --raised: #171719;
  --bone: #d8d5ce;
  --muted: #797975;
  --dim: #454448;
  --line: #2b2a2d;
  --accent: #713940;
  --success: #798b75;
  --display: "Barlow Condensed Local", "Arial Narrow", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "Cascadia Code", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-state: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-snap: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

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

html {
  background: var(--black);
  scroll-behavior: smooth;
}

html[data-booting="true"],
html[data-booting="true"] body {
  overflow: hidden;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  background: var(--black);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background: url("/assets/noise.png") repeat;
  opacity: 0.045;
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3,
dl,
dd,
ol,
ul {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 12px 16px;
  border: 1px solid var(--bone);
  background: var(--black);
  transform: translateY(-160%);
  transition: transform 160ms var(--ease-snap);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--bone);
  outline-offset: 4px;
}

.text-control {
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 10px;
  letter-spacing: 0.08em;
  transition: color 140ms var(--ease-snap), background-color 140ms var(--ease-snap), transform 140ms var(--ease-snap);
}

.text-control:active,
.system-button:active,
.terminal__form button:active {
  transform: scale(0.97);
}

.boot {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100dvh;
  padding: 20px;
  background: var(--black);
  color: var(--bone);
  transition: opacity 180ms var(--ease-state), clip-path 260ms var(--ease-state);
}

.boot[hidden] {
  display: none;
}

.boot.is-closing {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
}

.boot__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.boot__core {
  align-self: center;
  width: min(680px, 100%);
  margin-inline: auto;
}

.boot__kicker {
  margin-bottom: 28px;
  color: var(--bone);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.boot__log {
  list-style: none;
}

.boot__log li {
  display: grid;
  grid-template-columns: 74px 1fr;
  padding: 5px 0;
  color: var(--muted);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out);
}

.boot__log li.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.boot__log li span {
  color: var(--success);
}

.boot__log li.warn span,
.boot__log li.fail span {
  color: var(--accent);
}

.boot__log li.packet {
  grid-template-columns: 1fr;
  margin-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--bone);
}

.boot__meter {
  height: 2px;
  background: var(--line);
  overflow: hidden;
}

.boot__meter i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.boot.is-running .boot__meter i {
  animation: boot-meter 1.85s var(--ease-state) forwards;
}

@keyframes boot-meter {
  to { transform: scaleX(1); }
}

.system-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  background: var(--black);
}

.system-mark {
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  color: var(--bone);
  font-family: var(--display);
  font-size: 22px;
  text-decoration: none;
}

.system-bar__meta,
.system-bar__actions {
  display: flex;
  align-items: center;
}

.system-bar__meta {
  gap: 28px;
  padding-inline: 18px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.09em;
}

.hero {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  min-height: 100dvh;
  padding-top: 48px;
  border-bottom: 1px solid var(--line);
  background: var(--black);
}

.hero__rail {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 14px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
}

.hero__rail-end {
  margin-top: auto;
}

.hero__rail b {
  color: var(--success);
  font-weight: 400;
}

.hero__stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 78px 1fr 1fr auto;
  min-height: calc(100dvh - 48px);
  overflow: hidden;
  padding: 22px clamp(22px, 3vw, 52px) 22px;
}

.hero__signal {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.eyebrow {
  max-width: 20ch;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.signal-line {
  display: block;
  height: 1px;
  margin-top: 7px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

html[data-booting="false"] .signal-line {
  animation: draw-line 620ms var(--ease-out) 80ms forwards;
}

@keyframes draw-line {
  to { transform: scaleX(1); }
}

.incident-title {
  z-index: 2;
  grid-column: 1 / 10;
  grid-row: 2 / 4;
  align-self: center;
  font-family: var(--display);
  font-size: clamp(88px, 11.4vw, 190px);
  font-weight: 700;
  letter-spacing: -0.058em;
  line-height: 0.72;
  text-transform: uppercase;
}

.incident-title span {
  display: block;
  opacity: 0;
  transform: translateY(24px);
}

html[data-booting="false"] .incident-title span:first-child {
  animation: hero-in 520ms var(--ease-out) 40ms forwards;
}

html[data-booting="false"] .incident-title span:last-child {
  animation: hero-in 520ms var(--ease-out) 130ms forwards;
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.avatar-frame {
  position: relative;
  z-index: 4;
  grid-column: 8 / 11;
  grid-row: 2 / 4;
  align-self: center;
  justify-self: start;
  width: min(100%, 340px);
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 1px solid var(--dim);
  border-radius: 0;
  background: var(--near-black);
  cursor: crosshair;
  opacity: 0;
  transform: translate3d(18px, 0, 0);
}

html[data-booting="false"] .avatar-frame {
  animation: avatar-in 620ms var(--ease-out) 170ms forwards;
}

@keyframes avatar-in {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.avatar-frame::before,
.avatar-frame::after {
  content: "";
  position: absolute;
  z-index: 3;
  background: var(--accent);
}

.avatar-frame::before {
  top: -1px;
  left: -1px;
  width: 34%;
  height: 3px;
}

.avatar-frame::after {
  right: -6px;
  bottom: 8%;
  width: 6px;
  height: 28%;
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
}

.avatar-frame__corner {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 3px 5px;
  background: var(--black);
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.avatar-frame__scan {
  position: absolute;
  inset: 62% 0 auto;
  z-index: 2;
  height: 2px;
  background: var(--accent);
  opacity: 0.75;
}

.avatar-frame.is-corrupt {
  animation: avatar-corrupt 360ms var(--ease-snap);
}

@keyframes avatar-corrupt {
  0%, 100% { transform: translate3d(0, 0, 0); clip-path: inset(0); }
  20% { transform: translate3d(-3px, 1px, 0); clip-path: inset(7% 0 66% 0); }
  42% { transform: translate3d(4px, -1px, 0); clip-path: inset(35% 0 32% 0); }
  64% { transform: translate3d(-2px, 0, 0); clip-path: inset(72% 0 8% 0); }
}

.hero__name {
  z-index: 5;
  grid-column: 1 / 10;
  grid-row: 3;
  align-self: end;
  color: var(--bone);
  font-family: var(--display);
  font-size: clamp(102px, 16vw, 266px);
  font-weight: 700;
  letter-spacing: -0.064em;
  line-height: 0.58;
  pointer-events: none;
  white-space: nowrap;
  mix-blend-mode: normal;
  opacity: 0;
  transform: translate3d(-18px, 0, 0);
}

html[data-booting="false"] .hero__name {
  animation: name-in 560ms var(--ease-out) 260ms forwards;
}

@keyframes name-in {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hero__name.is-scrambling {
  animation: name-glitch 320ms var(--ease-snap);
}

@keyframes name-glitch {
  0%, 100% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(5px, 0, 0); }
  50% { transform: translate3d(-4px, 0, 0); }
  75% { transform: translate3d(2px, 0, 0); }
}

.avatar-note {
  z-index: 6;
  grid-column: 8 / 11;
  grid-row: 4;
  margin-top: 10px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.subject-data {
  z-index: 6;
  grid-column: 11 / 13;
  grid-row: 2 / 4;
  align-self: center;
  margin-left: clamp(22px, 1.8vw, 36px);
  border-top: 1px solid var(--line);
}

.subject-data > div {
  padding: 11px 0 10px;
  border-bottom: 1px solid var(--line);
}

.subject-data dt {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.subject-data dd {
  color: var(--bone);
  font-size: 10px;
}

.hero__footerline {
  grid-column: 11 / 13;
  grid-row: 4;
  display: flex;
  justify-content: space-between;
  align-self: end;
  color: var(--muted);
  font-size: 8px;
}

.section-index {
  display: flex;
  justify-content: space-between;
  padding: 14px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.section-index b {
  color: var(--bone);
  font-weight: 400;
}

.release {
  background: var(--near-black);
}

.release__header {
  display: grid;
  grid-template-columns: 2fr 8fr 2fr;
  align-items: end;
  min-height: 65vh;
  padding: clamp(72px, 11vw, 166px) clamp(20px, 4vw, 64px) clamp(48px, 6vw, 86px);
  border-bottom: 1px solid var(--line);
}

.release__header p,
.release__header strong {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.release__header strong {
  justify-self: end;
  color: var(--accent);
}

.release__header h2 {
  font-family: var(--display);
  font-size: clamp(72px, 10.6vw, 176px);
  font-weight: 700;
  letter-spacing: -0.052em;
  line-height: 0.73;
}

.patch-ledger {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  padding: 0 clamp(20px, 4vw, 64px) clamp(80px, 10vw, 150px);
}

.patch {
  border-top: 1px solid var(--dim);
  padding: 22px 0 clamp(70px, 10vw, 148px);
}

.patch header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: clamp(28px, 4vw, 60px);
}

.patch header span {
  color: var(--muted);
  font-size: 9px;
}

.patch h3 {
  font-family: var(--display);
  font-size: clamp(42px, 5.4vw, 86px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.86;
}

.patch ul {
  list-style: none;
}

.patch li {
  position: relative;
  padding: 9px 0 9px 34px;
  border-top: 1px solid var(--line);
  color: var(--bone);
  font-size: clamp(11px, 1vw, 14px);
}

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

.patch li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
}

.patch--added {
  grid-column: 1 / 9;
}

.patch--added li::before { content: "+"; }

.patch--improved {
  grid-column: 5 / 13;
}

.patch--improved li::before { content: "↑"; }

.patch--nerfed {
  grid-column: 2 / 8;
}

.patch--nerfed li::before { content: "↓"; }

.patch--fixed {
  grid-column: 8 / 13;
  padding-bottom: 34px;
}

.fixed-line {
  min-height: 96px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
  font-size: 12px;
}

.fixed-line span {
  display: block;
}

.fixed-line__first::before {
  content: "− ";
  color: var(--accent);
}

.fixed-line__first {
  transition: opacity 140ms var(--ease-state), transform 140ms var(--ease-state);
}

.fixed-line__correction {
  color: var(--accent);
  opacity: 0;
  transform: translateY(-7px);
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.fixed-line.is-corrected .fixed-line__first {
  opacity: 0.35;
  text-decoration: line-through;
  transform: translateX(4px);
}

.fixed-line.is-corrected .fixed-line__correction {
  opacity: 1;
  transform: translateY(0);
}

.issues {
  display: grid;
  grid-template-columns: 4fr 8fr;
  min-height: 100dvh;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--black);
}

.issues__lead {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(40px, 6vw, 92px) clamp(20px, 4vw, 58px);
  border-right: 1px solid var(--line);
}

.issues__lead > span,
.issues__lead p {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.issues__lead h2 {
  font-family: var(--display);
  font-size: clamp(74px, 9.5vw, 156px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.72;
}

.bug-list {
  list-style: none;
}

.bug-list li {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  min-height: 20vh;
  padding: 26px clamp(20px, 3vw, 46px);
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 20px;
}

.bug-list li:last-child {
  border-bottom: 0;
}

.bug-list span,
.bug-list b {
  color: var(--accent);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.bug-list p {
  max-width: 44ch;
  font-size: clamp(13px, 1.35vw, 20px);
}

.bug-list b {
  color: var(--muted);
  text-align: right;
}

.security-break {
  display: grid;
  grid-template-columns: 1.1fr 4.9fr 6fr;
  min-height: 78vh;
  background: var(--accent);
  color: var(--bone);
}

.security-break__rail,
.security-break__message,
.security-break__result {
  padding: clamp(30px, 5vw, 78px);
}

.security-break__rail,
.security-break__message {
  border-right: 1px solid rgba(216, 213, 206, 0.22);
}

.security-break__rail {
  font-size: 9px;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
}

.security-break__message {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: clamp(13px, 1.2vw, 18px);
}

.security-break__result {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.security-break__result span {
  margin: 24px 0 8px;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.security-break__result strong {
  font-family: var(--display);
  font-size: clamp(74px, 10vw, 166px);
  letter-spacing: -0.055em;
  line-height: 0.72;
}

.security-break__result p {
  font-size: clamp(16px, 2vw, 28px);
}

.terminal-section {
  display: grid;
  grid-template-columns: 5fr 7fr;
  min-height: 90vh;
  background: var(--near-black);
  border-bottom: 1px solid var(--line);
}

.terminal-section__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(50px, 7vw, 106px) clamp(20px, 5vw, 78px);
  border-right: 1px solid var(--line);
}

.terminal-section__intro > span,
.terminal-section__intro > p {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.terminal-section__intro h2 {
  margin: auto 0 42px;
  font-family: var(--display);
  font-size: clamp(72px, 9vw, 150px);
  letter-spacing: -0.052em;
  line-height: 0.72;
}

.terminal-section__intro > p {
  margin-bottom: 28px;
  letter-spacing: 0;
  line-height: 1.8;
}

.system-button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--muted);
  border-radius: 0;
  background: transparent;
  color: var(--bone);
  cursor: pointer;
  font-size: 10px;
  letter-spacing: 0.08em;
  transition: color 150ms var(--ease-snap), background-color 150ms var(--ease-snap), border-color 150ms var(--ease-snap), transform 150ms var(--ease-snap);
}

.terminal {
  align-self: center;
  width: calc(100% - clamp(40px, 8vw, 124px));
  max-width: 820px;
  margin-inline: auto;
  border: 1px solid var(--dim);
  background: var(--black);
  opacity: 1;
  transform: translateY(0);
}

.terminal[hidden] {
  display: none;
}

.terminal.is-opening {
  animation: terminal-open 260ms var(--ease-out) forwards;
}

@keyframes terminal-open {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.terminal__bar {
  display: flex;
  justify-content: space-between;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.terminal__output {
  min-height: 280px;
  max-height: 46vh;
  overflow-y: auto;
  padding: 18px;
  color: var(--muted);
  scrollbar-color: var(--dim) var(--black);
}

.terminal__output p {
  margin-bottom: 7px;
  overflow-wrap: anywhere;
}

.terminal__output p.command {
  margin-top: 14px;
  color: var(--bone);
}

.terminal__output p.error {
  color: #aa696f;
}

.terminal__output p.accepted {
  color: var(--success);
}

.terminal__output a {
  display: inline-block;
  margin-top: 8px;
  color: var(--bone);
  text-underline-offset: 4px;
}

.terminal__form {
  display: grid;
  grid-template-columns: auto 1fr 60px;
  min-height: 52px;
  border-top: 1px solid var(--line);
}

.terminal__form label {
  display: flex;
  align-items: center;
  padding-left: 14px;
  color: var(--accent);
  font-size: 11px;
}

.terminal__form input {
  min-width: 0;
  border: 0;
  padding: 0 10px;
  outline: 0;
  background: transparent;
  color: var(--bone);
  caret-color: var(--bone);
}

.terminal__form input:focus-visible {
  outline: 1px solid var(--bone);
  outline-offset: -4px;
}

.terminal__form button {
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--raised);
  color: var(--bone);
  cursor: pointer;
  font-size: 9px;
  transition: background-color 140ms var(--ease-snap), transform 140ms var(--ease-snap);
}

.terminal__hint {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
}

.final {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 4fr 6fr;
  min-height: 100dvh;
  background: #0d0d0e;
}

.final__rail,
.final__status,
.final__message {
  padding: clamp(42px, 6vw, 92px) clamp(20px, 4vw, 62px);
}

.final__rail,
.final__status {
  border-right: 1px solid var(--line);
}

.final__rail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.final__rail b {
  color: var(--bone);
  font-weight: 400;
}

.final__status {
  display: flex;
  flex-direction: column;
}

.final__status > p {
  color: var(--success);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.final__status h2 {
  margin: auto 0;
  font-family: var(--display);
  font-size: clamp(72px, 9vw, 150px);
  letter-spacing: -0.052em;
  line-height: 0.72;
}

.final__status dl {
  border-top: 1px solid var(--line);
}

.final__status dl > div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}

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

.final__message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  font-family: var(--mono);
  font-size: clamp(13px, 1.22vw, 18px);
  line-height: 1.7;
}

.system-button--final {
  align-self: flex-start;
  margin-top: 20px;
}

.final__reveal {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(30px, 6vw, 90px);
  background: var(--bone);
  color: var(--black);
  clip-path: inset(100% 0 0 0);
}

.final__reveal[hidden] {
  display: none;
}

.final__reveal.is-granted {
  animation: grant-access 420ms var(--ease-state) forwards;
}

@keyframes grant-access {
  0% { clip-path: inset(100% 0 0 0); transform: translate3d(0, 0, 0); }
  46% { clip-path: inset(0); transform: translate3d(0, 0, 0); }
  58% { clip-path: inset(34% 0 48% 0); transform: translate3d(4px, 0, 0); }
  68% { clip-path: inset(0); transform: translate3d(-3px, 0, 0); }
  100% { clip-path: inset(0); transform: translate3d(0, 0, 0); }
}

.final__reveal span {
  font-size: 10px;
  letter-spacing: 0.12em;
}

.final__reveal strong {
  font-family: var(--display);
  font-size: clamp(84px, 13.8vw, 228px);
  letter-spacing: -0.06em;
  line-height: 0.72;
}

.final__reveal strong b {
  color: var(--accent);
  font-weight: inherit;
}

.final__reveal::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 18%;
  width: 76%;
  height: 6px;
  background: var(--accent);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(20px, 4vw, 64px);
  border-top: 1px solid var(--line);
  background: var(--black);
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.system-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  width: min(360px, calc(100vw - 32px));
  padding: 14px;
  border: 1px solid var(--accent);
  background: var(--black);
  color: var(--bone);
  font-size: 10px;
  line-height: 1.6;
  white-space: pre-line;
}

.system-toast[hidden] {
  display: none;
}

.system-toast.is-entering {
  animation: toast-in 180ms var(--ease-out);
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .text-control:hover {
    background: var(--raised);
    color: var(--bone);
  }

  .system-mark:hover {
    background: var(--bone);
    color: var(--black);
  }

  .system-button:hover {
    border-color: var(--bone);
    background: var(--bone);
    color: var(--black);
    transform: translateY(-2px);
  }

  .terminal__form button:hover {
    background: var(--accent);
  }

  .terminal__output a:hover {
    color: var(--accent);
  }

  .avatar-frame:hover {
    border-color: var(--bone);
  }
}

@media (max-width: 1100px) {
  .hero__stage {
    grid-template-rows: 64px 1fr 1fr auto;
  }

  .avatar-frame {
    grid-column: 7 / 11;
    width: min(100%, 330px);
  }

  .hero__name {
    grid-column: 1 / 11;
  }

  .subject-data,
  .hero__footerline {
    grid-column: 11 / 13;
  }

  .bug-list li {
    grid-template-columns: 90px 1fr;
  }

  .bug-list b {
    grid-column: 2;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .system-bar {
    grid-template-columns: 52px 1fr auto;
  }

  .system-bar__meta {
    padding-inline: 10px;
  }

  .system-bar__actions .text-control {
    padding-inline: 9px;
  }

  .hide-small {
    display: none;
  }

  .hero {
    display: block;
    min-height: auto;
  }

  .hero__rail {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    min-height: 42px;
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    writing-mode: horizontal-tb;
  }

  .hero__rail span:nth-child(3),
  .hero__rail-end {
    display: none;
  }

  .hero__stage {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 18px 16px 28px;
  }

  .hero__signal {
    order: 1;
    min-height: 56px;
  }

  .incident-title {
    order: 2;
    align-self: stretch;
    margin: 34px 0 12px;
    font-size: clamp(76px, 24vw, 132px);
    line-height: 0.73;
  }

  .avatar-frame {
    order: 3;
    align-self: flex-end;
    justify-self: auto;
    width: min(72vw, 360px);
    margin-right: 5vw;
  }

  .hero__name {
    order: 4;
    align-self: stretch;
    margin-top: 12px;
    font-size: clamp(88px, 28vw, 154px);
    line-height: 0.72;
    white-space: nowrap;
  }

  .avatar-note {
    order: 5;
    align-self: flex-end;
    width: min(72vw, 360px);
    margin-right: 5vw;
  }

  .subject-data {
    order: 6;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-left: 0;
    margin-top: 54px;
  }

  .subject-data > div:nth-child(odd) {
    border-right: 1px solid var(--line);
    padding-right: 12px;
  }

  .subject-data > div:nth-child(even) {
    padding-left: 12px;
  }

  .hero__footerline {
    order: 7;
    margin-top: 26px;
  }

  .release__header {
    display: block;
    min-height: 78vh;
    padding: 76px 16px 42px;
  }

  .release__header h2 {
    margin: 30vh 0 26px;
    font-size: clamp(64px, 22vw, 112px);
  }

  .release__header strong {
    display: block;
    text-align: right;
  }

  .section-index {
    padding-inline: 16px;
  }

  .section-index span:last-child {
    display: none;
  }

  .patch-ledger {
    display: block;
    padding: 0 16px 70px;
  }

  .patch {
    margin-left: 0;
    padding: 20px 0 82px;
  }

  .patch--improved,
  .patch--fixed {
    margin-left: 14vw;
  }

  .patch--nerfed {
    margin-right: 12vw;
  }

  .issues {
    display: block;
    min-height: 0;
  }

  .issues__lead {
    min-height: 74vh;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 50px 16px;
  }

  .issues__lead h2 {
    font-size: clamp(86px, 26vw, 144px);
  }

  .bug-list li {
    display: grid;
    grid-template-columns: 80px 1fr;
    min-height: 0;
    padding: 28px 16px;
  }

  .security-break {
    display: block;
    min-height: 0;
  }

  .security-break__rail {
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(216, 213, 206, 0.22);
    writing-mode: horizontal-tb;
  }

  .security-break__message {
    min-height: 42vh;
    padding: 36px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(216, 213, 206, 0.22);
  }

  .security-break__result {
    min-height: 60vh;
    padding: 36px 16px;
  }

  .security-break__result strong {
    font-size: clamp(78px, 23vw, 126px);
  }

  .terminal-section {
    display: block;
    min-height: 0;
  }

  .terminal-section__intro {
    min-height: 78vh;
    padding: 50px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .terminal-section__intro h2 {
    font-size: clamp(74px, 22vw, 118px);
  }

  .terminal {
    width: calc(100% - 32px);
    margin-block: 32px;
  }

  .terminal__form {
    grid-template-columns: 1fr 54px;
  }

  .terminal__form label {
    grid-column: 1 / 3;
    min-height: 36px;
    border-bottom: 1px solid var(--line);
  }

  .terminal__form input,
  .terminal__form button {
    min-height: 52px;
  }

  .final {
    display: block;
    min-height: 0;
  }

  .final__rail {
    flex-direction: row;
    gap: 10px;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .final__rail span:nth-child(2) {
    display: none;
  }

  .final__status {
    min-height: 74vh;
    padding: 48px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .final__status h2 {
    font-size: clamp(82px, 24vw, 132px);
  }

  .final__message {
    min-height: 92vh;
    padding: 56px 16px;
  }

  .final__reveal {
    position: fixed;
    z-index: 90;
    padding: 26px 16px 60px;
  }

  .final__reveal strong {
    font-size: clamp(76px, 22vw, 122px);
  }

  .footer {
    flex-direction: column;
    padding-inline: 16px;
  }
}

@media (max-width: 420px) {
  .system-bar__meta {
    display: none;
  }

  .system-bar {
    grid-template-columns: 52px 1fr;
  }

  .system-bar__actions {
    justify-content: flex-end;
  }

  .system-bar__actions .text-control:first-child {
    border-left: 0;
  }

  .incident-title {
    font-size: clamp(68px, 23.5vw, 104px);
  }

  .hero__name {
    font-size: clamp(76px, 26.5vw, 116px);
  }

  .patch--improved,
  .patch--fixed {
    margin-left: 8vw;
  }

  .bug-list li {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .bug-list b {
    grid-column: 1;
  }

  .boot {
    padding: 14px;
  }

  .boot__log li {
    grid-template-columns: 64px 1fr;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .incident-title span,
  .avatar-frame,
  .hero__name,
  .reveal,
  .boot__log li {
    transform: none !important;
  }

  .boot__meter i,
  .signal-line {
    transform: scaleX(1) !important;
  }
}
