/* Natural Oasis Day Spa — White Rock, BC
   Forest-and-sea palette: deep cedar green, blush, sea mist and clean white. */

:root {
  --forest: #0f261f;
  --forest-2: #163329;
  --cedar: #1e4034;
  --blush: #e2b3a3;
  --blush-hover: #ecc5b8;
  --cream: #ffffff;
  --sand: #e4ebe7;
  --mist: #a8bdb5;
  --leaf: #7db046;
  --ink: #13201b;
  --ink-muted: #46524c;
  --on-dark: #eee7dc;
  --on-dark-muted: #b9c5be;
  --line-dark: rgba(238, 231, 220, 0.28);
  --line-light: #d3ddd8;
  --danger: #a3342a;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 140px;

  --radius: 28px;
  --radius-sm: 14px;
  --container: 1200px;
  --header-h: 84px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 220ms;
  --z-header: 40;
  --z-dialog: 100;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--forest);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--blush); outline-offset: 3px; border-radius: 4px; }
.light :focus-visible, .light-surface :focus-visible { outline-color: var(--cedar); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--blush); color: var(--forest); padding: 10px 18px; border-radius: 999px;
  text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.narrow { width: min(100% - 32px, 760px); margin-inline: auto; }

/* ---------- Type ---------- */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.8rem, 7vw, 6.2rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.15; }
em, .italic { font-style: italic; }
.caps { text-transform: uppercase; letter-spacing: 0.08em; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blush);
  margin: 0 0 var(--space-3);
}
.light .eyebrow, .sand .eyebrow { color: #2f6550; }

p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: 1.15rem; color: var(--on-dark-muted); max-width: 60ch; }
.light .lede, .sand .lede { color: var(--ink-muted); }
.muted { color: var(--on-dark-muted); }
.light .muted, .sand .muted { color: var(--ink-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 28px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; touch-action: manipulation;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform 120ms var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--blush); color: var(--forest); }
.btn-primary:hover { background: var(--blush-hover); }
.btn-outline { border-color: var(--on-dark); color: var(--on-dark); background: transparent; }
.btn-outline:hover { background: rgba(238, 231, 220, 0.1); }
.btn-dark { background: var(--forest); color: var(--on-dark); }
.btn-dark:hover { background: var(--cedar); }
.light .btn-outline, .sand .btn-outline, .light-surface .btn-outline { border-color: var(--forest); color: var(--forest); }
.light .btn-outline:hover, .light-surface .btn-outline:hover { background: rgba(15, 38, 31, 0.06); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; background: none; border: 0; padding: 0; color: inherit; cursor: pointer;
}
.link-arrow .circle {
  display: inline-grid; place-items: center; width: 34px; height: 34px;
  border: 1px solid currentColor; border-radius: 50%;
  transition: transform var(--dur) var(--ease-out);
}
.link-arrow:hover .circle { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--cream);
  color: var(--ink);
  border-bottom: 1px solid var(--line-light);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 68px; width: auto; mix-blend-mode: multiply; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; }
.main-nav a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; padding: 10px 0; display: inline-block; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { min-height: 44px; padding: 10px 20px; }
.header-actions .btn-dark { color: var(--on-dark); }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-light); background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color var(--dur) var(--ease-out);
}
.icon-btn:hover { background: rgba(15, 38, 31, 0.06); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--cedar); color: var(--on-dark);
  font-size: 12px; font-weight: 500; display: grid; place-items: center;
}
.cart-count[hidden] { display: none; }
.menu-toggle { display: none; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-grid; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--cream);
    border-bottom: 1px solid var(--line-light); padding: 8px 16px 24px;
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: 14px 0; font-size: 15px; }
  .header-actions .book-call { display: none; }
  .brand img { height: 50px; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding-block: var(--space-7); }
.section-lg { padding-block: var(--space-8); }
.light { background: var(--cream); color: var(--ink); }
.sand { background: var(--sand); color: var(--ink); }
.cedar-bg { background: var(--forest-2); }
.section-head { text-align: center; margin-bottom: var(--space-6); }
.section-head .lede { margin-inline: auto; }

/* Hero */
.hero {
  min-height: min(92vh, 880px); min-height: min(92dvh, 880px);
  display: grid; place-items: center; text-align: center;
  padding: var(--space-7) 0; overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15, 38, 31, 0.55) 0%, rgba(15, 38, 31, 0.72) 60%, rgba(15, 38, 31, 0.95) 100%);
}
.hero-emblem {
  width: 132px; height: 132px; margin: 0 auto var(--space-5);
  border: 1px solid var(--line-dark); border-radius: 50%;
  display: grid; place-items: center;
}
.hero-emblem svg { width: 60px; height: 60px; }
.hero h1 { text-transform: uppercase; }
.hero h1 em { text-transform: none; }
.hero .lede {
  margin: var(--space-4) auto var(--space-5);
  font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.9; color: var(--on-dark);
}
.hero .btn-row { justify-content: center; }

/* Page hero (inner pages) */
.page-hero { padding: var(--space-7) 0 var(--space-6); text-align: center; overflow: hidden; isolation: isolate; }
.page-hero.with-photo { padding: 150px 0 110px; }
.page-hero.with-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15, 38, 31, 0.62) 0%, rgba(15, 38, 31, 0.9) 100%);
}
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.page-hero .lede { color: var(--on-dark); }
.page-hero .lede { margin-inline: auto; }

/* Offer cards (glass outline like the inspiration) */
.offer-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden;
}
.offer {
  position: relative; padding: var(--space-5) var(--space-4) var(--space-4);
  display: flex; flex-direction: column; gap: var(--space-3);
  border-right: 1px solid var(--line-dark); overflow: hidden;
}
.offer:last-child { border-right: 0; }
.offer h3 { font-style: italic; text-align: center; }
.offer .photo { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; }
.offer .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.offer:hover .photo img { transform: scale(1.04); }
.offer p { color: var(--on-dark-muted); margin: 0; }
.offer .price { font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.offer .offer-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: var(--space-2); }
.ribbon {
  position: absolute; top: 22px; right: -46px; transform: rotate(45deg);
  background: var(--blush); color: var(--forest); width: 180px; text-align: center;
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; padding: 6px 0;
}
@media (max-width: 900px) {
  .offer-grid { grid-template-columns: 1fr; }
  .offer { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .offer:last-child { border-bottom: 0; }
}

/* Includes strip */
.includes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); margin-top: var(--space-6); }
.include { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.include svg { width: 30px; height: 30px; color: var(--blush); }
.include span { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; }
@media (max-width: 700px) { .includes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Editorial "the quiet" section */
.editorial { overflow: hidden; }
.editorial-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-4);
  align-items: start;
}
.editorial .big-word {
  grid-column: 1 / 10; grid-row: 1;
  font-family: var(--font-display); font-size: clamp(4rem, 13vw, 11rem); line-height: 0.9;
  color: rgba(238, 231, 220, 0.14); text-transform: uppercase; margin: 0; align-self: center;
}
.editorial .big-word em { text-transform: none; }
.editorial .ph-a { grid-column: 9 / 13; grid-row: 1 / 3; aspect-ratio: 3 / 4; }
.editorial .ph-b { grid-column: 1 / 6; grid-row: 2 / 4; aspect-ratio: 4 / 5; margin-top: var(--space-5); }
.editorial .quote {
  grid-column: 7 / 12; grid-row: 3; align-self: center;
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.25;
  color: var(--on-dark); margin: var(--space-6) 0 0;
}
.editorial .quote + .link-arrow { grid-column: 7 / 12; grid-row: 4; }
.editorial figure { margin: 0; overflow: hidden; border-radius: 4px; }
.editorial figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) {
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial .big-word, .editorial .ph-a, .editorial .ph-b, .editorial .quote, .editorial .quote + .link-arrow { grid-column: 1; grid-row: auto; }
  .editorial .ph-a { aspect-ratio: 4 / 3; }
  .editorial .ph-b { margin-top: 0; }
  .editorial .quote { margin-top: var(--space-3); }
}

/* Treatment categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.cat-card { text-decoration: none; display: flex; flex-direction: column; gap: 14px; }
.cat-card .photo { aspect-ratio: 3 / 4; border-radius: 200px 200px 6px 6px; overflow: hidden; }
.cat-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.cat-card:hover .photo img { transform: scale(1.04); }
.cat-card h3 { font-size: 1.7rem; }
.cat-card .from { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .cat-grid { grid-template-columns: 1fr; } .cat-card .photo { aspect-ratio: 4 / 3; } }

/* Split block */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); align-items: center; }
.split .photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; }
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: var(--space-5); } }

/* Gift band */
.gift-band {
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden;
}
.gift-band .copy { padding: var(--space-6) var(--space-5); display: flex; flex-direction: column; justify-content: center; gap: var(--space-3); }
.gift-band .photo { min-height: 380px; }
.gift-band .photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .gift-band { grid-template-columns: 1fr; } .gift-band .photo { min-height: 260px; order: -1; } }

/* Visit */
.visit-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr; gap: var(--space-5); align-items: start; }
.visit-grid h3 { font-size: 1.6rem; margin-bottom: 10px; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-light); }
.dark-hours li { border-color: var(--line-dark); }
.map-frame { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); filter: grayscale(0.25); }
@media (max-width: 960px) { .visit-grid { grid-template-columns: 1fr; } }

/* ---------- Menu page ---------- */
.menu-nav {
  position: sticky; top: var(--header-h); z-index: 30;
  background: var(--cream); border-bottom: 1px solid var(--line-light);
}
.menu-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.menu-nav ul::-webkit-scrollbar { display: none; }
.menu-nav a {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 16px; white-space: nowrap;
  font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--ink);
  border-bottom: 2px solid transparent;
}
.menu-nav a.active { border-color: var(--cedar); }

.menu-cat { padding-block: var(--space-6); border-bottom: 1px solid var(--line-light); }
.menu-cat:last-child { border-bottom: 0; }
.menu-cat-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--space-5); margin-bottom: var(--space-5); align-items: end; }
.menu-cat-head p { margin: 0; color: var(--ink-muted); }
@media (max-width: 760px) { .menu-cat-head { grid-template-columns: 1fr; gap: var(--space-3); } }

.menu-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-6); }
.menu-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; padding: 22px 0; border-top: 1px solid var(--line-light); }
.menu-item .name { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.2; }
.menu-item .meta { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
.menu-item .desc { grid-column: 1 / -1; margin: 0; color: var(--ink-muted); font-size: 16px; max-width: 60ch; }
.menu-item .price { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.2; text-align: right; font-variant-numeric: tabular-nums; }
.menu-item .actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.chip-btn {
  min-height: 44px; padding: 8px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--forest); background: transparent; color: var(--forest);
  font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.chip-btn:hover { background: var(--forest); color: var(--on-dark); }
.chip-btn.gift { border-color: #8a4f3d; color: #8a4f3d; }
.chip-btn.gift:hover { background: #8a4f3d; color: #fff; }
@media (max-width: 860px) { .menu-list { grid-template-columns: 1fr; } }

.notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px;
  border-radius: var(--radius-sm); background: var(--sand); color: var(--ink); font-size: 16px;
}
.notice svg { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--cedar); }

/* ---------- Gift cards page ---------- */
.gift-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.gift-option {
  border: 1px solid var(--line-dark); border-radius: var(--radius); padding: var(--space-5);
  display: flex; flex-direction: column; gap: var(--space-3);
}
.gift-option .card-art {
  aspect-ratio: 1.6 / 1; border-radius: 16px; overflow: hidden; position: relative;
  background: var(--cedar); display: grid; place-items: center; margin-bottom: var(--space-2);
}
.gift-option .card-art img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.gift-option .card-art .badge {
  position: relative; background: var(--cream); border-radius: 999px; padding: 14px 28px;
}
.gift-option .card-art .badge img { height: 70px; width: auto; mix-blend-mode: multiply; }
.gift-option ul { margin: 0; padding-left: 1.1em; color: var(--on-dark-muted); }
.gift-option ul li { margin-bottom: 6px; }
.gift-option .btn-row { margin-top: auto; padding-top: var(--space-3); }
@media (max-width: 860px) { .gift-options { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); counter-reset: step; }
.step { border-top: 1px solid var(--line-light); padding-top: var(--space-4); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-style: italic; font-size: 2.2rem; color: #2f6550; display: block; margin-bottom: 8px;
}
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-size: 1.45rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-size: 1.4rem; transition: transform var(--dur) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-muted); padding-bottom: 20px; margin: 0; max-width: 65ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); border-top: 1px solid var(--line-dark); padding: var(--space-6) 0 var(--space-4); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: var(--space-5); }
.footer-badge { display: inline-block; background: var(--cream); border-radius: 999px; padding: 12px 26px; }
.footer-badge img { height: 64px; width: auto; mix-blend-mode: multiply; }
.site-footer h4 { margin: 0 0 12px; font-size: 13px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blush); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; color: var(--on-dark-muted); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--on-dark-muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Dialogs: add item + cart ---------- */
dialog {
  border: 0; padding: 0; color: var(--ink); background: var(--cream);
  max-width: min(560px, calc(100% - 24px)); width: 100%;
  border-radius: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
dialog::backdrop { background: rgba(10, 24, 19, 0.7); }
dialog[open] { animation: dialog-in 260ms var(--ease-out); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { dialog[open] { animation: none; } }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 28px 28px 0; }
.dialog-head h2 { font-size: 2.1rem; }
.dialog-body { padding: 20px 28px 28px; }
.close-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light); background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.close-btn:hover { background: rgba(15, 38, 31, 0.06); }

.cart-drawer { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; max-width: min(480px, 100%); border-radius: 0; display: none; }
.cart-drawer[open] { display: flex; flex-direction: column; animation: drawer-in 300ms var(--ease-out); }
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cart-drawer[open] { animation: none; } }
.cart-drawer .dialog-body { flex: 1; overflow-y: auto; }
.cart-foot { padding: 20px 28px 28px; border-top: 1px solid var(--line-light); background: var(--sand); }

.choice-group { border: 0; margin: 0 0 18px; padding: 0; }
.choice-group legend { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line-light); background: #fff; cursor: pointer; min-height: 64px;
}
.choice span small { color: var(--ink-muted); font-size: 14px; }
.choice input:checked + span { border-color: var(--cedar); box-shadow: inset 0 0 0 1px var(--cedar); }
.choice input:focus-visible + span { outline: 2px solid var(--cedar); outline-offset: 2px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 500; }
.field .hint { font-size: 14px; color: var(--ink-muted); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1px solid #9fb1a9; border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--cedar); outline-offset: 1px; border-color: var(--cedar); }
.field .error { color: var(--danger); font-size: 14px; }
.field.invalid input { border-color: var(--danger); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .field-row, .choices { grid-template-columns: 1fr; } }

.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line-light); }
.cart-line .n { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; }
.cart-line .p { font-variant-numeric: tabular-nums; }
.cart-line .g { grid-column: 1 / -1; font-size: 14px; color: var(--ink-muted); }
.cart-line .rm { grid-column: 1 / -1; justify-self: start; background: none; border: 0; padding: 6px 0; min-height: 36px; color: var(--danger); text-decoration: underline; cursor: pointer; font-size: 14px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.cart-total strong { font-family: var(--font-display); font-size: 2rem; font-weight: 400; }
.cart-empty { text-align: center; padding: 40px 0; color: var(--ink-muted); }
.form-msg { font-size: 15px; margin: 12px 0 0; }
.form-msg.err { color: var(--danger); }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px);
  background: var(--cedar); color: var(--on-dark); padding: 14px 22px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); opacity: 0; pointer-events: none; z-index: 150;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  display: flex; gap: 14px; align-items: center;
}
.toast.show { opacity: 1; transform: translateX(-50%); pointer-events: auto; }
.toast button { background: none; border: 0; color: var(--blush); text-decoration: underline; cursor: pointer; min-height: 36px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.photo-credit { font-size: 12px; color: var(--on-dark-muted); }
.cat-card .chip-btn { align-self: flex-start; }
.cat-card h3 { color: inherit; }
.light, .sand { display: flow-root; }
[hidden] { display: none !important; }
.nav-call { display: none; }
@media (max-width: 960px) { .nav-call { display: list-item; } }

/* ---------- Request a spot (book.html) ---------- */
.book-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: var(--space-6); align-items: start; padding-block: var(--space-2); }
@media (max-width: 960px) { .book-layout { grid-template-columns: 1fr; gap: var(--space-5); } }
.form-block { border: 0; margin: 0 0 var(--space-5); padding: 0 0 var(--space-5); border-bottom: 1px solid var(--line-light); min-width: 0; }
.form-block > legend { padding: 0; margin-bottom: var(--space-4); }
.form-block > legend h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.optional { font-weight: 400; color: var(--ink-muted); }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2313201b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.check { display: flex; gap: 12px; align-items: center; min-height: 44px; margin: 4px 0 14px; cursor: pointer; font-size: 16px; }
.check input { width: 22px; height: 22px; accent-color: var(--cedar); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-wide { width: 100%; min-height: 56px; font-size: 14px; }
.form-summary { border: 1px solid var(--danger); background: #fbeeec; color: var(--ink); border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: var(--space-4); }
.form-summary ul { margin: 8px 0 0; padding-left: 1.2em; }
.form-summary a { color: var(--danger); }
.form-success { padding: var(--space-6) 0; }
.form-success h2 { margin-bottom: var(--space-3); }
.form-success .lede { margin-bottom: var(--space-4); }
.book-aside { display: grid; gap: var(--space-3); position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 960px) { .book-aside { position: static; } }
.aside-card { background: var(--sand); border-radius: var(--radius-sm); padding: var(--space-4); }
.aside-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.aside-card .hours li { border-color: #c9d6cf; }
.aside-card a:not(.btn) { color: var(--cedar); }

/* ---------- FAQ page ---------- */
.faq-group { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: var(--space-6) 0 var(--space-2); }
.faq-group:first-child { margin-top: 0; }
.faq details p a { color: var(--cedar); }
.faq-cta { text-align: center; margin-top: var(--space-7); padding: var(--space-6) var(--space-4); background: var(--sand); border-radius: var(--radius); }
.faq-cta h2 { margin-bottom: var(--space-4); }
.chip-btn.book { display: inline-flex; align-items: center; text-decoration: none; border-color: #9fb1a9; }

/* ---------- Scroll-driven hero video (home) ---------- */
.hero-scroll { --p: 0; position: relative; height: 150vh; height: 150dvh; }
.hero-scroll .hero {
  position: sticky; top: var(--header-h);
  height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
  min-height: 520px; padding: 0;
}
.hero-video .hero-bg { background: var(--forest); }
.hero-vid { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Overlay lightens as the drop falls, so the ripple shows at the end */
.hero-video::before {
  background: linear-gradient(180deg, rgba(15, 38, 31, 0.62) 0%, rgba(15, 38, 31, 0.5) 55%, rgba(15, 38, 31, 0.78) 100%);
  opacity: calc(1 - var(--p) * 0.55);
}
.hero-content {
  opacity: clamp(0, calc(1 - (var(--p) - 0.45) * 2.2), 1);
  transform: translateY(calc(clamp(0, (var(--p) - 0.45), 1) * -120px));
  will-change: opacity, transform;
}
.hero-content .btn-row { pointer-events: auto; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--on-dark);
  opacity: clamp(0, calc(1 - var(--p) * 6), 1);
}
.scroll-cue i { width: 1px; height: 44px; background: var(--on-dark); transform-origin: top; animation: cue 1.8s var(--ease-out) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-scroll { height: auto; }
  .hero-scroll .hero { position: relative; top: 0; }
  .hero-video::before, .hero-content { opacity: 1; transform: none; }
  .scroll-cue { display: none; }
}

/* ---------- Eminence Organics (home) ---------- */
.em-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-7); align-items: center; }
.em-photos { position: relative; padding: 0 12% 18% 0; }
.em-photos figure { margin: 0; overflow: hidden; border-radius: 6px; }
.em-photos img { width: 100%; height: 100%; object-fit: cover; }
.em-a { aspect-ratio: 4 / 5; border-radius: 220px 220px 6px 6px !important; }
.em-b { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 5; border: 8px solid var(--forest-2); }
.em-copy { display: flex; flex-direction: column; gap: var(--space-3); }
.em-copy .lede { margin: 0; }
.em-pillars { list-style: none; margin: var(--space-2) 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.em-pillars li { border: 1px solid var(--line-dark); border-radius: 999px; padding: 8px 16px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.em-pillars sup { font-size: 0.6em; }
@media (max-width: 900px) { .em-grid { grid-template-columns: 1fr; gap: var(--space-5); } .em-photos { max-width: 520px; } }

/* Ribbon -> badge that never clips */
.offer .ribbon {
  top: 18px; right: 18px; transform: none; width: auto;
  padding: 6px 14px; border-radius: 999px; z-index: 1;
}
.offer .photo { position: relative; }
.offer .photo .ribbon { top: 12px; right: 12px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18); }
.site-footer li, .aside-card p { overflow-wrap: anywhere; }

/* Eminence product showcase (home) */
.em-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.em-products figure { margin: 0; background: #fff; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.em-products img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 8%; }
.em-products figcaption { color: var(--ink); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; padding: 0 10px 14px; }
.em-products .em-hero { grid-column: 1 / -1; }
.em-products .em-hero img { aspect-ratio: 16 / 10; padding: 4% 6% 0; }
.em-products .em-hero figcaption { font-size: 13px; padding-bottom: 18px; }
@media (max-width: 480px) { .em-products figcaption { font-size: 11px; letter-spacing: 0.06em; } }

/* Category photo on the spa menu */
.menu-cat-head.has-image { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 220px; align-items: center; }
.cat-figure { margin: 0; background: #fff; border: 1px solid var(--line-light); border-radius: 18px; overflow: hidden; }
.cat-figure img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 6%; }
.cat-figure figcaption { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; color: var(--ink-muted); padding: 0 10px 12px; }
@media (max-width: 960px) { .menu-cat-head.has-image { grid-template-columns: minmax(0, 1fr) 160px; } .menu-cat-head.has-image p { grid-column: 1; } .cat-figure { grid-column: 2; grid-row: 1 / span 2; } }
@media (max-width: 520px) { .menu-cat-head.has-image { grid-template-columns: 1fr; } .cat-figure { grid-column: 1; grid-row: auto; max-width: 220px; } }
.em-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: var(--space-2) 0; }
.em-stats > div { border: 1px solid var(--line-dark); border-radius: var(--radius-sm); padding: 16px 20px; display: flex; flex-direction: column-reverse; gap: 4px; }
.em-stats dt { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); }
.em-stats dd { margin: 0; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--blush); font-variant-numeric: tabular-nums; }
.em-stats dd span { font-size: 1.4rem; }

/* ---------- Spa menu: deeper, layered look ---------- */
.menu-nav-dark { background: var(--forest); border-bottom: 1px solid var(--line-dark); }
.menu-nav-dark a { color: var(--on-dark-muted); }
.menu-nav-dark a:hover { color: var(--on-dark); }
.menu-nav-dark a.active { color: var(--on-dark); border-color: var(--blush); }

.menu-page { background: #dde6e1; padding-bottom: var(--space-6); }
.menu-page .notice { background: var(--forest-2); color: var(--on-dark); box-shadow: 0 10px 30px -14px rgba(15, 38, 31, 0.5); }
.menu-page .notice svg { color: var(--blush); }
.menu-page .notice a { color: var(--blush); }

.menu-page .menu-cat {
  background: #fff; border: 0; border-radius: var(--radius);
  padding: var(--space-5) var(--space-5) var(--space-4); margin-top: var(--space-4);
  box-shadow: 0 1px 2px rgba(15, 38, 31, 0.06), 0 18px 40px -20px rgba(15, 38, 31, 0.35);
}
.menu-page .menu-cat-head { position: relative; padding-bottom: var(--space-4); margin-bottom: 0; border-bottom: 1px solid #c9d6cf; }
.menu-page .menu-cat-head h2 { color: var(--forest); }
.menu-page .menu-cat-head h2::before {
  content: ""; display: block; width: 36px; height: 2px; background: var(--blush); margin-bottom: 14px;
}
.menu-page .menu-item { border-top-color: #e1e8e4; border-radius: 12px; padding: 22px 14px; margin: 0 -14px; transition: background-color var(--dur) var(--ease-out); }
.menu-page .menu-item:hover { background: #f2f6f4; }
.menu-page .menu-list li:nth-child(-n+2) { border-top: 0; }
.menu-page .menu-item .name { color: var(--forest); }
.menu-page .menu-item .price { color: #8a4f3d; }
.menu-page .chip-btn:not(.gift):not(.book) { background: var(--forest); color: var(--on-dark); }
.menu-page .chip-btn:not(.gift):not(.book):hover { background: var(--cedar); }
.menu-page .chip-btn.book { border-color: #9fb1a9; color: var(--ink); }
.menu-page .chip-btn.book:hover { background: #e4ebe7; color: var(--ink); }
@media (max-width: 860px) {
  .menu-page .menu-list li:nth-child(2) { border-top: 1px solid #e1e8e4; }
  .menu-page .menu-cat { padding: var(--space-4) var(--space-3) var(--space-3); }
}
.cat-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.cat-grid.five .cat-card h3 { font-size: 1.5rem; }
@media (max-width: 1100px) { .cat-grid.five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .cat-grid.five { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .cat-grid.five { grid-template-columns: 1fr; } }
