/* Elizabeth Spa — styles.css. Plain CSS, no build step.
   Font · Tokens · Language · Reset · Typography · Buttons · Header · Hero ·
   About · Services · Band · Reviews · Visit · Closing · Footer · Doc page ·
   Mobile bar · Motion */

/* ---------- Font ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* surfaces */
  --cream:      #faf6ee;
  --cream-alt:  #f2ece0;
  --paper:      #fffdf8;

  /* greens */
  --sage:       #4a5c42;
  --sage-deep:  #2c362a;
  --sage-dark:  #212a20;
  /* darkened from the logo's #6d8260 to clear 4.5:1 behind small labels */
  --sage-mid:   #5a6d4e;
  --sage-soft:  #c3cfb9;

  /* neutrals */
  --ink:        #22281e;
  --ink-soft:   #57604e;
  --ink-faint:  #646c5b;
  --sand:       #d9c8ae;
  --rule:       #ddd3c1;
  --gold:       #b08d4f;

  /* type */
  --serif: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  /* Cormorant first: Latin/digits in a Chinese line keep the brand face.
     SimSun skipped on purpose — it renders poorly at display sizes. */
  --serif-zh: "Cormorant Garamond", "Songti SC", "Noto Serif SC",
    "Source Han Serif SC", "PingFang SC", "Microsoft YaHei", serif;
  --sans-zh: ui-sans-serif, system-ui, -apple-system, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;

  /* layout */
  --shell: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --radius: 4px;
  --radius-lg: 8px;

  /* effects */
  --shadow-sm: 0 1px 2px rgba(34, 40, 30, .05), 0 4px 14px rgba(34, 40, 30, .05);
  --shadow-md: 0 2px 6px rgba(34, 40, 30, .06), 0 18px 44px rgba(34, 40, 30, .09);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Language ----------
   Only the inactive side is hidden, so the visible one keeps its natural
   display type (inline span, block <p>, …). */
html[data-lang="en"] [data-zh] { display: none; }
html[data-lang="zh"] [data-en] { display: none; }

html[data-lang="zh"] body { font-family: var(--sans-zh); line-height: 1.8; }
html[data-lang="zh"] h1,
html[data-lang="zh"] h2,
html[data-lang="zh"] h3,
html[data-lang="zh"] h4 {
  font-family: var(--serif-zh);
  letter-spacing: 0;
  line-height: 1.35;
}
html[data-lang="zh"] .hero__brand,
html[data-lang="zh"] .brand__name { font-family: var(--serif); }
html[data-lang="zh"] .hero__lede,
html[data-lang="zh"] .band__quote p { font-style: normal; line-height: 1.5; }
html[data-lang="zh"] .eyebrow,
html[data-lang="zh"] .hero__eyebrow,
html[data-lang="zh"] .site-footer__h,
html[data-lang="zh"] .fact dt,
html[data-lang="zh"] .band__quote cite,
html[data-lang="zh"] .hours-card__status {
  text-transform: none;
  letter-spacing: .06em;
}
html[data-lang="zh"] .hero__copy,
html[data-lang="zh"] .about__copy p,
html[data-lang="zh"] .review blockquote p { line-height: 1.85; }
html[data-lang="zh"] .hero__lede { max-width: 16em; }
html[data-lang="zh"] .hero__copy { max-width: 24em; }
html[data-lang="zh"] .band__quote p { max-width: 20em; }
html[data-lang="zh"] .closing__copy p { max-width: 20em; }
html[data-lang="zh"] .about__copy p { max-width: 32em; }

/* Chinese street name sits above the English address, which stays untranslated
   so it still works in Maps. */
.fact__zh-line,
.visit__zh-line,
.footer__zh-line { display: block; }

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .18vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, iframe, picture, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }

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

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--sage);
  color: var(--cream);
  padding: .7rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: .9rem;
  text-decoration: none;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.005em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.15rem); }
h3 { font-size: clamp(1.5rem, 1.25rem + 1vw, 1.95rem); }
h4 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage-mid);
  margin: 0 0 1rem;
}

.section {
  padding-block: clamp(4rem, 8vw, 7.5rem);
  position: relative;
}
.section--alt { background: var(--cream-alt); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: .35em; }
.section-head__note { color: var(--ink-soft); margin: 0; }

/* rating */
.rating {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0;
  font-size: .93rem;
}
.rating__stars { display: inline-flex; gap: 2px; }
.rating__stars svg { width: 17px; height: 17px; fill: var(--gold); }
.rating--hero { color: rgba(250, 246, 238, .92); }
.rating--hero .rating__stars svg { fill: #e0bd7c; }
.rating--hero strong { font-weight: 600; color: #fff; }
.rating--inline { margin-top: .75rem; color: var(--ink-soft); }
.rating--footer { margin-top: .9rem; color: rgba(250, 246, 238, .78); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .78rem 1.4rem;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: .93rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .22s var(--ease), border-color .22s var(--ease),
    color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

.btn--primary {
  --btn-bg: var(--sage);
  --btn-fg: var(--cream);
  --btn-bd: var(--sage);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { --btn-bg: #3d4d36; --btn-bd: #3d4d36; box-shadow: var(--shadow-md); }

.btn--ghost { --btn-fg: var(--sage); --btn-bd: var(--rule); background: var(--paper); }
.btn--ghost:hover { --btn-bd: var(--sage); background: #fff; }

.btn--quiet { --btn-fg: var(--ink); --btn-bd: transparent; padding-inline: .85rem; }
.btn--quiet:hover { --btn-bg: rgba(74, 92, 66, .08); }

.btn--light {
  --btn-bg: var(--cream);
  --btn-fg: var(--sage-deep);
  --btn-bd: var(--cream);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
}
.btn--light:hover { --btn-bg: #fff; --btn-bd: #fff; }

.btn--outline-light {
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn--outline-light:hover { --btn-bd: #fff; background: rgba(255, 255, 255, .18); }

.ico { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }
.ico--trail { width: .85em; height: .85em; opacity: .7; }

.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }

@media (max-width: 560px) {
  .cta-row, .services__cta { flex-direction: column; align-items: stretch; }
  .cta-row .btn, .services__cta .btn { width: 100%; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-block: .85rem;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease),
    padding .3s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 26, 18, .55), transparent);
  opacity: 1;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.site-header.is-scrolled {
  background: rgba(250, 246, 238, .93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(34, 40, 30, .08);
  padding-block: .5rem;
}
.site-header.is-scrolled::before { opacity: 0; }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  margin-right: auto;
}
.brand__mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: filter .3s var(--ease);
  filter: brightness(0) invert(1) opacity(.94);
}
.site-header.is-scrolled .brand__mark { filter: none; }

.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: #fff;
  /* never wrap: two lines stretches the header */
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.site-header.is-scrolled .brand__name { color: var(--sage); }

.site-nav { display: flex; gap: 1.6rem; }
.site-nav a {
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .88);
  text-decoration: none;
  padding-block: .3rem;
  position: relative;
  transition: color .25s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); }
.site-header.is-scrolled .site-nav a { color: var(--ink-soft); }
.site-header.is-scrolled .site-nav a:hover { color: var(--sage); }

.site-header__cta { display: flex; align-items: center; gap: .5rem; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  padding: .5rem .8rem;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .95);
  font-family: var(--sans);
  font-size: .84rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color .22s var(--ease), border-color .22s var(--ease),
    color .22s var(--ease);
}
.lang-toggle:hover { background: rgba(255, 255, 255, .2); border-color: #fff; }
.lang-toggle .ico { width: .95rem; height: .95rem; opacity: .8; }
html[data-lang="zh"] .lang-toggle__label { font-family: var(--sans); }

.site-header.is-scrolled .lang-toggle {
  border-color: var(--rule);
  background: var(--paper);
  color: var(--sage);
}
.site-header.is-scrolled .lang-toggle:hover {
  border-color: var(--sage);
  background: #fff;
}
.site-header .btn--quiet { color: rgba(255, 255, 255, .9); }
.site-header .btn--quiet:hover { background: rgba(255, 255, 255, .14); }
.site-header.is-scrolled .btn--quiet { color: var(--ink); }
.site-header.is-scrolled .btn--quiet:hover { background: rgba(74, 92, 66, .08); }

@media (max-width: 1080px) { .site-nav { display: none; } }

@media (max-width: 760px) {
  /* Phone is the priority action on mobile, so the number keeps the filled
     treatment and Book Online yields its slot (it is in four other places). */
  .site-header__cta .btn--primary { display: none; }

  .site-header .btn--quiet {
    padding: .62rem .9rem;
    font-size: .92rem;
    color: #fff;
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .42);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
  .site-header .btn--quiet:hover { background: rgba(255, 255, 255, .25); }
  .site-header.is-scrolled .btn--quiet {
    color: var(--cream);
    background: var(--sage);
    border-color: var(--sage);
  }
  .site-header.is-scrolled .btn--quiet:hover { background: #3d4d36; }

  .lang-toggle { padding: .5rem .62rem; }
  .lang-toggle .ico { display: none; }
  .brand__name { font-size: 1.28rem; }
}

@media (max-width: 560px) {
  .site-header .btn--quiet .ico { display: none; }
  .site-header .btn--quiet { padding: .62rem .8rem; font-size: .88rem; }
  .brand__name { font-size: 1.15rem; }
}

@media (max-width: 349.98px) {
  .brand__text { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: linear-gradient(160deg, var(--sage-deep), var(--sage-dark));
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: -9% 0;
  z-index: -3;
  will-change: transform;
}
.hero__media img,
.hero__media picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

/* Was two washes at .30 — warm gold plus a sage-green one. Both were tuned
   against a stock render with sage-green plaster walls. Over a photograph of
   the actual room, which is warm brown faux-stone under tungsten light, the
   green stop just dropped a swampy cast across the middle of the frame. Green
   is gone; the gold is down to a trace, enough to keep the layer worth
   parallaxing but not enough to relight the room. */
.hero__wash {
  position: absolute;
  inset: -20% -10%;
  z-index: -2;
  background: radial-gradient(58% 46% at 72% 34%, rgba(226, 192, 130, .12), transparent 68%);
  will-change: transform;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(18, 24, 16, .90) 0%, rgba(18, 24, 16, .55) 34%,
      rgba(18, 24, 16, .18) 62%, rgba(18, 24, 16, .42) 100%);
}

.hero__inner {
  padding-top: 9rem;
  padding-bottom: clamp(5rem, 11vh, 8rem);
  color: var(--cream);
  max-width: 1180px;
  will-change: transform, opacity;
}

.hero__eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, .72);
  margin: 0 0 1.1rem;
}

.hero__title { margin: 0 0 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.hero__brand {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 1.8rem + 7.4vw, 7.5rem);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.02em;
  color: #fff;
}
.hero__lede {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.05rem + 1.35vw, 2.15rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.25;
  color: rgba(250, 246, 238, .93);
  max-width: 20ch;
}

.hero__copy {
  max-width: 40ch;
  font-size: clamp(1rem, .95rem + .25vw, 1.12rem);
  color: rgba(250, 246, 238, .84);
  margin: 0 0 1.5rem;
}

.rating--hero { margin-bottom: 1.9rem; }

.hero .cta-row { margin-bottom: 1.4rem; }

.hero__hours {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .87rem;
  color: rgba(250, 246, 238, .78);
  margin: 0;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border: 1px solid rgba(250, 246, 238, .38);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 7px;
  z-index: 2;
}
.hero__scroll span {
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: rgba(250, 246, 238, .8);
  animation: scroll-hint 2.1s var(--ease) infinite;
}
@keyframes scroll-hint {
  0%, 18% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  70% { transform: translateY(13px); opacity: 0; }
  100% { transform: translateY(13px); opacity: 0; }
}
@media (max-width: 760px) { .hero__scroll { display: none; } }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1fr .84fr; }
}

.about__copy h2 { margin-bottom: .6em; }
.about__copy p { color: var(--ink-soft); max-width: 54ch; }

.facts {
  display: grid;
  gap: 0;
  margin: 2.25rem 0 0;
  border-top: 1px solid var(--rule);
}
.fact {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1.5rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--rule);
}
.fact dt {
  flex: none;
  width: 5.5rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-mid);
  padding-top: .22rem;
}
.fact dd { margin: 0; font-size: 1rem; color: var(--ink); }

.about__figure { margin: 0; }

.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: linear-gradient(150deg, var(--cream-alt), var(--sand));
}
.frame picture { display: block; width: 100%; height: 100%; }
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Headroom so the parallax shift never reveals an edge — but only on images
   that actually move. This used to be 1.14 on every framed photo, including
   tiles that never shift, and on the reception shot that 14% ate into the
   price board the photo exists to show.
   Keep in step with the [data-parallax] ranges in index.html: a range of N
   travels N/2 px each way, and the headroom available is
   (rendered height x (scale - 1)) / 2. The binding case is the narrowest
   desktop column (~900px viewport), not the widest. */
.frame img[data-parallax] {
  scale: 1.06;
  will-change: transform;
}
.frame--tall { aspect-ratio: 4 / 5; }
@media (max-width: 899px) { .frame--tall { aspect-ratio: 4 / 3; } }
.frame--wide { aspect-ratio: 4 / 3; }
.frame--portrait { aspect-ratio: 3 / 4; }

/* ---------- Services ---------- */
.menu-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 0 0 1.75rem;
  color: var(--sage);
}
.menu-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.menu-title + .menu-grid { margin-bottom: clamp(3rem, 6vw, 4.5rem); }

.menu-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  align-items: start;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 285px), 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease),
    transform .25s var(--ease);
}
.card:hover {
  border-color: var(--sage-soft);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.card__name {
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--sage);
  margin: 0 0 .85rem;
  line-height: 1.15;
}

.prices { list-style: none; margin: 0; padding: 0; }
.prices li {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  padding: .32rem 0;
  font-size: .95rem;
}
.prices__label { color: var(--ink-soft); }
.prices__dots {
  flex: 1 1 auto;
  min-width: 1rem;
  border-bottom: 1px dotted var(--sand);
  transform: translateY(-.24em);
}
.prices__amt {
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}

.card__note {
  margin: .9rem 0 0;
  padding-top: .8rem;
  border-top: 1px solid var(--rule);
  font-size: .85rem;
  line-height: 1.5;
  color: var(--ink-faint);
}
.menu-disclaimer,
.reviews__note {
  max-width: 62ch;
  margin: clamp(2rem, 4vw, 2.75rem) 0 0;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--ink-faint);
}
.reviews__note {
  margin-inline: auto;
  text-align: center;
  max-width: 58ch;
}
html[data-lang="zh"] .menu-disclaimer,
html[data-lang="zh"] .reviews__note { line-height: 1.9; }

.services__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

/* ---------- Parallax band ---------- */
.band {
  position: relative;
  min-height: clamp(320px, 52vh, 480px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--sage-deep);
  text-align: center;
}
.band__media {
  position: absolute;
  inset: -14% 0;
  z-index: -2;
  will-change: transform;
}
.band__media picture,
.band__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.band__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(24, 31, 21, .62), rgba(24, 31, 21, .72));
}
.band__quote {
  margin: 0;
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  color: var(--cream);
  will-change: transform;
}
.band__quote p {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 1.05rem + 2.4vw, 2.9rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.28;
  max-width: 22ch;
  margin: 0 auto .9rem;
  color: #fff;
  text-wrap: balance;
}
.band__quote cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, .74);
}

/* ---------- Reviews ---------- */
.review-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.review {
  position: relative;
  margin: 0;
  padding: 2.4rem 1.75rem 1.6rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.review:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.review__mark {
  position: absolute;
  top: .2rem;
  left: 1.4rem;
  font-family: var(--serif);
  font-size: 4.2rem;
  line-height: 1;
  color: var(--sage-soft);
  pointer-events: none;
}
.review blockquote { margin: 0 0 1.4rem; flex: 1; }
.review blockquote p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.review figcaption {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}
.review__stars { display: inline-flex; gap: 1px; }
.review__stars svg { width: 15px; height: 15px; fill: var(--gold); }
.review__name { font-size: .9rem; font-weight: 600; color: var(--ink); }
.review__translated {
  margin-left: auto;
  padding: .15rem .5rem;
  border-radius: 999px;
  background: rgba(90, 109, 78, .1);
  color: var(--sage-mid);
  font-size: .7rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Inside the spa (gallery) ---------- */
.gallery-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.gallery__item { margin: 0; }
.gallery__caption {
  margin-top: .8rem;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--ink-faint);
  text-align: center;
}
html[data-lang="zh"] .gallery__caption { line-height: 1.75; }

/* ---------- Video tile ---------- */
.gallery__video { background: #16130f; }
.gallery__vid {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* WCAG 2.2.2: motion that autoplays for more than five seconds needs a pause
   mechanism, and a loop is continuous motion. Hidden until main.js unhides it —
   with no JS the video has no source at all, so there is nothing to pause. */
.video-toggle {
  position: absolute;
  right: .55rem;
  bottom: .55rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .42rem .7rem;
  border: 1px solid rgba(250, 246, 238, .35);
  border-radius: 999px;
  background: rgba(18, 24, 16, .72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--cream);
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.video-toggle:hover { background: rgba(18, 24, 16, .88); border-color: rgba(250, 246, 238, .6); }
.video-toggle[hidden] { display: none; }
/* The sage focus ring has too little contrast against a dark video frame. */
.video-toggle:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
.video-toggle .ico { width: .9rem; height: .9rem; }

/* Exactly one state is in the DOM's visible flow at a time, so the button's
   accessible name is "Pause" or "Play" and never both. */
.video-toggle__state { display: none; align-items: center; gap: .35rem; }
.video-toggle__state[data-state="paused"] { display: inline-flex; }
.video-toggle.is-playing .video-toggle__state[data-state="paused"] { display: none; }
.video-toggle.is-playing .video-toggle__state[data-state="playing"] { display: inline-flex; }

/* ---------- Visit ---------- */
.visit__figure { margin: 0 0 .9rem; }
.visit__caption {
  margin-top: .7rem;
  font-size: .88rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.visit__caption strong { color: var(--sage); }
html[data-lang="zh"] .visit__caption { line-height: 1.8; }

.visit__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 900px) {
  .visit__grid { grid-template-columns: .92fr 1fr; }
}
.visit__info h2 { margin-bottom: .55em; }

.hours-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.hours-card__status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage);
}
.hours-card__status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage-mid);
  box-shadow: 0 0 0 3px rgba(109, 130, 96, .2);
}
.hours-card__status.is-closed { color: var(--ink-faint); }
.hours-card__status.is-closed .dot { background: var(--ink-faint); box-shadow: 0 0 0 3px rgba(125, 134, 116, .18); }

.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .48rem 0;
  font-size: .94rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule);
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list li.is-today {
  color: var(--ink);
  font-weight: 600;
}
/* Follows the visible day-name span, so it cannot use :first-child. */
.hours-list li.is-today [data-en]::after,
.hours-list li.is-today [data-zh]::after {
  display: inline-block;
  margin-left: .55rem;
  padding: .1rem .45rem;
  border-radius: 999px;
  background: rgba(109, 130, 96, .14);
  color: var(--sage);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  vertical-align: 1px;
}
html[data-lang="en"] .hours-list li.is-today [data-en]::after { content: "Today"; }
html[data-lang="zh"] .hours-list li.is-today [data-zh]::after { content: "今天"; letter-spacing: .04em; }

.visit__address { font-style: normal; margin-top: 1.5rem; display: grid; gap: .3rem; }
.visit__line {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .7rem .25rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: background-color .2s var(--ease);
}
.visit__line:hover { background: rgba(74, 92, 66, .06); }
.visit__line .ico { width: 1.15rem; height: 1.15rem; fill: var(--sage-mid); margin-top: .2rem; }
.visit__line span { display: flex; flex-direction: column; line-height: 1.4; }
.visit__line em {
  font-style: normal;
  font-size: .78rem;
  color: var(--sage-mid);
  font-weight: 600;
  letter-spacing: .04em;
}

.map-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-md);
  background: var(--cream-alt);
  margin-bottom: .9rem;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: saturate(.82); }
@media (max-width: 560px) { .map-frame { aspect-ratio: 1 / 1; } }

/* ---------- Closing ---------- */
.closing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .closing__grid { grid-template-columns: 1fr 1fr; }
}
.closing .frame { aspect-ratio: 5 / 4; margin: 0; }
.closing__copy h2 { margin-bottom: .4em; }
.closing__copy p { color: var(--ink-soft); max-width: 38ch; margin-bottom: 1.75rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--sage-dark);
  color: rgba(250, 246, 238, .8);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  font-size: .95rem;
}
.site-footer__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 680px) {
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.05fr; }
}

.site-footer__logo {
  width: 148px;
  height: 148px;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(.9);
  margin: -1rem 0 .5rem -.5rem;
}
.site-footer__tag { max-width: 26ch; margin: 0; color: rgba(250, 246, 238, .68); }

.site-footer__h {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, .55);
  margin: 0 0 1rem;
}
.site-footer address { font-style: normal; }
.site-footer p { margin: 0 0 .75rem; }
/* :not(.btn) so buttons keep their own --btn-fg */
.site-footer a:not(.btn) {
  color: rgba(250, 246, 238, .95);
  text-decoration: none;
  text-underline-offset: 3px;
}
.site-footer a:not(.btn):hover { text-decoration: underline; }

/* WCAG 1.4.1: links inside a run of body text need more than colour. */
.site-footer address a,
.site-footer__base a {
  text-decoration: underline;
  text-decoration-color: rgba(250, 246, 238, .45);
  font-weight: 600;
}
.site-footer address a:hover,
.site-footer__base a:hover { text-decoration-color: currentColor; }
.site-footer__link { font-weight: 600; }

.site-footer__nav { display: flex; flex-direction: column; gap: .45rem; margin-top: 1.1rem; }
.site-footer__nav a { color: rgba(250, 246, 238, .7); font-size: .9rem; }

.site-footer__col--cta { display: flex; flex-direction: column; gap: .6rem; align-items: stretch; }
.site-footer__col--cta .btn { width: 100%; }

.site-footer__base {
  border-top: 1px solid rgba(250, 246, 238, .13);
  padding-block: 1.4rem;
  padding-bottom: calc(1.4rem + env(safe-area-inset-bottom));
}
.site-footer__base p {
  margin: 0;
  font-size: .82rem;
  color: rgba(250, 246, 238, .55);
  text-align: center;
}

/* ---------- Doc page (legal.html) ---------- */
.doc-page { background: var(--cream); }
.doc { padding-block: clamp(7rem, 12vw, 9.5rem) clamp(4rem, 8vw, 6rem); }
.doc__inner { max-width: 46rem; }
.doc h1 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.1rem); margin-bottom: .4em; }
.doc h2 {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 1.95rem);
  margin: 2.75rem 0 .6em;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
  color: var(--sage);
}
.doc h3 { font-size: 1.2rem; margin: 1.75rem 0 .5em; color: var(--ink); }
.doc p { color: var(--ink-soft); }
.doc__lede { font-size: 1.1rem; color: var(--ink); }
.doc__list { margin: 0 0 1.1em; padding-left: 1.15rem; color: var(--ink-soft); }
.doc__list li { margin-bottom: .5rem; }
.doc code {
  font-size: .88em;
  padding: .1em .35em;
  border-radius: 3px;
  background: rgba(90, 109, 78, .1);
  color: var(--sage);
}
.doc a:not(.btn) { color: var(--sage); text-underline-offset: 3px; }
.doc__updated { margin-top: 2.5rem; font-size: .85rem; color: var(--ink-faint); }
.doc__back { margin-top: 2rem; }

/* ---------- Sticky mobile bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  gap: .5rem;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(250, 246, 238, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--rule);
  transform: translateY(110%);
  transition: transform .32s var(--ease);
}
.mobile-bar.is-visible { transform: translateY(0); }
.mobile-bar__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .85rem .5rem;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}
.mobile-bar__btn--call { background: var(--sage); color: var(--cream); }
.mobile-bar__btn--book { background: var(--paper); color: var(--sage); border-color: var(--rule); }

@media (max-width: 760px) {
  .mobile-bar { display: flex; }
  .site-footer__base { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
}

/* ---------- Motion ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.js .menu-grid .reveal:nth-child(2) { transition-delay: .05s; }
.js .menu-grid .reveal:nth-child(3) { transition-delay: .1s; }
.js .menu-grid .reveal:nth-child(4) { transition-delay: .15s; }
.js .review-grid .reveal:nth-child(2) { transition-delay: .08s; }
.js .review-grid .reveal:nth-child(3) { transition-delay: .16s; }
.js .gallery-grid .reveal:nth-child(2) { transition-delay: .08s; }
.js .gallery-grid .reveal:nth-child(3) { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero__media, .hero__wash, .hero__inner, .band__media, .band__quote, .frame img {
    transform: none !important;
    will-change: auto;
  }
  .frame img[data-parallax] { scale: 1; }
  .hero__scroll span { animation: none; opacity: .8; }
  /* The candle clip is NOT handled here. CSS cannot stop playback, so the
     reduced-motion guarantee for it is enforced in main.js, which never
     assigns the video a source and never calls play(). The visitor gets the
     poster plus a play button they can choose to press. */
}

@media (forced-colors: active) {
  .btn { border: 1px solid currentColor; }
}
