/* ==========================================================================
   Bellezza Mia · shared stylesheet
   ========================================================================== */

:root {
  /* Brand tokens */
  --espresso: #241C17;
  --ivory: #F6F1EA;
  --taupe: #E4D9CC;
  --champagne: #C9A97C;
  --text-soft: #6B6058;
  --ivory-on-dark: rgba(246, 241, 234, .75);
  --ivory-warm: #EDE2D2;     /* body copy on espresso, 13:1 */

  /* Accessible accent shades (champagne is under 2:1 on ivory) */
  --champagne-deep: #8C6A3E;   /* large italic accents on light: 4.4:1 ivory, 3.6:1 taupe */
  --bronze: #6E522C;           /* small text accents on light: AA on ivory and taupe */
  --text-on-taupe: #5C524B;    /* body copy on taupe: AA */

  --line: rgba(36, 28, 23, .14);
  --line-on-dark: rgba(246, 241, 234, .16);

  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --slant: clamp(28px, 5vw, 72px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -.01em;
}

h1 em, h2 em, h3 em, .display em {
  font-style: italic;
  font-weight: 400;
  color: var(--champagne-deep);
}

.on-dark h1 em, .on-dark h2 em, .on-dark h3 em { color: var(--champagne); }

strong { font-weight: 500; }

:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}
.on-dark :focus-visible { outline-color: var(--champagne); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: .8rem 1.2rem;
  background: var(--espresso);
  color: var(--ivory);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout helpers ---------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }

.dots {
  background-color: var(--ivory);
  background-image: radial-gradient(rgba(36, 28, 23, .09) 1px, transparent 1.4px);
  background-size: 24px 24px;
}

.on-dark {
  background: var(--espresso);
  color: var(--ivory-on-dark);
}
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--ivory); }

.band-taupe {
  background: var(--taupe);
  color: var(--text-on-taupe);
}
.band-taupe h1 em, .band-taupe h2 em { color: var(--bronze); }

/* Diagonal top edge */
.slant-top {
  clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(var(--slant) * -1);
  padding-top: calc(var(--section) + var(--slant));
  position: relative;
}

/* ---------- Type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .85em;
  margin: 0 0 1.6rem;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--bronze);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  background: currentColor;
  transform: rotate(45deg);
}
.on-dark .eyebrow { color: var(--champagne); }

.display {
  font-size: clamp(2.6rem, 6.4vw, 5.5rem);
  line-height: .98;
}

.h2 { font-size: clamp(2.3rem, 4.8vw, 4.2rem); }

.lede {
  max-width: 34rem;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--text-soft);
}
.on-dark .lede { color: var(--ivory-on-dark); }
.band-taupe .lede { color: var(--text-on-taupe); }

.small-caps {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.section-head {
  display: grid;
  gap: 1.5rem 4rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.15fr 1fr; align-items: end; }
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75em;
  min-height: 48px;
  padding: .9rem 1.8rem;
  border: 1px solid var(--champagne);
  background: var(--champagne);
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.on-dark .btn:hover { color: var(--ivory); border-color: var(--champagne); }

.btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--espresso);
}
.btn--ghost:hover { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.on-dark .btn--ghost { color: var(--ivory); border-color: rgba(246, 241, 234, .45); }
.on-dark .btn--ghost:hover { background: var(--ivory); color: var(--espresso); border-color: var(--ivory); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .8em;
  padding-bottom: .35em;
  border-bottom: 1px solid currentColor;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--espresso);
}
.link-arrow::after { content: "\2192"; letter-spacing: 0; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--ivory); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 234, .82);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header.is-scrolled {
    background: rgba(246, 241, 234, .88);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
  }
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(36, 28, 23, .5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
  transition: min-height .35s var(--ease);
}

.brand { display: block; flex: none; }
.brand img { width: auto; height: 56px; transition: height .35s var(--ease); }
@media (min-width: 1024px) {
  :root { --header-h: 104px; }
  .brand img { height: 84px; }
  /* Large logo at the top, a little smaller once the header is sticky */
  .is-scrolled .header-inner { min-height: 84px; }
  .is-scrolled .brand img { height: 64px; }
}

.primary-nav ul {
  display: flex;
  gap: clamp(1.25rem, 2.6vw, 2.6rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav a {
  position: relative;
  display: inline-block;
  padding: .5rem 0;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  text-decoration: none;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .2rem;
  height: 1px;
  background: var(--champagne-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-book { min-height: 42px; padding: .7rem 1.4rem; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--espresso);
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1px;
  margin-inline: auto;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  .brand img { height: 56px; }
  .header-book { padding-inline: 1rem; letter-spacing: .2em; }

  /* Without JS the links stay visible as a scrollable row */
  .primary-nav { order: 3; width: 100%; overflow-x: auto; }
  .no-js .header-inner { flex-wrap: wrap; padding-bottom: .4rem; }

  .js .nav-toggle { display: grid; place-items: center; }
  .js .primary-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    padding: 1rem var(--gutter) 2rem;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(36, 28, 23, .45);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .js .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .js .primary-nav ul { flex-direction: column; gap: 0; }
  .js .primary-nav li + li { border-top: 1px solid var(--line); }
  .js .primary-nav a {
    display: block;
    padding: 1.05rem 0;
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 300;
    letter-spacing: 0;
    text-transform: none;
  }
  .js .primary-nav a::after { display: none; }
  .js .primary-nav a[aria-current="page"] { color: var(--bronze); font-style: italic; }
}
@media (max-width: 380px) {
  .brand img { height: 48px; }
  .header-actions { gap: 8px; }
  .header-book { padding-inline: .8rem; letter-spacing: .16em; }
}

/* Dark header (home only): gold logo over the espresso hero, light again once scrolled */
.brand { display: grid; }
.brand > picture { grid-area: 1 / 1; transition: opacity .35s var(--ease); }
.brand-gold { opacity: 0; }

.site-header--dark:not(.is-scrolled) { background: var(--espresso); color: var(--ivory); }
.site-header--dark:not(.is-scrolled) .brand-dark { opacity: 0; }
.site-header--dark:not(.is-scrolled) .brand-gold { opacity: 1; }
.site-header--dark:not(.is-scrolled) .primary-nav a::after { background: var(--champagne); }
.site-header--dark:not(.is-scrolled) .header-book { color: var(--ivory); border-color: rgba(246, 241, 234, .45); }
.site-header--dark:not(.is-scrolled) .header-book:hover { background: var(--ivory); border-color: var(--ivory); color: var(--espresso); }
.site-header--dark:not(.is-scrolled) .nav-toggle { color: var(--ivory); border-color: rgba(246, 241, 234, .3); }
.site-header--dark:not(.is-scrolled) :focus-visible { outline-color: var(--champagne); }
@media (max-width: 899px) {
  /* the open mobile menu panel is ivory, so its links stay dark */
  .js .site-header--dark .primary-nav { color: var(--espresso); }
}

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  display: grid;
  background: var(--espresso);
  overflow: hidden;
}
@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    min-height: min(calc(100svh - var(--header-h)), 900px);
  }
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3.5rem, 9vw, 6rem) var(--gutter) 2.5rem;
}
@media (min-width: 900px) {
  .hero-copy {
    padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
    padding-right: clamp(2rem, 5vw, 5rem);
  }
}
.hero-copy .display { max-width: 11ch; margin-bottom: 1.8rem; }
.hero-copy .lede { margin-bottom: 2.4rem; color: var(--ivory-warm); }

.hero-index {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  margin: clamp(3rem, 8vw, 5rem) 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line-on-dark);
  list-style: none;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ivory-on-dark);
}
.hero-index b { margin-right: .7em; font-weight: 500; color: var(--champagne); }

.hero-media { position: relative; z-index: 1; }
.hero-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 35%;
}
/* The photo melts into the espresso panel instead of meeting it at a hard edge */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, var(--espresso), rgba(36, 28, 23, .55) 18%, rgba(36, 28, 23, 0) 45%);
}
@media (min-width: 900px) {
  /* Reach in behind the copy column, then fade from the left and the top */
  .hero-media { margin-left: -14vw; }
  .hero-media img { position: absolute; inset: 0; aspect-ratio: auto; }
  .hero-media::after {
    background:
      linear-gradient(to right, var(--espresso) 0%, rgba(36, 28, 23, .92) 14%, rgba(36, 28, 23, .55) 34%, rgba(36, 28, 23, .12) 58%, rgba(36, 28, 23, 0) 75%),
      linear-gradient(to bottom, var(--espresso), rgba(36, 28, 23, .35) 12%, rgba(36, 28, 23, 0) 26%);
  }
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  padding-block: 1.15rem;
  background: var(--taupe);
  border-block: 1px solid var(--line);
  color: var(--espresso);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.marquee ul {
  display: flex;
  flex: none;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-style: italic;
  white-space: nowrap;
}
.marquee li { display: flex; align-items: center; }
.marquee li::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-inline: 2rem;
  background: var(--champagne-deep);
  transform: rotate(45deg);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Numbered service rows ---------- */

.service-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }

.service-row {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  align-items: center;
  gap: .4rem 1.25rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: padding .4s var(--ease), background .4s var(--ease);
}
@media (min-width: 768px) {
  .service-row { grid-template-columns: 5rem minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 2rem; padding: 2rem 0; }
}
a.service-row:hover { padding-inline: 1rem; background: rgba(228, 217, 204, .45); }

.service-num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--bronze);
}
.service-name {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.3rem);
  font-weight: 400;
  line-height: 1.1;
}
.service-desc {
  grid-column: 2 / -1;
  color: var(--text-soft);
}
@media (min-width: 768px) { .service-desc { grid-column: auto; } }
.service-desc.small-caps { color: var(--bronze); }
.service-price {
  grid-column: 2 / -1;
  font-size: .9rem;
  color: var(--text-soft);
  white-space: nowrap;
}
@media (min-width: 768px) { .service-price { grid-column: auto; text-align: right; } }
.service-arrow {
  grid-row: 1;
  grid-column: 3;
  font-size: 1.2rem;
  color: var(--bronze);
  transition: transform .3s var(--ease);
}
@media (min-width: 768px) { .service-arrow { grid-row: auto; grid-column: auto; } }
a.service-row:hover .service-arrow { transform: translateX(6px); }

/* ---------- Services accordion ---------- */

.accordion { border-bottom: 1px solid var(--line); }
.accordion details { border-top: 1px solid var(--line); }
.accordion summary {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  align-items: center;
  gap: .35rem 1.25rem;
  padding: 1.7rem 0;
  list-style: none;
  cursor: pointer;
}
.accordion summary::-webkit-details-marker { display: none; }
@media (min-width: 1024px) {
  .accordion summary { grid-template-columns: 5rem minmax(0, 1.3fr) minmax(0, 1fr) 9rem 2rem; gap: 2rem; padding: 2.1rem 0; }
}
.accordion .service-desc,
.accordion .service-price { grid-column: 2 / 3; }
@media (min-width: 1024px) {
  .accordion .service-desc, .accordion .service-price { grid-column: auto; }
}
.accordion-icon {
  grid-row: 1;
  grid-column: 3;
  position: relative;
  width: 18px;
  height: 18px;
}
@media (min-width: 1024px) { .accordion-icon { grid-row: auto; grid-column: auto; } }
.accordion-icon::before, .accordion-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 18px; height: 1px;
  background: var(--espresso);
  transition: transform .35s var(--ease);
}
.accordion-icon::after { transform: rotate(90deg); }
details[open] .accordion-icon::after { transform: rotate(0); }
.accordion summary:hover .service-name { color: var(--bronze); }

.accordion-body {
  display: grid;
  gap: 2rem;
  padding: 0 0 2.6rem;
}
@media (min-width: 1024px) {
  .accordion-body { grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 300px); gap: 2rem; }
  .accordion-body > :first-child { grid-column: 2; }
}
.accordion-body .lede { margin-bottom: 1.4rem; }
.accordion-body figure { margin: 0; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}
.tag-list li {
  padding: .4rem .85rem;
  border: 1px solid var(--line);
  font-size: .78rem;
  color: var(--text-soft);
}

/* ---------- Price menu ---------- */

.menu-grid { display: grid; gap: 3.5rem 5rem; }
@media (min-width: 900px) { .menu-grid { grid-template-columns: 1fr 1fr; } }
.menu-block h3 {
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--espresso);
  font-size: 2rem;
}
.price-list { margin: 0; }
.price-list div {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}
.price-list dt { font-weight: 400; color: var(--espresso); }
.price-list .leader { flex: 1; border-bottom: 1px dotted rgba(36, 28, 23, .28); transform: translateY(-.3em); }
.price-list dd { margin: 0; font-family: var(--font-display); font-size: 1.3rem; font-variant-numeric: lining-nums; color: var(--espresso); }
.menu-note { margin-top: 1.4rem; font-size: .88rem; color: var(--text-soft); }

/* ---------- Image frames ---------- */

.frame {
  position: relative;
  margin: 0;
}
.frame img, .ratio-45 img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.frame--offset { margin: 0 clamp(18px, 3vw, 32px) clamp(18px, 3vw, 32px) 0; }
.frame--offset::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: clamp(18px, 3vw, 32px) calc(clamp(18px, 3vw, 32px) * -1) calc(clamp(18px, 3vw, 32px) * -1) clamp(18px, 3vw, 32px);
  background: var(--champagne);
}
.frame--offset > * { position: relative; z-index: 1; }

/* Crop rules from the brief */
.crop-blonde-balayage { object-position: center 70%; }
.crop-long-layers { object-position: center 20%; }

/* ---------- About ---------- */

.about-grid { display: grid; gap: clamp(3rem, 7vw, 6rem); align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); } }
.about-grid .lede { max-width: 36rem; }
.about-grid .h2 { margin-bottom: 1.8rem; }
.about-grid .link-arrow { margin-top: 1.6rem; }

.prose { max-width: 40rem; font-size: clamp(1rem, 1.3vw, 1.1rem); }
.prose p { margin-bottom: 1.4em; }

.insta-grid {
  display: grid;
  gap: 2rem;
  justify-items: center;
}
@media (min-width: 900px) { .insta-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.insta-grid .instagram-media { width: 100% !important; min-width: 0 !important; max-width: 480px !important; margin: 0 !important; }
.insta-fallback {
  display: block;
  padding: 2rem;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
}

/* ---------- Gallery grid ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1.6vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 420px) { .gallery--home { grid-template-columns: 1fr 1fr; } }

.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--taupe);
}
.gallery figcaption {
  padding-top: .7rem;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.gallery-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  color: inherit;
  cursor: zoom-in;
  overflow: hidden;
}
.gallery-btn img { transition: transform .9s var(--ease); }
.gallery-btn:hover img { transform: scale(1.035); }
.gallery-foot { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* Masonry offset on wide screens: middle column drops a step */
@media (min-width: 900px) {
  .gallery--stagger > li:nth-child(3n + 2) { position: relative; top: clamp(2rem, 4vw, 3.5rem); }
  .gallery--stagger { padding-bottom: clamp(2rem, 4vw, 3.5rem); }
}

/* ---------- Portfolio filters ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 clamp(2rem, 5vw, 3rem);
  padding: 0;
  list-style: none;
}
.no-js .filters { display: none; }
.filter-btn {
  min-height: 44px;
  padding: .6rem 1.1rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--espresso);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.filter-btn:hover { border-color: var(--espresso); }
.filter-btn[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
[data-category][hidden] { display: none !important; }

/* ---------- Before / after ---------- */

.ba-grid { display: grid; gap: clamp(2.5rem, 5vw, 3rem); margin: 0; padding: 0; list-style: none; }
.ba figcaption {
  padding-top: .9rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--espresso);
}
@media (min-width: 768px) { .ba-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); } }
.ba figure { margin: 0; }
.ba-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--taupe);
}
.ba-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba-label {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  padding: .3rem .6rem;
  background: rgba(36, 28, 23, .82);
  color: var(--ivory);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.ba-label--before { left: 12px; }
.ba-label--after { right: 12px; }
.ba-handle {
  position: absolute;
  z-index: 2;
  top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 1px;
  background: var(--ivory);
  pointer-events: none;
}
.ba-handle::after {
  content: "\2194";
  position: absolute;
  top: 50%; left: 50%;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--espresso);
  transform: translate(-50%, -50%);
}
.ba-range {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.ba-stage:has(.ba-range:focus-visible) { outline: 2px solid var(--bronze); outline-offset: 3px; }
/* Without JS the slider can't move: show the pair side by side instead */
.no-js .ba-stage { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.no-js .ba-stage img { position: static; aspect-ratio: 4 / 5; clip-path: none; }
.no-js .ba-stage picture:last-of-type { order: -1; }
.no-js .ba-handle, .no-js .ba-range { display: none; }

/* ---------- Lightbox ---------- */

.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: clamp(16px, 4vw, 48px);
  border: 0;
  background: rgba(24, 18, 14, .94);
  color: var(--ivory);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(24, 18, 14, .6); }
.lightbox figure { margin: 0; display: grid; gap: 1rem; justify-items: center; }
.lightbox img { max-width: min(92vw, 900px); max-height: 80vh; width: auto; object-fit: contain; }
.lightbox figcaption { max-width: 40rem; text-align: center; font-size: .9rem; color: var(--ivory-on-dark); }
.lightbox-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1px solid rgba(246, 241, 234, .35);
  background: rgba(36, 28, 23, .6);
  color: var(--ivory);
  font-size: 1.3rem;
  cursor: pointer;
}
.lightbox-btn:hover { border-color: var(--champagne); color: var(--champagne); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Testimonials (dark slanted band) ---------- */

.testimonials blockquote { margin: 0; }
.testimonials blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  line-height: 1.25;
  color: var(--ivory);
}
.testimonials cite {
  display: block;
  margin-top: 1.2rem;
  font-style: normal;
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--champagne);
}

/* ---------- Reserve band / Book page ---------- */

.reserve {
  text-align: center;
}
.reserve .display { margin: 0 auto 1.6rem; max-width: 14ch; }
.reserve .lede { margin: 0 auto 2.4rem; }
.reserve .btn-row { justify-content: center; }

.book-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
@media (min-width: 900px) { .book-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }

.reserve-card {
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--taupe);
  color: var(--text-on-taupe);
}
.reserve-card .h2 { margin-bottom: 1.4rem; }
.reserve-card .h2 em { color: var(--bronze); }
.reserve-card .lede { color: var(--text-on-taupe); margin-bottom: 2rem; }
.reserve-card .eyebrow { color: var(--bronze); }

.info-list { margin: 0; border-top: 1px solid var(--espresso); }
.info-list > div { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.info-list dt {
  margin-bottom: .45rem;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--bronze);
}
.info-list dd { margin: 0; color: var(--text-soft); }
.info-list dd strong { color: var(--espresso); font-weight: 400; }

.location-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 900px) { .location-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } }
.map-panel {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: var(--taupe);
  border: 1px solid var(--line);
}
.map-panel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-panel p { max-width: 22rem; padding: 1.5rem; text-align: center; color: var(--text-on-taupe); }

/* ---------- Page hero (inner pages) ---------- */

.page-hero { padding-block: clamp(4rem, 9vw, 7rem) clamp(3rem, 6vw, 5rem); }
.page-hero .display { max-width: 15ch; margin-bottom: 1.6rem; }

/* ---------- Footer ---------- */

.site-footer {
  padding: clamp(4rem, 8vw, 6rem) 0 2rem;
  font-size: .92rem;
}
.footer-top {
  display: grid;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--line-on-dark);
}
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand img { width: 240px; height: auto; margin-bottom: 1.4rem; }
.footer-brand p { max-width: 20rem; font-family: var(--font-display); font-size: 1.35rem; font-style: italic; line-height: 1.35; color: var(--ivory); }
.footer-col h2 {
  margin-bottom: 1.2rem;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--champagne);
}
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { padding: .25rem 0; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  font-size: .78rem;
  letter-spacing: .06em;
}

/* ---------- 404 ---------- */

.not-found { min-height: 60vh; display: grid; align-content: center; }

/* ---------- Motion ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Lining figures for prices and numbers set in the display face */
.service-num, .service-price, .hero-index { font-variant-numeric: lining-nums; }
.location-grid .h2 { margin-bottom: 1.4rem; }
.location-grid .info-list { margin-top: 2rem; }

/* ---------- FAQ (reuses the accordion) ---------- */
.faq summary { grid-template-columns: minmax(0, 1fr) 18px; gap: 1.5rem; padding: 1.4rem 0; }
.faq .accordion-icon { grid-row: auto; grid-column: auto; }
.faq-q {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 400;
  line-height: 1.25;
}
.faq summary:hover .faq-q { color: var(--bronze); }
.faq details > p {
  max-width: 44rem;
  margin: 0;
  padding: 0 0 1.8rem;
  color: var(--text-soft);
}
.faq details > p a { color: var(--bronze); }
