/* Projects ("Our Projects") — three product cards.
   ≥1280: sticky text column + a column of three shots per card, up/down steppers.
   768–1279: text + one cover shot per card, no steppers.
   ≤767: Swiper slider (loop, 1 per view, 20px gap) with prev/next under it. */

.st-projects { position: relative; padding: 80px 0; color: var(--ink); }
.st-projects__container { padding: 0 64px; }

.st-projects__eyebrow {
  margin: 0 0 90px;
  font: 400 12px/18px var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* list of cards (desktop / tablet) */
.st-projects__list { display: flex; flex-direction: column; gap: 100px; }
.st-projects__card { position: relative; display: flex; align-items: flex-start; gap: 55px; }

.st-projects__aside { position: relative; flex: none; width: 100%; max-width: 405px; }
.st-projects__info { position: relative; }

.st-projects__tags { display: flex; margin: 0 0 40px; padding: 0; list-style: none; }
.st-projects__tag {
  display: flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 20px;
  border-radius: 30px;
  background: rgba(241, 241, 243, .08);
  font: 500 16px/12.5px var(--sans);
  white-space: nowrap;
}
.st-projects__tag--icon { padding: 0 16px; }
.st-projects__tag--icon img, .st-projects__flag { display: block; max-width: 100%; height: auto; }
.st-projects__tag--grant { gap: 6px; }
.st-projects__tag--grant::before {
  content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 10px rgba(25, 211, 176, .6);
}

.st-projects__title {
  margin: 0 0 42px; padding: 0 0 42px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font: 500 24px/135% var(--sans);
}
.st-projects__desc {
  max-width: 460px; margin: 24px 0 0;
  color: rgba(255, 255, 255, .9);
  font: 500 16px/155% var(--sans);
}

.st-projects__meta { display: flex; gap: 18px; margin-top: 20px; }
.st-projects__mark { flex: none; width: 64px; border-radius: 50%; overflow: clip; }
.st-projects__mark img { width: 100%; height: auto; }
.st-projects__name { font: italic 400 20px/1.5 var(--sans); }
.st-projects__status { color: rgba(255, 255, 255, .6); font: 400 14px/27px var(--sans); }

/* per-card up/down steppers (≥1280 only) */
.st-projects__steps { display: none; position: absolute; right: 0; bottom: 0; }
.st-projects__step {
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  transition: background-color .2s;
}
.st-projects__step svg { display: block; margin-bottom: 4px; } /* icon rides 2px above centre, as in the reference */

/* shots */
.st-projects__media { display: flex; flex-direction: column; gap: 10px; width: 100%; text-decoration: none; }
.st-projects__shot {
  display: none; width: 100%; height: auto; min-height: 516px;
  border-radius: 30px;
  object-fit: cover; object-position: 35% 50%;
}
.st-projects__shot--main { display: block; }

/* mobile slider controls (≤767 only) */
.st-projects__nav { display: none; }
.st-projects__nav-btn {
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff; cursor: pointer;
}
.st-projects__nav-btn svg { display: block; margin-bottom: 4px; }

.st-projects__cta { display: flex; align-items: center; justify-content: center; margin-top: 80px; }

/* below 1440 the CTA label drops to 16px */
@media (max-width: 1439px) { .st-projects__cta .st-btn { font-size: 16px; } }

/* ≥1280 — sticky text column, three shots per card */
@media (min-width: 1280px) {
  .st-projects__container { max-width: 1680px; margin: 0 auto; padding: 0 32px; }
  .st-projects__list { gap: 140px; }
  .st-projects__card { gap: 80px; }
  .st-projects__aside { position: sticky; top: 110px; }
  .st-projects__title { font-size: 36px; }
  .st-projects__desc { font-size: 20px; }
  .st-projects__name { font-size: 22px; }
  .st-projects__status { font-size: 16px; }
  .st-projects__steps { display: flex; }
  .st-projects__step:hover { background-color: rgba(255, 255, 255, .08); }
  .st-projects__shot { display: block; min-height: 0; border-radius: 40px; object-fit: fill; }
}
@media (min-width: 1440px) {
  .st-projects__list { gap: 240px; }
  .st-projects__card { gap: 110px; }
  .st-projects__aside { max-width: 520px; }
  .st-projects__status { font-weight: 500; }
}
@media (min-width: 1920px) {
  .st-projects__eyebrow { font-size: 14px; line-height: 21px; }
}
/* short desktop viewports: tighten the sticky column so it fits */
@media (min-width: 1280px) and (max-height: 800px) {
  .st-projects__tags { margin-bottom: 30px; }
  .st-projects__title { margin-bottom: 30px; padding-bottom: 30px; font-size: 30px; }
  .st-projects__desc { font-size: 18px; }
}
@media (min-width: 1440px) and (max-height: 800px) {
  .st-projects__desc { font-size: 20px; }
}

/* ≤991 — tablet */
@media (max-width: 991px) {
  .st-projects__container { padding: 0 48px; }
  .st-projects__eyebrow { margin-bottom: 70px; }
  .st-projects__card { gap: 40px; }
  .st-projects__aside { max-width: 316px; }
  .st-projects__tags { flex-wrap: wrap; }
  .st-projects__shot { min-height: 550px; object-position: 50% 50%; }
  .st-projects__card--botmaker .st-projects__shot--main { object-position: 10% 50%; }
  .st-projects__cta { margin-top: 60px; }
}

/* ≤767 — slider */
@media (max-width: 767px) {
  .st-projects__container { padding: 0 16px; }
  .st-projects__eyebrow { margin-bottom: 50px; }
  .st-projects__list { display: block; }
  .st-projects__list.swiper-wrapper { display: flex; flex-direction: row; gap: 0; }
  .st-projects__card { flex-direction: column; gap: 0; }
  .st-projects__aside { max-width: none; margin-bottom: 40px; }
  .st-projects__title { margin-bottom: 16px; padding-bottom: 16px; }
  .st-projects__desc { max-width: none; }
  .st-projects__status { line-height: 24px; }
  .st-projects__media { pointer-events: none; }
  .st-projects__shot, .st-projects__card--botmaker .st-projects__shot--main {
    min-height: 0; border-radius: 28px; object-position: 50% 25%;
  }
  .st-projects__nav { display: flex; margin-top: 50px; }
  .st-projects__cta { margin-top: 52px; }
}

/* ≤479 — short shots, full-width CTA */
@media (max-width: 479px) {
  .st-projects__shot { max-height: 214px; }
  .st-projects__cta .st-btn { width: 100%; }
  .st-projects__cta .st-btn__text { flex: 1; }
}
