:root {
  --yellow: #ffe500;
  --ink: #12110e;
  --pink: #ff91bd;
  --paper: #fffef8;
  --muted: #625b2b;
  --green: #087443;
  --red: #bd2948;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--yellow);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--yellow);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--pink);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: clamp(14px, 2vh, 24px);
  width: min(100%, 1600px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(18px, 2.4vw, 36px) clamp(18px, 3.4vw, 54px) 20px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(var(--ink) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.075;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 27%, transparent 73%, #000);
  mask-image: linear-gradient(90deg, #000, transparent 27%, transparent 73%, #000);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 54px;
  flex: 0 0 auto;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-4deg);
}

.brand-mark img {
  display: block;
  width: 32px;
  height: 41px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 18px;
  letter-spacing: -0.035em;
}

.brand-copy > span {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.top-note {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: rgb(255 254 248 / 62%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.status-light {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--pink);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.94fr);
  align-items: center;
  gap: clamp(38px, 5vw, 84px);
  min-height: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-block: 14px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 11px;
  border: 2px solid var(--ink);
  background: var(--pink);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.3;
  transform: rotate(-1deg);
}

.eyebrow > span {
  font-size: 14px;
  line-height: 1;
}

h1 {
  margin: clamp(20px, 3vh, 30px) 0 22px;
  font-family: "Titan One", sans-serif;
  font-weight: 400;
  line-height: 0.81;
  letter-spacing: -0.045em;
}

.title-wen,
.title-pegassi {
  display: block;
  width: max-content;
  max-width: 100%;
}

.title-wen {
  margin-left: 0.04em;
  font-size: clamp(4.1rem, 6.2vw, 6.7rem);
  transform: rotate(-3deg);
}

.title-pegassi {
  position: relative;
  font-size: clamp(3.9rem, 7.35vw, 7.6rem);
  white-space: nowrap;
  text-shadow: 3px 3px 0 rgb(255 254 248 / 65%);
}

.question {
  display: inline-block;
  margin-left: 0.015em;
  color: var(--pink);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 3px 3px 0 var(--ink);
  transform: rotate(6deg);
}

.intro {
  max-width: 530px;
  margin: 0 0 clamp(20px, 3vh, 28px);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.intro strong {
  font-weight: 700;
}

.ca-panel {
  width: min(100%, 530px);
  padding: 12px;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--ink);
}

.ca-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.ca-tag {
  padding: 3px 7px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--pink);
  letter-spacing: 0.08em;
}

.ca-live {
  display: flex;
  align-items: stretch;
  gap: 9px;
  margin-top: 10px;
}

.ca-live code {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
  padding: 0 14px;
  border: 2px solid var(--ink);
  background: #f1efe6;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(14px, 1.25vw, 17px);
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.ca-live pump-mint {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ca-live pump-copy {
  display: block;
  flex: 0 0 auto;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 119px;
  min-height: 48px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.copy-button:hover {
  background: var(--pink);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.copy-button:active {
  box-shadow: none;
  transform: translate(0, 0);
}

.ca-pending {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  margin-top: 10px;
  padding: 0 14px;
  border: 2px dashed var(--ink);
  background: repeating-linear-gradient(-45deg, #fffef8 0 10px, #fff5ad 10px 20px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pending-dots {
  font-size: 19px;
  letter-spacing: 0.16em;
  line-height: 1;
}

.art-stage {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(100%, 570px);
  padding: 0 9px 14px 0;
}

.art-stage::before {
  content: "★";
  position: absolute;
  z-index: 3;
  top: -31px;
  right: -8px;
  color: var(--pink);
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
  -webkit-text-stroke: 2px var(--ink);
  transform: rotate(13deg);
  pointer-events: none;
}

.art-card {
  aspect-ratio: 1;
  overflow: hidden;
  border: 4px solid var(--ink);
  background: #fff;
  box-shadow: 12px 12px 0 var(--ink);
  transform: rotate(2deg);
}

.art-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sticker {
  position: absolute;
  z-index: 4;
  bottom: 33px;
  left: -30px;
  min-width: 168px;
  padding: 11px 15px 12px;
  border: 3px solid var(--ink);
  background: var(--pink);
  box-shadow: 6px 6px 0 var(--ink);
  line-height: 1;
  transform: rotate(-7deg);
}

.sticker span {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.sticker strong {
  display: block;
  font-family: "Titan One", sans-serif;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.market-dock {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--ink);
}

.stat {
  min-width: 0;
  padding: 13px clamp(14px, 2vw, 26px) 14px;
  border-right: 2px solid var(--ink);
}

.stat:last-child {
  border-right: 0;
}

.stat-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 17px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.2;
}

.stat-change {
  margin-left: auto;
  padding: 2px 5px;
  border-radius: 4px;
  background: #ebe8dc;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0;
}

.stat-change[data-sign="positive"] {
  background: #dcf3e5;
  color: var(--green);
}

.stat-change[data-sign="negative"] {
  background: #fbe1e6;
  color: var(--red);
}

.stat-value {
  display: block;
  min-width: 0;
  margin-top: 4px;
  overflow: hidden;
  font-size: clamp(21px, 2.15vw, 32px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fine-print {
  margin: -5px 0 0;
  color: #4e481e;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.025em;
  line-height: 1.4;
  text-align: right;
}

@media (min-width: 901px) {
  .art-stage {
    width: min(100%, 570px, 62vh);
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
    gap: 38px;
  }

  .title-pegassi {
    font-size: clamp(3.8rem, 7.2vw, 5.2rem);
  }

  .title-wen {
    font-size: clamp(3.9rem, 6vw, 4.7rem);
  }

  .eyebrow {
    font-size: 9px;
  }
}

@media (max-width: 900px) {
  .hero {
    display: grid;
    grid-template-rows: auto auto auto auto;
    gap: 28px;
    min-height: 100svh;
    padding-bottom: 24px;
    overflow: hidden;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-block: 20px 0;
    text-align: center;
  }

  .title-wen {
    margin-left: 0;
    font-size: clamp(3.6rem, 12vw, 5.8rem);
  }

  .title-pegassi {
    font-size: clamp(3.1rem, 12.8vw, 6.8rem);
  }

  .intro {
    max-width: 540px;
  }

  .ca-panel {
    text-align: left;
  }

  .art-stage {
    justify-self: center;
    width: min(100%, 540px);
    margin-top: 0;
  }

  .sticker {
    left: -8px;
  }

  .fine-print {
    margin-top: -10px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero {
    gap: 24px;
    padding: 16px 16px 22px;
  }

  .topbar {
    gap: 12px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 40px;
    height: 46px;
    box-shadow: 2px 2px 0 var(--ink);
  }

  .brand-mark img {
    width: 27px;
    height: 35px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy > span {
    margin-top: 4px;
    font-size: 8px;
  }

  .top-note {
    max-width: 146px;
    gap: 7px;
    padding: 8px 10px;
    font-size: 8px;
    line-height: 1.35;
    white-space: normal;
  }

  .status-light {
    width: 8px;
    height: 8px;
    border-width: 1.5px;
  }

  .hero-grid {
    gap: 38px;
  }

  .hero-copy {
    padding-top: 18px;
  }

  .eyebrow {
    max-width: 100%;
    padding: 6px 9px;
    font-size: 8px;
    letter-spacing: 0.065em;
  }

  h1 {
    margin: 24px 0 20px;
  }

  .title-wen {
    font-size: clamp(3.4rem, 17vw, 5rem);
  }

  .title-pegassi {
    font-size: clamp(3rem, 13.2vw, 4.8rem);
  }

  .question {
    -webkit-text-stroke-width: 1.5px;
    text-shadow: 2px 2px 0 var(--ink);
  }

  .intro {
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.5;
  }

  .intro br {
    display: none;
  }

  .ca-panel {
    padding: 10px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .ca-heading {
    font-size: 8px;
  }

  .ca-live {
    gap: 7px;
  }

  .ca-live code {
    padding: 0 10px;
    font-size: 13px;
  }

  .copy-button {
    min-width: 103px;
    min-height: 46px;
    gap: 7px;
    padding: 0 10px;
    font-size: 10px;
  }

  .ca-pending {
    min-height: 46px;
    padding: 0 11px;
    font-size: 10px;
  }

  .art-stage {
    width: calc(100% - 8px);
    padding: 0 5px 10px 0;
  }

  .art-stage::before {
    top: -23px;
    right: -5px;
    font-size: 48px;
    -webkit-text-stroke-width: 1.5px;
  }

  .art-card {
    border-width: 3px;
    box-shadow: 8px 8px 0 var(--ink);
  }

  .sticker {
    bottom: 25px;
    left: -7px;
    min-width: 146px;
    padding: 9px 12px 10px;
    box-shadow: 4px 4px 0 var(--ink);
  }

  .sticker span {
    margin-bottom: 5px;
    font-size: 8px;
  }

  .sticker strong {
    font-size: 18px;
  }

  .market-dock {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    box-shadow: 5px 5px 0 var(--ink);
  }

  .stat {
    padding: 12px 14px 13px;
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 2px solid var(--ink);
  }

  .stat-label {
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .stat-change {
    padding-inline: 4px;
    font-size: 8px;
  }

  .stat-value {
    margin-top: 5px;
    font-size: clamp(21px, 6.5vw, 28px);
  }

  .fine-print {
    max-width: 330px;
    margin-inline: auto;
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
