/* assets/css/pages/stem.css
   Page-specific styles for stem.html.
   Structure:
   hero, overview split, kit/gallery split, jagged showcase list, and closer band.
*/

/* =========================================================
   01) TYPE / SMALL PAGE UTILITIES
========================================================= */

.page-stem .chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(11, 13, 18, 0.65);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.page-stem .gradient-title {
  background: linear-gradient(90deg, var(--peri), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.01em;
  padding-bottom: 5%;
}

.page-stem .stem-eyebrow {
  margin-bottom: 10px;
  color: rgba(209, 213, 219, 0.90);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-stem .stem-h2 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.page-stem .stem-body {
  max-width: 76ch;
  color: rgba(219, 234, 254, 0.92);
  font-size: 0.98rem;
  line-height: 1.85;
}

.page-stem .stem-body:last-child {
  margin-bottom: 0;
}

.page-stem .stem-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}


/* =========================================================
   02) IMAGE BANDS / HERO / CLOSER
========================================================= */

.page-stem .stem-bg-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  background-image: var(--band-image);
  background-size: 125%;
  background-position: 50% var(--bgY, 50%);
  background-repeat: no-repeat;
  animation: stemBandDrift 18s ease-in-out infinite alternate;
}

.page-stem .stem-bg-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 20% 15%, rgba(166, 255, 181, 0.14), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(142, 153, 251, 0.18), transparent 60%),
    linear-gradient(to bottom, rgba(11, 13, 18, 0.30), rgba(11, 13, 18, 0.88));
}

.page-stem .stem-hero-band {
  min-height: clamp(480px, 72vh, 760px);
  display: flex;
  align-items: flex-end;
}

.page-stem .stem-closer-band {
  min-height: clamp(340px, 54vh, 560px);
  display: flex;
  align-items: center;
  animation: none;
  background-position: 50% 50%;
  background-size: cover;
}

.page-stem .stem-hero-inner,
.page-stem .stem-band-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-stem .stem-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(300px, 0.78fr);
  gap: 18px;
  align-items: end;
  padding: clamp(22px, 3vw, 36px);
}

.page-stem .stem-hero-copy,
.page-stem .stem-panel {
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.50);
}

.page-stem .stem-hero-copy {
  padding: clamp(22px, 3vw, 34px);
}

.page-stem .stem-hero-title {
  max-width: 12ch;
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.page-stem .stem-sublead {
  max-width: 66ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.98rem;
  line-height: 1.85;
}

.page-stem .stem-panel {
  padding: 20px 18px 18px;
}

.page-stem .stem-panel-wide {
  max-width: min(860px, 92%);
  margin: 0 auto;
}


/* =========================================================
   03) SPLIT SECTIONS / KIT LIST
========================================================= */

.page-stem .stem-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.page-stem .stem-photo {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(11, 13, 18, 0.48);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.page-stem .stem-photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: brightness(0.80) contrast(1.05) saturate(1.10);
  transform: scale(1.01);
}

.page-stem .stem-bullet-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.88);
}

.page-stem .stem-bullet-list li {
  margin: 7px 0;
  line-height: 1.65;
}

.page-stem .stem-bullet-list-tight li {
  margin: 5px 0;
}


/* =========================================================
   04) PRODUCT GALLERY
========================================================= */

.page-stem .stem-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.page-stem .stem-gallery-card {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(5, 7, 11, 0.35);
}

.page-stem .stem-gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: brightness(0.82) contrast(1.04) saturate(1.08);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.page-stem .stem-gallery-card:hover img {
  transform: scale(1.04);
  filter: brightness(0.90) contrast(1.05) saturate(1.10);
}

.page-stem .stem-gallery-card figcaption {
  padding: 10px 12px 12px;
  color: rgba(226, 232, 240, 0.90);
  font-size: 0.84rem;
}


/* =========================================================
   05) JAGGED SHOWCASE LIST
   Dark-at-rest / brighter-on-hover version
========================================================= */

.page-stem .stem-list-showcase {
  position: relative;
  isolation: isolate;
  padding: clamp(76px, 8vw, 120px) 20px;
  background: transparent;
  overflow: visible;
}


.page-stem .stem-list-showcase::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -2;
  width: 100vw;
  transform: translateX(-50%);
  background:
    linear-gradient(
      90deg,
      rgba(8, 12, 20, 0.88) 0%,
      rgba(8, 12, 20, 0.68) 48%,
      rgba(8, 12, 20, 0.86) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(8, 12, 20, 0.30),
      rgba(8, 12, 20, 0.72)
    ),
    url("../../img/photos/different2.jpg") center 48% / cover no-repeat;

  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);

  box-shadow:
    inset 0 42px 76px rgba(0, 0, 0, 0.22),
    inset 0 -42px 76px rgba(0, 0, 0, 0.28);
}

.page-stem .stem-list-showcase::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  transform: translateX(-50%);
  background:
    radial-gradient(
      circle at 16% 18%,
      rgba(166, 255, 181, 0.10),
      transparent 42%
    ),
    radial-gradient(
      circle at 84% 16%,
      rgba(142, 153, 251, 0.12),
      transparent 46%
    );
  pointer-events: none;
}

.page-stem .stem-list-showcase-inner {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  margin: 0 auto;
}

.page-stem .stem-list-showcase-inner {
  width: min(980px, 100%);
  margin: 0 auto;
}

.page-stem .stem-list-showcase h2#stem-list-showcase-title {
  max-width: 820px;
  margin: 0 auto;
  color: #ffffff;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-align: center;
}

.page-stem .stem-list-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  gap: 22px;
  padding: 0;
  margin: clamp(44px, 5vw, 58px) auto 0;
  list-style: none;
}

.page-stem .stem-list-cards li {
  position: relative;
  min-height: 320px;
  padding: 96px 22px 28px;
  color: #ffffff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  isolation: isolate;
  transform: none;
  transition:
    transform 220ms ease,
    filter 220ms ease;
}

/* Dark offset plate behind the card */
.page-stem .stem-list-cards li::before {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -2;
  background:
    linear-gradient(
      135deg,
      rgba(166, 255, 181, 0.42) 0%,
      rgba(155, 231, 221, 0.38) 36%,
      rgba(142, 153, 251, 0.42) 72%,
      rgba(247, 243, 234, 0.22) 100%
    );
  transform: skew(1.6deg, 1.6deg);
  clip-path: polygon(
    0 0,
    calc(100% - 7px) 0,
    100% calc(100% - 4px),
    6px 100%
  );
  opacity: 0.34;
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    filter 220ms ease;
}

/* Dark card face with mint/peri corner accents */
.page-stem .stem-list-cards li::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(214, 255, 244, 0.98), rgba(166, 255, 181, 0.95) 45%, rgba(142, 153, 251, 0.88)) top left / 92px 2px no-repeat,
    linear-gradient(180deg, rgba(214, 255, 244, 0.98), rgba(166, 255, 181, 0.95) 45%, rgba(142, 153, 251, 0.88)) top left / 2px 92px no-repeat,

    linear-gradient(90deg, rgba(142, 153, 251, 0.88), rgba(166, 255, 181, 0.95) 55%, rgba(214, 255, 244, 0.98)) bottom right / 92px 2px no-repeat,
    linear-gradient(180deg, rgba(142, 153, 251, 0.88), rgba(166, 255, 181, 0.95) 55%, rgba(214, 255, 244, 0.98)) bottom right / 2px 92px no-repeat,

    radial-gradient(circle at 14% 8%, rgba(166, 255, 181, 0.035), transparent 42%),
    radial-gradient(circle at 88% 88%, rgba(142, 153, 251, 0.045), transparent 46%),
    rgba(8, 12, 20, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px) saturate(1.02);
  -webkit-backdrop-filter: blur(10px) saturate(1.02);
  clip-path: polygon(
    0 0,
    calc(100% - 3px) 0,
    100% 100%,
    3px 100%
  );
  box-shadow:
    0 14px 38px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.015);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

/* Subtle color variation so the grid does not feel stamped */
.page-stem .stem-list-cards li:nth-child(3n + 1)::before {
  background:
    linear-gradient(
      135deg,
      rgba(247, 243, 234, 0.24) 0%,
      rgba(166, 255, 181, 0.40) 38%,
      rgba(92, 200, 255, 0.34) 100%
    );
}

.page-stem .stem-list-cards li:nth-child(3n + 2)::before {
  background:
    linear-gradient(
      135deg,
      rgba(166, 255, 181, 0.36) 0%,
      rgba(125, 223, 214, 0.34) 42%,
      rgba(142, 153, 251, 0.42) 100%
    );
}

.page-stem .stem-list-cards li:nth-child(3n + 3)::before {
  background:
    linear-gradient(
      135deg,
      rgba(155, 231, 221, 0.38) 0%,
      rgba(92, 200, 255, 0.32) 42%,
      rgba(142, 153, 251, 0.42) 100%
    );
}

.page-stem .stem-list-cards li > h2 {
  position: absolute;
  top: 62px;
  right: 18px;
  z-index: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.08);
  font-size: clamp(5.2rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 0.75;
  letter-spacing: -0.09em;
  text-align: right;
  pointer-events: none;
  user-select: none;
  transition:
    color 220ms ease,
    transform 220ms ease;
}

.page-stem .stem-list-cards li > h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.90);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
  transition: color 220ms ease;
}

.page-stem .stem-list-cards li > p {
  position: relative;
  z-index: 2;
  max-width: 235px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.012em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.28);
  transition: color 220ms ease;
}

.page-stem .stem-list-cards li a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .page-stem .stem-list-cards li:hover {
    transform: translateY(-3px);
  }

  .page-stem .stem-list-cards li:hover::before {
    opacity: 0.72;
    transform: skew(1.6deg, 1.6deg) scale(1.012);
    filter: brightness(1.08) saturate(1.08);
  }

  .page-stem .stem-list-cards li:hover::after {
    background:
      linear-gradient(90deg, rgba(235, 255, 249, 1), rgba(166, 255, 181, 1) 44%, rgba(142, 153, 251, 0.96)) top left / 106px 2px no-repeat,
      linear-gradient(180deg, rgba(235, 255, 249, 1), rgba(166, 255, 181, 1) 44%, rgba(142, 153, 251, 0.96)) top left / 2px 106px no-repeat,

      linear-gradient(90deg, rgba(142, 153, 251, 0.96), rgba(166, 255, 181, 1) 56%, rgba(235, 255, 249, 1)) bottom right / 106px 2px no-repeat,
      linear-gradient(180deg, rgba(142, 153, 251, 0.96), rgba(166, 255, 181, 1) 56%, rgba(235, 255, 249, 1)) bottom right / 2px 106px no-repeat,

      radial-gradient(circle at 14% 8%, rgba(166, 255, 181, 0.09), transparent 42%),
      radial-gradient(circle at 88% 88%, rgba(142, 153, 251, 0.11), transparent 46%),
      rgba(14, 21, 34, 0.90);
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow:
      0 22px 58px rgba(0, 0, 0, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.045);
  }

  .page-stem .stem-list-cards li:hover > h2 {
    color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
  }

  .page-stem .stem-list-cards li:hover > h3 {
    color: rgba(255, 255, 255, 0.98);
  }

  .page-stem .stem-list-cards li:hover > p {
    color: rgba(255, 255, 255, 0.90);
  }
}


/* =========================================================
   06) COMMUNITY ECOSYSTEM
   Moved from collaboration.html and adapted to the STEM page
========================================================= */

.page-stem .stem-community-band {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(11, 13, 18, 0.58);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.page-stem .stem-community-head {
  max-width: 72ch;
  margin-bottom: 14px;
}

.page-stem .stem-community-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.page-stem .stem-community-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  padding: 18px;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(11, 13, 18, 0.58);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
  color: inherit;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.page-stem .stem-community-card:hover,
.page-stem .stem-community-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(166, 255, 181, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
    rgba(11, 13, 18, 0.68);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.34);
}

.page-stem .stem-community-card:focus-visible {
  outline: 2px solid rgba(166, 255, 181, 0.70);
  outline-offset: 3px;
}

.page-stem .stem-community-card-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.page-stem .stem-community-logo {
  width: auto;
  height: 42px;
  margin-bottom: 6px;
  object-fit: contain;
  object-position: left center;
  filter: none;
}

.page-stem .stem-community-title {
  margin: 0;
  color: rgba(255, 255, 255, 0.97);
  font-size: 1.2rem;
  line-height: 1.15;
}

.page-stem .stem-community-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(209, 213, 219, 0.92);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-stem .stem-community-copy {
  max-width: none;
  margin: 0;
  color: rgba(219, 234, 254, 0.90);
  font-size: 0.94rem;
  line-height: 1.75;
}


/* =========================================================
   07) COLLABORATION BAND
   Moved from collaboration.html and adapted to the STEM page
========================================================= */

.page-stem .stem-collaboration-band {
  min-height: clamp(320px, 52vh, 560px);
  display: flex;
  align-items: center;
  background-position: 50% var(--bgY, 50%);
}

.page-stem .stem-collaboration-band::before {
  background:
    radial-gradient(circle at 30% 35%, rgba(11, 13, 18, 0.08), transparent 60%),
    linear-gradient(to bottom, rgba(11, 13, 18, 0.38), rgba(11, 13, 18, 0.78));
}

.page-stem .stem-collaboration-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(980px, 92vw);
  padding: clamp(20px, 4vw, 44px);
}

.page-stem .stem-collaboration-title {
  max-width: 30ch;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.97);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.page-stem .stem-collaboration-body {
  max-width: 78ch;
  margin: 0;
  color: rgba(219, 234, 254, 0.92);
  font-size: 0.98rem;
  line-height: 1.85;
}


/* =========================================================
   08) ANIMATION / RESPONSIVE
========================================================= */

@keyframes stemBandDrift {
  from {
    background-size: 125%;
    background-position: 50% calc(var(--bgY, 50%) - 2%);
  }

  to {
    background-size: 145%;
    background-position: 50% calc(var(--bgY, 50%) + 2%);
  }
}

@media (max-width: 980px) {
  .page-stem .stem-hero-inner,
  .page-stem .stem-split {
    grid-template-columns: 1fr;
  }

  .page-stem .stem-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-stem .stem-panel-wide {
    max-width: 94%;
  }

  .page-stem .stem-community-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .page-stem .stem-list-showcase-inner {
    width: min(650px, 100%);
  }

  .page-stem .stem-list-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-stem .stem-list-cards li {
    min-height: 300px;
  }
}

@media (max-width: 900px), (pointer: coarse) {
  .page-stem .stem-hero-band {
    animation: none;
    background-position: 50% 50%;
    background-size: cover;
  }
}

@media (max-width: 640px) {
  .page-stem .page-shell {
    padding-top: calc(var(--header-h, 72px) + 18px);
    padding-bottom: 72px;
  }

  .page-stem .spacer-lg {
    height: 42px;
  }

  .page-stem .spacer-xl {
    height: 72px;
  }

  .page-stem .stem-hero-copy,
  .page-stem .stem-panel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-stem .stem-collaboration-inner {
    max-width: 100%;
    padding: 28px 20px;
  }

  .page-stem .stem-collaboration-title {
    max-width: 18ch;
  }

  .page-stem .stem-community-band {
    padding: 16px;
  }

  .page-stem .stem-community-grid {
    grid-template-columns: 1fr;
  }

  .page-stem .stem-community-card {
    min-height: auto;
  }

  .page-stem .stem-gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .page-stem .stem-list-showcase {
    padding: 58px 16px 72px;
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .page-stem .stem-list-showcase-inner {
    width: 100%;
  }

  .page-stem .stem-list-showcase h2#stem-list-showcase-title {
    text-align: left;
  }

  .page-stem .stem-list-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 36px;
  }

  .page-stem .stem-list-cards li {
    width: 100%;
    min-height: 255px;
    padding: 82px 20px 26px;
  }

  .page-stem .stem-list-cards li::before {
    inset: -4px;
    opacity: 0.52;
    transform: skew(1.2deg, 1.2deg);
    background-position: 58% center;
  }

  .page-stem .stem-list-cards li::after {
    background:
      linear-gradient(90deg, rgba(230, 255, 247, 0.98), rgba(166, 255, 181, 0.96) 44%, rgba(142, 153, 251, 0.90)) top left / 82px 2px no-repeat,
      linear-gradient(180deg, rgba(230, 255, 247, 0.98), rgba(166, 255, 181, 0.96) 44%, rgba(142, 153, 251, 0.90)) top left / 2px 82px no-repeat,

      linear-gradient(90deg, rgba(142, 153, 251, 0.90), rgba(166, 255, 181, 0.96) 56%, rgba(230, 255, 247, 0.98)) bottom right / 82px 2px no-repeat,
      linear-gradient(180deg, rgba(142, 153, 251, 0.90), rgba(166, 255, 181, 0.96) 56%, rgba(230, 255, 247, 0.98)) bottom right / 2px 82px no-repeat,

      radial-gradient(circle at 14% 8%, rgba(166, 255, 181, 0.07), transparent 42%),
      radial-gradient(circle at 88% 88%, rgba(142, 153, 251, 0.08), transparent 46%),
      rgba(12, 18, 30, 0.88);
    border-color: rgba(255, 255, 255, 0.07);
    box-shadow:
      0 18px 48px rgba(0, 0, 0, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.03);
  }

  .page-stem .stem-list-cards li > h2 {
    top: 54px;
    right: 18px;
    color: rgba(255, 255, 255, 0.15);
    font-size: 5.25rem;
  }

  .page-stem .stem-list-cards li > h3 {
    color: rgba(255, 255, 255, 0.96);
  }

  .page-stem .stem-list-cards li > p {
    max-width: 88%;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.38;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-stem .stem-bg-band,
  .page-stem .stem-list-cards li,
  .page-stem .stem-list-cards li::before,
  .page-stem .stem-list-cards li::after,
  .page-stem .stem-list-cards li > h2 {
    transition: none;
    animation: none;
  }

  .page-stem .stem-list-cards li:hover {
    transform: none;
  }
}