/* Start custom CSS for html, class: .elementor-element-f12cef0 *//* =====================================
   GLOBAL
===================================== */

html, body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background: #fff;
}

/* Locked state: prevent whole page scroll */
html.page-locked,
body.page-locked {
  height: 100%;
  overflow: hidden;
}

/* =====================================
   WRAPPER (split-scroll block)
===================================== */

.project-wrapper {
  height: 100vh;
  overflow: hidden;
}

/* When released, wrapper behaves like normal content */
.project-wrapper.released {
  height: auto;
  overflow: visible;
}

/* =====================================
   HERO SPLIT LAYOUT
===================================== */

.project-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  height: 100vh;
  background: #fff;
}

/* LEFT IMAGE */
.project-hero-image {
  height: 100vh;
  overflow: hidden;
}

.project-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RIGHT CONTENT (scroll container) */
.project-hero-content {
  height: 100vh;
  overflow-y: auto;
  padding: 120px 80px 220px;
  box-sizing: border-box;
}

/* Optional: cleaner scrolling on mac */
.project-hero-content {
  -webkit-overflow-scrolling: touch;
}

/* =====================================
   TYPE
===================================== */

.project-location {
  font-size: 13px;
  opacity: 0.55;
  margin-bottom: 20px;
  display: block;
  letter-spacing: 0.3px;
}

.project-hero-content h1 {
  font-size: 46px;
  font-weight: 500;
  margin: 0 0 26px;
  letter-spacing: -0.3px;
}

.project-overview {
  font-size: 18px;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 0 48px;
  color: #222;
}

/* =====================================
   META
===================================== */

.project-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 44px;
  border-top: 1px solid #e8e8e8;
  padding-top: 36px;
  margin-bottom: 120px;
}

.project-meta span {
  font-size: 12px;
  opacity: 0.55;
  letter-spacing: 0.4px;
}

.project-meta strong {
  display: block;
  font-size: 14px;
  margin-top: 6px;
  font-weight: 500;
}

/* =====================================
   DESCRIPTION
===================================== */

.project-description {
  max-width: 680px;
  margin-bottom: 160px;
}

.project-description h2 {
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 28px;
  letter-spacing: -0.2px;
}

.project-description p {
  font-size: 14px;
  line-height: 1.85;
  color: #666;
  margin: 0 0 34px;
}

/* =====================================
   GALLERY (large stacked images)
===================================== */

.project-gallery h2 {
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 36px;
}

.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
}

/* marker is invisible */
.right-end-marker {
  height: 1px;
}

/* =====================================
   RELATED PROJECTS (below fold)
===================================== */

.related-projects {
  padding: 140px 80px;
  background: #fff;
}

.related-projects h2 {
  font-size: 44px;
  font-weight: 400;
  margin: 0 0 60px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.project-card {
  text-decoration: none;
  color: #000;
  display: block;
}

.project-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f2f2f2;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.06);
}

.project-card-title {
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: 0.4px;
  font-weight: 500;
}

.project-card-sub {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(0,0,0,0.55);
}

/* =====================================
   TABLET / MOBILE
===================================== */

@media (max-width: 1024px) {
  html, body { overflow: auto; }

  .project-wrapper,
  .project-wrapper.released {
    height: auto;
    overflow: visible;
  }

  .project-hero {
    grid-template-columns: 1fr;
    height: auto;
  }

  .project-hero-image {
    height: 70vh;
  }

  .project-hero-content {
    height: auto;
    overflow: visible;
    padding: 60px 30px 100px;
  }

  .related-projects {
    padding: 100px 30px;
  }

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

@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-hero-content h1 {
    font-size: 36px;
  }

  .related-projects h2 {
    font-size: 34px;
  }
}/* End custom CSS */