/* ============================================================================
   Key Project Features — dedicated stylesheet, following this project's own
   convention (clubhouse-owl.css, gallery-owl.css, pricing-owl.css each ship
   their own CSS rather than leaning on the compiled tailwind.css).

   This is necessary, not just conventional: tailwind.css here is a
   build-time-scanned, page-specific compile (Tailwind v4) — it only contains
   the utility classes that were present in the source templates at build
   time. Arbitrary-value utilities introduced by editing the HTML afterwards
   (e.g. h-[430px], text-[126px], leading-[40.6px]) are simply absent from
   the compiled CSS and have no effect, which is why the section rendered
   uncropped/uncentered/without its numeral and divider. Plain, hand-written
   CSS scoped to this section's own classes sidesteps that entirely.

   Layout replicates tvs-emerald-altura's #amenities section (reference:
   http://localhost/tvs-emerald-altura/index.php), but fonts and colors use
   this page's own design system instead of that reference's — Newsreader
   for headings/numerals and Montserrat for body text, #1a1a1a for text and
   #c17a4a/#E35336 for accents, matching the Amenities/About sections and
   the arrow hover state already used elsewhere on this page.

   Vertical (top/bottom) slideshow, hand-written in key-project-features.js
   — not Owl Carousel: Owl only animates translateX internally, it has no
   vertical mode, and faking one with a CSS rotation hack fights directly
   with per-slide autoHeight (rotating a block swaps its visual box but not
   its offsetWidth/offsetHeight, so the two can't be reconciled without
   falling back to a guessed fixed height — exactly the mobile-clipping bug
   this rebuild exists to remove). No position:absolute anywhere here either
   way: .amenity-slide sits in normal document flow inside .amenity-track,
   .amenity-stage clips it with overflow:hidden and a JS-measured height that
   transitions alongside the track's translateY, so every slide gets its own
   real height at every breakpoint instead of one guessed number.
   ========================================================================= */

#project-highlights-section .font-body {
  font-family: "Montserrat", sans-serif;
}
#project-highlights-section .font-caudex {
  font-family: "Newsreader", "Newsreader Fallback", serif;
}
#project-highlights-section .font-blacker {
  font-family: "Newsreader", "Newsreader Fallback", serif;
}
#project-highlights-section .number-gradient {
  background: linear-gradient(180deg, #c17a4a 0%, #a8663a 50%, #8f5530 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.6;
}

/* ---- Layout ---- */
#project-highlights-section {
  position: relative;
  width: 100%;
  padding: 40px 0 40px;
}
#project-highlights-section .kpf-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  padding: 0 16px;
}
#project-highlights-section .amenity-stage {
  position: relative;
  overflow: hidden;
  margin: 0;
  transition: height 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
#project-highlights-section .amenity-track {
  position: relative;
  display: flex;
  /* Mobile: slides sit side by side and the track moves horizontally
     (translateX in key-project-features-copy.js). Desktop switches this to
     a vertical column below. */
  flex-direction: row;
  align-items: stretch;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
#project-highlights-section .amenity-slide {
  width: 100%;
  flex: 1 0 100%;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
}

#project-highlights-section .kpf-image {
  width: 100%;
  height: 220px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
#project-highlights-section .kpf-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#project-highlights-section .kpf-divider {
  display: none;
}

#project-highlights-section .amenity-active-line {
  /* height and transform are both set in key-project-features-copy.js —
     the divider's real rendered height divided by the slide count, so the
     highlighted segment always lines up with the divider regardless of how
     tall the active slide's content makes it. */
  position: absolute;
  left: 0;
  width: 100%;
  background-color: #c17a4a;
  transition: transform 0.5s ease-in-out, height 0.5s ease-in-out;
}

#project-highlights-section .kpf-content {
  position: relative;
  padding: 10px 10px 0;
}
#project-highlights-section .kpf-number-wrap {
  position: relative;
}
#project-highlights-section .kpf-number {
  font-size: 60px;
  line-height: 1;
}
#project-highlights-section .kpf-title-wrap {
  position: relative;
  margin-top: -6px;
}
#project-highlights-section .kpf-title {
    font-size: 20px;
    color: #1a1a1a;
    text-transform: capitalize;
    letter-spacing: 0.68px;
    line-height: inherit;
    margin: 0;
}
#project-highlights-section .kpf-desc {
  font-size: 16px;
  color: rgba(26, 26, 26, 0.8);
  line-height: 28px;
  margin: 10px 0 16px;
}
#project-highlights-section .kpf-desc p {
  margin: 0;
}

/* ---- Arrows ---- */
#project-highlights-section .kpf-arrows-desktop {
  display: none;
}
#project-highlights-section .kpf-arrows-mobile {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
#project-highlights-section .amenity-prev,
#project-highlights-section .amenity-next {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(26, 26, 26, 0.3);
  border-radius: 999px;
  background: none;
  transition: all 0.3s ease;
  width: 42px;
  height: 42px;
}
#project-highlights-section .amenity-prev:hover,
#project-highlights-section .amenity-next:hover {
  border-color: #e35336;
  background-color: #e35336;
}
#project-highlights-section .amenity-prev svg path,
#project-highlights-section .amenity-next svg path {
  stroke: #1a1a1a;
  transition: stroke 0.3s ease;
}
#project-highlights-section .amenity-prev:hover svg path,
#project-highlights-section .amenity-next:hover svg path {
  stroke: #fff;
}

/* ---- Responsive ---- */
@media (min-width: 768px) {
  #project-highlights-section {
    padding: 50px 0 60px;
  }
  #project-highlights-section .kpf-container {
    padding: 0 32px;
  }
  #project-highlights-section .amenity-stage {
    margin: 0 24px;
  }
  #project-highlights-section .amenity-track {
    flex-direction: column;
  }
  #project-highlights-section .amenity-slide {
    flex: 0 0 auto;
    flex-direction: row;
    justify-content: flex-start;
  }
  #project-highlights-section .kpf-image {
    width: 280px;
    height: 320px;
  }
  #project-highlights-section .kpf-divider {
    display: block;
    width: 2px;
    height: auto;
    margin: 0 16px;
    background-color: #d1d5db;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
  }
  #project-highlights-section .kpf-content {
    flex: 1;
    padding: 93px 20px 0;
  }
  #project-highlights-section .kpf-number-wrap {
    position: absolute;
    top: 0;
    left: 0;
  }
  #project-highlights-section .kpf-number {
    font-size: 100px;
  }
  #project-highlights-section .kpf-title-wrap {
    margin-top: -30px;
    margin-left: 95px;
  }
  #project-highlights-section .kpf-title {
    font-size: 23px;
  }
  #project-highlights-section .kpf-desc {
    font-size: 17px;
    line-height: 30.4px;
    width: 285px;
    margin: 46px 0 0 18px;
  }
}

@media (min-width: 1024px) {
  #project-highlights-section .kpf-arrows-desktop {
    display: flex;
    flex-direction: row;
    gap: 9px;
    position: absolute;
    right: 0;
    top: 108px;
    z-index: 10;
  }
  #project-highlights-section .kpf-arrows-mobile {
    display: none;
  }
  #project-highlights-section .amenity-prev,
  #project-highlights-section .amenity-next {
    width: 36px;
    height: 36px;
  }
  #project-highlights-section {
    padding: 40px 0 60px;
  }
  #project-highlights-section .kpf-container {
    padding: 0 0;
  }
  #project-highlights-section .amenity-stage {
    margin: 0 60px;
  }
  #project-highlights-section .kpf-image {
    width: 320px;
  }
  #project-highlights-section .kpf-divider {
    margin: 0 33px;
  }
  #project-highlights-section .kpf-content {
    padding-left: 42px;
  }
  #project-highlights-section .kpf-number {
    font-size: 126px;
  }
  #project-highlights-section .kpf-title-wrap {
    margin-top: -40px;
    margin-left: 110px;
  }
  #project-highlights-section .kpf-title {
    font-size: 25px;
  }
  #project-highlights-section .kpf-desc {
    font-size: 16px;
    line-height: 26px;
    width: 80%;
  }
}

@media (min-width: 1280px) {
  #project-highlights-section .amenity-stage {
    margin: 0 80px;
  }
}
