:root {
  --bg: #080808;
  --bg-2: #0c0c0c;
  --steel: #141414;
  --steel-2: #1c1c1c;
  --line: #2a2a2a;
  --line-2: #3d3d3d;
  --mute: #8a8a8a;
  --text: #c8c8c8;
  --white: #f3f3f3;
  --silver: #d4d4d4;
  --font-display: "Anton", sans-serif;
  --font-body: "Oswald", sans-serif;
  --font-mark: "Teko", sans-serif;
  --max: 1220px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
}

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

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

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

code {
  font-family: var(--font-mark);
}

ul,
ol {
  list-style: none;
}

::selection {
  background: #e8e8e8;
  color: #111;
}

/* ---------- stage ---------- */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(80, 80, 80, 0.16), transparent 55%),
    radial-gradient(ellipse 40% 40% at 85% 20%, rgba(60, 60, 60, 0.1), transparent 50%),
    var(--bg);
}

.mesh {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}

.fog {
  position: absolute;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  background: radial-gradient(circle, #5a5a5a 0%, transparent 70%);
  animation: fog-drift 28s ease-in-out infinite alternate;
}

.fog-a { top: -12%; left: -10%; }
.fog-b { right: -16%; top: 30%; animation-duration: 36s; animation-delay: -8s; opacity: 0.12; }
.fog-c { left: 20%; bottom: -20%; width: 40vw; height: 40vw; animation-duration: 42s; opacity: 0.1; }

.vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 180px 40px #000;
}

.spot {
  position: absolute;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07), transparent 68%);
  transform: translate(-50%, -50%);
  left: 50%;
  top: 30%;
  transition: left 0.25s ease, top 0.25s ease;
}

#grain,
#dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#grain { opacity: 0.09; }

/* ---------- rail ---------- */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  height: 100vh;
  width: 42px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.55);
  mask-image: linear-gradient(#000, #000);
}

.rail-track {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-mark);
  font-size: 15px;
  letter-spacing: 0.42em;
  color: rgba(255, 255, 255, 0.28);
  white-space: nowrap;
  padding: 24px 0;
  animation: rail-run 28s linear infinite;
}

.rail-track:nth-child(2) { animation-delay: -14s; }

/* ---------- boot ---------- */
.boot {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  place-content: center;
  gap: 22px;
  background: #050505;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

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

.boot-plate {
  position: relative;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
}

.boot-plate img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(1) contrast(1.08);
}

.boot-ring,
.boot-ring-b {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  animation: spin 10s linear infinite;
}

.boot-ring-b {
  inset: 10px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.12);
  animation-direction: reverse;
  animation-duration: 16s;
}

.boot-word {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.22em;
  color: var(--white);
}

.boot-bar {
  width: 168px;
  height: 2px;
  background: #222;
  overflow: hidden;
}

.boot-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #666, #fff);
  animation: load-bar 1.15s ease forwards;
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: 76px;
  padding: 0 28px 0 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 8, 8, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  transition: transform 0.35s ease, background 0.35s ease;
}

.nav.is-hidden { transform: translateY(-100%); }
.nav.is-solid { background: rgba(8, 8, 8, 0.92); }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--white);
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  filter: grayscale(1) contrast(1.05);
}

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

.links a {
  position: relative;
  font-family: var(--font-mark);
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}

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

.links a:hover { color: var(--white); }
.links a:hover::after { width: 100%; }

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

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

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

.icon-btn:hover {
  border-color: #888;
  background: #1f1f1f;
}

.buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid #8a8a8a;
  background: linear-gradient(180deg, #efefef 0%, #bdbdbd 100%);
  color: #111;
  font-family: var(--font-mark);
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.buy-btn img { width: 16px; height: 16px; }
.buy-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }

.burger {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  gap: 5px;
  border: 1px solid var(--line);
}

.burger i {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--white);
}

/* ---------- shared ---------- */
main { position: relative; z-index: 3; }

.steel {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%),
    var(--steel);
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 50px rgba(0, 0, 0, 0.35);
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 22px;
  font-family: var(--font-mark);
  font-size: 20px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.btn-solid {
  background: linear-gradient(180deg, #f4f4f4 0%, #cfcfcf 42%, #9f9f9f 100%);
  color: #111;
  border: 1px solid #eee;
}

.btn-solid img { filter: none; }

.btn-ghost {
  border: 1px solid var(--line-2);
  background: rgba(20, 20, 20, 0.7);
  color: var(--white);
}

.btn-ghost img {
  width: 18px;
  height: 18px;
}

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

.btn:hover::before { animation: sheen 0.8s ease; }
.btn:hover { transform: translateY(-2px); }

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

.sec-num {
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 120px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
}

.sec-kicker {
  font-family: var(--font-mark);
  font-size: 18px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 8px;
}

.sec-head h2,
.join-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 0.95;
  color: var(--white);
  letter-spacing: 0.02em;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s ease forwards;
  animation-play-state: paused;
}

.reveal.in { animation-play-state: running; }
.delay { animation-delay: 0.18s; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 48px 100px 88px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  max-width: 1480px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-mark);
  font-size: 16px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mute);
}

.eyebrow img {
  width: 16px;
  height: 16px;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #777;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  line-height: 0.82;
}

.metal {
  font-family: var(--font-display);
  font-size: clamp(88px, 14vw, 196px);
  background: linear-gradient(185deg, #fff 8%, #d0d0d0 28%, #8d8d8d 46%, #f2f2f2 62%, #9a9a9a 80%, #e8e8e8 100%);
  background-size: 100% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: metal-shift 7s ease-in-out infinite;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}

.tagline {
  margin: 22px 0 28px;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 400;
  color: var(--silver);
}

.ca-strip {
  display: flex;
  align-items: center;
  width: min(100%, 560px);
  height: 48px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  background: rgba(12, 12, 12, 0.8);
}

.ca-label {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0 14px;
  border-right: 1px solid var(--line);
  font-family: var(--font-mark);
  letter-spacing: 0.2em;
  color: var(--white);
}

#ca-text {
  flex: 1;
  padding: 0 14px;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: var(--mute);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#copy-ca {
  height: 100%;
  padding: 0 16px;
  border-left: 1px solid var(--line);
  font-family: var(--font-mark);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
}

#copy-ca:hover { background: #1a1a1a; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-plate {
  display: grid;
  place-items: center;
}

.plate {
  position: relative;
  width: min(46vw, 520px);
  aspect-ratio: 1;
}

.ring {
  position: absolute;
  border-radius: 50%;
}

.ring-a {
  inset: 0;
  border: 2px dashed rgba(255, 255, 255, 0.16);
  animation: spin 42s linear infinite;
}

.ring-b {
  inset: 7%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.03);
  animation: spin 30s linear infinite reverse;
}

.ring-c {
  inset: 14%;
  border: 8px solid rgba(255, 255, 255, 0.05);
  animation: pulse-ring 4.5s ease-in-out infinite;
}

.ring-d {
  inset: 21%;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.plate-core {
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 0 0 10px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(255, 255, 255, 0.08);
  animation: breathe 6s ease-in-out infinite;
}

.plate-core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12) brightness(0.96);
}

.plate-caption {
  margin-top: 18px;
  font-family: var(--font-mark);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--mute);
}

.scroll-cue {
  position: absolute;
  left: 88px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mark);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mute);
}

.scroll-cue b {
  width: 1px;
  height: 36px;
  background: linear-gradient(#fff, transparent);
  animation: drop 1.6s ease infinite;
}

/* ---------- about ---------- */
.about,
.howto,
.chart {
  padding: 110px 48px 40px 88px;
  max-width: 1400px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

.manifesto {
  padding: 42px 40px;
  min-height: 100%;
}

.manifesto-mark {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.28em;
  color: var(--mute);
  margin-bottom: 22px;
}

#full-bio {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
  color: var(--silver);
  font-weight: 400;
}

.pillars {
  display: grid;
  gap: 14px;
}

.pillar {
  padding: 24px 26px;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.pillar:hover {
  transform: translateX(6px);
  border-color: #555;
}

.pillar span,
.station-num {
  font-family: var(--font-mark);
  font-size: 22px;
  letter-spacing: 0.2em;
  color: var(--mute);
}

.pillar h3,
.station h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--white);
  margin: 6px 0 8px;
}

.pillar p,
.station p {
  color: var(--mute);
  line-height: 1.5;
}

/* ---------- howto ---------- */
.howto { position: relative; }

.barbell {
  position: absolute;
  top: 58%;
  left: 110px;
  right: 70px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3a3a3a 8%, #7a7a7a 50%, #3a3a3a 92%, transparent);
  pointer-events: none;
}

.stations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

.station {
  padding: 28px 22px 26px;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.station:hover {
  transform: translateY(-8px);
  border-color: #555;
}

.station-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  background: #101010;
  border: 1px solid var(--line);
}

.station-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.station a {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-mark);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid #555;
}

.station a:hover { border-color: #fff; }

/* ---------- chart ---------- */
.chart-out { flex-shrink: 0; }

.chart .sec-head { align-items: center; }

.bezel {
  position: relative;
  height: min(720px, 78vh);
  padding: 14px;
  overflow: hidden;
}

.bezel iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #0b0b0b;
}

.rivet {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d8d8d8, #555 70%);
  z-index: 2;
}

.r1 { top: 10px; left: 10px; }
.r2 { top: 10px; right: 10px; }
.r3 { bottom: 10px; left: 10px; }
.r4 { bottom: 10px; right: 10px; }

.bezel-scan {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 80px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  animation: scan 7s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.chart-lock {
  position: absolute;
  inset: 14px;
  display: none;
  place-items: center;
  align-content: center;
  text-align: center;
  gap: 14px;
  background: rgba(8, 8, 8, 0.88);
}

.chart-lock.is-on { display: grid; }

.chart-lock img { width: 42px; height: 42px; margin: 0 auto 8px; }
.chart-lock p { color: var(--mute); }
.chart-lock a {
  font-family: var(--font-mark);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid #666;
}

/* ---------- join ---------- */
.join {
  position: relative;
  min-height: 100vh;
  margin-top: 90px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.join-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: grayscale(1) contrast(1.08);
  animation: kenburns 32s ease-in-out infinite alternate;
}

.join-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.join-inner {
  position: relative;
  z-index: 1;
  padding: 80px 48px 90px 88px;
  max-width: 820px;
}

.join-bio {
  margin: 18px 0 28px;
  font-size: 26px;
  color: #ddd;
}

/* ---------- footer ---------- */
.foot {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 48px 28px 88px;
  border-top: 1px solid var(--line);
  background: #070707;
}

.foot p {
  font-family: var(--font-mark);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

.foot-icons {
  display: flex;
  gap: 10px;
}

.foot-icons a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--steel);
}

.foot-icons img {
  width: 16px;
  height: 16px;
}

.foot-icons a:first-child img {
  filter: brightness(0) invert(1);
}

/* ---------- motion ---------- */
@keyframes spin { to { transform: rotate(360deg); } }

@keyframes fog-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(8%, -6%, 0) scale(1.12); }
}

@keyframes rail-run {
  from { transform: rotate(180deg) translateY(0); }
  to { transform: rotate(180deg) translateY(-50%); }
}

@keyframes load-bar { to { width: 100%; } }

@keyframes metal-shift {
  0%, 100% { background-position: 0 0; }
  50% { background-position: 0 100%; }
}

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

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.018); }
}

@keyframes pulse-ring {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@keyframes drop {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

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

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08) translate3d(-1.5%, 0, 0); }
}

@keyframes scan {
  0% { top: -80px; }
  100% { top: 110%; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero,
  .about-grid,
  .stations {
    grid-template-columns: 1fr;
  }

  .barbell { display: none; }

  .hero {
    padding: 110px 24px 80px;
    text-align: left;
  }

  .about,
  .howto,
  .chart {
    padding: 80px 24px 24px;
  }

  .join-inner,
  .foot,
  .nav {
    padding-left: 24px;
    padding-right: 24px;
  }

  .rail,
  .scroll-cue { display: none; }

  .plate { width: min(78vw, 400px); }

  .chart .sec-head { flex-wrap: wrap; }
}

@media (max-width: 760px) {
  .links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: rgba(8, 8, 8, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .links.is-open { display: flex; }

  .links a {
    padding: 16px 24px;
    border-top: 1px solid var(--line);
  }

  .burger { display: grid; }

  .metal { font-size: 22vw; }

  .foot {
    flex-direction: column;
    text-align: center;
  }

  .bezel { height: 520px; }
}

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

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