:root {
  --bg: #060606;
  --bg-soft: #111111;
  --panel: rgba(17, 17, 18, 0.9);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #f3efe9;
  --muted: #beb6ae;
  --muted-strong: #ddd5cd;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 18px 36px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 32%),
    linear-gradient(180deg, #101010 0%, #050505 34%, #070707 100%);
  color: var(--text);
  font-family: "Segoe UI", system-ui, sans-serif;
}

body {
  overflow-x: hidden;
}

a,
button {
  font: inherit;
}

.landing-shell {
  min-height: 100vh;
}

.admin-launch {
  position: fixed;
  top: 50%;
  right: 0.22rem;
  transform: translateY(-50%);
  z-index: 20;
  color: rgba(197, 191, 183, 0.5);
  text-decoration: none;
  font-size: 1.35rem;
  line-height: 1;
  padding: 0.18rem 0.36rem;
  transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.admin-launch:hover,
.admin-launch:focus-visible {
  color: rgba(232, 226, 219, 0.86);
  opacity: 1;
  transform: translateY(-50%) scale(1.04);
  outline: none;
}

.spotlight {
  position: relative;
  min-height: 100vh;
  padding: 1rem;
}

.spotlight__link {
  position: relative;
  display: block;
  min-height: calc(100vh - 2rem);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  background: #090909;
}

.spotlight__media,
.spotlight__image,
.spotlight__wash {
  position: absolute;
  inset: 0;
}

.spotlight__image {
  opacity: 0;
  background-position: center center;
  background-size: cover;
  transform: scale(1.025);
  transition: opacity 1400ms ease;
}

.spotlight__image.is-visible {
  opacity: 1;
}

.spotlight__wash {
  background:
    linear-gradient(180deg, rgba(4, 4, 4, 0.02), rgba(4, 4, 4, 0.08) 42%, rgba(4, 4, 4, 0.18)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.08), transparent 48%, rgba(0, 0, 0, 0.04));
}

.spotlight__content {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 2rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 0.9rem;
  padding: clamp(1.25rem, 4vw, 3rem);
  text-align: right;
}

.spotlight__eyebrow,
.gallery-card__eyebrow,
.gallery-empty__title {
  margin: 0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.spotlight__eyebrow,
.gallery-card__eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.spotlight__title,
.archive__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.05em;
}

.spotlight__title {
  max-width: min(32rem, 100%);
  font-size: clamp(2.35rem, 4.7vw, 4.45rem);
  line-height: 0.94;
}

.spotlight__summary,
.archive__copy,
.gallery-card__summary,
.gallery-empty__copy {
  margin: 0;
  color: rgba(243, 239, 233, 0.8);
  font-size: 1rem;
  line-height: 1.6;
}

.spotlight__summary {
  max-width: 28rem;
}

.spotlight__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.spotlight__meta-item,
.gallery-card__meta-item {
  display: inline-flex;
  align-items: center;
  min-height: 2.3rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 12, 12, 0.28);
  color: rgba(249, 246, 241, 0.92);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.71rem;
}

.spotlight__pagination {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.4rem;
  justify-content: flex-end;
}

.spotlight__dot {
  width: 2.2rem;
  height: 0.2rem;
  border: 0;
  background: rgba(255, 255, 255, 0.26);
  padding: 0;
}

.spotlight__dot.is-active {
  background: rgba(255, 255, 255, 0.92);
}

.archive {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.archive__header {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.archive__title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.95;
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.gallery-card {
  position: relative;
  grid-column: span 6;
  min-height: 25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111111;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

.gallery-card:first-child {
  grid-column: span 6;
  min-height: 25rem;
}

.gallery-card__image,
.gallery-card__overlay {
  position: absolute;
  inset: 0;
}

.gallery-card__image {
  background-position: center center;
  background-size: cover;
  transform: scale(1.015);
  transition: transform 260ms ease, filter 260ms ease;
}

.gallery-card__overlay {
  background:
    linear-gradient(180deg, rgba(12, 12, 12, 0.04), rgba(12, 12, 12, 0.16) 32%, rgba(12, 12, 12, 0.86)),
    linear-gradient(90deg, rgba(12, 12, 12, 0.34), transparent 48%, rgba(12, 12, 12, 0.12));
}

.gallery-card__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.8rem;
  padding: 1.25rem;
}

.gallery-card__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 4vw, 3.15rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.gallery-card:not(:first-child) .gallery-card__title {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.gallery-card__summary {
  max-width: 26rem;
}

.gallery-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.gallery-card:hover .gallery-card__image,
.gallery-card:focus-visible .gallery-card__image {
  transform: scale(1.04);
  filter: saturate(1.04) contrast(1.03);
}

.gallery-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.gallery-card--empty .gallery-card__image {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #222 0%, #121212 100%);
}

.gallery-empty {
  padding: 2.5rem 1.5rem 3rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 10, 0.6);
}

.gallery-empty__title {
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 0.7rem;
}

.gallery-empty__copy {
  max-width: 34rem;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .gallery-card,
  .gallery-card:first-child {
    grid-column: span 6;
    min-height: 26rem;
  }
}

@media (max-width: 760px) {
  .spotlight {
    min-height: auto;
    padding: 0.75rem;
  }

  .spotlight__link,
  .spotlight__content {
    min-height: 80vh;
  }

  .spotlight__content {
    padding: 1.25rem;
    gap: 0.8rem;
  }

  .spotlight__title,
  .spotlight__summary {
    max-width: 100%;
  }

  .spotlight__meta {
    gap: 0.55rem;
  }

  .spotlight__meta-item {
    min-height: 2.05rem;
    padding: 0.6rem 0.8rem;
  }

  .archive {
    padding: 1rem 0.75rem 2rem;
  }

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

  .gallery-card,
  .gallery-card:first-child {
    grid-column: auto;
    min-height: 23rem;
  }

  .admin-launch {
    right: 0.1rem;
  }
}
