/* Home slideshow */
.hero { --photo-radius: 20px; }
.hero { height: min(590px, calc(100svh - 96px)); min-height: 460px; margin: 12px 2% 0; border-radius: var(--photo-radius); }
.hero-photo { background: #102a56; border-radius: inherit; }
.hero-content { padding-top: 58px; padding-bottom: 90px; }
.hero h1 { font-size: clamp(40px, 4.5vw, 65px); }
.hero p { margin-top: 18px; }
.hero-buttons { margin-top: 24px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .hero-motion-image { position: absolute; inset: 0; }
.hero-bottom { gap: 20px; align-items: center; }
.hero-project-link { color: #fff; font-size: 14px; max-width: 68%; line-height: 1.7; padding-block: 12px; text-shadow: 0 1px 10px #081b35; }
.hero-project-link:hover { color: #ffd591; }
.hero-pagination { flex-shrink: 0; }
.hero-pagination button { min-width: 42px; min-height: 44px; }
@media(max-width: 1000px) {
  .hero { min-height: 450px; height: 540px; }
  .hero-content { padding-top: 50px; }
}
@media(max-width: 650px) {
  .hero { --photo-radius: 16px; }
  .hero { margin: 8px 12px 0; height: 560px; min-height: 0; }
  .hero-content { padding: 38px 24px 110px; }
  .hero h1 { font-size: 38px; line-height: 1.5; letter-spacing: -.6px; }
  .hero p { font-size: 16px; line-height: 1.9; }
  .hero-buttons { gap: 14px; flex-wrap: wrap; }
  .hero-bottom { inset-inline: 24px; padding-block: 8px; align-items: flex-start; flex-direction: column; gap: 0; }
  .hero-project-link { max-width: 100%; font-size: 13px; padding: 0; }
  .hero-pagination { display: flex; }
}
.hero-pagination .hero-pause {
  min-width: 44px;
  min-height: 44px;
  margin-inline-start: 8px;
  padding-inline: 12px;
  border: 1px solid #ffffff88;
  border-radius: 4px;
  background: #102a56c9;
  color: #fff;
  font: 17px Arial, sans-serif;
  line-height: 1;
  cursor: pointer;
}
.hero-pagination .hero-pause:hover { background: #194189; border-color: #fff; }
.hero-pagination .hero-pause[aria-pressed="true"] { background: #fff; color: #102a56; }

.hero-photo .hero-motion-image {
  transform: none;
  will-change: opacity;
}

/* Slide 01 image framing only: keep architecture visible beside the hero copy. */
.hero-photo .hero-motion-image:first-child { object-position: center 12%; }
