/* ============================================================
   Beauty by Karla C — Home (white / black, editorial luxury)
   ============================================================ */

:root {
  --ink: #0a0a0a;
  --ink-soft: #4a4a4a;
  --line: #e4e2df;
  --paper: #ffffff;
  --accent: #0a0a0a;
  --maxw: 1280px;

  /* sampled from the portrait backdrop: white top -> soft cool gray bottom */
  --grad-top: #fefefe;
  --grad-bottom: #eef1f8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}
html.subpage { scroll-snap-type: none; }

body {
  font-family: "Jost", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--grad-top) 0%, var(--grad-top) 30%, var(--grad-bottom) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

@keyframes heroContentIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Floating logo ---------- */
.brand { display: none; }
.brand-line-1,
.brand-line-2 { display: block; }
.brand-line-1 {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}
.brand-line-2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 2.15rem;
  letter-spacing: 0.02em;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 7rem 3.2rem 3rem;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
}

/* Image: full-height, full-bleed on the right (desktop) */
.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 52vw;
  max-width: 760px;
  z-index: 5;
  /* fade the bottom of the photo into the page so it dissolves in */
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, rgba(0,0,0,0.35) 82%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 55%, rgba(0,0,0,0.35) 82%, transparent 100%);
}
.hero-image img,
.hero-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
/* vertical clip is the default (mobile); horizontal clip loads on desktop only */
.hero-video--desktop { display: none; }

/* Text on the left, overlapping into the image column */
.hero-content {
  grid-column: 1 / span 2;   /* extend across so text overlaps the photo */
  grid-row: 1;
  position: relative;
  z-index: 20;
  max-width: 720px;
  padding-right: 0;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
}

.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(3rem, 7.6vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 1.6rem;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
}

.hero-sub {
  font-size: 1.02rem;
  line-height: 1.75;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 27rem;
  margin-bottom: 2.4rem;
}

/* ---------- Buttons ---------- */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Jost", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  padding: 1.05rem 2.3rem;
  border: 1px solid var(--ink);
}
.btn-primary:hover {
  background: #fff;
  color: var(--ink);
}
.btn-ghost {
  color: var(--ink);
  padding: 1.05rem 0.4rem;
  border-bottom: 1px solid var(--ink);
}
.btn-ghost:hover { opacity: 0.55; }

/* ============================================================
   Services — pinned parallax collage
   ============================================================ */
.services {
  position: relative;
  scroll-snap-align: start;
}

/* tall track gives the scroll room the pin uses (scales with card count) */
.services-track {
  position: relative;
  height: 460vh;
}

/* pinned stage stays put while cards drift */
.services-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* centered heading behind the cards */
.services-head {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  text-align: center;
  pointer-events: none;
}
.eyebrow--center { text-align: center; margin-bottom: 1.1rem; }

.services-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}
.services-title em { font-style: italic; font-weight: 400; }

/* collage layer */
.collage {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  height: 100%;
  margin: 0 auto;
  z-index: 2;
}

.scard {
  position: absolute;
  will-change: transform;
}
.scard a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.4);
}
.scard img,
.scard video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.scard a:hover img,
.scard a:hover video { transform: scale(1.05); }

/* placeholder tile (until real photos are added) */
.scard-ph {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,0.015) 0 14px, rgba(0,0,0,0) 14px 28px),
    linear-gradient(160deg, #f2f0ec 0%, #e4e1db 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  color: #b7b1a8;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.scard a:hover .scard-ph { transform: scale(1.04); }
.scard-ph svg { width: 40px; height: 40px; opacity: 0.8; }
.scard-ph span {
  font-family: "Jost", sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
/* placeholder cards use a dark label so it reads on the light tile */
.scard--ph .scard-label { color: var(--ink); }
.scard--ph a::after { display: none; }

/* readable label bottom-left, over a soft gradient */
.scard a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 45%);
  pointer-events: none;
}
.scard-label {
  position: absolute;
  left: 1.1rem;
  bottom: 0.95rem;
  z-index: 2;
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}
.scard-label em {
  font-style: italic;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* conveyor lanes: each card sits in a horizontal lane and is streamed
   vertically by JS. top is set from JS transforms, so only left/right +
   width + aspect matter here. */
.scard { top: 0; width: 32%; aspect-ratio: 3 / 4; }
.scard a { height: 100%; }

.scard--p1 { left: 7%; }
.scard--p2 { right: 8%; }
.scard--p3 { left: 26%; }
.scard--p4 { right: 24%; }
.scard--p5 { left: 4%; }
.scard--p6 { right: 5%; }
.scard--p7 { left: 30%; }

/* ============================================================
   Meet Karla — portrait left, bio right
   ============================================================ */
.meet {
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.meet-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 7rem 3.2rem;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.meet-image {
  position: relative;
  aspect-ratio: 2 / 3;
  max-height: 88vh;
  overflow: hidden;
  /* fade the bottom of the photo into the page */
  -webkit-mask-image: linear-gradient(to bottom, #000 68%, rgba(0,0,0,0.4) 86%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 68%, rgba(0,0,0,0.4) 86%, transparent 100%);
}
.meet-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.meet-slide.is-active { opacity: 1; }

.meet-content { max-width: 34rem; }
.meet-cta { display: table; margin: 0 auto; }
.meet-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.02;
  margin: 1rem 0 1.8rem;
}
.meet-title em { font-style: italic; font-weight: 400; }

.meet-lead {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.4;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 1.6rem;
}
.meet-text {
  font-size: 0.98rem;
  line-height: 1.8;
  font-weight: 300;
  color: var(--ink-soft);
  margin-bottom: 1.3rem;
}

.meet-stats {
  list-style: none;
  display: flex;
  gap: 2.4rem;
  margin: 2.2rem 0 2.6rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.meet-stats li { display: flex; flex-direction: column; gap: 0.3rem; }
.meet-stats strong {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1;
}
.meet-stats span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ============================================================
   Contact — info + satellite map
   ============================================================ */
.contact {
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 78vh;
}
.contact-info {
  padding: 7rem clamp(2rem, 6vw, 6rem);
  max-width: 40rem;
  justify-self: end;
  width: 100%;
}
.contact-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1;
  margin: 1rem 0 1.6rem;
}
.contact-title em { font-style: italic; font-weight: 400; }
.contact-lead {
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 300;
  color: var(--ink-soft);
  margin-bottom: 2.2rem;
  max-width: 26rem;
}
.contact-details { list-style: none; margin-bottom: 2.4rem; }
.contact-details li {
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  align-items: baseline;
}
.contact-details li:last-child { border-bottom: 1px solid var(--line); }
.contact-details a,
.contact-plain {
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.5;
  transition: opacity 0.2s ease;
}
.contact-details a:hover { opacity: 0.55; }
.contact-plain { color: var(--ink-soft); }

.contact-map { position: relative; min-height: 420px; }
.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.02);
}

/* ============================================================
   FAQ — accordion
   ============================================================ */
.faq {
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.faq-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 7rem 3.2rem;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 5rem;
  align-items: start;
}

.faq-intro { position: sticky; top: 6rem; }
.faq-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1;
  margin: 1rem 0 1.4rem;
}
.faq-title em { font-style: italic; font-weight: 400; }
.faq-lead {
  font-size: 0.98rem;
  line-height: 1.7;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 20rem;
}
.faq-lead a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
}
.faq-lead a:hover { opacity: 0.55; }

.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }

.faq-q {
  width: 100%;
  background: none;
  border: 0;
  padding: 1.6rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  text-align: left;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 500;
  color: var(--ink);
  transition: opacity 0.2s ease;
}
.faq-q:hover { opacity: 0.6; }

/* + / − icon */
.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.faq-icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq-icon::after  { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.faq-item.open .faq-icon::after { transform: translateX(-50%) scaleY(0); }

/* answer collapses via JS-set max-height */
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-a p {
  padding: 0 3rem 1.8rem 0;
  font-size: 0.96rem;
  line-height: 1.75;
  font-weight: 300;
  color: var(--ink-soft);
}

/* ============================================================
   Booking — contact info + Booksy widget
   ============================================================ */
.book {
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.book-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 7rem 3.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.book-copy { max-width: 30rem; }
.book-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 1.02;
  margin: 1rem 0 1.6rem;
}
.book-title em { font-style: italic; font-weight: 400; }
.book-lead {
  font-size: 1.02rem;
  line-height: 1.75;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 27rem;
}

.book-points {
  list-style: none;
  margin: 2.4rem 0;
}
.book-points li {
  padding: 1.05rem 0 1.05rem 1.8rem;
  border-top: 1px solid var(--line);
  position: relative;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
}
.book-points li:last-child { border-bottom: 1px solid var(--line); }
.book-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.55rem;
  width: 8px;
  height: 8px;
  background: var(--ink);
  border-radius: 50%;
}

/* shared label style (also used by the Contact section) */
.book-label {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Booksy widget frame — the focal element on the right */
.book-widget {
  width: 100%;
  max-width: 520px;
  justify-self: end;
  padding: 0.5rem;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.45);
}
.book-widget iframe {
  width: 100%;
  height: 820px;
  border: 0;
  background: #fff;
  display: block;
}

.book-fallback {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.book-fallback:hover { color: var(--ink); }

/* ============================================================
   Before & After — drag-to-reveal sliders
   ============================================================ */
.reveal {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.reveal-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3.5rem 3.2rem;
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 5rem;
  align-items: center;
}

.reveal-copy { max-width: 32rem; }
.reveal-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1;
  margin: 1rem 0 1.4rem;
}
.reveal-title em { font-style: italic; font-weight: 400; }
.reveal-lead {
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 300;
  color: var(--ink-soft);
  margin-bottom: 2.6rem;
  max-width: 24rem;
}

.reveal-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.8rem;
}
.reveal-caption {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.7rem;
  line-height: 1;
}
.reveal-count {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  white-space: nowrap;
}

.reveal-controls { display: flex; align-items: center; gap: 0.9rem; }
.reveal-arrow {
  width: 50px;
  height: 50px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.reveal-arrow:hover { background: var(--ink); color: #fff; }
.reveal-dots { display: flex; gap: 0.5rem; margin-left: 0.8rem; }
.reveal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.reveal-dot.is-active { background: var(--ink); transform: scale(1.3); }

/* stage holds the stacked sliders — only the active one shows.
   Sized off viewport height so the whole section fits on one screen. */
.reveal-stage {
  position: relative;
  height: min(84vh, 760px);
  width: auto;
  max-width: 100%;
  aspect-ratio: 1 / 2.05;
  justify-self: center;
}

/* one comparison slider */
.ba {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: none;              /* let us own the drag gesture */
  cursor: ew-resize;
  user-select: none;
  background: #eee;
  box-shadow: 0 40px 80px -42px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
}
.ba.is-active { opacity: 1; visibility: visible; }
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  -webkit-user-drag: none;
  pointer-events: none;
}
/* frame on the hair so the whole transformation stays in view */
.ba-img { object-position: center 30%; }

/* the BEFORE image sits on top, clipped to the left of the handle */
.ba-before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

/* soft top scrim so the tags stay legible over any photo */
.ba::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 22%;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, transparent 100%);
  pointer-events: none;
}

/* corner tags — serif italic index + label, matching the service card labels */
.ba-tag {
  position: absolute;
  top: 1.3rem;
  z-index: 3;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  color: #fff;
}
.ba-tag::before {
  font-style: italic;
  font-size: 0.85rem;
  opacity: 0.85;
}
.ba-tag--before { left: 1.3rem; }
.ba-tag--before::before { content: "01"; }
.ba-tag--after { right: 1.3rem; }
.ba-tag--after::before { content: "02"; }

/* divider line + knob — thin black ring, matching the footer social icons */
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 1px;
  margin-left: -0.5px;
  background: rgba(255, 255, 255, 0.85);
  z-index: 4;
  pointer-events: none;
}
.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--ink);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-knob::before,
.ba-knob::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.ba-knob::before { border-right: 6px solid var(--ink); margin-right: 5px; }
.ba-knob::after  { border-left: 6px solid var(--ink); margin-left: 5px; }

/* ============================================================
   Sticky top nav (all breakpoints)
   ============================================================ */
.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transform: translateY(0);
  transition: transform 0.3s ease, background 0.35s ease, backdrop-filter 0.35s ease;
}
.topnav.nav-hidden { transform: translateY(-100%); }
.topnav-brand,
.topnav-menu a { transition: color 0.35s ease; }

/* Desktop: bar + menu sit inline as one row (the menu is a sibling of the
   bar in the markup so it can also serve as a full-width mobile dropdown). */
@media (min-width: 901px) {
  .topnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.6rem 3.2rem;
  }
}

.topnav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.6rem 3.2rem;
}
@media (min-width: 901px) {
  .topnav-bar { max-width: none; margin: 0; padding: 0; }
}
.topnav-brand {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
}
.topnav-toggle { display: none; }

.topnav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.topnav-menu a {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.topnav-menu a:hover { opacity: 0.55; }
.topnav-book {
  background: #fff;
  color: var(--ink) !important;
  border: 1px solid var(--ink);
  padding: 0.7rem 1.4rem;
}
.topnav-book:hover { background: var(--ink); color: #fff !important; opacity: 1; }

/* ============================================================
   Footer
   ============================================================ */
.foot {
  background: var(--ink);
  color: #fff;
  padding: 5rem 3.2rem 2.2rem;
}
.foot-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.foot-line-1,
.foot-line-2 { display: block; line-height: 0.95; }
.foot-line-1 {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
}
.foot-line-2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 2.4rem;
  letter-spacing: 0.02em;
}
.foot-tag {
  margin-top: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
}

.foot-nav { display: flex; flex-direction: column; gap: 0.9rem; }
.foot-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  width: fit-content;
}
.foot-nav a:hover { color: #fff; }

.foot-social-label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.1rem;
}
.foot-social-links { display: flex; gap: 0.9rem; }
.foot-social-links a {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.25s ease;
}
.foot-social-links svg { width: 18px; height: 18px; }
.foot-social-links a:hover { background: #fff; color: var(--ink); border-color: #fff; }

.foot-bottom {
  max-width: var(--maxw);
  margin: 1.8rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.62);
}
.foot-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  white-space: nowrap;
}
.foot-credit img {
  height: 52px;
  width: auto;
  display: inline-block;
  opacity: 0.9;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .topnav-bar { padding: 0.85rem 1.6rem; }
  .topnav-brand { font-size: 1.4rem; }
  .topnav-toggle {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
  }
  .topnav-toggle span {
    position: absolute;
    left: 0;
    height: 1.5px;
    width: 100%;
    background: var(--ink);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .topnav-toggle span:nth-child(1) { top: 0; }
  .topnav-toggle span:nth-child(2) { top: 9px; }
  .topnav-toggle span:nth-child(3) { top: 18px; }
  .topnav.open .topnav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .topnav.open .topnav-toggle span:nth-child(2) { opacity: 0; }
  .topnav.open .topnav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

  .topnav-menu {
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .topnav.open .topnav-menu {
    max-height: calc(100vh - 4.5rem);
    overflow-y: auto;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
  }
  .topnav-menu a {
    padding: 1.05rem 1.6rem;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
  }
  .topnav-book {
    background: #fff;
    color: var(--ink) !important;
    border: 1px solid var(--ink) !important;
    text-align: center;
  }

  /* Transparent nav over the hero video (homepage only); turns white once scrolled */
  html:not(.subpage) .topnav:not(.scrolled):not(.open) {
    background: transparent;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
  }
  html:not(.subpage) .topnav:not(.scrolled):not(.open) .topnav-brand { color: #fff; }
  html:not(.subpage) .topnav:not(.scrolled):not(.open) .topnav-toggle span { background: #fff; }
  /* white bar state: dark brand + hamburger */
  .topnav.scrolled .topnav-brand,
  .topnav.open .topnav-brand { color: var(--ink); }
  .topnav.scrolled .topnav-toggle span,
  .topnav.open .topnav-toggle span { background: var(--ink); }

  /* Hero primary CTA: white with black text over the video */
  .hero .btn-primary {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
  }
  .hero .btn-primary:hover { background: var(--ink); color: #fff; }

  /* Full-screen video hero on mobile */
  .hero {
    min-height: 100svh;
    position: relative;
    overflow: hidden;
  }
  .hero-inner {
    position: relative;
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
  }
  .hero-image {
    position: absolute;
    inset: 0;
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    max-width: none;
    justify-self: stretch;
    z-index: 0;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .hero-image img,
  .hero-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  /* dark scrim so the overlaid text stays legible over the video */
  .hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.28) 0%,
      rgba(0, 0, 0, 0.15) 38%,
      rgba(0, 0, 0, 0.72) 100%
    );
    z-index: 1;
  }

  .hero-content {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 1.6rem 3.4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;

    background: none;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
    box-shadow: none;

    opacity: 0;
    animation: heroContentIn 0.9s ease forwards;
    animation-delay: 0.4s;
  }
  .hero-content .eyebrow { color: rgba(255, 255, 255, 0.85); text-align: center; }
  .hero-title { color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35); }
  .hero-sub {
    color: rgba(255, 255, 255, 0.92);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
  }
  .hero-actions { justify-content: center; }
  .hero-actions .btn-ghost { color: #fff; border-bottom-color: #fff; }

  /* Services: same pinned conveyor as desktop, tuned for narrow screens */
  .services-track { height: 380vh; }
  .services-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    padding: 0;
  }
  .services-head {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 0 1.6rem;
  }
  .eyebrow--center { text-align: center; }

  .collage {
    position: relative;
    height: 100%;
    width: 100%;
  }
  .scard {
    position: absolute;
    top: 0;
    width: 42%;
    aspect-ratio: 3 / 4;
    left: auto;
    right: auto;
  }
  /* two lanes: odd cards left, even cards right */
  .scard--p1 { left: 5%; }
  .scard--p2 { right: 5%; }
  .scard--p3 { left: 5%; }
  .scard--p4 { right: 5%; }
  .scard--p5 { left: 5%; }
  .scard--p6 { right: 5%; }
  .scard--p7 { left: 5%; }

  .scard-label {
    left: 0.8rem;
    bottom: 0.8rem;
    font-size: 1.15rem;
    gap: 0.4rem;
  }
  .scard-label em { font-size: 0.8rem; }

  /* Meet Karla: stack image over bio */
  .meet-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 5rem 1.6rem;
  }
  .meet-image img { max-height: 70vh; }
  .meet-content { max-width: 100%; }
  .meet-stats { gap: 1.4rem; }

  /* Contact: stack info over map */
  .contact {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .contact-info {
    justify-self: stretch;
    max-width: 100%;
    padding: 5rem 1.6rem 3rem;
  }
  .contact-map { display: none; }
  .contact-cta { display: table; margin: 0 auto; }

  /* FAQ: stack intro over list */
  .faq-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 5rem 1.6rem;
  }
  .faq-intro { position: static; }

  /* Booking: stack copy over widget */
  .book-inner {
    grid-template-columns: 1fr;
    gap: 2.8rem;
    padding: 5rem 1.6rem 6rem;
  }
  .book-copy { max-width: 100%; }
  .book-widget { justify-self: stretch; max-width: 100%; }
  .book-widget iframe { height: 740px; }

  /* Before & After: stack copy over the featured slider */
  .reveal-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 5rem 1.6rem 6rem;
  }
  .reveal-copy { max-width: 100%; order: 1; }
  .reveal-stage { order: 2; max-width: 330px; }

  /* Footer: stack */
  .foot { padding: 4rem 1.6rem 2rem; }
  .foot-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
  }
  .foot-bottom { flex-direction: column; gap: 0.4rem; }
}

@media (max-width: 480px) {
  .hero-actions { gap: 0.8rem; }
  .btn-primary { padding: 0.95rem 1.8rem; }
}

/* ============================================================
   Subpages (Services / Before & After / About / FAQ / Contact)
   ============================================================ */
.page-hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 11rem 3.2rem 3rem;
  text-align: center;
}
.page-hero-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.02;
  margin: 1rem 0 1.4rem;
}
.page-hero-title em { font-style: italic; font-weight: 400; }
.page-hero-lead {
  max-width: 40rem;
  margin: 0 auto;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.7;
}

.page-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 3.2rem 2rem;
}

/* closing call-to-action band, reused across subpages */
.page-cta {
  text-align: center;
  padding: 5rem 3.2rem 7rem;
}
.page-cta-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin-bottom: 1.6rem;
}
.page-cta-title em { font-style: italic; font-weight: 400; }

/* Services list */
.svc-list { margin-top: 1rem; }
.svc-item {
  border-top: 1px solid var(--line);
  padding: 2.2rem 0;
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  gap: 1.8rem;
  align-items: start;
}
.svc-item:last-child { border-bottom: 1px solid var(--line); }
.svc-num {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ink-soft);
}
.svc-name {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.svc-desc {
  color: var(--ink-soft);
  font-weight: 300;
  line-height: 1.7;
  max-width: 38rem;
}
.svc-book {
  align-self: center;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  white-space: nowrap;
}
.svc-book:hover { opacity: 0.55; }

/* Before & After — static overview grid (supplements the interactive slider) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 1rem;
}
.gallery-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #eee;
}
.gallery-pair img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.gallery-caption {
  margin-top: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.gallery-caption-title {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.15rem;
}
.gallery-caption-index {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

/* Gallery — video reels */
.reels {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.5rem 3.2rem 3rem;
  text-align: center;
}
.reels-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0.4rem 0 2.6rem;
}
.reels-title em { font-style: italic; font-weight: 400; }
.reel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.reel {
  position: relative;
  margin: 0;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #eee;
}
.reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 820px) {
  .reels { padding: 1rem 1.6rem 2rem; }
  .reel-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
@media (max-width: 540px) {
  .reel-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
}

/* About — extra pillars */
.pillars {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pillar-num {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
  display: block;
}
.pillar-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.pillar-text { color: var(--ink-soft); font-weight: 300; line-height: 1.7; }

@media (max-width: 900px) {
  .page-hero { padding: 8rem 1.6rem 2.5rem; }
  .page-body { padding: 0 1.6rem 1.5rem; }
  .page-cta { padding: 3.5rem 1.6rem 5rem; }
  .svc-item { grid-template-columns: 1fr; gap: 0.6rem; }
  .svc-book { justify-self: start; }
  .pillars { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* ============================================================
   Accessibility (WCAG 2.1 AA)
   ============================================================ */
.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  z-index: 2000;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.3rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; outline: 2px solid #fff; outline-offset: 2px; }

/* Visible keyboard focus indicator (none existed before) */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
/* light ring on dark surfaces */
.foot :focus-visible,
.book :focus-visible,
.reveal :focus-visible,
.topnav.open .topnav-menu a:focus-visible { outline-color: #ffffff; }

/* Respect users who ask for reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   Desktop: cinematic full-bleed horizontal video hero
   ============================================================ */
@media (min-width: 901px) {
  .hero { position: relative; overflow: hidden; }

  /* swap vertical clip out for the horizontal one on desktop */
  .hero-video--mobile { display: none; }
  .hero-video--desktop { display: block; }

  .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    z-index: 0;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .hero-image video { object-position: center; }

  /* left-weighted scrim keeps the headline readable over the video */
  .hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.62) 0%,
      rgba(0, 0, 0, 0.42) 30%,
      rgba(0, 0, 0, 0.12) 58%,
      rgba(0, 0, 0, 0) 80%
    );
  }

  /* let the absolute video fill the whole hero (100vh), not just the
     centered content box — the text keeps its own z-index above it */
  .hero-inner { position: static; }
  .hero-content { color: #fff; }
  .hero-content .eyebrow { color: rgba(255, 255, 255, 0.85); }
  .hero-title { color: #fff; text-shadow: 0 2px 26px rgba(0, 0, 0, 0.45); }
  .hero-sub { color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4); }
  .hero .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
  .hero .btn-primary:hover { background: var(--ink); color: #fff; }
  .hero .btn-ghost { color: #fff; border-bottom-color: #fff; }
}

/* ============================================================
   Desktop: transparent nav over the hero video (homepage only),
   solid white once scrolled past the hero
   ============================================================ */
@media (min-width: 901px) {
  html:not(.subpage) .topnav:not(.scrolled) {
    background: transparent;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
  }
  html:not(.subpage) .topnav:not(.scrolled) .topnav-brand,
  html:not(.subpage) .topnav:not(.scrolled) .topnav-menu a {
    color: #fff;
  }
  html:not(.subpage) .topnav:not(.scrolled) .topnav-menu a:hover { opacity: 0.7; }
  /* Book Now: white fill + dark text; drop the border while the nav is transparent */
  html:not(.subpage) .topnav:not(.scrolled) .topnav-book { border-color: transparent; }
}
