:root {
  --ink: #090709;
  --panel: #110d10;
  --line: rgba(255, 210, 222, 0.14);
  --paper: #f6dce2;
  --muted: #bd9fa7;
  --pink: #ff2b83;
  --rose: #d88ca2;
  --brown: #7b5338;
  --max: 1280px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 78% 8%, rgba(255,43,131,.11), transparent 26rem),
    radial-gradient(circle at 8% 54%, rgba(123,83,56,.1), transparent 30rem),
    var(--ink);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .13;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 52px 52px;
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.section-shell { max-width: var(--max); margin: 0 auto; padding-inline: 32px; }

.site-header {
  width: min(calc(100% - 40px), var(--max));
  height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-weight: 900; letter-spacing: -.03em; }
.brand img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
nav { display: flex; gap: 28px; }
nav a, footer a { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); transition: color .25s ease; }
nav a:hover, footer a:hover, .text-link:hover { color: var(--pink); }
.site-header > .button { justify-self: end; }

.button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 1px solid var(--pink);
  border-radius: 2px;
  background: var(--pink);
  color: #10080c;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s ease, background .25s ease, color .25s ease;
}
.button:hover { transform: translateY(-3px); box-shadow: 0 10px 34px rgba(255,43,131,.26); }
.button-small { min-height: 40px; padding: 0 16px; gap: 14px; }
.button-ghost { color: var(--paper); background: transparent; border-color: var(--line); }
.button-ghost:hover { border-color: var(--pink); }
.button-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 34px;
  padding-top: 64px;
  padding-bottom: 74px;
  position: relative;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .kicker { font-size: 10px; letter-spacing: .2em; font-weight: 800; color: var(--rose); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.eyebrow i { width: 7px; height: 7px; display: block; background: var(--pink); border-radius: 50%; box-shadow: 0 0 14px var(--pink); animation: pulse 1.8s infinite; }
h1, h2 { margin: 0; text-transform: uppercase; font-weight: 900; letter-spacing: -.065em; line-height: .89; }
h1 { font-size: 50px; }
h1 span, h2 span { color: var(--pink); }
h1 em { color: var(--pink); font-style: normal; display: inline-block; transform: rotate(9deg); }
.hero-lede { max-width: 530px; margin: 28px 0; color: #d5bbc1; font-size: clamp(16px, 1.7vw, 20px); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ca {
  width: min(100%, 500px);
  margin-top: 14px;
  padding: 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  color: var(--paper);
  background: #0c090b;
  border: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
}
.ca-label, .ca-action { font-size: 9px; letter-spacing: .14em; color: var(--rose); font-weight: 800; }
.ca-value { overflow: hidden; text-overflow: ellipsis; font-family: "Courier New", monospace; font-size: 12px; white-space: nowrap; }
.ca-action { color: var(--pink); }
.hero-art { margin: 0; position: relative; height: min(70vh, 680px); overflow: hidden; border: 1px solid var(--line); background: #050405; }
.hero-art::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 90px rgba(9,7,9,.55); pointer-events: none; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; transition: transform 1.2s var(--ease); }
.hero-art:hover img { transform: scale(1.025); }
figure figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 11px 12px; display: flex; justify-content: space-between; align-items: center; background: rgba(9,7,9,.84); border: 1px solid var(--line); backdrop-filter: blur(9px); font-size: 9px; letter-spacing: .14em; }
figure figcaption span { color: var(--pink); }
.scroll-note { position: absolute; bottom: 20px; left: 32px; display: flex; gap: 15px; align-items: center; font-size: 9px; letter-spacing: .18em; color: #806d72; }
.scroll-note span { color: var(--pink); }

.ticker { border-block: 1px solid rgba(255,43,131,.35); background: var(--pink); color: #17090e; overflow: hidden; transform: rotate(-.8deg) scale(1.02); }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 28px; padding: 13px 0; animation: ticker 24s linear infinite; }
.ticker span { font-weight: 900; font-size: 13px; letter-spacing: .12em; }
.ticker i { font-style: normal; font-size: 12px; }

.story, .signal, .community { min-height: 780px; padding-top: 130px; padding-bottom: 130px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.editorial-image { margin: 0; min-height: 580px; position: relative; overflow: hidden; border: 1px solid var(--line); transform: rotate(-1.4deg); }
.editorial-image img { width: 100%; height: 100%; position: absolute; object-fit: cover; }
.story-copy h2, .signal h2, .community h2, .final-cta h2 { font-size: clamp(44px, 5vw, 76px); margin: 20px 0 28px; }
.story-copy p, .signal-copy > p, .community-copy p { max-width: 530px; font-size: 17px; color: #dbc4ca; }
.story-copy .muted { color: #907b80; font-size: 14px; }
.text-link { display: inline-flex; gap: 18px; margin-top: 20px; padding-bottom: 7px; border-bottom: 1px solid var(--pink); font-size: 11px; font-weight: 900; letter-spacing: .13em; color: var(--paper); transition: color .2s ease; }

.signal { border-top: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(3,1fr); border-block: 1px solid var(--line); margin: 30px 0; }
.stats div { padding: 18px 12px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats strong { display: block; color: var(--pink); font-size: 26px; letter-spacing: -.05em; }
.stats small { display: block; margin-top: 3px; font-size: 8px; letter-spacing: .11em; color: var(--muted); }
.signal-copy .button { margin-top: 18px; }
.token-card { margin: 0; position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 50%; border: 1px solid rgba(255,43,131,.35); box-shadow: 0 0 80px rgba(255,43,131,.12); }
.token-card img { width: 100%; height: 100%; object-fit: cover; }
.token-badge { position: absolute; inset: auto 50% 20px auto; transform: translateX(50%); padding: 9px 16px; border: 1px solid var(--pink); background: rgba(9,7,9,.8); color: var(--pink); font-size: 11px; font-weight: 900; letter-spacing: .16em; }

.community { border-top: 1px solid var(--line); grid-template-columns: 1.2fr .8fr; }
.community-art { position: relative; margin: 0; min-height: 530px; overflow: hidden; clip-path: polygon(0 7%, 93% 0, 100% 91%, 8% 100%); }
.community-art::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 100px #090709; pointer-events: none; }
.community-art img { width: 100%; height: 100%; position: absolute; object-fit: cover; }
.orbit { position: absolute; border: 1px solid rgba(255,43,131,.25); border-radius: 50%; animation: spin 18s linear infinite; pointer-events: none; }
.orbit-one { width: 310px; height: 310px; right: -80px; top: -70px; }
.orbit-two { width: 180px; height: 180px; right: -12px; top: -4px; animation-direction: reverse; }
.stacked-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.final-cta { min-height: 520px; margin-bottom: 80px; position: relative; display: grid; place-items: center; overflow: hidden; text-align: center; background: var(--rose); color: #180c10; }
.final-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(216,140,162,.94), rgba(216,140,162,.78)); }
.final-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; opacity: .48; }
.final-cta > div { position: relative; z-index: 1; }
.final-cta .kicker { color: #633143; }
.final-cta h2 span { color: #9e174c; }

footer { max-width: var(--max); min-height: 160px; margin: 0 auto; padding: 32px; display: grid; grid-template-columns: 1fr 1.4fr 1fr; align-items: center; gap: 40px; border-top: 1px solid var(--line); }
footer p { margin: 0; color: #77666b; font-size: 10px; line-height: 1.6; }
footer > div { display: flex; justify-content: flex-end; gap: 22px; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 30; padding: 12px 18px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--paper); color: var(--ink); font-size: 10px; font-weight: 900; letter-spacing: .14em; transition: .35s var(--ease); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes pulse { 50% { opacity: .35; transform: scale(.7); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 45px; }
  .hero-art { height: 56vh; min-height: 440px; }
  .story, .signal, .community { grid-template-columns: 1fr; min-height: auto; padding-top: 95px; padding-bottom: 95px; }
  .story-copy { order: -1; }
  .token-card { width: min(100%, 620px); justify-self: center; }
  .community-art { min-height: 450px; }
  footer { grid-template-columns: 1fr 1fr; }
  footer p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 560px) {
  .section-shell { padding-inline: 18px; }
  .site-header { width: calc(100% - 28px); height: 70px; }
  .brand span { font-size: 13px; }
  .site-header .button { padding-inline: 12px; font-size: 9px; min-height: 38px; }
  .hero { min-height: auto; padding-top: 52px; padding-bottom: 72px; }
  h1 { font-size: clamp(52px, 17vw, 78px); }
  .hero-lede { margin: 22px 0; }
  .hero-actions .button { flex: 1; padding-inline: 14px; gap: 12px; }
  .ca { grid-template-columns: auto minmax(0,1fr) auto; }
  .hero-art { min-height: 410px; height: 62vh; margin-top: 18px; }
  .hero-art img { object-position: 64% center; }
  .scroll-note { display: none; }
  .story, .signal, .community { padding-top: 78px; padding-bottom: 78px; gap: 46px; }
  .editorial-image { min-height: 430px; }
  .story-copy h2, .signal h2, .community h2, .final-cta h2 { font-size: clamp(43px, 14vw, 62px); }
  .stats { grid-template-columns: 1fr; }
  .stats div { border-right: 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
  .stats div:last-child { border-bottom: 0; }
  .community-art { min-height: 340px; }
  .stacked-actions .button { width: 100%; }
  .final-cta { min-height: 460px; margin-bottom: 40px; }
  footer { grid-template-columns: 1fr; gap: 24px; }
  footer p { grid-column: auto; grid-row: auto; }
  footer > div { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
