/* ================================================================
   PROTOCOL ERROR × SONATURUM LAB
   FRAME / ESCAPE / RETURN
   ================================================================ */

:root {
  --bg: #f4f4ef;
  --paper: #fbfbf7;
  --ink: #070908;
  --ink-soft: #333333;
  --green: #00ff41;
  --green-dark: var(--green);
  --green-wash: var(--green);
  --rule: rgba(7, 9, 8, 0.78);
  --rule-soft: rgba(7, 9, 8, 0.22);
  --pad: clamp(1.5rem, 2.4vw, 2.75rem);
  --section-space: clamp(5rem, 10vw, 10rem);
  --font: "Courier New", Courier, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-height: 5.5rem;
  --z-noise: 72;
  --z-content: 3;
  --z-header: 70;
  --z-menu: 80;
  --z-boot: 200;
}

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

html {
  background: var(--bg);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  font-family: var(--font);
  overflow-x: clip;
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 49.92%, rgba(7, 9, 8, 0.025) 50%, transparent 50.08%),
    linear-gradient(0deg, transparent 0 49.92%, rgba(7, 9, 8, 0.02) 50%, transparent 50.08%);
  background-size: 37rem 37rem;
}

main,
.site-header,
.mobile-nav,
.footer {
  position: relative;
  z-index: var(--z-content);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

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

ol,
ul {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--green);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

[hidden] {
  display: none;
}

.frame {
  border-bottom: 1px solid var(--rule);
}

.section {
  position: relative;
}

.utility,
.service > b,
.method-step > b,
.metric > span,
.discipline-list,
.collab-registry,
.social-status {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.skip-link {
  position: fixed;
  z-index: 500;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.8rem 1rem;
  transform: translateY(-180%);
  border: 2px solid var(--ink);
  background: var(--green);
  font-weight: 700;
}

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

/* System surface -------------------------------------------------- */

.broadcast-noise {
  position: fixed;
  z-index: var(--z-noise);
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: multiply;
  image-rendering: pixelated;
  filter: contrast(1.12);
}

.system-damage {
  position: fixed;
  z-index: 50;
  right: 0;
  top: 50%;
  width: 2.35rem;
  height: clamp(17rem, 42vh, 24rem);
  transform: translateY(-50%);
  pointer-events: none;
}

.damage-slice {
  position: absolute;
  left: -0.45rem;
  display: block;
  width: 0.45rem;
  background: var(--green);
  opacity: 0;
}

.damage-slice--a {
  top: 8%;
  height: 2.2rem;
}

.damage-slice--b {
  bottom: 11%;
  height: 3.4rem;
}

.damage-readout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0.7rem 0.5rem;
  transform: rotate(180deg);
  background: rgba(7, 9, 8, 0.72);
  color: var(--paper);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  writing-mode: vertical-rl;
}

.damage-value {
  display: inline-block;
  color: inherit;
  font: inherit;
  font-variant-numeric: tabular-nums;
}

.damage-value.is-shifting {
  animation: decay-value-shift 150ms steps(3, end);
}

@keyframes decay-value-shift {
  0%, 100% { transform: translate(0); }
  34% { transform: translate(2px, -1px) scaleY(0.72); }
  67% { transform: translate(-1px, 1px); }
}

.system-corrupt .damage-slice {
  opacity: 1;
}

.system-corrupt .damage-readout {
  background: var(--green);
  color: var(--ink);
}

/* Boot ------------------------------------------------------------ */

.boot {
  position: fixed;
  z-index: var(--z-boot);
  inset: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: var(--pad);
  background: var(--ink);
  color: var(--paper);
  font-size: clamp(0.72rem, 1.2vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: boot-exit 1.85s var(--ease-out) forwards;
}

.boot b {
  position: relative;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
}

.boot b::after {
  position: absolute;
  inset: 0;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--green);
  animation: boot-progress 1.2s steps(8, end) forwards;
}

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

@keyframes boot-exit {
  0%, 72% { visibility: visible; transform: translateY(0); clip-path: inset(0); }
  84% { transform: translateY(-2%); clip-path: inset(0 0 88% 0); }
  100% { visibility: hidden; transform: translateY(-100%); clip-path: inset(0 0 100% 0); }
}

/* Header and navigation ------------------------------------------ */

.site-header {
  position: sticky;
  z-index: var(--z-header);
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  column-gap: clamp(0.5rem, 1vw, 1rem);
  align-items: center;
  min-height: var(--header-height);
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}

.brand--error {
  display: inline-flex;
  gap: 0.65ch;
  align-items: baseline;
  min-width: max-content;
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.brand-slice--main {
  position: relative;
  display: inline-block;
  color: transparent;
}

.brand-slice--main::before,
.brand-slice--main::after {
  position: absolute;
  inset: 0;
  color: var(--ink);
  content: attr(data-text);
}

.brand-slice--main::before {
  clip-path: inset(0 0 60% 0);
  transform: translateX(-1px);
}

.brand-slice--main::after {
  clip-path: inset(40% 0 0 0);
  transform: translateX(1px);
}

.brand-slice--lab {
  position: relative;
  display: inline-block;
  background: var(--green-dark);
  color: var(--ink);
  box-shadow: 0 0 0 0.14em var(--green-dark);
}

.brand-lab-copy {
  position: absolute;
  inset: 0;
}

.brand-lab-copy--top {
  clip-path: inset(0 0 50% 0);
  transform: translateX(0);
}

.brand-lab-copy--bottom {
  clip-path: inset(50% 0 0 0);
  transform: translateX(2px);
}

.brand-lab-measure {
  visibility: hidden;
}

.language-switch {
  position: relative;
  display: inline-flex;
  gap: 0.2rem;
  align-items: center;
  padding: 0.16rem;
  border: 1px solid var(--ink);
  background: var(--bg);
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1;
}

.language-switch::after {
  position: absolute;
  right: -3px;
  bottom: -4px;
  left: 18%;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--green);
}

.language-switch.is-shifting::after {
  animation: language-lock 240ms steps(4, end);
}

.language-switch button {
  min-width: 2.45rem;
  padding: 0.44rem 0.46rem;
  background: transparent;
  cursor: pointer;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
}

.language-switch button:hover,
.language-switch button:focus-visible {
  background: var(--green);
  color: var(--ink);
}

.language-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--green);
}

.language-switch.is-shifting button[aria-pressed="true"] {
  animation: language-shift 240ms steps(3, end);
}

.language-switch > span {
  opacity: 0.52;
}

@keyframes language-lock {
  0% { transform: scaleX(0); }
  65% { transform: scaleX(1) translateX(3px); }
  100% { transform: scaleX(0) translateX(-2px); }
}

@keyframes language-shift {
  0%, 100% { transform: translateX(0); }
  38% { transform: translateX(2px); clip-path: inset(0 0 52% 0); }
  72% { transform: translateX(-1px); clip-path: inset(48% 0 0 0); }
}

.menu-toggle {
  position: relative;
  min-width: 5.5rem;
  padding: 0.7rem;
  border: 1px solid transparent;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: right;
  cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle:focus-visible,
.menu-toggle[aria-expanded="true"] {
  border-color: var(--ink);
  background: var(--green);
}

.menu-backdrop {
  position: fixed;
  z-index: 75;
  inset: var(--header-height) 0 0;
  width: 100%;
  background: rgba(7, 9, 8, 0.34);
  cursor: default;
}

.mobile-nav {
  position: fixed;
  z-index: var(--z-menu);
  top: var(--header-height);
  right: 0;
  width: min(48rem, 100%);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  background: var(--ink);
  color: var(--paper);
}

.mobile-nav a {
  display: grid;
  grid-template-columns: 4rem 1fr;
  align-items: center;
  min-height: clamp(4.25rem, 9vh, 6rem);
  padding: 0 var(--pad);
  border-bottom: 1px solid rgba(255, 255, 255, 0.27);
  font-size: clamp(1.5rem, 4vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
}

.mobile-nav a span {
  color: var(--green);
  font-size: 0.72rem;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  background: var(--green);
  color: var(--ink);
}

.mobile-nav a:hover span,
.mobile-nav a:focus-visible span {
  color: var(--ink);
}

/* Hero ------------------------------------------------------------ */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 56%) minmax(22rem, 44%);
  grid-template-rows: auto minmax(43rem, calc(100svh - var(--header-height) - 5rem));
  overflow: clip;
  background: var(--bg);
}

.hero-meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  min-height: 4.8rem;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--rule);
}

.hero-meta span:nth-child(2) {
  justify-self: center;
}

.hero-meta span:last-child {
  justify-self: end;
}

.signal-indicator {
  display: inline-block;
  width: 0.62rem;
  height: 0.62rem;
  margin: 0 0.22rem;
  background: var(--green-dark);
  vertical-align: baseline;
  transition: opacity 80ms steps(1, end), transform 80ms steps(1, end);
}

.signal-indicator.is-off {
  transform: scaleY(0.2);
  opacity: 0.12;
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(4.5rem, 9vh, 7rem) var(--pad) clamp(6.5rem, 10vh, 9rem) calc(var(--pad) + 4.8rem);
}

.protocol-rail {
  position: absolute;
  top: clamp(4rem, 10vh, 7rem);
  bottom: clamp(10.5rem, 20vh, 12rem);
  left: var(--pad);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  border: 1px solid var(--ink);
  background: var(--green);
  color: var(--ink);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.lead {
  max-width: 38rem;
  margin-bottom: clamp(1.6rem, 3vw, 2.8rem);
  font-size: clamp(1.15rem, 2vw, 1.75rem);
  line-height: 1.35;
  text-wrap: balance;
}

.hero-protocol-mark {
  display: block;
  width: clamp(6rem, 8.4vw, 8rem);
  height: auto;
  margin-bottom: clamp(1rem, 1.8vw, 1.5rem);
}

.glitch {
  position: relative;
  z-index: 1;
  width: min-content;
  max-width: 100%;
  font-size: clamp(4.4rem, 8.7vw, 9.4rem);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.065em;
  text-transform: uppercase;
  animation: headline-glitch 8.6s steps(1, end) 2.1s infinite;
}

.glitch span {
  position: relative;
  display: inline-block;
  padding: 0 0.06em;
  background: var(--ink);
  color: var(--green-dark);
  text-shadow: none;
}

.glitch::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: attr(data-text);
  background: var(--ink);
  color: var(--green);
  opacity: 0;
  clip-path: inset(46% 0 36% 0);
}

.system-corrupt .glitch::before {
  transform: translateX(8px);
  opacity: 0.88;
}

@keyframes headline-glitch {
  0%, 88%, 91%, 94%, 100% { transform: translate(0); }
  89% { transform: translate(4px, -1px); }
  90% { transform: translate(-2px, 1px); }
  92% { transform: translate(7px, 0); clip-path: inset(28% 0 48% 0); }
  93% { transform: translate(-3px, 0); clip-path: inset(0); }
}

.hero-byline {
  display: flex;
  gap: 0.5ch;
  align-items: baseline;
  margin: clamp(1.5rem, 3vw, 2.6rem) 0 0.6rem;
  color: var(--ink);
  font-size: clamp(0.82rem, 1.25vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-byline span {
  font-size: 0.72em;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.8rem);
  align-items: center;
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.3rem;
  padding: 1rem 1.6rem;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(-4px, -4px);
  background: var(--green);
  box-shadow: 7px 7px 0 var(--ink);
}

.button--dark {
  width: max-content;
  background: var(--ink);
  color: var(--paper);
}

.button--dark:hover,
.button--dark:focus-visible {
  color: var(--ink);
}

.text-link {
  position: relative;
  padding: 0.6rem 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.text-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--ink);
  transition: transform 180ms var(--ease-out);
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(6px) scaleX(0.82);
  background: var(--green-dark);
}

.signal-core {
  --cx: 50%;
  --cy: 50%;
  --bracket-x: 0px;
  --bracket-y: 0px;
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-left: 1px solid var(--rule);
  background: var(--bg);
  isolation: isolate;
}

.signal-core::after {
  position: absolute;
  z-index: -1;
  inset: 1.5rem;
  content: "";
  border: 1px solid var(--green-dark);
  opacity: 0.55;
}

.plate {
  position: absolute;
  transform-origin: 50% 50%;
}

.plate--collision {
  z-index: 1;
  top: 18%;
  left: 18%;
  width: 58%;
  height: 68%;
  background: var(--green);
  clip-path: polygon(8% 6%, 84% 0, 100% 28%, 89% 100%, 46% 86%, 0 100%, 7% 49%);
  animation: core-collision 17s var(--ease-out) infinite alternate;
}

.plate--hatched {
  z-index: 3;
  top: 19%;
  left: 27%;
  width: 62%;
  height: 61%;
  background: repeating-linear-gradient(0deg, var(--ink) 0 3px, transparent 3px 8px);
  clip-path: polygon(8% 1%, 91% 8%, 100% 72%, 78% 100%, 13% 89%, 0 33%);
  animation: core-hatch 21s var(--ease-out) -3s infinite alternate;
}

.plate--ghost {
  z-index: 2;
  top: 31%;
  left: 24%;
  width: 57%;
  height: 46%;
  background: rgba(244, 244, 239, 0.26);
  clip-path: polygon(15% 0, 100% 14%, 84% 100%, 0 80%);
  box-shadow: inset 0 0 0 1px rgba(0, 255, 65, 0.45);
  animation: core-ghost 24s var(--ease-out) -7s infinite alternate;
}

@keyframes core-collision {
  0% { transform: translate(-2%, 1%) rotate(-4deg) scale(0.96); }
  43% { transform: translate(3%, -2%) rotate(1deg) scale(1.02, 0.98); }
  100% { transform: translate(-1%, 3%) rotate(5deg) scale(0.98, 1.04); }
}

@keyframes core-hatch {
  0% { transform: translate(2%, -1%) rotate(3deg) skewX(-1deg); }
  55% { transform: translate(-3%, 2%) rotate(-2deg) skewX(2deg); }
  100% { transform: translate(1%, -2%) rotate(1deg) skewY(-2deg); }
}

@keyframes core-ghost {
  0% { transform: translate(-2%, 2%) rotate(1deg); }
  100% { transform: translate(3%, -3%) rotate(-4deg); }
}

.pixel-field {
  position: absolute;
  z-index: 4;
  top: 37%;
  left: 39%;
  width: 28%;
  aspect-ratio: 1;
  background:
    linear-gradient(45deg, var(--ink) 25%, transparent 25% 75%, var(--ink) 75%),
    linear-gradient(45deg, var(--ink) 25%, transparent 25% 75%, var(--ink) 75%);
  background-position: 0 0, 0.7rem 0.7rem;
  background-size: 1.4rem 1.4rem;
  opacity: 0.72;
  mix-blend-mode: multiply;
}

.pixel-field::after {
  position: absolute;
  right: -2.1rem;
  bottom: -1.2rem;
  width: 0.72rem;
  height: 0.72rem;
  content: "";
  background: var(--green-dark);
  box-shadow: -0.72rem 0 var(--green-dark), -0.72rem -0.72rem var(--green-dark), -1.44rem -0.72rem var(--green-dark);
}

.crosshair {
  position: absolute;
  z-index: 5;
  top: var(--cy);
  left: var(--cx);
  width: 5.8rem;
  height: 5.8rem;
  transform: translate(-50%, -50%);
  border: 1px solid var(--paper);
  transition: top 120ms linear, left 120ms linear;
}

.crosshair::before,
.crosshair::after {
  position: absolute;
  content: "";
  background: var(--paper);
}

.crosshair::before {
  top: 50%;
  left: -1.4rem;
  width: calc(100% + 2.8rem);
  height: 1px;
}

.crosshair::after {
  top: -1.4rem;
  left: 50%;
  width: 1px;
  height: calc(100% + 2.8rem);
}

.protocol-bracket {
  position: absolute;
  z-index: 6;
  width: 2.3rem;
  height: 4.2rem;
  transition: transform 260ms var(--ease-out);
}

.protocol-bracket--left {
  top: 12%;
  left: 9%;
  border-top: 3px solid var(--green-dark);
  border-left: 3px solid var(--green-dark);
  transform: translate(var(--bracket-x), var(--bracket-y));
}

.protocol-bracket--right {
  right: 8%;
  bottom: 16%;
  border-right: 3px solid var(--green-dark);
  border-bottom: 3px solid var(--green-dark);
  transform: translate(var(--bracket-x), var(--bracket-y));
}

.signal-link {
  position: absolute;
  z-index: 8;
  top: 50%;
  left: 50%;
  display: flex;
  gap: 0.65ch;
  align-items: center;
  justify-content: center;
  min-width: min(77%, 23rem);
  min-height: 4.2rem;
  padding: 1rem 1.2rem;
  transform: translate(-50%, -50%);
  transform-origin: center;
  background: var(--ink);
  color: var(--paper);
  font-size: clamp(0.76rem, 1.25vw, 0.96rem);
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 180ms var(--ease-out), color 160ms ease;
}

.signal-link::before {
  position: absolute;
  top: 0.48rem;
  right: 0.48rem;
  bottom: 0.48rem;
  left: 0.48rem;
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: transform 200ms var(--ease-out), opacity 120ms ease;
  transform: scaleX(0.18);
  transform-origin: center;
  background:
    linear-gradient(var(--green), var(--green)) left top / 1rem 2px no-repeat,
    linear-gradient(var(--green), var(--green)) left top / 2px 1rem no-repeat,
    linear-gradient(var(--green), var(--green)) right top / 1rem 2px no-repeat,
    linear-gradient(var(--green), var(--green)) right top / 2px 1rem no-repeat,
    linear-gradient(var(--green), var(--green)) left bottom / 1rem 2px no-repeat,
    linear-gradient(var(--green), var(--green)) left bottom / 2px 1rem no-repeat,
    linear-gradient(var(--green), var(--green)) right bottom / 1rem 2px no-repeat,
    linear-gradient(var(--green), var(--green)) right bottom / 2px 1rem no-repeat;
}

.signal-command-sequence,
.signal-command,
.signal-result {
  display: inline-flex;
  align-items: center;
}

.signal-command-sequence {
  flex: 0 0 auto;
}

.signal-command {
  color: var(--green);
}

.signal-command-char {
  display: inline-block;
  overflow: hidden;
  max-width: 1ch;
  opacity: 1;
  transform: translateX(0);
  transition:
    max-width 45ms steps(1, end),
    opacity 35ms linear,
    transform 45ms var(--ease-out);
}

.signal-cursor {
  display: inline-block;
  overflow: hidden;
  width: 0.12em;
  max-width: 0;
  height: 1.05em;
  margin-left: 0;
  opacity: 0;
  background: var(--green);
  transform: scaleY(0.88);
  transform-origin: center;
  transition:
    max-width 1ms linear,
    margin-left 1ms linear,
    opacity 1ms linear;
}

.signal-result {
  gap: 0.65ch;
  font-size: inherit;
  transition: font-size 180ms var(--ease-out);
}

.signal-result i {
  font-style: normal;
}

.signal-link:hover,
.signal-link:focus-visible {
  transform: translate(-50%, -50%) scale(1.025);
  color: var(--green);
}

.signal-link:hover::before,
.signal-link:focus-visible::before {
  transform: scaleX(1);
  opacity: 1;
}

.signal-link:hover .signal-command-char,
.signal-link:focus-visible .signal-command-char {
  max-width: 0;
  opacity: 0;
  transform: translateX(-0.2ch);
  transition-delay: calc(var(--erase-step) * 45ms);
}

.signal-link:hover .signal-cursor,
.signal-link:focus-visible .signal-cursor {
  max-width: 0.12em;
  margin-left: 0.08em;
  opacity: 1;
  animation: signal-cursor-blink 620ms steps(1, end) 405ms infinite;
  transition-delay: 405ms;
}

.signal-link:hover .signal-result,
.signal-link:focus-visible .signal-result {
  font-size: 12.48px;
  transition-delay: 430ms;
}

.signal-link b {
  transition: transform 180ms var(--ease-out);
}

.signal-link:hover b,
.signal-link:focus-visible b {
  transform: translate(4px, 4px);
}

@keyframes signal-cursor-blink {
  0%,
  48% { opacity: 1; }

  49%,
  100% { opacity: 0; }
}

.core-label {
  position: absolute;
  z-index: 9;
  right: 2.4rem;
  bottom: 2.4rem;
  padding: 1rem 1.2rem;
  background: var(--ink);
  color: var(--paper);
}

.core-label i {
  font-style: normal;
}

.hero-index {
  position: absolute;
  bottom: 1.7rem;
  left: var(--pad);
}

.fault-tag {
  position: absolute;
  bottom: 1.7rem;
  left: 56%;
  padding: 0.3rem 0.5rem;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--green-dark);
  text-align: center;
}

/* Marquee --------------------------------------------------------- */

.marquee {
  position: relative;
  z-index: var(--z-content);
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  background: var(--ink);
  color: var(--paper);
}

.marquee__track {
  display: flex;
  gap: 1.3rem;
  align-items: center;
  width: max-content;
  min-height: 3.4rem;
  padding-right: 1.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: marquee 32s linear infinite;
}

.marquee__track i {
  color: var(--green);
  font-style: normal;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Shared section heads ------------------------------------------- */

.section-head {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(20rem, 1.2fr);
  gap: var(--pad);
  align-items: end;
  padding: var(--section-space) var(--pad) clamp(2.5rem, 5vw, 4.5rem);
}

.section-kicker {
  grid-column: 1 / -1;
  width: max-content;
  margin-bottom: clamp(1rem, 2vw, 2rem);
  padding: 0.24rem 0.42rem;
  background: var(--green);
  color: var(--ink);
}

.section-head h2 {
  position: relative;
  font-size: clamp(4.5rem, 9vw, 9rem);
  line-height: 0.82;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.section-head h2::after {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 0;
  padding: 0.22em 0.38em;
  background: var(--ink);
  color: var(--green);
  content: attr(data-ghost);
  font-size: 0.15em;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translate(2rem, -50%);
}

.section-head.protocol-escape h2::after,
.system-corrupt .section-head h2::after {
  opacity: 1;
}

.section-head > p:last-child {
  max-width: 46rem;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.45;
  text-wrap: pretty;
}

.section-head--inverse {
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--ink);
  color: var(--paper);
}

/* Manifesto ------------------------------------------------------- */

.manifesto {
  position: relative;
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) minmax(12rem, 14.5rem);
  gap: clamp(2rem, 5vw, 5rem);
  min-height: 48rem;
  padding: var(--section-space) var(--pad);
}

.section-rail {
  align-self: start;
  justify-self: center;
  writing-mode: vertical-rl;
}

.manifesto-main {
  grid-column: 2;
  max-width: 66rem;
}

.statement {
  max-width: 18ch;
  font-size: clamp(2.6rem, 5.7vw, 6.4rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.statement mark {
  display: inline;
  padding: 0.02em 0.08em;
  background: var(--green);
  color: var(--ink);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.about-copy {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(4rem, 9vw, 8rem);
  font-size: clamp(1.05rem, 1.7vw, 1.5rem);
  line-height: 1.68;
}

.about-copy p {
  max-width: 34ch;
  text-wrap: pretty;
}

.manifesto-note {
  position: relative;
  grid-column: 3;
  align-self: end;
  right: auto;
  bottom: auto;
  width: min(14.5rem, calc(100% - var(--pad) * 2));
  margin-bottom: clamp(0rem, 3vw, 2rem);
  padding: 0.8rem 0.9rem 0.9rem;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 4px 4px 0 var(--green);
}

.manifesto-note::before {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  width: 0.8rem;
  height: 0.8rem;
  border-top: 2px solid var(--green);
  border-right: 2px solid var(--green);
  content: "";
}

.manifesto-note__id {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--green);
  font-size: 0.58rem;
}

.manifesto-note dl {
  margin: 0;
}

.manifesto-note dl > div {
  display: grid;
  grid-template-columns: 4.3rem 1fr;
  gap: 0.55rem;
  padding: 0.35rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.manifesto-note dt,
.manifesto-note dd {
  margin: 0;
}

.manifesto-note dt {
  color: rgba(255, 255, 255, 0.58);
}

.manifesto-note b {
  display: block;
  margin-top: 0.75rem;
  color: var(--green);
  font-size: 0.62rem;
}

/* Services -------------------------------------------------------- */

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(28rem, 48vw, 40rem);
  overflow: hidden;
  padding: clamp(2rem, 4vw, 4rem) var(--pad);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  isolation: isolate;
  transition: background-color 220ms ease, color 220ms ease;
}

.service:nth-child(2n) {
  border-right: 0;
}

.service h3 {
  position: relative;
  z-index: 2;
  margin-top: clamp(4rem, 8vw, 7rem);
  font-size: clamp(2.2rem, 4.4vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.service p {
  position: relative;
  z-index: 2;
  max-width: 43ch;
  margin-top: 1.5rem;
  font-size: clamp(1rem, 1.7vw, 1.4rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.service > b {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.service-form {
  position: absolute;
  z-index: 1;
  display: block;
  width: clamp(12rem, 25vw, 25rem);
  height: clamp(10rem, 21vw, 21rem);
  background: var(--green);
  opacity: 0.24;
  transform-origin: 50% 50%;
}

.service-form--a {
  top: 9%;
  right: 6%;
  clip-path: polygon(4% 24%, 64% 0, 100% 17%, 71% 48%, 96% 83%, 25% 100%, 0 68%);
  animation: morph-a 19s var(--ease-out) infinite alternate;
}

.service-form--b {
  right: 10%;
  bottom: 12%;
  clip-path: polygon(0 5%, 81% 0, 100% 58%, 77% 100%, 18% 86%, 28% 47%);
  animation: morph-b 23s var(--ease-out) -8s infinite alternate;
}

.service-form--c {
  top: 14%;
  left: 42%;
  clip-path: polygon(14% 0, 89% 7%, 100% 64%, 62% 78%, 46% 100%, 0 63%);
  animation: morph-c 27s var(--ease-out) -4s infinite alternate;
}

.service-form--d {
  right: 8%;
  bottom: 9%;
  clip-path: polygon(7% 0, 100% 11%, 84% 46%, 100% 93%, 23% 100%, 0 55%);
  animation: morph-d 21s var(--ease-out) -13s infinite alternate;
}

@keyframes morph-a {
  0% { transform: translate(-3%, 4%) rotate(-3deg) scale(0.94); clip-path: polygon(4% 24%, 64% 0, 100% 17%, 71% 48%, 96% 83%, 25% 100%, 0 68%); }
  52% { transform: translate(4%, -2%) rotate(2deg) scale(1.03); clip-path: polygon(15% 5%, 88% 4%, 100% 49%, 79% 65%, 80% 100%, 12% 88%, 0 36%); }
  100% { transform: translate(-1%, 3%) rotate(5deg) scale(0.98); clip-path: polygon(0 16%, 72% 0, 91% 35%, 100% 72%, 62% 89%, 20% 100%, 8% 55%); }
}

@keyframes morph-b {
  0% { transform: translate(2%, -2%) rotate(2deg); clip-path: polygon(0 5%, 81% 0, 100% 58%, 77% 100%, 18% 86%, 28% 47%); }
  50% { transform: translate(-4%, 3%) rotate(-4deg) scale(1.06, 0.96); clip-path: polygon(12% 0, 100% 22%, 87% 76%, 46% 91%, 0 100%, 8% 43%); }
  100% { transform: translate(3%, -1%) rotate(1deg) scale(0.97, 1.04); clip-path: polygon(0 16%, 67% 1%, 100% 35%, 90% 100%, 21% 92%, 37% 54%); }
}

@keyframes morph-c {
  0% { transform: translate(-2%, -3%) rotate(-2deg); clip-path: polygon(14% 0, 89% 7%, 100% 64%, 62% 78%, 46% 100%, 0 63%); }
  47% { transform: translate(4%, 2%) rotate(4deg) scale(1.05); clip-path: polygon(0 12%, 63% 0, 95% 31%, 82% 100%, 32% 89%, 12% 54%); }
  100% { transform: translate(-3%, 1%) rotate(-5deg) scale(0.96, 1.04); clip-path: polygon(18% 0, 100% 16%, 82% 59%, 100% 91%, 24% 100%, 0 43%); }
}

@keyframes morph-d {
  0% { transform: translate(0) rotate(3deg); clip-path: polygon(7% 0, 100% 11%, 84% 46%, 100% 93%, 23% 100%, 0 55%); }
  55% { transform: translate(-4%, -3%) rotate(-2deg) scale(1.02); clip-path: polygon(18% 4%, 78% 0, 100% 55%, 68% 86%, 8% 100%, 0 29%); }
  100% { transform: translate(3%, 2%) rotate(5deg) scale(0.98, 1.06); clip-path: polygon(0 9%, 88% 0, 79% 38%, 100% 78%, 55% 100%, 14% 78%); }
}

@media (hover: hover) and (pointer: fine) {
  .service:hover {
    background: var(--green);
    color: var(--ink);
  }

  .service:hover .service-form {
    opacity: 0.46;
    filter: contrast(1.35);
  }
}

.service:focus-within {
  background: var(--green);
  color: var(--ink);
}

/* Method ---------------------------------------------------------- */

.method {
  display: grid;
  grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 1.15fr);
  min-height: 64rem;
  background: var(--ink);
  color: var(--paper);
}

.method-head {
  position: sticky;
  top: var(--header-height);
  align-self: start;
  min-height: calc(100svh - var(--header-height));
  padding: var(--section-space) var(--pad);
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.method-head h2 {
  margin: clamp(3rem, 8vw, 7rem) 0 2.5rem;
  font-size: clamp(3.6rem, 7vw, 8rem);
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.method-head h2 span {
  color: var(--green);
}

.method-head > p:last-child {
  max-width: 42ch;
  font-size: clamp(1rem, 1.65vw, 1.35rem);
  line-height: 1.6;
}

.method-steps {
  display: flex;
  flex-direction: column;
}

.method-step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 21rem;
  padding: clamp(2rem, 5vw, 4.5rem) var(--pad);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transition: background-color 200ms ease, color 200ms ease;
}

.method-step::before {
  position: absolute;
  top: 2.2rem;
  right: var(--pad);
  width: 1.2rem;
  height: 1.2rem;
  border-top: 2px solid var(--green);
  border-right: 2px solid var(--green);
  content: "";
  transition: transform 260ms var(--ease-out);
}

.method-step h3 {
  max-width: 16ch;
  margin-top: 2.4rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.02;
}

.method-step p {
  max-width: 52ch;
  margin-top: 1.4rem;
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.55;
}

.method-step > b {
  margin-top: auto;
  color: var(--green);
}

.method-step:hover {
  background: var(--green);
  color: var(--ink);
}

.method-step:hover::before {
  border-color: var(--ink);
  transform: translate(0.8rem, -0.8rem);
}

.method-step:hover > b {
  color: var(--ink);
}

.method-output {
  grid-column: 1 / -1;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  min-height: 5.5rem;
  padding: 1.25rem var(--pad);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.method-output span {
  color: var(--green);
}

/* Works ----------------------------------------------------------- */

.works {
  background: var(--ink);
  color: var(--paper);
}

.works-list {
  min-height: 45rem;
}

.work {
  position: relative;
  display: grid;
  grid-template-columns: minmax(6rem, 0.55fr) minmax(9rem, 0.7fr) minmax(14rem, 1.5fr) minmax(11rem, 0.8fr) 3rem;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: center;
  min-height: 15rem;
  padding: 2rem var(--pad);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.29);
  isolation: isolate;
}

.work-terminal {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(0.8rem, 1.8vw, 1.5rem);
  align-items: center;
  width: min(48rem, calc(100% - clamp(3rem, 8vw, 8rem)));
  min-height: clamp(8rem, 14vw, 10.5rem);
  padding: 1.25rem clamp(1.25rem, 2.6vw, 2.2rem);
  border: 2px solid var(--green);
  transform: translate(-50%, -38%) scaleY(0.08);
  background: var(--ink);
  color: var(--green);
  box-shadow: 8px 8px 0 var(--green);
  font-size: clamp(1.08rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.35;
  opacity: 0;
  white-space: nowrap;
  transition: transform 180ms steps(3, end), opacity 120ms steps(1, end);
}

.work-terminal i {
  color: var(--green);
  font-style: normal;
  opacity: 0;
}

.work-terminal b {
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-terminal em {
  padding: 0.3rem 0.45rem;
  background: var(--green);
  color: var(--ink);
  font-size: 0.64em;
  font-style: normal;
}

.work-title {
  font-size: clamp(1.8rem, 3.6vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
}

.work-type {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.work-arrow {
  justify-self: end;
  font-size: 2.3rem;
  font-weight: 700;
  transition: transform 180ms var(--ease-out), color 180ms ease;
}

.work-monogram {
  position: relative;
  display: block;
  width: max-content;
  font-size: clamp(4.2rem, 8vw, 8.5rem);
  font-weight: 700;
  line-height: 0.72;
  letter-spacing: -0.11em;
}

.work-monogram::before,
.work-monogram::after {
  position: absolute;
  inset: 0;
  content: attr(data-initials);
  pointer-events: none;
}

.work-monogram::before {
  color: var(--green);
  clip-path: inset(50% 0 20% 0);
  mix-blend-mode: screen;
}

.work-monogram::after {
  color: var(--paper);
  clip-path: inset(16% 0 68% 0);
}

.work-monogram--sp { animation: monogram-glitch 9.3s steps(1, end) 1.1s infinite; }
.work-monogram--oa { animation: monogram-glitch 10.9s steps(1, end) 3.2s infinite; }
.work-monogram--cu { animation: monogram-glitch 12.4s steps(1, end) 5.6s infinite; }

@keyframes monogram-glitch {
  0%, 82%, 85%, 88%, 100% { transform: translate(0); }
  83% { transform: translateX(5px); }
  84% { transform: translateX(-2px); }
  86% { transform: translate(3px, 1px) skewX(-4deg); }
  87% { transform: translate(-4px, -1px); }
}

@media (hover: hover) and (pointer: fine) {
  .work:hover .work-terminal,
  .work:focus-visible .work-terminal {
    transform: translate(-50%, -50%) scaleY(1);
    opacity: 1;
  }

  .work:hover .work-terminal i,
  .work:focus-visible .work-terminal i {
    animation: terminal-lead-blink 720ms steps(1, end) infinite;
  }

  .work:hover .work-title,
  .work:hover .work-type,
  .work:focus-visible .work-title,
  .work:focus-visible .work-type {
    opacity: 0.12;
  }

  .work:hover .work-arrow,
  .work:focus-visible .work-arrow {
    transform: translate(6px, -6px);
    color: var(--green);
  }
}

@keyframes terminal-lead-blink {
  0%, 42% { opacity: 1; }
  43%, 72% { opacity: 0; }
  73%, 84% { opacity: 1; }
  85%, 100% { opacity: 0; }
}

/* Metrics --------------------------------------------------------- */

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metrics-intro {
  grid-column: 1 / -1;
  padding: clamp(3rem, 7vw, 7rem) var(--pad);
  border-bottom: 1px solid var(--rule);
  font-size: clamp(1.35rem, 2.7vw, 2.7rem);
  line-height: 1.48;
  text-wrap: pretty;
}

.metric {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(34rem, 46vw, 46rem);
  padding: clamp(2rem, 4vw, 3.5rem) var(--pad) 0;
  overflow: hidden;
  border-right: 1px solid var(--rule);
}

.metric:last-child {
  border-right: 0;
}

.metric > strong {
  font-size: clamp(5rem, 10vw, 10rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.08em;
}

.metric--disciplines > strong {
  padding: 0.1em 0.16em 0.04em;
  background: var(--ink);
  color: var(--green-dark);
}

.metric > span {
  display: block;
  margin-top: 1.5rem;
}

.org-ticker {
  width: calc(100% + var(--pad) * 2);
  margin-top: clamp(2rem, 5vw, 4rem);
  margin-left: calc(var(--pad) * -1);
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--green);
}

.org-track {
  display: flex;
  width: max-content;
  animation: org-ticker 42s linear infinite;
}

.org-set {
  display: flex;
}

.org-set span {
  padding: 0.8rem 1.35rem;
  border-right: 1px solid var(--ink);
  font-size: clamp(0.88rem, 1.5vw, 1.15rem);
  white-space: nowrap;
}

@keyframes org-ticker {
  to { transform: translateX(-50%); }
}

.collab-registry {
  width: calc(100% + var(--pad) * 2);
  margin-top: 0;
  margin-left: calc(var(--pad) * -1);
  background: var(--ink);
  color: var(--paper);
}

.collab-registry__head {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem var(--pad);
  border-bottom: 1px solid var(--green-dark);
  color: var(--green);
}

.collab-registry ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  counter-reset: collab;
  padding: 1rem var(--pad) 1.3rem;
}

.collab-registry li {
  counter-increment: collab;
  padding: 0.42rem 0;
  font-size: 0.66rem;
}

.collab-registry li::before {
  display: inline-block;
  width: 3.3rem;
  color: var(--green);
  content: "[" counter(collab, decimal-leading-zero) "]";
}

.discipline-list {
  width: calc(100% + var(--pad) * 2);
  margin-top: auto;
  margin-left: calc(var(--pad) * -1);
  counter-reset: discipline;
}

.discipline-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.6rem;
  align-items: center;
  min-height: 3.25rem;
  padding: 0.6rem var(--pad);
  border-top: 1px solid var(--rule);
  counter-increment: discipline;
}

.discipline-list li::before {
  width: max-content;
  padding: 0.18rem 0.32rem;
  background: var(--ink);
  color: var(--green-dark);
  content: "0" counter(discipline);
}

.iteration-terminal {
  width: calc(100% + var(--pad) * 2);
  margin-top: auto;
  margin-left: calc(var(--pad) * -1);
  border-top: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.iteration-terminal__bar {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem var(--pad);
  border-bottom: 1px solid var(--green-dark);
  color: var(--green);
  font-size: 0.67rem;
  font-weight: 700;
}

.iteration-terminal__screen {
  min-height: 15rem;
  padding: 1.5rem var(--pad);
}

.iteration-terminal__protocol {
  display: grid;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.64rem;
}

.iteration-terminal__prompt {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin: 3rem 0 1rem;
  color: var(--green);
  font-size: clamp(0.82rem, 1.2vw, 1rem);
}

.iteration-terminal__prompt i {
  font-style: normal;
  animation: cursor-blink 1.05s steps(1, end) infinite;
}

.iteration-terminal small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.62rem;
}

@keyframes cursor-blink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

/* Community ------------------------------------------------------- */

.lab {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  min-height: 62rem;
}

.lab-art {
  position: relative;
  display: grid;
  grid-template-rows: minmax(25rem, 28rem) auto 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-content: start;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--ink);
  color: var(--paper);
}

.lab-art__visual {
  position: relative;
  display: grid;
  min-height: 25rem;
  place-items: center;
}

.lab-art__visual > i {
  position: absolute;
  width: clamp(17rem, 35vw, 34rem);
  aspect-ratio: 1;
  background: var(--green);
  clip-path: polygon(7% 14%, 72% 0, 100% 37%, 84% 89%, 41% 100%, 0 66%);
  animation: community-shape 25s var(--ease-out) infinite alternate;
}

.lab-art__visual > span {
  position: relative;
  z-index: 2;
  transform: rotate(-7deg);
  color: var(--paper);
  font-size: clamp(3.5rem, 7.5vw, 8rem);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.07em;
  text-shadow: 5px 5px 0 var(--ink);
}

.lab-art__visual > b {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  color: var(--green);
  font-size: 0.72rem;
}

.community-console {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 42rem;
  justify-self: center;
  border: 1px solid rgba(251, 251, 247, 0.65);
  background: rgba(7, 9, 8, 0.96);
  box-shadow: 6px 6px 0 var(--green);
}

.community-console::before {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 1rem;
  height: 1rem;
  border-top: 2px solid var(--green);
  border-right: 2px solid var(--green);
  content: "";
}

.community-console__head {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 0.55rem;
  align-items: center;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid rgba(251, 251, 247, 0.35);
  color: var(--green);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.community-console__head i {
  font-style: normal;
  animation: cursor-blink 1.05s steps(1, end) infinite;
}

.community-console__head b {
  justify-self: end;
  color: var(--paper);
}

.community-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.community-stats > div {
  min-height: 7.2rem;
  padding: 0.8rem 0.9rem;
  border-right: 1px solid rgba(251, 251, 247, 0.24);
  border-bottom: 1px solid rgba(251, 251, 247, 0.24);
}

.community-stats > div:nth-child(2n) {
  border-right: 0;
}

.community-stats dt {
  color: rgba(251, 251, 247, 0.54);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.community-stats dd {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0.7rem 0 0;
}

.community-stats strong {
  color: var(--green);
  font-size: clamp(1.15rem, 2.3vw, 1.75rem);
  line-height: 1;
}

.community-stats small {
  color: var(--paper);
  font-size: 0.66rem;
  line-height: 1.35;
}

.community-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.community-channels a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  min-height: 3.5rem;
  padding: 0.8rem 0.9rem;
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out), transform 160ms var(--ease-out);
}

.community-channels a + a {
  border-left: 1px solid rgba(251, 251, 247, 0.35);
}

.community-channels a:hover,
.community-channels a:focus-visible {
  transform: translate(2px, -2px);
  background: var(--green);
  color: var(--ink);
}

.community-channels a > span {
  color: var(--green);
  font-size: 0.62rem;
}

.community-channels a:hover > span,
.community-channels a:focus-visible > span {
  color: var(--ink);
}

.community-channels a > b {
  font-size: 0.72rem;
  text-transform: uppercase;
}

.community-channels a > i {
  font-style: normal;
}

@keyframes community-shape {
  0% { transform: translate(-3%, 2%) rotate(-3deg); clip-path: polygon(7% 14%, 72% 0, 100% 37%, 84% 89%, 41% 100%, 0 66%); }
  50% { transform: translate(4%, -3%) rotate(4deg) scale(1.04); clip-path: polygon(0 8%, 84% 0, 94% 54%, 100% 91%, 28% 100%, 13% 61%); }
  100% { transform: translate(-1%, 4%) rotate(-5deg) scale(0.96, 1.05); clip-path: polygon(18% 0, 100% 23%, 82% 76%, 48% 100%, 0 82%, 9% 35%); }
}

.lab-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section-space) var(--pad);
  border-left: 1px solid var(--rule);
}

.lab-copy h2 {
  max-width: 17ch;
  margin: 2.6rem 0 2.2rem;
  font-size: clamp(2.6rem, 5.1vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.lab-copy > p {
  max-width: 48ch;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.community-program {
  margin: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--rule);
}

.community-program li {
  display: grid;
  grid-template-columns: 3rem minmax(8rem, 0.55fr) 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 4.6rem;
  border-bottom: 1px solid var(--rule);
}

.community-program span {
  width: max-content;
  padding: 0.2rem 0.34rem;
  background: var(--ink);
  color: var(--green-dark);
  font-size: 0.7rem;
  font-weight: 700;
}

.community-program b {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.community-program small {
  font-size: 0.78rem;
  line-height: 1.35;
}

/* Contact and footer --------------------------------------------- */

.contact-top {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: var(--pad);
  align-items: start;
  padding: clamp(3.5rem, 8vw, 7rem) var(--pad);
}

.contact-top h2 {
  max-width: 22ch;
  font-size: clamp(2rem, 4.7vw, 5rem);
  line-height: 1;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.contact-top p {
  max-width: 58ch;
  margin-top: 1.8rem;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  line-height: 1.55;
}

.contact-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  padding: clamp(3rem, 7vw, 6rem) var(--pad);
  font-size: clamp(2.8rem, 7.3vw, 8.6rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.075em;
  white-space: nowrap;
}

.contact-link--site {
  grid-template-columns: 1fr auto;
}

.contact-link strong {
  padding: 0.04em 0.1em 0.02em;
  background: var(--ink);
  color: var(--green-dark);
}

.contact-link b {
  font-size: 0.45em;
  transition: transform 180ms var(--ease-out);
}

.contact-link:hover b,
.contact-link:focus-visible b {
  transform: translate(0.6rem, -0.6rem);
}

.contact-link:hover strong,
.contact-link:focus-visible strong {
  color: var(--green);
  text-shadow: 2px 2px 0 var(--ink);
}

.contact-brief {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: var(--pad);
  padding: clamp(2.5rem, 5vw, 4rem) var(--pad);
}

.contact-brief ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.contact-brief li {
  display: flex;
  gap: 1rem;
  align-items: center;
  min-height: 4.25rem;
  padding: 0.8rem 1rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-brief li b {
  padding: 0.18rem 0.32rem;
  background: var(--ink);
  color: var(--green-dark);
}

.footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem var(--pad);
  min-height: 22rem;
  padding: clamp(3rem, 6vw, 5rem) var(--pad);
  border-bottom: 0;
  background: var(--ink);
  color: var(--paper);
}

.footer-brand {
  max-width: 22ch;
  color: var(--green);
  font-size: clamp(1.2rem, 2.3vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
}

.footer-brand span {
  display: block;
  color: var(--paper);
  font-size: 0.58em;
  margin-top: 0.35rem;
}

.footer > p {
  justify-self: end;
  min-width: 50%;
  font-size: 0.9rem;
  line-height: 1.5;
}

.social-status {
  display: grid;
  gap: 0.75rem;
  align-self: end;
  color: rgba(255, 255, 255, 0.52);
}

.social-status a {
  width: fit-content;
  transition: color 160ms ease;
}

.social-status a:hover,
.social-status a:focus-visible {
  color: var(--green);
}

.footer > .utility {
  align-self: end;
}

/* Generative headline pixel bursts ------------------------------- */

.pixel-heading {
  position: relative;
  isolation: isolate;
}

.pixel-heading > .pixel-burst-layer {
  position: absolute;
  z-index: 12;
  inset: -0.16em -0.12em;
  display: block;
  overflow: visible;
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-style: normal;
  line-height: 1;
  pointer-events: none;
  text-shadow: none;
}

.pixel-burst-layer i {
  position: absolute;
  top: var(--pixel-y);
  left: var(--pixel-x);
  width: var(--pixel-w);
  height: var(--pixel-h);
  background: var(--green);
  opacity: 0;
  transform-origin: left center;
}

.pixel-burst-layer i:nth-child(3n + 2) {
  background: var(--ink);
}

.works .pixel-burst-layer i:nth-child(3n + 2),
.method .pixel-burst-layer i:nth-child(3n + 2) {
  background: var(--paper);
}

.pixel-heading.pixel-burst .pixel-burst-layer i {
  animation: headline-pixel-burst var(--pixel-duration) steps(4, end) var(--pixel-delay) both;
  will-change: transform, opacity;
}

@keyframes headline-pixel-burst {
  0%, 100% {
    transform: translate(0) scaleX(0.12);
    opacity: 0;
  }
  18% {
    transform: translate(var(--pixel-dx), var(--pixel-dy)) scaleX(0.42);
    opacity: 1;
  }
  46% {
    transform: translate(0) scaleX(1);
    opacity: 0.94;
  }
  72% {
    transform: translate(var(--pixel-back-x), var(--pixel-back-y)) scaleX(0.68);
    opacity: 0.78;
  }
}

/* Local controlled errors ---------------------------------------- */

.service::after,
.method-step::after,
.community-program li::after {
  position: absolute;
  z-index: 8;
  top: var(--glitch-y, 42%);
  left: 5%;
  width: 34%;
  height: 0.38rem;
  content: "";
  transform: translateX(-1.2rem) scaleX(0);
  transform-origin: right;
  background: var(--green);
  opacity: 0;
  pointer-events: none;
}

.service.glitch-hit::after,
.method-step.glitch-hit::after,
.community-program li.glitch-hit::after {
  animation: local-tear 150ms steps(3, end);
}

.service.glitch-hit h3,
.method-step.glitch-hit h3,
.section-head.glitch-hit h2 {
  animation: glyph-error 170ms steps(3, end);
}

.method-step::after {
  background: var(--paper);
}

.community-program li {
  position: relative;
  overflow: hidden;
}

.community-program li.glitch-hit > b {
  animation: glyph-error 150ms steps(3, end);
}

.metric > strong {
  position: relative;
  width: max-content;
}

.metric > strong::after {
  position: absolute;
  inset: 0;
  content: attr(data-value);
  transform: translateX(0);
  background: var(--ink);
  color: var(--green-dark);
  opacity: 0;
  clip-path: inset(43% 0 32% 0);
  pointer-events: none;
}

.metric.glitch-hit > strong::after {
  animation: numeric-slice 180ms steps(3, end);
}

.contact-link strong {
  position: relative;
}

.contact-link strong::after {
  position: absolute;
  inset: 0;
  content: attr(data-text);
  transform: translateX(0);
  color: var(--paper);
  opacity: 0;
  clip-path: inset(52% 0 24% 0);
  pointer-events: none;
}

.contact-link.glitch-hit strong::after {
  animation: contact-slice 190ms steps(3, end);
}

.protocol-rail.glitch-hit {
  animation: rail-error 160ms steps(3, end);
}

@keyframes local-tear {
  0%, 100% { transform: translateX(-1.2rem) scaleX(0); opacity: 0; }
  28% { transform: translateX(0.7rem) scaleX(1); opacity: 0.9; }
  64% { transform: translateX(-0.3rem) scaleX(0.42); opacity: 0.72; }
}

@keyframes glyph-error {
  0%, 100% { transform: translate(0); }
  34% { transform: translate(5px, -1px); clip-path: inset(0 0 54% 0); }
  67% { transform: translate(-3px, 1px); clip-path: inset(48% 0 0 0); }
}

@keyframes numeric-slice {
  0%, 100% { transform: translateX(0); opacity: 0; }
  24% { transform: translateX(8px); opacity: 0.92; }
  58% { transform: translateX(-4px); opacity: 0.78; }
}

@keyframes contact-slice {
  0%, 100% { transform: translateX(0); opacity: 0; }
  30% { transform: translateX(10px); opacity: 0.88; }
  66% { transform: translateX(-5px); opacity: 0.66; }
}

@keyframes rail-error {
  0%, 100% { transform: rotate(180deg) translate(0); }
  38% { transform: rotate(180deg) translate(-4px, 1px); }
  72% { transform: rotate(180deg) translate(2px, -1px); }
}

/* Progressive motion --------------------------------------------- */

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal:not(.is-visible) {
  transform: translateY(2rem);
  opacity: 0;
}

.js .reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
  transition: transform 780ms var(--ease-out), opacity 520ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

[data-protocol-section].protocol-escape > :first-child {
  animation: section-escape 260ms steps(3, end);
}

@keyframes section-escape {
  0%, 100% { transform: translate(0); }
  32% { transform: translate(7px, -2px); }
  65% { transform: translate(-3px, 1px); }
}

/* Tablet ---------------------------------------------------------- */

@media (max-width: 1100px) {
  :root { --header-height: 5rem; }

  .site-header { grid-template-columns: 1fr auto auto; }

  .hero {
    grid-template-columns: 55% 45%;
    grid-template-rows: auto minmax(42rem, calc(100svh - var(--header-height) - 4.8rem));
  }

  .glitch { font-size: clamp(4.2rem, 9vw, 7.4rem); }

  .manifesto {
    grid-template-columns: 3.5rem minmax(0, 1fr);
  }

  .manifesto-note {
    grid-column: 2;
    justify-self: end;
    width: min(13.5rem, calc(100% - var(--pad) * 2));
    margin-top: 2rem;
  }

  .work {
    grid-template-columns: 5rem 8rem minmax(12rem, 1fr) 3rem;
  }

  .work-type { display: none; }

  .metric {
    min-height: 40rem;
    padding-inline: 1.6rem;
  }

  .org-ticker,
  .collab-registry,
  .discipline-list,
  .iteration-terminal {
    width: calc(100% + 3.2rem);
    margin-left: -1.6rem;
  }

  .collab-registry ol {
    grid-template-columns: 1fr;
    max-height: 12rem;
    overflow: hidden;
  }

  .contact-link {
    font-size: clamp(2.5rem, 7vw, 6rem);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto minmax(43rem, 78svh);
  }

  .hero-meta {
    grid-template-columns: 1fr auto;
    row-gap: 0.6rem;
    padding-block: 1rem;
  }

  .hero-meta span:nth-child(2) { justify-self: end; }

  .hero-meta span:last-child {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .hero-copy {
    min-height: 39rem;
    padding-top: 5rem;
    padding-bottom: 7rem;
  }

  .glitch { font-size: clamp(4.2rem, 15vw, 8rem); }

  .signal-core {
    min-height: 43rem;
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .hero-index { bottom: calc(43rem + 1.5rem); }

  .fault-tag {
    bottom: calc(43rem + 1.5rem);
    left: auto;
    right: var(--pad);
    transform: none;
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .section-head > p:last-child { max-width: 40rem; }

  .method {
    grid-template-columns: 1fr;
  }

  .method-head {
    position: relative;
    top: auto;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }

  .method-head h2 { font-size: clamp(4rem, 13vw, 7.5rem); }

  .method-step { min-height: 19rem; }

  .method-output { grid-column: 1; }

  .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .metrics-intro { grid-column: 1 / -1; }

  .metric { min-height: 36rem; }

  .metric > strong { font-size: clamp(4rem, 11vw, 7rem); }

  .discipline-list li {
    grid-template-columns: 2.2rem 1fr;
    padding-inline: 1.2rem;
  }

  .lab { grid-template-columns: minmax(0, 1fr); }

  .lab-art { min-height: 50rem; }

  .lab-copy {
    border-top: 1px solid var(--rule);
    border-left: 0;
  }
}

/* Mobile ---------------------------------------------------------- */

@media (max-width: 640px) {
  :root {
    --pad: 1.35rem;
    --section-space: 5rem;
    --header-height: 4.7rem;
  }

  body::before { display: none; }

  .system-damage {
    right: 0;
    width: 1.9rem;
    height: 15rem;
  }

  .site-header { padding-inline: var(--pad); }

  .brand--error { font-size: 1rem; }

  .language-switch {
    gap: 0.12rem;
    font-size: 0.58rem;
  }

  .language-switch button {
    min-width: 2.15rem;
    padding: 0.4rem 0.3rem;
  }

  .menu-toggle {
    min-width: 4.9rem;
    padding-inline: 0.35rem;
  }

  .mobile-nav {
    width: 100%;
    border-left: 0;
  }

  .mobile-nav a {
    grid-template-columns: 2.6rem 1fr;
    min-height: 4.2rem;
    font-size: clamp(1.25rem, 7vw, 2rem);
  }

  .boot {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .boot span:last-child { justify-self: end; }

  .hero {
    grid-template-rows: auto auto minmax(34rem, 78svh);
  }

  .hero-meta {
    grid-template-columns: 1fr;
    min-height: 7.5rem;
    font-size: 0.63rem;
  }

  .hero-meta span,
  .hero-meta span:nth-child(2),
  .hero-meta span:last-child {
    grid-column: 1;
    justify-self: start;
  }

  .hero-copy {
    min-height: 36rem;
    padding: 4.2rem var(--pad) 6.5rem calc(var(--pad) + 2.9rem);
  }

.protocol-rail {
    top: 4.2rem;
    bottom: 8.5rem;
    left: var(--pad);
    width: 1.9rem;
    font-size: 0.56rem;
  }

  .lead {
    margin-bottom: 1.5rem;
    font-size: 1rem;
  }

  .glitch {
    font-size: clamp(3.45rem, 18.6vw, 5rem);
    letter-spacing: -0.075em;
  }

  .glitch span { text-shadow: 3px 3px 0 var(--ink); }

  .hero-byline { margin-top: 1.4rem; }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 0.65rem;
  }

  .button {
    width: 100%;
    min-height: 3.8rem;
  }

  .text-link { width: max-content; }

  .signal-core { min-height: 34rem; }

  .signal-core::after { inset: 0.8rem; }

  .plate--collision {
    top: 15%;
    left: 11%;
    width: 71%;
    height: 68%;
  }

  .plate--hatched {
    top: 17%;
    left: 20%;
    width: 73%;
    height: 60%;
  }

  .plate--ghost {
    left: 19%;
    width: 69%;
  }

  .pixel-field {
    top: 36%;
    left: 36%;
    width: 34%;
    background-size: 1rem 1rem;
    background-position: 0 0, 0.5rem 0.5rem;
  }

  .crosshair {
    width: 4.2rem;
    height: 4.2rem;
  }

  .signal-link {
    top: 52%;
    width: calc(100% - 4rem);
    min-width: 0;
    min-height: 3.7rem;
    padding-inline: 0.75rem;
    font-size: 0.66rem;
  }

  .core-label {
    right: 1.4rem;
    bottom: 1.4rem;
    padding: 0.8rem;
    font-size: 0.6rem;
  }

  .hero-index {
    bottom: calc(34rem + 1.2rem);
    font-size: 0.58rem;
  }

  .fault-tag {
    right: var(--pad);
    bottom: calc(34rem + 1.2rem);
    font-size: 0.56rem;
  }

  .marquee__track { animation-duration: 24s; }

  .manifesto {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 2.5rem;
  }

  .manifesto-main {
    grid-column: 1;
  }

  .section-rail {
    justify-self: start;
    writing-mode: initial;
  }

  .statement {
    font-size: clamp(2.3rem, 11.5vw, 3.5rem);
  }

  .about-copy {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
    font-size: 1rem;
    line-height: 1.62;
  }

  .manifesto-note {
    position: relative;
    right: auto;
    bottom: auto;
    grid-column: 1;
    justify-self: stretch;
    width: auto;
    margin-top: 1rem;
  }

  .section-head {
    padding-top: 5rem;
  }

  .section-head h2 {
    font-size: clamp(3.7rem, 18vw, 5.6rem);
  }

  .section-head > p:last-child {
    font-size: 1rem;
  }

  .service-list { grid-template-columns: 1fr; }

  .service,
  .service:nth-child(2n) {
    min-height: 30rem;
    border-right: 0;
  }

  .service h3 { margin-top: 4.5rem; }

  .service p { font-size: 1rem; }

  .service-form {
    width: 16rem;
    height: 13rem;
  }

  .method-head h2 {
    margin-top: 3rem;
    font-size: clamp(3.5rem, 18vw, 5.4rem);
  }

  .method-step { min-height: 22rem; }

  .method-output {
    align-items: flex-start;
    flex-direction: column;
  }

  .work {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr auto;
    gap: 0.5rem 1rem;
    min-height: 13rem;
    padding: 1.25rem var(--pad);
  }

  .work-terminal { display: none; }

  .work-no {
    grid-column: 1;
    grid-row: 3;
    align-self: end;
    justify-self: start;
    font-size: 0.62rem;
  }

  .work-monogram {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    font-size: 2.75rem;
    letter-spacing: -0.08em;
  }

  .work-title {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    font-size: clamp(1.55rem, 8vw, 2.2rem);
  }

  .work-type { display: none; }

  .work-arrow {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: center;
  }

  .metrics { grid-template-columns: 1fr; }

  .metrics-intro {
    grid-column: 1;
    padding-block: 3.5rem;
    font-size: 1.25rem;
    line-height: 1.55;
  }

  .metric,
  .metric:last-child {
    min-height: 34rem;
    padding: 2.5rem var(--pad) 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .metric > strong { font-size: 6rem; }

  .org-ticker,
  .collab-registry,
  .discipline-list,
  .iteration-terminal {
    width: calc(100% + var(--pad) * 2);
    margin-left: calc(var(--pad) * -1);
  }

  .collab-registry ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
  }

  .lab-art {
    grid-template-rows: minmax(20rem, 1fr) auto;
    min-height: 48rem;
    padding: var(--pad);
  }

  .lab-art__visual > span {
    font-size: clamp(3.6rem, 17vw, 5.2rem);
  }

  .lab-art__visual {
    min-height: 20rem;
  }

  .community-stats {
    grid-template-columns: 1fr;
  }

  .community-stats > div,
  .community-stats > div:nth-child(2n) {
    min-height: 5.8rem;
    border-right: 0;
  }

  .community-channels {
    grid-template-columns: 1fr;
  }

  .community-channels a + a {
    border-top: 1px solid rgba(251, 251, 247, 0.35);
    border-left: 0;
  }

  .lab-copy h2 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .lab-copy > p {
    font-size: 1rem;
  }

  .community-program li {
    grid-template-columns: 2.3rem 1fr;
    padding: 0.8rem 0;
  }

  .community-program small {
    grid-column: 2;
  }

  .contact-top,
  .contact-brief {
    grid-template-columns: 1fr;
  }

  .contact-top h2 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .contact-link {
    grid-template-columns: 1fr auto;
    gap: 0.25rem;
    padding-block: 3.5rem;
    font-size: clamp(2.35rem, 11.8vw, 4rem);
    white-space: normal;
  }

  .contact-link span,
  .contact-link strong { grid-column: 1; }

  .contact-link b {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
  }

  .contact-brief ol { grid-template-columns: 1fr; }

  .footer {
    grid-template-columns: 1fr;
    min-height: 30rem;
  }

  .footer > p {
    justify-self: start;
    min-width: 0;
  }
}

@media (max-width: 390px) {
  :root { --pad: 1rem; }

  .brand--error {
    gap: 0.45ch;
    font-size: 0.82rem;
  }

  .language-switch {
    font-size: 0.54rem;
  }

  .language-switch button {
    min-width: 1.9rem;
    padding-inline: 0.2rem;
  }

  .menu-toggle {
    min-width: 4.2rem;
    font-size: 0.68rem;
  }

  .glitch { font-size: clamp(3.2rem, 18vw, 4.2rem); }

  .hero-copy { padding-left: calc(var(--pad) + 2.5rem); }

  .collab-registry ol { grid-template-columns: 1fr; }

  .contact-link { font-size: clamp(2rem, 11.5vw, 3rem); }
}

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

/* Reduced motion -------------------------------------------------- */

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

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

  .boot { display: none; }

  .js .reveal,
  .js .reveal:not(.is-visible) {
    transform: none;
    opacity: 1;
  }

  .marquee__track,
  .org-track {
    transform: none;
  }

  .signal-link:hover .signal-cursor,
  .signal-link:focus-visible .signal-cursor {
    animation: none;
  }
}
