:root {
  --lc-navy: #1E3063;
  /* PRIMARY */
  --lc-umber: #824532;
  /* SECONDARY */
  --lc-black: #000;
  --lc-white: #fff;

  --lc-font-h: "Red Rose", serif;
  --lc-font-t: "Encode Sans Expanded", system-ui, sans-serif;

  --lc-radius: 28px;
  --lc-shadow: 0 18px 40px rgba(0, 0, 0, .12);
  --lc-container: 1440px;
  --lc-container-full: 100%;
  --lc-gutter: 30px;
}

html,
body {
  overflow-x: hidden;
}

/* ========== Base ========== */
.lc-home {
  font-family: var(--lc-font-t);
  color: var(--lc-navy);
  background: #fff;
}

.lc-container {
  width: min(var(--lc-container), calc(100% - 40px));
  margin: 0 auto;
}

.lc-section {
  padding: 0;
}

.lc-eyebrow {
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: .85;
  margin: 0 0 14px;
}

.lc-h2 {
  font-family: var(--lc-font-h);
  font-size: 46px;
  line-height: 1.06;
  margin: 0 0 22px;
}

.lc-h2__muted {
  font-weight: 400;
  opacity: .72;
}

.lc-outline {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid rgba(30, 48, 99, .22);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(30, 48, 99, .9);
}

/* Buttons */
.lc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .65);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease, border-color .12s ease;
  will-change: transform;
}

.lc-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, .14);
}

.lc-btn--light {
  background: rgba(255, 255, 255, .92);
  color: var(--lc-navy);
  border-color: transparent;
}

.lc-btn--ghost {
  background: transparent;
  color: #fff;
}

.lc-btn--small {
  padding: 10px 14px;
  background: rgba(255, 255, 255, .92);
  color: var(--lc-navy);
  border: 0;
}

.lc-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(30, 48, 99, .18);
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}

.lc-icon-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, .12);
}

/* ========== HERO ========== */
.lc-hero {
  position: relative;
  min-height: 730px !important;
  background-size: cover;
  background-position: center;
  border-radius: 0 0 42px 42px;
  overflow: hidden;
}

.lc-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 700px at 15% 50%, rgba(0, 0, 0, .58), rgba(0, 0, 0, .08) 55%),
    linear-gradient(90deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .08) 58%);
}

.lc-hero__inner {
  position: relative;
  padding: 150px 0 120px;
  color: #fff;
}

.lc-hero__title {
  font-family: var(--lc-font-h);
  font-size: 56px;
  line-height: 1.04;
  margin: 0 0 16px;
  max-width: 760px;
}

.lc-hero__title span {
  color: #fff;
}

.lc-hero__sub {
  font-size: 16px;
  opacity: .92;
  margin: 0 0 22px;
  max-width: 560px;
}

.lc-hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
section#built-in-value {
    min-height: auto;
}

/* ========== GALLERY (Swiper) ========== */
.lc-gallery__frame {
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--lc-shadow);
}

.lc-gallery__frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

.lc-swiper__nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: -58px;
  position: relative;
  z-index: 3;
}

/* Swiper helpers (buttons overlay feel) */
.lc-swiper .swiper {
  width: 100%;
}

.lc-swiper .swiper-wrapper {
  align-items: stretch;
}

.lc-swiper .swiper-slide {
  height: auto;
}

/* ========== SHOWCASE (2 pills + product image) ========== */
.lc-showcase__grid {
  display: grid;
  gap: 18px;
  place-items: center;
}

.lc-showcase__btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.lc-pill {
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(30, 48, 99, .18);
  color: var(--lc-navy);
  background: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
  transition: transform .12s ease, box-shadow .12s ease;
}

.lc-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, .09);
}

.lc-showcase__img img {
  width: min(760px, 100%);
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .12));
}

/* ========== DOOR CAROUSEL (Swiper centered) ========== */
.lc-doors .swiper-slide {
  display: grid;
  place-items: center;
  opacity: .35;
  transform: scale(.92);
  transition: opacity .18s ease, transform .18s ease;
}

.lc-doors .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

.lc-doors img {
  max-height: 600px;
  width: auto;
  display: block;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .16));
}

.lc-doors__nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

.lc-doors__label {
  text-align: center;
  margin-top: 14px;
}

.lc-doors__code {
  font-family: var(--lc-font-h);
  font-size: 34px;
  letter-spacing: .06em;
}

.lc-doors__name {
  opacity: .8;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .lc-hero__inner {
    padding: 120px 0 100px;
  }

  .lc-hero__title {
    font-size: 44px;
  }

  .lc-value__grid {
    grid-template-columns: 1fr;
  }

  .lc-video-card {
    max-width: 520px;
  }

  .lc-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .lc-section {
    padding: 68px 0;
  }

  .lc-hero {
    min-height: 560px;
    border-radius: 0 0 28px 28px;
  }

  .lc-hero__title {
    font-size: 36px;
  }

  .lc-h2 {
    font-size: 36px;
  }

  .lc-card img {
    height: 280px;
  }

  .lc-card.is-center img {
    height: 320px;
  }

  .lc-gallery__frame img {
    height: 340px;
  }
}


/* =========================
   PRODUCT ADVANTAGES (lc-pa)
   ========================= */

/* reset from lc-selling */
.lc-pa.lc-selling {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
  background: transparent !important;
}

.lc-pa .lc-container {
  max-width: none !important;
  width: min(var(--lc-container-full), calc(100% - (var(--lc-gutter) * 2))) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 30px !important;
  /* block container padding */
  padding-right: 30px !important;
}

/* ===== PRODUCT HIGHLIGHTS TITLE (match design) ===== */
.lc-pa__title {
  margin: 0 0 32px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  justify-content: center;
}

/* "Product" */
.lc-selling__titleMuted {
  font-family: "Encode Sans Expanded", sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 57px;
  letter-spacing: -1.6px;
  position: relative;

  /* gradient text */
  background: linear-gradient(180deg, rgba(116, 124, 153, 0.79) 0%, rgba(39, 41, 51, 1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* yellow underline under "Product" */
.lc-selling__titleMuted::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 72px;
  height: 2px;
  border-radius: 2px;
  background: #FBD784;
}

/* "Highlights" */
.lc-selling__titleStrong {
  font-family: "Red Rose", serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 57px;
  letter-spacing: 0;

  /* gradient text */
  background: linear-gradient(180deg, rgba(32, 42, 77, 1) 0%, rgba(115, 124, 154, 1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Responsive */
@media (max-width: 768px) {
  .lc-pa__title {
    gap: 10px;
    margin-bottom: 22px;
  }

  .lc-selling__titleMuted {
    font-size: 26px;
    line-height: 44px;
  }

  .lc-selling__titleMuted::after {
    bottom: 6px;
    height: 2px;
    width: 3.4em;
  }

  .lc-selling__titleStrong {
    font-size: 38px;
    line-height: 44px;
  }
}

/* Fallback if browser lacks text-clip support */
@supports not (-webkit-background-clip: text) {
  .lc-selling__titleMuted {
    color: #747D9A;
    background: none;
  }

  .lc-selling__titleStrong {
    color: #202A4D;
    background: none;
  }
}


/* force grid to match design */
.lc-pa__cards {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(14px, 2.2vw, 26px) !important;

  align-items: start !important;
  /* IMPORTANT: let tall cards drop downward */
  justify-content: center !important;

  max-width: 1080px;
  /* match design: card cluster not too wide */
  margin: 0 auto !important;

  /* pull cards closer to title (reduce excess whitespace) */
  padding-top: clamp(6px, 1.2vw, 14px);
}

/* card base sizing */
.lc-pa__cards .lc-pa__card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;

  height: clamp(360px, 34vw, 490px) !important;
  background: #0b0b0b;
  transition: transform .35s ease;
}

/* card image */
.lc-pa__cards .lc-pa__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  transform: scale(1.08);
  transition: transform .35s ease, filter .35s ease;
}

/* overlay */
.lc-pa__cards .lc-pa__card::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(to bottom,
      rgba(32, 42, 77, 0.09) 0%,
      rgba(10, 10, 9, 1) 100%); */
  opacity: 1;
  transition: opacity .35s ease, background .35s ease;
}

/* caption */
.lc-pa__cards .lc-pa__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0px;
  z-index: 2;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: clamp(4px, .45vw, 6px);
  color: rgba(255, 255, 254, 1);
  font-family: "Red Rose", serif;
  font-size: clamp(13px, 1.08vw, 18px);
  font-weight: 500;
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.56);
  background: var(--Primary, #202A4D);
  background-image: url('../img/bg-line-pattern.png');

  background-size: cover;
  background-position: center;
  width: 100%;
  padding: 12px 10px;
  justify-content: center !important;
}

.lc-pa__cards .lc-pa__icon {
  flex: 0 0 auto;
}

.lc-pa__cards .lc-pa__text {
  min-width: 0;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

/* cards block: pull closer to title like design */
.lc-pa__cards {
  max-width: none !important;
  width: min(var(--lc-container-full), calc(100% - (var(--lc-gutter) * 2))) !important;
  margin: 0 auto !important;
  gap: clamp(14px, 2.2vw, 26px) !important;

  /* IMPORTANT: cards share one baseline, then use translateY */
  align-items: start !important;

  /* pull up closer to title like original design */
  margin-top: 12px !important;
}

/* Default: equal height, flat (JS adds is-short/is-tall on hover) */
.lc-pa__cards .lc-pa__card {
  --lift: 0px;
  --drop: 0px;
  height: clamp(360px, 34vw, 490px) !important;
  transform: translateY(0);
  border-radius: 12px !important;
  transition: transform .35s ease, box-shadow .35s ease;
}

/* Hover stagger: JS adds these classes on mouseenter */
article.lc-card.lc-pa__card.is-short {
  --lift: clamp(-72px, -3.8vh, -50px);
  transform: translateY(var(--lift));
}

.lc-pa__cards .lc-pa__card.is-tall {
  --drop: clamp(18px, 3.2vh, 32px);
  transform: translateY(var(--drop));
}

article.lc-card.lc-pa__card.is-tall.is-center {
  --drop: clamp(28px, 6.5vh, 60px);
  transform: translateY(var(--drop));
}

/* image + overlay keep as before */
.lc-pa__cards .lc-pa__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: scale(1.08);
  transition: transform .35s ease, filter .35s ease;
}

.lc-pa__cards .lc-pa__card::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(to bottom,
      rgba(32, 42, 77, 0.09) 0%,
      rgba(10, 10, 9, 1) 100%); */
  transition: background .35s ease;
}


/* =========================================================
   PRODUCT HIGHLIGHTS (lc-pa) - Grid like Door Styles
   - Always 4 columns in 1 row (desktop)
   - Not constrained by default lc-container
   ========================================================= */

/* 1) Open dedicated container width for lc-pa section */
.lc-pa .lc-container {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  /* remove theme auto-center */
}

/* 2) Full-width grid + 4 columns */
.lc-pa__cards {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(14px, 2.2vw, 26px) !important;

  align-items: start !important;
  justify-content: stretch !important;
  /* full width */

  /* remove width constraint */
  max-width: none !important;
  margin: 0 !important;

  /* tighter to title */
  padding-top: clamp(6px, 1.2vw, 14px) !important;
}

/* 3) Card base */
.lc-pa__cards .lc-pa__card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;

  height: clamp(360px, 34vw, 490px) !important;
  background: #0b0b0b;
  transition: transform .35s ease;
}

/* 5) Image fills frame */
.lc-pa__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 6) Responsive: keep 4 columns at 1024 per prior requirement */
@media (max-width: 1024px) {
  .lc-pa .lc-container {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .lc-pa__cards {
    gap: clamp(10px, 1.6vw, 18px) !important;
  }

  .lc-pa__cards .lc-pa__card {
    height: clamp(250px, 30vw, 360px) !important;
  }

  .lc-pa__cards .lc-pa__cap {
    font-size: clamp(15px, 1.75vw, 19px);
    padding: clamp(9px, 1vw, 12px);
    gap: clamp(4px, 0.8vw, 8px);
  }

  .lc-pa__cards .lc-pa__icon img {
    width: clamp(12px, 1.3vw, 16px);
    height: clamp(12px, 1.3vw, 16px);
  }
}

@media (max-width: 820px) {
  .lc-pa__cards .lc-pa__card {
    height: clamp(220px, 29vw, 300px) !important;
  }

  .lc-pa__cards .lc-pa__cap {
    font-size: clamp(13px, 1.7vw, 16px);
    padding: 8px 10px;
  }
}

/* 7) Very large screens: keep Door Styles feel (no unbounded scaling) */
@media (min-width: 1800px) {
  .lc-pa__cards {
    max-width: 1760px !important;
    /* soft max-width lock for ultra-wide */
    margin: 0 auto !important;
  }
}


/* BUILT-IN VALUE (Home)
   Markup expects:
   .lc-built__wrap, .lc-built__left, .lc-built__grid, .lc-built__item,
   .lc-built__num, .lc-built__wm, .lc-built__itemTitle, .lc-built__desc,
   .lc-built__footer, .lc-built__line, .lc-built__nav, .lc-built__navBtn,
   .lc-built__media
*/

.lc-built .lc-container {
  max-width: 1200px;
}

.lc-built__wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  padding: 44px 48px;
  overflow: hidden;
}

/* Title */
.lc-built__head {
  margin-bottom: 28px;
}

.lc-built__title {
  margin: 0;
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.lc-built__titleMuted {
  position: relative;
  font-weight: 500;
  background: linear-gradient(180deg, rgba(116, 125, 154, 0.79) 0%, #272A34 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lc-built__titleMuted::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 70%;
  height: 3px;
  border-radius: 99px;
  background: #f2c94c;
}

.lc-built__titleStrong {
  font-weight: 700;
  background: linear-gradient(180deg, #202A4D 0%, #747C9A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 45px;
}

/* Items */
.lc-built__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 44px;
  row-gap: 34px;
}

.lc-built__item {
  position: relative;
  padding: 18px 18px 8px 18px;
  border-radius: 18px;
  min-height: 124px;
}



/* keep title/desc from being pushed down by number frame */
.lc-built__itemTitle {
  padding-top: 56px;
  /* reserve space for number */
}


.lc-built__itemTitle {
  margin: 0;
  padding-top: 38px;
  /* reserve space for number */
  font-size: 24px;
  font-weight: 700;
  color: var(--Primary, #202A4D);
  opacity: 0.8;
}

.lc-built__item:not(.is-active) .lc-built__itemTitle {
  font-weight: 600;
  color: rgba(19, 36, 60, 0.82);
}

.lc-built__desc {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(19, 36, 60, 0.58);
  max-width: 260px;
  font-size: 14px;
  font-weight: 400;
}

.lc-built__item.is-active .lc-built__desc {
  color: #667394;
  font-size: 14px;
  font-weight: 400;
}

/* Footer nav */
.lc-built__footer {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.lc-built__line {
  flex: 1;
  height: 1px;
  background: rgba(19, 36, 60, 0.14);
}

.lc-built__nav {
  display: flex;
  gap: 14px;
}

.lc-built__navBtn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(19, 36, 60, 0.16);
  background: transparent;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #13243c;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lc-built__navBtn:hover {
  background: #868994;
  border-color: rgba(19, 36, 60, 0.22);
  color: #fff;
}

/* Image */
.lc-built__media {
  height: 100%;
  min-height: 360px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(19, 36, 60, 0.18);
}

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

/* Responsive */
@media (max-width: 992px) {
  .lc-built__wrap {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }

  .lc-built__media {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .lc-built__title {
    font-size: 38px;
  }

  .lc-built__grid {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }
}


/* click area */
.lc-built__hit {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

/* default: show watermark (big faint), hide big number */


.lc-built__itemTitle {
  transition: color .25s ease, transform .25s ease, opacity .25s ease;
}

.lc-built__desc {
  transition: color .25s ease, transform .25s ease, opacity .25s ease;
}

/* active: show big number center-top, hide watermark */



.lc-built__item.is-active .lc-built__itemTitle {
  color: var(--Primary, #202A4D);
  transform: translateY(-2px);
  font-size: 24px;
}

.lc-built__item.is-active .lc-built__desc {
  color: rgba(19, 36, 60, .62);
}

/* content fade when switching */
.lc-built__item.is-switching .lc-built__itemTitle,
.lc-built__item.is-switching .lc-built__desc {
  opacity: 0;
  transform: translateY(6px);
}

/* right image fade */
.lc-built__media {
  position: relative;
}

.lc-built__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .25s ease, transform .35s ease;
}

.lc-built__img.is-fadeout {
  opacity: 0;
  transform: scale(1.02);
}

.lc-built__item.is-active .lc-numDot {
  animation: lcDotPop .35s ease;
}

@keyframes lcDotPop {
  0% {
    transform: scale(.6);
    opacity: 0;
  }

  60% {
    transform: scale(1.08);
    opacity: 1;
  }

  100% {
    transform: scale(1);
  }
}



/* ===== Built-in Value: Unified Number (watermark + active) ===== */

/* number wrapper: ALWAYS VISIBLE so watermark shows */
.lc-built__num {
  position: absolute;
  left: 18px;
  top: 12px;
  width: 180px;
  height: 120px;
  pointer-events: none;
  z-index: 1;
}

.lc-numSvg {
  width: 100%;
  height: 100%;
  display: block;
}

/* base stroke */
.lc-numStroke {
  font-family: "Red Rose", serif;
  font-weight: 400;
  font-size: 96px;
  fill: transparent;
  stroke-width: 3px;
  paint-order: stroke;
}

/* watermark layer (inactive) */
.lc-numStroke--wm {
  fill: #202A4D !important;
  opacity: .10 !important;
  stroke: none !important;
  transition: opacity .25s ease;
}

/* active layer */
.lc-numStroke--active {
  stroke: rgba(32, 42, 77, 0.52);
  opacity: 0;
  transform: translateY(10px);
  transform-origin: left bottom;
  transition: opacity .25s ease, transform .25s ease;
}

/* dot (only visible when active) */
.lc-numDot {
  position: absolute;
  left: 14px;
  top: 58px;
  width: 24px;
  height: 22px;
  border-radius: 999px;
  background: rgba(32, 42, 77, 0.52);
  opacity: 0;
  transform: scale(.85);
  transition: opacity .25s ease, transform .25s ease;
}

/* toggle active */
.lc-built__item.is-active .lc-numStroke--wm {
  opacity: 0;
}

.lc-built__item.is-active .lc-numStroke--active {
  opacity: 1;
  fill: #202A4D;
}

.lc-built__item.is-active .lc-numDot {
  opacity: 1;
  transform: scale(1);
  animation: lcDotPop .35s ease;
}

@keyframes lcDotPop {
  0% {
    transform: scale(.6);
    opacity: 0;
  }

  60% {
    transform: scale(1.08);
    opacity: 1;
  }

  100% {
    transform: scale(1);
  }
}

/* === FIX spacing between number and text === */

/* reserve space for number via click container */
.lc-built__hit {
  position: relative;
  display: block;
  padding-top: 88px;
  /* tune between 80-96 as needed */
}

/* clear title padding-top to avoid stacking */
.lc-built__itemTitle {
  padding-top: 0 !important;
}

/* number position refined (push slightly higher) */
.lc-built__num {
  top: 12px !important;
  left: 18px !important;
  width: 180px;
  height: 110px;
  /* reduce height so number does not overlap text */
}

/* if title still hits number, bump line-height/spacing slightly */
.lc-built__itemTitle {
  margin-top: 4vh;
}

/* FIX number alignment with text column */
.lc-built__item {
  --content-pad-left: 0px;
  /* match card padding-left */
}

.lc-built__hit {
  padding-left: var(--content-pad-left);
  padding-right: 18px;
}

/* number aligns to same left edge as title */
.lc-built__num {
  left: var(--content-pad-left) !important;
  top: 12px !important;
}

/* if SVG has left whitespace, nudge text back slightly */
.lc-numStroke {
  dominant-baseline: alphabetic;
  transform: translateX(-10px);
}

/* Keep title on one line like design */
.lc-built__itemTitle {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* if too long, ellipsis instead of wrapping */
}

/* Scale font by viewport to still fit 2 columns */
.lc-built__itemTitle {
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.15;
}

/* If still wraps from narrow columns -> force reasonable min width */
.lc-built__grid {
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  column-gap: clamp(18px, 3vw, 48px);
  row-gap: clamp(22px, 3.2vw, 54px);
}

/* Very small screens: switch to 1 column (no need to force wrap) */
@media (max-width: 560px) {
  .lc-built__grid {
    grid-template-columns: 1fr;
  }

  .lc-built__itemTitle {
    white-space: normal;
    /* 1 column: allow wrap again to avoid ellipsis */
    overflow: visible;
    text-overflow: unset;
  }
}

@media (max-width: 1024px) {
  .lc-built__itemTitle {
    font-size: clamp(16px, 2.5vw, 22px) !important;
  }
}

/* =========================
   CTA - Ready to partner...
   Markup:
   .lc-section.lc-cta
   .lc-cta__title .lc-h2__muted img
   .lc-cta__grid .lc-tile img .lc-tile__overlay .lc-tile__title .lc-btn
   ========================= */

.lc-section.lc-cta {
  padding: 50px 0;
  background: #fff;
}

.lc-cta .lc-container {
  max-width: none !important;
  width: min(var(--lc-container-full), calc(100% - (var(--lc-gutter) * 2))) !important;
  margin-left: auto !important;
  margin-right: auto !important;

  padding-left: 30px !important;
  /* block padding 0 10px */
  padding-right: 30px !important;
}

/* ---------- Title row (text + logo) ---------- */
.lc-cta__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin: 0 0 24px;
  font-family: "Red Rose", serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 57px;
  letter-spacing: -0.02em;
  text-align: center;
  /* gradient text */
  background: linear-gradient(180deg, rgba(116, 124, 153, 0.79) 0%, rgba(39, 41, 51, 1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* muted text + small yellow underline like design */
.lc-cta__title .lc-h2__muted {
  position: relative;
  font-family: "Encode Sans Expanded", sans-serif;
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -1.6px;
  background: linear-gradient(180deg, rgba(116, 124, 153, 0.79) 0%, rgba(39, 41, 51, 1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.lc-cta__title .lc-h2__muted::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 72px;
  height: 2px;
  border-radius: 999px;
  background: #FBD784;
}

/* logo inline */
.lc-cta__title img {
  height: 44px;
  width: auto;
  display: inline-block;
  transform: translateY(1px);
}

/* mobile: stack title for cleaner layout */
@media (max-width: 700px) {
  .lc-cta__title {
    flex-direction: column;
    gap: 10px;
  }

  .lc-cta__title .lc-h2__muted {
    white-space: normal;
  }

  .lc-cta__title .lc-h2__muted::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ---------- Grid 2 cards ---------- */
.lc-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 980px) {
  .lc-cta__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ---------- Tile card ---------- */
.lc-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: transparent;
}

/* image box */
.lc-tile>img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.10);
}

@media (max-width: 980px) {
  .lc-tile>img {
    height: 260px;
  }
}

/* footer content under image (NOT overlay) */
.lc-tile__overlay {
  position: static;
  /* ensure not overlay */
  padding: 18px 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* title under image */
.lc-tile__title {
  font-family: "Red Rose", serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.25;
  color: #202A4D;
  text-align: center;
}

/* button pill like design */
.lc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: "Encode Sans Expanded", sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #6b7a99;
  background: #fff;
  border: 1px solid rgba(107, 122, 153, 0.28);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.lc-btn--small {
  padding: 0 18px;
}

/* subtle hover like design */
.lc-tile:hover>img {
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.14);
}

.lc-tile:hover .lc-btn {
  border-color: rgba(107, 122, 153, 0.40);
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.10);
  transform: translateY(-1px);
}

/* ===== CTA Button (Figma: filled navy pill) ===== */
.lc-cta .lc-btn.lc-btn--small {
  padding: 12px 16px;
  border-radius: 120px;

  background: #202A4D;
  border: 1px solid #202A4D;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;

  font-family: "Encode Sans Expanded", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;

  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

/* default: white text on navy */
.lc-cta .lc-btn__get {
  font-weight: 500;
  color: #fff;
}

.lc-cta .lc-btn__started {
  font-weight: 500;
  color: #fff;
}

/* hover: lighten slightly */
.lc-cta .lc-tile:hover .lc-btn.lc-btn--small,
.lc-cta .lc-btn.lc-btn--small:focus,
.lc-cta .lc-btn.lc-btn--small:focus-visible {
  background: #1b2a57;
  border-color: #1b2a57;
  transform: translateY(-1px);
}

.lc-cta .lc-tile:hover .lc-btn__get,
.lc-cta .lc-tile:hover .lc-btn__started,
.lc-cta .lc-btn.lc-btn--small:focus .lc-btn__get,
.lc-cta .lc-btn.lc-btn--small:focus .lc-btn__started,
.lc-cta .lc-btn.lc-btn--small:focus-visible .lc-btn__get,
.lc-cta .lc-btn.lc-btn--small:focus-visible .lc-btn__started {
  color: #fff;
}

/* focus ring */
.lc-cta .lc-btn.lc-btn--small:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(27, 42, 87, .18);
}

/* =========================================================
   DOOR STYLES (Home) - Full CSS (layout + spacing like design)
   - Animation handled by JS (smooth dancing like video)
   ========================================================= */

.lc-doorstyles {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 5.2vw, 68px) 0 clamp(56px, 6.2vw, 84px);
  background: transparent;
}

/* soft background glow like design */
.lc-doorstyles::before,
.lc-doorstyles::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(64px);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}

.lc-doorstyles::before {
  left: -240px;
  top: -260px;
  /* background: radial-gradient(circle at 40% 40%, rgba(236, 210, 168, .9), rgba(236, 210, 168, 0) 60%); */
}

.lc-doorstyles::after {
  right: -260px;
  bottom: -280px;
  /* background: radial-gradient(circle at 50% 50%, rgba(214, 224, 235, .9), rgba(214, 224, 235, 0) 62%); */
}

.lc-doorstyles .lc-container {
  position: relative;
  z-index: 1;
  max-width: none !important;
  width: min(var(--lc-container-full), calc(100% - (var(--lc-gutter) * 2))) !important;
}

/* -------------------------
   Title
   ------------------------- */
.lc-doorstyles__head {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.lc-doorstyles__title {
  margin: 0;
  display: flex;
  align-items: center;
  /* align to line-height 57 */
  gap: 18px;
  /* gap between Kitchen & Gallery */
  line-height: 57px;
  /* design */
}

/* Door */
.lc-doorstyles__door {
  position: relative;
  font-family: "Encode Sans Expanded", system-ui, sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 57px;
  letter-spacing: -0.05em;
  /* -5% */
  display: inline-block;

  /* gradient text */
  background: linear-gradient(180deg, rgba(116, 125, 154, 0.79) 0%, #272A34 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* yellow underline under Kitchen */
.lc-doorstyles__door::after {
  content: "";
  position: absolute;
  left: 0px;
  /* match image */
  bottom: -2px;
  width: 75px;
  /* tweak 110-130 to match */
  height: 3px;
  border-radius: 999px;
  background: #E3C263;
  /* soft yellow like design */
  opacity: 0.95;
}

/* Styles */
.lc-doorstyles__style {
  font-family: "Red Rose", serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 57px;
  letter-spacing: 0;
  display: inline-block;

  /* gradient text */
  background: linear-gradient(180deg, #202A4D 0%, #747C9A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Responsive */
@media (max-width: 768px) {
  .lc-doorstyles__title {
    gap: 12px;
    line-height: 44px;
  }

  .lc-doorstyles__door {
    font-size: 24px;
    line-height: 44px;
  }

  .lc-doorstyles__style {
    font-size: 34px;
    line-height: 44px;
  }

  .lc-doorstyles__door::after {
    left: 6px;
    bottom: -6px;
    width: 92px;
    height: 3px;
  }
}

/* -------------------------
   Grid
   ------------------------- */
.lc-doorstyles__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 34px);
  align-items: end;

  /* breathing room below like design */
  padding-top: clamp(6px, .8vw, 10px);
}

@media (max-width: 1024px) {
  .lc-doorstyles__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 540px) {
  .lc-doorstyles__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* -------------------------
   Item
   ------------------------- */
.lc-doorstyles__item {
  text-align: center;
}

/* text above image */

.lc-doorstyles__name {
  font-family: "Encode Sans Expanded", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  background: linear-gradient(90.5deg, #393838 0.41%, #747C9A 99.59%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

}

.lc-doorstyles__code {
  margin-top: 2px;
  font-family: "Encode Sans Expanded", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .10em;
  background: linear-gradient(180deg, #202A4D 0%, #747C9A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

/* -------------------------
   Image frame
   ------------------------- */
.lc-doorstyles__frame {
  margin: 0;
  position: relative;

  /* help 4 door panels share one baseline */
  display: flex;
  align-items: flex-end;
  justify-content: center;

  /* limit layout shift while images load */
  min-height: clamp(320px, 34vw, 520px);
}

/* image */
.lc-doorstyles__img {
  width: 100%;
  height: auto;
  display: block;

  /* performance for JS transform */
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;

  /* shadow like design */
  filter:
    drop-shadow(0 18px 16px rgba(0, 0, 0, .10)) drop-shadow(0 7px 10px rgba(0, 0, 0, .08));
}

/* lighter on mobile */
@media (max-width: 540px) {
  .lc-doorstyles__img {
    filter:
      drop-shadow(0 14px 14px rgba(0, 0, 0, .10)) drop-shadow(0 6px 8px rgba(0, 0, 0, .08));
  }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .lc-doorstyles__img {
    will-change: auto;
    transform: none;
  }
}


/* =========================
   DOOR STYLES - FIX sizing like Figma (344w + padding 16)
   ========================= */

.lc-doorstyles {
  padding: 56px 0 64px;
  /* match design feel */
  padding-bottom: 0px !important;
}

/* Container should be moderate, not too wide */
.lc-doorstyles .lc-container {
  max-width: 1320px;
  /* enough for 4x 344px cards + gap */
}

/* GRID: fixed 344px columns like design */
.lc-doorstyles__grid {
  display: grid;
  grid-template-columns: repeat(4, 344px);
  justify-content: center;
  /* center the whole row */
  column-gap: 32px;
  /* adjust if you want wider */
  row-gap: 28px;
  align-items: end;
}

/* ITEM: exact padding 16 like Figma */
.lc-doorstyles__item {
  padding: 16px;
  box-sizing: border-box;
  text-align: center;
}

/* Meta text: 270px area (hug) */
.lc-doorstyles__meta {
  /* width: 270px; */
  margin: 0 auto 10px;
}

/* Frame: no forced min-height (avoids oversized/skewed images) */
.lc-doorstyles__frame {
  margin: 0;
  width: 100%;
}

/* Image always fits 344px frame (minus padding) */
.lc-doorstyles__img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .lc-doorstyles__grid {
    grid-template-columns: repeat(2, 344px);
    column-gap: 28px;
  }
}

@media (max-width: 768px) {
  .lc-doorstyles__grid {
    grid-template-columns: 1fr;
    /* 1 column */
  }

  .lc-doorstyles__item {
    max-width: 344px;
    /* keep correct frame size */
    margin: 0 auto;
  }

  .lc-doorstyles__meta {
    width: min(270px, 100%);
  }
}


/* =========================================================
   DOOR STYLES - Responsive for 1024 / 1440 / >1440
   - Always 4 items / 1 row
   - Do not hard-fix lc-doorstyles__img size
   ========================================================= */

.lc-doorstyles {
  padding-bottom: clamp(44px, 4.8vw, 64px) 0 clamp(52px, 5.6vw, 82px);
}

/* grid: always 4 cols, but cap total width so large screens do not overscale */
.lc-doorstyles__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  /* ALWAYS 4 columns */
  column-gap: clamp(14px, 2vw, 34px);
  row-gap: clamp(18px, 2.2vw, 30px);
  align-items: end;

  /* important: keep design size at 1440+ */
  max-width: 1440px;
  margin: 0 auto;
}

/* item padding like design, lightly fluid by breakpoint */
.lc-doorstyles__item {
  box-sizing: border-box;
  padding: clamp(12px, 1.2vw, 16px);
  text-align: center;
}

/* meta: not hard-fixed, but capped to match design text frame */
.lc-doorstyles__meta {
  max-width: 270px;
  margin: 0 auto clamp(8px, 2vw, 16px);
}

/* frame: no forced min-height; image self-fits to column */
.lc-doorstyles__frame {
  margin: 0;
}

/* img: no fixed size — just fill the card */
.lc-doorstyles__img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   Fine-tune for 1024
   (still 4 columns, but tighter gap/padding)
   ========================= */
@media (max-width: 1024px) {
  .lc-doorstyles__grid {
    column-gap: 18px;
  }

  .lc-doorstyles__item {
    padding: 12px;
  }
}


/* ===== Door styles grid: wider on large screens, less side margin ===== */

.lc-doorstyles .lc-container {
  /* wider container to reduce side emptiness */
  max-width: 1720px;
}

.lc-doorstyles__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(14px, 2vw, 34px);
  row-gap: clamp(18px, 2.2vw, 30px);
  align-items: end;

  /* Key: grid expands with viewport instead of locking to 1440 */
  max-width: min(1680px, 100%);
  margin: 0 auto;
}

/* Fine tune for ultra-wide (>=1600) to reduce emptiness */
@media (min-width: 1600px) {
  .lc-doorstyles__grid {
    max-width: 1680px;
    /* or 1600px if you want tighter */
    column-gap: 34px;
  }
}

/* =========================================================
   DOOR STYLES - Align title with doors (esp. 1024px)
   ========================================================= */

/* Use same frame as grid so title stays aligned */
.lc-doorstyles__title {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

/* 1024px: title aligns to grid width and padding */
@media (max-width: 1024px) {

  /* Give title same horizontal padding as section container */
  .lc-doorstyles__title {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Sync grid padding with title (if grid is full-width) */
  .lc-doorstyles__grid {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Important: avoid inline-flex shrinking the title cluster */
  .lc-doorstyles__title {
    display: flex;
    justify-content: center;
  }
}

/* item motion: enable GPU + stable paint */
.lc-doorstyles__item {
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

/* text: force stable rendering */
.lc-doorstyles__meta,
.lc-doorstyles__name,
.lc-doorstyles__code {
  transform: translateZ(0);
  /* own compositing layer */
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.lc-doorstyles::after {
  right: -180px;
  /* reduce negative offset */
  bottom: -180px;
}

.lc-doorstyles::before {
  left: -160px;
  top: -160px;
}


/* =========================
   DOOR STYLES - Hover zoom per door (keep dancing)
   ========================= */

/* ensure each item can rise above others on hover */
.lc-doorstyles__item {
  position: relative;
  z-index: 1;
}

/* frame gets own layer for smooth scale */
.lc-doorstyles__frame {
  position: relative;
  transform: translateZ(0);
}

/* image: default */
.lc-doorstyles__img {
  transform: translateZ(0) scale(1);
  transform-origin: center bottom;
  /* zoom from bottom upward like lifting the door */
  transition: transform .35s cubic-bezier(.22, .85, .25, 1), filter .35s ease;
}

/* =========================
   Door Styles - zoom without covering title/meta
   ========================= */

/* meta always stays on top */
.lc-doorstyles__meta {
  position: relative;
  z-index: 5;
}

/* frame under meta with padding so zoom does not collide */
.lc-doorstyles__frame {
  position: relative;
  z-index: 1;
}

/* ensure item allows z-index stacking */
.lc-doorstyles__item {
  position: relative;
  z-index: 1;
}


/* image zoom: prefer scale from bottom up */
.lc-doorstyles__img {
  transform-origin: center bottom;
}


/* =========================================================
   Door Styles - Hover Card BG exactly like design
   (padding 16, radius 16, subtle border + soft shadow + gradient)
   ========================================================= */

.lc-doorstyles__item {
  position: relative;
  z-index: 1;
}


/* meta + frame sit above background */
.lc-doorstyles__meta,
.lc-doorstyles__frame {
  position: relative;
  z-index: 2;
}

/* =========================
   Door image hover: raise up without breaking dance
   ========================= */
.lc-doorstyles__img {
  transform-origin: center bottom;
  transition: transform .35s cubic-bezier(.22, .85, .25, 1), filter .35s ease;
}


/* =========================
   Fix: background card too small
   ========================= */

/* use padding to give content breathing room */
.lc-doorstyles__item {
  padding: 16px;
  /* like design */
  box-sizing: border-box;
}

/* =========================================================
   Door Styles - Full card BG + correct light/dark vignette effect
   ========================================================= */

/* item has design padding (content inset 16) */
.lc-doorstyles__item {
  position: relative;
  padding: 16px;
  /* design */
  box-sizing: border-box;
  border-radius: 20px;
  /* feel closer to Figma than 16 */
}

/* card background covers FULL like design */
.lc-doorstyles__item::before {
  content: "";
  position: absolute;
  inset: 0;
  /* FULL card */

  /* Soft border + shadow like design */
  box-shadow:
    0 30px 70px rgba(0, 0, 0, .12),
    0 10px 24px rgba(0, 0, 0, .10);

  opacity: 0;
  transform: translate3d(0, 10px, 0) scale(.985);
  transition:
    opacity .22s ease,
    transform .35s cubic-bezier(.22, .85, .25, 1),
    filter .25s ease;

  z-index: 0;
  pointer-events: none;
}

/* meta + frame sit above background */
.lc-doorstyles__meta,
.lc-doorstyles__frame {
  position: relative;
  z-index: 2;
}


/* =========================
   Door Styles - BG bleed to fill grid cell (look bigger)
   ========================= */

.lc-doorstyles__item {
  position: relative;
  z-index: 1;
  padding: 16px;
  /* keep content padding */
  box-sizing: border-box;
}


/* content sits above BG */
.lc-doorstyles__meta,
.lc-doorstyles__frame {
  position: relative;
  z-index: 2;
}

/* =========================
   Door Styles - Fix layout @1024px (4 items / row)
   ========================= */

@media (min-width: 1024px) and (max-width: 1439px) {

  /* grid: still 4 cols but avoid forcing too small */
  .lc-doorstyles__grid {
    grid-template-columns: repeat(4, minmax(220px, 1fr)) !important;
    gap: clamp(16px, 2vw, 26px) !important;
    align-items: start;
  }

  /* item: allow overflow so hover is not clipped */
  .lc-doorstyles__item {
    overflow: visible;
  }

  /* meta: fixed meta area so it does not overlap frame */
  .lc-doorstyles__meta {
    min-height: 72px;
    /* enough for name + code */
    padding: 8px 0 10px;
  }

  /* frame: LOCK door aspect ratio => height does not collapse */
  .lc-doorstyles__frame {
    width: 100%;
    aspect-ratio: 3 / 5.2;
    /* near door ratio (depends on image) */
    height: auto !important;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  /* img fills frame correctly */
  .lc-doorstyles__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* important: avoid crop/skew */
    display: block;
  }
}

/* keep grid from jumping when cards drop */
.lc-doorstyles__grid {
  align-items: start;
}

/* default state: all static */
.lc-doorstyles__frame {
  transform: translateY(0);
  transition: transform .55s cubic-bezier(.2, .85, .2, 1);
  will-change: transform;
}

/* Default: static */
.lc-doorstyles__item {
  transform: translateY(0);
  transition: transform .55s cubic-bezier(.2, .85, .2, 1);
  will-change: transform;
}

/* Hover section: items 2 & 4 drop down 30% */
.lc-doorstyles:hover .lc-doorstyles__item[data-door-idx="1"],
.lc-doorstyles:hover .lc-doorstyles__item[data-door-idx="3"] {
  transform: translateY(20%);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .lc-doorstyles__item {
    transition: none !important;
  }
}

.lc-doorstyles__grid {
  margin-bottom: 8vw;
}

/* or 60px */

/* =========================
   Home Door Styles - match product shadow treatment
   ========================= */
.lc-home .lc-doorstyles__item {
  isolation: isolate;
}

.lc-home .lc-doorstyles__frame {
  overflow: visible;
}

.lc-home .lc-doorstyles__frame::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 16%;
  bottom: 3%;
  z-index: 0;
  pointer-events: none;
  border-radius: 28px;
  background: radial-gradient(70% 76% at 50% 36%,
      rgba(94, 106, 136, .22) 0%,
      rgba(94, 106, 136, .10) 46%,
      rgba(94, 106, 136, 0) 100%);
  filter: blur(16px);
  opacity: .78;
  transition: opacity .28s ease, transform .35s cubic-bezier(.22, .85, .25, 1);
  transform: translateY(6px) scale(.985);
}

.lc-home .lc-doorstyles__img {
  position: relative;
  z-index: 1;
  filter:
    drop-shadow(0 1px .8px rgba(91, 103, 130, .42))
    drop-shadow(0 14px 12px rgba(0, 0, 0, .10))
    drop-shadow(0 28px 28px rgba(0, 0, 0, .10));
}

.lc-home .lc-doorstyles__item:hover .lc-doorstyles__frame::before,
.lc-home .lc-doorstyles__item.is-hovered .lc-doorstyles__frame::before {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lc-home .lc-doorstyles__item:hover .lc-doorstyles__img,
.lc-home .lc-doorstyles__item.is-hovered .lc-doorstyles__img {
  filter:
    drop-shadow(0 1px 1px rgba(91, 103, 130, .50))
    drop-shadow(0 20px 16px rgba(0, 0, 0, .13))
    drop-shadow(0 34px 34px rgba(0, 0, 0, .12));
}

@media (max-width: 768px) {
  .lc-home .lc-doorstyles__frame::before {
    left: 10%;
    right: 10%;
    top: 20%;
    filter: blur(12px);
    opacity: .68;
  }
}



/* BUILT-IN VALUE: smoother crossfade */
.lc-built__media {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  /* per design */
  background: #e9eaee;
  /* placeholder bg to avoid flash */
  transform: translateZ(0);
  /* GPU hint */
  contain: paint;
  /* reduce wider repaint area */
}

.lc-built__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transform: translateZ(0) scale(1.015);
  transition:
    opacity 620ms cubic-bezier(.22, .61, .36, 1),
    transform 820ms cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
  pointer-events: none;
}

.lc-built__media img.is-current {
  opacity: 1;
  transform: translateZ(0) scale(1);
  z-index: 1;
}

.lc-built__media img.is-next {
  opacity: 1;
  transform: translateZ(0) scale(1);
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .lc-built__media img {
    transition: none;
    transform: none;
  }
}