:root {
  color-scheme: dark;
  --bg: #050c08;
  --bg-deep: #020603;
  --panel: rgba(6, 20, 13, 0.72);
  --panel-strong: rgba(4, 14, 9, 0.92);
  --text: #f4ecd7;
  --muted: #d3c09a;
  --gold: #cfa536;
  --gold-soft: #e5c56a;
  --gold-faint: rgba(207, 165, 54, 0.26);
  --line: rgba(207, 165, 54, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --header-h: clamp(92px, 10vw, 120px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: clamp(110px, 13vw, 150px);
}

.gallery-page,
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Georgia, "Times New Roman", Times, serif;
  background:
    radial-gradient(circle at top, rgba(79, 119, 24, 0.22), transparent 28%),
    linear-gradient(180deg, #07140d 0%, var(--bg) 40%, var(--bg-deep) 100%);
}

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

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

[id] {
  scroll-margin-top: clamp(110px, 13vw, 150px);
}

#gallery-collection {
  scroll-margin-top: clamp(0px, 0vw, 0px);
}

.gallery-section {
  scroll-margin-top: clamp(0px, 0vw, 0px);
  padding-top: 0.75rem;
}

main {
  padding-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  overflow: hidden;
  background:
    radial-gradient(circle at center top, rgba(229, 197, 106, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(6, 8, 7, 0.36), rgba(3, 4, 4, 0.26));
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(229, 197, 106, 0.12);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.header-logo-link {
  display: block;
  width: min(100%, 660px);
  height: clamp(88px, 9.4vw, 114px);
  margin: 0 auto;
}

.header-banner {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.header-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1720px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.5rem 0;
  pointer-events: none;
}

.header-overlay a {
  pointer-events: auto;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.top-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(42px, 3.8vw, 54px);
  height: clamp(42px, 3.8vw, 54px);
  transition: transform 160ms ease, filter 160ms ease, opacity 160ms ease;
}

.nav-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.55));
  transition: filter 160ms ease, transform 160ms ease;
}

.top-link:hover .nav-image,
.top-link:focus-visible .nav-image {
  transform: scale(1.06);
  filter:
    drop-shadow(0 0 6px rgba(229, 197, 106, 0.65))
    drop-shadow(0 0 16px rgba(229, 197, 106, 0.35))
    drop-shadow(0 2px 8px rgba(0, 0, 0, 0.55));
}

.top-link:hover,
.top-link:focus-visible {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #061109;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero::before {
  background:
    linear-gradient(180deg, rgba(1, 4, 2, 0.48), rgba(1, 4, 2, 0.68)),
    url("assets/featring.png") center center / cover no-repeat;
  transform: scale(1.08);
  filter: blur(4px) brightness(0.52) saturate(0.95);
}

.hero::after {
  background:
    radial-gradient(circle at center, rgba(14, 26, 10, 0.2), transparent 45%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.28));
}

.gallery-hero::before {
  background:
    linear-gradient(180deg, rgba(1, 4, 2, 0.48), rgba(1, 4, 2, 0.68)),
    url("assets/featring.png") center center / cover no-repeat;
  transform: scale(1.08);
  filter: blur(4px) brightness(0.5) saturate(0.95);
}

.gallery-hero::after {
  background:
    radial-gradient(circle at center, rgba(14, 26, 10, 0.2), transparent 45%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.28));
}

.gallery-hero .hero-content {
  padding: 1.2rem 0 1.9rem;
}

.gallery-hero .hero-subtitle {
  margin-top: 1.2rem;
}

.gallery-hero .hero-button {
  margin-top: 2.2rem;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  text-align: center;
  padding: 1.4rem 0 2rem;
}

.hero:not(.gallery-hero) .hero-content {
  padding: 0.25rem 0 1.5rem;
}

.hero:not(.gallery-hero) {
  place-items: start center;
}

.hero-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  line-height: 0;
}

.hero-title-image {
  display: block;
  width: min(100%, 1120px);
  height: auto;
}

.hero:not(.gallery-hero) .hero-title-image {
  width: min(100%, 940px);
}

.hero:not(.gallery-hero) .hero-subtitle {
  margin: 1.8rem auto 0;
  max-width: 52rem;
  color: rgba(234, 227, 214, 0.9);
  font-size: clamp(0.82rem, 1.25vw, 1rem);
  line-height: 1.45;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gallery-hero .hero-title-image {
  width: min(100%, 840px);
}

.gallery-hero .hero-subtitle {
  margin: 1.8rem auto 0;
  max-width: 52rem;
  color: rgba(234, 227, 214, 0.9);
  font-size: clamp(0.82rem, 1.25vw, 1rem);
  line-height: 1.45;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  margin-top: 2.2rem;
  padding: 1rem 2rem;
  min-width: min(100%, 500px);
  border: 1px solid rgba(207, 165, 54, 0.8);
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.36em;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.14);
  box-shadow:
    0 0 0 1px rgba(229, 197, 106, 0.18),
    0 0 20px rgba(229, 197, 106, 0.18),
    0 8px 30px rgba(0, 0, 0, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.hero-button:hover,
.hero-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(229, 197, 106, 0.95);
  box-shadow:
    0 0 0 1px rgba(229, 197, 106, 0.28),
    0 0 26px rgba(229, 197, 106, 0.38),
    0 0 52px rgba(229, 197, 106, 0.18),
    0 10px 34px rgba(0, 0, 0, 0.24);
}

.section-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0;
  text-align: center;
}

.contact-section {
  background: linear-gradient(180deg, rgba(3, 8, 5, 0.96), rgba(4, 14, 9, 0.98));
}

.eyebrow {
  margin: 0 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.38em;
  font-size: 0.84rem;
  color: var(--gold-soft);
}

.section-shell h2 {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0.22em 0.55em;
  font-family: inherit;
  font-style: normal;
  text-transform: uppercase;
  color: #e1bd46;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: 0.02em;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.section-heading h2 {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0.22em 0.55em;
  font-family: inherit;
  font-style: normal;
  text-transform: uppercase;
  color: #e1bd46;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: 0.02em;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.section-copy {
  max-width: 46rem;
  margin: 1rem auto 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 1.05rem;
}

.contact-actions {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(207, 165, 54, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.cta-icon.large {
  width: min(100%, 320px);
  min-height: 120px;
  padding: 1rem;
}

.cta-icon.small {
  width: 150px;
  min-height: 86px;
  padding: 0.9rem;
}

.cta-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.cta-icon.large img {
  width: 60px;
  height: 60px;
}

.section-frame {
  width: min(1120px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.gallery-section.section-frame {
  width: min(1900px, calc(100% - 1.5rem));
}

.gallery-section {
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.8rem;
  align-items: stretch;
}

.gallery-card {
  display: block;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(207, 165, 54, 0.12);
  background: rgba(0, 0, 0, 0.18);
  cursor: zoom-in;
  aspect-ratio: 1 / 1;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 980px) {
  .hero-content {
    padding: 2rem 0 3rem;
  }

  .hero-button {
    min-height: 76px;
    min-width: min(100%, 420px);
  }

}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .site-header {
    background:
      radial-gradient(circle at center top, rgba(229, 197, 106, 0.16), transparent 34%),
      linear-gradient(180deg, rgba(6, 8, 7, 0.36), rgba(3, 4, 4, 0.26));
  }

  .header-overlay {
    width: calc(100% - 1rem);
    padding: 0.9rem 0;
  }

  .top-link {
    width: clamp(34px, 3.2vw, 44px);
    height: clamp(34px, 3.2vw, 44px);
  }

  .topbar-left {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .hero {
    min-height: calc(100vh - var(--header-h));
  }

  .hero-content {
    width: calc(100% - 1rem);
  }

  .hero-content {
    padding: 0.75rem 0 1.1rem;
  }

  .hero:not(.gallery-hero) .hero-content {
    padding: 0.75rem 0 1.1rem;
  }

  .gallery-hero .hero-content {
    padding: 0.75rem 0 1.1rem;
  }

  .hero-title-image {
    width: min(100%, 980px);
  }

  .hero:not(.gallery-hero) .hero-title-image {
    width: min(100%, 860px);
  }

  .gallery-hero .hero-title-image {
    width: min(100%, 720px);
  }

  .hero:not(.gallery-hero) .hero-subtitle {
    font-size: clamp(0.76rem, 3vw, 0.95rem);
    letter-spacing: 0.12em;
    line-height: 1.35;
  }

  .gallery-hero .hero-subtitle {
    font-size: clamp(0.76rem, 3vw, 0.95rem);
    letter-spacing: 0.12em;
    line-height: 1.35;
  }

  .hero-button {
    min-height: 76px;
    letter-spacing: 0.2em;
  }

  .hero::before,
  .gallery-hero::before {
    background-size: cover;
  }

  .cta-icon.large {
    min-height: 104px;
  }

  .cta-icon.small {
    width: 120px;
    min-height: 78px;
  }
}
