:root {
  color-scheme: dark;
  --night: #100b14;
  --ink: #191021;
  --white: #fff4e9;
  --paper: #f0d9ca;
  --pink: #ff82bc;
  --purple: #a98ae7;
  --cream: #f1dbc6;
  --display: "Archivo Black", "Arial Black", Impact, sans-serif;
  font-family: "Instrument Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--white); }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px dashed currentColor; outline-offset: 5px; }
.shell { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.mono { font-family: "IBM Plex Mono", Consolas, monospace; }
.skip { position: absolute; z-index: 5; top: 12px; left: 12px; background: var(--cream); color: var(--ink); padding: 12px; transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.header { position: relative; z-index: 2; border-bottom: 2px solid var(--night); }
.header-inner { display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 67px; }
.brand { display: inline-flex; gap: 12px; align-items: center; white-space: nowrap; font: 400 1.05rem/1 var(--display); letter-spacing: -.06em; }
.brand img { width: 39px; height: 39px; object-fit: cover; border: 2px solid var(--white); transform: rotate(-8deg); }
nav { display: flex; gap: clamp(16px, 3vw, 40px); font: 600 .69rem/1.2 "IBM Plex Mono", Consolas, monospace; text-transform: uppercase; }
nav a:hover { color: var(--pink); text-decoration: underline; }
nav .nav-twitter { padding: 0; border: 0; background: none; color: var(--pink); font: inherit; white-space: nowrap; }
nav .nav-twitter:disabled { opacity: .65; }
.header-token { background: var(--cream); color: var(--ink); border: 2px solid var(--ink); box-shadow: none; padding: 9px 12px; font-size: .78rem; font-weight: 600; white-space: nowrap; transform: rotate(4deg); }

.hero { position: relative; isolation: isolate; padding-bottom: clamp(40px, 5vw, 76px); }
.hero-art { display: block; position: relative; }
.hero-art img { aspect-ratio: 3; object-fit: cover; }
.hero-art::after {
  content: ""; position: absolute; inset: auto 0 0; height: 18px; pointer-events: none;
  background: var(--night);
  clip-path: polygon(0 59%, 5% 31%, 11% 71%, 17% 30%, 24% 48%, 29% 17%, 35% 62%, 41% 28%, 52% 55%, 60% 4%, 68% 53%, 75% 28%, 80% 69%, 87% 29%, 94% 47%, 100% 13%, 100% 100%, 0 100%);
}
.hero-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero-controls { position: relative; margin-top: clamp(-60px, -4vw, -28px); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 3px 18px; }
.hero-inner > div:first-child { justify-self: start; position: relative; transform: rotate(-5deg); }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.hero .eyebrow {
  padding: .11em .19em .16em; background: var(--pink); color: var(--ink); border: 3px solid var(--ink);
  box-shadow: none; font: 400 clamp(2rem, 5.4vw, 6rem)/.95 var(--display); letter-spacing: -.09em;
}
.tagline { display: table; margin: 6px 0 0 14px; padding: 5px 9px; background: var(--white); color: var(--ink); font-weight: 700; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero .actions { padding: 12px; background: var(--night); border: 1px solid var(--purple); box-shadow: none; transform: rotate(2deg); }
.button, .unavailable {
  display: inline-flex; justify-content: center; align-items: center; gap: 7px;
  min-height: 44px; padding: 8px 13px; border: 2px solid currentColor;
  font: 700 .88rem/1.1 "Instrument Sans", system-ui, sans-serif;
}
.button:not(:disabled) { cursor: pointer; transition: transform .15s, box-shadow .15s; }
.button:not(:disabled):hover { transform: translate(-2px, -3px); box-shadow: 4px 4px currentColor; }
.outline { background: transparent; color: inherit; }
.accent { background: var(--cream); color: var(--ink); }
.button:disabled { opacity: .78; }
.unavailable { font-weight: 500; border-style: dashed; }
.pending { grid-column: 2; color: #ded0e9; font-size: .69rem; margin: 14px 0 0 10px; }

.section { padding-block: clamp(64px, 9vw, 134px); }
h2, h3 { font-family: var(--display); font-weight: 400; line-height: .91; letter-spacing: -.085em; }
h2 { font-size: clamp(2.8rem, 7vw, 7.5rem); }
.body-copy { font-size: 1.06rem; line-height: 1.64; max-width: 44ch; margin-block: 21px; }
.text-link { display: inline-block; font-weight: 700; font-size: .9rem; text-decoration: underline; text-underline-offset: .24em; }
.text-link:hover { text-decoration-thickness: 3px; }

.thesis { padding-top: clamp(35px, 5vw, 74px); }
.thesis-label { color: var(--pink); margin-bottom: 18px; }
.thesis h2 {
  max-width: 16ch; font-size: clamp(2.25rem, 8vw, 8rem);
  line-height: .95; overflow-wrap: break-word;
}
.thesis h2 em { font-style: normal; color: var(--pink); }
.thesis-launch {
  margin-block: 20px 32px; padding-bottom: 20px; border-bottom: 1px solid #5c4157;
  color: var(--cream); font: 600 clamp(.88rem, 1.8vw, 1.24rem)/1.4 "IBM Plex Mono", Consolas, monospace;
}
.thesis-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .85fr); align-items: center; gap: clamp(24px, 5vw, 72px); }
.thesis-thread { font: 400 clamp(.96rem, 1.55vw, 1.12rem)/1.65 "IBM Plex Mono", Consolas, monospace; }
.thesis-thread > * + *, .thesis-outro > * + * { margin-top: 20px; }
.thesis a { color: var(--pink); text-decoration: underline; text-underline-offset: .22em; }
.thesis a:hover { color: var(--cream); }
.thesis-callout { font: 400 clamp(1.4rem, 3.2vw, 3rem)/1 var(--display); letter-spacing: -.06em; }
.thesis-receipts { margin-bottom: 0; padding: 12px 16px; list-style: none; border-left: 2px solid var(--pink); background: #1c1421; }
.thesis-receipts li { display: block; position: relative; padding-left: 1.3em; }
.thesis-receipts li::before { content: ">"; color: var(--pink); position: absolute; left: 0; }
.thesis-receipts li + li { margin-top: .35em; }
.thesis-portrait { transform: translateY(22px); }
.thesis-portrait img { aspect-ratio: 4 / 5; object-fit: cover; }
.thesis-portrait figcaption { margin-top: 8px; font-size: .71rem; color: var(--cream); }
.thesis-outro { margin-top: clamp(38px, 7vw, 90px); padding-top: 26px; border-top: 1px solid #5c4157; }
.thesis-outro .mono { max-width: 65ch; line-height: 1.55; }
.thesis-title-card {
  padding-block: 18px; border-block: 1px solid #5c4157; color: var(--cream);
  font: 400 clamp(1.6rem, 6.5vw, 6.6rem)/1 var(--display); letter-spacing: -.075em;
}
.thesis-title-card a { white-space: nowrap; text-decoration: none; }
.thesis-signoff { color: var(--cream); }
@media (max-width: 720px) {
  .thesis-grid { grid-template-columns: 1fr; }
  .thesis-portrait { transform: none; width: min(100%, 360px); }
  .thesis-portrait img { aspect-ratio: 1; }
}

.connection {
  position: relative; background: #1c1421; color: var(--white);
  border-block: 1px solid #453044;
}
.connection h2 {
  display: table; color: var(--white); padding-bottom: .16em;
  border-bottom: 2px solid #bc7699;
}
.cards {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start;
  column-gap: clamp(22px, 4.6vw, 62px); row-gap: clamp(24px, 4vw, 52px);
  margin-top: clamp(32px, 5vw, 70px);
}
.card {
  display: grid; color: var(--white); border-top: 1px solid #5c4157;
  padding-top: 9px; position: relative;
}
.card:nth-child(1) { grid-column: span 7; grid-template-columns: 1.05fr 1fr; }
.card:nth-child(2) { grid-column: span 5; margin-top: 48px; }
.card:nth-child(3) { grid-column: 2 / span 5; margin-top: -28px; }
.card:nth-child(4) { grid-column: span 6; margin: 35px 0 0 6%; grid-template-columns: 1fr 1fr; }

.card > img { height: 100%; aspect-ratio: 1.18; object-fit: cover; filter: saturate(.86); }
.card:nth-child(2) > img { aspect-ratio: 1.7; object-position: center 35%; }
.card:nth-child(3) > img { aspect-ratio: 1.9; }
.card-content { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 15px; }
.card-content h3 { font-size: clamp(1.7rem, 3.8vw, 3.8rem); }
.card-content p { color: #d8c9d9; line-height: 1.55; font-size: .95rem; }
.card .text-link { color: #eab2cd; }
.card details { font-size: .84rem; }
.card summary { cursor: pointer; }
.card details p { margin-top: 5px; font-size: inherit; }

.info { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: clamp(25px, 6vw, 90px); }
.community { padding: 20px 0; }
.community h2 { font-size: clamp(2.4rem, 4.8vw, 5rem); }
.community .outline { transform: rotate(-4deg); }
.token { background: var(--pink); color: var(--ink); border: 3px solid var(--ink); padding: clamp(22px, 4vw, 50px); box-shadow: none; transform: rotate(3deg); }
.token h2 { font-size: clamp(2.3rem, 5.45vw, 6.3rem); margin-top: 6px; }
.contract { margin: 20px 0 14px; border: 2px dashed var(--ink); padding: 12px; }
.contract dt { font-size: .72rem; font-weight: 600; text-transform: uppercase; }
.contract dd { margin-top: 5px; overflow-wrap: anywhere; }
.footer { border-top: 1px dashed var(--purple); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-block: 26px; }
.footer p { color: #ded0e9; font-size: .84rem; line-height: 1.5; max-width: 62ch; margin-top: 10px; }
.footer .text-link { white-space: nowrap; }
.toast { position: fixed; z-index: 4; bottom: 18px; right: 18px; max-width: calc(100% - 36px); background: var(--cream); color: var(--ink); border: 2px solid var(--ink); box-shadow: 4px 4px var(--purple); padding: 12px 16px; font-weight: 700; }

@media (max-width: 900px) {
  .shell { width: calc(100% - 56px); }
  .card:nth-child(1), .card:nth-child(4) { grid-template-columns: 1fr; }
  .card:nth-child(1) > img, .card:nth-child(4) > img { aspect-ratio: 1.7; }
  .card:nth-child(3) { margin-top: 0; }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 59px; }
  .header nav > :not(.nav-twitter) { display: none; }
  .hero-art img { aspect-ratio: 1; }
  .hero-title {
    inset: 73vw 12px auto; width: auto; height: auto; clip-path: none;
    text-align: center; font: 400 clamp(1.6rem, 8vw, 3.8rem)/1 var(--display);
    letter-spacing: -.075em; text-transform: uppercase; -webkit-text-stroke: .17em var(--night); paint-order: stroke fill;
  }
  .hero-inner { grid-template-columns: 1fr; gap: 15px; }
  .hero-inner > div:first-child { margin-left: 4px; }
  .hero .actions { justify-self: start; transform: rotate(1.5deg); padding: 8px; }
  .hero .button { padding-inline: 9px; min-height: 42px; }
  .pending { grid-column: 1; margin: 0; }
  .info { grid-template-columns: 1fr; }
  .cards { gap: 22px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .card:nth-child(n) { grid-column: auto; }
  .card:nth-child(2), .card:nth-child(4) { margin: 21px 0 0; }
  .card-content { padding: 10px 4px; }
  .card-content h3 { font-size: clamp(1.35rem, 5.5vw, 2.3rem); }
  .token { width: calc(100% - 12px); margin-inline: auto; }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 360px) {
  .header-inner { gap: 8px; }
  .brand { gap: 7px; font-size: .85rem; }
  .brand img { width: 32px; height: 32px; }
  .header-token { padding-inline: 7px; }
  .cards { grid-template-columns: 1fr; }
  .card:nth-child(n) { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:not(:disabled) { transition: none; }
}

.media-roll { margin-top: clamp(54px, 8vw, 105px); }
.media-roll h3 {
  padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid #5c4157;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
}
.media-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.media-grid a, .media-grid video { display: block; min-width: 0; background: var(--night); }
.media-grid img, .media-grid video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.media-grid video { object-fit: contain; }
.media-grid a { overflow: hidden; }
.media-grid a:hover img { opacity: .85; }

.sound-player {
  position: fixed; z-index: 3; bottom: 14px; left: 14px;
  display: flex; align-items: center; gap: 10px; max-width: calc(100% - 28px);
  padding: 6px 12px 6px 6px; border: 1px solid #7c546d;
  background: #191021; color: var(--white);
}
.sound-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  color: var(--ink); background: var(--pink); border: 0; cursor: pointer;
}
.sound-track { display: grid; gap: 2px; line-height: 1.1; }
.sound-track strong { font-family: var(--display); font-size: .81rem; font-weight: 400; }
.sound-track span, .sound-volume { color: var(--cream); font-size: .73rem; }
.sound-volume { display: flex; align-items: center; gap: 5px; }
.sound-volume input { width: clamp(44px, 13vw, 85px); margin: 0; accent-color: var(--pink); }
.footer { padding-bottom: 75px; }
.toast { bottom: 82px; }

@media (max-width: 720px) {
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .sound-player { bottom: 8px; left: 8px; }
}
