/* SCENE 15 — GRMH TRUST (warm bone). Parallax still band, three
   alternating pillar bands with 1px monoline illustrations, four
   quiet pill CTAs. CSS keeps everything visible by default:
   hidden/initial states are set only in the non-static JS branch. */

.s15 { padding-block: 150px 150px; }

.s15-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.s15-name { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
.s15 .pill {
  color: var(--earth);
  border-color: rgba(156, 85, 51, .3);
  position: relative;
  top: -4px; /* baseline nudge; transform stays free for the JS tweens */
}

.s15-h2 {
  margin-top: var(--rhythm-eyebrow);
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  max-width: 26ch;
}
.s15-h2 + .s15-body { margin-top: var(--rhythm-headline); }

/* ---------- parallax still band ---------- */

.s15-band {
  position: relative;
  height: 56vh;
  margin-top: 120px;
  overflow: hidden;
}
.s15-media {
  position: absolute;
  inset: -12% 0; /* travel headroom: the scrub never reveals an edge */
  will-change: transform;
}
/* warm bone wash so the band belongs to the chapter */
.s15-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(243, 240, 232, .5) 0%,
    rgba(243, 240, 232, 0) 30%,
    rgba(243, 240, 232, 0) 70%,
    rgba(243, 240, 232, .55) 100%);
}

/* ---------- three pillars as alternating ruled bands ---------- */

.s15-pillars { margin-top: 120px; }

.s15-pillar {
  position: relative;
  padding-block: 72px;
}
.s15-pillar-rule {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: .4;
}

.s15-pillar-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  column-gap: calc(var(--gutter) * 2);
  align-items: center;
}
.s15-pillar:nth-child(even) .s15-pillar-grid {
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
}
.s15-pillar:nth-child(even) .s15-pillar-text { order: 2; }
.s15-pillar:nth-child(even) .s15-pillar-art { order: 1; justify-self: start; }

.s15-pillar-title { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.s15-pillar-title + .s15-pillar-line { margin-top: 20px; }

.s15-pillar-art {
  color: var(--earth);
  width: 100%;
  max-width: 300px;
  justify-self: end;
}
.s15-pillar-art svg {
  width: 100%;
  height: auto;
  opacity: .9;
}

/* ---------- four quiet pill CTAs ---------- */

.s15-ctas {
  margin-top: 120px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.s15-cta {
  display: inline-block;
  padding: 13px 26px;
  border: 1px solid rgba(156, 85, 51, .3);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 300;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.s15-cta:hover {
  border-color: var(--earth);
  background: rgba(156, 85, 51, .07);
}

@media (max-width: 899px) {
  .s15 { padding-block: 104px 104px; }
  .s15-band { height: 44vh; margin-top: 88px; }
  .s15-pillars { margin-top: 88px; }
  .s15-pillar { padding-block: 56px; }
  .s15-pillar-grid,
  .s15-pillar:nth-child(even) .s15-pillar-grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
  .s15-pillar:nth-child(even) .s15-pillar-text { order: 1; }
  .s15-pillar:nth-child(even) .s15-pillar-art { order: 2; }
  .s15-pillar-art { justify-self: start; max-width: 240px; }
  .s15-ctas { margin-top: 88px; }
}
@media (max-width: 480px) {
  .s15 .pill { white-space: normal; }
}
