:root {
  --void: #0b0b0d;
  --void-2: #121214;
  --ink: #f2eee6;
  --muted: #8d887e;
  --faint: #5c5852;
  --rule: rgba(242, 238, 230, 0.1);
  --rule-strong: rgba(242, 238, 230, 0.22);
  --gold: #c4a15a;
  --gold-dim: rgba(196, 161, 90, 0.16);
  --paper: #ebe4d4;
  --paper-2: #ddd4c2;
  --paper-ink: #161412;
  --paper-mute: #5b564c;
  --danger: #b64b3c;
  --max: 1180px;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --text: "Newsreader", "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  background: var(--void);
  color: var(--ink);
}

body {
  font-family: var(--text);
  font-size: 19px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  cursor: crosshair;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

#field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.fx-grain,
.fx-vignette,
.fx-scan {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 25;
}

.fx-grain {
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.8s steps(2) infinite;
}

.fx-vignette {
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(180deg, rgba(11, 11, 13, 0.15), transparent 12%, transparent 88%, rgba(11, 11, 13, 0.5));
}

.fx-scan {
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 3px
  );
  opacity: 0.25;
  animation: scan 8s linear infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0); }
  25% { transform: translate(-1%, 1%); }
  50% { transform: translate(1%, -1%); }
  75% { transform: translate(-1%, -2%); }
}

@keyframes scan {
  from { transform: translateY(0); }
  to { transform: translateY(3px); }
}

.boot {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #070708;
  display: grid;
  place-items: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.boot.is-gone {
  opacity: 0;
  visibility: hidden;
}

.boot-inner {
  width: min(420px, calc(100vw - 40px));
  text-align: center;
}

.boot-logo {
  width: 220px;
  margin: 0 auto 22px;
  mix-blend-mode: screen;
  animation: bootPulse 1.4s ease-in-out infinite;
}

.boot-kicker,
.boot-log,
.nav,
.eyebrow,
.hero-meta,
.terminal,
.ca-row,
.sec-index,
.dossier,
.trait span,
.protocol em,
.chart-chrome,
.ticker {
  font-family: var(--mono);
}

.boot-kicker {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.boot-log {
  list-style: none;
  text-align: left;
  font-size: 12px;
  color: var(--muted);
  min-height: 92px;
}

.boot-log li {
  margin: 6px 0;
  opacity: 0;
  transform: translateY(6px);
  animation: bootIn 0.35s ease forwards;
}

.boot-log li::before {
  content: "> ";
  color: var(--gold);
}

.boot-bar {
  margin-top: 18px;
  height: 1px;
  background: rgba(242, 238, 230, 0.12);
  overflow: hidden;
}

.boot-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ink);
  animation: bootLoad 1.8s ease forwards;
}

@keyframes bootPulse {
  0%, 100% { opacity: 0.72; filter: brightness(1); }
  50% { opacity: 1; filter: brightness(1.25); }
}

@keyframes bootIn {
  to { opacity: 1; transform: none; }
}

@keyframes bootLoad {
  to { width: 100%; }
}

.rail {
  position: fixed;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  transform-origin: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--faint);
  z-index: 6;
  display: flex;
  gap: 28px;
}

.rail span {
  transform: rotate(180deg);
}

.ticker {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--rule);
  background: rgba(11, 11, 13, 0.72);
  overflow: hidden;
  height: 34px;
}

.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  align-items: center;
  height: 100%;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  animation: ticker 42s linear infinite;
  width: max-content;
  padding-inline: 24px;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px 0 56px;
  border-bottom: 1px solid var(--rule);
  background: rgba(11, 11, 13, 0.78);
  backdrop-filter: blur(16px);
}

.nav::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: var(--infect, 0%);
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  pointer-events: none;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  mix-blend-mode: screen;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.35s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.icon-btn img {
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(1);
}

.icon-btn:hover {
  border-color: var(--rule-strong);
  background: rgba(242, 238, 230, 0.04);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--rule);
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: var(--ink);
}

.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { bottom: 15px; }

.mobile-nav {
  display: none;
  position: sticky;
  top: 68px;
  z-index: 29;
  background: rgba(11, 11, 13, 0.96);
  border-bottom: 1px solid var(--rule);
  padding: 8px 28px 18px;
}

.mobile-nav.is-open { display: grid; gap: 12px; }

.mobile-nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--rule-strong);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

.btn-solid {
  background: var(--ink);
  color: var(--void);
  border-color: var(--ink);
}

.btn-solid img {
  filter: brightness(0);
}

.btn-solid:hover {
  transform: translateY(-2px);
  background: #fff;
}

.btn-ghost:hover {
  background: rgba(242, 238, 230, 0.05);
  transform: translateY(-2px);
}

.btn-lg {
  min-height: 50px;
  padding: 0 20px;
}

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

.btn-ink img {
  filter: brightness(0) invert(1);
}

.btn-ink:hover {
  transform: translateY(-2px);
  background: #000;
}

.btn-paper {
  background: transparent;
  color: var(--paper-ink);
  border-color: rgba(22, 20, 18, 0.22);
}

.btn-paper img {
  filter: brightness(0);
}

.btn-paper:hover {
  background: rgba(22, 20, 18, 0.05);
  transform: translateY(-2px);
}

main {
  position: relative;
  z-index: 3;
}

.hero,
.about,
.howto,
.chart {
  width: min(var(--max), calc(100% - 80px));
  margin: 0 auto;
  padding: 92px 0 20px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(196, 161, 90, 0.6);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(196, 161, 90, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(196, 161, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(196, 161, 90, 0); }
}

.hero {
  position: relative;
}

.hero::before {
  content: "67";
  position: absolute;
  right: -8%;
  top: -40px;
  font-family: var(--serif);
  font-size: clamp(180px, 28vw, 340px);
  line-height: 0.7;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 238, 230, 0.06);
  pointer-events: none;
  z-index: 0;
  animation: drift 18s ease-in-out infinite;
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-18px, 14px, 0); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.logo-stack {
  position: relative;
  background: #000;
  border: 1px solid var(--rule);
  padding: 28px;
  overflow: hidden;
}

.logo-stack::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(242, 238, 230, 0.07) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: sheen 5.5s ease-in-out infinite;
}

@keyframes sheen {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}

.logo-main {
  position: relative;
  z-index: 2;
  width: 100%;
  mix-blend-mode: screen;
}

.logo-ghost {
  position: absolute;
  inset: 28px;
  width: calc(100% - 56px);
  mix-blend-mode: screen;
  pointer-events: none;
}

.logo-ghost-a {
  opacity: 0.28;
  transform: translate(3px, -2px);
  filter: blur(0.4px) sepia(1) hue-rotate(310deg);
  animation: ghostA 3.2s ease-in-out infinite;
}

.logo-ghost-b {
  opacity: 0.2;
  transform: translate(-3px, 2px);
  filter: blur(0.4px) sepia(1) hue-rotate(180deg);
  animation: ghostB 2.6s ease-in-out infinite;
}

@keyframes ghostA {
  0%, 100% { transform: translate(3px, -2px); opacity: 0.2; }
  50% { transform: translate(6px, 1px); opacity: 0.35; }
}

@keyframes ghostB {
  0%, 100% { transform: translate(-3px, 2px); opacity: 0.16; }
  50% { transform: translate(-6px, -1px); opacity: 0.3; }
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 1px;
}

.hero-meta span {
  background: var(--void);
  padding: 12px 10px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-meta strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(46px, 6vw, 78px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero h1 em,
.about h2 em,
.howto h2 em {
  font-style: italic;
  color: #d7c9a5;
}

.lede {
  margin: 22px 0 26px;
  color: #c7c1b5;
  max-width: 46ch;
}

.terminal {
  border: 1px solid var(--rule);
  background: rgba(0, 0, 0, 0.35);
  margin-bottom: 24px;
}

.terminal-bar {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid var(--rule);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.terminal-line {
  min-height: 58px;
  padding: 16px 14px;
  font-size: 15px;
  color: var(--ink);
}

.prompt {
  color: var(--gold);
  margin-right: 8px;
}

.caret {
  display: inline-block;
  width: 8px;
  height: 1em;
  background: var(--ink);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.ca-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--rule);
  padding: 10px 12px;
  font-size: 11px;
}

.ca-label {
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#caText {
  flex: 1;
  color: var(--muted);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca-copy {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.4;
}

.ca-copy:not(:disabled) {
  opacity: 1;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.hero-stats article {
  min-height: 120px;
}

.stat-k,
.sec-index,
.dossier-kicker,
.trait span,
.protocol em {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-stats strong {
  display: block;
  margin: 10px 0 8px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.hero-stats small {
  display: block;
  color: var(--muted);
  font-size: 15px;
}

.section-head {
  margin-bottom: 42px;
}

.sec-index {
  margin-bottom: 14px;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.sec-lead {
  max-width: 46ch;
  margin-top: 16px;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.about-prose p {
  color: #c8c2b6;
  margin-bottom: 18px;
}

.about-prose blockquote {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-style: italic;
  line-height: 1.15;
  color: var(--ink);
  margin: 28px 0;
  padding-left: 20px;
  border-left: 1px solid var(--gold);
}

.dossier {
  position: relative;
  border: 1px solid var(--rule);
  padding: 28px 24px 32px;
  background:
    linear-gradient(180deg, rgba(196, 161, 90, 0.05), transparent 30%),
    rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.dossier h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  margin: 10px 0 18px;
}

.dossier ul {
  list-style: none;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.dossier li + li { margin-top: 6px; }

.dossier-aff {
  font-size: 12px;
  color: var(--faint);
  margin-bottom: 20px;
}

.dossier-stamp {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(196, 161, 90, 0.45);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--gold);
  transform: rotate(-12deg);
  opacity: 0.8;
  animation: stamp 6s ease-in-out infinite;
}

.dossier-stamp span {
  position: absolute;
  top: 16px;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dossier-stamp strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

@keyframes stamp {
  0%, 100% { transform: rotate(-12deg) scale(1); }
  50% { transform: rotate(-8deg) scale(1.04); }
}

.traits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.trait {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.trait:hover {
  border-top-color: var(--gold);
  transform: translateY(-4px);
}

.trait h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  margin: 12px 0 10px;
}

.trait p {
  color: var(--muted);
  font-size: 16px;
}

.protocol {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.protocol li {
  background: rgba(11, 11, 13, 0.88);
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  transition: background 0.3s ease;
}

.protocol li:hover {
  background: #161618;
}

.protocol em {
  font-style: normal;
  font-size: 12px;
}

.protocol h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 8px;
}

.protocol p {
  color: var(--muted);
  font-size: 16px;
}

.howto-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--rule);
  padding: 16px;
  background: rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.link-card img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.link-card strong {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.link-card span {
  color: var(--muted);
  font-size: 14px;
}

.link-card:hover {
  transform: translateY(-3px);
  border-color: var(--rule-strong);
  background: rgba(242, 238, 230, 0.03);
}

.chart .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.chart-ext {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 4px;
}

.chart-ext img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

.chart-ext:hover { color: var(--ink); }

.chart-frame {
  border: 1px solid var(--rule);
  background: #000;
  overflow: hidden;
}

.chart-chrome {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  border-bottom: 1px solid var(--rule);
}

.chart-frame iframe {
  width: 100%;
  height: 640px;
  border: 0;
  display: block;
  background: #0b0b0d;
}

.join {
  margin-top: 80px;
  background:
    radial-gradient(circle at 80% 0%, rgba(196, 161, 90, 0.12), transparent 36%),
    var(--paper);
  color: var(--paper-ink);
  position: relative;
  z-index: 3;
}

.join::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 27px,
    rgba(22, 20, 18, 0.035) 28px
  );
  opacity: 0.7;
}

.join-inner {
  width: min(var(--max), calc(100% - 80px));
  margin: 0 auto;
  padding: 92px 0 80px;
  position: relative;
}

.join .sec-index,
.join .sec-lead {
  color: var(--paper-mute);
}

.join h2 {
  color: var(--paper-ink);
}

.manuscript {
  margin: 8px 0 36px;
}

.manuscript img {
  width: 100%;
  border: 1px solid rgba(22, 20, 18, 0.14);
  box-shadow:
    0 24px 60px rgba(22, 20, 18, 0.12),
    0 2px 0 rgba(255, 255, 255, 0.35) inset;
  background: #fff;
  filter: contrast(1.04);
  transform: rotate(-0.35deg);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.manuscript:hover img {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 32px 70px rgba(22, 20, 18, 0.16);
}

.manuscript figcaption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-mute);
  margin-top: 12px;
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.foot {
  position: relative;
  z-index: 3;
  width: min(var(--max), calc(100% - 80px));
  margin: 0 auto;
  padding: 48px 0 64px;
  display: grid;
  gap: 22px;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.foot-brand img {
  width: 54px;
  mix-blend-mode: screen;
}

.foot-brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.foot-brand span,
.foot-note {
  color: var(--muted);
  font-size: 15px;
}

.foot-links {
  display: flex;
  gap: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.foot-links a:hover { color: var(--ink); }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-play-state: paused;
}

.reveal.is-in {
  animation-play-state: running;
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .rail { display: none; }
  .nav { padding: 0 18px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero,
  .about,
  .howto,
  .chart,
  .join-inner,
  .foot {
    width: min(var(--max), calc(100% - 36px));
  }
  .hero-grid,
  .about-grid,
  .traits,
  .protocol,
  .howto-links,
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .hero-stats { gap: 18px; }
  .chart-frame iframe { height: 480px; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .nav-actions .btn { display: none; }
  .hero { padding-top: 48px; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero h1 { font-size: 42px; }
  .ca-row { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal,
  .boot {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .ticker-track { animation: none; }
}
