/* ==========================================================================
   Lumière Nail Studio — global stylesheet
   Motion follows the emil-design-eng / animate skill rules:
   transform + opacity only, custom curves, <300ms on UI, hover gated,
   reduced-motion ships with the animation.
   ========================================================================== */

/* --- Design tokens ------------------------------------------------------ */
:root {
  --blush: #f7e9e6;
  --blush-deep: #eccfc9;
  --rose: #c98b8b;
  --plum: #4a3038;
  --plum-soft: #6b4c55;
  --cream: #fdf8f5;
  --sand: #f3ebe4;
  --gold: #c2a05e;
  --gold-soft: #e4d4ac;
  --ink: #2c1e23;
  --muted: #8a7178;
  --white: #ffffff;

  --font-display: "Cormorant Garamond", "Didot", "Playfair Display", Georgia, serif;
  --font-body: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
  --radius-lg: 18px;

  /* Layered shadows — resting and lifted, swapped by opacity, never animated directly */
  --shadow-rest:
    0 1px 2px rgba(74, 48, 56, 0.06),
    0 4px 12px -6px rgba(74, 48, 56, 0.14),
    0 12px 32px -18px rgba(74, 48, 56, 0.22);
  --shadow-lift:
    0 2px 4px rgba(74, 48, 56, 0.07),
    0 10px 24px -10px rgba(74, 48, 56, 0.2),
    0 28px 56px -24px rgba(74, 48, 56, 0.34);

  /* Motion — curves from the skill, not hand-rolled */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --dur-press: 160ms;
  --dur-hover: 200ms;
  --dur-panel: 240ms;
  --dur-drawer: 420ms;
}

/* --- Reset -------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.7rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.1em; }

::selection { background: var(--gold-soft); color: var(--plum); }

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- Layout helpers ----------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tint { background: var(--sand); }
.section--blush { background: var(--blush); }

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1rem;
}
.lede { font-size: 1.1rem; color: var(--plum-soft); }

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2.25rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.split {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.split--wide-right { grid-template-columns: 1fr 1.2fr; }
.sidebar { position: sticky; top: 104px; }
@media (max-width: 940px) {
  .split, .split--wide-right { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* --- Media -------------------------------------------------------------- */
/* Every frame reserves its aspect ratio so nothing shifts as images arrive. */
.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--blush);
  box-shadow: var(--shadow-rest);
}
.frame > img,
.frame > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame--3-2 { aspect-ratio: 3 / 2; }
.frame--4-5 { aspect-ratio: 4 / 5; }
.frame--1-1 { aspect-ratio: 1 / 1; }
.frame--16-9 { aspect-ratio: 16 / 9; }
.frame--arch { border-radius: 240px 240px var(--radius-lg) var(--radius-lg); }

/* Images fade in as they decode — prevents the jarring pop-in on a photo-heavy page */
img[data-img] {
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
}
img[data-img].is-loaded { opacity: 1; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 2.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    transform var(--dur-press) var(--ease-out),
    background-color var(--dur-hover) ease,
    color var(--dur-hover) ease,
    border-color var(--dur-hover) ease;
}
.btn:active { transform: scale(0.97); }

.btn--primary { background: var(--plum); color: var(--cream); box-shadow: var(--shadow-rest); }
.btn--ghost { border-color: currentColor; color: var(--plum); }
.btn--light { background: var(--cream); color: var(--plum); }
.btn--block { width: 100%; }

/* Hover motion is gated — touch devices fire :hover on tap */
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--rose); transform: translateY(-2px); }
  .btn--primary:active { transform: translateY(-2px) scale(0.97); }
  .btn--ghost:hover { background: var(--plum); color: var(--cream); border-color: var(--plum); transform: translateY(-2px); }
  .btn--ghost:active { transform: translateY(-2px) scale(0.97); }
  .btn--light:hover { background: var(--gold-soft); transform: translateY(-2px); }
  .btn--light:active { transform: translateY(-2px) scale(0.97); }
  .btn--on-dark:hover { background: rgba(253, 248, 245, 0.16); color: var(--cream); border-color: rgba(253, 248, 245, 0.55); }
}

/* Ghost button sitting on footage — a light material, not a solid fill */
.btn--on-dark {
  color: var(--cream);
  border-color: rgba(253, 248, 245, 0.42);
  backdrop-filter: blur(14px) saturate(160%);
  background: rgba(28, 18, 22, 0.18);
}
@media (prefers-reduced-transparency: reduce) {
  .btn--on-dark { backdrop-filter: none; background: rgba(28, 18, 22, 0.85); }
}

/* --- Header / nav ------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 248, 245, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(74, 48, 56, 0.08);
}
/* Shadow lives on a pseudo-element so the stuck state is an opacity fade, not a shadow animation */
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -18px;
  height: 18px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(74, 48, 56, 0.1), transparent);
  opacity: 0;
  transition: opacity var(--dur-hover) ease;
}
.site-header.is-stuck::after { opacity: 1; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--plum);
}
/* The logo artwork sits on its own cream ground, so it's masked to a disc —
   the square edge would read as a box on both the cream bar and the footage. */
.brand__mark {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(194, 160, 94, 0.35);
  transition: box-shadow var(--dur-panel) ease, transform var(--dur-press) var(--ease-out);
}
.brand:active .brand__mark { transform: scale(0.97); }
body.has-dark-hero .site-header:not(.is-stuck) .brand__mark {
  box-shadow: 0 0 0 1px rgba(253, 248, 245, 0.45), 0 6px 18px -8px rgba(0, 0, 0, 0.6);
}
.site-footer .brand__mark { box-shadow: 0 0 0 1px rgba(253, 248, 245, 0.28); }
@media (prefers-reduced-motion: reduce) {
  .brand:active .brand__mark { transform: none; }
}
.brand__name { font-family: var(--font-display); font-size: 1.42rem; line-height: 1; }
.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.56rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.32rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.1rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  position: relative;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plum-soft);
  padding-block: 0.4rem;
  transition: color var(--dur-hover) ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-hover) var(--ease-out);
}
.nav__links a[aria-current="page"] { color: var(--plum); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--plum); }
  .nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(74, 48, 56, 0.18);
  border-radius: 50%;
  background: transparent;
  position: relative;
  transition: transform var(--dur-press) var(--ease-out);
}
.nav__toggle:active { transform: scale(0.94); }
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--plum);
  transform: translateX(-50%);
  transition: transform var(--dur-panel) var(--ease-out), opacity 120ms ease;
}
.nav__toggle span { top: 50%; margin-top: -0.75px; }
.nav__toggle span::before { content: ""; left: 0; transform: translateY(-6px); }
.nav__toggle span::after { content: ""; left: 0; transform: translateY(6px); }
.nav__toggle[aria-expanded="true"] span { opacity: 0; }
.nav__toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  /* Top drawer: enters and exits through the same edge */
  .nav__links {
    position: fixed;
    inset: 78px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(74, 48, 56, 0.08);
    padding: 1rem var(--gutter) 2rem;
    box-shadow: var(--shadow-lift);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform var(--dur-drawer) var(--ease-drawer),
      opacity 200ms var(--ease-out);
  }
  .nav__links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links li { border-bottom: 1px solid rgba(74, 48, 56, 0.07); }
  .nav__links li:last-child { border-bottom: 0; padding-top: 1rem; }
  .nav__links a { display: block; padding: 1rem 0; font-size: 0.9rem; }
  .nav__links .btn { width: 100%; }
}

/* --- Hero (full-bleed video) -------------------------------------------- */
.hero-v {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  overflow: hidden;
  min-height: clamp(560px, 92svh, 900px);
  background: var(--ink);
}
.hero-v__media { position: absolute; inset: 0; z-index: -2; }
.hero-v__media video,
.hero-v__media img { width: 100%; height: 100%; object-fit: cover; }

/* Two-part scrim: keeps the headline legible without flattening the footage */
.hero-v::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(28, 18, 22, 0.62) 0%, rgba(28, 18, 22, 0.26) 34%, rgba(28, 18, 22, 0.84) 100%),
    radial-gradient(115% 75% at 12% 82%, rgba(28, 18, 22, 0.55), transparent 62%);
}

.hero-v__inner {
  color: var(--cream);
  padding-block: clamp(7rem, 16vh, 10rem) clamp(2.5rem, 6vh, 4rem);
}

/* Type: tracking and leading tighten as the size grows */
.hero-v h1 {
  max-width: 15ch;
  margin-bottom: 1.1rem;
  font-size: clamp(3rem, 8.4vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--cream);
}
.hero-v h1 em { font-style: italic; color: var(--gold-soft); letter-spacing: -0.012em; }
.hero-v .eyebrow { color: var(--gold-soft); }
.hero-v .lede {
  max-width: 46ch;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.62;
  letter-spacing: 0.004em;
  color: rgba(253, 248, 245, 0.86);
}
.hero-v__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.9rem; }

/* Translucent material — one light layer, never stacked on another */
.hero-v__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.4rem, 4vw, 3.2rem);
  width: fit-content;
  margin-top: clamp(2rem, 5vh, 3.2rem);
  padding: 1.15rem clamp(1.3rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: rgba(28, 18, 22, 0.38);
  backdrop-filter: blur(22px) saturate(165%);
  border: 1px solid rgba(253, 248, 245, 0.15);
  border-top-color: rgba(253, 248, 245, 0.34); /* light catching the top edge */
  box-shadow: 0 26px 60px -32px rgba(0, 0, 0, 0.75);
}
.hero-v__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--cream);
}
/* Vibrancy: labels over glass get contrast and a tracking bump, not flat grey */
.hero-v__stats span {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(253, 248, 245, 0.74);
}

.hero-v__chip {
  position: absolute;
  top: clamp(6.5rem, 13vh, 8.5rem);
  right: var(--gutter);
  z-index: 1;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  background: rgba(28, 18, 22, 0.34);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(253, 248, 245, 0.16);
  border-top-color: rgba(253, 248, 245, 0.3);
  color: rgba(253, 248, 245, 0.9);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-v__chip strong { color: var(--gold-soft); }

.hero-v__cue {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: clamp(1.75rem, 4vh, 2.5rem);
  color: rgba(253, 248, 245, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--dur-hover) ease;
}
.hero-v__cue svg { width: 16px; height: 16px; transition: transform var(--dur-panel) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .hero-v__cue:hover { color: var(--cream); }
  .hero-v__cue:hover svg { transform: translateY(3px); }
}

.hero-v .video-toggle { right: var(--gutter); bottom: 1.5rem; }

@media (max-width: 700px) {
  .hero-v__chip { display: none; }
  .hero-v__stats { gap: 1.4rem 2rem; }
}

/* Glass arrives as a material — blur and scale resolve together, not a flat fade */
.materialize {
  opacity: 0;
  transform: scale(0.97);
  filter: blur(12px);
  transition:
    opacity 520ms var(--ease-out),
    transform 520ms var(--ease-out),
    filter 520ms var(--ease-out);
}
.materialize.is-visible { opacity: 1; transform: none; filter: blur(0); }

/* --- Header over a dark hero -------------------------------------------- */
.site-header {
  transition: background-color var(--dur-panel) ease, border-color var(--dur-panel) ease;
}
/* Sticky reserves space in the flow, so the hero would start below the bar and
   a transparent header would reveal the page background, not the footage.
   Fixed takes it out of flow and lets the hero run to the top of the viewport. */
body.has-dark-hero .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}
body.has-dark-hero .site-header:not(.is-stuck) {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
body.has-dark-hero .site-header:not(.is-stuck) .brand,
body.has-dark-hero .site-header:not(.is-stuck) .nav__links > li > a { color: rgba(253, 248, 245, 0.94); }
body.has-dark-hero .site-header:not(.is-stuck) .brand__sub { color: rgba(253, 248, 245, 0.62); }
body.has-dark-hero .site-header:not(.is-stuck) .nav__toggle { border-color: rgba(253, 248, 245, 0.42); }
body.has-dark-hero .site-header:not(.is-stuck) .nav__toggle span,
body.has-dark-hero .site-header:not(.is-stuck) .nav__toggle span::before,
body.has-dark-hero .site-header:not(.is-stuck) .nav__toggle span::after { background: var(--cream); }
body.has-dark-hero .site-header:not(.is-stuck) .btn--primary {
  background: rgba(253, 248, 245, 0.14);
  backdrop-filter: blur(16px) saturate(160%);
  border-color: rgba(253, 248, 245, 0.3);
  color: var(--cream);
  box-shadow: none;
}
.brand, .nav__links > li > a, .brand__sub { transition: color var(--dur-panel) ease; }
@media (max-width: 900px) {
  /* The open drawer is its own opaque surface — don't tint its links */
  body.has-dark-hero .site-header:not(.is-stuck) .nav__links.is-open > li > a { color: var(--plum-soft); }
}

/* --- Video band --------------------------------------------------------- */
.video-band {
  position: relative;
  min-height: clamp(420px, 62vh, 620px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.video-band video,
.video-band img.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.video-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(44, 30, 35, 0.55), rgba(44, 30, 35, 0.72));
}
.video-band__content {
  text-align: center;
  color: var(--cream);
  padding: clamp(3rem, 8vw, 5rem) var(--gutter);
  max-width: 720px;
}
.video-band__content h2 { color: var(--cream); }
.video-band__content p { color: rgba(253, 248, 245, 0.82); }
.video-band .eyebrow { color: var(--gold-soft); }

.video-toggle {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(253, 248, 245, 0.35);
  background: rgba(44, 30, 35, 0.42);
  backdrop-filter: blur(6px);
  color: var(--cream);
  transition:
    transform var(--dur-press) var(--ease-out),
    background-color var(--dur-hover) ease;
}
.video-toggle:active { transform: scale(0.94); }
.video-toggle svg { width: 16px; height: 16px; }
.video-toggle .icon-play { display: none; }
.video-toggle[data-paused="true"] .icon-play { display: block; }
.video-toggle[data-paused="true"] .icon-pause { display: none; }
@media (hover: hover) and (pointer: fine) {
  .video-toggle:hover { background: rgba(44, 30, 35, 0.68); }
}

/* Inline video card (studio section) */
.video-card { position: relative; }
.video-card .video-toggle { right: 0.9rem; bottom: 0.9rem; }

/* --- Page banner -------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6rem);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(150deg, var(--blush) 0%, var(--sand) 100%);
}
.page-hero--photo { background: var(--ink); }
.page-hero--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.page-hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(44, 30, 35, 0.6), rgba(44, 30, 35, 0.76));
}
.page-hero--photo h1 { color: var(--cream); }
.page-hero--photo .lede { color: rgba(253, 248, 245, 0.82); }
.page-hero--photo .crumbs { color: rgba(253, 248, 245, 0.62); }
.page-hero--photo .crumbs a { color: var(--gold-soft); }
.page-hero p { max-width: 58ch; margin-inline: auto; color: var(--plum-soft); }
.crumbs {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.crumbs a { text-decoration: none; }

/* --- Cards -------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-rest);
  height: 100%;
  transition: transform var(--dur-hover) var(--ease-out);
}
/* Lifted shadow is a second layer faded in — never animate box-shadow itself */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-hover) ease;
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); }
  .card:hover::after { opacity: 1; }
}
.card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blush);
  margin-bottom: 1.25rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card p:last-child { margin-bottom: 0; }
.card__price {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  margin-top: 1rem;
}
.card__media { margin: -2rem -2rem 1.5rem; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

/* --- Service menu ------------------------------------------------------- */
.menu-group + .menu-group { margin-top: 3.5rem; }
.menu-group__title { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.75rem; }
.menu-group__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--blush-deep), transparent);
}
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 1.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px dashed rgba(74, 48, 56, 0.16);
}
.menu-item:last-child { border-bottom: 0; }
.menu-item h4 { margin: 0; font-size: 1.15rem; }
.menu-item p { grid-column: 1; margin: 0; color: var(--muted); font-size: 0.92rem; }
.menu-item__price {
  grid-row: span 2;
  align-self: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  white-space: nowrap;
}
.menu-item__meta {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
}

/* --- Gallery ------------------------------------------------------------ */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.filter {
  padding: 0.55rem 1.4rem;
  border: 1px solid rgba(74, 48, 56, 0.18);
  border-radius: 999px;
  background: transparent;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plum-soft);
  transition:
    transform var(--dur-press) var(--ease-out),
    background-color var(--dur-hover) ease,
    color var(--dur-hover) ease,
    border-color var(--dur-hover) ease;
}
.filter:active { transform: scale(0.97); }
.filter.is-active { background: var(--plum); border-color: var(--plum); color: var(--cream); }
@media (hover: hover) and (pointer: fine) {
  .filter:hover { border-color: var(--rose); color: var(--rose); }
  .filter.is-active:hover { color: var(--cream); border-color: var(--plum); }
}

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.tile {
  position: relative;
  display: block;
  border: 0;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--blush);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-rest);
  transition: transform var(--dur-hover) var(--ease-out), opacity var(--dur-panel) var(--ease-out);
}
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile[hidden] { display: none; }
/* The image scales inside the fixed frame — a contained zoom, not a moving card */
.tile img { transition: transform 320ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tile:hover { transform: translateY(-4px); }
  .tile:hover img { transform: scale(1.04); }
}
.tile:active { transform: scale(0.985); }
.tile__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.2rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(44, 30, 35, 0.82), transparent);
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
}

/* Lightbox — a modal: stays centered, backdrop fades with it */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  visibility: hidden;
}
.lightbox.is-open { visibility: visible; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 20, 24, 0.82);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity var(--dur-panel) var(--ease-out);
}
.lightbox.is-open .lightbox__backdrop { opacity: 1; }
.lightbox__inner {
  position: relative;
  max-width: 560px;
  width: 100%;
  margin: 0;
  transform-origin: center; /* modal — not anchored to a trigger */
  transform: scale(0.96);
  opacity: 0;
  transition:
    transform var(--dur-panel) var(--ease-out),
    opacity var(--dur-panel) var(--ease-out);
}
.lightbox.is-open .lightbox__inner { transform: scale(1); opacity: 1; }
/* Exit is quicker than entry — the system responding, not the user deciding */
.lightbox:not(.is-open) .lightbox__inner,
.lightbox:not(.is-open) .lightbox__backdrop { transition-duration: 170ms; }
.lightbox__inner img { width: 100%; border-radius: var(--radius-lg); }
.lightbox__inner figcaption {
  color: var(--cream);
  text-align: center;
  margin-top: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.lightbox__close {
  position: absolute;
  top: -3.4rem;
  right: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(253, 248, 245, 0.4);
  background: transparent;
  color: var(--cream);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-hover) ease;
}
.lightbox__close:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .lightbox__close:hover { background: rgba(253, 248, 245, 0.16); }
}

/* --- Team --------------------------------------------------------------- */
.team-card { text-align: center; }
.team-card__photo { margin-bottom: 1.25rem; }
.team-card h3 { margin-bottom: 0.15rem; }
.team-card__role {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  display: block;
  margin-bottom: 0.8rem;
}

/* --- Testimonials ------------------------------------------------------- */
.quote {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-rest);
  height: 100%;
}
.quote__stars { color: var(--gold); letter-spacing: 0.2em; margin-bottom: 0.9rem; }
.quote blockquote { margin: 0 0 1.2rem; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.5; }
.quote__author { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

/* --- Steps -------------------------------------------------------------- */
.step { position: relative; padding-top: 3.4rem; }
.step__num {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--blush-deep);
  line-height: 1;
}

/* --- Forms -------------------------------------------------------------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-rest);
}
.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--plum-soft);
  margin-bottom: 0.5rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(74, 48, 56, 0.18);
  border-radius: var(--radius);
  background: var(--cream);
  font: inherit;
  color: var(--ink);
  transition: border-color var(--dur-hover) ease, box-shadow var(--dur-hover) ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(201, 139, 139, 0.16);
}
.field textarea { min-height: 130px; resize: vertical; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field .error {
  display: none;
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  color: #b4473f;
  letter-spacing: 0.04em;
  text-transform: none;
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #b4473f; }
.field.is-invalid .error { display: block; }

.form-note { font-size: 0.85rem; color: var(--muted); }
.form-status {
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  background: var(--blush);
  border-left: 3px solid var(--rose);
  color: var(--plum);
  /* Enter animation: occasional, purpose is state indication */
  display: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--dur-panel) var(--ease-out), transform var(--dur-panel) var(--ease-out);
}
.form-status.is-visible { display: block; }
.form-status.is-shown { opacity: 1; transform: translateY(0); }

@media (max-width: 560px) { .field--row { grid-template-columns: 1fr; } }

/* --- Info / contact ----------------------------------------------------- */
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(74, 48, 56, 0.1);
}
.info-list li:last-child { border-bottom: 0; }
.info-list svg { width: 20px; height: 20px; color: var(--rose); margin-top: 0.25rem; }
.info-list strong { display: block; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.info-list a { text-decoration: none; transition: color var(--dur-hover) ease; }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 0.7rem 0; border-bottom: 1px solid rgba(74, 48, 56, 0.1); font-weight: 400; }
.hours td { text-align: right; color: var(--plum-soft); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--rose); }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-rest); background: var(--sand); }

/* --- FAQ ---------------------------------------------------------------- */
.faq { border-top: 1px solid rgba(74, 48, 56, 0.12); }
.faq__item { border-bottom: 1px solid rgba(74, 48, 56, 0.12); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--plum);
  transition: color var(--dur-hover) ease;
}
.faq__q::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--rose);
  transition: transform var(--dur-panel) var(--ease-out);
  flex: none;
}
.faq__q[aria-expanded="true"]::after { transform: rotate(45deg); }
/* Accordion — the one place a size transition is sanctioned; kept short */
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-panel) var(--ease-out), opacity var(--dur-panel) var(--ease-out);
  opacity: 0;
}
.faq__a > div { overflow: hidden; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; opacity: 1; }
.faq__a p { padding-bottom: 1.35rem; margin: 0; color: var(--plum-soft); }

/* --- CTA band ----------------------------------------------------------- */
.cta-band {
  background: var(--plum);
  color: var(--cream);
  text-align: center;
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.cta-band h2 { color: var(--cream); }
.cta-band p { color: rgba(253, 248, 245, 0.75); max-width: 52ch; margin-inline: auto; }
.cta-band .btn { margin-top: 1.5rem; }

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(253, 248, 245, 0.72);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: 0.94rem;
}
.site-footer h4 {
  color: var(--cream);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-family: var(--font-body);
  margin-bottom: 1.1rem;
}
.site-footer a { text-decoration: none; transition: color var(--dur-hover) ease; }
.site-footer .brand { color: var(--cream); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem; }
.socials { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(253, 248, 245, 0.22);
  border-radius: 50%;
  transition:
    transform var(--dur-press) var(--ease-out),
    background-color var(--dur-hover) ease,
    border-color var(--dur-hover) ease;
}
.socials a:active { transform: scale(0.94); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(253, 248, 245, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(253, 248, 245, 0.5);
}
@media (hover: hover) and (pointer: fine) {
  .site-footer a:hover { color: var(--gold-soft); }
  .socials a:hover { background: rgba(253, 248, 245, 0.12); border-color: var(--gold-soft); transform: translateY(-2px); }
  .info-list a:hover, .crumbs a:hover { color: var(--rose); }
  .faq__q:hover { color: var(--rose); }
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* --- Misc utils --------------------------------------------------------- */
.stack > * + * { margin-top: 1.5rem; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.divider-mark { display: block; width: 74px; margin: 0 auto 1.2rem; color: var(--gold); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--plum);
  color: var(--cream);
  padding: 0.8rem 1.4rem;
  z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* --- Scroll reveal ------------------------------------------------------ */
/* Marketing surface only, fires once. Text blocks lift; media wipes open
   with clip-path so the frame's shadow is never clipped mid-animation. */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 520ms var(--ease-out),
    transform 520ms var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

.reveal-media { clip-path: inset(0 0 100% 0); transition: clip-path 620ms var(--ease-in-out); }
.reveal-media.is-visible { clip-path: inset(0 0 0 0); }

/* --- Reduced motion ----------------------------------------------------- */
/* Gentler, not zero: opacity and colour survive, movement does not. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal { transform: none; transition: opacity 300ms ease; }
  .reveal-media { clip-path: none; transition: opacity 300ms ease; }

  .btn:active,
  .btn--primary:hover, .btn--ghost:hover, .btn--light:hover,
  .card:hover, .tile:hover, .tile:hover img, .tile:active,
  .socials a:hover, .nav__toggle:active, .filter:active,
  .video-toggle:active, .lightbox__close:active { transform: none; }

  .lightbox__inner { transform: none; transition: opacity var(--dur-panel) ease; }
  .lightbox.is-open .lightbox__inner { transform: none; }

  .nav__links { transition: opacity 200ms ease; transform: none; }
  .nav__links.is-open { transform: none; }

  .form-status { transform: none; transition: opacity 200ms ease; }
  .form-status.is-shown { transform: none; }

  .materialize { transform: none; filter: none; transition: opacity 300ms ease; }
  .materialize.is-visible { transform: none; filter: none; }
  .hero-v__cue:hover svg { transform: none; }
}

/* --- Reduced transparency ----------------------------------------------- */
/* Frostier and solid rather than translucent — the material stops being glass. */
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--cream); backdrop-filter: none; }
  body.has-dark-hero .site-header:not(.is-stuck) { background: var(--cream); }
  body.has-dark-hero .site-header:not(.is-stuck) .brand,
  body.has-dark-hero .site-header:not(.is-stuck) .nav__links > li > a { color: var(--plum-soft); }
  body.has-dark-hero .site-header:not(.is-stuck) .btn--primary {
    background: var(--plum);
    backdrop-filter: none;
    border-color: transparent;
  }
  .hero-v__stats,
  .hero-v__chip { background: rgba(24, 15, 19, 0.92); backdrop-filter: none; }
  .video-toggle { background: rgba(28, 18, 22, 0.9); backdrop-filter: none; }
  .lightbox__backdrop { backdrop-filter: none; background: rgba(24, 15, 19, 0.94); }
}

/* --- Increased contrast -------------------------------------------------- */
@media (prefers-contrast: more) {
  .hero-v__stats,
  .hero-v__chip {
    background: rgba(18, 11, 14, 0.96);
    backdrop-filter: none;
    border-color: rgba(253, 248, 245, 0.62);
  }
  .hero-v__stats span { color: rgba(253, 248, 245, 0.92); }
  .hero-v .lede { color: rgba(253, 248, 245, 0.97); }
  .hero-v__cue { color: rgba(253, 248, 245, 0.92); }
}
