:root {
  --gold: #c6a15b;
  --gold-light: #d4b56e;
  --ink: #0e0e10;
  --charcoal: #161618;
  --mist: #f3eee6;
  --header-h: 68px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ink);
  color: #f4f1ea;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

.site-header {
  height: var(--header-h);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #1a1712;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.85rem 1.7rem;
  border-radius: 2px;
  transition: background 0.25s ease, transform 0.15s ease;
  white-space: nowrap;
}

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

.btn-gold:active,
.btn-outline:active,
.icon-btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 500;
  padding: 0.7rem 1.35rem;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn-outline:hover {
  background: #1a1712;
  color: #f4f1ea;
  border-color: #1a1712;
}

.btn-outline-light {
  border-color: rgba(244, 241, 234, 0.55);
  color: #f4f1ea;
}

.btn-outline-light:hover {
  background: #f4f1ea;
  color: #1a1712;
  border-color: #f4f1ea;
}

.hero {
  position: relative;
  height: min(68dvh, 700px);
  min-height: 520px;
  background: #07080c;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  background: #07080c;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo--amber {
  left: 46%;
  width: 54%;
  object-position: left center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #07080c 0%, #07080c 34%, rgba(7, 8, 12, 0.55) 52%, transparent 72%);
}

.hero-shade--soft {
  background: linear-gradient(90deg, rgba(7, 8, 12, 0.82) 0%, rgba(7, 8, 12, 0.45) 42%, rgba(7, 8, 12, 0.12) 70%, transparent 100%);
}

.hero-copy-wrap {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5.5rem 0 6.25rem;
}

.hero-copy {
  max-width: 36rem;
}

.hero-copy h1,
.hero-copy h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.25rem, 4vw, 3.4rem);
  line-height: 1.14;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-slide.is-active .hero-photo {
  animation: heroZoom 12s ease-out forwards;
}

.category-card {
  display: flex;
  flex-direction: column;
  min-height: 640px;
  overflow: hidden;
}

.category-copy {
  padding: 2.5rem 2.25rem 0;
}

.category-visual {
  position: relative;
  flex: 1 1 auto;
  height: 370px;
  min-height: 370px;
  margin-top: 1.25rem;
}

.category-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.split-media {
  min-height: 520px;
}

.split-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1); }
}

.hero-nav {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(244, 241, 234, 0.28);
  color: #f4f1ea;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(14, 14, 16, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.hero-nav:hover {
  background: rgba(14, 14, 16, 0.55);
  border-color: var(--gold);
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.38);
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-dot.is-active {
  background: #f4f1ea;
  transform: scale(1.15);
}

.category-card img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover img {
  transform: scale(1.04);
}

.drawer,
.search-overlay,
.mobile-panel {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer.is-open,
.search-overlay.is-open,
.mobile-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.drawer-panel {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer.is-open .drawer-panel {
  transform: translateX(0);
}

.form-field {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.28);
  color: #f4f1ea;
  padding: 0.7rem 0;
  outline: none;
  border-radius: 0;
}

.form-field:focus {
  border-bottom-color: var(--gold);
}

.form-field::placeholder {
  color: rgba(244, 241, 234, 0.38);
}

.reveal.is-pending {
  opacity: 0;
  transform: translateY(20px);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 1023px) {
  .hero {
    height: min(72dvh, 640px);
    min-height: 480px;
  }

  .hero-photo--amber {
    left: 0;
    width: 100%;
    object-position: center 20%;
    opacity: 0.55;
  }

  .hero-copy-wrap {
    padding: 0 4.5rem 0 1.5rem;
    align-items: flex-end;
    padding-bottom: 4.5rem;
  }

  .category-card {
    min-height: 520px;
  }

  .category-visual {
    min-height: 280px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .hero-nav {
    backdrop-filter: none;
    background: #1a1a1c;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-slide,
  .hero-copy,
  .hero-photo,
  .category-card img,
  .drawer-panel,
  .reveal,
  .reveal.is-pending {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
