/* =========================================================
   Solid Core Digital — Alderlock Range & Museum case study
   Loads after project.css (shared case-study template).
   Only the values where the Alderlock Figma frame (1440 × 4900) differs from the template.
   ========================================================= */

/* ---------- Hero ---------- */
@media (min-width: 1101px) {
  .page-alderlock .phero__copy { margin-top: 159px; }
  .page-alderlock .phero__visual { margin-top: 142px; }
}
.page-alderlock .phero__tag { margin-bottom: 6px; font-weight: 500; }
.page-alderlock .phero__title .grad-text { white-space: nowrap; }
.page-alderlock .phero__title { font-size: 60px; line-height: 62px; letter-spacing: -1.3px; margin-bottom: 24px; }
.page-alderlock .phero__lead { margin-bottom: 14px; }
.page-alderlock .ppills { margin-top: 35px; }
@media (min-width: 1440px) {
  .page-alderlock .phero__inner { padding-left: 108px; padding-right: 94.67px; }
}
@media (max-width: 1439px) {
  .page-alderlock .phero__inner { padding-left: clamp(24px, 7.5vw, 108px); }
}

/* ---------- Concept preview + context ---------- */
.page-alderlock .pctx { min-height: 1276px; padding-bottom: 43.75px; }
.page-alderlock .pctx__bg { bottom: -6px; }
.page-alderlock .concept-pill { border-width: 1px; padding: 0 13px; }
@media (min-width: 1200px) { .page-alderlock .lap2-wrap { translate: 0 0; } }
.page-alderlock .ctx { margin-top: 144.75px; }

.page-alderlock .preserved--list { height: 290px; gap: 16px; }
.page-alderlock .preserved--list .preserved__title { margin-bottom: 16px; }

/* ---------- Three key changes ---------- */
.page-alderlock .changes__inner { padding-top: 114px; padding-bottom: 25.2px; }
.page-alderlock .changes__head { margin-top: 20px; }
.page-alderlock .changes__grid { margin-top: 48px; }
/* Figma stretches the first preview vertically (image fill at 559.75% height) — reproduced as designed */
.change__mock--stretch img { width: 100%; height: 559.75%; max-width: none; }
.page-alderlock .change__text--tight { line-height: 20px; }
@media (min-width: 1280px) {
  .page-alderlock .change__text--wide { width: calc(100% + 4.67px); max-width: none; }
}

/* bubbles: Figma positions for this frame */
.page-alderlock .pbub--tr { right: 2px; top: 6px; width: 170px; height: 162px; }
.page-alderlock .pbub--tr .pbub__ring { left: 8px; top: 0; width: 162px; height: 162px; border-width: .555px; }
.page-alderlock .pbub--tr .pbub__orb { left: 0; top: .37px; width: 129.79px; height: 120.54px; }
.page-alderlock .pbub--bl { left: -6px; top: auto; bottom: 7px; width: 140px; height: 146px; }
.page-alderlock .pbub--bl .pbub__ring { left: 0; top: 0; width: 140px; height: 140px; border-width: .555px; }
.page-alderlock .pbub--bl .pbub__orb { left: 40px; top: 46px; width: 100px; height: 100px; }

/* ---------- Specs · status · CTA · next project ---------- */
.page-alderlock .pspec { padding-top: 62px; padding-bottom: 86px; }
.page-alderlock .pspec__bg { bottom: 0; }
.page-alderlock .pspec__bg img { object-position: 50% 55.57%; }
@media (min-width: 1280px) {
  .page-alderlock .spec-grid { margin-left: -16px; }
}
.page-alderlock .status { margin-top: 53.44px; }
.page-alderlock .pcta { margin-top: 45.37px; }

.next--valvepine { margin-top: 45px; min-height: 522px; border: 1px solid #e5e7eb; }
@media (min-width: 1280px) {
  .next--valvepine { width: calc(100% + 52px); margin-left: -26px; }
  .next--valvepine .next__grid { margin: 0 70px 0 30px; }
  .next--valvepine .pager { margin: 68.5px 49px 0 51px; }
}
.next--valvepine .next__bg { inset: 0; }
.next--valvepine .next__bg::before {
  inset: 0; opacity: .4;
  background: url("../img/work-valvepine-v2.webp") no-repeat 48.1% 22.17% / 111.06% auto;
}
.next--valvepine .next__bg::after { inset: 0; background: rgba(15, 23, 42, .6); }
.next--valvepine .next__thumb:hover > img { transform: translateY(-13.17%); } /* same pixel nudge as before on the taller screenshot */
.next--valvepine .next__head { height: 40px; margin-bottom: 34px; }
.next--valvepine .next__title a { padding-block: 0; }
.next--valvepine .next__text { display: flex; align-items: center; min-height: 92px; margin-bottom: 0; }

@media (max-width: 1279px) {
  .page-alderlock .ctx__title .br-desk, .page-alderlock .ctx__lead .br-desk,
  .page-alderlock .change__title .br-desk, .page-alderlock .change__text .br-desk { display: none; }
  .page-alderlock .changes__inner { padding-bottom: 120px; }
  .page-alderlock .preserved--list { height: auto; min-height: 290px; }
  .next--valvepine .next__head { height: auto; margin-bottom: 16px; }
  .next--valvepine .next__text { min-height: 0; margin-bottom: 16px; }
}
@media (max-width: 1023px) {
  .page-alderlock .pctx { min-height: 0; padding-bottom: 72px; }
  .page-alderlock .ctx { margin-top: 88px; }
  .page-alderlock .preserved--list { height: auto; }
  .page-alderlock .changes__inner { padding: 96px 24px 120px; }
  .page-alderlock .changes__head { margin-top: 24px; }
  .page-alderlock .changes__grid { margin-top: 44px; }
  .page-alderlock .pspec { padding-top: 72px; padding-bottom: 72px; }
  .page-alderlock .status { margin-top: 32px; }
  .next--valvepine .next__bg::before { opacity: .15; background-size: 190% auto; background-position: 40% 27%; }
}
@media (max-width: 767px) {
  .page-alderlock .phero__title { font-size: clamp(40px, 11.5vw, 52px); line-height: 1.1; }
  .page-alderlock .pctx { padding-bottom: 56px; }
  .page-alderlock .ctx { margin-top: 56px; }
  .page-alderlock .ctx__title br, .page-alderlock .ctx__lead .br-desk { display: none; }
  .page-alderlock .preserved--list { min-height: 0; }
  .page-alderlock .changes__inner { padding: 72px 20px 110px; }
  .page-alderlock .pspec { padding: 56px 16px 48px; }
  .page-alderlock .pcta, .next--valvepine { margin-top: 32px; }
  .next--valvepine { min-height: 0; }
  .next--valvepine .next__text { margin-bottom: 20px; }
}

/* ≥1441: keep the blue wave anchored at the bottom of the light section, as in the 1440 frame */
@media (min-width: 1441px) {
  .page-alderlock .pspec__bg img { position: absolute; left: 0; width: 100%; height: auto; bottom: -21.3vw; object-fit: fill; }
}
