/* ================================================================
   ROYAL RINSE — DESIGN SYSTEM
   ----------------------------------------------------------------
   👋 BRAND COLORS LIVE HERE. To match your exact logo palette,
   update the four brand tokens in :root below (--midnight, --navy,
   --royal, --gold). Everything downstream updates automatically.
================================================================ */

:root {
  /* ---- BRAND TOKENS (sampled from the official Royal Rinse logo) ---- */
  --midnight: #0A1440;       /* deepest background — darker navy */
  --navy:     #24336E;       /* primary brand navy (logo background) */
  --royal:    #2E4088;       /* slightly brighter navy for elevation */
  --royal-2:  #3A52A8;       /* brightest navy for gradients */
  --red:      #E12028;       /* primary brand red (wordmark color) */
  --red-2:    #F04048;       /* brighter red for hover states */
  --gold:     #EBBB4D;       /* crown-tip gold */
  --gold-2:   #F5D07A;       /* highlight gold */
  --silver:   #CCD4EB;       /* crown silver-lavender */

  /* ---- DERIVED / UTILITY TOKENS ---- */
  --cream:       #ffffff;
  --platinum:    #e8ecf5;
  --muted:       #9aa3c4;
  --border:      rgba(204, 212, 235, 0.12);
  --border-strong: rgba(204, 212, 235, 0.22);

  --glass:       rgba(204, 212, 235, 0.05);
  --glass-hi:    rgba(204, 212, 235, 0.10);
  --glass-dark:  rgba(10, 20, 64, 0.55);

  /* ---- GRADIENTS ---- */
  --grad-royal:  linear-gradient(135deg, var(--royal) 0%, var(--royal-2) 100%);
  --grad-gold:   linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  --grad-red:    linear-gradient(135deg, var(--red) 0%, var(--red-2) 100%);
  --grad-night:  radial-gradient(ellipse at top, #1a2556 0%, var(--midnight) 60%);
  --grad-hero:   radial-gradient(ellipse 80% 60% at 30% 20%, rgba(58, 82, 168, 0.45) 0%, transparent 60%),
                 radial-gradient(ellipse 60% 50% at 80% 80%, rgba(235, 187, 77, 0.12) 0%, transparent 60%),
                 linear-gradient(180deg, var(--midnight) 0%, var(--navy) 100%);

  /* ---- TYPOGRAPHY ---- */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body:    'Manrope', system-ui, -apple-system, sans-serif;

  /* ---- SIZING ---- */
  --container: 1280px;
  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;

  /* ---- SHADOWS ---- */
  --shadow-glass: 0 10px 40px -10px rgba(0, 0, 0, 0.5),
                  inset 0 1px 0 0 rgba(255, 255, 255, 0.08);
  --shadow-gold:  0 10px 40px -10px rgba(212, 165, 116, 0.4);

  /* ---- TIMING ---- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ================================================================
   RESET
================================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--midnight);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* ================================================================
   AMBIENT BACKGROUND — drifting gradient mesh + grain
================================================================ */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--grad-night);
  pointer-events: none;
}
.ambient::before,
.ambient::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: drift 22s ease-in-out infinite;
}
.ambient::before {
  top: -10%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--royal-2), transparent 70%);
}
.ambient::after {
  bottom: -20%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--gold), transparent 70%);
  opacity: 0.15;
  animation-delay: -11s;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(8vw, 5vh) scale(1.1); }
  66% { transform: translate(-4vw, 8vh) scale(0.95); }
}

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

/* ================================================================
   TYPOGRAPHY
================================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: 'SOFT' 30, 'WONK' 0;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--cream);
}
h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.15rem; font-weight: 600; font-family: var(--font-body); letter-spacing: 0.01em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.lede { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--muted); max-width: 60ch; }

.serif-accent { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--gold); }

/* Gold gradient text for key phrases */
.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ================================================================
   LAYOUT
================================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}
section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section-narrow { max-width: 900px; margin: 0 auto; }

/* ================================================================
   NAV
================================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.6rem 0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.nav-brand img {
  height: 38px;
  width: auto;
  display: block;
  transition: transform 0.3s var(--ease);
}
.nav-brand:hover img { transform: scale(1.05); }
.nav-brand .crown {
  width: 22px;
  height: 22px;
  color: var(--gold);
}
.nav-brand .rinse { color: var(--red); font-style: italic; }

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  position: relative;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  color: var(--navy);
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0.3rem;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: all 0.3s var(--ease);
  transform: translateX(-50%);
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after { width: 50%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  transition: all 0.3s var(--ease);
}
.nav-cta:hover {
  background: var(--royal);
  color: #fff;
  border-color: var(--royal);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--navy);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--navy);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(24px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }
  .nav.open .nav-links a { padding: 0.9rem 1rem; }
  .nav.open .nav-cta { display: inline-flex; margin: 0.5rem; justify-content: center; }
}

/* ================================================================
   BUTTONS
================================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.35s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: var(--grad-red);
  color: #fff;
  box-shadow: 0 10px 40px -10px rgba(225, 32, 40, 0.5);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, var(--red-2) 0%, var(--red) 50%, var(--red-2) 100%);
  background-size: 200% 200%;
  transition: background-position 0.5s var(--ease);
}
.btn-primary:hover::before { background-position: 100% 100%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 50px -15px rgba(225, 32, 40, 0.6); }

.btn-gold {
  background: var(--grad-gold);
  color: var(--midnight);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 50px -15px rgba(235, 187, 77, 0.55); }

.btn-ghost {
  background: var(--glass);
  color: var(--cream);
  border-color: var(--border-strong);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: var(--glass-hi); border-color: var(--gold); color: var(--gold-2); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.btn-link:hover { border-color: var(--gold); gap: 0.8rem; }

/* ================================================================
   GLASS CARD
================================================================ */
.glass {
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
  overflow: hidden;
}
.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent 40%, transparent 70%, rgba(212,165,116,0.15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.glass-card {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.glass-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

/* ================================================================
   HERO
================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  z-index: -1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: 100%;
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
}
.hero-title {
  font-size: clamp(3rem, 8.5vw, 7rem);
  line-height: 0.95;
  margin-bottom: 1.5rem;
}
.hero-crown {
  display: block;
  width: 56px;
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 6px 18px rgba(201, 163, 90, 0.25));
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.2s forwards;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span {
  display: inline-block;
  transform: translateY(110%);
  animation: lineUp 1.2s var(--ease) forwards;
}
.hero-title .line:nth-child(2) span { animation-delay: 0.15s; }
.hero-title .line:nth-child(3) span { animation-delay: 0.3s; }

@keyframes lineUp {
  to { transform: translateY(0); }
}
.hero-sub {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.7s forwards;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.9s forwards;
}
.hero-meta {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.1s forwards;
}
.hero-meta .item .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  color: var(--gold);
  line-height: 1;
}
.hero-meta .item .lbl {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

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

/* Hero visual (the right side) */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 0.6s forwards;
}
.hero-visual-frame {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6);
  background: linear-gradient(135deg, var(--navy), var(--royal));
}
.hero-visual-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 8, 20, 0.6) 100%);
}
/* Animated SVG droplet pattern for the hero visual */
.hero-drops {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-drops circle {
  fill: rgba(235, 187, 77, 0.4);
  animation: drop 4s ease-in-out infinite;
}
.hero-drops circle:nth-child(even) {
  fill: rgba(225, 32, 40, 0.3);
}
@keyframes drop {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(12px); opacity: 0.7; }
}

/* Hero logo badge — optional big logo display */
.hero-logo {
  display: inline-block;
  height: clamp(60px, 8vw, 90px);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 20px 40px rgba(225, 32, 40, 0.3));
  animation: fadeUp 1s var(--ease) 0.3s both;
}

.hero-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(5, 8, 20, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
}
.hero-badge-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(225, 32, 40, 0.7);
  animation: pulse 2s infinite;
  flex: 0 0 10px;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(225, 32, 40, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(225, 32, 40, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 32, 40, 0); }
}
.hero-badge-text { font-size: 0.82rem; color: var(--platinum); }
.hero-badge-text strong { color: var(--cream); display: block; font-size: 0.92rem; }

/* Scroll indicator */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.5s forwards;
}
.scroll-cue-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue-line::after {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 12px;
  background: var(--gold);
  animation: scrollDown 2s linear infinite;
}
@keyframes scrollDown {
  to { transform: translateY(64px); }
}

/* ================================================================
   REVEAL ON SCROLL
================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ================================================================
   SECTION HEADERS
================================================================ */
.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.centered .eyebrow::before { display: none; }

/* ================================================================
   COMMITMENT / FEATURES GRID
================================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.feature {
  padding: clamp(1.75rem, 3vw, 2.25rem);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.18), rgba(212, 165, 116, 0.04));
  border: 1px solid rgba(212, 165, 116, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s var(--ease-bounce);
}
.feature:hover .feature-icon {
  transform: rotate(-8deg) scale(1.1);
  background: var(--grad-gold);
  border-color: var(--gold);
}
.feature:hover .feature-icon svg { color: var(--midnight); }
.feature-icon svg { width: 26px; height: 26px; color: var(--gold); transition: color 0.4s var(--ease); }
.feature h3 { margin-bottom: 0.75rem; }
.feature p { color: var(--muted); font-size: 0.98rem; }

/* ================================================================
   HIGHLIGHT BLOCK (split image + content)
================================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split-image {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--navy), var(--royal));
}
.split-image-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s var(--ease);
}
.split:hover .split-image-inner { transform: scale(1.05); }
.split-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5, 8, 20, 0.6) 100%);
}
.split-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  padding: 0.45rem 0.9rem;
  background: rgba(5, 8, 20, 0.7);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  z-index: 2;
}

/* ================================================================
   LOCATIONS MARQUEE
================================================================ */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: slide 55s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--platinum);
  letter-spacing: -0.01em;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 3rem; }
.marquee-track .star { color: var(--gold); font-size: 0.7em; }
@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ================================================================
   LOCATIONS GRID (photo gallery)
================================================================ */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}
.loc-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  background: linear-gradient(135deg, var(--navy), var(--royal));
}
.loc-tile-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease);
  filter: grayscale(0.3) brightness(0.8);
}
.loc-tile:hover .loc-tile-img {
  transform: scale(1.08);
  filter: grayscale(0) brightness(1);
}
.loc-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 8, 20, 0.9) 100%);
  transition: opacity 0.5s var(--ease);
}
.loc-tile-label {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  transform: translateY(6px);
  transition: transform 0.5s var(--ease);
}
.loc-tile-label .city {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--cream);
  line-height: 1.1;
}
.loc-tile-label .state {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.3rem;
}
.loc-tile:hover .loc-tile-label { transform: translateY(0); }

/* ================================================================
   LOCATION LIST (for /locations page)
================================================================ */
.region { margin-bottom: 4rem; }
.region-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.region-head h2 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); margin: 0; }
.region-head .count {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.region-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold);
  margin: 2rem 0 1rem;
}
.addr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0.9rem;
}
.addr-card {
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: all 0.4s var(--ease);
}
.addr-card:hover { transform: translateY(-3px); border-color: rgba(212, 165, 116, 0.4); }
.addr-card .street { font-weight: 600; color: var(--cream); line-height: 1.3; }
.addr-card .city { font-size: 0.88rem; color: var(--muted); }
.addr-card .flags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--glass-hi);
  border: 1px solid var(--border);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chip.new { background: rgba(212, 165, 116, 0.15); border-color: rgba(212, 165, 116, 0.4); color: var(--gold-2); }

/* ================================================================
   CTA BAND
================================================================ */
.cta-band {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.4), rgba(5, 8, 20, 0.8));
  border: 1px solid var(--border-strong);
}
.cta-band.membership-cta {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.5), rgba(212, 165, 116, 0.08), rgba(5, 8, 20, 0.85));
  border-color: rgba(235, 187, 77, 0.25);
}
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(212, 165, 116, 0.15), transparent 50%);
}
.cta-band h2 { margin-bottom: 1rem; position: relative; }
.cta-band p { position: relative; color: var(--muted); max-width: 50ch; margin: 0 auto 2rem; }
.cta-band .btn { position: relative; }

/* ================================================================
   FOOTER
================================================================ */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand .nav-brand { margin-bottom: 1rem; font-size: 1.7rem; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; max-width: 30ch; }
.footer h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer ul a { color: var(--platinum); font-size: 0.92rem; transition: color 0.3s; }
.footer ul a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 1rem;
}
.socials { display: flex; gap: 0.5rem; }
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.socials a:hover { background: var(--gold); color: var(--midnight); border-color: var(--gold); }
.socials svg { width: 16px; height: 16px; }

/* ================================================================
   PAGE HEADER (used on all non-home pages)
================================================================ */
.page-hero {
  position: relative;
  padding: 9rem 0 3rem;
  overflow: visible;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(30, 58, 138, 0.5), transparent 70%);
  z-index: -1;
}
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 1.25rem; padding-right: 0.35em; }
.page-hero p { max-width: 60ch; color: var(--muted); font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.breadcrumb {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { opacity: 0.5; }

/* ================================================================
   FORMS
================================================================ */
.form {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr 1fr;
}
.form-full { grid-column: 1 / -1; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.form input,
.form textarea,
.form select {
  padding: 0.95rem 1.1rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.98rem;
  color: var(--cream);
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(10px);
}
.form input::placeholder, .form textarea::placeholder { color: rgba(160, 168, 192, 0.5); }
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--glass-hi);
  box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.1);
}
.form textarea { min-height: 140px; resize: vertical; }
.form select option,
.form select optgroup {
  background: #fff;
  color: #1a1a2e;
}
.form .checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--muted);
}
@media (max-width: 720px) { .form { grid-template-columns: 1fr; } }

.photo-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--glass);
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  font-size: 0.9rem !important;
  font-weight: 600;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  color: var(--cream) !important;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.photo-upload-btn:hover {
  background: var(--glass-hi);
  border-color: var(--gold);
  color: var(--gold) !important;
}

.ir-form {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}
.ir-form input,
.ir-form textarea,
.ir-form select {
  padding: 0.75rem 0.9rem;
  font-size: 0.92rem;
}
.ir-form .photo-upload-btn {
  padding: 0.6rem 1rem;
  font-size: 0.85rem !important;
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
}
.ir-form .ir-file-name {
  font-size: 0.75rem !important;
}
.ir-wide { max-width: 1060px; margin: 0 auto; }
@media (max-width: 960px) { .ir-form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .ir-form { grid-template-columns: 1fr; } }

/* ================================================================
   MEMBERSHIP PRICING CARD
================================================================ */
.membership-card {
  padding: 3rem 2.5rem;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Ribbon container — clips the diagonal strip to the card corner */
.membership-card .ribbon {
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.membership-card .ribbon::before {
  content: 'UNLIMITED';
  position: absolute;
  top: 28px;
  right: -40px;
  width: 180px;
  padding: 0.4rem 0;
  background: var(--grad-gold);
  color: var(--midnight);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  font-weight: 800;
  text-align: center;
  transform: rotate(45deg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
/* Make sure the card's real content sits above the ribbon */
.membership-card > *:not(.ribbon) { position: relative; z-index: 2; }
.membership-card h3 { font-size: 2rem; }
.membership-card .count {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
  margin: 1.5rem 0 0.5rem;
}
.membership-card .count span { font-size: 0.5em; opacity: 0.6; }
.membership-card ul { list-style: none; text-align: left; margin: 2rem 0; display: grid; gap: 0.8rem; }
.membership-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--platinum);
}
.membership-card ul li::before {
  content: '';
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(235, 187, 77, 0.2);
  border: 1px solid var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EBBB4D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ================================================================
   FAQ / ACCORDION
================================================================ */
.faq { display: flex; flex-direction: column; gap: 0.75rem; max-width: 860px; margin: 0 auto; }
.faq details {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  transition: all 0.3s var(--ease);
}
.faq details[open] { border-color: rgba(212, 165, 116, 0.3); background: var(--glass-hi); }
.faq summary {
  padding: 1.3rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--cream);
  font-size: 1.02rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
  flex: 0 0 14px;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .answer {
  padding: 0 1.6rem 1.5rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ================================================================
   GIFT CARD VISUAL
================================================================ */
.gc-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 880px) { .gc-wrap { grid-template-columns: 1fr; } }

.gift-card {
  position: relative;
  aspect-ratio: 1.586 / 1;
  border-radius: 20px;
  padding: 1.75rem;
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.25), transparent 40%),
    linear-gradient(135deg, #C8202E 0%, #E12028 40%, #F04048 80%, #EBBB4D 100%);
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(225, 32, 40, 0.5), inset 0 1px 0 rgba(255,255,255,0.3);
  transform: rotateZ(-4deg);
  transition: transform 0.6s var(--ease);
}
.gift-card:hover { transform: rotateZ(0deg) scale(1.02); }
.gift-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 80%;
  height: 180%;
  background: radial-gradient(circle, rgba(255,255,255,0.2), transparent 60%);
}
.gc-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.gc-row .label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.65;
}
.gc-row .brand { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; }
.gc-num {
  position: absolute;
  bottom: 1.75rem;
  left: 1.75rem;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.2em;
  font-size: 1.1rem;
  opacity: 0.8;
}
.gc-chip {
  position: absolute;
  bottom: 4rem;
  left: 1.75rem;
  width: 40px;
  height: 30px;
  background: linear-gradient(135deg, #F5D07A, #EBBB4D);
  border-radius: 5px;
  border: 1px solid rgba(0,0,0,0.2);
}
.amount-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.amount-chip {
  padding: 1rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(10px);
}
.amount-chip:hover { border-color: var(--gold); color: var(--gold); }
.amount-chip.active {
  background: var(--grad-gold);
  color: var(--midnight);
  border-color: var(--gold);
}

/* Gift card purchase form: inputs, grid, errors, success */
.gc-input {
  padding: 0.9rem 1.05rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.98rem;
  color: var(--cream);
  font-family: inherit;
  width: 100%;
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(10px);
}
.gc-input::placeholder { color: rgba(160, 168, 192, 0.5); }
.gc-input:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--glass-hi);
  box-shadow: 0 0 0 4px rgba(235, 187, 77, 0.12);
}
textarea.gc-input { min-height: 72px; resize: vertical; }

.gc-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.gc-field-grid .form-group:last-child { grid-column: 1 / -1; }
@media (max-width: 640px) { .gc-field-grid { grid-template-columns: 1fr; } }

.gc-error {
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 110, 128, 0.08);
  border: 1px solid rgba(255, 110, 128, 0.35);
  border-radius: 10px;
  color: #ffc2cb;
  font-size: 0.9rem;
}

#gc-submit.is-loading { opacity: 0.75; cursor: progress; }
#gc-submit:disabled { cursor: not-allowed; }

/* Success page */
.gc-spinner {
  width: 36px;
  height: 36px;
  margin: 1.5rem 0 0;
  border-radius: 50%;
  border: 3px solid var(--border-strong);
  border-top-color: var(--gold);
  animation: gc-spin 0.9s linear infinite;
}
@keyframes gc-spin { to { transform: rotate(360deg); } }

.gcs-code-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--glass);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.gcs-code-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  flex-basis: 100%;
}
.gcs-code-value {
  font-family: 'Courier New', monospace;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  flex: 1 1 auto;
  word-break: break-all;
}
.gcs-copy-btn { padding: 0.55rem 0.9rem; font-size: 0.85rem; }

.gcs-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1.5rem;
  margin: 0.5rem 0 0;
  padding: 0;
}
.gcs-details > div { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.gcs-details dt {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.gcs-details dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--cream);
  word-break: break-word;
}
@media (max-width: 560px) { .gcs-details { grid-template-columns: 1fr; } }

/* ================================================================
   PRICING (per-location) LAYOUT
================================================================ */
.price-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 880px) { .price-wrap { grid-template-columns: 1fr; } }
.price-table {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.price-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: all 0.4s var(--ease);
}
.price-row:hover { border-color: rgba(212, 165, 116, 0.35); transform: translateX(4px); }
.price-row .pay-type {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.price-row .rate { font-size: 0.98rem; color: var(--platinum); }
.price-row .amount {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--cream);
  white-space: nowrap;
}
.price-row .per { font-size: 0.8rem; color: var(--muted); }
@media (max-width: 540px) {
  .price-row { grid-template-columns: 1fr; }
}

.map-embed {
  aspect-ratio: 4 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--navy), var(--midnight));
  position: relative;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.85) contrast(1.05);
}
.map-embed-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(235, 187, 77, 0.2), transparent 40%),
    linear-gradient(45deg, transparent 49%, rgba(235, 187, 77, 0.08) 50%, transparent 51%),
    linear-gradient(-45deg, transparent 49%, rgba(235, 187, 77, 0.08) 50%, transparent 51%);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  color: var(--gold);
}
.map-embed-fallback svg { width: 64px; height: 64px; }

/* ================================================================
   TERMS / LONG-FORM
================================================================ */
.prose { max-width: 72ch; margin: 0 auto; }
.prose h2 { margin-top: 3rem; margin-bottom: 1rem; font-size: 1.6rem; }
.prose h3 { margin-top: 2rem; margin-bottom: 0.75rem; font-size: 1.2rem; color: var(--gold); }
.prose p { margin-bottom: 1rem; color: var(--platinum); line-height: 1.75; }
.prose ul { margin: 1rem 0 1rem 1.25rem; color: var(--platinum); }
.prose ul li { margin-bottom: 0.5rem; }

/* ================================================================
   HOVER GLOW UTIL
================================================================ */
.glow-on-hover {
  position: relative;
  overflow: hidden;
}
.glow-on-hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 165, 116, 0.15), transparent);
  transition: left 0.7s var(--ease);
  pointer-events: none;
}
.glow-on-hover:hover::after { left: 100%; }

/* ================================================================
   REDUCED MOTION
================================================================ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ambient::before, .ambient::after { animation: none; }
}

/* ================================================================
   SELECTION
================================================================ */
::selection { background: var(--gold); color: var(--midnight); }

/* ================================================================
   SCROLLBAR (webkit)
================================================================ */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--midnight); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--royal), var(--midnight));
  border-radius: 10px;
  border: 2px solid var(--midnight);
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ================================================================
   INTERACTIVE LOCATOR / MAP
================================================================ */
.locator-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 1.25rem;
  height: 70vh;
  min-height: 580px;
}
@media (max-width: 960px) {
  .locator-grid { grid-template-columns: 1fr; height: auto; }
  .locator-map { height: 60vh; min-height: 460px; }
  .locator-sidebar { height: 50vh; min-height: 380px; }
}

.locator-map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--navy);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
#map { width: 100%; height: 100%; min-height: 460px; }

/* Leaflet overrides to match brand */
.leaflet-container {
  font-family: var(--font-body);
  background: var(--navy) !important;
}
.leaflet-popup-content-wrapper {
  background: rgba(10, 20, 64, 0.92) !important;
  color: var(--cream) !important;
  border: 1px solid var(--border-strong);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.8);
  border-radius: 14px !important;
  backdrop-filter: blur(12px);
  padding: 2px;
}
.leaflet-popup-tip { background: rgba(10, 20, 64, 0.92) !important; }
.leaflet-popup-content { margin: 1rem 1.25rem !important; font-family: var(--font-body); }
.leaflet-popup-close-button { color: var(--muted) !important; padding: 8px 10px 0 0 !important; }
.leaflet-popup-close-button:hover { color: var(--gold) !important; }

.leaflet-control-zoom {
  border: 1px solid var(--border-strong) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4) !important;
  border-radius: 10px !important;
  overflow: hidden;
}
.leaflet-control-zoom a {
  background: rgba(10, 20, 64, 0.85) !important;
  color: var(--cream) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--border) !important;
  backdrop-filter: blur(10px);
  transition: all 0.2s;
}
.leaflet-control-zoom a:hover { background: var(--red) !important; color: #fff !important; }
.leaflet-control-attribution {
  background: rgba(10, 20, 64, 0.8) !important;
  color: var(--muted) !important;
  font-size: 10px !important;
  backdrop-filter: blur(8px);
}
.leaflet-control-attribution a { color: var(--gold) !important; }

/* Custom brand pin */
.rr-marker { background: transparent !important; border: 0 !important; }
.rr-pin {
  width: 34px;
  height: 34px;
  background: var(--red);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 2px solid var(--gold);
  box-shadow: 0 6px 16px rgba(225, 32, 40, 0.5), 0 2px 4px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease-bounce);
}
.rr-pin:hover {
  transform: rotate(-45deg) scale(1.2);
  z-index: 1000;
}
.rr-pin::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  transform: rotate(45deg);
  top: 50%;
  left: 50%;
  margin: -4px 0 0 -4px;
}
.rr-pin.is-new {
  background: var(--gold);
  border-color: var(--red);
  animation: pinPulse 2s ease-in-out infinite;
}
.rr-pin.is-new::after { background: var(--red); }
@keyframes pinPulse {
  0%, 100% { box-shadow: 0 6px 16px rgba(235, 187, 77, 0.6), 0 0 0 0 rgba(235, 187, 77, 0.5); }
  50% { box-shadow: 0 6px 16px rgba(235, 187, 77, 0.6), 0 0 0 10px rgba(235, 187, 77, 0); }
}

/* Filter pills (overlay on map) */
.locator-filters {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 500;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.pill {
  padding: 0.5rem 1rem;
  background: rgba(10, 20, 64, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.pill:hover { border-color: var(--gold); transform: translateY(-1px); }
.pill.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 4px 16px rgba(225, 32, 40, 0.4);
}

/* Map legend */
.locator-legend {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(10, 20, 64, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  font-size: 0.78rem;
  color: var(--platinum);
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1;
}
.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: 0 0 12px;
}
.legend-dot.open {
  background: var(--red);
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 8px rgba(225, 32, 40, 0.4);
}
.legend-dot.new {
  background: var(--gold);
  border: 1.5px solid var(--red);
  box-shadow: 0 0 0 0 rgba(235, 187, 77, 0.5);
  animation: legendPulse 2s ease-in-out infinite;
}
@keyframes legendPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(235, 187, 77, 0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(235, 187, 77, 0); }
}
@media (max-width: 560px) {
  .locator-legend { font-size: 0.7rem; padding: 0.6rem 0.8rem; }
}

/* Sidebar locator */
.locator-sidebar {
  display: flex;
  flex-direction: column;
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glass);
}
.sidebar-head {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.sidebar-head svg {
  position: absolute;
  left: 1.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
}
.sidebar-head input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--cream);
  font-size: 0.92rem;
  transition: all 0.3s var(--ease);
}
.sidebar-head input:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--glass-hi);
}
.sidebar-head input::placeholder { color: var(--muted); }

.sidebar-list { flex: 1; overflow-y: auto; padding: 0.5rem; }
.sidebar-list::-webkit-scrollbar { width: 6px; }
.sidebar-list::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 10px; }

.sidebar-section-head {
  padding: 0.9rem 1.1rem 0.5rem;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.loc-item {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  border: 1px solid transparent;
  margin-bottom: 4px;
}
.loc-item:hover {
  background: var(--glass-hi);
  border-color: rgba(235, 187, 77, 0.25);
  transform: translateX(2px);
}
.loc-item.active {
  background: var(--glass-hi);
  border-color: var(--red);
  box-shadow: 0 6px 20px -6px rgba(225, 32, 40, 0.35);
}
.loc-item .loc-street { font-weight: 600; color: var(--cream); font-size: 0.92rem; line-height: 1.3; }
.loc-item .loc-city { font-size: 0.8rem; color: var(--muted); margin-top: 0.15rem; }
.loc-item .loc-flags { display: flex; gap: 0.25rem; margin-top: 0.5rem; flex-wrap: wrap; }
.loc-item .loc-flags .chip { font-size: 0.6rem; padding: 0.1rem 0.4rem; letter-spacing: 0.08em; }

.locator-empty { padding: 3rem 2rem; text-align: center; color: var(--muted); font-size: 0.9rem; }

/* Popup body */
.popup-body { min-width: 200px; }
.popup-body .pstreet { font-weight: 700; font-size: 1rem; color: var(--cream); margin-bottom: 0.2rem; line-height: 1.25; }
.popup-body .pcity { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.65rem; }
.popup-body .pflags { display: flex; gap: 0.3rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.popup-body .pflags .chip { font-size: 0.62rem; padding: 0.15rem 0.5rem; }
.popup-body .pprice {
  padding: 0.6rem 0.8rem;
  background: rgba(235, 187, 77, 0.08);
  border: 1px solid rgba(235, 187, 77, 0.2);
  border-radius: 8px;
  font-size: 0.78rem;
  margin-bottom: 0.75rem;
  color: var(--platinum);
  line-height: 1.5;
}
.popup-body .pprice strong { color: var(--gold); font-weight: 700; }
.popup-body .pprice-section { margin-bottom: 0.55rem; }
.popup-body .pprice-section:last-child { margin-bottom: 0; }
.popup-body .pprice-heading {
  font-family: var(--font-display);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.popup-body .pprice-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.65rem;
  font-size: 0.76rem;
}
.popup-body .pprice-tier { white-space: nowrap; }
.popup-body .pprice-row {
  font-size: 0.76rem;
  line-height: 1.45;
}
.popup-body .pprice-label { color: var(--muted); font-weight: 600; }
.popup-body .pprice-note {
  font-style: italic;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.25rem;
}
.popup-body .pbtn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  background: var(--red);
  color: #fff !important;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.25s var(--ease);
}
.popup-body .pbtn:hover { background: var(--red-2); transform: translateY(-1px); }
.popup-body .pbtn svg { width: 12px; height: 12px; }

/* Stats strip under map */
.map-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.map-stats .stat {
  padding: 1.5rem 1.75rem;
  text-align: center;
}
.map-stats .stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--gold);
  line-height: 1;
}
.map-stats .stat .lbl {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* ================================================================
   LOCATION DIRECTORY (locations.html, no-map layout)
================================================================ */
.loc-directory-controls {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2rem;
}
.loc-directory-search {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.1rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.loc-directory-search:focus-within {
  border-color: var(--gold);
  background: var(--glass-hi);
}
.loc-directory-search svg { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; }
.loc-directory-search input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: 0;
}
.loc-directory-search input::placeholder { color: var(--muted); }
.loc-directory-filters {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.loc-state-group { margin-bottom: 3rem; }
.loc-state-group:last-child { margin-bottom: 0; }
.loc-state-head {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.loc-state-head h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  margin: 0;
  color: var(--cream);
}
.loc-state-head .count {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem;
}

.loc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.loc-card:hover {
  transform: translateY(-3px);
  border-color: rgba(235, 187, 77, 0.35);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,0.7);
}
.loc-card.is-new {
  border-color: rgba(235, 187, 77, 0.35);
}
.loc-card .loc-head { margin-bottom: 1rem; padding-right: 5rem; }
.loc-card .loc-new-tag {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  background: rgba(235, 187, 77, 0.15);
  border: 1px solid rgba(235, 187, 77, 0.4);
  color: var(--gold-2);
  border-radius: 999px;
  font-weight: 600;
}
.loc-card .loc-street {
  font-weight: 700;
  color: var(--cream);
  font-size: 1.05rem;
  line-height: 1.3;
}
.loc-card .loc-city {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
}
.loc-card .loc-chips {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.loc-card .loc-price {
  flex: 1;
  padding: 0.9rem 1rem;
  background: rgba(235, 187, 77, 0.06);
  border: 1px solid rgba(235, 187, 77, 0.18);
  border-radius: 10px;
  color: var(--platinum);
  line-height: 1.55;
  margin-bottom: 1rem;
}
.loc-card .loc-price strong { color: var(--gold); font-weight: 700; }
.loc-card .loc-price-section { margin-bottom: 0.8rem; }
.loc-card .loc-price-section:last-child { margin-bottom: 0; }
.loc-card .loc-price-heading {
  font-family: var(--font-display);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.loc-card .loc-price-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.8rem;
  font-size: 0.8rem;
}
.loc-card .loc-price-tier { white-space: nowrap; }
.loc-card .loc-price-row {
  font-size: 0.8rem;
  line-height: 1.5;
}
.loc-card .loc-price-label { color: var(--muted); font-weight: 600; }
.loc-card .loc-price-note {
  font-style: italic;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.loc-card .loc-dir-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.1rem;
  background: var(--red);
  color: #fff !important;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.25s var(--ease);
}
.loc-card .loc-dir-btn:hover { background: var(--red-2); transform: translateY(-1px); }
.loc-card .loc-dir-btn svg { width: 13px; height: 13px; }

.loc-empty {
  padding: 4rem 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  background: var(--glass);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}

/* Hide scroll indicator on tablets and phones to prevent overlap with hero stats */
@media (max-width: 768px) {
  .scroll-cue { display: none; }
  .hero { padding-bottom: 2rem; }
}

/* ================================================================
   MOBILE PHONE OPTIMIZATIONS (≤ 480px)
================================================================ */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .loc-grid { grid-template-columns: 1fr; }
  .addr-grid { grid-template-columns: 1fr; }
  .loc-card { padding: 1.1rem; }
  .loc-card .loc-head { padding-right: 3.5rem; }
  .hero-meta { gap: 1.5rem; }
  .features { grid-template-columns: 1fr; }
  .membership-card { padding: 2rem 1.5rem; }
  .membership-card .ribbon { width: 120px; height: 120px; }
  .membership-card .ribbon::before { top: 22px; right: -46px; font-size: 0.6rem; }
  .gift-card { padding: 1.1rem; border-radius: 14px; }
  .split-image { aspect-ratio: 4 / 3.5; }
  .invest-step-card { grid-template-columns: 1fr !important; }
  .invest-hero-img { aspect-ratio: 16 / 9 !important; }
  .page-hero h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .cta-band { padding: 2.5rem 1.5rem; }
  .glass-card { padding: clamp(1.25rem, 3vw, 2.5rem); }
  .nav.open .nav-links { padding: 1rem; }
  .nav.open .nav-links a { padding: 0.8rem 0.75rem; font-size: 0.95rem; }
  .hero { min-height: auto; padding-top: 5rem; padding-bottom: 3rem; }
  .hero-title { font-size: clamp(2.5rem, 11vw, 4rem); }

  /* --- Form mobile optimizations --- */
  .form-group label { font-size: 0.78rem; }
  .form input,
  .form textarea,
  .form select { font-size: 1rem; padding: 0.85rem 0.95rem; }
  .form textarea { min-height: 110px; }
  .form .checkbox-row { gap: 0.75rem; font-size: 0.9rem; }
  .form .checkbox-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  /* Gift card form */
  .amount-row { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .amount-chip { padding: 0.75rem 0.5rem; font-size: 1rem; }
  .gc-input { font-size: 1rem; padding: 0.85rem 0.95rem; }
  .gc-field-grid { gap: 0.75rem; }

  /* Support form container */
  .split .glass-card { padding: 1.5rem !important; }

  /* Refund form */
  .section-narrow .glass-card { padding: 1.5rem clamp(1rem, 3vw, 1.5rem) !important; }
  .ir-wide .glass-card { padding: 1.5rem clamp(1rem, 3vw, 1.5rem) !important; }
  .photo-upload-btn { width: 100%; justify-content: center; }

  /* Star ratings — larger touch targets */
  .star-rating { gap: 0.5rem; }
  .star-rating .star { font-size: 2.25rem; padding: 0.15rem; }

  /* Upload buttons */
  .upload-btn { width: 100%; justify-content: center; text-align: center; }
}

/* Internal form date/time grids — collapse to 2 columns on small screens */
@media (max-width: 540px) {
  .date-time-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
  }
  .name-grid {
    grid-template-columns: 1fr !important;
  }
  .internal-tab {
    padding: 0.5rem 0.75rem;
    font-size: 0.72rem;
  }
  .internal-tab svg { width: 14px; height: 14px; }
}

/* ================================================================
   INTERNAL TEAM PORTAL
================================================================ */
.internal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.internal-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.internal-tab:hover {
  color: var(--cream);
  background: var(--glass-hi);
  border-color: var(--border-strong);
}

.internal-tab.active {
  color: var(--midnight);
  background: var(--grad-gold);
  border-color: var(--gold);
  box-shadow: 0 8px 30px -8px rgba(235, 187, 77, 0.4);
}

.internal-tab.active svg {
  stroke: var(--midnight);
}

.internal-panel {
  display: none;
}

.internal-panel.active {
  display: block;
  animation: fadeUp 0.4s var(--ease) both;
}

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

.internal-resource-card {
  padding: 1rem 1.25rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease);
}

.internal-resource-card:hover {
  background: var(--glass-hi);
  border-color: var(--border-strong);
}

.internal-success-msg {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: var(--radius-sm);
  color: #34d399;
  font-weight: 600;
  font-size: 0.95rem;
  animation: fadeUp 0.3s var(--ease) both;
}

.star-rating {
  display: flex;
  gap: 0.25rem;
  margin-top: 0.5rem;
}
.star-rating .star {
  font-size: 2rem;
  cursor: pointer;
  color: var(--gold, #d4a843);
  transition: transform 0.15s;
  user-select: none;
}
.star-rating .star:hover {
  transform: scale(1.15);
}

.upload-btn:hover {
  opacity: 0.85;
}

@media (max-width: 720px) {
  .internal-tabs {
    gap: 0.4rem;
  }
  .internal-tab {
    padding: 0.6rem 1rem;
    font-size: 0.78rem;
  }
}
