:root {
  --bg: #0b0a09;
  --bg-elev: #141210;
  --bg-soft: #1c1916;
  --cream: #f3ece3;
  --cream-dim: #c9c0b4;
  --muted: #8b8378;
  --gold: #c4a574;
  --gold-soft: #a8895c;
  --line: rgba(243, 236, 227, 0.12);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
  --nav-h: 76px;
  --gap: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0.01em;
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(900px 480px at 12% -8%, rgba(196, 165, 116, 0.08), transparent 60%),
    var(--bg);
}

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

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

button,
.btn {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--cream);
  color: var(--bg);
  padding: 8px 14px;
  z-index: 100;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  z-index: 40;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(11, 10, 9, 0.88);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

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

.wordmark-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
}

.wordmark-sub {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--cream);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-links a.nav-cta {
  background: var(--gold);
  color: var(--bg);
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.nav-links a.nav-cta::after {
  display: none;
}

.nav-links a.nav-cta:hover {
  background: #ddc08a;
  color: var(--bg);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  padding: calc(var(--nav-h) + 64px) 48px 28px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.hero-copy .kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  max-width: none;
  width: max-content;
  white-space: nowrap;
  letter-spacing: 0.18em;
}

.hero-copy h1,
.page-hero h1,
.collection-head h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-copy h1 {
  font-size: clamp(36px, 7vw, 80px);
  line-height: 0.92;
  white-space: nowrap;
}

.hero-copy .hero-tagline {
  margin: 18px 0 0;
  max-width: 38ch;
  color: var(--cream-dim);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 300;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--gold);
  color: var(--cream);
  background: transparent;
  padding: 13px 22px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

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

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

.btn-ghost:hover {
  border-color: var(--gold);
  background: transparent;
  color: var(--cream);
}

.section {
  padding: 88px 48px;
  scroll-margin-top: calc(var(--nav-h) + 8px);
}

.galleries-section {
  padding-top: 36px;
}

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

.section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 500;
  line-height: 0.95;
}

.section-head p,
.lede {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.collection-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  max-width: 1080px;
}

.collection-card {
  display: grid;
  gap: 22px;
  color: inherit;
}

.collection-preview {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line);
}

.collection-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.collection-card:hover img {
  transform: scale(1.03);
}

.preview-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg);
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.collection-card:hover .preview-hint,
.collection-card:focus-visible .preview-hint {
  opacity: 1;
}

.collection-card-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.collection-card-copy .kicker {
  margin-bottom: 4px;
}

.collection-card-copy h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1;
}

.collection-card-copy p {
  margin: 0;
  color: var(--cream-dim);
  line-height: 1.6;
}

.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.about h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
}

.about p {
  margin: 0 0 16px;
  color: var(--cream-dim);
  font-size: 17px;
  line-height: 1.75;
  max-width: 62ch;
}

.site-footer {
  padding: 28px 48px 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-hero {
  padding: calc(var(--nav-h) + 56px) 48px 28px;
}

.page-hero h1 {
  font-size: clamp(42px, 7vw, 80px);
  line-height: 0.95;
}

.collection-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: calc(var(--nav-h) + 48px) 28px 24px;
}

.collection-head .meta {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.collection-head p {
  margin: 12px 0 0;
  color: var(--cream-dim);
  max-width: 46ch;
  line-height: 1.6;
}

.gallery-wrap {
  padding: 0 18px 80px;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.gallery-row {
  display: flex;
  gap: var(--gap);
  justify-content: flex-start;
}

.photo-tile {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
  flex: 0 0 auto;
  margin: 0;
}

.photo-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  line-height: 0;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), opacity 0.4s ease;
  opacity: 0;
}

.photo-tile img.is-loaded {
  opacity: 1;
}

.photo-tile:hover img {
  transform: scale(1.03);
}

.photo-open:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.photo-tile .tile-actions {
  position: absolute;
  inset: auto 10px 10px auto;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.photo-tile:hover .tile-actions,
.photo-tile:focus-within .tile-actions {
  opacity: 1;
  transform: none;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 10, 9, 0.72);
  color: var(--cream);
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.icon-btn:hover {
  background: var(--gold);
  color: var(--bg);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 5, 5, 0.96);
  z-index: 80;
  display: none;
  flex-direction: column;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-stage {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 72px 88px 24px;
  min-height: 0;
}

.lightbox-stage img {
  max-width: min(92vw, 1600px);
  max-height: calc(100vh - 160px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px 24px;
  color: var(--cream-dim);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  background: rgba(11, 10, 9, 0.45);
  color: var(--cream);
  cursor: pointer;
}

.lightbox-nav:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.lightbox-nav.prev {
  left: 18px;
}

.lightbox-nav.next {
  right: 18px;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-size: 28px;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

body.lightbox-open {
  overflow: hidden;
}

.empty-note {
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 900px) {
  .site-header,
  .hero-copy,
  .section,
  .page-hero,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .collection-head,
  .gallery-wrap {
    padding-left: 10px;
    padding-right: 10px;
  }

  .nav-links {
    gap: 16px;
    font-size: 11px;
  }

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

  .hero {
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 12px;
  }

  .preview-hint {
    opacity: 1;
  }

  .hero-copy .kicker {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .lightbox-stage {
    padding: 72px 16px 16px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 84px;
    transform: none;
    width: 44px;
    height: 44px;
  }

  .collection-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.collection-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.gate-copy {
  margin: 18px 0 28px;
  text-transform: none;
  letter-spacing: 0;
  max-width: 42ch;
}

.gate-error {
  color: #e2b6a0;
  margin: 0 0 18px;
}

.gate-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 360px;
}

.gate-form-inline {
  margin-top: 8px;
}

.gate-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.gate-form input[type="password"] {
  width: 100%;
  background: var(--bg-elev);
  color: var(--cream);
  border: 1px solid var(--line);
  padding: 14px 16px;
  font-family: inherit;
  font-size: 16px;
}

.gate-form input[type="password"]:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .collection-card img,
  .photo-tile img {
    animation: none;
    transition: none;
  }
}
