:root {
  --ink: #0b0b0a;
  --paper: #eee9df;
  --acid: #c8ff3d;
  --muted: #8c8b84;
  --line: rgba(238, 233, 223, 0.18);
  --display: "Unbounded", sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--mono); overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
::selection { background: var(--acid); color: var(--ink); }

.grain { position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .065; 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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); }
.site-header { height: 88px; padding: 0 4vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.wordmark { font-family: var(--display); font-weight: 900; font-size: 1.05rem; text-decoration: none; letter-spacing: -.06em; }
.wordmark span, h1 span, h2 span { color: var(--acid); }
.header-meta { font-size: .65rem; letter-spacing: .1em; color: var(--muted); }
.button { display: inline-flex; gap: 20px; align-items: center; justify-self: end; text-decoration: none; text-transform: uppercase; font-size: .68rem; letter-spacing: .08em; border: 1px solid var(--paper); padding: 13px 16px; transition: background .25s, color .25s, transform .25s; }
.button:hover { background: var(--paper); color: var(--ink); transform: translateY(-2px); }

.hero { min-height: calc(100vh - 88px); padding: 7vh 4vw 5vh; display: grid; grid-template-columns: 1.1fr .85fr .28fr; align-items: center; gap: 2vw; position: relative; }
.eyebrow { margin: 0 0 24px; color: var(--acid); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: var(--display); font-size: clamp(4.5rem, 9.6vw, 10rem); letter-spacing: -.095em; line-height: .78; margin: 0 0 36px; position: relative; z-index: 2; }
.hero-intro { width: min(440px, 90%); color: #b6b3aa; line-height: 1.7; font-size: .86rem; }
.text-link { display: inline-flex; gap: 50px; margin-top: 28px; text-transform: uppercase; text-decoration: none; padding-bottom: 8px; border-bottom: 1px solid; font-size: .7rem; letter-spacing: .08em; }
.text-link span { color: var(--acid); }
.hero-visual { position: relative; transform: rotate(2.5deg); }
.image-frame { overflow: hidden; border: 1px solid rgba(255,255,255,.35); padding: 7px; background: var(--paper); box-shadow: 24px 24px 0 rgba(0,0,0,.25); }
.image-frame img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(.9) contrast(1.06); }
.serial { position: absolute; z-index: 2; top: 14px; left: 18px; padding: 7px 10px; background: var(--ink); font-size: .65rem; }
.visual-note { position: absolute; right: -42px; bottom: 30px; font-family: var(--display); font-weight: 700; font-size: .65rem; line-height: 1.3; transform: rotate(90deg); }
.orbit { position: absolute; border: 1px solid rgba(200,255,61,.6); border-radius: 50%; pointer-events: none; }
.orbit-one { inset: -9% -12%; transform: rotate(-16deg); }
.orbit-two { inset: 1% -22%; transform: rotate(42deg); opacity: .35; }
.hero-stamp { align-self: end; padding-bottom: 5vh; transform: rotate(90deg); transform-origin: center; display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.hero-stamp span { font-family: var(--display); font-size: 2.2rem; font-weight: 900; }
.hero-stamp small { font-size: .55rem; color: var(--muted); }

.reveal { animation: reveal .85s cubic-bezier(.2,.8,.2,1) both; }
.hero-copy h1 { animation-delay: .1s; }
.hero-copy .hero-intro { animation-delay: .2s; }
.hero-copy .text-link { animation-delay: .3s; }
.hero-visual { animation-delay: .2s; }
.hero-stamp { animation-delay: .4s; }
@keyframes reveal { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; } }

.marquee { border-block: 1px solid var(--paper); background: var(--acid); color: var(--ink); overflow: hidden; padding: 13px 0; transform: rotate(-1deg) scale(1.02); }
.marquee-inner { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.marquee span { font-family: var(--display); font-size: .78rem; font-weight: 900; word-spacing: 1.2em; padding-right: 1.2em; }
@keyframes ticker { to { transform: translateX(-50%); } }

.collection { padding: 150px 0 130px; }
.section-heading { padding: 0 7vw 70px; display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 10vw; }
.section-heading h2, .roadmap h2, .submit-copy h2 { font-family: var(--display); font-size: clamp(3.5rem, 7.8vw, 8rem); line-height: .88; letter-spacing: -.075em; margin: 0; }
.section-heading h2 em { font-style: normal; -webkit-text-stroke: 1px var(--paper); color: transparent; }
.section-heading > p { color: var(--muted); font-size: .75rem; line-height: 1.8; max-width: 400px; }
.gallery-track { display: flex; gap: 24px; overflow-x: auto; padding: 50px 7vw 65px; scrollbar-width: none; cursor: grab; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track.dragging { cursor: grabbing; scroll-behavior: auto; }
.art-card { flex: 0 0 clamp(260px, 26vw, 390px); margin: 0; padding: 7px 7px 14px; background: var(--paper); color: var(--ink); position: relative; transition: transform .35s cubic-bezier(.2,.8,.2,1); box-shadow: 12px 18px 40px rgba(0,0,0,.28); }
.art-card:hover { transform: translateY(-16px) rotate(0); }
.art-card img { aspect-ratio: 1; width: 100%; object-fit: cover; pointer-events: none; }
.art-card figcaption { padding: 14px 6px 2px; display: flex; justify-content: space-between; gap: 10px; font-size: .58rem; letter-spacing: .06em; }
.tilt-left { transform: rotate(-2deg); }
.tilt-right { transform: rotate(1.8deg) translateY(25px); }
.art-card.featured { flex-basis: clamp(290px, 30vw, 450px); transform: rotate(-.5deg) translateY(-24px); }
.rarity { position: absolute; z-index: 2; top: -18px; right: -18px; width: 60px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--acid); border: 2px solid var(--ink); font-family: var(--display); font-weight: 900; font-size: .55rem; transform: rotate(12deg); }
.drag-hint { text-align: center; color: var(--muted); font-size: .58rem; letter-spacing: .15em; }
.drag-hint span { color: var(--acid); margin: 0 14px; }

.roadmap { background: var(--paper); color: var(--ink); padding: 130px 7vw; display: grid; grid-template-columns: .75fr 1.25fr; gap: 9vw; }
.roadmap-title-wrap { position: sticky; top: 40px; align-self: start; }
.roadmap .eyebrow { color: #5c5b54; }
.roadmap-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.roadmap-list li { display: grid; grid-template-columns: 110px 1fr auto; gap: 28px; padding: 36px 0; border-bottom: 1px solid rgba(11,11,10,.25); align-items: start; transition: padding .25s; }
.roadmap-list li:hover { padding-left: 14px; }
.step, .status { font-size: .58rem; letter-spacing: .08em; }
.roadmap-list h3 { font-family: var(--display); font-size: clamp(1.2rem, 2.2vw, 2rem); letter-spacing: -.04em; margin-bottom: 12px; }
.roadmap-list p { color: #67655e; max-width: 520px; font-size: .72rem; line-height: 1.7; margin: 0; }
.status { border: 1px solid; border-radius: 30px; padding: 7px 10px; white-space: nowrap; }
.roadmap-list li:first-child .status { background: var(--acid); }

.submit-section { padding: 140px 7vw; display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; position: relative; overflow: hidden; }
.submit-copy { position: relative; }
.submit-copy > p:not(.eyebrow) { color: var(--muted); font-size: .75rem; line-height: 1.8; max-width: 360px; margin-top: 34px; }
.submit-art { width: 165px; transform: rotate(-7deg); border: 5px solid var(--paper); margin: 65px 0 0 15%; }
.submit-art img { aspect-ratio: 1; object-fit: cover; }
.allowlist-form { border-top: 1px solid var(--paper); }
.honeypot { display: none; }
.field, .action-field { border-bottom: 1px solid var(--line); padding: 28px 0; }
.field label { display: block; font-family: var(--display); font-weight: 700; font-size: .72rem; margin-bottom: 16px; }
.field label span, .action-field > div span { color: var(--acid); font-family: var(--mono); font-size: .6rem; margin-right: 20px; }
.field input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--paper); font-size: clamp(1rem, 2vw, 1.5rem); padding: 4px 0; border-radius: 0; }
.field input::placeholder { color: #4f4f4a; }
.field input:focus { box-shadow: 0 2px 0 var(--acid); }
.action-field { display: grid; grid-template-columns: 1fr auto 28px; align-items: center; gap: 18px; }
.action-field strong { font-family: var(--display); font-size: .72rem; }
.action-field a { font-size: .6rem; color: var(--acid); }
.action-field input { appearance: none; width: 24px; height: 24px; border: 1px solid var(--paper); cursor: pointer; display: grid; place-items: center; }
.action-field input:checked { background: var(--acid); border-color: var(--acid); }
.action-field input:checked::after { content: "✓"; color: var(--ink); font-weight: 900; }
.submit-button { width: 100%; margin-top: 35px; padding: 24px; background: var(--acid); border: 0; color: var(--ink); font-family: var(--display); font-weight: 900; cursor: pointer; display: flex; justify-content: space-between; transition: transform .2s, background .2s; }
.submit-button:hover { transform: translateY(-4px); background: var(--paper); }
.submit-button:active { transform: translateY(0); }
.form-note { text-align: center; margin-top: 18px; color: var(--muted); font-size: .52rem; letter-spacing: .12em; }

footer { min-height: 130px; padding: 35px 4vw; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
footer p, footer > a:last-child { margin: 0; color: var(--muted); font-size: .58rem; text-decoration: none; }

.success-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; text-align: center; }
.success-wrap { max-width: 850px; }
.success-wrap .mini-art { width: 125px; margin: 0 auto 40px; border: 5px solid var(--paper); transform: rotate(-5deg); }
.success-wrap h1 { font-size: clamp(3rem, 10vw, 8rem); margin-bottom: 30px; }
.success-wrap p { color: var(--muted); line-height: 1.7; }
.success-wrap .button { margin-top: 25px; }

@media (max-width: 900px) {
  .header-meta { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hero { grid-template-columns: 1fr .82fr; }
  .hero-stamp { display: none; }
  .section-heading, .roadmap, .submit-section { grid-template-columns: 1fr; }
  .roadmap-title-wrap { position: static; }
  .submit-art { display: none; }
}

@media (max-width: 620px) {
  .site-header { height: 70px; padding: 0 20px; }
  .button-small { padding: 10px 12px; }
  .button-small span { display: none; }
  .hero { min-height: auto; padding: 72px 20px 90px; grid-template-columns: 1fr; gap: 60px; }
  h1 { font-size: clamp(4rem, 21vw, 6.5rem); }
  .hero-visual { width: 88%; margin-left: 8%; }
  .visual-note { display: none; }
  .section-heading { padding: 0 20px 55px; gap: 30px; }
  .collection { padding: 110px 0 90px; }
  .gallery-track { padding-inline: 20px; }
  .art-card { flex-basis: 78vw; }
  .art-card.featured { flex-basis: 84vw; }
  .roadmap, .submit-section { padding: 100px 20px; }
  .roadmap-list li { grid-template-columns: 1fr auto; gap: 14px; }
  .roadmap-list li > div { grid-column: 1 / -1; grid-row: 2; }
  .roadmap-list li:hover { padding-left: 0; }
  .action-field { grid-template-columns: 1fr 26px; }
  .action-field a { grid-column: 1; margin-left: 36px; }
  .action-field input { grid-column: 2; grid-row: 1 / 3; }
  footer { flex-direction: column; text-align: center; padding-block: 45px; }
}

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