:root {
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Libre Baskerville", Georgia, serif;
  --font-script: "Pinyon Script", cursive;
  --font-sans: "Outfit", system-ui, sans-serif;
  --wide: 72rem;
  --measure: 38rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gold: #c9963a;
  --gold-bright: #e0b35a;
  --ink: #140f0b;
  --parchment: #e8dcc6;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1.1rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--gold);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: linear-gradient(180deg, rgba(12, 9, 7, 0.88), rgba(12, 9, 7, 0.28) 70%, transparent);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), border-color 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(14, 11, 9, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 220, 198, 0.12);
}

.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--parchment);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wordmark:hover {
  color: var(--gold-bright);
}

.mark {
  width: 1.7rem;
  height: 1.7rem;
  flex: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  color: rgba(232, 220, 198, 0.78);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--parchment);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(232, 220, 198, 0.22);
  background: transparent;
  padding: 0.65rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--parchment);
  margin: 0.35rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

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

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--gold-bright);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--parchment);
  border-color: rgba(232, 220, 198, 0.35);
}

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

.eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-footer {
  border-top: 1px solid rgba(232, 220, 198, 0.12);
  padding: 1.5rem 1.25rem;
  background: #0a0806;
}

.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(232, 220, 198, 0.62);
  font-family: var(--font-body);
}

.footer-inner a {
  color: inherit;
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--gold-bright);
}

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(5, 3, 2, 0.94);
  display: grid;
  place-items: center;
  padding: 3rem 1rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: min(88vh, 920px);
  max-width: min(92vw, 1100px);
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--parchment);
  cursor: pointer;
  font-size: 2.5rem;
  line-height: 1;
  padding: 0.5rem;
}

.lightbox-close {
  top: 0.75rem;
  right: 1rem;
}

.lightbox-prev {
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(16, 12, 9, 0.97);
    border-bottom: 1px solid rgba(232, 220, 198, 0.12);
    padding: 0.5rem 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 1.25rem;
    border-top: 1px solid rgba(232, 220, 198, 0.1);
  }
}
