/* ==========================================================================
   Moonlight Elite - public stylesheet
   Black & gold luxury theme. Mobile-first.
   ========================================================================== */
:root {
  --bg: #0a0a0a;
  --bg-2: #0f0f0f;
  --panel: #141414;
  --panel-2: #1a1a1a;
  --line: rgba(201, 165, 76, .22);
  --line-strong: rgba(201, 165, 76, .5);
  --gold: #c9a54c;
  --gold-light: #f1d998;
  --gold-dark: #8a6a24;
  --gold-grad: linear-gradient(135deg, #f6e3a8 0%, #d4b05a 35%, #b08a35 60%, #f0d68f 100%);
  --text: #ebe6da;
  --muted: #9b9486;
  --ok: #7fbf8e;
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --radius: 4px;
  --header-h: 72px;
  --shadow: 0 20px 60px rgba(0, 0, 0, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-weight: 300; font-size: 15px; line-height: 1.75; letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; font-variant-numeric: lining-nums;
}
body.gate-open, body.lb-open { overflow: hidden; }
img, video, iframe { max-width: 100%; display: block; }
a { color: var(--gold-light); text-decoration: none; transition: color .25s; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; color: #f7f1e3; letter-spacing: .01em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.1em; }
strong { font-weight: 500; color: #fff; }
::selection { background: var(--gold); color: #000; }
:focus-visible { outline: 1px solid var(--gold-light); outline-offset: 3px; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.mt-lg { margin-top: 2.6rem; }
.small { font-size: .82rem; }
.muted { color: var(--muted); }
.block { display: block; }
.narrow { max-width: 680px; margin-left: auto; margin-right: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: 8px 14px; z-index: 999; }
.skip-link:focus { left: 10px; top: 10px; }
.icon { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -.18em; flex: none; }

.eyebrow {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .35em; font-size: .7rem; font-weight: 500;
  color: var(--gold); margin: 0 0 1rem;
}
.gold-text, .hero-title, .brand-word, .section-head h2, .page-hero h1 {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 1.2rem auto 1.6rem; max-width: 220px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.divider::after { background: linear-gradient(90deg, var(--gold), transparent); }
.divider span { width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }
.divider.left { margin-left: 0; justify-content: flex-start; max-width: 160px; }
.divider.left::before { display: none; }
.lead { font-size: 1.12rem; color: #d6cfbf; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--sans); font-size: .74rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  padding: 15px 30px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s, border-color .3s;
  white-space: nowrap; line-height: 1.2;
}
.btn-gold { background: var(--gold-grad); background-size: 200% 200%; color: #15110a; box-shadow: 0 8px 30px rgba(201, 165, 76, .18); }
.btn-gold:hover { color: #000; transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 12px 36px rgba(201, 165, 76, .35); }
.btn-ghost { border-color: var(--line-strong); color: var(--gold-light); background: rgba(0, 0, 0, .25); backdrop-filter: blur(4px); }
.btn-ghost:hover { border-color: var(--gold); color: #fff; background: rgba(201, 165, 76, .1); }
.btn-sm { padding: 10px 18px; font-size: .66rem; }
.btn-block { width: 100%; }
.text-link { background: none; border: 0; padding: 0; font: inherit; color: var(--gold-light); cursor: pointer; letter-spacing: .08em; border-bottom: 1px solid var(--line-strong); }
.text-link:hover { color: #fff; border-color: var(--gold); }

/* Pills */
.pill { display: inline-block; white-space: nowrap; font-size: .52rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; padding: 4px 8px; border-radius: 30px; }
.pill-gold { background: var(--gold-grad); color: #1b150a; }
.pill-today { background: rgba(10, 10, 10, .75); color: #bfe8c8; border: 1px solid rgba(127, 191, 142, .55); }
.pill-today::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); margin-right: 6px; vertical-align: 1px; box-shadow: 0 0 8px var(--ok); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- Age gate ---------- */
.age-gate {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px;
  background: radial-gradient(ellipse at 50% 30%, rgba(201, 165, 76, .12), transparent 60%), rgba(5, 5, 5, .97);
  backdrop-filter: blur(10px); animation: fadeIn .6s var(--ease);
}
.age-gate.closing { animation: fadeOut .5s var(--ease) forwards; }
.age-gate__inner { max-width: 520px; text-align: center; border: 1px solid var(--line); padding: 44px 30px; background: linear-gradient(180deg, #121212, #0b0b0b); box-shadow: var(--shadow); position: relative; }
.age-gate__inner::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(201, 165, 76, .1); pointer-events: none; }
.age-gate h1 { font-size: clamp(2.2rem, 7vw, 3.2rem); margin-bottom: 0; }
.age-gate p { color: #cfc8b8; }
.gate-logo { width: 180px; height: 180px; margin: 0 auto 14px; }
.age-gate__actions { display: flex; flex-direction: column; gap: 12px; margin: 26px 0 18px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; visibility: hidden; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  transition: border-color .4s; border-bottom: 1px solid transparent;
}
/* Background lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside it */
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(8, 8, 8, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transition: opacity .4s; }
.site-header.scrolled::before, body:not(.page-home) .site-header::before, .site-header.menu-open::before { opacity: 1; }
.site-header.scrolled, body:not(.page-home) .site-header { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; }
.logo-mark { width: 52px; height: 52px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand .brand-word { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: .04em; }
.brand-sub { font-size: .55rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: 3px; display: none; }
.nav-toggle { width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 20px; height: 1px; background: var(--gold-light); transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.site-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #070707;
  display: flex; flex-direction: column; padding: 30px 24px; gap: 4px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .35s, transform .35s var(--ease), visibility .35s;
}
.site-nav.open { opacity: 1; visibility: visible; transform: none; }
.site-nav a { font-family: var(--serif); font-size: 1.6rem; color: #e8e1d0; padding: 8px 0; border-bottom: 1px solid rgba(201, 165, 76, .08); }
.site-nav a.active, .site-nav a:hover { color: var(--gold-light); }
.site-nav .sub { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 4px 0 10px 16px; }
.site-nav .sub a { font-family: var(--sans); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; border: 0; color: var(--muted); }
.site-nav .nav-cta { margin-top: 20px; font-family: var(--sans); font-size: .72rem; color: #15110a; border: 0; padding: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 80px; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 120%, #1c160b 0%, #0a0a0a 55%), #0a0a0a; }
.hero-moon {
  position: absolute; width: min(70vw, 560px); aspect-ratio: 1; top: 8%; left: 50%; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, rgba(255, 240, 200, .22), rgba(201, 165, 76, .1) 40%, transparent 70%);
  box-shadow: 0 0 120px 30px rgba(201, 165, 76, .07); animation: moonFloat 12s ease-in-out infinite;
}
.hero-moon::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(241, 217, 152, .15); }
.hero-glow { position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(0deg, var(--bg), transparent); }
.stars {
  position: absolute; inset: 0; opacity: .7;
  background-image:
    radial-gradient(1px 1px at 10% 20%, #f1d998 50%, transparent 51%), radial-gradient(1px 1px at 80% 10%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 30% 70%, #f1d998 50%, transparent 51%), radial-gradient(1px 1px at 65% 40%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 60%, #f1d998 50%, transparent 51%), radial-gradient(1px 1px at 45% 15%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 15% 85%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 72% 82%, #f1d998 50%, transparent 51%);
  background-size: 420px 420px; animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .35; } to { opacity: .85; } }
@keyframes moonFloat { 50% { transform: translateX(-50%) translateY(14px); } }
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-title { font-size: clamp(2.6rem, 8vw, 5.4rem); font-weight: 500; line-height: 1.05; margin-bottom: 0; }
.hero-text { font-size: clamp(1rem, 2.2vw, 1.2rem); color: #d3ccbc; max-width: 640px; margin: 0 auto 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 24px; height: 40px; border: 1px solid var(--line-strong); border-radius: 14px; z-index: 2; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 2px; height: 8px; margin-left: -1px; background: var(--gold); border-radius: 2px; animation: scrollCue 2s infinite; }
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Sections ---------- */
.section { padding: 80px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { margin-bottom: 0; }
.page-hero { padding: calc(var(--header-h) + 70px) 0 50px; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(201, 165, 76, .1), transparent 60%); border-bottom: 1px solid var(--line); }
.page-hero.small { padding-bottom: 36px; }
.page-hero h1 { margin-bottom: 0; }

/* Locations */
.location-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.location-tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; padding: 28px;
  border: 1px solid var(--line); background: linear-gradient(160deg, #161616, #0c0c0c); overflow: hidden; color: inherit;
  transition: border-color .4s, transform .5s var(--ease), box-shadow .4s;
}
.location-tile::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, rgba(201, 165, 76, .18), transparent 55%); opacity: .6; transition: opacity .4s; }
.location-tile:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.location-tile:hover::before { opacity: 1; }
.location-skyline { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; opacity: .12; background: url("../img/skyline.svg") bottom center / cover no-repeat; transition: opacity .4s; }
.location-tile:hover .location-skyline { opacity: .22; }
.location-state { position: relative; font-size: .65rem; letter-spacing: .35em; text-transform: uppercase; color: var(--gold); }
.location-name { position: relative; font-family: var(--serif); font-size: 2.6rem; color: #fff; line-height: 1.1; margin: 4px 0; }
.location-count { position: relative; font-size: .8rem; color: var(--muted); }
.location-cta { position: absolute; top: 26px; right: 26px; font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold-light); }
.location-soon { opacity: .55; border-style: dashed; }
.location-soon .location-name { font-size: 1.9rem; }

/* Intro */
.intro-grid { display: grid; gap: 50px; align-items: center; }
.art-frame { position: relative; aspect-ratio: 4 / 5; max-width: 460px; margin: 0 auto; border: 1px solid var(--line); background: linear-gradient(180deg, #151515, #0a0a0a); overflow: hidden; }
.art-frame::before { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(201, 165, 76, .18); z-index: 2; }
.art-moon { position: absolute; width: 62%; aspect-ratio: 1; top: 18%; left: 19%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f6e3a8, #c9a54c 45%, #6d5219 80%); box-shadow: 0 0 80px rgba(201, 165, 76, .35); }
.art-moon { -webkit-mask: radial-gradient(circle at 78% 36%, transparent 47%, #000 48%); mask: radial-gradient(circle at 78% 36%, transparent 47%, #000 48%); }
.art-lines { position: absolute; inset: auto 0 0; height: 35%; background: repeating-linear-gradient(0deg, rgba(201, 165, 76, .14) 0 1px, transparent 1px 14px); mask-image: linear-gradient(0deg, #000, transparent); -webkit-mask-image: linear-gradient(0deg, #000, transparent); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.card { position: relative; background: var(--panel); border: 1px solid rgba(201, 165, 76, .12); transition: border-color .4s, transform .5s var(--ease), box-shadow .4s; }
.card:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: var(--shadow); }
.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }
.card-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #111; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.95); }
.card:hover .card-media img { transform: scale(1.06); filter: saturate(1.05); }
.card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .75), transparent 45%); pointer-events: none; }
.card-badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; }
.card-overlay { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; opacity: 0; transition: opacity .4s; }
.card:hover .card-overlay { opacity: 1; }
.card-body { padding: 14px 14px 16px; text-align: center; }
.card-name { font-size: 1.15rem; margin: 0 0 2px; }
.card-meta { font-size: .72rem; letter-spacing: .08em; color: var(--muted); margin: 0; }
.card-price { margin: 8px 0 0; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.card-price strong { color: var(--gold-light); font-weight: 500; letter-spacing: .05em; font-size: .85rem; }

/* Pillars */
.pillars-section { background: linear-gradient(180deg, transparent, #0d0d0d 30%, #0d0d0d 70%, transparent); }
.pillars { display: grid; gap: 18px; }
.pillar { text-align: center; padding: 34px 24px; border: 1px solid var(--line); background: rgba(20, 20, 20, .6); transition: border-color .4s, transform .4s var(--ease); }
.pillar:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.pillar .icon { width: 38px; height: 38px; color: var(--gold); margin-bottom: 14px; }
.pillar h3 { margin-bottom: .4em; }
.pillar p { color: var(--muted); font-size: .9rem; margin: 0; }

/* CTA */
.cta-box { text-align: center; padding: 60px 24px; border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 0%, rgba(201, 165, 76, .14), transparent 70%), #0d0d0d; position: relative; }
.cta-box::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(201, 165, 76, .1); pointer-events: none; }
.cta-logo { width: 60px; height: 60px; margin: 0 auto 16px; }
.cta-box p { color: var(--muted); }

/* Listing */
.location-tabs { display: flex; gap: 8px; overflow-x: auto; padding-top: 24px; padding-bottom: 4px; scrollbar-width: none; justify-content: flex-start; }
.location-tabs::-webkit-scrollbar { display: none; }
.location-tabs a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 10px 20px; border: 1px solid var(--line); border-radius: 40px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.location-tabs a.active, .location-tabs a:hover { border-color: var(--gold); color: #15110a; background: var(--gold-grad); }
.listing-section { padding-top: 34px; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.result-count { margin: 0; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); order: 3; width: 100%; }
.sort-select-label { display: none; }
.sort-select { display: flex; align-items: center; gap: 10px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
select, input[type=text], input[type=email], input[type=tel], input[type=number], input[type=url], textarea {
  font: inherit; font-size: 16px; color: var(--text); background: #0d0d0d; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; width: 100%;
  transition: border-color .25s, box-shadow .25s;
}
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.sort-select select { width: auto; font-size: .85rem; padding: 8px 32px 8px 12px; }
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 165, 76, .12); }
.filters { display: none; grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px; margin-bottom: 26px; border: 1px solid var(--line); background: var(--panel); }
.filters.open { display: grid; animation: fadeIn .35s; }
.filter-group > label:not(.check) { display: block; font-size: .64rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.filter-group.wide { grid-column: 1 / -1; }
.range-pair { display: flex; align-items: center; gap: 8px; }
.range-pair span { color: var(--muted); font-size: .8rem; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .88rem; }
.check input { width: 18px; height: 18px; accent-color: var(--gold); }
.filter-group .check { margin-top: 24px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 30px; font-size: .78rem; cursor: pointer; transition: all .25s; }
.chip input:checked + span { background: var(--gold-grad); color: #15110a; border-color: var(--gold); }
.chip input:focus-visible + span { outline: 1px solid var(--gold-light); }
.filter-actions { grid-column: 1 / -1; text-align: right; }
.card.is-filtered { display: none; }
.no-results { text-align: center; padding: 40px 0; color: var(--muted); }
.empty-state { text-align: center; padding: 60px 20px; border: 1px dashed var(--line); }

/* Profile */
.breadcrumb { padding-top: calc(var(--header-h) + 24px); padding-bottom: 18px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { margin: 0 6px; opacity: .5; }
.profile { display: grid; gap: 30px; padding-bottom: 30px; }
.gallery-main { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); background: #111; cursor: zoom-in; aspect-ratio: 3 / 4; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery-main:hover img { transform: scale(1.03); }
.gallery-hint { position: absolute; bottom: 14px; right: 14px; display: inline-flex; align-items: center; gap: 6px; background: rgba(0, 0, 0, .7); color: var(--gold-light); font-family: var(--sans); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; padding: 8px 12px; border: 1px solid var(--line); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.thumb { padding: 0; border: 1px solid var(--line); background: #111; aspect-ratio: 3 / 4; overflow: hidden; cursor: zoom-in; opacity: .8; transition: opacity .3s, border-color .3s; }
.thumb:hover { opacity: 1; border-color: var(--gold); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.profile-head h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin: 10px 0 4px; }
.profile-head .pill { margin-right: 6px; }
.profile-tagline { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold-light); margin: 0; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 26px; border-top: 1px solid var(--line); }
.stats div { padding: 12px 0; border-bottom: 1px solid rgba(201, 165, 76, .12); }
.stats div:nth-child(odd) { padding-right: 12px; }
.stats dt { font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.stats dd { margin: 2px 0 0; font-size: .98rem; color: #f1ebdd; }
.rates-card { border: 1px solid var(--line); background: var(--panel); padding: 24px; margin-bottom: 22px; position: relative; }
.rates-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold-grad); }
.rates-card h2 { font-size: 1.7rem; margin-bottom: .6em; }
.rates-table { width: 100%; border-collapse: collapse; }
.rates-table th { text-align: left; font-family: var(--sans); font-weight: 500; font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); padding: 0 0 10px; border-bottom: 1px solid var(--line); }
.rates-table th:last-child, .rates-table td:last-child { text-align: right; }
.rates-table td { padding: 12px 0; border-bottom: 1px solid rgba(201, 165, 76, .1); }
.rates-table td:last-child { font-family: var(--serif); font-size: 1.3rem; color: var(--gold-light); white-space: nowrap; }
.rates-note { margin: 14px 0 0; font-size: .78rem; color: var(--gold); letter-spacing: .05em; font-style: italic; }
.enquire h2 { font-size: 1.6rem; }
.enquire-buttons { display: grid; gap: 10px; margin-bottom: 12px; }
.profile-details { border-top: 1px solid var(--line); background: #0c0c0c; }
.profile-details-grid { display: grid; gap: 50px; }
.prose p { color: #d4cdbd; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.2em; }
.prose li { position: relative; padding-left: 24px; margin-bottom: .55em; color: #d4cdbd; }
.prose li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }
.prose-lux h2 { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prose-wrap { max-width: 820px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.tag-list li { padding: 7px 16px; border: 1px solid var(--line); border-radius: 30px; font-size: .8rem; color: var(--gold-light); }
.videos { display: grid; gap: 16px; }
.video-frame { position: relative; border: 1px solid var(--line); background: #000; }
.video-frame video { width: 100%; max-height: 70vh; }
.video-frame iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.schedule-table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.schedule-table th, .schedule-table td { padding: 12px 0; border-bottom: 1px solid rgba(201, 165, 76, .12); text-align: left; font-weight: 400; }
.schedule-table td { text-align: right; color: #f1ebdd; }
.schedule-table td.muted { color: var(--muted); }
.schedule-table tr.is-today th, .schedule-table tr.is-today td { color: var(--gold-light); }
.today-dot { font-size: .55rem; letter-spacing: .2em; text-transform: uppercase; background: var(--gold-grad); color: #15110a; padding: 2px 7px; border-radius: 20px; margin-left: 6px; vertical-align: 2px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 900; background: #050505; display: flex; flex-direction: column; animation: fadeIn .3s; touch-action: pan-y; }
.lightbox[hidden] { display: none; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; position: relative; z-index: 3; }
.lb-count { font-size: .7rem; letter-spacing: .3em; color: var(--gold); }
.lb-close { background: none; border: 1px solid var(--line); color: var(--gold-light); width: 44px; height: 44px; font-size: 1.8rem; line-height: 1; cursor: pointer; border-radius: 50%; transition: border-color .3s, transform .3s; }
.lb-close:hover { border-color: var(--gold); transform: rotate(90deg); }
.lb-stage { flex: 1; overflow: hidden; position: relative; touch-action: none; }
.lb-track { display: flex; height: 100%; will-change: transform; }
.lb-track.animate { transition: transform .45s var(--ease); }
.lb-slide { flex: 0 0 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 0 10px 20px; user-select: none; -webkit-user-select: none; }
.lb-slide img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: var(--shadow); pointer-events: none; -webkit-user-drag: none; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(0, 0, 0, .55); color: var(--gold-light); font-size: 2rem; line-height: 1; cursor: pointer; display: none; transition: background .3s, border-color .3s; padding: 0 0 4px; }
.lb-nav:hover { background: rgba(201, 165, 76, .2); border-color: var(--gold); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }

/* FAQ */
.narrow-wrap { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-family: var(--serif); font-size: 1.35rem; color: #f3ecdc; position: relative; transition: color .3s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--gold); font-family: var(--sans); font-weight: 300; font-size: 1.6rem; transition: transform .3s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--gold-light); }
.faq-answer { padding: 0 0 18px; color: #cfc8b8; animation: fadeIn .4s; }

/* Contact & forms */
.contact-grid, .rates-layout { display: grid; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 22px; border: 1px solid var(--line); background: var(--panel); color: #d4cdbd; transition: border-color .3s, transform .3s var(--ease); }
.contact-card:hover { border-color: var(--gold); transform: translateX(4px); color: #fff; }
.contact-card.static:hover { transform: none; border-color: var(--line); }
.contact-card .icon { width: 30px; height: 30px; color: var(--gold); }
.contact-card strong { display: block; font-family: var(--sans); font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.contact-card span { word-break: break-word; }
.contact-form { border: 1px solid var(--line); background: var(--panel); padding: 28px 22px; }
.form-lux { display: grid; gap: 16px; }
.form-lux label:not(.check) { display: grid; gap: 6px; font-size: .64rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); }
.form-lux label:not(.check) input, .form-lux textarea { letter-spacing: normal; text-transform: none; }
.form-row { display: grid; gap: 16px; }
.form-lux .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.flash { padding: 14px 18px; border: 1px solid; margin-bottom: 18px; font-size: .9rem; }
.flash-ok { border-color: rgba(127, 191, 142, .5); background: rgba(127, 191, 142, .08); color: #cfeed6; }
.flash-err { border-color: rgba(214, 110, 110, .55); background: rgba(214, 110, 110, .08); color: #f3c9c9; }

/* Error */
.error-page { min-height: 70vh; display: flex; align-items: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #070707; padding: 60px 0 0; margin-top: 40px; }
.footer-grid { display: grid; gap: 34px; }
.footer-brand .brand { margin-bottom: 14px; }
.site-footer h4 { font-family: var(--sans); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 500; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: #bdb6a7; font-size: .9rem; display: inline-flex; align-items: center; gap: 8px; word-break: break-all; }
.footer-links a:hover { color: var(--gold-light); }
.footer-links .icon { color: var(--gold); }
.footer-bottom { margin-top: 44px; padding: 22px 20px 30px; border-top: 1px solid rgba(201, 165, 76, .12); font-size: .76rem; color: var(--muted); display: grid; gap: 8px; }
.footer-bottom p { margin: 0; }
.badge-18 { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-light); font-size: .62rem; font-weight: 600; margin-right: 8px; vertical-align: middle; }
.float-wa { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: #15110a; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transition: transform .3s var(--ease); }
.float-wa:hover { transform: scale(1.08); color: #000; }
.float-wa .icon { width: 26px; height: 26px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal, .no-io .reveal { opacity: 1; transform: none; }

/* ---------- Breakpoints ---------- */
@media (min-width: 600px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .card-name { font-size: 1.3rem; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .filters { grid-template-columns: repeat(3, 1fr); }
  .age-gate__actions { flex-direction: row; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .result-count { order: 0; width: auto; }
  .sort-select-label { display: inline; }
  .lb-nav { display: block; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats div { padding-right: 12px; }
}
@media (min-width: 900px) {
  :root { --header-h: 84px; }
  body { font-size: 16px; }
  .brand-sub { display: block; }
  .nav-toggle { display: none; }
  .site-nav { position: static; flex-direction: row; align-items: center; gap: 26px; padding: 0; background: none; opacity: 1; visibility: visible; transform: none; overflow: visible; }
  .site-nav a { font-family: var(--sans); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; border: 0; padding: 6px 0; position: relative; color: #d8d1c0; }
  .site-nav > a:not(.btn)::after, .nav-item > a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .35s var(--ease); }
  .site-nav > a:not(.btn):hover::after, .site-nav > a.active::after, .nav-item > a:hover::after, .nav-item > a.active::after { right: 0; }
  .site-nav .nav-cta { margin: 0 0 0 6px; padding: 12px 22px; font-size: .64rem; color: #15110a; }
  .nav-item { position: relative; }
  .has-sub .sub { position: absolute; top: 100%; left: -18px; min-width: 200px; flex-direction: column; flex-wrap: nowrap; gap: 0; padding: 12px 0; background: rgba(10, 10, 10, .97); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
  .has-sub .sub a { padding: 9px 20px; font-size: .66rem; color: #cfc8b8; }
  .has-sub .sub a:hover { color: var(--gold-light); background: rgba(201, 165, 76, .06); }
  .section { padding: 110px 0; }
  .section.listing-section { padding-top: 40px; }
  .pill { font-size: .6rem; letter-spacing: .18em; padding: 5px 10px; }
  .location-tile { min-height: 280px; }
  .intro-grid { grid-template-columns: 1fr 1.1fr; gap: 80px; }
  .card-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .pillars { grid-template-columns: repeat(4, 1fr); }
  .filters { grid-template-columns: repeat(5, 1fr); display: grid; }
  .filter-toggle { display: none; }
  .profile { grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: start; }
  .profile-info { position: sticky; top: calc(var(--header-h) + 20px); }
  .gallery-thumbs { grid-template-columns: repeat(5, 1fr); }
  .profile-details-grid { grid-template-columns: 1.5fr 1fr; gap: 80px; }
  .contact-grid { grid-template-columns: 1fr 1.4fr; gap: 60px; }
  .rates-layout { grid-template-columns: 1.3fr 1fr; gap: 70px; }
  .rates-layout .rates-card, .rates-layout .contact-form { position: sticky; top: calc(var(--header-h) + 20px); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 50px; }
  .footer-bottom { grid-template-columns: 1fr auto; align-items: center; }
  .lb-slide { padding: 0 90px 30px; }
  .lb-prev { left: 28px; }
  .lb-next { right: 28px; }
  .lb-nav { width: 58px; height: 58px; }
}
@media (min-width: 1200px) {
  .site-nav { gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.age-gate .eyebrow { color: var(--gold); margin-bottom: .4rem; }

/* ---------- Photo protection (deterrents; the watermark is the real protection) ---------- */
.photo-protect .card-media, .photo-protect .profile-gallery, .photo-protect .lb-stage { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.photo-protect .card-media img, .photo-protect .profile-gallery img, .photo-protect .lb-slide img {
  -webkit-user-select: none; user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; pointer-events: none;
}
.photo-protect .thumb { position: relative; }
/* invisible shield over photos so "Save image as" / long-press hits the shield, not the picture */
.photo-protect .gallery-main::after, .photo-protect .thumb::after, .photo-protect .lb-slide::after { content: ''; position: absolute; inset: 0; background: transparent; z-index: 1; }
.photo-protect .lb-slide { position: relative; }
.photo-protect .gallery-hint { z-index: 2; }
.photo-protect .card-media img, .photo-protect .profile-gallery img, .photo-protect .lb-slide img { transition: filter .15s ease, transform 1.2s var(--ease); }
.photo-protect.photos-shield .card-media img, .photo-protect.photos-shield .profile-gallery img, .photo-protect.photos-shield .lb-slide img { filter: blur(24px) brightness(.6) !important; }
.protect-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 9999; padding: 10px 18px; border: 1px solid rgba(201, 165, 76, .45); border-radius: 30px; background: rgba(11, 11, 11, .92); color: var(--gold, #c9a54c); font-size: .8rem; letter-spacing: .04em; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; max-width: calc(100% - 32px); text-align: center; }
.protect-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media print {
  .photo-protect .card-media img, .photo-protect .profile-gallery img, .photo-protect .lightbox, .photo-protect .more-section { display: none !important; }
  .photo-protect .profile-gallery::before { content: 'Photos are not available for printing. View them at moonlightelite.com'; display: block; padding: 20px; border: 1px solid #999; text-align: center; color: #333; }
}
