main {
  overflow: clip;
}

.project-grid,
.about-grid,
.value-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.project-slider {
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.project-grid {
  grid-template-columns: minmax(0, 1fr);
}

.project-section.section-space {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(1rem, 2vw, 1.75rem);
}

.project-section .container {
  width: min(calc(100% - 3rem), 1700px);
}

.project-header {
  text-align: center;
}

.slider-viewport {
  overflow: hidden;
}

.slider-track {
  position: relative;
  min-height: 34rem;
  background: var(--color-surface-alt);
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.slide.is-active {
  opacity: 1;
}

.slide-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  display: none;
  padding: 0;
  background: transparent;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.slide-badge.is-active {
  display: inline-flex;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  display: grid;
  place-items: center;
  background: rgba(90, 90, 90, 0.75);
  color: var(--color-white);
  font-size: 1.4rem;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 2;
  touch-action: manipulation;
}

.slider-arrow.prev {
  left: -1.6rem;
}

.slider-arrow.next {
  right: -1.6rem;
}

.slider-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  padding-top: 1rem;
}

.dot {
  width: 0.42rem;
  height: 0.42rem;
  min-width: 0.42rem;
  min-height: 0.42rem;
  padding: 0;
  flex: 0 0 0.42rem;
  border: 0;
  border-radius: 50%;
  background: #cfcfcf;
  cursor: pointer;
  appearance: none;
  touch-action: manipulation;
}

.dot.is-active {
  background: #8d9f97;
}

.project-header h2,
.amenities h2,
.services-intro h2,
.about-copy h2,
.value-visual h2 {
  margin: 0 0 1.4rem;
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.project-header h2 {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  max-width: 22ch;
  margin-inline: auto;
}

.project-copy h3 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.12rem, 1.35vw, 1.38rem);
  line-height: 1.2;
  white-space: nowrap;
}

.project-copy p,
.project-copy li,
.services-intro p,
.service-card p,
.about-copy p,
.value-item p {
  font-size: clamp(0.98rem, 1.05vw, 1.08rem);
  line-height: 1.7;
  color: var(--color-text-soft);
}

.project-copy ul {
  margin: 1.5rem 0 0;
  padding-left: 1.35rem;
}

.project-cta-copy {
  margin-top: 1.75rem;
  margin-bottom: 0;
  max-width: 32rem;
}

.amenities-subtitle {
  margin: 0 0 1.25rem;
  font-size: clamp(1.12rem, 1.35vw, 1.38rem);
  line-height: 1.2;
  color: var(--color-text);
}

.project-details {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.project-details > .amenities-copy {
  order: 2;
}

.project-details > .project-copy {
  order: 1;
}

.amenities-slider {
  width: 62%;
  max-width: 62%;
  margin: 0 auto;
}

.amenities-slider .slider-track {
  aspect-ratio: 1 / 0.72;
  min-height: auto;
}

.amenities-copy {
  max-width: 22rem;
  padding-top: 0.2rem;
}

.amenities-list {
  margin: 0;
  padding-left: 1.45rem;
}

.amenities-list li {
  margin-bottom: 0.9rem;
  font-size: clamp(0.98rem, 1.05vw, 1.08rem);
  line-height: 1.7;
  color: var(--color-text-soft);
}

.services {
  background: linear-gradient(90deg, #ececec 0 41%, #f6f6f6 41% 100%);
}

.services.section-space {
  padding-top: clamp(2.5rem, 4vw, 4rem);
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
}

.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.55fr);
  gap: clamp(2.5rem, 5vw, 5rem);
}

.services-intro {
  padding-right: clamp(1rem, 3vw, 3rem);
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.4rem 2.6rem;
}

.service-card img {
  width: 10.5rem;
  aspect-ratio: 10.5 / 8.8;
  object-fit: cover;
  border-radius: 0 44% 0 0;
  margin-bottom: 1.4rem;
}

.service-card-soon {
  position: relative;
}

.service-card-soon img {
  opacity: 0.45;
}

.service-badge {
  position: absolute;
  top: 5.1rem;
  left: 0.4rem;
  z-index: 2;
  display: inline-flex;
  padding: 0.34rem 0.9rem;
  background: rgba(17, 116, 186, 0.96);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: rotate(-18deg);
}

.service-card h3,
.value-item h3 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.28rem, 1.7vw, 1.95rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.about {
  background: #f1f1f1;
}

.about.section-space {
  padding-top: clamp(2.5rem, 4vw, 4rem);
  padding-bottom: clamp(2rem, 3vw, 3rem);
}

.about-grid {
  grid-template-columns: minmax(0, 1fr);
}

.about-copy {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}

.about-image img {
  width: min(100%, 24rem);
  margin-inline: 0 auto;
  min-height: 16rem;
  max-height: 18rem;
  object-fit: cover;
  border-radius: 17rem 0 0 0 / 12rem 0 0 0;
}

.value {
  background: linear-gradient(90deg, #ffffff 0 42%, #efefef 42% 100%);
}

.value.section-space {
  padding-top: clamp(2.5rem, 4vw, 4rem);
}

.value-visual,
.value-points {
  min-width: 0;
}

.value-visual img {
  display: block;
  width: 100%;
  max-width: 31.75rem;
  margin-top: 2.5rem;
  aspect-ratio: 1 / 1;
  min-height: 31rem;
  object-fit: cover;
  border-radius: 0 0 20rem 0;
}

.value-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.8rem 3rem;
}

.value-item span {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: clamp(1.18rem, 1.35vw, 1.4rem);
  font-weight: 700;
  color: var(--color-text-soft);
}

@media (max-width: 1200px) {
  .project-grid,
  .about-grid,
  .value-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services {
    background: #f3f3f3;
  }

  .value {
    background: #f3f3f3;
  }

  .services-intro,
  .value-visual {
    padding-right: 0;
  }

  .amenities-slider {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 840px) {
  .project-details,
  .services-cards,
  .value-points {
    grid-template-columns: 1fr;
  }

  .project-copy h3 {
    white-space: normal;
  }

  .amenities-copy {
    max-width: 100%;
    margin-left: 0;
  }

  .slider-arrow.prev {
    left: 0.5rem;
  }

  .slider-arrow.next {
    right: 0.5rem;
  }

  .slider-track {
    min-height: 25rem;
  }

  .about-image img,
  .value-visual img {
    min-height: 23rem;
  }

  .value-visual img {
    border-radius: 0 0 12rem 0;
  }

  .about-image img {
    width: min(100%, 18rem);
    min-height: 14rem;
    max-height: 15rem;
  }
}

@media (max-width: 640px) {
  .section-space {
    padding: 3.75rem 0;
  }

  .project-copy h2,
  .amenities h2,
  .services-intro h2,
  .about-copy h2,
  .value-visual h2 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .slider-track {
    min-height: 19rem;
  }

  .service-card img {
    width: 8rem;
  }

  .amenities-list li {
    font-size: 1.25rem;
  }
}
