/* Plum cover, coral accents and an editorial spread of real photographs. */
@font-face {
  font-family: Prata;
  src: url("assets/prata-cyrillic.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0400-052F,U+2116,U+2DE0-2DFF,U+A640-A69F;
}

@font-face {
  font-family: Prata;
  src: url("assets/prata-latin.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: Onest;
  src: url("assets/onest-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --milk: #fcf1e7;
  --light: #fff9f2;
  --ink: #302030;
  --muted: #604a59;
  --rose: #f6e4db;
  --line: #d6b9ba;
  --plum: #2b192a;
  --accent: #f7ac96;
  --soft-accent: #fbc5b4;
  --serif: Prata, Georgia, serif;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --header-height: 4.5rem;
  --ease: cubic-bezier(.22, .78, .25, 1);
  color-scheme: light;
  font-family: Onest, Arial, sans-serif;
  color: var(--ink);
  background: var(--milk);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-padding-block-start: var(--header-height); scroll-behavior: smooth; }
body { margin: 0; font-size: 1rem; line-height: 1.55; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
img { display: block; width: 100%; height: auto; }
button { font: inherit; }
a { color: inherit; }
[id] { scroll-margin-block-start: .75rem; }
:focus-visible { outline: 2px solid #9e4968; outline-offset: .3rem; }

.shell { width: min(78rem, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip {
  position: fixed;
  inset: .6rem auto auto .6rem;
  z-index: 5;
  padding: .6rem .9rem;
  background: var(--light);
  translate: 0 -190%;
}
.skip:focus { translate: 0; }

.header {
  position: sticky;
  inset-block-start: 0;
  z-index: 3;
  border-bottom: 1px solid #6b4a60;
  background: var(--plum);
  color: var(--light);
}
.header :focus-visible, .hero :focus-visible, .visit :focus-visible { outline-color: var(--accent); }

.header__inner { min-height: calc(var(--header-height) - 1px); display: flex; align-items: center; gap: 2.1rem; }
.mark {
  display: grid;
  width: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  flex-shrink: 0;
  background: #473044;
  border: 1px solid #a17685;
  border-radius: .25rem;
  text-decoration: none;
  font: 1.1rem var(--serif);
}

.header nav { display: flex; align-items: center; gap: clamp(.9rem, 2.5vw, 2.3rem); margin-inline-start: auto; }
.header nav a, .header__book, .hero__address {
  text-underline-offset: .26em;
  text-decoration-color: transparent;
  transition: text-decoration-color .2s ease;
}
.header nav a:hover, .header__book:hover, .hero__address:hover { text-decoration-color: currentColor; }
.header__book { padding-block: .55rem; color: var(--accent); font-weight: 740; }

h2, .visit address {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.054em;
}

h1 {
  color: var(--light);
  font-size: clamp(3.25rem, 6.6vw, 6.2rem);
  font-weight: 850;
  line-height: .97;
  letter-spacing: -.056em;
}
h1 span { display: block; }
h1 span + span { color: var(--soft-accent); }
h2 { font-size: clamp(2.25rem, 3.85vw, 3.9rem); line-height: 1.11; }

.hero {
  background:
    radial-gradient(ellipse at 78% 0%, #563549 0, transparent 57%),
    var(--plum);
  color: var(--light);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center;
  column-gap: clamp(1.75rem, 5.3vw, 5.5rem);
  padding-block: clamp(1.8rem, 3.75vw, 3.25rem) clamp(2.65rem, 5.4vw, 5rem);
}

.hero__copy { display: grid; gap: 1.5rem; }
.hero__role { margin-bottom: .85rem; color: #f3bbb1; font-size: 1rem; font-weight: 660; }
.hero__subtitle {
  max-width: 26rem;
  margin-top: 1.15rem;
  color: #fff2e9;
  font-size: clamp(1.0625rem, 1.7vw, 1.35rem);
  line-height: 1.45;
}
.hero__address { display: inline-block; margin-top: .62rem; color: #e8cbd3; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.2rem; }

.hero__portrait {
  align-self: center;
  justify-self: end;
  width: min(100%, 34rem);
  aspect-ratio: 1.03;
  overflow: clip;
  border-bottom: .48rem solid var(--accent);
  border-radius: .22rem .22rem 5.4rem .22rem;
  background: #9b7b84;
}
.hero__portrait img { height: 100%; object-fit: cover; object-position: 50% 27%; }

.button, .text-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  font-weight: 660;
}
.button {
  min-height: 3.4rem;
  justify-content: space-between;
  gap: 1.3rem;
  padding: .65rem 1.12rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  background: var(--ink);
  color: var(--light);
  text-decoration: none;
  transition: background-color .2s ease, transform .2s var(--ease);
}
.button:hover { background: #563248; }
.button:active { transform: translateY(2px) scale(.985); }
.text-link { text-underline-offset: .25em; text-decoration-color: #a47480; }
.text-link:hover { text-decoration-color: currentColor; }
.hero .button, .button--light { background: var(--accent); color: var(--plum); }
.hero .button:hover, .button--light:hover { background: var(--soft-accent); }
.hero .text-link { text-decoration-color: #c58c9b; }
.button span, .text-link span { display: inline-block; transition: transform .2s var(--ease); }
:is(.button, .text-link):hover span { transform: translate(.1em, -.1em); }

.about { background: var(--rose); border-block-end: 1px solid var(--line); }
.about__inner {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 1.45rem clamp(2rem, 7vw, 7rem);
  padding-block: clamp(2.3rem, 5.2vw, 4.65rem);
}
.about__body { max-width: 42rem; }
.about__body > p:first-child { color: var(--muted); }
.about blockquote {
  padding-inline-start: .9rem;
  margin-top: 1rem;
  border-inline-start: 2px solid #a9566b;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.93vw, 1.58rem);
  line-height: 1.55;
  letter-spacing: -.026em;
}
.about__education { padding-top: .9rem; margin-top: 1rem; border-top: 1px solid var(--line); }
.about__education strong { margin-inline-end: .45rem; }
.about__body > a { margin-top: .3rem; font-size: .9375rem; }

.works { padding-block: clamp(2.6rem, 5.75vw, 5.1rem); background: var(--milk); }
.works__images {
  --media-height: clamp(19rem, 35vw, 32rem);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  align-items: start;
  gap: 1.4rem clamp(1.15rem, 2.6vw, 2.4rem);
  margin-top: clamp(1.3rem, 2.6vw, 2rem);
}
.gallery__frame {
  position: relative;
  height: var(--media-height);
  overflow: clip;
  background: var(--rose);
  border: 1px solid var(--line);
  border-radius: .3rem;
}
.gallery__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .33s var(--ease);
}
.gallery__slide.is-current { opacity: 1; z-index: 1; }
.gallery__slide img { height: 100%; object-fit: cover; object-position: center 62%; }
.gallery__slide:first-child img { object-position: center 68%; }
.gallery__slide figcaption {
  position: absolute;
  inset: auto auto .65rem .65rem;
  padding: .38rem .6rem;
  background: var(--light);
  font-size: .875rem;
}
.gallery__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .3rem 1rem;
  margin-top: .55rem;
}
.gallery__footer > a { font-size: .9375rem; }
.gallery__actions { display: flex; align-items: center; gap: .55rem; }
.gallery__actions button {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  background: var(--light);
  border: 1px solid #bb929e;
  border-radius: 50%;
  color: var(--ink);
  font-size: 1.22rem;
  cursor: pointer;
  transition: background-color .2s ease;
}
.gallery__actions button:hover { background: var(--rose); }
.gallery__actions span { min-width: 2.45rem; text-align: center; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.works__cabinet { margin-top: 2.75rem; }
.works__cabinet img {
  height: calc(var(--media-height) - 2.75rem);
  object-fit: cover;
  object-position: 50% 61%;
  border: 1px solid var(--line);
  border-radius: .3rem;
}
.works__cabinet figcaption { padding-top: .64rem; color: var(--muted); font-size: .9375rem; }

.services { padding-block: clamp(2.3rem, 5.75vw, 5.15rem); background: var(--rose); border-top: 1px solid var(--line); }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2.15rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.6rem);
}
.section-head__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.05rem; }
.section-head__actions .button { gap: .85rem; }
.service-tabs:not([hidden]) { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.service-tabs button {
  min-height: 2.9rem;
  padding: .55rem 1.05rem;
  border: 1px solid #bd8b9b;
  border-radius: .3rem;
  background: var(--light);
  color: var(--ink);
  font-weight: 690;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.service-tabs button:hover { background: #fbe0d6; }
.service-tabs button[aria-selected="true"] {
  border-color: var(--plum);
  background: var(--plum);
  color: var(--light);
  box-shadow: inset 0 -.2rem var(--accent);
}

.services__groups { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.9rem, 2.5vw, 2rem); }
.service-picker[data-enhanced] .services__groups { display: block; }
.services__group {
  padding: clamp(1.15rem, 2.85vw, 2rem);
  background: var(--light);
  border: 1px solid var(--line);
  border-top: 3px solid #ae6b80;
  border-radius: .25rem;
}
.services__group h3 { margin-bottom: 1.05rem; color: #73475d; font-size: 1rem; font-weight: 740; }
.service-picker[data-enhanced] .services__group h3 { display: none; }
.services__list { display: grid; gap: .95rem; padding: 0; margin: 0; list-style: none; }
.services__list--massage { gap: .67rem; }
.service-picker[data-enhanced] .services__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
.service-picker[data-enhanced] .services__list--massage { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.services__list h4 {
  color: var(--ink);
  font-size: clamp(1.0625rem, 1.55vw, 1.32rem);
  font-weight: 690;
  line-height: 1.28;
}
.service__detail, .service__terms { color: var(--muted); font-size: .9375rem; line-height: 1.45; }
.service__terms { margin-top: .28rem; }
.service__detail { margin-top: .38rem; }
.services__group > .service__detail { margin-top: .9rem; }
.services__group > .service__terms { margin-top: .72rem; }

.visit { padding-block: clamp(2.65rem, 6.3vw, 5.7rem); color: var(--light); background: var(--plum); }
.visit__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 2rem; }
.visit address { margin: 1.1rem 0; color: var(--soft-accent); font-size: clamp(1.43rem, 2.2vw, 2.13rem); font-style: normal; line-height: 1.42; letter-spacing: -.035em; }
.directions { margin: 0; padding-left: 1.45rem; font-size: 1.075rem; }
.directions li { margin-block: .43rem; padding-left: .28rem; }
.directions li::marker { color: var(--accent); }
.visit__contacts { margin-top: 1.05rem; color: #f4d6d1; }
.visit__contacts a { text-decoration-color: #c68e9c; }
.footer { background: var(--milk); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .25rem 1.25rem; padding-block: .65rem; color: var(--muted); font-size: .875rem; }
.mobile-booking { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero__portrait { animation: portrait-open .76s var(--ease) both; }
  [data-work-reveal="shown"] { animation: work-enter .66s var(--ease) both; }
  .service-picker[data-enhanced] .services__group:not([hidden]) { animation: panel-open .25s var(--ease) both; }

  @keyframes portrait-open {
    from { clip-path: polygon(0 0, 88% 0, 80% 100%, 0 100%); }
    to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  }

  @keyframes work-enter {
    from { clip-path: inset(0 0 9% 0 round .3rem); transform: translateY(.65rem); }
    to { clip-path: inset(0 round .3rem); transform: translateY(0); }
  }
  @keyframes panel-open {
    from { opacity: .55; transform: translateY(.35rem); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 54.99rem) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "portrait" "actions";
    padding-block: 1.7rem 2.1rem;
    row-gap: 1.1rem;
  }
  .hero__copy { display: contents; }
  .hero__intro { grid-area: intro; }
  .hero__actions { grid-area: actions; }
  h1 { font-size: clamp(2.7rem, 11.5vw, 5.5rem); }
  .hero__portrait { grid-area: portrait; width: min(100%, 32rem); justify-self: start; aspect-ratio: 1.24; border-bottom-right-radius: 3.65rem; }
  .hero__role { margin-bottom: .48rem; }
  .hero__subtitle { margin-top: .7rem; }
  .hero__address { margin-top: .38rem; }
  .about__inner { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
  .works__images { --media-height: clamp(18rem, 54vw, 25rem); grid-template-columns: minmax(0, 1fr); }
  .works__cabinet { margin-top: .7rem; }
  .works__cabinet img { height: var(--media-height); }
  .visit__inner { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
}

@media (max-width: 42rem) {
  :root { --header-height: 3.9rem; }
  .header__inner { gap: .65rem; }
  .header nav { gap: .8rem; font-size: .875rem; }
  .header nav a { padding-block: .55rem; }
  .header__book { display: none; }
  .mark { width: 2.5rem; min-height: 2.5rem; font-size: 1.03rem; }
  .hero__actions { gap: .25rem .85rem; }
  .hero__actions .button { min-height: 3.15rem; padding-inline: .9rem; gap: .65rem; }
  .hero__services { font-size: .9375rem; gap: .3rem; }
  .section-head__actions { flex-wrap: wrap; gap: .3rem .8rem; }
  .section-head__actions .button { min-height: 3rem; padding-inline: .7rem; gap: .45rem; font-size: .875rem; }
  .section-head__actions .text-link { font-size: .875rem; }
  .services__groups { grid-template-columns: minmax(0, 1fr); }
  .service-picker[data-enhanced] :is(.services__list, .services__list--massage) { grid-template-columns: minmax(0, 1fr); }
  .service-tabs button { flex: 1 1 8.25rem; padding-inline: .65rem; }

  html.booking-bar-ready { scroll-padding-block-end: calc(5rem + env(safe-area-inset-bottom)); }
  .booking-bar-ready .footer { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom)); }
  .mobile-booking:not([hidden]) {
    position: fixed;
    z-index: 2;
    inset: auto 0 0;
    display: block;
    padding-block: .5rem calc(.5rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--milk);
    box-shadow: 0 -.25rem 1.6rem #3020301a;
  }
  .mobile-booking .button { display: flex; width: 100%; min-height: 3.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:active, :is(.button, .text-link):hover span { transform: none; }
}
