/* Fixed media frames own clipping. GSAP owns only their image transforms. */
.story-study > .media { aspect-ratio: 1.6; background: var(--violet-soft); }
.practice-media .media,
.science-record-gallery figure .media { aspect-ratio: 3 / 2; }
.science-record-gallery figure .media > img { height: 100%; }
.feature-media .media { aspect-ratio: 3 / 2; max-height: 26rem; }
.feature-media .media > img { height: 100%; max-height: none; aspect-ratio: auto; }
.wide-media .media { aspect-ratio: 16 / 7; border-radius: 0; }
.wide-media .media > img { height: 100%; aspect-ratio: auto; }
.people-list .media { aspect-ratio: 4 / 5; margin: 0 0 1.5rem; }
.people-list .media > .specialist-portrait { height: 100%; margin-bottom: 0; }
.interior-hero-media .media { position: relative; border-radius: 0; background: none; }
.company-hero .interior-hero-media .media { height: clamp(20rem, 37vw, 38rem); }
.science-hero .interior-hero-media .media,
.contact-hero .interior-hero-media .media { flex: 1; min-height: 35rem; }
.interior-story .interior-hero-media .media > img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; }
.research-timeline li::before { background: color-mix(in srgb, var(--aqueous-deep) 22%, transparent); }
.research-timeline li::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--research-axis, 1.25rem) - 0.5px);
  width: 1px; background: var(--aqueous-deep); transform-origin: top;
  transform: scaleY(var(--stage-progress, 0)); pointer-events: none;
}
.research-timeline li:last-child::after { display: none; }
/* SEC-010: a quiet reading rule precedes each daily-life consideration. */
.daily-life-considerations > div { position: relative; border-top-color: transparent; }
.daily-life-considerations > div::before {
  content: ""; position: absolute; inset: -1px 0 auto; height: 1px;
  background: var(--rule-soft); transform-origin: left; transform: scaleX(var(--rule-progress, 1));
  pointer-events: none;
}
@media (max-width: 1120px) {
  .science-hero .interior-hero-media .media,
  .contact-hero .interior-hero-media .media { flex: none; min-height: 0; height: 28rem; }
}
@media (max-width: 760px) {
  .interior-story .interior-hero-media .media { flex: none; min-height: 0; height: auto; aspect-ratio: 4 / 3; }
  .wide-media .media { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .research-timeline li::after { transform: none; }
}
