@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --moss: #6b4a9e;     /* deep purple — headings, buttons, nav */
  --sage: #9b72c8;     /* medium purple — borders, accents */
  --fern: #c4a0e0;     /* light lavender — light accents, hover */
  --clay: #a06abf;     /* warm purple — tags, highlights, italics */
  --sand: #ede0f8;     /* very light lavender — text on dark bg */
  --cream: #faf7fd;    /* near-white purple tint — page background */
  --bark: #2d1f4a;     /* deep dark purple — body text */
  --mist: #e8d8f5;     /* soft lavender — light section backgrounds */
  --deep: #1e1235;     /* darkest purple — hero, footer dark sections */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--bark);
  overflow-x: hidden;
}

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  padding: 1.2rem 3.5rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(245,240,232,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(125,154,106,0.18);
  transition: padding 0.3s;
}
.logo {
  text-decoration: none;
  display: flex; align-items: center; gap: 0.6rem;
}
/* Circular logo */
.logo-icon {
  width: 44px; height: 44px;
  overflow: hidden; flex-shrink: 0; position: relative;
  border-radius: 50%;
}
.logo-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  position: absolute; top: 0; left: 0;
  filter: none;
  transition: opacity 0.3s;
}
.logo:hover .logo-icon img {
  opacity: 0.85;
  filter: none;
}
.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem; font-weight: 300; letter-spacing: 0.08em;
  color: var(--moss); line-height: 1;
}
.logo-text span { color: var(--clay); font-style: italic; }
/* Footer logo */
.footer-brand .logo-text { color: var(--sand); }
.footer-brand .logo-text span { color: var(--clay); }
/* Nav menu — lives outside <nav> to avoid stacking context trap */
#navMenu {
  list-style: none;
  position: fixed;
  top: 0; right: 3.5rem;
  height: 72px; /* match nav height */
  display: flex; gap: 2.2rem; align-items: center;
  z-index: 999; /* just below nav (1000) on desktop so nav border shows above */
  margin: 0; padding: 0;
}
#navMenu a {
  text-decoration: none; color: var(--bark);
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; transition: color 0.3s; position: relative;
}
#navMenu a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--clay); transform: scaleX(0);
  transition: transform 0.3s;
}
#navMenu a:hover::after, #navMenu a.active::after { transform: scaleX(1); }
#navMenu a:hover, #navMenu a.active { color: var(--clay); }
.nav-cta {
  background: var(--moss) !important; color: var(--cream) !important;
  padding: 0.6rem 1.5rem !important; border-radius: 1px;
  transition: background 0.3s !important;
}
.nav-cta:hover { background: var(--clay) !important; }
.nav-cta::after { display: none !important; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  min-height: 42vh;
  background: var(--deep);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 130px 2rem 5rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(125,154,106,0.15) 0%, transparent 70%);
}
.page-hero-tag {
  font-size: 0.68rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 1rem; justify-content: center;
}
.page-hero-tag::before, .page-hero-tag::after {
  content: ''; display: block; width: 30px; height: 1px; background: var(--clay);
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 300; color: var(--sand); line-height: 1.1;
}
.page-hero h1 em { color: var(--clay); font-style: italic; }
.page-hero p {
  color: rgba(232,220,200,0.6); font-size: 1rem; font-weight: 300;
  margin-top: 1.2rem; max-width: 500px; line-height: 1.8;
}

/* ---- SHARED SECTION HELPERS ---- */
.section-tag {
  font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 0.9rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.section-tag::before {
  content: ''; display: block; width: 30px; height: 1px; background: var(--clay);
}
.section-tag.center { justify-content: center; }
.section-tag.center::before { display: none; }
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300; line-height: 1.15;
  color: var(--moss); margin-bottom: 1.2rem;
}
h2 em { font-style: italic; color: var(--clay); }
h2.light { color: var(--sand); }
.lead {
  font-size: 1rem; font-weight: 300; line-height: 1.9;
  color: var(--bark); opacity: 0.75;
}

/* ---- BUTTONS ---- */
.btn-primary {
  background: var(--moss); color: var(--cream);
  padding: 0.9rem 2.2rem; font-family: 'Jost', sans-serif;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  border: none; cursor: pointer; transition: all 0.3s;
  text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: var(--clay); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--moss);
  padding: 0.9rem 2.2rem; font-family: 'Jost', sans-serif;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  border: 1.5px solid var(--moss); cursor: pointer; transition: all 0.3s;
  text-decoration: none; display: inline-block;
}
.btn-outline:hover { background: var(--moss); color: var(--cream); }
.btn-outline.light { color: var(--sand); border-color: var(--sand); }
.btn-outline.light:hover { background: var(--sand); color: var(--bark); }

/* ---- FOOTER ---- */
footer {
  background: var(--bark);
  padding: 5rem 5rem 2rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand .logo { color: var(--sand); font-size: 1.4rem; }
.footer-tagline {
  font-size: 0.85rem; color: rgba(232,220,200,0.45);
  margin-top: 0.8rem; line-height: 1.8; max-width: 230px;
}
.footer-col h4 {
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.65rem; }
.footer-col a {
  font-size: 0.83rem; color: rgba(232,220,200,0.5);
  text-decoration: none; transition: color 0.3s;
}
.footer-col a:hover { color: var(--fern); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 2rem; margin-top: 3rem;
  display: flex; justify-content: space-between; align-items: center;
  grid-column: 1 / -1;
}
.footer-bottom p { font-size: 0.72rem; color: rgba(232,220,200,0.28); }
.social-links { display: flex; gap: 0.8rem; }
.social-links a {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(232,220,200,0.35); font-size: 0.7rem; font-weight: 500;
  text-decoration: none; transition: all 0.3s; letter-spacing: 0.05em;
}
.social-links a:hover { border-color: var(--fern); color: var(--fern); }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.85s ease forwards; opacity: 0; }
.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.25s; }
.d3 { animation-delay: 0.4s; }
.d4 { animation-delay: 0.55s; }
.d5 { animation-delay: 0.7s; }

/* ---- FOOTER SIMPLE (all pages) ---- */
.footer-simple {
  background: var(--bark);
  padding: 0;
  display: block;
}
.footer-simple-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 2.5rem 5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  align-items: start;
}
.footer-logo-block .logo { margin-bottom: 1rem; display: inline-flex; }
.footer-logo-block .footer-tagline {
  font-size: 0.83rem; color: rgba(232,220,200,0.45);
  line-height: 1.8; margin-top: 0.8rem; max-width: 260px;
}
.footer-right-block {
  display: flex; flex-direction: column; gap: 1.2rem;
}
.footer-contact-block { display: flex; flex-direction: column; gap: 0.9rem; }
.footer-contact-item {
  font-size: 0.83rem; color: rgba(232,220,200,0.5);
  display: flex; align-items: center; gap: 0.7rem; line-height: 1.5;
}
.footer-contact-icon { font-size: 1rem; flex-shrink: 0; }
.footer-social-label {
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 1rem;
}
.footer-social-icons { display: flex; gap: 0.8rem; }
.footer-social-btn {
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(232,220,200,0.45); text-decoration: none;
  transition: all 0.3s;
}
.footer-social-btn:hover { border-color: var(--fern); color: var(--fern); background: rgba(168,188,142,0.08); }
.footer-copy-bar {
  padding: 1.4rem 5rem;
  display: flex; justify-content: center; align-items: center;
}
.footer-copy-bar p { font-size: 0.72rem; color: rgba(232,220,200,0.25); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  footer { grid-template-columns: 1fr 1fr; padding: 3rem 2rem 1.5rem; }
  .footer-simple-inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 2rem; }
  .footer-copy-bar { padding: 1.2rem 2rem; }
}

/* Hamburger button — hidden on desktop, sits above overlay */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: relative;
  z-index: 1002;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--moss);
  transition: all 0.3s;
  transform-origin: center;
}
.nav-hamburger.open span { background: var(--bark); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav — kicks in at 768px */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-hamburger { display: flex; }

  /* On mobile: hide the desktop-inline menu, turn it into a full-screen overlay.
     Because #navMenu is now a sibling of <nav> (not a child), it is NOT trapped
     in nav's stacking context and can correctly cover the full viewport. */
  #navMenu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    height: 100%;
    background: rgba(245,240,232,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 1001;
  }
  #navMenu.mobile-open { display: flex; }
  #navMenu li { display: block; }
  #navMenu a { font-size: 1.1rem; letter-spacing: 0.2em; }
  .nav-cta { padding: 0.8rem 2rem !important; }
  footer { grid-template-columns: 1fr; }
}
