/* Photographic openings for the people, places and decisions behind a residence. */
.scene { min-width: 0; margin: 0; }
.scene-frame { overflow: hidden; background: #e7e3d8; }
.scene-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.scene.frame-lower img { object-position: 50% 70%; }
.scene.frame-upper img { object-position: 50% 32%; }
.scene figcaption {
  margin: .47rem 0 0;
  color: #59645b;
  font: 450 .82rem/1.4 var(--pn-text);
}
.story-link {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  min-height: 44px;
  padding-block: .45rem;
  color: #244e43;
  font: 550 1rem/1.4 var(--pn-text);
  text-decoration: underline;
  text-underline-offset: .25em;
  text-decoration-thickness: 1px;
}
.story-link span { font-size: 1.22em; }
.story-link:hover { color: #795636; }

/* A place at the table and the people who make the introductions. */
.team-page { --page-width: 74rem; }
.team-cover { padding: 0; background: #153834; }
.team-welcome {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  max-width: 110rem;
  margin-inline: auto;
}
.team-welcome-copy {
  align-self: center;
  padding: clamp(2.3rem, 5vw, 5.7rem) clamp(2rem, 5.4vw, 6.2rem) clamp(2.3rem, 5vw, 5.7rem) max(var(--gutter), calc((100vw - 76rem) / 2));
}
.team-cover h1 {
  max-width: 16ch;
  margin: .8rem 0 1.05rem;
  font-size: clamp(2.9rem, 4.25vw, 4.35rem);
  line-height: 1.025;
  letter-spacing: -.043em;
}
.team-cover .eyebrow { color: #dbcca4; }
.team-cover .standfirst { color: #f3f1e8; max-width: 40ch; font: 400 clamp(1.08rem, 1.4vw, 1.26rem)/1.5 var(--pn-text); }
.team-directory { gap: .3rem 1.25rem; margin-top: 1.25rem; }
.team-scene { position: relative; min-height: clamp(24rem, 33vw, 34rem); }
.team-scene .scene-frame { position: absolute; inset: 0; }
.team-scene::after {
  content: ""; pointer-events: none; position: absolute; inset: auto 0 0;
  height: 4.8rem; background: linear-gradient(transparent, rgb(12 23 18 / .65));
}
.team-scene figcaption {
  position: absolute; z-index: 1; bottom: 1rem; left: clamp(1.2rem, 2.6vw, 2.7rem); right: 1rem;
  color: #fff; text-shadow: 0 1px 3px #182018;
}
.team-page .leadership .shell, .team-page .invitation .shell { max-width: 47rem; }
.team-page .leadership, .team-page .network, .team-page .invitation { padding-block: clamp(2.8rem, 5.2vw, 5.1rem); }
.network-spread {
  display: grid; grid-template-columns: minmax(0, .80fr) minmax(0, 1.2fr);
  gap: clamp(2.4rem, 5.3vw, 5.9rem); align-items: center;
}
.network-scene .scene-frame { aspect-ratio: 1 / 1.05; }
.network-list { gap: 1.35rem clamp(1.25rem, 2.5vw, 2.3rem); }
.team-page .invitation { background: #e9eee8; }
@media (min-width: 110rem) {
  .team-welcome-copy { padding-left: 17rem; }
}
@media (min-width: 721px) and (max-width: 59rem) {
  .team-welcome-copy { padding-inline: var(--gutter) 1.8rem; }
  .team-cover h1 { font-size: 3rem; }
  .network-spread { grid-template-columns: minmax(0, .64fr) minmax(0, 1.36fr); gap: 2rem; }
  .network-scene .scene-frame { aspect-ratio: 3 / 4; }
}

/* An illustration beside the topic index and directly above the detailed reading. */
.fact-layout {
  grid-template-columns: minmax(12.5rem, 15rem) minmax(0, 52rem);
  justify-content: space-between;
  column-gap: clamp(2.5rem, 5.5vw, 6rem);
  padding-top: clamp(2.2rem, 3.75vw, 3.9rem);
}
.fact-header h1 { max-width: 24ch; margin-top: .48rem; }
.fact-header { padding-bottom: 1.25rem; border-color: #c7c8b9; }
.fact-header .fact-scene { margin-top: 1.3rem; }
.fact-scene .scene-frame { aspect-ratio: 2.3 / 1; }
.fact-header .story-link { margin-top: .28rem; }
.fact-section h2 { font: 400 clamp(1.55rem, 2.2vw, 2rem)/1.2 var(--pn-display); letter-spacing: -.028em; }
.fact-section + .fact-section { padding-top: 2.05rem; }
.reading-invitation {
  margin: 2.2rem 0 0; padding: clamp(1.3rem, 2.4vw, 2.15rem);
  background: #e9eee8;
}
.reading-invitation h2 { font: 400 clamp(1.6rem, 2vw, 2.06rem)/1.15 var(--pn-display); letter-spacing: -.025em; }
.reading-invitation p { margin-top: .6rem; max-width: 58ch; }
.reading-invitation .story-link { margin-top: .2rem; }
.fact-side .fact-label { font: 400 1.65rem/1.2 var(--pn-display); }
.fact-layout nav a[aria-current] { background: #eef0e7; border-color: #8a7050; }
.home-scene { margin-top: 1.4rem; max-width: 25rem; }
.home-scene .scene-frame { aspect-ratio: 1.8; }

/* Editorial openers use a readable text panel and a consistent photographic proportion. */
.chapter-spread, .profile-head .place-spread, .enquiry-spread {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center; gap: clamp(2rem, 5.2vw, 6rem);
}
.ug-hero { background: #efede5; border-bottom: 1px solid #d9d7cc; }
.ug-hero-inner.chapter-spread, .profile-head .place-spread {
  padding-block: clamp(1.85rem, 3.1vw, 3.25rem);
}
.chapter-spread h1 { max-width: 18ch; line-height: 1.06; }
.ug-cover-copy p { font: 400 clamp(1.08rem, 1.35vw, 1.21rem)/1.5 var(--pn-text); max-width: 46ch; }
.chapter-spread .scene-frame { aspect-ratio: 1.92; }
.ug-hero .ug-hero-link { min-height: 44px; padding-top: .5rem; margin-top: .45rem; }
.profile-head { background: #f1efe7; }
.place-spread .profile-intro { display: block; margin-top: 1.4rem; }
.place-spread h1 { margin-bottom: .75rem; font-size: clamp(2.75rem, 4.8vw, 4.6rem); }
.place-spread .story-link { margin-top: .6rem; }
.place-scene .scene-frame, .enquiry-scene .scene-frame { aspect-ratio: 1.82; }
.enquiry-cover, .healthcare-cover { padding-block: clamp(1.75rem, 3.25vw, 3.6rem); background: #eeece2; }
.enquiry-spread h1 { max-width: 16ch; }
.enquiry-spread .standfirst { max-width: 46ch; }
.enquiry-spread .story-link { margin-top: .4rem; }
.enquiry-layout { padding-top: clamp(2rem, 3vw, 3.1rem); }
#enquiry { scroll-margin-top: 1.3rem; }

/* Illustrated contents keep all topic names, standfirsts and links together. */
.edit-grid { column-gap: clamp(2rem, 4vw, 4.1rem); }
.edit-item {
  display: grid; grid-template-columns: minmax(6rem, 32%) minmax(0, 1fr);
  gap: clamp(.85rem, 1.6vw, 1.35rem); align-content: start; align-items: start;
  padding: 1.35rem 0;
}
.edit-image { display: block; overflow: hidden; aspect-ratio: 11 / 8; background: #e7e3d8; }
.edit-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.edit-item h3 { margin: .26rem 0 .42rem; font: 400 clamp(1.28rem, 1.73vw, 1.62rem)/1.16 var(--pn-display); }
.edit-description p:not(.eyebrow) { font-size: 1.008rem; line-height: 1.44; }
.edit-item > .draw-arrow { display: none; }
@media (min-width: 721px) and (max-width: 56rem) {
  .edit-grid { grid-template-columns: minmax(0, 1fr); }
  .edit-item { grid-template-columns: 9.5rem minmax(0, 1fr); }
}
@media (max-width: 52rem) {
  .fact-layout { padding-top: .55rem; }
  .fact-picker { margin-bottom: 1.3rem; }
}
@media (max-width: 720px) {
  .team-welcome, .network-spread, .chapter-spread, .profile-head .place-spread, .enquiry-spread { grid-template-columns: minmax(0, 1fr); }
  .team-welcome { display: flex; flex-direction: column; }
  .team-welcome-copy { width: 100%; padding: 1.8rem var(--gutter) 1.25rem; }
  .team-cover h1 { max-width: 16ch; margin: .55rem 0 .7rem; font-size: clamp(2.55rem, 8.4vw, 3.55rem); }
  .team-cover .standfirst { max-width: 50ch; }
  .team-directory { flex-direction: row; gap: .2rem 1.2rem; margin-top: .55rem; }
  .team-scene { width: 100%; min-height: auto; aspect-ratio: 1.98; }
  .team-scene figcaption { bottom: .7rem; font-size: .76rem; }
  .network-spread { gap: 1.5rem; }
  .network-scene { grid-row: 2; }
  .network-scene .scene-frame { aspect-ratio: 1.85; }
  .team-page .leadership, .team-page .network, .team-page .invitation { padding-block: 2.35rem; }
  .chapter-spread, .enquiry-spread, .profile-head .place-spread { gap: 1.1rem; }
  .ug-hero-inner.chapter-spread, .profile-head .place-spread, .enquiry-cover, .healthcare-cover { padding-block: 1.5rem; }
  .chapter-spread h1 { font-size: clamp(2.25rem, 7.5vw, 3.2rem); margin: .5rem 0 .7rem; }
  .place-spread .profile-intro { margin-top: .75rem; }
  .place-spread h1 { font-size: clamp(2.6rem, 8.4vw, 3.25rem); }
  .fact-scene .scene-frame { aspect-ratio: 1.89; }
  .fact-header .fact-scene { margin-top: 1.05rem; }
  .fact-column { max-width: none; }
  .place-spread .story-link { margin-top: .25rem; }
  .chapter-spread .scene-frame, .place-scene .scene-frame, .enquiry-scene .scene-frame { aspect-ratio: 2.03; }
  .home-scene { margin-top: .95rem; }
  .edit-grid { grid-template-columns: minmax(0, 1fr); }
  .edit-item { grid-template-columns: minmax(5.25rem, 29%) minmax(0, 1fr); gap: .85rem; padding-block: 1.15rem; }
}
@media print {
  .scene, .edit-image, .reading-invitation, .story-link, .team-directory { display: none; }
  .team-welcome, .network-spread, .chapter-spread, .profile-head .place-spread, .enquiry-spread, .edit-item { display: block; }
  .team-welcome-copy, .ug-hero-inner.chapter-spread, .profile-head .place-spread { padding: 0; }
  .team-cover, .team-cover .standfirst, .team-cover h1 { background: white; color: #111; }
}
@media (max-width: 720px) {
  .enquiry-layout > div { grid-row: 1; }
  .form-aside { grid-row: 2; }
}
.team-scene img { object-position: 70% 52%; }
.network-scene img { object-position: 53% 47%; }
