@font-face {
  font-family: Cormorant;
  src: url("./assets/cormorant-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url("./assets/cormorant-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url("./assets/dm-sans.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: light;
  --cream: #fbf6ee;
  --chocolate: #35221d;
  --muted: #68534b;
  --rose: #ecd7d2;
  --accent: #8c4e49;
  --line: #d8c7ba;
  --display: Cormorant, Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--chocolate); font: 1rem/1.65 var(--body); }
[hidden] { display: none !important; }
html:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-underline-offset: .28em; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
figure, p, dl { margin: 0; }
img { display: block; width: 100%; }
h1, h2 { margin: 0; font: 500 clamp(3.3rem, 5.5vw, 5.1rem)/.97 var(--display); letter-spacing: -.035em; }
em { color: var(--accent); font-weight: inherit; }
.wrap { width: min(100% - 8vw, 1220px); margin-inline: auto; }
.section { scroll-margin-top: 1rem; }
.skip { position: absolute; inset: 5px auto auto 5px; z-index: 5; padding: .6rem 1rem; background: var(--cream); transform: translateY(-150%); }
.skip:focus { transform: none; }

.demo-banner {
  padding: .5rem 1rem;
  background: var(--rose);
  text-align: center;
  font-size: .69rem;
  letter-spacing: .11em;
}
.demo-banner span { margin-inline: .18rem; }
.header {
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}
.brand { display: inline-grid; justify-self: start; text-decoration: none; line-height: 1; }
.brand span { font: 500 2.2rem/.92 var(--display); letter-spacing: -.035em; }
.brand small { margin-top: .48rem; font-size: .59rem; text-transform: uppercase; letter-spacing: .15em; }
nav { display: flex; gap: clamp(1.25rem, 3vw, 2.7rem); }
nav a { font-size: .87rem; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.header-book { justify-self: end; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.45rem;
  min-height: 49px;
  padding: .63rem 1.12rem;
  border: 1px solid transparent;
  background: var(--chocolate);
  color: var(--cream);
  text-decoration: none;
  font-size: .87rem;
  line-height: 1.3;
}
.button:hover { background: #55352d; }
.button svg, .text-link svg, .credit svg { width: .86rem; height: .86rem; flex: none; vertical-align: -.1em; }
.header-book { min-height: 43px; }

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(470px, 46vw, 660px);
  background: #d0a98a;
  isolation: isolate;
}
.hero-image { position: absolute; inset: 0; z-index: -1; }
.hero-image img { height: 100%; object-fit: cover; object-position: 58% 49%; }
.hero-copy {
  width: fit-content;
  max-width: 100%;
  padding: clamp(1.55rem, 2.65vw, 2.4rem);
  background: var(--cream);
}
.eyebrow {
  display: flex;
  gap: .68rem;
  align-items: center;
  font-size: .68rem;
  letter-spacing: .15em;
  line-height: 1.45;
  text-transform: uppercase;
}
.eyebrow span { flex: 0 0 1.5rem; height: 1px; background: var(--accent); }
h1 { margin-top: 1.05rem; font-size: clamp(2.8rem, 4.55vw, 4.2rem); }
.actions { display: flex; gap: clamp(.85rem, 2vw, 1.65rem); align-items: center; margin-top: 1.4rem; flex-wrap: wrap; }
.text-link { font-size: .88rem; }
.text-link svg { margin-left: .32rem; color: var(--accent); }

.gallery { padding-block: clamp(3.4rem, 5vw, 5rem) clamp(4.5rem, 8vw, 7rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.section-head h2, .services h2, .salon h2 { margin-top: 1rem; }
.section-head > p { max-width: 32ch; color: var(--muted); padding-bottom: .15rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 1.5rem 1rem; }
.shot { display: flex; flex-direction: column; min-width: 0; border: 0; padding: 0; background: transparent; text-align: left; }
.shot.feature { grid-column: span 2; grid-row: span 2; }
.shot-image { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1.04; overflow: hidden; background: #e4d2c4; }
.feature .shot-image { flex: 1; aspect-ratio: auto; }
.shot-image img { position: absolute; height: 100%; object-fit: cover; object-position: var(--focus, 50% 40%); transition: transform .25s ease; }
.shot:hover img { transform: scale(1.025); }
.zoom { position: absolute; right: .65rem; bottom: .65rem; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--cream); font-size: 1.15rem; line-height: 1; }
.shot-caption { display: flex; width: 100%; gap: .4rem; justify-content: space-between; align-items: baseline; padding-top: .6rem; font-size: .89rem; }
.shot-caption > :last-child { color: var(--muted); font-size: .65rem; letter-spacing: .12em; }
.gallery-grid > :last-child .shot-image { aspect-ratio: 1 / 1.04; }

.services { background: var(--rose); padding-block: clamp(4rem, 8vw, 6.8rem); }
.services-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2.5rem; }
.services-copy p:not(.eyebrow) { max-width: 30ch; margin: 1.3rem 0 1.6rem; color: var(--muted); }
.price-list > div { padding: 1rem 0; border-top: 1px solid #c9aca4; }
.price-list > :last-child { border-bottom: 1px solid #c9aca4; }
.price-list dt { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; font: 500 clamp(1.65rem, 3vw, 2.15rem)/1.05 var(--display); }
.price-list dt span { font: .85rem/1.4 var(--body); white-space: nowrap; }
.price-list dd { margin: .42rem 0 0; color: var(--muted); font-size: .88rem; }
.note { margin-top: .95rem; color: var(--muted); font-size: .75rem; }

.salon { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); padding-block: clamp(4rem, 8vw, 7rem); }
.salon figure { min-width: 0; }
.salon img { aspect-ratio: 1.12; object-fit: cover; object-position: 50% 52%; }
.salon-copy p:not(.eyebrow) { max-width: 39ch; color: var(--muted); margin-top: .95rem; }
.salon-copy h2 + p { margin-top: 1.45rem; }
.salon-copy .button { margin-top: 1.55rem; }
.footer { background: var(--chocolate); color: var(--cream); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 2.5rem; }
.footer .credit { text-align: right; font-size: .82rem; }
.credit p { color: #e7cfc4; }
.footer :focus-visible { outline-color: var(--rose); }
.mobile-bar { display: none; }

dialog {
  padding: 0;
  border: 0;
  color: var(--chocolate);
  background: var(--cream);
  max-height: calc(100dvh - 2rem);
}
dialog::backdrop { background: rgb(35 22 18 / .79); }
.close {
  position: absolute;
  z-index: 1;
  right: .8rem;
  top: .8rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  font: 1.45rem/1 var(--body);
}
.close:hover { background: var(--rose); }
.photo-dialog { width: max-content; max-width: min(94vw, 850px); background: var(--chocolate); color: var(--cream); }
.photo-dialog img { width: auto; max-width: 100%; max-height: min(76dvh, 850px); min-height: 150px; object-fit: contain; margin-inline: auto; }
.photo-dialog figcaption { padding: .55rem 1rem; text-align: center; font-size: .85rem; }
.booking { width: min(30rem, calc(100% - 1.6rem)); padding: clamp(1.3rem, 5vw, 2.25rem); }
.booking .eyebrow { max-width: calc(100% - 48px); }
.booking h2 { margin: .85rem 0 .7rem; font-size: clamp(2.3rem, 7vw, 3.25rem); }
.booking p { color: var(--muted); }
.booking label { display: block; margin: .85rem 0 .3rem; font-size: .88rem; }
.booking select { min-height: 46px; width: 100%; padding: .55rem .7rem; background: #fffaf4; border: 1px solid #a78c80; border-radius: 0; }
.booking .button { margin-top: 1rem; }

@media (min-width: 701px) {
  .gallery-grid > :last-child { grid-column: 1 / -1; }
  .gallery-grid > :last-child .shot-image { aspect-ratio: 2.45; }
  .gallery-grid > :last-child img { object-position: center 35%; }
}
@media (max-width: 970px) and (min-width: 701px) {
  .hero-copy { padding-inline: 1.45rem; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 2rem); }
  .header { min-height: 0; padding-block: .95rem .8rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.1rem; }
  .header .brand span { font-size: 1.83rem; }
  .header .brand small { font-size: .51rem; margin-top: .35rem; }
  nav { gap: .72rem; }
  nav a { font-size: .76rem; padding-block: .4rem; }
  .header-book { display: none; }
  .hero { display: block; min-height: 0; background: transparent; }
  .hero-image { position: static; display: block; height: clamp(230px, 76vw, 340px); }
  .hero-image img { object-position: 50% 32%; }
  .hero-inner { position: relative; margin-top: -1.35rem; }
  .hero-copy { width: 100%; padding: 1.25rem 1.12rem 1.15rem; border-bottom: 1px solid var(--line); }
  .eyebrow { font-size: .62rem; letter-spacing: .115em; }
  .eyebrow span { flex-basis: 1.15rem; }
  h1 { font-size: clamp(2.4rem, 11vw, 3.7rem); margin-top: .65rem; }
  .actions { margin-top: 1.15rem; gap: 1rem; }
  .button { min-height: 46px; gap: 1rem; }
  .gallery { padding-block: 2.45rem 3.6rem; }
  .section-head { display: block; margin-bottom: 1.35rem; }
  .section-head > p { margin-top: .9rem; font-size: .91rem; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.05rem .7rem; }
  .shot.feature { grid-row: auto; }
  .feature .shot-image { flex: auto; aspect-ratio: 1 / 1.09; }
  .shot-image, .gallery-grid > :last-child .shot-image { aspect-ratio: 1 / 1.19; }
  .gallery-grid > :last-child { grid-column: span 2; }
  .gallery-grid > :last-child .shot-image { aspect-ratio: 1.23; }
  .shot-caption { font-size: .79rem; padding-top: .35rem; }
  .zoom { width: 1.72rem; height: 1.72rem; right: .4rem; bottom: .4rem; }
  .services-layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .services { padding-block: 3.4rem; }
  .salon { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 3.4rem; }
  .salon img { aspect-ratio: 1.12; }
  .footer-inner { display: grid; gap: 1.25rem; padding-block: 2rem; }
  .footer .credit { text-align: left; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    position: fixed;
    z-index: 2;
    inset: auto 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    min-height: calc(66px + env(safe-area-inset-bottom));
    padding: .5rem max(1rem, env(safe-area-inset-right)) calc(.5rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    background: var(--cream);
    border-top: 1px solid var(--line);
  }
  .mobile-bar > span { font: 500 1.35rem/.96 var(--display); }
  .mobile-bar small { display: block; margin-top: .3rem; color: var(--muted); font: .66rem/1.2 var(--body); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
