/* The city photograph opens out inside a fixed-height scroll stage. */
.hero-scene[data-motion-ready] {
  height: 125svh;
}
.hero-scene[data-motion-ready] .hero-stage {
  position: sticky;
  top: 0;
  height: 100svh;
}
.hero-scene[data-motion-ready] .hero-frame {
  position: absolute;
  top: 0;
  inset-inline: var(--scene-inset, 24px);
  height: var(--scene-height, 100%);
  border-radius: var(--scene-radius, 20px);
  transform: none;
}
.hero-scene .hero-credit {
  padding-bottom: max(1.15rem, env(safe-area-inset-bottom));
  text-shadow: 0 1px 4px #092741;
}

/* Academic photographs have individually chosen composition and tone. */
body[data-page]:not([data-page='home']) .page-masthead {
  border-bottom: 0;
  padding-bottom: clamp(2.2rem, 5vw, 4.5rem);
}
.editorial-photo {
  --image-ratio: 2.45;
  --image-position: center;
  margin-inline: auto;
  color: #3e5562;
}
.editorial-photo-frame {
  aspect-ratio: var(--image-ratio);
  overflow: hidden;
  background: var(--navy);
}
.editorial-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--image-position);
  transform: scale(var(--photo-zoom, 1));
}
.editorial-photo figcaption {
  width: calc(100% - 112px);
  max-width: 1320px;
  margin-inline: auto;
  padding-block: .65rem .2rem;
  font-size: .8125rem;
  line-height: 1.5;
}
.editorial-photo figcaption a { text-decoration: underline; text-underline-offset: .2em; }
.editorial-photo--about { --image-position: 50% 60%; }
.editorial-photo--pathways {
  --image-position: 50% 50%;
  width: min(1320px, calc(100% - 112px));
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.editorial-photo--pathways figcaption { width: 100%; }
.editorial-photo--international { --image-position: 50% 46%; --image-ratio: 3.3; }
.editorial-photo--international .editorial-image { filter: brightness(.84) saturate(.82); }
.editorial-photo--university { --image-position: 50% 54%; --image-ratio: 2.7; }
.editorial-photo--admissions { --image-position: 50% 44%; --image-ratio: 2.8; }
.masthead-copy .editorial-action { margin-top: 1rem; }
.about-context { border-block: 1px solid var(--line); }
.about-context .section-intro { max-width: 65ch; }
.editorial-credit-note { margin-bottom: 3rem; }

/* Horizontal bars start at zero and carry their exact values in the text. */
.editorial-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(1rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(1.75rem, 4vw, 3.25rem);
}
.editorial-section-heading h2 { max-width: 17ch; }
.editorial-section-heading p { max-width: 50ch; }
.data-source {
  display: inline-block;
  margin-top: 1rem;
  font-size: .8125rem;
  line-height: 1.55;
}
a.data-source { text-decoration: underline; text-underline-offset: .24em; }
.research-feature, .hours-feature, .trend-feature { padding-block: clamp(2.8rem, 6vw, 6rem); }
.research-feature {
  color: #f8f7f2;
  background: var(--navy);
}
.research-feature .editorial-section-heading p, .research-stages p { color: #dbe7ec; }
.research-stages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 3.25vw, 3.3rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.research-stages li { border-top: 1px solid #6e918c; padding-top: 1.2rem; }
.research-icon { width: 31px; height: 31px; margin-bottom: .5rem; color: #a7d9c1; }
.research-stages h3 { margin-bottom: .5rem; }
.research-example { margin-top: 2rem; max-width: 68ch; }
.research-feature .data-source { color: #afcfc8; }
.editorial-evidence {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(1.25rem, 5vw, 5rem);
  border-top: 1px solid #aabfb3;
  padding-block: clamp(2rem, 4vw, 4rem);
}
.editorial-evidence .data-source { color: var(--green); }
.hours-feature { background: #e9eee6; }
.hours-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.hours-programme { background: var(--cream); border-top: 3px solid var(--navy); padding: clamp(1rem, 3vw, 2rem); }
.hours-programme--green { border-color: var(--green); }
.hours-programme ul, .trend-figure ol { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.hours-programme li + li { margin-top: .95rem; }
.hours-label { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.hours-label strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.hours-track, .trend-track { background: #dfe7dd; height: .55rem; margin-top: .4rem; }
.hours-track span, .trend-track span { display: block; height: 100%; width: calc(100% * var(--bar-size)); background: var(--navy); }
.hours-programme--green .hours-track span { background: var(--green); }
.hours-programme .data-source { color: var(--green); }
.trend-feature { background: #edf0e9; border-block: 1px solid var(--line); }
.trend-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: start; gap: clamp(1.75rem, 6vw, 6rem); }
.trend-lead { display: block; color: var(--green); font-weight: 530; letter-spacing: -.045em; font-size: clamp(2.2rem, 5.4vw, 5rem); line-height: 1.05; margin: 1.35rem 0 .6rem; }
.trend-layout > div > p { max-width: 41ch; }
.trend-figure { padding: clamp(1rem, 3vw, 2.4rem); background: var(--cream); border-top: 3px solid var(--green); }
.trend-figure figcaption { color: #455b65; font-size: .9rem; }
.trend-figure ol { display: grid; gap: .65rem; }
.trend-figure li { display: grid; grid-template-columns: 5rem minmax(0, 1fr) 4.75rem; gap: .65rem; align-items: center; font-size: .875rem; }
.trend-figure strong { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.trend-track { height: .65rem; margin: 0; }
.trend-track span { background: var(--green); }
.trend-figure .data-source { color: var(--green); }

@media (max-width: 1050px) {
  .editorial-photo figcaption, .editorial-photo--pathways { width: calc(100% - 64px); }
  .editorial-photo--pathways figcaption { width: 100%; }
}
@media (max-width: 700px) {
  .hero-scene[data-motion-ready] { height: 118svh; }
  .editorial-photo { --image-ratio: 1.45; }
  .editorial-photo--library { --image-ratio: 1.65; }
  .editorial-photo figcaption, .editorial-photo--pathways { width: calc(100% - 40px); }
  .editorial-photo--pathways figcaption { width: 100%; }
  .editorial-section-heading, .editorial-evidence, .hours-grid, .trend-layout { grid-template-columns: minmax(0, 1fr); }
  .research-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .research-stages p { font-size: .9375rem; }
  .trend-figure li { grid-template-columns: 4.35rem minmax(0, 1fr) 4rem; gap: .4rem; font-size: .8125rem; }
  .hours-label { gap: .5rem; font-size: .9375rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scene[data-motion-ready] { height: auto; }
  .hero-scene[data-motion-ready] .hero-stage { position: static; height: auto; }
  .hero-scene[data-motion-ready] .hero-frame { position: relative; inset: auto; height: clamp(320px, 55vw, 710px); }
  .editorial-image { transform: none; }
}
