/* projects css updated */
/* =====================================================================
   LE DEKO — PROJECTS / FOLDER SYSTEM
   ---------------------------------------------------------------------
   Powers:
     projects.html            (collection switch + folder cards)
     project-details.html     (folder explorer + lightbox)
     residential-interior-design.html  }  folder slider
     commercial-interior-design.html   }

   Everything is namespaced with .ld- so it cannot clash with the theme.
   ===================================================================== */

:root {
    --tl-ff-body: "Golos Text", sans-serif;
  --tl-ff-heading: "Cal Sans", serif;
  --tl-ff-p: "Golos Text", sans-serif;
  --tl-fw-normal: normal;
  --tl-fw-thin: 100;
  --tl-fw-elight: 200;
  --tl-fw-light: 300;
  --tl-fw-regular: 400;
  --tl-fw-medium: 500;
  --tl-fw-sbold: 600;
  --tl-fw-bold: 700;
  --tl-fw-ebold: 800;
  --tl-fw-black: 900;
  --tl-fs-body: 16px;
  --tl-fs-p: 16px;
  --tl-fs-p-bold: 20px;
  --tl-fs-h1: 80px;
  --tl-fs-h2: 60px;
  --tl-fs-h3: 50px;
  --tl-fs-h4: 40px;
  --tl-fs-h5: 30px;
  --tl-fs-h6: 20px;
  --ld-ink: #0a0a0b;
  --ld-white: #fff;
  --ld-ink-2: #121214;
  --ld-ink-3: #1b1b1f;
  --ld-line: rgba(255, 255, 255, 0.1);
  --ld-line-strong: rgba(255, 255, 255, 0.22);
  --ld-text: #f4f2ef;
  --ld-muted: rgba(244, 242, 239, 0.56);
  --ld-faint: rgba(244, 242, 239, 0.34);
  --ld-gold: #d3c8ab;
  --ld-gold-soft: #d3c8ab;
  --ld-radius: 18px;
  --ld-radius-sm: 12px;
  --ld-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ld-ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --ld-shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.75);
  --ld-pink: #910e3b;
    --f-display:"Archivo","Arial Narrow",system-ui,sans-serif;
  --f-body:"Hanken Grotesk",system-ui,-apple-system,sans-serif;
}

/* ---------------------------------------------------------------
   Shared primitives
   --------------------------------------------------------------- */
.ld-section {
  position: relative;
  background: var(--ld-white);
  color: var(--ld-text);
  overflow: hidden;
}
.ld-section::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background:
    radial-gradient(900px 420px at 12% -8%, rgba(201, 162, 39, 0.14), transparent 62%),
    radial-gradient(760px 420px at 92% 108%, rgba(201, 162, 39, 0.08), transparent 60%); */
  pointer-events: none;
}
.ld-section > .container,
.ld-section > .ld-container {
  position: relative;
  z-index: 1;
}

.ld-container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
}

.ld-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ld-gold-soft);
  margin: 0 0 18px;
  display: none;
}
.ld-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.ld-title {
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ld-ink);    
  font-weight: 400;
  display: inline-block;
  margin-bottom: 0;
  text-transform: capitalize;
  position: relative;
  overflow: visible;
  font-family: var(--bs-font-sans-serif) !important;
  font-size: 40px !important;
}
.ld-title span {
  /* font-style: italic; */
  color: var(--ld-pink);
}

.ld-lead {
  margin: 18px 0 0;
  /* max-width: 62ch;
  font-size: 16px; */
  line-height: 1.75;
  color: var(--ld-ink);
}

.ld-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 48px;
}
.ld-head__left {
  flex: 1 1 420px;
  min-width: 0;
}
.ld-head__right {
  flex: 0 0 auto;
}

.ld-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 13px 22px;
    border: 1px solid var(--ld-pink);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ld-ink);
    white-space: nowrap;
}
.ld-count-pill i {
  color: var(--ld-pink);
  font-size: 13px;
}

/* scroll reveal ------------------------------------------------- */
.ld-reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 0.9s var(--ld-ease), transform 0.9s var(--ld-ease);
  transition-delay: var(--ld-delay, 0ms);
  will-change: opacity, transform;
}
.ld-reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .ld-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  * {
    scroll-behavior: auto !important;
  }
}

/* buttons -------------------------------------------------------- */
.ld-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 28px;
  border: 1px solid var(--ld-line-strong);
  border-radius: 999px;
  background: var(--ld-pink);
  color: var(--ld-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.45s var(--ld-ease), border-color 0.45s var(--ld-ease);
  text-decoration: none;
}
.ld-btn span {
  position: relative;
  z-index: 1;
}
.ld-btn i {
  position: relative;
  z-index: 1;
  font-size: 12px;
  transition: transform 0.45s var(--ld-ease);
}
.ld-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ld-gold);
  transform: translate3d(0, 101%, 0);
  transition: transform 0.55s var(--ld-ease);
}
.ld-btn:hover,
.ld-btn:focus-visible {
  color: #140f00;
  border-color: var(--ld-gold);
}
.ld-btn:hover::after,
.ld-btn:focus-visible::after {
  transform: translate3d(0, 0, 0);
}
.ld-btn:hover i {
  transform: translate3d(5px, 0, 0);
}
.ld-btn--solid {
  background: var(--ld-gold);
  border-color: var(--ld-gold);
  color: #140f00;
}
.ld-btn--solid::after {
  background: #fff;
}

/* =====================================================================
   1. COLLECTION SWITCH  (the two buttons on projects.html)
   ===================================================================== */
.ld-collections {
  padding: 0 0 64px;
}
.ld-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.ld-switch__btn {
  position: relative;
  display: block;
  width: 100%;
  min-height: 190px;
  padding: 30px 32px;
  text-align: left;
  border: 1px solid var(--ld-line);
  border-radius: var(--ld-radius);
  background: var(--ld-ink-2);
  color: var(--ld-text);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.6s var(--ld-ease), transform 0.6s var(--ld-ease);
}
.ld-switch__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.26;
  transform: scale(1.06);
  transition: opacity 0.8s var(--ld-ease), transform 1.2s var(--ld-ease);
  z-index: -2;
}
.ld-switch__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(10, 10, 11, 0.94) 18%, rgba(10, 10, 11, 0.5) 100%);
  z-index: -1;
  transition: opacity 0.6s var(--ld-ease);
}
.ld-switch__btn:hover {
  border-color: var(--ld-line-strong);
  transform: translate3d(0, -4px, 0);
}
.ld-switch__btn:hover .ld-switch__bg {
  opacity: 0.4;
  transform: scale(1);
}
.ld-switch__btn.is-active {
  border-color: var(----ld-gold);
}
.ld-switch__btn.is-active .ld-switch__bg {
  opacity: 0.44;
  transform: scale(1);
}
.ld-switch__index {
  display: block;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ld-gold-soft);
  margin-bottom: 14px;
}
.ld-switch__name {
  display: block;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.ld-switch__tag {
  display: block;
  font-size: 14px;
  color: var(--ld-muted);
  max-width: 34ch;
}
.ld-switch__count {
  position: absolute;
  top: 26px;
  right: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 10px;
  border: 1px solid var(--ld-line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ld-text);
  transition: background 0.5s var(--ld-ease), color 0.5s var(--ld-ease),
    border-color 0.5s var(--ld-ease);
}
.ld-switch__btn.is-active .ld-switch__count {
  background: var(--ld-gold);
  border-color: var(--ld-gold);
  color: #140f00;
}
.ld-switch__cta {
  position: absolute;
  left: 32px;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ld-faint);
  transition: color 0.5s var(--ld-ease), transform 0.5s var(--ld-ease);
}
.ld-switch__btn:hover .ld-switch__cta,
.ld-switch__btn.is-active .ld-switch__cta {
  color: var(--ld-gold-soft);
  transform: translate3d(4px, 0, 0);
}
.ld-switch__btn {
  padding-bottom: 72px;
}

@media (max-width: 767px) {
  .ld-switch {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ld-switch__btn {
    min-height: 150px;
    padding: 24px 22px 62px;
  }
  .ld-switch__cta {
    left: 22px;
    bottom: 22px;
  }
  .ld-switch__count {
    top: 20px;
    right: 20px;
    min-width: 40px;
    height: 40px;
  }
}

/* active collection intro line */
.ld-collection-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 40px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--ld-line);
  color: var(--ld-muted);
  font-size: 15px;
  line-height: 1.6;
  display: none;
}
.ld-collection-note i {
  color: var(--ld-gold-soft);
  font-size: 15px;
}

/* =====================================================================
   2. FOLDER CARD  (shared: grid + slider)
   ===================================================================== */
.ld-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 16px;
}
@media (max-width: 1199px) {
  .ld-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}
@media (max-width: 639px) {
  .ld-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

.ld-folder {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  padding-top: 26px; /* room for the sheets to slide out */
  outline: none;
}
.ld-folder:focus-visible .ld-folder__body {
  border-color: var(--ld-gold);
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.35);
}

/* the papers peeking out of the folder */
.ld-folder__sheets {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 0;
  height: 86px;
  pointer-events: none;
  z-index: 0;
}
.ld-folder__sheet {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 52%;
  height: 76px;
  margin-left: -26%;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.9);
  transform: translate3d(0, 34px, 0) rotate(0deg);
  opacity: 0;
  transition: transform 0.75s var(--ld-ease), opacity 0.5s var(--ld-ease);
}
.ld-folder__sheet::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.ld-folder:hover .ld-folder__sheet,
.ld-folder:focus-visible .ld-folder__sheet {
  opacity: 1;
}
.ld-folder:hover .ld-folder__sheet:nth-child(1),
.ld-folder:focus-visible .ld-folder__sheet:nth-child(1) {
  transform: translate3d(-46%, -4px, 0) rotate(-8deg);
}
.ld-folder:hover .ld-folder__sheet:nth-child(2),
.ld-folder:focus-visible .ld-folder__sheet:nth-child(2) {
  transform: translate3d(0, -14px, 0) rotate(0.5deg);
  transition-delay: 0.05s;
}
.ld-folder:hover .ld-folder__sheet:nth-child(3),
.ld-folder:focus-visible .ld-folder__sheet:nth-child(3) {
  transform: translate3d(46%, -4px, 0) rotate(8deg);
  transition-delay: 0.1s;
}

/* folder tab */
.ld-folder__tab {
  position: relative;
  z-index: 2;
  display: flex;
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 9px;
  height: 36px;
  padding: 0 34px 0 18px;
  margin-bottom: -1px;
  background: var(--ld-ink-3);
  border: 1px solid var(--ld-line);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ld-gold-soft);
  transition: background 0.5s var(--ld-ease), color 0.5s var(--ld-ease);
}
.ld-folder__tab i {
  font-size: 11px;
}
.ld-folder:hover .ld-folder__tab {
  background: var(--ld-gold);
  color: #140f00;
}

/* folder body */
.ld-folder__body {
  display: block;
  position: relative;
  z-index: 1;
  background: var(--ld-ink-2);
  border: 1px solid var(--ld-line);
  border-radius: 0 var(--ld-radius) var(--ld-radius) var(--ld-radius);
  overflow: hidden;
  transition: transform 0.7s var(--ld-ease), border-color 0.7s var(--ld-ease),
    box-shadow 0.7s var(--ld-ease);
}
.ld-folder:hover .ld-folder__body {
  transform: translate3d(0, -6px, 0);
  border-color: var(--ld-line-strong);
  box-shadow: var(--ld-shadow);
}

.ld-folder__media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ld-ink-3);
}
.ld-folder__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 1.3s var(--ld-ease), filter 0.8s var(--ld-ease);
}
.ld-folder:hover .ld-folder__media img {
  transform: scale(1.1);
}
.ld-folder__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 11, 0.86) 0%, rgba(10, 10, 11, 0) 56%);
  opacity: 0.9;
}
.ld-folder__count {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--ld-line-strong);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ld-text);
}
.ld-folder__count i {
  font-size: 11px;
  color: var(--ld-gold-soft);
}

.ld-folder__open {
  position: absolute;
  left: 18px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(244, 242, 239, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--ld-line-strong);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ld-text);
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 0.5s var(--ld-ease), transform 0.6s var(--ld-ease),
    background 0.4s var(--ld-ease), color 0.4s var(--ld-ease);
}
.ld-folder:hover .ld-folder__open,
.ld-folder:focus-visible .ld-folder__open {
  opacity: 1;
  transform: none;
}
.ld-folder:hover .ld-folder__open {
  background: var(--ld-gold);
  border-color: var(--ld-gold);
  color: #140f00;
}

.ld-folder__info {
  display: block;
  padding: 22px 22px 24px;
}
.ld-folder__name {
  display: block;
  /* font-size: 21px;
  line-height: 1.25; */
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--ld-text);
  transition: color 0.4s var(--ld-ease);
}
.ld-folder:hover .ld-folder__name {
  color: var(--ld-gold-soft);
}
.ld-folder__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 12.5px;
  color: var(--ld-muted);
}
.ld-folder__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.ld-folder__meta i {
  font-size: 11px;
  color: var(--ld-faint);
}
.ld-folder__rooms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--ld-line);
}
.ld-folder__room {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ld-faint);
  padding: 5px 10px;
  border: 1px solid var(--ld-line);
  border-radius: 999px;
  transition: color 0.4s var(--ld-ease), border-color 0.4s var(--ld-ease);
}
.ld-folder:hover .ld-folder__room {
  color: var(--ld-muted);
  border-color: var(--ld-line-strong);
}

/* empty state */
.ld-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  border: 1px dashed var(--ld-line-strong);
  border-radius: var(--ld-radius);
  color: var(--ld-muted);
}
.ld-empty i {
  display: block;
  font-size: 34px;
  color: var(--ld-faint);
  margin-bottom: 16px;
}
.ld-empty h4 {
  color: var(--ld-text);
  font-size: 20px;
  margin: 0 0 8px;
}
.ld-empty p {
  margin: 0;
  font-size: 15px;
}

/* =====================================================================
   3. FOLDER SLIDER  (service pages + related strip)
   ===================================================================== */
.ld-slider-section {
  padding: 110px 0 120px;
}
@media (max-width: 767px) {
  .ld-slider-section {
    padding: 72px 0 80px;
  }
}

.ld-slider {
  position: relative;
}
.ld-slider__viewport {
  overflow: hidden;
  cursor: grab;
  margin: -26px -12px 0;
  padding: 26px 12px 12px;
}
/* keep our spacing when Swiper's own .swiper rules are also applied */
.ld-slider .ld-slider__viewport.swiper {
  margin: -26px -12px 0;
  padding: 58px 12px 12px;
  z-index: auto;
}
.ld-slider__viewport.is-dragging {
  cursor: grabbing;
}
.ld-slider__viewport.is-dragging .ld-slider__track {
  transition: none;
}
.ld-slider__viewport.is-dragging .ld-folder__body,
.ld-slider__viewport.is-dragging img {
  pointer-events: none;
}
.ld-slider__track {
  display: flex;
  gap: 28px;
  will-change: transform;
  transition: transform 0.85s var(--ld-ease);
}
.ld-slider__slide {
  flex: 0 0 auto;
  width: calc((100% - 56px) / 3);
  min-width: 0;
}
@media (max-width: 1199px) {
  .ld-slider__slide {
    width: calc((100% - 24px) / 2);
  }
  .ld-slider__track {
    gap: 24px;
  }
}
@media (max-width: 767px) {
  .ld-slider__slide {
    width: 84%;
  }
  .ld-slider__track {
    gap: 18px;
  }
}

.ld-slider__foot {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 40px;
}
.ld-slider__progress {
  position: relative;
  flex: 1;
  height: 2px;
  background: var(--ld-line);
  border-radius: 2px;
  overflow: hidden;
}
.ld-slider__bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 30%;
  background: var(--ld-gold);
  border-radius: 2px;
  transform-origin: left center;
  transition: transform 0.7s var(--ld-ease), width 0.7s var(--ld-ease);
}
.ld-slider__nums {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ld-muted);
  white-space: nowrap;
}
.ld-slider__nums b {
  color: var(--ld-text);
  font-weight: 600;
}

.ld-nav {
  display: inline-flex;
  gap: 10px;
}
.ld-nav__btn {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--ld-line-strong);
  background: transparent;
  color: var(--ld-text);
  cursor: pointer;
  font-size: 14px;
  transition: background 0.45s var(--ld-ease), color 0.45s var(--ld-ease),
    border-color 0.45s var(--ld-ease), transform 0.45s var(--ld-ease), opacity 0.3s linear;
}
.ld-nav__btn:hover:not(:disabled) {
  background: var(--ld-gold);
  border-color: var(--ld-gold);
  color: #140f00;
  transform: translate3d(0, -2px, 0);
}
.ld-nav__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* light variant so the slider can also sit on a white page */
.ld-slider-section--light {
  background: #f6f4f1;
  color: #15151a;
}
.ld-slider-section--light::before {
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(201, 162, 39, 0.16), transparent 62%);
}
.ld-slider-section--light .ld-title,
.ld-slider-section--light .ld-folder__name,
.ld-slider-section--light .ld-slider__nums b {
  color: #15151a;
}
.ld-slider-section--light .ld-lead,
.ld-slider-section--light .ld-folder__meta,
.ld-slider-section--light .ld-slider__nums {
  color: rgba(21, 21, 26, 0.6);
}
.ld-slider-section--light .ld-folder__body {
  background: #fff;
  border-color: rgba(21, 21, 26, 0.1);
}
.ld-slider-section--light .ld-folder__tab {
  background: #ece7e0;
  border-color: rgba(21, 21, 26, 0.1);
  color: #7a5f12;
}
.ld-slider-section--light .ld-folder__room {
  border-color: rgba(21, 21, 26, 0.12);
  color: rgba(21, 21, 26, 0.5);
}
.ld-slider-section--light .ld-nav__btn {
  border-color: rgba(21, 21, 26, 0.18);
  color: #15151a;
}
.ld-slider-section--light .ld-slider__progress {
  background: rgba(21, 21, 26, 0.12);
}
.ld-slider-section--light .ld-btn {
  border-color: rgba(21, 21, 26, 0.2);
  color: #15151a;
}

/* =====================================================================
   4. PROJECT DETAIL — hero + info
   ===================================================================== */
.ld-detail {
  background: var(--ld-white);
  color: var(--ld-text);
}

.ld-detail__cover {
  position: relative;
  border-radius: var(--ld-radius);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--ld-ink-3);
  margin-bottom: 64px;
}
.ld-detail__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ld-detail__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 11, 0.7), transparent 55%);
}
@media (max-width: 767px) {
  .ld-detail__cover {
    aspect-ratio: 4 / 3;
    margin-bottom: 44px;
  }
}

.ld-detail__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 60px;
  align-items: start;
  margin-bottom: 90px;
}
@media (max-width: 991px) {
  .ld-detail__top {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 64px;
  }
}

/* grid children must be allowed to shrink, or long words and wide
   images push the column past its track */
.ld-detail__main,
.ld-detail__aside {
  min-width: 0;
}

.ld-explorer-section {
  margin-top: 0;
}

.ld-detail__kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 15px;
    border: 1px solid var(--ld-pink);
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ld-ink);
    margin-bottom: 22px;
}
.ld-detail__title {
    font-size: clamp(30px, 4.4vw, 56px);
    line-height: 1.06;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
    color: var(--ld-ink);
    font-weight: 400;
    display: inline-block;
    text-transform: capitalize;
    position: relative;
    overflow: visible;
    font-family: var(--bs-font-sans-serif) !important;
}
.ld-detail__summary {
  color: var(--ld-ink);
  margin: 0 0 26px;
}
.ld-detail__body p {
  font-size: 16px; 
  color: var(--ld-ink);
  
}
.ld-detail__subhead {
    font-size: 40px !important;
    font-weight: 400;
    margin-bottom: 15px;
    font-family: var(--bs-font-sans-serif) !important;
}
.ld-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 26px;
}

.ld-detail__kicker i{
  color: var(--ld-pink) !important;
}

@media (max-width: 575px) {
  .ld-highlights {
    grid-template-columns: 1fr;
  }
}
.ld-highlights li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ld-ink);
}
.ld-highlights li i {
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 13px;
  color: var(--ld-pink);
}

.ld-info {
  position: sticky;
  top: 120px;
  background: var(--ld-ink-2);
  border: 1px solid var(--ld-line);
  border-radius: var(--ld-radius);
  padding: 30px 28px;
}
@media (max-width: 991px) {
  .ld-info {
    position: static;
  }
}
/* added by project-details.js when GSAP ScrollSmoother is running,
   because a transformed scroll container breaks position:sticky */
.ld-no-sticky .ld-info {
  position: static;
}
.ld-info__title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ld-gold-soft);
    margin: 0 0 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--ld-line);
    font-size: 40px !important;
    font-weight: 400;
    margin-bottom: 15px;
    font-family: var(--bs-font-sans-serif) !important;
}
.ld-info__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}
.ld-info__list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--ld-line);
  font-size: 14px;
}
.ld-info__list li:last-child {
  border-bottom: none;
}
.ld-info__label {
  color: var(--ld-faint);
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}
.ld-info__value {
  color: var(--ld-text);
  text-align: right;
  font-weight: 500;
}
.ld-info .ld-btn {
  width: 100%;
  justify-content: center;
}

/* =====================================================================
   5. FOLDER EXPLORER  (the folder structure on the detail page)
   ===================================================================== */
.ld-explorer {
  border: 1px solid var(--ld-line);
  border-radius: var(--ld-radius);
  background: var(--ld-ink-2);
  overflow: hidden;
}

.ld-explorer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--ld-line);
  background: var(--ld-ink-3);
}
.ld-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ld-muted);
  min-width: 0;
}
.ld-crumb i {
  color: var(--ld-gold-soft);
  font-size: 13px;
}
.ld-crumb__sep {
  opacity: 0.4;
  font-size: 10px;
}
.ld-crumb__current {
  color: var(--ld-text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ld-explorer__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--ld-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ld-explorer__inner {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
}
@media (max-width: 991px) {
  .ld-explorer__inner {
    grid-template-columns: 1fr;
  }
}

/* --- left rail: the folder list --- */
.ld-tree {
  border-right: 1px solid var(--ld-line);
  padding: 18px 14px;
  background: rgba(0, 0, 0, 0.22);
}
@media (max-width: 991px) {
  .ld-tree {
    border-right: none;
    border-bottom: 1px solid var(--ld-line);
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .ld-tree::-webkit-scrollbar {
    display: none;
  }
}

.ld-tree__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  margin-bottom: 4px;
  border: 1px solid transparent;
  border-radius: var(--ld-radius-sm);
  background: transparent;
  color: var(--ld-muted);
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.4s var(--ld-ease), color 0.4s var(--ld-ease),
    border-color 0.4s var(--ld-ease);
}
@media (max-width: 991px) {
  .ld-tree__item {
    flex: 0 0 auto;
    width: auto;
    margin-bottom: 0;
    white-space: nowrap;
    border-color: var(--ld-line);
    border-radius: 999px;
    padding: 10px 16px;
  }
}
.ld-tree__item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ld-text);
}
.ld-tree__item.is-active {
  background: rgba(201, 162, 39, 0.14);
  border-color: rgba(201, 162, 39, 0.42);
  color: var(--ld-text);
}
.ld-tree__ico {
  flex: 0 0 auto;
  width: 30px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--ld-faint);
  transition: color 0.4s var(--ld-ease), transform 0.4s var(--ld-ease);
}
.ld-tree__item.is-active .ld-tree__ico,
.ld-tree__item:hover .ld-tree__ico {
  color: var(--ld-gold);
}
.ld-tree__item.is-active .ld-tree__ico {
  transform: scale(1.08);
}
.ld-tree__label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ld-tree__n {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--ld-faint);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 3px 9px;
}
.ld-tree__item.is-active .ld-tree__n {
  background: var(--ld-gold);
  color: #140f00;
}

/* --- right pane: the photos --- */
.ld-pane {
  padding: 26px;
  min-height: 420px;
}
@media (max-width: 575px) {
  .ld-pane {
    padding: 18px;
  }
}
.ld-pane__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.ld-pane__title {
    margin: 0;
    color: var(--ld-text);
    font-size: 40px !important;
    font-weight: 400;
    margin-bottom: 15px;
    font-family: var(--bs-font-sans-serif) !important;
}
.ld-pane__hint {
  font-size: 12px;
  color: var(--ld-faint);
  letter-spacing: 0.06em;
}

.ld-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 180px;
  gap: 14px;
}
@media (max-width: 767px) {
  .ld-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 150px;
    gap: 10px;
  }
}
.ld-photos__item {
  position: relative;
  display: block;
  padding: 0;
  border: none;
  border-radius: var(--ld-radius-sm);
  overflow: hidden;
  background: var(--ld-ink-3);
  cursor: zoom-in;
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.98);
  animation: ldPhotoIn 0.7s var(--ld-ease) forwards;
  animation-delay: var(--ld-delay, 0ms);
}
@keyframes ldPhotoIn {
  to {
    opacity: 1;
    transform: none;
  }
}
/* editorial rhythm — first tile of every 6 is large */
.ld-photos__item:nth-child(6n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}
@media (max-width: 767px) {
  .ld-photos__item:nth-child(6n + 1) {
    grid-column: span 2;
    grid-row: span 1;
  }
}
.ld-photos__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.1s var(--ld-ease), filter 0.6s var(--ld-ease);
}
.ld-photos__item:hover img {
  transform: scale(1.07);
}
.ld-photos__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 11, 0.55), transparent 50%);
  opacity: 0;
  transition: opacity 0.5s var(--ld-ease);
}
.ld-photos__item:hover::after {
  opacity: 1;
}
.ld-photos__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(244, 242, 239, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--ld-line-strong);
  color: #fff;
  font-size: 12px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s var(--ld-ease), transform 0.5s var(--ld-ease),
    background 0.4s var(--ld-ease), color 0.4s var(--ld-ease);
}
.ld-photos__item:hover .ld-photos__zoom {
  opacity: 1;
  transform: none;
  background: var(--ld-gold);
  border-color: var(--ld-gold);
  color: #140f00;
}
.ld-photos__tag {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ld-text);
  opacity: 0;
  transform: translate3d(0, -6px, 0);
  transition: opacity 0.4s var(--ld-ease), transform 0.5s var(--ld-ease);
}
.ld-photos__item:hover .ld-photos__tag {
  opacity: 1;
  transform: none;
}

/* =====================================================================
   6. LIGHTBOX
   ===================================================================== */
.ld-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  background: rgba(6, 6, 7, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ld-ease), visibility 0.45s var(--ld-ease);
}
.ld-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
body.ld-lock {
  overflow: hidden !important;
}

.ld-lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  color: var(--ld-text);
  flex: 0 0 auto;
}
.ld-lightbox__meta {
  min-width: 0;
}
.ld-lightbox__folder {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ld-gold-soft);
  margin-bottom: 5px;
}
.ld-lightbox__name {
  display: block;
  font-size: 15px;
  color: var(--ld-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ld-lightbox__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}
.ld-lightbox__counter {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--ld-muted);
}
.ld-lightbox__counter b {
  color: var(--ld-text);
  font-weight: 600;
}
.ld-lightbox__close {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--ld-line-strong);
  background: transparent;
  color: var(--ld-text);
  cursor: pointer;
  font-size: 16px;
  transition: background 0.4s var(--ld-ease), color 0.4s var(--ld-ease),
    transform 0.4s var(--ld-ease), border-color 0.4s var(--ld-ease);
}
.ld-lightbox__close:hover {
  background: var(--ld-gold);
  border-color: var(--ld-gold);
  color: #140f00;
  transform: rotate(90deg);
}

.ld-lightbox__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 78px;
}
@media (max-width: 767px) {
  .ld-lightbox__stage {
    padding: 0 12px;
  }
}
.ld-lightbox__figure {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ld-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.5s var(--ld-ease), transform 0.6s var(--ld-ease);
}
.ld-lightbox__img.is-ready {
  opacity: 1;
  transform: none;
}
.ld-lightbox__arrow {
  position: absolute;
  top: 50%;
  margin-top: -27px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--ld-line-strong);
  background: rgba(10, 10, 11, 0.5);
  color: var(--ld-text);
  cursor: pointer;
  font-size: 15px;
  transition: background 0.4s var(--ld-ease), color 0.4s var(--ld-ease),
    border-color 0.4s var(--ld-ease), transform 0.4s var(--ld-ease);
}
.ld-lightbox__arrow--prev {
  left: 14px;
}
.ld-lightbox__arrow--next {
  right: 14px;
}
.ld-lightbox__arrow:hover {
  background: var(--ld-gold);
  border-color: var(--ld-gold);
  color: #140f00;
}
.ld-lightbox__arrow--prev:hover {
  transform: translate3d(-3px, 0, 0);
}
.ld-lightbox__arrow--next:hover {
  transform: translate3d(3px, 0, 0);
}
@media (max-width: 767px) {
  .ld-lightbox__arrow {
    width: 42px;
    height: 42px;
    margin-top: -21px;
    font-size: 13px;
  }
  .ld-lightbox__arrow--prev {
    left: 6px;
  }
  .ld-lightbox__arrow--next {
    right: 6px;
  }
}

.ld-lightbox__strip {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
  padding: 18px 22px 24px;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.ld-lightbox__strip::-webkit-scrollbar {
  height: 4px;
}
.ld-lightbox__strip::-webkit-scrollbar-thumb {
  background: var(--ld-line-strong);
  border-radius: 4px;
}
.ld-thumb {
  flex: 0 0 auto;
  width: 82px;
  height: 56px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ld-ink-3);
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.4s var(--ld-ease), border-color 0.4s var(--ld-ease),
    transform 0.4s var(--ld-ease);
}
.ld-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ld-thumb:hover {
  opacity: 0.85;
}
.ld-thumb.is-active {
  opacity: 1;
  border-color: var(--ld-gold);
  transform: translate3d(0, -3px, 0);
}

/* =====================================================================
   7. PREV / NEXT + RELATED
   ===================================================================== */
.ld-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-top: 90px;
  padding-top: 34px;
  border-top: 1px solid var(--ld-line);
}
@media (max-width: 767px) {
  .ld-pager {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 60px;
  }
  .ld-pager__all {
    grid-column: 1 / -1;
    order: -1;
    justify-self: center;
  }
}
.ld-pager__link {
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-decoration: none;
  color: var(--ld-muted);
  transition: color 0.4s var(--ld-ease), transform 0.5s var(--ld-ease);
}
.ld-pager__link--next {
  text-align: right;
  align-items: flex-end;
}
.ld-pager__link:hover {
  color: var(--ld-text);
}
.ld-pager__link--prev:hover {
  transform: translate3d(-5px, 0, 0);
}
.ld-pager__link--next:hover {
  transform: translate3d(5px, 0, 0);
}
.ld-pager__dir {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ld-pink);
}
.ld-pager__name {
  font-size: 17px;
  color: var(--ld-ink);
}
.ld-pager__all {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
    border: 1px solid var(--ld-pink);
    color: var(--ld-ink);
  text-decoration: none;
  transition: background 0.4s var(--ld-ease), color 0.4s var(--ld-ease),
    border-color 0.4s var(--ld-ease), transform 0.5s var(--ld-ease);
}
.ld-pager__all:hover {
background: var(--ld-pink);
    border-color: var(--ld-pink);
    color: var(--ld-white);
  transform: rotate(90deg);
}

.ld-related {
  margin-top: 100px;
}
@media (max-width: 767px) {
  .ld-related {
    margin-top: 70px;
  }
}

/* videos --------------------------------------------------------- */
.ld-videos {
  margin-top: 70px;
}
.ld-videos__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.ld-videos__grid.is-single {
  grid-template-columns: 1fr;
}
@media (max-width: 767px) {
  .ld-videos__grid {
    grid-template-columns: 1fr;
  }
}
.ld-video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--ld-radius-sm);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--ld-line);
}
.ld-video__frame iframe,
.ld-video__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.ld-video__title {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--ld-muted);
}

/* not found ------------------------------------------------------ */
.ld-404 {
  text-align: center;
  padding: 90px 20px 110px;
}
.ld-404 h3 {
  font-size: 30px;
  margin: 0 0 12px;
  color: var(--ld-text);
}
.ld-404 p {
  color: var(--ld-muted);
  margin: 0 0 30px;
}

/* section spacing utilities used by the new markup --------------- */
.ld-pt {
  padding-top: 120px;
}
.ld-pb {
  padding-bottom: 130px;
}


.ld-detail-hero__title {
      font-size: 80px;
    line-height: .90;
    font-weight: 400;
    display: inline-block;
    margin-bottom: 0;
    text-transform: capitalize;
    position: relative;
    overflow: visible;
    font-family: var(--bs-font-sans-serif) !important;
}

.ld-detail-hero__eyebrow {
  color: var(--ld-pink);
}


@media (max-width: 767px) {
  .ld-pt {
    padding-top: 76px;
  }
  .ld-pb {
    padding-bottom: 84px;
  }
}