/* ════════════════════════════════════════════════════════
   TOKENS
════════════════════════════════════════════════════════ */
:root {
  --bg:          #0e0b0a;
  --surface:     #181210;
  --surface2:    #221a17;
  --gold:        #c8a96e;
  --gold-light:  #e2c99a;
  --gold-dim:    rgba(200,169,110,0.25);
  --text:        #f2ede6;
  --text-muted:  #8a7d75;
  --text-dim:    #4a3f3a;
  --border:      rgba(200,169,110,0.15);
  --border-soft: rgba(242,237,230,0.07);

  --nav-h:       76px;
  --px:          clamp(1.5rem, 7vw, 7rem);
  --py:          clamp(3rem,   7vw, 7rem);
}

/* ════════════════════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: auto;
}
img   { display: block; max-width: 100%; height: auto; }
a     { color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor: pointer; }

/* ════════════════════════════════════════════════════════
   CUSTOM CURSOR — disabled, using system default
════════════════════════════════════════════════════════ */
.cursor-dot,
.cursor-ring { display: none !important; }

/* ════════════════════════════════════════════════════════
   GRAIN OVERLAY (applied to hero)
════════════════════════════════════════════════════════ */
.grain::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
  pointer-events: none;
  z-index: 3;
  opacity: 0.45;
}

/* ════════════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════════════ */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--px);
  background: transparent;
  transition: background 0.5s ease, box-shadow 0.5s ease;
}
nav.scrolled {
  background: rgba(14,11,10,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-logo img {
  height: 88px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.65));
  opacity: 1;
  transition: transform 0.3s ease;
}
.nav-logo img:hover {
  transform: scale(1.04);
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242,237,230,0.85);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
}
.nav-links a:hover       { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active      { color: var(--gold-light); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 38px; height: 38px;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 100%; height: 1px;
  background: var(--text);
  transition: transform 0.35s ease, opacity 0.25s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 490;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.8rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  letter-spacing: 0.02em;
  transition: color 0.25s;
}
.mobile-menu a:hover { color: var(--gold); }

/* ════════════════════════════════════════════════════════
   SPA PAGES
════════════════════════════════════════════════════════ */
.page {
  display: none;
  min-height: 100vh;
  padding-top: var(--nav-h);
}
.page.active { display: block; }

/* Reveal animation — triggered by JS adding .revealed */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════════════════════
   HOME — HERO
════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: calc(100svh - var(--nav-h));
  min-height: 500px;
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  will-change: opacity;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide.leaving {
  opacity: 0;
  transition: opacity 2s ease-in-out;
}
/* layered gradient: dark top bar + bottom fade + warm tint */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(14,11,10,0.55) 0%, transparent 35%),
    linear-gradient(to top,    rgba(14,11,10,0.80) 0%, transparent 55%),
    linear-gradient(160deg,    rgba(14,11,10,0.15) 0%, transparent 60%);
  z-index: 2;
}
.hero-content {
  position: absolute; inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding-bottom: clamp(3rem, 8vw, 6rem);
  padding-left: var(--px);
  padding-right: var(--px);
}

/* decorative thin line above title */
.hero-line {
  width: 44px; height: 1px;
  background: var(--gold);
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: fadeUp 1s 0.3s ease forwards;
}
.hero-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp 1s 0.5s ease forwards;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s 0.7s ease forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-locations {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0;
  animation: fadeUp 1s 0.95s ease forwards;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.hero-locations .loc-name { display: inline; width: auto; height: auto; background: none; border-radius: 0; opacity: 1; }
.hero-locations .loc-dot  { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: 0.7; vertical-align: middle; }
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.5rem;
  padding: 0.85rem 2.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  border: none;
  transition: background 0.3s, color 0.3s, transform 0.3s;
  opacity: 0;
  animation: fadeUp 1s 1.15s ease forwards;
}
.hero-cta:hover { background: var(--gold-light); transform: translateY(-2px); }

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

/* scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 1s 1.6s ease forwards;
}
.scroll-hint span {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(242,237,230,0.35);
}
.scroll-mouse {
  width: 22px; height: 34px;
  border: 1px solid rgba(242,237,230,0.25);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 3px; height: 7px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%  { opacity: 1; transform: translateY(0); }
  80% { opacity: 0; transform: translateY(8px); }
  100%{ opacity: 0; transform: translateY(0); }
}

/* ════════════════════════════════════════════════════════
   HOME — INFO CARDS
════════════════════════════════════════════════════════ */
.info-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border-top: 1px solid var(--border-soft);
}
.info-card {
  background: var(--surface);
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.4rem, 3vw, 2.8rem);
  position: relative;
  overflow: hidden;
  transition: background 0.35s;
}
.info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.info-card:hover { background: var(--surface2); }
.info-card:hover::before { opacity: 1; }

.info-card-icon {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.info-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1.2rem;
}
.info-card p,
.info-card address {
  font-size: clamp(0.78rem, 1.5vw, 0.85rem);
  line-height: 2;
  color: var(--text-muted);
  font-style: normal;
}
.info-card a { color: var(--gold); transition: color 0.2s; }
.info-card a:hover { color: var(--gold-light); }

@media (max-width: 900px) { .info-strip { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .info-strip { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════
   SERVICES PAGE — BANNER
════════════════════════════════════════════════════════ */
.services-banner {
  position: relative;
  width: 100%;
  height: clamp(220px, 38vh, 440px);
  overflow: hidden;
}
.services-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.45) saturate(0.7);
}
.services-banner-text {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.services-banner-text .eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}
.services-banner-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--text);
  text-align: center;
}
.banner-rule {
  width: 44px; height: 1px;
  background: var(--gold);
}

/* ════════════════════════════════════════════════════════
   SERVICES PAGE — MENU
════════════════════════════════════════════════════════ */
.services-body {
  max-width: 1040px;
  margin: 0 auto;
  padding: var(--py) var(--px) calc(var(--py) * 1.5);
}

.service-group { margin-bottom: 5rem; }

.service-group-header {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 2.5rem;
}
.service-group-header::before,
.service-group-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-soft);
}
.service-group-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

/* dotted-leader menu row */
.service-item {
  display: flex;
  align-items: baseline;
  gap: 0;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-soft);
  position: relative;
}
.service-item:last-of-type { border-bottom: none; }

.service-name {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--text);
  font-weight: 300;
  white-space: nowrap;
  padding-right: 0.5rem;
}
.service-leader {
  flex: 1;
  border-bottom: 1px dotted var(--text-dim);
  margin: 0 0.8rem;
  position: relative;
  top: -4px;
}
.service-note {
  display: block;
  font-size: clamp(0.8rem, 1.5vw, 0.88rem);
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.3rem;
  white-space: normal;
}
.service-price {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 400;
  color: var(--gold);
  white-space: nowrap;
}

.addon-footnote {
  margin-top: 1.2rem;
  font-size: clamp(0.82rem, 1.5vw, 0.9rem);
  color: var(--text-muted);
  font-style: italic;
  padding-left: 0.2rem;
}

/* Tablet: allow name to wrap so leader stays visible */
@media (max-width: 768px) {
  .service-name   { white-space: normal; }
  .service-item   { padding: 1.1rem 0; }
}

/* Mobile: stack name above price, hide leader */
@media (max-width: 520px) {
  .service-item   { flex-wrap: wrap; gap: 0.25rem; align-items: flex-start; padding: 1rem 0; }
  .service-leader { display: none; }
  .service-name   { white-space: normal; flex: 1 1 auto; }
  .service-price  { flex-shrink: 0; }
}

/* ════════════════════════════════════════════════════════
   MAP SECTION
════════════════════════════════════════════════════════ */
.map-section {
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
}

.map-header {
  padding: var(--py) var(--px) 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}
.map-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.map-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--text);
}
.map-rule {
  width: 44px; height: 1px;
  background: var(--gold);
  margin-top: 0.4rem;
}

/* Tabs */
.map-tabs {
  display: flex;
  gap: 0;
  padding: 2.5rem var(--px) 0;
}
.map-tab {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: 1px solid var(--border-soft);
  border-bottom: none;
  background: transparent;
  color: var(--text-muted);
  position: relative;
  transition: color 0.3s, background 0.3s;
}
.map-tab + .map-tab { border-left: none; }
.map-tab.active {
  background: var(--surface2);
  color: var(--gold);
  border-color: var(--border);
}
.map-tab:hover:not(.active) { color: var(--text); background: rgba(255,255,255,0.03); }

/* Map frames */
.map-frame-wrapper {
  position: relative;
  width: 100%;
  height: clamp(280px, 45vw, 480px);
  border-top: 1px solid var(--border);
}
.map-frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  filter: grayscale(30%) brightness(0.88);
}
.map-frame.active { opacity: 1; pointer-events: auto; }

/* Info bar */
.map-info-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border-top: 1px solid var(--border-soft);
}
.map-info-item {
  background: var(--surface);
  padding: clamp(1.5rem, 3vw, 2.2rem) clamp(1.2rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.info-label {
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.info-value {
  font-size: clamp(0.78rem, 1.6vw, 0.85rem);
  color: var(--text-muted);
  line-height: 1.8;
}
.info-value a { color: var(--text-muted); transition: color 0.2s; }
.info-value a:hover { color: var(--gold); }

@media (max-width: 700px) {
  .map-info-bar { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 400px) {
  .map-info-bar { grid-template-columns: 1fr; }
  .map-tabs { flex-direction: column; }
  .map-tab + .map-tab { border-left: 1px solid var(--border-soft); border-top: none; }
}

/* ════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border-soft);
  padding: clamp(1.5rem, 3vw, 2.2rem) var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
footer p {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.footer-socials { display: flex; gap: 1rem; align-items: center; }
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(200,169,110,0.5);
  color: rgba(242,237,230,0.8);
  background: rgba(200,169,110,0.14);
  transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s;
}
.footer-socials a:hover {
  color: var(--bg);
  border-color: var(--gold);
  background: var(--gold);
  transform: scale(1.1);
}
.footer-socials svg { width: 26px; height: 26px; fill: currentColor; display: block; }

@media (max-width: 500px) {
  footer { flex-direction: column; align-items: flex-start; }
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE — NAV BREAKPOINT
════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  :root { --nav-h: 68px; }
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
}
@media (max-width: 600px) {
  :root { --nav-h: 62px; }
  .nav-logo img { height: 68px; }
}
