/* ============================================
   Stacking Cards Parallax
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100%;
  color: #f2efe8;
  background-color: #0c0b10;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  vertical-align: middle;
  max-width: 100%;
  display: inline-block;
  border: 0;
}

/* ---------- Section ---------- */

.section-resource {
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  display: flex;
}

/* ---------- Collection / list ---------- */

.stacking-cards__collection {
  width: 100%;
}

.stacking-cards__list {
  flex-flow: column;
  display: flex;
}

.stacking-cards__item {
  color: #fff;
  border-top-left-radius: 1em;
  border-top-right-radius: 1em;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  margin-top: -1em;
  padding-top: 5em;
  padding-bottom: 5em;
  display: flex;
  position: relative;
}

/* Premium solid card tones */
.stacking-cards__item.is--green {
  background-color: #14352c;
}

.stacking-cards__item.is--purple {
  background-color: #3d2a4a;
}

.stacking-cards__item.is--blue {
  background-color: #1a2d4a;
}

.stacking-cards__item.is--brown {
  background-color: #3a2e1f;
}

.stacking-cards__item.is--red {
  background-color: #3a1f24;
}

/* ---------- Heading (exact metrics; system font instead of PP Neue Corp) ---------- */

.stacking-cards__item-h {
  text-align: center;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  font-size: 8vw;
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.02em;
}

.stacking-card__heading-faded {
  opacity: 0.5;
}

/* ---------- Image (exact metrics) ---------- */

.stacking-cards__item-img {
  aspect-ratio: 1;
  border-radius: 0.75em;
  width: 30vw;
  margin-top: -1vw;
  object-fit: cover;
}

/* ---------- Top labels (exact metrics) ---------- */

.stacking-cards__item-top {
  justify-content: space-between;
  align-items: center;
  display: flex;
  position: absolute;
  top: 2.5em;
  left: 2.5em;
  right: 2.5em;
}

.stacking-card__top-span {
  font-size: 1em;
  font-weight: 500;
}
