:root {
  --ink: #120914;
  --paper: #fff7dd;
  --acid: #d7ff2f;
  --hot: #ff3fb4;
  --cyan: #27f5ff;
  --orange: #ff8f1f;
  --purple: #6f3cff;
  --line: rgba(18, 9, 20, 0.18);
  --shadow: 10px 10px 0 var(--ink);
  --radius: 28px;
  font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 63, 180, .38), transparent 28rem),
    radial-gradient(circle at 86% 6%, rgba(39, 245, 255, .42), transparent 24rem),
    linear-gradient(135deg, #fff7dd 0%, #f4e1ff 48%, #dcfff8 100%);
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  mix-blend-mode: multiply;
  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='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  z-index: 50;
}

.cursor-blob {
  position: fixed;
  width: 36vmax;
  height: 36vmax;
  border-radius: 999px;
  filter: blur(50px);
  background: rgba(215, 255, 47, .26);
  left: 50%; top: 28%;
  translate: -50% -50%;
  pointer-events: none;
  z-index: -1;
}

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem clamp(1rem, 3vw, 2rem);
  z-index: 40;
  background: rgba(255, 247, 221, .78);
  border-bottom: 3px solid var(--ink);
  backdrop-filter: blur(14px) saturate(1.5);
}
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 1000; font-size: 1.2rem; color: inherit; text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: cover; border: 3px solid var(--ink); border-radius: 13px; transform: rotate(-4deg); }
nav { display: flex; gap: .35rem; flex-wrap: wrap; justify-content: center; }
.header-actions { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; justify-content: flex-end; }
nav a, .mini-cta { color: inherit; text-decoration: none; font-weight: 900; padding: .55rem .75rem; border-radius: 999px; }
nav a:hover, .mini-cta { background: var(--acid); outline: 2px solid var(--ink); }

main { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.hero { min-height: calc(100vh - 74px); display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding: clamp(3rem, 7vw, 6rem) 0; }
.eyebrow { margin: 0 0 1rem; font-weight: 1000; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.blink { display:inline-block; width:.7em; height:.7em; border-radius:99px; background:#21d15f; box-shadow:0 0 0 5px rgba(33,209,95,.2); margin-right:.55rem; animation: blink 1s steps(2) infinite; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(4rem, 12vw, 10.5rem); line-height: .76; letter-spacing: -.08em; max-width: 8ch; text-transform: lowercase; text-shadow: 5px 5px 0 var(--cyan), 10px 10px 0 var(--hot); }
h2 { font-size: clamp(2.2rem, 6vw, 5.2rem); line-height: .86; letter-spacing: -.055em; }
.lede { font-size: clamp(1.15rem, 2.2vw, 1.55rem); line-height: 1.25; max-width: 38rem; font-weight: 700; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2rem 0; }
.button { border: 4px solid var(--ink); border-radius: 999px; color: var(--ink); font-weight: 1000; text-decoration: none; padding: 1rem 1.35rem; box-shadow: 6px 6px 0 var(--ink); cursor: pointer; font: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.button:hover { transform: translate(3px, 3px) rotate(-1deg); box-shadow: 3px 3px 0 var(--ink); }
.primary { background: var(--hot); }
.secondary { background: var(--acid); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .9rem; list-style: none; padding: 0; margin: 0; }
.stats li { background: rgba(255,255,255,.62); border: 3px solid var(--ink); border-radius: 20px; padding: 1rem; box-shadow: 5px 5px 0 rgba(18,9,20,.12); }
.stats span { display:block; font-size:.78rem; font-weight:900; text-transform: uppercase; opacity:.72; }
.stats strong { display:block; font-size: clamp(1.4rem, 3vw, 2.2rem); }

.hero-art { min-height: 650px; position: relative; display: grid; place-items: center; }
.card-stack { position: relative; width: min(78vw, 430px); aspect-ratio: 1; }
.card { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 5px solid var(--ink); border-radius: 34px; box-shadow: var(--shadow); image-rendering: auto; }
.c1 { transform: rotate(6deg); z-index: 3; animation: hover1 4s ease-in-out infinite; }
.c2 { transform: translate(-18%, 11%) rotate(-11deg); z-index: 2; filter: saturate(1.35); }
.c3 { transform: translate(18%, -12%) rotate(16deg); z-index: 1; filter: hue-rotate(35deg); }
.sticker { position: absolute; z-index: 5; border: 4px solid var(--ink); background: var(--acid); border-radius: 999px; padding: .75rem 1rem; font-weight: 1000; box-shadow: 5px 5px 0 var(--ink); }
.s1 { left: 0; top: 16%; rotate: -12deg; background: var(--cyan); }
.s2 { right: 7%; bottom: 16%; rotate: 9deg; background: var(--hot); font-size: 2rem; }
.s3 { left: 10%; bottom: 6%; rotate: -4deg; background: var(--orange); }

.ticker { border-block: 4px solid var(--ink); margin-inline: calc(50% - 50vw); overflow: hidden; background: var(--ink); color: var(--paper); }
.ticker div { display: flex; gap: 2rem; width: max-content; padding: .85rem 0; animation: ticker 17s linear infinite; }
.ticker span { font-size: clamp(1.1rem, 3vw, 2.4rem); font-weight: 1000; text-transform: uppercase; white-space: nowrap; }

.mint-panel, .manifesto, .faq { margin: clamp(4rem, 8vw, 7rem) 0; }
.mint-panel { display: grid; grid-template-columns: .75fr 1.25fr; gap: 2rem; align-items: start; }
.mint-panel-simple { display: block; max-width: 900px; margin-inline: auto; }
.schedule { display: grid; gap: 1rem; }
.schedule article, .mint-card-link, details { background: rgba(255,255,255,.72); border: 4px solid var(--ink); border-radius: var(--radius); padding: 1.2rem; box-shadow: 7px 7px 0 var(--ink); }
.mint-card-link { display: block; color: inherit; text-decoration: none; background: #ffe2f5; rotate: 1deg; transition: transform .15s ease, box-shadow .15s ease; }
.mint-card-link:hover { transform: translate(4px, 4px) rotate(-1deg); box-shadow: 3px 3px 0 var(--ink); }
.pill { display:inline-flex; background: var(--ink); color: white; border-radius: 999px; padding:.35rem .7rem; font-weight:1000; margin-bottom: .8rem; }
.pill.free { background: #16a34a; }
.schedule h3 { font-size: 1.45rem; margin-bottom: .35rem; }
.schedule p { font-weight: 900; margin-bottom: .4rem; }
.schedule small { font-weight: 1000; text-transform: uppercase; opacity: .7; }
.section-head { display:flex; justify-content:space-between; align-items:end; gap: 2rem; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
figure { margin: 0; border: 4px solid var(--ink); border-radius: 24px; background: var(--paper); overflow: hidden; box-shadow: 6px 6px 0 var(--ink); transition: transform .15s ease; }
figure:nth-child(odd) { rotate: -.8deg; }
figure:nth-child(even) { rotate: .8deg; }
figure:hover { transform: translateY(-8px) rotate(2deg) scale(1.02); }
figure img { display:block; width:100%; aspect-ratio:1; object-fit:cover; }
figcaption { padding:.75rem; font-weight:1000; text-align:center; background: var(--acid); border-top: 3px solid var(--ink); }
.manifesto { display:grid; grid-template-columns: 1fr .85fr; gap: 2rem; align-items:center; background: var(--ink); color: var(--paper); border-radius: 36px; padding: clamp(1rem, 3vw, 2rem); box-shadow: var(--shadow); }
.manifesto img { width:100%; border-radius: 25px; border: 4px solid var(--paper); }
.quote { font-size: clamp(1.8rem, 5vw, 4rem); line-height:.92; font-weight:1000; color: var(--acid); }
.team { margin: clamp(4rem, 8vw, 7rem) 0; }
.team-head { align-items: start; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.team-grid article { position: relative; overflow: hidden; min-height: 190px; border: 4px solid var(--ink); border-radius: var(--radius); padding: 1.2rem; background: #fff; box-shadow: 7px 7px 0 var(--ink); }
.team-grid article::after { content: ''; position: absolute; width: 120px; height: 120px; right: -34px; bottom: -40px; border-radius: 999px; background: var(--acid); opacity: .7; }
.team-grid article:nth-child(2) { background: #e3fcff; rotate: -1deg; }
.team-grid article:nth-child(2)::after { background: var(--hot); }
.team-grid article:nth-child(3) { background: #ffe6bd; rotate: 1deg; }
.team-grid article:nth-child(3)::after { background: var(--cyan); }
.team-grid span { display: inline-flex; background: var(--ink); color: var(--paper); border-radius: 999px; padding: .35rem .7rem; font-weight: 1000; font-size: .78rem; letter-spacing: .08em; }
.team-photo { position: relative; z-index: 1; display: block; width: 118px; height: 118px; object-fit: cover; border: 4px solid var(--ink); border-radius: 26px; margin-bottom: 1rem; background: var(--paper); box-shadow: 5px 5px 0 rgba(18,9,20,.16); }
.team-grid h3 { position: relative; z-index: 1; margin: .8rem 0 .35rem; font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.06em; }
.team-grid p { position: relative; z-index: 1; font-size: 1.2rem; font-weight: 900; }
.team-link { position: relative; z-index: 1; display: inline-flex; color: var(--ink); font-weight: 1000; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.faq { max-width: 820px; margin-inline: auto; }
details { margin: 1rem 0; background: #fff; }
summary { font-size:1.25rem; font-weight:1000; cursor:pointer; }
.faq-preview {
  display: block;
  width: min(100%, 420px);
  aspect-ratio: 1;
  object-fit: cover;
  margin-top: 1rem;
  border: 4px solid var(--ink);
  border-radius: 22px;
  background: var(--ink);
  box-shadow: 6px 6px 0 var(--hot);
}
footer { display:flex; justify-content:space-between; gap:1rem; padding: 2rem; border-top:4px solid var(--ink); font-weight:1000; background: var(--acid); }
footer a { color: inherit; }
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }

.chaos-mode { animation: bgshift 1.8s steps(2) infinite; }
.chaos-mode figure { animation: wiggle .35s steps(2) infinite; }
.chaos-mode h1 { text-shadow: -5px 4px 0 var(--acid), 8px -6px 0 var(--purple), 13px 8px 0 var(--hot); }

@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes hover1 { 50% { transform: translateY(-10px) rotate(3deg); } }
@keyframes wiggle { 50% { transform: translate(3px, -2px) rotate(-3deg); } }
@keyframes bgshift { 50% { filter: hue-rotate(70deg) saturate(1.5); } }

@media (max-width: 860px) {
  .site-header { position: relative; flex-wrap: wrap; }
  .hero, .mint-panel, .manifesto { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 2rem; }
  h1 { font-size: clamp(4.3rem, 18vw, 7rem); }
  .hero-art { min-height: 480px; }
  .stats, .gallery { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .section-head { display:block; }
  .header-actions { width: 100%; justify-content: center; }
  footer { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 520px) {
  main { width: min(100% - 1rem, 1180px); }
  .stats, .gallery { grid-template-columns: 1fr; }
  .button { width: 100%; text-align: center; }
  .hero-art { min-height: 380px; }
  nav { order: 3; width: 100%; }
}
