/* ================= BASE ================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #000;
  scroll-behavior: smooth;
  text-align: center;
}

/* ================= SECTIONS ================= */
.section {
  padding: 4.5rem 2rem; /* reduced from 90px 8% */
  text-align: center;
  scroll-margin-top: 120px;
}

.section.white {
  background: #fff;
}

.section.grey {
  background: #d8e2ec;
}

/* ================= TITLES ================= */
.section h2 {
  text-align: center;
  font-size: 1.4rem; /* reduced from 2.2rem */
  letter-spacing: 3px;
  margin-bottom: 2.5rem;
}

/* ================= TEXT ================= */
.section-description {
  text-align: center;
  max-width: 850px;
  margin: 1.8rem auto 2.2rem;
  padding: 0 1.5rem;
  font-size: 1.02rem; /* slightly tighter */
  line-height: 1.65;
  color: #333;
  opacity: 1;
}

/* ================= NAV ================= */
.section-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #000;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 0.9rem 1rem;
  border-bottom: 2px solid #00aaff;
}

.section-nav a {
  color: #00aaff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem; /* reduced from 0.9rem */
}

/* ================= COMBO BLOCK ================= */
.combo-block {
  margin: 2.5rem auto 2rem; /* tighter spacing */
  text-align: center;
  max-width: 1200px;
}

.combo-block img {
  width: 100%;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

.combo-captions {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 0.6rem;
  font-size: 0.78rem; /* smaller captions */
  letter-spacing: 0.5px;
  opacity: 0.75;
}

/* ================= WIDE IMAGE ================= */
.wide-image {
  max-width: 1200px;
  margin: 2.5rem auto;
  text-align: center;
}

.wide-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

.wide-image span {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  opacity: 0.75;
}

/* ================= MASONRY GRID ================= */
.masonry {
  column-count: 3;
  column-gap: 1.4rem; /* tighter */
  max-width: 1200px;
  margin: 0 auto;
}

/* responsive */
@media (max-width: 1100px) {
  .masonry { column-count: 2; }
}

@media (max-width: 700px) {
  .masonry { column-count: 1; }

  .section-nav {
    display: none;
  }

  .section {
    padding: 3rem 1.5rem;
  }

  .section-description {
    font-size: 0.95rem;
    padding: 0 1rem;
  }
}

/* ================= ITEMS ================= */
.pin {
  break-inside: avoid;
  margin-bottom: 1.4rem;
  text-align: center;
}

/* ================= MEDIA ================= */
.pin img,
.pin video {
  width: 100%;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

/* ================= CAPTIONS ================= */
.pin figcaption {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  color: #555;
  opacity: 1;
}

/* ================= IMAGE BASE ================= */
.img {
  width: 100%;
  background: #ddd;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #000;
}

.img img {
  width: 100%;
  display: block;
}

/* ================= GLOBAL CAPTION ================= */
figcaption {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  color: #555;
  text-align: center;
}

/* ================= ALIGN FIX ================= */
.masonry img {
  display: block;
  margin: 0 auto;
}

html {
  scroll-behavior: smooth;
}