:root {
  --purple: #4a1a4c;
  --purple-dark: #2a0e2c;
  --purple-deep: #170a1a;
  --gold: #c9a24b;
  --gold-light: #e4c97a;
  --cream: #f4eee2;
  --charcoal: #2b2420;
  --muted: #c9bfc2;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--purple-deep);
  color: var(--cream);
  font-family: "Jost", "Trebuchet MS", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: "Playfair Display", Georgia, serif;
  margin: 0;
  letter-spacing: 0.3px;
}

a { color: var(--gold-light); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- starfield ---------- */
.stars-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 70% -10%, rgba(201, 162, 75, 0.14), transparent 55%),
    linear-gradient(180deg, #170a1a 0%, #220f28 45%, #2a0e2c 100%);
}
.stars-bg::before, .stars-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, #fff, transparent),
    radial-gradient(1px 1px at 65% 15%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 80% 60%, #f4eee2, transparent),
    radial-gradient(1px 1px at 10% 70%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 40% 85%, #e4c97a, transparent),
    radial-gradient(1px 1px at 90% 35%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 55% 50%, #fff, transparent),
    radial-gradient(1px 1px at 30% 10%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 85% 80%, #e4c97a, transparent),
    radial-gradient(1px 1px at 5% 50%, #fff, transparent);
  background-size: 100% 100%;
  opacity: 0.55;
  animation: twinkle 6s ease-in-out infinite alternate;
}
.stars-bg::after {
  background-position: 15% 15%;
  animation-duration: 9s;
  animation-delay: 2s;
  opacity: 0.35;
}
@keyframes twinkle {
  0% { opacity: 0.25; }
  50% { opacity: 0.7; }
  100% { opacity: 0.3; }
}

.moon-deco {
  position: absolute;
  top: 6%;
  right: 8%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: -22px 2px 0 2px var(--purple-deep) inset, 0 0 60px 10px rgba(228, 201, 122, 0.35);
  z-index: 1;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero picture, .hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}
.hero .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,10,26,0.55) 0%, rgba(23,10,26,0.25) 35%, rgba(23,10,26,0.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 22px 56px;
  width: 100%;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(34px, 8vw, 64px);
  color: var(--cream);
  line-height: 1.12;
}
.hero h1 em {
  display: block;
  color: var(--gold-light);
  font-style: italic;
}
.hero p.sub {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.5px;
}
.scroll-cue {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ---------- section generic ---------- */
section { position: relative; z-index: 1; }
.section-pad { padding: 64px 0; }
.tag {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}
.concept h2 { font-size: clamp(26px, 5vw, 38px); color: var(--cream); margin-bottom: 18px; }
.concept p { color: var(--muted); font-size: 16px; max-width: 640px; }

.palette-row {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.swatch { text-align: center; font-size: 10px; color: var(--muted); letter-spacing: 0.5px; }
.swatch .chip { width: 46px; height: 46px; border-radius: 8px; margin-bottom: 6px; border: 1px solid rgba(244,238,226,0.25); }

/* ---------- zones ---------- */
.zone { padding: 54px 0; border-top: 1px solid rgba(201,162,75,0.18); }
.zone .wrap { display: grid; gap: 26px; }
.zone-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  aspect-ratio: 4/3;
}
.zone-media img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.zone h3 { font-size: clamp(22px, 4.5vw, 30px); color: var(--cream); margin-bottom: 14px; }
.zone ul { list-style: none; margin: 0; padding: 0; }
.zone li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 15px;
}
.zone li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* before/after compare slider */
.compare {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  touch-action: pan-y;
}
.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}
.compare .after-wrap {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
}
.compare .after-wrap img { width: 100%; }
.compare .handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--gold-light);
  transform: translateX(-1.5px);
  cursor: ew-resize;
}
.compare .handle::after {
  content: "⟷";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--purple-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.compare .lbl {
  position: absolute;
  bottom: 10px;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(23,10,26,0.65);
  padding: 4px 9px;
  border-radius: 20px;
  color: var(--cream);
  z-index: 3;
}
.compare .lbl.before { left: 10px; }
.compare .lbl.after { right: 10px; }

@media (min-width: 760px) {
  .zone .wrap { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .zone:nth-of-type(even) .wrap { direction: rtl; }
  .zone:nth-of-type(even) .wrap > * { direction: ltr; }
}

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 22px;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-grid img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  cursor: zoom-in;
  display: block;
}
@media (min-width: 640px) { .gallery-grid img { height: 160px; } }

/* ---------- timeline ---------- */
.timeline { padding: 60px 0; background: linear-gradient(180deg, rgba(74,26,76,0.25), transparent); }
.tl-row { display: flex; gap: 16px; margin-bottom: 26px; }
.tl-dot {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--purple);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 15px;
}
.tl-body h4 { font-size: 16px; color: var(--cream); margin-bottom: 4px; }
.tl-body p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- cta ---------- */
.cta { text-align: center; padding: 50px 0 70px; }
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--purple-deep);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  padding: 15px 34px;
  border-radius: 30px;
  font-size: 15px;
  box-shadow: 0 10px 30px rgba(201,162,75,0.35);
}

/* ---------- footer ---------- */
footer {
  padding: 30px 0 46px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-top: 1px solid rgba(201,162,75,0.15);
}
footer strong { color: var(--gold-light); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10,5,12,0.92);
  display: none;
  align-items: center; justify-content: center;
  z-index: 50;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.lightbox .close {
  position: absolute; top: 18px; right: 22px;
  color: var(--cream); font-size: 30px; cursor: pointer; line-height: 1;
}
