:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1d242c;
  background: #f4f5f6;
  line-height: 1.5;
}

* { box-sizing: border-box; }
body { margin: 0; }

.hero {
  padding: 2.5rem max(1.25rem, calc((100vw - 1180px) / 2));
  background: #18232d;
  color: white;
}
.hero h1 { margin: 0; font-size: clamp(2rem, 5vw, 4rem); }
.hero p { max-width: 720px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 2rem auto;
}
section { margin-bottom: 3rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }

#panorama {
  width: 100%;
  height: min(72vh, 720px);
  min-height: 440px;
  overflow: hidden;
  border-radius: 14px;
  background: #111;
  box-shadow: 0 14px 40px rgba(0,0,0,.14);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}
.gallery a {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: white;
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
}
.gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .2s ease;
}
.gallery a:hover img { transform: scale(1.025); }
.error { padding: 1rem; background: #ffe8e8; border-radius: 8px; }
footer { padding: 2rem; text-align: center; color: #5c6670; }

@media (max-width: 600px) {
  #panorama { min-height: 60vh; border-radius: 0; }
  main { width: 100%; }
  main section > h2,
  main section > p,
  .gallery { margin-left: 1rem; margin-right: 1rem; }
}
