:root {
  color-scheme: dark;
  --ink: #070707;
  --ink-soft: #11110f;
  --yellow: #f0b90b;
  --yellow-hot: #ffd126;
  --paper: #f2ead5;
  --muted: #a59f8f;
  --line: rgba(242, 234, 213, 0.22);
  --black-line: rgba(7, 7, 7, 0.32);
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --mono: "Courier New", Courier, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--paper);
  background:
    radial-gradient(circle at 72% 22%, rgba(240, 185, 11, 0.07), transparent 28rem),
    var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.83' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

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

button {
  color: inherit;
  font: inherit;
}

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

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--yellow-hot);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 68px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 7, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 11px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 11px;
  letter-spacing: -0.06em;
}

.site-header nav {
  display: flex;
  gap: clamp(20px, 4vw, 52px);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header nav a {
  transition: color 160ms ease;
}

.site-header nav a:hover {
  color: var(--yellow);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 9px;
}

.language-toggle {
  min-width: 48px;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease;
}

.language-toggle:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.wallet-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

body[data-language="zh"] {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", var(--sans);
}

body[data-language="zh"] h1,
body[data-language="zh"] h2 {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 900;
  letter-spacing: -0.055em;
}

body[data-language="zh"] .hero h1 {
  line-height: 0.92;
}

.wallet-button:hover,
.wallet-button.is-connected {
  color: var(--ink);
  border-color: var(--yellow);
  background: var(--yellow);
}

.wallet-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 10px rgba(240, 185, 11, 0.7);
}

.wallet-button:hover .wallet-dot,
.wallet-button.is-connected .wallet-dot {
  background: var(--ink);
  box-shadow: none;
}

main,
.site-footer {
  width: min(1600px, 100%);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  min-height: calc(100svh - 68px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(54px, 6vw, 100px) clamp(28px, 6vw, 100px) 34px;
}

.eyebrow,
.section-label,
.specimen-head,
.specimen-foot,
.identity-status {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  color: var(--yellow);
}

.eyebrow span:not(:first-child)::before {
  content: "/";
  margin-right: 24px;
  color: var(--muted);
}

.hero h1 {
  max-width: 850px;
  margin: clamp(38px, 6vh, 72px) 0 28px;
  font-family: var(--display);
  font-size: clamp(70px, 8.8vw, 146px);
  font-weight: 900;
  line-height: 0.76;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.hero h1 em {
  color: var(--yellow);
  font-style: normal;
}

.hero-lede {
  max-width: 640px;
  margin: 0;
  color: #c9c1ad;
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 34px;
  margin: 42px 0 clamp(42px, 7vh, 84px);
}

.primary-action,
.secondary-action {
  border: 0;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.primary-action {
  display: inline-flex;
  justify-content: space-between;
  gap: 48px;
  min-width: 250px;
  padding: 19px 20px;
  box-shadow: inset 0 0 0 1px transparent;
  transition: background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.primary-action:hover {
  color: var(--yellow);
  background: var(--ink);
  box-shadow: inset 0 0 0 1px var(--yellow);
}

.text-action {
  padding: 12px 0 8px;
  border-bottom: 1px solid var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 160ms ease, border-color 160ms ease;
}

.text-action:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.system-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: auto 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.system-strip div {
  padding: 18px 18px 0 0;
}

.system-strip dt,
.traits dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.system-strip dd,
.traits dd {
  margin: 0;
  font-size: 14px;
}

.hero-specimen {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: var(--ink);
  border-left: 1px solid var(--line);
  background: var(--yellow);
}

.meme-transmission {
  display: grid;
  grid-template-columns: 0.42fr minmax(0, 1.8fr) minmax(240px, 0.55fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: center;
  padding: clamp(60px, 7vw, 105px) clamp(28px, 6vw, 100px);
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.06) 1px, transparent 1px),
    var(--yellow);
  background-size: 70px 100%;
}

.meme-index {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: 13px;
  border-left: 3px solid var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meme-index strong {
  font-size: 16px;
}

.meme-copy > p:first-child {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 14px;
}

.meme-copy h2 {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: clamp(56px, 7vw, 112px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.meme-punch {
  max-width: 820px;
  margin: 24px 0 0;
  font-size: clamp(18px, 1.7vw, 27px);
  line-height: 1.55;
}

.meme-punch strong {
  font-weight: 900;
}

.meme-lab-link {
  display: grid;
  gap: 36px;
  padding: 20px;
  border: 1px solid var(--ink);
  font-size: 17px;
  font-weight: 800;
  transition: color 160ms ease, background 160ms ease;
}

.meme-lab-link b {
  justify-self: end;
  font-family: var(--mono);
  font-size: 12px;
}

.meme-lab-link:hover {
  color: var(--yellow);
  background: var(--ink);
}

.hero-specimen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.94);
  transform: scale(1.035);
}

.specimen-head,
.specimen-foot {
  position: absolute;
  z-index: 3;
  left: 22px;
  right: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-weight: 700;
}

.specimen-head {
  top: 20px;
}

.specimen-foot {
  bottom: 20px;
}

.crosshair {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(62%, 430px);
  aspect-ratio: 1;
  border: 1px solid rgba(7, 7, 7, 0.27);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.crosshair::before,
.crosshair::after {
  position: absolute;
  content: "";
  background: rgba(7, 7, 7, 0.27);
}

.crosshair::before {
  top: 50%;
  left: -18%;
  width: 136%;
  height: 1px;
}

.crosshair::after {
  top: -18%;
  left: 50%;
  width: 1px;
  height: 136%;
}

.scan-line {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 14%;
  height: 1px;
  background: rgba(7, 7, 7, 0.38);
  box-shadow: 0 0 14px rgba(7, 7, 7, 0.35);
  animation: scan 7s linear infinite;
}

@keyframes scan {
  0% { top: 12%; }
  50% { top: 88%; }
  100% { top: 12%; }
}

.manifesto,
.colony,
.protocol {
  border-bottom: 1px solid var(--line);
}

.manifesto {
  display: grid;
  grid-template-columns: 0.42fr 1.1fr 1.25fr;
  gap: clamp(30px, 5vw, 90px);
  padding: clamp(88px, 10vw, 160px) clamp(28px, 6vw, 100px);
}

.section-label {
  display: flex;
  gap: 20px;
  height: fit-content;
  color: var(--muted);
}

.section-label span:first-child {
  color: var(--yellow);
}

.kicker {
  margin: 0 0 25px;
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.manifesto-copy h2,
.colony-intro h2,
.lab-copy h2,
.protocol h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.manifesto-copy h2 {
  max-width: 650px;
  font-size: clamp(46px, 5.3vw, 84px);
}

.manifesto-copy > p:last-child,
.colony-intro > p,
.lab-copy > p,
.protocol-notes p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.manifesto-copy > p:last-child {
  max-width: 620px;
  margin: 32px 0 0;
}

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

.sequence article {
  display: grid;
  grid-template-columns: 34px 0.75fr 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.sequence article > span {
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 12px;
}

.sequence h3 {
  margin: 0;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sequence p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.colony {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
}

.colony-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(80px, 9vw, 145px) clamp(28px, 6vw, 100px);
  border-right: 1px solid var(--line);
}

.colony-intro h2 {
  max-width: 660px;
  margin-top: 55px;
  font-size: clamp(52px, 6.2vw, 98px);
}

.colony-intro > p {
  max-width: 560px;
  margin: 32px 0 38px;
}

.secondary-action {
  min-width: 190px;
  padding: 16px 20px;
  border: 1px solid var(--yellow);
  transition: background 160ms ease, color 160ms ease;
}

.secondary-action:hover {
  color: var(--yellow);
  background: transparent;
}

.identity-card {
  align-self: center;
  width: min(650px, calc(100% - 80px));
  margin: clamp(60px, 8vw, 120px) auto;
  border: 1px solid var(--line);
  background: #0b0b09;
  transition: border-color 400ms ease, box-shadow 400ms ease;
}

.identity-card.is-resolved {
  border-color: rgba(240, 185, 11, 0.7);
  box-shadow: 0 0 60px rgba(240, 185, 11, 0.08);
}

.identity-status {
  display: flex;
  justify-content: space-between;
  padding: 17px 19px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.identity-status strong {
  color: var(--yellow);
  font-weight: 400;
}

.identity-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--yellow);
}

.identity-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(rgba(7, 7, 7, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 7, 7, 0.12) 1px, transparent 1px);
  background-size: 12.5% 20%;
  mix-blend-mode: multiply;
}

.identity-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(var(--fly-gray, 0)) contrast(var(--fly-contrast, 1.05));
  transform: rotate(var(--fly-tilt, 0deg)) scale(var(--fly-scale, 1.02));
  transition: filter 600ms ease, transform 600ms cubic-bezier(.2,.8,.2,1);
}

.identity-state {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  padding: 7px 9px;
  color: var(--yellow);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
}

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

.traits div {
  min-width: 0;
  padding: 18px 19px;
  border-top: 1px solid var(--line);
}

.traits div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.traits dd {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-status {
  min-height: 53px;
  margin: 0;
  padding: 15px 19px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.wallet-status.is-error {
  color: #ff746c;
}

.lab-entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(230px, 0.6fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  overflow: hidden;
  padding: clamp(82px, 9vw, 140px) clamp(28px, 6vw, 100px);
  color: var(--ink);
  background: var(--yellow);
}

.lab-entry .section-label,
.lab-entry .section-label span:first-child {
  color: rgba(7, 7, 7, 0.63);
}

.lab-copy {
  position: relative;
  z-index: 2;
}

.lab-copy h2 {
  font-size: clamp(52px, 6vw, 94px);
}

.lab-copy > p {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(7, 7, 7, 0.72);
}

.lab-link {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease;
}

.lab-link b {
  font-size: 24px;
  font-weight: 400;
}

.lab-link:hover {
  color: var(--yellow);
  background: var(--ink);
}

.lab-signal {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 3.6vw;
  padding: 0 5vw;
  opacity: 0.11;
  transform: rotate(-5deg) scale(1.15);
}

.lab-signal span {
  display: block;
  width: 1px;
  height: var(--bar, 50%);
  background: var(--ink);
}

.lab-signal span:nth-child(1) { --bar: 35%; }
.lab-signal span:nth-child(2) { --bar: 82%; }
.lab-signal span:nth-child(3) { --bar: 48%; }
.lab-signal span:nth-child(4) { --bar: 92%; }
.lab-signal span:nth-child(5) { --bar: 65%; }
.lab-signal span:nth-child(6) { --bar: 27%; }
.lab-signal span:nth-child(7) { --bar: 76%; }

.protocol {
  display: grid;
  grid-template-columns: 0.42fr 1.05fr 1fr;
  gap: clamp(30px, 5vw, 90px);
  padding: clamp(88px, 10vw, 150px) clamp(28px, 6vw, 100px);
}

.field-record {
  padding: clamp(88px, 10vw, 150px) clamp(28px, 6vw, 100px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(240, 185, 11, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 185, 11, 0.025) 1px, transparent 1px),
    var(--ink);
  background-size: 72px 72px;
}

.field-heading {
  display: grid;
  grid-template-columns: 0.42fr 2.25fr;
  gap: clamp(30px, 5vw, 90px);
  margin-bottom: clamp(54px, 7vw, 94px);
}

.field-heading > div:last-child {
  max-width: 970px;
}

.field-heading h2 {
  max-width: 950px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(52px, 6.4vw, 102px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.field-heading > div:last-child > p:last-child {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.field-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(440px, 0.82fr);
  border: 1px solid var(--line);
  background: #090906;
}

.neural-window {
  position: relative;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 42%, rgba(240, 185, 11, 0.1), transparent 42%),
    #080806;
}

.neural-window canvas {
  position: absolute;
  inset: 54px 0 48px;
  width: 100%;
  height: calc(100% - 102px);
}

.field-meta,
.neural-window figcaption {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field-meta {
  top: 18px;
}

.field-meta span:first-child {
  color: var(--yellow);
}

.neural-window figcaption {
  bottom: 17px;
}

.stage-board {
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
}

.stage-board article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: clamp(24px, 3vw, 38px);
  border-bottom: 1px solid var(--line);
}

.stage-board article:last-child {
  border-bottom: 0;
}

.stage-number {
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 12px;
}

.stage-board h3 {
  margin: 0 0 9px;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-board p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.stage-state {
  padding: 6px 7px 5px;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-state.is-live {
  color: var(--yellow);
}

.stage-state.is-next {
  color: var(--muted);
}

.protocol h2 {
  font-size: clamp(50px, 5.7vw, 90px);
}

.protocol-notes {
  border-top: 1px solid var(--line);
}

.protocol-notes p {
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.protocol-notes strong {
  color: var(--paper);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 120px;
  padding: 30px clamp(28px, 6vw, 100px);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-brand {
  font-size: 12px;
}

.site-footer p {
  color: var(--muted);
}

.site-footer > div {
  justify-self: end;
  display: flex;
  gap: 30px;
}

.site-footer > div span {
  color: var(--muted);
}

.site-footer a:last-child:hover {
  color: var(--yellow);
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

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

  .hero-copy {
    min-height: calc(100svh - 68px);
  }

  .hero-specimen {
    min-height: min(82vw, 760px);
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .meme-transmission {
    grid-template-columns: 0.28fr 1fr;
  }

  .meme-lab-link {
    grid-column: 2;
    width: min(100%, 360px);
  }

  .manifesto,
  .protocol,
  .field-heading {
    grid-template-columns: 0.28fr 1fr;
  }

  .manifesto .sequence,
  .protocol .protocol-notes {
    grid-column: 2;
  }

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

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

  .neural-window {
    min-height: 560px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .colony-intro {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .lab-entry {
    grid-template-columns: 0.28fr 1fr;
  }

  .lab-link {
    grid-column: 2;
    width: min(100%, 360px);
  }

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

  .site-footer p {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 62px;
    padding: 0 16px;
  }

  .brand > span:last-child {
    display: none;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .wallet-button {
    min-height: 36px;
    padding: 0 11px;
  }

  .header-actions {
    gap: 6px;
  }

  .language-toggle {
    min-width: 42px;
    min-height: 36px;
    padding: 0 7px;
  }

  .wallet-label {
    font-size: 0;
  }

  .wallet-label::after {
    content: "WALLET";
    font-size: 12px;
  }

  body[data-language="zh"] .wallet-label::after {
    content: "钱包";
  }

  .hero-copy {
    min-height: auto;
    padding: 52px 20px 24px;
  }

  .eyebrow span:not(:first-child) {
    display: none;
  }

  .hero h1 {
    margin-top: 46px;
    font-size: clamp(60px, 21vw, 92px);
    line-height: 0.8;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    margin: 36px 0 54px;
  }

  .primary-action {
    width: 100%;
  }

  .text-action {
    width: fit-content;
  }

  .system-strip {
    grid-template-columns: 1fr;
  }

  .system-strip div {
    display: flex;
    justify-content: space-between;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .system-strip dt {
    margin: 0;
  }

  .hero-specimen {
    min-height: 112vw;
  }

  .meme-transmission {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 64px 20px;
  }

  .meme-index {
    min-height: 58px;
  }

  .meme-copy h2 {
    font-size: clamp(52px, 18vw, 76px);
  }

  .meme-lab-link {
    grid-column: 1;
    width: 100%;
  }

  .specimen-head,
  .specimen-foot {
    left: 14px;
    right: 14px;
  }

  .specimen-head span:last-child {
    display: none;
  }

  .manifesto,
  .protocol,
  .lab-entry,
  .field-heading {
    grid-template-columns: 1fr;
    padding: 72px 20px;
  }

  .field-record {
    padding: 72px 20px;
  }

  .field-heading {
    padding: 0;
  }

  .manifesto .sequence,
  .protocol .protocol-notes,
  .lab-link {
    grid-column: 1;
  }

  .manifesto-copy h2,
  .colony-intro h2,
  .lab-copy h2,
  .protocol h2,
  .field-heading h2 {
    font-size: clamp(48px, 15vw, 70px);
  }

  .neural-window {
    min-height: 440px;
  }

  .field-meta span:last-child {
    display: none;
  }

  .stage-board article {
    grid-template-columns: 28px minmax(0, 1fr);
    padding: 24px 18px;
  }

  .stage-state {
    grid-column: 2;
    justify-self: start;
  }

  .sequence article {
    grid-template-columns: 28px 0.65fr 1fr;
  }

  .colony-intro {
    padding: 72px 20px;
  }

  .colony-intro h2 {
    margin-top: 42px;
  }

  .identity-card {
    width: calc(100% - 40px);
    margin: 54px auto;
  }

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

  .traits div:nth-child(odd) {
    border-right: 0;
  }

  .lab-entry {
    gap: 34px;
  }

  .lab-link {
    width: 100%;
  }

  .site-footer {
    min-height: 94px;
    padding: 24px 20px;
  }

  .site-footer > div {
    gap: 18px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
