:root {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #0f172a;
  background: #e0f2ff;
  --primary: #0ea5e9;
  --border: rgba(148, 163, 184, 0.4);
  --muted: #475569;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #e0f2ff 0%, #f8fbff 60%, #ffffff 100%);
  color: #0f172a;
}

.hero {
  padding: clamp(2rem, 6vw, 5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.hero__content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin: 0;
}

.hero__content .lead {
  max-width: 480px;
  color: var(--muted);
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), #38bdf8);
  color: #ffffff;
  font-weight: 600;
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: #0f172a;
}

.hero__stats {
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.85);
}

.hero__stats span {
  font-size: 2.6rem;
  font-weight: 700;
}

main {
  max-width: 1400px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}

.gallery-section {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.muted {
  color: var(--muted);
}

.gallery {
  margin-top: 2rem;
  column-count: 3;
  column-gap: 1.5rem;
}

.card {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  background: #f8fafc;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card picture {
  width: 100%;
  display: block;
}

.card img {
  width: 100%;
  display: block;
  height: auto;
}

.card__body {
  padding: 1.2rem;
}

.card__body h3 {
  margin: 0 0 0.4rem;
}

.card__body p {
  margin: 0 0 0.3rem;
  color: var(--muted);
}

.empty {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px dashed var(--border);
  border-radius: 1rem;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 1rem;
}

.lightbox.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__content {
  position: relative;
  max-width: min(90vw, 900px);
  max-height: 90vh;
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
}

.lightbox__content img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #0f172a;
}

.lightbox__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  border: none;
  background: rgba(15, 23, 42, 0.6);
  color: #ffffff;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  font-size: 1.25rem;
  cursor: pointer;
}

.lightbox__content figcaption {
  padding: 1rem 1.25rem 1.5rem;
}

.lightbox__title {
  margin: 0;
  font-size: 1.25rem;
}

.lightbox__caption {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .gallery {
    column-count: 2;
  }
}

@media (max-width: 640px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .gallery {
    column-count: 1;
  }
}
