* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background: #12160f;
  color: #12150f;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

:root {
  --card-h: min(480px, 56vh);
  --card-gap: 32px;
  --seg: calc(var(--card-h) + var(--card-gap));
  --sticky-top: calc(50vh - (var(--seg) / 2));
}

/* Static intro header, scrolls away normally above the stack */
.intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6vw;
  padding: 90px 6vw 70px;
  color: #eef3ee;
}

.intro .eyebrow {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 14px;
}

.intro h1 {
  font-family: 'Anton', 'Arial Black', Helvetica, sans-serif;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.02;
  text-transform: uppercase;
}

.intro .intro-side {
  max-width: 380px;
  padding-top: 6px;
}

.intro .intro-side p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 20px;
}

.intro .intro-side a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f2e400;
  color: #12150f;
  text-decoration: none;
  font-weight: bold;
}

/* Outer scroll track: needs a full extra "seg" beyond the (panels - 1)
   transitions, plus the sticky offset itself, otherwise position:sticky
   releases the last card before its cover animation finishes (it
   un-sticks once the container's remaining height drops below one
   card-height + the top offset). That extra room also doubles as the
   card's clean scroll-away distance into the CTA below, so there's no
   dead empty gap. */
.stack-outer {
  position: relative;
  height: calc(var(--seg) * 3 + var(--sticky-top) + 24px);
}

/* Pins itself roughly in the middle of the viewport for the whole scroll track */
.stack-inner {
  position: sticky;
  top: var(--sticky-top);
  left: 0;
  width: 100%;
  height: var(--seg);
  overflow: hidden;
}

.panel {
  position: absolute;
  top: 16px;
  left: 6vw;
  right: 6vw;
  bottom: 16px;
  border-radius: 32px;
  transform-origin: 50% 0%;
  will-change: transform, border-radius;
}

.panel-mint   { background: #d7e4da; }
.panel-orange { background: #fd7a55; }
.panel-yellow { background: #f2e400; }

.panel-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 3vw;
  padding: 0 1.4vw 0 4vw;
}

.num {
  font-family: 'Anton', 'Arial Black', Helvetica, sans-serif;
  font-size: clamp(90px, 12vw, 180px);
  line-height: 1;
  color: #12150f;
  flex-shrink: 0;
}

.content {
  flex: 1 1 auto;
  max-width: 620px;
}

.content h2 {
  font-family: 'Anton', 'Arial Black', Helvetica, sans-serif;
  font-size: clamp(22px, 2.6vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.content p {
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.5;
  max-width: 420px;
  opacity: 0.9;
}

.media {
  position: relative;
  flex-shrink: 0;
  margin-left: auto;
  width: 38vw;
  max-width: 440px;
  aspect-ratio: 3 / 2;
  border-radius: 18px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

/* the "tab" notch cut out of the top-right corner */
.media::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  height: 22%;
  border-bottom-left-radius: 18px;
}

.panel-mint .media::after   { background: #d7e4da; }
.panel-orange .media::after { background: #fd7a55; }
.panel-yellow .media::after { background: #f2e400; }

.media-fire {
  aspect-ratio: 3 / 2;
  width: 40vw;
  max-width: 460px;
  background: linear-gradient(160deg, #1a1a1a 0%, #3d1a0a 35%, #d8460b 60%, #ffb703 85%, #fff3b0 100%);
}

.media-run {
  aspect-ratio: 4 / 3;
  width: 32vw;
  max-width: 380px;
  background: linear-gradient(160deg, #0a0e1a 0%, #1c2a4a 40%, #3a4a6b 65%, #b98a4e 100%);
}

.media-ball {
  aspect-ratio: 16 / 10;
  width: 38vw;
  max-width: 420px;
  background: linear-gradient(160deg, #bfe3f7 0%, #8fc7ec 45%, #d64545 75%, #a02f2f 100%);
}

.cta {
  padding: 160px 6vw;
  text-align: center;
  color: #eef3ee;
}

.cta h2 {
  font-family: 'Anton', 'Arial Black', Helvetica, sans-serif;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.08;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.cta .btn {
  display: inline-block;
  padding: 18px 34px;
  border-radius: 12px;
  background: #f2e400;
  color: #12150f;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.02em;
}

.site-footer {
  border-top: 1px solid rgba(238, 243, 238, 0.15);
  padding: 70px 6vw 40px;
  color: #eef3ee;
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col {
  min-width: 160px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.75;
  max-width: 240px;
}

.foot-title {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  color: #eef3ee;
  text-decoration: none;
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 10px;
}

.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  font-size: 13px;
  opacity: 0.5;
}

@media (max-width: 900px) {
  :root {
    --card-h: min(720px, 78vh);
  }
  .intro {
    flex-direction: column;
    padding: 60px 6vw 40px;
  }
  .panel-inner {
    flex-direction: column;
    justify-content: center;
    gap: 2vh;
    padding: 3vh 6vw;
    text-align: left;
  }
  .num {
    font-size: clamp(70px, 22vw, 120px);
  }
  .media,
  .media-fire,
  .media-run,
  .media-ball {
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 9;
    margin-left: 0;
  }
  .content p {
    max-width: 100%;
  }
}
