:root {
  --bg: #14100c;
  --bg-soft: #1c1611;
  --cream: #f3ead9;
  --cream-dim: #cdbfa7;
  --gold: #c9a35e;
  --gold-soft: #e2c98f;
  --line: rgba(201, 163, 94, 0.18);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--bg);
  color: var(--cream);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ---------- Ambient background ---------- */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(201, 163, 94, 0.14), transparent 70%),
    radial-gradient(50% 40% at 85% 100%, rgba(201, 163, 94, 0.08), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.bg-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.wrap {
  max-width: 620px;
  margin: 0 auto;
  padding: 40px 22px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* ---------- Brand ---------- */
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  color: var(--gold);
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(201, 163, 94, 0.05);
}

.brand__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  font-weight: 500;
  color: var(--cream-dim);
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.02;
  font-size: clamp(2.6rem, 12vw, 4.2rem);
  display: flex;
  flex-direction: column;
}

.hero__title-em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(100deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  max-width: 40ch;
  color: var(--cream-dim);
  font-size: 0.98rem;
  font-weight: 300;
}

/* ---------- Gallery ---------- */
.gallery {
  position: relative;
  width: 100%;
}

.gallery__viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
  aspect-ratio: var(--ar, 4 / 5);
  background: #0d0a07;
  transition: aspect-ratio 0.55s var(--ease);
}

.gallery__track {
  display: flex;
  transition: transform 0.7s var(--ease);
  will-change: transform;
}

.gallery__track { height: 100%; }

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Nav arrows */
.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  color: var(--cream);
  background: rgba(20, 16, 12, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s var(--ease);
}

.gallery__nav:hover { background: rgba(201, 163, 94, 0.28); }
.gallery__nav:active { transform: translateY(-50%) scale(0.92); }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }

/* Dots */
.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 20px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--line);
  cursor: pointer;
  transition: all 0.4s var(--ease);
}

.dot.is-active {
  width: 26px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
}

/* ---------- Footer ---------- */
.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  width: 100%;
}

.foot__divider {
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.foot__note {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--cream);
}

.foot__social { display: flex; gap: 14px; }

.foot__link {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--cream-dim);
  border: 1px solid var(--line);
  transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}

.foot__link:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.foot__copy {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: rgba(205, 191, 167, 0.5);
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal 0.9s var(--ease) forwards;
}
[data-reveal]:nth-child(1) { animation-delay: 0.05s; }
.hero [data-reveal]:nth-child(1) { animation-delay: 0.15s; }
.hero [data-reveal]:nth-child(2) { animation-delay: 0.3s; }
.hero [data-reveal]:nth-child(3) { animation-delay: 0.45s; }

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { animation: none; opacity: 1; transform: none; }
  .gallery__track { transition: none; }
}

/* ---------- Larger screens ---------- */
@media (min-width: 560px) {
  .wrap { padding-top: 56px; gap: 48px; }
}

/* ---------- Zoom hint ---------- */
.gallery__hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--cream);
  background: rgba(20, 16, 12, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 999px;
  pointer-events: none;
  white-space: nowrap;
  animation: hintPulse 2.6s ease-in-out infinite;
}

.gallery__hint svg { flex-shrink: 0; }

@keyframes hintPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 8, 5, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
  transform: scale(0.92);
  transition: transform 0.45s var(--ease);
}

.lightbox.is-open .lightbox__img { transform: scale(1); }

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--cream);
  background: rgba(20, 16, 12, 0.6);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s var(--ease);
}

.lightbox__close:hover { background: rgba(201, 163, 94, 0.28); }
.lightbox__close:active { transform: scale(0.9); }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--cream);
  background: rgba(20, 16, 12, 0.5);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s var(--ease);
}

.lightbox__nav:hover { background: rgba(201, 163, 94, 0.28); }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
.lightbox__nav--prev:active { transform: translateY(-50%) scale(0.9); }
.lightbox__nav--next:active { transform: translateY(-50%) scale(0.9); }

.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--cream-dim);
}

@media (prefers-reduced-motion: reduce) {
  .gallery__hint { animation: none; }
  .lightbox, .lightbox__img { transition: opacity 0.2s; }
  .lightbox__img { transform: none; }
}