@font-face {
  font-family: ClinicSans;
  src: url('ClinicSans-device-glyphs.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+AF34, U+D050;
}

.gallery .gallery-item {
  width:100%;
  grid-column:auto;
  margin:0;
  align-self:start;
}
.gallery .gallery-feature { grid-column:1 / -1; }
.gallery-frame { overflow:hidden; border-radius:clamp(14px,1.4vw,24px); }
.gallery .gallery-frame img { display:block; width:100%; aspect-ratio:1.5; object-fit:cover; }
.gallery .gallery-feature .gallery-frame img { aspect-ratio:2; }
.gallery-feature[data-caption="파우더룸"] img { object-position:center 54%; }
#lightbox img { display:block; width:auto; max-width:100%; margin:auto; border-radius:14px; }
#powder-room, #our-space, #treatment-methods { scroll-margin-top:95px; }

.space-pairing {
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  grid-template-areas:"intro waiting" "front powder" "link powder";
  column-gap:clamp(32px,7vw,120px);
  row-gap:clamp(22px,2.2vw,44px);
  margin-block:clamp(72px,8vw,140px);
  align-items:start;
}
.space-intro { grid-area:intro; }
.space-intro h2 { margin:14px 0 0; font-size:clamp(44px,5.4vw,86px); line-height:1.14; }
.space-pairing figure, .treatment-method-grid figure { margin:0; }
.space-pairing .room-frame { aspect-ratio:1.64; border-radius:clamp(14px,1.4vw,24px); }
.room-frame.photo-drift > img {
  transform:translate3d(0,clamp(-8%,var(--image-y,0px),8%),0);
}
.room-waiting { grid-area:waiting; }
.room-powder { grid-area:powder; }
.room-powder img { object-position:center 54%; }
.space-pairing figcaption { margin-top:10px; color:var(--muted); font-size:14px; }
.room-front { grid-area:front; width:min(88%,510px); }
.room-link { grid-area:link; }
.room-link p { margin:0 0 20px; line-height:1.7; }
.room-link .pill { max-width:295px; }

.treatment-method-grid article { display:flex; flex-direction:column; align-items:flex-start; }
.treatment-method-grid .method-photo {
  width:100%;
  aspect-ratio:1.85;
  margin-bottom:clamp(18px,2vw,30px);
  overflow:hidden;
}
.method-photo img { display:block; width:100%; height:100%; object-fit:cover; }
.method-photo-lifting img { object-position:53% 46%; }
.method-photo-dermatology img { object-position:44% 45%; }
.method-photo-booster { background:#cecece; }
.method-photo-booster img { object-fit:contain; }
.treatment-method-grid article .text-link { margin-top:auto; padding-top:20px; }

@media(max-width:700px) {
  .gallery .gallery-feature .gallery-frame img, .gallery .gallery-frame img { aspect-ratio:1.4; }
  .space-pairing {
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"intro" "waiting" "front" "powder" "link";
    gap:26px;
  }
  .space-intro h2 { font-size:clamp(37px,9vw,58px); }
  .space-pairing .room-frame { aspect-ratio:1.4; }
  .room-front { width:100%; }
  .space-pairing figcaption { margin-top:7px; }
  .treatment-method-grid .method-photo { aspect-ratio:1.6; }
}
