*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #111;
  --white: #fff;
  --grey: #888;
  --light: #f0f0f0;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: 'Courier Prime', monospace;
  min-height: 100vh;
}

header {
  background: var(--white);
  padding: 2.5rem 3rem 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

h1 {
  font-family: Impact, sans-serif;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--black);
}

main {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 3rem 2rem;
  gap: 3rem;
}

.featured {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.featured-img-wrap {
  width: 100%;
  max-width: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}

.featured-img-wrap img {
  max-width: 100%;
  max-height: 560px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.featured-title {
  font-family: 'Courier Prime', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--black);
  text-align: center;
}

.thumbnails {
  border-top: 1px solid #e0e0e0;
  padding-top: 2rem;
}

.thumbnails-label {
  font-family: Impact, sans-serif;
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--black);
  margin-bottom: 1rem;
}

.thumbnails-label {
  text-align: center;
  width: 100%;
}

.thumb-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.thumb {
  width: 90px;
  height: 90px;
  cursor: pointer;
  overflow: hidden;
  background: var(--light);
  flex-shrink: 0;
  border: 2px solid transparent;
  transition: border-color 0.15s, opacity 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb:hover { opacity: 0.75; }
.thumb.active { border-color: var(--black); }

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
