@font-face {
  font-family: "Noto Sans Thai";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/editable/fonts/iJWnBXeUZi_OHPqn4wq6hQ2_hbJ1xyN9wd43SofNWcd1MKVQt_So_9CdU5RtpzE.ttf")
    format("truetype");
}
@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/editable/fonts/1Ptyg83HX_SGhgqO0yLcmjzUAuWexZNRwaA.ttf)
    format("truetype");
}
@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/editable/fonts/1Ptyg83HX_SGhgqO0yLcmjzUAuWexaFRwaA.ttf)
    format("truetype");
}
@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/editable/fonts/1Ptyg83HX_SGhgqO0yLcmjzUAuWexU1WwaA.ttf)
    format("truetype");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/editable/fonts/playfair-display-600.woff2) format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/editable/fonts/playfair-display-700.woff2) format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/editable/fonts/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKdFvUDQ.ttf)
    format("truetype");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/editable/fonts/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKd3vUDQ.ttf)
    format("truetype");
}

:root {
  /* Keep template/token sizes consistent when inline editing changes the DOM.
     Safari's automatic text inflation must not independently enlarge view mode.
     This percentage does not disable the user's page/pinch zoom. */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* 456px is the measured width where the existing three-column content fits.
     Scale the complete mobile composition together; keep desktop at 16px. */
  font-size: clamp(10px, 3.50877193vw, 24px);
  --wine: var(--palette-1);
  --panel: var(--palette-1);
  --gold: var(--palette-3);
  --cream: var(--palette-2);
  --muted: var(--palette-4);
  --line: var(--palette-1);
  --nav: 4.5rem;

  /* Shared colours and translucent surfaces. Lower opacity = more see-through. */
  --border-subtle: color-mix(in srgb,var(--palette-1) 33%,transparent);
  --navigation-background: color-mix(in srgb,var(--palette-1) 97%,transparent);
  --navigation-active: color-mix(in srgb,var(--palette-4) 12%,transparent);
  --button-highlight: var(--palette-3);
  --button-dark-hover: var(--palette-1);
  --hero-overlay-start: color-mix(in srgb,var(--palette-1) 92%,transparent);
  --hero-overlay-middle: color-mix(in srgb,var(--palette-1) 53%,transparent);
  --hero-text: var(--palette-2);
  --story-overlay-start: color-mix(in srgb,var(--palette-1) 90%,transparent);
  --story-overlay-end: color-mix(in srgb,var(--palette-1) 33%,transparent);
  --text-on-cream-muted: var(--palette-1);
  --card-border: color-mix(in srgb,var(--palette-3) 20%,transparent);
  --dialog-backdrop: color-mix(in srgb,var(--palette-1) 80%,transparent);
  --button-outline-border: var(--palette-3);
  --photo-caption-shade: color-mix(in srgb,var(--palette-1) 67%,transparent);
  --gift-background: var(--palette-2);
  --button-shadow: color-mix(in srgb,var(--palette-1) 13%,transparent);
  --navigation-hover: color-mix(in srgb,var(--palette-3) 8%,transparent);

  /* Review photo controls: tune these here, not in the layout rules below.
     Lower overlay opacity reveals more of the photo.
     Zoom: 100% = frame width. With zoom > 100%, lower X moves the image right.
     X: 0% left edge / 100% right edge. Y: 0% top / 100% bottom. */
  --media-background-image: none;
  --review-overlay-opacity: 75%;
  --review-image-x: 30%;
  --review-image-y: 0%;
  --review-image-zoom: 170%;

  /* About page's separate image frame. */
  --review-side-image-x: 70%;
  --review-side-image-y: 15%;
  --review-side-image-sepia: 25%;
  --review-side-image-saturation: 65%;
  --review-side-image-brightness: 80%;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.25rem;
}
body {
  margin: 0;
  background: var(--wine);
  color: var(--cream);
  font:
    var(--text-s) / 1.55 var(--site-body-font, "Mulish", "Noto Sans Thai", sans-serif);
  padding-bottom: calc(var(--nav) + env(safe-area-inset-bottom));
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
:is(img, [data-image-slot]) {
  display: block;
  width: 100%;
  object-fit: cover;
}
:is(h1, [data-rich-template="h1"]),
:is(h2, [data-rich-template="h2"]),
:is(h3, [data-rich-template="h3"]) {
  font-family: var(--site-heading-font, "Playfair Display", "Noto Sans Thai", serif);
  font-weight: 400;
  line-height: 1.13;
  margin: 0;
  letter-spacing: -0.03125rem;
}
:is(h1, [data-rich-template="h1"]) {
  font-size: var(--text-xxl);
}
:is(h2, [data-rich-template="h2"]) {
  font-size: var(--text-l);
}
:is(h3, [data-rich-template="h3"]) {
  font-size: var(--text-m);
}
small {
  font-size: var(--text-xs);
}
:is(p, [data-rich-template="p"]) {
  margin: 0.75rem 0;
}
a:focus-visible,
button:focus-visible {
  outline: 0.1875rem solid var(--gold);
  outline-offset: 0.25rem;
}
.skip {
  position: fixed;
  top: -6.25rem;
  background: var(--cream);
  color: var(--wine);
  z-index: 99;
  padding: 0.75rem;
}
.skip:focus {
  top: 0;
}
svg {
  width: 1.5625rem;
  height: 1.5625rem;
  flex-shrink: 0;
}
.header {
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5625rem;
  color: var(--gold);
  font:
    var(--text-l) / 1 var(--site-heading-font, "Playfair Display", "Noto Sans Thai", serif);
}
.brand > :is(img, [data-image-slot]) {
  width: 2.6875rem;
  height: 2.6875rem;
  border-radius: 50%;
}
.brand small {
  display: block;
  font:
    var(--text-xs) / 1.8 var(--site-body-font, "Mulish", "Noto Sans Thai", sans-serif);
  letter-spacing: 0.04375rem;
}
.header-call {
  color: var(--gold);
  padding: 0.5rem;
}
.desktop-nav {
  display: none;
}
.bottom-nav {
  position: fixed;
  z-index: 20;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  height: calc(var(--nav) + env(safe-area-inset-bottom));
  padding: 0 0.5rem env(safe-area-inset-bottom);
  background: var(--navigation-background);
  border-top: 1px solid var(--line);
}
.bottom-nav a:has(span:empty),
.bottom-nav a:not(:has(span)) {
  display: none;
}
.bottom-nav a {
  width: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: var(--gold);
  font-size: var(--text-xs);
  margin: 0.3125rem 0;
  border-radius: 0.5625rem;
}
.bottom-nav [aria-current="page"] {
  background: var(--navigation-active);
}
.bottom-nav [aria-current="page"] svg {
  stroke-width: 2.2;
}
.bottom-nav [aria-current="page"] span {
  font-weight: 600;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9375rem;
  min-height: 2.75rem;
  padding: 0.625rem 1.25rem;
  border: 1px solid var(--gold);
  border-radius: var(--site-button-radius, 1.75rem);
  background: var(--gold);
  color: var(--wine);
  font-size: var(--text-s);
  font-weight: 600;
  line-height: 1.2;
}
.button:hover {
  background: var(--button-highlight);
}
.button-wine {
  background: var(--wine);
  color: var(--gold);
  border-color: var(--wine);
}
.button-wine:hover {
  background: var(--button-dark-hover);
}
.eyebrow {
  font-size: var(--text-xs);
  letter-spacing: 0.125rem;
  line-height: 1.4;
  color: var(--gold);
  margin: 0 0 0.625rem;
}
.centered {
  text-align: center;
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: 16.25rem;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero > :is(img, [data-image-slot]) {
  position: absolute;
  z-index: -2;
  inset: 0;
  height: 100%;
  object-position: center;
}
.hero:after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--hero-overlay-start) 0%,
    var(--hero-overlay-middle) 47%,
    transparent 80%
  );
}
.hero-content {
  padding: 1.5rem 1.25rem;
  max-width: 69%;
}
.hero-content :is(p, [data-rich-template="p"]):not(.eyebrow) {
  font-size: var(--text-xs);
  line-height: 1.45;
  max-width: 17.5rem;
  color: var(--hero-text);
}
.hero .button {
  padding: 0.625rem 1rem;
}
.home-hero {
  /* A minimum, not a fixed height: content can grow on short screens. */
  min-height: clamp(
    16rem,
    calc((100svh - 9rem - env(safe-area-inset-bottom)) * 0.5),
    20rem
  );
  border-radius: 0;
}
.home-hero .eyebrow {
  margin-bottom: 0.5625rem;
}
.home-hero :is(h1, [data-rich-template="h1"]) {
  font-size: var(--text-xxl);
}
.inner-hero {
  min-height: clamp(15.625rem, 34svh, 22.5rem);
}
.about-hero {
  min-height: clamp(16.875rem, 38svh, 26.25rem);
}
.about-hero :is(img, [data-image-slot]) {
  object-position: center 48%;
}
.about-hero:after {
  background: linear-gradient(
    90deg,
    var(--story-overlay-start),
    var(--story-overlay-end) 65%,
    transparent
  );
}
.section {
  padding: 1.625rem 1.25rem;
}
.cream {
  background: var(--cream);
  color: var(--wine);
}
.cream .eyebrow {
  color: var(--text-on-cream-muted);
}
.section-title {
  text-align: center;
  margin-bottom: 1.25rem;
}
.section-title .eyebrow {
  margin: 0.5625rem 0 0;
  font-size: var(--text-xs);
}
.welcome :is(h2, [data-rich-template="h2"]) {
  margin-bottom: 0.5625rem;
}
.welcome :is(p, [data-rich-template="p"]):last-child {
  margin-bottom: 0;
}
.welcome .eyebrow {
  font-size: var(--text-xs);
}
.treatment-cards {
  --card-gap: 0.5625rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--card-gap)) / 3);
  gap: var(--card-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.treatment-cards::-webkit-scrollbar {
  display: none;
}
.treatment-card:nth-child(3n + 1) {
  scroll-snap-align: start;
}
.review-slides {
  display: grid;
}
.review-slides figure {
  grid-area: 1 / 1;
}
.review-slides figure[data-active="false"] {
  visibility: hidden;
  pointer-events: none;
}
.treatment-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--card-border);
  border-radius: 0.4375rem;
  overflow: hidden;
}
.treatment-card > :is(img, [data-image-slot]) {
  flex-shrink: 0;
  aspect-ratio: 1.2;
}
.treatment-card > .service-summary-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.625rem 0.5rem;
}
.treatment-card :is(h3, [data-rich-template="h3"]) {
  font-size: var(--text-m);
  line-height: 1.2;
  min-height: 2.25rem;
  letter-spacing: -0.0125rem;
}
.treatment-card :is(p, [data-rich-template="p"]) {
  flex: 1;
  font-size: var(--text-xs);
  line-height: 1.45;
  min-height: 3.3rem;
  margin: 0.5625rem 0 0;
  color: var(--muted);
}
.treatment-card small {
  font-size: var(--text-xs);
  display: block;
  margin: 0.625rem 0;
}
.treatment-card .button {
  align-self: flex-start;
  font-size: var(--text-xs);
  min-height: 2.25rem;
  padding: 0.5rem 0.375rem;
  gap: 0.3125rem;
  width: 100%;
}
.all-link {
  display: block;
  text-align: right;
  font-size: var(--text-xs);
  color: var(--gold);
  margin-top: 0.9375rem;
  text-decoration: underline;
}
.story {
  display: grid;
  grid-template-columns: 43% 57%;
  border-top: 1px solid var(--line);
}
.story > :is(img, [data-image-slot]) {
  height: 100%;
  min-height: 13.125rem;
}
.story > div {
  padding: 1.375rem 1rem;
}
.story :is(h2, [data-rich-template="h2"]) {
  font-size: var(--text-l);
}
.story :is(p, [data-rich-template="p"]):not(.eyebrow) {
  font-size: var(--text-xs);
  line-height: 1.5;
}
.story .eyebrow {
  font-size: var(--text-xs);
}
.story .button {
  font-size: var(--text-s);
  padding: 0.5625rem 1rem;
  min-height: 2.375rem;
}
.gift {
  display: grid;
  grid-template-columns: 57% 43%;
  position: relative;
  overflow: hidden;
}
.gift > div {
  padding: 1.5625rem 1.25rem;
}
.gift > :is(img, [data-image-slot]) {
  height: 100%;
  min-height: 15rem;
  object-position: 76% center;
}
.gift :is(h2, [data-rich-template="h2"]) {
  font-size: var(--text-l);
}
.gift :is(p, [data-rich-template="p"]):not(.eyebrow) {
  font-size: var(--text-xs);
}
.gift .button {
  font-size: var(--text-xs);
  padding: 0.625rem 0.8125rem;
  gap: 0.5rem;
}
.reviews {
  text-align: center;
  border-block: 1px solid var(--line);
  padding-block: 1.625rem;
}
.reviews :is(h2, [data-rich-template="h2"]) {
  font-size: var(--text-l);
}
.review-carousel {
  display: grid;
  grid-template-columns: 1.75rem 1fr 1.75rem;
  align-items: center;
  gap: 0.3125rem;
  margin-top: 0.75rem;
}
.review-carousel button {
  border: 0;
  background: none;
  color: var(--gold);
  font:
    var(--text-xl) / 1 Georgia,
    serif;
  min-height: 2.75rem;
  width: 1.75rem;
  padding: 0;
}
.review-slides figure {
  margin: 0;
}
.review-slides :is(blockquote, [data-rich-template="blockquote"]) {
  margin: 0;
  font-size: var(--text-s);
  line-height: 1.55;
}
.review-slides :is(figcaption, [data-rich-template="figcaption"]) {
  font-size: var(--text-xs);
  color: var(--gold);
  margin-top: 0.625rem;
}
.gallery .section-title {
  margin-bottom: 1rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4375rem;
}
.gallery-grid button {
  border: 0;
  padding: 0;
  background: none;
  border-radius: 0.3125rem;
  overflow: hidden;
}
.gallery-grid :is(img, [data-image-slot]) {
  aspect-ratio: 1;
  height: auto;
}
.gallery-grid.large {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.gallery-grid.large button {
  grid-column: span 2;
}
.gallery-grid.large button:nth-child(-n + 2) {
  grid-column: span 3;
}
.gallery-grid.large :is(img, [data-image-slot]) {
  height: 10.625rem;
}
.gallery-grid.large button:nth-child(-n + 2) :is(img, [data-image-slot]) {
  height: 10.625rem;
}
.gallery-open {
  display: flex;
  margin: 1rem auto 0;
  font-size: var(--text-xs);
  min-height: 2.25rem;
  padding: 0.5rem 1.125rem;
}
.visit-items {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0.75rem;
}
.visit-items a {
  display: flex;
  gap: 0.4375rem;
  align-items: start;
  font-size: var(--text-xs);
}
.visit-items svg {
  width: 1.1875rem;
  color: var(--gold);
}
footer {
  padding: 1.125rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
  font-size: var(--text-s);
  text-align: center;
  color: var(--muted);
}
footer a {
  text-decoration: underline;
}
footer :is(p, [data-rich-template="p"]) {
  font-size: var(--text-xs);
  max-width: 34.375rem;
  margin: 0.5rem auto 0;
}
.treatments {
  padding: 1.125rem 0.75rem;
}
.service-row {
  display: grid;
  grid-template-columns: 30% 1fr 25%;
  gap: 0.625rem;
  background: var(--panel);
  padding: 0.625rem;
  border: 1px solid var(--border-subtle);
  border-radius: 0.375rem;
  margin: 0 0 0.5625rem;
}
.service-row > :is(img, [data-image-slot], .service-detail-media) {
  height: 100%;
  min-height: 7.5rem;
  max-height: 11.875rem;
  border-radius: 0.25rem;
}
.service-row :is(h2, [data-rich-template="h2"]) {
  font-size: var(--text-m);
  line-height: 1.15;
  letter-spacing: -0.01875rem;
}
.service-row :is(p, [data-rich-template="p"]) {
  font-size: var(--text-xs);
  line-height: 1.45;
  margin: 0.5rem 0;
}
.service-copy > a {
  font-size: var(--text-xs);
  color: var(--gold);
}
.prices {
  border-left: 1px solid var(--line);
  padding-left: 0.5625rem;
  align-self: center;
}
.prices > div {
  display: flex;
  justify-content: space-between;
  gap: 0.25rem;
  font-size: var(--text-xs);
  line-height: 2;
  color: var(--gold);
  white-space: nowrap;
}
.final-book {
  text-align: center;
  padding-top: 1.25rem;
}
.final-book .button {
  min-width: 75%;
}
.journey :is(h2, [data-rich-template="h2"]) {
  margin-bottom: 0.9375rem;
}
.focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8125rem;
  font-size: var(--text-s);
  color: var(--muted);
}
.callout {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.callout :is(h2, [data-rich-template="h2"]) {
  font-size: var(--text-m);
}
.callout :is(p, [data-rich-template="p"]) {
  font-size: var(--text-s);
  margin: 0.5rem 0;
}
.callout .button {
  flex-shrink: 0;
}
.contact :is(h2, [data-rich-template="h2"]) {
  font-size: var(--text-l);
}
.contact .eyebrow {
  margin: 0.5625rem 0 1.25rem;
}
.contact-details {
  display: grid;
  gap: 1rem;
}
.contact-details > a,
.contact-details > div {
  display: flex;
  gap: 0.8125rem;
  align-items: center;
  font-size: var(--text-s);
}
.contact-details svg {
  background: var(--wine);
  color: var(--gold);
  border-radius: 50%;
  width: 2.4375rem;
  height: 2.4375rem;
  padding: 0.5625rem;
}
.contact-details small {
  display: block;
  letter-spacing: 0.125rem;
  font-size: var(--text-xs);
  margin-bottom: 0.1875rem;
}
.contact-actions {
  display: flex;
  gap: 0.5rem;
  margin: 1.25rem 0 1rem;
}
.contact-actions .button {
  padding: 0.625rem 0.6875rem;
  font-size: var(--text-xs);
  flex: 1;
  gap: 0.3125rem;
}
.contact iframe {
  width: 100%;
  height: 12.5rem;
  min-height: 200px;
  border: 0;
  border-radius: 0.3125rem;
}
.directions {
  display: flex;
  gap: 0.9375rem;
  align-items: center;
  margin-top: 0.875rem;
}
.directions small {
  display: block;
  font-size: var(--text-xs);
}
.directions > span:last-child {
  margin-left: auto;
}
.photo-dialog {
  border: 1px solid var(--gold);
  background: var(--wine);
  color: var(--cream);
  padding: 1rem;
  max-width: min(95vw, 56.25rem);
  max-height: 90svh;
}
.photo-dialog::backdrop {
  background: var(--dialog-backdrop);
}
.photo-dialog > :is(img, [data-image-slot]) {
  max-height: 65svh;
  object-fit: contain;
}
.photo-dialog button {
  background: none;
  border: 1px solid var(--line);
  color: var(--gold);
  min-width: 2.75rem;
  min-height: 2.75rem;
  font-size: var(--text-m);
}
.close-dialog {
  display: block;
  margin: 0 0 0.75rem auto;
}
.photo-dialog > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.875rem;
}
@media (min-width: 1024px) {
  html {
    font-size: 16px;
  }
  body {
    padding-bottom: 0;
  }
  .header {
    height: 5.75rem;
    padding-inline: max(5vw, 1.5rem);
  }
  .brand {
    font-size: var(--text-l);
  }
  .brand > :is(img, [data-image-slot]) {
    width: 3.25rem;
    height: 3.25rem;
  }
  .brand small {
    font-size: var(--text-xs);
  }
  .desktop-nav {
    display: flex;
    gap: 1.75rem;
    align-items: center;
    color: var(--gold);
  }
  .desktop-nav svg {
    display: none;
  }
  .desktop-nav [aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 0.5rem;
  }
  .desktop-nav .nav-book {
    background: var(--gold);
    color: var(--wine);
    padding: 0.5625rem 1.125rem;
    border-radius: var(--site-button-radius, 1.5625rem);
  }
  .header-call,
  .bottom-nav {
    display: none;
  }
  main {
    max-width: 75rem;
    margin: auto;
  }
  .hero {
    min-height: 27.5rem;
    height: auto;
    max-height: none;
  }
  .home-hero {
    min-height: 31.875rem;
  }
  .hero-content {
    padding: 3.125rem 3.4375rem;
    max-width: 58%;
  }
  .hero :is(h1, [data-rich-template="h1"]),
  .home-hero :is(h1, [data-rich-template="h1"]) {
    font-size: var(--text-xxl);
  }
  .hero-content :is(p, [data-rich-template="p"]):not(.eyebrow) {
    max-width: 21.875rem;
  }
  .hero > :is(img, [data-image-slot]) {
    object-position: center;
  }
  .hero .button {
    font-size: var(--text-s);
    padding: 0.8125rem 1.5625rem;
  }
  .section {
    padding: 2.5rem 2.8125rem;
  }
  .section-title :is(h2, [data-rich-template="h2"]),
  :is(h2, [data-rich-template="h2"]) {
    font-size: var(--text-l);
  }
  .welcome {
    padding-right: 30%;
  }
  .treatment-cards {
    --card-gap: 1.375rem;
  }
  .treatment-card > :is(img, [data-image-slot]) {
    aspect-ratio: 1.7;
  }
  .treatment-card > .service-summary-content {
    padding: 1.25rem;
  }
  .treatment-card :is(h3, [data-rich-template="h3"]) {
    min-height: 3.5rem;
  }
  .treatment-card :is(p, [data-rich-template="p"]) {
    min-height: 3rem;
  }
  .treatment-card .button {
    width: auto;
    padding: 0.625rem 1.375rem;
  }
  .story > div {
    padding: 2.5rem;
  }
  .story > :is(img, [data-image-slot]) {
    max-height: 20.625rem;
  }
  .gift > div {
    padding: 2.8125rem;
  }
  .gift > :is(img, [data-image-slot]) {
    max-height: 21.25rem;
  }
  .reviews {
    padding-inline: 15%;
  }
  .gallery-grid :is(img, [data-image-slot]) {
    height: 13.75rem;
  }
  .gallery-grid.large {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-grid.large button:first-child {
    grid-column: auto;
  }
  .gallery-grid.large :is(img, [data-image-slot]),
  .gallery-grid.large button:first-child :is(img, [data-image-slot]) {
    height: 15.625rem;
  }
  .visit-items a {
    align-items: center;
  }
  .treatments {
    padding: 1.75rem 2.1875rem;
  }
  .service-row {
    grid-template-columns: 25% 1fr 23%;
    padding: 1rem;
    gap: 1.5625rem;
    margin-bottom: 0.9375rem;
  }
  .service-row > :is(img, [data-image-slot], .service-detail-media) {
    height: 10.9375rem;
  }
  .journey {
    padding-right: 24%;
  }
  .contact {
    padding: 2.5rem 4.375rem;
  }
  .contact-details {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1.5625rem;
  }
  .contact-actions {
    max-width: 34.375rem;
  }
  .contact iframe {
    height: 21.25rem;
  }
  .callout {
    justify-content: space-between;
  }
}

/* Reference details share the same scale as the page geometry. */
[hidden] {
  display: none !important;
}
.arrow-right,
.action-icon {
  width: 1rem;
  height: 1rem;
}
.button {
  white-space: nowrap;
}
.button-outline {
  background: transparent;
  color: var(--wine);
  border-color: var(--button-outline-border);
}
.home-hero {
  background: var(--wine);
}
.page-home main {
  background: var(--cream);
}
.page-home main > section:not(.cream) {
  background-color: var(--wine);
}
.home-hero .eyebrow {
  margin: 0.5rem 0 0.375rem;
}
.home-hero .hero-content :is(p, [data-rich-template="p"]):not(.eyebrow) {
  margin: 0.4rem 0 0.65rem;
  font-size: var(--text-xs);
}
.home-hero .button {
  min-height: 2rem;
  padding: 0.4rem 0.9rem;
  font-size: var(--text-s);
}
.ornament {
  position: relative;
}
.ornament::after {
  display:var(--site-ornament-display,block);
  content: "";
  position: absolute;
  pointer-events: none;
  right: 0.6rem;
  top: 0.6rem;
  width: 5.5rem;
  height: 9rem;
  opacity: 0.48;
  background: var(--site-ornament-image, url("/editable/ornaments/lotus.svg")) center / contain no-repeat;
}
.welcome :is(p, [data-rich-template="p"]):last-child {
  max-width: 42rem;
  font-size: var(--text-s);
  line-height: 1.45;
}
.welcome :is(h2, [data-rich-template="h2"]) {
  white-space: nowrap;
  font-size: var(--text-l);
}
.welcome .eyebrow {
  white-space: nowrap;
}
.treatment-card .button {
  min-height: 1.65rem;
  padding: 0.3rem 0.375rem;
}
.treatment-card .arrow-right {
  width: 0.8rem;
  height: 0.8rem;
}
.treatment-pagination {
  display: flex;
  justify-content: center;
  margin: 0.4rem 0 0;
}
.treatment-pagination button {
  background: transparent;
  border: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  padding: 0;
}
.treatment-pagination span {
  width: 0.375rem;
  height: 0.375rem;
  background: var(--gold);
  opacity: 0.25;
  border-radius: 50%;
}
.treatment-pagination [aria-pressed="true"] span {
  opacity: 1;
}
.popular .all-link {
  margin-top: -1.4rem;
  position: relative;
  width: max-content;
  margin-left: auto;
  font-size: var(--text-xs);
}
.all-link .arrow-right {
  vertical-align: middle;
  margin-left: 0.5rem;
}
.page-home .story :is(h2, [data-rich-template="h2"]) {
  font-size: var(--text-l);
}
.page-home .gift {
  grid-template-columns: 62% 38%;
}
.page-home .gift > div {
  padding: 1.3rem 1.25rem;
}
.page-home .gift :is(h2, [data-rich-template="h2"]) {
  font-size: var(--text-l);
  white-space: nowrap;
}
.page-home .gift > :is(img, [data-image-slot]) {
  min-height: 10rem;
}
.page-home .gift .eyebrow {
  font-size: var(--text-xs);
}
.page-home .reviews :is(h2, [data-rich-template="h2"]).eyebrow {
  font-family: var(--site-body-font, "Mulish", "Noto Sans Thai", sans-serif);
  font-size: var(--text-xs);
}
.reviews {
  position: relative;
}
.page-home .review-slides,
.page-treatments .review-slides {
  max-width: 18rem;
  margin-inline: auto;
}
.reviews::before {
  display:var(--site-ornament-display,block);
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0;
  width: 5rem;
  height: 100%;
  background: var(--site-ornament-image, url("/editable/ornaments/lotus.svg")) center / contain no-repeat;
  opacity: 0.2;
  pointer-events: none;
}
.gallery-grid button {
  position: relative;
}
.gallery-grid button > span:not([data-image-slot]) {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: left;
  padding: 0.5rem;
  font-size: var(--text-xs);
  color: var(--palette-2);
  background: linear-gradient(transparent, var(--photo-caption-shade));
}
.gallery .section-title .eyebrow {
  font-size: var(--text-xs);
}
.journey :is(p, [data-rich-template="p"]) {
  max-width: 42rem;
  font-size: var(--text-s);
}
.journey :is(h2, [data-rich-template="h2"]) {
  white-space: nowrap;
}
.reviews-split {
  display: grid;
  grid-template-columns: 32% 68%;
  padding: 0;
}
.review-image {
  height: 100%;
  min-height: 12rem;
}
.reviews-split > div {
  padding: 1rem 0.5rem;
}
.reviews-split :is(h2, [data-rich-template="h2"]) {
  font-size: var(--text-l);
}
.reviews-split :is(blockquote, [data-rich-template="blockquote"]) {
  font-size: var(--text-s);
}
.page-contact .hero-content {
  max-width: 74%;
}
.contact-actions .action-icon {
  display: block;
}
.callout::after {
  left: 0;
  right: auto;
  width: 3rem;
}
@media (min-width: 1024px) {
  .welcome :is(p, [data-rich-template="p"]):last-child,
  .journey :is(p, [data-rich-template="p"]) {
    font-size: var(--text-s);
  }
  .ornament::after {
  display:var(--site-ornament-display,block);
    width: 8rem;
    height: 12rem;
  }
  .treatment-card .button {
    min-height: 2.5rem;
  }
  .gallery-grid.large {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .gallery-grid.large button:first-child {
    grid-column: span 3;
  }
  .gallery-grid.large button:nth-child(-n + 2) :is(img, [data-image-slot]) {
    height: 15.625rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (hover: hover) and (pointer: fine) {
  .treatment-cards {
    cursor: grab;
    user-select: none;
  }
  .treatment-cards a,
  .treatment-cards button {
    cursor: pointer;
  }
}
.treatment-cards.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

/* Preserve the complete gift composition rather than cropping a narrow image column. */
.gift > div {
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, var(--gift-background) 72%, transparent);
}
.gift > :is(img, [data-image-slot]) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  object-position: center;
}
.page-home .gift > :is(img, [data-image-slot]) {
  min-height: 0;
}
@media (min-width: 1024px) {
  .gift > :is(img, [data-image-slot]) {
    object-fit: contain;
    object-position: right center;
    background: var(--gift-background);
  }
}

/* Quiet entrance, immediate feedback. Content never waits for motion. */
:root {
  --motion-ease: cubic-bezier(.16, 1, .3, 1);
}
.button,
.bottom-nav a,
.desktop-nav a,
.contact-actions a,
.review-carousel button,
.photo-dialog button,
.gallery-grid button {
  transition:
    transform 160ms var(--motion-ease),
    background-color 180ms ease,
    box-shadow 180ms ease;
}
.button:active,
.contact-actions a:active,
.bottom-nav a:active,
.review-carousel button:active,
.photo-dialog button:active {
  transform: scale(0.97);
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.cream a:focus-visible,
.cream button:focus-visible {
  outline-color: var(--wine);
}
.button .arrow-right {
  transition: transform 180ms var(--motion-ease);
}
.treatment-pagination span {
  transition:
    opacity 180ms ease,
    transform 180ms var(--motion-ease);
}
.treatment-pagination [aria-pressed="true"] span {
  transform: scale(1.2);
}
@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .contact-actions a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px var(--button-shadow);
  }
  .button:hover .arrow-right {
    transform: translateX(3px);
  }
  .desktop-nav a:hover,
  .bottom-nav a:hover {
    background-color: var(--navigation-hover);
  }
  .gallery-grid button:hover {
    transform: translateY(-2px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  /* Hero plays once on load, CSS-only: the image is visible from frame one
     (opacity never touched, so there is no LCP cost) and settles scale/
     brightness while logo, heading, copy and location/actions fade up in a
     short stagger behind it. Covers every hero composition that has an
     image, including `centered`, which used to opt out entirely.
     `data-hero-motion` (Sections.jsx, set at most once, imperatively, the
     first time this leaves edit mode) gates all of it: a bare live media
     query here would re-match, and restart these keyframes on already-shown
     content, if the visitor flips prefers-reduced-motion from reduce to
     no-preference mid-browse after loading with it off. */
  :is([data-hero-motion],html[data-ssr-hero-motion] [data-ssr-visitor]) .hero > :is(img, [data-image-slot]),
  :is([data-hero-motion],html[data-ssr-hero-motion] [data-ssr-visitor]) .sabai-hero .sabai-hero-photo,
  :is([data-hero-motion],html[data-ssr-hero-motion] [data-ssr-visitor])[data-immersive-cover] [data-section-frame][data-background-mode] > section.home-hero > [data-image-slot] {
    animation: hero-photo-arrive 1200ms var(--motion-ease) both;
  }
  :is([data-hero-motion],html[data-ssr-hero-motion] [data-ssr-visitor]).website-presentation[data-hero-first] > .header .brand,
  :is([data-hero-motion],html[data-ssr-hero-motion] [data-ssr-visitor]).hero-layout-page[data-hero-first] > .header .brand,
  :is([data-hero-motion],html[data-ssr-hero-motion] [data-ssr-visitor]) .sabai-hero-brand,
  :is([data-hero-motion],html[data-ssr-hero-motion] [data-ssr-visitor]) .sabai-hero-brand-name {
    animation: hero-fade-up 500ms var(--motion-ease) both;
  }
  :is([data-hero-motion],html[data-ssr-hero-motion] [data-ssr-visitor]) .hero-content > .rich-text-group :is(h1, [data-rich-template="h1"]),
  :is([data-hero-motion],html[data-ssr-hero-motion] [data-ssr-visitor]) .sabai-hero-copy :is(h1, [data-rich-template="h1"]) {
    animation: hero-fade-up 500ms var(--motion-ease) both;
    animation-delay: 80ms;
  }
  :is([data-hero-motion],html[data-ssr-hero-motion] [data-ssr-visitor]) .hero-content > .rich-text-group :is(p, [data-rich-template="p"]):not(.eyebrow),
  :is([data-hero-motion],html[data-ssr-hero-motion] [data-ssr-visitor]) .sabai-hero-copy :is(p, [data-rich-template="p"]):not(.eyebrow) {
    animation: hero-fade-up 500ms var(--motion-ease) both;
    animation-delay: 160ms;
  }
  :is([data-hero-motion],html[data-ssr-hero-motion] [data-ssr-visitor]) .hero-content > :is(a.button, .section-actions),
  :is([data-hero-motion],html[data-ssr-hero-motion] [data-ssr-visitor]) .sabai-hero-location {
    animation: hero-fade-up 500ms var(--motion-ease) both;
    animation-delay: 240ms;
  }
  .photo-dialog[open] {
    animation: photo-open 220ms var(--motion-ease) both;
  }
  .photo-dialog[open]::backdrop {
    animation: backdrop-open 180ms ease-out both;
  }
}
@keyframes hero-photo-arrive {
  from {
    transform: scale(1.04);
    filter: brightness(0.85);
  }
  to {
    transform: scale(1);
    filter: brightness(1);
  }
}
@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes photo-open {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes backdrop-open {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    filter: none !important;
  }
}

.desktop-footer {
  display: grid;
  gap: 12px;
  margin: 0 auto;
  padding: 20px 18px;
  border-top: 1px solid var(--line);
  font-size: max(12px, var(--text-s));
  color: var(--muted);
  overflow-wrap: anywhere;
  text-align: left;
  align-items: start;
}
.desktop-footer a { text-decoration: none; }
.desktop-footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.footer-brand {
  font: var(--text-l) / 1.2 var(--site-heading-font, "Playfair Display", "Noto Sans Thai", serif);
  color: var(--gold);
}
.desktop-footer :is(p, [data-rich-template="p"]) {
  margin-top: 8px;
}
.desktop-footer address {
  font-style: normal;
}
.desktop-footer address a {
  display: block;
  padding-block: 6px;
  min-height: 32px;
  margin-bottom: 0;
}
.footer-links {
  display: none;
  flex-wrap: wrap;
  gap: 12px 20px;
}
@media (min-width: 1024px) {
  .header {
    height: 88px;
    padding-inline: max(32px, calc((100vw - 1200px) / 2));
    gap: 32px;
  }
  .header .brand {
    flex-shrink: 0;
    font-size: var(--text-l);
    white-space: nowrap;
  }
  .header .brand > :is(img, [data-image-slot]) {
    width: 48px;
    height: 48px;
  }
  .header .brand small {
    font-size: var(--text-xs);
    letter-spacing: 0.6px;
  }
  .desktop-nav {
    gap: clamp(20px, 2.3vw, 36px);
    font-size: var(--text-s);
    white-space: nowrap;
  }
  .desktop-nav .nav-book {
    padding: 10px 24px;
  }
  .desktop-footer {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 32px;
    border-top: 1px solid var(--line);
    font-size: var(--text-s);
    color: var(--muted);
  }
  .footer-brand {
    font:
      var(--text-l) / 1.2 var(--site-heading-font, "Playfair Display", "Noto Sans Thai", serif);
    color: var(--gold);
  }
  .desktop-footer :is(p, [data-rich-template="p"]) {
    margin-top: 8px;
  }
  .desktop-footer address {
    font-style: normal;
  }
  .desktop-footer address a {
    display: block;
    margin-bottom: 10px;
  }
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    align-content: start;
    gap: 12px 20px;
  }
  .footer-links a:last-child {
    flex-basis: 100%;
    color: var(--gold);
  }
  .desktop-footer a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

/* Editable local image with a shared contrast overlay. */
.reviews:not(.reviews-split) {
  background:
    linear-gradient(
      color-mix(in srgb,var(--palette-1) var(--review-overlay-opacity),transparent),
      color-mix(in srgb,var(--palette-1) var(--review-overlay-opacity),transparent)
    ),
    var(--media-background-image) var(--media-background-position, center) /
      cover no-repeat;
  background-size: auto, var(--media-background-size, cover);
  --media-min-width: var(--review-image-zoom);
}
.reviews::before {
  display:var(--site-ornament-display,block);
  display: none;
}
.reviews-split .review-image {
  width: 100%;
  min-width: 0;
  object-fit: cover;
  object-position: var(--review-side-image-x) var(--review-side-image-y);
  filter: sepia(var(--review-side-image-sepia))
    saturate(var(--review-side-image-saturation))
    brightness(var(--review-side-image-brightness));
}

/* Bounded owner content can grow without clipping. */
:is(h1, [data-rich-template="h1"]),
:is(h2, [data-rich-template="h2"]),
:is(h3, [data-rich-template="h3"]),
:is(p, [data-rich-template="p"]),
:is(blockquote, [data-rich-template="blockquote"]),
.brand span {
  overflow-wrap: anywhere;
}
.hero-content {
  min-width: 0;
}
.hero-editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero.hero-editorial-split > :is(img, [data-image-slot]) {
  position: relative;
  height: 100%;
  grid-column: 2;
  grid-row: 1;
}
.hero.hero-editorial-split .hero-content {
  grid-column: 1;
  grid-row: 1;
  width: auto;
}
.hero.hero-editorial-split::after {
  display: none;
}
/* Text slots remain readable when the owner changes their length. */
.header {
  height: auto;
  min-height: 4.5rem;
}
.brand {
  min-width: 0;
}
.brand > :is(img, [data-image-slot]),
.header-call {
  flex-shrink: 0;
}
.hero-content,
.story > div,
.gift > div,
.visit-items > * {
  min-width: 0;
}
.button {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.button svg {
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .header {
    min-height: 5rem;
  }
}

.editor-canvas *,
.editor-canvas *::before,
.editor-canvas *::after {
  animation: none !important;
}

.page-home section[data-site-section]:not(.cream, .sabai-hero) {
  background-color: var(--wine);
}
.button,
.welcome :is(h2, [data-rich-template="h2"]),
.welcome .eyebrow,
.page-home .gift :is(h2, [data-rich-template="h2"]) {
  white-space: normal;
}
.hero-editorial-split .hero-content {
  max-width: none;
}
@media (min-width: 1024px) {
  .header .brand {
    white-space: normal;
    max-width: 40%;
    flex-shrink: 1;
  }
  .desktop-nav {
    white-space: normal;
    flex-wrap: wrap;
  }
  .gift > :is(img, [data-image-slot]) {
    object-fit: cover;
  }
}

.carousel-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  margin-top: 0.4rem;
  gap: 0.5rem;
}
.carousel-footer .treatment-pagination {
  grid-column: 2;
  margin: 0;
}
.popular .carousel-footer .all-link {
  grid-column: 3;
  justify-self: end;
  margin: 0;
  width: auto;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: right;
}


/* Layout belongs to the slot; pixels are positioned by the shared crop model. */
[data-image-slot] {
  display: block;
  position: relative;
  isolation: isolate;
  aspect-ratio: var(--media-natural-ratio, 1);
}
[data-image-slot] > [data-slot-pixels] {
  aspect-ratio: auto;
}

/* Editable service collection shares the existing card design. */
.editor-canvas
  [data-content-field][contenteditable][data-empty="true"]::before {
  content: attr(data-placeholder);
  opacity: 0.55;
  pointer-events: none;
}
.service-image-empty {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb,var(--palette-2) 8%,transparent);
  color: inherit;
  font-size: var(--text-xs);
}
.service-empty {
  min-height: 110px;
  align-items: center;
  justify-content: center;
  opacity: 0.65;
}
/* Partial final groups must still allow the last service to stay in view. */
.treatment-card {
  scroll-snap-align: start;
}

/* Both modes of the owner workspace are immediately readable. Public pages
   retain their reveal effects; stale observer attributes cannot hide canvas text. */
.editor-workspace *,
.editor-workspace *::before,
.editor-workspace *::after {
  animation: none !important;
  transition: none !important;
}
.editor-workspace [data-scroll-reveal][data-reveal="pending"],
.editor-workspace [data-scroll-reveal][data-reveal="pending"] > * {
  opacity: 1 !important;
}

.collection-empty {
  min-height: 44px;
  min-width: 120px;
  padding: 12px;
  color: inherit;
  border: 1px dashed currentColor;
  background: transparent;
  font: inherit;
}
.gallery-grid .collection-image-empty {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 100px;
  font-size: var(--text-xs);
  background: transparent;
  color: inherit;
}

.editable-map {
  width: 100%;
  position: relative;
}
.editable-map iframe {
  display: block;
  width: 100%;
}
.editor-canvas .editable-map {
  cursor: pointer;
}

.service-row {
  position: relative;
}
.service-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
}

/* Preserve the page layout while the keyboard owns the lower screen. */
.editor-workspace[data-keyboard-nav-hidden="true"] .bottom-nav {
  visibility: hidden;
  pointer-events: none;
}

/* Rich slots retain the template's typography until an owner chooses a preset. */
.rich-text-slot {
  display: inline;
  white-space: pre-wrap;
  outline: none;
  overflow-wrap: anywhere;
}
.rich-text-slot [data-rich-paragraph]:not([data-rich-template]) {
  display: block;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  line-height: inherit;
}
.rich-text-slot
  > [data-rich-paragraph]:only-child:not([style]):not([data-rich-template]) {
  display: inline;
}
.rich-text-slot:has(> [data-rich-paragraph][style]),
.rich-text-slot:has(> [data-rich-paragraph] + [data-rich-paragraph]),
.rich-text-slot:has(> [data-rich-list]) {
  display: block;
}
.rich-text-slot [data-rich-list] {
  display: block;
  padding-inline-start: 1.4em;
  margin: 0.2em 0;
}
.rich-text-slot [data-rich-list-item] {
  display: list-item;
  list-style-type: disc;
}
.rich-text-slot [data-rich-list="ordered"] > [data-rich-list-item] {
  list-style-type: none;
  position: relative;
  counter-increment: rich-item;
}
.rich-text-slot [data-rich-list="ordered"] > [data-rich-list-item]::before {
  content: counter(rich-item) ". ";
  position: absolute;
  inset-inline-end: calc(100% + 0.3em);
}
.rich-text-slot [data-rich-list-item] > [data-rich-paragraph] {
  display: block;
}
.rich-text-slot strong {
  font-weight: 700;
}
.rich-text-slot em {
  font-style: italic;
}
.rich-text-slot[data-empty="true"] {
  position: relative;
}
.rich-text-slot[data-empty="true"]::before {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  white-space: nowrap;
}
.rich-text-slot[data-empty="true"] > [data-rich-paragraph] {
  display: block;
}

/* Merged copy keeps the same token-based template rules within one caret surface. */
.rich-text-slot[data-rich-group] {
  display: block;
}
.rich-text-slot [data-rich-template] {
  display: block;
  white-space: pre-wrap;
}
.rich-text-slot [data-rich-template="p"] {
  font-family: var(--site-body-font, "Mulish", "Noto Sans Thai", sans-serif);
  letter-spacing: normal;
}
.rich-text-slot [data-rich-template="eyebrow"] {
  font-family: var(--site-body-font, "Mulish", "Noto Sans Thai", sans-serif);
  font-weight: 400;
}
.service-copy [data-rich-template="h3"] {
  font-size: var(--text-m);
  line-height: 1.15;
  letter-spacing: -0.01875rem;
}
.treatment-card [data-rich-group] {
  flex: 1;
}

/* Preserve within-slot paragraph spacing when migrating existing rich documents. */
.rich-text-slot [data-rich-spacing="middle"],
.rich-text-slot [data-rich-spacing="end"] {
  margin-top: 0;
}
.rich-text-slot [data-rich-spacing="middle"],
.rich-text-slot [data-rich-spacing="start"] {
  margin-bottom: 0;
}

/* Offer previews have a bounded reading area; full rich text lives in the details dialog. */
.service-carousel .treatment-cards {
  grid-auto-columns: min(66%, 18rem);
  gap: 1rem;
}
.service-carousel .treatment-card {
  scroll-snap-align: start;
}
/* A wider preview must not turn into a full-height service detail card. */
.service-carousel .treatment-card > :is(img, [data-image-slot], .service-image-empty) {
  aspect-ratio: 16 / 9;
  max-height: 14rem;
}
.service-carousel .treatment-card > .service-summary-content {
  padding: .75rem;
}
.service-carousel .service-preview-title :is(h3, [data-rich-template="h3"]),
.service-carousel .service-preview-description :is(p, [data-rich-template="p"]) {
  min-height: 0;
  margin: 0;
}
.service-carousel .service-preview-description {
  margin-top: .5rem;
}
.service-carousel .service-summary-content > small {
  margin: .5rem 0 .25rem;
}
.service-carousel .treatment-pagination {
  max-width: 100%;
  overflow-x: auto;
  justify-content: flex-start;
  padding: 0.75rem 0;
}
.service-carousel .treatment-pagination button:first-child {
  margin-inline-start: auto;
}
.service-carousel .treatment-pagination button:last-child {
  margin-inline-end: auto;
}
.service-carousel .treatment-pagination button {
  flex: 0 0 24px;
  min-height: 24px;
}
.service-catalogue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.service-catalogue {
  min-width: 0;
}
.treatment-card > :is(img, [data-image-slot], .service-image-empty) {
  aspect-ratio: 4 / 3;
  width: 100%;
  flex: none;
  height: auto;
  min-height: 0;
}
.treatment-card > .service-summary-content {
  padding: 1rem;
  min-width: 0;
}
.service-summary-content > small {
  font-size: var(--text-s);
  min-height: 1.5em;
  margin: 1rem 0 0.75rem;
}
.service-summary-content > .button {
  font-size: var(--text-s);
  min-height: 44px;
  margin-top: auto;
}
.offer-group .section-title {
  min-height: 44px;
}
.offer-group .section-title [data-rich-group] {
  font-family: var(--site-heading-font, "Playfair Display", "Noto Sans Thai", serif);
  font-size: var(--text-l);
}
.service-empty {
  padding: 1rem;
  min-height: 64px;
  border: 1px dashed var(--line);
}
.service-dialog {
  --service-dialog-bottom: max(12px, env(safe-area-inset-bottom));
  position: fixed;
  inset: 12px 12px var(--service-dialog-bottom);
  margin: auto;
  padding: 0;
  width: min(680px, calc(100% - 24px));
  max-width: none;
  height: fit-content;
  max-height: calc(100dvh - var(--service-dialog-bottom) - 12px);
  border: 0;
  border-radius: 8px;
  background: var(--cream);
  color: var(--wine);
  overflow: hidden;
}
.service-dialog::backdrop {
  background: color-mix(in srgb,var(--palette-1) 60%,transparent);
}
.service-dialog[open] {
  display: flex;
  flex-direction: column;
}
.service-dialog-heading {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
}
.service-dialog-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--wine);
  background: var(--cream);
  border: 0;
  border-radius: 50%;
  box-shadow: none;
}
.service-dialog-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.service-dialog-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  min-height: 0;
  padding: 0;
}
.service-dialog .service-row {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border: 0;
  margin: 0;
  background: transparent;
}
.service-dialog
  .service-row
  > :is(img, [data-image-slot], .service-image-empty) {
  flex: none;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: 0;
  max-height: none;
  border-radius: 0;
}
.service-dialog .service-copy {
  display: contents;
}
.service-dialog .service-copy > .rich-text-slot {
  order: 1;
  margin: 1.5rem 1.5rem 1.25rem;
  overflow-wrap: anywhere;
  font-size: var(--text-s);
}
.service-dialog .service-copy [data-rich-template="h3"] {
  font-size: var(--text-l);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.service-dialog .service-copy [data-rich-template="p"] {
  font-size: var(--text-s);
  line-height: 1.6;
  margin: 0.75rem 0 0;
}
.service-dialog .prices {
  order: 2;
  align-self: stretch;
  border: 0;
  margin: 0 1.5rem;
  padding: 0;
  width: auto;
  font-variant-numeric: tabular-nums;
}
.service-dialog .prices > div {
  font-size: var(--text-s);
  color: var(--wine);
  white-space: normal;
  flex-wrap: wrap;
  gap: 0.5rem;
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--wine) 15%, transparent);
  padding: 0.5rem 0;
  line-height: 1.5;
}
.service-dialog .prices > div > :last-child {
  font-weight: 600;
}
.service-dialog .service-copy > a {
  order: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 44px;
  margin: 1.5rem;
  padding: 0.75rem;
  border-radius: 4px;
  font-size: var(--text-s);
  background: var(--wine);
  color: var(--cream);
}
.service-dialog .service-row > .service-image-empty:empty {
  display: none;
}
.service-dialog
  .service-row:has(> .service-image-empty:empty)
  .service-copy
  > .rich-text-slot {
  margin-top: 4rem;
}
.service-dialog :is(a, button):focus-visible {
  outline-color: var(--wine);
}
@media (min-width: 1024px) {
  .service-dialog {
    width: min(960px, calc(100% - 48px));
  }
  .service-dialog .service-row {
    display: grid;
    grid-template-columns: 38% minmax(0, 1fr);
  }
  .service-dialog
    .service-row
    > :is(img, [data-image-slot], .service-image-empty) {
    grid-column: 1;
    grid-row: 1 / 4;
    position: sticky;
    top: 0;
    align-self: start;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: none;
  }
  .service-dialog .service-copy > .rich-text-slot,
  .service-dialog .prices,
  .service-dialog .service-copy > a {
    grid-column: 2;
  }
  .service-dialog .service-copy > .rich-text-slot {
    margin-top: 2.5rem;
  }
  .service-dialog .service-copy [data-rich-template="h3"] {
    font-size: var(--text-m);
  }
  .service-dialog .service-row:has(> .service-image-empty:empty) {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-dialog
    .service-row:has(> .service-image-empty:empty)
    :is(.rich-text-slot, .prices, .service-copy > a) {
    grid-column: 1;
  }
}
@media (max-width: 767px) {
  .service-catalogue-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (min-width: 600px) {
  .service-carousel .treatment-cards {
    grid-auto-columns: calc((100% - 1rem) / 2);
  }
}
@media (min-width: 1024px) {
  .service-carousel .treatment-cards {
    grid-auto-columns: calc((100% - 2rem) / 3);
  }
}

/* Treatments reads as a spa menu, with portrait photography and open entries.
   Home retains its compact carousel cards; the editing targets are shared. */
.treatments:has(.service-catalogue) {
  background: var(--cream);
  color: var(--wine);
  padding: 2rem 1.25rem 2.5rem;
}
.service-catalogue-grid {
  column-gap: 3rem;
  row-gap: 0;
}
.service-catalogue-grid .service-summary {
  display: grid;
  grid-template-columns: 40% minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  padding: 1.75rem 0;
  margin: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--wine) 18%, transparent);
  border-radius: 0;
  overflow: visible;
}
.service-catalogue-grid .service-summary:first-child {
  padding-top: 0;
}
.service-catalogue-grid
  .service-summary
  > :is(img, [data-image-slot], .service-image-empty) {
  align-self: stretch;
  aspect-ratio: auto;
  height: 100%;
  min-height: 15rem;
  margin: 0;
  border-radius: 0.25rem;
}
.service-catalogue-grid .service-summary > .service-summary-content {
  padding: 0;
  gap: 0.75rem;
  justify-content: flex-start;
}
.service-catalogue-grid .service-summary-content > small {
  margin: 0;
  font-size: var(--text-m);
}
.service-catalogue-grid .service-summary-content > .button {
  width: auto;
  align-self: flex-start;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 0;
  min-height: 44px;
  margin-top: auto;
  background: transparent;
  color: var(--wine);
  border: 0;
  border-radius: 0;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--wine) 30%, transparent);
  text-underline-offset: 0.4em;
  box-shadow: none;
  transform: none;
  transition: none;
}
.service-catalogue-grid .service-summary-content > .button .arrow-right {
  width: 1.125rem;
  height: 1.125rem;
  transform: none;
  transition: none;
}
@media (min-width: 768px) {
  .treatments:has(.service-catalogue) {
    padding: 3rem max(2rem, calc((100% - 1200px) / 2));
  }
  .service-catalogue-grid .service-summary:nth-child(2) {
    padding-top: 0;
  }
  .service-catalogue-grid .service-summary-content > small {
    font-size: var(--text-s);
  }
}

/* Author once in the full service; previews have no competing editing targets. */
[data-hidden-service="true"],
[data-hidden-group="true"] {
  filter: grayscale(1);
  opacity: 0.48;
}
[data-service-preview] {
  cursor: pointer;
}
.service-category + .service-category {
  margin-top: 3rem;
}
.service-category-title {
  font-family: var(--site-heading-font, "Playfair Display", "Noto Sans Thai", serif);
  font-size: var(--text-l);
  margin: 0 0 1.5rem;
}

/* The website navigation stays in the canvas, above the editor and keyboard. */
.editor-workspace[data-editing-navigation="true"] .bottom-nav {
  bottom: var(--editor-nav-inset, 0px);
}
[data-hidden-service=true], [data-hidden-group=true] { filter: grayscale(1); opacity: .46; }
[data-photo] { position: relative; }
.gallery-caption { position: absolute; inset: auto 0 0; padding: 24px 10px 10px; color: var(--palette-2); background: linear-gradient(transparent, color-mix(in srgb,var(--palette-1) 73%,transparent)); font-size: var(--text-xs); text-align: left; pointer-events: none; white-space: pre-wrap; overflow-wrap: anywhere; }
/* Fixed presentations: a compact comparison list and a browsing carousel. */
.service-preview-title { min-width: 0; font: var(--text-m)/1.2 var(--site-heading-font, "Playfair Display", "Noto Sans Thai", serif); }
.service-preview-title [data-rich-paragraph] { margin: 0; }
.service-preview-description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: var(--text-s); line-height: 1.5; margin-top: .75rem; overflow-wrap: anywhere; }
.service-preview-description [data-rich-paragraph] { margin: 0; font-size: inherit; line-height: inherit; }
.service-preview-description .rich-text-group { display: contents; }
.service-details-link { display: inline-flex; align-items: center; justify-content: flex-start; gap: .65rem; min-height: 44px; padding: 0; margin-top: auto; width: fit-content; background: transparent; color: var(--gold); font-size: var(--text-s); border: 0; border-radius: 0; text-decoration: none; box-shadow: none; }
.service-details-link:hover { text-decoration: underline; text-underline-offset: .3em; }
.service-details-link .arrow-right { width: 1.2em; height: 1.2em; flex: none; }
.treatment-cards .service-preview-title { min-height: 2.4em; }
.treatment-cards .service-preview-description { min-height: 4.5em; }
.service-catalogue-grid { display: flex; flex-direction: column; gap: 0; }
.service-catalogue-grid .service-summary { display: grid; grid-template-columns: 6rem minmax(0,1fr); gap: .5rem 1.15rem; align-items: start; padding: 1.4rem 0; border-bottom: 1px solid color-mix(in srgb,var(--wine) 18%,transparent); }
.service-catalogue-grid .service-summary:nth-child(2) { padding-top: 1.4rem; }
.service-catalogue-grid .service-summary > :is(img,[data-image-slot],.service-image-empty) { grid-row: 1 / 3; width: 100%; height: 7rem; min-height: 0; aspect-ratio: auto; border-radius: .3rem; align-self: start; }
.service-catalogue-grid .service-summary > .service-summary-content { display: flex; flex-direction: column; gap: .5rem; padding: 0; }
.service-catalogue-grid .service-preview-title { font-size: var(--text-m); line-height: 1.18; overflow-wrap: anywhere; }
.service-catalogue-grid .service-summary-content > small { margin: 0; font-size: var(--text-xs); color: var(--text-on-cream-muted); min-height: 0; }
.service-catalogue-grid .service-details-link { color: var(--wine); min-height: 32px; margin: 0; font-size: var(--text-xs); }
.catalogue-prices { grid-column: 2; width: 100%; font-size: var(--text-s); font-variant-numeric: tabular-nums; line-height: 1.5; }
.catalogue-prices > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .8rem; padding: .2rem 0; border-top: 1px solid color-mix(in srgb,var(--wine) 10%,transparent); }
.catalogue-prices > div:first-child { border: 0; }
.catalogue-prices > div > :last-child { font-weight: 600; overflow-wrap: anywhere; }
.catalogue-prices > .price-only { grid-template-columns: minmax(0,1fr); }
.service-catalogue-grid .service-summary:has(> .service-image-empty:empty) { grid-template-columns:minmax(0,1fr); }
.service-catalogue-grid .service-summary > .service-image-empty:empty { display:none; }
.service-catalogue-grid .service-summary:has(> .service-image-empty:empty) .catalogue-prices { grid-column:1; }
@media(min-width:768px) {
  .service-catalogue-grid .service-summary { grid-template-columns: 8rem minmax(0,1fr) minmax(13rem,24%); gap: 2rem; padding: 1.5rem 0; }
  .service-catalogue-grid .service-summary > :is(img,[data-image-slot],.service-image-empty) { grid-row: 1; height: 8rem; }
  .catalogue-prices { grid-column: 3; }
  .service-catalogue-grid .service-summary-content > small, .service-catalogue-grid .service-details-link { font-size: var(--text-s); }
  .service-catalogue-grid .service-details-link { margin-top: .25rem; }
  .service-catalogue-grid .service-summary:has(> .service-image-empty:empty) { grid-template-columns:minmax(0,1fr) minmax(13rem,30%); }
  .service-catalogue-grid .service-summary:has(> .service-image-empty:empty) .catalogue-prices { grid-column:2; }
}
/* The visitor sheet belongs to the wine/cream website, with its booking CTA. */
.service-dialog { background: var(--wine); color: var(--cream); border: 1px solid color-mix(in srgb,var(--gold) 24%,transparent); }
.service-dialog .service-dialog-close { background: var(--wine); color: var(--cream); }
.service-dialog .service-copy [data-rich-template=p] { color: var(--cream); }
.service-dialog .prices > div { color: var(--gold); border-color: color-mix(in srgb,var(--gold) 22%,transparent); }
.service-dialog .service-copy > a.button { background: var(--gold); color: var(--wine); border-radius: var(--site-button-radius, 999px); padding: .75rem 1.35rem; gap: 1rem; font-family: var(--site-body-font, "Mulish", "Noto Sans Thai", sans-serif); font-size: var(--text-s); }
.service-dialog .service-copy > a.button .arrow-right { width: 1.25em; height: 1.25em; }
.service-dialog :is(a,button):focus-visible { outline-color: var(--gold); }
@media(min-width:1024px) {
  .desktop-footer { grid-template-columns: minmax(15rem,1.3fr) minmax(13rem,1fr) minmax(12rem,.7fr); gap: 4rem; width: calc(100% - 4rem); padding: 3rem 0 3.5rem; text-align: left; align-items: start; }
  .desktop-footer a { text-decoration: none; }
  .desktop-footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
  .desktop-footer .footer-brand { display: inline-block; font-size: var(--text-l); line-height: 1.15; }
  .desktop-footer p { max-width: 22rem; line-height: 1.65; margin-top: .8rem; }
  .desktop-footer address { line-height: 1.7; }
  .desktop-footer address a + a { margin-top: .85rem; }
  .desktop-footer .footer-links { display: grid; grid-template-columns: 1fr; gap: .75rem; justify-items: start; }
  .desktop-footer .footer-links a { min-height: 24px; }
}
@media(max-width:767px) {
  .service-catalogue-grid .service-summary > .service-summary-content { display: contents; }
  .service-catalogue-grid .service-summary > :is(img,[data-image-slot],.service-image-empty) { grid-row: 1 / 5; }
  .service-catalogue-grid .service-preview-title { grid-column: 2; order: 1; }
  .service-catalogue-grid .service-summary-content > small { grid-column: 2; order: 2; }
  .service-catalogue-grid .catalogue-prices { order: 3; }
  .service-catalogue-grid .service-details-link { grid-column: 2; order: 4; }
}

/* Standard section layouts: shared composition, site-owned typography and color. */
[data-section-frame][data-section-hidden] { filter:grayscale(1); opacity:.45; }
.standard-content { padding:calc(2.5rem * var(--site-content-spacing,1)) 1.25rem; min-height:0; }
.standard-copy { min-width:0; width:100%; max-width:42rem; }
.standard-copy > .button { margin-top:1rem; }
.standard-split { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:2rem; }
.standard-split > :is([data-image-slot],.section-image-empty) { width:100%; aspect-ratio:4/3; min-width:0; }
.standard-split[data-media-side=left] > :is([data-image-slot],.section-image-empty) { order:-1; }
.standard-text .standard-copy { margin-inline:auto; }
.standard-background { position:relative; min-height:18rem; display:flex; align-items:center; padding:calc(3rem * var(--site-content-spacing,1)) 1.5rem; isolation:isolate; color:var(--cream); }
.standard-background::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,color-mix(in srgb,var(--palette-1) 72%,transparent),color-mix(in srgb,var(--palette-1) 28%,transparent)); z-index:-1; pointer-events:none; }
.standard-background > .standard-copy { max-width:32rem; }
.section-image-empty { aspect-ratio:4/3; display:flex; align-items:center; justify-content:center; border:1px dashed currentColor; font-size:var(--text-xs); }
[data-section-layout=original][data-media-side=left]:is(.story,.gift) > :is(img,[data-image-slot],.section-image-empty) { order:-1; }
[data-section-frame][data-section-tone=light] > section { background-color:var(--cream); color:var(--wine); --muted:var(--text-on-cream-muted); --panel:var(--cream); --card-border:var(--line); }
[data-section-frame][data-section-tone=dark] > section { background-color:var(--wine); color:var(--cream); --muted:var(--cream); --panel:var(--wine); }
section[data-section-tone=light] :is(.eyebrow,small,.all-link,.service-details-link), [data-section-tone=light] > section :is(.eyebrow,small,.all-link,.service-details-link) { color:var(--wine); }
section[data-section-tone=light] .button, [data-section-tone=light] > section .button { background:var(--wine); color:var(--cream); }
section[data-section-tone=dark] .button, [data-section-tone=dark] > section .button { background:var(--gold); color:var(--wine); }
section[data-section-layout=background] { color:var(--cream); }
[data-section-layout=list] .review-carousel { display:block; }
[data-section-layout=list] .review-slides { display:flex; flex-direction:column; gap:1.5rem; }
[data-section-layout=list] .review-slides figure { visibility:visible; pointer-events:auto; padding:1rem 0; border-bottom:1px solid currentColor; }
[data-section-layout=list] :is(.review-prev,.review-next) { display:none; }
[data-section-layout=grid] .gallery-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); overflow:visible; }
[data-section-layout=grid] .gallery-grid > * { min-width:0; width:100%; }
[data-section-layout=compact] :is(.editable-map,.directions) { display:none; }
@media (max-width:767px) {
  .standard-split { grid-template-columns:minmax(0,1fr); gap:1rem; }
  .standard-split > :is([data-image-slot],.section-image-empty) { order:-1; }
  [data-section-layout=grid] .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
.standard-background { background-image:var(--media-background-image); background-size:var(--media-background-size,cover); background-position:var(--media-background-position,center); background-repeat:no-repeat; }
section.standard-background :is(.eyebrow,small,.all-link) { color:var(--cream); }
[data-section-layout=original][data-media-side=right]:is(.story,.gift) > :is(img,[data-image-slot],.section-image-empty) { order:1; }
/* Paired colors cover nested catalogue text as well as section headings. */
section[data-section-tone=dark] :is(.eyebrow,small,.all-link,.service-details-link), [data-section-tone=dark] > section :is(.eyebrow,small,.all-link,.service-details-link) { color:var(--cream); }
section[data-section-tone=light] :is(.review-prev,.review-next,[data-rich-template=figcaption]) { color:var(--wine); }
/* Photo-backed layouts keep their readable overlay treatment above the base tone. */
[data-section-frame][data-section-tone] > section.reviews[data-background-slot], [data-section-frame][data-section-tone] > section.standard-background { color:var(--cream); }
section.reviews[data-background-slot] :is(.eyebrow,.review-prev,.review-next,[data-rich-template=figcaption]), section.standard-background :is(.eyebrow,small,.all-link) { color:var(--cream); }
section.standard-background .button { background:var(--gold); color:var(--wine); }

/* Local options keep stored content intact; each structure has one scale. */
[data-option-action-position="below"].callout { display:flex; flex-direction:column; align-items:flex-start; }
[data-site-section="Gallery"][data-section-layout="grid"] .gallery-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.section-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px 20px; }
.section-actions .button { margin:0; max-width:100%; white-space:normal; }
.section-actions .button-secondary { color:inherit; background:transparent; border:1px solid currentColor; }
.header .brand > [data-image-slot] { width:auto; max-width:180px; height:56px; aspect-ratio:auto; flex:0 1 auto; border-radius:0; }
.header .brand > [data-image-slot] img { object-fit:contain; }
.footer-brand { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.footer-brand [data-image-slot] { width:140px; height:64px; border-radius:0; }
.footer-brand [data-image-slot] img { object-fit:contain; }
/* Global brand options use the same paired palette as body sections. */
:is(.header,.desktop-footer)[data-global-palette] {
  background-color:var(--section-background); color:var(--section-text);
  --wine:var(--section-background); --cream:var(--section-background);
  --gold:var(--section-text); --muted:var(--section-text);
  --line:color-mix(in srgb,var(--section-text) 20%,transparent);
}
.desktop-footer[data-global-palette] { width:100%; max-width:none; padding-inline:max(18px,calc((100% - 1200px)/2)); }
.header:has(.brand[data-brand-image-only]) { height:auto; min-height:104px; padding-block:8px; }
.header .brand[data-brand-image-only] > :is(img,[data-image-slot]) { width:168px; height:104px; object-fit:contain; border-radius:0; }
.desktop-footer .footer-brand[data-brand-image-only] { display:flex; }
.footer-brand[data-brand-image-only] [data-image-slot] { width:168px; height:104px; }
.header[data-option-name-visible="false"] .brand { min-width:0; }
@media(max-width:600px) {
 [data-site-section="Gallery"][data-section-layout="grid"] .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .header .brand > [data-image-slot] { max-width:150px; height:48px; }
}
.service-dialog, .service-dialog-scroll { overscroll-behavior:contain; }

/* Compact catalogue: three columns at every width; prices never sit below copy. */
.service-catalogue-grid .service-summary {
 grid-template-columns:clamp(3.5rem,14vw,7rem) minmax(0,1fr) minmax(8rem,32%);
 gap:.75rem; padding:.65rem 0; align-items:start; min-height:0;
}
.service-catalogue-grid .service-summary:nth-child(2) { padding-top:.65rem; }
.service-catalogue-grid .service-summary > :is(img,[data-image-slot],.service-image-empty) { grid-row:1; grid-column:1; height:auto; aspect-ratio:1; min-height:0; }
.service-catalogue-grid .service-summary > .service-summary-content { grid-column:2; grid-row:1; display:flex; gap:.2rem; min-height:0; }
.service-catalogue-grid .service-preview-title { font-size:var(--text-m); min-height:0; }
.service-catalogue-grid .service-preview-title :is(h3,[data-rich-template="h3"]) { min-height:0; }
.service-catalogue-grid .service-details-link { font-size:max(12px,var(--text-xs)); margin-top:0; min-height:32px; gap:.4rem; align-self:flex-start; }
.service-catalogue-grid .catalogue-prices { grid-column:3; grid-row:1; order:initial; font-size:max(12px,var(--text-xs)); min-width:0; }
.catalogue-prices > div { gap:.4rem; }
.service-comparison .service-summary { grid-template-columns:clamp(3.5rem,14vw,7rem) minmax(0,1fr) minmax(0,1.25fr); }
.service-comparison .catalogue-prices { display:flex; align-self:stretch; align-items:stretch; overflow-x:auto; overscroll-behavior-x:contain; gap:0; padding-bottom:.15rem; }
.service-comparison .catalogue-prices > div { display:flex; flex:0 0 auto; flex-direction:column; align-items:flex-start; justify-content:flex-start; gap:.15rem; min-width:3.5rem; max-width:12rem; padding:.15rem .35rem; border-top:0; border-left:1px solid color-mix(in srgb,currentColor 20%,transparent); overflow-wrap:anywhere; }
.service-comparison .catalogue-prices > div:first-child { border-left:0; padding-left:0; }

/* Presentation profiles use a readable fixed base, independent of the legacy scaled template. */
:root:has(.website-presentation) { font-size:16px; }
.website-presentation { display:contents; }
.website-presentation .header { min-height:5rem; height:auto; padding:1rem clamp(1.25rem,4vw,4rem); }
.website-presentation .brand { font-size:1.25rem; line-height:1.15; max-width:19rem; }
.website-presentation .brand small { font-size:.75rem; margin-top:.35rem; letter-spacing:.08em; }
.website-presentation .desktop-nav { font-size:.875rem; gap:1.4rem; }
.website-presentation .hero-content { max-width:38rem; }
.website-presentation .service-catalogue:not(.service-comparison) .service-catalogue-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.website-presentation .service-catalogue:not(.service-comparison) .service-summary { display:flex; flex-direction:column; padding:1.15rem; background:color-mix(in srgb,var(--cream) 94%,var(--gold)); border:1px solid color-mix(in srgb,var(--wine) 16%,transparent); border-radius:.5rem; }
.website-presentation .service-catalogue:not(.service-comparison) .service-summary-content { flex:1; width:100%; }
.website-presentation .service-summary-content > .button { font-size:.875rem; padding:.65rem .85rem; min-height:44px; }
.website-presentation .service-summary-content > * { order:initial; grid-column:auto; grid-row:auto; }
.website-presentation .treatment-card > .service-image-empty:empty { display:none; }
.website-presentation .service-catalogue .catalogue-prices { margin-top:.6rem; }
.website-presentation .service-summary:has(> .service-image-empty:empty) > .service-summary-content { grid-column:1; grid-row:auto; }
.website-presentation .service-summary:has(> .service-image-empty:empty) > .catalogue-prices { grid-row:auto; }
.website-presentation .service-catalogue .service-preview-title { font-size:1.125rem; line-height:1.3; }
.website-presentation .service-catalogue .service-details-link { min-height:44px; }
.website-presentation .standard-split { padding:3rem clamp(1.25rem,4vw,4rem); gap:3rem; }
.website-presentation .standard-split > [data-image-slot] { aspect-ratio:4/5; max-height:34rem; border-radius:.5rem; }
.website-presentation .standard-copy { max-width:34rem; }
.website-presentation .contact-actions { flex-wrap:wrap; }
@media(min-width:1024px) {
  .website-presentation .hero-content { padding:4rem; }
  .website-presentation .service-comparison .service-summary:has(> .service-image-empty:empty) { grid-template-columns:minmax(0,1fr) minmax(20rem,48%); }
}
@media(max-width:767px) {
  .website-presentation .header { padding:.9rem 1.25rem; }
  .website-presentation .brand { max-width:16rem; font-size:1.15rem; }
  .website-presentation .hero-content { padding:2rem 1.25rem; }
  .website-presentation .standard-split { padding:1.25rem; gap:1.75rem; }
  .website-presentation .standard-split > [data-image-slot] { aspect-ratio:5/4; max-height:18rem; }
  .website-presentation .standard-split[data-site-section=Hero] > [data-image-slot] { aspect-ratio:16/9; max-height:13rem; }
  .website-presentation .section { padding-inline:1.25rem; }
  .website-presentation .catalogue-prices { font-size:.875rem; }
}
@media(max-width:359px) {
  .website-presentation .service-catalogue:not(.service-comparison) .service-catalogue-grid { grid-template-columns:1fr; }
}
.offer-group, .treatments:has(.service-catalogue) { padding-block:1.75rem; }
.offer-group .section-title { margin-bottom:1.1rem; }
.service-carousel .treatment-card > :is(img,[data-image-slot],.service-image-empty) { height:6rem; aspect-ratio:auto; }
.service-carousel .treatment-card > .service-summary-content { padding:.65rem; }
.service-carousel .service-preview-description { min-height:0; -webkit-line-clamp:2; margin-top:.35rem; }
.service-carousel .service-summary-content > small { margin:.35rem 0 0; }
.service-carousel .service-details-link { min-height:28px; margin-top:.35rem; }
.service-carousel .carousel-footer { align-items:center; margin-top:.4rem; gap:.3rem; }
.service-carousel .carousel-footer .treatment-pagination { padding:0; }
.service-carousel .carousel-footer .treatment-pagination button { width:1.5rem; flex:0 0 1.5rem; }
.service-carousel .carousel-footer .all-link { line-height:1.35; }
@media(min-width:768px) {
 .service-catalogue-grid .service-summary { gap:1.5rem; padding:.85rem 0; }
 .service-catalogue-grid .catalogue-prices, .service-catalogue-grid .service-details-link { font-size:var(--text-s); }
 .service-carousel .treatment-card > :is(img,[data-image-slot],.service-image-empty) { height:7rem; }
}
.header .brand > [data-image-slot] { width:auto; aspect-ratio:var(--media-natural-ratio,1); object-fit:contain; }
.footer-brand [data-image-slot] { object-fit:contain; }
.section-map-empty { display:grid; place-items:center; min-height:10rem; border:1px dashed currentColor; opacity:.5; }
.service-catalogue-grid .service-summary:not(:has(.catalogue-prices)) > .service-summary-content { grid-column:2 / -1; }
/* A service authored without a photo needs no empty image column. */
.service-catalogue-grid .service-summary:has(> .service-image-empty) { grid-template-columns:minmax(0,1fr) minmax(8rem,1fr); }
.service-catalogue-grid .service-summary > .service-image-empty { display:none; }
.service-catalogue-grid .service-summary:has(> .service-image-empty) > .service-summary-content { grid-column:1; }
.service-catalogue-grid .service-summary:has(> .service-image-empty) > .catalogue-prices { grid-column:2; }
.service-catalogue-grid .service-summary:has(> .service-image-empty):not(:has(.catalogue-prices)) > .service-summary-content { grid-column:1 / -1; }

/* Finished artwork is one full-section background behind live copy. Its geometry
 * is a layout property, independent of image visibility and background mode. */
.prose-media { object-fit:contain; position:relative; min-height:18rem; background-image:var(--media-background-image); background-size:var(--media-background-size,cover); background-position:var(--media-background-position,center); background-repeat:no-repeat; }
.prose-media > .prose-copy { min-width:0; width:100%; }
.prose-media .prose-copy :is(p,[data-rich-template="p"]):not(.eyebrow) { max-width:56%; }

/* Retain a quiet reading area as the wide composition is cropped on phones. */
@media(max-width:767px) {
 .prose-media { min-height:15rem; }

}
/* A solid background really removes native photo treatments without changing
 * padding, grids, media boxes or minimum heights. */
[data-background-mode="color"]:is(.hero,.standard-background)::after { background:none; }
[data-background-mode="color"].reviews { background-image:none; }
[data-background-mode="color"].gift > div { background:none; }
[data-section-frame][data-background-mode="color"][data-background-tone="light"] > section { background-color:var(--cream); color:var(--wine); }
[data-section-frame][data-background-mode="color"][data-background-tone="dark"] > section { background-color:var(--wine); color:var(--cream); }
[data-section-frame][data-custom-background] {
 background-image:linear-gradient(var(--section-image-scrim),var(--section-image-scrim)),var(--media-background-image);
 background-size:100% 100%,var(--media-background-size,cover); background-position:center,var(--media-background-position,center); background-repeat:no-repeat;
 --section-image-scrim:color-mix(in srgb,var(--wine) 72%,transparent);
}
[data-section-frame][data-custom-background][data-background-tone="light"] { --section-image-scrim:color-mix(in srgb,var(--cream) 82%,transparent); }
[data-section-frame][data-custom-background] > :is(section,[data-offer-owner]) { background-color:transparent; background-image:none; }

/* Full-image Gallery: document edges are content, so never crop them. */
[data-section-layout="carousel"] .gallery-grid {
  display:flex; gap:1rem; overflow-x:auto; overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory; scrollbar-width:none; position:relative;
}
[data-section-layout="carousel"] .gallery-grid > button {
  flex:0 0 clamp(9rem,55%,15rem); width:auto; grid-column:auto; scroll-snap-align:start;
  display:flex; flex-direction:column; background:transparent;
}
[data-section-layout="carousel"] .gallery-grid button :is([data-image-slot],.collection-image-empty) {
  width:100%; height:14rem; aspect-ratio:auto; object-fit:contain;
}
[data-section-layout="carousel"] .gallery-grid button > .gallery-caption {
  position:static; background:none; color:inherit; padding:.5rem 0 0; font-size:var(--text-xs);
}
/* One document is a full-width image, not a narrow hint of a next slide. */
[data-section-layout="carousel"] .gallery-grid > button:only-child {
  flex:1 0 100%; width:100%; max-width:100%;
}
[data-section-layout="carousel"] .gallery-grid > button:only-child [data-image-slot] {
  height:auto; aspect-ratio:var(--media-natural-ratio,2/1); max-height:70svh;
}
.gallery-navigation { display:flex; align-items:center; justify-content:flex-end; gap:.6rem; margin-top:.4rem; font-size:var(--text-xs); }
.gallery-navigation[hidden] { display:none; }
.gallery-navigation button { background:none; color:inherit; border:0; min-width:2.75rem; min-height:2.75rem; font-size:var(--text-m); }
.gallery-navigation button:disabled { opacity:.3; }
.photo-dialog { width:min(94vw,56.25rem); padding:.75rem; box-sizing:border-box; }
.photo-dialog > .photo-viewport { display:block; height:60svh; padding:0; overflow:auto; overscroll-behavior:contain; }
.photo-viewport img { display:block; max-width:none; max-height:none; object-fit:contain; margin:auto; }
.photo-viewport[data-zoomed="true"] { cursor:grab; }
.photo-dialog > .photo-controls { justify-content:center; gap:.5rem; padding-top:.5rem; }
.photo-controls button { flex-shrink:0; min-width:2.75rem; min-height:2.75rem; }
.photo-controls button:disabled { opacity:.3; }
.photo-controls .photo-count { font-size:var(--text-xs); }
@media(min-width:768px) { [data-section-layout="carousel"] .gallery-grid > button { flex-basis:clamp(9rem,24%,15rem); } }
.health-fund-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.75rem; }
.health-fund { min-height:3.5rem; display:flex; align-items:center; justify-content:center; padding:.5rem; text-align:center; font-size:var(--text-s); border-bottom:1px solid var(--line); overflow-wrap:anywhere; }
.health-fund img { width:100%; height:2.5rem; object-fit:contain; }
.health-fund-track { overflow-x:auto; scroll-behavior:auto; overscroll-behavior-x:contain; scrollbar-width:none; padding-block:.5rem; }
.health-fund-rail { display:flex; gap:1rem; width:max-content; }
.health-fund-rail[data-marquee-active] { will-change:transform; }
.health-fund-track::-webkit-scrollbar { display:none; }
.health-fund-track .health-fund { flex:0 0 9rem; min-width:0; border:0; }
@media(max-width:599px) { .health-fund-track .health-fund { flex-basis:7rem; } }
.health-funds-more summary { cursor:pointer; text-align:right; font-size:var(--text-xs); margin-top:1rem; }
.health-funds-more .health-fund-grid { margin-top:.75rem; }
@media(max-width:599px) { .health-fund-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* Solid schemes also pair secondary copy, not only the section heading. */
[data-section-frame][data-background-mode="color"] > section :is(p,[data-rich-template="p"],.eyebrow,small) { color:inherit; }

/* Four background slots share designer-defined text defaults. Explicit inline
 * color marks win naturally; resetting only that mark resumes inheritance. */
[data-section-frame][data-palette-background][data-background-mode="color"] > section { background-color:var(--section-background); }

[data-section-frame][data-color-pair] > section {
 color:var(--section-text);
 --muted:var(--section-text); --hero-text:var(--section-text);
 --text-on-cream-muted:var(--section-text); --panel:var(--section-background);
}
[data-section-frame][data-color-pair] > section :is(h1,h2,h3,p,small,blockquote,figcaption,.eyebrow,.all-link,.service-details-link,.contact-details,.directions,.review-prev,.review-next,.treatment-card,.prices,.catalogue-prices,[data-rich-paragraph]):not(.button,.button *,.gallery-caption,.gallery-caption *) { color:var(--section-text); }
[data-section-frame][data-color-pair] > section .button { background:var(--section-text); color:var(--section-background); }

/* Shared service interaction across the complete website designs. */

.demo-booking-dialog .service-dialog-heading { position:static; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem; }
.demo-booking-dialog .service-dialog-heading h2 { margin:0; font:inherit; font-size:1.125rem; line-height:1.4; }
.demo-booking-dialog .service-dialog-scroll { padding:0 1rem 1rem; font-size:1rem; line-height:1.5; }
.demo-booking-dialog .service-dialog-scroll p { margin:0 0 .75rem; }
.demo-booking-dialog .service-dialog-close { flex:0 0 44px; font:inherit; font-size:.875rem; border:1px solid currentColor; }

/* Presentation composition: one inset, one rhythm and one card anatomy for every
 * website design. Scoped to presentation documents; legacy sites keep their CSS. */
.website-presentation {
  --site-inset: 1.25rem;
  --site-max: 75rem;
  --site-edge: max(var(--site-inset), calc((100% - var(--site-max)) / 2 + var(--site-inset)));
  --section-block: calc(1.75rem * var(--site-content-spacing, 1));
  --navigation-background: var(--palette-1);
}
.website-presentation [data-section-frame] > section:not(.hero, .standard-split, .sabai-hero) { padding-block: var(--section-block); }
.website-presentation .section-title :is(p, [data-rich-template="p"]) { margin: .5rem 0 0; }
.website-presentation .desktop-footer :is(p, [data-rich-template="p"]) { margin-inline: 0; }
.website-presentation .desktop-footer { padding-inline: var(--site-inset); }

/* Consecutive sections on the same colour share one gap instead of two. */
.website-presentation :is([data-palette-background="1"] + [data-palette-background="1"], [data-palette-background="2"] + [data-palette-background="2"], [data-palette-background="3"] + [data-palette-background="3"], [data-palette-background="4"] + [data-palette-background="4"]) > section:not(.hero, .standard-split, .sabai-hero) { padding-top: calc(var(--section-block) * .35); }

/* WEB-019: one page surface, sections as transparent layers. Scoped strictly to
 * `[data-composition]` documents (Potong, demo) so legacy sites and presentation
 * profiles that do not opt into a composition render exactly as before. */
body:has(.website-presentation[data-composition]) { background: var(--palette-2); }
.website-presentation[data-composition] > main { width:100%; min-width:0; max-width:none; }
.website-presentation[data-composition] .service-option-grid {
  --service-surface:color-mix(in srgb,var(--palette-2) 92%,var(--palette-4));
  --service-ink:var(--palette-text-2); --service-rule:transparent;
}
.website-presentation[data-composition] [data-section-frame] .service-option-card {
  border-radius:10px; box-shadow:0 6px 16px color-mix(in srgb,var(--palette-1) 10%,transparent);
}

/* A section's stored tone/backgroundColor stop painting a fill in this mode; the
 * data itself is untouched (still readable/editable), it just no longer renders.
 * Forcing the shared custom properties beats the inline style the section sets. */
.website-presentation[data-composition] [data-section-frame][data-background-mode="color"] {
  --section-background: var(--palette-2) !important;
  --section-text: var(--palette-text-2) !important;
}
.website-presentation[data-composition] [data-section-frame][data-background-mode="color"] > section {
  background-color: transparent;
  color: var(--palette-text-2);
}
:where(.website-presentation[data-composition] [data-section-frame][data-background-mode="color"] > section) :where(.button) {
  background: var(--palette-text-2);
  color: var(--palette-2);
}
.website-presentation[data-composition] [data-section-frame][data-background-mode="color"] > section :is(.eyebrow, small, .all-link, .service-details-link, .review-prev, .review-next, [data-rich-template="figcaption"]) {
  color: var(--palette-text-2);
}
/* One shared rhythm: every section keeps the full gap, regardless of what
 * backgroundColor an owner may have on record — there is no longer a same-colour
 * "family" of sections whose gap could be halved. */
.website-presentation[data-composition] [data-section-frame] + [data-section-frame] > section:not(.hero, .standard-split, .sabai-hero) { padding-top: var(--section-block); }
/* Composition-specific tinted section grounds retire with the flat page surface. */
.website-presentation[data-composition][data-template-family="editorial"] [data-section-frame="services"] > section { background: transparent; }
/* Floating layers: cards, photos, the map and dialogs sit slightly off the page
 * surface with a soft shadow and rounded corners, never a hard 1px border. */
.website-presentation[data-composition] [data-site-section="Gallery"] .gallery-grid { padding-block-end: 24px; }
.website-presentation[data-composition] [data-site-section="Gallery"] .gallery-grid [data-photo] { overflow: visible; }
.website-presentation[data-composition] [data-site-section="Gallery"] .gallery-grid [data-photo] > [data-image-slot] {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--palette-1) 12%, transparent);
}
.website-presentation[data-composition] [data-site-section="Gallery"] .gallery-grid > button > .gallery-caption { padding-top: .6rem; }
.website-presentation[data-composition] .editable-map,
.website-presentation[data-composition] .section-map-empty {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--palette-1) 12%, transparent);
}
.website-presentation[data-composition] .service-dialog {
  border-radius: 16px;
  box-shadow: 0 20px 48px color-mix(in srgb, var(--palette-1) 28%, transparent);
}
.website-presentation[data-composition] .desktop-footer { border-top-color: color-mix(in srgb, var(--palette-1) 18%, transparent); }
.website-presentation[data-composition] .desktop-footer:not([data-global-palette]) {
  --gold: var(--palette-text-2); --muted: var(--palette-text-2);
  --line: color-mix(in srgb, var(--palette-text-2) 18%, transparent);
  color: var(--palette-text-2);
}

/* Hero copy: readable supporting text and a full-size primary action. */
.website-presentation .home-hero .hero-content :is(p, [data-rich-template="p"]):not(.eyebrow) { font-size: var(--text-s); line-height: 1.5; max-width: 24rem; }
.website-presentation .home-hero .hero-content .button { min-height: 2.75rem; padding: .7rem 1.25rem; font-size: var(--text-s); }
.website-presentation [data-rich-template="h1"] + .eyebrow { margin: .75rem 0 0; }

/* Story without artwork reads as an ordinary text section, not a reserved photo band. */
.website-presentation .prose-media[data-option-image-visible="false"] { min-height: 0; }
.website-presentation .prose-media[data-option-image-visible="false"] .prose-copy :is(p, [data-rich-template="p"]):not(.eyebrow) { max-width: 38rem; }

/* Services: the library heading, edge-to-edge filters on phones, aligned cards. */
.website-presentation .service-section-title { margin-bottom: 1.5rem; }
.website-presentation .service-section-title :is(h2, p) { margin: 0; }
.website-presentation .service-section-title h2 { font-size: var(--text-l); }
.website-presentation .service-section-title p { margin-top: .5rem; font-size: var(--text-s); }



/* Gallery: each frame is exactly its photograph, so captions align and nothing crops. */
.website-presentation [data-section-layout="carousel"] .gallery-grid > button { flex: 0 0 auto; width: auto; }
.website-presentation [data-section-layout="carousel"] .gallery-grid > button:first-child { margin-left: auto; }
.website-presentation [data-section-layout="carousel"] .gallery-grid > button:last-child { margin-right: auto; }
.website-presentation [data-section-layout="carousel"] .gallery-grid button [data-image-slot] { width: auto; height: 15rem; aspect-ratio: var(--media-natural-ratio, 3 / 4); }
.website-presentation [data-section-layout="carousel"] .gallery-grid > button > .gallery-caption { width: 0; min-width: 100%; }
.website-presentation .gallery-navigation { justify-content: center; }
.website-presentation .gallery-navigation > span { white-space: nowrap; min-width: 3rem; text-align: center; }
.photo-dialog > .photo-viewport { display:flex; position:relative; overflow:hidden; touch-action:none; }
.photo-dialog > .photo-viewport[data-zoomed="true"] { overflow:auto; touch-action:pan-x pan-y; }
.photo-viewport img { flex-shrink:0; }
.photo-viewport .photo-outgoing { position:absolute; margin:0; pointer-events:none; }
.photo-dialog .photo-status { font-size:var(--text-xs); text-align:center; margin:.5rem 0 0; }
.photo-dialog .photo-status:empty { display:none; }
.photo-controls { touch-action:manipulation; }
.photo-count { min-width:4rem; text-align:center; font-variant-numeric:tabular-nums; }
.photo-dialog > .photo-caption { margin: .6rem 0 0; font-size: var(--text-xs); text-align: center; }

/* Contact: the booking action leads; call and map read as secondary actions. */
.website-presentation .contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.website-presentation .contact-actions .button { flex: none; min-height: 2.75rem; white-space: nowrap; overflow-wrap: normal; font-size: var(--text-s); gap: .5rem; }
.website-presentation .contact-actions .button-wine { grid-column: 1 / -1; order: -1; }
.website-presentation [data-section-frame] .contact-actions .button:not(.button-wine) { background: transparent; color: var(--section-text, var(--wine)); border: 1px solid color-mix(in srgb, var(--section-text, var(--wine)) 45%, transparent); }
.website-presentation [data-section-frame] .contact-actions .button-wine { background: var(--section-text, var(--wine)); color: var(--section-background, var(--cream)); border-color: transparent; }
@media (max-width: 1023px) {
  .website-presentation .contact.ornament::after { top: .5rem; width: 3rem; height: 3.75rem; opacity: .35; }
}

/* Service details and the demo booking summary. */
.demo-booking-dialog { width: min(28rem, calc(100% - 24px)); }
.demo-booking-dialog .service-dialog-scroll .demo-booking-service { margin: 0; font: var(--text-m) / 1.25 var(--site-heading-font, "Playfair Display", "Noto Sans Thai", serif); }
.demo-booking-dialog .service-dialog-scroll .demo-booking-row { margin: .5rem 0 1rem; padding: .6rem 0; border-block: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); color: var(--gold); font-variant-numeric: tabular-nums; }
.demo-booking-dialog .service-dialog-scroll .demo-booking-note { font-size: var(--text-xs); opacity: .85; }

@media (max-width: 767px) {
  .website-presentation .header { padding-inline: var(--site-inset); }
  .website-presentation .brand { max-width: calc(100vw - 6rem); }
}
@media (min-width: 1024px) {
  .website-presentation { --site-inset: 3rem; --section-block: calc(2.5rem * var(--site-content-spacing, 1)); }
  .website-presentation main { max-width: none; }
  .website-presentation .header { padding-inline: var(--site-edge); }
  .website-presentation .brand { max-width: none; white-space: nowrap; }
  .website-presentation [data-section-frame] > section:not(.hero, .standard-split, .sabai-hero) { padding-inline: var(--site-edge); }
  .website-presentation .home-hero .hero-content { padding: 5rem var(--site-edge); max-width: none; }
  .website-presentation .home-hero .hero-content > * { max-width: 38rem; }
  .website-presentation .standard-split { padding: var(--section-block) var(--site-edge); }
  .website-presentation .desktop-footer { width: 100%; max-width: none; margin: 0; padding: 3.5rem var(--site-edge); }
  .website-presentation .contact.ornament::after { right: calc(var(--site-edge) - 2rem); width: 6rem; height: 9rem; }
  .website-presentation .contact-actions { display: flex; flex-wrap: wrap; max-width: none; }
  .website-presentation .contact-actions .button { flex: 0 0 auto; padding-inline: 1.5rem; }
  .website-presentation .directions { display: inline-flex; }
  .website-presentation .directions > span:last-child { margin-left: 1rem; }
  .website-presentation [data-section-layout="carousel"] .gallery-grid button [data-image-slot] { height: 20rem; }
  .website-presentation .service-dialog:has(.service-row > .service-image-empty:empty) { width: min(560px, calc(100% - 48px)); }
}

/* Immersive (A): photo-led and classic — centred headings, espresso menu tiles, serif subtitle. */
.website-presentation[data-template-family="immersive"] .service-section-title { text-align: center; }
.website-presentation[data-template-family="immersive"] .home-hero [data-rich-template="h1"] + .eyebrow { font: var(--text-m) / 1.3 var(--site-heading-font, "Playfair Display", serif); letter-spacing: 0; color: var(--gold); }
@media (max-width: 767px) {
  .website-presentation[data-template-family="immersive"] .home-hero::after { background: linear-gradient(90deg, var(--hero-overlay-start) 0%, var(--hero-overlay-middle) 65%, color-mix(in srgb, var(--palette-1) 40%, transparent) 100%); }
}

@media (min-width: 1024px) {
  .website-presentation[data-template-family="immersive"] .prose-media[data-option-image-visible="false"] .prose-copy { max-width: 44rem; margin-inline: auto; text-align: center; }
  .website-presentation[data-template-family="immersive"] .prose-media[data-option-image-visible="false"] .prose-copy :is(p, [data-rich-template="p"]):not(.eyebrow) { max-width: none; }
}

/* Editorial (B): typographic and light — left-aligned structure, tinted menu tiles,
 * copy before photography on phones, two-column reading layouts on desktop. */
.website-presentation[data-template-family="editorial"] :is(.service-section-title, [data-site-section="Gallery"] .section-title) { text-align: left; }
.website-presentation[data-template-family="editorial"] .gallery-open { margin-inline: 0; }
.website-presentation[data-template-family="editorial"] .gallery-navigation { justify-content: flex-start; }
.website-presentation[data-template-family="editorial"] [data-section-frame] .button { border-color: transparent; }
.website-presentation[data-template-family="editorial"] .standard-split[data-site-section="Hero"] .rich-text-group { display: flex; flex-direction: column; }
.website-presentation[data-template-family="editorial"] .standard-split[data-site-section="Hero"] .rich-text-group > .eyebrow { order: -1; margin: 0 0 .75rem; }
.website-presentation[data-template-family="editorial"] .standard-split[data-site-section="Hero"] [data-rich-template="h1"] { font-size: clamp(2.125rem, 9vw, var(--text-xxl)); }
@media (max-width: 767px) {
  .website-presentation[data-template-family="editorial"] .standard-split[data-site-section="Hero"] { padding-block: 1.75rem 1.25rem; }
  .website-presentation[data-template-family="editorial"] .standard-split[data-site-section="Hero"] > [data-image-slot] { order: 1; aspect-ratio: 16 / 10; max-height: 14rem; }
}
@media (min-width: 1024px) {
  .website-presentation[data-template-family="editorial"] .prose-media[data-option-image-visible="false"] .prose-copy { max-width: none; }
  .website-presentation[data-template-family="editorial"] .prose-media[data-option-image-visible="false"] .prose-copy > .rich-text-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); column-gap: 4rem; align-items: start; }
  .website-presentation[data-template-family="editorial"] .prose-media[data-option-image-visible="false"] .prose-copy > .rich-text-group > [data-rich-template="h2"] { grid-column: 1; grid-row: 1 / span 9; }
  .website-presentation[data-template-family="editorial"] .prose-media[data-option-image-visible="false"] .prose-copy > .rich-text-group > :not([data-rich-template="h2"]) { grid-column: 2; max-width: 40rem; }
  .website-presentation[data-template-family="editorial"] .prose-media[data-option-image-visible="false"] .prose-copy > .rich-text-group > :nth-child(2) { margin-top: .35rem; }
  .website-presentation[data-template-family="editorial"] [data-section-layout="carousel"] .gallery-grid > button:first-child { margin-left: 0; }
  .website-presentation[data-template-family="editorial"] .contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 4rem; align-content: start; }
  .website-presentation[data-template-family="editorial"] .contact > * { grid-column: 1; min-width: 0; }
  .website-presentation[data-template-family="editorial"] .contact > :is(.editable-map, .section-map-empty) { grid-column: 2; grid-row: 1 / span 3; align-self: stretch; }
  .website-presentation[data-template-family="editorial"] .contact > :is(.editable-map, .section-map-empty) iframe { height: 100%; min-height: 20rem; }
  .website-presentation[data-template-family="editorial"] .contact > .directions { grid-column: 2; }
  .website-presentation[data-template-family="editorial"] .contact .contact-details { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .website-presentation[data-template-family="editorial"] .contact .contact-actions .button { padding-inline: 1.15rem; }
}

/* The service card owns its complete surface; all customer templates share its anatomy. */
.website-presentation .service-option-grid {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 12px;
  --service-surface:var(--palette-1); --service-ink:var(--palette-text-1);
  --service-rule:color-mix(in srgb,var(--palette-3) 35%,transparent);
  --service-cta:var(--palette-3); --service-cta-ink:var(--palette-text-3);
}
.website-presentation [data-section-frame] .service-option-card {
  min-width:0; display:flex; flex-direction:column; align-self:stretch;
  padding:0 0 6px; margin:0; border:1px solid var(--service-rule); border-radius:18px;
  background:var(--service-surface); color:var(--service-ink); overflow:hidden;
  --section-text:var(--service-ink); --section-background:var(--service-surface);
  box-shadow:0 4px 12px color-mix(in srgb,var(--palette-1) 7%,transparent);
  transition:transform .12s ease,background-color .14s,border-color .14s,box-shadow .14s;
  -webkit-tap-highlight-color:transparent;
}
.website-presentation .service-option-content { display:flex; flex:1; flex-direction:column; }
.website-presentation .service-option-media { position:relative; flex:none; width:100%; aspect-ratio:16/9; overflow:hidden; border-radius:0; }
.website-presentation .service-option-media :is(img,video) { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; object-position:var(--service-media-position,50% 50%); }
.website-presentation .service-video-poster { z-index:1; pointer-events:none; opacity:1; }
.website-presentation .service-option-media[data-frame-ready=true] .service-video-poster { opacity:0; }
.website-presentation .service-media-action { position:absolute; z-index:2; inset:0; width:100%; height:100%; min-height:44px; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.website-presentation .service-media-action:disabled, .website-presentation .service-info-button:disabled { pointer-events:none; }
.website-presentation .service-media-action:focus-visible { outline:2px solid var(--palette-3); outline-offset:-4px; }
.website-presentation .service-info-button { position:absolute; top:0; right:0; z-index:3; display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; border-radius:0; background:transparent; color:var(--palette-2); box-shadow:none; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.website-presentation .service-info-button svg { width:20px; height:20px; filter:drop-shadow(0 1px 2px var(--palette-1)); }
.website-presentation .service-info-button:focus-visible { outline:2px solid var(--palette-3); outline-offset:-4px; }
.website-presentation [data-section-frame] .service-option-card h3 { font:500 1.125rem/1.3 var(--site-heading-font); color:var(--service-ink); margin:0 0 auto; padding:12px 10px 6px; overflow-wrap:anywhere; text-wrap:pretty; }
.website-presentation [data-section-frame] .service-option-card .service-card-prices { display:grid; gap:2px; margin:0 10px 4px; padding:0; color:var(--service-ink); font:500 var(--service-price-size,.8125rem)/1.35 var(--site-body-font); }
.website-presentation .service-card-prices > div { display:flex; align-items:baseline; justify-content:space-between; gap:8px; }
.website-presentation .service-card-prices dt { min-width:0; margin:0; overflow-wrap:anywhere; }
.website-presentation .service-card-prices dd { flex:none; margin:0; font-weight:650; white-space:nowrap; }
.website-presentation [data-section-frame] .service-option-card .service-book { display:flex; align-items:center; justify-content:center; min-height:44px; width:auto; margin:0 8px; padding:8px 4px; border:0; border-radius:10px; background:var(--service-cta); color:var(--service-cta-ink); font:650 .875rem/1.25 var(--site-body-font); text-align:center; white-space:normal; }
.website-presentation .service-option-card:has(:focus-visible) { outline:2px solid var(--palette-3); outline-offset:3px; }

.website-presentation[data-template-family=editorial] [data-section-frame=services] > section { background:var(--palette-4); }
.website-presentation[data-template-family=editorial] .service-option-grid {
  --service-surface:var(--palette-2); --service-ink:var(--palette-text-2);
  --service-rule:color-mix(in srgb,var(--palette-1) 12%,transparent);
  --service-cta:var(--palette-1); --service-cta-ink:var(--palette-text-1);
}
.website-presentation[data-template-family=editorial] [data-section-frame] .service-option-card { border-radius:14px; box-shadow:0 3px 9px color-mix(in srgb,var(--palette-1) 6%,transparent); }
.website-presentation[data-template-family=editorial] [data-section-frame] .service-option-card h3 { font-size:1rem; font-weight:650; letter-spacing:-.02em; }
.website-presentation[data-template-family=editorial] .header { background:var(--palette-2); color:var(--palette-text-2); border-bottom:1px solid color-mix(in srgb,var(--palette-1) 15%,transparent); }
.website-presentation[data-template-family=editorial] .header :is(a,span) { color:inherit; }
.website-presentation .home-hero [data-rich-template=h1] { line-height:1.08; text-wrap:balance; }
.website-presentation .service-group-filters { position:relative; isolation:isolate; display:flex; align-items:center; gap:2px; overflow-x:auto; padding:4px; margin:18px 0 22px; border:1px solid color-mix(in srgb,var(--palette-1) 18%,transparent); border-radius:16px; scrollbar-width:none; width:fit-content; max-width:100%; }
.website-presentation .service-group-filters::-webkit-scrollbar { display:none; }
.website-presentation .service-group-filters button { position:relative; z-index:1; flex:0 0 auto; min-height:42px; border:0; border-radius:12px; padding:8px 12px; background:transparent; color:var(--palette-1); font:550 .8125rem/1.25 var(--site-body-font); transition:color .18s; }
.website-presentation .service-group-filters button[aria-pressed=true] { background:transparent; color:var(--palette-text-1); }
.service-filter-indicator { position:absolute; z-index:0; left:0; top:0; width:var(--filter-width); height:var(--filter-height); transform:translate(var(--filter-x),var(--filter-y)); border-radius:12px; background:var(--palette-1); transition:transform .24s cubic-bezier(.22,.8,.3,1),width .24s cubic-bezier(.22,.8,.3,1); pointer-events:none; }
.rolling-value-visual { display:inline-flex; align-items:baseline; white-space:pre; vertical-align:bottom; font-variant-numeric:tabular-nums; }
.digit-window { position:relative; display:inline-block; height:1.25em; width:.56em; overflow:hidden; vertical-align:bottom; mask-image:linear-gradient(transparent,black 12%,black 88%,transparent); }
.digit-reel { display:flex; flex-direction:column; transform:translateY(calc(var(--digit-offset) * -1.25em)); transition:transform .32s cubic-bezier(.2,.85,.25,1); }
.digit-reel > span { display:block; flex:0 0 1.25em; height:1.25em; line-height:1.25; text-align:center; }
.visually-hidden { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip-path:inset(50%)!important; white-space:nowrap!important; border:0!important; }
@media(max-width:359px) {
  .website-presentation { --site-inset:1rem; }
  .website-presentation .service-option-grid { gap:12px 8px; }
  .website-presentation [data-section-frame] .service-option-card h3 { font-size:1rem; padding:10px 8px 6px; }
  .website-presentation[data-template-family=editorial] [data-section-frame] .service-option-card h3 { font-size:.875rem; }
  .website-presentation [data-section-frame] .service-option-card .service-card-prices { font-size:var(--service-price-size,.75rem); margin-inline:8px; }
  .website-presentation [data-section-frame] .service-option-card .service-book { margin-inline:6px; }
}
@media(min-width:768px) {
  .website-presentation .service-option-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
  .website-presentation .service-group-filters { overflow:visible; }
  .website-presentation [data-section-frame] .service-option-card h3 { font-size:1.5rem; padding:16px 16px 6px; }
  .website-presentation[data-template-family=editorial] [data-section-frame] .service-option-card h3 { font-size:1.125rem; }
  .website-presentation [data-section-frame] .service-option-card .service-card-prices { margin:0 16px 8px; font-size:.9375rem; }
  .website-presentation [data-section-frame] .service-option-card .service-book { margin:0 16px; min-height:46px; font-size:1rem; }
}
@media(prefers-reduced-motion:reduce) { .digit-reel,.service-filter-indicator { transition:none; } }


.website-presentation[data-template-family=editorial] .header nav,
.website-presentation[data-template-family=editorial] .header nav a { color:var(--palette-1); }
.website-presentation[data-template-family=editorial] .header a.nav-book { background:var(--palette-1); color:var(--palette-text-1); border-color:var(--palette-1); }


/* Image-only brand marks keep their complete proportions on their authored surface. */
.website-presentation .header .brand[data-brand-image-only] > [data-image-slot] { width:144px; max-width:144px; height:136px; object-fit:contain; flex:none; }
.website-presentation .desktop-footer .footer-brand[data-brand-image-only] > [data-image-slot] { width:176px; height:166px; object-fit:contain; }
.website-presentation .header[data-global-palette] .desktop-nav,
.website-presentation .header[data-global-palette] .desktop-nav a,
.website-presentation .header[data-global-palette] .header-call { color:var(--section-text); }
.website-presentation .header[data-global-palette] .desktop-nav a.nav-book { background:var(--palette-1); color:var(--palette-text-1); }
.website-presentation .header[data-global-palette] .nav-book span { color:inherit; }
.website-presentation [data-section-frame][data-background-mode=image][data-background-tone=light] > .home-hero {
  --hero-overlay-start:color-mix(in srgb,var(--section-background) 98%,transparent);
  --hero-overlay-middle:color-mix(in srgb,var(--section-background) 82%,transparent);
  --hero-text:var(--section-text); color:var(--section-text);
}
.website-presentation [data-section-frame][data-background-mode=image][data-background-tone=light] > .home-hero::after { background:linear-gradient(90deg,var(--hero-overlay-start),var(--hero-overlay-middle) 48%,transparent 100%); }
.website-presentation [data-section-frame][data-background-mode=image][data-background-tone=light] > .home-hero :is(h1,[data-rich-template=h1],p,[data-rich-template=p],.eyebrow) { color:var(--section-text); }
.website-presentation [data-section-frame][data-background-mode=image][data-background-tone=light] > .home-hero .button { background:var(--palette-2); color:var(--palette-1); border-color:var(--palette-1); }
@media(max-width:767px) {
 .website-presentation .header:has(.brand[data-brand-image-only]) { padding-block:8px; }
 .website-presentation .header .brand[data-brand-image-only] > [data-image-slot] { width:144px; height:136px; }
 .website-presentation [data-section-frame][data-background-mode=image][data-background-tone=light] > .home-hero::after { background:linear-gradient(90deg,var(--hero-overlay-start),color-mix(in srgb,var(--section-background) 94%,transparent) 62%,color-mix(in srgb,var(--section-background) 82%,transparent)); }
}

/* Whole-page compositions a presentation profile can opt into. Profiles without
 * `composition` keep the family layout above. Nothing here is tenant-specific. */

/* centered: the brand mark leads on a quiet ground, a clear photograph follows,
 * and the introduction sits on a colour band instead of over the picture. */
.website-presentation[data-composition="centered"] .header { flex-direction:column; justify-content:center; align-items:center; gap:0; height:auto; min-height:0; padding:14px var(--site-inset) 12px; background:var(--palette-2); color:var(--palette-text-2); border-bottom:0; }
.website-presentation[data-composition="centered"] .header .brand { margin:0 auto; justify-content:center; text-align:center; max-width:none; }
.website-presentation[data-composition="centered"] .header .brand[data-brand-image-only] > [data-image-slot] { width:min(54vw,212px); max-width:none; height:auto; max-height:none; aspect-ratio:var(--media-natural-ratio,1); }
.website-presentation[data-composition="centered"] .header .brand:not([data-brand-image-only]) { flex-direction:column; font-size:1.625rem; color:var(--palette-1); }
.website-presentation[data-composition="centered"] .header .header-call { display:none; }
.website-presentation[data-composition="centered"] [data-section-frame][data-background-mode] > section.home-hero { display:flex; flex-direction:column; align-items:stretch; min-height:0; overflow:visible; background:var(--section-background); }
.website-presentation[data-composition="centered"] [data-section-frame][data-background-mode] > section.home-hero::after { content:none; }
.website-presentation[data-composition="centered"] [data-section-frame][data-background-mode] > section.home-hero > [data-image-slot] { position:relative; inset:auto; z-index:0; width:100%; height:auto; aspect-ratio:3/2; }
.website-presentation[data-composition="centered"] [data-section-frame][data-background-mode] > section.home-hero .hero-content { max-width:none; margin:0; padding:28px var(--site-inset) 34px; text-align:center; background:var(--section-background); color:var(--section-text); }
.website-presentation[data-composition="centered"] [data-section-frame][data-background-mode] > section.home-hero .hero-content :is(p,[data-rich-template=p]):not(.eyebrow) { max-width:34rem; margin-inline:auto; font-size:1rem; }
.website-presentation[data-composition="centered"] [data-section-frame][data-background-mode] > section.home-hero .button { margin-top:6px; min-height:48px; padding:12px 28px; border:1.5px solid var(--palette-1); border-radius:2px; background:var(--palette-2); color:var(--palette-1); font-weight:600; letter-spacing:.08em; text-transform:uppercase; }
.website-presentation[data-composition="centered"] [data-section-frame="about"] .prose-copy { margin-inline:auto; text-align:center; }
.website-presentation[data-composition="centered"] [data-section-frame="about"] .prose-copy :is(p,[data-rich-template=p]):not(.eyebrow) { margin-inline:auto; }
.website-presentation[data-composition="centered"] :is(.service-section-title,[data-site-section="Gallery"] .section-title,.contact > .rich-text-group) { text-align:center; }
.website-presentation[data-composition="centered"] .service-group-filters { margin-inline:auto; }
.website-presentation[data-composition="centered"] [data-section-frame="services"] > section { background:transparent; }
.website-presentation[data-composition="centered"] .service-option-grid {
  --service-surface:color-mix(in srgb,var(--palette-2) 92%,var(--palette-4)); --service-ink:var(--palette-1);
  --service-rule:transparent;
  --service-cta:var(--palette-3); --service-cta-ink:var(--palette-1);
}
.website-presentation[data-composition="centered"] [data-section-frame] .service-option-card { border-radius:10px; box-shadow:0 6px 16px color-mix(in srgb,var(--palette-1) 10%,transparent); }
@media (min-width:1024px) {
  .website-presentation[data-composition="centered"] .header { padding:18px var(--site-edge) 0; }
  .website-presentation[data-composition="centered"] .header { padding-top:14px; }
  .website-presentation[data-composition="centered"] .header .brand[data-brand-image-only] > [data-image-slot] { width:150px; }
  .website-presentation[data-composition="centered"] .header .desktop-nav { margin-top:6px; padding:10px 0; }
  .website-presentation[data-composition="centered"] .header .desktop-nav { display:flex; justify-content:center; gap:36px; width:100%; margin-top:10px; padding:14px 0; border-top:1px solid color-mix(in srgb,var(--palette-3) 55%,transparent); color:var(--palette-1); }
  .website-presentation[data-composition="centered"] .header .desktop-nav a { color:var(--palette-1); }
  .website-presentation[data-composition="centered"] .header .desktop-nav a.nav-book { background:var(--palette-3); color:var(--palette-1); border-radius:2px; padding:8px 22px; }
}

@media (min-width:768px) {
  .website-presentation[data-composition="centered"] [data-section-frame][data-background-mode] > section.home-hero > [data-image-slot] { aspect-ratio:auto; height:clamp(300px,28vw,420px); }
  .website-presentation[data-composition="centered"] [data-section-frame][data-background-mode] > section.home-hero .hero-content { position:relative; z-index:1; width:min(46rem,calc(100% - 2 * var(--site-inset))); margin:-110px auto 0; padding:40px 56px 44px; box-shadow:0 18px 40px color-mix(in srgb,var(--palette-1) 18%,transparent); }
  .website-presentation[data-composition="centered"] [data-section-frame][data-background-mode] > section.home-hero .hero-content > * { max-width:none; }
  .website-presentation[data-composition="centered"] [data-section-frame="hero"] { padding-bottom:8px; background:var(--palette-2); }
  .website-presentation[data-composition="centered"] [data-section-frame][data-background-mode] > section.home-hero { background:var(--palette-2); }
}
/* A cover is only active when an image hero actually leads the page. The masthead
 * stays in normal flow when owners hide, move or remove that hero. */
.website-presentation[data-immersive-cover] { display:grid; grid-template-columns:minmax(0,1fr); }
.website-presentation[data-immersive-cover] > .header { grid-column:1; grid-row:1; align-self:start; position:relative; z-index:2; padding:18px var(--site-inset); background:transparent; }
.website-presentation[data-immersive-cover] > main { grid-column:1; grid-row:1; min-width:0; }
.website-presentation[data-immersive-cover] .header .brand { padding:8px 14px; background:var(--palette-2); box-shadow:0 4px 24px color-mix(in srgb,var(--palette-1) 10%,transparent); }
.website-presentation[data-immersive-cover] .header .brand[data-brand-image-only] > [data-image-slot] { width:clamp(140px,40vw,164px); }
.website-presentation[data-immersive-cover] [data-section-frame="hero"] { padding-bottom:0; }
.website-presentation[data-immersive-cover] [data-section-frame][data-background-mode] > section.home-hero {
  position:relative; isolation:isolate; justify-content:flex-end; min-height:calc(100svh - 72px);
  padding-top:clamp(240px,36svh,340px); overflow:hidden; background:var(--palette-2);
}
.website-presentation[data-immersive-cover] [data-section-frame][data-background-mode] > section.home-hero > [data-image-slot] { position:absolute; inset:0; width:100%; height:100%; aspect-ratio:auto; z-index:-2; }
.website-presentation[data-immersive-cover] [data-section-frame][data-background-mode] > section.home-hero::after {
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(180deg,color-mix(in srgb,var(--palette-1) 14%,transparent),transparent 26%,color-mix(in srgb,var(--palette-1) 4%,transparent) 42%,color-mix(in srgb,var(--palette-1) 94%,transparent));
}
/* WEB-019: the image's bottom edge — where it meets the next section — fades into
 * the page surface instead of cutting off on a near-solid dark scrim. */
.website-presentation[data-immersive-cover] [data-section-frame][data-background-mode] > section.home-hero::before {
  content:""; position:absolute; z-index:0; pointer-events:none; inset:auto 0 0 0; height:112px;
  background:linear-gradient(180deg,transparent 0%,color-mix(in srgb,var(--palette-2) 18%,transparent) 35%,color-mix(in srgb,var(--palette-2) 60%,transparent) 65%,var(--palette-2) 100%);
}
.website-presentation[data-immersive-cover] [data-section-frame][data-background-mode] > section.home-hero .hero-content {
  position:relative; z-index:0; width:100%; max-width:none; margin:0; padding:32px var(--site-inset) 40px;
  background:transparent; box-shadow:none; color:var(--palette-text-1); text-align:center;
}
.website-presentation[data-immersive-cover] [data-section-frame][data-background-mode] > section.home-hero .hero-content :is(h1,[data-rich-template="h1"],p,[data-rich-template="p"],.eyebrow) { color:inherit; }
.website-presentation[data-immersive-cover] [data-section-frame][data-background-mode] > section.home-hero .hero-content :is(h1,[data-rich-template="h1"]) { font-size:clamp(2rem,8vw,3rem); line-height:1.05; text-wrap:balance; max-width:14ch; margin-inline:auto; }
.website-presentation[data-immersive-cover] [data-section-frame][data-background-mode] > section.home-hero .hero-content :is(p,[data-rich-template="p"]):not(.eyebrow) { max-width:30rem; font-size:.9375rem; line-height:1.55; }
.website-presentation[data-immersive-cover] [data-section-frame][data-background-mode] > section.home-hero .button { background:var(--palette-3); color:var(--palette-text-3); border-color:var(--palette-3); margin-top:8px; text-transform:none; letter-spacing:0; }
@media (min-width:768px) {
  .website-presentation[data-immersive-cover] [data-section-frame][data-background-mode] > section.home-hero { min-height:calc(100svh - 72px); }
  .website-presentation[data-immersive-cover] [data-section-frame][data-background-mode] > section.home-hero .hero-content { padding:48px var(--site-edge); }
  .website-presentation[data-immersive-cover] [data-section-frame][data-background-mode] > section.home-hero .hero-content :is(h1,[data-rich-template="h1"]) { font-size:clamp(3rem,5vw,4.5rem); }
  .website-presentation[data-immersive-cover] [data-section-frame][data-background-mode] > section.home-hero .hero-content :is(p,[data-rich-template="p"]):not(.eyebrow) { font-size:1.0625rem; }
}
@media (min-width:1024px) {
  .website-presentation[data-immersive-cover] > .header { flex-direction:row; justify-content:space-between; align-items:flex-start; gap:32px; padding:24px var(--site-edge); }
  .website-presentation[data-immersive-cover] .header .brand { margin:0; flex:none; }
  .website-presentation[data-immersive-cover] .header .brand[data-brand-image-only] > [data-image-slot] { width:148px; }
  .website-presentation[data-immersive-cover] .header .desktop-nav { width:auto; margin:0; padding:12px 18px; gap:24px; border:0; background:color-mix(in srgb,var(--palette-1) 88%,transparent); }
  .website-presentation[data-immersive-cover] .header .desktop-nav a { color:var(--palette-text-1); }
  .website-presentation[data-immersive-cover] .header .desktop-nav a.nav-book { background:var(--palette-3); color:var(--palette-text-3); }
  .website-presentation[data-immersive-cover] [data-section-frame][data-background-mode] > section.home-hero { min-height:100svh; }
  .website-presentation[data-immersive-cover] [data-section-frame][data-background-mode] > section.home-hero::after { background:linear-gradient(90deg,color-mix(in srgb,var(--palette-1) 88%,transparent),color-mix(in srgb,var(--palette-1) 10%,transparent) 70%),linear-gradient(0deg,color-mix(in srgb,var(--palette-1) 30%,transparent),transparent 60%); }
  .website-presentation[data-immersive-cover] [data-section-frame][data-background-mode] > section.home-hero .hero-content { text-align:left; padding-bottom:64px; }
  .website-presentation[data-immersive-cover] [data-section-frame][data-background-mode] > section.home-hero .hero-content :is(h1,[data-rich-template="h1"],p,[data-rich-template="p"]):not(.eyebrow) { margin-inline:0; }
}
@media (max-width:1023px) and (max-height:700px) {
  .website-presentation[data-immersive-cover] > .header { padding-block:10px; }
  .website-presentation[data-immersive-cover] .header .brand[data-brand-image-only] > [data-image-slot] { width:132px; }
  .website-presentation[data-immersive-cover] [data-section-frame][data-background-mode] > section.home-hero { padding-top:190px; }
  .website-presentation[data-immersive-cover] [data-section-frame][data-background-mode] > section.home-hero .hero-content { padding:22px var(--site-inset) 24px; }
  .website-presentation[data-immersive-cover] [data-section-frame][data-background-mode] > section.home-hero .hero-content :is(h1,[data-rich-template="h1"]) { font-size:1.875rem; }
  .website-presentation[data-immersive-cover] [data-section-frame][data-background-mode] > section.home-hero .hero-content :is(p,[data-rich-template="p"]):not(.eyebrow) { font-size:.875rem; line-height:1.5; }
}
.website-presentation[data-composition="centered"] .desktop-footer { text-align:center; justify-items:center; }
.website-presentation[data-composition="centered"] .desktop-footer .footer-links { justify-items:center; justify-content:center; }
.website-presentation[data-composition="centered"] :is(.contact .contact-actions,.contact .directions) { justify-content:center; }
.website-presentation[data-composition="centered"] .contact > .directions { display:flex; justify-self:center; margin-inline:auto; width:fit-content; }
.website-presentation[data-composition="centered"] .contact .contact-details { justify-content:center; }
.website-presentation[data-composition="centered"] .desktop-footer .footer-brand { justify-content:center; }

/* rail: the logo sits with the shop's address and phone. Phones read it as one brand
 * block; mid widths add the navigation; wide screens keep brand, contact and
 * navigation in a side rail beside the content. Cards lead with text, contact splits. */
.website-presentation[data-composition="rail"] .header { display:grid; grid-template-columns:minmax(0,auto) minmax(0,1fr); align-items:center; column-gap:16px; height:auto; min-height:0; padding:12px var(--site-inset); background:var(--palette-2); color:var(--palette-text-2); border-bottom:3px solid var(--palette-3); }
.website-presentation[data-composition="rail"] .header .brand[data-brand-image-only] > [data-image-slot] { width:min(40vw,152px); max-width:none; height:auto; aspect-ratio:var(--media-natural-ratio,1); }
.website-presentation[data-composition="rail"] .header .brand:not([data-brand-image-only]) { color:var(--palette-1); }
.website-presentation[data-composition="rail"] .header .header-call { display:none; }
.website-presentation[data-composition="rail"] .masthead-contact { display:flex; flex-direction:column; align-items:flex-start; gap:8px; min-width:0; padding-left:16px; border-left:1px solid color-mix(in srgb,var(--palette-1) 18%,transparent); color:var(--palette-1); font:500 .875rem/1.4 var(--site-body-font); }
.website-presentation[data-composition="rail"] .masthead-contact > a { display:inline-flex; align-items:center; min-height:40px; padding:0 14px; border-radius:999px; background:var(--palette-1); color:var(--palette-text-1); font-weight:650; white-space:nowrap; }
.website-presentation[data-composition="rail"] .header .brand:not([data-brand-image-only]) { min-width:0; overflow-wrap:anywhere; }
@media (max-width:767px) { .website-presentation[data-composition="rail"] .header:has(.brand:not([data-brand-image-only])) .masthead-contact { grid-column:1 / -1; flex-direction:row; flex-wrap:wrap; align-items:center; column-gap:12px; margin-top:10px; padding:10px 0 0; border-left:0; border-top:1px solid color-mix(in srgb,var(--palette-1) 15%,transparent); } }
.website-presentation[data-composition="rail"] [data-section-frame] .service-option-card > .service-option-content > * { align-self:stretch; }
.website-presentation[data-composition="rail"] [data-section-frame="hero"] .standard-split .standard-copy { border-left:4px solid var(--palette-3); padding-left:16px; }
.website-presentation[data-composition="rail"] [data-section-frame] .service-option-card h3 { text-align:left; }
@media (max-width:359px) {
  .website-presentation[data-composition="rail"] .header { column-gap:10px; }
  .website-presentation[data-composition="rail"] .masthead-contact { padding-left:10px; font-size:.8125rem; }
  .website-presentation[data-composition="rail"] .masthead-contact > a { padding:0 10px; }
}
@media (min-width:768px) {
  .website-presentation[data-composition="rail"] .header { grid-template-columns:auto minmax(0,1fr) auto; }
  .website-presentation[data-composition="rail"] .header .brand[data-brand-image-only] > [data-image-slot] { width:132px; }
  .website-presentation[data-composition="rail"] .header .desktop-nav { display:flex; align-items:center; justify-content:flex-end; gap:18px; grid-column:3; font-size:.9375rem; white-space:nowrap; }
  .website-presentation[data-composition="rail"] .header .desktop-nav a { color:var(--palette-1); }
  .website-presentation[data-composition="rail"] .header .desktop-nav a.nav-book { padding:10px 18px; border-radius:999px; background:var(--palette-1); color:var(--palette-text-1); }
  .website-presentation[data-composition="rail"] .header .desktop-nav svg { display:none; }
  .website-presentation[data-composition="rail"] .contact { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); column-gap:32px; align-content:start; }
  .website-presentation[data-composition="rail"] .contact > * { grid-column:1; min-width:0; }
  .website-presentation[data-composition="rail"] .contact > :is(.editable-map,.section-map-empty) { grid-column:2; grid-row:1 / span 3; align-self:stretch; }
  .website-presentation[data-composition="rail"] .contact > :is(.editable-map,.section-map-empty) iframe { height:100%; min-height:20rem; }
  .website-presentation[data-composition="rail"] .contact > .directions { grid-column:2; }
  .website-presentation[data-composition="rail"] .contact .contact-details { display:grid; grid-template-columns:minmax(0,1fr); gap:1rem; }
}
@media (min-width:768px) and (max-width:1023px) {
  .website-presentation[data-composition="rail"] .masthead-contact { font-size:.8125rem; }
  .website-presentation[data-composition="rail"] .masthead-contact > span { display:none; }
  .website-presentation[data-composition="rail"] .header .desktop-nav a:not(.nav-book):nth-child(3) { display:none; }
}
@media (min-width:1200px) {
  :has(> .website-presentation[data-composition="rail"]) { display:grid; grid-template-columns:clamp(260px,22vw,320px) minmax(0,1fr); align-items:start; }
  .website-presentation[data-composition="rail"] { --site-edge:var(--site-inset); }
  .website-presentation[data-composition="rail"] > .header { grid-column:1; grid-row:1 / span 2; position:sticky; top:0; height:100vh; display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:24px; padding:36px 28px; border-bottom:0; border-right:3px solid var(--palette-3); overflow:auto; }
  .website-presentation[data-composition="rail"] > .header .brand { justify-content:center; }
  .website-presentation[data-composition="rail"] > .header .brand[data-brand-image-only] > [data-image-slot] { width:100%; max-width:220px; margin-inline:auto; }
  .website-presentation[data-composition="rail"] > .header .masthead-contact { padding:16px 0 0; border-left:0; border-top:1px solid color-mix(in srgb,var(--palette-1) 15%,transparent); }
  .website-presentation[data-composition="rail"] > .header .desktop-nav { flex-direction:column; align-items:stretch; gap:2px; white-space:normal; }
  .website-presentation[data-composition="rail"] > .header .desktop-nav a { padding:10px 12px; border-radius:10px; font-size:1rem; }
  .website-presentation[data-composition="rail"] > .header .desktop-nav a:not(.nav-book):hover { background:color-mix(in srgb,var(--palette-4) 70%,transparent); }
  .website-presentation[data-composition="rail"] > .header .desktop-nav a.nav-book { margin-top:12px; text-align:center; }
  .website-presentation[data-composition="rail"] > main,
  .website-presentation[data-composition="rail"] > .desktop-footer { grid-column:2; min-width:0; margin:0; }
  .website-presentation[data-composition="rail"] > .desktop-footer { width:auto; }
  .website-presentation[data-composition="rail"] .service-option-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
}

/* Phones with a booking action in the bottom bar: service cards keep duration, price
 * and details, and leave booking to that one bar. Desktop keeps the card action. */
@media (max-width:1023px) {
  .website-presentation[data-mobile-booking-bar] [data-section-frame] .service-option-card .service-book { display:none; }
}

.hero-layout-page { display:contents; }
/* Approved section-level Hero. Legacy compositions keep their existing selectors. */

:has(> .website-presentation[data-hero-layout]) { display:block; }
:is(.website-presentation,.hero-layout-page)[data-hero-layout] > main,
:is(.website-presentation,.hero-layout-page)[data-hero-layout] > .desktop-footer { grid-column:auto; }
:is(.website-presentation,.hero-layout-page)[data-hero-layout] .bottom-nav { display:flex; }
body:has(:is(.website-presentation,.hero-layout-page)[data-hero-layout]) { padding-bottom:calc(var(--nav) + env(safe-area-inset-bottom)); }
[data-hero-frame] { position:relative; }
[data-section-frame] > .sabai-hero,
.sabai-hero {
  --hero-paper:color-mix(in srgb,var(--palette-2) 80%,var(--palette-4));
  --hero-ink:var(--palette-1);
  --hero-title-size:var(--text-xxl);
  --hero-heading-font:var(--site-heading-font);
  --hero-body-font:var(--site-body-font);
  box-sizing:border-box; position:relative; isolation:isolate; width:100%; margin:0;
  min-height:530px; padding:24px 0 0; overflow:hidden; display:flex; flex-direction:column;
  color:var(--hero-ink); background:var(--hero-paper); font-family:var(--hero-body-font);
}
.sabai-hero .sabai-hero-brand { display:block; flex:none; position:relative; z-index:2; width:102px; aspect-ratio:var(--media-natural-ratio,1.054); height:auto; object-fit:contain; margin:6px 25px 0; }
.sabai-hero .sabai-hero-brand-name { position:relative; z-index:2; margin:6px 25px 0; font:24px/1.2 var(--hero-heading-font); overflow-wrap:anywhere; }
.sabai-hero .sabai-hero-photo { aspect-ratio:auto; display:block; position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; }
.sabai-hero .sabai-hero-copy { position:relative; z-index:1; min-width:0; padding:0 24px; }
.sabai-hero .rich-text-group { display:block; font:var(--text-s)/1.6 var(--hero-body-font); text-align:inherit; }
.sabai-hero .rich-text-group :is([data-rich-paragraph],p) { display:block; margin:0; padding:0; color:inherit; font:inherit; letter-spacing:normal; text-transform:none; white-space:pre-wrap; overflow-wrap:anywhere; }
.sabai-hero .rich-text-group :is([data-rich-template="h1"],[data-rich-template="h2"],h1,h2) { font:400 var(--hero-title-size)/1.02 var(--hero-heading-font); letter-spacing:-1.8px; color:inherit; margin:0 0 15px; max-width:none; }
.sabai-hero .sabai-hero-location { position:relative; z-index:1; margin:16px 0 0; font:var(--text-xs)/1.4 var(--hero-body-font); color:inherit; }
.sabai-hero-location .rich-text-slot :is([data-rich-paragraph],p) { font:inherit; color:inherit; margin:0; }
.sabai-hero-location [contenteditable="true"] { display:block; min-height:16px; }
.sabai-hero[data-hero-layout="blend"] { --hero-title-size:var(--text-xl); min-height:370px; padding-top:22px; }
.sabai-hero[data-hero-layout="blend"]::after { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:linear-gradient(90deg,var(--hero-paper) 12%,transparent 100%); }
.sabai-hero[data-hero-layout="blend"] .sabai-hero-brand { width:88px; margin:0 20px; }
.sabai-hero[data-hero-layout="blend"] .sabai-hero-copy { margin-top:44px; padding:0 20px 25px; max-width:280px; }
.sabai-hero[data-hero-layout="blend"] .rich-text-group { font-size:var(--text-s); line-height:1.6; }
.sabai-hero[data-hero-layout="blend"] .rich-text-group :is([data-rich-template="h1"],[data-rich-template="h2"],h1,h2) { line-height:1.04; letter-spacing:-1.2px; }
.sabai-hero[data-hero-layout="blend"] .sabai-hero-location { margin:0 0 12px; }
.sabai-hero[data-hero-layout="immersive"] { --hero-title-size:var(--text-xxl); color:var(--palette-2); background:var(--palette-1); text-align:center; display:grid; grid-template-rows:auto 1fr auto; padding:30px 20px 26px; gap:28px; min-height:530px; }
.sabai-hero[data-hero-layout="immersive"]::after { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:color-mix(in srgb,var(--palette-1) 25%,transparent); }
.sabai-hero[data-hero-layout="immersive"] .sabai-hero-brand { margin:0 auto; }
.sabai-hero[data-hero-layout="immersive"] .sabai-hero-brand-name { margin:0; }
.sabai-hero[data-hero-layout="immersive"] .sabai-hero-copy { align-self:center; width:100%; padding:0; max-width:480px; margin:0 auto; }
.sabai-hero[data-hero-layout="immersive"] .sabai-hero-location { margin:0; }
.sabai-hero[data-hero-layout="immersive"] .rich-text-group :is([data-rich-template="h1"],[data-rich-template="h2"],h1,h2) { margin-bottom:20px; }
.sabai-hero[data-hero-layout="editorial"] .sabai-hero-brand { width:70px; margin:0 24px 22px; }
.sabai-hero[data-hero-layout="editorial"] .sabai-hero-brand-name { margin:0 24px 22px; }
.sabai-hero[data-hero-layout="editorial"] .sabai-hero-photo { order:3; position:relative; inset:auto; flex:1; z-index:0; width:100%; min-height:204px; height:204px; margin-top:28px; border-radius:0; }
@media(min-width:768px) {
  .sabai-hero[data-hero-layout] { --hero-title-size:var(--text-xxl); min-height:620px; }
  .sabai-hero[data-hero-layout="blend"] { min-height:460px; }
  .sabai-hero[data-hero-layout="blend"] .sabai-hero-copy { max-width:600px; margin-top:74px; padding-inline:clamp(32px,6vw,96px); }
  .sabai-hero[data-hero-layout="blend"] .sabai-hero-brand { margin-left:clamp(32px,6vw,96px); }
  .sabai-hero[data-hero-layout="editorial"] { display:grid; grid-template-columns:1fr 1fr; grid-template-rows:auto 1fr; gap:28px 0; padding:48px 0 0; }
  .sabai-hero[data-hero-layout="editorial"] .sabai-hero-brand,
  .sabai-hero[data-hero-layout="editorial"] .sabai-hero-brand-name { grid-column:1; margin:0 48px; }
  .sabai-hero[data-hero-layout="editorial"] .sabai-hero-copy { grid-column:1; padding:0 48px 48px; align-self:center; }
  .sabai-hero[data-hero-layout="editorial"] .sabai-hero-photo { position:absolute; inset:0 0 0 50%; width:50%; min-height:0; height:100%; margin:0; }
}

.website-presentation[data-composition] .sabai-hero[data-hero-layout="immersive"]::before {
  content:""; position:absolute; inset:auto 0 0; height:104px; z-index:0; pointer-events:none;
  background:linear-gradient(180deg,transparent,var(--palette-2) 78%);
}
.website-presentation[data-composition] .sabai-hero[data-hero-layout="immersive"] .sabai-hero-location { color:var(--palette-text-2); }

/* WEB-019: the Hero's own "paper" ground matches the page surface exactly (no
 * tinted band), and every layout's photo fades into that surface at the edges
 * that meet content instead of cutting off hard. Scoped to composition docs. */
.website-presentation[data-composition] .sabai-hero { --hero-paper: var(--palette-2); }
.website-presentation[data-composition] .sabai-hero[data-hero-layout="blend"]::after {
  background:
    linear-gradient(180deg, transparent 72%, var(--hero-paper) 100%),
    linear-gradient(90deg, var(--hero-paper) 8%, transparent 60%);
}
/* Fade sits above the editorial photo, whose own stacking level is zero. */
.website-presentation[data-composition] .sabai-hero[data-hero-layout="editorial"]::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 85%, var(--hero-paper) 100%);
}

.service-dialog .service-row > .service-detail-media {
  position: relative;
  flex: none;
  width: 100%;
  min-height: 0;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: none;
  overflow: hidden;
}
.service-detail-media video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--service-media-position, center);
}
.service-detail-media-action {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.service-dialog .service-detail-media-action:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: -4px;
}
@media (min-width: 1024px) {
  .service-dialog .service-row > .service-detail-media {
    grid-column: 1;
    grid-row: 1 / 4;
    position: sticky;
    top: 0;
    align-self: start;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: none;
  }
}

.website-presentation [data-section-frame] .service-option-card[data-selected=true] {
  border-color:var(--palette-3);
  box-shadow:0 0 0 2px var(--palette-3);
  background:color-mix(in srgb,var(--palette-3) 10%,var(--service-surface));
}
.website-presentation [data-section-frame] .service-option-card[data-pressed=true] { transform:scale(.985); }
@media(prefers-reduced-motion:reduce) {
  .website-presentation [data-section-frame] .service-option-card { transition:none; }
  .website-presentation [data-section-frame] .service-option-card[data-pressed=true] { transform:none; }
}

.service-option-media .service-crop-slot,
.service-detail-media .service-crop-slot { position:absolute; display:block; inset:0; width:100%; height:100%; }
.service-detail-media[data-frame-ready=true] .service-video-poster { opacity:0; }
.image-sequence-controls { position:absolute; z-index:4; bottom:8px; right:8px; display:flex; align-items:center; color:var(--cream); background:color-mix(in srgb,var(--ink) 80%,transparent); border-radius:24px; font:12px/1.2 var(--font-body,sans-serif); }
.image-sequence-controls button { display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; background:transparent; color:inherit; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.image-sequence-controls span { min-width:32px; text-align:center; }
.sabai-hero > .image-sequence-controls { bottom:16px; right:16px; }
.editor-canvas :is(.service-media-action,.service-info-button) { pointer-events:none; }

.service-row > .service-detail-media { position:relative; overflow:hidden; }

.editor-canvas [data-media-hidden=true] [data-slot-pixels] { opacity:.35; }

/* Gallery variants */
[data-section-layout="carousel-clean"] .gallery-grid {
  display:flex; gap:1rem; overflow-x:auto; overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory; scrollbar-width:none; position:relative;
}
[data-section-layout="carousel-clean"] .gallery-grid > button {
  flex:0 0 clamp(9rem,55%,15rem); width:auto; grid-column:auto; scroll-snap-align:start;
  display:flex; flex-direction:column; background:transparent;
}
[data-section-layout="carousel-clean"] .gallery-grid button :is([data-image-slot],.collection-image-empty) {
  width:100%; height:14rem; aspect-ratio:auto; object-fit:contain;
}
[data-section-layout="carousel-clean"] .gallery-grid > button:only-child {
  flex:1 0 100%; width:100%; max-width:100%;
}
[data-section-layout="carousel-clean"] .gallery-grid > button:only-child [data-image-slot] {
  height:auto; aspect-ratio:var(--media-natural-ratio,2/1); max-height:70svh;
}
.website-presentation [data-section-layout="carousel-clean"] .gallery-grid > button { flex:0 0 auto; width:auto; }
.website-presentation [data-section-layout="carousel-clean"] .gallery-grid > button:first-child { margin-left:auto; }
.website-presentation [data-section-layout="carousel-clean"] .gallery-grid > button:last-child { margin-right:auto; }
.website-presentation [data-section-layout="carousel-clean"] .gallery-grid button [data-image-slot] { width:auto; height:15rem; aspect-ratio:var(--media-natural-ratio,3 / 4); }
:is([data-section-layout="continuous"],[data-section-layout="continuous-clean"]) .gallery-grid {
  display:block; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:none;
  scroll-behavior:auto; scroll-snap-type:none; position:relative;
}
.gallery-rail { display:flex; gap:1rem; width:max-content; position:relative; }
.gallery-rail[data-marquee-active] { will-change:transform; }
.gallery-grid:has(.gallery-rail)::-webkit-scrollbar { display:none; }
.gallery-grid .gallery-rail > button {
  flex:0 0 auto; width:auto; grid-column:auto; display:flex; flex-direction:column;
  background:transparent; scroll-snap-align:none;
}
.gallery-grid .gallery-rail > button :is([data-image-slot],.collection-image-empty) {
  width:auto; height:15rem; aspect-ratio:var(--media-natural-ratio,3 / 4); object-fit:contain;
}
.gallery-grid .gallery-rail:has(> button:only-child) { width:100%; justify-content:center; }
[data-section-layout="continuous-clean"] .gallery-open { display:none; }
@media(min-width:768px) {
  [data-section-layout="carousel-clean"] .gallery-grid > button { flex-basis:clamp(9rem,24%,15rem); }
  .website-presentation [data-section-layout="carousel-clean"] .gallery-grid > button { flex:0 0 auto; }
  .website-presentation[data-template-family="editorial"] [data-section-layout="carousel-clean"] .gallery-grid > button:first-child { margin-left:0; }
}
@media(min-width:1024px) {
  .website-presentation [data-section-layout="carousel-clean"] .gallery-grid button [data-image-slot],
  .gallery-grid .gallery-rail > button :is([data-image-slot],.collection-image-empty) { height:20rem; }
}
.gallery-grid .gallery-rail > button:only-child { flex:1 0 100%; width:100%; max-width:100%; }
.gallery-grid .gallery-rail > button:only-child [data-image-slot] { width:100%; height:auto; aspect-ratio:var(--media-natural-ratio,2 / 1); max-height:70svh; }

/* Reviews share manual browsing across their two presentations. */
.reviews-display { margin-top:1.25rem; min-width:0; }
.reviews-track { display:flex; gap:1.25rem; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; scrollbar-width:none; touch-action:pan-x pan-y pinch-zoom; align-items:stretch; }
.reviews-track::-webkit-scrollbar { display:none; }
.reviews-track:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
.reviews-track .review-entry { margin:0; min-width:0; flex:0 0 100%; scroll-snap-align:start; overflow-wrap:anywhere; }
.reviews-track [data-rich-template=blockquote] { display:block; font-size:var(--text-s); line-height:1.6; }
.reviews-track [data-rich-template=figcaption] { display:block; font-size:var(--text-xs); margin-top:1rem; }
.reviews-display-quote .reviews-track { max-width:42rem; margin-inline:auto; padding-bottom:.5rem; }
.reviews-display-quote .reviews-track .review-entry { flex-basis:88%; text-align:left; padding:1.25rem; border-radius:14px; background:color-mix(in srgb,var(--wine) 5%,var(--cream)); }
.reviews-display-cards .reviews-track .review-entry { flex-basis:86%; text-align:left; padding:1.25rem; border:1px solid var(--line); border-radius:.75rem; background:color-mix(in srgb,var(--wine) 4%,var(--cream)); }
.reviews-display-cards .reviews-track [data-rich-template=blockquote] { font-size:var(--text-s); }
.reviews-navigation { display:flex; align-items:center; justify-content:center; gap:1rem; margin-top:1rem; }
.reviews-arrows { display:flex; gap:.5rem; }
.reviews-arrows button { display:grid; place-items:center; width:2.75rem; min-height:2.75rem; border:1px solid currentColor; border-radius:50%; background:transparent; color:inherit; cursor:pointer; }
.reviews-arrows button:disabled { opacity:.35; }
.reviews-view-all { border:0; border-bottom:1px solid currentColor; border-radius:0; background:transparent; color:inherit; font:inherit; font-size:var(--text-xs); padding:.5rem 0; cursor:pointer; }
.reviews-dialog { --reviews-dialog-nav:calc(var(--nav) + env(safe-area-inset-bottom)); bottom:var(--reviews-dialog-nav); width:min(640px,calc(100% - 2rem)); max-width:calc(100% - 2rem); max-height:min(85svh,768px,calc(100svh - var(--reviews-dialog-nav) - 2rem)); margin:auto; padding:0; border:1px solid color-mix(in srgb,var(--wine) 16%,transparent); border-radius:1rem; background:var(--cream); color:var(--wine); overflow:hidden; }
.reviews-dialog[open] { display:flex; flex-direction:column; }
@media(min-width:1024px) { .reviews-dialog { --reviews-dialog-nav:0px; } :is(.website-presentation,.hero-layout-page)[data-hero-layout] .reviews-dialog { --reviews-dialog-nav:calc(var(--nav) + env(safe-area-inset-bottom)); } }
.reviews-dialog::backdrop { background:color-mix(in srgb,var(--wine) 45%,transparent); }
.reviews-dialog header { display:flex; flex:none; align-items:center; justify-content:space-between; gap:1rem; padding:.875rem 1rem; background:var(--cream); }
.reviews-display .reviews-dialog h2 { margin:0; font-size:24px; line-height:1.25; }
.reviews-dialog header button { flex:none; display:grid; place-items:center; width:44px; height:44px; border:0; background:transparent; color:inherit; cursor:pointer; }
.reviews-all-list { display:grid; gap:.75rem; min-height:0; overflow:auto; overscroll-behavior:contain; padding:0 1rem 4.5rem; }
.reviews-all-list .review-entry { margin:0; padding:1rem; min-width:0; text-align:left; border:1px solid color-mix(in srgb,var(--wine) 9%,transparent); border-radius:.75rem; background:color-mix(in srgb,var(--wine) 3%,var(--cream)); overflow-wrap:anywhere; }
.reviews-dialog .review-quote [data-rich-template] { margin:0; font-size:16px; line-height:1.6; }
.reviews-dialog .review-author { justify-content:space-between; gap:1rem; margin-top:.875rem; }
.reviews-dialog .review-author [data-rich-template] { margin:0; font-size:14px; line-height:1.45; font-weight:600; }
@media(min-width:768px) { .reviews-display-cards .reviews-track .review-entry { flex-basis:calc((100% - 1.25rem) / 2); } }
@media(min-width:1100px) { .reviews-display-cards .reviews-track .review-entry { flex-basis:calc((100% - 2.5rem) / 3); } }
@media(max-width:767px), (hover:none) { .reviews-arrows, .gallery-navigation { display:none; } }
.health-funds .health-funds-brand { display:block; width:10rem; max-width:100%; height:3.125rem; object-fit:contain; margin:0 0 1rem; }
.health-funds-directory, .health-fund-track { margin-top:1.5rem; }
.health-fund-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem 1.5rem; }
.health-fund { min-height:5rem; padding:.75rem; border:0; }
.health-fund img { display:block; width:100%; height:3.5rem; object-fit:contain; }
.health-fund-track .health-fund { flex-basis:10rem; }
.health-funds-more summary { width:fit-content; margin:1.5rem auto 0; padding:.5rem; text-align:center; text-underline-offset:.2em; }
.health-funds-more summary:hover { text-decoration:underline; }
@media(max-width:599px) {
  .health-fund-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem 1rem; }
  .health-fund-track .health-fund { flex-basis:8rem; }
}

/* Long service descriptions */
.service-long-description > .rich-text-slot {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.6;
}
.service-long-description .rich-text-slot > [data-rich-paragraph] + [data-rich-paragraph],
.service-long-description .rich-text-slot > [data-rich-list] + [data-rich-paragraph] {
  margin-top: .8em;
}
.service-long-description .rich-text-slot > [data-rich-list] {
  margin-block: .8em;
}

/* Contact and footer alternatives share the existing content and destinations. */
.website-presentation .contact[data-section-layout="split-map"] { display:grid; grid-template-columns:minmax(0,1fr); gap:1.5rem; }
.contact[data-section-layout="split-map"] > .rich-text-slot { grid-row:1; }
.contact[data-section-layout="split-map"] > .editable-map { grid-row:2; margin:0; min-height:16rem; }
.contact[data-section-layout="split-map"] > .contact-details { grid-row:3; margin:0; }
.contact[data-section-layout="split-map"] > .contact-actions { grid-row:4; margin:0; }
.contact[data-section-layout="split-map"] > .directions { grid-row:5; margin:0; }
.website-presentation .desktop-footer[data-section-layout="compact-footer"] { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:1.5rem; text-align:left; justify-items:stretch; padding-block:2rem; }
.desktop-footer[data-section-layout="compact-footer"] > div:not(.footer-links) { grid-column:1; }
.website-presentation .desktop-footer[data-section-layout="compact-footer"] .footer-brand { justify-content:flex-start; }
.website-presentation .desktop-footer[data-section-layout="compact-footer"] .footer-links { grid-column:2; grid-row:1; display:flex; flex-direction:column; align-items:flex-end; justify-items:end; }
.desktop-footer[data-section-layout="compact-footer"] > address { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:1rem; padding-top:1rem; border-top:1px solid var(--line); }
.website-presentation .desktop-footer[data-section-layout="compact-footer"] .footer-brand > [data-image-slot] { width:72px; height:72px; }
@media(min-width:768px) {
 .website-presentation .contact[data-section-layout="split-map"] { grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:1.5rem 2.5rem; align-items:start; }
 .contact[data-section-layout="split-map"] > .rich-text-slot { grid-column:1/-1; }
 .contact[data-section-layout="split-map"] > .contact-details { grid-column:1; grid-row:2; display:flex; flex-direction:column; gap:1rem; }
 .contact[data-section-layout="split-map"] > .contact-actions { grid-column:1; grid-row:3; }
 .contact[data-section-layout="split-map"] > .editable-map { grid-column:2; grid-row:2/4; height:100%; min-height:20rem; }
 .contact[data-section-layout="split-map"] > .directions { grid-column:2; grid-row:4; }
}

.service-dialog .service-long-description .rich-text-slot > [data-rich-template="h3"]:not(:first-child) { font-size:var(--text-m); line-height:1.3; }

.website-presentation [data-site-section="Contact"][data-section-layout="compact-contact"] .visit-items { display:flex; flex-direction:column; gap:0; }
.website-presentation [data-site-section="Contact"][data-section-layout="compact-contact"] .visit-items > a { width:100%; display:flex; align-items:center; justify-content:flex-start; gap:1rem; padding:1.2rem 0; border-top:1px solid var(--line); text-align:left; }
@media(min-width:768px) { .website-presentation [data-site-section="Contact"][data-section-layout="compact-contact"] { display:grid; grid-template-columns:1fr 1.5fr; gap:3rem; align-items:start; } }

.desktop-footer:has(> [data-editor-ui="section-touch"]) { position:relative; }

.reviews-track .review-entry { display:flex; flex-direction:column; }
.reviews-track .review-quote { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:6; overflow:hidden; line-height:1.6; }
.reviews-track .review-author { margin-top:auto; padding-top:1rem; }
.review-author [data-rich-template=figcaption] { margin:0; }
.website-presentation[data-composition] .reviews { border-block:0; }
.website-presentation[data-composition] .reviews :is(h2,[data-rich-template=h2]).eyebrow {
 font-family:var(--site-heading-font,"Playfair Display","Noto Sans Thai",serif); font-size:var(--text-l);
 line-height:1.2; letter-spacing:normal; text-transform:none;
}
.website-presentation[data-composition] .reviews-display-cards .reviews-track .review-entry {
 border:1px solid color-mix(in srgb,var(--palette-1) 10%,transparent); border-radius:14px; background:color-mix(in srgb,var(--palette-1) 4%,var(--palette-2));
 box-shadow:none;
}
.website-presentation[data-composition] .reviews-display-cards .reviews-track { padding:.5rem .5rem 1.25rem; }


/* About keeps text in one readable column over a quiet full-width backdrop. */
.website-presentation [data-section-frame] > .about-composition[data-section-layout] {
 display:block; position:relative; isolation:isolate; padding:2rem var(--site-edge);
 text-align:center; background:transparent;
}
.about-composition .about-copy { position:relative; z-index:1; width:100%; max-width:44rem; margin-inline:auto; }
.about-composition .about-copy [data-rich-template=h2] { font-size:var(--text-l); line-height:1.2; text-wrap:balance; }
.about-composition .about-copy [data-rich-template=p] { max-width:none; line-height:1.7; }
.about-composition .about-copy .button { margin-top:1rem; }
.about-composition .about-media, .about-composition .about-texture {
 position:absolute; inset:0; overflow:hidden; z-index:0; opacity:.2;
 --about-image-mask:linear-gradient(to bottom,transparent,var(--wine) 16%,var(--wine) 84%,transparent);
 -webkit-mask-image:var(--about-image-mask); mask-image:var(--about-image-mask);
}
.about-composition .about-media > [data-image-slot], .about-composition .about-texture > img {
 display:block; position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
}
.about-composition .about-media > .section-image-empty { border:0; font-size:0; aspect-ratio:auto; }
.about-composition .about-texture { pointer-events:none; opacity:.12; }
.website-presentation [data-section-frame] > .about-composition.about-left { text-align:left; }
.website-presentation [data-section-frame] > .about-composition.about-right { text-align:right; }
.about-left .about-copy { margin-left:0; }
.about-right .about-copy { margin-right:0; }
@media(min-width:768px) {
 .website-presentation [data-section-frame] > .about-composition[data-section-layout] { padding-block:2.75rem; }
 .about-left .about-media, .about-right .about-media { opacity:.4; }
 .about-left .about-media { --about-image-mask:linear-gradient(to right,color-mix(in srgb,var(--wine) 20%,transparent) 40%,var(--wine)),linear-gradient(to bottom,transparent,var(--wine) 16%,var(--wine) 84%,transparent); }
 .about-right .about-media { --about-image-mask:linear-gradient(to left,color-mix(in srgb,var(--wine) 20%,transparent) 40%,var(--wine)),linear-gradient(to bottom,transparent,var(--wine) 16%,var(--wine) 84%,transparent); }
 .about-left .about-media, .about-right .about-media { -webkit-mask-composite:source-in; mask-composite:intersect; }
}

/* A selected Bodhi mark belongs to the plain page surface, not a photo overlay. */
.website-presentation[data-ornament="po-tree"] .about-composition:not([data-about-media]) .about-texture { display:none; }
.website-presentation[data-ornament="po-tree"] .about-composition:not([data-about-media])::before,
.website-presentation[data-ornament="po-tree"] .contact.ornament::after {
 content:""; display:block; position:absolute; pointer-events:none;
 width:min(14rem,56vw); height:min(14rem,100%); right:1rem; top:50%; transform:translateY(-50%);
 background:var(--site-ornament-image) right center / auto 100% no-repeat; mix-blend-mode:multiply; opacity:.18;
}
.website-presentation[data-ornament="po-tree"] .about-composition::before { z-index:0; }
.website-presentation[data-ornament="po-tree"] .contact.ornament { isolation:isolate; }
.website-presentation[data-ornament="po-tree"] .contact.ornament::after { top:4.5rem; transform:none; z-index:-1; }
@media(min-width:768px) {
 .website-presentation[data-ornament="po-tree"] .about-composition:not([data-about-media])::before,
 .website-presentation[data-ornament="po-tree"] .contact.ornament::after { width:18rem; height:min(18rem,100%); right:var(--site-edge); opacity:.2; }
 .website-presentation[data-ornament="po-tree"] .about-right:not([data-about-media])::before { left:var(--site-edge); right:auto; }
}

/* Accepted funds form a compact band or a text-and-logo spread, without cards. */
.website-presentation [data-section-frame] > .health-funds[data-section-layout="ribbon"] { display:grid; gap:1.25rem; padding-block:1.75rem; background:transparent; text-align:left; border-block:1px solid var(--line); }
.health-funds[data-section-layout="ribbon"] .section-title { max-width:28rem; text-align:left; }
.health-funds[data-section-layout="ribbon"] [data-rich-template=h2] { font-size:var(--text-m); line-height:1.2; }
.health-funds[data-section-layout="ribbon"] [data-rich-template=p] { font-size:var(--text-xs); }
.health-funds[data-section-layout="ribbon"] .health-fund-track { margin:0; min-width:0; mask-image:linear-gradient(to right,transparent,var(--wine) 2.5%,var(--wine) 97.5%,transparent); }
.health-funds[data-section-layout="ribbon"] .health-fund { flex-basis:8.5rem; min-height:4.5rem; padding:.5rem 1rem; }
.website-presentation [data-section-frame] > .health-funds[data-section-layout="editorial"] { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:1.5rem; align-items:center; text-align:left; background:transparent; }
.health-funds[data-section-layout="editorial"] .section-title { min-width:0; max-width:none; text-align:left; }
.health-funds[data-section-layout="editorial"] .health-funds-brand { margin-bottom:.375rem; }
body:not(.editor-canvas) .health-funds[data-section-layout="editorial"]:has(.health-funds-brand:not([data-media-hidden="true"],[aria-hidden="true"])) .section-title [data-rich-template="h2"] { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
body:not(.editor-canvas) .health-funds[data-section-layout="editorial"]:has(.health-funds-brand:not([data-media-hidden="true"],[aria-hidden="true"])) .section-title [data-rich-template="h2"] + [data-rich-template="p"] { margin-top:0; }
.health-funds[data-section-layout="editorial"] .health-fund-track { min-width:0; margin:0; }
.health-funds[data-section-layout="editorial"] .health-fund-rail { gap:1.5rem; align-items:center; }
.health-funds[data-section-layout="editorial"] .health-fund { padding:.25rem; min-height:5rem; }
.health-funds[data-section-layout="editorial"] .health-fund img { height:4rem; max-width:10rem; margin:auto; }
@media(min-width:768px) {
 .website-presentation [data-section-frame] > .health-funds[data-section-layout="ribbon"] { grid-template-columns:minmax(13rem,.8fr) minmax(0,1.8fr); gap:3rem; align-items:center; }
 .website-presentation [data-section-frame] > .health-funds[data-section-layout="editorial"] { gap:clamp(2rem,5vw,5rem); }
}

.health-funds:is([data-section-layout="ribbon"],[data-section-layout="editorial"]) .section-title { margin-bottom:0; }
.health-funds:is([data-section-layout="ribbon"],[data-section-layout="editorial"]) .section-title > .rich-text-group { text-align:left; }
@media(max-width:767px) {
 .website-presentation [data-section-frame] > .health-funds[data-section-layout="editorial"] { gap:1.25rem; }
 .health-funds[data-section-layout="editorial"] [data-rich-template=h2] { font-size:var(--text-m); line-height:1.15; text-wrap:balance; }
 .health-funds[data-section-layout="editorial"] [data-rich-template=p] { font-size:var(--text-xs); line-height:1.65; }
 .health-funds[data-section-layout="editorial"] .health-fund { min-height:3.5rem; padding:0; }
 .health-funds[data-section-layout="editorial"] .health-fund img { height:3rem; }
}

/* Intermediate desktop widths cannot fit the legacy footer's three fixed minima. */
@media(min-width:1024px) and (max-width:1279px) {
  .desktop-footer { grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,.7fr); gap:clamp(1.25rem,4vw,4rem); }
  .desktop-footer > * { min-width:0; overflow-wrap:anywhere; }
}

.review-author { display:flex; align-items:center; gap:.5rem; }
.reviews-display-quote .review-author { justify-content:space-between; }
.review-author .review-source { display:inline-flex; flex:none; align-items:center; font-size:.75rem; }
.review-author .review-source img { width:20px; height:20px; object-fit:contain; }
.review-author .review-source[data-source=fresha] img { width:1.65rem; height:2rem; }

/* Initial reading targets are outside the keyboard tab order. */
dialog [data-dialog-initial-focus]:focus { outline: none; }

/* A quotation surface and next-card edge make manual reviews discoverable. */
.reviews-track .review-entry::before { content:"“"; display:block; font-family:var(--site-heading-font,serif); font-size:var(--text-l); line-height:.8; opacity:.45; margin-bottom:.5rem; }
.reviews-track .review-author { gap:.75rem; justify-content:space-between; border-top:1px solid color-mix(in srgb,currentColor 12%,transparent); margin-top:1rem; padding-top:.75rem; }
.reviews-track .review-author > [data-rich-template] { font-weight:600; }
.reviews-track .review-source { margin-left:auto; }
.reviews-track .review-quote { flex:1; }
@media(min-width:768px) { .reviews-display-quote .reviews-track .review-entry { flex-basis:88%; padding:1.5rem; } }

.review-byline { min-width:0; font-size:.875rem; line-height:1.45; overflow-wrap:anywhere; }
.review-byline > .rich-text-slot { display:inline; }
.review-author .review-byline [data-rich-template=figcaption] { display:inline; margin:0; font-size:inherit; line-height:inherit; font-weight:600; }
.review-date { font-weight:400; }

.site-platform-footer { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:0; grid-column:1/-1; padding:.5rem var(--site-edge,1.25rem); color:var(--palette-text-2,var(--wine)); font:var(--text-xs)/1.4 var(--site-body-font,sans-serif); }
.site-platform-footer .site-platform-credit > span { opacity:.65; }
.site-platform-footer .site-platform-brand { color:var(--sabaiweb-brand-color); font-weight:600; }
.site-platform-footer a { display:inline-flex; align-items:center; min-height:44px; padding:.5rem .25rem; color:inherit; text-underline-offset:.2em; }
.site-platform-footer a:hover { text-decoration:underline; }
.site-platform-footer a:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
.public-site-status { max-width:32rem; margin:15vh auto; padding:1.5rem; text-align:center; }

/* Classic Potong keeps the room as the opening and the reading surface quiet. */
.website-presentation[data-composition="centered"][data-template-family="immersive"] :is(h1,h2,[data-rich-template="h1"],[data-rich-template="h2"]) { font-weight:600; }
.website-presentation[data-composition="centered"][data-template-family="immersive"] [data-section-frame] .service-option-card h3 { font-weight:600; }
.website-presentation[data-composition="centered"][data-template-family="immersive"] .sabai-hero[data-hero-layout="immersive"] .sabai-hero-brand { width:124px; }
.website-presentation[data-composition="centered"][data-template-family="immersive"] .sabai-hero[data-hero-layout="immersive"]::before { height:48px; background:linear-gradient(180deg,transparent,var(--palette-2)); }
.website-presentation[data-composition="centered"][data-template-family="immersive"] .sabai-hero[data-hero-layout="immersive"] .sabai-hero-location { color:var(--palette-2); }
.website-presentation[data-composition="centered"][data-template-family="immersive"] [data-section-frame] > .health-funds[data-section-layout="editorial"] { padding-block:16px 12px; gap:16px; }
.website-presentation[data-composition="centered"][data-template-family="immersive"] .health-funds[data-section-layout="editorial"] .health-fund-track { border-left:1px solid color-mix(in srgb,var(--palette-1) 14%,transparent); padding-left:16px; }
.website-presentation[data-composition="centered"][data-template-family="immersive"] [data-section-frame] > .about-composition { padding-bottom:12px; }
.website-presentation[data-composition="centered"][data-template-family="immersive"][data-ornament="po-tree"] .about-composition:not([data-about-media])::before { display:none; }

.website-presentation[data-composition="centered"][data-template-family="immersive"] .service-section-title { text-align:left; }
.website-presentation[data-composition="centered"][data-template-family="immersive"] { --service-price-size:.875rem; }
@media(max-width:767px) {
 .website-presentation[data-composition="centered"][data-template-family="immersive"] [data-section-frame] + [data-section-frame] > .about-composition { padding-top:8px; }
 .website-presentation[data-composition="centered"][data-template-family="immersive"] [data-section-frame] + [data-section-frame="services"] > section { padding-top:8px; }
 .website-presentation[data-composition="centered"][data-template-family="immersive"] .about-copy [data-rich-template="p"]:last-child { margin-bottom:0; }
 .website-presentation[data-composition="centered"][data-template-family="immersive"] [data-section-frame="services"]:has(+ [data-section-frame] > .gallery) > section { padding-bottom:14px; }
 .website-presentation[data-composition="centered"][data-template-family="immersive"] [data-section-frame="services"] + [data-section-frame] > .gallery { padding-top:14px; }
 .website-presentation[data-composition="centered"][data-template-family="immersive"] [data-section-frame]:has(+ [data-section-frame] > .reviews) > .gallery { padding-bottom:0; }
 .website-presentation[data-composition="centered"][data-template-family="immersive"] [data-section-frame]:has(> .gallery) + [data-section-frame] > .reviews { padding-top:8px; }
}
