/*
  DESIGN TOKENS — Luxury Noir
  Color:   bg #0A090B · surface rgba(20,18,22,.55) · gold #C9A24B · gold-light #E8D5A3
           ivory #F3EDE4 · muted #9C9690 · hairline rgba(201,162,75,.28)
  Type:    Display  — "Fraunces" (soft, editorial serif, used at large size only)
           Body/UI  — "Manrope" (clean geometric sans for labels + buttons)
  Layout:  Full-bleed blurred photo backdrop, single centered glass card,
           sharp portrait carousel nested inside the card.
  Signature: gold hairline that draws itself under the name on load;
             fine film-grain overlay for an editorial-print feel.
*/

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  height: 100svh;
  font-family: 'Manrope', sans-serif;
  color: #F3EDE4;
  background: #0A090B;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Background layer ---------- */
.bg-layer {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 0;
}
.bg-image {
  position: absolute;
  top: -20px; right: -20px; bottom: -20px; left: -20px;
  background-size: cover;
  background-position: center 20%;
  filter: blur(18px) brightness(0.55) saturate(1.05);
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 2.4s ease;
}
.bg-image.active { opacity: 1; }

.bg-scrim {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    radial-gradient(120% 90% at 50% 12%, rgba(10,9,11,0.25) 0%, rgba(10,9,11,0.72) 55%, rgba(10,9,11,0.94) 100%);
}

.bg-grain {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Stage / card ---------- */
.stage {
  position: relative;
  z-index: 1;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 18px 22px;
}

.card {
  width: 100%;
  max-width: 420px;
  max-height: 100%;
  overflow: hidden;
  background: rgba(22, 20, 24, 0.55);
  border: 1px solid rgba(201, 162, 75, 0.22);
  border-radius: 28px;
  padding: 26px 28px 20px;
  backdrop-filter: blur(22px) saturate(1.1);
  -webkit-backdrop-filter: blur(22px) saturate(1.1);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7);
  text-align: center;
  animation: rise 0.9s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C9A24B;
  font-weight: 600;
}

.name {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(30px, 7vw, 38px);
  line-height: 1.3;
  padding-bottom: 0.08em;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #F6EFDF 10%, #C9A24B 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rule {
  width: 0;
  height: 1px;
  margin: 12px auto 14px;
  background: linear-gradient(90deg, transparent, #C9A24B, transparent);
  animation: draw 1.1s 0.4s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes draw { to { width: 92px; } }

.tagline {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #C9C2B8;
  font-weight: 400;
}

/* ---------- Gallery ---------- */
.gallery {
  position: relative;
  display: inline-block;
  height: 250px;
  height: clamp(190px, 34vh, 300px);
  width: 141px; /* fallback for very old engines without aspect-ratio */
  width: clamp(107px, 19.1vh, 169px);
  margin: 0 auto 14px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px -15px rgba(0,0,0,0.65), 0 0 0 1px rgba(201,162,75,0.25);
}
@supports (aspect-ratio: 9 / 16) {
  .gallery { width: auto; aspect-ratio: 9 / 16; }
}

.gallery-track {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: none;
  border: none;
  backdrop-filter: none;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 8px;
  transition: transform 0.15s ease;
}
.arrow:hover, .arrow:focus-visible { transform: translateY(-50%) scale(1.15); }
.arrow-l { left: 2px; }
.arrow-r { right: 2px; }

.zoom-btn {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  background: none;
  border: none;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  transition: transform 0.15s ease;
}
.zoom-btn:hover, .zoom-btn:focus-visible { transform: scale(1.15); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 999;
  background: rgba(6,6,8,0.97);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 26px;
}
.lightbox.open { display: flex; }
.lb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  animation: lbFade 0.25s ease both;
}
@keyframes lbFade { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: scale(1); } }
.lb-close {
  position: absolute;
  top: 18px; right: 20px;
  z-index: 2;
  background: none;
  border: none;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  padding: 6px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  transition: transform 0.15s ease;
}
.lb-close:hover { transform: scale(1.15); }
.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: none;
  border: none;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  padding: 10px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  transition: transform 0.15s ease;
}
.lb-arrow:hover, .lb-arrow:focus-visible { transform: translateY(-50%) scale(1.15); }
.lb-arrow-l { left: 8px; }
.lb-arrow-r { right: 8px; }
.lb-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  letter-spacing: .04em;
}

.slide {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.1s ease, transform 6s ease;
}
.slide.active {
  opacity: 1;
  transform: scale(1.08);
}

.dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}
.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(201,162,75,0.35);
  transition: all 0.35s ease;
  cursor: pointer;
}
.dot.active {
  background: #D4AF64;
  width: 16px;
  border-radius: 3px;
}

/* ---------- CTAs ---------- */
.cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 20px;
  border-radius: 100px;
  font-family: 'Manrope', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn:active { transform: scale(0.98); }

.btn-vip {
  background: linear-gradient(135deg, #E8D5A3, #C9A24B 55%, #9C7A34);
  color: #16130A;
  box-shadow: 0 12px 30px -8px rgba(201,162,75,0.55);
}
.btn-vip:hover { filter: brightness(1.08); box-shadow: 0 16px 36px -8px rgba(201,162,75,0.7); }

.btn-tg {
  background: transparent;
  color: #EDE7DB;
  border: 1px solid rgba(237,231,219,0.28);
}
.btn-tg:hover { background: rgba(237,231,219,0.06); border-color: rgba(237,231,219,0.5); }

.btn:focus-visible {
  outline: 2px solid #E8D5A3;
  outline-offset: 3px;
}

.footer {
  margin: 14px 0 0;
  font-size: 11px;
  color: rgba(156,150,144,0.7);
  letter-spacing: 0.02em;
}

@media (min-width: 480px) {
  .card { padding: 30px 40px 24px; }
}

@media (max-height: 700px) {
  .card { padding-top: 20px; padding-bottom: 16px; }
  .tagline { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .card, .rule, .slide, .bg-image { animation: none !important; transition: none !important; }
  .rule { width: 92px; }
}
