.photo-hero {
  position: relative;
  height: 80vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
  border-bottom: 1px solid var(--border-soft);
}

.photo-hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(120deg, rgba(176, 141, 87, 0.24), rgba(28, 24, 18, 0.5)),
    radial-gradient(circle at 84% 18%, rgba(240, 230, 211, 0.35), transparent 34%),
    linear-gradient(to top, rgba(20, 16, 13, 0.72), rgba(20, 16, 13, 0.2)),
    url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.photo-hero:hover .photo-hero-art {
  transform: scale(1);
}

.photo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(5, 3, 2, 0.42) 0%, rgba(5, 3, 2, 0.2) 50%, rgba(5, 3, 2, 0.78) 100%);
}

.photo-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
  margin-top: 0;
  transform: translateY(clamp(28px, 6vh, 68px));
  animation: heroFadeIn 1.6s ease both;
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.photo-hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.photo-hero-title {
  margin: 0 0 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 8vw, 112px);
  font-weight: 300;
  line-height: 0.9;
  color: #fff;
}

.photo-hero-title em {
  font-style: italic;
  color: var(--gold-light);
  display: block;
}

.photo-hero-sub {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.photo-main {
  padding: 96px 56px;
  background:
    radial-gradient(circle at 10% 10%, rgba(176, 141, 87, 0.1), transparent 28%),
    radial-gradient(circle at 90% 80%, rgba(176, 141, 87, 0.08), transparent 25%),
    var(--bg);
}

.album-head,
.detail-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.album-tag,
.detail-meta {
  margin: 0 0 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
}

.album-title,
.detail-title {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.98;
  font-weight: 300;
  color: var(--ink);
}

.album-title em,
.detail-title em {
  color: var(--gold);
  font-style: italic;
  font-weight: 300;
}

.album-lead,
.detail-lead {
  margin: 16px auto 0;
  max-width: 620px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-muted);
}

.album-grid {
  column-count: 3;
  column-gap: 34px;
}

.album-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 30px;
  break-inside: avoid;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  opacity: 0;
  transform: translateY(18px);
  animation: cardReveal 0.55s ease forwards;
}

.album-card::before {
  display: none;
}

.album-card::after {
  display: none;
}

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

.album-card:nth-child(2) { animation-delay: 40ms; }
.album-card:nth-child(3) { animation-delay: 80ms; }
.album-card:nth-child(4) { animation-delay: 120ms; }
.album-card:nth-child(5) { animation-delay: 160ms; }
.album-card:nth-child(6) { animation-delay: 200ms; }
.album-card:nth-child(7) { animation-delay: 240ms; }
.album-card:nth-child(8) { animation-delay: 280ms; }
.album-card:nth-child(9) { animation-delay: 320ms; }
.album-card:nth-child(10) { animation-delay: 360ms; }

.album-card:hover {
  transform: translateY(-4px);
  border-color: rgba(176, 141, 87, 0.3);
  box-shadow: 0 16px 34px rgba(28, 24, 18, 0.11);
}

.album-card.layout-portrait {
  display: inline-block;
}

.album-card.layout-portrait-tall {
  display: inline-block;
}

.album-card.layout-landscape {
  display: inline-block;
}

.album-card.layout-wide {
  display: inline-block;
}

.album-cover {
  position: relative;
  height: 540px;
  overflow: hidden;
  border-radius: 0;
}

.album-cover::before {
  display: none;
}

.album-card.layout-portrait-tall .album-cover {
  height: 620px;
}

.album-card.layout-landscape .album-cover {
  height: 250px;
}

.album-card.layout-wide .album-cover {
  height: 300px;
}

.album-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 14, 11, 0.45) 0%, rgba(17, 14, 11, 0) 52%);
}

.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.album-card:hover .album-cover img {
  transform: scale(1.08);
}

.album-count {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(17, 14, 11, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.album-info {
  padding: 12px 16px 14px;
  display: grid;
  gap: 6px;
}

.album-name {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0.01em;
}

.album-date {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.album-open {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.album-open::after {
  content: "→";
  margin-left: 8px;
  transition: transform 0.25s;
}

.album-card:hover .album-open::after {
  transform: translateX(4px);
}

.album-detail[hidden] {
  display: none;
}

.detail-head-copy {
  max-width: 760px;
  margin: 0 auto;
}

.detail-count {
  margin-top: 10px;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(27, 24, 22, 0.2);
  background: rgba(255, 255, 255, 0.65);
  color: var(--text-main);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.back-btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink);
  padding: 10px 20px;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  margin-bottom: 16px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.back-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(160px, 20vw, 300px);
  grid-auto-flow: dense;
  gap: 5px;
}

.detail-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
  margin: 0;
  min-height: 0;
}

.detail-item.ps-tall {
  grid-row: span 2;
}

.detail-item.ps-wide {
  grid-column: span 2;
  grid-row: span 2;
}

.detail-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.55s;
}

.detail-item:hover img {
  transform: scale(1.03);
}

.cta-band {
  padding: 110px 56px;
  text-align: center;
  background: var(--gold-pale);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.cta-band::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(176, 141, 87, 0.3);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-band::after {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border: 1px solid rgba(176, 141, 87, 0.15);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-band-tag {
  font-size: 10px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.cta-band-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 300;
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: 44px;
  position: relative;
  z-index: 1;
}

.cta-band-title em {
  font-style: italic;
  color: var(--gold);
}

.cta-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.btn-dark,
.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 12px 28px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 0.3s;
}

.cta-band .btn-dark,
.cta-band .btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 15px 34px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.cta-band .btn-dark:hover,
.cta-band .btn-ghost-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(176, 141, 87, 0.22);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--gold);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost-dark:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 42px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 90vw);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(12, 12, 12, 0.65);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  left: 26px;
}

.lightbox-next {
  right: 26px;
}

@media (max-width: 1200px) {
  .album-grid {
    column-count: 2;
    column-gap: 22px;
  }

  .album-card {
    margin-bottom: 24px;
  }

  .album-cover {
    height: 500px;
  }

  .album-card.layout-portrait-tall .album-cover {
    height: 560px;
  }

  .album-card.layout-landscape .album-cover {
    height: 220px;
  }

  .album-card.layout-wide .album-cover {
    height: 270px;
  }
}

@media (max-width: 900px) {
  .photo-hero {
    height: 60vh;
    min-height: 380px;
  }

  .photo-hero-content {
    transform: translateY(clamp(18px, 4vh, 44px));
  }

  .photo-hero-title {
    font-size: clamp(44px, 12vw, 80px);
  }

  .photo-main {
    padding: 64px 24px;
  }

  .album-grid {
    column-count: 2;
    column-gap: 16px;
  }

  .album-card {
    margin-bottom: 22px;
  }

  .album-cover {
    height: 340px;
  }

  .album-card.layout-portrait-tall .album-cover {
    height: 390px;
  }

  .album-card.layout-landscape .album-cover,
  .album-card.layout-wide .album-cover {
    height: 190px;
  }

  .album-name {
    font-size: 28px;
  }

  .detail-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(140px, 28vw, 260px);
  }

  .detail-item.ps-wide {
    grid-column: span 2;
    grid-row: span 2;
  }

  .cta-band {
    padding: 80px 24px;
  }

  .cta-band-title {
    font-size: clamp(36px, 10vw, 64px);
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }

  .cta-band .btn-dark,
  .cta-band .btn-ghost-dark {
    width: 100%;
    max-width: 320px;
  }

  .lightbox {
    padding: 20px;
  }

  .lightbox-prev,
  .lightbox-next {
    bottom: 18px;
    top: auto;
  }

  .lightbox-prev {
    left: calc(50% - 60px);
  }

  .lightbox-next {
    right: calc(50% - 60px);
  }
}

@media (max-width: 640px) {
  .photo-hero-title {
    font-size: clamp(38px, 13vw, 60px);
  }

  .album-grid {
    column-count: 1;
    column-gap: 0;
  }

  .album-card {
    margin-bottom: 18px;
  }

  .detail-count {
    font-size: 0.74rem;
    letter-spacing: 0.12em;
  }

  .album-cover,
  .album-card.layout-portrait-tall .album-cover,
  .album-card.layout-landscape .album-cover,
  .album-card.layout-wide .album-cover {
    height: 310px;
  }

  .album-name {
    font-size: 24px;
  }

  .album-info {
    padding: 10px 12px 12px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 56vw;
  }

  .detail-item.ps-wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .detail-item.ps-tall {
    grid-row: span 2;
  }
}
