/* ============================================================
   AS Prototype · lighter pack section
   Three vintage posters, one quick read.
   ============================================================ */

#packs.prototype-packs-v2 {
  --proto-navy: #14233d;
  --proto-cream: #f3e6c6;
  --proto-red: #d63a22;
  --proto-yellow: #e8b84a;
  --proto-blue: #315c82;
  background: var(--proto-cream);
  color: var(--proto-navy);
  overflow: hidden;
}

#packs.prototype-packs-v2 .prototype-packs-shell {
  width: min(100% - 2rem, 1240px);
  margin-inline: auto;
  padding: clamp(3.75rem, 8vw, 7rem) 0 clamp(3.5rem, 7vw, 6rem);
}

#packs.prototype-packs-v2 .prototype-packs-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.25rem, 5vw, 4rem);
  padding-inline: clamp(0rem, 2vw, 1.2rem);
}

#packs.prototype-packs-v2 .prototype-packs-kicker,
#packs.prototype-packs-v2 .prototype-pack-label,
#packs.prototype-packs-v2 .prototype-pack-stamp,
#packs.prototype-packs-v2 .prototype-pack-signals,
#packs.prototype-packs-v2 .prototype-packs-footer-mark,
#packs.prototype-packs-v2 .prototype-footer-tape {
  font-family: 'Roboto Condensed', Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.05;
  text-transform: uppercase;
}

#packs.prototype-packs-v2 .prototype-packs-kicker {
  display: inline-block;
  position: relative;
  padding-left: 2.1rem;
  margin-bottom: 0.8rem;
}

#packs.prototype-packs-v2 .prototype-packs-kicker::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.55rem;
  height: 2px;
  background: var(--proto-red);
  transform: translateY(-50%);
}

#packs.prototype-packs-v2 .prototype-packs-intro h2 {
  max-width: 11ch;
  margin: 0;
  font-family: 'Anton', 'Roboto Condensed', sans-serif;
  font-size: clamp(3.25rem, 8.4vw, 7.7rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.82;
  text-transform: uppercase;
}

#packs.prototype-packs-v2 .prototype-packs-intro h2 span {
  color: var(--proto-red);
}

#packs.prototype-packs-v2 .prototype-packs-intro > p {
  max-width: 21ch;
  margin: 0 0 0.25rem;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.15;
  text-transform: uppercase;
}

#packs.prototype-packs-v2 .prototype-pack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
}

#packs.prototype-packs-v2 .prototype-pack-card {
  position: relative;
  min-width: 0;
  border: 3px solid var(--proto-navy);
  background: #f7edcf;
  box-shadow: 10px 12px 0 var(--proto-navy);
  transform: rotate(-1deg);
}

#packs.prototype-packs-v2 .prototype-pack-card:nth-child(2) {
  margin-top: 2.8rem;
  background: #e7b9a9;
  transform: rotate(1.05deg);
}

#packs.prototype-packs-v2 .prototype-pack-card:nth-child(3) {
  transform: rotate(-0.65deg);
  background: #e8b84a;
}

#packs.prototype-packs-v2 .prototype-pack-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 3.4rem;
  padding: 0.7rem 0.85rem;
  border-bottom: 3px solid var(--proto-navy);
}

#packs.prototype-packs-v2 .prototype-pack-number {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 2px solid var(--proto-navy);
  border-radius: 50%;
  font-family: 'Anton', 'Roboto Condensed', sans-serif;
  font-size: 1.15rem;
  line-height: 1;
}

#packs.prototype-packs-v2 .prototype-pack-stamp {
  padding: 0.32rem 0.42rem;
  border: 2px solid var(--proto-navy);
  background: var(--proto-cream);
  font-size: 0.62rem;
  text-align: right;
}

#packs.prototype-packs-v2 .prototype-pack-card--finance .prototype-pack-stamp {
  background: var(--proto-red);
  color: var(--proto-cream);
}

#packs.prototype-packs-v2 .prototype-pack-card--close .prototype-pack-stamp {
  background: var(--proto-navy);
  color: var(--proto-cream);
}

#packs.prototype-packs-v2 .prototype-pack-image {
  position: relative;
  margin: 0.8rem 0.8rem 0;
  border: 3px solid var(--proto-navy);
  background: var(--proto-navy);
  box-shadow: 5px 6px 0 var(--proto-red);
  overflow: hidden;
  aspect-ratio: 1.28 / 1;
}

#packs.prototype-packs-v2 .prototype-pack-card--finance .prototype-pack-image {
  box-shadow: 5px 6px 0 var(--proto-navy);
}

#packs.prototype-packs-v2 .prototype-pack-card--close .prototype-pack-image {
  box-shadow: 5px 6px 0 var(--proto-red);
}

#packs.prototype-packs-v2 .prototype-pack-image::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 5px solid rgba(247, 237, 207, 0.18);
  mix-blend-mode: screen;
}

#packs.prototype-packs-v2 .prototype-pack-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.03);
}

#packs.prototype-packs-v2 .prototype-pack-image--close img {
  object-position: 50% 45%;
}

#packs.prototype-packs-v2 .prototype-pack-copy {
  padding: 1.35rem 1rem 1.1rem;
}

#packs.prototype-packs-v2 .prototype-pack-label {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--proto-red);
  font-size: 0.68rem;
}

#packs.prototype-packs-v2 .prototype-pack-card--finance .prototype-pack-label {
  color: var(--proto-red);
}

#packs.prototype-packs-v2 .prototype-pack-card--close .prototype-pack-label {
  color: var(--proto-navy);
}

#packs.prototype-packs-v2 .prototype-pack-copy h3 {
  margin: 0;
  font-family: 'Anton', 'Roboto Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.9;
  text-transform: uppercase;
}

#packs.prototype-packs-v2 .prototype-pack-copy p {
  max-width: 25ch;
  margin: 1rem 0 1.35rem;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.22;
}

#packs.prototype-packs-v2 .prototype-pack-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 0.85rem;
  border-top: 2px solid rgba(20, 35, 61, 0.3);
  font-size: 0.58rem;
}

#packs.prototype-packs-v2 .prototype-pack-signals span {
  padding: 0.35rem 0.42rem;
  border: 2px solid var(--proto-navy);
  background: var(--proto-cream);
}

#packs.prototype-packs-v2 .prototype-pack-card--finance .prototype-pack-signals span {
  background: #f5d4c3;
}

#packs.prototype-packs-v2 .prototype-pack-card--close .prototype-pack-signals span {
  background: #f6d76e;
}

#packs.prototype-packs-v2 .prototype-packs-footer {
  position: relative;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding: 0.85rem 1.1rem 0.95rem;
  border: 3px solid var(--proto-navy);
  background: var(--proto-cream);
  color: var(--proto-navy);
  box-shadow: 8px 8px 0 var(--proto-red);
  transform: rotate(-0.35deg);
}

#packs.prototype-packs-v2 .prototype-packs-footer::before {
  content: '';
  position: absolute;
  top: -0.62rem;
  right: 7%;
  width: 6.4rem;
  height: 1.05rem;
  background: var(--proto-yellow);
  border: 2px solid var(--proto-navy);
  transform: rotate(3deg);
  z-index: 2;
}

#packs.prototype-packs-v2 .prototype-packs-footer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--proto-navy);
}

#packs.prototype-packs-v2 .prototype-footer-tape {
  display: inline-block;
  padding: 0.3rem 0.45rem;
  background: var(--proto-red);
  color: var(--proto-cream);
  border: 2px solid var(--proto-navy);
  font-size: 0.62rem;
  transform: rotate(-2deg);
}

#packs.prototype-packs-v2 .prototype-packs-footer-mark {
  flex: 0 0 auto;
  color: var(--proto-red);
  font-size: 0.62rem;
  text-align: right;
}

#packs.prototype-packs-v2 .prototype-packs-footer-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  align-items: center;
  gap: 1.4rem;
  padding-top: 0.9rem;
}

#packs.prototype-packs-v2 .prototype-packs-footer-body h3 {
  margin: 0;
  font-family: 'Anton', 'Roboto Condensed', sans-serif;
  font-size: clamp(2.1rem, 4.5vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.82;
  text-transform: uppercase;
}

#packs.prototype-packs-v2 .prototype-packs-footer-body h3 span {
  color: var(--proto-red);
}

#packs.prototype-packs-v2 .prototype-footer-value p {
  max-width: 30ch;
  margin: 0;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

#packs.prototype-packs-v2 .prototype-footer-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

#packs.prototype-packs-v2 .prototype-footer-signals span {
  padding: 0.25rem 0.35rem;
  border: 2px solid var(--proto-navy);
  background: var(--proto-yellow);
  font-family: 'Roboto Condensed', Arial, sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  #packs.prototype-packs-v2 .prototype-packs-shell {
    width: min(100% - 1.25rem, 620px);
    padding-top: 3.5rem;
  }

  #packs.prototype-packs-v2 .prototype-packs-intro {
    display: block;
    margin-bottom: 2.5rem;
  }

  #packs.prototype-packs-v2 .prototype-packs-intro h2 {
    font-size: clamp(3.3rem, 14vw, 5.7rem);
  }

  #packs.prototype-packs-v2 .prototype-packs-intro > p {
    max-width: 24ch;
    margin-top: 1.1rem;
    font-size: 1.15rem;
  }

  #packs.prototype-packs-v2 .prototype-pack-grid {
    grid-template-columns: 1fr;
    gap: 2.35rem;
    padding-inline: 0.3rem;
  }

  #packs.prototype-packs-v2 .prototype-pack-card:nth-child(2) {
    margin-top: 0;
  }

  #packs.prototype-packs-v2 .prototype-pack-card {
    transform: rotate(-0.7deg);
  }

  #packs.prototype-packs-v2 .prototype-pack-card:nth-child(2) {
    transform: rotate(0.75deg);
  }

  #packs.prototype-packs-v2 .prototype-pack-card:nth-child(3) {
    transform: rotate(-0.5deg);
  }

  #packs.prototype-packs-v2 .prototype-pack-image {
    aspect-ratio: 1.5 / 1;
  }

  #packs.prototype-packs-v2 .prototype-pack-copy {
    padding: 1.2rem 1rem 1.1rem;
  }

  #packs.prototype-packs-v2 .prototype-pack-copy h3 {
    font-size: clamp(2.5rem, 11vw, 4.25rem);
  }

  #packs.prototype-packs-v2 .prototype-pack-copy p {
    max-width: 28ch;
    font-size: 1.1rem;
  }

  #packs.prototype-packs-v2 .prototype-packs-footer {
    margin-top: 2.8rem;
    padding: 0.75rem 0.75rem 0.85rem;
  }

  #packs.prototype-packs-v2 .prototype-packs-footer::before {
    right: 8%;
    width: 5rem;
    height: 0.9rem;
  }

  #packs.prototype-packs-v2 .prototype-packs-footer-head {
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
    padding-bottom: 0.55rem;
  }

  #packs.prototype-packs-v2 .prototype-footer-tape {
    font-size: 0.58rem;
  }

  #packs.prototype-packs-v2 .prototype-packs-footer-mark {
    font-size: 0.56rem;
    text-align: left;
  }

  #packs.prototype-packs-v2 .prototype-packs-footer-body {
    display: block;
    padding-top: 0.75rem;
  }

  #packs.prototype-packs-v2 .prototype-packs-footer-body h3 {
    font-size: clamp(2.1rem, 10vw, 3.2rem);
  }

  #packs.prototype-packs-v2 .prototype-footer-value p {
    max-width: 30ch;
    margin-top: 0.8rem;
    font-size: 0.98rem;
  }

  #packs.prototype-packs-v2 .prototype-footer-signals {
    margin-top: 0.6rem;
  }

  #packs.prototype-packs-v2 .prototype-footer-signals span {
    font-size: 0.53rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #packs.prototype-packs-v2 .prototype-pack-card {
    transform: none;
  }
}
