:root {
  --ink: #0f172a;
  --paper: #f8f4ec;
  --mint: #2dd4bf;
  --amber: #f59e0b;
  --slate: #334155;
  --card: #ffffff;
  --glow: radial-gradient(circle at 20% 20%, #59e5c8 0%, #0ea5a4 35%, #0f172a 72%);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image: radial-gradient(#00000014 0.9px, transparent 0.9px);
  background-size: 4px 4px;
  z-index: 0;
}

.hero {
  position: relative;
  z-index: 1;
  background: var(--glow);
  color: #e6f5ff;
  padding: 1.4rem clamp(1rem, 3vw, 3rem) 5rem;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.brand {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.hero-body {
  width: min(860px, 100%);
  padding: 5rem 0 2rem;
}

.tag {
  display: inline-flex;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #ffffff4c;
  margin-bottom: 1rem;
}

h1,
h2 {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.7rem);
  max-width: 16ch;
}

.lead {
  margin-top: 1.1rem;
  font-size: clamp(1rem, 1.9vw, 1.3rem);
  max-width: 58ch;
  color: #c4dff7;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta,
.ghost {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.74rem 1.2rem;
  border-radius: 0.75rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}

.cta {
  background: var(--mint);
  color: #042f2e;
}

.cta:hover {
  transform: translateY(-2px);
}

.cta.small {
  padding: 0.5rem 0.9rem;
}

.ghost {
  color: #dbedff;
  border: 1px solid #ffffff57;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2rem;
  height: 5rem;
  background: linear-gradient(178deg, transparent 5%, var(--paper) 70%);
}

main {
  position: relative;
  z-index: 1;
  padding: 2rem clamp(1rem, 3vw, 3rem) 4rem;
}

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

.stats article {
  background: var(--card);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 10px 24px #0f172a12;
  border-left: 8px solid var(--amber);
}

.stats h2 {
  font-size: 1.1rem;
}

.about {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  background: #fff;
  border-radius: 1.2rem;
  padding: clamp(1rem, 2.5vw, 2rem);
  box-shadow: 0 10px 24px #0f172a10;
}

.about h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.about ul {
  margin: 0;
  padding-left: 1rem;
}

.about li {
  margin: 0.6rem 0;
}

.section-head {
  margin-top: 2.4rem;
}

.gallery {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 16px 30px #0f172a14;
  display: flex;
  flex-direction: column;
}

.gallery .card:nth-child(1),
.gallery .card:nth-child(2),
.gallery .card:nth-child(3) {
  grid-column: span 6;
}

.gallery .card:nth-child(4) {
  grid-column: span 6;
}

.card img {
  width: 100%;
  display: block;
  background: #e2e8f0;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.card.mobile img {
  aspect-ratio: 16/9;
  object-fit: contain;
  padding: 0.8rem;
  background: #e2e8f0;
}

figcaption {
  padding: 0.9rem 1rem;
  color: var(--slate);
  font-size: 0.95rem;
  margin-top: auto;
}

.contact {
  margin-top: 2.5rem;
  padding: 2rem;
  border-radius: 1.2rem;
  background: #0f172a;
  color: #e2e8f0;
}

.contact h2 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
}

footer {
  position: relative;
  z-index: 1;
  padding: 1rem;
  text-align: center;
  color: #475569;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .hero-body {
    padding-top: 3.7rem;
  }

  .gallery .card:nth-child(1),
  .gallery .card:nth-child(2),
  .gallery .card:nth-child(3),
  .gallery .card:nth-child(4) {
    grid-column: span 6;
  }
}

@media (max-width: 920px) {
  .hero {
    padding-bottom: 4.2rem;
  }

  .hero-body {
    padding-top: 2.9rem;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .gallery .card:nth-child(1),
  .gallery .card:nth-child(2),
  .gallery .card:nth-child(3),
  .gallery .card:nth-child(4) {
    grid-column: span 12;
  }

  .card img {
    aspect-ratio: 16/10;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 1rem 0.9rem 3.8rem;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .brand {
    text-align: center;
  }

  .cta.small {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .cta,
  .hero-actions .ghost {
    width: 100%;
  }

  main {
    padding: 1.5rem 0.9rem 3rem;
  }

  .about,
  .contact {
    padding: 1rem;
  }

  .card {
    border-radius: 0.85rem;
  }

  .card img {
    aspect-ratio: 4/3;
  }

  figcaption {
    font-size: 0.9rem;
  }
}
