:root {
  color-scheme: dark;
  --ink: #eef6ed;
  --muted: #87938c;
  --dim: #4c5751;
  --void: #030505;
  --panel: #080d0c;
  --panel-light: #0d1412;
  --line: rgba(222, 238, 228, 0.13);
  --line-strong: rgba(222, 238, 228, 0.25);
  --acid: #c9ff68;
  --aqua: #77f7d3;
  --repel: #ff8d72;
  --font-display: "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

html {
  min-width: 320px;
  background: var(--void);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 0%, rgba(111, 183, 124, 0.09), transparent 32rem),
    radial-gradient(circle at 6% 38%, rgba(52, 108, 91, 0.11), transparent 31rem),
    var(--void);
  font-family: var(--font-mono);
}

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  min-height: 48px;
  transform: translateY(-160%);
  opacity: 0;
  border: 1px solid var(--acid);
  color: var(--void);
  background: var(--acid);
  pointer-events: none;
}

.skip-link:focus {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.055;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.topbar,
.hero,
.observatory,
.footer {
  width: min(1480px, calc(100% - 64px));
  margin-inline: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.17em;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  gap: 10px;
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.back-link:hover {
  color: var(--acid);
}

.topbar__signal {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--dim);
}

.topbar__signal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 14px var(--acid);
  animation: signalBlink 2.4s steps(2, end) infinite;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: 56px;
  padding: clamp(46px, 7vw, 104px) 0 54px;
}

.hero__kicker,
.micro-label {
  margin: 0 0 15px;
  color: var(--acid);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.hero__title {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.2em;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(74px, 11.5vw, 176px);
  font-stretch: condensed;
  font-weight: 300;
  letter-spacing: -0.075em;
  line-height: 0.72;
}

.hero__title span:last-child {
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 246, 237, 0.65);
}

.hero__intro {
  padding-bottom: 4px;
}

.hero__jp {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

.hero__note {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
}

.observatory {
  padding-bottom: 110px;
}

.instrument {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  min-height: 620px;
  border: 1px solid var(--line-strong);
  background: rgba(4, 8, 7, 0.72);
  box-shadow: 0 24px 100px rgba(0, 0, 0, 0.38);
}

.field-column {
  min-width: 0;
}

.field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}

.field-head h2,
.transmitter__header h2,
.specimen h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.field-head .micro-label,
.transmitter__header .micro-label,
.specimen .micro-label {
  margin-bottom: 5px;
}

.field-head__telemetry {
  display: flex;
  gap: 22px;
  color: var(--dim);
  font-size: 9px;
  letter-spacing: 0.11em;
}

.field {
  --mx: 50%;
  --my: 50%;
  position: relative;
  min-height: 545px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(rgba(201, 255, 104, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 255, 104, 0.035) 1px, transparent 1px),
    #050908;
  background-size: 40px 40px;
}

.field::after {
  position: absolute;
  inset: 0;
  z-index: 20;
  border: 12px solid rgba(3, 5, 5, 0.4);
  content: "";
  pointer-events: none;
}

.field__atmosphere {
  position: absolute;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(119, 247, 211, 0.1), transparent 18%),
    radial-gradient(ellipse at 50% 55%, rgba(201, 255, 104, 0.045), transparent 48%);
  transition: background 300ms ease;
}

.field__coordinates {
  position: absolute;
  inset: 17px 20px auto;
  display: flex;
  justify-content: space-between;
  z-index: 4;
  color: rgba(135, 147, 140, 0.4);
  font-size: 8px;
  letter-spacing: 0.16em;
  pointer-events: none;
}

.field__axis {
  position: absolute;
  z-index: 0;
  opacity: 0.16;
  background: var(--acid);
  pointer-events: none;
}

.field__axis--x {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
}

.field__axis--y {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.field__sonar {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: min(78vw, 720px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.field__sonar span {
  position: absolute;
  inset: calc(var(--ring, 0) * 11%);
  border: 1px solid rgba(201, 255, 104, 0.1);
  border-radius: 50%;
}

.field__sonar span:nth-child(1) { --ring: 0; }
.field__sonar span:nth-child(2) { --ring: 1; }
.field__sonar span:nth-child(3) { --ring: 2; }
.field__sonar span:nth-child(4) { --ring: 3; }

.field__sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: min(78vw, 720px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 268deg, transparent 0 78%, rgba(201, 255, 104, 0.1) 91%, transparent 96%);
  animation: sweep 14s linear infinite;
  pointer-events: none;
}

.field__core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: 92px;
  height: 92px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.field__core-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 255, 104, 0.32);
  border-radius: 50%;
  animation: coreBreath 3.8s ease-in-out infinite;
}

.field__core-ring:nth-child(2) {
  inset: 13px;
  border-style: dashed;
  animation-delay: -1.1s;
  animation-direction: reverse;
}

.field__core-ring:nth-child(3) {
  inset: 30px;
  border-color: rgba(119, 247, 211, 0.54);
  animation-delay: -2.2s;
}

.field__core-dot {
  position: absolute;
  inset: 42px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 16px var(--acid), 0 0 48px rgba(201, 255, 104, 0.55);
}

.field__pulses,
.field__artifacts {
  position: absolute;
  inset: 0;
}

.field__pulses {
  z-index: 3;
  pointer-events: none;
}

.pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%) scale(0.1);
  border: 2px solid var(--acid);
  border-radius: 50%;
  opacity: 0;
  box-shadow: inset 0 0 18px rgba(201, 255, 104, 0.08);
  animation: broadcast 1.8s cubic-bezier(0.12, 0.7, 0.22, 1) forwards;
}

.pulse--repel {
  border-color: var(--repel);
  box-shadow: inset 0 0 18px rgba(255, 141, 114, 0.09);
}

.field__artifacts {
  z-index: 8;
}

.artifact {
  --glow: rgba(119, 247, 211, 0.56);
  position: absolute;
  top: var(--y);
  left: clamp(78px, var(--x), calc(100% - 78px));
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  width: 154px;
  min-height: 48px;
  padding: 4px 6px;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 3px;
  outline: 1px solid transparent;
  color: rgba(238, 246, 237, calc(0.2 + var(--resonance) * 0.8));
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition:
    top 850ms cubic-bezier(0.2, 0.8, 0.2, 1),
    left 850ms cubic-bezier(0.2, 0.8, 0.2, 1),
    color 500ms ease,
    opacity 500ms ease,
    background 180ms ease,
    outline-color 180ms ease;
}

.artifact::before {
  position: absolute;
  inset: 0;
  border: 1px solid color-mix(in srgb, var(--glow) 45%, transparent);
  opacity: calc(var(--resonance) * 0.7);
  content: "";
  clip-path: polygon(0 0, 18px 0, 18px 1px, 1px 1px, 1px 13px, 0 13px, 0 100%, 100% 100%, 100% calc(100% - 13px), calc(100% - 1px) calc(100% - 13px), calc(100% - 1px) calc(100% - 1px), calc(100% - 18px) calc(100% - 1px), calc(100% - 18px) 100%, 0 100%);
  transition: opacity 400ms ease;
}

.artifact:hover,
.artifact:focus-visible,
.artifact.is-selected {
  z-index: 12;
  color: var(--ink);
  background: rgba(13, 20, 18, 0.88);
  outline-color: color-mix(in srgb, var(--glow) 65%, transparent);
}

.artifact:focus-visible {
  box-shadow: 0 0 0 3px rgba(201, 255, 104, 0.24);
}

.artifact.is-repelled {
  --glow: var(--repel);
  opacity: 0.28;
  filter: grayscale(0.7);
}

.artifact__orb {
  position: relative;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--glow) 52%, transparent);
  border-radius: 50%;
  color: var(--glow);
  background: radial-gradient(circle, color-mix(in srgb, var(--glow) 28%, transparent), transparent 65%);
  box-shadow: 0 0 calc(5px + 22px * var(--resonance)) color-mix(in srgb, var(--glow) calc(var(--resonance) * 65%), transparent);
  font-size: 9px;
  transition: box-shadow 400ms ease, transform 400ms ease;
}

.artifact__orb::before {
  position: absolute;
  inset: -5px;
  border: 1px dashed color-mix(in srgb, var(--glow) 32%, transparent);
  border-radius: 50%;
  content: "";
  animation: orbit 9s linear infinite;
}

.artifact__copy {
  min-width: 0;
}

.artifact__name,
.artifact__meta {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.artifact__name {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.artifact__meta {
  margin-top: 3px;
  color: var(--dim);
  font-size: 7px;
  letter-spacing: 0.09em;
}

.field:not(.has-echo) .artifact__name {
  color: transparent;
  text-shadow: 0 0 7px rgba(238, 246, 237, 0.5);
  user-select: none;
}

.field:not(.has-echo) .artifact__meta {
  opacity: 0;
}

.field.is-listening .artifact {
  animation: artifactListen 900ms ease var(--wave-delay) both;
}

.field__empty-message {
  position: absolute;
  bottom: 25px;
  left: 50%;
  z-index: 6;
  margin: 0;
  transform: translateX(-50%);
  color: var(--dim);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-align: center;
  transition: opacity 300ms ease, transform 300ms ease;
}

.field__empty-message span {
  display: block;
  margin-bottom: 5px;
  color: rgba(201, 255, 104, 0.68);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.2em;
}

.field.has-echo .field__empty-message {
  opacity: 0;
  transform: translate(-50%, 8px);
}

.field__legend {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  display: flex;
  gap: 14px;
  color: var(--dim);
  font-size: 8px;
}

.field__legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.field__legend-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.field__legend-dot--near {
  background: var(--acid);
  box-shadow: 0 0 8px var(--acid);
}

.field__legend-dot--far {
  border: 1px solid var(--dim);
}

.specimen {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(201, 255, 104, 0.035), transparent 45%),
    rgba(8, 13, 12, 0.8);
}

.specimen::before {
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 24px;
  content: "";
  pointer-events: none;
}

.specimen__placeholder,
.specimen__content {
  position: relative;
  z-index: 1;
}

.specimen__placeholder {
  height: 100%;
  color: var(--dim);
}

.specimen__placeholder > p:not(.micro-label, .specimen__hint) {
  margin-top: 40px;
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1.7;
}

.specimen__placeholder-orbit {
  position: relative;
  width: 188px;
  aspect-ratio: 1;
  margin: 70px auto 0;
  border: 1px solid rgba(135, 147, 140, 0.18);
  border-radius: 50%;
}

.specimen__placeholder-orbit::before,
.specimen__placeholder-orbit::after {
  position: absolute;
  border: 1px dashed rgba(135, 147, 140, 0.13);
  border-radius: 50%;
  content: "";
}

.specimen__placeholder-orbit::before { inset: 30px; }
.specimen__placeholder-orbit::after { inset: 68px; }

.specimen__placeholder-orbit span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dim);
  box-shadow: 0 0 16px var(--dim);
}

.specimen__hint {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0;
  font-size: 8px;
  letter-spacing: 0.12em;
  line-height: 1.8;
}

.specimen__index {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.specimen__rune {
  display: grid;
  width: 152px;
  height: 152px;
  margin: 42px auto 35px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--specimen-accent) 38%, transparent);
  border-radius: 50%;
  color: var(--specimen-accent);
  background: radial-gradient(circle, color-mix(in srgb, var(--specimen-accent) 20%, transparent), transparent 65%);
  box-shadow: 0 0 60px color-mix(in srgb, var(--specimen-accent) 13%, transparent);
  font-family: var(--font-display);
  font-size: 47px;
  font-weight: 200;
}

.specimen__category {
  margin: 0 0 9px;
  color: var(--specimen-accent);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.specimen__content h2 {
  font-size: 25px;
  line-height: 1.25;
}

.specimen__description {
  min-height: 72px;
  margin: 17px 0 20px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1.8;
}

.specimen__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 54px;
}

.specimen__signals span {
  padding: 5px 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.specimen__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 25px;
}

.specimen__action,
.specimen__visit {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: transparent;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.specimen__action:hover,
.specimen__action:focus-visible {
  border-color: var(--specimen-accent);
  color: var(--specimen-accent);
}

.specimen__action--repel:hover,
.specimen__action--repel:focus-visible {
  border-color: var(--repel);
  color: var(--repel);
}

.specimen__visit {
  grid-column: 1 / -1;
  color: var(--void);
  background: var(--ink);
}

.specimen__visit:hover,
.specimen__visit:focus-visible {
  border-color: var(--acid);
  background: var(--acid);
}

.transmitter {
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-top: 0;
  background: var(--panel);
}

.transmitter__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.transmitter__status {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.transmitter__form {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  border: 1px solid var(--line-strong);
  background: #040706;
}

.mode-switch {
  display: flex;
  padding: 5px;
  border-right: 1px solid var(--line);
}

.mode-switch__button {
  min-width: 108px;
  min-height: 50px;
  padding: 0 12px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 9px;
  cursor: pointer;
}

.mode-switch__button.is-active {
  color: var(--acid);
  background: rgba(201, 255, 104, 0.08);
}

.mode-switch__button[data-mode="repel"].is-active {
  color: var(--repel);
  background: rgba(255, 141, 114, 0.08);
}

.transmitter__input-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
}

.transmitter__prompt {
  margin-left: 20px;
  color: var(--acid);
  font-size: 22px;
}

.transmitter__input {
  width: 100%;
  min-width: 0;
  min-height: 60px;
  padding: 0 20px 0 13px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.02em;
}

.transmitter__input::placeholder {
  color: #4f5a54;
}

.transmitter__input:focus::placeholder {
  color: #6f7b74;
}

.transmitter__form:focus-within {
  border-color: rgba(201, 255, 104, 0.55);
  box-shadow: 0 0 0 3px rgba(201, 255, 104, 0.06);
}

.transmitter__form.is-repel:focus-within {
  border-color: rgba(255, 141, 114, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 141, 114, 0.06);
}

.transmitter__send {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-width: 158px;
  min-height: 60px;
  padding: 0 18px;
  border: 0;
  color: var(--void);
  background: var(--acid);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: filter 160ms ease, background 160ms ease;
}

.transmitter__send:hover,
.transmitter__send:focus-visible {
  filter: brightness(1.13);
}

.transmitter__form.is-repel .transmitter__send {
  background: var(--repel);
}

.transmitter__send-icon {
  font-size: 18px;
}

.transmitter__lower {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 13px;
}

.prompts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.prompts__label {
  margin-right: 5px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.15em;
}

.prompts button,
.echo-memory__head button {
  min-height: 48px;
  padding: 0 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  font-size: 9px;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}

.prompts button:hover,
.prompts button:focus-visible,
.echo-memory__head button:hover,
.echo-memory__head button:focus-visible {
  border-color: var(--acid);
  color: var(--acid);
}

.transmitter__shortcut {
  flex: 0 0 auto;
  margin: 0;
  color: var(--dim);
  font-size: 8px;
}

kbd {
  display: inline-grid;
  min-width: 22px;
  min-height: 22px;
  place-items: center;
  border: 1px solid var(--line);
  border-bottom-color: var(--line-strong);
  color: var(--muted);
  background: #050807;
  font-size: 8px;
}

.echo-memory {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.echo-memory__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 11px;
}

.echo-memory__head p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 11px;
}

.echo-memory__head p span {
  margin-right: 12px;
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.echo-memory__head button {
  min-height: 48px;
}

.echo-memory__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.echo-chip {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  gap: 10px;
  padding: 0 10px 0 12px;
  border: 1px solid rgba(201, 255, 104, 0.3);
  color: var(--ink);
  background: rgba(201, 255, 104, 0.045);
  font-family: var(--font-display);
  font-size: 11px;
}

.echo-chip--repel {
  border-color: rgba(255, 141, 114, 0.3);
  background: rgba(255, 141, 114, 0.045);
}

.echo-chip__mode {
  color: var(--acid);
  font-family: var(--font-mono);
}

.echo-chip--repel .echo-chip__mode {
  color: var(--repel);
}

.echo-chip button {
  display: grid;
  width: 28px;
  min-height: 40px;
  padding: 0;
  place-items: center;
  border: 0;
  color: var(--dim);
  background: transparent;
  cursor: pointer;
}

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

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 94px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.footer p {
  margin: 0;
  text-align: center;
}

.footer a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  justify-self: end;
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--acid);
}

[hidden] {
  display: none !important;
}

@keyframes signalBlink {
  0%, 42% { opacity: 1; }
  43%, 100% { opacity: 0.28; }
}

@keyframes sweep {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes coreBreath {
  0%, 100% { transform: scale(0.92); opacity: 0.42; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@keyframes broadcast {
  0% { opacity: 0.85; transform: translate(-50%, -50%) scale(0.2); }
  72% { opacity: 0.32; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(28); }
}

@keyframes artifactListen {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  45% { transform: translate(-50%, -50%) scale(calc(0.92 + var(--resonance) * 0.22)); }
}

@media (max-width: 1100px) {
  .topbar,
  .hero,
  .observatory,
  .footer {
    width: min(100% - 36px, 920px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero__title {
    line-height: 0.84;
  }

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

  .specimen {
    min-height: 400px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .specimen__placeholder-orbit {
    margin-top: 45px;
  }

  .specimen__hint {
    position: static;
    margin-top: 40px;
  }

  .specimen__content {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 0 30px;
  }

  .specimen__index {
    grid-column: 1 / -1;
  }

  .specimen__rune {
    grid-row: 2 / span 5;
  }

  .specimen__category {
    align-self: end;
  }

  .specimen__actions {
    grid-column: 2;
  }

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

  .mode-switch {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 700px) {
  .topbar,
  .hero,
  .observatory,
  .footer {
    width: calc(100% - 24px);
  }

  .topbar {
    min-height: 58px;
  }

  .hero {
    gap: 34px;
    padding: 52px 0 38px;
  }

  .hero__title {
    display: block;
    font-size: clamp(68px, 26vw, 114px);
    line-height: 0.78;
  }

  .hero__title span {
    display: block;
  }

  .hero__intro {
    border-left: 1px solid var(--line);
    padding-left: 18px;
  }

  .field-head {
    align-items: flex-start;
    min-height: 84px;
  }

  .field-head__telemetry {
    flex-direction: column;
    gap: 5px;
    text-align: right;
  }

  .field {
    min-height: 560px;
  }

  .field__artifacts {
    inset: 54px 14px 92px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 52px;
    align-content: start;
    gap: 8px;
  }

  .artifact {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    transform: none;
    grid-template-columns: 27px minmax(0, 1fr);
    padding-inline: 3px;
  }

  .field.is-listening .artifact {
    animation-name: mobileArtifactListen;
  }

  .artifact__orb {
    width: 22px;
    height: 22px;
  }

  .artifact__name {
    font-size: 9px;
  }

  .artifact__meta {
    font-size: 6px;
  }

  .field__legend {
    display: none;
  }

  .specimen {
    min-height: auto;
    padding: 22px;
  }

  .specimen__placeholder {
    min-height: 350px;
  }

  .specimen__content {
    display: block;
  }

  .specimen__rune {
    width: 124px;
    height: 124px;
    margin: 32px auto 28px;
  }

  .specimen__description {
    min-height: 0;
  }

  .transmitter {
    padding: 20px 14px;
  }

  .transmitter__header,
  .transmitter__lower {
    align-items: flex-start;
    flex-direction: column;
  }

  .transmitter__status {
    line-height: 1.6;
  }

  .transmitter__form {
    display: block;
  }

  .mode-switch__button {
    flex: 1;
    min-width: 0;
    min-height: 50px;
  }

  .transmitter__input-wrap {
    border-bottom: 1px solid var(--line);
  }

  .transmitter__send {
    width: 100%;
  }

  .transmitter__shortcut {
    display: none;
  }

  .prompts {
    gap: 6px;
  }

  .prompts__label {
    flex-basis: 100%;
  }

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

  .footer p {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes mobileArtifactListen {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(calc(0.96 + var(--resonance) * 0.06)); }
}
