.gallery-page {
  background:
    radial-gradient(circle at 82% 12%, rgba(199, 131, 125, 0.12), transparent 30%),
    linear-gradient(180deg, #281b17, #34251f);
  color: #d3bdab;
}

.gallery-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.finished-hero {
  padding: clamp(54px, 8vw, 104px) 0 clamp(28px, 5vw, 58px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  color: rgba(230, 200, 150, 0.74);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: #e6c896;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.gallery-eyebrow {
  margin: 0 0 16px;
  color: #e6c896;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.finished-hero h1,
.gallery-cta-panel h2,
.gallery-empty h2 {
  margin: 0;
  color: #fff6ea;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.98;
  letter-spacing: 0;
}

.finished-hero h1 {
  max-width: 820px;
  font-size: clamp(3.1rem, 7vw, 6rem);
}

.finished-hero p:not(.gallery-eyebrow) {
  max-width: 760px;
  margin: 22px 0 0;
  color: #d3bdab;
  font-size: 1.08rem;
  line-height: 1.75;
}

.gallery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.gallery-filter-section {
  position: sticky;
  top: 78px;
  z-index: 8;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 246, 234, 0.1);
  border-bottom: 1px solid rgba(255, 246, 234, 0.1);
  background: rgba(40, 27, 23, 0.9);
  backdrop-filter: blur(16px);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.gallery-filter {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid rgba(230, 200, 150, 0.22);
  border-radius: 999px;
  background: rgba(255, 246, 234, 0.05);
  color: rgba(255, 246, 234, 0.84);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.gallery-filter:hover,
.gallery-filter:focus-visible,
.gallery-filter.is-active {
  border-color: rgba(217, 154, 95, 0.76);
  background: rgba(217, 154, 95, 0.18);
  color: #fff6ea;
}

.finished-gallery-section {
  padding: clamp(34px, 6vw, 74px) 0;
}

.finished-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  align-items: start;
}

.finished-card {
  overflow: hidden;
  border: 1px solid rgba(255, 246, 234, 0.14);
  border-radius: 8px;
  background: rgba(62, 45, 37, 0.72);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.finished-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 154, 95, 0.48);
  background: rgba(62, 45, 37, 0.92);
}

.finished-card__image {
  display: block;
  overflow: hidden;
  background: #241815;
}

.finished-card__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.finished-card:hover img {
  transform: scale(1.035);
}

.finished-card__body {
  padding: 18px;
}

.finished-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.finished-card__body span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(230, 200, 150, 0.22);
  border-radius: 999px;
  color: #e6c896;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.finished-card__body h2 {
  margin: 14px 0 0;
  color: #fff6ea;
  font-size: 1.16rem;
  line-height: 1.3;
}

.finished-card__body p {
  margin: 9px 0 0;
  color: #d3bdab;
  line-height: 1.58;
}

.gallery-guide-link {
  padding: 0 0 clamp(28px, 5vw, 54px);
}

.gallery-guide-link p {
  margin: 0;
  padding: 18px 20px;
  border: 1px solid rgba(255, 246, 234, 0.12);
  border-radius: 8px;
  background: rgba(255, 246, 234, 0.05);
  color: #d3bdab;
  line-height: 1.65;
}

.gallery-guide-link a {
  color: #e6c896;
  font-weight: 800;
}

.gallery-bottom-cta {
  padding: 0 0 clamp(62px, 8vw, 104px);
}

.gallery-cta-panel,
.gallery-empty {
  border: 1px solid rgba(255, 246, 234, 0.14);
  border-radius: 8px;
  background: rgba(62, 45, 37, 0.62);
}

.gallery-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
}

.gallery-cta-panel h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}

.gallery-cta-panel p:not(.gallery-eyebrow) {
  max-width: 640px;
  margin: 12px 0 0;
  line-height: 1.72;
}

.gallery-empty {
  grid-column: 1 / -1;
  padding: 32px;
  text-align: center;
}

.gallery-empty h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.gallery-empty p {
  max-width: 620px;
  margin: 12px auto 0;
  line-height: 1.7;
}

.gallery-empty__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 760px) {
  .gallery-container {
    width: min(100%, calc(100% - 26px));
  }

  .finished-hero {
    padding-top: 38px;
  }

  .finished-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .finished-hero p:not(.gallery-eyebrow) {
    font-size: 1rem;
    line-height: 1.62;
  }

  .gallery-filter-section {
    position: static;
  }

  .gallery-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .gallery-filters::-webkit-scrollbar {
    display: none;
  }

  .gallery-filter {
    flex: 0 0 auto;
    font-size: 0.84rem;
  }

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

  .gallery-actions,
  .gallery-cta-panel {
    grid-template-columns: 1fr;
  }

  .gallery-empty__actions {
    flex-direction: column;
  }

  .gallery-actions .btn,
  .gallery-empty__actions .btn {
    width: 100%;
  }

  .gallery-cta-panel {
    gap: 18px;
  }
}
