:root {
  color-scheme: light;
  --paper: #fbf7f3;
  --cream: #f1e6dc;
  --ink: #302127;
  --muted: #695459;
  --plum: #643d54;
  --dark: #36222f;
  --line: #dbcbc8;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .75, .25, 1);
  --intro-duration: 2.5s;
  --intro-transition: .9s;
  --intro-reveal: calc(var(--intro-duration) - var(--intro-transition));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #906381; outline-offset: 5px; }
section[id] { scroll-margin-block-start: 5.6rem; }
::selection { color: #fff; background: var(--plum); }

.shell { width: min(1360px, calc(100% - 7vw)); margin-inline: auto; }
.section-space { margin-block-start: clamp(4.5rem, 9vw, 9rem); }
.skip { position: fixed; z-index: 20; top: 1rem; left: 1rem; padding: .7rem 1rem; transform: translateY(-200%); background: white; }
.skip:focus { transform: translateY(0); }

.intro {
  position: fixed;
  z-index: 10;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  animation: intro-dismiss var(--intro-duration) step-end forwards;
}
.intro::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, #fcf1e4, #ecddd8 72%);
  content: "";
  animation: intro-fade var(--intro-transition) var(--intro-reveal) ease both;
}
.studio-logo { clip-path: circle(39.8% at 49.25% 47.5%); }
.intro-mark {
  position: relative;
  width: clamp(220px, 29vw, 350px);
  max-width: 78vw;
  aspect-ratio: 1;
  animation: intro-mark-motion var(--intro-transition) var(--intro-reveal) ease-in-out both;
}
.intro-mark img {
  width: 100%;
  height: 100%;
  animation: logo-in 1.25s var(--ease) both;
}
.intro-mark::after {
  position: absolute;
  inset: 7.7% 10.95% 12.7% 9.45%;
  border-radius: 50%;
  border: 1px solid #cb9c63;
  box-shadow: 0 0 28px #fff0cf, inset 0 0 16px #fff4dd;
  content: "";
  animation: ring-in 1.55s ease both, intro-fade var(--intro-transition) var(--intro-reveal) ease forwards;
}
@keyframes intro-dismiss { to { visibility: hidden; } }
@keyframes intro-fade { to { opacity: 0; } }
@keyframes intro-mark-motion {
  from { transform: none; opacity: 1; }
  to { transform: var(--intro-target, none); opacity: var(--intro-target-opacity, 0); }
}
.intro-docks .intro-mark { --intro-target-opacity: 1; }
.intro-docks .hero-brand .studio-logo { visibility: hidden; }
@keyframes mark-in { 0% { opacity: 0; transform: scale(.94); } 100% { opacity: 1; transform: scale(1); } }
@keyframes logo-in {
  from { opacity: .7; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes ring-in {
  0% { opacity: 0; transform: scale(1.06); }
  55% { opacity: 1; }
  100% { opacity: .84; transform: scale(1); }
}

.site-header { position: sticky; z-index: 3; top: 0; background: var(--paper); }
.header-inner { min-height: 83px; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.wordmark { display: inline-grid; justify-items: center; text-decoration: none; align-self: center; color: var(--plum); }
.wordmark > span { font: italic 600 2.4rem/.8 var(--serif); letter-spacing: -.055em; }
.wordmark small { margin-top: .52rem; font-size: .59rem; font-weight: 700; letter-spacing: .24em; }
.site-header nav { display: flex; align-items: center; gap: clamp(1.15rem, 3.05vw, 3.25rem); }
.site-header nav > a { text-decoration: none; font-weight: 600; font-size: .85rem; }
.site-header nav > a:not(.button):hover { color: #86566f; }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: .86rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 2px;
  text-decoration: none;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.35;
  transition: background-color .24s ease, color .24s ease, border-color .24s ease;
}
.button span { font-size: 1.12rem; }
.button-outline { border-color: #cbb3bc; color: var(--plum); }
.button-outline:hover { background-color: #f2e6eb; border-color: var(--plum); }
.button-primary { background: var(--plum); color: #fff8f3; }
.button-primary:hover { background: #4c2b3f; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .3rem 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  color: var(--plum);
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
}
.text-link span { transition: transform .26s var(--ease); }
.text-link:hover span { transform: translate(.2rem, -.12rem); }

.hero { display: grid; grid-template-columns: 48% 52%; min-height: clamp(530px, 46vw, 690px); }
.hero-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(2.4rem, 5.2vw, 5.8rem);
  background: radial-gradient(ellipse at 30% 15%, #f5eae2, transparent 75%), linear-gradient(145deg, var(--cream), #eddee1);
}
.hero-brand { display: flex; align-items: center; gap: clamp(.65rem, 1.4vw, 1.25rem); }
.hero-brand .studio-logo { flex: none; width: clamp(104px, 10.5vw, 152px); height: auto; }
.eyebrow { display: flex; align-items: center; gap: .75rem; color: var(--plum); font-size: .7rem; font-weight: 700; letter-spacing: .18em; }
.rule { display: inline-block; flex: 0 0 24px; height: 1px; background: currentColor; }
h1, h2 { font: 500 clamp(3.2rem, 6.4vw, 6.4rem)/.87 var(--serif); letter-spacing: -.055em; }
h1 { margin-block: 1.65rem 1.6rem; font-size: clamp(3.65rem, 7.15vw, 7.15rem); }
h1 em, h2 em { color: var(--plum); font-weight: 500; }
.hero-description { max-width: 29ch; color: var(--muted); }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.hero-photo { position: relative; min-width: 0; min-height: 0; background: #b18b7a; overflow: hidden; }
.hero-photo::after { position: absolute; inset: 14px; border: 1px solid #fff7ed66; content: ""; pointer-events: none; }
.hero-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 37%; }
.hero-photo img { animation: photo-in 1.1s calc(var(--intro-duration) - .95s) var(--ease) both; }
.hero-copy > :not(.hero-brand), .hero-brand .eyebrow { animation: copy-in .64s calc(var(--intro-duration) - .84s) var(--ease) both; }
.hero-copy h1 { animation-delay: calc(var(--intro-duration) - .78s); }
.hero-description { animation-delay: calc(var(--intro-duration) - .7s); }
.hero-actions { animation-delay: calc(var(--intro-duration) - .62s); }
@keyframes photo-in { from { transform: scale(1.045); } to { transform: scale(1); } }
@keyframes copy-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.25rem; margin-bottom: 2rem; }
.section-heading h2 { font-size: clamp(3.15rem, 5.7vw, 5.9rem); }
.gallery-open { display: none; }
.js .gallery-open { display: inline-flex; flex: 0 0 auto; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: clamp(.65rem, 2.1vw, 2rem); }
.gallery-grid figure:nth-child(2) { margin-top: 2.6rem; }
.gallery-image { display: block; position: relative; overflow: hidden; background: var(--cream); aspect-ratio: 4 / 5; }
.gallery-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 37%; transition: transform .64s var(--ease); }
.gallery-image:hover img { transform: scale(1.045); }
.gallery-image span {
  position: absolute;
  right: .8rem;
  bottom: .8rem;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid #fff6ec73;
  border-radius: 50%;
  color: #fff8f3;
  background: #35212dc7;
}
.gallery-grid figcaption { padding-top: .65rem; color: var(--muted); font-size: .84rem; }

.about { background: #f0e7e8; padding-block: clamp(2.4rem, 6vw, 6rem); }
.about-inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); align-items: center; gap: clamp(2.5rem, 9vw, 9.25rem); max-width: 1120px; }
.about-photo { aspect-ratio: 4 / 4.7; position: relative; background: #c1a99a; }
.about-photo::after { content: ""; position: absolute; inset: .8rem; border: 1px solid #fff7ed73; pointer-events: none; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 67% 48%; }
.about-copy h2 { margin-block: 1.1rem 1.65rem; }
.about-copy > p:not(.eyebrow) { max-width: 37ch; color: var(--muted); margin-block-end: 1.65rem; }

.pricing { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 7.5vw, 8rem); max-width: 1120px; }
.pricing-copy h2 { font-size: clamp(3.1rem, 5.45vw, 5.7rem); }
.pricing img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--cream); }
.price-list { display: grid; padding: 0; margin: 1.45rem 0; list-style: none; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-block-start: 1px solid var(--line); padding: .9rem 0; }
.price-list li:last-child { border-block-end: 1px solid var(--line); }
.price-list small { display: block; color: var(--muted); font-size: .82rem; }
.price-list strong { color: var(--plum); font-variant-numeric: tabular-nums; white-space: nowrap; }

.booking { background: var(--dark); color: #fff7f2; padding-block: clamp(3.2rem, 7vw, 7rem); }
.booking-inner { max-width: 1120px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(2.5rem, 7.5vw, 8.5rem); }
.booking-copy { padding-block-start: .3rem; }
.booking-copy h2 { margin-block: 1.2rem 1.5rem; }
.booking-copy h2 em, .booking-copy .eyebrow { color: #e7b8cf; }
.booking-copy p:not(.eyebrow) { max-width: 33ch; color: #f1dce6; }
.booking-copy address { display: grid; justify-items: start; gap: .5rem; font-style: normal; margin-top: 1.65rem; }
.booking-copy address a, .instagram-contact { text-underline-offset: 4px; }
.instagram-contact { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.1rem; padding-block: .35rem; color: #e7b8cf; }
.instagram-contact:hover { color: #fff7f2; }
.booking-form { display: none; }
.js .booking-form {
  display: block;
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
  background: var(--paper);
  color: var(--ink);
}
.booking-form label { display: block; margin-bottom: .33rem; font-size: .84rem; font-weight: 700; }
.booking-form label span { font-weight: 400; color: var(--muted); }
.booking-form input, .booking-form select, .booking-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0 0 .95rem;
  padding: .52rem .65rem;
  border: 1px solid #d0bcbe;
  border-radius: 2px;
  color: var(--ink);
  background: #fffdfa;
}
.booking-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.form-row > div { min-width: 0; }
.booking-form .button { width: 100%; }
.form-feedback { font-size: .84rem; color: var(--plum); margin-top: .7rem; }
.form-feedback a { text-underline-offset: 3px; }

.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 110px; }
.footer-inner p { color: var(--muted); font-size: .87rem; }

#gallery-viewer {
  position: fixed;
  border: 0;
  padding: 1rem;
  width: min(1000px, 96vw);
  max-width: none;
  max-height: 96dvh;
  background: transparent;
  color: #fff7f1;
  overflow: visible;
}
#gallery-viewer::backdrop { background: #241821f5; }
.viewer-figure { display: grid; justify-items: center; gap: .5rem; padding-inline: 3rem; }
.viewer-figure img { width: auto; height: min(76dvh, 780px); max-width: 100%; object-fit: contain; animation: mark-in .35s var(--ease) both; }
.viewer-figure figcaption { font-size: .9rem; text-align: center; }
.icon-button { display: grid; place-items: center; position: absolute; z-index: 1; width: 44px; height: 44px; border: 1px solid #d3b3c5; border-radius: 50%; background: #36222fdd; color: #fff9f4; font-size: 1.3rem; }
.icon-button:hover { background: var(--plum); }
.viewer-close { top: 0; right: 0; font-size: 1.65rem; }
.viewer-prev, .viewer-next { top: 48%; }
.viewer-prev { left: 0; }
.viewer-next { right: 0; }

.reveal-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal-ready [data-reveal].is-visible, .reveal-ready [data-reveal]:focus-within { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .hero-copy { padding-inline: 6%; }
  .hero-actions { gap: .9rem; }
  .hero { min-height: 510px; }
}

@media (max-width: 730px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { min-height: 68px; position: relative; flex-wrap: wrap; gap: .6rem; }
  .wordmark > span { font-size: 2.15rem; }
  .js .menu-toggle { display: inline-flex; gap: .5rem; align-items: center; background: transparent; border: 1px solid var(--line); border-radius: 2px; padding: .55rem .75rem; color: var(--plum); }
  .menu-toggle span { width: 13px; height: 8px; border-block: 1px solid currentColor; }
  .site-header nav { flex-wrap: wrap; gap: .65rem 1rem; padding-bottom: .8rem; }
  .js .site-header nav {
    position: absolute;
    display: none;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    padding: .6rem 1rem 1rem;
    background: var(--paper);
    border: 1px solid var(--line);
  }
  .js .site-header nav.is-open { display: flex; }
  .js .site-header nav a { padding: .65rem .45rem; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 2.85rem clamp(1.25rem, 6vw, 3rem); }
  h1 { font-size: clamp(3.45rem, 11vw, 5.5rem); margin-block: 1.25rem; }
  .hero-actions { margin-top: 1.45rem; }
  .hero-photo { aspect-ratio: 5 / 5.5; }
  .hero-photo::after { inset: 9px; }
  .section-heading { margin-bottom: 1.3rem; flex-wrap: wrap; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid figure:nth-child(2) { margin-top: 1.3rem; }
  .js .gallery-grid figure:nth-child(3) { display: none; }
  .gallery-image span { right: .45rem; bottom: .45rem; width: 2rem; height: 2rem; }
  .about-inner, .pricing, .booking-inner { grid-template-columns: 1fr; }
  .about-photo { width: min(100%, 480px); }
  .about-copy h2 { margin-block-end: 1rem; }
  .footer-inner { min-height: 0; padding-block: 1.5rem; flex-wrap: wrap; }
  .footer-inner p { order: 3; width: 100%; }
  .viewer-figure { padding-inline: .4rem; }
  .viewer-figure img { height: min(69dvh, 700px); }
  .viewer-prev, .viewer-next { top: auto; bottom: -1rem; }
}

@media (max-width: 380px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  /* The branded intro runs in both motion modes. */
  .hero-photo img, .hero-copy > *, .hero-brand .eyebrow, .viewer-figure img { animation: none; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
}
