/* Homepage Final CTA: restore the existing 1280px banner at the approved exact
   narrow desktop sizes only. Grid places the CTA first without changing FAQ
   rules, DOM order, other sections, or any locked viewport. */
@media (width: 1024px) and (height: 800px), (width: 1024px) and (height: 768px), (width: 1100px) and (height: 900px), (width: 1200px) and (height: 900px) {
  html:root[lang] body.homepage-v21:not(.contact-site) > main .closing-section > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  html:root[lang] body.homepage-v21:not(.contact-site) > main .closing-cta {
    grid-row: 1;
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    width: 100%;
    max-width: none;
    min-height: 280px;
    margin: 0 0 36px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #087F91;
    color: #F7F5F0;
  }
  html:root[lang] body.homepage-v21:not(.contact-site) > main .closing-cta-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    height: 100%;
    min-width: 0;
    padding: 32px 40px;
  }
  html:root[lang] body.homepage-v21:not(.contact-site) > main .closing-cta::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right, #087F91 0%, #087F91 35%, rgba(8,127,145,.98) 43%, rgba(8,127,145,.8) 52%, rgba(8,127,145,.35) 65%, rgba(8,127,145,0) 82%);
    pointer-events: none;
  }
  html:root[lang] body.homepage-v21:not(.contact-site) > main .closing-cta h2 {
    max-width: 16ch;
    margin: 0;
    color: #F7F5F0 !important;
  }
  html:root[lang] body.homepage-v21:not(.contact-site) > main .closing-cta .v3-studio-photo {
    position: absolute;
    inset: 0 0 0 auto;
    z-index: 0;
    display: block;
    width: 65%;
    height: 100%;
    object-fit: cover;
    object-position: 0% 54%;
    transform: scale(1.08);
    transform-origin: left center;
    clip-path: none;
  }
  @layer bjm-chrome-priority {
    html:root[lang] body.homepage-v21:not(.contact-site) > main .closing-cta a#book.cta-primary {
      background: #F7F5F0 !important;
      border-color: #F7F5F0 !important;
      color: #173D4B !important;
      max-width: 100%;
      white-space: normal;
    }
    html:root[lang] body.homepage-v21:not(.contact-site) > main .closing-cta a#book.cta-primary:hover {
      background-color: #E8E5DD !important;
      border-color: #E8E5DD !important;
    }
  }
}

/* EN light-mode micro fixes at the two approved 1536px viewports only. */
@media (width: 1536px) and (height: 864px), (width: 1536px) and (height: 1109px) {
  html[lang="en"]:not([data-theme="dark"]) body.interior-v21 main :is(.about-action-primary, .booking-primary, .faq-chat, .booking-link, .article-primary, .craft-booking-cta) {
    background-color: #087F91 !important;
    border-color: transparent !important;
    color: #FFFFFF !important;
  }
  html[lang="en"]:not([data-theme="dark"]) body.interior-v21 main.about-page .about-closing .about-actions > a.about-action:not(.about-action-primary) {
    text-decoration: none;
  }
}

/* Extend only the EN hero's left edge; retain its right edge and slant. */
@media (width: 1366px) and (height: 768px) {
  html[lang="en"] body.homepage-v21:not(.contact-site) main .hero > .hero-image {
    width: calc(100% - var(--hero-frame-gutter) + 40px);
    margin-inline-start: -40px;
    clip-path: polygon(calc(11% - 4.4px) 0, 100% 0, calc(89% + 4.4px) 100%, 0 100%);
  }
}

/* EN 1366x768 light mode: partnership CTA paint and one About underline. */
@media (width: 1366px) and (height: 768px) {
  html[lang="en"]:not([data-theme="dark"]) body.interior-v21 main.partnerships-page .partnerships-actions > a.booking-link {
    background-color: #087F91;
    border-color: transparent;
  }
  html[lang="en"]:not([data-theme="dark"]) body.interior-v21 main.about-page .about-closing .about-actions > a.about-action:not(.about-action-primary) {
    text-decoration: none;
  }
}

/* EN homepage: reserve utility space inside the header at this exact viewport. */
@media (width: 1366px) and (height: 768px) {
  html[lang="en"] body.homepage-v21:not(.contact-site) > header > nav {
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 48px;
  }
  html[lang="en"] body.homepage-v21:not(.contact-site) > header .header-actions {
    position: static;
    margin-inline-end: 0;
    gap: 16px;
  }
  html[lang="en"] body.homepage-v21:not(.contact-site) > header .header-utilities {
    position: static;
    gap: 14px;
    padding-inline-start: 0;
  }
}

/* EN homepage: reserve final font metrics so swapping fonts cannot move header groups. */
@media (width: 1536px) and (height: 864px), (width: 1536px) and (height: 1109px) {
  html[lang="en"] body.homepage-v21:not(.contact-site) > header > nav {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  html[lang="en"] body.homepage-v21:not(.contact-site) > header .header-menu {
    display: grid;
    grid-template-columns: 125.3125px 54.9375px 32.703125px 85.625px 97.96875px;
    gap: 28px;
  }
  html[lang="en"] body.homepage-v21:not(.contact-site) > header .nav-group > .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }
  html[lang="en"] body.homepage-v21:not(.contact-site) > header .header-actions {
    position: static;
    inset-inline-end: auto;
    gap: 20px;
  }
  html[lang="en"] body.homepage-v21:not(.contact-site) > header .language-selector {
    flex: 0 0 37px;
  }
  html[lang="en"] body.homepage-v21:not(.contact-site) > header .nav-cta {
    box-sizing: border-box;
    width: 88.3125px;
    flex: 0 0 88.3125px;
  }
  html[lang="en"] body.homepage-v21:not(.contact-site) > header .header-utilities {
    position: static;
    gap: 12px;
    padding-inline-start: 0;
  }
  html[lang="en"] body.homepage-v21:not(.contact-site) > header .header-utilities > :is(.bali-clock, .theme-toggle) {
    translate: none;
  }
  @layer bjm-chrome-priority {
    html:root[lang="en"] body.homepage-v21:not(.contact-site) > header #bjm-bali-clock {
      box-sizing: border-box;
      width: 137.125px !important;
      flex: 0 0 137.125px !important;
      line-height: 19.6px;
    }
  }
  html[lang="en"] body.homepage-v21:not(.contact-site) > header .bali-clock time {
    width: 34.46875px;
    flex: 0 0 34.46875px;
  }
}

/* The toggle occupies spare space beside the flag, not a new navigation column. */
header .language-selector > .theme-toggle {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 28px;
  min-height: 0;
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  border-radius: 3px;
  background: transparent;
  box-shadow: none;
  color: inherit;
  cursor: pointer;
}
header .theme-toggle svg { display: block; width: 16px; height: 16px; }
header .theme-toggle svg[hidden] { display: none; }
header .language-selector > .theme-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (max-width: 1023px) {
  header .language-selector > .theme-toggle { top: 0; right: 0; transform: none; }
}
@media (min-width: 1280px) {
  header .language-selector > .theme-toggle {
    width: 40px;
    height: 40px;
    right: calc(100% + 15.7px);
  }
  header .theme-toggle svg { width: 24px; height: 24px; }
  body:not(.homepage-v21):not(.interior-v21) header .language-selector { margin-inline-start: 32px; }
}

/* Bali time shares the existing header colors and stays out of smaller layouts. */
header .language-selector > .bali-clock { display: none; }
@media (min-width: 1280px) {
  header .language-selector > .bali-clock {
    position: absolute;
    right: calc(100% + 67.7px);
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    color: inherit;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
  }
  header .bali-clock svg { width: 16px; height: 16px; flex: 0 0 16px; }
  html:is([lang="en"], [data-en-mobile]) header :is(.header-actions, .header-utilities) > .bali-clock { position: relative; }
  html:is([lang="en"], [data-en-mobile]) header .bali-clock::before {
    content: "";
    position: absolute;
    inset: -7px -6px;
    border: 1px solid #C9C5BD;
    border-radius: 999px;
    pointer-events: none;
  }
  html:is([lang="en"], [data-en-mobile])[data-theme="dark"] header .bali-clock::before { border-color: #596366; }
  header .bali-clock time { display: inline-block; width: auto; text-align: center; }
  header .bali-clock.is-compact svg { display: none; }
  body:not(.homepage-v21):not(.interior-v21) header .language-selector { margin-inline-start: calc(32px + var(--bali-clock-reserve, 0px)); }
}
@media (min-width: 1280px) and (max-width: 1535px) {
  html:is([lang="en"], [data-en-mobile]) body.homepage-v21 header .bali-clock::before { inset-inline: -1px; }
}

/* One Light Mode page canvas at every viewport; component surfaces stay distinct. */
:root { --site-light-background: #F7F5F0; }
html:not([data-theme="dark"]),
html:not([data-theme="dark"]) body,
html:not([data-theme="dark"]) body main,
html:not([data-theme="dark"]) body main :is(.gallery-page, .craft-page-intro, .articles-page-intro, .articles-list, .about-intro, .about-intro-image, .craft-teaser, .pricing-teaser, .steps, .instagram-feed-section, .closing-section),
html:not([data-theme="dark"]) body.homepage-v21 main :is(.hero, .guest-reviews-section),
html:not([data-theme="dark"]) body.interior-v21 main .intro#pure-silver,
html:not([data-theme="dark"]) body main :is(.intro#workshop, .steps#schedule, .steps#craft) { background-color: #FFFFFF; }

/* Approved English page canvas and chrome; translated pages retain their palette. */
html:is([lang="en"], [data-en-mobile]):not([data-theme="dark"]),
html:is([lang="en"], [data-en-mobile]):not([data-theme="dark"]) body,
html:is([lang="en"], [data-en-mobile]):not([data-theme="dark"]) body main,
html:is([lang="en"], [data-en-mobile]):not([data-theme="dark"]) body main :is(.hero, .gallery-page, .craft-page-intro, .articles-page-intro, .articles-list, .about-intro, .about-intro-image, .craft-teaser, .pricing-teaser, .steps, .steps#schedule, .intro#pure-silver, .intro#workshop, .steps#craft, .guest-reviews-section, .instagram-feed-section, .closing-section) { background-color: #FFFFFF; }
html:is([lang="en"], [data-en-mobile]):not([data-theme="dark"]) body:is(.homepage-v21, .interior-v21) > header { background-color: #FFFFFF; }
/* English navigation panels use the approved white Light Mode surface. */
html:is([lang="en"], [data-en-mobile]):not([data-theme="dark"]) body header .nav-dropdown {
  background-color: #FFFFFF;
  border-color: #E8E8E8;
}
html:is([lang="en"], [data-en-mobile]):not([data-theme="dark"]) body header .nav-dropdown a { background-color: #FFFFFF; }
html:is([lang="en"], [data-en-mobile]):not([data-theme="dark"]) body header .nav-dropdown a:is(:hover, :focus-visible) { background-color: #F3F3F3; }
@media (min-width: 1024px) {
  html:is([lang="en"], [data-en-mobile]):not([data-theme="dark"]) body header .nav-dropdown { box-shadow: 0 4px 16px rgba(0, 0, 0, .08); }
}
/* Match English interior-page Book paint to the approved desktop homepage control. */
@media (min-width: 1280px) {
  html:is([lang="en"], [data-en-mobile]):not([data-theme="dark"]) body:not(.homepage-v21) > header .nav-links a.nav-cta {
    background-color: #087F91;
    border-color: #087F91;
    border-radius: 2px;
    color: #F7F5F0;
  }
  html:is([lang="en"], [data-en-mobile]):not([data-theme="dark"]) body:not(.homepage-v21) > header .nav-links a.nav-cta:hover {
    background-color: #076C7B;
    border-color: #076C7B;
    color: #000000;
  }
  html:is([lang="en"], [data-en-mobile]):not([data-theme="dark"]) body:not(.homepage-v21) > header .nav-links a.nav-cta:focus-visible {
    outline: 2px solid #087F91;
    outline-offset: 4px;
  }
}
html:is([lang="en"], [data-en-mobile]):not([data-theme="dark"]) body > footer { background-color: #EFEFEF; color: #292521; }
html:is([lang="en"], [data-en-mobile]):not([data-theme="dark"]) body footer :is(h2, a, button, .footer-tagline, .footer-brand-description, .footer-location, .footer-contact-link, .footer-contact-intro, .footer-contact-label, .footer-contact-detail, .footer-column ul, .copyright) { color: #292521; }
html:is([lang="en"], [data-en-mobile]):not([data-theme="dark"]) body footer .footer-logo { filter: brightness(0); }
html:is([lang="en"], [data-en-mobile]):not([data-theme="dark"]) body footer :is(a, button):focus-visible { outline-color: #292521; }

/* English content cards share paint only; inset borders preserve all box geometry. */
html:is([lang="en"], [data-en-mobile]) body main :is(.guest-review, .pricing-teaser-option, .partnerships-facts > li, .pricing-page .price-option, .pricing-page .feature, .pricing-page .cost, .booking-page .booking-summary, :where(.steps#craft:has(#the-process) .step-grid > .step)) {
  position: relative;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.11);
}
html:is([lang="en"], [data-en-mobile]):not([data-theme="dark"]) body main :is(.guest-review, .pricing-teaser-option, .partnerships-facts > li, .pricing-page .price-option, .pricing-page .feature, .pricing-page .cost, .booking-page .booking-summary, :where(.steps#craft:has(#the-process) .step-grid > .step)) {
  background-color: #FFFFFF;
  border-color: transparent;
}
html:is([lang="en"], [data-en-mobile]) body main :is(.guest-review, .pricing-teaser-option, .partnerships-facts > li, .pricing-page .price-option, .pricing-page .feature, .pricing-page .cost, .booking-page .booking-summary, :where(.steps#craft:has(#the-process) .step-grid > .step))::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #E8E8E8;
  border-radius: inherit;
  pointer-events: none;
}
html:is([lang="en"], [data-en-mobile])[data-theme="dark"] body main :is(.guest-review, .pricing-teaser-option, .partnerships-facts > li, .pricing-page .price-option, .pricing-page .feature, .pricing-page .cost, .booking-page .booking-summary, :where(.steps#craft:has(#the-process) .step-grid > .step))::before { border-color: var(--theme-line); }
html:is([lang="en"], [data-en-mobile])[data-theme="dark"] body .pricing-page :is(.price-option, .feature, .cost) { outline: none; }

/* Only the English making-process grid receives card spacing and internal padding. */
html:is([lang="en"], [data-en-mobile]) body.interior-v21 main .steps#craft:has(#the-process) .step-grid {
  gap: 24px;
  grid-auto-rows: auto;
  align-items: stretch;
}
html:is([lang="en"], [data-en-mobile]) body.interior-v21 main .steps#craft:has(#the-process) .step-grid > .step {
  padding: 24px;
  min-width: 0;
}
html:is([lang="en"], [data-en-mobile])[data-theme="dark"] body main .steps#craft:has(#the-process) .step-number {
  /* Override the existing shared muted-number color, preserving the black/white badge. */
  color: #FFFFFF !important;
}

/* English Pricing: card breathing room and balanced editorial section spacing. */
html:is([lang="en"], [data-en-mobile]) body.interior-v21 .pricing-page :is(.price-option, .feature, .cost) {
  padding: 24px;
  border-width: 0;
  min-width: 0;
}
html:is([lang="en"], [data-en-mobile]) body.interior-v21 .pricing-page :is(.price-grid, .feature-grid, .cost-grid) { gap: 24px; align-items: stretch; }
html:is([lang="en"], [data-en-mobile]) body.interior-v21 .pricing-page .option-heading { min-height: 64px; margin-bottom: 16px; }
html:is([lang="en"], [data-en-mobile]) body.interior-v21 .pricing-page :is(.feature, .cost) > .pricing-icon { margin-bottom: 16px; }
html:is([lang="en"], [data-en-mobile]) body.interior-v21 .pricing-page :is(.feature, .cost) h3 { margin-bottom: 12px; }
html:is([lang="en"], [data-en-mobile]) body.interior-v21 .pricing-page :is(.price-options, .included, .additional, .reassurance, .pricing-closing) { padding: 0 0 40px; }
html:is([lang="en"], [data-en-mobile]) body.interior-v21 .pricing-page :is(.included-intro, .additional > .container, .reassurance-grid) { padding-top: 32px; }
html:is([lang="en"], [data-en-mobile]) body.interior-v21 .pricing-page .additional > .container { row-gap: 24px; }
html:is([lang="en"], [data-en-mobile]) body.interior-v21 .pricing-page .cost-note { margin-top: 0; }
@media (min-width: 1200px) {
  html:is([lang="en"], [data-en-mobile]) body.interior-v21 .pricing-page .additional > .container { grid-template-columns: minmax(250px, 1fr) minmax(0, 3fr); column-gap: 32px; }
}
@media (min-width: 651px) {
  html:is([lang="en"], [data-en-mobile]) body.interior-v21 .pricing-page .feature h3 { min-height: 2.5em; }
}
@media (min-width: 651px) and (max-width: 1000px) {
  html:is([lang="en"], [data-en-mobile]) body.interior-v21 .pricing-page .cost-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  html:is([lang="en"], [data-en-mobile]) body.interior-v21 .pricing-page :is(.price-option, .feature, .cost) { padding: 20px; }
  html:is([lang="en"], [data-en-mobile]) body.interior-v21 .pricing-page :is(.price-options, .included, .additional, .reassurance, .pricing-closing) { padding-bottom: 32px; }
  html:is([lang="en"], [data-en-mobile]) body.interior-v21 .pricing-page :is(.included-intro, .additional > .container, .reassurance-grid) { padding-top: 24px; }
  html:is([lang="en"], [data-en-mobile]) body.interior-v21 .pricing-page .option-heading { min-height: 0; flex-wrap: wrap; row-gap: 12px; }
}

/* Header consistency remains desktop-only and independent of the page canvas. */
@media (min-width: 1280px) {
  html:not([data-theme="dark"]) body:not(.homepage-v21) > header { background-color: var(--site-light-background); color: #292521; }
  html:not([data-theme="dark"]) body:not(.homepage-v21) > header .brand img { filter: brightness(0); }
  /* Retain the legacy dark disclosure surfaces and their existing light text. */
  html:not([data-theme="dark"]) body:not(.homepage-v21):not(.interior-v21) header :is(.nav-dropdown, .language-options) { color: #FFFFFF; }

  body:not(.homepage-v21) > header .brand img {
    width: calc(220px * 23 / 30);
    height: 55px;
    object-fit: cover;
    object-position: center;
    transform: none;
  }
  body:not(.homepage-v21) > header .nav-links { font-family: "DM Sans", system-ui, sans-serif; line-height: 1.4; }
  body:not(.homepage-v21) > header .nav-links a.nav-cta,
  body:not(.homepage-v21) > header .nav-links a.nav-cta.cta-primary { line-height: 1.5; }
}

/* Dark palette overrides remain independent of the Light Mode canvas. */
html[data-theme="dark"] {
  color-scheme: dark;
  --theme-bg: #242725;
  --theme-surface: #303633;
  --theme-text: #F7F5F0;
  --theme-muted: #BEC5C0;
  --theme-line: #48534D;
  --theme-icon: #D5DDD9;
  --theme-accent: #54C3D0;
  --theme-action: #087485;
  background-color: var(--theme-bg);
}
html[data-theme="dark"] body {
  --chrome-background: var(--theme-bg);
  --ink: var(--theme-text);
  --muted: var(--theme-muted);
  --rule: var(--theme-line);
  --v21-line: var(--theme-line);
  --v3-charcoal: var(--theme-text);
  --cream: var(--theme-text);
  --warm-white: var(--theme-bg);
  --white: var(--theme-text);
  --sand: var(--theme-text);
  background-color: var(--theme-bg) !important;
  color: var(--theme-text) !important;
}
html[data-theme="dark"] body :is(main, header, footer) { --v21-line: var(--theme-line); }
html[data-theme="dark"] body .pricing-page { --rule: var(--theme-line); }
@media (min-width: 1280px) {
  html:is([lang="en"], [data-en-mobile])[data-theme="dark"] body.homepage-v21 main .about-intro-image { background-color: var(--theme-bg); }
}

/* Legacy pages embed literal colors; these shared color-only overrides take
   precedence without touching typography, geometry, photography or gradients. */
html[data-theme="dark"] body :is(main, main > section, .about-section, .about-closing, .pricing-page section, .craft-page-intro, .faq-page, .booking-page, .gallery-page, .silver-article-page, .partnerships-page section) {
  background-color: var(--theme-bg) !important;
  color: var(--theme-text) !important;
  border-color: var(--theme-line) !important;
}
html[data-theme="dark"] body :is(header, footer, .nav-dropdown, .nav-links.is-open, .language-options, .email-chooser, .communication-hub-panel) {
  background-color: var(--theme-bg) !important;
  color: var(--theme-text) !important;
  border-color: var(--theme-line) !important;
}
html[data-theme="dark"] body :is(h1, h2, h3, h4, h5, h6, legend, label, summary, dt, dd, output, th, strong, .price, .price-amount, .pricing-teaser-price, .schedule-hours, .guest-review-attribution) { color: var(--theme-text) !important; }
html[data-theme="dark"] body :is(p, li, blockquote, figcaption, td, .section-label, .about-eyebrow, .booking-eyebrow, .faq-eyebrow, .article-eyebrow, .hero-eyebrow, .optional, .booking-note, .calendar-weekdays, .calendar-jump-label, .time-wheel-labels, .guest-review-location, .guest-review-source, .footer-contact-detail, .communication-hub-detail, .copyright) { color: var(--theme-muted) !important; }
html[data-theme="dark"] body :is(a, button, .footer-contact-label, .communication-hub-label, .wheel-value, .wheel-colon) { color: var(--theme-text) !important; }
html[data-theme="dark"] body main span { color: inherit !important; }
html[data-theme="dark"] body :is(.faq-indicator, .step-number, .policy-number) { color: var(--theme-muted) !important; }
html[data-theme="dark"] body main :is(.pricing-icon, .partnerships-fact-icon) { color: var(--theme-icon); stroke: currentColor; }
html[data-theme="dark"] body .blog-topic-chip { background-color: var(--theme-surface) !important; }
html[data-theme="dark"] body main :is(a:not([class]), .cta-secondary, .about-intro-link, .about-action:not(.about-action-primary), .article-preview-link, .article-back-link, .booking-editorial, .faq-link, .gallery-instagram-link, .partnerships-text-link, .policy-contact-link, .blog-topic-chip) { color: var(--theme-accent) !important; }
html[data-theme="dark"] body main .about-action:not(.about-action-primary) { text-decoration: none; }
html[data-theme="dark"] body main :is(.cta-secondary, .about-intro-link, .about-action:not(.about-action-primary), .article-preview-link, .article-back-link, .booking-editorial, .faq-link, .gallery-instagram-link, .partnerships-text-link, .policy-contact-link):hover { --theme-accent: #8AD9E1; }
html[data-theme="dark"] body :is(header, footer) a:hover { color: var(--theme-accent) !important; }
html[data-theme="dark"] body :is(.pricing-teaser-option, .price-option, .feature, .cost, .step, .reassurance, .guest-review, .booking-summary, .guide-summary, .guide-toc, .guide-checklist, .partnerships-facts > *, .partnerships-steps > *, .calendar-jump, input, textarea, select) {
  background-color: var(--theme-surface) !important;
  color: var(--theme-text) !important;
  border-color: var(--theme-line) !important;
}
/* Inset outlines define the existing editorial cards without changing their boxes. */
html[data-theme="dark"] body .pricing-page :is(.price-option, .feature, .cost) { outline: 1px solid var(--theme-line); outline-offset: -1px; }
/* These badges use --ink/--cream in Light Mode; both become light in Dark Mode. */
html[data-theme="dark"] body .articles-list .article-preview-content[data-article-number]::before { background-color: var(--theme-surface); color: var(--theme-icon); }
html[data-theme="dark"] body .partnerships-steps li::before { background-color: var(--theme-surface); color: var(--theme-text); border-color: var(--theme-line); }
html[data-theme="dark"] body .partnerships-steps li:not(:last-child)::after { background-color: var(--theme-line); }
html[data-theme="dark"] body :is(details, fieldset, .booking-step, .booking-contact, .summary-list > div, .review-list > div, .article-preview, .policy-section, .policy-subsection, .included, .additional, .closing-faq, .faq-category, .faq-item, .partnerships-steps, .footer-grid, .copyright, .pricing-teaser-options, .silver-comparison, .silver-comparison th, .silver-comparison td, .blog-topic-chip) { border-color: var(--theme-line) !important; }
html[data-theme="dark"] body :is(.btn-primary, .cta-primary, .nav-cta, .about-action-primary, .booking-primary, .faq-chat, .booking-link, .article-primary, .craft-booking-cta) {
  background-color: var(--theme-action) !important;
  border-color: var(--theme-action) !important;
  color: var(--theme-text) !important;
}
html[data-theme="dark"] body :is(.btn-primary, .cta-primary, .nav-cta, .about-action-primary, .booking-primary, .faq-chat, .booking-link, .article-primary, .craft-booking-cta):hover { background-color: #096474 !important; }
html[data-theme="dark"] body main .instagram-feed-follow.cta-primary { color: var(--theme-text) !important; }
html[data-theme="dark"] body :is(.calendar-nav, .calendar-day, .time-option, .calendar-jump button, .guest-counter button, .use-custom-time, .menu-toggle, .blog-topic-chip) { border-color: var(--theme-line) !important; }
html[data-theme="dark"] body :is(.calendar-day[aria-pressed="true"], .time-option[aria-pressed="true"], .calendar-jump button[aria-pressed="true"], .blog-topic-chip[aria-pressed="true"]) { background-color: var(--theme-action) !important; color: var(--theme-text) !important; border-color: var(--theme-accent) !important; }
html[data-theme="dark"] body .wheel-value[aria-selected="true"] { color: var(--theme-text) !important; }
html[data-theme="dark"] body :is(input, textarea)::placeholder { color: var(--theme-muted); opacity: 1; }
html[data-theme="dark"] body :is(.booking-error, [role="alert"]) { color: #FFB5A7 !important; }
html[data-theme="dark"] body [aria-invalid="true"] { border-color: #FFB5A7 !important; }
html[data-theme="dark"] body :is(a, button, input, textarea, select, summary):focus-visible { outline-color: var(--theme-accent) !important; }
html[data-theme="dark"] body :is(.email-chooser-options a, .email-chooser-close, .communication-hub-option:not(:disabled), .calendar-day:not(:disabled)):hover { background-color: var(--theme-surface) !important; }
html[data-theme="dark"] body .guest-review-stars { color: var(--theme-accent) !important; }
html[data-theme="dark"] body .hero-slide-indicator::before { background-color: var(--theme-line) !important; }
html[data-theme="dark"] body .hero-slide-indicator[aria-current="true"]::before { background-color: var(--theme-accent) !important; }
html[data-theme="dark"] body :is(main > section, header)::after,
html[data-theme="dark"] body main > section::before { border-color: var(--theme-line) !important; }

/* Only logo artwork is recolored. Photos and language flags retain their pixels. */
html[data-theme="dark"] body :is(header .brand img, footer .footer-logo) { filter: brightness(0) saturate(100%) invert(96%) sepia(9%) saturate(200%) hue-rotate(350deg) !important; }
html[data-theme="dark"] body header .menu-toggle::before { filter: none; }

/* Approved photo/gradient CTA remains intact, including its cream button. */
html[data-theme="dark"] body .closing-cta { color: var(--theme-text) !important; }
html[data-theme="dark"] body .closing-cta :is(h1, h2, h3, p) { color: var(--theme-text) !important; }
html[data-theme="dark"] body .closing-cta .cta-primary { background-color: #F7F5F0 !important; border-color: #F7F5F0 !important; color: #173D4B !important; }
html[data-theme="dark"] body .closing-cta .cta-primary:hover { background-color: #E8E5DD !important; }
@media (min-width: 1280px) {
  header .theme-toggle {
    position: static;
    transform: none;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
}
@media (min-width: 1440px) {
  html:is([lang="en"], [data-en-mobile]) body > header :is(a, button, span, time) { font-weight: 600 !important; }
  html:is([lang="en"], [data-en-mobile]) body > header :is(.bali-clock, .theme-toggle) { translate: 10px; }
}
/* English header readability; translated headers retain their existing sizes. */
html:is([lang="en"], [data-en-mobile]) body > header :is(.header-menu > a, .nav-dropdown-toggle, .nav-dropdown a) { font-size: 16px; }
html:is([lang="en"], [data-en-mobile]) body.homepage-v21 > header a.nav-cta { font-size: 17px; }
html:is([lang="en"], [data-en-mobile]) body.interior-v21 > header .nav-cta { font-size: 17px; }
@media (min-width: 1280px) {
  html:is([lang="en"], [data-en-mobile]) body.homepage-v21 > header .bali-clock { font-size: 14px; }
  html:is([lang="en"], [data-en-mobile]) body.interior-v21 > header .bali-clock { font-size: 17px; }
}
@media (min-width: 1051px) {
  html:is([lang="en"], [data-en-mobile]) body.interior-v21 > header :is(.header-menu > a, .nav-dropdown-toggle) { font-size: 17px; }
  html:is([lang="en"], [data-en-mobile]) body.interior-v21 > header .header-menu { gap: 16px; }
  html:is([lang="en"], [data-en-mobile]) body.interior-v21 > header .header-actions { gap: 12px; }
}
@media (min-width: 1051px) and (max-width: 1199px) {
  html:is([lang="en"], [data-en-mobile]) body.homepage-v21 > header :is(.header-menu > a, .nav-dropdown-toggle) { font-size: 17px; }
  html:is([lang="en"], [data-en-mobile]) body.homepage-v21 > header .header-menu { gap: 18px; }
}
@media (min-width: 1024px) and (max-width: 1050px) {
  html:is([lang="en"], [data-en-mobile]) body > header :is(nav, .header-menu, .header-actions) { gap: 8px; }
  html:is([lang="en"], [data-en-mobile]) body:is(.homepage-v21, .interior-v21) > header a.nav-cta { font-size: 16px; }
}
@media (min-width: 1200px) {
  html:is([lang="en"], [data-en-mobile]) body.homepage-v21 > header a.nav-cta { font-size: 16px; }
}
@media (min-width: 1280px) and (max-width: 1439px) {
  html:is([lang="en"], [data-en-mobile]) body.homepage-v21 > header .header-actions { margin-inline-end: 4px; }
  html:is([lang="en"], [data-en-mobile]) body.interior-v21 > header .header-menu { gap: 12px; }
}
@media (max-width: 1023px) {
  html:is([lang="en"], [data-en-mobile]) body > header :is(.header-menu > a, .nav-dropdown-toggle) { font-size: 18px; }
  html:is([lang="en"], [data-en-mobile]) body > header .menu-toggle { font-size: 18px; }
  html:is([lang="en"], [data-en-mobile]) body > header .language-heading { font-size: 14px; }
}
@layer bjm-chrome-priority {
  html:root header #bjm-bali-clock { padding-inline: 8px !important; gap: 5px !important; width: max-content !important; flex: 0 0 auto !important; white-space: nowrap !important; }
  html:root header #bjm-bali-clock::before { inset-inline: 0 !important; border-radius: 6px !important; }
}

/* Shared approved clock, section-label and pricing treatments in every language. */
html:root body main .bjm-section-highlight { padding: 5px 12px; border-radius: 5px; background: rgba(8, 127, 145, 0.18); color: #087F91 !important; }
html:root body main .bjm-section-highlight :is(strong, em) { color: inherit !important; }
html:root body main :is(.price-amount, .pricing-teaser-price) { color: #087F91 !important; }
html:root[data-theme="dark"] body main .bjm-section-highlight { color: var(--theme-text) !important; }
html:root[data-theme="dark"] body main :is(.price-amount, .pricing-teaser-price) { color: var(--theme-accent) !important; }

/* Center only the skills label without changing its inline highlight footprint. */
html:root body main .bjm-centered-highlight { position: relative; }
html:root body main .bjm-highlight-size { visibility: hidden; }
html:root body main .bjm-highlight-text { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: max-content; white-space: nowrap; display: flex; align-items: center; justify-content: center; text-align: center; color: inherit !important; }
html:root body main .booking-step > legend > .bjm-booking-step-highlight { margin-left: 0; font: inherit; letter-spacing: inherit; }
html:root body main .bjm-booking-step-highlight > span { color: inherit !important; }

/* English originally filled primary buttons only; secondary links keep page-owned paint. */
@media (width: 1100px) {
  @layer bjm-chrome-priority {
    html:root[lang="en"] body:is(.homepage-v21, .interior-v21)[class] > :is(header, main) :is(a, button, input)[class]:is(.nav-cta, .homepage-v21 .cta-primary, .about-action-primary, .booking-primary, .booking-link, .faq-chat, .article-primary, .craft-booking-cta) {
      background-color: #087F91 !important;
      border-color: #087F91 !important;
      color: #FFFFFF !important;
    }
    html:root[lang="en"] body:is(.homepage-v21, .interior-v21)[class] > :is(header, main) :is(a, button, input)[class]:is(.nav-cta, .homepage-v21 .cta-primary, .about-action-primary, .booking-primary, .booking-link, .faq-chat, .article-primary, .craft-booking-cta) :is(span, strong, em) {
      color: #FFFFFF !important;
    }
    html:root[lang="en"] body:is(.homepage-v21, .interior-v21)[class] > :is(header, main) :is(a, button, input)[class]:is(.nav-cta, .homepage-v21 .cta-primary, .about-action-primary, .booking-primary, .booking-link, .faq-chat, .article-primary, .craft-booking-cta):focus-visible {
      outline: 2px solid #087F91 !important;
      outline-offset: 5px !important;
    }
  }
}

/* EN CTA paint only: exact approved desktop viewport; preserve secondary hierarchy. */
@media (width: 1280px) and (height: 900px) {
  @layer bjm-chrome-priority {
    html:root[lang="en"] body > main :is(a, button, input)[class]:is(.cta-primary, .about-action-primary, .booking-primary, .booking-link, .faq-chat, .article-primary, .craft-booking-cta):not(.closing-cta *) {
      background-color: #087F91 !important;
      border-color: #087F91 !important;
      color: #FFFFFF !important;
    }
    html:root[lang="en"] body > main :is(a, button, input)[class]:is(.cta-primary, .about-action-primary, .booking-primary, .booking-link, .faq-chat, .article-primary, .craft-booking-cta):not(.closing-cta *):hover {
      background-color: #076C7B !important;
      border-color: #076C7B !important;
    }
    html:root[lang="en"] body > main :is(a, button, input)[class]:is(.cta-primary, .about-action-primary, .booking-primary, .booking-link, .faq-chat, .article-primary, .craft-booking-cta):not(.closing-cta *):active {
      background-color: #065C69 !important;
      border-color: #065C69 !important;
    }
    html:root[lang="en"] body > main :is(button, .cta-secondary, .about-action:not(.about-action-primary), .article-pagination a, .use-custom-time) {
      border-color: #087F91 !important;
    }
    html:root[lang="en"] body > main :is(a, button, input)[class]:is(.cta-primary, .about-action-primary, .booking-primary, .booking-link, .faq-chat, .article-primary, .craft-booking-cta):not(.closing-cta *) :is(span, strong, em) {
      color: #FFFFFF !important;
    }
    html:root[lang="en"] body > main :is(button, .cta-primary, .cta-secondary, .about-action, .booking-link, .faq-chat, .article-primary, .craft-booking-cta, .article-pagination a, .use-custom-time):focus-visible {
      outline: 2px solid #087F91 !important;
      outline-offset: 5px !important;
    }
    html:root[lang="en"][data-theme="dark"] body > main :is(button, .cta-primary, .cta-secondary, .about-action, .booking-link, .faq-chat, .article-primary, .craft-booking-cta, .article-pagination a, .use-custom-time):focus-visible {
      outline-color: #70D9DE !important;
    }
  }
}
/* EN 1280x900 dark partnership timeline: real gaps, preserving text positions. */

/* EN 1280x900 — Partnerships dark cards only */
@media (width: 1280px) and (height: 900px) {
  html[lang="en"][data-theme="dark"] body.interior-v21 main.partnerships-page .partnerships-steps {
    gap: 20px;
    align-items: stretch;
  }

  html[lang="en"][data-theme="dark"] body.interior-v21 main.partnerships-page .partnerships-steps > li {
    margin-right: 0;
    padding: 76px 20px 24px;
    border: 1px solid #555;
    border-radius: 10px;
    background: #292929;
  }

  html[lang="en"][data-theme="dark"] body.interior-v21 main.partnerships-page .partnerships-steps > li::before {
    top: 20px;
    left: 20px;
  }

  html[lang="en"][data-theme="dark"] body.interior-v21 main.partnerships-page .partnerships-steps > li::after {
    display: none;
  }
}
/* EN 1366x768 — Partnerships dark cards only */
@media (width: 1366px) and (height: 768px) {
  html[lang="en"][data-theme="dark"] body.interior-v21 main.partnerships-page .partnerships-steps {
    gap: 20px;
    align-items: stretch;
  }

  html[lang="en"][data-theme="dark"] body.interior-v21 main.partnerships-page .partnerships-steps > li {
    margin-right: 0;
    padding: 76px 20px 24px;
    border: 1px solid #555;
    border-radius: 10px;
    background: #292929;
  }

  html[lang="en"][data-theme="dark"] body.interior-v21 main.partnerships-page .partnerships-steps > li::before {
    top: 20px;
    left: 20px;
  }

  html[lang="en"][data-theme="dark"] body.interior-v21 main.partnerships-page .partnerships-steps > li::after {
    display: none;
  }
}

/* EN 1536px — Partnerships dark mode: four separate cards */
@media (width: 1536px) {
  html[lang="en"][data-theme="dark"] body.interior-v21 main.partnerships-page .partnerships-steps {
    gap: 20px;
    align-items: stretch;
  }

  html[lang="en"][data-theme="dark"] body.interior-v21 main.partnerships-page .partnerships-steps > li {
    margin-right: 0;
    padding: 76px 20px 24px;
    border: 1px solid #555;
    border-radius: 10px;
    background: #292929;
  }

  html[lang="en"][data-theme="dark"] body.interior-v21 main.partnerships-page .partnerships-steps > li::before {
    top: 20px;
    left: 20px;
  }

  html[lang="en"][data-theme="dark"] body.interior-v21 main.partnerships-page .partnerships-steps > li::after {
    display: none;
  }
}

/* EN tablet teal buttons: retain ordinary text-link underlines. */
@media (min-width: 768px) and (max-width: 1023px) {
  html[lang="en"][data-theme="dark"] body.interior-v21 main.partnerships-page .partnerships-steps > li {
    background-color: transparent !important;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  /* Only primary EN interior actions; hide edges without changing dimensions. */
  html:root[lang="en"][data-en-interior-tablet] body[class] > main :is(.cta-primary, .about-action-primary, .booking-primary, .booking-link, .faq-chat, .article-primary, .craft-booking-cta) {
    background-color: #087F91 !important;
    color: #fff !important;
    border-color: transparent !important;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  html:root[lang="en"] body main :is(a.cta-primary, a.homepage-shortcut-cta, a.about-action-primary, a.booking-primary, a.booking-link, a.faq-chat, a.article-primary, a.craft-booking-cta) { text-decoration: none; }
}

/* EN desktop adaptation: retain the 1920x919 master and every <=1023px layout.
   Continuous width-based sizing; the exact master is excluded only as a lock guard. */
@media (min-width: 1024px) and (max-width: 2560px) and (not ((width: 1920px) and (height: 919px))) {
  @layer bjm-chrome-priority {
    html:root[lang="en"] body[class]:is(.homepage-v21, .interior-v21, .contact-site) > :is(header, main, footer) {
      --v21-width: 1600px !important;
      --v21-viewport-width: 90% !important;
    }
    html:root[lang="en"] body[class].interior-v21 > main:has(.articles-list) {
      --v21-width: 1500px !important;
    }
    html:root[lang="en"] body[class] > header > nav {
      display: grid !important;
      grid-template-columns: auto minmax(0, 1fr) auto !important;
      width: min(1600px, 90%) !important;
      max-width: 1600px !important;
      height: auto !important;
      min-height: 80px !important;
      padding: 10px 0 !important;
      column-gap: clamp(12px, calc(3.75vw - 26px), 48px) !important;
    }
    html:root[lang="en"] body[class] > header .brand img {
      width: clamp(130px, 8.78418vw, 168.65625px) !important;
      height: clamp(42.4px, 2.86458vw, 55px) !important;
      transform: none !important;
    }
    html:root[lang="en"] body[class] > header .header-menu {
      display: flex !important;
      grid-template-columns: none !important;
      gap: clamp(12px, 1.25vw, 24px) !important;
      justify-self: center !important;
    }
    html:root[lang="en"] body[class] > header :is(.header-menu > a, .nav-dropdown-toggle, .nav-dropdown a) {
      font-size: clamp(14px, 1.041667vw, 20px) !important;
      line-height: 1.4 !important;
    }
    html:root[lang="en"] body[class] > header .header-actions {
      position: static !important;
      inset-inline-end: auto !important;
      margin-inline-end: 0 !important;
      gap: clamp(10px, 1.25vw, 24px) !important;
    }
    html:root[lang="en"] body[class] > header .header-utilities {
      position: static !important;
      display: flex !important;
      align-items: center !important;
      gap: clamp(8px, .729167vw, 14px) !important;
      padding-inline-start: 0 !important;
      width: max-content !important;
    }
    html:root[lang="en"] body[class] > header #bjm-bali-clock {
      display: inline-flex !important;
      width: auto !important;
      flex: 0 0 auto !important;
      font-size: clamp(12px, .833333vw, 16px) !important;
      line-height: 1.4 !important;
    }
    html:root[lang="en"] body[class] > header .bali-clock time {
      width: auto !important;
      flex: 0 0 auto !important;
    }
    html:root[lang="en"] body[class] > header :is(.bali-clock, .theme-toggle) {
      translate: none !important;
    }
    html:root[lang="en"] body[class] > header .theme-toggle {
      position: static !important;
      transform: none !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      width: 24px !important;
      height: 24px !important;
      padding: 0 !important;
      border: none !important;
      background: transparent !important;
    }
    html:root[lang="en"] body[class] > header a.nav-cta.cta-primary {
      font-size: clamp(14px, .9375vw, 18px) !important;
      line-height: 1.4 !important;
      padding-inline: clamp(12px, 1.25vw, 24px) !important;
    }
    html:root[lang="en"] body[class] > footer.site-footer > .container {
      width: min(1600px, 90%) !important;
      max-width: 1600px !important;
    }
    html:root[lang="en"] body[class] > footer.site-footer .footer-grid {
      grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)) !important;
      column-gap: clamp(24px, 2.5vw, 48px) !important;
    }
    html:root[lang="en"] body[class] > footer.site-footer .footer-column h2 {
      font-size: clamp(14px, .9375vw, 18px) !important;
      line-height: 1.4 !important;
    }
    html:root[lang="en"] body[class] > footer.site-footer .footer-column ul {
      font-size: clamp(15px, .9375vw, 18px) !important;
      line-height: 1.5 !important;
    }
    html:root[lang="en"] body[class] > footer.site-footer .footer-tagline {
      font-size: clamp(14px, .885417vw, 17px) !important;
      line-height: 1.6 !important;
    }
    html:root[lang="en"] body[class] > footer.site-footer .copyright {
      font-size: clamp(12px, .729167vw, 14px) !important;
      line-height: 1.6 !important;
    }
    html:root[lang="en"] body[class] > main :is(.about-grid, .booking-layout, .partnerships-hero-grid, .partnerships-editorial) > * {
      min-width: 0 !important;
    }
  }
  @layer bjm-chrome-priority {
    html:root[lang="en"] body[class] > header a.nav-cta.cta-primary {
      background-color: #087F91 !important;
      border-color: #087F91 !important;
      color: #fff !important;
    }
    html:root[lang="en"] body.homepage-v21 > main > .hero#home {
      --hero-frame-gutter: max(5vw, calc((100vw - 1600px) / 2));
      --hero-edge-extension: clamp(32px, 3.125vw, 60px);
      display: grid !important;
      grid-template-columns: minmax(0, 46fr) minmax(0, 54fr) !important;
      grid-template-rows: clamp(500px, 29.166667vw, 560px) 36px !important;
      width: 100% !important;
      max-width: none !important;
      margin: 0 !important;
      padding: 0 !important;
      gap: 0 !important;
      background: var(--theme-bg, #fff) !important;
    }
    html:root[lang="en"] body.homepage-v21 > main > .hero#home::after {
      left: 0 !important;
      width: 100% !important;
    }
    html:root[lang="en"] body.homepage-v21 > main > .hero#home > .hero-editorial {
      grid-area: 1 / 1 !important;
      width: 100% !important;
      max-width: none !important;
      height: 100% !important;
      min-height: 0 !important;
      margin: 0 !important;
      padding: 44px clamp(24px, 2.916667vw, 56px) 44px max(5vw, calc((100vw - 1600px) / 2)) !important;
      contain: none !important;
      background: transparent !important;
    }
    html:root[lang="en"] body.homepage-v21 > main > .hero#home .hero-content {
      display: flex !important;
      flex-direction: column !important;
      justify-content: center !important;
      align-items: flex-start !important;
      position: static !important;
      transform: none !important;
      width: 100% !important;
      max-width: none !important;
      height: 100% !important;
      gap: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
      text-align: left !important;
    }
    html:root[lang="en"] body.homepage-v21 > main > .hero#home .hero-eyebrow {
      margin: 0 0 18px !important;
      font: 600 clamp(12px, .729167vw, 14px)/1.5 "DM Sans", system-ui, sans-serif !important;
      letter-spacing: .1em !important;
      color: var(--theme-muted, #53686d) !important;
    }
    html:root[lang="en"] body.homepage-v21 > main > .hero#home .hero-eyebrow br { display: none !important; }
    html:root[lang="en"] body.homepage-v21 > main > .hero#home .hero-desktop-headline,
    html:root[lang="en"] body.homepage-v21 > main > .hero#home .hero-desktop-headline strong {
      font: 700 clamp(36px, 2.916667vw, 56px)/1.08 "DM Sans", system-ui, sans-serif !important;
      letter-spacing: -.045em !important;
      color: var(--theme-text, #292521) !important;
      text-align: left !important;
      margin: 0 !important;
    }
    html:root[lang="en"] body.homepage-v21 > main > .hero#home .hero-subheadline {
      font: 400 clamp(18px, 1.145833vw, 22px)/1.55 "DM Sans", system-ui, sans-serif !important;
      color: var(--theme-muted, #6f6f6f) !important;
      margin: 20px 0 0 !important;
      text-align: left !important;
    }
    html:root[lang="en"] body.homepage-v21 > main > .hero#home .hero-buttons {
      align-self: flex-start !important;
      justify-content: flex-start !important;
      margin: 24px 0 0 !important;
    }
    html:root[lang="en"] body.homepage-v21 > main > .hero#home a.hero-desktop-cta {
      font-size: clamp(15px, .9375vw, 18px) !important;
      background-color: #087F91 !important;
      border-color: #087F91 !important;
      color: #fff !important;
    }
    html:root[lang="en"] body.homepage-v21 > main > .hero#home > .hero-image {
      grid-area: 1 / 2 !important;
      width: calc(100% - var(--hero-frame-gutter) + var(--hero-edge-extension)) !important;
      height: clamp(500px, 29.166667vw, 560px) !important;
      aspect-ratio: auto !important;
      margin: 0 0 0 calc(-1 * var(--hero-edge-extension)) !important;
      clip-path: polygon(calc(11% - var(--hero-edge-extension) * .11) 0, 100% 0, calc(89% + var(--hero-edge-extension) * .11) 100%, 0 100%) !important;
      transform: translateY(8px) !important;
    }
    html:root[lang="en"] body.homepage-v21 > main > .hero#home > .hero-slide-indicators {
      grid-area: 2 / 2 !important;
      justify-self: start !important;
      justify-content: center !important;
      width: calc(100% - var(--hero-frame-gutter)) !important;
      margin: 4px 0 0 !important;
    }
  }
}

/* EN homepage large desktop: preserve the master gutter and Workshop Times proportions. */
@media (min-width: 1921px) and (max-width: 2560px) {
  @layer bjm-chrome-priority {
    html:root[lang="en"] body.homepage-v21:not(.contact-site) > main > .hero#home {
      --hero-frame-gutter: max(5vw, calc((100vw - 1600px) / 2)) !important;
    }
    html:root[lang="en"] body.homepage-v21:not(.contact-site) main .steps#schedule > .container {
      width: min(1600px, 90%) !important;
    }
    html:root[lang="en"] body.homepage-v21:not(.contact-site) main .steps#schedule .schedule-image {
      height: 380px !important;
    }
  }
}

/* BJM V2 shared desktop adaptation: retain the 1920x919 master and every <=1023px layout.
   Continuous width-based sizing; the exact master is excluded only as a lock guard. */
@media (min-width: 1024px) and (max-width: 2560px) and (not ((width: 1920px) and (height: 919px))) {
  @layer bjm-chrome-priority {
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body[class]:is(.homepage-v21, .interior-v21, .contact-site) > :is(header, main, footer) {
      --v21-width: 1600px !important;
      --v21-viewport-width: 90% !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body[class].interior-v21 > main:has(.articles-list) {
      --v21-width: 1500px !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body[class] > header > nav {
      display: grid !important;
      grid-template-columns: auto minmax(0, 1fr) auto !important;
      width: min(1600px, 90%) !important;
      max-width: 1600px !important;
      height: auto !important;
      min-height: 80px !important;
      padding: 10px 0 !important;
      column-gap: clamp(12px, calc(3.75vw - 26px), 48px) !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body[class] > header .brand img {
      width: clamp(130px, 8.78418vw, 168.65625px) !important;
      height: clamp(42.4px, 2.86458vw, 55px) !important;
      transform: none !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body[class] > header .header-menu {
      display: flex !important;
      grid-template-columns: none !important;
      gap: clamp(12px, 1.25vw, 24px) !important;
      justify-self: center !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body[class] > header :is(.header-menu > a, .nav-dropdown-toggle, .nav-dropdown a) {
      font-size: clamp(14px, 1.041667vw, 20px) !important;
      line-height: 1.4 !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body[class] > header .header-actions {
      position: static !important;
      inset-inline-end: auto !important;
      margin-inline-end: 0 !important;
      gap: clamp(10px, 1.25vw, 24px) !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body[class] > header .header-utilities {
      position: static !important;
      display: flex !important;
      align-items: center !important;
      gap: clamp(8px, .729167vw, 14px) !important;
      padding-inline-start: 0 !important;
      width: max-content !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body[class] > header #bjm-bali-clock {
      display: inline-flex !important;
      width: auto !important;
      flex: 0 0 auto !important;
      font-size: clamp(12px, .833333vw, 16px) !important;
      line-height: 1.4 !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body[class] > header .bali-clock time {
      width: auto !important;
      flex: 0 0 auto !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body[class] > header :is(.bali-clock, .theme-toggle) {
      translate: none !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body[class] > header .theme-toggle {
      position: static !important;
      transform: none !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      width: 24px !important;
      height: 24px !important;
      padding: 0 !important;
      border: none !important;
      background: transparent !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body[class] > header a.nav-cta.cta-primary {
      font-size: clamp(14px, .9375vw, 18px) !important;
      line-height: 1.4 !important;
      padding-inline: clamp(12px, 1.25vw, 24px) !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body[class] > footer.site-footer > .container {
      width: min(1600px, 90%) !important;
      max-width: 1600px !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body[class] > footer.site-footer .footer-grid {
      grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)) !important;
      column-gap: clamp(24px, 2.5vw, 48px) !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body[class] > footer.site-footer .footer-column h2 {
      font-size: clamp(14px, .9375vw, 18px) !important;
      line-height: 1.4 !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body[class] > footer.site-footer .footer-column ul {
      font-size: clamp(15px, .9375vw, 18px) !important;
      line-height: 1.5 !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body[class] > footer.site-footer .footer-tagline {
      font-size: clamp(14px, .885417vw, 17px) !important;
      line-height: 1.6 !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body[class] > footer.site-footer .copyright {
      font-size: clamp(12px, .729167vw, 14px) !important;
      line-height: 1.6 !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body[class] > main :is(.about-grid, .booking-layout, .partnerships-hero-grid, .partnerships-editorial) > * {
      min-width: 0 !important;
    }
  }
  @layer bjm-chrome-priority {
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body[class] > header a.nav-cta.cta-primary {
      background-color: #087F91 !important;
      border-color: #087F91 !important;
      color: #fff !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 > main > .hero#home {
      --hero-frame-gutter: max(5vw, calc((100vw - 1600px) / 2));
      --hero-edge-extension: clamp(32px, 3.125vw, 60px);
      display: grid !important;
      grid-template-columns: minmax(0, 46fr) minmax(0, 54fr) !important;
      grid-template-rows: clamp(500px, 29.166667vw, 560px) 36px !important;
      width: 100% !important;
      max-width: none !important;
      margin: 0 !important;
      padding: 0 !important;
      gap: 0 !important;
      background: var(--theme-bg, #fff) !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 > main > .hero#home::after {
      left: 0 !important;
      width: 100% !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 > main > .hero#home > .hero-editorial {
      grid-area: 1 / 1 !important;
      width: 100% !important;
      max-width: none !important;
      height: 100% !important;
      min-height: 0 !important;
      margin: 0 !important;
      padding: 44px clamp(24px, 2.916667vw, 56px) 44px max(5vw, calc((100vw - 1600px) / 2)) !important;
      contain: none !important;
      background: transparent !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 > main > .hero#home .hero-content {
      display: flex !important;
      flex-direction: column !important;
      justify-content: center !important;
      align-items: flex-start !important;
      position: static !important;
      transform: none !important;
      width: 100% !important;
      max-width: none !important;
      height: 100% !important;
      gap: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
      text-align: left !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 > main > .hero#home .hero-eyebrow {
      margin: 0 0 18px !important;
      font-weight: 600 !important; font-size: clamp(12px, .729167vw, 14px) !important; line-height: 1.5 !important;
      letter-spacing: .1em !important;
      color: var(--theme-muted, #53686d) !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 > main > .hero#home .hero-eyebrow br { display: none !important; }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 > main > .hero#home .hero-desktop-headline,
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 > main > .hero#home .hero-desktop-headline strong {
      font-weight: 700 !important; font-size: clamp(36px, 2.916667vw, 56px) !important; line-height: 1.08 !important;
      letter-spacing: -.045em !important;
      color: var(--theme-text, #292521) !important;
      text-align: left !important;
      margin: 0 !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 > main > .hero#home .hero-subheadline {
      font-weight: 400 !important; font-size: clamp(18px, 1.145833vw, 22px) !important; line-height: 1.55 !important;
      color: var(--theme-muted, #6f6f6f) !important;
      margin: 20px 0 0 !important;
      text-align: left !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 > main > .hero#home .hero-buttons {
      align-self: flex-start !important;
      justify-content: flex-start !important;
      margin: 24px 0 0 !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 > main > .hero#home a.hero-desktop-cta {
      font-size: clamp(15px, .9375vw, 18px) !important;
      background-color: #087F91 !important;
      border-color: #087F91 !important;
      color: #fff !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 > main > .hero#home > .hero-image {
      grid-area: 1 / 2 !important;
      width: calc(100% - var(--hero-frame-gutter) + var(--hero-edge-extension)) !important;
      height: clamp(500px, 29.166667vw, 560px) !important;
      aspect-ratio: auto !important;
      margin: 0 0 0 calc(-1 * var(--hero-edge-extension)) !important;
      clip-path: polygon(calc(11% - var(--hero-edge-extension) * .11) 0, 100% 0, calc(89% + var(--hero-edge-extension) * .11) 100%, 0 100%) !important;
      transform: translateY(8px) !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 > main > .hero#home > .hero-slide-indicators {
      grid-area: 2 / 2 !important;
      justify-self: start !important;
      justify-content: center !important;
      width: calc(100% - var(--hero-frame-gutter)) !important;
      margin: 4px 0 0 !important;
    }
  }
}

/* EN homepage large desktop: preserve the master gutter and Workshop Times proportions. */
@media (min-width: 1921px) and (max-width: 2560px) {
  @layer bjm-chrome-priority {
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21:not(.contact-site) > main > .hero#home {
      --hero-frame-gutter: max(5vw, calc((100vw - 1600px) / 2)) !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21:not(.contact-site) main .steps#schedule > .container {
      width: min(1600px, 90%) !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21:not(.contact-site) main .steps#schedule .schedule-image {
      height: 380px !important;
    }
  }
}


/* Continuous desktop layout, derived from the master container and existing grids.
   The exact master, every <=1023px viewport and >2560px remain excluded. */
@media (min-width: 1024px) and (max-width: 2560px) and (not ((width: 1920px) and (height: 919px))) {
  @layer bjm-chrome-priority {
    html:root body[class] > header > nav { min-width: 0 !important; }
    html:root body[class] > header .header-menu { min-width: 0 !important; flex-wrap: nowrap !important; white-space: nowrap !important; }
    html:root body[class] > header .header-actions { min-width: 0 !important; }
    html:root body[class] > header .header-utilities { position: static !important; padding-inline-start: 0 !important; }
    html:root body[class].interior-v21 > main :is(.container, .about-container, .booking-canvas, .faq-canvas, .silver-article, .policies-reading) {
      width: min(1600px, 90%) !important; max-width: 1600px !important; margin-inline: auto !important;
    }
    html:root body[class].interior-v21 > main:has(.articles-list) .container,
    html:root body[class].interior-v21:has(main .articles-list) > header > nav,
    html:root body[class].interior-v21:has(main .articles-list) > footer > .container {
      width: min(1500px, 90%) !important; max-width: 1500px !important;
    }
    html:root body[class] > main :is(.booking-layout, .about-grid, .partnerships-hero-grid, .partnerships-editorial, .contact-cards, .footer-grid) > * { min-width: 0 !important; }
    html:root body[class] > main :is(.booking-layout, .about-grid, .partnerships-hero-grid, .partnerships-editorial) { column-gap: clamp(24px, 2.5vw, 48px) !important; }
    html:root body[class] > main :is(.silver-article p, .silver-article li, .policy-section p) { overflow-wrap: break-word; }
    html:root body[class] > main :is(.calendar-jump, .send-methods) { flex-wrap: wrap !important; }
    html:root body[class] > main.about-page .about-closing .about-heading { white-space: normal !important; }
    html:root body[class] > main.about-page .about-closing .about-actions { flex-wrap: wrap !important; }
    html:root body[class] > main.about-page .about-eyebrow { font-weight: 500 !important; }
    html:root body[class] > footer.site-footer .footer-tagline { white-space: normal !important; }
  }
}

/* Homepage master type scale, shared without changing language fonts. */
@media (min-width: 1024px) and (max-width: 2560px) and (not ((width: 1920px) and (height: 919px))) {
 @layer bjm-chrome-priority {
html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21:not(.contact-site) main h2 { font-size: clamp(27px, 1.979167vw, 38px) !important; }
html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21:not(.contact-site) main :is(.about-intro-copy > p:not(.section-label), .craft-teaser-copy p, .schedule-description) { font-size: 20px !important; line-height: 1.6 !important; }
html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21:not(.contact-site) main .guest-review-quote { font-size: 19px !important; line-height: 1.6 !important; }
html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21:not(.contact-site) main .closing-cta h2 { font-size: clamp(32px, 2.291667vw, 44px) !important; }
html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21:not(.contact-site) main .closing-faq-list summary { font-size: 20px !important; line-height: 1.45 !important; }
html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21:not(.contact-site) main a.homepage-shortcut-cta { font-size: 18px !important; line-height: 1.5 !important; }
html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21:not(.contact-site) main .pricing-teaser-intro { font-weight: 700 !important; line-height: 1.2 !important; }
html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21:not(.contact-site) main .pricing-teaser-group-title { font-size: clamp(19px, 1.354167vw, 26px) !important; line-height: 1.3 !important; }
html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21:not(.contact-site) main .pricing-teaser-price { font-size: clamp(23px, 1.666667vw, 32px) !important; line-height: 1.3 !important; }
html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21:not(.contact-site) main :is(.pricing-teaser-audience, .pricing-teaser-unit) { font-size: 18px !important; line-height: 1.5 !important; }
html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21:not(.contact-site) main .steps#schedule .schedule-hours { font-size: 22px !important; line-height: 1.45 !important; }
html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21:not(.contact-site) main .guest-review-attribution { font-size: 16px !important; line-height: 1.5 !important; }
html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21:not(.contact-site) main :is(.guest-review-location, .guest-review-source) { font-size: 14px !important; line-height: 1.5 !important; }
html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21:not(.contact-site) main .instagram-feed-status { font-size: 18px !important; line-height: 1.6 !important; }
html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21:not(.contact-site) main .instagram-feed-actions .instagram-feed-follow { font-size: 18px !important; line-height: 1.5 !important; }
html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21:not(.contact-site) main .closing-cta a.cta-primary { font-size: 18px !important; line-height: 1.5 !important; }
html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21:not(.contact-site) main .closing-faq-list details p { font-size: 18px !important; line-height: 1.6 !important; }

 }
}

/* Multilingual desktop dark surfaces: follow EN at the existing layout breakpoint.
   Color only; exclude the exact master, light mode and every locked small width. */
@media (min-width: 1024px) and (max-width: 2560px) and ((width < 1920px) or (width > 1920px) or (height < 919px) or (height > 919px)) {
  @media (min-width: 1280px) {
    html:is([lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"])[data-theme="dark"] body.homepage-v21 main .about-intro-image {
      background-color: var(--theme-bg);
    }
  }
  @media (max-width: 1279px) {
    html:is([lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"])[data-theme="dark"] body.homepage-v21 main .closing-cta {
      background-color: var(--theme-bg);
    }
  }
}

/* Desktop separator ink only: retain every border box and the exact locked master. */
@media (min-width: 1024px) and (max-width: 2560px) and ((width < 1920px) or (width > 1920px) or (height < 919px) or (height > 919px)) {
  @layer bjm-chrome-priority {
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"])[data-theme="dark"] body:is(.homepage-v21, .interior-v21) {
      --desktop-separator-ink: rgba(247, 245, 240, .12);
    }
    html:root[data-theme="dark"] body[class] > footer.site-footer,
    html:root[data-theme="dark"] body[class] > footer.site-footer .copyright,
    html:root[data-theme="dark"] body.interior-v21 .about-page .about-section + .about-section .about-container,
    html:root[data-theme="dark"] body.interior-v21 .articles-list .article-preview,
    html:root[data-theme="dark"] body.interior-v21 .faq-page :is(.faq-item, .faq-contact) {
      border-top-color: var(--desktop-separator-ink) !important;
    }
    html:root[data-theme="dark"] body.interior-v21 .faq-page .faq-item,
    html:root[data-theme="dark"] body.homepage-v21 main .closing-faq-list details {
      border-bottom-color: var(--desktop-separator-ink) !important;
    }
    html:root[data-theme="dark"] body.homepage-v21 main > section.craft-teaser::after {
      background-color: var(--desktop-separator-ink) !important;
    }
  }
  /* Legacy closing rules meet the next opening rule below the V3 breakpoint.
     Transparent ink removes the duplicate paint while retaining every border box. */
  @media (max-width: 1279px) {
    @layer bjm-chrome-priority {
      html:root body.homepage-v21 main > section.hero,
      html:root body.homepage-v21 main > section:is(.pricing-teaser, .steps#schedule, .guest-reviews-section, .closing-section)::after {
        border-bottom-color: transparent !important;
      }
    }
  }

}

/* Three desktop micro-edits; the approved master and smaller devices are excluded. */
@media (min-width: 1024px) and (max-width: 2560px) and (not ((width: 1920px) and (height: 919px))) {
  /* Replace the black interior CTA defaults. More specific approved teal
     treatments and the dark theme keep their existing cascade priority. */
  body.interior-v21 main .steps#craft .craft-booking-cta,
  body.interior-v21 main :is(.about-action-primary, .booking-primary, .faq-chat, .booking-link, .article-primary, .craft-booking-cta),
  body.interior-v21 main.partnerships-page .partnerships-contact-section .booking-link {
    background-color: #087F91;
    border-color: transparent;
  }
  body.interior-v21 main .steps#craft .craft-booking-cta:hover,
  body.interior-v21 main :is(.about-action-primary, .booking-primary, .faq-chat, .booking-link, .article-primary, .craft-booking-cta):hover,
  body.interior-v21 main.partnerships-page .partnerships-contact-section .booking-link:hover {
    background-color: #087F91;
    border-color: transparent;
  }

  /* Match the existing EN 1280x900 cards, including room for translated copy. */
  html[data-theme="dark"] body.interior-v21 .partnerships-steps {
    gap: 20px;
    align-items: stretch;
  }
  html[data-theme="dark"] body.interior-v21 .partnerships-steps > li {
    margin-right: 0;
    padding: 76px 20px 24px;
    border: 1px solid var(--theme-line);
    border-radius: 10px;
  }
  html[data-theme="dark"] body.interior-v21 .partnerships-steps > li::before {
    top: 20px;
    left: 20px;
  }
  html[data-theme="dark"] body.interior-v21 .partnerships-steps > li::after {
    display: none;
  }

  /* The existing border is the underline; remove only the duplicate text line.
     Match every language's localized URL without changing destinations. */
  @layer bjm-chrome-priority {
    html:root body.interior-v21 > main.about-page .about-closing .about-actions > a.about-action:not(.about-action-primary) {
      text-decoration: none !important;
    }
  }
}

/* Desktop clock frame and day-mode workshop facts; retain the exact master. */
@media (min-width: 1024px) and (max-width: 2560px) and (not ((width: 1920px) and (height: 919px))) {
  @layer bjm-chrome-priority {
    html:root body > header #bjm-bali-clock {
      position: relative !important;
    }
    html:root body > header #bjm-bali-clock::before {
      content: "" !important;
      display: block !important;
      position: absolute !important;
      inset: -7px 0 !important;
      border: 1px solid #C9C5BD !important;
      border-radius: 6px !important;
      background-color: transparent !important;
      pointer-events: none !important;
    }
    html:root[data-theme="dark"] body > header #bjm-bali-clock::before {
      border-color: #596366 !important;
    }
  }
  html:root:not([data-theme="dark"]) body.interior-v21 main.partnerships-page .partnerships-facts > li {
    background-color: #FFFFFF !important;
  }
}

/* Homepage two micro-edits: exact viewport pairs only; master remains excluded. */
@media (width: 1024px) and (height: 768px) {
  html:root body.homepage-v21:not(.contact-site) > main .guest-reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
  }
  html:root body.homepage-v21:not(.contact-site) > main .guest-review {
    min-width: 0;
    padding: 24px;
    border: 0;
  }
  html:root body.homepage-v21:not(.contact-site) > main .guest-review-attribution {
    margin-top: auto;
    padding-top: 16px;
  }
}
@media (width: 1024px) and (height: 768px), (width: 1100px) and (height: 900px) {
  html:root:not([data-theme="dark"]) body.homepage-v21:not(.contact-site) > main .pricing-teaser-options {
    gap: 20px;
  }
}
@media (width: 1366px) and (height: 900px), (width: 1600px) and (height: 900px) {
  html:root:is([lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]):not([data-theme="dark"]) body.homepage-v21:not(.contact-site) > main .pricing-teaser-option {
    background-color: #FFFFFF;
  }
}
@media (width: 1366px) and (height: 900px) {
  html:root:is([lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]):not([data-theme="dark"]) body.homepage-v21:not(.contact-site) > main .guest-review {
    background-color: #FFFFFF;
  }
}
/* Multilingual homepage review surfaces: EN paint, desktop only, exact master excluded. */
@media (min-width: 1024px) and (max-width: 2560px) and (not ((width: 1920px) and (height: 919px))) {
  html:is([lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 main .guest-review {
    position: relative;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.11);
  }
  html:is([lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]):not([data-theme="dark"]) body.homepage-v21 main .guest-review {
    background-color: #FFFFFF;
    border-color: transparent;
  }
  html:is([lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 main .guest-review::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid #E8E8E8;
    border-radius: inherit;
    pointer-events: none;
  }
  html:is([lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"])[data-theme="dark"] body.homepage-v21 main .guest-review::before {
    border-color: var(--theme-line);
  }
}

/* Match the existing EN narrow-desktop spacing, retaining the approved micro-edit. */
@media (min-width: 1024px) and (max-width: 1200px) and (not ((width: 1024px) and (height: 768px))) {
  html:is([lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 main .guest-reviews-grid { gap: 16px; align-items: stretch; }
  html:is([lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 main .guest-review { padding: 8px; }
  html:is([lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 main .guest-review-stars { margin-bottom: 8px; }
  html:is([lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 main .guest-review-attribution { margin-top: auto; padding-top: 6px; }
}
@media (width: 1920px) and (not (height: 919px)) {
  html:is([lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21:not(.contact-site) main .guest-reviews-grid { gap: 24px; }
  html:is([lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21:not(.contact-site) main .guest-review { padding: 28px; }
}

/* Final micro-edit A: localized homepage pricing paint, exact light viewport.
   EN's fine decorative border is painted on the existing border here, retaining
   the localized card's geometry without adding a positioned pseudo-element. */
@media (width: 1440px) and (height: 900px) {
  html:is([lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]):not([data-theme="dark"]) body.homepage-v21 main .pricing-teaser-option {
    background-color: #FFFFFF;
    border-color: #E8E8E8;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .11);
  }
}

/* Final micro-edits B/C: desktop only; the exact master is read-only.
   FAQ uses the same 90% / 1600px body grid even when its parent switches
   between an inset container and the full-width closing-section composition.
   Footer already matches that grid and needs no change. */
@media (min-width: 1024px) and (max-width: 2560px) and (not ((width: 1920px) and (height: 919px))) {
  @layer bjm-chrome-priority {
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21:not(.contact-site) main .closing-faq {
      width: min(1600px, 90vw) !important;
      max-width: 100% !important;
      margin-inline: auto !important;
    }

    /* Only the filled teal families on the master. Keep the cream closing
       button, secondary links and day-mode black editorial CTAs unchanged.
       State exclusions retain the existing hover/active/focus-visible paint. */
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body[class] > :is(header, main) :is(a, button)[class]:is(.nav-cta, .hero-desktop-cta, .instagram-feed-follow, .about-action-primary, .booking-primary, .partnerships-actions > .booking-link, .contact-page .cta-primary):not(:hover):not(:active):not(:focus-visible),
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"])[data-theme="dark"] body[class] > main :is(a, button)[class]:is(.faq-chat, .article-primary, .craft-booking-cta):not(:hover):not(:active):not(:focus-visible) {
      background-color: #087F91 !important;
    }

    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body[class] > :is(header, main) :is(a, button)[class]:is(.nav-cta, .hero-desktop-cta, .instagram-feed-follow, .contact-page .cta-primary):not(:hover):not(:active):not(:focus-visible),
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"])[data-theme="dark"] body[class] > main :is(a, button)[class]:is(.faq-chat, .article-primary, .craft-booking-cta):not(:hover):not(:active):not(:focus-visible) {
      border-color: #087F91 !important;
    }

    /* Keep the corrected Instagram fill when reached with the keyboard. */
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 main a.instagram-feed-follow:focus-visible:not(:hover) {
      background-color: #087F91 !important;
      border-color: #087F91 !important;
    }
  }
}

/* Partnerships process cards: approved dark-only master micro-fix. */
@media (width: 1920px) and (height: 919px) {
  html:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"])[data-theme="dark"] body.interior-v21 main.partnerships-page section[aria-labelledby="partnerships-process"] .partnerships-steps {
    gap: 20px;
    align-items: stretch;
  }
  html:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"])[data-theme="dark"] body.interior-v21 main.partnerships-page section[aria-labelledby="partnerships-process"] .partnerships-steps > li {
    margin-right: 0;
    padding: 76px 20px 24px;
    border: 1px solid var(--theme-line);
    border-radius: 10px;
  }
  html:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"])[data-theme="dark"] body.interior-v21 main.partnerships-page section[aria-labelledby="partnerships-process"] .partnerships-steps > li::before {
    top: 20px;
    left: 20px;
  }
  html:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"])[data-theme="dark"] body.interior-v21 main.partnerships-page section[aria-labelledby="partnerships-process"] .partnerships-steps > li::after { display: none; }
  @layer bjm-chrome-priority {
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"])[data-theme="dark"] body.interior-v21 > main.partnerships-page section[aria-labelledby="partnerships-process"] .partnerships-steps > li {
      background-color: var(--theme-surface) !important;
    }
  }
}

/* BJM V2: paint-only EN micro-edit at the explicitly approved viewport. */
@media (width: 375px) and (height: 667px) {
  html:root[lang="en"] { --en-phone-divider: rgba(41, 37, 33, .12); }
  html:root[lang="en"][data-theme="dark"] { --en-phone-divider: rgba(247, 245, 240, .12); }

  @layer bjm-chrome-priority {
    /* Keep the opening rule where the previous closing rule duplicates it. */
    html:root[lang="en"] body.homepage-v21:not(.contact-site) main > section.hero {
      border-bottom-color: transparent !important;
    }
    html:root[lang="en"] body.homepage-v21 main > section.hero::after,
    html:root[lang="en"] body.homepage-v21 main > section:is(.craft-teaser, .steps#schedule, .guest-reviews-section, .instagram-feed-section)::before {
      border-color: var(--en-phone-divider) !important;
    }
    html:root[lang="en"] body.homepage-v21 main > section:not(.hero, .closing-section)::after {
      border-bottom-color: var(--en-phone-divider) !important;
    }
    html:root[lang="en"] body.homepage-v21:not(.contact-site) main > section:is(.about-intro, .pricing-teaser, .steps#schedule, .guest-reviews-section)::after {
      border-bottom-color: transparent !important;
    }
    html:root[lang="en"] body.homepage-v21 main > section.craft-teaser::after {
      background-color: var(--en-phone-divider) !important;
    }
    html:root[lang="en"] body.homepage-v21 main .closing-faq-list,
    html:root[lang="en"] body.homepage-v21 main .closing-faq-list details {
      border-top-color: var(--en-phone-divider) !important;
      border-bottom-color: var(--en-phone-divider) !important;
    }
    /* Existing interior dividers: change ink only, preserving border geometry. */
    html:root[lang="en"] body.interior-v21 main :is(.about-section + .about-section .about-container, .article-preview, .article-workshop-cta, .faq-item, .faq-contact, .policy-section, .policy-subsection, .policy-card-header, .price-grid, .included-intro, .additional > .container, .reassurance-grid),
    html:root[lang="en"] body.interior-v21 main .steps#craft > .container {
      border-top-color: var(--en-phone-divider) !important;
      border-bottom-color: var(--en-phone-divider) !important;
    }
    html:root[lang="en"] body main .guest-review {
      border-color: transparent !important;
      outline: none !important;
      box-shadow: 0 2px 10px rgba(0, 0, 0, .06) !important;
    }
    html:root[lang="en"] body.homepage-v21 main .guest-reviews-grid {
      border-top-color: transparent !important;
    }
    html:root[lang="en"] body main .guest-review::before {
      border-color: transparent !important;
      outline: none !important;
      box-shadow: none !important;
    }
    html:root[lang="en"][data-theme="dark"] body main .guest-review {
      box-shadow: none !important;
    }
  }
}
/* Final EN mobile card paint and partnership process, exact approved viewport. */
@media (width: 375px) and (height: 667px) {
  @layer bjm-chrome-priority {
    html:root[lang="en"] body.homepage-v21 main .guest-review,
    html:root[lang="en"] body.interior-v21 main.partnerships-page .partnerships-facts > li {
      border-color: transparent !important;
      outline: none !important;
      box-shadow: 0 4px 14px rgba(0, 0, 0, .10) !important;
    }
    html:root[lang="en"] body.homepage-v21 main .guest-review::before,
    html:root[lang="en"] body.interior-v21 main.partnerships-page .partnerships-facts > li::before {
      border-color: transparent !important;
      outline: none !important;
      box-shadow: none !important;
    }
    html:root[lang="en"] body.interior-v21 main.partnerships-page .partnerships-steps {
      gap: 12px !important;
    }
    html:root[lang="en"] body.interior-v21 main.partnerships-page .partnerships-steps > li {
      padding: 72px 20px 20px !important;
      border: 0 !important;
      outline: none !important;
      border-radius: 10px !important;
      background-color: #fff !important;
      box-shadow: 0 4px 14px rgba(0, 0, 0, .10) !important;
    }
    html:root[lang="en"] body.interior-v21 main.partnerships-page .partnerships-steps > li::before {
      top: 20px !important;
      left: calc(50% - 20px) !important;
      border: 0 !important;
      background: transparent !important;
    }
    html:root[lang="en"] body.interior-v21 main.partnerships-page .partnerships-steps > li::after {
      display: none !important;
    }
    html:root[lang="en"][data-theme="dark"] body.interior-v21 main.partnerships-page .partnerships-steps > li {
      background-color: var(--theme-surface) !important;
    }
    html:root[lang="en"][data-theme="dark"] body.homepage-v21 main .guest-review,
    html:root[lang="en"][data-theme="dark"] body.interior-v21 main.partnerships-page :is(.partnerships-facts, .partnerships-steps) > li {
      box-shadow: none !important;
    }
  }
}

/* EN card cleanup: inset decorations and dark shadows, exact mobile viewport. */
@media (width: 375px) and (height: 667px) {
  @layer bjm-chrome-priority {
    /* Transparent structural borders retain the approved card geometry. */
    html:root[lang="en"] body.mobile-chrome[class] > main :is(.contact-page .contact-card, .contact-page .contact-schedule-card, .booking-page .booking-step, .booking-page .booking-summary, .policy-section, .policy-subsection) {
      border-color: transparent !important;
    }
    html:root[lang="en"] body.interior-v21 main :is(.pricing-page .price-option, .pricing-page .feature, .pricing-page .cost, .steps#craft .step-grid > .step)::before {
      border: none !important;
      outline: none !important;
    }
    html:root[lang="en"][data-theme="dark"] body main :is(.pricing-teaser-option, .pricing-page .price-option, .pricing-page .feature, .pricing-page .cost, .steps#craft .step-grid > .step, .contact-page .contact-card, .contact-page .contact-schedule-card, .policy-section, .policy-subsection) {
      box-shadow: none !important;
    }
  }
}


/* Final mobile synchronization: reuse MASTER card paint and process outside the locked viewport. */
@media (min-width: 320px) and (max-width: 767px) and (not ((width: 375px) and (height: 667px))) {
  @layer bjm-chrome-priority {
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 main .guest-reviews-grid { border-top-color: transparent !important; }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 main .guest-review,
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.interior-v21 main.partnerships-page .partnerships-facts > li {
      border-color: transparent !important;
      outline: none !important;
      box-shadow: 0 4px 14px rgba(0, 0, 0, .10) !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 main .guest-review::before,
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.interior-v21 main.partnerships-page .partnerships-facts > li::before {
      border-color: transparent !important;
      outline: none !important;
      box-shadow: none !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.interior-v21 main.partnerships-page .partnerships-steps {
      gap: 12px !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.interior-v21 main.partnerships-page .partnerships-steps > li {
      padding: 72px 20px 20px !important;
      border: 0 !important;
      outline: none !important;
      border-radius: 10px !important;
      background-color: #fff !important;
      box-shadow: 0 4px 14px rgba(0, 0, 0, .10) !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.interior-v21 main.partnerships-page .partnerships-steps > li::before {
      top: 20px !important;
      left: calc(50% - 20px) !important;
      border: 0 !important;
      background: transparent !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.interior-v21 main.partnerships-page .partnerships-steps > li::after {
      display: none !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"])[data-theme="dark"] body.interior-v21 main.partnerships-page .partnerships-steps > li {
      background-color: var(--theme-surface) !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"])[data-theme="dark"] body.homepage-v21 main .guest-review,
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"])[data-theme="dark"] body.interior-v21 main.partnerships-page :is(.partnerships-facts, .partnerships-steps) > li {
      box-shadow: none !important;
    }
  }
}

/* Reuse MASTER card cleanup without changing structural border dimensions. */
@media (min-width: 320px) and (max-width: 767px) and (not ((width: 375px) and (height: 667px))) {
  @layer bjm-chrome-priority {
    /* Transparent structural borders retain the approved card geometry. */
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.mobile-chrome[class] > main :is(.contact-page .contact-card, .contact-page .contact-schedule-card, .booking-page .booking-step, .booking-page .booking-summary, .policy-section, .policy-subsection) {
      border-color: transparent !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.interior-v21 main :is(.pricing-page .price-option, .pricing-page .feature, .pricing-page .cost, .steps#craft .step-grid > .step)::before {
      border: none !important;
      outline: none !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"])[data-theme="dark"] body main :is(.pricing-teaser-option, .pricing-page .price-option, .pricing-page .feature, .pricing-page .cost, .steps#craft .step-grid > .step, .contact-page .contact-card, .contact-page .contact-schedule-card, .policy-section, .policy-subsection) {
      box-shadow: none !important;
    }
  }
}

/* Mobile MASTER fidelity: reuse approved divider ink and remove duplicate closing rules. */
@media (min-width: 320px) and (max-width: 767px) and (not ((width: 375px) and (height: 667px))) {
  html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) { --en-phone-divider: rgba(41, 37, 33, .12); }
  html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"])[data-theme="dark"] { --en-phone-divider: rgba(247, 245, 240, .12); }

  @layer bjm-chrome-priority {
    /* Keep the opening rule where the previous closing rule duplicates it. */
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21:not(.contact-site) main > section.hero {
      border-bottom-color: transparent !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 main > section.hero::after,
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 main > section:is(.craft-teaser, .steps#schedule, .guest-reviews-section, .instagram-feed-section)::before {
      border-color: var(--en-phone-divider) !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 main > section:not(.hero, .closing-section)::after {
      border-bottom-color: var(--en-phone-divider) !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21:not(.contact-site) main > section:is(.about-intro, .pricing-teaser, .steps#schedule, .guest-reviews-section, .closing-section)::after {
      border-bottom-color: transparent !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 main > section.craft-teaser::after {
      background-color: var(--en-phone-divider) !important;
    }
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 main .closing-faq-list,
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.homepage-v21 main .closing-faq-list details {
      border-top-color: var(--en-phone-divider) !important;
      border-bottom-color: var(--en-phone-divider) !important;
    }
    /* Existing interior dividers: change ink only, preserving border geometry. */
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.interior-v21 main :is(.about-section + .about-section .about-container, .article-preview, .article-workshop-cta, .faq-item, .faq-contact, .policy-card-header, .price-grid, .included-intro, .additional > .container, .reassurance-grid),
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.interior-v21 main .steps#craft > .container {
      border-top-color: var(--en-phone-divider) !important;
      border-bottom-color: var(--en-phone-divider) !important;
    }
  }
}
/* Shared tablet visual treatment, including the approved master. */

@media (min-width: 768px) and (max-width: 1023px) {
  html:root[lang="en"] body.homepage-v21 > header .language-toggle:has(> .language-flag-tablet-native) > img.language-flag { display: none; }
  html:root[lang="en"] body.homepage-v21 > header .language-toggle > .language-flag-tablet-native { display: block !important; width: 30px; height: 15px; aspect-ratio: 2 / 1; flex: 0 0 30px; transform: none; transform-origin: center; }
  /* EN: paint the preloaded photo as a synchronous native image with its copy. */
  html:root[lang="en"] body.homepage-v21 > main > .hero#home > .hero-editorial { position: relative; isolation: isolate; background-image: none; }
  html:root[lang="en"] body.homepage-v21 > main > .hero#home > .hero-editorial > .hero-tablet-photo { display: block; position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; pointer-events: none; }
  html:root[lang="en"] body.homepage-v21 > main > .hero#home > .hero-editorial > .hero-tablet-photo > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
  html:root[lang="en"] body.homepage-v21 > main > .hero#home > .hero-editorial > .hero-tablet-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,28,30,.76), rgba(20,28,30,.84)); }
  html:root:has(> body.homepage-v21 > main > .hero#home) { scrollbar-gutter: stable; }
  /* The head controller registers these final faces before the headline is parsed. */
  html:root:is([lang="en"],[lang="fr"],[lang="de"]) body[class].homepage-v21 > main > .hero#home .hero-content :is(h1.hero-desktop-headline, h1.hero-desktop-headline strong) { font-family: "BJM Tablet Charmonman", cursive; }
  html:root:is([lang="zh-CN"],[lang="ja"]) body[class].homepage-v21 > main > .hero#home .hero-content :is(h1.hero-desktop-headline, h1.hero-desktop-headline strong) { font-family: "BJM Tablet DM Sans", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif; }
  html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.interior-v21 main :is(.pricing-intro .intro-copy h2, .included-intro h2, #partnerships-benefits, #partnerships-process, #partnerships-contact) {
    margin-inline: auto;
  }
  @layer bjm-chrome-priority {
    html:root:is([lang="en"], [lang="fr"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.contact-site main.contact-page .contact-qr-feature :is(.section-label, #contact-qr-title) {
      text-align: center !important;
    }
  }
  html:root:is([lang="en"], [lang="de"], [lang="zh-CN"], [lang="ja"]) body.interior-v21 main.faq-page .faq-contact {
    justify-content: flex-start;
  }
}
/* Reuse component paint, leaving responsive columns and content sizing intact. */
@media (min-width: 320px) and (max-width: 767px) and (not ((width: 375px) and (height: 667px))) {
  @layer bjm-chrome-priority {
    html:root body.homepage-v21 .hero-desktop-headline strong { font-weight: 700 !important; }
    html:root body.homepage-v21 .hero-image::after { background-image: none !important; }
    html:root body.homepage-v21 .hero a.hero-desktop-cta,
    html:root body.homepage-v21 .instagram-feed-follow { color: #FFFFFF !important; }
    html:root body.homepage-v21 .hero a.hero-desktop-cta { background-color: #087F91 !important; border-color: transparent !important; }
    html:root body.homepage-v21 .instagram-feed-follow span { color: inherit !important; }
    html:root body.homepage-v21 .pricing-teaser-options { background-color: transparent !important; border-radius: 0 !important; box-shadow: none !important; gap: 8px !important; }
    html:root body.homepage-v21 .pricing-teaser-option { background-color: #FFFFFF !important; border-radius: 10px !important; box-shadow: 0 6px 20px rgba(0,0,0,.11) !important; }
    html:root[data-theme="dark"] body.homepage-v21 .pricing-teaser-option { background-color: var(--theme-surface) !important; box-shadow: none !important; }
    html:root[data-theme="dark"] body.homepage-v21 .closing-cta { background-color: #087F91 !important; }
    html:root body.mobile-chrome header .menu-toggle { border-radius: 4px !important; }
    html:root:not([data-theme="dark"]) body.mobile-chrome > :is(header,footer) { color: #292521 !important; }
    html:root body.interior-v21 main.about-page .about-action-primary { border-color: transparent !important; background-color: #087F91 !important; color: #FFFFFF !important; }
    html:root body.interior-v21 main.about-page .about-closing .about-actions > a.about-action:not(.about-action-primary) { padding: 10px 16px !important; border: 1px solid #087F91 !important; border-radius: 6px !important; background-color: transparent !important; color: #087F91 !important; text-decoration: none !important; }
    html:root body.interior-v21 main .gallery-instagram > a.gallery-instagram-link { padding: 10px 16px !important; border: 1px solid #087F91 !important; border-radius: 6px !important; background-color: #087F91 !important; color: #F7F5F0 !important; text-decoration: none !important; }
    html:root body.interior-v21 main .gallery-instagram > a.gallery-instagram-link :is(svg,span) { color: inherit !important; text-decoration: none; }
    html:root body.interior-v21 main .gallery-instagram > a.gallery-instagram-link::before,
    html:root body.interior-v21 main .gallery-instagram > a.gallery-instagram-link::after { content: none; display: none; }
    html:root body.interior-v21 main.faq-page .faq-category > h2 { font-weight: 600 !important; }
    html:root body.interior-v21 main.faq-page .faq-category > h2 > span { color: #087F91 !important; font-weight: inherit; }
    html:root body.interior-v21 main :is(.faq-chat,.partnerships-contact-section .booking-link) { background-color: #087F91 !important; color: #FFFFFF !important; }
    html:root:not([data-theme="dark"]) body.interior-v21 main .faq-chat { border-color: #161616 !important; }
    html:root body.interior-v21 main .faq-chat span { color: inherit !important; }
    html:root body.contact-site main.contact-page .contact-cards .cta-primary { background-color: #087F91 !important; border-color: #087F91 !important; }
  }
}
/* The phone Booking card stylesheet ends at 480px. Keep its visual language on wide mobile. */
@media (min-width: 481px) and (max-width: 767px) {
  html:root body.interior-v21 main.booking-page {
    --booking-card: #FFFFFF; --booking-line: #E3E3E3; --booking-text: #161616;
    --booking-accent: #087F91; --booking-action: #087F91; --booking-action-text: #FFFFFF;
    --booking-input: #FFFFFF; --booking-shadow: 0 4px 18px rgba(41,37,33,.045);
  }
  html:root[data-theme="dark"] body.interior-v21 main.booking-page {
    --booking-card: var(--theme-surface); --booking-line: var(--theme-line); --booking-text: var(--theme-text);
    --booking-accent: var(--theme-accent); --booking-action: var(--theme-action); --booking-action-text: var(--theme-text);
    --booking-input: var(--theme-bg); --booking-shadow: none;
  }
  @layer bjm-chrome-priority {
    html:root body.interior-v21 main.booking-page :is(.booking-step,.booking-summary) { min-width: 0; padding: 20px 18px !important; border: 1px solid transparent !important; border-radius: 14px !important; background-color: var(--booking-card) !important; box-shadow: var(--booking-shadow) !important; }
    html:root body.interior-v21 main.booking-page .booking-step > legend { color: var(--booking-accent) !important; }
    html:root body.interior-v21 main.booking-page .booking-step > legend > .bjm-booking-step-highlight { background: transparent !important; color: var(--booking-accent) !important; }
    html:root body.interior-v21 main.booking-page .booking-step > legend span:not(.bjm-booking-step-highlight) { color: var(--booking-text) !important; font-weight: 500 !important; }
    html:root body.interior-v21 main.booking-page .calendar-nav { border-radius: 10px !important; border-color: var(--booking-line) !important; }
    html:root body.interior-v21 main.booking-page :is(.calendar-weekdays,.calendar-day,.time-option,.booking-field label,.guest-counter output) { font-weight: 500 !important; }
    html:root body.interior-v21 main.booking-page :is(.calendar-day,.time-option,input,textarea) { border-radius: 10px !important; }
    html:root body.interior-v21 main.booking-page .calendar-day:not([aria-pressed="true"]) { border-color: transparent !important; background: transparent; }
    html:root body.interior-v21 main.booking-page .calendar-day:not(:disabled):not([aria-pressed="true"]):hover { border-color: var(--booking-accent) !important; }
    html:root body.interior-v21 main.booking-page .time-option { border-color: var(--booking-line) !important; }
    html:root body.interior-v21 main.booking-page :is(.calendar-day,.time-option)[aria-pressed="true"] { background-color: var(--booking-action) !important; border-color: var(--booking-action) !important; color: var(--booking-action-text) !important; font-weight: 600 !important; }
    html:root body.interior-v21 main.booking-page .guest-counter button { background-color: var(--booking-input) !important; border-color: var(--booking-line) !important; }
    html:root body.interior-v21 main.booking-page :is(input,textarea) { background-color: var(--booking-input) !important; }
    html:root body.interior-v21 main.booking-page :is(input,textarea):not([aria-invalid="true"]) { border-color: var(--booking-line) !important; }
    html:root body.interior-v21 main.booking-page :is(input,textarea):focus-visible:not([aria-invalid="true"]) { border-color: var(--booking-accent) !important; outline-color: var(--booking-accent); }
    html:root body.interior-v21 main.booking-page .booking-summary::before { border: 0 !important; }
    html:root body.interior-v21 main.booking-page .summary-list > div:last-child { border-bottom: 0 !important; }
    html:root body.interior-v21 main.booking-page #review-request { border-radius: 12px !important; }
  }
}

/* Keep wide cards padded and controls usable; columns still follow the existing grid. */
@media (min-width: 481px) and (max-width: 767px) {
 @layer bjm-chrome-priority {
  html:root body.interior-v21 main.booking-page .booking-step > legend { float: left !important; width: 100% !important; padding: 0 !important; margin: 0 0 18px !important; }
  html:root body.interior-v21 main.booking-page .booking-step > legend + * { clear: both !important; }
  html:root body.interior-v21 main.booking-page .time-option { min-height: 50px !important; padding: 12px 10px !important; }
  html:root body.interior-v21 main.booking-page .guest-counter button { width: 56px !important; height: 56px !important; flex: 0 0 56px !important; font-size: 24px !important; }
  html:root body.interior-v21 main.booking-page .guest-counter output { font-size: 20px !important; }
  html:root body.interior-v21 main.booking-page :is(input,textarea) { min-height: 50px !important; padding: 12px !important; }
  html:root body.interior-v21 main.booking-page #review-request { min-height: 54px !important; }
 }
}
@media (min-width: 320px) and (max-width: 767px) and (not ((width: 375px) and (height: 667px))) {
 @layer bjm-chrome-priority {
  html:root body.homepage-v21 .pricing-teaser-options,
  html:root body.homepage-v21 .pricing-teaser-options::before,
  html:root body.homepage-v21 .pricing-teaser-option,
  html:root body.homepage-v21 .pricing-teaser-option::before { border-color: transparent !important; }
 }
}

/* MASTER uses a subtle 1px FAQ edge, not the legacy 2px dark accent. */
@media (min-width: 320px) and (max-width: 767px) and (not ((width: 375px) and (height: 667px))) {
 @layer bjm-chrome-priority {
  html:root[data-theme="dark"] body.homepage-v21 > main .closing-faq#faq .closing-faq-list details { border-left: 1px solid var(--theme-line) !important; padding-left: 1px !important; }
 }
}

@media (min-width: 320px) and (max-width: 767px) and (not ((width: 375px) and (height: 667px))) {
 @layer bjm-chrome-priority {
  html:root body.homepage-v21 .instagram-feed-follow { border-color: transparent !important; }
  html:root body.interior-v21 main .partnerships-contact-section .booking-link { border-color: #087F91 !important; }
 }
}

/* EN 768x1024: mobile FINAL component paint, without changing locked ranges. */
@media (min-width: 768px) and (max-width: 1023px) {
  html:root[lang="en"] { --en-tablet-divider: rgba(41,37,33,.12); }
  /* T-11: remove the light backing exposed by rounded slideshow edge antialiasing. */
  html:root:is([lang="en"],[lang="fr"],[lang="de"],[lang="zh-CN"],[lang="ja"]) body.homepage-v21 > main > .hero#home > .hero-image { background-color: transparent; }
  /* T-12: remove both coincident rules below the photo CTA, retaining section geometry. */
  html:root:is([lang="en"],[lang="fr"],[lang="de"],[lang="zh-CN"],[lang="ja"]) body.homepage-v21 > main > .hero#home { border-bottom-color: transparent !important; }
  html:root:is([lang="en"],[lang="fr"],[lang="de"],[lang="zh-CN"],[lang="ja"]) body.homepage-v21 > main > .hero#home::after { display: none; }
  /* T-09: price amounts must outrank the tablet's generic paragraph sizing. */
  html:root:is([lang="en"],[lang="fr"],[lang="de"],[lang="zh-CN"],[lang="ja"]) body.interior-v21 main.pricing-page p.price-amount { font-size: 24px; font-weight: 700; }
  html:root:is([lang="en"],[lang="fr"],[lang="de"],[lang="zh-CN"],[lang="ja"]) body.interior-v21 main.pricing-page p.price-unit { font-size: 14px; font-weight: 500; margin-top: 5px; text-align: center; }
  html:root[lang="en"][data-theme="dark"] { --en-tablet-divider: rgba(247,245,240,.12); }
  /* The light rim was the white wrapper exposed at the photo's rounded edge. */
  html:root[lang="en"][data-theme="dark"] body.homepage-v21 main .about-intro-image { background-color: var(--theme-bg); }
  /* Reuse the existing mobile footer controller and its two navigation groups. */
  html:root[lang="en"] body.mobile-chrome > footer.site-footer.footer-mobile-editorial .mobile-footer-column { display: block; position: static; inset: auto; grid-area: auto; width: 100%; max-width: none; height: auto; min-height: 0; min-width: 0; margin: 0; padding: 0; transform: none; align-self: start; text-align: center; }
  html:root[lang="en"] body.mobile-chrome > footer.site-footer.footer-mobile-editorial .mobile-footer-column h2 { margin: 0 auto 12px; font-size: 16px; line-height: 1.5; font-weight: 600; }
  html:root[lang="en"] body.mobile-chrome > footer.site-footer.footer-mobile-editorial .mobile-footer-column ul { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; padding: 0; margin: 0; list-style: none; justify-items: center; }
  html:root[lang="en"] body.mobile-chrome > footer.site-footer.footer-mobile-editorial .mobile-footer-column a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 0; font-size: 15px; line-height: 1.6; text-align: center; }
  html:root[lang="en"] body.mobile-chrome > footer.site-footer.footer-mobile-editorial .footer-social-links :is(a,button) { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; border: 1px solid transparent; border-radius: 6px; background: #E7E7E7; color: #292521; cursor: pointer; }
  html:root[lang="en"][data-theme="dark"] body.mobile-chrome > footer.site-footer.footer-mobile-editorial .footer-social-links :is(a,button) { background: var(--theme-surface); color: var(--theme-text); }
  html:root[lang="en"] body.mobile-chrome > footer.site-footer.footer-mobile-editorial .footer-social-links svg { width: 22px; height: 22px; }
  html:root[lang="en"] body.mobile-chrome > footer.site-footer.footer-mobile-editorial .footer-social-links [fill]:not([fill="none"]) { fill: currentColor; }
  html:root[lang="en"] body.mobile-chrome > footer.site-footer.footer-mobile-editorial .copyright { flex-direction: column; gap: 12px; }
  /* Dark-only: keep legends inside the padded card, as on the mobile master. */
  html:root[lang="en"][data-theme="dark"] body.interior-v21 main.booking-page .booking-step > legend { float: left; width: 100%; padding: 0; margin: 0 0 18px; text-align: left; color: var(--theme-accent) !important; }
  html:root[lang="en"][data-theme="dark"] body.interior-v21 main.booking-page .booking-step > legend + * { clear: both; }
  html:root[lang="en"][data-theme="dark"] body.interior-v21 main.booking-page .booking-step > legend > .bjm-booking-step-highlight { display: inline-flex; align-items: center; gap: 10px; padding: 0; background: transparent; color: var(--theme-accent) !important; }
  html:root[lang="en"][data-theme="dark"] body.interior-v21 main.booking-page .booking-step > legend span:not(.bjm-booking-step-highlight) { color: var(--theme-text) !important; font-weight: 500; }
  @layer bjm-chrome-priority {
    /* Transparent structural borders preserve tablet sizing; remove only redundant paint. */
    html:root[lang="en"] body main :is(.partnerships-facts > li, .pricing-page .price-option, .pricing-page .feature, .pricing-page .cost, .steps#craft .step-grid > .step, .contact-page .contact-card, .contact-page .contact-schedule-card, .booking-page .booking-step, .booking-page .booking-summary, .policy-section, .policy-subsection) { border-color: transparent !important; }
    html:root[lang="en"] body main :is(.partnerships-facts > li, .pricing-page .price-option, .pricing-page .feature, .pricing-page .cost, .steps#craft .step-grid > .step, .booking-page .booking-summary)::before { border: 0 !important; box-shadow: none !important; }
    html:root[lang="en"] body.interior-v21 main.partnerships-page :is(.partnerships-facts, .partnerships-steps) > li { box-shadow: 0 4px 14px rgba(0,0,0,.10) !important; }
    html:root[lang="en"] body.interior-v21 main.partnerships-page .partnerships-steps > li { background-color: #fff !important; }
    html:root[lang="en"][data-theme="dark"] body.interior-v21 main.partnerships-page .partnerships-steps > li { background-color: var(--theme-surface) !important; }
    html:root[lang="en"][data-theme="dark"] body main :is(.partnerships-facts > li, .partnerships-steps > li, .pricing-teaser-option, .guest-review, .pricing-page .price-option, .pricing-page .feature, .pricing-page .cost, .steps#craft .step-grid > .step, .contact-page .contact-card, .contact-page .contact-schedule-card, .policy-section, .policy-subsection) { box-shadow: none !important; }
    /* Match mobile separator ink, rather than the old high-contrast tablet accent. */
    html:root[lang="en"] body main :is(.closing-faq-list, .closing-faq-list details, .about-section + .about-section .about-container, .article-preview, .article-workshop-cta, .faq-item, .faq-contact, .policy-card-header, .price-grid, .included-intro, .additional > .container, .reassurance-grid),
    html:root[lang="en"] body main .steps#craft > .container { border-top-color: var(--en-tablet-divider) !important; border-bottom-color: var(--en-tablet-divider) !important; }
    html:root[lang="en"] body.homepage-v21 main .closing-faq-list { border-left: 0 !important; }
    html:root[lang="en"][data-theme="dark"] body.homepage-v21 main .closing-faq-list details { border-left: 1px solid var(--en-tablet-divider) !important; padding-left: 1px; }
    /* Keep the mobile booking surface and radius; tablet spacing remains generous. */
    html:root[lang="en"] body.interior-v21 main.booking-page :is(.booking-step,.booking-summary) { border-radius: 14px !important; background-color: #fff !important; box-shadow: 0 4px 18px rgba(41,37,33,.045) !important; }
    html:root[lang="en"][data-theme="dark"] body.interior-v21 main.booking-page :is(.booking-step,.booking-summary) { background-color: var(--theme-surface) !important; box-shadow: none !important; }
    html:root[lang="en"] body.interior-v21 main.booking-page :is(input,textarea,.time-option,.calendar-nav) { border-radius: 10px !important; }
    html:root[lang="en"] body.interior-v21 main .gallery-instagram > a.gallery-instagram-link,
    html:root[lang="en"] body.interior-v21 main .gallery-instagram > a.gallery-instagram-link :is(svg,span) { color: #fff !important; }
    html:root[lang="en"] body.interior-v21 main.booking-page .calendar-day:not([aria-pressed="true"]) { border-color: transparent !important; background: transparent !important; }
    html:root[lang="en"][data-theme="dark"] body.interior-v21 main.booking-page :is(input,textarea) { background-color: var(--theme-bg) !important; }
  }
}
