/* The source manifest supplies a focal point and a protected subject for each scene. */
body[class] .photo img[data-subject],
body.page-consultation .c-photo-window img[data-subject] {
  box-sizing:border-box;
  background:linear-gradient(140deg,#eee7d9,#d4c9b3);
  padding:var(--frame-inset,0);
  object-fit:cover;
  object-position:var(--frame-position,var(--image-focus,50% 36%));
  transform:none;
  scale:1;
}
.c-photo-meeting {--image-focus:50% 9%}
.c-photo-remote {--image-focus:42% 0%}
.c-photo-paperwork {--image-focus:50% 46%}

/* The two press-style mastheads reserve a separate area for the type plate.
   This keeps the heading and the audience visually independent. */
@media (min-width:768px) {
  body[class] .rc-main>.rc-tone>.rc-cover {display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);align-items:stretch;min-height:clamp(340px,29vw,550px)}
  body[class] .rc-cover .opening-art {position:relative!important;inset:auto;z-index:auto;min-width:0;height:auto}
  body[class] .rc-cover .opening-text {width:auto;align-self:center}
}
/* Mid-size screens need a landscape photo when several faces span the frame. */
@media (min-width:768px) and (max-width:960px) {
  body.page-consultation .rc-tone .c-hero {display:flex;flex-direction:column;align-items:stretch}
  body.page-consultation .c-hero .c-photo-meeting {height:clamp(300px,46vw,420px);width:100%;flex:none}
  body[class] .rc-main .home-agenda,body[class] .rc-main .section.story-split {grid-template-columns:minmax(0,1fr)}
  .home-agenda-photo,.story-image {width:100%;aspect-ratio:2.1}
}
/* Reserve a landscape frame for the three people on the home cover. */
@media (min-width:768px) and (max-width:1199px) {
  .page-index #main .opening-cover {display:flex;flex-direction:column;align-items:stretch}
  .page-index #main .opening-cover .opening-art {width:100%;height:clamp(330px,46vw,480px);flex:none}
}
@media (min-width:1200px) and (max-width:1499px) {
  .page-index #main .opening-cover {grid-template-columns:48% 52%}
  body.page-index #main .opening-cover .opening-text {padding:2vw 1vw 2vw 2vw}
  .page-index #main .opening-cover .hero-seal {width:6.5vw}
  .page-index #main .opening-cover h1 {font-size:clamp(48px,3.35vw,52px)}
}
/* Keep the original Р-shaped photo mask. Allow more of the upper-right corner
   to show so that the third participant remains inside its curved edge. */
.page-index .opening-cover .scene .photo-crop {
  mask-size:118% 100%;
  mask-position:left center;
}
body[class] .rc-wide-band .rc-band-caption {top:auto;bottom:0}

@media (min-width:768px) {
  body[class] .rc-wide-band .photo img {height:clamp(260px,32vw,690px)}
  .home-agenda-photo {min-height:clamp(320px,26vw,420px)}
}
@media (min-width:768px) and (max-width:960px) {
  body[class] .rc-main>.rc-tone>.rc-split:has([data-scene="lending"],[data-scene="legal"],[data-scene="project-map"],[data-scene="meeting-room"],[data-scene="press"]),
  body.page-event .rc-main>.rc-tone>.rc-cover,
  body.page-support .text-photo.rc-edge-section:has([data-scene="first-visit"]) {
    display:flex;flex-direction:column;align-items:stretch;
  }
  body[class] .rc-split:has([data-scene="lending"],[data-scene="legal"],[data-scene="project-map"],[data-scene="meeting-room"],[data-scene="press"]) .opening-art,
  body.page-event .rc-cover .opening-art,
  body.page-support .rc-edge-section>.photo[data-scene="first-visit"] {
    width:100%;height:clamp(300px,48vw,420px);min-height:0;flex:none;
  }
  .home-agenda-photo {aspect-ratio:1.62;min-height:0}
  .story-image:has([data-scene="audio"]) {aspect-ratio:1.75}
}
/* These slots have a fixed aspect ratio. Their focal point stays stable as
   responsive image sources load, including a cached return to this page. */
@media (max-width:767px) {
  body.page-index .home-agenda-photo img[data-subject],
  body.page-index .story-image img[data-subject] {object-position:var(--image-focus)}
}
@media (min-width:768px) and (max-width:960px) {
  body.page-event .rc-cover .photo img[data-subject] {object-position:var(--image-focus)}
}

/* The first-visit photograph extends to every edge. A wider column keeps
   the visitor and receptionist together at the taller desktop crop. */
#support-1 .photo img[data-subject] {padding:0}
@media (min-width:1280px) {
  #support-1 .text-photo.rc-edge-section {grid-template-columns:minmax(0,1fr) max(56%,min(66vw,850px))}
}
@media (min-width:961px) and (max-width:1279px) {
  #support-1 .text-photo.rc-edge-section {display:flex;flex-direction:column;align-items:stretch}
  #support-1 .rc-edge-section>.photo {width:100%;height:clamp(390px,45vw,540px);min-height:0;flex:none}
}
