/* Site chrome (header, nav, footer) extracted from style.css so that
   self-contained pages can share the same header and footer without
   inheriting body styles such as .card / .btn / .hero, which those
   pages define themselves. Keep in sync with style.css. */

:root {
  /* ── Color Palette ── */
  --gold:         #cca876;
  --gold-light:   #e8d5b7;
  --gold-dark:    #a8854f;
  --bg-color:     #0d0d0d;
  --bg-secondary: #121212;
  --bg-elevated:  #1a1a1a;
  --text-main:    #f0ece4;
  --text-light:   #9a958d;
  --text-muted:   #5a564f;
  --primary-dark: #cca876;
  --border-color: rgba(204, 168, 118, 0.12);
  --border-hover: rgba(204, 168, 118, 0.35);

  /* ── Typography ── */
  --font-heading: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* ── Spacing ── */
  --section-pad:  clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 5%);
  --border-radius: 16px;

  /* ── Shadows ── */
  --shadow-sm:  0 4px 20px rgba(0,0,0,0.3);
  --shadow-md:  0 12px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 60px rgba(204,168,118,0.06);

  /* ── Transitions ── */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition:    all 0.4s var(--ease-out-expo);
}

.header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 5%;
  transition: padding 0.5s var(--ease-out-expo),
              box-shadow 0.5s var(--ease-out-expo),
              background 0.5s ease;
}

.header.scrolled {
  padding: 0.6rem 5%;
  background: rgba(10, 10, 10, 0.92);
  box-shadow: 0 4px 30px rgba(0,0,0,0.6), 0 1px 0 var(--border-color);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  width: 100%;
}

.logo img {
  height: 64px;
  width: auto;
  border-radius: 0;
  transition: opacity 0.3s ease;
}

.logo:hover img { opacity: 0.8; }

.main-nav .nav-list {
  display: flex;
  gap: 2.25rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: width 0.4s var(--ease-out-expo);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  position: relative;
  transition: var(--transition);
}

.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  left: 0;
  transition: var(--transition);
}

.hamburger::before { top: -7px; }

.hamburger::after  { bottom: -7px; }

.menu-toggle.active .hamburger {
  background-color: transparent;
}

.menu-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.active .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.footer {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, #080808 100%);
  color: var(--text-main);
  padding: 5rem 5% 2rem;
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(80%, 600px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-container {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.footer-col p, .footer-col li {
  color: var(--text-light);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col a {
  color: var(--text-light);
  transition: color 0.3s ease, padding-left 0.3s var(--ease-out-expo);
}

.footer-col a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.footer-bottom a {
  color: var(--text-light);
}

.footer-bottom a:hover {
  color: var(--gold);
}

.logo img, .logo h2 { animation: fadeDown 0.6s ease 0.1s both; }

.logo:hover img, .logo:hover h2 { animation: logoFloat 3s ease infinite; }

.nav-list li:nth-child(1) { animation: fadeDown 0.5s ease 0.10s both; }

.nav-list li:nth-child(2) { animation: fadeDown 0.5s ease 0.15s both; }

.nav-list li:nth-child(3) { animation: fadeDown 0.5s ease 0.20s both; }

.nav-list li:nth-child(4) { animation: fadeDown 0.5s ease 0.25s both; }

.nav-list li:nth-child(5) { animation: fadeDown 0.5s ease 0.30s both; }

.nav-list li:nth-child(6) { animation: fadeDown 0.5s ease 0.35s both; }

.nav-list li:nth-child(7) { animation: fadeDown 0.5s ease 0.40s both; }

.map-container {
  margin-top: 1.5rem;
  height: 180px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.map-iframe { border: 0; width: 100%; height: 100%; }

.social-links { display: flex; gap: 15px; margin-top: 10px; }

.social-link { opacity: 0.7; transition: opacity 0.3s ease; display: inline-block; }

.social-link:hover { opacity: 1; }

.social-link img { width: 24px; height: 24px; filter: invert(1); }

.logo-text {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.5px;
}

@media (max-width: 768px) {
  .header {
    padding: 0.75rem max(1.25rem, env(safe-area-inset-right)) 0.75rem max(1.25rem, env(safe-area-inset-left));
  }
  .header-container {
    position: relative;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    z-index: 1002;
    -webkit-tap-highlight-color: transparent;
  }
  .main-nav {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    padding: calc(5rem + env(safe-area-inset-top)) 1.5rem calc(2rem + env(safe-area-inset-bottom));
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: none;
    clip-path: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 1001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .main-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    max-width: 320px;
    margin: 0 auto;
  }
  .nav-link {
    font-size: 1.05rem;
    padding: 0.85rem 1rem;
    display: block;
    text-align: center;
    border-radius: 8px;
  }
  .nav-link:active {
    background: rgba(204, 168, 118, 0.1);
  }
  .footer {
    padding: 2.5rem max(1.25rem, env(safe-area-inset-right)) calc(1.5rem + env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .logo img { height: 48px; }
  .map-container { height: 160px; }
}

/* Header must never compress - matches style-refresh.css */
/* Belt and braces: a nav label may never wrap internally at any width. */
.main-nav .nav-list li,
.main-nav .nav-link {
  white-space: nowrap;
}

/* Scoped resets ─────────────────────────────────────────────────────────
   style.css relies on global `a { text-decoration: none }` and
   `ul { list-style: none }`. Self-contained pages have no such reset, so the
   nav rendered with bullet points and underlined links. Scope the resets to
   the chrome only — the host page's own links and lists are left alone. */
.header ul,
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header a,
.footer a,
.logo,
.nav-link {
  text-decoration: none;
  color: inherit;
}

.header *,
.footer * { box-sizing: border-box; }

/* The header is a flex row; without this the logo can stretch oddly on
   pages whose <body> is itself a column flexbox. */
.header-container { width: 100%; }
