#smooth-content {display:flow-root}
.tp-hero-scale-background img, .thumbs img, .tp-hero-slider-active img,
.tp-about-thumb img, .tp-portfolio-thumb img, .hover-image img { object-fit: contain; background: white; }
.hero-film,.hero-film video,.hero-film::after {position:absolute;inset:0;width:100%;height:100%;pointer-events:none;}
.hero-film {background:#222 url("/assets/video/limera-tanitim-poster.jpg") center/cover no-repeat;}
.hero-film video {object-fit:cover;opacity:0;transition:opacity .2s;}
.hero-film video.frame-ready {opacity:1;}
.hero-film::after {content:'';background:rgba(0,0,0,.4);}
.tp-hero-area .tp-hero-scale-background {display:block;}
.tp-hero-area .tp-hero-scale-background .background-img {transition:opacity .32s ease;}
.tp-hero-area .tp-hero-scale-background img {display:block;object-fit:cover;border-radius:0;}
.tp-hero-scale-content {position:relative;z-index:3;}
.tp-hero-area .tp-hero-btn {justify-content:flex-end;flex-wrap:nowrap;}
.tp-hero-area .tp-hero-slider-active {position:relative;z-index:4;}
@media(max-width:767px){.tp-hero-area .tp-btn{padding-inline:14px}.tp-hero-area .tp-hero-btn{gap:8px;}}
@media(prefers-reduced-motion:reduce){.tp-hero-area .tp-hero-scale-background .background-img,.tp-header-area.header-transparent{transition:none;}}
.tp-hero-area.tp-hero-spacing {
  position:relative; isolation:isolate; overflow:hidden;
  margin:var(--home-header-height,92px) auto 0;
  width:calc(100% - 2 * var(--home-slider-inset));
  height:clamp(330px,42vw,590px); padding:clamp(18px,3vw,42px);
  border-radius:20px;
}
.tp-hero-area > .hero-controls {
  position:absolute;z-index:4;bottom:clamp(14px,2vw,28px);left:50%;transform:translateX(-50%);
  width:calc(100% - 2 * clamp(12px,3vw,42px));padding:0;
}
.hero-controls .tp-hero-btn {gap:12px;margin-bottom:14px;}
.hero-controls .tp-hero-slider-active {padding-top:0!important;}
@media(min-width:1200px){.hero-controls .tp-hero-btn {padding-inline-end:12px;margin-bottom:4px;}}
.tp-hero-scale-gallery {position:relative;display:flex;gap:10px;padding:12px;align-items:center;}
.hero-controls a[data-index] {
  position:relative; display:block; overflow:hidden; padding:0; border-radius:12px;
  width:clamp(70px,7vw,100px); aspect-ratio:1; flex:none;
}
.hero-controls a[data-index] > img {
  display:block; width:100%; height:100%; object-fit:cover; object-position:center;
  border-radius:inherit; background:transparent;
}
.hero-tile-shade {
  position:absolute; inset:0; display:grid; place-items:center; pointer-events:none;
  background:rgba(0,0,0,.5); transition:background-color .3s ease;
}
.hero-controls a[data-index] .hero-tile-shade img {
  width:32px; height:32px; object-fit:contain; background:transparent;
  border-radius:0; transition:transform .3s ease;
}
.hero-controls .previewing .hero-tile-shade {background:rgba(0,0,0,.25);}
.hero-controls .previewing .hero-tile-shade img {transform:scale(1.07);}
.tp-hero-scale-background > .background-img::after {
  content:'';position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(to bottom,rgba(0,0,0,.3),rgba(0,0,0,.5) 50%,rgba(0,0,0,.8));
}

/* Home keeps its header above the video. The shared dark palette takes over on scroll. */
.tp-header-area .home-color-logo {display:none}
.tp-header-area:not(.scrolled) .home-color-logo {display:block}
.tp-header-area:not(.scrolled) .home-color-logo + img {display:none}
.tp-header-area.header-transparent:not(.scrolled) {background:#fff}
.tp-header-area:not(.scrolled) :is(.tp-header-right,.tp-main-menu nav > ul > li > a,.tp-main-menu .company-trigger,.menu-icon,.header-catalog svg,.header-language button svg,.quick-search label svg) {color:#262b28}
.tp-header-area:not(.scrolled) .tp-main-menu .has-dropdown:is(:hover,:focus-within) > .company-trigger,
.tp-header-area:not(.scrolled) .tp-main-menu .has-dropdown:is(:hover,:focus-within) > .company-trigger svg {color:white}
.tp-header-area:not(.scrolled) .header-language > button,
.tp-header-area:not(.scrolled) .quick-search label {background:#f7f8f5;color:#28332a;border-color:#dce2d9}
.tp-header-area:not(.scrolled) .quick-search input::placeholder {color:#515b53}
.tp-header-area:not(.scrolled) .quick-search:is(:hover,:focus-within) label {border-color:#7c9e66}
.tp-header-area:not(.scrolled) .tp-header-sidebar-btn {background:#f3f4f1}
.tp-header-area:not(.scrolled) .tp-header-sidebar-btn span {background:#292d2a}
.tp-offcanvas-2-area.menu-open {z-index:91}

/* Match Swiper's centered, looping thumbnail strip before the module starts. */
.hero-controls .tp-hero-slider-active:not(.swiper-initialized) .swiper-wrapper {
  --tile-width:clamp(70px,7vw,100px);
  gap:15px;
  transform:translateX(calc(50% - 4.5 * var(--tile-width) - 60px));
}
.hero-controls .tp-hero-slider-active:not(.swiper-initialized) .swiper-slide:nth-last-child(-n+4) {order:-1}

.home-about-section {padding-top:85px}
@media(max-width:767px){.home-about-section{padding-top:40px}}
.home-story {width:100%;max-width:1780px;margin-inline:auto;padding-inline:calc(var(--home-slider-inset) + 22px)}
.home-story>.row {max-width:1450px}
.home-story>.row {margin-inline:0}
.home-story>.row>div {padding-inline:0}
.home-story-details {display:grid;gap:22px;align-items:start;margin-top:clamp(24px,3vw,42px)}
.home-summary-label {display:block;margin-bottom:22px;color:#507635;font:600 13px/1.4 Montserrat,sans-serif;letter-spacing:.08em}
.home-summary p {margin:0;color:#303631;font:400 15px/1.75 Montserrat,sans-serif}
.home-summary p+p {margin-top:18px}
@media(min-width:1200px){.home-story-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}}
@media(max-width:1199px){.home-story{padding-inline:clamp(12px,5vw,54px)}}
@media(max-width:575px){.home-summary p{font-size:14px}}
.home-categories {--count:2;--card-gap:16px;--peek:.35;margin:32px 0 48px}
@media(min-width:768px){.home-categories{--count:3}}
@media(min-width:1024px){.home-categories{--count:4}}
@media(min-width:1440px){.home-categories{--count:6}}
.home-categories .swiper {
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  overscroll-behavior-x:contain;
  direction:ltr;
}
.home-categories .swiper::-webkit-scrollbar {display:none}
.home-categories .swiper-wrapper {display:flex;height:auto;gap:var(--card-gap)}
.home-categories .swiper-slide {flex:0 0 calc((100% - (var(--count) + 1)*var(--card-gap))/(var(--count) + 2*var(--peek)));position:relative;display:block;overflow:hidden;height:auto;border-radius:16px;aspect-ratio:1;background:#242924}
.home-categories img {width:100%;height:100%;object-fit:cover;transition:transform .3s}
.home-categories a:hover img {transform:scale(1.035)}
.home-categories a span {position:absolute;inset:auto 0 0;padding:28px 12px 12px;background:linear-gradient(transparent,#121812df);color:white;font:600 14px/1.4 Montserrat,sans-serif}
.home-category-controls {display:flex;justify-content:center;gap:10px;margin-top:18px}
.home-category-controls button {display:grid;place-items:center;width:40px;height:40px;border:1px solid #cbd6c9;border-radius:50%;background:white;color:#283028}
.home-category-controls button:is(:hover,:focus-visible){border-color:#79a744;color:#508433}
@media(prefers-reduced-motion:reduce){.home-categories img{transition:none}}


.home-headline-accent { color: #7fb34c }

@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  @supports selector(::highlight(limera-untyped)) {
    .home-headline:not([data-ready]), .home-headline:not([data-ready]) .home-headline-accent { color: transparent }
    .home-headline::highlight(limera-untyped), .home-headline-accent::highlight(limera-untyped) { color: transparent }
  }
}
