:root {
  color-scheme: light;
  --bg: #0f1011;
  --bg-soft: #1d1f21;
  --card: #f7f6f3;
  --ink: #111111;
  --paper: #f0eee9;
  --accent: #cfc8bc;
  --accent-strong: #f6e4c1;
  --shadow: rgba(10, 10, 10, 0.35);
  --font-title: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Cormorant Garamond", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #0b0b0c;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.eyebrow {
  font-family: var(--font-title);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin: 0 0 0.75rem 0;
  color: rgba(255, 255, 255, 0.7);
}

.hero .eyebrow {
  color: #ffffff;
}

.statement .eyebrow,
.collection .eyebrow {
  color: #6e6a66;
}

.dark-band {
  background: linear-gradient(180deg, #0b0b0c 0%, #121316 55%, #1f2328 100%);
}

.dark-band--gallery {
  padding-bottom: 4.5rem;
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem clamp(1.5rem, 4vw, 4.5rem);
  color: #f6f3ee;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  background: url("assets/img/hero-rempart.png") center/cover no-repeat;
  filter: grayscale(0.2) contrast(1.1);
  transform: scale(1.05);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.35) 0%, rgba(12, 12, 12, 0.8) 60%, rgba(5, 5, 5, 0.95) 100%);
}

.hero__content {
  position: relative;
  max-width: 720px;
  z-index: 1;
  animation: float-in 0.9s ease-out;
}

.hero h1 {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  text-transform: uppercase;
  margin: 0 0 2.5rem 0;
  letter-spacing: 0.04em;
}

.hero__logos {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero__logos img {
  max-height: 52px;
  filter: brightness(1.1);
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.hero__logos img:hover {
  opacity: 1;
}

main {
  background: transparent;
}

.statement {
  padding: 4.5rem clamp(1.5rem, 5vw, 5rem);
  display: grid;
  gap: 3rem;
  justify-items: center;
  background: var(--paper);
}

.statement__card {
  background: var(--card);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: 0 25px 60px var(--shadow);
  border-radius: 18px;
  max-width: 800px;
  text-align: center;
  animation: rise-in 0.9s ease-out;
}

.statement__card h2 {
  font-family: var(--font-title);
  text-transform: uppercase;
  margin: 0 0 1rem 0;
  letter-spacing: 0.08em;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.statement__meta {
  margin-bottom: 1rem;
}

.statement__year {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 !important;
  color: #1a1a1a;
}

.statement__technique {
  font-size: 0.95rem;
  margin: 0 !important;
  color: #6e6a66;
}

.statement__location {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 0.25rem 0 !important;
  color: #6e6a66;
  font-style: italic;
}

.statement__divider {
  width: 90px;
  height: 3px;
  background: #1a1a1a;
  margin: 1.2rem auto 1.8rem;
}

.statement__card p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 0 1.2rem 0;
  color: #2f2c29;
}


.section__header {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section__header h2 {
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1rem 0;
}

.section__header p {
  margin: 0;
  font-size: 1.1rem;
  color: #3b3835;
}

.section__header--cartel {
  margin-bottom: 0;
}

.section__header--cartel .eyebrow {
  color: #111111;
}

.section__header--light h2,
.section__header--light p,
.section__header--light .eyebrow {
  color: rgba(245, 243, 238, 0.85);
}

.gallery {
  padding: 3.5rem clamp(1.5rem, 5vw, 5rem);
  background: transparent;
}

.gallery__wrapper {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  justify-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery__featured {
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 15, 15, 0.25);
  position: relative;
  max-width: min(900px, 100%);
  animation: fade-in 0.8s ease both;
}

.gallery__featured img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.gallery__featured-label {
  position: absolute;
  bottom: 1.2rem;
  right: 1.2rem;
  background: rgba(15, 15, 15, 0.75);
  color: #f6f3ee;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-family: var(--font-title);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.gallery__nav-btn {
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #f6f3ee;
  font-size: 1.75rem;
  padding: 0.25rem 0.75rem 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-weight: 300;
}

.gallery__nav-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.gallery__nav-btn:active {
  transform: translateY(0);
}

.collection {
  padding: 4.5rem clamp(1.5rem, 5vw, 5rem) 5.5rem;
  background: #f0eeea;
}

.collection__list {
  display: grid;
  gap: 1rem;
  max-width: 820px;
  margin: 2rem auto 0;
}

.collection__item {
  background: #111111;
  color: #f6f3ee;
  padding: 1rem 1.5rem;
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 6px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.collection__item::after {
  content: ">";
  font-size: 1rem;
}

.collection__item:hover {
  transform: translateX(6px);
  background: #1d1d1d;
}

.footer {
  background: #0d0d0d;
  color: #f6f3ee;
  padding: 2.5rem clamp(1.5rem, 5vw, 5rem) 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.footer__title {
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 1.1rem;
}

.footer__logos {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.footer__logos img {
  max-height: 44px;
  filter: brightness(1.2);
  opacity: 0.9;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.95);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  justify-items: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 20;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__figure {
  margin: 0;
  max-width: min(90vw, 960px);
  display: grid;
  gap: 1rem;
  color: #f5f3ee;
  text-align: center;
}

.lightbox__image {
  max-height: 70vh;
  width: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.lightbox__caption {
  font-family: var(--font-title);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  border: none;
  background: transparent;
  color: #f5f3ee;
  font-size: 2rem;
  cursor: pointer;
}

.lightbox__nav {
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #f5f3ee;
  font-size: 1.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-weight: 300;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.lightbox__nav:active {
  transform: translateY(0);
}

.gallery__nav-item:nth-child(1) { animation-delay: 0.05s; }
.gallery__nav-item:nth-child(2) { animation-delay: 0.1s; }
.gallery__nav-item:nth-child(3) { animation-delay: 0.15s; }
.gallery__nav-item:nth-child(4) { animation-delay: 0.2s; }

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .statement__logos {
    justify-content: center;
  }

  .lightbox {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    gap: 1rem;
  }

  .lightbox__nav {
    order: 3;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 6rem;
  }

  .gallery__nav-item {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
  }

  .collection__item {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
  }
}
