.project-spotlight-module {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 30px;
}

.spotlight-heading {
  text-align: center;
  margin-bottom: 40px;
}

.spotlight-heading h2 {
  font-family: Pertili, sans-serif;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.spotlight-heading p {
  color: var(--black-60);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.spotlight-container {
  position: relative;
  min-height: 420px;
}

.spotlight-card {
  display: flex;
  align-items: stretch;
  gap: 40px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.spotlight-card.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.spotlight-image {
  flex: 0 0 58%;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

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

.spotlight-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 0;
}

.spotlight-tag {
  display: inline-block;
  font-family: Montserrat, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--new-green, #094c11);
  background: rgba(9, 76, 17, 0.08);
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  width: fit-content;
}

.spotlight-title {
  font-family: Pertili, sans-serif;
  font-size: 1.6rem;
  line-height: 1.3;
  margin-bottom: 14px;
}

.spotlight-blurb {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--black-60);
  margin-bottom: 24px;
}

.spotlight-link {
  display: inline-block;
  font-family: PT Sans, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--new-green, #094c11);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.spotlight-link:hover {
  opacity: 0.7;
}

.spotlight-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.spotlight-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--black-10, #ccc);
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  border: none;
  padding: 0;
}

.spotlight-dot:hover {
  background: var(--black-40, #999);
}

.spotlight-dot.active {
  background: var(--new-green, #094c11);
  transform: scale(1.2);
}

@media (max-width: 991px) {
  .spotlight-container {
    min-height: 380px;
  }

  .spotlight-image {
    flex: 0 0 50%;
  }

  .spotlight-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 767px) {
  .project-spotlight-module {
    padding: 40px 20px;
  }

  .spotlight-container {
    min-height: auto;
  }

  .spotlight-card {
    flex-direction: column;
    gap: 20px;
    position: absolute;
  }

  .spotlight-card.active {
    position: relative;
  }

  .spotlight-image {
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 10;
  }

  .spotlight-content {
    padding: 0;
  }

  .spotlight-heading h2 {
    font-size: 2rem;
  }
}

@media (max-width: 479px) {
  .spotlight-heading h2 {
    font-size: 1.6rem;
  }

  .spotlight-title {
    font-size: 1.2rem;
  }

  .spotlight-blurb {
    font-size: 0.9rem;
  }
}

/* ── Case Study Layout (Project Showcase Page) ── */

.case-study {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px 60px;
}

.case-study-hero {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  max-height: 520px;
}

.case-study-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-study-header {
  text-align: center;
  padding: 50px 0 30px;
}

.case-study-tag {
  display: inline-block;
  font-family: Montserrat, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--new-green, #094c11);
  background: rgba(9, 76, 17, 0.08);
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.case-study-title {
  font-family: Pertili, sans-serif;
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 16px;
}

.case-study-subtitle {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--black-60);
  max-width: 650px;
  margin: 0 auto;
}

.case-study-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.case-study-text {
  max-width: 720px;
  margin: 0 auto;
}

.case-study-text p {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--black-75, #333);
  margin-bottom: 16px;
}

.case-study-text p:last-child {
  margin-bottom: 0;
}

.case-study-image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.case-study-image-pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  display: block;
}

.case-study-full-image {
  width: 100%;
}

.case-study-full-image img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.case-study-cta {
  text-align: center;
  padding-top: 30px;
}

.case-study-divider {
  max-width: 200px;
  height: 1px;
  background: var(--black-10, #ddd);
  margin: 20px auto 60px;
}

@media (max-width: 991px) {
  .case-study-title {
    font-size: 2rem;
  }

  .case-study-hero {
    max-height: 400px;
  }
}

@media (max-width: 767px) {
  .case-study {
    padding: 0 20px 40px;
  }

  .case-study-hero {
    max-height: 300px;
  }

  .case-study-header {
    padding: 30px 0 20px;
  }

  .case-study-title {
    font-size: 1.6rem;
  }

  .case-study-subtitle {
    font-size: 0.95rem;
  }

  .case-study-body {
    gap: 24px;
  }

  .case-study-image-pair {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 479px) {
  .case-study-title {
    font-size: 1.35rem;
  }

  .case-study-hero {
    max-height: 220px;
  }

  .case-study-text p {
    font-size: 0.9rem;
  }
}
