/* Design System: BOLD-EDITORIAL */
:root {
  --primary: #6b21a8;
  --secondary: #faf5ff;
  --accent: #f97316;
  --text: #3b0764;
  --bg: #ffffff;
}

body {
  background: #fff;
  color: #000;
  font-family: 'Inter', sans-serif;
}

section {
  padding: 64px 16px;
}

h1, h2 {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.card {
  border-left: 4px solid #000;
  padding-left: 20px;
  border-radius: 0;
}

.btn {
  border-radius: 0;
  border: 2px solid #000;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.2s ease-in-out;
}

/* Accessibility / Hidden Radios */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Gallery CSS Engine */
.gallery-main {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
  border: 4px solid #000;
  background-color: #f3f4f6;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.3s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slide Selection Logic */
#img-1:checked ~ .gallery-main .slide-1 { opacity: 1; z-index: 10; }
#img-2:checked ~ .gallery-main .slide-2 { opacity: 1; z-index: 10; }
#img-3:checked ~ .gallery-main .slide-3 { opacity: 1; z-index: 10; }
#img-4:checked ~ .gallery-main .slide-4 { opacity: 1; z-index: 10; }

/* Thumbnails */
.thumbnails {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.thumbnails label {
  flex: 1;
  aspect-ratio: 1;
  cursor: pointer;
  border: 2px solid #e5e7eb;
  overflow: hidden;
  transition: all 0.2s ease;
}

.thumbnails label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Active Thumbnail Styling */
#img-1:checked ~ .thumbnails label[for="img-1"] { border-color: var(--primary); border-width: 4px; transform: scale(0.95); }
#img-2:checked ~ .thumbnails label[for="img-2"] { border-color: var(--primary); border-width: 4px; transform: scale(0.95); }
#img-3:checked ~ .thumbnails label[for="img-3"] { border-color: var(--primary); border-width: 4px; transform: scale(0.95); }
#img-4:checked ~ .thumbnails label[for="img-4"] { border-color: var(--primary); border-width: 4px; transform: scale(0.95); }