:root {
  --ink: #1c140f;
  --muted: #5e4e44;
  --cream: #f4efe7;
  --paper: #fbf8f3;
  --white: #fffdf9;
  --line: #e4d8cb;
  --amber: #d4652f;
  --amber-deep: #9a3f18;
  --moss: #1b342d;
  --moss-deep: #10221d;
  --gold: #e8a15a;
  --wa: #25d366;
  --wa-deep: #128c7e;
  --header: #0c0a09;
  --shadow: 0 18px 50px rgb(28 20 15 / 0.12);
  --serif: "Montserrat", "Segoe UI", sans-serif;
  --sans: "Montserrat", "Segoe UI", sans-serif;
  --dock: 4.6rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 680; letter-spacing: -0.03em; line-height: 1.15; }
h1 em, h2 em, .ac__title em { font-style: italic; font-weight: 520; }
h1 { font-size: clamp(2.35rem, 1.2rem + 5vw, 4.7rem); }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.15rem); }
h3 { font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.7rem); }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--white);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  z-index: 100;
}
.skip:focus { top: 0.6rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.icon { width: 1.15rem; height: 1.15rem; display: block; flex: none; }

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-deep);
}

.lead { color: var(--muted); font-size: 1.05rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .icon-btn:focus-visible, .wa-fab:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn--wa { background: var(--wa); color: #07321a; box-shadow: 0 10px 24px rgb(37 211 102 / 0.28); }
.btn--wa:hover { background: #1ebe5d; }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgb(28 20 15 / 0.18);
}
.btn--light {
  background: rgb(255 253 249 / 0.14);
  color: white;
  border-color: rgb(255 255 255 / 0.35);
  backdrop-filter: blur(8px);
}
.btn--sm { min-height: 42px; padding: 0.45rem 0.9rem; font-size: 0.92rem; }
.btn--block { width: 100%; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: transparent;
  color: white;
  padding-top: env(safe-area-inset-top);
  transition: background 0.25s ease, backdrop-filter 0.25s ease;
}
.site-header.is-scrolled,
.site-header.is-menu-open,
body[data-page="privacy"] .site-header,
body[data-page="missing"] .site-header {
  background: rgb(12 10 9 / 0.78);
  backdrop-filter: blur(14px);
}
.bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: min(1180px, calc(100% - 1.2rem));
  margin-inline: auto;
  min-height: 72px;
  padding-block: 0.55rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-right: auto;
  min-width: 0;
  text-decoration: none;
  color: white;
  background: rgb(12 10 9 / 0.55);
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 999px;
  padding: 0.28rem 0.85rem 0.28rem 0.28rem;
  backdrop-filter: blur(8px);
}
.brand img { width: 42px; height: 42px; display: block; border-radius: 50%; }
.brand strong {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  font-size: 1rem;
  white-space: nowrap;
}
.footer-logo { width: 240px; height: auto; display: block; }
.desk-nav, .desk-only { display: none; }
.desk-nav {
  gap: 0.2rem;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.16);
  background: rgb(12 10 9 / 0.55);
  backdrop-filter: blur(10px);
}
.desk-nav a {
  color: white;
  text-decoration: none;
  font-weight: 550;
  font-size: 0.92rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
}
.desk-nav a:hover { background: rgb(255 255 255 / 0.14); }
.bar-actions { display: flex; align-items: center; gap: 0.45rem; }
.header-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.16);
  background: rgb(12 10 9 / 0.55);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  backdrop-filter: blur(8px);
}
.header-wa .icon { width: 1.15rem; height: 1.15rem; }
.header-wa:hover { background: rgb(12 10 9 / 0.72); }
.nav-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.16);
  background: rgb(12 10 9 / 0.55);
  color: white;
  cursor: pointer;
  padding: 0;
  backdrop-filter: blur(8px);
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 16px;
  height: 1.6px;
  border-radius: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.25s ease, background 0.2s ease;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }
.mobile-nav {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}
.mobile-nav.is-open { grid-template-rows: 1fr; }
.mobile-nav__inner {
  overflow: hidden;
  width: min(1180px, calc(100% - 1.2rem));
  margin-inline: auto;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 0.35rem;
  color: white;
  text-decoration: none;
  font-weight: 620;
  font-size: 1.05rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
}
.mobile-nav a:last-child { margin-bottom: 0.45rem; }
.mobile-nav a:active { color: var(--gold); }

.site-footer {
  background: var(--header);
  color: #efe6dc;
  padding: 3rem 0 calc(var(--dock) + 2rem + env(safe-area-inset-bottom));
}
.footer-grid { display: grid; gap: 1.6rem; }
.footer-grid p { color: #cbbbaa; max-width: 36ch; }
.footer-grid a { display: block; color: var(--cream); text-decoration: none; margin-top: 0.35rem; }
.footer-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold) !important;
  font-weight: 700;
}
.footer-base {
  display: grid;
  gap: 0.35rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  color: #b5a394;
  font-size: 0.88rem;
}
.footer-base a { color: var(--gold); }

.dock {
  position: fixed;
  left: 0.6rem;
  right: 0.6rem;
  bottom: calc(0.45rem + env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 0.45rem;
  padding: 0.4rem;
  border-radius: 999px;
  background: rgb(12 10 9 / 0.92);
  box-shadow: 0 12px 40px rgb(0 0 0 / 0.28);
  backdrop-filter: blur(10px);
}
.dock a {
  min-height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 700;
  color: var(--cream);
}
.dock__wa { background: var(--wa); color: #07321a !important; }

@media (min-width: 900px) {
  section[id] { scroll-margin-top: 6.5rem; }
  .bar { min-height: 84px; }
  .desk-nav { display: flex; }
  .desk-only { display: inline-flex; }
  .nav-toggle, .mobile-nav, .dock { display: none; }
  .site-footer { padding-bottom: 2.4rem; }
  .footer-grid { grid-template-columns: 1.4fr 0.8fr 0.8fr; }
  .footer-base { display: flex; justify-content: space-between; }
  .footer-logo { width: 270px; }
  .brand strong { font-size: 1.08rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
