:root {
  --bg: #3a2415;
  --ink: #f9f3b9;
  --accent: #9c4f2e;
  --panel: #4b2f1d;

  --menu-color: #e5cd6c;
  --menu-active: #f9f3b9;

  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --font-decor: "Great Vibes", cursive;

  --header-bg: rgba(47, 41, 36, 0.9);
  --header-bg-stuck: rgba(47, 41, 36, 0.97);
  --header-border: #e5ddd2;

  --chip-bg: #bc915f;
  --chip-hover: #7e5533;
  --chip-text: #f9f3b9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: radial-gradient(circle at 0% 0%, #5a3b24 0, var(--bg) 45%);
}

.site-header {
  position: relative;
  margin: .8rem auto 0;
  width: min(980px, calc(100% - 2rem));
  border: 1px solid var(--header-border);
  border-radius: 12px;
  background: var(--header-bg);
  backdrop-filter: blur(6px);
  z-index: 2147483647;
  isolation: isolate;
  transition: box-shadow .2s ease, background-color .2s ease, transform .2s ease;
}

.site-header.is-stuck {
  position: fixed;
  top: .5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--header-bg-stuck);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 1rem;
}

.brand {
  color: #fff8df;
  text-decoration: none;
  font-family: var(--font-decor);
  font-size: 2rem;
  line-height: 1;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(229,205,108,.5);
  background: transparent;
  border-radius: .55rem;
  padding: .45rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  margin: 6px 0;
  background: var(--menu-color);
}

.menu {
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
}

.menu-item {
  color: var(--menu-color);
  text-decoration: none;
  font-family: var(--font-decor);
  font-size: 1.55rem;
  line-height: 1;
  padding: .35rem .55rem;
  border-radius: .45rem;
  transition: color .15s ease, background-color .15s ease;
}

.menu-item:hover,
.menu-item:focus-visible,
.menu-item.active {
  color: var(--menu-active);
  background: rgba(249, 243, 185, 0.08);
  padding: .45rem .75rem;
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

main.wrap {
  padding-top: 2.4rem;
}

.section {
  scroll-margin-top: 110px;
}

h1, h2 {
  font-family: var(--font-decor);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 .6rem;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
}

.cta-chip {
  display: inline-block;
  padding: .7rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: var(--chip-text);
  background: var(--chip-bg);
  transition: background-color .18s ease;
}

.cta-chip:hover,
.cta-chip:focus-visible {
  background: var(--chip-hover);
}

.map-card {
  margin-top: 1.5rem;
  background: var(--panel);
  border: 1px solid #8d6a49;
  border-radius: 12px;
  padding: 1rem;
}

#map {
  width: 100%;
  height: 320px;
  border-radius: 10px;
  border: 1px solid #8d6a49;
}

.map-pin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 30%, transparent);
}

@media (max-width: 860px) {
  .site-header {
    width: calc(100% - 1rem);
    margin-top: .5rem;
  }

  .site-header.is-stuck {
    top: .25rem;
  }

  .menu-toggle {
    display: block;
  }

  .menu {
    display: none;
    width: 100%;
    flex-direction: column;
    border-top: 1px solid rgba(229,205,108,.25);
    padding-top: .4rem;
    margin-top: .2rem;
  }

  .site-header.menu-open .nav-wrap {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-header.menu-open .menu {
    display: flex;
  }

  .menu-item {
    font-size: 1.8rem;
    padding: .35rem .15rem;
  }
}
