/* Photo placements preserve the approved homepage shapes. */
.client-waiting-photo img{object-position:50% 49%}
.client-room-photo img{object-position:53% 43%}
.client-children-photo img{object-position:60% 49%}
.hero-slide-smile .hero-image{object-position:61% center}
.hero-slide-equipment .hero-image{object-position:60% center}
.client-about-cover>img{object-position:50% 47%}
.client-about-cover:after{content:'';position:absolute;inset:65% 0 0;background:linear-gradient(transparent,#122b2e85);pointer-events:none}
.client-about-cover .cover-caption{z-index:1}
.client-consultation-photo .photo-button{height:500px}
.client-consultation-photo img{object-position:50% 48%}
.client-consultation-photo figcaption,.technology-photo figcaption{font-size:12px;color:var(--muted);line-height:1.6;padding-top:13px}
.studio-environments{background:#dce9e9}
.studio-environments .section-heading>p{color:var(--muted);max-width:370px}
.studio-environment-gallery{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:38px 25px}
.studio-environment-card{grid-column:span 4;min-width:0}
.studio-environment-card:first-child{grid-column:span 8}
.studio-environment-card:nth-last-child(-n+2){grid-column:span 6}
.studio-environment-card .photo-button{height:340px;background:#c5d7d7}
.studio-environment-card:first-child .photo-button,.studio-environment-card:nth-child(2) .photo-button{height:430px}
.studio-environment-card img{object-position:50% 46%}
.studio-environment-pediatric img{object-position:48% 10%}
.studio-environment-welcome img{object-position:53% 80%}
.studio-environment-entrance img{object-position:50% 52%}
.studio-environment-access img{object-position:50% 53%}
.studio-environment-card .photo-expand{opacity:1;transform:none}
.studio-environment-card figcaption{display:flex;gap:15px;padding-top:18px}
.environment-number{font-size:12px;line-height:1.8;color:var(--blue-deep);font-variant-numeric:tabular-nums}
.studio-environment-card h3{font-size:18px;line-height:1.3;letter-spacing:-.02em}
.studio-environment-card figcaption p{font-size:13px;line-height:1.7;color:var(--muted);margin-top:8px;max-width:440px}
.studio-photography-note{font-size:11px;color:var(--muted);margin-top:32px;border-top:1px solid #b7cdd0;padding-top:18px}
.technology-photo-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:65px;align-items:start}
.technology-photo .photo-button{height:560px}
.technology-photo img{object-position:50% 28%}
.technology-photo-layout .technology-grid{grid-template-columns:minmax(0,1fr);gap:24px;margin-top:0}
.technology-photo-layout .technology-grid article{display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:clamp(14px,2vw,24px);row-gap:8px;align-content:start;padding:0 0 23px;border:0;border-bottom:1px solid #9dbdc244}
.technology-photo-layout .technology-grid article:last-child{border-bottom:0}
.technology-photo-layout .technology-grid article>:is(svg,i){grid-area:1/1;width:32px;height:32px;margin:0;align-self:start}
.technology-photo-layout .technology-grid article>:is(h3,p,a){grid-column:2;min-width:0;margin:0}
.technology-photo-layout .technology-grid h3{align-self:center;line-height:1.25}
.technology-photo-layout .technology-grid p{max-width:62ch;text-wrap:pretty}
.technology-photo-layout .technology-grid article>.text-link{justify-self:start;margin-top:4px}
@media(max-width:1100px){
  .studio-environment-gallery{gap:30px 20px}
  .studio-environment-card,.studio-environment-card:first-child,.studio-environment-card:nth-last-child(-n+2){grid-column:span 6}
  .studio-environment-card:last-child{grid-column:span 12}
  .studio-environment-card .photo-button,.studio-environment-card:first-child .photo-button,.studio-environment-card:nth-child(2) .photo-button{height:350px}
  .technology-photo-layout{gap:35px;grid-template-columns:1fr 1.15fr}
  .technology-photo .photo-button{height:580px}
  .client-consultation-photo .photo-button{height:440px}
}
@media(max-width:760px){
  .hero-slide-equipment .hero-image{object-position:70% center}
  .hero-slide-smile .hero-image{object-position:77% center}
  .studio-environment-gallery{grid-template-columns:1fr;gap:32px}
  .studio-environment-card,.studio-environment-card:first-child,.studio-environment-card:nth-last-child(-n+2),.studio-environment-card:last-child{grid-column:1}
  .studio-environment-card .photo-button,.studio-environment-card:first-child .photo-button,.studio-environment-card:nth-child(2) .photo-button{height:auto;aspect-ratio:4/4.5}
  .studio-environment-card .photo-button img{position:absolute;inset:0}
  .studio-environment-gallery .studio-environment-welcome .photo-button{aspect-ratio:1.2}
  .studio-environment-card figcaption p{max-width:none}
  .client-about-cover>img{object-position:50% 49%}
  .client-about-cover .cover-caption{left:18px;bottom:18px;font-size:9px}
  .client-consultation-photo .photo-button{height:auto;aspect-ratio:1.14}
  .client-consultation-photo .photo-button img{position:absolute;inset:0}
  .technology-photo-layout{grid-template-columns:1fr;gap:38px}
  .technology-photo .photo-button{height:auto;aspect-ratio:4/5}
  .technology-photo .photo-button img{position:absolute;inset:0;object-position:50% 20%}
}
