/* =========================
   SHARED HEADER + FOOTER
   Keeps the public pages consistent.
========================= */
:root {
  --parchment-1: #e2d2b2;
  --parchment-2: #ccb184;
  --wood-1: #6b3f21;
  --wood-2: #3a1f0f;
  --wood-3: #24130b;
  --gold: #d8bc79;
  --gold-soft: #f0dfb1;
  --cream: #f5ecd7;
  --dark: #120c08;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  overflow-x: clip;
  background: linear-gradient(to bottom, var(--parchment-1), var(--parchment-2));
  border-top: 2px solid rgba(55, 32, 19, 0.65);
  border-bottom: 2px solid rgba(55, 32, 19, 0.45);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.8;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.18), transparent 34%),
    radial-gradient(circle at bottom, rgba(90,60,35,0.15), transparent 44%);
}

.header-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  width: min(100% - 1rem, 1400px);
  min-height: 64px;
  margin: 0 auto;
  padding: 0.35rem 0;
}

.brand-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 0.6rem;
}

.map-link,
.top-sign,
.site-nav a {
  text-decoration: none;
}

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.45rem 0.9rem;
  color: #f2e2bc;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  background: linear-gradient(to bottom, var(--wood-1), var(--wood-2));
  border: 2px solid #3a2114;
  border-radius: 10px;
  box-shadow:
    0 4px 10px rgba(0,0,0,0.16),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.map-link:hover,
.map-link:focus-visible,
.menu-toggle:hover,
.menu-toggle:focus-visible {
  filter: brightness(1.08);
}

.top-sign-wrap {
  justify-self: center;
  width: fit-content;
  min-width: 0;
}

.top-sign {
  position: relative;
  display: block;
  min-width: 230px;
  padding: 0.7rem 1.2rem;
  text-align: center;
  color: #f2e2bc;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(to bottom, #5c3922, #2c180f);
  border: 2px solid #24130b;
  border-radius: 0.35rem;
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.top-sign::before,
.top-sign::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 28px;
  height: 2px;
  background: rgba(127, 88, 49, 0.7);
}

.top-sign::before { left: -20px; }
.top-sign::after { right: -20px; }

.menu-toggle {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-right: 0.35rem;
  background: linear-gradient(to bottom, #67412a, #3a2215);
  border: 2px solid #3a2114;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.16);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px 0;
  background: #f1e1bc;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1),
.menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2),
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3),
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  position: relative;
  z-index: 2;
  display: none;
  width: min(100% - 1rem, 1400px);
  margin: 0 auto;
  padding: 0.25rem 0 0.8rem;
  background: rgba(112, 102, 93, 0.96);
  border-top: 1px solid rgba(58, 33, 20, 0.22);
}

.site-nav.open {
  display: grid;
}

.site-nav a {
  display: block;
  padding: 0.86rem 1rem;
  color: #ffffff;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(70, 42, 25, 0.18);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: #24130b;
  background: rgba(245, 236, 215, 0.72);
}

.site-footer {
  width: 100%;
  padding: 24px 6%;
  text-align: center;
  color: #d9ccb5;
  background:
    linear-gradient(rgba(12, 7, 4, 0.92), rgba(8, 5, 3, 0.98)),
    radial-gradient(circle at top, rgba(216, 188, 121, 0.11), transparent 45%);
  border-top: 1px solid rgba(216, 188, 121, 0.28);
}

.site-footer p {
  margin: 0.25rem auto;
  max-width: 950px;
  line-height: 1.55;
}

.site-footer strong {
  color: #f0dfb1;
}

.page-hero,
.las-hero,
.about-hero {
  margin-top: 0;
}

@media (min-width: 901px) {
  .site-nav.open {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .site-nav a {
    text-align: center;
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.55rem;
    width: 100%;
    padding: 0.35rem 0.55rem;
  }

  .brand-left {
    padding-left: 0;
  }

  .map-link {
    min-height: 34px;
    padding: 0.4rem 0.62rem;
    font-size: 0.72rem;
  }

  .top-sign {
    min-width: 0;
    max-width: 52vw;
    padding: 0.58rem 0.72rem;
    overflow: hidden;
    font-size: 0.78rem;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .top-sign::before,
  .top-sign::after {
    display: none;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    margin-right: 0;
  }

  .site-nav {
    width: 100%;
    padding-bottom: 0.4rem;
  }

  .site-nav a {
    padding: 0.78rem 1rem;
  }
}
