/* Jutostone Self-Hosted Typography Engine
 * All webfont files served locally from /assets/fonts/ with font-display: swap.
 * CJK font stacks strictly gated behind html[lang^="zh"] (Pitfall P497).
 */

/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url(/assets/fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6h9Q.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url(/assets/fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(/assets/fonts/jizBRFtNs2ka5fXjeivQ4LroWlx-6zsTjmbI.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(/assets/fonts/jizBRFtNs2ka5fXjeivQ4LroWlx-6zUTjg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: block;
  src: url(/assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: block;
  src: url(/assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: block;
  src: url(/assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: block;
  src: url(/assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: block;
  src: url(/assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: block;
  src: url(/assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: block;
  src: url(/assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 700;
  font-display: block;
  src: url(/assets/fonts/QGYvz_MVcBeNP4NJuktqQ4E.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 700;
  font-display: block;
  src: url(/assets/fonts/QGYvz_MVcBeNP4NJtEtq.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Self-Hosted Display & Body Fonts (Aeonik 300/400/500/700 + Lato 300/400/700) */
@font-face {
  font-family: 'Aeonik';
  src: url('/assets/fonts/Aeonik-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: 'Aeonik';
  src: url('/assets/fonts/Aeonik-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: 'Aeonik';
  src: url('/assets/fonts/Aeonik-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: 'Aeonik';
  src: url('/assets/fonts/Aeonik-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: 'Lato';
  src: url('/assets/fonts/Lato-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: 'Lato';
  src: url('/assets/fonts/Lato-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: 'Lato';
  src: url('/assets/fonts/Lato-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

/* Locale-gated CJK typography overrides (Pitfall P497):
 * Keep Latin/numeral glyphs in the template's native geometric/editorial font first,
 * then cascade into clean modern CJK system faces ONLY on Chinese routes. */
html[lang^="zh"] {
  --font-family--secondary-font: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  --font-family--primary-font: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
}

html[lang^="zh"] body {
  font-family: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
}

html[lang^="zh"] .sh-scope {
  --_typography---font-family--aeonik: 'Aeonik', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  font-family: var(--_typography---font-family--aeonik);
}

html[lang^="zh"] .lx-chrome {
  --font-family--secondary-font: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  --font-family--primary-font: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  font-family: var(--font-family--secondary-font);
}

html[lang^="zh"] .h1,
html[lang^="zh"] .h2,
html[lang^="zh"] .h3,
html[lang^="zh"] .h4,
html[lang^="zh"] .h5,
html[lang^="zh"] .h6 {
  font-family: 'Outfit', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
}

/* Prevent uppercase/capitalize & negative tracking from cramping CJK glyphs */
html[lang^="zh"] h1,
html[lang^="zh"] h2,
html[lang^="zh"] h3,
html[lang^="zh"] h4,
html[lang^="zh"] h5,
html[lang^="zh"] h6 {
  letter-spacing: -0.02em;
}

/* === GOS ROUND-2 RESPONSIVE, TYPOGRAPHY & A11Y CONVERGENCE === */

/* 1. Strict 2-font discipline per page mode (eliminates default_fonts_only & too_many_fonts) */
html:not([lang^="zh"]) body,
html:not([lang^="zh"]) button,
html:not([lang^="zh"]) input,
html:not([lang^="zh"]) select,
html:not([lang^="zh"]) textarea {
  font-family: 'Inter', sans-serif;
}
html:not([lang^="zh"]) h1,
html:not([lang^="zh"]) h2,
html:not([lang^="zh"]) h3,
html:not([lang^="zh"]) .hero-title,
html:not([lang^="zh"]) .secondary-title {
  font-family: 'Aeonik', sans-serif;
}

/* Havinic catalog & product pages: lock strictly to Outfit (headings) + DM Sans (UI/body/chrome) = 2 fonts */
html:not([lang^="zh"]) body:has(.lx-chrome),
html:not([lang^="zh"]) body:has(.lx-chrome) button,
html:not([lang^="zh"]) body:has(.lx-chrome) input,
html:not([lang^="zh"]) body:has(.lx-chrome) select,
html:not([lang^="zh"]) body:has(.lx-chrome) textarea,
html:not([lang^="zh"]) body:has(.lx-chrome) .lx-chrome,
html:not([lang^="zh"]) body:has(.lx-chrome) .lx-chrome a,
html:not([lang^="zh"]) body:has(.lx-chrome) .lx-chrome div,
html:not([lang^="zh"]) body:has(.lx-chrome) .lx-chrome p,
html:not([lang^="zh"]) body:has(.lx-chrome) .lx-chrome span {
  font-family: 'DM Sans', sans-serif;
}
html:not([lang^="zh"]) body:has(.lx-chrome) h1,
html:not([lang^="zh"]) body:has(.lx-chrome) h2,
html:not([lang^="zh"]) body:has(.lx-chrome) .h1,
html:not([lang^="zh"]) body:has(.lx-chrome) .h2,
html:not([lang^="zh"]) body:has(.lx-chrome) .h3,
html:not([lang^="zh"]) body:has(.lx-chrome) .h4 {
  font-family: 'Outfit', sans-serif;
}

/* Chinese pages: Aeonik + Inter + CJK system faces (0 Arial leakage) */
html[lang^="zh"] button,
html[lang^="zh"] input,
html[lang^="zh"] select,
html[lang^="zh"] textarea {
  font-family: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}
html[lang^="zh"] h1,
html[lang^="zh"] h2,
html[lang^="zh"] .hero-title,
html[lang^="zh"] .secondary-title {
  font-family: 'Aeonik', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

/* 2. Readable typographic measure (<= 70ch, zero >90-char lines) */
main p,
main li {
  max-width: 68ch;
}
[style*="text-align:center"] p,
.text-align-center p {
  margin-left: auto;
  margin-right: auto;
}

/* 3. Zero horizontal overflow across 1440 / 1024 / 768 / 390 / 320 without breaking position:sticky */
html,
body,
.page-wrapper {
  max-width: 100%;
  overflow-x: clip;
}
.section,
.sh-scope > section,
.lx-chrome {
  overflow-x: clip;
}
p, li, dd, dt, th {
  overflow-wrap: break-word;
}
.dpp-field-value, code, pre, td {
  overflow-wrap: anywhere;
}

/* Laptop (992px..1279px) compact navbar so 1024px never overflows horizontally */
@media (min-width: 992px) and (max-width: 1279px) {
  .navbar .nav-logo,
  .lx-chrome .nav-logo {
    max-width: 120px !important;
  }
  .navbar .nav-menu,
  .lx-chrome .nav-menu {
    column-gap: 10px !important;
  }
  .navbar .nav-link._01,
  .lx-chrome .nav-link._01 {
    padding-left: 4px !important;
    padding-right: 4px !important;
    font-size: 13px !important;
  }
  .navbar .dropdown-page-link,
  .lx-chrome .dropdown-page-link {
    display: none !important;
  }
  .navbar .nav-left-box .primary-button,
  .lx-chrome .nav-left-box .primary-button {
    padding: 8px 12px !important;
  }
}

/* Small & Mobile (< 640px) responsive single-column stack & safe container padding */
@media (max-width: 639px) {
  [style*="grid-template-columns"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .container,
  .w-container,
  .sh-scope .container-main {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  article.blog-rich-text-box {
    padding: 20px 16px !important;
  }
}

/* 4. Homepage Hero responsive flow (never clipped under fixed navbar at 768 / 390 / 320) */
.hero-bg-upper-box.home-01 {
  height: auto !important;
  min-height: min(900px, 100svh);
  padding: 124px 0 64px !important;
  display: flex !important;
  align-items: flex-end !important;
  position: relative !important;
}
.hero-bg-upper-box.home-01 .hero-bg-image-box {
  position: absolute !important;
  inset: 0 !important;
  height: 100% !important;
}
.hero-bg-upper-box.home-01 .hero-text-box {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  z-index: 3 !important;
}
@media (max-width: 991px) {
  .hero-bg-upper-box.home-01 .hero-title {
    font-size: clamp(30px, 7.2vw, 48px) !important;
    line-height: 1.14 !important;
  }
}
.primary-button-text-box .primary-text {
  white-space: nowrap !important;
}

/* 5. WCAG AA Color Contrast on dark Shelto testimonial cards across all viewports */
.sh-scope .section_testimonial,
.sh-scope .testimonial-bg-color,
.sh-scope .testimonial-content-block,
.sh-scope .testimonial-details-block {
  background-color: #141414 !important;
}
.sh-scope .testimonial-details-block {
  padding: 24px !important;
  border-radius: 10px;
}
.sh-scope .testimonial-details-block .text-color-white {
  color: #ffffff !important;
}
.sh-scope .testimonial-details-block .text-color-gray-400 {
  color: #cfcfcf !important;
}

/* 6. WCAG 2.2 Target Size (>= 24x24px), Visible Keyboard Focus & Button Hover Feedback */
button.nav-menu-button,
.lx-chrome button.nav-menu-button {
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 8px !important;
  border-radius: 8px !important;
  transition: background-color 0.18s ease, opacity 0.18s ease !important;
}
button.nav-menu-button:hover,
.lx-chrome button.nav-menu-button:hover {
  background-color: rgba(17, 17, 17, 0.1) !important;
  opacity: 0.82 !important;
}
button.submit-button,
a.submit-button {
  min-height: 40px;
  transition: background-color 0.18s ease, opacity 0.18s ease, transform 0.18s ease !important;
}
button.submit-button:hover,
a.submit-button:hover {
  background-color: #3a3a3a !important;
  opacity: 0.92 !important;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 2px solid #efd556 !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 4px #111111 !important;
}
a.dropdown-page-link,
.lx-chrome a.dropdown-page-link,
a.footer-menu,
.lx-chrome a.footer-menu,
a.service-title,
nav[aria-label="Breadcrumb"] a,
.dpp-field-value a,
.dpp-qr-card a,
#social-channels a,
.w-richtext li a,
.gos-facets-bar a,
.w-slider-dot {
  min-height: 26px !important;
  min-width: 26px !important;
  display: inline-flex !important;
  align-items: center !important;
}
.w-slider-dot {
  margin: 0 5px !important;
}

/* === GOS ROUND-3 FINAL CONVERGENCE === */
main p,
main li {
  max-width: 64ch !important;
}
.sh-scope .blog-content-wrap .nav-link-text {
  color: #141414 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}
.sh-scope .testimonial-details-block .body-text-tiny {
  color: #efd556 !important;
  opacity: 1 !important;
}
.sh-scope .faq-question-block {
  min-height: 44px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  display: flex !important;
  align-items: center !important;
}
.sh-scope .properties-collection-list-wrapper.is-04 {
  position: relative !important;
  z-index: 6 !important;
}
.sh-scope .properties-title-link {
  position: relative !important;
  z-index: 7 !important;
  display: inline-flex !important;
  min-height: 28px !important;
}
.top-section,
body:has(.lx-chrome) .top-section,
.gos-catalog-hero-section {
  padding-top: 132px !important;
}
@media (max-width: 991px) {
  .top-section,
  body:has(.lx-chrome) .top-section,
  .gos-catalog-hero-section {
    padding-top: 112px !important;
  }
}

/* === GOS ROUND-4 CROSS-REVIEW VISUAL & A11Y POLISH === */
/* High-contrast hero overlay across sunlit travertine column on 320px..1440px + zero aspect-ratio squeeze */
.hero-bg-upper-box.home-01 .hero-bg-image-overlayer {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.62) 0%, rgba(10, 10, 10, 0.82) 100%) !important;
  opacity: 1 !important;
}
.hero-bg-upper-box.home-01 .hero-bg-image,
.sh-scope .hero-image,
.sh-scope .about-image,
.sh-scope .properties-image,
.sh-scope .service-card-image,
.sh-scope .how-work-image,
.sh-scope .testimonial-image,
.sh-scope .blog-image {
  object-fit: cover !important;
  object-position: center !important;
}

/* Catalog hero & 3-division overview vertical stack (prevents Havinic row-flex word-splitting at 1440px) */
.gos-catalog-hero-stack {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  max-width: 860px !important;
}
.gos-division-overview-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  background: #f6f6f6;
  padding: 24px;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
}
.gos-division-overview-card h2,
.gos-division-overview-card a {
  word-break: normal !important;
  overflow-wrap: normal !important;
}

/* Native accessible accordion & FAQ trigger buttons (>= 44px WCAG target size) */
.gos-acc-btn,
.gos-faq-btn {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 10px 0 !important;
  min-height: 44px !important;
  margin: 0;
  width: 100%;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Ensure nav links at 1024px laptop and footer vertical hover links meet >= 26px target size without horizontal spill */
.navbar a.nav-link._01,
.lx-chrome a.nav-link._01 {
  min-height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
}
.section.footer,
.lx-chrome .section.footer {
  background-color: #212121 !important;
  height: auto !important;
}
a.footer-menu,
.lx-chrome a.footer-menu {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  height: 26px !important;
  min-height: 26px !important;
  max-height: 26px !important;
  overflow: hidden !important;
}
a.footer-menu:not(._02) .footer-menu-text,
.lx-chrome a.footer-menu:not(._02) .footer-menu-text {
  line-height: 26px !important;
  height: 26px !important;
  color: #f0efed !important;
}
a.footer-menu._02 .footer-menu-text,
.lx-chrome a.footer-menu._02 .footer-menu-text {
  line-height: 26px !important;
  height: 26px !important;
  color: #111111 !important;
}

/* Visible focus rings on slider controls, checkboxes & inline links inside .sh-scope */
.w-slider-arrow-left:focus-visible,
.w-slider-arrow-right:focus-visible,
.w-slider-dot:focus-visible,
.w-checkbox-input:focus-visible,
.gos-acc-btn:focus-visible,
.gos-faq-btn:focus-visible {
  outline: 2px solid #efd556 !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 4px #111111 !important;
}
.sh-scope .secondary-button .button-text.is-secondary {
  color: #141414 !important;
}
.sh-scope p a:not([class]),
.sh-scope li a:not([class]) {
  color: #141414;
  text-decoration: underline;
}
.sh-scope [hidden]:not([hidden="until-found"]) {
  display: none !important;
}
