@charset "UTF-8";
/*
Theme Name: Le Marbles Theme
Theme URI: https://le-marbles.com
Author: Saget
Description: Le Marbles — premium marble & engineered stone WordPress theme
Version: 1.0.0
Template: bricks
Text Domain: lemarbles-theme
*/
/* Import responsive styles */
/* Responsive breakpoints — BEM class selectors */
@media (max-width: 1024px) {
  .hero__heading {
    font-size: var(--lm-text-5xl);
  }
  .hero {
    height: 520px;
    min-height: 480px;
    padding-top: 140px;
    padding-bottom: 140px;
  }
  .footer__grid {
    gap: var(--lm-space-12);
  }
  .footer__grid > .footer__col:not(:first-child) {
    flex: 0 0 50%;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
  .catalogue-item {
    min-width: 0;
  }
}
/* ── Catalogue >1024px: 5 columns ── */
@media (min-width: 1025px) {
  .grid-catalogue {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}
/* ── Catalogue small desktop (1024–1360px): 360px image ── */
@media (min-width: 1024px) and (max-width: 1360px) {
  .catalogue-item {
    min-width: 0;
  }
  .catalogue-item__img-wrap {
    height: 360px !important;
    width: 100%;
  }
}
/* ── Catalogue tablet (768–1023px): 4 columns, 320px image ── */
@media (min-width: 768px) and (max-width: 1023px) {
  .grid-catalogue {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  .catalogue-item {
    min-width: 0;
  }
  .catalogue-item__img-wrap {
    height: 320px !important;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 var(--lm-space-6);
  }
  /* Show Bricks toggle on mobile only */
  .brxe-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    z-index: 201 !important;
    cursor: pointer;
  }
  body.nav-open {
    overflow: hidden;
  }
  .story__container {
    flex-direction: column;
  }
  .story__heading {
    font-size: var(--lm-text-4xl);
  }
  .cta-section__heading {
    font-size: var(--lm-text-4xl);
  }
  .footer__grid {
    flex-direction: column;
    gap: var(--lm-space-10);
  }
  .footer__grid > .footer__col:not(:first-child) {
    flex: 0 0 100%;
    width: 100%;
  }
  .footer__brand {
    font-size: var(--lm-text-xl);
  }
  .footer__title {
    margin-bottom: var(--lm-space-5);
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: var(--lm-space-2);
  }
  /* Override Bricks-generated .footer__nav styles — vertical on mobile only */
  .footer__nav,
  .bricks-is-frontend .footer__nav {
    -webkit-flex-direction: column !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .footer__nav > .footer__col,
  .bricks-is-frontend .footer__nav > .footer__col {
    width: 100% !important;
    max-width: 100% !important;
    -webkit-flex: 0 0 100% !important;
    flex: 0 0 100% !important;
  }
}
@media (max-width: 480px) {
  .footer__grid {
    gap: var(--lm-space-8);
  }
  .footer__grid > .footer__col:not(:first-child) {
    gap: var(--lm-space-6);
  }
  .footer__brand {
    font-size: var(--lm-text-lg);
  }
  .footer__title {
    margin-bottom: var(--lm-space-4);
  }
  .footer__link {
    font-size: var(--lm-text-xs);
  }
  .footer-bottom {
    gap: var(--lm-space-2);
    font-size: var(--lm-text-xs);
  }
}
@media (max-width: 640px) {
  /* Footer bottom bar stacks vertically on mobile */
  .bricks-is-frontend .footer-bottom,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: var(--lm-space-3);
  }
  /* Override Bricks-generated .footer__nav styles at 640px */
  .footer__nav,
  .bricks-is-frontend .footer__nav {
    -webkit-flex-direction: column !important;
    flex-direction: column !important;
    -webkit-flex: initial !important;
    flex: initial !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .footer__nav > .footer__col,
  .bricks-is-frontend .footer__nav > .footer__col {
    width: 100% !important;
    max-width: 100% !important;
    -webkit-flex: 0 0 100% !important;
    flex: 0 0 100% !important;
  }
  /* ── Catalogue mobile: search top, pills scroll, 2-col grid ── */
  /* Search bar on top */
  .filters_bar-secondary {
    position: static !important;
    width: 100% !important;
    padding: 0 0 var(--lm-space-3) 0 !important;
  }
  .filters_bar-secondary .text {
    width: 100% !important;
  }
  /* Filter pills horizontal scroll */
  .filters_bar-primary {
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0 !important;
    flex-wrap: nowrap !important;
  }
  .filters_bar-primary::-webkit-scrollbar {
    display: none;
  }
  .filters_bar-item {
    flex-shrink: 0 !important;
    margin-right: var(--lm-space-3) !important;
    height: auto !important;
    padding: var(--lm-space-2) 0 !important;
  }
  /* Prevent body horizontal overflow from filter scroll */
  .filters {
    overflow: hidden !important;
  }
  .filters .container {
    padding: 0 var(--lm-space-6);
  }
  /* Subbar full width on mobile */
  .filters_subbar-container .container {
    padding: var(--lm-space-3) 0 !important;
  }
  .filters_subbar {
    gap: var(--lm-space-2) !important;
  }
  /* Catalogue grid: 2 columns */
  .grid-catalogue {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: var(--lm-space-4) !important;
  }
  .catalogue-item {
    min-width: 0;
  }
  .catalogue-item__img-wrap {
    height: 320px !important;
    width: 100%;
  }
  /* Catalogue section padding */
  .catalogue-section > .container {
    padding: 0 var(--lm-space-4) !important;
  }
}
@media (max-width: 640px) {
  .filters .container {
    padding: 0 var(--lm-space-6) !important;
  }
  .filters_bar-wrapper {
    flex-direction: column-reverse !important;
    align-items: stretch !important;
    gap: 0;
  }
  .catalogue-item__img-wrap {
    height: 360px !important;
  }
}
/* Safari flexbox fix — forces flex-direction: column on elements that need it */
@supports (-webkit-touch-callout: none) {
  /* Override Bricks' breakpoints for Safari */
  @media (max-width: 478px) {
    #brxe-qdfcbs {
      -webkit-flex: initial !important;
      flex: initial !important;
    }
  }
  @media (max-width: 767px) {
    #brxe-qdfcbs {
      -webkit-flex: initial !important;
      flex: initial !important;
    }
  }
  @media (max-width: 991px) {
    #brxe-qdfcbs {
      -webkit-flex: initial !important;
      flex: initial !important;
    }
  }
  /* Override Bricks-generated .footer__nav for Safari */
  @media (max-width: 640px) {
    .footer__nav,
    .bricks-is-frontend .footer__nav {
      -webkit-flex: initial !important;
      flex: initial !important;
    }
    .footer__nav > .footer__col,
    .bricks-is-frontend .footer__nav > .footer__col {
      -webkit-flex: initial !important;
      flex: initial !important;
    }
  }
  @media (max-width: 768px) {
    .footer__nav,
    .bricks-is-frontend .footer__nav {
      -webkit-flex: initial !important;
      flex: initial !important;
    }
    .footer__nav > .footer__col,
    .bricks-is-frontend .footer__nav > .footer__col {
      -webkit-flex: initial !important;
      flex: initial !important;
    }
  }
  /* General fix for any Bricks container set to column */
  .brxe-container[data-flex-direction=column],
  .brxe-container.flex-column {
    -webkit-flex: initial !important;
    flex: initial !important;
  }
  /* Force all flex containers with column direction in footer — use Bricks IDs */
  #brxe-f1footer,
  #brxe-f2grid,
  #brxe-f3col1,
  #brxe-f4col2,
  #brxe-f5col3,
  #brxe-f6col4,
  #brxe-f7bottom,
  .footer__grid,
  .footer__grid > .footer__col,
  .footer-bottom {
    -webkit-flex: initial !important;
    flex: initial !important;
  }
  @media (max-width: 768px) {
    #brxe-f2grid,
    .footer__grid {
      -webkit-flex: initial !important;
      flex: initial !important;
    }
    #brxe-f4col2,
    #brxe-f5col3,
    #brxe-f6col4,
    .footer__grid > .footer__col:not(:first-child) {
      -webkit-flex: initial !important;
      flex: initial !important;
    }
    #brxe-f7bottom,
    .footer-bottom {
      -webkit-flex: initial !important;
      flex: initial !important;
    }
  }
}
/* Import nav overrides (loaded last within this pass so its rules win the cascade) */
/* Navigation — Le Marbles Header
   Matches Figma node 2527:1220
   Uses class selectors (.nav, .nav__container, etc.) for stability
   (Bricks element IDs are not stable — header is rebuilt in the builder) */
/* ── Hide Bricks default toggle ── */
.brxe-toggle {
  display: none !important;
}

/* Override Bricks lazy-load for nav elements — always visible */
.bricks-is-frontend .nav .bricks-lazy-hidden,
.bricks-is-frontend .nav [class*=bricks-lazy-hidden] {
  visibility: visible !important;
  opacity: 1 !important;
}

/* ── Section: fixed header — transparent by default, dark on scroll ── */
.bricks-is-frontend .nav,
.nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 210 !important;
  box-sizing: border-box;
  max-width: 100vw;
  margin: 0;
  border-radius: 0;
  padding-top: 24px !important;
  padding-bottom: 24px !important;
  background: transparent !important;
  overflow: visible !important;
  transition: background 300ms var(--lm-ease-out);
}

.bricks-is-frontend .nav.scrolled,
.nav.scrolled {
  background: var(--lm-dark) !important;
}

/* ── Container: flex row, space-between ── */
.bricks-is-frontend .nav__container,
.nav__container {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 1600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 64px !important;
  padding-right: 64px !important;
  gap: 48px;
  box-sizing: border-box;
  position: relative;
}

/* ── Logo ── */
.bricks-is-frontend .brxe-logo,
.brxe-logo {
  display: flex !important;
  align-items: center !important;
  text-decoration: none;
  flex-shrink: 0;
}

.bricks-is-frontend .brxe-logo img,
.brxe-logo img {
  object-fit: contain !important;
  filter: brightness(0) invert(1);
}

.bricks-is-frontend .brxe-logo:hover,
.brxe-logo:hover {
  opacity: 0.7;
}

/* ── Hamburger toggle — use Bricks' CSS variables + pseudo-elements ── */
/* Bricks uses .brxa-inner with ::before and ::after for the bars.
   We only customize color and add z-index — don't fight the base styles.
   Desktop/mobile visibility is handled by JS (initToggleVisibility) to avoid
   conflicts with Bricks' inline style. */
.brxe-toggle {
  z-index: 220;
  --brxe-toggle-bar-color: var(--lm-ton);
}

/* X animation when open: hide middle bar, rotate top/bottom */
.brxe-toggle[aria-expanded=true] .brxa-inner {
  background-color: transparent !important;
}

.brxe-toggle[aria-expanded=true] .brxa-inner::before {
  transform: translateY(calc(var(--brxe-toggle-bar-height) * 2.75)) rotate(45deg) !important;
}

.brxe-toggle[aria-expanded=true] .brxa-inner::after {
  transform: translateY(calc(var(--brxe-toggle-bar-height) * -2.75)) rotate(-45deg) !important;
}

/* ── Nav links container ── */
.bricks-is-frontend .nav__links,
.nav__links {
  display: flex !important;
  align-items: flex-start !important;
  flex-grow: 1;
  justify-content: flex-end !important;
  gap: 48px;
  font-family: var(--lm-font-body);
  font-weight: 300;
  font-size: var(--lm-text-base);
  text-transform: uppercase;
  letter-spacing: 0px;
  line-height: 1;
}

/* ── Individual nav links ── */
.bricks-is-frontend .nav__link,
.nav__link {
  color: inherit;
  text-decoration: none;
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
  transition: color 200ms var(--lm-ease-out);
}

.bricks-is-frontend .nav__link::after,
.nav__link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--lm-ton);
  transition: width 300ms var(--lm-ease-out);
}

.bricks-is-frontend .nav__link:hover::after,
.nav__link:hover::after,
.bricks-is-frontend .nav__link[aria-current=page]::after,
.nav__link[aria-current=page]::after {
  width: 100%;
}

.bricks-is-frontend .nav__link:hover,
.nav__link:hover {
  color: var(--lm-ton);
}

/* ── Dropdown ── */
.bricks-is-frontend .nav-dropdown,
.nav-dropdown {
  position: relative;
}

/* Bridge: invisible pseudo-element connects trigger to dropdown panel */
.bricks-is-frontend .nav-dropdown::before,
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
  z-index: 249;
  pointer-events: auto;
}

/* Arrow indicator on parent link — reset nav__link underline absolute positioning */
.bricks-is-frontend a.parent-nav__link::after,
a.parent-nav__link::after {
  content: "";
  position: static !important;
  display: inline-block !important;
  width: 5px !important;
  height: 5px !important;
  bottom: auto !important;
  left: auto !important;
  margin-left: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  background: transparent !important;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 300ms var(--lm-ease-out);
  vertical-align: middle;
}

.bricks-is-frontend .nav-dropdown:hover > a.parent-nav__link::after,
.nav-dropdown:hover > a.parent-nav__link::after,
.bricks-is-frontend .nav-dropdown.is-open > a.parent-nav__link::after,
.nav-dropdown.is-open > a.parent-nav__link::after {
  transform: rotate(-135deg) translateY(0);
}

/* Dropdown panel */
.bricks-is-frontend .dropdown_menu,
.dropdown_menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 12px;
  min-width: 200px;
  padding: 8px 0;
  background: var(--lm-dark) !important;
  border: 1px solid var(--lm-bd);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 200ms var(--lm-ease-out), transform 200ms var(--lm-ease-out), visibility 200ms;
  pointer-events: none;
  display: flex !important;
  flex-direction: column;
  gap: 0;
  z-index: 250;
}

.bricks-is-frontend .nav-dropdown:hover > .dropdown_menu,
.nav-dropdown:hover > .dropdown_menu,
.bricks-is-frontend .dropdown_menu.is-open,
.dropdown_menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.bricks-is-frontend .dropdown_menu a,
.dropdown_menu a {
  display: block;
  padding: 10px 20px !important;
  font-size: var(--lm-text-base) !important;
  font-weight: 300 !important;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--lm-ton);
  text-decoration: none;
  transition: background 200ms var(--lm-ease-out), color 200ms var(--lm-ease-out);
}

.bricks-is-frontend .dropdown_menu a:hover,
.dropdown_menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--lm-white);
}

.bricks-is-frontend .dropdown_menu a::after,
.dropdown_menu a::after {
  display: none !important;
}

/* ── TranslatePress language switcher — styled like .nav-dropdown (.parent-nav__link) ── */
.trp-shortcode-switcher__wrapper {
  --bg: transparent !important;
  --bg-hover: transparent !important;
  --border: none !important;
  --border-width: 0 !important;
  --border-color: transparent !important;
  --border-radius: 0 !important;
  --text: var(--lm-ton) !important;
  --text-hover: var(--lm-ton) !important;
  --transition-duration: 0.2s !important;
}

.trp-shortcode-switcher__wrapper .trp-shortcode-switcher {
  padding: 0 !important;
  width: 72px !important;
}

.trp-shortcode-switcher__wrapper .trp-current-language-item__wrapper {
  padding: 0 !important;
  justify-content: flex-start !important;
}

/* Hide TRP flag + svg arrow — trigger is text + chevron like .parent-nav__link */
.trp-shortcode-switcher__wrapper .trp-flag-image {
  display: none !important;
}

.trp-shortcode-switcher__wrapper .trp-shortcode-arrow {
  display: none !important;
}

/* Trigger — same layout as .nav__link, same typography as .nav__links */
.trp-shortcode-switcher__wrapper .trp-language-item__current {
  display: inline-flex !important;
  align-items: center !important;
  color: inherit !important;
  text-decoration: none;
  position: relative;
  padding: 8px 0 !important;
  min-height: 0 !important;
  background: transparent !important;
  white-space: nowrap;
  font-family: var(--lm-font-body);
  font-weight: 300;
  font-size: var(--lm-text-base);
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1;
  transition: color 200ms var(--lm-ease-out);
}

.trp-shortcode-switcher__wrapper .trp-language-item__current:hover {
  background: transparent !important;
  color: var(--lm-ton) !important;
}

/* Text — inherit nav typography, beats TRP's own .trp-language-item-name rules */
.trp-shortcode-switcher__wrapper .trp-language-item-name {
  display: inline-block;
  overflow: visible !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  text-transform: inherit !important;
  color: inherit !important;
}

/* Chevron — same as .parent-nav__link::after */
.trp-shortcode-switcher__wrapper .trp-language-item__current::after {
  content: "";
  position: static !important;
  display: inline-block !important;
  width: 5px !important;
  height: 5px !important;
  bottom: auto !important;
  left: auto !important;
  margin-left: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  background: transparent !important;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 300ms var(--lm-ease-out);
  vertical-align: middle;
}

.trp-shortcode-switcher__wrapper:hover .trp-language-item__current::after,
.trp-shortcode-switcher__wrapper .trp-ls-dropdown.is-open .trp-language-item__current::after,
.trp-shortcode-switcher__wrapper .trp-ls-dropdown[aria-expanded=true] .trp-language-item__current::after {
  transform: rotate(-135deg) translateY(0);
}

/* Dropdown panel — same as .dropdown_menu */
.trp-switcher-dropdown-list {
  margin-top: 12px;
  min-width: 200px;
  padding: 8px 0 !important;
  box-sizing: border-box;
  background: var(--lm-dark) !important;
  border: 1px solid var(--lm-bd) !important;
  border-radius: 0 !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  pointer-events: none;
  gap: 0;
  z-index: 250;
  transition: max-height var(--transition-duration, 0.2s) ease-in-out, opacity 200ms var(--lm-ease-out), transform 200ms var(--lm-ease-out), visibility 200ms;
}

.trp-shortcode-switcher__wrapper .trp-ls-dropdown.is-open .trp-switcher-dropdown-list,
.trp-shortcode-switcher__wrapper .trp-ls-dropdown[aria-expanded=true] .trp-switcher-dropdown-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Dropdown items — same as .dropdown_menu a */
.trp-switcher-dropdown-list .trp-language-item {
  display: block !important;
  padding: 10px 20px !important;
  min-height: 0 !important;
  font-size: var(--lm-text-base) !important;
  font-weight: 300 !important;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--lm-ton) !important;
  text-decoration: none;
  transition: background 200ms var(--lm-ease-out), color 200ms var(--lm-ease-out);
}

.trp-switcher-dropdown-list .trp-language-item:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--lm-white) !important;
}

/* ── Mobile panel (slide-in) — Figma 2528:1364 ── */
.bricks-is-frontend .gc-nav-mobile,
.gc-nav-mobile {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  z-index: 205;
  display: none !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 24px;
  padding-top: 100px !important;
  padding-right: 32px !important;
  padding-bottom: 32px !important;
  padding-left: 32px !important;
  background: var(--lm-dark) !important;
  border-left: 1px solid var(--lm-bd) !important;
  overflow: hidden;
  pointer-events: none;
  box-sizing: border-box;
  transform: translateX(100%);
  will-change: transform;
  -webkit-overflow-scrolling: touch;
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.bricks-is-frontend .gc-nav-mobile.is-open,
.gc-nav-mobile.is-open {
  display: flex !important;
  pointer-events: auto;
  transform: translateX(0);
}

/* ── Mobile links — Figma: left-aligned, 11.52px, tracking 1.76px ── */
.bricks-is-frontend .gc-nav-mobile-links,
.gc-nav-mobile-links {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 24px;
  width: 100%;
  font-family: var(--lm-font-body);
  font-weight: 300;
  font-size: var(--lm-text-xs);
  text-transform: uppercase;
  letter-spacing: 1.76px;
  line-height: 17.28px;
  text-align: left;
}

.bricks-is-frontend .gc-nav-mobile-links a,
.gc-nav-mobile-links a {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  font-size: var(--lm-text-base);
  line-height: normal;
  color: var(--lm-ton);
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 400ms ease-out, transform 400ms ease-out, color 200ms ease-out;
  white-space: nowrap;
}

/* Active link underline (Figma 2528:1368: w=42px, h=1px, top=32.12px) */
.gc-nav-mobile-links a::after {
  display: none;
}

.gc-nav-mobile-links a[aria-current=page]::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 42px;
  height: 1px;
  background: var(--lm-white);
}

.bricks-is-frontend .gc-nav-mobile.is-open .gc-nav-mobile-links a,
.gc-nav-mobile.is-open .gc-nav-mobile-links a {
  opacity: 1;
  transform: translateY(0);
}

.gc-nav-mobile.is-open .gc-nav-mobile-links a:nth-child(1) {
  transition-delay: 100ms;
}

.gc-nav-mobile.is-open .gc-nav-mobile-links a:nth-child(2) {
  transition-delay: 150ms;
}

.gc-nav-mobile.is-open .gc-nav-mobile-links a:nth-child(3) {
  transition-delay: 200ms;
}

.gc-nav-mobile.is-open .gc-nav-mobile-links a:nth-child(4) {
  transition-delay: 250ms;
}

.gc-nav-mobile.is-open .gc-nav-mobile-links a:nth-child(5) {
  transition-delay: 300ms;
}

/* ── Overlay (mobile backdrop) — via JS toggle ── */
.nav-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 204;
  opacity: 0;
  pointer-events: none;
  background: rgba(10, 12, 16, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 400ms var(--lm-ease-out);
}

.nav-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ── Body scroll lock ── */
body.nav-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* ── Mobile breakpoint ── */
@media (max-width: 768px) {
  .bricks-is-frontend .nav__container,
  .nav__container {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  /* Logo — 140px wide on mobile.
     Bricks sets inline width:111px / height:22px, so !important is required.
     Height must be set too: with the inline 22px height, object-fit:contain
     would keep the rendered logo at 111px no matter the width. */
  .bricks-is-frontend .brxe-logo img,
  .brxe-logo img {
    width: 140px !important;
    height: 28px !important;
  }
  /* Hide desktop links — high specificity to override Bricks element settings */
  body.bricks-is-frontend .nav__links,
  body .bricks-is-frontend .nav__links,
  body .nav__links,
  .nav__links {
    display: none !important;
  }
  /* Mobile panel: hidden by default, shown when .is-open is added by Bricks toggle */
  .gc-nav-mobile {
    display: flex !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1), opacity 300ms, visibility 300ms;
  }
  .gc-nav-mobile.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }
}
/* ── Small mobile ── */
@media (max-width: 480px) {
  .bricks-is-frontend .nav__container,
  .nav__container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .gc-nav-mobile {
    padding-top: 80px !important;
    padding-right: 24px !important;
    padding-bottom: 24px !important;
    padding-left: 24px !important;
  }
  .gc-nav-mobile-links {
    font-size: var(--lm-text-xs) !important;
    gap: 24px !important;
  }
}
/* ── Mobile: dropdown as accordion ── */
@media (max-width: 768px) {
  .gc-nav-mobile-links .nav-dropdown {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .gc-nav-mobile-links a.parent-nav__link::after {
    content: "";
    position: static !important;
    display: inline !important;
    width: 5px !important;
    height: 5px !important;
    bottom: auto !important;
    left: auto !important;
    margin-left: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    background: transparent !important;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 300ms var(--lm-ease-out);
    vertical-align: middle;
  }
  .gc-nav-mobile-links .nav-dropdown.is-open > a.parent-nav__link::after {
    transform: rotate(-135deg) translateY(0);
  }
  .gc-nav-mobile-links .dropdown_menu {
    position: static !important;
    width: 100%;
    min-width: 0;
    padding: 0 0 0 16px !important;
    background: transparent !important;
    border: none;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 400ms var(--lm-ease-out);
  }
  .gc-nav-mobile-links .nav-dropdown.is-open > .dropdown_menu {
    max-height: 300px;
  }
  .gc-nav-mobile-links .dropdown_menu a {
    font-size: var(--lm-text-base) !important;
    padding: 6px 0 !important;
    color: var(--lm-ton2);
  }
}
/* Base: layout, container, resets */
body {
  background: var(--lm-dark);
}

/* Text reset — ensure line-height 1.5 for all body text */
p, .text, .brxe-text, .section-desc,
.hero__paragraph p,
.story__paragraph p,
.bento-large__desc p,
.bento-card__desc p {
  line-height: 1.5;
}

.container {
  padding: 0 var(--lm-space-16);
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--lm-font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: var(--lm-text-sm);
  cursor: pointer;
  transition: all 200ms var(--lm-ease-out);
  border: 1px solid transparent;
}

.btn--white {
  background: var(--lm-white);
  color: var(--lm-navy);
}

.btn--white:hover {
  background: var(--lm-off);
}

.btn--outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--lm-ton);
}

.btn--outline-white:hover {
  border-color: var(--lm-white);
}

.btns {
  display: inline-flex;
  gap: var(--lm-space-4);
  flex-wrap: wrap;
}

/* Hero section — exact Figma node 2036:654 */
.hero {
  height: 662px;
  min-height: 600px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.2);
  z-index: 1;
}

.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bricks-is-frontend .hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__slide.active {
  opacity: 0.6;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--lm-space-16);
}

.hero__heading {
  width: 640px;
  max-width: 640px;
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-4xl);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.32px;
  color: var(--lm-white);
  text-transform: uppercase;
  margin: 0;
}

.hero__heading br {
  display: block;
}

.hero__paragraph {
  padding-top: 24px;
}

.hero__paragraph p {
  font-family: var(--lm-font-body);
  font-size: var(--lm-text-base);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--lm-white);
  width: 500px;
  max-width: 500px;
  margin: 0;
}

.hero {
  /* Collections page hero — bg image at 0.85 opacity per Figma 2036:851 */
}

.hero--collections .hero__slide.active {
  opacity: 0.85;
}

.hero--collections .hero__heading {
  font-size: var(--lm-text-3xl);
}

.hero--portfolio .hero__heading {
  font-size: var(--lm-text-3xl);
}

/* Story section — Figma node 2036:669 */
.story {
  background: var(--lm-dark-2);
}

.story__inner {
  padding-top: 80px;
  padding-bottom: 80px;
}

.story__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 80px;
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 64px;
}

.story__image {
  flex-shrink: 0;
  width: 561px;
  height: 340px;
}

.story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.story__text {
  flex: 1 0 0;
  min-width: 1px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.story__heading {
  width: 100%;
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-3xl);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.32px;
  color: var(--lm-white);
  text-transform: uppercase;
  margin: 0;
}

.story__paragraph {
  width: 100%;
}

.story__paragraph p {
  font-family: var(--lm-font-body);
  font-size: var(--lm-text-base);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--lm-mid);
  margin: 0;
}

.story__paragraph--first {
  padding-top: 32px;
}

.story__paragraph--second {
  padding-top: 24px;
  padding-bottom: 24px;
}

.story .btn-outline {
  margin-top: 32.22px;
}

/* Shared outline button used in Story + CTA */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 47px;
  padding: 15px 33px;
  border: 1px solid var(--lm-white);
  background: transparent;
  font-family: var(--lm-font-body);
  font-size: var(--lm-text-base);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  color: var(--lm-white);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  color: var(--lm-white) !important;
}

/* Why Le Marbles / Bento section — Figma node 2036:687 */
.why-le-marbles {
  background: var(--lm-dark-2);
}

.why-le-marbles__inner {
  padding-top: 80px;
  padding-bottom: 80px;
}

.why-le-marbles__container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 64px;
}

.why-le-marbles__heading {
  width: 100%;
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-3xl);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.32px;
  color: var(--lm-white);
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
}

.why-le-marbles__grid {
  height: 600px;
  width: 100%;
  background: transparent;
  display: flex;
  gap: 16px;
}

/* Large bento cell (left) */
.bento-large {
  position: relative;
  flex: 1 0 0;
  min-width: 1px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bento-large__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--lm-dark-3);
}

.bento-large__bg img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento-large__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 12, 16, 0.95) 0%, rgba(10, 12, 16, 0.2) 100%);
  z-index: 2;
}

.bento-large__content {
  position: absolute;
  top: 426.65px;
  padding: var(--lm-space-8);
  z-index: 3;
}

.bento-large__title {
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-3xl);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.32px;
  color: var(--lm-white);
  text-transform: none;
  margin: 0;
  white-space: nowrap;
}

.bento-large__desc {
  padding-top: 16px;
}

.bento-large__desc p {
  font-family: var(--lm-font-body);
  font-size: var(--lm-text-base);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--lm-navy-mist);
  margin: 0;
}

/* Stack of small bento cells (right) */
.bento-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 400px;
  flex-shrink: 0;
}

.bento-card {
  position: relative;
  flex: 1 0 0;
  min-height: 1px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bento-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--lm-dark-3);
}

.bento-card__bg img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 12, 16, 0.95) 0%, rgba(10, 12, 16, 0.2) 100%);
  z-index: 2;
}

.bento-card__content {
  position: absolute;
  bottom: 0;
  z-index: 3;
  padding: var(--lm-space-8);
}

.bento-card__title {
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-3xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--lm-white);
  text-transform: none;
  margin: 0;
  white-space: nowrap;
}

.bento-card__desc {
  padding-top: 16px;
}

.bento-card__desc p {
  font-family: var(--lm-font-body);
  font-size: var(--lm-text-base);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0;
  margin: 0;
}

.bento-card--navy-text .bento-card__desc p {
  color: var(--lm-navy-mist);
}

.bento-card--light-text .bento-card__desc p {
  color: var(--lm-white);
}

/* Collections section — Figma node 2036:682 */
.collections {
  background: var(--lm-dark-2);
}

.collections__inner {
  padding-top: 80px;
  padding-bottom: 80px;
}

.collections__container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 64px;
  box-sizing: border-box;
}

.collections__heading {
  width: 500px;
  max-width: 500px;
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-3xl);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.32px;
  color: var(--lm-white);
  text-transform: uppercase;
  margin: 0;
}

.collections__media {
  position: relative;
  width: 100%;
  height: 400px;
  flex-shrink: 0;
  overflow: clip;
}

.collections__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.collections__indicator {
  position: absolute;
  left: 50%;
  top: 356px;
  transform: translateX(-50%);
  width: 52px;
  height: 12px;
}

.collections__indicator img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
}

/* Collections Catalogue Page */
.catalogue-section {
  padding: var(--lm-space-16) 0;
  background: var(--lm-dark-2);
  color: var(--lm-ton);
}

.catalogue-section > .container {
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--lm-space-16);
}

.grid-catalogue {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--lm-space-6);
}

.catalogue-item {
  display: block;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--lm-bd);
  padding-bottom: 17px;
  cursor: pointer;
}

.catalogue-item__img-wrap {
  overflow: hidden;
  height: 560px;
  background: var(--lm-dark-3);
}

.catalogue-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 700ms var(--lm-ease-out), opacity 700ms var(--lm-ease-out);
}

.catalogue-item:hover .catalogue-item__img {
  transform: scale(1.05);
  opacity: 1;
}

.catalogue-item h4 {
  padding-top: var(--lm-space-4);
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-base);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--lm-white);
  letter-spacing: -0.4366px;
}

.catalogue-item p {
  padding-top: var(--lm-space-1);
  font-size: var(--lm-text-xs);
  color: var(--lm-ton2);
  text-transform: uppercase;
  letter-spacing: 0.576px;
}

/* Filter Bar (Gani Marbles Style) */
.filters {
  position: relative;
  background: var(--lm-dark-2);
  border-top: 1px solid var(--lm-bd);
  border-bottom: 1px solid var(--lm-bd);
  z-index: 10;
}

.filters .container {
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--lm-space-16);
}

.filters_bar {
  position: relative;
}

.filters_bar-wrapper {
  height: 64px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.filters_bar-primary {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 100%;
}

.filters_bar-item {
  display: flex;
  align-items: center;
  height: 100%;
  margin-right: var(--lm-space-8);
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
}

.filters_bar-item .btn {
  position: relative;
  display: flex;
  align-items: center;
  font-size: var(--lm-text-sm);
  line-height: 1.2;
  cursor: pointer;
  color: var(--lm-white);
  font-family: var(--lm-font-display);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.filters_bar-item .btn i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--lm-white);
  border-bottom: 1.5px solid var(--lm-white);
  transform: rotate(45deg);
  margin-left: var(--lm-space-2);
  margin-top: -3px;
  transition: transform 0.3s var(--lm-ease-out), border-color 0.3s var(--lm-ease-out);
}

.filters_bar-item .btn.active {
  color: #aa7568;
}

.filters_bar-item .btn.active i {
  transform: rotate(-135deg);
  border-color: #aa7568;
}

.filters_bar-secondary {
  display: flex;
  align-items: center;
  margin-left: auto;
  height: 100%;
}

.filters_bar-secondary .filters_bar-item {
  margin-right: 0;
}

/* Subbar Dropdowns */
.filters_subbar-container {
  display: none;
  background: var(--lm-dark-2);
  border-bottom: 1px solid var(--lm-bd);
}

.filters_subbar-container.is-open {
  display: block;
}

.filters_subbar-container .container {
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding: var(--lm-space-6) var(--lm-space-16);
}

.filters_subbar {
  display: none;
  flex-wrap: wrap;
  gap: var(--lm-space-3);
}

.filters_subbar.active {
  display: flex;
}

/* Tag style (taga) */
.taga {
  display: inline-block;
  color: var(--lm-white);
  font-size: var(--lm-text-xs);
  padding: var(--lm-space-2) var(--lm-space-4);
  line-height: 1.2;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s var(--lm-ease-out);
  text-decoration: none;
  font-family: var(--lm-font-body);
  opacity: 0.5;
}

.taga:hover, .taga.selected.active {
  opacity: 1;
  border-color: #aa7568;
  color: #aa7568;
  background: rgba(170, 117, 104, 0.05);
}

/* Search form */
.ServiceSearch {
  display: flex;
  align-items: center;
  position: relative;
}

.ServiceSearch .text {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--lm-bd);
  color: var(--lm-white);
  padding: var(--lm-space-2) var(--lm-space-4) var(--lm-space-2) 0;
  font-family: var(--lm-font-body);
  font-size: var(--lm-text-sm);
  outline: none;
  transition: border-color 0.3s;
  width: 220px;
}

.ServiceSearch .text::placeholder {
  color: var(--lm-dim);
}

.ServiceSearch .text:focus {
  border-bottom-color: #aa7568;
}

/* Responsive styles */
@media screen and (max-width: 1024px) {
  .filters_subbar-container .container {
    padding: var(--lm-space-4) var(--lm-space-6);
  }
}
@media screen and (max-width: 768px) {
  .filters_bar {
    position: static;
  }
  .filters_bar-wrapper {
    height: auto;
    align-items: flex-start;
    align-items: flex-start;
    padding: var(--lm-space-4) 0;
  }
  .filters_bar-primary {
    width: 100%;
    overflow-x: auto;
    padding-bottom: var(--lm-space-2);
    -webkit-overflow-scrolling: touch;
  }
  .filters_bar-item {
    margin-right: var(--lm-space-4);
    height: auto;
    padding: var(--lm-space-2) 0;
  }
  .filters_bar-secondary {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: var(--lm-space-2) var(--lm-space-4);
  }
  .filters_bar-secondary .text {
    width: 100%;
  }
  .filters_subbar-container .container {
    padding: var(--lm-space-4);
  }
}
@media screen and (max-width: 1024px) {
  .filters_bar-wrapper {
    flex-direction: column-reverse !important;
    align-items: stretch !important;
    height: auto !important;
    gap: 24px !important;
  }
}
@media screen and (max-width: 640px) {
  .filters .container {
    padding: 0 var(--lm-space-6) !important;
  }
  .filters_bar-wrapper {
    flex-direction: column-reverse !important;
    align-items: stretch !important;
    gap: 0;
  }
}
/* Mobile filter (≤768px) — search on top, spread label row,
   always-visible chips panel (mockup layout) */
@media screen and (max-width: 768px) {
  .filters {
    overflow: hidden !important;
  }
  .filters_bar .container {
    padding: 0 var(--lm-space-4) !important;
  }
  .filters_bar {
    position: static;
  }
  .filters_bar-wrapper {
    flex-direction: column-reverse !important;
    align-items: stretch !important;
    height: auto !important;
    gap: var(--lm-space-4) !important;
    padding: var(--lm-space-4) 0 0;
  }
  /* Search — static, full width, on top */
  .filters_bar-secondary {
    position: static !important;
    width: 100% !important;
    height: auto;
    margin-left: 0;
    padding: 0 !important;
  }
  .filters_bar-secondary .text {
    width: 100%;
  }
  .filters_bar-secondary .filters_bar-item,
  .filters_bar-secondary .ServiceSearch {
    width: 100%;
  }
  /* Label row — Type Color Finish Size Feature, spread across the row */
  .filters_bar-primary {
    width: 100% !important;
    height: auto;
    justify-content: space-between;
    flex-wrap: nowrap !important;
    gap: var(--lm-space-2);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: var(--lm-space-1);
  }
  .filters_bar-primary::-webkit-scrollbar {
    display: none;
  }
  .filters_bar-item {
    flex-shrink: 0;
    margin-right: 0 !important;
    height: auto;
    padding: var(--lm-space-2) 0 !important;
  }
  .filters_bar-item .btn {
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0.02em;
    white-space: nowrap;
    padding: var(--lm-space-2) 0;
  }
  .filters_bar-item .btn i {
    width: 6px;
    height: 6px;
    margin-left: 6px;
    margin-top: -2px;
  }
  /* Chips panel — always visible on mobile */
  .filters_subbar-container {
    display: block !important;
    border-bottom: none;
  }
  .filters .filters_subbar-container .container {
    padding: var(--lm-space-3) var(--lm-space-4) var(--lm-space-5) !important;
  }
  .filters_subbar {
    gap: var(--lm-space-2);
    margin: 0;
  }
  /* Chips */
  .taga {
    border-radius: 6px;
    padding: var(--lm-space-2) 13px;
    opacity: 0.6;
  }
}
/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--lm-space-2);
  padding: var(--lm-space-12) 0 var(--lm-space-8);
}

.pagination__btn {
  appearance: none;
  background: transparent;
  border: 1px solid var(--lm-bd);
  color: var(--lm-ton);
  font-family: var(--lm-font-body);
  font-size: var(--lm-text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--lm-space-2) var(--lm-space-4);
  cursor: pointer;
  transition: border-color 200ms var(--lm-ease-out), color 200ms var(--lm-ease-out);
}

.pagination__btn:hover:not(:disabled) {
  border-color: var(--lm-ton);
}

.pagination__btn:disabled {
  color: var(--lm-dim);
  border-color: var(--lm-dark-3) !important;
  cursor: default;
}

.pagination__numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--lm-space-1);
}

.pagination__num {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  color: var(--lm-ton2);
  font-family: var(--lm-font-body);
  font-size: var(--lm-text-xs);
  font-weight: 500;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 200ms var(--lm-ease-out), color 200ms var(--lm-ease-out);
}

.pagination__num:hover {
  color: var(--lm-ton);
}

.pagination__num.is-active {
  border-color: var(--lm-bd);
  color: var(--lm-ton);
}

/* Catalogue Modal */
.bricks-is-frontend .catalogue-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--lm-ease-out);
}

.catalogue-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.catalogue-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.92);
}

.catalogue-modal__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 960px;
  width: 90vw;
  height: 85vh;
  max-height: 85vh;
  background: var(--lm-dark-2);
  border: 1px solid var(--lm-bd);
  overflow: hidden;
}

.catalogue-modal__inner > * {
  min-height: 0;
}

.catalogue-modal__close {
  position: absolute;
  top: var(--lm-space-4);
  right: var(--lm-space-4);
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 12, 16, 0.6);
  border: 1px solid var(--lm-bd);
  border-radius: 50%;
  color: var(--lm-ton);
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease;
}

.catalogue-modal__close:hover {
  background: rgba(10, 12, 16, 0.9);
  border-color: var(--lm-ton);
}

.catalogue-modal__img {
  overflow: hidden;
  background: var(--lm-dark-3);
  height: 100%;
}

.catalogue-modal__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalogue-modal__info {
  display: flex;
  flex-direction: column;
  padding: var(--lm-space-10) var(--lm-space-8);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--lm-bd) transparent;
}

.catalogue-modal__info::-webkit-scrollbar {
  width: 6px;
}

.catalogue-modal__info::-webkit-scrollbar-track {
  background: transparent;
}

.catalogue-modal__info::-webkit-scrollbar-thumb {
  background: var(--lm-bd);
  border-radius: 3px;
}

.catalogue-modal__info::-webkit-scrollbar-thumb:hover {
  background: var(--lm-dim);
}

.catalogue-modal__subtitle {
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-xs);
  color: var(--lm-navy-mist);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--lm-space-2);
}

.catalogue-modal__title {
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-3xl);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--lm-ton);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--lm-space-6);
}

.catalogue-modal__desc {
  font-size: var(--lm-text-sm);
  color: var(--lm-ton2);
  line-height: 1.6;
  margin-bottom: var(--lm-space-8);
  max-width: 400px;
}

.catalogue-modal__specs {
  display: flex;
  flex-direction: column;
  gap: var(--lm-space-4);
  margin-bottom: auto;
  padding-top: var(--lm-space-6);
  border-top: 1px solid var(--lm-bd);
}

.catalogue-modal__spec {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: var(--lm-space-3);
}

.catalogue-modal__spec dt {
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-xs);
  font-weight: 500;
  color: var(--lm-ton2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  width: 25%;
  flex-shrink: 0;
}

.catalogue-modal__spec dd {
  font-size: var(--lm-text-sm);
  color: var(--lm-ton);
}

.catalogue-modal__cta {
  margin-top: var(--lm-space-8);
  align-self: flex-start;
}

/* Visually hidden utility for accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Portfolio Page — Figma 2036:996 */
/* Portfolio Categories Section */
.portfolio-categories {
  padding: var(--lm-space-16) 64px;
  background: var(--lm-dark-2);
  padding-bottom: 0;
}

.portfolio-categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--lm-space-4);
}

.portfolio-card {
  position: relative;
  height: 160px;
  background: var(--lm-dark-2);
  overflow: hidden;
  cursor: pointer;
}

.portfolio-card__img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.portfolio-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: scale 700ms var(--lm-ease-out);
}

.portfolio-card:hover .portfolio-card__img {
  scale: 1.05;
}

.portfolio-card.active {
  outline: 2px solid #aa7568;
  outline-offset: -2px;
}

.portfolio-card__overlay {
  position: absolute;
  top: -50px;
  left: -50px;
  right: -50px;
  bottom: -50px;
  background: linear-gradient(to top, rgba(10, 12, 16, 0.95) 0%, rgba(10, 12, 16, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

.portfolio-card__heading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  text-align: center;
  pointer-events: none;
}

.portfolio-card__heading h3 {
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-3xl);
  font-weight: 700;
  line-height: 1.1;
  color: var(--lm-white);
  text-transform: uppercase;
  margin: 0;
}

/* Portfolio Grid Section */
.portfolio-grid {
  width: 100%;
  max-width: 100%;
  padding: var(--lm-space-12) 64px;
  background: var(--lm-dark-2);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.portfolio-grid.brxe-section {
  max-width: 100%;
}

.portfolio-grid__header {
  width: 100%;
  text-align: left;
}

.portfolio-grid__header h2 {
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-3xl);
  font-weight: 700;
  line-height: 1;
  color: var(--lm-white);
  max-width: 500px;
  margin: 0;
  text-align: left;
}

.portfolio-grid__images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--lm-space-4);
  width: 100%;
}

.portfolio-grid__item {
  position: relative;
  height: 240px;
  background: var(--lm-dark-2);
  overflow: hidden;
}

.portfolio-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
  transition: transform 700ms var(--lm-ease-out), opacity 700ms var(--lm-ease-out);
}

.portfolio-grid__item:hover img {
  transform: scale(1.04);
  opacity: 1;
}

.portfolio-grid__item.hidden {
  display: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .portfolio-categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-grid__images {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-categories,
  .portfolio-grid {
    padding-left: var(--lm-space-8);
    padding-right: var(--lm-space-8);
  }
}
@media (max-width: 640px) {
  .portfolio-categories__grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid__images {
    grid-template-columns: 1fr;
  }
  .portfolio-card {
    height: 80px;
  }
  .portfolio-card__heading h3 {
    font-size: var(--lm-text-base);
  }
  .portfolio-grid__item {
    height: 200px;
  }
  .portfolio-grid__header h2 {
    width: 100%;
    max-width: 100%;
  }
}
/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--lm-space-16);
  max-width: 1600px;
  margin: 0 auto;
  padding: var(--lm-space-32) var(--lm-space-16);
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: var(--lm-space-10);
}

.contact-heading {
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-4xl);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--lm-ton);
  text-transform: uppercase;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--lm-space-10);
  padding-top: var(--lm-space-10);
}

.contact-info__item {
  display: flex;
  flex-direction: column;
  gap: var(--lm-space-2);
}

.contact-info__title {
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-xl);
  font-weight: 700;
  line-height: 1.1;
  color: var(--lm-ton);
}

.contact-info__detail {
  font-family: var(--lm-font-body);
  font-size: var(--lm-text-base);
  color: var(--lm-mid);
  line-height: 1.8;
  font-weight: 300;
}

.contact-form-col {
  display: flex;
  flex-direction: column;
}

.contact-form-card {
  background: var(--lm-dark-2);
  border: 1px solid var(--lm-bd);
  display: flex;
  flex-direction: column;
  padding: 33px;
}

.contact-form-card__title {
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-xl);
  font-weight: 700;
  line-height: 1.1;
  color: var(--lm-ton);
}

.contact-form-card__form {
  display: flex;
  flex-direction: column;
  padding-top: 24px;
}

.contact-form-card__group {
  display: flex;
  flex-direction: column;
  padding-top: 20px;
}

.contact-form-card__group:first-child {
  padding-top: 0;
}

.contact-form-card__group:not(:first-child) {
  border-bottom: 1px solid var(--lm-bd);
}

.contact-form-card__group input,
.contact-form-card__group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--lm-bd);
  color: var(--lm-ton);
  font-family: var(--lm-font-body);
  font-size: var(--lm-text-sm);
  font-weight: 300;
  outline: none;
}

.contact-form-card__group input::placeholder,
.contact-form-card__group textarea::placeholder {
  color: var(--lm-dim);
}

.contact-form-card__group input {
  height: 52px;
  padding: 16px 0 17px;
}

.contact-form-card__group textarea {
  height: 80px;
  min-height: 80px;
  resize: none;
  padding: 16px 0 17px;
}

.contact-form-card__label {
  font-family: var(--lm-font-body);
  font-size: var(--lm-text-sm);
  font-weight: 300;
  color: var(--lm-ton);
  text-transform: uppercase;
  padding-bottom: 8px;
}

.contact-form-card__btn {
  width: 100%;
  margin-top: 16px;
}

/* Native Bricks form inside .contact-form-card — mirror section 1 hand-built form */
.contact-form-card .brxe-form {
  display: flex;
  flex-direction: column;
  padding-top: 24px;
}
.contact-form-card .brxe-form .form-group {
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  padding-bottom: 0;
}
.contact-form-card .brxe-form .form-group:first-child {
  padding-top: 0;
}
.contact-form-card .brxe-form .form-group:not(:first-child) {
  border-bottom: 1px solid var(--lm-bd);
}
.contact-form-card .brxe-form .form-group label {
  font-family: var(--lm-font-body);
  font-size: var(--lm-text-sm);
  font-weight: 300;
  color: var(--lm-ton);
  text-transform: uppercase;
  padding-bottom: 8px;
}
.contact-form-card .brxe-form .form-group input,
.contact-form-card .brxe-form .form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--lm-bd);
  color: var(--lm-ton);
  font-family: var(--lm-font-body);
  font-size: var(--lm-text-sm);
  font-weight: 300;
  outline: none;
}
.contact-form-card .brxe-form .form-group input::placeholder,
.contact-form-card .brxe-form .form-group textarea::placeholder {
  color: var(--lm-dim);
}
.contact-form-card .brxe-form .form-group input {
  height: 52px;
  padding: 16px 0 17px;
}
.contact-form-card .brxe-form .form-group textarea {
  height: 80px;
  min-height: 80px;
  resize: none;
  padding: 16px 0 17px;
}
.contact-form-card .brxe-form .submit-button-wrapper {
  width: 100%;
  margin-top: 16px;
}
.contact-form-card .brxe-form .submit-button-wrapper .bricks-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 33px;
  font-family: var(--lm-font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: var(--lm-text-sm);
  background: var(--lm-white);
  color: var(--lm-navy);
  border: 1px solid transparent;
  transition: all 200ms var(--lm-ease-out);
}
.contact-form-card .brxe-form .submit-button-wrapper .bricks-button:hover {
  background: var(--lm-off);
}

/* CTA section — Figma node 2036:779 */
.cta-section {
  position: relative;
  width: 100%;
  height: 662px;
  min-height: 662px;
  max-height: 662px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
}

.cta-section__bg {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.cta-section__bg .parallax-depth-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cta-section__bg img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  max-width: none !important;
  will-change: transform;
  transform-origin: center center;
}

.cta-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.8);
}

.cta-section__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 64px;
}

.cta-section__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cta-section__heading {
  width: 1100px;
  max-width: 1100px;
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-3xl);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.32px;
  color: var(--lm-white);
  text-transform: uppercase;
  margin: 0;
}

.cta-section__button-wrap {
  padding-top: 48px;
}

/* About Page — Rebuilt from Figma 2036:794 */
/* ─── Hero Section ─── */
.about-hero {
  position: relative;
  width: 100%;
  height: 662px;
  min-height: 662px;
  max-height: 662px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 !important;
}

.about-hero__img-wrap {
  position: absolute;
  width: 100%;
  height: 662px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  overflow: hidden;
}

.about-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  max-width: none !important;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.2);
}

.about-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--lm-space-16);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-hero__heading-wrap {
  max-width: 1100px;
  width: 100%;
}

.about-hero__title {
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-3xl);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--lm-white);
  word-break: break-word;
  max-width: 640px;
  margin: 0;
}

.about-hero__para-wrap {
  padding-top: var(--lm-space-6);
  width: 500px;
  max-width: 100%;
}

.about-hero__sub {
  font-family: var(--lm-font-body);
  font-size: var(--lm-text-base);
  font-weight: 300;
  font-style: normal;
  color: var(--lm-white);
  word-break: break-word;
  margin: 0;
}

.about-hero__sub p {
  margin: 0;
}

/* ─── About Section ─── */
.about-section {
  background: var(--lm-dark-2);
  padding: var(--lm-space-20) 0 !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

/* ─── Story Row ─── */
.about-story {
  width: 100%;
  display: flex;
  gap: var(--lm-space-20);
  align-items: center;
  padding: var(--lm-space-20) var(--lm-space-16);
}

.about-story__img {
  flex-shrink: 0;
  width: 561px;
  max-width: 100%;
  height: 340px;
  opacity: 0.8;
  overflow: hidden;
}

.about-story__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.25;
  transform-origin: center center;
}

.about-story__text {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-story__heading-wrap {
  width: 100%;
}

.about-story__heading {
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-3xl);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--lm-white);
  word-break: break-word;
  margin: 0;
}

.about-story__para-wrap {
  padding-top: var(--lm-space-8);
  width: 100%;
}

.about-story__desc {
  font-family: var(--lm-font-body);
  font-size: var(--lm-text-base);
  font-weight: 300;
  font-style: normal;
  color: var(--lm-mid);
  word-break: break-word;
  margin: 0;
}

.about-story__desc p {
  margin: 0;
}

/* ─── Vision / Mission ─── */
.about-vm {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: var(--lm-space-20) var(--lm-space-16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--lm-space-20);
}

.about-vm__col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-vm__heading-wrap {
  width: 100%;
}

.about-vm__heading {
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-3xl);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--lm-white);
  text-align: center;
  width: 100%;
  margin: 0;
}

.about-vm__para-wrap {
  padding-top: var(--lm-space-8);
  width: 100%;
}

.about-vm__desc {
  font-family: var(--lm-font-body);
  font-size: var(--lm-text-base);
  font-weight: 300;
  font-style: normal;
  color: var(--lm-mid);
  text-align: center;
  width: 100%;
  word-break: break-word;
  margin: 0;
}

.about-vm__desc p {
  margin: 0;
}

.about-vm__divider {
  width: 1px;
  background: var(--lm-mid);
  align-self: stretch;
  flex-shrink: 0;
}

/* ─── Full-width Image ─── */
.about-fullimg-wrap {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: var(--lm-space-20) var(--lm-space-16);
  overflow: hidden;
}

.about-fullimg-wrap img {
  width: 100% !important;
  height: 400px !important;
  max-width: none !important;
  opacity: 0.8;
  object-fit: cover !important;
  display: block;
}

/* ─── Stats ─── */
.about-stats {
  display: flex;
  gap: var(--lm-space-12);
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: var(--lm-space-20) 0;
}

.about-stats__col {
  flex: 0 0 256px;
  width: 256px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--lm-space-4);
  align-items: flex-start;
}

.about-stats__num-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-stats__number {
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-3xl);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lm-white);
  text-align: center;
  white-space: nowrap;
  margin: 0;
}

.about-stats__lab-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-stats__label {
  font-family: var(--lm-font-body);
  font-size: var(--lm-text-base);
  font-weight: 300;
  font-style: normal;
  color: var(--lm-mid);
  text-align: center;
  white-space: nowrap;
  margin: 0;
}

.about-stats__label p {
  margin: 0;
}

/* ─── CTA Section ─── */
.about-cta {
  position: relative;
  width: 100%;
  height: 662px;
  min-height: 662px;
  max-height: 662px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
}

.about-cta__img-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}
.about-cta__img-wrap .parallax-depth-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.about-cta__img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  max-width: none !important;
  will-change: transform;
  transform-origin: center center;
}

.about-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.8);
}

.about-cta__content {
  position: relative;
  z-index: 2;
  height: 143px;
  max-height: 143px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--lm-space-10);
  align-items: center;
  justify-content: flex-start;
}

.about-cta__heading-wrap {
  max-width: 898px;
  width: 100%;
}

.about-cta__heading {
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-3xl);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--lm-white);
  text-align: center;
  width: 100%;
  margin: 0;
}

.about-cta__btn, .about-cta__btn.brxe-button, .about-cta__btn.brxe-button.brxe-button-primary, .about-cta__btn.bricks-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--lm-white) !important;
  background: transparent !important;
  color: var(--lm-white) !important;
  font-family: var(--lm-font-body) !important;
  font-size: var(--lm-text-base) !important;
  font-weight: 300 !important;
  letter-spacing: 0;
  text-transform: uppercase;
  padding: 15px 33px !important;
  height: 47px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border-radius: 0;
}

.about-cta__btn:hover, .about-cta__btn.brxe-button:hover, .about-cta__btn.brxe-button.brxe-button-primary:hover, .about-cta__btn.bricks-button:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  color: var(--lm-white) !important;
}

/* ─── WhatsApp FAB ─── */
.whatsapp-fab {
  position: fixed;
  right: var(--lm-space-16);
  bottom: var(--lm-space-16);
  width: 64px;
  height: 64px;
  border-radius: 32px;
  background: #25d366;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.35);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}

.whatsapp-fab__pulse {
  position: absolute;
  left: -16px;
  top: -16px;
  width: 96px;
  height: 96px;
  border-radius: 48px;
  background: #25d366;
  opacity: 0.14;
  animation: whatsapp-pulse 2s ease-in-out infinite;
}

.whatsapp-fab__icon {
  position: relative;
  width: 32px;
  height: 32px;
  z-index: 2;
  object-fit: contain;
}

@keyframes whatsapp-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.14;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.08;
  }
}
/* ─── Reveal animation (frontend only) ─── */
.bricks-is-frontend .reveal-up {
  opacity: 0;
  transform: translateY(30px);
}

/* Override Bricks lazy-load for reveal-up animations */
.bricks-is-frontend .reveal-up.bricks-lazy-hidden {
  background-image: inherit !important;
  visibility: visible !important;
}

/* ─── Responsive ─── */
@media (max-width: 1200px) {
  .about-vm__col {
    flex: 1;
    width: auto;
  }
}
@media (max-width: 1024px) {
  .about-story {
    flex-direction: column;
    gap: var(--lm-space-10);
  }
  .about-story__img {
    width: 100%;
    height: auto;
  }
  .about-vm {
    flex-direction: column;
    gap: var(--lm-space-10);
  }
  .about-vm__divider {
    width: 100%;
    height: 1px;
  }
}
@media (max-width: 768px) {
  .about-hero__content,
  .about-story,
  .about-vm,
  .about-fullimg-wrap {
    padding-left: var(--lm-space-6);
    padding-right: var(--lm-space-6);
  }
  .about-hero__title {
    font-size: 1.5rem;
  }
  .about-story__heading,
  .about-vm__heading {
    font-size: var(--lm-text-base);
  }
  .about-cta__heading {
    font-size: var(--lm-text-base);
    line-height: 1.25;
  }
  .about-story__desc {
    font-size: var(--lm-text-sm);
  }
  .about-vm__desc p {
    font-size: var(--lm-text-sm);
  }
  .about-stats__number {
    font-size: var(--lm-text-3xl);
  }
  .about-stats {
    flex-direction: column;
    gap: var(--lm-space-32);
    padding: 0;
  }
  .about-stats__col {
    flex: 0 0 auto;
    width: 100%;
    align-items: center;
  }
  .whatsapp-fab {
    right: var(--lm-space-6);
    bottom: var(--lm-space-6);
  }
}
@media (max-width: 640px) {
  .about-hero__sub {
    font-size: var(--lm-text-sm);
  }
}
/* USP section — Figma node 2074:772 */
.usps {
  background: var(--lm-dark-2);
}

.usp-card-wrap {
  flex-shrink: 0;
  /* Scales with viewport so 3 cards always overflow the pinned section,
     guaranteeing the horizontal-scroll effect (main.js) triggers on wide desktop screens too */
  width: 36vw;
  min-width: 480px;
  height: auto;
}

/* Shared card styles */
.usp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  height: 320px;
  padding: 28px;
  box-sizing: border-box;
  border: none;
}

.usp-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

.usp-card__title {
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-3xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--lm-white);
  margin: 0;
  width: 160px;
}

.usp-card__title p {
  margin: 0;
}

.usp-card__icon {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
}

.usp-card__icon img {
  object-fit: contain;
}

.usp-card__spacer {
  height: 80px;
  width: 100%;
}

.usp-card__desc {
  font-family: var(--lm-font-body);
  font-size: var(--lm-text-base);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--lm-mid);
  margin: 0;
  width: 100%;
}

/* Home page only: keeps every USP description box at least 60px so cards align */
body.home .usp-card__desc {
  min-height: 60px;
}

/* USPs — native horizontal touch-scroll strip on mobile instead of the
   GSAP pin/scroll-jack (disabled below 769px in main.js, see initUSPHorizontalScroll) */
@media (max-width: 768px) {
  #brxe-usps {
    height: auto !important;
    display: block !important;
  }
  .usps__inner {
    overflow: visible !important;
    padding: 0 var(--lm-space-6) !important;
  }
  .usps__container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    width: 100% !important;
    transform: none !important;
    /* !important required: the base .usps__container at _master:2847 is
       emitted AFTER this media block, so its gap: var(--lm-space-8) would win */
    gap: var(--lm-space-2) !important;
  }
  .usp-card-wrap {
    flex-shrink: 0;
    width: 100% !important;
    min-width: 0 !important;
    height: auto;
  }
  /* Card internals must reflow inside a narrow 2-col cell: .usp-card__title is
     fixed at 160px wide and .usp-card at 320px tall on desktop. */
  .usp-card {
    height: 280px !important;
    padding: 12px !important;
  }
  .usp-card__title {
    width: 100% !important;
    font-size: var(--lm-text-xs);
  }
  /* The inner <p> has no font-size of its own and inherits from here */
  .usp-card__desc {
    font-size: var(--lm-text-xs);
  }
  .usp-card__spacer {
    height: 24px !important;
  }
  .usp-card__icon {
    width: 56px !important;
    height: 56px !important;
  }
}
/* Stats section — Figma node 2036:723 */
.stats {
  background: var(--lm-dark-2);
}

.stats__inner {
  padding-top: 40px;
  padding-bottom: 40px;
}

.stats__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 64px;
}

.stat-card {
  position: relative;
  flex: 1 0 0;
  min-width: 1px;
  height: 320px;
  overflow: clip;
  background: var(--lm-dark-3);
}

.stat-card__bg {
  position: absolute;
  inset: 0 0.5px 0 0;
  z-index: 0;
}

.stat-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stat-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 12, 16, 0.95) 0%, rgba(10, 12, 16, 0) 100%);
  z-index: 1;
}

.stat-card__content {
  position: absolute;
  left: 50%;
  top: calc(50% + 0.5px);
  transform: translate(-50%, -50%);
  width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.stat-card__number {
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-3xl);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.32px;
  color: var(--lm-white);
  margin: 0;
  white-space: nowrap;
}

.stat-card__label {
  padding-top: 16px;
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-3xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--lm-white);
  margin: 0;
  width: 400px;
  max-width: 400px;
  text-align: center;
}

/* ISO section — Figma node 2074:798 */
.iso {
  background: var(--lm-dark-2);
}

.iso__inner {
  padding-top: 64px;
  padding-bottom: 64px;
}

.iso__container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 72px;
  width: 100%;
}

.iso-item {
  position: relative;
  flex-shrink: 0;
  height: 80px;
  width: 98px;
}

.iso-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  filter: brightness(0) invert(1);
}

/* Mobile: keep all 5 badges on a single row.
   Desktop needs 5*98px + 4*72px gap = 778px, which overflows a phone, and
   .iso-item is flex-shrink:0 so the items refuse to compress. Let each item
   flex to an equal share of the row and derive its height from aspect-ratio. */
@media (max-width: 768px) {
  .iso__container.brxe-container {
    padding: 0 24px;
  }
  .iso__container {
    gap: var(--lm-space-2);
  }
  .iso-item {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: auto;
    aspect-ratio: 98/80;
  }
  /* Shrink the badge and keep its own aspect ratio. inset:0 alone would force
     height:100% from the base rule, squashing a narrow image, so height goes
     back to auto and margin:auto centres it in the box. */
  .iso-item img {
    margin: auto;
    width: 56px;
    height: auto;
    max-width: 100%;
  }
}
/* WhatsApp floating button — Bricks custom element */
.brxe-whatsapp-float {
  position: fixed;
  right: var(--lm-space-10);
  bottom: var(--lm-space-10);
  z-index: 200;
}

.whatsapp-float__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 200ms var(--lm-ease-out), box-shadow 200ms var(--lm-ease-out);
  text-decoration: none;
  overflow: visible;
}

.whatsapp-float__link:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.whatsapp-float__link:focus-visible {
  outline: 2px solid var(--lm-navy-mist);
  outline-offset: 3px;
}

.whatsapp-float__icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.whatsapp-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.5;
  z-index: 0;
  animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
@media (max-width: 768px) {
  .brxe-whatsapp-float {
    right: var(--lm-space-8);
    bottom: var(--lm-space-8);
  }
  .whatsapp-float__link {
    width: 64px;
    height: 64px;
  }
  .whatsapp-float__icon {
    width: 32px;
    height: 32px;
  }
}
/* Footer — targets Bricks element IDs (template not yet imported) */
#brxe-1effdd {
  background: var(--lm-dark);
  color: var(--lm-ton);
  border-top: 1px solid var(--lm-bd);
  font-family: var(--lm-font-body);
  position: relative;
}

#brxe-1effdd::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--lm-navy-mid) 50%, transparent 100%);
  opacity: 0.85;
  pointer-events: none;
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--lm-space-16);
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--lm-space-16);
  padding-bottom: var(--lm-space-12);
}

.footer__grid > .footer__col:first-child {
  flex: 0 0 auto;
  width: 100%;
  max-width: 24rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  flex: 1 1 0;
  min-width: 0;
  justify-content: flex-end;
  gap: var(--lm-space-16);
}

.footer__nav .footer__col {
  flex: 0 0 20%;
}

#brxe-f3brand {
  color: inherit;
  text-decoration: none;
  margin-bottom: var(--lm-space-5);
  display: block;
}

#brxe-f3brand img {
  width: 180px;
  height: auto;
}

#brxe-f3desc {
  font-family: var(--lm-font-body);
  font-size: var(--lm-text-sm);
  line-height: 1.6;
  color: var(--lm-ton2);
  max-width: 24rem;
  letter-spacing: 0.01em;
}

#brxe-f4title,
#brxe-f5title,
#brxe-f6title {
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-sm);
  font-weight: 600;
  color: var(--lm-navy-mist);
  margin-bottom: var(--lm-space-6);
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--lm-space-4);
}

.footer__link {
  font-family: var(--lm-font-body);
  font-size: var(--lm-text-sm);
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--lm-ton2);
  text-decoration: none;
  transition: color 260ms var(--lm-ease-out);
}

.footer__link:hover {
  color: var(--lm-ton);
}

.footer-bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--lm-space-3);
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  margin-top: var(--lm-space-8);
  margin-bottom: var(--lm-space-10);
  padding: 0 var(--lm-space-16);
  padding-top: var(--lm-space-6);
  padding-bottom: var(--lm-space-6);
  border-top: 1px solid var(--lm-bd);
  font-family: var(--lm-font-body);
  font-size: var(--lm-text-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lm-ton2);
}

.footer-bottom .brxe-text,
.footer-bottom .brxe-text-link {
  font-size: var(--lm-text-xs);
}

.footer-bottom a {
  color: var(--lm-navy-mist);
  text-decoration: none;
  letter-spacing: 0.12em;
  transition: color 220ms var(--lm-ease-out);
}

.footer-bottom a:hover {
  color: var(--lm-ton);
}

.footer-bottom__dev {
  display: inline-flex;
  align-items: baseline;
  gap: var(--lm-space-2);
}

.footer-bottom__dev .brxe-text,
.footer-bottom__dev .brxe-text-link {
  display: inline;
  margin: 0;
  padding: 0;
  font-size: var(--lm-text-xs);
}

.footer-bottom__dev .brxe-text p {
  margin: 0;
  display: inline;
}

/* Utilities */
.text-center {
  text-align: center;
}

.text-xs {
  font-size: var(--lm-text-xs);
}

.text-sm {
  font-size: var(--lm-text-sm);
}

.text-xl {
  font-size: var(--lm-text-xl);
}

.text-4xl {
  font-size: var(--lm-text-4xl);
}

.text-ton2 {
  color: var(--lm-ton2);
}

/* Editorial constrained width for lead/tagline paragraphs inside sections */
.max-w-sm {
  max-width: 24rem;
}

.mt-4 {
  margin-top: var(--lm-space-4);
}

.mt-8 {
  margin-top: var(--lm-space-8);
}

.mt-12 {
  margin-top: var(--lm-space-12);
}

.mt-16 {
  margin-top: var(--lm-space-16);
}

.mb-4 {
  margin-bottom: var(--lm-space-4);
}

.mb-6 {
  margin-bottom: var(--lm-space-6);
}

.mb-10 {
  margin-bottom: var(--lm-space-10);
}

.mb-16 {
  margin-bottom: var(--lm-space-16);
}

.mb-32 {
  margin-bottom: var(--lm-space-32);
}

.pt-8 {
  padding-top: var(--lm-space-8);
}

.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-widest {
  letter-spacing: 0.15em;
}

.border-t {
  border-top: 1px solid;
}

.border-bd {
  border-color: var(--lm-bd);
}

.hidden-mobile {
  display: inline-flex;
}

.visible-mobile {
  display: none;
}

/* Reveal animation — removed, using .bricks-is-frontend version above */
/* Responsive breakpoints */
@media (max-width: 1024px) {
  #brxe-hero-heading {
    font-size: var(--lm-text-5xl);
  }
  #brxe-hero {
    height: 520px;
    min-height: 480px;
    padding-top: 140px;
    padding-bottom: 140px;
  }
  #brxe-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid,
  .bricks-is-frontend .footer__grid {
    gap: var(--lm-space-12);
  }
  #brxe-f3col1 {
    grid-column: 1/-1;
  }
  .footer-bottom,
  .bricks-is-frontend .footer-bottom {
    justify-content: center;
    text-align: center;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--lm-space-12);
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 var(--lm-space-6);
  }
  /* ID selector required: the ≤1024 block above sets #brxe-hero-heading
     (specificity 1,0,0), so a plain .hero__heading class would lose. */
  #brxe-hero-heading {
    font-size: var(--lm-text-xl);
  }
  /* Mobile: hero heading locked to 1.5rem (!important to beat #brxe-hero-heading) */
  .hero__heading {
    font-size: 1.5rem !important;
  }
  .hero__paragraph p {
    font-size: var(--lm-text-sm);
  }
  .story__container {
    flex-direction: column;
  }
  .story__heading {
    font-size: var(--lm-text-base);
    width: calc(100% - 2rem);
    margin-left: 2rem;
    text-indent: -2rem;
  }
  .story__paragraph p {
    font-size: var(--lm-text-sm);
  }
  .btn-outline {
    font-size: var(--lm-text-sm);
  }
  .bento-large__title,
  .bento-card__title {
    font-size: var(--lm-text-base);
  }
  .bento-large__desc p,
  .bento-card__desc p {
    font-size: var(--lm-text-sm);
  }
  #brxe-why-grid {
    grid-template-columns: 1fr;
  }
  .bento-large {
    grid-column: span 1;
    grid-row: span 1;
  }
  .cta-section__heading {
    font-size: var(--lm-text-xl);
  }
  /* Home page only: CTA heading drops to base size on mobile */
  body.home .cta-section__heading {
    font-size: var(--lm-text-base);
    line-height: 1.25;
  }
  .contact-grid {
    padding: var(--lm-space-6) var(--lm-space-6);
    gap: var(--lm-space-10);
  }
  .contact-heading {
    font-size: var(--lm-text-3xl);
  }
  .contact-form-card {
    border: none;
  }
  .contact-form-card__title {
    padding: 0;
  }
  .contact-form-card__form {
    padding: var(--lm-space-4) 0 var(--lm-space-6);
  }
  .contact-form-card .brxe-form .form-group input::placeholder {
    color: transparent;
  }
  .contact-form-card .brxe-form .form-group input {
    height: 32px;
    padding: 8px 0;
  }
  .footer__grid,
  .bricks-is-frontend .footer__grid {
    flex-direction: column;
    align-items: stretch;
    gap: var(--lm-space-10);
  }
  #brxe-f3brand {
    font-size: var(--lm-text-xl);
  }
  #brxe-f4title,
  #brxe-f5title,
  #brxe-f6title {
    margin-bottom: var(--lm-space-5);
  }
}
@media (max-width: 480px) {
  /* Add small screen overrides here if needed */
}
/* Critical overrides — counteract Bricks default styles on elements */
.bricks-is-frontend {
  /* Header: override Bricks .brxe-container defaults */
}

.bricks-is-frontend {
  /* Header: override Bricks .brxe-section defaults */
}

.bricks-is-frontend {
  /* Header: hide toggle on desktop */
}

.bricks-is-frontend {
  /* Hero content container */
}

.bricks-is-frontend #brxe-hero-content {
  width: 100% !important;
  max-width: 1600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.bricks-is-frontend {
  /* Collections */
}

.bricks-is-frontend #brxe-coll-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 32px !important;
  width: 100% !important;
  max-width: 1600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.bricks-is-frontend {
  /* Why Le Marbles container */
}

.bricks-is-frontend #brxe-why-container {
  width: 100% !important;
  max-width: 1600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.bricks-is-frontend {
  /* Story container */
}

.bricks-is-frontend #brxe-story-container {
  width: 100% !important;
  max-width: 1600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.bricks-is-frontend {
  /* CTA section container */
}

.bricks-is-frontend #brxe-cta-container {
  width: 100% !important;
  max-width: 1600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.bricks-is-frontend {
  /* Bento grid */
}

.bricks-is-frontend #brxe-why-grid {
  display: flex !important;
  flex-direction: row !important;
  gap: 16px !important;
}

.bricks-is-frontend {
  /* USPs */
}

.bricks-is-frontend #brxe-usps-container {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 72px !important;
}

.bricks-builder #brxe-usps-container {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 24px !important;
}

.bricks-is-frontend {
  /* Stats */
}

.bricks-is-frontend #brxe-stats-container {
  display: flex !important;
  flex-direction: row !important;
  gap: 16px !important;
}

.bricks-is-frontend {
  /* ISO section: force full width despite Bricks align-items:center on .brxe-section */
}

.bricks-is-frontend #brxe-iso {
  align-items: stretch !important;
}

.bricks-is-frontend {
  /* Footer: override Bricks .brxe-container defaults */
}

.bricks-is-frontend {
  /* Footer: override Bricks .brxe-section defaults */
}

.bricks-is-frontend #brxe-1effdd {
  padding: var(--lm-space-20) 0 var(--lm-space-24);
  margin: 0;
}

.bricks-is-frontend {
  /* Footer bottom bar: override Bricks .brxe-container defaults */
}

.bricks-is-frontend .footer-bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--lm-space-3);
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  margin-top: var(--lm-space-8);
  padding: 0 var(--lm-space-16);
  padding-top: var(--lm-space-6);
  padding-bottom: var(--lm-space-6);
  border-top: 1px solid var(--lm-bd);
}

/* Scale image 1.5x */
#brxe-s-img {
  scale: 1.5;
  transform-origin: center;
}

.story__image {
  scale: 1;
  transform-origin: center;
}

/* Collections Slider */
.collections__media {
  position: relative;
  overflow: hidden;
  margin-bottom: var(--lm-space-12);
  width: 100%;
}

.collections__slides {
  position: relative;
  width: 100%;
  padding-bottom: 66.67%;
  height: 0;
  overflow: hidden;
  background: transparent;
}

.bricks-is-frontend .collections__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: block;
}

.bricks-is-frontend .collections__slide-active {
  opacity: 1;
  z-index: 1;
}

.collections__indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.collections__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.collections__dot-active {
  background: white;
  width: 24px;
  border-radius: 4px;
}

/* Bento Parallax Wrapper */
.bento-parallax-wrapper {
  position: relative;
  overflow: hidden;
  will-change: transform;
  perspective: 1200px;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.bento-parallax-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  display: block;
}

/* Only scale image in large bento card */
.bento-large .bento-parallax-wrapper img {
  scale: 1.5;
  width: 130%;
  height: 130%;
  left: 50%;
  top: 0;
  transform: translate(-50%, 0);
}

/* USP Horizontal Scroll */
#brxe-usps {
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
}

.usps__inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0 80px;
}

.usps__container {
  display: flex;
  justify-content: flex-start !important;
  align-items: center;
  gap: var(--lm-space-8);
  width: max-content;
  height: auto;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  transform: translateX(0);
}

.usp-card-wrap {
  flex-shrink: 0;
}

/* Bricks Builder canvas: render USP cards as wrapped flexbox (no GSAP pin in builder) */
body[data-builder-window=iframe] #brxe-usps {
  height: auto !important;
  overflow: visible !important;
  display: block !important;
}

body[data-builder-window=iframe] .usps__inner {
  height: auto !important;
  overflow: visible !important;
  padding: 0 !important;
}

body[data-builder-window=iframe] .usps__container {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: var(--lm-space-6) !important;
  width: 100% !important;
  max-width: 100% !important;
  transform: none !important;
}

body[data-builder-window=iframe] .usp-card-wrap {
  width: auto !important;
  min-width: 0 !important;
  max-width: 480px !important;
  flex: 1 1 320px !important;
}

/* ─── Homepage Mobile Responsive (≤640px) ───
   Placed at end of file so its !important rules win over the unconditional
   .bricks-is-frontend desktop-flex overrides declared earlier (same specificity,
   source order decides). Mirrors the simple stacked layout used in /le-marble. */
@media (max-width: 640px) {
  /* Hero */
  #brxe-hero,
  .hero {
    height: auto !important;
    min-height: 560px !important;
    padding: 120px 0 var(--lm-space-10) !important;
  }
  .hero__content {
    padding: 0 var(--lm-space-6) !important;
  }
  .hero__heading {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 1.5rem !important;
  }
  .hero__paragraph p {
    width: 100% !important;
    max-width: 100% !important;
  }
  /* Story */
  #brxe-story-container,
  .story__container {
    flex-direction: column !important;
    gap: var(--lm-space-8) !important;
    padding: 0 var(--lm-space-6) !important;
  }
  .story__image {
    width: 100% !important;
    height: 240px !important;
  }
  .story__heading {
    width: 100% !important;
    margin-left: 0 !important;
    text-indent: 0 !important;
  }
  /* Why Le Marbles / Bento — stack large card + small cards vertically */
  #brxe-why-container,
  .why-le-marbles__container {
    padding: 0 var(--lm-space-6) !important;
  }
  #brxe-why-grid,
  .why-le-marbles__grid {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    gap: 16px;
  }
  .bento-large {
    flex: unset !important;
    width: 100% !important;
    height: 320px !important;
  }
  .bento-large__content {
    left: var(--lm-space-6) !important;
    top: auto !important;
    bottom: 32px !important;
    width: calc(100% - var(--lm-space-6) * 2) !important;
  }
  .bento-large__title,
  .bento-card__title {
    font-size: var(--lm-text-base) !important;
    white-space: normal !important;
  }
  .bento-stack {
    width: 100% !important;
    height: auto !important;
    flex-shrink: 1 !important;
  }
  .bento-card {
    flex: unset !important;
    width: 100% !important;
    height: 280px !important;
  }
  .bento-card__content {
    left: var(--lm-space-6) !important;
    transform: none !important;
    width: calc(100% - var(--lm-space-6) * 2) !important;
  }
  /* Fix parallax image overflow on mobile */
  .bento-large .bento-parallax-wrapper img {
    scale: 1 !important;
    width: 100% !important;
    height: 100% !important;
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
  }
  .bento-card .bento-parallax-wrapper img {
    scale: 1 !important;
    width: 100% !important;
    height: 100% !important;
  }
  /* USPs — tighten edge padding on small phones (scroll strip itself is enabled at 768px, see below) */
  .usps__inner {
    padding: 0 var(--lm-space-6) !important;
  }
  /* Stats */
  #brxe-stats-container,
  .stats__container {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: var(--lm-space-6) !important;
    padding: 0 var(--lm-space-6) !important;
  }
  .stat-card {
    flex: none !important;
    width: 100% !important;
    height: 220px !important;
  }
  .stat-card__content {
    width: calc(100% - var(--lm-space-6) * 2) !important;
  }
  .stat-card__label {
    width: 100% !important;
    max-width: 100% !important;
    font-size: var(--lm-text-xl) !important;
  }
  .stat-card__number {
    font-size: var(--lm-text-2xl) !important;
  }
  /* Collections */
  #brxe-coll-container,
  .collections__container {
    padding: 0 var(--lm-space-6) !important;
  }
  .collections__heading {
    width: 100% !important;
    max-width: 100% !important;
  }
  .collections__media {
    height: 260px !important;
  }
  /* CTA */
  #brxe-cta-container,
  .cta-section__container {
    padding: 0 var(--lm-space-6) !important;
  }
  #brxe-cta,
  .cta-section {
    height: auto !important;
    max-height: none !important;
    min-height: 480px !important;
    padding: var(--lm-space-16) 0 !important;
  }
  .cta-section__heading {
    width: 100% !important;
    max-width: 100% !important;
  }
  /* Footer — mirror le-marble reference: collapse grid to single column */
  .footer__grid,
  .bricks-is-frontend .footer__grid {
    flex-direction: column;
    align-items: stretch;
    gap: var(--lm-space-10);
    padding: 0 var(--lm-space-6);
    padding-bottom: var(--lm-space-10);
  }
  .footer-bottom,
  .bricks-is-frontend .footer-bottom {
    padding: 0 var(--lm-space-6);
    padding-top: var(--lm-space-6);
    padding-bottom: var(--lm-space-6) !important;
  }
  /* Contact — form first, then info */
  .contact-grid {
    gap: var(--lm-space-32) !important;
  }
  .contact-info-col {
    order: 2;
  }
  .contact-form-col {
    order: 1;
  }
}
/* ─── Single Marble — Modal-Card Page Layout ─────────────────── */
/* Hero: full-width background, same as other pages */
.sm-hero {
  position: relative;
  width: 100%;
  height: 662px;
  min-height: 662px;
  max-height: 662px;
  overflow: hidden;
}

.sm-hero__bg {
  position: absolute;
  inset: 0;
}

.sm-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.2);
}

.sm-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--lm-space-16);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: var(--lm-space-10);
}

.sm-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--lm-font-body);
  font-size: var(--lm-text-sm);
  color: var(--lm-mid);
  text-decoration: none;
  transition: color 0.2s;
  margin-bottom: auto;
}

.sm-hero__back:hover {
  color: var(--lm-white);
}

.sm-hero__back svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ─── Card Section ───────────────────────────────────────────── */
.sm-card-section {
  background: var(--lm-dark);
  padding: var(--lm-space-20) 0;
}

.sm-card {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--lm-space-10);
  align-items: start;
}

/* Image side — natural ratio */
.sm-card__img {
  width: 380px;
  overflow: hidden;
}

.sm-card__img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Marble image slider (Bricks element) */
.marble-image-slider {
  height: 600px;
}

/* Slider on the image side — Catalogue Image + Catalogue Image #2 */
.sm-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.sm-slider__track {
  display: flex;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.sm-slider__slide {
  position: relative;
  flex: 0 0 100%;
}

.sm-slider__slide img {
  width: 100%;
  height: auto;
  display: block;
}

.sm-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: rgba(10, 12, 16, 0.4);
  color: #fff;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, border-color 0.2s;
}

.sm-slider__btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.sm-slider__prev {
  left: 12px;
}

.sm-slider__next {
  right: 12px;
}

.sm-slider__btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.sm-slider__dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.sm-slider__dot {
  width: 7px;
  height: 7px;
  border: none;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.2s;
}

.sm-slider__dot.is-active {
  background: #fff;
}

/* Lightbox overlay */
.sm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.sm-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.sm-lightbox__img-wrap {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sm-lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  cursor: zoom-out;
}

.sm-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

.sm-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.sm-lightbox__close svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.sm-lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 2;
}

.sm-lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
}

.sm-lightbox__prev {
  left: 20px;
}

.sm-lightbox__next {
  right: 20px;
}

.sm-lightbox__btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Info side — same as modal info panel */
.sm-card__info {
  display: flex;
  flex-direction: column;
  padding: var(--lm-space-10) var(--lm-space-8);
}

.sm-card__subtitle {
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-xs);
  color: var(--lm-mid);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--lm-space-2);
}

.sm-card__title {
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-3xl);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--lm-white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 var(--lm-space-6);
}

.sm-card__desc {
  font-family: var(--lm-font-body);
  font-size: var(--lm-text-sm);
  font-weight: 300;
  color: var(--lm-mid);
  line-height: 1.6;
  margin: 0 0 var(--lm-space-8);
  max-width: 400px;
}

/* Specs — edge to edge */
.sm-card__specs {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: auto;
  padding-top: var(--lm-space-6);
  border-top: 1px solid var(--lm-bd);
  /* go edge-to-edge inside the info panel */
  margin-left: calc(-1 * var(--lm-space-8));
  margin-right: calc(-1 * var(--lm-space-8));
  padding-left: var(--lm-space-8);
  padding-right: var(--lm-space-8);
}

.sm-card__spec {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: var(--lm-space-3);
  padding: var(--lm-space-3) 0;
  border-bottom: 1px solid var(--lm-bd);
}

.sm-card__spec:last-child {
  border-bottom: none;
}

.sm-card__spec dt {
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-xs);
  font-weight: 500;
  color: var(--lm-mid);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  width: 45%;
  flex-shrink: 0;
}

.sm-card__spec dd {
  font-family: var(--lm-font-body);
  font-size: var(--lm-text-sm);
  font-weight: 300;
  color: var(--lm-white);
  margin: 0;
  flex: 1;
}

/* CTA */
.sm-card__cta {
  margin-top: var(--lm-space-8);
  align-self: flex-start;
  width: 100%;
  text-align: left;
}

.sm-card__cta a {
  display: inline-block;
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--lm-white);
  background: transparent;
  border: 1px solid var(--lm-white);
  padding: 14px 32px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.sm-card__cta a:hover {
  background: transparent;
  border-color: var(--lm-white);
  color: var(--lm-white);
  background: rgba(255, 255, 255, 0.05);
}

/* ─── Gallery ────────────────────────────────────────────────── */
.sm-gallery {
  background: var(--lm-dark);
  padding: var(--lm-space-20) 0;
}

.sm-gallery__heading {
  font-family: var(--lm-font-display);
  font-size: var(--lm-text-2xl);
  font-weight: 700;
  color: var(--lm-white);
  text-transform: uppercase;
  margin: 0 0 var(--lm-space-10);
}

.sm-gallery__track {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.sm-gallery__slides {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.sm-gallery__slide {
  min-width: 100%;
  flex-shrink: 0;
}

.sm-gallery__slide img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
}

.sm-gallery__nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.sm-gallery__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--lm-bd);
  border-radius: 50%;
  background: transparent;
  color: var(--lm-white);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.sm-gallery__btn:hover {
  border-color: var(--lm-white);
  background: rgba(255, 255, 255, 0.05);
}

.sm-gallery__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.sm-gallery__btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.sm-gallery__dots {
  display: flex;
  gap: 8px;
}

.sm-gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lm-bd);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s;
}

.sm-gallery__dot.is-active {
  background: var(--lm-white);
}

/* ─── Bottom bar ─────────────────────────────────────────────── */
.sm-bottom {
  background: var(--lm-dark);
  padding: var(--lm-space-20) 0;
}
.sm-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sm-bottom__link {
  font-family: var(--lm-font-body);
  font-size: var(--lm-text-base);
  font-weight: 300;
  color: var(--lm-mid);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.sm-bottom__link:hover {
  color: var(--lm-white);
}

.sm-bottom__link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ─── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sm-hero {
    height: 320px;
    min-height: 320px;
    max-height: 320px;
  }
  .sm-card {
    grid-template-columns: 1fr;
    width: 95%;
    gap: var(--lm-space-6);
  }
  .sm-card__img {
    width: 100%;
  }
  .sm-card__info {
    padding: var(--lm-space-8) var(--lm-space-6);
  }
  .sm-card__specs {
    margin-left: calc(-1 * var(--lm-space-6));
    margin-right: calc(-1 * var(--lm-space-6));
    padding-left: var(--lm-space-6);
    padding-right: var(--lm-space-6);
  }
  .sm-card__title {
    font-size: var(--lm-text-2xl);
  }
  .sm-gallery {
    padding: var(--lm-space-12) 0;
  }
  .sm-gallery__slide img {
    height: 280px;
  }
  .sm-bottom {
    padding: var(--lm-space-10) 0;
  }
  .sm-bottom .container {
    flex-direction: column;
    gap: var(--lm-space-4);
    text-align: center;
  }
}
