/* ============================================================
   ZIPPER — zipperpartygame.com
   Palette and display face are lifted straight from the app
   (zipper-mobile/src/theme.js) so the site and the product
   read as one thing.
   ============================================================ */

@font-face {
  font-family: 'Adumu';
  src: url('assets/Adumu.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

:root {
  /* stage */
  --ink:        #0d0d0d;
  --ink-raised: #16161f;
  --ink-line:   #26262f;
  --paper:      #ffffff;
  --paper-dim:  #a6a6b0;
  --paper-mute: #6c6c78;

  /* brand */
  --orange:     #FF6B35;
  --orange-lit: #FF8A5C;

  /* card moods — app PALETTE */
  --strawberry: #F75590;
  --burnt:      #902D41;
  --cotton:     #EEC0C6;
  --imperial:   #0A2463;
  --yale:       #0C4767;
  --pacific:    #64A6BD;
  --sage:       #659157;
  --lightblue:  #A0CFD3;
  --eggshell:   #F0EBD8;
  --banana:     #FFF185;

  /* podium */
  --gold:   #FFD700;
  --silver: #DADADA;
  --bronze: #CD7F32;

  --display: 'Adumu', 'Bricolage Grotesque', system-ui, sans-serif;
  --body:    'Bricolage Grotesque', system-ui, -apple-system, sans-serif;

  --shell:  min(1180px, 100% - 3rem);
  --gap:    clamp(3.5rem, 2rem + 6vw, 8rem);
  --radius: 18px;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol, li, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }

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

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

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

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

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--orange); color: #1A1A1A;
  padding: .6rem 1rem; border-radius: 8px;
  font-weight: 600; z-index: 50; transition: top .15s;
}
.skip-link:focus { top: 1rem; }

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--body);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.section__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  max-width: 16ch;
}

.section__lede {
  margin-top: 1.4rem;
  max-width: 54ch;
  color: var(--paper-dim);
  font-size: clamp(1.02rem, .98rem + .3vw, 1.2rem);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--orange);
  color: #1A1A1A;
  font-family: var(--body);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -.01em;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, transform .18s ease;
}
.btn:hover { background: var(--orange-lit); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: .55rem 1.1rem; font-size: .9rem; }

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--ink-line);
}
.btn--ghost:hover { background: var(--ink-raised); border-color: var(--paper-mute); }

/* ---------- socials ---------- */
.socials {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}
.socials--center { justify-content: center; margin-top: 2rem; }

/* hero: the two follow buttons stack, Instagram on top */
.socials--stack {
  flex-direction: column;
  align-items: stretch;
  max-width: 20rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-bottom: var(--gap);
  /* a warm bloom behind the card fan, nothing more */
  background:
    radial-gradient(70rem 42rem at 78% 12%, rgba(255,107,53,.16), transparent 62%),
    radial-gradient(48rem 32rem at 8% 0%, rgba(10,36,99,.42), transparent 65%);
}

.nav {
  width: var(--shell);
  margin-inline: auto;
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__brand {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--display); font-size: 1.35rem;
  letter-spacing: .04em; text-decoration: none;
}
.nav__brand img { border-radius: 9px; }

.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a {
  text-decoration: none;
  font-size: .93rem;
  color: var(--paper-dim);
  transition: color .16s;
}
.nav__links a:hover { color: var(--paper); }

.hero__inner {
  width: var(--shell);
  margin-inline: auto;
  padding-top: clamp(2.5rem, 1rem + 5vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
}

.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.9rem, 1.4rem + 6.4vw, 6.2rem);
  line-height: .95;
  letter-spacing: -.02em;
}
.hero__title em {
  font-style: normal;
  color: var(--orange);
}

.hero__lede {
  margin-top: 1.6rem;
  max-width: 42ch;
  color: var(--paper-dim);
  font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem);
}

.signup__note {
  margin-top: .95rem;
  font-size: .85rem;
  color: var(--paper-mute);
}

/* ============================================================
   THE CARD FAN  — signature element
   ============================================================ */
.fan {
  position: relative;
  height: clamp(20rem, 16rem + 20vw, 30rem);
  display: grid;
  place-items: center;
}

.card {
  --i: 0;
  --lift: 0;
  position: absolute;
  width: clamp(12rem, 9rem + 9vw, 16.5rem);
  aspect-ratio: 5 / 7;
  padding: 1.35rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  box-shadow: 0 26px 50px -18px rgba(0,0,0,.75);
  transform: translateX(calc(var(--i) * 5.6rem))
             rotate(calc(var(--i) * 7deg))
             translateY(calc(var(--lift) * .9rem));
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.fan:hover .card {
  transform: translateX(calc(var(--i) * 6.9rem))
             rotate(calc(var(--i) * 9deg))
             translateY(calc(var(--lift) * .35rem));
}

.card__type {
  font-family: var(--body);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .72;
}
.card__text {
  font-family: var(--display);
  font-size: clamp(1.05rem, .9rem + .55vw, 1.4rem);
  line-height: 1.16;
  margin-top: auto;
  margin-bottom: auto;
}
.card__zip {
  font-family: var(--body);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .82;
}

.card--strawberry { background: var(--strawberry); color: #fff; }
.card--imperial   { background: var(--imperial);   color: #fff; }
.card--yale       { background: var(--yale);       color: #fff; }
.card--sage       { background: var(--sage);       color: #fff; }
.card--banana     { background: var(--banana);     color: #1A1A1A; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  width: var(--shell);
  margin-inline: auto;
  padding-block: var(--gap);
  border-top: 1px solid var(--ink-line);
}

/* ---------- the arc: setup → play → podium ---------- */
.arc {
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.arc__step {
  background: var(--ink);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.4rem);
  position: relative;
}
/* the zip pull travelling across the three steps */
.arc__step::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background: var(--orange);
  transform-origin: left;
}
.arc__step:nth-child(1)::before { opacity: 1; }
.arc__step:nth-child(2)::before { opacity: .6; }
.arc__step:nth-child(3)::before { opacity: .3; }

.arc__step h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.65rem;
  margin-top: 1.2rem;
  margin-bottom: .6rem;
}
.arc__step p { color: var(--paper-dim); font-size: .98rem; }

/* ---------- modes ----------
   Full colour blocks instead of dark panels: each mode reads as a physical
   card in the app's own palette, and the middle one stands proud because it
   is the only one you can actually play. */
.modes {
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}
.mode {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 2rem 1.8rem;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  box-shadow: 0 20px 40px -22px rgba(0,0,0,.85);
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease;
}
.mode:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 60px -24px rgba(0,0,0,.9);
}

.mode--bar  { background: var(--strawberry); }
.mode--rush { background: var(--pacific); }
.mode--normal {
  background: var(--orange);
  color: #1A1A1A;
  transform: scale(1.04);
  z-index: 1;
}
.mode--normal:hover { transform: scale(1.04) translateY(-8px); }

/* the unbuilt modes sit behind a scrim, the way the app seals them */
.mode--bar::after,
.mode--rush::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,.5);
  z-index: -1;
}

.mode__tag {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .78;
}
.mode__name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.2rem);
  line-height: .95;
}
.mode p {
  font-size: .96rem;
  opacity: .92;
  margin-bottom: 1.4rem;
}
.mode__stamp {
  margin-top: auto;
  align-self: flex-start;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .4rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
}
.mode__stamp--live {
  background: #1A1A1A;
  border-color: #1A1A1A;
  color: var(--orange);
}

/* ---------- intensity meter ----------
   Interactive: picking a band fills the app's shot glasses, recolours the
   panel and swaps the copy. */
.meter {
  --fill: var(--orange);
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  padding: clamp(1.8rem, 1.4rem + 1.6vw, 2.8rem);
  border-radius: var(--radius);
  border: 1px solid var(--ink-line);
  background:
    radial-gradient(32rem 18rem at 10% 0%, rgba(255,107,53,.10), transparent 70%),
    var(--ink-raised);
}
.meter[data-level="light"]    { --fill: var(--banana); }
.meter[data-level="medium"]   { --fill: var(--orange); }
.meter[data-level="blackout"] { --fill: #E8483B; }

.meter__label {
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper-mute);
  margin-bottom: 1.5rem;
}

.meter__stage {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 1rem + 3vw, 3rem);
  flex-wrap: wrap;
  min-height: 6.5rem;
}

.meter__glasses { display: flex; gap: .5rem; flex: none; }
/* one PNG serves every colour: the glass is a mask, not a tinted image */
.glass {
  width: clamp(2.6rem, 2rem + 2vw, 3.6rem);
  aspect-ratio: 1 / 1;
  background-color: var(--fill);
  -webkit-mask: url('assets/shot-full.png') center / contain no-repeat;
          mask: url('assets/shot-full.png') center / contain no-repeat;
  opacity: .16;
  transition: opacity .3s ease, background-color .3s ease, transform .35s cubic-bezier(.16,1,.3,1);
}
.glass.is-full { opacity: 1; transform: translateY(-4px); }
.glass.is-half { opacity: .45; }

.meter__name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  line-height: 1;
  color: var(--fill);
  transition: color .3s ease;
}
.meter__desc { color: var(--paper-dim); margin-top: .4rem; }

.meter__picker {
  margin-top: 1.8rem;
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.pick {
  font-family: var(--body);
  font-weight: 800;
  font-size: .92rem;
  color: var(--paper-dim);
  background: transparent;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  padding: .6rem 1.3rem;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.pick:hover { color: var(--paper); border-color: var(--paper-mute); transform: translateY(-2px); }
.pick.is-on {
  background: var(--fill);
  border-color: var(--fill);
  color: #1A1A1A;
}

/* ---------- scoring ---------- */
.score__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}

.rules {
  margin-top: 2.2rem;
  display: grid;
  gap: .5rem;
  max-width: 32rem;
}
.rules li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: .85rem 1.2rem;
  background: var(--ink-raised);
  border-radius: 12px;
}
/* a zip-pull tab marking each rule, in place of a number */
.rules li::before {
  content: '';
  flex: none;
  width: .55rem;
  height: 1.1rem;
  border-radius: 3px;
  background: var(--orange);
  transform: translateY(.15rem);
}
.rules span { color: var(--paper-dim); }

.podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: .6rem;
}
.podium__place {
  border-radius: 12px 12px 0 0;
  padding: 1rem .6rem .9rem;
  text-align: center;
  color: #1A1A1A;
  display: grid;
  gap: .1rem;
}
.podium__place b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 1;
  margin-top: .5rem;
  opacity: .5;
}
.podium__name { font-weight: 800; font-size: 1.05rem; }

.podium__place--1 { background: var(--gold);   height: 13rem; }
.podium__place--2 { background: var(--silver); height: 10rem; }
.podium__place--3 { background: var(--bronze); height: 8rem; }

.awards {
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--ink-line);
}
.awards__label {
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper-mute);
  margin-bottom: 1.1rem;
}
.awards ul { display: flex; flex-wrap: wrap; gap: .6rem; }
.awards li {
  font-family: var(--display);
  font-size: 1.1rem;
  padding: .35rem 1rem;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  color: var(--paper-dim);
}

/* ---------- card types ---------- */
.types {
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.t {
  font-family: var(--display);
  font-size: clamp(1rem, .92rem + .35vw, 1.3rem);
  padding: .5rem 1.1rem;
  border-radius: 10px;
  color: #fff;
  transition: transform .18s ease;
}
.t:hover { transform: translateY(-3px) rotate(-1.5deg); }

.t--strawberry { background: var(--strawberry); }
.t--burnt      { background: var(--burnt); }
.t--cotton     { background: var(--cotton);    color: #1A1A1A; }
.t--imperial   { background: var(--imperial); }
.t--yale       { background: var(--yale); }
.t--pacific    { background: var(--pacific); }
.t--sage       { background: var(--sage); }
.t--lightblue  { background: var(--lightblue); color: #1A1A1A; }
.t--eggshell   { background: var(--eggshell);  color: #1A1A1A; }
.t--banana     { background: var(--banana);    color: #1A1A1A; }

/* ---------- team ---------- */
.team {
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
.team__member {
  background: var(--ink-raised);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.team__member h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
}
.team__role {
  color: var(--orange);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: .35rem 0 .8rem;
}
.team__bio { color: var(--paper-dim); font-size: .95rem; }

/* ---------- closing CTA ---------- */
.cta {
  width: var(--shell);
  margin: 0 auto var(--gap);
  padding: clamp(3rem, 2rem + 4vw, 5.5rem) 2rem;
  text-align: center;
  border-radius: 24px;
  background:
    radial-gradient(40rem 20rem at 50% 0%, rgba(255,107,53,.22), transparent 70%),
    var(--ink-raised);
  border: 1px solid var(--ink-line);
}
.cta h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem);
  line-height: 1.02;
}
.cta p {
  margin: 1rem auto 0;
  max-width: 42ch;
  color: var(--paper-dim);
}

/* ---------- footer ---------- */
.footer {
  width: var(--shell);
  margin-inline: auto;
  padding-block: 2.5rem 3.5rem;
  border-top: 1px solid var(--ink-line);
  display: grid;
  gap: 1rem;
}
.footer__brand {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--display); font-size: 1.15rem; letter-spacing: .04em;
}
.footer__brand img { border-radius: 7px; }
.footer__legal { color: var(--paper-mute); font-size: .88rem; max-width: 46ch; }
.footer__meta {
  display: flex; flex-wrap: wrap; gap: 1.2rem;
  color: var(--paper-mute); font-size: .88rem;
}
.footer__meta a { color: var(--paper-dim); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  :root { --shell: min(1180px, 100% - 2rem); }

  .nav__links { display: none; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { order: 1; }
  .fan { order: 2; height: clamp(19rem, 14rem + 26vw, 24rem); }
  /* three cards is a fan; five is a mess at this width */
  .card--edge { display: none; }

  .score__grid { grid-template-columns: 1fr; }
  .arc, .team, .modes { grid-template-columns: 1fr; }
  .meter__stage { gap: 1.2rem; }
  .team__member { padding: 1.5rem; }
}

@media (max-width: 560px) {
  .socials { flex-direction: column; }
  .socials .btn { width: 100%; }
  .card { width: clamp(11rem, 60vw, 14rem); }
  .fan .card { transform: translateX(calc(var(--i) * 3.2rem)) rotate(calc(var(--i) * 6deg)); }
  .podium__place--1 { height: 10rem; }
  .podium__place--2 { height: 8rem; }
  .podium__place--3 { height: 6.5rem; }
}
