/* The wider layout has its own proportions; narrow screens retain their styles. */
@media(min-width:1024px){
  /* Four programmes remain visible together. */
  #massage .massage-rail{
    --desktop-card-gap:24px;
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:calc((100% - 3*var(--desktop-card-gap))/4);
    grid-template-columns:none;
    align-items:start;
    gap:var(--desktop-card-gap);
    width:100%;
    padding:0;
    overflow-x:hidden;
    overflow-y:visible;
    scroll-snap-type:none;
  }
  #massage .massage-card{min-width:0;align-self:start}
  #massage .massage-card>img{
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:1;
    object-fit:cover;
    filter:saturate(.8) brightness(.9);
    transition:filter .3s ease;
  }
  #massage .massage-card.is-active>img{filter:saturate(.8) brightness(.9)}
  #massage .massage-card:is(:hover,:focus-within)>img{filter:saturate(.85) brightness(1)}
  #massage .massage-card h3{min-height:52px;margin:18px 0 0;font:400 20px/26px Onest,Arial,sans-serif}
  #massage .massage-card .massage-description{min-height:72px;margin:8px 0 0;font:300 16px/24px Onest,Arial,sans-serif}
  #massage .massage-options{gap:0;margin-top:16px}
  #massage .massage-options .massage-book{min-height:44px;padding:6px 0;gap:10px}
  #massage .massage-duration,
  #massage .massage-book strong{font:300 16px/24px Onest,Arial,sans-serif}
  #massage .massage-duration{min-height:32px;padding:3px 10px}
  #massage .massage-card-details{margin-top:8px}
  #massage .massage-details-trigger{min-height:40px;padding:8px 0;font:300 16px/24px Onest,Arial,sans-serif}
  #massage .massage-details-copy p{font:300 16px/24px Onest,Arial,sans-serif}
  #massage .gallery-aux-controls{display:none}

  /* A portrait-sized photograph and a readable personal introduction. */
  #about .ref-pro{
    display:grid;
    grid-template-columns:minmax(320px,440px) minmax(0,1fr);
    gap:clamp(48px,6vw,88px);
    align-items:start;
  }
  #about .ref-pro-photo{min-width:0;margin:0}
  #about .ref-pro-photo img{display:block;width:100%;height:auto;max-height:560px;aspect-ratio:4/5;object-fit:cover;object-position:50% 20%}
  #about .ref-pro-copy{max-width:560px;padding-top:32px}
  #about .ref-pro-copy>p{margin-top:20px;font:300 16px/26px Onest,Arial,sans-serif}
  #about .ref-pro-copy>p.master-intro{margin:0 0 20px;font:400 24px/30px Onest,Arial,sans-serif}
  #about .master-story{margin-top:24px}
  #about .master-story>summary{min-height:40px;font:300 16px/24px Onest,Arial,sans-serif}
  #about .master-story p{margin-top:16px;font:300 16px/26px Onest,Arial,sans-serif}

  /* Three large originals with controls on the section's title line. */
  #reviews .service-catalog-head{display:flex;align-items:center;justify-content:flex-start;gap:24px}
  #reviews .service-catalog-head h2{min-width:0}
  #reviews .service-catalog-head>.gallery-aux-controls{position:static;flex-shrink:0;align-items:center;justify-content:flex-end;gap:12px;margin:0}
  #reviews .service-catalog-head>.gallery-aux-controls>button{width:44px;height:44px}
  #reviews .review-gallery-track{
    --review-slide-width:calc((100% - 48px)/3);
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:var(--review-slide-width);
    grid-template-columns:none;
    gap:24px;
    padding:0 0 5px;
  }
  #reviews .review-gallery-slide{min-width:0;max-width:none;width:100%}
  #reviews .review-shot{width:100%;height:auto;max-height:620px;aspect-ratio:9/16;background:#101110}
  #reviews .review-shot img{display:block;width:100%;height:100%;object-fit:contain}
  #reviews figcaption{gap:12px;margin-top:16px;font:300 14px/20px Onest,Arial,sans-serif}
  #reviews figcaption small{font:inherit}

  /* The room gallery sits beside the practical information for that address. */
  #locations .location-tabs:has([data-single-location]) .location-tabs-label{flex:0 0 auto}
  #locations .location-panel:not([hidden]){
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(300px,1fr);
    grid-template-rows:min-content 1fr;
    column-gap:clamp(40px,4.5vw,64px);
    align-items:start;
    padding-top:32px;
  }
  #locations .location-address-bar{grid-column:2;grid-row:1;display:block;margin:0 0 24px}
  #locations .location-address-bar h3{max-width:none;margin:0;font:400 24px/30px Onest,Arial,sans-serif}
  #locations .location-address-bar p{margin:12px 0 0;font:300 14px/22px Onest,Arial,sans-serif;white-space:normal}
  #locations .location-gallery{grid-column:1;grid-row:1/3;min-width:0;width:100%}
  #locations .location-photo-track{--location-slide-width:100%;grid-auto-columns:100%;gap:16px;width:100%;padding-bottom:0}
  #locations .location-photo:not(.location-photo-empty){aspect-ratio:4/3}
  #locations .location-slide h4{font:400 18px/24px Onest,Arial,sans-serif}
  #locations .location-slide>p{font:300 16px/24px Onest,Arial,sans-serif}
  #locations .location-gallery .gallery-aux-controls{margin-top:16px}
  #locations .location-description{grid-column:2;grid-row:2;display:block;min-width:0;margin:0;padding:0;border:0}
  #locations .location-description>p{max-width:520px;margin:0;font:300 16px/26px Onest,Arial,sans-serif}
  #locations .location-description-actions{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:16px;margin-top:28px}
  #locations .location-description-actions .ref-text-link{font:300 16px/24px Onest,Arial,sans-serif}
  #locations .location-description-actions .ref-btn{min-height:52px;max-width:100%;padding:14px 27px;font-size:12px;line-height:16px;white-space:normal}

  /* Benefits and answers follow the same restrained, editorial columns. */
  #ceremony .ceremony-benefit{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(48px,6vw,88px);align-items:start}
  #ceremony .ceremony-benefit h2{max-width:14ch}
  #ceremony .ceremony-benefit-copy{max-width:660px}
  #ceremony .ceremony-benefit-copy p{font:300 16px/26px Onest,Arial,sans-serif}
  #ceremony .ceremony-benefit-copy p+p{margin-top:20px}
  #faq>.ref-wrap{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);column-gap:clamp(48px,6vw,88px);align-items:start}
  #faq .ref-head{min-width:0;margin:0}
  #faq .ref-head h2{max-width:14ch}
  #faq .ref-faq{min-width:0}
  #faq .ref-faq>details>summary{min-height:74px;padding-block:24px;font:400 18px/26px Onest,Arial,sans-serif}
  #faq .ref-faq>details p{max-width:none;font:300 16px/26px Onest,Arial,sans-serif}
  #faq .ref-faq>details p.faq-medical-sources{font:300 12px/18px Onest,Arial,sans-serif}
}

@media(min-width:1024px) and (prefers-reduced-motion:reduce){
  #massage .massage-card>img,
  #reviews .review-shot img{transition:none}
}
