/* Brand layer: preserve the reference scroll scenes and GSAP hooks. */
:root {
  --_global-colors---brand-500--velvet-plum: #173c37;
}
/* A solid ivory introduction follows the courtyard hero in normal flow. */
.section.arch:has(.benefits-intro-w),
.section:has(> .container > .benefits-w) {
  background: #f5f2ea;
  color: #101d30;
  --_colors---base-1000--primary: #101d30;
  box-shadow: none;
}
.section.arch:has(.benefits-intro-w) {
  border-radius: 0;
}
.benefits-intro-w {
  margin-top: 0;
}
.benefits-intro-s {
  height: auto;
  align-items: center;
  padding: clamp(80px, 8vw, 144px) 0 clamp(56px, 5vw, 88px);
  gap: clamp(32px, 3vw, 48px);
}
.benefits-intro-s .jewel-intro-heading {
  margin: 0;
  max-width: 100%;
  font-size: clamp(56px, 7.5vw, 144px);
  line-height: 1.05;
  text-align: center;
  text-wrap: balance;
}
.jewel-intro-heading > span {
  display: block;
}
.benefits-intro-s .divider {
  height: clamp(56px, 6vw, 96px);
}
.benefits-intro-s > .grid {
  align-self: stretch;
}
@media (min-width: 992px) {
  /* The old arch overlapped this much of the hero's scroll track. */
  main[data-barba-namespace="home"] .hero-scroll-area {
    height: calc(var(--_special-units---100vh) * 4);
  }
}
.benefits-intro-s .l1,
.benefits-intro-s .jewel-intro-heading,
.benefits-w :is(.h1, .h2, .h3, .h4, .l1, .p1, .p2) {
  color: #101d30;
}
.jewel-symbol {
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  mask: url('/jewel/logo-symbol.png') center / contain no-repeat;
  -webkit-mask: url('/jewel/logo-symbol.png') center / contain no-repeat;
}
.logo_symbol.header .logo { width: 100%; height: 100%; }
.hero-s_logo h1 { font-size: clamp(84px, 10.5vw, 190px); line-height: .92; }
.hero-s_logo_a { margin-top: 12px; }
.hero-w_bg_master_img .hero-img { height: 165vh; object-fit: cover; object-position: 50% 35%; }
.hero-w_bg_master_img_day::after, .hero-w_bg_master_img_night::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(9,29,25,.48), transparent 65%);
}
.jewel-location-card {
  width: 100%; min-height: 450px; padding: 64px 30px; display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 30px; text-align: center; background: #e3e8df;
}
.jewel-location-card .jewel-symbol { width: 80px; height: 80px; }
.modal_cta_form .form_block { display: block; width: 100%; }
.jewel-contact-options { display: flex; flex-direction: column; gap: 24px; padding: 32px 0; max-width: 560px; margin: auto; }
.jewel-contact-options > .jewel-symbol { width: 48px; height: 48px; }
.jewel-contact-options > h2 { font-size: clamp(44px, 5vw, 72px); }
.jewel-contact-button {
  display: block; text-align: center; border: 1px solid currentColor;
  border-radius: 999px; padding: 22px 28px; font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase; transition: background .25s;
}
.jewel-contact-button:hover { background: rgba(255,255,255,.1); }
.jewel-contact-email { text-decoration: underline; text-underline-offset: 5px; }
.jewel-render-note { position: absolute; left: 24px; bottom: 10px; font-size: 10px; color: #f4f3ec; opacity: .8; }
.jewel-catalog-intro { text-align: left; margin: 12px 0 32px; }
.apart-card_img.jewel-room-card-image { aspect-ratio: 4/3; }
.jewel-room-card-image img { object-fit: cover; }
.jewel-room-card-image { position: relative; }
.jewel-card-caption { position: absolute; bottom: 5px; left: 5px; right: 5px; font-size: 9px; color: white; background: #173c37bd; padding: 6px 8px; text-align: center; }
.apart-card_info { flex-wrap: wrap; gap: 8px; }
.jewel-card-rate { font-size: clamp(23px, 2.5vw, 42px); }
.jewel-room-title { font-size: clamp(40px, 5vw, 84px); max-width: 680px; }
.lot-s_media_layout_img-prim { padding: 0; }
.lot-s_media_layout_img-prim .img { object-fit: cover; }
.jewel-image-caption { font-size: 10px; letter-spacing: .08em; position: absolute; bottom: 16px; left: 16px; color: white; background: #173c37bd; padding: 8px 12px; }
.lot-s_info_data .h5 { font-size: clamp(24px, 2.5vw, 42px); }
.apart-type-slide_data .h5 { font-size: clamp(26px, 3vw, 48px); }
.credits { width: auto; height: auto; }
/* Let wrapped headings and descriptions determine the slider's height. */
.benefits-s { height: auto; min-height: var(--_special-units---100vh); }
.benefits-cms, .benefits-cms_list, .benefits-cms_list_item, .benefit-slide { height: auto; }
.benefit-slide_t, .benefit-slide_b { flex: none; }
.benefits-cms { order: 1; }
.benefits-s_cms_pag { position: relative; order: 2; inset: auto; padding-bottom: var(--_units---u-48); }
.benefits-s_cms_pag > .benefit-slide_img,
.benefits-s_cms_pag > .u-48,
.benefits-s_cms_pag > .u-16 { display: none; }
.loc-w_bg_img .jewel-canggu-aerial { aspect-ratio: 8 / 5; object-fit: cover; object-position: 50% 55%; }
.jewel-room-note { font: 13px/1.6 Arial, sans-serif; margin: 20px 0; opacity: .8; }
.jewel-menu-links { display: flex; gap: 24px; justify-content: center; margin-top: 24px; font: 14px/1.5 Arial, sans-serif; }
.jewel-menu-links a { text-decoration: underline; text-underline-offset: 5px; }
.jewel-gallery-link { text-align: center; padding: 24px 0; }
.jewel-header-link { margin-bottom: var(--_units---u-4); }
.jewel-editorial { background: #f4f3ec; color: #142b3b; padding: 100px max(24px, 12vw) 80px; position: relative; z-index: 2; }
/* These pages have no overlapping image scene before the footer. */
.jewel-info-page .footer-w { margin-top: 0; }
.jewel-info-page .footer-w_bg { display: none; }
.jewel-editorial-inner { max-width: 1400px; margin: auto; }
.jewel-editorial-heading { max-width: 850px; margin: 70px auto; text-align: center; }
.jewel-editorial-heading h1 { font-size: clamp(64px, 8vw, 140px); line-height: 1; margin: 24px 0; }
.jewel-editorial p, .jewel-editorial address, .jewel-editorial summary { font-size: 16px; line-height: 1.7; }
.jewel-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; }
.jewel-photo-grid figure { margin: 0; min-width: 0; }
.jewel-photo-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.jewel-photo-grid figcaption { padding-top: 20px; }
.jewel-photo-grid h2, .jewel-info-panel h2 { font-family: inherit; font-size: clamp(22px, 2vw, 32px); font-weight: 500; line-height: 1.3; text-transform: none; letter-spacing: normal; margin: 0 0 12px; }
.jewel-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.jewel-contact-grid img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.jewel-info-panel { padding: clamp(24px, 4vw, 56px); background: #e3e8df; margin: 48px 0 0; }
.jewel-contact-grid .jewel-info-panel { margin: 0; overflow-wrap: anywhere; }
.jewel-contact-grid a { display: block; margin-top: 20px; font-size: 16px; }
.jewel-editorial address { font-style: normal; }
.jewel-action { display: inline-block; border: 1px solid currentColor; border-radius: 999px; padding: 16px 24px; margin-top: 24px; text-align: center; font-size: 14px; }
.jewel-info-panel details { border-bottom: 1px solid #142b3b33; padding: 20px 0; }
.jewel-info-panel summary { cursor: pointer; }
.jewel-info-panel details p { margin: 16px 0 0; }
.jewel-editorial a:focus-visible, .jewel-header-link:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
@media (max-width: 991px) {
  .jewel-editorial { padding: 140px 24px 64px; }
  .jewel-editorial-heading { margin: 40px auto; }
}
@media (max-width: 767px) {
  .jewel-photo-grid, .jewel-contact-grid { grid-template-columns: 1fr; }
}
/* The motion template switches to mobile at 992px. Keep the layout in sync. */
@media (max-width: 991px) {
  /* Bed options contain plain text, so style the item as well as its label. */
  .apart-s_cms_filter .filter_select_drop-down_list_item,
  .apart-s_cms_filter .filter_select_drop-down_list_item .l1 {
    font-family: var(--_fonts---font-body);
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
  }
  .apart-s_cms_filter .filter_select_drop-down_list_item {
    min-height: 44px;
    padding: 12px 16px;
  }
  .hero-scroll-area { height: 100svh; min-height: 620px; }
  .hero-w { position: relative; height: 100%; }
  .hero-w_bg_master_img .hero-img { height: 100svh; min-height: 620px; }
  .benefits-intro-w, .interior-w, .other-title-w { margin-top: 0; }
  .amen-scroll-area { height: auto; }
  .amen-scroll-area > .scroll-area_screen { position: relative; }
  .amen-s { height: 85svh; min-height: 620px; max-height: 900px; }
  .arch-s { aspect-ratio: auto; min-height: 80svh; gap: 220px; }
  .loc-path-s_path_c { width: 100%; }
  .loc-path-s_path { overflow: visible; }
  .jewel-location-card { min-height: 300px; }
  .benefits-s { height: auto; min-height: 640px; padding-bottom: 24px; }
  .benefit-slide { gap: 16px; }
  .benefit-slide_t .u-272 { height: 48px; }
  .benefits-s_cms { display: flex; flex-direction: column; }
  .benefits-s_cms_pag { padding-bottom: 0; }
  .benefits-s_cms_pag .pag { padding: 16px 0 24px; }
  .benefits-intro-s .divider, .apart-info-s .divider, .other-s .divider { height: 64px; }
  .apart-info-s > .u-160 { height: 48px; }
  .apart-info-s .info-s_desc > p:empty { display: none; }
  .loc-info-s > .u-160 { height: 48px; }
  .footer-s { min-height: 620px; }
}
@media (max-width: 767px) {
  .hero-s_logo h1 { font-size: clamp(72px, 19vw, 125px); }
  .hero-w_bg_master_img .hero-img { height: 100svh; object-position: 56% 45%; }
  .jewel-catalog-title { font-size: 66px; }
  .jewel-catalog-intro { text-align: left; max-width: 280px; font-size: 12px; }
  .jewel-room-title { font-size: 54px; }
  .jewel-render-note { max-width: 240px; font-size: 8px; }
  .jewel-contact-options { padding: 16px 0; gap: 20px; }
  .jewel-card-rate { font-size: 28px; }
  .jewel-location-card { min-height: 320px; padding: 32px 20px; }
}

/* Bougainvillea keeps its original movement. The viewport controller selects smaller mobile clips
   and pauses offscreen decoding. A moving poster covers buffering or browser-denied autoplay. */
.flower-mobile-art { display: none !important; }
.flower > video {
  display: block;
  width: 100%; height: 100%; object-fit: contain;
  transform-origin: 50% 8%;
}
.flower.joc-flower-poster-motion > video {
  animation: jewel-flower-sway 6.5s ease-in-out infinite alternate paused;
}
.flower.joc-flower-active.joc-flower-poster-motion > video { animation-play-state: running; }
/* The lower bouquet rises from the corner: its straight source edges stay outside the panel.
   Clip one stationary frame while the original video (or buffering sway) moves inside it. */
.joc-location-flower-corner {
  position: absolute; inset: 0; overflow: clip; z-index: 0; pointer-events: none;
}
.loc-info-w:has(> .joc-location-flower-corner) > .loc-info-s { position: relative; z-index: 1; }
.joc-location-flower-corner > .flower.loc-intro {
  top: auto; left: auto; right: -24px; bottom: -24px;
  width: min(44vw, 52svh, 520px); height: auto; aspect-ratio: 1;
  transform: scaleY(-1);
}
/* Desktop already has the correct 90-degree bouquet between its overlapping panels.
   Express that original position from the first panel, without introducing an inner crop. */
@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
  .joc-location-flower-corner { overflow: visible; }
  .joc-location-flower-corner > .flower.loc-intro {
    width: calc(var(--80px) * 10); height: calc(var(--80px) * 10);
    left: calc(100% - var(--joc-location-overlap) - (224rem / var(--_special-units---scale-ratio)));
    right: auto; bottom: calc((144rem / var(--_special-units---scale-ratio)) * -1);
    transform: rotate(90deg);
  }
}
@media (max-width: 991px) {
  /* Reduced-motion layout has a narrower content gutter; the decoration still meets the screen edge. */
  .joc-location-flower-corner { left: calc((100% - 100vw) / 2); right: auto; width: 100vw; }
  .joc-location-flower-corner > .flower.loc-intro { width: min(76vw, 32svh, 300px); }
  /* The map panel keeps the desktop's upper-right bouquet on mobile too. */
  .loc-scroll-area .loc-path-w_flower {
    display: block; inset: 0 auto 0 calc((100% - 100vw) / 2); width: 100vw;
    overflow: clip; pointer-events: none; z-index: 0;
  }
  .loc-scroll-area .flower.loc-path {
    position: absolute; inset: -24px -24px auto auto; margin: 0;
    width: min(80vw, 38svh, 520px); height: auto; aspect-ratio: 1;
    transform: scaleX(-1);
  }
  html.is-safari .flower > video { mix-blend-mode: multiply; }
}
@keyframes jewel-flower-sway {
  from { transform: rotate(-1.2deg) translate3d(0, 0, 0); }
  to { transform: rotate(1.2deg) translate3d(0, 6px, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .flower > video { animation: none !important; }
}

/* Keep language controls readable independently of the viewport-scaled labels. */
.jewel-language-switch {
  display: flex; justify-content: flex-end; align-items: center; gap: 4px;
  color: var(--_colors---base-1000--primary);
  margin-bottom: 12px; font-family: var(--_fonts---font-body);
  font-size: 12px; line-height: 1; letter-spacing: .06em;
}
.jewel-language-switch a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; min-height: 36px; border: 1px solid transparent;
  border-radius: 999px; color: inherit; text-decoration: none;
}
.jewel-language-switch a[aria-current="true"] { border-color: currentColor; font-weight: 700; }
.jewel-language-switch a:hover { background: rgba(255, 255, 255, .18); }
.jewel-language-switch a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.modal_menu > .jewel-language-switch { justify-content: center; margin: 24px 0 0; }
.header-nav[data-modal-themed] > .jewel-language-switch { visibility: hidden; }
.header-nav .jewel-header-link {
  color: var(--_colors---base-1000--primary);
  font-family: var(--_fonts---font-body);
  font-size: var(--_fonts---l2--size); line-height: var(--_fonts---l2--line-height); font-weight: 700;
  letter-spacing: var(--_fonts---l2--letter-spacing); text-transform: uppercase;
}
/* Keep every desktop menu row on the same type scale and rhythm. */
.header-nav_list.f-desk { gap: 6px; }
.header-nav_list.f-desk .l2,
.header-nav_list.f-desk > a.jewel-header-link:not(.nav-item) {
  font-size: clamp(12px, .75vw, 14px); line-height: 1.5; letter-spacing: .22em;
}
.header-nav_list.f-desk > a { margin: 0; }
.header-nav_list.f-desk > .u-4 { display: none; }
.header-nav_list.f-desk > a.jewel-header-link:not(.nav-item) {
  display: block; text-align: right; text-decoration: none;
}
.header-nav_list.f-desk > a.jewel-header-link:not(.nav-item):hover { opacity: .75; }
.modal_menu > .jewel-header-link {
  color: var(--_colors---base-1000--primary);
  font-size: 16px; line-height: 1.6; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 991px) {
  .jewel-language-switch { font-size: 13px; margin-bottom: 8px; }
  .jewel-language-switch a { min-width: 44px; min-height: 44px; }
  html[lang="id"] .hero-s_sub-title .h4 { font-size: clamp(18px, 4.2vw, 28px); }
}

/* Editorial pages use normal document flow and accessible fixed-size body text. */
.joc-journal { background: #f4f3ec; color: #18243b; font: 16px/1.65 var(--_fonts---font-body); min-height: 100vh; }
.joc-journal a { color: inherit; text-decoration: none; }
.journal-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 5%; border-bottom: 1px solid #18243b26; }
.journal-brand { display: flex; align-items: center; gap: 16px; font-size: 12px; letter-spacing: .12em; }
.journal-header nav, .journal-languages { display: flex; align-items: center; gap: 20px; font-size: 13px; }
.journal-languages { gap: 4px; }
.journal-languages a { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid transparent; border-radius: 50%; }
.journal-languages a[aria-current=true] { border-color: currentColor; }
.journal-main { max-width: 1240px; margin: auto; padding: 64px 24px 96px; }
.journal-intro { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.journal-kicker { font-size: 12px; letter-spacing: .16em; }
.joc-journal h1, .joc-journal h2 { font-family: var(--_fonts---font-display); font-weight: 400; line-height: 1.05; margin: 20px 0; }
.joc-journal h1 { font-size: clamp(48px, 6vw, 84px); }
.joc-journal h2 { font-size: 36px; }
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.journal-card { border-bottom: 1px solid #18243b40; }
.journal-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.journal-card > a > div { padding: 20px 0; }
.journal-card p { font-size: 14px; line-height: 1.7; }
.journal-card span, .journal-detail > a { text-decoration: underline; text-underline-offset: 4px; }
.joc-journal time { color: #53605e; font-size: 12px; }
.journal-empty { padding: 64px 20px; text-align: center; border: 1px solid #18243b20; }
.journal-footer { padding: 32px 5%; border-top: 1px solid #18243b26; display: flex; justify-content: space-between; gap: 20px; font-size: 13px; }
.journal-detail { max-width: 860px; margin: auto; overflow-wrap: anywhere; }
.journal-detail header { margin: 40px 0; }
.journal-lead { color: #43524f; font-size: 18px; }
.journal-cover { width: 100%; max-height: 560px; object-fit: cover; margin-bottom: 40px; }
.journal-prose { max-width: 720px; margin: auto; line-height: 1.85; }
.journal-prose h2 { font-size: 40px; margin-top: 40px; }
.journal-prose h3 { font-size: 24px; line-height: 1.3; margin: 28px 0 16px; }
.journal-prose p { margin-bottom: 20px; }.journal-prose a { text-decoration: underline; }.journal-prose pre { overflow: auto; padding: 20px; background: #e8eae2; }.journal-prose blockquote { border-left: 3px solid #173c37; padding: 16px 24px; }
.joc-journal :focus-visible { outline: 2px solid #173c37; outline-offset: 4px; }
@media(max-width:767px) { .journal-header { flex-wrap: wrap; gap: 16px; padding: 20px; }.journal-header nav { gap: 16px; flex-wrap: wrap; }.journal-main { padding: 40px 20px 64px; }.journal-grid { grid-template-columns: 1fr; }.journal-footer { flex-direction: column; }.journal-lead { font-size: 16px; } }
