/* Let browser/theme manage scrollbar width to avoid initial right-side gutter gap */


.slogan {
  font-size: 28px;
}

/* Restore default spacing + bullets ONLY inside CKEditor content */
.richtext ul,
.richtext ol {
  list-style: revert;
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.richtext li {
  list-style: revert;
  margin: 0.35rem 0;
}

/* Optional: nicer paragraph spacing inside rich text */
.richtext p {
  margin: 0 0 1rem 0;
}

/* Wrapper controls how long the hero holds the scroll (like Omniyat) */
.hero-wrap {
  height: 240vh;
  /* 100vh visible + ~140vh hold */
  position: relative;
}

/* Sticky hero */
.hero-section {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
  /* predictable z-index */
}

/* Background video */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Lottie layer (full-bleed) */
.hero-lottie-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  /* above video, below overlay/content */
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  /* behind overlay + text */
  overflow: hidden;
}

/* Ensure <picture>/<img> fills and stays at the bottom */
.hero-image picture,
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  z-index: 0 !important;
}

.hero-image .hero-tint {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  /* 35% black tint */
  z-index: 1;
  /* above the image, below overlays/text */
  pointer-events: none;
}

/* We animate this node */
#heroLottie {
  position: absolute;
  left: 0;
  bottom: 0;
  /* anchor to bottom edge */
  width: 100%;
  height: 100%;
  transform-origin: 50% 100%;
  /* bottom-center pivot */
  transform: scale(0.15);
  /* start small */
  opacity: 0;
  /* appear when user starts scrolling */
}

/* White overlay fills near the end */
.white-overlay {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  z-index: 2;
  /* above lottie, below content */
  pointer-events: none;
}

/* Headline / subheading */
.hero-content {
  position: relative;
  z-index: 3;
  /* topmost */
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  /* start white over video */
  transition: color .25s linear;
}

.hero-content * {
  color: inherit;
}

/* Scroll hint arrow */
.scroll-arrow {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 3;
  background: transparent;
  border: 0;
  color: #fff;
  width: 40px;
  height: 40px;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity .25s linear;
}

.scroll-arrow svg {
  width: 28px;
  height: 28px;
}

@keyframes arrow-bounce {

  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 6px);
  }
}

.scroll-arrow.bounce {
  animation: arrow-bounce 1.4s ease-in-out infinite;
}

/* ===== Bespoke Lottie Reveal Section ===== */
/* --- BESPOKE pin + layers --- */
.section_bespoke {
  position: relative;
}

.section_bespoke .bespoke_scroll_container {
  position: relative;
  min-height: 220vh;
  /* gives you 120vh of scroll playtime */
}

.section_bespoke .bespoke_content_container {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.bespoke_hero_bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.bespoke_lottie {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bespoke_intro_content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.4);
}

/* --- Google Maps: --- */
#map img,
#map svg,
#map canvas {
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  mix-blend-mode: normal !important;
}


/* ===============================
   Hide/Show images for responsive
   =============================== */

/* By default, show desktop version, hide mobile */
.hide-mobile {
  display: block;
}

.hide-desktop {
  display: none;
}

/* On screens 768px and below → show mobile, hide desktop */
@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }

  .hide-desktop {
    display: block !important;
  }
}

/* Headline (big intro title) */
.hero_intro_title {
  font-size: 3rem;
  /* bigger text */
  font-weight: 700;
  /* bold */
  line-height: 1.2;
  color: #fff;
  /* white text */
  margin-bottom: 1rem;
  font-family: var(--heading-font);
}

/* Summary (smaller supporting text) */
.hero_intro_summary {
  font-size: 1.25rem;
  /* smaller than headline */
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
  /* white text */
  max-width: 800px;
  /* optional: keep paragraphs narrower */
}

.section_bespoke .bespoke_content_container {
  height: 100vh;
  /* fallback */
  height: 100svh;
  /* Safari small viewport */
  height: 100dvh;
  /* modern iOS/Android */
}


@media (max-width: 768px) {
  .hero_intro_title {
    font-size: 2rem;
  }

  .hero_intro_summary {
    font-size: 1rem;
  }
}

@media (max-width: 992px) {
  picture.hero_bg.bespoke_hero_bg>img {
    object-position: center bottom;
    max-width: none;
    /* beats global img {max-width:100%} */
  }

  /* tiny guard for sub-pixel seams */
  picture.hero_bg.bespoke_hero_bg {
    bottom: -1px;
    position: absolute;
    inset: 0 0 -1px 0;
  }
}

#leadbot-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  background: #111;
  color: #fff;
  font: 14px/1 system-ui;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  z-index: 99999
}

#leadbot {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 340px;
  max-height: 70vh;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 99999;
  font: 14px/1.4 system-ui
}

#leadbot header {
  padding: 12px 14px;
  font-weight: 600;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between
}

#leadbot .x {
  cursor: pointer;
  opacity: .6
}

#leadbot .log {
  padding: 12px;
  overflow: auto;
  flex: 1
}

#leadbot .msg {
  margin: 0 0 8px
}

#leadbot .bot {
  background: #f6f6f6;
  border-radius: 12px;
  padding: 10px
}

#leadbot .user {
  background: #111;
  color: #fff;
  border-radius: 12px;
  padding: 10px;
  margin-left: auto;
  width: max-content
}

#leadbot .chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0
}

#leadbot .chip {
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  background: #fff
}

#leadbot form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px
}

#leadbot input,
#leadbot textarea {
  font: 14px/1.2 system-ui;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  width: 100%
}

#leadbot-note {
  min-height: 70px
}

#leadbot button.submit {
  background: #111;
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer
}

#leadbot .small {
  font-size: 12px;
  opacity: .7
}

#leadbot .cta-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap
}

#leadbot-cta {
  display: none
}

#leadbot a.btn {
  display: inline-block;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px 12px;
  text-decoration: none;
  color: #111
}

.leadbot-inner {
  padding: 0 12px 12px
}

.title-lg .title-line-1 {
  display: inline-block;
}

.title-lg .title-line-2 {
  display: inline-block;
  margin-top: 4px;
}

.cat a.background-section.heading-color {
  text-decoration: none;
}

.texiv {
  text-transform: none !important;
}

.chip {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 10px;
  line-height: 1.2;
  margin-right: 6px;
  font-size: .875rem;
}

/* Remove default link look, keep theme colors */
a.chip {
  text-decoration: none;
  color: inherit;
}

a.chip:visited {
  color: inherit;
}

a.chip:hover {
  text-decoration: none;
  color: inherit;
  filter: brightness(0.98);
}

/* Only affect the 3-tile grid in this section */
.box-move .box-img .img-item {
  aspect-ratio: 4 / 3;
  height: auto;
}

/* keeps tiles uniform */
.box-move .box-img .img-item img.cover-bg-img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  /* show whole plan, no cropping */
  object-position: center center;
  background: transparent;
  /* letterbox color behind transparent/odd aspect images */
  border-radius: 0px;
  padding: 6px;
  /* optional breathing room */
}

/* If h-v-70 is too tall, tame it on desktop/tablet */
@media (min-width: 768px) {
  .box-move .box-img .img-item.h-v-70 {
    height: auto;
    min-height: 0;
  }
}

.link-white,
.link-white:visited {
  color: #fff !important;
  text-decoration: none;
}

.link-white:hover,
.link-white:active {
  color: #fff !important;
  text-decoration: none;
  opacity: .95;
}



/* Footer search layout */
.footer-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Make the input grow and not collapse */
.footer-search-field {
  flex: 1 1 280px;
  /* grow, shrink, base width */
  min-width: 0;
  /* allow flex to actually shrink gracefully */
  padding: 10px 12px;
  font-size: 14px;
  letter-spacing: 1px;

  /* Match input styling */
  border: none;
  border-bottom: 1px solid var(--theme-color);
  background-color: #fff;
  color: var(--heading-color);
}

/* Optional: nicer placeholder */
.footer-search-field::placeholder {
  color: var(--heading-color);
  opacity: 0.7;
}

/* Footer "Go" button */
.footer-go-btn .go-btn {
  padding: 10px 28px;
  border-radius: 0px;
  /* square-ish corners */
  background-color: var(--theme-color);
  color: var(--theme-color-font);
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease, transform 0.25s ease;
}

/* Hover background slide animation */
.footer-go-btn .go-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--smooth-color);
  transition: left 0.35s ease;
  z-index: 0;
}

.footer-go-btn .go-btn:hover::before {
  left: 0;
}

.footer-go-btn .go-btn .title-btn {
  position: relative;
  z-index: 1;
  /* keep text above animated layer */
}

/* Scale-up hover effect */
.footer-go-btn .go-btn:hover {
  transform: translateY(-2px);
}

.show-now {
  opacity: 1 !important;
  transform: none !important;
}

/* Use PW focus (object-position) only for images we mark with .use-focus */
img.use-focus {
  object-fit: cover;
}

/* If a parallax lib targets the IMG, neutralize it ONLY for our focus images,
   and ONLY when they live in known parallax wrappers */
.img-box-parallax picture>img.use-focus,
.art-hero-parallax-img picture>img.use-focus,
.img-box-parallax img.use-focus,
.art-hero-parallax-img img.use-focus {
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
}


/* Make the slider taller */
.swiper-project .swiper-container,
.swiper-project .swiper-wrapper,
.swiper-project .swiper-slide {
  height: 85vh;
  /* ← change this to taste (e.g., 80vh / 90vh / 720px) */
}

/* Ensure the inner box expands to the slide height */
.swiper-project .box-img {
  height: 100%;
}

/* Make the image cover the box vertically */
.swiper-project .cover-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Optional: smaller on phones */
@media (max-width: 768px) {

  .swiper-project .swiper-container,
  .swiper-project .swiper-wrapper,
  .swiper-project .swiper-slide {
    height: 65vh;
  }
}

/* Make the image box fill the viewport height */
.work-scroll .art-posts .art-item-post .img-cat .box-image-bg {
  height: 100svh;
  /* mobile-safe viewport height */
  min-height: 100dvh;
  /* good on iOS Safari (dynamic bars) */
  /* fallback for older browsers happens below */
  height: 100vh;
}

/* Ensure ancestors fill the same height so the child can stretch */
.work-scroll .art-posts .art-item-post,
.work-scroll .art-posts .art-item-post .box-content,
.work-scroll .art-posts .art-item-post .img-cat {
  height: 100svh;
  min-height: 100dvh;
  height: 100vh;
}

/* Make the image actually cover the box cleanly */
.work-scroll .art-posts .art-item-post .img-cat .box-image-bg picture,
.work-scroll .art-posts .art-item-post .img-cat .box-image-bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  /* no letterboxing */
  object-position: center;
}

.section-title .sub-heading-art {
  position: relative;
  width: -webkit-max-content;
  width: max-content;
  font-size: 17px;
}

.sub-heading-art {
  color: #dedede;
  letter-spacing: 1px;
  font-size: 18px;
  font-weight: 600;
  font-family: var(--font-pre);
}


/* Stock badge in fullscreen/off-canvas menu */
.site-header.art-hamburger .main-navigation .primary-nav>li,
.site-header.art-hamburger .main-navigation .primary-nav>li>a {
  overflow: visible;
}

.site-header.art-hamburger .main-navigation .primary-nav>li>a,
.site-header.art-hamburger .main-navigation .primary-nav ul li>a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: auto;
  flex: 0 0 auto;
  max-width: 100%;
}

.site-header.art-hamburger .main-navigation .stock-badge {
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--font-color);
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transform: translateY(2px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 220ms;
  position: relative;
  z-index: 3;
}

.site-header.art-hamburger .main-navigation .stock-badge.stock-yes {
  background: rgba(61, 176, 107, 0.2);
  border-color: rgba(61, 176, 107, 0.55);
}

.site-header.art-hamburger .main-navigation .stock-badge.stock-no {
  background: rgba(210, 80, 80, 0.2);
  border-color: rgba(210, 80, 80, 0.55);
}

.site-header.art-hamburger .main-navigation .primary-nav li>a:hover .stock-badge,
.site-header.art-hamburger .main-navigation .primary-nav li>a:focus-visible .stock-badge {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

/* Restore visible keyboard focus (theme base CSS removes outlines globally) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--theme-color);
  outline-offset: 2px;
}

#site_menu_header .main-brand .custom-logo {
  transition: opacity 220ms ease;
}

#site_menu_header .main-brand .custom-logo.art-logo-fade {
  opacity: 0.12;
}
