/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #000;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 24px 48px;
  background-color: #000;
}

.logo {
  width: auto;
  height: auto;
  max-width: 200px;
  max-height: 80px;
  object-fit: contain;
}

/* ── Sections ─────────────────────────────────────────────── */
.section {
  padding: 0 0 80px;
}

.section--dark {
  background-color: #000;
}

.section--charcoal {
  background-color: #212121;
  padding-top: 80px;
}

/* ── Section Label ────────────────────────────────────────── */
.section-label {
  padding: 0 15vw;
  margin-bottom: 24px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3.6px;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.85;
}

/* ── Photography Grid ─────────────────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 4px;
  margin-bottom: 4px;
  padding: 0 15vw;
}

.photo-grid__main {
  overflow: hidden;
}

.photo-grid__stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.photo-grid__stack-top,
.photo-grid__stack-bottom {
  flex: 1;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

/* ── Full-width Photo ─────────────────────────────────────── */
.photo-full {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 0 15vw;
}

@media (max-width: 768px) {
  .photo-full {
    aspect-ratio: 4 / 3;
  }
}

/* ── Carousel ─────────────────────────────────────────────── */
.carousel {
  position: relative;
  margin: 4px 15vw 0;
}

.carousel__track {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__slide {
  flex: 0 0 calc((100% - 8px) / 3);
  scroll-snap-align: start;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.carousel__btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.carousel__btn--prev { left: 8px; }
.carousel__btn--next { right: 8px; }

@media (max-width: 640px) {
  .carousel__slide {
    flex: 0 0 calc(100% - 40px);
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .carousel__slide {
    flex: 0 0 calc((100% - 4px) / 2);
  }
}

/* ── Graphic Design Showcase ──────────────────────────────── */
.design-showcase {
  padding: 0 15vw;
  overflow: hidden;
}

.design-showcase img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 60px 24px;
  background-color: #212121;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  width: auto;
  height: auto;
  max-width: 120px;
  max-height: 48px;
  object-fit: contain;
}

.footer-text {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 640px) {
  .site-header {
    padding: 40px 24px 32px;
  }

  .logo {
    max-width: 160px;
  }

  .section {
    padding-bottom: 56px;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .photo-grid__main {
    aspect-ratio: 4 / 5;
  }

  .photo-grid__stack {
    flex-direction: row;
  }

  .photo-grid__stack-top,
  .photo-grid__stack-bottom {
    aspect-ratio: 1 / 1;
  }

  .photo-full {
    aspect-ratio: 4 / 3;
    margin-top: 4px;
  }
}

/* ── Tablet ───────────────────────────────────────────────── */
@media (min-width: 641px) and (max-width: 1024px) {
  .photo-grid {
    grid-template-columns: 55fr 45fr;
  }

  .photo-grid__stack-top,
  .photo-grid__stack-bottom {
    aspect-ratio: 3 / 4;
  }
}
