:root {
  --ink: #090705;
  --stone: #14110d;
  --stone-2: #1c1712;
  --bronze: #b07a32;
  --bronze-deep: #6d4316;
  --bronze-dark: #3a2410;
  --gold: #e4c15a;
  --gold-hot: #f6de8a;
  --banana: #f0c43a;
  --cream: #efe4c8;
  --parchment: #d8c9a4;
  --muted: #8f8472;
  --line: rgba(176, 122, 50, 0.38);
  --display: "Protest Strike", "Anton", sans-serif;
  --brush: "Permanent Marker", "Protest Strike", cursive;
  --serif: "Cinzel", "Times New Roman", serif;
  --body: "Libre Baskerville", Georgia, serif;
  --ui: "Oswald", "Arial Narrow", sans-serif;
  --mono: "IBM Plex Mono", "Consolas", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--cream);
  font-family: var(--body);
  background:
    radial-gradient(1200px 700px at 80% 10%, rgba(176, 122, 50, 0.16), transparent 55%),
    radial-gradient(900px 500px at 10% 80%, rgba(90, 55, 18, 0.22), transparent 50%),
    linear-gradient(180deg, #0c0a07 0%, #100d0a 40%, #0a0806 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.grain,
.vignette,
#dust,
.plaza-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.grain {
  z-index: 80;
  opacity: 0.09;
  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");
  mix-blend-mode: overlay;
  animation: grain-shift 8s steps(6) infinite;
}

.vignette {
  z-index: 70;
  box-shadow: inset 0 0 180px 40px rgba(0, 0, 0, 0.72);
  animation: vignette-breathe 10s ease-in-out infinite;
}

#dust {
  z-index: 2;
}

.plaza-grid {
  z-index: 1;
  background-image:
    linear-gradient(rgba(176, 122, 50, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(176, 122, 50, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}

.ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: 28px;
  overflow: hidden;
  background: linear-gradient(90deg, #1a140c, #2a1d10 50%, #1a140c);
  border-bottom: 1px solid var(--line);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: ticker 42s linear infinite;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 28px;
}

.ticker-track span {
  padding: 0 28px;
}

.ticker-track span::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 28px;
  border-radius: 50%;
  background: var(--bronze);
  transform: translateY(-1px);
}

.nav {
  position: sticky;
  top: 28px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 36px;
  background: rgba(10, 8, 6, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: padding 0.35s ease, background 0.35s ease;
}

.nav.scrolled {
  padding: 10px 36px;
  background: rgba(8, 6, 4, 0.9);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--bronze);
  box-shadow: 0 0 0 3px rgba(176, 122, 50, 0.18), 0 0 18px rgba(228, 193, 90, 0.25);
}

.nav-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.nav-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.nav-title {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-ticker {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.22em;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-family: var(--ui);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--parchment);
  position: relative;
}

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

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

.nav-end {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ny-clock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.ny-label {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.nav-socials {
  display: flex;
  gap: 8px;
}

.nav-socials a,
.foot-socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(176, 122, 50, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.nav-socials a:hover,
.foot-socials a:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(228, 193, 90, 0.12);
}

.nav-socials img,
.foot-socials img,
.hero-actions img,
.terminal-link img,
.join-links img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.kicker img[src="solana.svg"],
.desk-logo img[src="solana.svg"] {
  width: 18px;
  height: 18px;
}

.desk-logo img[src="solana.svg"] {
  width: 34px;
  height: 34px;
}

.nav-buy {
  padding: 10px 16px;
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 28px;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  font-family: var(--ui);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-gold {
  color: #1a1208;
  background: linear-gradient(180deg, var(--gold-hot), var(--bronze));
  border: 1px solid #f3e0a0;
  box-shadow: 0 8px 24px rgba(176, 122, 50, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-ghost {
  color: var(--cream);
  border: 1px solid var(--line);
  background: rgba(20, 16, 10, 0.55);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 48%, transparent 62%);
  transform: translateX(-120%);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover::after {
  animation: sheen 0.7s ease;
}

.hero {
  position: relative;
  min-height: calc(100vh - 96px);
  padding: 48px 48px 80px;
  isolation: isolate;
}

.hero-columns {
  position: absolute;
  inset: 8% 6% auto;
  height: 42%;
  display: flex;
  justify-content: space-between;
  opacity: 0.09;
  z-index: 0;
}

.hero-columns i {
  width: 7%;
  background: linear-gradient(180deg, transparent, rgba(228, 193, 90, 0.7), transparent);
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
  animation: column-pulse 7s ease-in-out infinite;
}

.hero-columns i:nth-child(2) { animation-delay: 0.6s; }
.hero-columns i:nth-child(3) { animation-delay: 1.2s; }
.hero-columns i:nth-child(4) { animation-delay: 1.8s; }
.hero-columns i:nth-child(5) { animation-delay: 2.4s; }
.hero-columns i:nth-child(6) { animation-delay: 3s; }

.hero-flare {
  position: absolute;
  width: 520px;
  height: 520px;
  right: 8%;
  top: 12%;
  background: radial-gradient(circle, rgba(228, 193, 90, 0.2), transparent 68%);
  filter: blur(10px);
  animation: flare 8s ease-in-out infinite;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--parchment);
}

.kicker img {
  width: 18px;
  height: 18px;
}

.kicker-rule {
  width: 36px;
  height: 1px;
  background: var(--bronze);
}

.hero-title {
  line-height: 0.86;
}

.hero-title .street {
  display: block;
  font-family: var(--display);
  font-size: clamp(52px, 8vw, 104px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #f6f0de;
  text-shadow:
    1px 1px 0 #3a2a14,
    -1px 0 0 rgba(0, 0, 0, 0.35),
    0 10px 28px rgba(0, 0, 0, 0.45);
}

.hero-title .ape {
  display: block;
  font-family: var(--brush);
  font-size: clamp(72px, 12vw, 148px);
  color: var(--gold);
  margin-top: -6px;
}

.shimmer-text {
  background: linear-gradient(100deg, #8a5a1c 0%, #f6de8a 28%, #fff6c8 50%, #e4c15a 72%, #8a5a1c 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: metal 5s linear infinite;
  filter: drop-shadow(0 8px 18px rgba(176, 122, 50, 0.35));
}

.hero-symbol {
  margin: 14px 0 18px;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.42em;
  color: var(--gold);
}

.hero-lede {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--parchment);
}

.ca-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 22px;
  padding: 10px 10px 10px 16px;
  border: 1px solid var(--line);
  background: rgba(20, 16, 11, 0.72);
  max-width: 620px;
}

.ca-label {
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.ca-value {
  flex: 1;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cream);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca-copy {
  padding: 8px 12px;
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1a1208;
  background: var(--gold);
}

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

.hero-monument {
  position: relative;
  display: grid;
  place-items: center;
}

.monument-orbit,
.monument-orbit.slow {
  position: absolute;
  border: 1px dashed rgba(228, 193, 90, 0.35);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}

.monument-orbit {
  width: 108%;
  height: 92%;
}

.monument-orbit.slow {
  width: 118%;
  height: 102%;
  animation-duration: 48s;
  animation-direction: reverse;
  border-style: dotted;
}

.monument-frame {
  position: relative;
  width: min(100%, 520px);
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(228, 193, 90, 0.2), rgba(58, 36, 16, 0.3)),
    #1a140e;
  border: 1px solid var(--bronze);
  box-shadow:
    0 0 0 8px rgba(20, 14, 8, 0.85),
    0 0 0 9px rgba(176, 122, 50, 0.45),
    0 30px 70px rgba(0, 0, 0, 0.55);
  animation: float 6.5s ease-in-out infinite;
}

.monument-frame::before,
.monument-frame::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid var(--gold);
  pointer-events: none;
}

.monument-frame::before {
  top: 6px;
  left: 6px;
  border-right: 0;
  border-bottom: 0;
}

.monument-frame::after {
  right: 6px;
  bottom: 6px;
  border-left: 0;
  border-top: 0;
}

.monument-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 40%;
  filter: saturate(1.05) contrast(1.05);
}

.monument-sheen {
  position: absolute;
  inset: 14px 14px 72px;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 236, 180, 0.18) 50%, transparent 65%);
  mix-blend-mode: screen;
  animation: sweep 7s ease-in-out infinite;
  pointer-events: none;
}

.monument-plate {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 6px 2px;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.scroll-hint {
  position: absolute;
  left: 48px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-hint i {
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--gold), transparent);
  animation: drip 1.8s ease-in-out infinite;
}

.section-inner {
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
  padding: 108px 0;
}

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

.section-index {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--bronze);
}

.section-kicker {
  margin: 8px 0 10px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-kicker.light {
  color: #f3e7b8;
}

.section-head h2,
.join-inner h2 {
  font-family: var(--display);
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.section-head h2 em {
  font-style: normal;
  color: var(--gold);
}

.about {
  background: linear-gradient(180deg, transparent, rgba(26, 20, 12, 0.55) 20%, rgba(26, 20, 12, 0.55) 80%, transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.about-quote {
  padding: 28px 0 0;
  border-top: 2px solid var(--bronze);
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.25;
  color: var(--gold-hot);
}

.about-copy {
  font-size: 17px;
  line-height: 1.85;
  color: var(--parchment);
}

.about-copy p + p {
  margin-top: 18px;
}

.drop::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 58px;
  line-height: 0.8;
  padding: 8px 10px 0 0;
  color: var(--gold);
}

.about-pills {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.about-pills li {
  padding: 18px 14px;
  text-align: center;
  font-family: var(--ui);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(176, 122, 50, 0.12), rgba(10, 8, 6, 0.4));
}

.desk {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}

.desk::before {
  content: "";
  position: absolute;
  top: 58px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bronze), transparent);
  animation: line-draw 3.2s ease forwards;
}

.desk-step {
  position: relative;
  padding: 28px 20px 24px;
  background: rgba(16, 13, 10, 0.78);
  border: 1px solid var(--line);
  min-height: 280px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.desk-step:hover {
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(228, 193, 90, 0.15);
  transform: translateY(-4px);
  transition: 0.35s ease;
}

.desk-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--bronze);
  letter-spacing: 0.16em;
}

.desk-logo {
  width: 56px;
  height: 56px;
  margin: 18px 0 16px;
  display: grid;
  place-items: center;
  background: #111;
  border: 1px solid var(--line);
}

.desk-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.desk-logo.ape-logo {
  overflow: hidden;
  padding: 0;
}

.desk-logo.ape-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.desk-step h3 {
  font-family: var(--ui);
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.desk-step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.terminal {
  border: 1px solid var(--line);
  background: #0d0b09;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #221a12, #14110d);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5a4630;
}

.terminal-dots i:first-child { background: #8a5a1c; }
.terminal-dots i:last-child { background: var(--gold); }

.terminal-title {
  flex: 1;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--parchment);
}

.terminal-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ui);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.terminal-screen {
  height: 640px;
  position: relative;
}

.terminal-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(228, 193, 90, 0.04) 50%, transparent 100%);
  background-size: 100% 220%;
  animation: scan 7s linear infinite;
}

.terminal-screen iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.joinus {
  position: relative;
  overflow: hidden;
}

.join-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  background: #100d0a;
}

.join-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  animation: banner-drift 22s ease-in-out infinite alternate;
}

.join-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 6, 4, 0.08) 0%, rgba(8, 6, 4, 0.18) 45%, rgba(8, 6, 4, 0.78) 100%);
}

.join-inner {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  width: min(980px, calc(100% - 48px));
  transform: translateX(-50%);
  padding: 0 0 6%;
  text-align: center;
}

.join-inner h2 {
  margin: 6px 0 12px;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

.join-line {
  font-family: var(--serif);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--gold-hot);
  margin-bottom: 28px;
}

.join-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.join-links a {
  min-width: 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  font-family: var(--ui);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(10, 8, 6, 0.72);
  border: 1px solid var(--gold);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, background 0.25s ease;
}

.join-links a:hover {
  transform: translateY(-3px);
  background: rgba(176, 122, 50, 0.28);
}

.foot {
  border-top: 1px solid var(--line);
  background: #080705;
}

.foot-inner {
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
}

.foot-brand img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: 50%;
  border: 1px solid var(--bronze);
}

.foot p {
  color: var(--muted);
  font-size: 13px;
}

.foot-socials {
  display: flex;
  gap: 8px;
}

::selection {
  background: rgba(228, 193, 90, 0.3);
  color: #fff8dc;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0806;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--bronze), var(--bronze-dark));
  border: 2px solid #0a0806;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
}

.reveal.in {
  animation: rise 0.9s ease forwards;
}

.delay-1.in { animation-delay: 0.12s; }
.delay-2.in { animation-delay: 0.24s; }
.delay-3.in { animation-delay: 0.36s; }

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

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

@keyframes vignette-breathe {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

@keyframes metal {
  to { background-position: 220% center; }
}

@keyframes sheen {
  to { transform: translateX(120%); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

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

@keyframes sweep {
  0%, 100% { transform: translateX(-20%); opacity: 0.15; }
  50% { transform: translateX(20%); opacity: 0.45; }
}

@keyframes flare {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes column-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@keyframes drip {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

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

@keyframes scan {
  to { background-position: 0 220%; }
}

@keyframes banner-drift {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.08) translateY(-12px); }
}

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

@media (max-width: 980px) {
  .nav-links,
  .ny-clock,
  .nav-buy {
    display: none;
  }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 8, 6, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }

  .nav-links.open a {
    padding: 14px 24px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero,
  .nav {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-grid,
  .about-layout,
  .desk,
  .about-pills,
  .foot-inner {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }

  .desk::before {
    display: none;
  }

  .section-inner,
  .foot-inner {
    width: min(1180px, calc(100% - 40px));
  }

  .scroll-hint {
    left: 20px;
  }

  .terminal-screen {
    height: 480px;
  }

  .join-inner {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    padding: 36px 20px 48px;
    background: #0a0806;
  }

  .join-veil {
    background: linear-gradient(180deg, transparent 40%, rgba(8, 6, 4, 0.45) 100%);
  }

  .hero-title .street {
    font-size: 48px;
  }

  .hero-title .ape {
    font-size: 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
