:root {
  --cream: #f4eee8;
  --cream-deep: #e8dcd4;
  --paper: #fbf8f5;
  --rose: #b47776;
  --rose-deep: #92595d;
  --wine: #4a1725;
  --wine-soft: #652b38;
  --gold: #c59a52;
  --ink: #2b2022;
  --muted: #76686a;
  --line: rgba(74, 23, 37, 0.18);
  --white: #fffdfb;
  --serif: "Cormorant Garamond", "Iowan Old Style", Baskerville, Georgia, serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --container: min(1180px, calc(100vw - 64px));
  --section-space: clamp(5.5rem, 9vw, 9rem);
  --header-height: 5.6rem;
  --ease: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button {
  color: inherit;
  font: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  transform: translateY(-220%);
  background: var(--wine);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.demo-ribbon {
  display: grid;
  min-height: 2.2rem;
  place-items: center;
  padding: 0.35rem 1rem;
  background: var(--wine);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(251, 248, 245, 0.96);
  transition:
    border-color var(--ease),
    box-shadow var(--ease);
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 28px rgba(74, 23, 37, 0.07);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  flex-shrink: 0;
  color: var(--wine);
  line-height: 1;
  text-decoration: none;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-signature {
  margin-top: 0.3rem;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.main-nav a {
  border-bottom: 1px solid transparent;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition:
    border-color var(--ease),
    color var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  border-color: var(--gold);
  color: var(--wine);
}

.menu-toggle {
  display: none;
  min-width: 3.5rem;
  min-height: 2.75rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--wine);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color var(--ease),
    border-color var(--ease),
    color var(--ease);
}

.nav-cta {
  min-height: 2.9rem;
  padding-inline: 1.25rem;
  background: var(--wine);
  color: var(--white);
}

.nav-cta:hover {
  background: var(--wine-soft);
}

.button {
  min-width: 13rem;
  padding: 0.95rem 1.5rem;
}

.button-primary {
  background: var(--wine);
  color: var(--white);
}

.button-primary:hover {
  background: var(--wine-soft);
}

.button-light {
  border-color: var(--white);
  background: var(--white);
  color: var(--wine);
}

.button-light:hover {
  background: transparent;
  color: var(--white);
}

.section-label {
  margin: 0 0 1.25rem;
  color: var(--rose-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-label-light {
  color: #e5bd7f;
}

.hero {
  background: var(--cream);
}

.hero-layout {
  display: grid;
  min-height: calc(100vh - var(--header-height) - 2.2rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.8fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.hero-copy {
  max-width: 46rem;
}

.hero h1 {
  max-width: 9ch;
  margin: 0;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(4.5rem, 7.8vw, 7.8rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.hero h1 em {
  display: block;
  color: var(--rose-deep);
  font-weight: 400;
}

.hero-description {
  max-width: 37rem;
  margin: 2rem 0 2.2rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.hero-portrait {
  margin: 0;
}

.hero-portrait img {
  aspect-ratio: 4 / 5;
  border-top: 3px solid var(--gold);
  border-radius: 48% 48% 2rem 2rem / 9rem 9rem 2rem 2rem;
  object-fit: cover;
  object-position: center top;
}

.hero-portrait figcaption,
.space-image figcaption {
  margin-top: 0.85rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  text-align: right;
}

.treatments {
  background: var(--wine);
  color: var(--white);
}

.treatments-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(15rem, 0.55fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.treatments-heading h2,
.about h2,
.space h2,
.faq h2,
.location h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.7vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.treatments-heading h2 {
  max-width: 13ch;
}

.treatment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.treatment-item {
  overflow: hidden;
  border-top: 3px solid var(--gold);
  background: var(--paper);
  color: var(--ink);
}

.treatment-media {
  display: grid;
  aspect-ratio: 16 / 10;
  place-items: center;
  background: var(--wine-soft);
  color: #eadcdf;
}

.treatment-media span {
  padding: 0.4rem 0.7rem;
  border-bottom: 1px solid rgba(244, 238, 232, 0.5);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.treatment-copy {
  padding: clamp(1.4rem, 3vw, 2.15rem);
}

.treatment-item h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.7vw, 2.5rem);
  font-weight: 500;
  line-height: 1.08;
}

.treatment-item p {
  margin: 1rem 0 0;
  color: var(--muted);
}

.about {
  background: var(--paper);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(3rem, 7vw, 7rem);
}

.about h2 {
  max-width: 9ch;
  color: var(--wine);
}

.about-copy {
  max-width: 32rem;
  margin: 2rem 0 0;
  padding: 0 0 0 2rem;
  border-left: 2px solid var(--gold);
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1.35;
}

.about-photo {
  display: grid;
  min-height: 31rem;
  border-top: 3px solid var(--gold);
  background: var(--cream-deep);
  color: var(--wine-soft);
  place-items: center;
}

.about-photo span {
  padding: 0.4rem 0.7rem;
  border-bottom: 1px solid rgba(74, 23, 37, 0.35);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.space {
  background: var(--cream-deep);
}

.space-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.65fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.space-copy h2 {
  max-width: 10ch;
  color: var(--wine);
}

.space-copy > p:last-child {
  max-width: 29rem;
  margin: 1.8rem 0 0;
  color: var(--muted);
}

.space-image {
  margin: 0;
}

.space-image img {
  aspect-ratio: 16 / 9;
  border-bottom: 3px solid var(--gold);
  border-radius: 5rem 5rem 0 0;
  object-fit: cover;
  object-position: center;
}

.faq {
  background: var(--paper);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.75fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.faq h2 {
  max-width: 10ch;
  color: var(--wine);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  padding-block: 1.45rem;
  color: var(--wine);
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  font-weight: 600;
  line-height: 1.25;
}

.faq details p {
  max-width: 42rem;
  margin: 0.9rem 0 1.5rem 1.65rem;
  color: var(--muted);
}

.location {
  background: #331019;
  color: var(--white);
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(3rem, 7vw, 7rem);
}

.location h2 {
  max-width: 9ch;
}

.location-content > p:not(.section-label) {
  max-width: 38rem;
  margin: 1.6rem 0 0;
  color: #d8c6c8;
}

.location-content .button {
  margin-top: 2rem;
}

.location-map {
  min-width: 0;
}

.map-frame {
  overflow: hidden;
  border: 1px solid rgba(229, 189, 127, 0.75);
  background: var(--cream-deep);
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 31rem;
  border: 0;
}

.map-link {
  display: inline-block;
  margin-top: 1.1rem;
  border-bottom: 1px solid var(--gold);
  color: #e5bd7f;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.map-link:hover {
  color: var(--white);
}

.site-footer {
  padding-block: 2.6rem;
  background: #250b13;
  color: #cdbabc;
}

.footer-layout {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
}

.brand-footer {
  color: var(--white);
}

.footer-layout p {
  max-width: 34rem;
  margin: 0;
  font-size: 0.78rem;
  text-align: right;
}

.demo-dialog {
  width: min(34rem, calc(100% - 2rem));
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
}

.demo-dialog::backdrop {
  background: rgba(35, 12, 18, 0.72);
}

.dialog-inner {
  position: relative;
  padding: 3.5rem;
  border-top: 4px solid var(--gold);
}

.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  min-height: 2.75rem;
  padding-inline: 0.85rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--wine);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dialog-inner h2 {
  margin: 0;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(2.3rem, 6vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.dialog-inner > p:not(.section-label) {
  margin: 1.5rem 0 2rem;
  color: var(--muted);
}

@media (max-width: 1000px) {
  .main-nav {
    gap: 1.15rem;
  }

  .main-nav a {
    font-size: 0.7rem;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.7fr);
    gap: 3rem;
  }

  .hero h1 {
    font-size: clamp(4rem, 8.5vw, 6.5rem);
  }
}

@media (max-width: 900px) {
  :root {
    --container: min(100% - 40px, 46rem);
    --header-height: 5rem;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    height: calc(100vh - var(--header-height));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.5rem max(20px, calc((100vw - 46rem) / 2));
    transform: translateY(-0.75rem);
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition:
      transform 280ms ease,
      opacity 220ms ease,
      visibility 280ms;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .main-nav a {
    width: 100%;
    padding-block: 0.9rem;
    border-bottom-color: var(--line);
    font-family: var(--serif);
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: 0;
  }

  .nav-cta {
    width: 100%;
    margin-top: 1.5rem;
  }

  .hero-layout,
  .space-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    min-height: auto;
  }

  .hero-portrait {
    width: min(82%, 32rem);
    margin-left: auto;
  }

  .treatments-heading {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-photo {
    min-height: 24rem;
  }

  .space-copy {
    max-width: 36rem;
  }

  .location-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .location-content .button {
    justify-self: start;
  }

  .footer-layout {
    align-items: start;
  }
}

@media (max-width: 600px) {
  :root {
    --container: calc(100% - 32px);
    --section-space: 5rem;
    --header-height: 4.8rem;
  }

  html {
    scroll-padding-top: 5.4rem;
  }

  body {
    font-size: 0.95rem;
  }

  .brand-name {
    font-size: 1.5rem;
  }

  .brand-signature {
    max-width: 14rem;
    font-size: 0.48rem;
    line-height: 1.2;
  }

  .main-nav {
    padding-inline: 16px;
  }

  .hero-layout {
    gap: 3.25rem;
    padding-block: 3.5rem 4.5rem;
  }

  .hero h1 {
    max-width: 8.5ch;
    font-size: clamp(3.8rem, 18vw, 5.2rem);
  }

  .hero-description {
    margin-block: 1.6rem 1.8rem;
  }

  .hero-portrait {
    width: 92%;
  }

  .button {
    width: 100%;
  }

  .treatments-heading h2,
  .about h2,
  .space h2,
  .faq h2,
  .location h2 {
    font-size: clamp(2.8rem, 13vw, 3.8rem);
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .treatment-list {
    grid-template-columns: 1fr;
  }

  .about-copy {
    padding: 1.3rem 0 0 1.2rem;
  }

  .about-photo {
    min-height: 23rem;
  }

  .space-image img {
    aspect-ratio: 4 / 3;
    border-radius: 3rem 3rem 0 0;
  }

  .map-frame iframe {
    min-height: 23rem;
  }

  .footer-layout {
    flex-direction: column;
  }

  .footer-layout p {
    text-align: left;
  }

  .dialog-inner {
    padding: 4rem 1.5rem 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
