:root {
  --paper: #fcf7f1;
  --ink: #392922;
  --muted: #6b534a;
  --line: #d5c2b9;
  --accent: #50372d;
  --on-accent: #fff8f1;
  --wrap: 1220px;
  --display: "Bodoni Moda",Georgia,serif;
}

h1,h2,h3,.brand {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.05em;
}

.topbar {
  background: #fcf7f1;
  border-bottom: 1px solid #e6d9d2;
}

.brand {
  display: grid;
  gap: 4px;
  justify-items: center;
  white-space: nowrap;
  line-height: 1;
}

.brand b {
  font-weight: 500;
  font-size: clamp(1.48rem,3vw,2.1rem);
}

.brand span {
  font: 700 .61rem/1.2 var(--font);
  letter-spacing: .24em;
}

.maison-hero {
  display: grid;
  grid-template-columns: 52% 48%;
  background: #eedbd1;
  min-height: clamp(550px,53vw,810px);
}

.hero-figure {
  position: relative;
  background: #b8775c;
}

.hero-figure img {
  height: 100%;
  position: absolute;
  inset: 0;
  object-position: 50% 47%;
  filter: saturate(.6);
}

.maison-copy {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 24px;
  padding: 58px 25px;
  text-align: center;
}

.maison-copy h1 {
  font-size: clamp(4.5rem,10vw,10rem);
  line-height: .83;
}

.maison-copy h1 em {
  font-weight: 500;
  color: #745046;
}

.maison-copy p:not(.kicker) {
  max-width: 31ch;
}

.kicker {
  color: #694840;
}

.studio,.service-layout,.booking {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: clamp(25px,7vw,100px);
  align-items: center;
}

.studio img {
  aspect-ratio: 1.45;
  filter: saturate(.7);
}

.studio h2,.visit h2 {
  font-size: clamp(2.8rem,5.4vw,5.15rem);
  margin: .14em 0;
  line-height: 1.02;
}

.studio-details {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 8px;
  color: #604437;
  font-size: .95rem;
}

.studio-details li {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.treatments {
  background: #f1e4dc;
}

.service-layout,.booking {
  align-items: start;
}

.treatment-group+.treatment-group {
  margin-top: 22px;
}

.treatment-group>h3 {
  font-size: 2.22rem;
  margin-bottom: 8px;
}

.treatment {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.treatment h4 {
  font-size: 1.03rem;
}

.treatment p {
  font-size: .89rem;
  color: var(--muted);
}

.treatment p span {
  white-space: nowrap;
}

.treatment a {
  flex: none;
  display: grid;
  text-align: right;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.treatment a span {
  font-size: .78rem;
  text-decoration: underline;
}

.team-grid,.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}

.team-grid img {
  aspect-ratio: 1.18;
  filter: saturate(.55);
}

.team-grid h3 {
  margin: 11px 0 3px;
  font-size: clamp(1.6rem,3vw,2.4rem);
}

.team-grid span {
  font-weight: 700;
  font-size: .84rem;
  color: #704d41;
}

.team-grid p {
  margin-top: 3px;
  color: var(--muted);
}

.gallery-section {
  background: #ebd9ce;
}

.gallery-grid button {
  text-align: left;
  padding: 0;
  min-width: 0;
}

.gallery-grid button img {
  aspect-ratio: .86;
  filter: saturate(.64);
  transition: filter .25s;
}

.gallery-grid button:nth-child(2) img {
  object-position: center 36%;
}

.gallery-grid button:hover img {
  filter: saturate(1);
}

.gallery-grid button>span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #b89e8f;
  font-size: .94rem;
}

.gallery-grid button>span span {
  font-size: 1.25rem;
}

.faq {
  padding-top: 0;
}

.visit {
  background: #513b31;
  color: #fff4ea;
}

.visit .wrap {
  padding-block: 52px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  flex-wrap: wrap;
}

.visit h2 {
  margin-top: 0;
}

address {
  font-style: normal;
}

#gallery-dialog .dialog-image {
  height: min(64dvh,520px);
  aspect-ratio: auto;
  object-fit: contain;
  background: #e8d8ce;
}

#gallery-dialog h2 {
  font-size: 2rem;
}

@media(max-width:740px) {
  .maison-hero,.studio,.service-layout,.booking {
    grid-template-columns: 1fr;
  }
  .maison-hero {
    min-height: 0;
  }
  .hero-figure {
    order: 2;
  }
  .hero-figure img {
    position: relative;
    max-height: 490px;
    aspect-ratio: 1.22;
  }
  .maison-copy {
    padding: 53px 20px 41px;
    gap: 18px;
  }
  .maison-copy h1 {
    font-size: clamp(4.5rem,13.8vw,7.8rem);
  }
  .service-layout .section-title,.booking .section-title {
    margin: 0;
  }
}

@media(max-width:500px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .team-grid img {
    aspect-ratio: 1.6;
  }
  .gallery-grid {
    gap: 7px;
  }
  .gallery-grid button>span {
    font-size: .79rem;
    gap: 2px;
  }
  .gallery-grid button>span span {
    font-size: 1rem;
  }
}
