:root {
  --bg: #080408;
  --bg-soft: #130912;
  --card: rgba(18, 9, 16, 0.72);
  --line: rgba(255, 186, 158, 0.25);
  --line-strong: rgba(255, 206, 180, 0.48);
  --text: #fff4ec;
  --muted: #d7a99e;
  --glow: #ff7a61;
  --shadow: rgba(0, 0, 0, 0.65);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 135, 108, 0.24), transparent 34rem),
    radial-gradient(circle at 12% 18%, rgba(126, 44, 56, 0.22), transparent 28rem),
    linear-gradient(180deg, #120711 0%, #060306 46%, #030203 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 70%);
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 36rem;
  height: 36rem;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.34;
  pointer-events: none;
}

.ambient-one {
  top: 12%;
  left: -12rem;
  background: #7a1f35;
}

.ambient-two {
  right: -10rem;
  bottom: 10%;
  background: #f27b5e;
  opacity: 0.18;
}

.site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 42px;
  text-align: center;
}

.logo {
  display: block;
  width: min(660px, 92vw);
  height: auto;
  margin: 0 auto 24px;
  filter:
    drop-shadow(0 0 14px rgba(255, 255, 255, 0.18))
    drop-shadow(0 18px 34px rgba(0, 0, 0, 0.9));
  animation: logoFloat 7s ease-in-out infinite alternate;
}

.tagline {
  margin: 0;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(0.82rem, 1.4vw, 1rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #ffd6c7;
  text-shadow: 0 0 24px rgba(255, 121, 92, 0.45);
}

.description {
  max-width: 680px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  line-height: 1.7;
}

.gallery {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
}

.art-card {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 177, 146, 0.10), rgba(255, 255, 255, 0.02) 32%, rgba(0, 0, 0, 0.18)),
    var(--card);
  box-shadow: 0 28px 80px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  animation: reveal 0.9s ease forwards;
}

.art-card:nth-child(2) { animation-delay: 0.08s; }
.art-card:nth-child(3) { animation-delay: 0.16s; }
.art-card:nth-child(4) { animation-delay: 0.24s; }
.art-card:nth-child(5) { animation-delay: 0.32s; }

.feature {
  margin-bottom: clamp(16px, 2.4vw, 30px);
}

.wide {
  grid-column: 1 / -1;
}

.art-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 17px;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.tall .art-button {
  aspect-ratio: 4 / 5;
}
.tall {
  width: 50%;

}

.art-button img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 17px;
  transform: scale(1.001);
  transition: transform 700ms ease, filter 700ms ease;
}

.art-card:hover .art-button img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.05) brightness(1.03);
}

.art-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 17px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 222, 205, 0.12), inset 0 -70px 80px rgba(0, 0, 0, 0.14);
}

figcaption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid rgba(255, 209, 187, 0.24);
  border-radius: 999px;
  background: rgba(8, 4, 8, 0.55);
  backdrop-filter: blur(14px);
  color: #ffe6dc;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(0.72rem, 1vw, 0.88rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(255, 117, 91, 0.35);
}

.site-footer {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 42px;
  color: rgba(255, 214, 199, 0.38);
  font-family: Cinzel, Georgia, serif;
  font-size: 0.75rem;
  letter-spacing: 0.42em;
  text-align: center;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 34px;
  background: rgba(4, 2, 4, 0.92);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

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

.lightbox img {
  width: min(1500px, 94vw);
  max-height: 82vh;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.88), 0 0 80px rgba(255, 112, 81, 0.12);
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 26px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 214, 199, 0.28);
  border-radius: 999px;
  background: rgba(14, 7, 12, 0.72);
  color: #ffe7dd;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

#lightbox-title {
  margin: 18px 0 0;
  font-family: Cinzel, Georgia, serif;
  color: #ffd8cb;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoFloat {
  from {
    transform: translateY(-5px) scale(0.995);
  }
  to {
    transform: translateY(7px) scale(1.01);
  }
}

@media (max-width: 780px) {
  .site-header {
    padding-top: 44px;
  }

  .description {
    font-size: 0.95rem;
  }

  .art-grid {
    grid-template-columns: 1fr;
  }

  .wide {
    grid-column: auto;
  }

  figcaption {
    left: 18px;
    bottom: 18px;
    max-width: calc(100% - 36px);
  }

  .lightbox {
    padding: 18px;
  }
}
