@font-face {
  font-family: Inter;
  src: url('./assets/inter.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: Playfair;
  src: url('./assets/playfair.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: Playfair;
  src: url('./assets/playfair-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --cream: #f8f6f2;
  --warm-cream: #f5f3ed;
  --green: #2d3e2e;
  --green-deep: #243426;
  --sage: #5a6b5a;
  --gold: #cbb67e;
  --gold-dark: #756031;
  --line: #e0dbd0;
  --ink: var(--green);
  --muted: var(--sage);
  --accent: var(--gold-dark);
  --rule: var(--line);
  --serif: Playfair, Georgia, serif;
  --gutter: clamp(1.25rem, 4.65vw, 5rem);
  --section: clamp(4.5rem, 9vw, 9rem);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  color: var(--ink);
  background: var(--cream);
  font: 400 1rem/1.65 Inter, system-ui, sans-serif;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
img { display: block; max-width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
a, button, summary, input, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.skip-link {
  position: fixed;
  z-index: 40;
  inset: .85rem auto auto var(--gutter);
  padding: .65rem .9rem;
  border-radius: .3rem;
  color: var(--green-deep);
  background: var(--cream);
  translate: 0 -180%;
}
.skip-link:focus { translate: 0 0; }
[hidden] { display: none !important; }
address { font-style: normal; }
section[id] { scroll-margin-top: 4.75rem; }
h1, h2, h3, .story-title {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.02;
}
h2, .story-title { font-size: clamp(2.65rem, 5.55vw, 6rem); text-wrap: balance; }
em { color: var(--accent); font-weight: inherit; }
p { color: var(--muted); }
.wrap { width: min(100% - var(--gutter) * 2, 95rem); margin-inline: auto; }
.section { padding-block: var(--section); }
.dark {
  --ink: var(--cream);
  --muted: #e0dbd0;
  --accent: var(--gold);
  --rule: rgb(248 246 242 / 21%);
  color: var(--ink);
  background: var(--green-deep);
}
.eyebrow {
  color: var(--accent);
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .23em;
  text-transform: uppercase;
}
.ruled { display: inline-flex; align-items: center; gap: 1rem; }
.ruled::after { content: ''; width: 2.5rem; height: 1px; background: currentColor; opacity: .55; }

.pill, .circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .8rem;
  line-height: 1.1;
  font-weight: 600;
  transition: background-color .2s, color .2s, border-color .2s;
}
.pill { gap: .75rem; padding: .75rem 1.15rem; color: var(--green-deep); background: var(--gold); }
.pill:hover { background: var(--cream); border-color: var(--green); }
.pill span { font-size: 1.05rem; }
.circle {
  width: 2.75rem;
  flex: 0 0 2.75rem;
  border-color: var(--rule);
  background: transparent;
  font-size: 1rem;
}
.circle:is(a, button):hover { color: var(--green-deep); background: var(--gold); border-color: var(--gold); }

.masthead {
  --accent: var(--gold);
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  color: var(--cream);
  transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.masthead.scrolled, .masthead:has(.menu-toggle[aria-expanded="true"]) {
  background: rgb(36 52 38 / 92%);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgb(248 246 242 / 14%);
}
.masthead-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 5.15rem;
  gap: 1.15rem;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; width: fit-content; color: var(--cream); }
.brand img { width: 2.5rem; height: 2.5rem; border-radius: 50%; }
.brand span {
  font: 400 1.05rem/1.04 var(--serif);
  text-transform: uppercase;
  letter-spacing: .13em;
}
.brand small {
  display: block;
  margin-top: .32rem;
  font: 600 .46rem/1 Inter, sans-serif;
  letter-spacing: .26em;
}
.main-nav {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: .14rem;
  padding: .24rem;
  border: 1px solid rgb(248 246 242 / 28%);
  border-radius: 999px;
  background: rgb(36 52 38 / 65%);
}
.main-nav a {
  display: grid;
  place-items: center;
  min-height: 2.35rem;
  padding: 0 .8rem;
  border-radius: 999px;
  font-size: .73rem;
  font-weight: 600;
  white-space: nowrap;
}
.main-nav a:is(:hover, [aria-current]) { color: var(--green-deep); background: var(--cream); }
.desktop-review { justify-self: end; white-space: nowrap; }
.menu-toggle, .mobile-review { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-image { object-position: 62% 59%; translate: 0 var(--hero-drift, 0px); }
.hero::after {
  content: '';
  background:
    linear-gradient(0deg, rgb(24 38 27 / 80%), transparent 40%),
    linear-gradient(90deg, #243426 0%, rgb(36 52 38 / 90%) 18%, rgb(36 52 38 / 44%) 53%, rgb(36 52 38 / 10%) 90%),
    linear-gradient(180deg, rgb(24 38 27 / 67%), transparent 29%);
}
.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(42rem, 96svh, 64rem);
  padding-top: clamp(9rem, 19vh, 15rem);
  padding-bottom: clamp(1.75rem, 4vw, 4rem);
}
.hero-copy {
  max-width: 44rem;
  translate: 0 calc(var(--hero-drift, 0px) * .4);
  opacity: calc(1 - var(--hero-progress, 0) * .84);
}
.hero-copy:focus-within { opacity: 1; }
.hero h1 { margin-block: .75rem 1.2rem; font-size: clamp(4.25rem, 7.25vw, 8.5rem); text-wrap: balance; }
.hero-copy > p:not(.eyebrow) { max-width: 23rem; font-size: clamp(.95rem, 1.2vw, 1.13rem); }
.hero-copy > .pill { margin-top: 1.65rem; }
.hero-bottom { position: relative; margin-top: 2.35rem; }
.wordmark {
  color: var(--cream);
  font: 400 clamp(4rem, 18.2vw, 19.25rem)/.9 var(--serif);
  letter-spacing: -.08em;
  white-space: nowrap;
}
.salon-story { position: relative; background: var(--cream); box-shadow: 0 -12px 36px rgb(36 52 38 / 16%); }
.hero-arrow {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  width: 3.25rem;
  height: 3.25rem;
  margin-inline: auto;
  translate: 0 -50%;
  color: var(--green);
  background: var(--cream);
  box-shadow: 0 8px 24px rgb(36 52 38 / 16%);
}
.hero-arrow span { transition: translate .3s var(--ease-out); }
.hero-arrow:hover span { translate: 0 4px; }

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(2rem, 6.2vw, 7rem);
}
.story-images { position: relative; min-width: 0; padding: 0 14% 7% 0; }
.arch { border-radius: 50% 50% .2rem .2rem / 34% 34% .2rem .2rem; overflow: hidden; }
.story-main { width: 100%; aspect-ratio: 1 / 1.09; height: auto; object-position: 57% 50%; }
.story-gallery {
  position: absolute;
  width: 43%;
  bottom: 0;
  right: 0;
  border: .4rem solid var(--cream);
  background: var(--warm-cream);
}
.story-gallery img { width: 100%; height: auto; aspect-ratio: 3 / 4; }
.story-gallery img.gallery-outgoing {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}
.gallery-controls { display: flex; position: absolute; gap: .4rem; bottom: 0; left: 0; }
.gallery-controls .circle { background: var(--cream); }
.story-title { color: var(--ink); }
.story-copy p + p { margin-top: 1.2rem; }

.section-intro {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 5vw, 4.5rem);
}
.section-intro p { max-width: 24rem; }
.treatment-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(5.75rem, auto);
  align-items: center;
  gap: clamp(1rem, 3vw, 3.5rem);
  padding-block: clamp(1rem, 2.45vw, 2.2rem);
  border-top: 1px solid var(--rule);
}
.treatment-name { font-size: clamp(1.35rem, 2.8vw, 2.65rem); line-height: 1.16; }
.treatment-description { max-width: 35rem; font-size: clamp(.83rem, 1.1vw, 1rem); }
.price { color: var(--accent); font-size: .85rem; font-weight: 600; text-align: right; }
#featured-treatments { border-bottom: 1px solid var(--rule); }
.treatment-list .pill { margin-top: 2rem; }
.treatment-preview {
  position: fixed;
  z-index: 3;
  inset: 0 auto auto 0;
  width: min(clamp(8rem, 15vw, 13rem), max(0px, (100dvh - 7rem) * .8));
  aspect-ratio: 4 / 5;
  opacity: 0;
  scale: .9;
  rotate: -4deg;
  box-shadow: 0 16px 35px rgb(0 0 0 / 26%);
  pointer-events: none;
  transition: opacity .23s ease, scale .42s var(--ease-out), rotate .42s var(--ease-out);
}
.treatment-preview.visible { opacity: 1; scale: 1; rotate: 0deg; }
.treatment-list .treatment-name { transition: color .25s; }
.treatment-list .treatment-row:hover .treatment-name { color: var(--accent); }

.lookbook {
  background: #efeae0;
  padding-block: clamp(3.5rem, 6vw, 6.5rem);
  border-bottom: 1px solid var(--rule);
}
.lookbook-panel { top: 5.15rem; }
.lookbook-stage[data-scroll-linked]::after {
  content: '';
  display: block;
  height: var(--lookbook-distance);
}
.lookbook-stage[data-scroll-linked] .lookbook-panel { position: sticky; }
.lookbook-stage[data-scroll-linked] .lookbook-track { scroll-snap-type: none; }
.lookbook-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.45rem, 3.3vw, 3.2rem);
}
.lookbook-heading p { margin-top: .65rem; }
.lookbook-controls { display: flex; gap: .45rem; flex-shrink: 0; }
.lookbook-controls .circle { border-color: rgb(45 62 46 / 24%); }
.lookbook-controls .circle[aria-disabled="true"] { opacity: .45; background: transparent; cursor: default; }
.lookbook-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(12.5rem, 19vw, 20rem);
  align-items: start;
  gap: clamp(1rem, 2.35vw, 2.1rem);
  margin-block: 0;
  padding: 0 0 .85rem;
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
}
.lookbook:has(.lookbook-controls:not([hidden])) .lookbook-track { scrollbar-width: none; }
.lookbook-track > li { min-width: 0; scroll-snap-align: start; }
.lookbook-track > li:nth-child(even) { padding-top: clamp(1.1rem, 3.2vw, 2.8rem); }
.lookbook-photo {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--line);
}
.lookbook-photo:not(.arch) { border-radius: .4rem; }
.lookbook-photo img {
  width: 100%;
  height: 100%;
  object-position: center 55%;
  filter: saturate(.94) contrast(.98) brightness(1.035);
}
.lookbook-photo .lookbook-photo-detail { object-position: center 70%; }
.lookbook-track figcaption {
  margin-top: .7rem;
  font: 400 clamp(1.12rem, 1.65vw, 1.5rem)/1.3 var(--serif);
}
.lookbook-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: .65rem;
}
.lookbook-progress {
  flex: 1 1 8rem;
  height: 2px;
  background: var(--line);
}
.lookbook-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold-dark);
  transform-origin: left;
  scale: max(.06, var(--lookbook-progress, 0)) 1;
}
.lookbook-footer a { font-size: .8rem; text-decoration: underline; text-underline-offset: .24em; }
.lookbook-footer a:hover { color: var(--gold-dark); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 7vw, 8rem); }
.split h2 + p { max-width: 23rem; margin-top: 1rem; }
.reviews { background: var(--warm-cream); }
.review { min-height: 16rem; }
.review-stars { color: var(--accent); letter-spacing: .2em; }
.review blockquote {
  margin-block: .75rem 1.5rem;
  font: 400 clamp(1.35rem, 2.2vw, 2.2rem)/1.45 var(--serif);
}
.review figcaption { display: flex; flex-direction: column; gap: .2rem; }
.review figcaption span { font-size: .86rem; color: var(--muted); }
.review-controls { display: flex; align-items: center; gap: .55rem; margin-bottom: 1.35rem; }
.review-dots { display: flex; flex-wrap: wrap; padding-inline: .2rem; }
.review-dot { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; padding: 0; border: 0; background: transparent; }
.review-dot::before { content: ''; width: .38rem; height: .38rem; border-radius: 50%; background: var(--sage); opacity: .65; }
.review-dot:is([aria-pressed="true"], :hover)::before { width: .65rem; height: .65rem; opacity: 1; background: var(--accent); }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(2rem, 6vw, 5rem);
  padding-top: 1.8rem;
  border-top: 1px solid var(--rule);
}
.stats div, .catalog-stats div { display: flex; flex-direction: column-reverse; }
.stats div + div { border-left: 1px solid var(--rule); padding-left: 12%; }
.stats dd { font: 400 clamp(2.1rem, 5.6vw, 5rem)/1.12 var(--serif); letter-spacing: -.055em; }
.stats dt { margin-top: .4rem; color: var(--muted); font-size: clamp(.71rem, 1.35vw, .95rem); }

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
}
summary::-webkit-details-marker { display: none; }
summary:hover .disclosure-mark { background: var(--gold); color: var(--green-deep); border-color: var(--gold); }
.disclosure-mark::before { content: '+'; }
[open] > summary .disclosure-mark::before { content: '−'; }
.question { border-top: 1px solid var(--rule); }
.question:last-child { border-bottom: 1px solid var(--rule); }
.question summary { padding: .8rem 0; font-weight: 600; }
.answer { padding: .15rem 2.75rem 1rem 0; font-size: .95rem; }
.faq-contact { margin-top: 1.5rem; font-size: .9rem; }

.contact h2 { margin-top: .8rem; }
.contact-quote { font: italic 400 1.45rem/1.5 var(--serif); }
.contact-details > div { padding: 1.15rem 0; border-top: 1px solid var(--rule); }
.contact-details > div:last-child { border-bottom: 1px solid var(--rule); }
.contact-details .eyebrow { margin-bottom: .5rem; }
.contact-details :is(a, address) { font: 400 clamp(1.3rem, 2.35vw, 2.25rem)/1.3 var(--serif); overflow-wrap: anywhere; }
.contact-details a:hover { color: var(--accent); }
.contact-details a span { margin-left: .3rem; font-size: .7em; }
.hours { max-width: 25rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; }
.hours dt { color: var(--muted); }
.hours dd { flex-shrink: 0; }

.footer { padding-block: 3rem 1.5rem; border-top: 1px solid var(--rule); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1.7rem; }
.footer-grid p { margin-top: .6rem; }
.footer h2 { font: 600 .68rem/1.45 Inter, sans-serif; letter-spacing: .23em; }
.footer ul { list-style: none; padding: 0; margin: .65rem 0 0; }
.footer li, .footer-grid p, .copyright { font-size: .82rem; }
.footer a:hover { color: var(--accent); }
.footer li + li { margin-top: .35rem; }
.copyright { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); }

.catalog-page .masthead { background: rgb(36 52 38 / 97%); }
.catalog-hero { background: var(--cream); border-bottom: 1px solid var(--rule); }
.catalog-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.7rem, 5.8vw, 6.5rem);
  padding-block: clamp(7.5rem, 10.25vw, 10rem) clamp(3.75rem, 6.5vw, 7rem);
}
.catalog-hero h1 {
  margin-block: .65rem 1.1rem;
  font-size: clamp(2.3rem, 6.45vw, 7rem);
}
.catalog-hero-copy > p:not(.eyebrow) { max-width: 27rem; font-size: clamp(.96rem, 1.55vw, 1.17rem); }
.catalog-hero-visual {
  position: relative;
  isolation: isolate;
  margin-inline-end: clamp(.55rem, 1.3vw, 1.15rem);
  border-radius: 50% 50% .25rem .25rem / 40% 40% .25rem .25rem;
}
.catalog-hero-visual::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: .65rem -.65rem -.65rem .65rem;
  border: 1px solid var(--gold-dark);
  border-radius: inherit;
}
.catalog-hero-crop {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: inherit;
  background: var(--line);
}
.catalog-hero-crop img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.16;
  object-position: 51% 56%;
}
.catalog-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 26rem;
  margin-top: clamp(1.7rem, 3vw, 2.6rem);
  border-top: 1px solid var(--rule);
}
.catalog-stats div { padding-block: .95rem .2rem; }
.catalog-stats div + div { padding-inline-start: 1.25rem; border-inline-start: 1px solid var(--rule); }
.catalog-stats dt { letter-spacing: .13em; text-transform: uppercase; font-size: .62rem; color: var(--muted); }
.catalog-stats dd { margin-bottom: .35rem; font: 400 clamp(1.75rem, 4vw, 3rem)/1.15 var(--serif); color: var(--accent); }
.catalog { background: var(--warm-cream); }
.catalog-intro { max-width: 40rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.category { border-top: 1px solid var(--rule); }
.category:last-child { border-bottom: 1px solid var(--rule); }
.category summary { padding: clamp(1.15rem, 2.8vw, 2.5rem) 0; }
.category h2 { font-size: clamp(1.8rem, 4.8vw, 4.5rem); }
.category-items { padding-bottom: 1.2rem; }
.category-items .treatment-name { font-size: clamp(1.24rem, 2vw, 2rem); }
.extra-costs { padding-block: 1.25rem; border-top: 1px solid var(--rule); }
.catalog-contact .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem 3rem; }
.catalog-contact p { color: var(--ink); font: italic 400 clamp(1.7rem, 3.65vw, 3.25rem)/1.2 var(--serif); }

dialog {
  width: min(calc(100% - 2rem), 34rem);
  max-height: calc(100% - 2rem);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  color: var(--ink);
  background: var(--cream);
}
dialog::backdrop { background: rgb(36 52 38 / 78%); }
dialog h2 { font-size: clamp(1.9rem, 4.5vw, 2.75rem); }
dialog form { display: grid; gap: .85rem; }
dialog label, dialog legend { font-size: .85rem; font-weight: 600; }
dialog input:not([type="radio"]), dialog textarea {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  padding: .55rem .7rem;
  margin-top: .25rem;
  border: 1px solid var(--line);
  border-radius: .45rem;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
}
dialog textarea { resize: vertical; }
dialog fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.rating { display: flex; width: fit-content; }
.rating label { position: relative; display: grid; place-items: center; color: var(--gold-dark); cursor: pointer; }
.rating label:has(input:checked) ~ label { color: var(--sage); opacity: .5; }
.rating span { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; font-size: 1.45rem; }
.rating input { position: absolute; opacity: 0; }
.rating input:focus-visible + span { outline: 2px solid var(--accent); border-radius: .3rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.pill-outline { color: var(--green); background: transparent; border-color: var(--sage); }
.form-message { color: var(--green); font-weight: 600; }
.toast:not(:empty) {
  position: fixed;
  inset: auto var(--gutter) 1.25rem;
  z-index: 11;
  width: fit-content;
  margin-left: auto;
  padding: .75rem 1rem;
  border-radius: .5rem;
  color: var(--cream);
  background: var(--green);
  box-shadow: 0 0 0 1px var(--line);
}

@media (max-width: 54rem) {
  .masthead-inner { grid-template-columns: 1fr auto; grid-template-rows: 4.5rem; row-gap: 0; }
  .desktop-review { display: none; }
  .menu-toggle {
    display: inline-flex;
    border-color: rgb(248 246 242 / 40%);
    background: rgb(36 52 38 / 75%);
  }
  .menu-toggle span {
    width: 1rem;
    height: .65rem;
    border-block: 1px solid currentColor;
  }
  .main-nav {
    position: static;
    display: none;
    grid-column: 1 / -1;
    max-height: calc(100dvh - 4.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    border-top: 1px solid rgb(248 246 242 / 21%);
    border-radius: 0;
    padding: .4rem 0 1rem;
    background: none;
  }
  .menu-toggle[aria-expanded="true"] + .main-nav { display: grid; }
  .main-nav a { justify-content: start; min-height: 2.75rem; }
  .mobile-review { display: inline-flex; justify-self: start; margin-top: .4rem; }
  .hero-inner { min-height: clamp(38rem, 91svh, 55rem); padding-top: 9rem; }
  .hero h1 { font-size: clamp(3.85rem, 10vw, 6rem); }
  .wordmark { font-size: clamp(3.9rem, 17.5vw, 9.4rem); }
  .story-grid, .split { gap: 2.2rem; }
}

@media (max-width: 48rem) {
  .catalog-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 2.15rem; padding-block: 6.85rem 3.5rem; }
  .catalog-hero h1 { font-size: clamp(2.3rem, 12vw, 4.65rem); }
  .catalog-hero-visual { width: calc(100% - .65rem); max-width: 34rem; }
  .catalog-hero-crop img { aspect-ratio: 1.55; }
}

@media (max-width: 40rem) {
  .hero-inner { padding-top: 8rem; }
  .hero-image { object-position: 66% 52%; }
  .hero::after {
    background:
      linear-gradient(0deg, rgb(24 38 27 / 84%), transparent 48%),
      linear-gradient(90deg, rgb(36 52 38 / 95%), rgb(36 52 38 / 36%)),
      linear-gradient(180deg, rgb(24 38 27 / 58%), transparent 36%);
  }
  .hero-copy { max-width: 30rem; }
  .hero h1 { margin-block: .7rem 1rem; }
  #home h1 { font-size: clamp(2.9rem, 15.7vw, 3.85rem); }
  .story-grid, .split, .section-intro { grid-template-columns: minmax(0, 1fr); }
  .story-images { max-width: 28rem; }
  .story-copy { grid-row: 1; }
  .section-intro { gap: 1rem; }
  .treatment-row { grid-template-columns: minmax(0, 1fr) auto; gap: .35rem .75rem; }
  .price { grid-column: 2; grid-row: 1; }
  .treatment-description { grid-column: 1 / -1; }
  .review { min-height: 0; }
  .stats div + div { padding-left: 11%; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (min-width: 54.001rem) {
  .lookbook-photo { max-height: max(12rem, calc(100svh - 26rem)); }
  .main-nav:has(a[aria-current])::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: .24rem auto .24rem 0;
    width: var(--nav-width, 0px);
    translate: var(--nav-offset, 0px) 0;
    border-radius: inherit;
    background: var(--cream);
    transition: translate .42s var(--ease-out), width .42s var(--ease-out);
  }
  .main-nav:has(a[aria-current]) a[aria-current] { background: transparent; }
  .main-nav a:hover:not([aria-current]) { background: rgb(248 246 242 / 16%); color: var(--cream); }
}

@media (prefers-reduced-motion: no-preference) {
  .catalog-leaving::after, .catalog-arriving::after {
    content: '';
    position: fixed;
    z-index: 30;
    inset: 0;
    background: var(--green-deep);
    pointer-events: none;
  }
  .catalog-leaving::after {
    box-shadow: 0 -1px var(--gold);
    animation: catalog-cover .21s cubic-bezier(.55, 0, .32, 1) both;
  }
  .catalog-arriving::after {
    box-shadow: 0 1px var(--gold);
    animation: catalog-reveal .45s var(--ease-out) both;
  }

  .catalog-hero-copy h1 { animation: catalog-title-in .9s var(--ease-out); }
  .catalog-hero-copy .ruled::after {
    transform-origin: left;
    animation: opening-line .7s var(--ease-out);
  }
  .catalog-hero-visual::after { animation: catalog-frame-in 1.2s var(--ease-out) both; }
  .catalog-hero-crop img {
    transform: translate3d(var(--photo-x, 0px), var(--photo-y, 0px), 0) scale(var(--photo-scale, 1));
    animation: catalog-photo-in 1.45s var(--ease-out);
    transition: transform .65s var(--ease-out);
  }
  .catalog-hero-crop::after {
    content: '';
    position: absolute;
    inset: -25% -65%;
    background: linear-gradient(112deg, transparent 40%, rgb(255 247 218 / 70%) 50%, transparent 60%);
    opacity: 0;
    mix-blend-mode: screen;
    pointer-events: none;
    animation: catalog-light 1.45s cubic-bezier(.35, .12, .34, 1);
  }

  .opening {
    position: fixed;
    z-index: 20;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 1rem;
    color: var(--cream);
    background: var(--green-deep);
    pointer-events: none;
    animation: opening-wipe .65s .43s var(--ease-out) both;
  }
  .opening img { border-radius: 50%; animation: rise-in .58s var(--ease-out) both; }
  .opening span {
    font: 400 clamp(1.75rem, 4vw, 3.1rem)/1.1 var(--serif);
    letter-spacing: .23em;
    text-transform: uppercase;
    animation: rise-in .65s .06s var(--ease-out) both;
  }
  .opening::after {
    content: '';
    position: absolute;
    inset: auto var(--gutter) 8% var(--gutter);
    height: 1px;
    background: var(--gold);
    transform-origin: left;
    animation: opening-line .55s var(--ease-out) both;
  }
  .hero-enter { --opening-delay: 0s; }
  .hero-opening { --opening-delay: .58s; }
  .hero-enter .hero-image { animation: settle-photo 1.4s var(--ease-out) both; }
  .hero-enter .hero-copy > * { animation: rise-in .8s var(--opening-delay) var(--ease-out) both; }
  .hero-enter .hero-copy > h1 {
    animation: wipe-in 1s calc(var(--opening-delay) + .08s) var(--ease-out) both;
  }
  .hero-enter .hero-copy > :nth-child(3) { animation-delay: calc(var(--opening-delay) + .22s); }
  .hero-enter .hero-copy > :nth-child(4) { animation-delay: calc(var(--opening-delay) + .31s); }
  .hero-enter .wordmark { animation: wipe-in 1s calc(var(--opening-delay) + .24s) var(--ease-out) both; }
  .enter { animation: rise-in .72s var(--enter-delay, 0ms) var(--ease-out) both; }
  .enter:is(h2, .story-title, .arch) {
    animation: wipe-in .95s var(--enter-delay, 0ms) var(--ease-out) both;
  }
  .story-gallery, .section-intro p, .story-copy p + p { --enter-delay: 130ms; }
  .stats div:nth-child(2), .footer-grid > div:nth-child(2) { --enter-delay: 85ms; }
  .stats div:nth-child(3), .footer-grid > div:nth-child(3) { --enter-delay: 170ms; }
  .gallery-outgoing { animation: photo-out .55s var(--ease-out) both; }
  .menu-toggle[aria-expanded="true"] + .main-nav { animation: rise-in .38s var(--ease-out) both; }
  dialog[open] { animation: rise-in .35s var(--ease-out) both; }

  @supports (interpolate-size: allow-keywords) {
    details::details-content {
      interpolate-size: allow-keywords;
      overflow: clip;
      block-size: 0;
      opacity: 0;
      transition: block-size .48s var(--ease-out), opacity .3s ease, content-visibility .48s allow-discrete;
    }
    details[open]::details-content { block-size: auto; opacity: 1; }
    details.collapse-immediately::details-content { transition: none; }
  }
}

@keyframes catalog-cover {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
@keyframes catalog-reveal {
  from { transform: translateY(0); }
  to { transform: translateY(-101%); }
}
@keyframes catalog-title-in {
  from { opacity: .8; translate: 0 .7rem; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes catalog-frame-in {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0); }
}
@keyframes catalog-photo-in {
  from { scale: 1.19; }
  to { scale: 1; }
}
@keyframes catalog-light {
  0% { opacity: 0; translate: -55% 0; }
  40% { opacity: .54; }
  100% { opacity: 0; translate: 55% 0; }
}
@keyframes opening-wipe {
  from { clip-path: inset(0); }
  to { clip-path: inset(0 0 100%); }
}
@keyframes opening-line {
  from { scale: 0 1; }
  to { scale: 1 1; }
}
@keyframes settle-photo {
  from { scale: 1.085; }
  to { scale: 1; }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
@keyframes wipe-in {
  from { opacity: .15; clip-path: inset(-.16em -.12em 100%); transform: translateY(34px); }
  to { opacity: 1; clip-path: inset(-.16em -.12em -.16em); transform: none; }
}
@keyframes photo-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
