:root {
  color-scheme: light;
  --pink: #ff4ca4;
  --pink-light: #ff87c3;
  --pink-pale: #ffd1e8;
  --cream: #fff4d9;
  --gold: #ffb938;
  --plum: #4a082b;
  --plum-dark: #260116;
  --teal: #58ebd0;
  --line: rgba(74, 8, 43, 0.22);
  --shadow: 0 26px 70px rgba(74, 8, 43, 0.34);
  font-family: Inter, ui-rounded, "Arial Rounded MT Bold", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--plum-dark);
  background:
    radial-gradient(circle at 12% 7%, rgba(255, 244, 217, 0.78) 0 2px, transparent 3px),
    radial-gradient(circle at 83% 18%, rgba(88, 235, 208, 0.65) 0 3px, transparent 4px),
    linear-gradient(145deg, #ff9bcb 0%, var(--pink) 44%, #f4298d 100%);
  background-size: 46px 46px, 92px 92px, auto;
}

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

button {
  font: inherit;
}

.page-shell {
  width: min(100%, 1500px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.15rem clamp(1.15rem, 4vw, 4.5rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.eyebrow,
.contract-label,
.fine-print {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  width: clamp(8.5rem, 14vw, 10.5rem);
  height: auto;
  filter: drop-shadow(3px 3px 0 rgba(74, 8, 43, 0.42));
}

.tagline {
  padding: 0.55rem 0.9rem;
  border: 2px solid var(--plum);
  border-radius: 999px;
  background: var(--cream);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--plum);
}

.carousel-section {
  position: relative;
  min-height: calc(100vh - 88px);
  padding: clamp(2.2rem, 4vw, 4rem) 0 clamp(3rem, 7vw, 6.5rem);
}

.carousel-section::before,
.carousel-section::after {
  position: absolute;
  z-index: -1;
  border: 2px solid rgba(74, 8, 43, 0.2);
  border-radius: 50%;
  content: "";
}

.carousel-section::before {
  top: 13%;
  left: -8rem;
  width: 19rem;
  height: 19rem;
  background: rgba(255, 244, 217, 0.18);
}

.carousel-section::after {
  right: -5rem;
  bottom: 6%;
  width: 14rem;
  height: 14rem;
  background: rgba(88, 235, 208, 0.18);
}

.section-heading {
  width: min(91vw, 1000px);
  margin: 0 auto clamp(1.25rem, 2.4vw, 2rem);
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.3rem;
}

h1 {
  margin: 0;
  color: var(--cream);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.2rem, 8vw, 7.25rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 0.9;
  text-transform: uppercase;
  -webkit-text-stroke: clamp(1.5px, 0.16vw, 3px) var(--plum);
  text-shadow: clamp(3px, 0.4vw, 6px) clamp(3px, 0.4vw, 6px) 0 var(--plum);
}

.carousel {
  display: grid;
  grid-template-columns: minmax(3rem, 1fr) minmax(0, 1120px) minmax(3rem, 1fr);
  align-items: center;
  gap: 0.7rem;
  outline: none;
}

.carousel:focus-visible .active-card {
  outline: 4px solid var(--teal);
  outline-offset: 7px;
}

.carousel-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(270px, 1.46fr) minmax(0, 0.7fr);
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.75rem);
  perspective: 1200px;
  touch-action: pan-y;
}

.active-card {
  position: relative;
  z-index: 2;
  width: min(100%, 465px);
  margin: 0 auto;
  overflow: hidden;
  border: 3px solid var(--cream);
  border-radius: clamp(1.1rem, 2vw, 1.7rem);
  background: var(--plum);
  box-shadow: var(--shadow), 0 0 0 3px var(--plum);
  transform: translateZ(28px);
}

.active-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 24% 72%, rgba(255, 255, 255, 0.08));
  content: "";
}

.active-image,
.peek img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  user-select: none;
}

.active-image {
  transition: opacity 180ms ease, transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.active-image.is-changing {
  opacity: 0.4;
  transform: scale(0.985);
}

.peek {
  width: min(100%, 350px);
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(255, 244, 217, 0.7);
  border-radius: 1.2rem;
  background: var(--plum);
  box-shadow: 0 14px 42px rgba(74, 8, 43, 0.24);
  cursor: pointer;
  opacity: 0.64;
  transition: opacity 180ms ease, transform 180ms ease;
}

.peek:hover,
.peek:focus-visible {
  opacity: 0.92;
}

.peek-previous {
  justify-self: end;
  transform: rotateY(17deg) rotate(-2deg) translateX(11%);
  transform-origin: right center;
}

.peek-previous:hover,
.peek-previous:focus-visible {
  transform: rotateY(10deg) rotate(-1deg) translateX(8%);
}

.peek-next {
  justify-self: start;
  transform: rotateY(-17deg) rotate(2deg) translateX(-11%);
  transform-origin: left center;
}

.peek-next:hover,
.peek-next:focus-visible {
  transform: rotateY(-10deg) rotate(1deg) translateX(-8%);
}

.nav-button {
  z-index: 3;
  display: grid;
  width: clamp(3rem, 5vw, 4rem);
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid var(--plum);
  border-radius: 50%;
  color: var(--plum);
  background: var(--cream);
  box-shadow: 4px 4px 0 var(--plum);
  cursor: pointer;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.nav-previous {
  justify-self: end;
}

.nav-next {
  justify-self: start;
}

.nav-button:hover,
.nav-button:focus-visible {
  background: var(--teal);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--plum);
}

.carousel-meta {
  display: grid;
  width: min(91vw, 600px);
  margin: 1.35rem auto 0;
  gap: 0.75rem;
}

.card-title {
  display: grid;
  height: 2.7em;
  align-items: center;
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.carousel-status {
  display: grid;
  grid-template-columns: auto minmax(100px, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
}

.counter,
.motion-toggle {
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.progress-track {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(74, 8, 43, 0.22);
}

.progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--cream);
  transition: width 280ms ease;
}

.motion-toggle {
  padding: 0.25rem;
  border: 0;
  border-bottom: 2px solid currentColor;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.carousel-hint {
  margin: 0.9rem 0 0;
  color: rgba(38, 1, 22, 0.72);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

.scroll-cue {
  display: grid;
  width: max-content;
  margin: 1rem auto 0;
  place-items: center;
  color: var(--plum);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.scroll-cue span {
  display: grid;
  width: 2.55rem;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid var(--plum);
  border-radius: 50%;
  background: rgba(255, 244, 217, 0.72);
  box-shadow: 3px 3px 0 var(--plum);
  font-size: 1.5rem;
  transition: transform 150ms ease, background 150ms ease;
}

.scroll-cue small {
  margin-top: 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-cue:hover span,
.scroll-cue:focus-visible span {
  background: var(--teal);
  transform: translateY(3px);
}

.scroll-cue:focus-visible {
  border-radius: 0.35rem;
  outline: 3px solid var(--cream);
  outline-offset: 5px;
}

.site-footer {
  padding: clamp(2.4rem, 6vw, 5rem) clamp(1.15rem, 4vw, 4.5rem) 1.5rem;
  color: var(--cream);
  background: var(--plum-dark);
}

.footer-topline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255, 244, 217, 0.2);
}

.footer-mark {
  margin: 0;
  color: var(--pink-light);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.8rem, 7vw, 7rem);
  letter-spacing: 0.02em;
  line-height: 0.82;
  -webkit-text-stroke: 1px var(--cream);
}

.footer-note {
  max-width: none;
  margin: 0;
  font-size: clamp(0.8rem, 2vw, 1.3rem);
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.footer-actions {
  display: grid;
  grid-template-columns: 1fr minmax(290px, 0.7fr);
  gap: clamp(1.25rem, 4vw, 4rem);
  padding: 1.8rem 0 3.8rem;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.socials a,
.contract {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.2rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 244, 217, 0.28);
  border-radius: 0.85rem;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.socials a:hover,
.socials a:focus-visible {
  border-color: var(--teal);
  color: var(--teal);
}

.contract {
  display: grid;
  grid-template-columns: auto 1fr;
  border-color: rgba(255, 135, 195, 0.55);
}

.contract-label {
  color: var(--pink-light);
}

.contract-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
  text-align: right;
  /* A contract address must never be clipped: wrap rather than ellipsise. */
  overflow-wrap: anywhere;
  white-space: normal;
}

.legal-disclaimer {
  display: grid;
  max-width: 72rem;
  margin: 0 auto;
  gap: 0.55rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 244, 217, 0.2);
  color: rgba(255, 244, 217, 0.52);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.legal-disclaimer p {
  margin: 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;
}

@media (max-width: 760px) {
  .site-header {
    gap: 1rem;
  }

  .tagline {
    max-width: 9rem;
    font-size: 0.7rem;
    line-height: 1.1;
    text-align: center;
  }

  .carousel-section {
    min-height: auto;
  }

  .carousel {
    grid-template-columns: 2.8rem minmax(0, 1fr) 2.8rem;
    gap: 0.3rem;
    padding: 0 0.45rem;
  }

  .carousel-stage {
    grid-template-columns: 0 minmax(0, 1fr) 0;
    gap: 0;
  }

  .peek {
    visibility: hidden;
  }

  .active-card {
    width: min(100%, 390px);
  }

  .nav-button {
    width: 2.7rem;
    border-width: 1.5px;
    box-shadow: 3px 3px 0 var(--plum);
  }

  .footer-topline {
    display: grid;
  }

  .footer-note {
    text-align: left;
  }

  .footer-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-inline: 0.85rem;
  }

  .brand-logo {
    width: 7.4rem;
  }

  .tagline {
    max-width: 7.2rem;
    padding-inline: 0.55rem;
    font-size: 0.62rem;
  }

  .carousel {
    grid-template-columns: 2.45rem minmax(0, 1fr) 2.45rem;
  }

  .card-title {
    height: 4.05em;
  }

  .nav-button {
    width: 2.35rem;
    font-size: 1.25rem;
  }

  .carousel-status {
    grid-template-columns: auto 1fr;
  }

  .motion-toggle {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
