/* ==========================================================================
   Central Pedicure – site styles
   Calm clinical base (porcelain, ink, sage) + beauty accent (plum from the logo)
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --bg: #fbf9f7;
  --bg-alt: #f4f0ec;
  --surface: #ffffff;
  --ink: #271f2b;
  --ink-2: #554b5a;
  --ink-3: #7f7584;
  --line: #e8e2dd;
  --line-strong: #d8cfc9;

  --brand: #5a1f6b;
  --brand-hover: #4a185a;
  --on-brand: #ffffff;
  --brand-text: #6b2a7d;
  --brand-soft: #f4ecf5;

  --sage: #3c6a5b;
  --sage-soft: #e5eee9;
  --star: #c48a2c;
  --open: #2f7d5b;
  --closed: #a8445a;

  --footer-bg: #1f1922;
  --footer-ink: #cfc6d3;
  --footer-ink-2: #9a8f9f;
  --footer-line: #352d39;

  --font-sans: 'Hanken Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgb(39 31 43 / 0.04), 0 10px 30px -14px rgb(39 31 43 / 0.18);
  --shadow-lg: 0 24px 60px -20px rgb(20 14 24 / 0.35);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --container: 1140px;
  --gutter: 20px;
  --header-h: 64px;
  --section-y: clamp(64px, 8vw, 104px);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161318;
    --bg-alt: #1c181e;
    --surface: #221d24;
    --ink: #f2edf3;
    --ink-2: #c9c0cc;
    --ink-3: #998f9d;
    --line: #322b35;
    --line-strong: #463d4a;

    --brand: #8b4a9c;
    --brand-hover: #9b5aac;
    --on-brand: #ffffff;
    --brand-text: #d2acdc;
    --brand-soft: #2c2131;

    --sage: #8fc0aa;
    --sage-soft: #1f2b26;
    --star: #e0ac55;
    --open: #6cc79b;
    --closed: #e38a9d;

    --footer-bg: #0f0d10;
    --footer-line: #2a242d;

    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 30px -14px rgb(0 0 0 / 0.6);
    --shadow-lg: 0 24px 60px -20px rgb(0 0 0 / 0.7);

    color-scheme: dark;
  }
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 72px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important; transition-delay: 0s !important;
    animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
  }
}
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }

h1, h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h3 { font-weight: 600; color: var(--ink); }

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

.icon { width: 20px; height: 20px; flex: none; }
.muted { color: var(--ink-3); }

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

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left));
}

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 500; line-height: 1; letter-spacing: 0.005em;
  white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink-3); background: var(--surface); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.875rem; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 1rem; }
.btn-block { width: 100%; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 999px; background: transparent; color: var(--ink);
  cursor: pointer; transition: background-color .15s ease, border-color .15s ease, opacity .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.icon-btn:hover { background: var(--bg-alt); }
.icon-btn-outline { border: 1px solid var(--line-strong); width: 40px; height: 40px; }
.icon-btn-outline:hover { background: var(--surface); border-color: var(--ink-3); }
.icon-btn:disabled { opacity: .35; cursor: default; background: transparent; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand-text); font-weight: 500;
  text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-underline-offset: 4px;
}
.text-link:hover { text-decoration-color: currentColor; }
.text-link .icon { width: 16px; height: 16px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would make it
   the containing block of the fixed mobile menu and collapse the menu to header height. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; min-width: 0; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--font-serif); font-size: 1.1875rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.brand-sub { font-size: 0.75rem; color: var(--ink-3); letter-spacing: 0.02em; white-space: nowrap; }

.nav-list { display: flex; gap: 4px; }
.nav-list a {
  position: relative; display: block; padding: 8px 12px; border-radius: 8px;
  font-size: 0.9375rem; font-weight: 500; color: var(--ink-2);
  transition: color .15s ease, background-color .15s ease;
}
.nav-list a:hover { color: var(--ink); background: var(--bg-alt); }
/* current section (set by site.js while scrolling): a short underline that grows in */
.nav-list a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px;
  border-radius: 2px; background: var(--brand-text);
  transform: scaleX(0); transition: transform .35s var(--ease-out);
}
.nav-list a.is-active { color: var(--ink); }
.nav-list a.is-active::after { transform: scaleX(1); }
.nav-mobile-footer { display: none; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch {
  display: inline-grid; place-items: center; min-width: 40px; height: 32px; padding: 0 10px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; color: var(--ink-2);
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.lang-switch:hover { color: var(--ink); border-color: var(--ink-3); background: var(--surface); }
.header-phone {
  display: none; align-items: center; gap: 8px; padding: 8px 10px;
  font-size: 0.9375rem; font-weight: 500; color: var(--ink); white-space: nowrap;
}
.header-phone .icon { width: 18px; height: 18px; color: var(--sage); }
.nav-toggle .icon-close { display: none; }

@media (min-width: 1180px) {
  .header-phone { display: inline-flex; }
}

@media (max-width: 959.98px) {
  .header-cta { display: none; }
  .brand-name { font-size: 1.125rem; }

  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 39;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom));
    background: var(--bg);
    border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
    overflow-y: auto;
  }
  .site-header.nav-open .nav {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .2s ease, transform .2s ease, visibility 0s;
  }
  .site-header.nav-open { border-bottom-color: var(--line); }
  .site-header.nav-open::before { background: var(--bg); }
  .site-header.nav-open .icon-open { display: none; }
  .site-header.nav-open .icon-close { display: block; }

  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li + li { border-top: 1px solid var(--line); }
  .nav-list a {
    padding: 18px 28px 18px 4px; border-radius: 0;
    font-family: var(--font-serif); font-size: 1.5rem; font-weight: 400; color: var(--ink);
  }
  .nav-list a:hover { background: none; }
  /* in the menu panel the current section gets the brand colour and a dot on the right */
  .nav-list a::after {
    left: auto; right: 6px; top: 50%; bottom: auto;
    width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
    transform: scale(0);
  }
  .nav-list a.is-active { color: var(--brand-text); }
  .nav-list a.is-active::after { transform: scale(1); }

  .nav-mobile-footer { display: grid; gap: 14px; padding-top: 24px; }
  .nav-mobile-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; font-size: 0.875rem; color: var(--ink-3); }
  .nav-mobile-meta a { color: var(--ink); font-weight: 500; }
}
@media (min-width: 960px) {
  .only-mobile { display: none !important; }
}
@media (max-width: 380px) {
  .brand-sub { display: none; }
}

/* ---------- sections ---------- */
.section { padding-block: var(--section-y); }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2 { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem); line-height: 1.12; }
.section-head p { margin-top: 12px; font-size: 1.0625rem; color: var(--ink-2); }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; }
.section-head-row > div:first-child { max-width: 640px; }
.section-head-actions { display: flex; align-items: center; gap: 12px; }

.lead { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.6; color: var(--ink-2); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(16px, 2vw, 24px); }
.hero-grid { display: grid; gap: 40px; align-items: center; }

.hero-location {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.875rem; font-weight: 500; color: var(--sage);
}
.hero-location .icon { width: 18px; height: 18px; }
.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);
  line-height: 1.04;
  max-width: 13ch;
}
.hero .lead { margin-top: 20px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-facts {
  display: flex; flex-wrap: wrap;
  gap: 20px 0; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line);
}
.hero-facts > div { flex: 0 1 auto; padding-right: 24px; }
.hero-facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.hero-facts dt { font-size: 0.8125rem; color: var(--ink-3); }
.hero-facts dd { margin-top: 4px; font-size: 0.9375rem; font-weight: 500; color: var(--ink); }
.hero-facts dd a { display: inline-flex; align-items: center; gap: 6px; }
.hero-facts dd a:hover { color: var(--brand-text); }
.hero-facts .icon-star { width: 16px; height: 16px; color: var(--star); }

.hero-media { position: relative; min-width: 0; }

@media (max-width: 559.98px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-facts > div { padding-right: 16px; }
  .hero-facts > div + div { padding-left: 16px; }
  .hero-facts > div:nth-child(odd) { padding-left: 0; border-left: 0; }
}
/* phones & tablets: photos first, edge to edge, then the text */
@media (max-width: 959.98px) {
  .hero { padding-top: 0; }
  .hero-grid { gap: 28px; }
  .hero-media { order: -1; margin-inline: calc(-1 * var(--gutter)); }
  .hero-media .slideshow { border-radius: 0; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 64px; }
}

/* ---------- slideshow ---------- */
.slideshow { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); background: var(--bg-alt); }
.slides {
  position: relative; aspect-ratio: 4 / 3;
  touch-action: pan-y; -webkit-user-select: none; user-select: none;
}
@media (min-width: 560px) and (max-width: 959.98px) { .slides { aspect-ratio: 16 / 9; } }
@media (min-width: 960px) {
  /* tall frame next to the text, but never taller than the screen */
  .slides { aspect-ratio: 5 / 6; max-height: max(440px, calc(100svh - var(--header-h) - 96px)); }
}

.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05); transition: transform 9s ease-out; /* slow, subtle zoom on the active photo */
  -webkit-user-drag: none;
}
.slide.is-active img { transform: scale(1); }
.slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgb(16 10 20 / .5), rgb(16 10 20 / 0) 40%);
}
.slide figcaption {
  position: absolute; left: 20px; right: 150px; bottom: 20px; z-index: 1;
  color: #fff; font-size: 0.9375rem; font-weight: 500; line-height: 1.35;
  text-shadow: 0 1px 10px rgb(0 0 0 / .35);
  opacity: 0; transform: translateY(6px);
  transition: opacity .6s ease .35s, transform .6s ease .35s;
}
.slide.is-active figcaption { opacity: 1; transform: none; }

.slide-ui {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  display: flex; align-items: center; gap: 4px; padding: 0 2px 0 12px; height: 36px;
  border-radius: 999px; background: rgb(20 14 24 / .4);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.slide-dots { display: flex; align-items: center; gap: 6px; }
.slide-dots button {
  position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
  background: rgb(255 255 255 / .5); cursor: pointer;
  transition: width .3s ease, background-color .3s ease;
}
.slide-dots button::before { content: ""; position: absolute; inset: -12px -4px; } /* larger tap target */
.slide-dots button[aria-current="true"] { width: 22px; background: #fff; }
.slide-toggle {
  display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer;
}
.slide-toggle .icon { width: 14px; height: 14px; }
.slide-toggle .icon-play, .slideshow.is-paused .slide-toggle .icon-pause { display: none; }
.slideshow.is-paused .slide-toggle .icon-play { display: block; }

.slide-arrow {
  position: absolute; top: 50%; z-index: 3;
  display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; padding: 0;
  border: 0; border-radius: 50%; background: rgb(255 255 255 / .92); color: #271f2b;
  box-shadow: 0 4px 16px rgb(0 0 0 / .18); cursor: pointer;
  opacity: 0; transition: opacity .2s ease, background-color .2s ease;
}
.slide-arrow:hover { background: #fff; }
.slide-prev { left: 14px; }
.slide-next { right: 14px; }
@media (hover: hover) {
  .slideshow:hover .slide-arrow, .slide-arrow:focus-visible { opacity: 1; }
}
@media (hover: none) {
  .slide-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .slide img, .slide.is-active img { transform: none; transition: none; }
}

/* ---------- services ---------- */
.svc-groups { border-top: 1px solid var(--line); }
.svc-group { position: relative; display: grid; gap: 16px 64px; padding-block: 32px; }
/* divider under each group; it "draws" from left to right when the group scrolls in */
.svc-group::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--line); transform-origin: left center;
}
.svc-group.reveal::after { transition: transform 1.4s var(--ease-out) .15s; }
.svc-group.reveal:not(.is-in)::after { transform: scaleX(0); }
.svc-group-head h3 {
  font-family: var(--font-serif); font-weight: 400; font-size: 1.625rem; line-height: 1.2; letter-spacing: -0.01em;
}
.svc-group-head p { margin-top: 8px; font-size: 0.9375rem; color: var(--ink-3); max-width: 34ch; }

.svc-list li + li { border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 6px 24px;
  width: calc(100% + 24px); margin-inline: -12px; padding: 18px 12px;
  border: 0; border-radius: var(--radius-sm); background: none; text-align: left; cursor: pointer;
  transition: background-color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.svc:hover { background: var(--brand-soft); }
.svc-text { display: block; }
.svc-title { display: block; font-size: 1.0625rem; font-weight: 500; color: var(--ink); line-height: 1.4; }
.svc-desc { display: block; margin-top: 4px; font-size: 0.9375rem; color: var(--ink-2); line-height: 1.55; }
.svc-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; padding-top: 1px; text-align: right; }
.svc-price { font-size: 1.0625rem; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.svc-time { font-size: 0.875rem; color: var(--ink-3); white-space: nowrap; }
.svc-chevron { display: none; }

@media (min-width: 900px) {
  .svc-group { grid-template-columns: 280px minmax(0, 1fr); padding-block: 40px; }
  .svc-group-head { align-self: start; position: sticky; top: calc(var(--header-h) + 24px); padding-top: 16px; }
  .svc { grid-template-columns: minmax(0, 1fr) auto 20px; }
  .svc-chevron { display: block; margin-top: 3px; color: var(--ink-3); transition: transform .15s ease, color .15s ease; }
  .svc:hover .svc-chevron { transform: translateX(3px); color: var(--brand-text); }
}

/* ---------- salon ---------- */
.salon-intro { display: grid; gap: 36px; }
.salon-copy h2 { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem); line-height: 1.12; }
.salon-copy .lead { margin-top: 16px; max-width: 34em; }
@media (min-width: 960px) {
  .salon-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
  .salon-intro .highlights { padding-top: 10px; }
}

.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px 32px; }
.highlights li { display: flex; align-items: flex-start; gap: 14px; }
.hl-icon {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--sage-soft); color: var(--sage);
}
.hl-icon .icon { width: 20px; height: 20px; }
.hl-title { display: block; font-weight: 500; color: var(--ink); line-height: 1.35; }
.hl-desc { display: block; margin-top: 2px; font-size: 0.9375rem; color: var(--ink-3); line-height: 1.45; }

.salon-media { margin-top: clamp(40px, 6vw, 64px); }
.salon-media { overflow: hidden; border-radius: var(--radius-lg); }
.salon-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- 360° tour ---------- */
.pano-block { margin-top: clamp(44px, 6vw, 72px); }
.pano-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 12px 32px; margin-bottom: 20px;
}
.pano-head h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.625rem; line-height: 1.2; letter-spacing: -0.01em; }
.pano-head p { margin-top: 6px; max-width: 56ch; color: var(--ink-3); }

.pano {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius-lg); background: #1d1720;
}
@media (max-width: 559.98px) { .pano { aspect-ratio: 4 / 5; } }
@media (min-width: 560px) and (max-width: 959.98px) { .pano { aspect-ratio: 4 / 3; } }
.pano iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pano-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pano:not(.is-loaded)::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgb(20 14 24 / .15), rgb(20 14 24 / .5));
}
.pano-start {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 22px 8px 8px; border: 0; border-radius: 999px;
  background: rgb(255 255 255 / .95); color: #271f2b;
  font-size: 1rem; font-weight: 500; line-height: 1; white-space: nowrap;
  box-shadow: 0 12px 32px -10px rgb(0 0 0 / .45);
  transform: translate(-50%, -50%); cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}
.pano-start:hover { background: #fff; transform: translate(-50%, -50%) scale(1.03); }
.pano-start-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: #5a1f6b; color: #fff;
}
.pano-start-icon svg { width: 24px; height: 24px; }

/* ---------- videos ---------- */
.video-list {
  position: relative;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(64%, 260px); gap: 16px;
  margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.video-list::-webkit-scrollbar { display: none; }
.video-list li { scroll-snap-align: start; }

.video-card {
  position: relative; /* contains the visually-hidden label inside the scroller */
  display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.video-thumb {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 9 / 16; border-radius: var(--radius); background: var(--bg-alt);
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.video-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / .32), transparent 32%);
  pointer-events: none;
}
/* Sits in the corner so it never covers the speaker or the title baked into the poster */
.play-btn {
  position: absolute; left: 14px; bottom: 14px; z-index: 1;
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgb(255 255 255 / .94); color: #4a185a;
  box-shadow: 0 4px 14px rgb(0 0 0 / .25);
  transition: transform .2s ease, background-color .2s ease;
}
.play-btn svg { width: 20px; height: 20px; margin-left: 2px; } /* optical centering of the triangle */
.video-card:hover .play-btn { transform: scale(1.06); background: #fff; }
.video-card:hover .video-thumb img { transform: scale(1.02); }
.video-card:focus-visible { outline: none; }
.video-card:focus-visible .video-thumb { outline: 2px solid var(--brand-text); outline-offset: 3px; }
.video-title { display: block; margin-top: 12px; font-weight: 500; color: var(--ink); line-height: 1.4; }

@media (min-width: 768px) {
  .video-list {
    grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
    margin-inline: 0; padding: 0; overflow: visible;
  }
}
@media (min-width: 960px) {
  .videos-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 64px; align-items: start; }
  .videos-layout .section-head { display: block; margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 24px); }
  .videos-layout .section-head .text-link { margin-top: 24px; }
}

/* ---------- reviews ---------- */
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 14px; color: var(--ink-2); }
.rating-value { font-family: var(--font-serif); font-size: 1.75rem; line-height: 1; color: var(--ink); }

.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 16px; height: 16px; }
.stars svg.off { color: var(--line-strong); }

.review-track {
  position: relative;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 380px); gap: 16px;
  margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.review-track::-webkit-scrollbar { display: none; }
.review {
  display: flex; flex-direction: column; gap: 16px;
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); scroll-snap-align: start;
}
.review-text { flex: 1; }
.review-text p {
  color: var(--ink-2); line-height: 1.6;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden;
}
.review-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.review-author img, .avatar-fallback { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar-fallback { display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); font-weight: 600; }
.review-name { display: block; font-weight: 500; color: var(--ink); line-height: 1.3; }
a.review-name:hover { color: var(--brand-text); }
.review-time { display: block; font-size: 0.8125rem; color: var(--ink-3); }

@media (min-width: 768px) {
  .review-track { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; }
}
@media (max-width: 767.98px) {
  .scroller-nav { display: none !important; }
}
.scroller-nav { display: flex; gap: 8px; }

/* ---------- gift card ---------- */
.gift { display: grid; gap: 32px; align-items: center; }
.gift-media { overflow: hidden; border-radius: var(--radius-lg); }
.gift-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gift-copy h2 { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem); line-height: 1.12; }
.gift-copy .lead { margin-top: 16px; }
.gift-copy p:not(.lead) { margin-top: 12px; color: var(--ink-3); }
.gift-copy .btn { margin-top: 28px; }
@media (min-width: 960px) {
  .gift { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 72px; }
}

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 40px; }
.contact-info { display: grid; gap: 32px; align-content: start; }

.contact-list { display: grid; gap: 10px; }
.contact-row {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-row:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.contact-row > span:nth-child(2) { flex: 1; min-width: 0; }
.contact-icon {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--sage-soft); color: var(--sage);
}
.contact-label { display: block; font-size: 0.8125rem; color: var(--ink-3); line-height: 1.3; }
.contact-value { display: block; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.contact-arrow { color: var(--ink-3); transition: transform .15s ease, color .15s ease; }
.contact-row:hover .contact-arrow { transform: translateX(3px); color: var(--brand-text); }

.info-block h3 { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.info-block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.address { margin: 8px 0 10px; color: var(--ink); }

.hours { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: 0.9375rem; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.hours th { color: var(--ink-2); }
.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(--ink); font-weight: 600; }
.hours .today-tag { font-weight: 400; color: var(--ink-3); }
.hours-note { margin-top: 10px; font-size: 0.875rem; color: var(--ink-3); }

.status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.status[data-state]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
/* a slow, soft ring around the "open now" dot */
.status[data-state="open"]::before { animation: status-pulse 2.8s ease-out infinite; }
@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--open) 45%, transparent); }
  70%, 100% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--open) 0%, transparent); }
}
.status[data-state="open"]::before { background: var(--open); }
.status[data-state="closed"]::before { background: var(--closed); }
.hero-facts .status { font-size: 0.9375rem; }

.social-list { display: flex; flex-wrap: wrap; gap: 8px; }
.social-list a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 0.875rem; font-weight: 500; color: var(--ink);
  transition: border-color .15s ease, background-color .15s ease;
}
.social-list a:hover { border-color: var(--ink-3); background: var(--surface); }
.social-list .icon { width: 16px; height: 16px; }

.map { min-height: 340px; border-radius: var(--radius-lg); overflow: hidden; background: var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

@media (min-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; }
  .map, .map iframe { min-height: 100%; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); font-size: 0.9375rem; }
.footer-grid { display: grid; gap: 32px; padding-block: 56px 40px; }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand img { width: 48px; height: 48px; border-radius: 50%; }
.footer-name { font-family: var(--font-serif); font-size: 1.25rem; color: #fff; margin-bottom: 4px; }
.footer-brand p:not(.footer-name) { color: var(--footer-ink-2); max-width: 28ch; }
.footer-title { font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--footer-ink-2); margin-bottom: 12px; }
.site-footer p + p { margin-top: 4px; }
.site-footer a:hover { color: #fff; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--footer-line); border-radius: 50%;
  transition: border-color .15s ease, color .15s ease;
}
.footer-social a:hover { border-color: var(--footer-ink-2); }
.footer-social .icon { width: 16px; height: 16px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-block: 20px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--footer-line);
  font-size: 0.8125rem; color: var(--footer-ink-2);
}
.site-footer .footer-bottom p + p { margin-top: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
@media (min-width: 560px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 40px; }
}
@media (min-width: 960px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr auto; gap: 40px; }
}
@media (max-width: 959.98px) {
  /* room for the mobile action bar */
  .footer-bottom { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
}

/* ---------- mobile action bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: auto 1fr; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .25s ease;
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn-outline { background: var(--surface); }
@media (min-width: 960px) { .mobile-bar { display: none; } }

/* ---------- scroll-in animations ----------
   Markup: a trigger element has [data-reveal]; elements inside it (or the trigger itself)
   have [data-anim="up|fade|pop|slide|rise|zoom"]. Children of [data-stagger] get an index
   (--i) for a small cascade; --d adds a fixed delay. JS adds .reveal only to triggers that
   start below the fold, so nothing is ever hidden if scripts fail or motion is reduced. */
.reveal[data-anim], .reveal [data-anim] {
  transition: opacity .8s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--d, 0s) + var(--i, 0) * 70ms);
}
.reveal:not(.is-in)[data-anim="up"], .reveal:not(.is-in) [data-anim="up"] { opacity: 0; transform: translate3d(0, 16px, 0); }
.reveal:not(.is-in)[data-anim="fade"], .reveal:not(.is-in) [data-anim="fade"] { opacity: 0; }
.reveal:not(.is-in) [data-anim="pop"] { opacity: 0; transform: scale(.8); }
.reveal:not(.is-in) [data-anim="slide"] { opacity: 0; transform: translate3d(10px, 0, 0); }
.reveal:not(.is-in) [data-anim="rise"] { opacity: 0; transform: translate3d(0, 28px, 0) scale(.985); }
.reveal [data-anim="zoom"] { transition: transform 1.8s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal:not(.is-in) [data-anim="zoom"] { transform: scale(1.06); }
@media print {
  .reveal [data-anim], .reveal[data-anim] { opacity: 1 !important; transform: none !important; }
}

/* hero: a gentle entrance on load (CSS only). The headline only moves – it never starts
   invisible – so the largest text isn't delayed for the browser or search engines. */
@keyframes rise-in { from { opacity: 0; transform: translate3d(0, 12px, 0); } }
@keyframes rise-in-solid { from { transform: translate3d(0, 12px, 0); } }
.hero-copy > * { animation: rise-in .9s var(--ease-out) both; }
.hero-copy > h1 { animation-name: rise-in-solid; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .14s; }
.hero-copy > :nth-child(4) { animation-delay: .22s; }
.hero-copy > :nth-child(5) { animation-delay: .3s; }

/* ---------- dialogs ---------- */
.dialog {
  width: min(560px, calc(100% - 32px)); max-height: min(86vh, 760px);
  margin: auto; padding: 32px; overflow-y: auto; overscroll-behavior: contain;
  border: 0; border-radius: var(--radius-lg);
  background: var(--surface); color: var(--ink-2);
  box-shadow: var(--shadow-lg);
}
.dialog:not([open]) { display: none; }
.dialog:focus, .dialog:focus-visible { outline: none; }
.dialog::backdrop { background: rgb(20 14 24 / .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dialog[open] { animation: dialog-in .22s ease-out; }
.dialog[open]::backdrop { animation: fade-in .22s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(10px) scale(.985); } }
@keyframes fade-in { from { opacity: 0; } }

/* fallback for browsers without <dialog> */
.dialog[open]:not(:modal) { position: fixed; inset: 0; z-index: 60; }

.dialog-close { position: absolute; top: 12px; right: 12px; color: var(--ink-3); }
.dialog-close:hover { color: var(--ink); }
.dialog-title { padding-right: 36px; font-size: 1.875rem; line-height: 1.15; }
.dialog-intro { margin-top: 8px; color: var(--ink-3); }
.dialog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 12px; font-weight: 500; color: var(--ink); }
.dialog-meta-time { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); font-weight: 400; }
.dialog-meta-time .icon { width: 16px; height: 16px; }
.dialog .contact-list { margin-top: 24px; }
.dialog-note { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 0.875rem; color: var(--ink-3); }
.dialog-note .icon { width: 16px; height: 16px; }
.dialog-video { width: 100%; margin-top: 20px; border-radius: var(--radius); background: #000; aspect-ratio: 16 / 9; object-fit: cover; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.dialog-actions .btn { flex: 1 1 160px; }

.prose { margin-top: 20px; }
.prose p { line-height: 1.7; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 12px; }
.prose ul { padding-left: 1.25em; list-style: disc; }
.prose li { line-height: 1.65; padding-left: 2px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--ink-3); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose a { color: var(--brand-text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- privacy / legal page ---------- */
.legal { padding-block: clamp(28px, 5vw, 56px) var(--section-y); }
.legal-inner { max-width: 760px; }
.back-link { margin-bottom: 32px; text-decoration: none; }
.back-link .icon { width: 18px; height: 18px; }
.legal-head h1 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); line-height: 1.08; }
.legal-meta { margin-top: 10px; font-size: 0.875rem; color: var(--ink-3); }
.legal-head .lead { margin-top: 20px; }

.legal-summary {
  margin-top: 36px; padding: 24px 24px 26px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.legal-summary h2 { font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.legal-summary ul { display: grid; gap: 14px; margin-top: 16px; }
.legal-summary li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); line-height: 1.55; }
.legal-check {
  display: grid; place-items: center; flex: none; width: 26px; height: 26px; margin-top: -1px;
  border-radius: 50%; background: var(--sage-soft); color: var(--sage);
}
.legal-check .icon { width: 15px; height: 15px; }

.legal-section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.legal-section h2 { font-size: 1.5rem; line-height: 1.25; }
.legal-section .prose { margin-top: 12px; }
.legal-operator { display: grid; gap: 8px; margin-top: 16px; }
.legal-operator div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 16px; }
.legal-operator dt { color: var(--ink-3); }
.legal-operator dd { color: var(--ink); overflow-wrap: anywhere; }
.legal-operator a:hover { color: var(--brand-text); }

@media (max-width: 559.98px) {
  /* bottom sheet on phones */
  .dialog:not(.dialog-media) {
    width: 100%; max-width: none; max-height: 88vh;
    margin: auto 0 0; padding: 28px 20px calc(24px + env(safe-area-inset-bottom));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .dialog:not(.dialog-media)[open] { animation: sheet-in .26s cubic-bezier(.2, .8, .2, 1); }
  @keyframes sheet-in { from { transform: translateY(100%); } }
}

.dialog-media {
  width: fit-content; max-width: calc(100vw - 32px); max-height: none;
  padding: 0; overflow: visible; background: transparent; box-shadow: none;
}
.dialog-media video {
  width: auto; height: min(84vh, 780px); max-width: calc(100vw - 32px);
  aspect-ratio: 9 / 16; object-fit: contain;
  border-radius: var(--radius); background: #000; box-shadow: var(--shadow-lg);
}
.dialog-media .dialog-close {
  top: -6px; right: -6px; transform: translate(100%, -100%);
  background: rgb(255 255 255 / .92); color: #271f2b;
}
.dialog-media .dialog-close:hover { background: #fff; color: #271f2b; }
.dialog-media::backdrop { background: rgb(12 9 14 / .82); }
@media (max-width: 559.98px) {
  .dialog-media .dialog-close { top: 10px; right: 10px; transform: none; }
  .dialog-media video { height: auto; max-height: 82vh; width: calc(100vw - 32px); }
}
