:root {
  --accent: #9c9c9c;
  --accent-2: #808080;
  --accent-3: #c6c6c5;
  --on-accent: #f6f4f1;
  --ink: #f4f1ea;
  --muted: rgba(244, 241, 234, 0.74);
  --line: color-mix(in srgb, #9c9c9c 46%, transparent);
  --panel: rgba(8, 8, 10, 0.62);
  --font-display: Syne, Arial, sans-serif;
  --font-body: Manrope, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: #09090b;
  padding-bottom: 46px;
}
img { max-width: 100%; }
button, a { font-family: inherit; }
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 30;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.wallpaper, .wallpaper-shade {
  position: fixed;
  inset: 0;
  z-index: 0;
}
.wallpaper { overflow: hidden; }
.wallpaper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(46px) saturate(1.15);
  transform: scale(1.16);
}
.wallpaper-shade {
  background:
    linear-gradient(180deg, rgba(5, 5, 7, 0.62), rgba(5, 5, 7, 0.78));
}
.site-header, main, .site-footer, .marquee { position: relative; z-index: 1; }
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}
.brand {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 750;
  letter-spacing: -0.04em;
  font-size: 20px;
}
.header-actions, .contract-actions, .chart-head, .footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.copy-contract {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 650;
  cursor: pointer;
}
.hero-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.72fr);
  gap: 28px;
  align-items: center;
  padding: 86px 36px 58px;
}
.hero-copy { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.coin-name {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: var(--accent-2);
}
.ticker {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.9;
  font-size: clamp(46px, 4.6vw, 68px);
}
.tick-mark { color: var(--accent); }
.narrative {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 68ch;
}
.text-link { color: var(--accent-2); }
.portrait {
  margin: 0;
  height: min(480px, calc(100vh - 170px));
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  background: rgba(0, 0, 0, 0.25);
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.section {
  width: min(1120px, calc(100% - 48px));
  margin: 28px auto;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  backdrop-filter: blur(10px);
}
.section h2, .story h2, .chart-head h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.04em;
}
.contract-address {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.5;
  word-break: break-all;
}
.link-list { display: flex; flex-wrap: wrap; gap: 10px; }
.link-list a, .site-footer a {
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
}
.chart-frame {
  width: 100%;
  height: 560px;
  border: 0;
  border-radius: 18px;
  background: #0c0c0e;
}
.site-footer {
  width: min(1120px, calc(100% - 48px));
  margin: 10px auto 24px;
  padding: 8px 6px 20px;
}
.footer-brand {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 22px;
}
.marquee {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 12;
  overflow: hidden;
  height: 34px;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.72);
  border-top: 1px solid var(--line);
}
.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  white-space: nowrap;
}
.phrase {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.copy-contract:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}
@media (max-width: 900px) {
  .hero-screen {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 92px;
  }
  .portrait { height: 320px; }
}
.layout-split .hero-copy { border-left: 3px solid var(--accent); padding-left: 16px; }
.layout-rail .hero-screen { grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.25fr); }
.layout-rail .portrait { order: -1; border-radius: 18px 18px 72px 18px; }
.layout-poster .hero-screen { grid-template-columns: minmax(0, 1fr) 380px; }
.layout-poster .hero-copy { text-align: center; align-items: center; }
.layout-poster .narrative { text-align: center; }
.layout-poster .portrait { width: min(100%, 380px); height: 380px; border-radius: 50%; justify-self: center; }
.layout-band .ticker {
  font-size: clamp(52px, 6vw, 84px);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.layout-band .portrait { border-radius: 8px; }

@keyframes headline-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes portrait-drift {
  0%, 100% { transform: scale(1.12) translate3d(0, 0, 0); }
  50% { transform: scale(1.18) translate3d(0, -1.6%, 0); }
}
@keyframes marquee-move {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker { animation: headline-in 0.75s ease both; }
.portrait img { animation: portrait-drift 18s ease-in-out infinite; }
.marquee-track { animation: marquee-move 32s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .ticker, .portrait img, .marquee-track {
    animation: none;
  }
}
