:root {
  --bg: #0d0f12;
  --bg-soft: #15181d;
  --panel: #171b21;
  --panel-2: #1d232b;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f3f5f7;
  --muted: #bcc4cf;
  --soft: #9099a6;
  --accent: #d4b06a;
  --accent-soft: rgba(212, 176, 106, 0.12);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

.wrap {
  width: min(100% - 32px, var(--wrap));
  margin: 0 auto;
}

.hidden {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(13, 15, 18, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.96rem;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(10, 12, 16, 0.55), rgba(10, 12, 16, 0.72)),
    url("images/featured/hero.jpg") center center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(212, 176, 106, 0.18), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.06), transparent 24%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 80px 0;
}

.eyebrow,
.section-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  margin: 0 0 14px;
}

.hero h1,
.gallery-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 1.06;
}

.hero-text,
.gallery-description {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #111;
}

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.intro-section,
.collections-section,
.cta-section,
.gallery-sections {
  padding: 72px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.intro-copy h2,
.section-heading h2,
.cta-panel h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15;
}

.intro-copy p,
.cta-panel p,
.section-heading p {
  color: var(--muted);
}

.info-card,
.cta-panel,
.category-card,
.photo-card,
.jump-links-wrap,
.gallery-section {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-card {
  padding: 24px;
}

.info-card h3 {
  margin-top: 0;
  margin-bottom: 16px;
}

.simple-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.simple-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.simple-list li:last-child {
  border-bottom: 0;
}

.section-heading {
  margin-bottom: 24px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  min-height: 220px;
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 176, 106, 0.35);
}

.category-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-end;
}

.category-kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  margin: 0 0 8px;
}

.category-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.category-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.cta-panel {
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.gallery-hero {
  padding: 64px 0 32px;
  border-bottom: 1px solid var(--line);
}

.jump-links-wrap {
  margin-top: 28px;
  padding: 18px;
}

.jump-links-title {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jump-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--accent-soft);
  color: var(--text);
  font-size: 0.94rem;
}

.gallery-section {
  padding: 26px;
  margin-bottom: 28px;
}

.gallery-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.gallery-section h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.section-count {
  color: var(--soft);
  font-size: 0.92rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.photo-card {
  overflow: hidden;
}

.photo-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0b0d10;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-card-body {
  padding: 18px;
}

.photo-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.photo-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.photo-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.photo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  border: 1px solid var(--line);
}

.photo-btn.buy {
  background: var(--accent);
  color: #111;
  border-color: transparent;
}

.photo-btn.view {
  background: transparent;
  color: var(--text);
}

.loading-message,
.error-message,
.empty-message {
  color: var(--muted);
  text-align: center;
  padding: 40px 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
}

.footer-sep {
  display: inline-block;
  margin: 0 8px;
  color: var(--soft);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a,
.footer-copy a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-copy a:hover {
  color: var(--text);
}

@media (max-width: 1100px) {
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .header-inner,
  .cta-panel,
  .intro-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .header-inner {
    gap: 14px;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 62vh;
  }

  .category-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .gallery-section {
    padding: 18px;
  }

  .gallery-section-header {
    align-items: start;
    flex-direction: column;
  }

  .hero-content {
    padding: 64px 0;
  }

  .hero h1,
  .gallery-hero h1 {
    font-size: 2.2rem;
  }

  .footer-inner {
    align-items: flex-start;
  }

  .footer-links {
    gap: 12px;
  }
}