/* JOC brand guide, 16 September 2026. Fonts are served locally. */
@font-face {
  font-family: Baskervville;
  src: url('/jewel/fonts/Baskervville-Regular.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Lato;
  src: url('/jewel/fonts/Lato-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Lato;
  src: url('/jewel/fonts/Lato-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
html:root {
  --joc-teal: #114f67;
  --joc-plum: #66184f;
  --joc-ivory: #f5f2ea;
  --joc-ink: #16343f;
  /* Header stack = navbar row + promo banner row (T-003). Page offsets use --joc-nav-height, so they follow both. */
  --joc-nav-bar-height: 96px;
  --joc-promo-height: 0px;
  --joc-nav-height: calc(var(--joc-nav-bar-height) + var(--joc-promo-height));
  --_fonts---font-display: Baskervville, Georgia, serif;
  --_fonts---font-body: Lato, Arial, sans-serif;
  --_fonts---font-accent: Baskervville, Georgia, serif;
  --_global-colors---brand-500--velvet-plum: var(--joc-teal);
  --_global-colors---base-1000--100: var(--joc-ink);
  --_global-colors---base-0--100: var(--joc-ivory);
  --_fonts---h1--line-height: 105%;
  --_fonts---h2--line-height: 108%;
  --_fonts---h3--line-height: 110%;
  --_fonts---h4--line-height: 112%;
  --_fonts---p1--size: clamp(15px, 1.1vw, 18px);
  --_fonts---p1--line-height: 165%;
  --_fonts---p1--letter-spacing: 0;
  --_fonts---p2--size: 14px;
  --_fonts---p2--line-height: 160%;
  --_fonts---p2--letter-spacing: 0;
  scroll-padding-top: calc(var(--joc-nav-height) + 24px);
  scrollbar-gutter: stable;
}
body.body {
  /* The imported mobile stylesheet also defines fonts on body itself. */
  --_fonts---font-display: Baskervville, Georgia, serif;
  --_fonts---font-body: Lato, Arial, sans-serif;
  --_fonts---font-accent: Baskervville, Georgia, serif;
  --_fonts---p1--size: clamp(15px, 1.1vw, 18px);
  --_fonts---p1--line-height: 165%;
  --_fonts---p1--letter-spacing: 0;
  --_fonts---p2--size: 14px;
  --_fonts---p2--line-height: 160%;
  --_fonts---h1--line-height: 105%;
  --_fonts---h2--line-height: 108%;
  --_fonts---h3--line-height: 110%;
  --_fonts---h4--line-height: 112%;
  --_fonts---h1--size: clamp(44px, 6vw, 104px);
  --_fonts---h2--size: clamp(40px, 5vw, 88px);
  --_fonts---h3--size: clamp(34px, 4vw, 72px);
  --_fonts---h4--size: clamp(30px, 3.4vw, 56px);
  --_fonts---h5--size: clamp(24px, 2.5vw, 40px);
  --_fonts---h6--size: clamp(20px, 2vw, 28px);
  font-family: var(--_fonts---font-body);
}
.reference-root .header-logo,
.reference-root .header-nav,
.reference-root [data-s-bar],
.reference-root .s-down,
.reference-root [data-modal-menu] { display: none !important; }
.jewel-symbol {
  background: url('/jewel/logo-mark.svg') center / contain no-repeat;
  mask: none;
  -webkit-mask: none;
}
.theme_on-dark .jewel-symbol,
.theme_on-color .jewel-symbol {
  background-color: currentColor;
  background-image: none;
  mask: url('/jewel/logo-mark.svg') center / contain no-repeat;
  -webkit-mask: url('/jewel/logo-mark.svg') center / contain no-repeat;
}
/* Keep the hero scene on brand plum; the shared footer replaces the imported one. */
.section.theme_on-color:has(.hero-scroll-area) { --_colors---other--bg: var(--joc-plum); }
.reference-root section.theme_on-dark:has(.footer-w) { display: none !important; }
.joc-navbar {
  position: fixed;
  z-index: 800;
  top: 0;
  inset-inline: 0;
  height: var(--joc-nav-height);
  padding: var(--joc-promo-height) clamp(20px, 3vw, 56px) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-sizing: border-box;
  border-bottom: 1px solid #114f671a;
  background: #fffdf8;
  color: var(--joc-teal);
  font: 14px/1.3 Lato, Arial, sans-serif;
  transform: translateY(0);
  transition: transform 260ms ease;
}
.joc-navbar[data-hidden='true'] { transform: translateY(-105%); }
.joc-navbar:has(:focus-visible) { transform: translateY(0); }
.joc-nav-brand { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.joc-nav-mark { display: block; width: 52px; height: 52px; }
.joc-nav-wordmark { display: block; width: 188px; height: auto; }
.joc-nav-links { display: flex; align-items: center; gap: clamp(16px, 1.7vw, 32px); }
.joc-nav-links a { position: relative; padding: 12px 0; white-space: nowrap; }
.joc-nav-links a::after {
  content: ''; position: absolute; bottom: 5px; left: 0; right: 0; height: 1px;
  background: var(--joc-plum); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease;
}
.joc-nav-links a:hover::after,
.joc-nav-links a[aria-current='page']::after { transform: scaleX(1); }
.joc-nav-links a[aria-current='page'] { color: var(--joc-plum); }
.joc-nav-actions { display: flex; align-items: center; gap: 22px; }
.joc-nav-languages { display: flex; align-items: center; gap: 0; }
.joc-nav-languages a { display: grid; place-items: center; min-width: 38px; min-height: 44px; font-size: 12px; color: #49636d; }
.joc-nav-languages a[aria-current='true'] { font-weight: 700; color: var(--joc-plum); text-decoration: underline; text-underline-offset: 5px; }
.joc-nav-book {
  display: inline-flex; align-items: center; justify-content: center; gap: 20px;
  min-height: 46px; padding: 0 22px; background: var(--joc-plum); color: #fff;
  font-size: 13px; font-weight: 700; white-space: nowrap; border-radius: 2px; transition: background 180ms ease;
}
.joc-nav-book:hover { background: #4d103b; }
.joc-navbar :focus-visible,
.joc-nav-menu :focus-visible { outline: 2px solid var(--joc-plum); outline-offset: 5px; }
.joc-nav-toggle { display: none; width: 44px; height: 44px; padding: 11px; background: transparent; border: 1px solid #114f6733; border-radius: 2px; color: inherit; cursor: pointer; }
.joc-nav-toggle span { display: block; width: 20px; height: 1px; margin: 6px 0; background: currentColor; }
.joc-nav-menu {
  position: fixed; inset: 0;
  margin: 0; width: var(--joc-menu-width, 100vw); max-width: none; height: 100vh; height: 100dvh; max-height: none;
  padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  box-sizing: border-box; overflow-y: auto;
  background: #fffdf8; border: 0; color: var(--joc-teal); font: 16px/1.5 Lato, Arial, sans-serif;
  overscroll-behavior: contain;
}
.joc-nav-menu[open] { display: flex; flex-direction: column; }
.joc-nav-menu::backdrop { background: transparent; }
.joc-nav-menu-heading { position: sticky; top: 0; z-index: 1; flex: none; display: flex; align-items: center; justify-content: space-between; background: #fffdf8; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.joc-nav-menu-heading button { width: 44px; height: 44px; background: transparent; border: 1px solid #114f6733; color: inherit; font: 28px/1 Lato, sans-serif; cursor: pointer; }
.joc-nav-menu nav { display: grid; margin: 20px 0 28px; }
.joc-nav-menu nav a { padding: 14px 0; border-bottom: 1px solid #114f671a; font: 28px/1.3 Baskervville, Georgia, serif; }
.joc-nav-menu nav a[aria-current='page'] { color: var(--joc-plum); }
.joc-nav-menu nav:not(.joc-nav-menu-secondary) { display: flex; flex-direction: column; justify-content: center; flex: 1 0 auto; }
.joc-nav-menu nav:not(.joc-nav-menu-secondary) a { min-height: 52px; padding-block: clamp(10px, 1.5dvh, 18px); font-size: clamp(28px, 4.5dvh, 42px); }
.joc-nav-menu-bottom { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; }
.joc-nav-menu-bottom p { font-size: 12px; }

/* Promo banner (T-003): a fixed-height row at the top of the fixed header, above the logo and menu, hiding and
   returning with the navbar. The layout sets body[data-joc-promo="on"] under the same condition PromoBanner renders. */
html:root:has(> body[data-joc-promo='on']) { --joc-promo-height: 40px; }
.joc-promo {
  position: absolute; inset: 0 0 auto; height: var(--joc-promo-height);
  display: flex; align-items: center; justify-content: center; padding: 0 clamp(16px, 3vw, 56px); box-sizing: border-box; overflow: hidden;
  background: var(--joc-plum); color: #fff; font: 400 13px/1.4 Lato, Arial, sans-serif; text-align: center;
}
.joc-promo p { margin: 0; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: inherit; color: inherit; }
.joc-promo a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.joc-promo .joc-promo-label { margin-left: 12px; }
.joc-navbar .joc-promo a:focus-visible { outline-color: #fff; outline-offset: 2px; }

/* Keep each page below the fixed header; retain the original scene hooks. */
.hero-s { padding-top: calc(var(--joc-nav-height) + 48px); }
.hero-s_logo h1 { font-size: clamp(64px, 7.5vw, 112px); line-height: 1.02; letter-spacing: -.025em; }
.hero-s_logo_a { margin-top: 24px; transform: none; rotate: none; }
.hero-s_logo_a .a2, .preloader_logo_a .a2 { font: 16px/1.5 Lato, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
/* Preloader accent follows the hero accent; the template's script backdrop ("Estepona") is hidden. */
.preloader_logo_a { margin: 16px 0 0; transform: none; rotate: none; }
.preloader_logo_a .a2 { margin: 0; }
.preloader_bg_a { display: none; }
/* Replace the template curtain with a white JOC brand reveal. */
.master-preloader { display: none !important; }
.preloader {
  position: fixed !important;
  z-index: 999998;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  padding: 0 !important;
  background: #fff !important;
  pointer-events: auto !important;
  overflow: hidden;
}
.preloader_bg, .preloader_bg_arch { display: none !important; }
.preloader_ctn {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
}
.preloader_t {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center;
  flex: none !important;
}
.preloader_t > .u-48, .preloader_c, .preloader_b { display: none !important; }
.preloader_t .s_logo {
  position: absolute !important;
  inset: auto !important;
  top: 50% !important;
  left: 50% !important;
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: clamp(8px, .97vw, 14px);
  width: max-content;
  max-width: calc(100vw - 40px);
  transform: translate(-50%, -50%);
  margin: 0 !important;
}
.preloader_t .s_logo::after {
  content: "";
  display: block;
  flex: none;
  width: clamp(140px, 13.05vw, 188px);
  aspect-ratio: 100 / 18;
  background: url('/jewel/logo-wordmark.svg') center / contain no-repeat;
  opacity: 1;
}
.preloader_t .logo_symbol,
.preloader_t .logo_symbol > .logo {
  width: clamp(36px, 3.61vw, 52px) !important;
  height: clamp(36px, 3.61vw, 52px) !important;
  margin: 0 !important;
}
.preloader_t .jewel-symbol {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  background: url('/jewel/logo-mark.svg') center / contain no-repeat !important;
  mask: none !important;
  -webkit-mask: none !important;
  opacity: 1;
  filter: none;
}
/* The identity is present in the server HTML. It must never wait for animation scripts. */
.preloader { touch-action: none; }
html.joc-motion-fallback :is([data-preloader], [data-master-preloader]) { display: none !important; }
html.joc-motion-fallback, html.joc-motion-fallback body { overflow: auto !important; }
html.joc-motion-fallback :is([data-prevent-flicker], [data-scroll-reveal], [data-part], [data-text], .split-char, .split-word, .split-line, .loc-info-s, .footer-s) {
  visibility: visible !important; opacity: 1 !important; transform: none !important;
}
@media (max-width: 991px) {
  [data-prevent-flicker] { visibility: visible; }
}
@media (prefers-reduced-motion: reduce) {
  :is([data-preloader], [data-master-preloader]) { display: none !important; }
}
/* The hero photo holds still behind the reservation form: viewport height, no scroll drift.
   Without the drift the pinned track only stalled scrolling, so the hero is one screen tall. */
@media (min-width: 992px) {
  .hero-w_bg_master_img .hero-img { height: 100vh; }
  .hero-w_bg, .hero-s { transform: none !important; }
  main[data-barba-namespace="home"] .hero-scroll-area { height: 100vh; }
}
/* The hero's own rooms button sits behind the reservation form; phones already hide it. */
.hero-s_btn { display: none; }
/* Booking stays outside the hero's animated layers. */
.joc-stay-search-section {
  position: relative; z-index: 4; margin-top: -56px; padding-bottom: 40px;
  background: linear-gradient(to bottom, transparent 56px, var(--joc-ivory) 56px);
}
.joc-stay-search-pin { position: relative; }
@media (min-width: 992px) {
  main[data-barba-namespace='home'] { position: relative; }
  .joc-stay-search-section {
    position: absolute; top: var(--joc-stay-track-top, 0px); inset-inline: 0;
    height: var(--joc-stay-track-height, 400vh);
    margin: 0; padding: 0; background: none;
    pointer-events: none;
  }
  .joc-stay-search-pin {
    position: sticky; top: 0; height: 100svh;
    display: flex; align-items: flex-end; padding-bottom: 48px;
    box-sizing: border-box; pointer-events: none;
  }
}
.joc-hero-search {
  position: relative;
  width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 22px 24px;
  box-sizing: border-box; background: #fffdf8; color: var(--joc-teal); pointer-events: auto;
  border: 1px solid #114f6726; box-shadow: 0 12px 40px #16343f12;
  font: 16px/1.5 Lato, Arial, sans-serif;
}
.joc-hero-search-fields { display: grid; grid-template-columns: 1.25fr 1.25fr .7fr .7fr auto; align-items: end; gap: 18px; }
.joc-hero-search label { display: grid; min-width: 0; gap: 4px; }
.joc-hero-search label > span { font: 700 11px/1.5 Lato, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.joc-hero-search input, .joc-hero-search select {
  display: block; width: 100%; min-width: 0; height: 46px; padding: 8px 0;
  box-sizing: border-box; border: 0; border-bottom: 1px solid #114f6733; border-radius: 0;
  background: transparent; color: var(--joc-ink); font: 16px/1.5 Lato, sans-serif; color-scheme: light;
}
.joc-hero-search input::-webkit-date-and-time-value { text-align: left; }
.joc-hero-search button {
  min-height: 48px; padding: 12px 24px; border: 0; border-radius: 2px;
  background: var(--joc-plum); color: #fff; font: 700 14px/1.5 Lato, sans-serif; cursor: pointer;
}
.joc-hero-search button:hover { background: #4d103b; }
.joc-hero-search :focus-visible { outline: 2px solid var(--joc-plum); outline-offset: 4px; }
/* Circle buttons render as the same plain CTA: the client found the circle hard to see and unclear.
   The links and booking hooks stay; the magnetic pull and arc animation are neutralised. */
.btn-circle {
  height: auto; min-height: 48px; aspect-ratio: auto; padding: 12px 24px; border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--joc-plum); transform: none !important; transition: background 180ms ease;
}
.btn-circle:hover { background: #4d103b; }
.btn-circle_bg { display: none; }
/* Flex, so the label's fluid font-size (about 20px+ on wide screens) adds no line strut that pushes the text below centre. */
.btn-circle_label { width: auto; transform: none !important; display: flex; align-items: center; }
.btn-circle .nav-item, .btn-circle .nav-item .l1 { color: #fff; }
.btn-circle .nav-item .l1 { font: 700 14px/1.5 Lato, sans-serif; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.btn-circle .nav-item .l1::after { content: ' \2192'; }
.btn-circle_link:focus-visible { outline: 2px solid var(--joc-plum); outline-offset: 4px; }
.loc-intro-s_btn { position: relative; z-index: 2; }
.joc-hero-search-error { color: #8c2438; font-size: 13px; margin-top: 12px; }
.joc-hero-search-error:empty { display: none; }
/* Keep location copy within its column instead of sliding oversized words over the photo. */
.loc-intro-w:has(.joc-location-compact) { width: calc(100vw - 48px); }
.joc-location-compact { height: 100svh; min-height: 680px; padding: 64px 40px; box-sizing: border-box; }
.joc-location-compact > .grid {
  width: 100%; max-width: 1280px; margin: auto; flex: 0 1 auto; min-height: 560px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto; align-content: center; gap: 24px 64px;
}
.joc-location-compact .loc-intro-s_cap { grid-area: 1 / 1; align-self: start; }
.joc-location-compact .loc-intro-s_cap .c1 { font: 700 12px/1.5 Lato, sans-serif; letter-spacing: .16em; text-align: left; }
.joc-location-compact .loc-intro-s_title { grid-area: 2 / 1; align-self: start; min-width: 0; }
.joc-location-compact .loc-intro-s_title .h1 { font-size: clamp(44px, 5vw, 80px); line-height: 1.08; text-transform: none; letter-spacing: -.02em; }
.joc-location-compact .loc-intro-s_title_line { display: inline-block; margin: 0; }
.joc-location-compact .loc-intro-s_title_line.is-1,
.joc-location-compact .loc-intro-s_title_line.is-2 { margin-left: 0; }
/* An inline-block drops its trailing space, so the words need their gap back. */
.joc-location-compact .loc-intro-s_title_line:not(:last-child) { margin-right: .25em; }
.joc-location-compact .loc-intro-s_img { grid-area: 1 / 2 / 5 / 3; min-height: 0; }
.joc-location-compact .loc-intro-s_img .img-w { height: 100%; max-height: 560px; }
.joc-location-compact .loc-intro-s_img .img { width: 100%; height: 100%; object-fit: cover; }
.joc-location-compact .loc-intro-s_desc { grid-area: 3 / 1; align-self: start; max-width: 460px; }
.joc-location-compact .loc-intro-s_desc .h5 { font-size: 28px; line-height: 1.2; text-transform: none; }
.joc-location-compact .loc-intro-s_desc .p1 { font-size: 16px; line-height: 1.75; }
.joc-location-compact .loc-intro-s_btn { grid-area: 4 / 1; align-self: end; align-items: flex-start; }
.joc-location-link { display: inline-block; padding: 12px 0; border-bottom: 1px solid var(--joc-plum); font: 700 14px/1.5 Lato, sans-serif; }
.interior-s_title_a, .loc-path-s_title_a, .hero-s_logo_a {
  transform: none; margin-left: 0; margin-top: 12px;
}
.interior-s_title_a .a1 { margin: 0; font-size: clamp(28px, 3vw, 44px); line-height: 1.2; }
.reference-root .l1 { font-size: clamp(11px, .9vw, 13px); line-height: 1.5; }
.loc-path-s_title .h3 { font-size: clamp(32px, 3.2vw, 48px); line-height: 1.2; text-transform: none; }
.loc-path-s_title .loc-path-s_title_a { margin: 0; transform: none; font: inherit; color: inherit; letter-spacing: inherit; }
/* Stack the location scenes on phones and tablets and for reduced motion (T-024 H4: no sideways track on touch screens). */
@media (max-width: 991px), (prefers-reduced-motion: reduce) {
.loc-scroll-area { height: auto; }
.loc-scroll-area .loc-scroll-area_screen { display: block; position: relative; }
.loc-scroll-area .loc-scroll-area_track { display: flex; flex-direction: column; width: 100%; }
.loc-scroll-area :is(.loc-info-w, .loc-intro-w, .loc-path-w) { width: 100%; }
.loc-scroll-area .loc-info-s {
  height: auto; min-height: 0; max-width: 880px; margin: auto;
  padding: 80px 40px 64px; gap: 28px; justify-content: flex-start;
}
.loc-scroll-area :is(.loc-info-s_t, .loc-info-s_c > [class^='u-'], .loc-info-s_b > [class^='u-']) { display: none; }
.loc-scroll-area :is(.loc-info-s_c, .loc-info-s_b) { flex: none; }
.loc-scroll-area :is(.loc-info-s, .loc-path-s) .grid { display: block; width: 100%; max-width: 100%; margin-inline: 0; }
.loc-scroll-area :is(.loc-info-s_c, .loc-info-s_b) { min-width: 0; width: 100%; }
.loc-scroll-area .loc-info-s .s_title { width: 100%; margin: 0 0 20px; }
.loc-scroll-area .loc-info-s .l1 { font-size: 12px; line-height: 1.6; letter-spacing: .08em; }
.loc-scroll-area .info-s_lead .h4 { font-size: clamp(28px, 3vw, 42px); line-height: 1.3; text-transform: none; }
.loc-scroll-area .info-s_desc { max-width: 560px; margin: auto; }
.loc-scroll-area .info-s_desc .p1 { font-size: 16px; line-height: 1.75; }
.loc-scroll-area .loc-info-s .ico-48 { width: 40px; height: 40px; }
.loc-scroll-area .joc-location-compact { height: auto; min-height: 0; padding: 56px 48px 64px; }
.loc-scroll-area .joc-location-compact > .grid {
  max-width: 1280px; min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  grid-template-rows: auto auto 1fr auto; gap: 20px 64px;
}
.loc-scroll-area .loc-intro-s_img .img-w { height: 100%; min-height: 440px; max-height: 520px; }
.loc-scroll-area .loc-intro-s_title .h1 { font-size: clamp(40px, 4vw, 64px); }
.loc-scroll-area .loc-path-s { height: auto; max-width: 1280px; margin: auto; padding: 56px 48px 72px; gap: 32px; }
.loc-scroll-area :is(.loc-path-s_t, .loc-path-s_b > [class^='u-']) { display: none; }
.loc-scroll-area .loc-path-s_title { max-width: 680px; margin: auto; }
.loc-path-s_title .h3 { font-size: clamp(32px, 3.2vw, 48px); line-height: 1.2; text-transform: none; }
.loc-path-s_title .loc-path-s_title_a { margin: 0; transform: none; font: inherit; color: inherit; letter-spacing: inherit; }
.loc-scroll-area .loc-path-s_path { margin: 0; overflow: visible; }
.loc-scroll-area .jewel-location-card { box-sizing: border-box; min-height: 320px; padding: 40px 24px; gap: 20px; }
.loc-scroll-area .jewel-location-card .h3 { font-size: clamp(30px, 3vw, 44px); line-height: 1.2; text-transform: none; }
.loc-scroll-area .jewel-location-card .l1 { font-size: 12px; line-height: 1.6; }
.loc-scroll-area .jewel-location-card .p1 { font-size: 15px; }
.loc-scroll-area .jewel-location-card .jewel-symbol { width: 48px; height: 48px; }

  .loc-scroll-area .loc-info-s { padding: 104px 24px 40px; gap: 24px; }
  .loc-scroll-area .info-s_lead .h4 { font-size: clamp(27px, 4.5vw, 36px); }
  .loc-scroll-area .info-s_desc .p1 { font-size: 15px; }
  .loc-scroll-area .joc-location-compact { padding: 40px 24px; }
  .loc-scroll-area .joc-location-compact > .grid { gap: 20px; }
  .loc-scroll-area .loc-intro-s_img .img-w { height: 380px; min-height: 0; }
  .loc-scroll-area .loc-path-s { padding: 112px 24px 48px; }
  .loc-scroll-area .loc-path-s_title { max-width: 560px; }
}
/* Let the property photography lead, with a compact introduction and supporting copy. */
.benefits-intro-s { padding: 56px 0 32px; gap: 20px; }
.benefits-intro-s .jewel-intro-heading {
  max-width: 680px; margin: 0;
  font-size: clamp(32px, 3.2vw, 48px); line-height: 1.16;
  text-transform: none; letter-spacing: -.02em; color: var(--joc-teal);
}
.benefits-intro-s .jewel-intro-heading > span { display: inline; }
.benefits-intro-s .s_logo { gap: 20px; }
.benefits-intro-s .logo_symbol { width: 40px; height: 40px; }
.benefits-intro-s .s_logo .l1 { font-size: 11px; letter-spacing: .12em; }
.benefits-intro-s .divider { display: none; }
.benefits-intro-s .s_title { grid-column: 1 / -1; }
.benefits-intro-s .s_title .l1 { font-size: 12px; line-height: 1.6; letter-spacing: .06em; }
.benefits-s { height: auto; min-height: 0; padding-bottom: 64px; }
.benefits-s > .grid { display: block; width: 100%; max-width: 1400px; margin-inline: auto; }
.benefits-s_cms { display: flex; min-width: 0; }
.benefit-slide {
  display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr; gap: 24px 56px; height: auto;
}
.benefit-slide_t { grid-area: 1 / 2; align-self: end; min-width: 0; }
.benefit-slide_c { grid-area: 1 / 1 / 3 / 2; min-width: 0; }
.benefit-slide_b { grid-area: 2 / 2; align-self: start; min-width: 0; display: block; }
.benefit-slide_t > [class^='u-'],
.benefit-slide_c > [class^='u-'],
.benefit-slide_b > [class^='u-'] { display: none; }
.benefits-w .benefit-slide_t :is(.h1, .h2) {
  margin: 0; color: var(--joc-teal); font-size: clamp(30px, 2.8vw, 42px);
  line-height: 1.16; letter-spacing: -.02em; text-align: left; text-transform: none;
}
.benefit-slide_img { width: 100%; height: clamp(400px, 40vw, 600px); aspect-ratio: auto; }
.benefit-slide_img .img-w { width: 100%; height: 100%; }
.benefit-slide_img .img { width: 100%; height: 100%; object-fit: cover; }
.benefit-slide_b > .grid { display: block; }
.benefit-slide_desc, .benefit-slide_cap { padding: 0; }
.benefit-slide_desc .p1 { font-size: 16px; line-height: 1.75; text-align: left; }
.benefit-slide_cap { margin-top: 24px; }
.benefit-slide_cap .l1 { font-size: 11px; line-height: 1.6; letter-spacing: .08em; text-align: left; }
.benefits-s_cms_pag { width: 100%; padding: 20px 0 0; }
.benefits-s_cms_pag .pag { width: 240px; margin-inline: auto 0; padding: 0; }
@media (max-width: 991px) {
  .benefits-intro-s { padding: 24px 0 28px; gap: 16px; }
  .benefits-s { min-height: 0; padding-bottom: 40px; }
  .benefit-slide { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 20px; }
  .benefit-slide_c { grid-area: 1 / 1; }
  .benefit-slide_t { grid-area: 2 / 1; }
  .benefit-slide_b { grid-area: 3 / 1; }
  .benefit-slide_img { height: auto; aspect-ratio: 4 / 3; }
  .benefits-w .benefit-slide_t :is(.h1, .h2) { font-size: clamp(28px, 4.8vw, 36px); }
  .benefit-slide_desc .p1 { font-size: 15px; line-height: 1.7; }
  .benefit-slide_cap { margin-top: 16px; }
  .benefits-s_cms_pag { padding: 24px 0 0; }
  .benefits-s_cms_pag .pag { padding: 0; }
}
/* Preserve the original arch overlap, parallax columns and gallery track. */
/* Photo controls remain visible beside the media, outside the animated slide content. */
[data-joc-slider] .joc-slider-controls {
  display: flex; align-items: center; justify-content: flex-start; gap: 20px;
  width: 100%; height: auto; min-height: 64px; margin: 0; padding: 12px 0;
  color: var(--joc-teal); border-top: 1px solid #114f6733;
  font-family: Lato, sans-serif; font-size: 13px; line-height: 1.4;
  box-sizing: border-box;
}
.joc-slider-status, .joc-slider-navigation { display: flex; align-items: center; gap: 12px; flex: none; }
.joc-slider-auto { font-size: 12px; }
.joc-slider-controls button {
  appearance: none; display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; min-width: 44px; min-height: 44px; padding: 8px 12px;
  border: 1px solid #114f674d; border-radius: 0; color: var(--joc-teal);
  background: transparent; font: inherit; cursor: pointer;
}
.joc-slider-controls button:hover { color: white; background: var(--joc-teal); border-color: var(--joc-teal); }
.joc-slider-controls button:focus-visible { outline: 2px solid var(--joc-plum); outline-offset: 3px; }
.joc-slider-controls [data-joc-slider-icon] { font-size: 12px; }
.joc-slider-count { font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 38px; }
.joc-slider-track { flex: 1; height: 3px; min-width: 32px; overflow: hidden; background: #114f6730; }
.joc-slider-track > [data-slider="progress"] { width: 0; height: 100%; background: var(--joc-plum); }
.joc-slider-announcement {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.benefits-s_cms_pag { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: 0 56px; }
.benefits-s_cms_pag .joc-slider-controls { grid-column: 1; width: 100%; margin: 0; }
.interior-s_gallery-cms_pag { margin-left: 0; }
@media (max-width: 991px) {
  .benefits-s_cms_pag { display: block; }
  [data-joc-slider] .joc-slider-controls { flex-wrap: wrap; gap: 12px; padding: 12px 0; }
  .joc-slider-status { flex: 1; justify-content: space-between; }
  .joc-slider-navigation { gap: 8px; }
  .joc-slider-track { flex-basis: 100%; order: 3; }
}
@media (max-width: 479px) {
  .joc-slider-status { flex-basis: 100%; }
  .joc-slider-navigation { justify-content: flex-end; flex: 1; }
  .joc-slider-track { flex-basis: auto; order: 0; }
}
.interior-s_title .h1 { font-size: clamp(32px, 3.5vw, 48px); line-height: 1.2; text-transform: none; }
.jewel-editorial { background: var(--joc-ivory); color: var(--joc-ink); padding-top: calc(var(--joc-nav-height) + 32px); }
.jewel-editorial-heading h1 { font-family: var(--_fonts---font-display); font-size: clamp(48px, 6vw, 104px); line-height: 1.1; color: var(--joc-teal); }
.jewel-photo-grid h2, .jewel-info-panel h2 { font-family: var(--_fonts---font-display); color: var(--joc-teal); font-weight: 400; }
.jewel-info-panel { background: #e9eeee; color: var(--joc-teal); }
.jewel-location-card { background: transparent; color: var(--joc-teal); }
/* Small labels on a coloured background use brand plum, not teal or ink. */
.jewel-card-caption, .jewel-image-caption { background: #66184fe6; font-family: Lato, sans-serif; font-size: 14px; line-height: 1.4; }
/* Room card captions sit under the render instead of over it, so the 14px label never hides the picture.
   The 4:3 frame only letterboxed the 16:9 renders, so the frame follows the render ratio. */
.apart-card_img.jewel-room-card-image { aspect-ratio: auto; }
.jewel-room-card-image .apart-card_img_prim { aspect-ratio: 16 / 9; height: auto; }
.jewel-card-caption { position: static; display: block; margin-top: 8px; }
/* The narrow home cards grow with a wrapped caption instead of keeping the template's fixed 392:544 ratio. */
.joc-home-rooms .apart-card { aspect-ratio: auto; }
/* Captions differ in length, so the bed type, rate and link sit on the card bottom to stay level across a row. */
.joc-home-rooms .apart-card_c { display: flex; flex-direction: column; height: 100%; }
.joc-home-rooms .apart-card_b { margin-top: auto; }
/* The template's inline [hover-select-item] rule paints var(--item-c) and loads after this file, hence the extra class. */
.filter_select_drop-down_list_item[hover-select-item].is-active { --item-c: var(--joc-plum); }
.jewel-room-note, .jewel-menu-links { font-family: Lato, sans-serif; }
.jewel-room-title {
  width: 100%; max-width: none; margin: 0;
  font-size: clamp(40px, 3.8vw, 68px); line-height: 1.18;
  letter-spacing: 0; word-spacing: .045em; text-wrap: balance;
}
.joc-room-name-tail { white-space: nowrap; }
.lot-w { padding-top: var(--joc-nav-height); }
.joc-room-intro { padding-block: clamp(56px, 4.5vw, 88px) clamp(48px, 4.5vw, 80px); }
.joc-room-intro-content, .joc-room-intro-content.is-top {
  grid-column: 2 / -1; min-width: 0; margin: 0; transition: none;
}
.joc-room-intro-content .lot-s_info_header_num {
  flex-direction: column; align-items: flex-start; gap: 16px;
}
.joc-room-intro-content .joc-card-label { margin: 0; }
.joc-room-intro-content > .l2 { font: 400 12px/1.6 Lato, Arial, sans-serif; letter-spacing: .1em; }
.joc-room-intro-content > h2 { margin-top: 24px; }
.joc-room-intro-content > h3 { margin-top: 8px; }
@media (min-width: 992px) {
  .joc-room-layout .lot-s_info {
    top: var(--joc-nav-height);
    height: calc(100svh - var(--joc-nav-height));
  }
  .joc-room-layout .lot-s_info_c {
    grid-column: 8 / -1; box-sizing: border-box;
    padding: 24px 0 24px 24px; gap: 24px;
  }
  .joc-room-layout .lot-s_info_line, .joc-room-layout .lot-s_info_line.is-top { top: 24px; bottom: 24px; }
  .joc-room-layout .lot-s_media.b-desk {
    margin-top: calc((100svh - var(--joc-nav-height)) * -1);
  }
  .joc-room-layout .lot-s_media_layout_img-prim {
    margin-top: 0; margin-bottom: 48px;
    height: max(320px, calc(100svh - var(--joc-nav-height) - 48px));
  }
}
@media (max-width: 991px) {
  .jewel-room-title { font-size: clamp(32px, 8.8vw, 48px); word-spacing: .025em; }
  .joc-room-intro { padding-block: 32px 40px; }
  .joc-room-intro-content { grid-column: 1 / -1; }
  .joc-room-layout .lot-s_media.b-mob { margin-top: 0; }
}
.apart-s > .u-48 { height: calc(var(--joc-nav-height) + 48px); }
.apart-s > .u-272 { display: none; }
/* Replace the powder-blue light theme on both room-detail sections with the site's ivory. */
main[data-reference-page='6a1e30c1b90c3b2bad493c80'] section[data-bg='light'] {
  --_global-colors---base-0--100: var(--joc-ivory) !important;
  --_colors---base-0--primary: var(--joc-ivory) !important;
  --_colors---other--bg: var(--joc-ivory) !important;
  background: var(--joc-ivory) !important;
}
.jewel-room-booking, .booking-button { background: var(--joc-plum); border-color: var(--joc-plum); color: #fff; }
.jewel-room-booking:hover, .booking-button:hover { background: #4d103b; }
.joc-journal { background: var(--joc-ivory); color: var(--joc-ink); padding-top: var(--joc-nav-height); }
.joc-journal :is(h1, h2), .booking-intro h1, .booking-panel h2, .booking-dialog-header h2 { font-family: Baskervville, Georgia, serif; color: var(--joc-teal); }
.journal-main { padding-top: var(--joc-section-y); }
.journal-main > .booking-intro { margin-top: 0; }
.journal-footer { align-items: center; gap: 32px; }
.journal-footer img { display: block; width: 130px; height: auto; }
.journal-kicker { color: var(--joc-plum); }
.journal-prose blockquote { border-color: var(--joc-plum); }
.booking-intro img { border-radius: 2px; }
.booking-panel { background: #fffdf8; border-color: #114f6726; border-radius: 2px; }
.booking-fields input, .booking-fields select { color: var(--joc-ink); background: #f5f2ea; border-color: #114f674d; }
.joc-booking-dialog { background: #fffdf8; color: var(--joc-ink); border-radius: 4px; }
.booking-dialog-header p { color: var(--joc-plum); }
.cookies_card { width: 340px; padding: 24px; box-sizing: border-box; background: #fffdf8; border: 1px solid #114f6733; aspect-ratio: auto; }
.cookies_card_t { display: none; }
.cookies_card_b { width: 100%; }
.cookies_card_b > .l1 { font: 14px/1.6 Lato, sans-serif; text-align: left; letter-spacing: 0; text-transform: none; }
.cookies_card_btn-list { justify-content: flex-start; gap: 20px; }
.cookies_card_btn-list :is(.h6, .link) { font: 14px/1.5 Lato, sans-serif; white-space: nowrap; }
.cookies_card_btn-list > .h6 { display: none; }
.cookies_card_btn-list .link { padding-block: 8px; }
.cookies_card .card_decor { display: none; }

/* Desktop: a slim full-width bar, so the notice does not cover the hero reservation form. */
@media (min-width: 992px) {
  .cookies_c { padding: 0; }
  .cookies .grid { display: block; }
  .cookies_card { width: 100%; margin: 0; padding: 10px var(--_special-units---offset-r, 48px) 10px var(--_special-units---offset-l, 48px); border-width: 1px 0 0; border-radius: 0; }
  .cookies_card_b { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .cookies_card_btn-list { flex: none; }
  .cookies_card_btn-list .link { padding-block: 4px; }
}

/* Baskervville has old-style figures only, so rates looked small; room facts and card rates use Lato instead. */
.data-item .h5, .apart-card_info .h5 { font-family: Lato, Arial, sans-serif; font-weight: 400; letter-spacing: .02em; }

/* Arched sections render as plain rectangular sections in normal flow, no longer sliding over the scene before them. */
.section.arch { border-radius: 0; }
@media (min-width: 992px) {
  .interior-w, .other-title-w { margin-top: 0; }
  /* The zoom-and-fade only led into the arch; without it the photo scene is a plain section that scrolls on. */
  .amen-scroll-area:has(+ .section.arch) { height: var(--_special-units---100vh); }
  .amen-scroll-area:has(+ .section.arch) .amen-cms { transform: none !important; }
  .amen-scroll-area:has(+ .section.arch) .amen-w { opacity: 1 !important; }
}
/* The gallery follows the editorial copy with the same gap as other media groups. */
.interior-s > .interior-s_imgs + .u-272 { height: clamp(32px, 4vw, 56px); }
/* "Spaces to unwind": two photos side by side in the same 4:3 frame, top-aligned, without the stagger,
   the parallax drift, or the teal panel and flower behind the left photo. */
.interior-s_l, .interior-s_r { transform: none !important; }
.interior-s_l > .u-272:first-child { display: none; }
.interior-s_l_img-w { aspect-ratio: 4 / 3; background: none; display: block; padding: 0; }
.interior-s_l_img-w .flower { display: none; }
.interior-s_l_img, .interior-s_l_img > .img-w { width: 100%; height: 100%; aspect-ratio: auto; }
.interior-s_l_img img { width: 100%; height: 100%; object-fit: cover; }
.interior-s_imgs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px); align-items: start;
}
.interior-s_l > .grid, .interior-s_r > .grid {
  display: flex; flex-direction: column; gap: 0; width: 100%;
}
.interior-s :is(.interior-s_l_img-w, .interior-s_r_img) { width: 100%; margin: 0; }
.interior-s :is(.interior-s_l_desc, .interior-s_r_lead, .interior-s_r_desc, .interior-s_r_btn) {
  width: 100%; min-width: 0; margin-inline: 0;
}
.interior-s_l_desc > .u-160 { display: none; }
.interior-s_r_desc > .u-64 { height: 24px; }
.interior-s_r_desc > .u-32 { height: 20px; }
.interior-s_r_desc > .u-96 { height: 24px; }
.interior-s_r_btn { align-items: flex-start; }
.interior-s_gallery-cms { grid-column: 1 / -1; width: 100%; }
@media (max-width: 991px) {
  .interior-s_imgs { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .interior-s_r_desc > .u-64 { height: 20px; }
  .interior-s_r_desc > .u-32 { height: 16px; }
}

/* The amen tabs read as buttons (client feedback): a hint above, and each choice an outlined
   Lato button with its number; the active one is filled. The old side line is no longer needed. */
.amm-s_cms_tabs_line { display: none; }
.amen-tabs-cms_list { counter-reset: amen-tab; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.amen-tabs-cms_list::before {
  content: "Select a space"; display: block; margin-bottom: 8px;
  font: 700 12px/1.5 Lato, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 0 18px rgba(0, 0, 0, .35);
}
html[lang="id"] .amen-tabs-cms_list::before { content: "Pilih suasana"; }
.amen-tabs-cms_list_item { counter-increment: amen-tab; }
.amen-tab {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .85); border-radius: 2px; background: rgba(16, 29, 48, .28);
  color: #fff; opacity: 1; transition: background 180ms ease, color 180ms ease;
}
.amen-tab::before {
  content: counter(amen-tab, decimal-leading-zero); flex: none;
  font: 700 11px/1 Lato, Arial, sans-serif; letter-spacing: .12em;
}
.amen-tab .h5 { margin: 0; font: 700 14px/1.4 Lato, Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: inherit; }
.amen-tab:not(.is-active) { opacity: 1; }
.amen-tab:hover { background: rgba(255, 255, 255, .2); }
.amen-tab.is-active { background: #fff; color: var(--joc-ink); border-color: #fff; }
.amen-tab:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* Home "Rooms & suites": the eight room cards with rates, in place of the template quote.
   Four columns on desktop, two on tablet, one column on phones (no sideways scrolling). */
.joc-home-rooms { padding: var(--_units---u-96) 0; background: var(--joc-ivory); }
.joc-home-rooms-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.joc-home-rooms-head .h2 { margin: 0; text-transform: none; }
.joc-home-rooms-all { flex: none; padding: 12px 0; border-bottom: 1px solid var(--joc-plum); color: var(--joc-plum); font: 700 14px/1.5 Lato, Arial, sans-serif; }
.joc-home-rooms-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.joc-home-rooms-item, .joc-home-rooms-item .apart-card { min-width: 0; height: 100%; }
main[data-barba-namespace='home'] section.theme_on-brand:has(.apart-info-w) {
  --_colors---other--bg: var(--joc-ivory);
  background-color: var(--joc-ivory) !important;
}
@media (max-width: 991px) {
  .joc-home-rooms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .joc-home-rooms-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 24px; }
  .joc-home-rooms-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
    overflow: visible;
    padding-bottom: 0;
  }
}

@media (max-width: 1399px) and (min-width: 1200px) {
  .joc-nav-brand { gap: 10px; }
  .joc-nav-mark { width: 44px; height: 44px; }
  .joc-nav-wordmark { width: 160px; }
  .joc-navbar { gap: 18px; padding-inline: 24px; }
  .joc-nav-actions { gap: 12px; }
  .joc-nav-book { padding-inline: 16px; gap: 12px; }
  .joc-nav-links { gap: 18px; font-size: 13px; }
}
@media (max-width: 1199px) {
  html:root { --joc-nav-bar-height: 80px; }
  .joc-nav-links, .joc-nav-desktop-languages { display: none; }
  .joc-nav-toggle { display: block; }
  .joc-nav-mark { width: 46px; height: 46px; }
  .joc-nav-wordmark { width: 170px; }
  .joc-nav-actions { gap: 12px; }
}
@media (max-width: 767px) {
  html:root:has(> body[data-joc-promo='on']) { --joc-promo-height: 56px; }
  .joc-promo p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; }
}
@media (max-width: 991px) {
  html:root { scrollbar-gutter: auto; }
  /* Keep the location copy in front of its bougainvillea, including the stacked reduced-motion layout. */
  .loc-scroll-area :is(.loc-info-s, .loc-intro-s, .loc-path-s) { position: relative; z-index: 2; }
  .loc-scroll-area :is(.flower.loc-info, .flower.loc-intro, .flower.loc-path) { z-index: 0; }
  .header-logo_bg { display: none !important; }
  .hero-s { padding-top: calc(var(--joc-nav-height) + 36px); }
  .hero-s > .u-272 { display: none; }
  .hero-s_logo h1 { font-size: clamp(46px, 12vw, 108px); }
  .hero-s_logo_a .a2, .preloader_logo_a .a2 { font-size: 12px; letter-spacing: .1em; }
  .jewel-editorial { padding-top: calc(var(--joc-nav-height) + 24px); }
  .journal-main { padding-top: var(--joc-section-y); }
  .cookies_card { width: calc(100vw - 32px); max-width: 380px; padding: 20px; }
  .joc-stay-search-section { margin-top: 0; padding: 24px 0 16px; background: var(--joc-ivory); }
  .joc-hero-search { padding: 20px; }
  .joc-hero-search-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
  .joc-hero-search button { grid-column: 1 / -1; }
  .joc-location-compact { height: auto; min-height: 0; padding: 64px 0; }
  .joc-location-compact > .grid { display: flex; flex-direction: column; gap: 24px; }
  .joc-location-compact .loc-intro-s_title .h1 { font-size: clamp(40px, 7vw, 64px); }
  .joc-location-compact .loc-intro-s_img { width: 100%; height: auto; aspect-ratio: auto; }
  .joc-location-compact .loc-intro-s_img .img-w { height: 360px; }
  .joc-location-compact .loc-intro-s_img .u-32,
  .joc-location-compact .loc-intro-s_desc :is(.u-32, .u-96) { display: none; }
  .joc-location-compact .loc-intro-s_desc { max-width: 100%; }
  .joc-location-compact .loc-intro-s_btn { align-self: flex-start; }
}
@media (max-width: 479px) {
  html:root { --joc-nav-bar-height: 76px; }
  .joc-navbar { padding-inline: 14px; gap: 10px; }
  .joc-nav-brand { gap: 8px; }
  .joc-nav-mark { width: 36px; height: 36px; }
  .joc-nav-wordmark { width: 140px; }
  .joc-nav-actions { gap: 8px; }
  .joc-nav-book { min-height: 44px; padding-inline: 12px; font-size: 12px; }
  .joc-nav-book span { display: none; }
  .joc-hero-search { width: calc(100% - 32px); padding: 18px; }
  .joc-hero-search-fields { gap: 12px 16px; }
  .joc-hero-search button { font-size: 13px; }
}
@media (max-width: 364px) {
  .joc-navbar { padding-inline: 8px; gap: 6px; }
  .joc-nav-brand { gap: 6px; }
  .joc-nav-mark { width: 32px; height: 32px; }
  .joc-nav-wordmark { width: 120px; }
  .joc-nav-actions { gap: 6px; }
  .joc-nav-book { padding-inline: 9px; }
}
@media (max-width: 374px) {
  html[lang='id'] .jewel-editorial-heading h1 { font-size: clamp(34px, calc(21.3vw - 32.65px), 47px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .joc-navbar, .joc-navbar *, .joc-nav-menu * { transition: none !important; }
  .marquee, .header-logo_bg { display: none !important; }
  [data-prevent-flicker], [data-scroll-reveal], [data-part] { visibility: visible !important; opacity: 1 !important; }
  [data-scroll-reveal] .split-line, [data-scroll-reveal] .split-word, [data-scroll-reveal] .split-char { transform: none !important; opacity: 1 !important; }
  .hero-scroll-area { height: 100svh !important; min-height: 680px; }
  .hero-w { position: relative; height: 100%; }
  .hero-w_bg_master_img .hero-img { height: 100svh; min-height: 680px; }
  .benefits-intro-w, .interior-w, .other-title-w { margin-top: 0; }
  .amen-scroll-area, .loc-scroll-area { height: auto !important; }
  .amen-scroll-area > .scroll-area_screen, .loc-scroll-area > .scroll-area_screen { position: relative; }
  .amen-s { height: 85svh; min-height: 620px; max-height: 900px; }
  .loc-scroll-area .loc-path { flex-direction: column; height: auto; }
  .loc-scroll-area .loc-path > * { width: 100%; max-width: 100%; }
  .loc-info-s, .footer-s { opacity: 1 !important; transform: none !important; }
  .split-char, .split-word, .split-line { transition: none !important; animation: none !important; }
}

/* Content sections share edge spacing. Adjacent editorial groups on the same background share
   one gap instead of adding both edges together. Full-screen photo sections and scroll scenes are exempt:
   hero, room spotlight (.apart-type), photo tabs (.amen), location track, island living, contact, footer.
   Side space stays the container's offset (48px desktop, 24px phone). */
:root { --joc-section-y: clamp(64px, 6.667vw, 96px); }
main > section:has(> .container > :is(.benefits-intro-w, .benefits-w, .apart-info-w, .interior-w, .other-w, .other-title-w)),
.joc-home-rooms { padding-block: var(--joc-section-y); }
main > section:has(> .container > .benefits-intro-w):has(+ section > .container > .benefits-w),
main > section:has(> .container > .benefits-w):has(+ .joc-home-rooms),
main > section:has(> .container > .other-title-w):has(+ section > .container > .other-w) {
  padding-bottom: 0;
}
:is(.benefits-intro-s, .benefits-s, .apart-info-s, .interior-s, .other-s, .other-title-s) {
  height: auto; min-height: 0; padding-top: 0; padding-bottom: 0;
}
:is(.apart-info-s, .interior-s, .other-s, .other-title-s_t) > [class*="u-"]:first-child,
:is(.apart-info-s, .interior-s, .other-s, .other-title-s) > [class*="u-"]:last-child { display: none; }
/* "Pool suites…" opens with a decorative line that hung from the section above; with the rhythm it would float. */
.apart-info-s > .u-48:first-child + .divider,
.apart-info-s > .u-48:first-child + .divider + .u-48 { display: none; }
/* Trailing space inside the last element of a content section would add to the rhythm. */
:is(.benefits-s, .interior-s) .joc-slider-controls { padding-bottom: 0; }
.other-cms_list_item:last-child .other-card_info_desc > .u-48:last-child { display: none; }
.other-title-s_b > [class*="u-"]:last-child { display: none; }
/* On phones the four accordion titles stacked as an oversized, centred wall of text with the plus
   marks floating at the far right. Make each row a readable title-plus line instead. */
@media (max-width: 767px) {
  .other-card_name { justify-content: stretch; }
  .other-card_name_label {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; width: 100%;
  }
  .other-card_name_label .h3 {
    font-size: clamp(26px, 8vw, 36px); line-height: 1.1; text-align: left;
  }
  .other-card_ico { position: static; flex: none; }
}
/* Page-opening sections sit under the fixed navbar: navbar + rhythm above the content, rhythm below.
   The room page (.lot) keeps its sticky info column and is exempt like the other scroll scenes. */
.jewel-editorial { padding-top: calc(var(--joc-nav-height) + var(--joc-section-y)); padding-bottom: var(--joc-section-y); }
.jewel-editorial-inner > :first-child { margin-top: 0; }
.jewel-editorial-inner > :last-child { margin-bottom: 0; }
.apart-s > .u-48:first-child { height: calc(var(--joc-nav-height) + var(--joc-section-y)); }
.apart-s > .u-160:last-child { height: var(--joc-section-y); }

/* Shared company footer */
.joc-footer {
  position: relative;
  z-index: 1;
  padding: 72px clamp(24px, 5vw, 80px) 22px;
  border-top: 1px solid #114f6720;
  background: var(--joc-ivory);
  color: var(--joc-teal);
  font: 400 14px/1.6 Lato, Arial, sans-serif;
}
.joc-footer-inner { width: min(1360px, 100%); margin-inline: auto; }
.joc-footer-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.45fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(28px, 5vw, 76px);
  padding-bottom: 56px;
}
.joc-footer-brand { display: inline-flex; align-items: center; gap: 14px; color: var(--joc-teal); }
.joc-footer-brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 52px;
  height: 64px;
  object-fit: contain;
}
.joc-footer-wordmark-crop {
  display: block;
  flex: 0 1 auto;
  width: clamp(170px, 16vw, 220px);
  /* Tall enough for the tail of the J, short enough to leave out the tagline below it. */
  aspect-ratio: 100 / 11.5;
  overflow: hidden;
}
.joc-footer-wordmark { display: block; width: 100%; height: auto; max-width: none; }
.joc-footer-column h2 {
  margin: 3px 0 19px;
  color: var(--joc-plum);
  font: 700 11px/1.3 Lato, Arial, sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.joc-footer-column ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.joc-footer-column address { max-width: 245px; color: #114f67e0; font-style: normal; }
.joc-footer a { color: inherit; text-decoration: none; }
.joc-footer-column a, .joc-footer-map { color: #114f67e0; transition: color 160ms ease; }
.joc-footer-column a:hover, .joc-footer-map:hover { color: var(--joc-plum); text-decoration: underline; text-underline-offset: 4px; }
.joc-footer-map { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12px; }
.joc-footer-map span { font-size: 15px; }
.joc-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid #114f6733;
  color: #114f67b8;
  font-size: 12px;
}
.joc-footer-bottom p { margin: 0; }
.joc-footer-bottom-links { display: flex; flex-wrap: wrap; gap: 22px; }
.joc-footer-bottom-links a { color: inherit; }
.joc-footer-bottom-links a:hover { color: var(--joc-plum); text-decoration: underline; text-underline-offset: 4px; }
/* Contact payments (T-017, D-111): a short text card, bank transfer only. */
.joc-payments {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin-top: 48px; padding: clamp(24px, 3vw, 40px);
  border: 1px solid #114f6733; background: #fffdf8; color: var(--joc-ink);
  font: 16px/1.65 Lato, Arial, sans-serif;
  scroll-margin-top: calc(var(--joc-nav-height) + 24px);
}
.joc-payments-copy { min-width: 0; max-width: 640px; }
.joc-payments h2 { margin: 0 0 12px; color: var(--joc-teal); font: 400 clamp(26px, 2.5vw, 34px)/1.2 Baskervville, Georgia, serif; }
.joc-payments-copy > p { margin: 0; }
@media (max-width: 767px) {
  .joc-payments { flex-direction: column; align-items: stretch; gap: 24px; margin-top: 32px; }
}
.joc-footer [data-copy] { display: none; }
.joc-footer[data-joc-locale='en'] [data-copy='en'],
.joc-footer[data-joc-locale='id'] [data-copy='id'] { display: inline; }
.joc-footer a:focus-visible { outline: 2px solid var(--joc-plum); outline-offset: 4px; }
@media (max-width: 900px) {
  .joc-footer-grid { grid-template-columns: minmax(220px, 1.2fr) 1fr 1fr; }
  .joc-footer-brand-block { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .joc-footer { padding: 52px 24px 20px; }
  .joc-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; padding-bottom: 40px; }
  .joc-footer-brand-block { grid-column: 1 / -1; }
  .joc-footer-brand { gap: 12px; }
  .joc-footer-brand-mark { width: 42px; height: 52px; }
  .joc-footer-wordmark-crop { width: min(190px, 52vw); }
  .joc-footer-column h2 { margin-bottom: 14px; }
  .joc-footer-column ul { gap: 9px; }
  .joc-footer-column, .joc-footer-visit { min-width: 0; overflow-wrap: anywhere; }
  .joc-footer-visit { grid-column: 1 / -1; }
  .joc-footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
  .joc-footer-bottom-links { gap: 10px 18px; }
}
@media (max-width: 380px) {
  .joc-footer { padding-inline: 18px; }
  .joc-footer-grid { column-gap: 16px; }
}

/* Keep the closing call-to-action copy centered and inside its image on every page. */
.cta-w .cta-s > .grid { width: 100%; }
.cta-w .cta-s_desc,
.cta-w .cta-s_title {
  grid-area: 1 / 1 / 2 / -1;
  box-sizing: border-box;
  width: 100%;
  margin-inline: auto;
  text-align: center;
}
.cta-w .cta-s_desc { max-width: 720px; padding-inline: 16px; }
.cta-w .cta-s_desc .l1 {
  font-size: clamp(11px, .7vw, 14px);
  line-height: 1.55;
  letter-spacing: .06em;
  text-wrap: balance;
}
.cta-w .cta-s_title { max-width: 820px; }
.cta-w .cta-s_title .h1 {
  margin: 0;
  font-size: clamp(44px, 5vw, 80px);
  line-height: .98;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.cta-w .cta-s_title .c1 {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  font-size: clamp(12px, .82vw, 15px);
  line-height: 1.5;
  letter-spacing: .18em;
  text-align: center;
  text-wrap: balance;
}

/* Closing image on every page: full-bleed, shorter, with the call to action kept over the photo. */
section:has(.cta-w) {
  --_colors---other--bg: transparent;
  background-color: transparent !important;
}
.cta-w {
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
}
.cta-w > .w_bg {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}
.cta-w > .w_bg > .img-w {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cta-w > .w_bg .img-p {
  width: 100%;
  height: 140%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.cta-s {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 3.5vh, 44px);
  box-sizing: border-box;
  width: 100%;
  height: clamp(560px, 76vh, 860px);
  min-height: 0;
  padding: 48px clamp(24px, 8vw, 128px);
  aspect-ratio: auto;
}
.cta-s > .u-48,
.cta-s > .u-272,
.cta-s_title > .u-160 { display: none !important; }
.cta-s > .grid { width: 100%; }
.cta-s_title_btn { margin-top: clamp(20px, 2vw, 32px); }
@media (max-width: 767px) {
  .cta-s {
    height: clamp(520px, 78svh, 720px);
    gap: 24px;
    padding: 40px 22px;
  }
}
/* The template clips [data-footer-clip] while the footer scrolls in. With the shared footer below
   the CTA (not over it) that only shrank the closing photo into a narrow strip and hid its white
   copy, on phones and desktops alike, so keep the whole call to action full width. */
main [data-footer-clip] { clip-path: none !important; }

/* Journal, booking and info pages close like the home page: the shared footer carries these links. */
.journal-footer { display: none; }

/* Photo library: an editorial index of the current photo set. */
.jewel-gallery-cta { margin: 28px 0 0; }
.jewel-gallery-cta .jewel-action { padding: 13px 22px; margin-top: 0; font-family: Lato, Arial, sans-serif; font-size: 13px; font-weight: 700; text-decoration: none; }
.joc-photo-page {
  min-height: 100svh;
  padding: calc(var(--joc-nav-height) + 72px) 24px 96px;
  background: var(--joc-ivory);
  color: var(--joc-ink);
}
.joc-photo-header,
.joc-photo-filters,
.joc-photo-result,
.joc-photo-grid,
.joc-photo-empty { width: min(1360px, 100%); margin-inline: auto; }
.joc-photo-header { margin-bottom: 34px; }
.joc-photo-kicker {
  margin: 0 0 18px;
  color: var(--joc-plum);
  font: 700 11px/1.4 Lato, Arial, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.joc-photo-header h1 {
  margin: 0;
  max-width: 1100px;
  font-family: var(--_fonts---font-display);
  font-size: clamp(52px, 7vw, 112px);
  font-weight: 400;
  line-height: 1.02;
  color: var(--joc-teal);
}
.joc-photo-intro {
  max-width: 720px;
  margin: 24px 0 0;
  color: #114f67cc;
  font: 16px/1.7 Lato, Arial, sans-serif;
}
.joc-photo-back { margin-top: 22px; color: var(--joc-teal); }
.joc-photo-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0 12px;
  border-top: 1px solid #114f6726;
}
.joc-photo-filter {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #114f6740;
  border-radius: 999px;
  background: transparent;
  color: var(--joc-teal);
  font: 700 11px/1 Lato, Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.joc-photo-filter span {
  color: #114f678f;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.joc-photo-filter[aria-pressed='true'] { border-color: var(--joc-plum); background: var(--joc-plum); color: #fff; }
.joc-photo-filter[aria-pressed='true'] span { color: #ffffffbf; }
.joc-photo-result {
  margin-top: 10px;
  margin-bottom: 14px;
  color: #114f678f;
  font: 12px/1.4 Lato, Arial, sans-serif;
  letter-spacing: .04em;
}
.joc-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}
.joc-photo-card { min-width: 0; }
.joc-photo-card a {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
}
.joc-photo-frame {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e9eeee;
}
.joc-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.25, 1, .5, 1);
}
.joc-photo-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 0 16px;
}
.joc-photo-meta .joc-photo-label {
  color: #114f67;
  font: 14px/1.4 Lato, Arial, sans-serif;
}
.joc-photo-note { display: block; color: var(--joc-teal); font: 12px/1.5 Lato, Arial, sans-serif; }
.joc-photo-dialog .joc-photo-note { margin-top: 8px; color: #f5f2ea; }
.joc-photo-card[data-photo-category='food'] .joc-photo-frame img { object-fit: contain; }
.joc-photo-cat {
  color: var(--joc-plum);
  font: 700 10px/1.2 Lato, Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.joc-photo-empty { padding: 36px 0; color: #114f67b8; font: 15px/1.6 Lato, Arial, sans-serif; }
.joc-photo-card a:focus-visible,
.joc-photo-filter:focus-visible,
.joc-photo-dialog button:focus-visible {
  outline: 2px solid var(--joc-plum);
  outline-offset: 4px;
}
.joc-photo-dialog {
  width: min(1100px, calc(100vw - 32px));
  max-width: 1100px;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: #0d171b;
  color: #fff;
  box-shadow: 0 24px 90px #0008;
}
.joc-photo-dialog::backdrop { background: #0d171bd9; }
.joc-photo-dialog-inner { padding: 16px 16px 20px; }
.joc-photo-dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.joc-photo-count { margin: 0; color: #ffffffa6; font: 12px/1.4 Lato, Arial, sans-serif; letter-spacing: .08em; }
.joc-photo-dialog-close,
.joc-photo-dialog-arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #ffffff4d;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: 26px/1 Lato, Arial, sans-serif;
  cursor: pointer;
}
.joc-photo-dialog-close { font-size: 32px; }
.joc-photo-dialog figure {
  display: grid;
  place-items: center;
  gap: 14px;
  margin: 0;
  min-height: 0;
}
.joc-photo-dialog figure img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 72dvh;
  object-fit: contain;
}
.joc-photo-dialog figcaption {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-self: stretch;
  color: #fff;
  font: 14px/1.4 Lato, Arial, sans-serif;
}
.joc-photo-dialog figcaption .joc-photo-cat { color: #e7b9d7; }
.joc-photo-dialog-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
@media (min-width: 700px) {
  .joc-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1100px) {
  .joc-photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
}
@media (hover: hover) and (pointer: fine) {
  .joc-photo-card a:hover img { transform: scale(1.035); }
}
@media (max-width: 600px) {
  .joc-photo-page { padding: calc(var(--joc-nav-height) + 42px) 18px 64px; }
  .joc-photo-header { margin-bottom: 24px; }
  .joc-photo-header h1 { font-size: clamp(48px, 15vw, 72px); }
  .joc-photo-intro { margin-top: 18px; font-size: 15px; }
  .joc-photo-filter { min-height: 42px; padding-inline: 13px; font-size: 10px; }
  .joc-photo-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .joc-photo-dialog-inner { padding: 10px 10px 14px; }
  .joc-photo-dialog figure img { max-height: 62dvh; }
  .joc-photo-dialog-close, .joc-photo-dialog-arrow { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .joc-photo-frame img { transition: none; }
  .joc-photo-card a:hover img { transform: none; }
}
/* 404 page: the same journal intro, without the journal's full-height column. */
.joc-not-found { min-height: 0; }
.joc-not-found .journal-intro { margin-bottom: 0; }
.joc-not-found-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
.joc-not-found-links .jewel-action { margin-top: 0; color: var(--joc-teal); font-family: Lato, Arial, sans-serif; text-decoration: none; }
/* Rooms mega menu (desktop navbar only; below 1200px the links are hidden). The wrapper stretches to the bar's full
   height and so touches the panel: the pointer can travel straight down from the link without leaving it. The wrapper is
   narrow, so a diagonal move towards a far room still crosses the neighbouring links; closing therefore waits 200ms, and
   a pointer that reaches the panel in that time keeps it open.
   Closed is visibility:hidden, not display:none: Chrome does not hit-test a box during a discrete display transition,
   although getComputedStyle still says block, so the panel could not be re-entered. content-visibility:hidden keeps the
   lazy images unloaded until the panel first opens. */
.joc-nav-links { align-self: stretch; }
.joc-nav-rooms { display: flex; align-items: center; align-self: stretch; }
.joc-mega {
  visibility: hidden; content-visibility: hidden; position: absolute; top: 100%; inset-inline: 0; max-height: calc(100dvh - var(--joc-nav-height)); overflow-y: auto;
  padding: 32px clamp(20px, 3vw, 56px) 24px; box-sizing: border-box;
  background: #fffdf8; border-top: 1px solid #114f671a; border-bottom: 1px solid #114f671a; box-shadow: 0 24px 48px #114f671f;
  /* z-index:-1 paints it above the header's background and below the links. */
  z-index: -1; opacity: 0; transform: translateY(-12px);
  transition: opacity 240ms ease 200ms, transform 320ms cubic-bezier(.22, 1, .36, 1) 200ms, visibility 0s linear 520ms, content-visibility 0s allow-discrete 520ms;
}
.joc-nav-rooms:is(:hover, :focus-within):not([data-dismissed]) .joc-mega { visibility: visible; content-visibility: visible; opacity: 1; transform: none; transition-delay: 0ms; }
/* Escape closes without the wait. */
.joc-nav-rooms[data-dismissed] .joc-mega { transition-delay: 0ms, 0ms, 320ms, 320ms; }
/* The columns reset only after the panel has faded out, so re-entering during the wait does not replay them. */
.joc-mega-group { opacity: 0; transform: translateY(10px); transition: opacity 0s linear 500ms, transform 0s linear 500ms; }
.joc-nav-rooms:is(:hover, :focus-within):not([data-dismissed]) .joc-mega-group {
  opacity: 1; transform: none; transition: opacity 420ms cubic-bezier(.22, 1, .36, 1), transform 420ms cubic-bezier(.22, 1, .36, 1);
  @starting-style { opacity: 0; transform: translateY(10px); }
}
.joc-nav-rooms:is(:hover, :focus-within):not([data-dismissed]) .joc-mega-group:nth-child(2) { transition-delay: 60ms; }
.joc-nav-rooms:is(:hover, :focus-within):not([data-dismissed]) .joc-mega-group:nth-child(3) { transition-delay: 120ms; }
.joc-nav-rooms:is(:hover, :focus-within):not([data-dismissed]) > a::after { transform: scaleX(1); }
.joc-mega-groups { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; max-width: 1560px; margin-inline: auto; }
.joc-mega-heading { margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid #114f671a; color: var(--joc-plum); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.joc-mega ul { display: grid; gap: 4px 24px; margin: 0; padding: 0; list-style: none; }
.joc-mega-group[data-type='suite'] ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.joc-nav-links .joc-mega a { padding: 0; white-space: normal; }
.joc-nav-links .joc-mega a::after { display: none; }
.joc-mega li a { display: flex; align-items: center; gap: 14px; padding: 8px; margin-inline: -8px; border-radius: 4px; color: var(--joc-teal); transition: background-color 160ms ease; }
.joc-nav-links .joc-mega li a { padding: 8px; }
.joc-mega li a:hover, .joc-mega li a:focus-visible, .joc-mega li a[aria-current='page'] { background: #114f670f; }
.joc-mega li img { flex: 0 0 96px; width: 96px; height: 64px; object-fit: cover; }
.joc-mega li strong { display: block; font: 400 19px/1.2 Baskervville, Georgia, serif; }
.joc-mega li small { display: block; margin-top: 4px; font-size: 13px; color: var(--joc-ink); }
.joc-mega-all { display: block; max-width: 1560px; margin: 16px auto 0; font-size: 13px; font-weight: 700; text-align: right; }
@media (prefers-reduced-motion: reduce) {
  /* No movement or fade, but the same wait before closing. !important and .joc-navbar because of the rule that turns off
     every transition in the navbar for reduced motion. */
  .joc-mega { transform: none; }
  .joc-navbar .joc-mega { transition: opacity 0s linear 200ms, visibility 0s linear 200ms, content-visibility 0s allow-discrete 200ms !important; }
  .joc-nav-rooms:is(:hover, :focus-within):not([data-dismissed]) .joc-mega, .joc-nav-rooms[data-dismissed] .joc-mega { transition-delay: 0ms !important; }
  .joc-mega-group { opacity: 1; transform: none; }
}

/* T-015 phase 2b. Intro on the home page only (Putu): visible before the runtime starts, so CSS hides it elsewhere. */
body:not(:has(main[data-barba-namespace="home"])) :is([data-preloader], [data-master-preloader]) { display: none !important; }
/* B1: the breadcrumb is a normal horizontal line at the top of the room page, not running down the left edge. */
@media (min-width: 992px) {
  .header-cramps {
    position: absolute; top: calc(var(--joc-nav-height) + 12px); left: var(--_special-units---offset-l, 48px);
    display: flex; flex-direction: row; align-items: center; gap: 8px;
    width: auto; height: auto; transform: none !important; rotate: none !important;
    color: var(--joc-ink); z-index: 2;
  }
  .header-cramps :is(.l2, a) { color: inherit; }
}
/* A5: the template's floated .red-line pushed the first line of headings in; these lines touched each other. */
.red-line { display: none !important; }
.amen-slide_desc .h5, .interior-s_r_lead .h5 { line-height: 1.2; }
.benefit-slide_cap { margin: 12px 0 0 !important; }
@media (max-width: 991px) {
  /* A3: on phones the text comes first, so the dots sit directly under the photo. */
  .benefit-slide { display: flex; flex-direction: column; }
  .benefit-slide > * { width: 100%; }
  .benefit-slide_c { order: 3; }
}
/* A3: dots below the image, arrows on desktop; slider-controls.js fills the dots. */
[data-joc-slider] .joc-slider-controls { display: flex; align-items: center; justify-content: center; gap: 16px; }
.joc-slider-dots { display: flex; justify-content: center; gap: 2px; flex: 1; }
.joc-slider-dot { width: 28px; height: 28px; padding: 0; border: 0 !important; background: transparent !important; cursor: pointer; }
.joc-slider-dot::before { content: ""; display: block; width: 10px; height: 10px; margin: auto; border: 1px solid var(--joc-teal); border-radius: 50%; box-sizing: border-box; }
.joc-slider-dot[aria-current="true"]::before { background: var(--joc-teal); }
.joc-slider-controls .joc-slider-dot:hover { background: transparent; }
@media (max-width: 991px), (hover: none) { .joc-slider-navigation { display: none !important; } }
/* A6: the suites head and three featured suites. */
.joc-home-rooms-intro { max-width: 760px; margin: -16px 0 32px; font: 16px/1.65 Lato, sans-serif; color: var(--joc-ink); }
.joc-home-rooms-intro p { margin: 0 0 12px; }
.joc-home-rooms-kicker { color: var(--joc-plum); font: 400 20px/1.35 Baskervville, Georgia, serif !important; }
.joc-home-rooms-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 991px) { .joc-home-rooms-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); } }
.joc-villa-link { display: inline-block; }
/* A2: a short location note where the clouds were. */
.joc-loc-note { display: grid; gap: 8px; margin: 0 0 24px; padding: 20px; box-sizing: border-box; background: #fffdf8; color: var(--joc-ink); text-align: left; }
.joc-loc-note .h5 { margin: 0; color: var(--joc-teal); font: 400 22px/1.25 Baskervville, Georgia, serif; letter-spacing: 0; text-transform: none; }
.joc-loc-note .p1 { margin: 0; font: 15px/1.6 Lato, sans-serif; color: var(--joc-ink) !important; opacity: 1; display: block; }
.joc-loc-note a { color: var(--joc-plum); font: 700 14px/1.5 Lato, sans-serif; text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 992px) { .joc-loc-note { position: relative; width: 340px; margin-left: calc(100% - 340px); } }
/* T-015 D-094, Putu: the home slider controls follow the plum of "Book a stay". */
main[data-barba-namespace="home"] .joc-slider-navigation button { border-color: #66184f4d; color: var(--joc-plum); }
main[data-barba-namespace="home"] .joc-slider-navigation button:is(:hover, :active) { border-color: var(--joc-plum); background: var(--joc-plum); color: #fff; }
main[data-barba-namespace="home"] .joc-slider-dot::before { border-color: var(--joc-plum); }
main[data-barba-namespace="home"] .joc-slider-dot[aria-current="true"]::before { background: var(--joc-plum); }
/* Eight dots fit one line at 360. */
@media (max-width: 479px) { .joc-slider-controls button.joc-slider-dot { min-width: 36px; width: 36px; } }
/* T-015 D-094, Putu: a larger photo and less empty space in the sideways slider. The motion itself is untouched: travel
   follows the track width. Panel widths leave about 160 px (11vw) between one panel's content and the next. */
@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
  .loc-scroll-area { --joc-location-overlap: 13.7vw; }
  .loc-scroll-area .loc-info-w { width: 88vw; }
  .loc-scroll-area .loc-intro-w:has(.joc-location-compact) { width: max-content; margin-left: calc(-1 * var(--joc-location-overlap)); }
  /* The flower keeps its size and corner (D-096). The panel stays wide so the corner is clear of the text, and the text
     starts about 11vw from the photo instead of centring in the panel. */
  .loc-scroll-area .loc-path-w { width: 72vw; }
  .loc-scroll-area .loc-path-s { width: max-content; max-width: none; margin: 0; padding-inline: calc(11vw - 24px) 0; }
  .loc-scroll-area :is(.loc-path-s_title, .jewel-location-card) { width: 100%; margin: 0; }
  .loc-scroll-area .jewel-location-card { padding-inline: 0; }
  .loc-scroll-area .loc-path-s .grid { display: block; width: 100%; margin: 0; }
  .loc-scroll-area .loc-path-s_title { width: 0; min-width: 100%; }
  .loc-scroll-area .joc-location-compact { padding-inline: 0 24px; }
  .loc-scroll-area .joc-location-compact > .grid {
    width: max-content; max-width: none; grid-template-columns: clamp(420px, 34vw, 640px) calc(80vh * 1.5);
  }
  .loc-scroll-area .joc-location-compact .loc-intro-s_img .img-w { height: 80vh; min-height: 0; max-height: none; }
  .loc-scroll-area .loc-path-s_path_c, .loc-scroll-area .jewel-location-card { width: 100%; }
  .loc-scroll-area .jewel-location-card .h3 { white-space: nowrap; }
}
/* T-015 D-096, phones: more room between the copy and the screen edge, so the words stay whole a little longer while a
   panel slides. Same words and sizes. */
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  .loc-scroll-area .joc-location-compact :is(.loc-intro-s_cap, .loc-intro-s_title, .loc-intro-s_desc) { padding-inline: 8px; }
  .loc-scroll-area :is(.info-s_lead, .s_title) { padding-inline: 8px; box-sizing: border-box; }
}
/* T-015 D-096, phones. The dots sit right under the photo: in the room slider the title, the details and the button used
   to come between them. The title no longer overlaps the photo, because the dots take that place. */
@media (max-width: 991px) {
  .apart-type-s_cms { position: relative; }
  .apart-type-s_cms > .joc-slider-controls {
    position: absolute; z-index: 2; inset: calc((var(--_special-units---1-cell-h) * 3 + var(--_special-units---grid-gap) * 2) * 4 / 3 + 8px) 0 auto; width: 100%; padding: 0;
  }
  .apart-type-s_cms > .u-16 { display: none; }
  .apart-type-slide_b { margin-top: 64px; }
  /* In the gallery the link to the full gallery came between the photo and the dots; it follows them now. */
  .interior-s_gallery-cms { display: flex; flex-direction: column; }
  .interior-s_gallery-cms > .jewel-gallery-link { order: 3; }
  .interior-s_gallery-cms > .u-16 { display: none; }
}
/* T-015 phase 3: room cards and the shared list from Website Copy v2. */
.apart-s_title { align-items: flex-start; }
.apart-s_title .jewel-catalog-title { text-align: left; }
.joc-rooms-intro {
  width: 100%; max-width: 780px; margin: 28px 0 32px; text-align: left;
}
.joc-rooms-intro .h5 {
  margin: 0 0 14px; color: var(--joc-teal);
  font-size: clamp(22px, 2vw, 30px); line-height: 1.3;
  text-transform: none; letter-spacing: 0;
}
.joc-rooms-intro .jewel-catalog-intro {
  max-width: 100%; margin: 0; text-align: left;
  font-size: 16px; line-height: 1.75; letter-spacing: 0; text-wrap: pretty;
}
.joc-rooms-rates {
  margin: 16px 0 0; font: 400 13px/1.5 Lato, Arial, sans-serif;
  letter-spacing: 0; color: var(--joc-ink);
}
.joc-rooms-intro + .u-16 { display: none; }
@media (max-width: 767px) {
  .joc-rooms-intro { margin-top: 24px; margin-bottom: 28px; }
  .joc-rooms-intro .h5 { margin-bottom: 12px; }
  .joc-rooms-intro .jewel-catalog-intro { font-size: 15px; }
}
.joc-card-label { display: block; width: max-content; margin: 0 auto 6px; padding: 2px 8px; background: var(--joc-plum); color: #fff; font: 700 11px/1.5 Lato, Arial, sans-serif; letter-spacing: .08em; }
.lot-s_info_header_num .joc-card-label { margin: 0; }
.apart-card .l2 { font-size: clamp(10px, .75vw, 12px); line-height: 1.6; letter-spacing: .12em; }
.apart-card_add .l1 { font-size: 12px; line-height: 1.5; }
/* The room cards are taller now, and a benefit card's aspect ratio would turn the row's height into a wider column. */
@media (min-width: 992px) { .apart-cms_list:has(> [data-filter-item]) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.apart-cms_list:has(> [data-filter-item]),
.apart-benefits-cms_list:has(> [data-filter-item]),
.joc-home-rooms-grid { gap: clamp(20px, 2vw, 32px); }
/* Give three recommendations the same usable width and columns as the main room catalogue. */
@media (min-width: 992px) {
  .other-s:has(.apart-benefits-cms_list) { grid-column: 2 / -2; }
  .other-s .apart-benefits-cms_list.c-2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .other-s .apart-card_info .h5 { font-size: clamp(22px, 2.2vw, 32px); }
}
@media (min-width: 768px) and (max-width: 991px) {
  .apart-cms_list:has(> [data-filter-item]),
  .other-s .apart-benefits-cms_list.c-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Template labels scale with viewport width; two-column tablet cards need a bounded label size. */
  .apart-card .l2, .apart-s_cms_filter .l2 { font-size: 11px; line-height: 1.6; letter-spacing: .12em; }
  .apart-s_cms_filter { padding-block: 16px; }
  .apart-s_cms_filter_c > .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .apart-s_cms_filter_item {
    grid-column: auto; min-width: 0; min-height: 44px; margin-bottom: 0; padding-inline: 16px; gap: 12px;
  }
}
.apart-card:has(.joc-card-notes) { aspect-ratio: auto; }
.apart-card:has(.joc-card-notes) .apart-card_c { display: flex; flex-direction: column; height: 100%; }
.apart-card:has(.joc-card-notes) .apart-card_b { display: flex; flex-direction: column; flex: 1; }
.apart-card:has(.joc-card-notes) .joc-card-notes { flex: 1; }
.joc-card-notes { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; text-align: center; font: 14px/1.6 Lato, Arial, sans-serif; color: var(--joc-ink); }
.joc-card-notes p { margin: 0; }
.joc-card-notes p:first-child { font-weight: 700; }
/* Charges are supporting copy, not the small, widely spaced uppercase room labels. */
.joc-extra-guest {
  color: var(--joc-ink); font: 400 14px/1.65 Lato, Arial, sans-serif;
  letter-spacing: normal; text-transform: none;
}
.lot-s_info_t > .joc-extra-guest { max-width: 48ch; margin: 16px 0 0; }
.lot-s_info_t > .joc-extra-guest + .u-48 { height: 32px; }
.apart-card .joc-extra-guest {
  margin: 12px 0 0; font: 400 13px/1.65 Lato, Arial, sans-serif;
  letter-spacing: normal; text-transform: none;
}
.apart-card_data-list > .l2 {
  font: 400 13px/1.6 Lato, Arial, sans-serif; letter-spacing: .02em; text-transform: none;
}
/* Catalogue summaries: one name and one lead; room details hold the full amenity copy. */
.joc-room-card { height: 100%; padding: 0; aspect-ratio: auto; }
.joc-room-card .apart-card_c { display: flex; flex-direction: column; gap: 20px; height: 100%; padding: 24px; }
.joc-room-card .apart-card_c > .u-16, .joc-room-card .apart-card_b > .u-16 { display: none; }
.joc-room-card .apart-card_img { order: 0; flex: none; }
.joc-room-card .apart-card_t { order: 1; }
.joc-room-card .apart-card_t h2 {
  margin: 0; text-align: left; color: var(--joc-teal);
  font: 400 clamp(24px, 2vw, 28px)/1.25 Baskervville, Georgia, serif;
  letter-spacing: 0; text-transform: none;
}
.joc-room-card .apart-card_b { order: 2; display: flex; flex-direction: column; flex: 1; gap: 16px; }
.joc-room-card .apart-card_data-list { justify-content: flex-start; }
.joc-room-card .apart-card_data-list > .l2 { text-align: left; font-size: 12px; letter-spacing: 0; }
.joc-room-card:has(.joc-card-notes) .joc-card-notes { flex: none; margin: 0; text-align: left; }
.joc-room-card .joc-card-notes p:first-child { font-weight: 400; }
.joc-room-card-facilities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; margin: 0 0 4px; padding: 0; list-style: none; }
.joc-room-card-facilities li { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--joc-teal); font: 400 12px/1.5 Lato, Arial, sans-serif; }
.joc-room-card-facilities svg { display: block; flex: 0 0 20px; }
.joc-room-card .apart-card_info { justify-content: flex-start; flex-wrap: wrap; gap: 4px 8px; margin-top: auto; }
.joc-room-card .apart-card_info > h3 { font: 400 12px/1.5 Lato, Arial, sans-serif; letter-spacing: 0; text-transform: none; }
.joc-room-card .apart-card_info .jewel-card-rate { font: 400 clamp(22px, 1.8vw, 26px)/1.3 Lato, Arial, sans-serif; letter-spacing: 0; white-space: nowrap; }
.joc-room-card .apart-card_add { display: flex; justify-content: center; padding-top: 16px; border-top: 1px solid #114f6720; }
.joc-room-card-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 44px; max-width: 100%; padding: 12px 20px; border: 1px solid var(--joc-plum); border-radius: 2px;
  background: var(--joc-plum); color: #fff; text-align: center;
  font: 700 13px/1.4 Lato, Arial, sans-serif; letter-spacing: 0; text-transform: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.joc-room-card-cta-arrow { font-size: 18px; line-height: 1; transition: transform 180ms ease; }
.joc-room-card-cta:hover, .joc-room-card:focus-visible .joc-room-card-cta { background: #4d103b; border-color: #4d103b; }
.joc-room-card-cta:hover .joc-room-card-cta-arrow, .joc-room-card:focus-visible .joc-room-card-cta-arrow { transform: translate(2px, -2px); }
.joc-room-card-cta:active, .joc-room-card:active .joc-room-card-cta { transform: translateY(1px); }
.joc-room-card:focus-visible .joc-room-card-cta { outline: 2px solid var(--joc-plum); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .joc-room-card-cta, .joc-room-card-cta-arrow { transition: none; }
  .joc-room-card-cta:active, .joc-room-card:active .joc-room-card-cta, .joc-room-card-cta:hover .joc-room-card-cta-arrow, .joc-room-card:focus-visible .joc-room-card-cta-arrow { transform: none; }
}
@media (max-width: 767px) {
  .joc-room-card .apart-card_c { padding: 20px; }
}
@media (min-width: 768px) {
  .joc-room-card .joc-card-notes { min-height: 3.2em; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .joc-room-card .apart-card_t h2 { min-height: 2.5em; }
}
.joc-room-tabs [data-tab-content="desc"] p[data-joc-field] { line-height: 1.65; }
.joc-room-tabs [data-tab-content="desc"] p[data-joc-field] + p[data-joc-field] { margin-top: 12px; }
@media (max-width: 991px) {
  .lot-s_info_t > .joc-extra-guest + .u-48 { height: 24px; }
}
.joc-suite-includes { max-width: 960px; margin: 48px auto; }
.joc-suite-includes .h5 { margin: 0 0 16px; text-align: center; color: var(--joc-teal); }
.joc-suite-includes ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px 32px; margin: 0; padding: 0; list-style: none; font: 15px/1.5 Lato, Arial, sans-serif; color: var(--joc-ink); }
.joc-suite-includes li { position: relative; padding-left: 18px; }
.joc-suite-includes li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--joc-plum); }
.lot-s_info_more_content .p1 + .p1 { margin-top: 6px; }
/* B7: shorter "Select a space" and "More ways to stay" on room pages; content and links stay. */
main:not([data-barba-namespace="home"]) .amen-scroll-area:has(+ .section.arch),
main:not([data-barba-namespace="home"]) .amen-scroll-area:has(+ .section.arch) .amen-s { height: max(72vh, 560px); min-height: 0; max-height: none; }
.section.arch:has(.other-title-w) .other-title-s_t > .u-160 { height: 64px; }
.section.arch:has(.other-title-w) .other-title-s .divider { height: 56px; }
.section.arch:has(.other-title-w) .other-title-s_t > .u-48, .section.arch:has(.other-title-w) .other-title-s_b > .u-48 { height: 16px; }
/* T-015 A7: on phones the cookie notice is a thin bar too, text beside the choices; it still stores localStorage.cookies. */
@media (max-width: 991px) {
  .cookies_c { padding: 0; }
  .cookies .grid { display: block; }
  .cookies_card { width: 100%; margin: 0; padding: 8px 16px; border-width: 1px 0 0; border-radius: 0; }
  .cookies_card_b { display: flex; align-items: center; gap: 12px; }
  .cookies_card_b > .l1 { flex: 1; min-width: 0; font-size: 12px; line-height: 1.4; }
  .cookies_card_b > .u-24 { display: none; }
  .cookies_card_btn-list { flex: none; gap: 14px; }
  .cookies_card_btn-list .link { padding-block: 4px; }
}
/* T-015 services panel on Facilities: paragraphs spaced like the rest of the page. */
.joc-services p { margin: 0 0 12px; max-width: 760px; }
.joc-services .jewel-action { margin-top: 8px; }
/* T-015 D5: WhatsApp button, above the cookie bar while it shows. */
.joc-whatsapp-float {
  position: fixed; z-index: 999990; right: 16px; bottom: calc(16px + var(--joc-cookie-offset, 0px));
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 6px 18px rgba(17, 79, 103, .28); transition: bottom 200ms ease, transform 160ms ease;
}
.joc-whatsapp-float:hover { transform: scale(1.05); }
.joc-whatsapp-float:focus-visible { outline: 3px solid var(--joc-plum); outline-offset: 3px; }
@media (min-width: 992px) { .joc-whatsapp-float { right: 24px; bottom: calc(24px + var(--joc-cookie-offset, 0px)); } }
/* The footer's last line stays clear of the WhatsApp button once the page is scrolled to the end (52px button, 16px or 24px gap).
   While the cookie bar shows, the button rides above it, so the footer grows by the same offset. */
.joc-footer { padding-bottom: calc(92px + var(--joc-cookie-offset, 0px)); }
@media (max-width: 991px) { .joc-footer { padding-bottom: calc(84px + var(--joc-cookie-offset, 0px)); } }
/* Desktop: the bottom links end left of the button's column, so the button never sits on them, also while it rides above the cookie bar. */
@media (min-width: 992px) { .joc-footer-bottom { padding-right: 76px; } }
/* T-015 D4: the footer lines of copy v2, and the email address on one line at 390. */
.joc-footer-line { margin: 12px 0 0; max-width: 520px; color: #114f67e0; font: 14px/1.6 Lato, Arial, sans-serif; }
.joc-footer-line a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.joc-footer-email { white-space: nowrap; }
@media (max-width: 479px) { .joc-footer-column:has(.joc-footer-email) { grid-column: 1 / -1; } }
/* T-016 fix: the room slider's portrait photo was centred against the 8-column grid, so its left
   edge could sit on top of the bed/rate column. Keep the 3:4 frame, but place it in columns 4-6,
   between the data column and the description column. Landscape and portrait photos share the frame. */
@media (min-width: 992px) {
  .apart-type-slide_img-w {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    column-gap: var(--_special-units---grid-gap);
    align-content: center;
    align-items: center;
  }
  .apart-type-slide_img {
    grid-column: 4 / 7;
    width: 100%;
  }
}
/* T-016: the room slider behaves like the Discover carousel. On tablet/phone the photo keeps a
   normal carousel height, the previous/next buttons stay visible, and the controls sit right under
   the photo. The dots stay beside the arrows where there is room; at 320 they stack above the arrows. */
@media (max-width: 991px) {
  .apart-type-s .joc-slider-navigation { display: flex !important; justify-content: center; }
  .apart-type-s_cms > .joc-slider-controls {
    position: absolute; top: calc(clamp(240px, 44vw, 420px) + 8px); left: 0; right: 0;
    width: 100%; padding: 8px 0 0; border-top: 1px solid #114f6733;
    flex-wrap: nowrap; justify-content: center;
  }
  .apart-type-s .joc-slider-controls .joc-slider-dots { flex: 1 1 auto; min-width: 0; justify-content: center; }
  .apart-type-s .joc-slider-controls button.joc-slider-dot { width: 24px; min-width: 24px; padding: 0; }
  .apart-type-slide_img {
    width: min(100%, 560px); height: clamp(240px, 44vw, 420px);
    aspect-ratio: auto; margin-inline: auto;
  }
  .apart-type-slide_img .img-w,
  .apart-type-slide_img .img { width: 100%; height: 100%; object-fit: cover; }
  .apart-type-slide_b { margin-top: 88px; }
}
@media (max-width: 359px) {
  .apart-type-s .joc-slider-controls { flex-wrap: wrap; gap: 8px; }
  .apart-type-s .joc-slider-dots { flex: 1 1 100%; }
  .apart-type-s .joc-slider-navigation { flex: 0 0 100%; width: 100%; }
  .apart-type-slide_b { margin-top: 120px; }
}
/* Keep the room slider's previous/next buttons available on touch tablets and phones too. */
.apart-type-s .joc-slider-navigation { display: flex !important; }
/* T-016 review: on desktop the room slide is one centred composition: photo, then title, then
   bed/rate and description, with one navigation row under it. The section grows with its content,
   so a long title or a portrait photo cannot overlap the copy or lose the controls. */
@media (min-width: 992px) {
  .apart-type-s { height: auto; min-height: 0; }
  .apart-type-s_cms { height: auto; }
  .apart-type-slide {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    width: 100%; height: auto;
  }
  .apart-type-slide_t { display: none; }
  .apart-type-slide_img-w {
    position: static; order: 1; display: flex; width: 100%; height: auto;
    justify-content: center; align-items: center;
  }
  .apart-type-slide_img {
    width: clamp(360px, 30vw, 520px); height: auto; aspect-ratio: 3 / 4;
    grid-column: auto; margin: 0 auto;
  }
  .apart-type-slide_img .img-w,
  .apart-type-slide_img .img { width: 100%; height: 100%; object-fit: cover; }
  .apart-type-slide_b {
    order: 2; width: 100%; max-width: 1100px; height: auto;
    margin: 28px auto 0; display: block;
  }
  .apart-type-slide_b > .u-48 { display: none; }
  .apart-type-slide_b h3 {
    width: 100%; margin: 0; text-align: center;
    font-size: clamp(52px, 6vw, 88px); line-height: 1.06;
  }
  .apart-type-slide_c { order: 3; width: 100%; max-width: 920px; height: auto; margin: 30px auto 0; }
  .apart-type-slide_c .grid { display: flex; flex-direction: column; align-items: center; gap: 0; width: 100%; }
  .apart-type-slide_data { width: 100%; text-align: center; }
  .apart-type-slide_data .data-list { display: flex; flex-direction: row; justify-content: center; gap: 64px; }
  .apart-type-slide_data .data-item { width: auto; text-align: center; }
  .apart-type-slide_desc { width: 100%; max-width: 620px; margin: 28px auto 0; text-align: center; }
  .apart-type-slide_desc .p1 { text-align: center; }
  .apart-type-slide_btn { justify-content: center; }
  .apart-type-slide_c .u-48 { display: none; }
  .apart-type-s_cms > .joc-slider-controls { width: min(100%, 760px); margin: 30px auto 0; padding: 16px 0 0; }
}
/* T-016 review: the Royal Gem Villa block keeps its decoration, but the template spacers made the
   label, heading, copy and CTA sit hundreds of pixels apart. Use the same compact rhythm as the
   other content sections, keep the copy at a readable width, and leave the flowers and logo intact. */
main > section.theme_on-brand:has(.apart-info-s) { padding-block: clamp(48px, 4vw, 72px); }
.apart-info-s > .u-160 { height: clamp(24px, 2.5vw, 36px); }
.apart-info-s .info-s_desc > .u-32 { height: 20px; }
@media (min-width: 992px) {
  .apart-info-s .info-s_desc {
    grid-column: 3 / 9; width: 100%; max-width: 620px; justify-self: center;
  }
}
/* T-016 review: "Select a space" is a photographic scene. Its home frame follows the measured
   Rooms/Royal height from the runtime; the fallback keeps the old standard if JS is unavailable. */
@media (min-width: 992px) {
  main[data-barba-namespace="home"] .amen-scroll-area:has(+ .section.arch) {
    height: var(--joc-home-scene-height, clamp(640px, 72vh, 800px)) !important;
  }
  main[data-barba-namespace="home"] .amen-scroll-area:has(+ .section.arch) .amen-s {
    height: var(--joc-home-scene-height, clamp(640px, 72vh, 800px)) !important; min-height: 0; max-height: none;
  }
}
@media (max-width: 991px) {
  main[data-barba-namespace="home"] .amen-scroll-area:has(+ .section.arch) { height: auto !important; }
  main[data-barba-namespace="home"] .amen-scroll-area:has(+ .section.arch) .amen-s {
    height: var(--joc-home-scene-height, clamp(680px, 80svh, 720px)) !important; min-height: 0; max-height: none;
  }
}
/* T-016 design review: on desktop the room swiper uses a two-column editorial layout:
   photo on the left; room name, facts, description and CTA on the right. The controls stay
   in one clear row below the composition. Tablet/mobile keep their compact stacked layout. */
@media (min-width: 992px) {
  .apart-type-slide {
    display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    grid-template-rows: auto auto 1fr; grid-template-areas: "photo title" "photo content" "photo content";
    column-gap: clamp(40px, 4.5vw, 64px); width: 100%; max-width: 1120px; height: auto;
    margin: 0 auto; align-items: start;
  }
  .apart-type-slide_t { display: none; }
  .apart-type-slide_img-w {
    grid-area: photo; position: static; display: block; width: 100%; height: auto;
    min-width: 0; order: 0;
  }
  .apart-type-slide_img {
    width: 100%; height: auto; aspect-ratio: 4 / 5; margin: 0; grid-column: auto;
  }
  .apart-type-slide_img .img-w,
  .apart-type-slide_img .img { width: 100%; height: 100%; object-fit: cover; }
  .apart-type-slide_b {
    grid-area: title; width: 100%; max-width: none; height: auto; margin: 0 0 24px;
    display: block; justify-content: initial;
  }
  .apart-type-slide_b > .u-48 { display: none; }
  .apart-type-slide_b h3 {
    width: 100%; margin: 0; text-align: left; font-size: clamp(42px, 4vw, 64px);
    line-height: 1.04;
  }
  .apart-type-slide_c { grid-area: content; width: 100%; max-width: none; height: auto; margin: 0; }
  .apart-type-slide_c .grid { display: block; width: 100%; }
  .apart-type-slide_data { width: 100%; text-align: left; }
  .apart-type-slide_data .data-list { display: flex; flex-direction: row; justify-content: flex-start; gap: clamp(32px, 4vw, 56px); }
  .apart-type-slide_data .data-item { width: auto; text-align: left; }
  .apart-type-slide_desc { width: 100%; max-width: 470px; margin: 26px 0 0; text-align: left; }
  .apart-type-slide_desc .p1 { text-align: left; }
  .apart-type-slide_btn { justify-content: flex-start; }
  .apart-type-slide_c .u-48 { display: none; }
  .apart-type-s_cms > .joc-slider-controls {
    width: min(100%, 1120px); margin: 28px auto 0; padding: 16px 0 0;
  }
}
/* Size facts against their actual column, so the bed name and full rate each stay on one line
   in both languages. Non-shrinking items keep flexbox from squeezing words into separate lines. */
.apart-type-slide_data { container-type: inline-size; }
.apart-type-slide_data .data-list { flex-wrap: nowrap; align-items: flex-start; gap: clamp(12px, 4cqi, 24px); }
.apart-type-slide_data .data-item { flex: 0 0 auto; }
.apart-type-slide_data .h5 {
  font-size: 20px; font-size: clamp(17px, 5.5cqi, 30px);
  line-height: 1.2; white-space: nowrap;
}
/* T-016 review correction: keep the Royal Gem Villa animation exactly as it is, but give the
   section its normal editorial height again. More breathing room around the label, heading,
   copy, CTA and logo; no animation or transform overrides here. */
main > section.theme_on-brand:has(.apart-info-s) { padding-block: clamp(64px, 6vw, 96px); }
.apart-info-s > .u-160 { height: clamp(40px, 4vw, 56px); }
.apart-info-s .info-s_desc > .u-32 { height: clamp(24px, 2.5vw, 32px); }
@media (max-width: 991px) {
  main > section.theme_on-brand:has(.apart-info-s) { padding-block: 64px; }
  .apart-info-s > .u-160 { height: 40px; }
  .apart-info-s .info-s_desc > .u-32 { height: 28px; }
}
/* T-016 height standard: content sections share one flexible minimum, never a fixed height.
   Royal Gem Villa uses it so it no longer reads as a short strip next to the photo sections.
   The flower/logo/text animations are untouched; only min-height and vertical distribution change. */
:root { --joc-content-section-min: clamp(640px, 72vh, 800px); }
@media (max-width: 991px) {
  :root { --joc-content-section-min: clamp(680px, 80svh, 720px); }
}
main > section.theme_on-brand:has(.apart-info-s) {
  min-height: var(--joc-content-section-min);
  display: flex; flex-direction: column; justify-content: center;
}
/* Other content sections, including the mobile reservation form, follow their content height.
   Only the Royal Gem composition above receives this minimum; photo/scroll scenes keep their own sizing. */

/* Shared text-to-media spacing, in CSS pixels rather than the imported viewport-scaled spacers.
   A section heading, supporting copy, small caption and side-by-side column have distinct rhythms. */
:root {
  --joc-media-heading-gap: 32px;
  --joc-media-copy-gap: 24px;
  --joc-media-caption-gap: 16px;
  --joc-media-column-gap: 24px;
}
@media (min-width: 768px) {
  :root { --joc-media-heading-gap: 40px; --joc-media-caption-gap: 20px; --joc-media-column-gap: 40px; }
}
@media (min-width: 992px) {
  :root { --joc-media-heading-gap: 48px; --joc-media-copy-gap: 32px; --joc-media-column-gap: 48px; }
}
@media (min-width: 1280px) { :root { --joc-media-column-gap: 64px; } }
.interior-s > .grid:has(> .interior-s_title) { margin-bottom: var(--joc-media-heading-gap); }
.interior-s_l_desc > .u-16 { height: var(--joc-media-caption-gap); }
.interior-s_r_lead > .u-16 { height: var(--joc-media-copy-gap); }
.benefit-slide, .benefits-s_cms_pag { column-gap: var(--joc-media-column-gap); }
.apart-card_c > .u-16 { height: var(--joc-media-caption-gap); }
.jewel-card-caption { margin-top: var(--joc-media-caption-gap); }
.joc-photo-meta { padding-top: var(--joc-media-caption-gap); }
.jewel-photo-grid figcaption { padding-top: var(--joc-media-copy-gap); }
.benefit-card { padding: max(var(--_units---u-32), var(--joc-media-copy-gap)); }
.amen-slide_b > .grid, .arch-s_b > .grid {
  max-width: calc(100% - 2 * var(--joc-media-copy-gap)); margin-inline: auto;
}
.amen-slide_b > .u-48 { height: max(var(--_units---u-48), var(--joc-media-copy-gap)); }
@media (max-width: 767px) { .cta-s { padding-inline: var(--joc-media-copy-gap); } }
.booking-intro { row-gap: var(--joc-media-heading-gap); column-gap: var(--joc-media-column-gap); }
.journal-prose > img {
  display: block; max-width: 100%; height: auto; margin-block: var(--joc-media-copy-gap);
}
.journal-prose :is(figure, p:has(> img)) { margin: var(--joc-media-copy-gap) 0; }
.journal-prose :is(figure, p) > img { display: block; max-width: 100%; height: auto; }
.journal-prose figcaption { margin-top: var(--joc-media-caption-gap); }
.joc-location-compact > .grid { column-gap: var(--joc-media-column-gap); }
@media (min-width: 992px) {
  .apart-type-slide { column-gap: var(--joc-media-column-gap); }
  .joc-room-layout .lot-s_info_c {
    padding-left: calc(var(--joc-media-column-gap) - var(--_special-units---grid-gap));
  }
}
@media (max-width: 991px) and (prefers-reduced-motion: no-preference) {
  .loc-scroll-area .joc-location-compact > .grid { row-gap: 8px; }
  .loc-scroll-area .joc-location-compact .loc-intro-s_img {
    box-sizing: border-box;
    padding-top: calc(var(--joc-media-heading-gap) - 8px);
    padding-bottom: var(--joc-media-copy-gap);
  }
}
@media (max-width: 991px) and (prefers-reduced-motion: reduce) {
  .joc-location-compact .loc-intro-s_img { margin-top: calc(var(--joc-media-heading-gap) - 24px); }
}

/* One banner composition: logo, tagline and the booking form share normal document flow.
   Short screens grow to fit the controls; no measured overlay or sticky reservation layer. */
main[data-barba-namespace='home'] .hero-scroll-area.joc-hero-with-booking {
  height: auto !important; min-height: 100svh;
}
main[data-barba-namespace='home'] > section > .container:has(> .joc-hero-with-booking) { padding-inline: 0; }
.joc-hero-with-booking .hero-w { position: relative; top: auto; height: auto; min-height: 100svh; }
.joc-hero-with-booking .hero-s {
  --joc-hero-booking-gap: 56px;
  box-sizing: border-box; height: auto; min-height: 100svh;
  padding: calc(var(--joc-nav-height) + 32px) 0 40px;
  justify-content: center; gap: var(--joc-hero-booking-gap); transform: none !important;
}
.joc-hero-with-booking .hero-s > :is(.u-48, .u-272) { display: none; }
.joc-hero-with-booking .hero-s > .grid {
  display: block; width: min(1120px, calc(100% - 48px)); max-width: none; margin-inline: auto;
}
.joc-hero-with-booking .joc-stay-search-section {
  position: static; inset: auto; width: 100%; height: auto;
  margin: 0; padding: 0; background: none; pointer-events: none;
}
.joc-hero-with-booking .joc-stay-search-pin { position: static; height: auto; display: block; padding: 0; }
.joc-hero-with-booking .joc-hero-search { width: min(1120px, calc(100% - 48px)); }
.joc-hero-with-booking .hero-w_bg {
  inset: 0; margin-inline: 0; height: 100%; overflow: clip; transform: none !important;
}
.joc-hero-with-booking :is(.hero-w_bg_master, .hero-w_bg_master_img, .hero-w_bg_master_img_day),
.joc-hero-with-booking .hero-w_bg_master_img_day > .img-w { height: 100%; max-height: none; }
.joc-hero-with-booking .hero-w_bg_master_img .hero-img { height: 100%; min-height: 100svh; }
@media (max-width: 359px) {
  .joc-hero-with-booking .hero-s { --joc-hero-booking-gap: 48px; }
  .joc-hero-with-booking .hero-s_logo h1 { font-size: 40px; }
  .joc-hero-with-booking .joc-hero-search label:has(input[type='date']) { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
  .joc-hero-with-booking .hero-s { --joc-hero-booking-gap: 64px; }
}
@media (min-width: 992px) {
  .joc-hero-with-booking .hero-s { --joc-hero-booking-gap: 80px; }
}
/* One static glass surface. A high-opacity fallback preserves contrast without backdrop support. */
.joc-hero-with-booking .joc-hero-search {
  background: rgba(255, 253, 248, .96);
  border: 1px solid rgba(255, 255, 255, .72); border-radius: 10px;
  box-shadow: 0 14px 40px rgba(9, 29, 37, .16), inset 0 1px 0 rgba(255, 255, 255, .75);
}
@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  .joc-hero-with-booking .joc-hero-search {
    background: rgba(255, 253, 248, .78);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  @media (min-width: 992px) {
    .joc-hero-with-booking .joc-hero-search {
      -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    }
  }
}
.joc-hero-with-booking .joc-hero-search option { background: #fffdf8; color: var(--joc-ink); }
@media (prefers-reduced-transparency: reduce) {
  .joc-hero-with-booking .joc-hero-search {
    background: #fffdf8; -webkit-backdrop-filter: none; backdrop-filter: none;
  }
}

/* Familiar native accordions remain usable before scripts load. The section edge hides the bouquet's cut sides. */
.section.joc-home-faq-section {
  --joc-faq-flower-size: clamp(220px, 24vw, 320px);
  position: relative; overflow: clip; isolation: isolate;
}
.other-s.joc-home-faq {
  display: block; position: relative; z-index: 1; width: min(840px, 100%); margin-inline: auto; padding: 0;
}
.joc-home-faq-header {
  box-sizing: border-box; text-align: left;
  min-height: calc(var(--joc-faq-flower-size) - var(--joc-section-y) - var(--joc-media-heading-gap));
  padding-right: max(0px, calc(var(--joc-faq-flower-size) - (100vw - 840px) / 2));
}
.joc-home-faq-header .joc-faq-kicker {
  margin: 0 0 12px; color: var(--joc-plum); font: 700 12px/1.5 'Lato', sans-serif; letter-spacing: .12em;
}
.joc-home-faq-header h2 {
  margin: 0 0 16px; font-size: clamp(32px, 4vw, 48px); line-height: 1.16;
  letter-spacing: -.025em; text-transform: none;
}
.joc-home-faq-header > p:last-child {
  max-width: 620px; margin: 0; font: 400 16px/1.75 'Lato', sans-serif;
}
.joc-home-faq-list { margin-top: var(--joc-media-heading-gap); border-top: 1px solid #16343f30; }
.joc-home-faq-item { border-bottom: 1px solid #16343f30; }
.joc-home-faq-item > summary {
  box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 68px; padding: 22px 0; list-style: none; cursor: pointer;
  color: var(--joc-ink); font: 600 clamp(16px, 1.4vw, 18px)/1.5 'Lato', sans-serif;
}
.joc-home-faq-item > summary::-webkit-details-marker { display: none; }
.joc-home-faq-item > summary:focus-visible { outline: 2px solid var(--joc-plum); outline-offset: 4px; }
.joc-faq-icon { flex: 0 0 24px; text-align: center; color: var(--joc-plum); font: 400 28px/1 'Lato', sans-serif; }
.joc-faq-icon::before { content: '+'; }
.joc-home-faq-item[open] .joc-faq-icon::before { content: '−'; }
.joc-faq-answer { max-width: 720px; padding: 0 0 24px; font: 400 16px/1.75 'Lato', sans-serif; }
.joc-faq-answer p { margin: 0; }
.joc-home-faq-footer { margin-top: 32px; }
.joc-faq-contact { font: 400 16px/1.65 'Lato', sans-serif; }
.joc-faq-contact p { margin: 0 0 8px; }
.joc-faq-contact a { display: inline-block; padding-block: 8px; color: var(--joc-plum); text-decoration: underline; text-underline-offset: 4px; }
.joc-faq-art {
  position: absolute; inset: 0; z-index: 0; overflow: clip; pointer-events: none;
}
.joc-faq-art .flower.other {
  position: absolute; inset: -24px -24px auto auto; width: var(--joc-faq-flower-size); height: auto;
  aspect-ratio: 1; margin: 0; transform: none; translate: none;
}
@media (max-width: 991px) {
  main > section.section.joc-home-faq-section {
    --joc-faq-flower-size: clamp(220px, 70vw, 460px);
    padding-top: var(--joc-faq-flower-size);
  }
  .joc-home-faq-header { min-height: 0; padding-right: 0; }
}

/* One room heading travels into the facts column; hidden copies reserve its natural size. */
.joc-room-gallery-controls { display: none; }
@media (max-width: 991px) {
  .joc-room-layout .lot-s_media.b-mob .lot-s_media_c {
    overflow-x: auto; overflow-y: hidden; touch-action: pan-x pan-y;
    overscroll-behavior-x: contain; overscroll-behavior-y: auto;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--_special-units---offset-l);
  }
  .joc-room-layout .lot-s_media.b-mob :is(.lot-s_media_layout_img-prim, .lot-media-cms_list_item) { scroll-snap-align: start; }
  .joc-room-gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
  .joc-room-gallery-count { color: var(--joc-teal); font: 400 14px/1.5 Lato, Arial, sans-serif; font-variant-numeric: tabular-nums; }
  .joc-room-gallery-arrows { display: flex; gap: 8px; }
  .joc-room-gallery-arrows button {
    display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
    border: 1px solid #114f6750; background: transparent; color: var(--joc-teal); cursor: pointer;
  }
  .joc-room-gallery-arrows button:disabled { opacity: .35; cursor: default; }
  .joc-room-gallery-arrows button:focus-visible, .lot-s_media.b-mob .lot-s_media_c:focus-visible { outline: 2px solid var(--joc-plum); outline-offset: 3px; }
}
.joc-room-title-origin, .joc-room-title-dock { position: relative; flex: none; min-width: 0; width: 100%; }
.joc-room-title-dock { margin-bottom: 24px; }
.joc-room-moving-title { position: absolute; top: 0; left: 0; pointer-events: none; }
.joc-room-title-dock .joc-room-name-tail { white-space: normal; }
.joc-room-title-motion .lot-s_info_t > .u-64:first-child { display: none; }
@media (max-width: 991px) {
  .joc-room-title-dock { margin-top: 32px; }
}
@media (min-width: 992px) {
  .joc-room-title-dock { margin-bottom: 0; }
  .joc-room-layout .lot-s_info_t.scrollbar-none {
    flex: 1 1 0%; min-height: 0; overflow-y: auto; overflow-x: hidden;
    overscroll-behavior-y: contain; touch-action: pan-y;
    scrollbar-width: thin; scrollbar-color: #114f6780 transparent;
    scrollbar-gutter: stable; padding-right: 12px; padding-bottom: 16px;
    mask-image: none; -webkit-mask-image: none;
  }
  .joc-room-layout .lot-s_info_t.scrollbar-none::-webkit-scrollbar { display: block; width: 6px; }
  .joc-room-layout .lot-s_info_t.scrollbar-none::-webkit-scrollbar-thumb { background: #114f6780; border-radius: 6px; }
}
.joc-room-layout .lot-s_info_t:focus-visible { outline: 2px solid var(--joc-plum); outline-offset: 4px; }
/* Room-detail facilities: readable outline icons instead of pill tags. */
.joc-room-tabs .tab { display: flex; align-items: center; min-height: 44px; }
.joc-room-tabs .lot-s_info_more_contents { margin-top: 24px; }
.joc-room-tabs .lot-s_info_more_content { padding-right: 0; }
.joc-room-tabs .lot-s_info_more_content > :is(.u-16, .u-160) { display: none; }
.joc-room-tabs .joc-room-facilities-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px;
  margin: 0; padding: 0;
}
.joc-room-facilities-list > * { min-width: 0; }
.joc-room-tabs .tag.joc-room-facility {
  display: flex; align-items: center; justify-content: flex-start; gap: 12px;
  min-height: 44px; padding: 6px 0; border: 0; outline: 0; border-radius: 0; background: none;
}
.joc-room-facility-icon { display: block; flex: 0 0 28px; color: var(--joc-teal); }
.joc-room-facility .p2 {
  margin: 0; min-width: 0; color: var(--joc-ink);
  font: 400 14px/1.5 Lato, Arial, sans-serif; letter-spacing: normal; text-transform: none;
}
@media (max-width: 359px) {
  .joc-room-tabs .joc-room-facilities-list { column-gap: 12px; }
  .joc-room-tabs .tag.joc-room-facility { gap: 8px; }
  .joc-room-facility-icon { flex-basis: 24px; width: 24px; height: 24px; }
}
/* T-024 phase 2: room page info column without tabs or a scrolling panel (lib/site/room-details.ts). Facts in one row
   on desktop (2 x 2 on phones), then the suite's highlights, the facility list with icons (two columns on desktop, one
   on phones), the rate note and the buttons. On desktop the column and the gallery share one grid row, so a column
   taller than the screen is never cut: it scrolls with the page beside the photos. */
.joc-room-details { display: flex; flex-direction: column; gap: 28px; }
.joc-room-highlights { display: flex; flex-direction: column; gap: 12px; }
.joc-room-highlights .joc-room-lead { margin: 0; font: 400 18px/1.55 Lato, Arial, sans-serif; color: var(--joc-ink); }
.joc-room-highlight-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.joc-room-highlight-list li { position: relative; padding-left: 20px; font: 400 15px/1.6 Lato, Arial, sans-serif; color: var(--joc-ink); }
.joc-room-highlight-list li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--joc-plum); }
.joc-room-amenities-title { margin: 0 0 16px; }
.joc-room-amenity-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px 28px; }
.joc-room-amenity { display: flex; align-items: flex-start; gap: 12px; min-width: 0; font: 400 14px/1.55 Lato, Arial, sans-serif; color: var(--joc-ink); }
.joc-room-amenity-icon { flex: 0 0 24px; margin-top: -1px; color: var(--joc-teal); }
.joc-room-amenity > span { min-width: 0; overflow-wrap: anywhere; }
/* T-028: the rate note reads at full strength on the room page (.jewel-room-note elsewhere stays .8). */
.joc-room-details .joc-room-rates { margin: 0; opacity: 1; }
.joc-room-info-open .lot-s_info_data .h5 { overflow-wrap: break-word; }
@media (min-width: 992px) {
  /* T-028: the template's inline fade mask (for the old scroller) off the open info column, so its top and bottom lines
     read in full; the rule above did this only for .scrollbar-none, which T-024 phase 2 replaced. */
  .joc-room-layout .lot-s_info_t.joc-room-info-open { mask-image: none; -webkit-mask-image: none; }
  .joc-room-layout:has(.joc-room-details) .lot-s { display: grid; }
  .joc-room-layout:has(.joc-room-details) :is(.lot-s > .lot-s_info, .lot-s > .lot-s_media.b-desk) { grid-area: 1 / 1; }
  .joc-room-layout:has(.joc-room-details) .lot-s_info { position: relative; top: auto; height: auto; align-self: start; }
  .joc-room-layout:has(.joc-room-details) .lot-s_media.b-desk { margin-top: 0; }
  .joc-room-layout:has(.joc-room-details) .lot-s_info_c { height: auto; }
  .joc-room-info-open { flex: none; height: auto; overflow: visible; }
  .joc-room-info-open .lot-s_info_data .h5 { font-size: clamp(15px, 1.2vw, 18px); line-height: 1.3; letter-spacing: .02em; overflow-wrap: normal; }
  .joc-room-info-open .lot-s_info_data .data-item:first-child .h5 { white-space: nowrap; }
  .joc-room-info-open .lot-s_info_data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
}
/* From 1280 px the info column is wide enough for the four facts in one row (each column as wide as its longest word)
   and the facility list in two columns; between 992 and 1279 px it stays 2 x 2 and one column, so no word is cut. */
@media (min-width: 1280px) {
  .joc-room-info-open .lot-s_info_data { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 16px 12px; }
  .joc-room-info-open .lot-s_info_data .l1 { font-size: 11px; }
  .joc-room-info-open .lot-s_info_data .h5 { font-size: clamp(14px, 1.05vw, 17px); }
  .joc-room-amenity-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* T-024 phase 3 (home): "View all suites" and "Discover the Royal Gem" as the main plum button, larger; the villa's
   photo in its block; and on phones and tablets the first location panel keeps room above and below its text for its
   two bouquets, so no flower covers the words. */
.joc-home-rooms-all, .joc-villa-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 32px; border: 1px solid var(--joc-plum); border-radius: 2px;
  background: var(--joc-plum); color: #fff; text-align: center; text-decoration: none;
  font: 700 16px/1.4 Lato, Arial, sans-serif; letter-spacing: 0; text-transform: none;
  transition: background-color 180ms ease, border-color 180ms ease;
}
.joc-home-rooms-all:hover, .joc-villa-link:hover { background: #4d103b; border-color: #4d103b; color: #fff; }
.joc-home-rooms-all:focus-visible, .joc-villa-link:focus-visible { outline: 2px solid var(--joc-plum); outline-offset: 3px; }
.joc-home-rooms-head { align-items: center; flex-wrap: wrap; }
.joc-villa-link { display: flex; width: fit-content; margin-inline: auto; }
.joc-villa-photo { width: 100%; max-width: 960px; margin-inline: auto; grid-column: 1 / -1; }
.joc-villa-photo .img-w { overflow: hidden; }
.joc-villa-photo .img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .joc-home-rooms-all, .joc-villa-link { transition: none; } }
@media (max-width: 991px) {
  /* Bottom bouquet (corner) below the text; top bouquet smaller, in the corner, above the text. */
  .loc-scroll-area .loc-info-s { padding-top: calc(min(48vw, 220px) + 16px); padding-bottom: calc(min(76vw, 32svh, 300px) - 8px); }
  .loc-scroll-area .flower.loc-info { top: -24px; left: -24px; width: min(48vw, 220px); height: min(48vw, 220px); }
}
/* T-026: "Book this room" is a link to the booking page now, on room pages that do not load the booking form's
   stylesheet; its shape moves here from components/booking.css. The plum colours stay in the rule above. */
.jewel-room-booking {
  display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--joc-plum); border-radius: 999px;
  padding: 16px 24px; min-height: 48px; font-family: var(--_fonts---font-body), sans-serif; font-size: 14px; font-weight: 700;
  line-height: 1.3; text-transform: uppercase; text-decoration: none; cursor: pointer;
}
.jewel-room-booking:focus-visible { outline: 3px solid #658493; outline-offset: 4px; }
/* T-028: "Book this room" (or the popup button while the T-026 flow is off) and "Enquire about this room" in one size:
   52 px high, equal widths; stacked across the panel when it is narrower than two buttons, side by side when it is not. */
.lot-s_info_b .btn-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 232px), 1fr)); grid-auto-rows: 1fr; gap: 12px; align-items: stretch; }
.lot-s_info_b .btn-list > :is(.jewel-room-booking, .btn) { box-sizing: border-box; width: 100%; min-width: 0; height: auto; min-height: 52px; margin: 0; padding: 12px; border-radius: 999px; text-align: center; }
.lot-s_info_b .btn-list > .btn .btn_bg { border-radius: 999px; }
.lot-s_info_b .btn-list > .btn .l1 { font-size: 14px; line-height: 1.3; letter-spacing: normal; }
/* T-028: four facility icons with short labels on each home carousel slide (lib/site/home-facilities.ts), the same icons
   as the room page's facility list. Left-aligned from 992 px; centred below, like the slide text. */
/* Each column is at least as wide as its longest word ("Complimentary" is wider than a quarter of the slide column at
   992 px), the rest shared equally; labels wrap between words, never inside one. */
.joc-home-room-facilities { display: grid; grid-template-columns: repeat(4, minmax(min-content, 1fr)); gap: 12px 8px; max-width: 420px; margin: 0 0 var(--_units---u-24); padding: 0; list-style: none; }
.joc-home-room-facilities:empty { display: none; }
.joc-home-room-facilities > li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; margin: 0; font: 400 12px/1.4 Lato, Arial, sans-serif; color: inherit; overflow-wrap: break-word; }
.joc-home-facility-icon { flex: none; width: 22px; height: 22px; color: var(--joc-teal); }
.joc-home-room-facilities .joc-nowrap { white-space: nowrap; }
@media (max-width: 991px) {
  .joc-home-room-facilities { margin-inline: auto; }
  .joc-home-room-facilities > li { align-items: center; text-align: center; }
}
