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

:root {
  --void: #07080a;
  --panel: #101214;
  --line: rgba(242, 239, 232, 0.12);
  --ivory: #f2efe8;
  --mute: #8b8680;
  --teal: #3ce0c8;
  --amber: #e08a3c;
  --display: "Syne", "Arial Narrow", sans-serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --rail: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ivory);
  background: var(--void);
  line-height: 1.55;
  padding-left: var(--rail);
}

::selection {
  background: var(--teal);
  color: #04110f;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  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");
}

.idx {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.idx.light { color: #07332e; }

h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.15rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-fill {
  background: var(--teal);
  color: #04110f;
}

.btn-fill:hover { filter: brightness(1.08); }

.btn-line {
  background: transparent;
  color: var(--ivory);
  border-color: var(--line);
}

.btn-line:hover { border-color: var(--ivory); }

.btn-line.dim { color: var(--ivory); }

.text-link {
  display: inline-block;
  margin-top: 1.1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid var(--teal);
}

.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 0 1.2rem;
  background: #050607;
  border-right: 1px solid var(--line);
}

.rail-brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--ivory);
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  flex: 1;
  padding-top: 0.4rem;
}

.nav-links a {
  color: var(--mute);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.nav-links a i {
  font-style: normal;
  color: var(--teal);
  margin-left: 0.35rem;
}

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

.nav-socials {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  writing-mode: horizontal-tb;
  transform: none;
}

.nav-socials a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  writing-mode: horizontal-tb;
  transform: none;
  border: 1px solid var(--line);
  color: var(--ivory) !important;
}

.rail-word {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--amber);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 100dvh;
}

.hero-still {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #000;
}

.hero-still img {
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  object-fit: cover;
  object-position: 22% center;
  display: block;
  filter: saturate(0.92) contrast(1.05);
}

.hero-still figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory);
  background: rgba(7, 8, 10, 0.55);
  padding: 0.35rem 0.55rem;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3.2rem 3rem 3.4rem;
  background:
    linear-gradient(180deg, #0c1012 0%, #101214 100%);
  border-left: 1px solid var(--line);
}

.hero-panel h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.82;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.hero-panel h1 span { display: block; }

.hero-cat { color: var(--teal); }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.2rem;
}

.hero-meta dt {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

.hero-meta dd {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 0.15rem;
}

.hero-lead {
  color: var(--mute);
  max-width: 28em;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tape {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--teal);
  color: #04110f;
}

.tape-track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  padding: 0.7rem 0;
  animation: tape 28s linear infinite;
}

.tape-track span {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.dossier {
  padding: 5.5rem 6vw 5rem;
  border-bottom: 1px solid var(--line);
}

.dossier-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4vw;
  align-items: end;
}

.dossier-copy p {
  color: var(--mute);
  font-size: 1.12rem;
  max-width: 34em;
  margin-bottom: 0.9rem;
}

.dossier-copy strong { color: var(--ivory); }

.dossier-fig {
  margin: 0;
  position: relative;
}

.dossier-fig img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  filter: contrast(1.08);
}

.dossier-fig figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.7rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.dossier-fig figcaption span { color: var(--amber); }

.reel {
  padding: 5rem 6vw 5.5rem;
}

.reel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.reel-head h2 { margin: 0; }

.cell {
  border: 1px solid var(--line);
  background: var(--panel);
  min-width: 0;
}

.cell-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0.95rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cell-bar a {
  color: var(--teal);
  text-decoration: none;
}

.cell-note {
  padding: 0.7rem 0.95rem 0.9rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--mute);
  letter-spacing: 0.06em;
}

.yt-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
}

.yt-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.reel-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.embed-pad {
  display: flex;
  justify-content: center;
  padding: 0.7rem;
  min-height: 420px;
  overflow-x: auto;
  background: #000;
}

.embed-pad iframe {
  margin: 0 auto !important;
  max-width: 100% !important;
}

blockquote.twitter-tweet {
  margin: 0 auto !important;
  color: var(--ivory);
  font-size: 1.02rem;
  max-width: 550px;
  width: 100%;
}

blockquote.twitter-tweet a { color: var(--teal); }

.instagram-media {
  margin: 0 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  background: #111 !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 1rem !important;
  text-align: center;
}

.instagram-media a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}

.poster {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 5rem 6vw;
  background: var(--teal);
  color: #04110f;
}

.poster-kicker {
  font-family: var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.4rem;
}

.poster code {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(5rem, 18vw, 14rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  word-break: break-all;
}

.poster code:not(.is-tba) {
  font-family: var(--mono);
  font-size: clamp(1.1rem, 2.4vw, 1.8rem);
  letter-spacing: 0;
  line-height: 1.35;
  max-width: 18ch;
}

.poster button {
  margin-top: 1.4rem;
  border: 1px solid #04110f;
  background: transparent;
  color: #04110f;
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.2rem;
  cursor: pointer;
}

.poster button.copied { background: #04110f; color: var(--teal); }

.copy-toast {
  min-height: 1.2rem;
  margin-top: 0.7rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  opacity: 0;
}

.copy-toast.show { opacity: 1; }

.desk {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.desk-buy,
.desk-chart {
  padding: 4.2rem 4vw 4.5rem;
}

.desk-buy { border-right: 1px solid var(--line); }

.steps {
  list-style: none;
  margin: 1.6rem 0 1.8rem;
}

.steps li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child { border-bottom: 1px solid var(--line); }

.steps span {
  grid-row: 1 / span 2;
  font-family: var(--mono);
  color: var(--amber);
  font-size: 0.78rem;
  padding-top: 0.15rem;
}

.steps b { font-weight: 600; }
.steps p { color: var(--mute); font-size: 0.95rem; }

.desk-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chart-wrapper {
  margin: 1.2rem 0 0.9rem;
  min-height: 420px;
  border: 1px solid var(--line);
  background: #000;
  overflow: hidden;
}

.chart-wrapper.is-tba {
  min-height: 280px;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(60, 224, 200, 0.04) 3px,
      rgba(60, 224, 200, 0.04) 4px
    );
}

.chart-tba {
  text-align: center;
}

.chart-tba strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: -0.04em;
  color: var(--teal);
  line-height: 0.9;
}

.chart-tba span {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--mute);
  letter-spacing: 0.08em;
}

.dexscreener-embed {
  width: 100%;
  height: 480px;
  border: 0;
  display: block;
}

.colophon {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.4rem 4vw 1.5rem calc(4vw);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.colophon img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  object-position: center 42%;
}

.colophon strong {
  display: block;
  font-family: var(--display);
  font-size: 1rem;
}

.colophon span,
.colophon p {
  color: var(--mute);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.colophon p { max-width: 36em; text-align: right; }

@media (prefers-reduced-motion: reduce) {
  .tape-track { animation: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-still img { min-height: 48vh; height: 48vh; }
  .hero-panel { padding: 2.2rem 6vw 2.6rem; border-left: 0; border-top: 1px solid var(--line); }
  .hero-panel h1 { font-size: clamp(2.8rem, 14vw, 4.6rem); }
  .dossier-grid,
  .reel-split,
  .desk,
  .colophon {
    grid-template-columns: 1fr;
  }
  .desk-buy { border-right: 0; border-bottom: 1px solid var(--line); }
  .colophon p { text-align: left; }
  .reel-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 800px) {
  body { padding-left: 0; padding-top: 64px; }
  body.nav-open { overflow: hidden; }

  .rail {
    right: 0;
    bottom: auto;
    width: 100%;
    height: 64px;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 1rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .rail-word { display: none; }
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #050607;
    flex-direction: column;
    padding: 0.6rem 0 1.2rem;
    border-bottom: 1px solid var(--line);
    gap: 0;
  }

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

  .nav-links a {
    writing-mode: horizontal-tb;
    transform: none;
    display: block;
    padding: 0.85rem 1.2rem;
    font-size: 0.82rem;
  }

  .nav-socials {
    flex-direction: row;
    padding: 0.6rem 1.2rem;
  }

  .hero-still img { height: 42vh; min-height: 42vh; object-position: 30% center; }
  .hero-meta { grid-template-columns: 1fr 1fr 1fr; }
  .poster { min-height: 52vh; padding: 3.5rem 6vw; }
  .embed-pad { min-height: 0; }
  .dexscreener-embed,
  .chart-wrapper { height: 380px; min-height: 380px; }
}
