html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #1A1A1A;
  background: #F5F1E8;
  -webkit-font-smoothing: antialiased;
}

.serif        { font-family: 'Cormorant Garamond', Georgia, serif; }
.italic-serif { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 500; }
.eyebrow      { font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 600; }
.tabular      { font-variant-numeric: tabular-nums; }
.logo-spacing { letter-spacing: 0.12em; }

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 26, 20, 0.86) 0%, rgba(15, 26, 20, 0.70) 35%, rgba(15, 26, 20, 0.45) 62%, rgba(15, 26, 20, 0.12) 100%),
    linear-gradient(180deg, rgba(15, 26, 20, 0.22) 0%, transparent 30%, rgba(15, 26, 20, 0.42) 100%);
}

.page-hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 26, 20, 0.78) 0%, rgba(15, 26, 20, 0.56) 55%, rgba(15, 26, 20, 0.42) 100%);
}

.link-arrow { transition: transform 0.25s ease; display: inline-block; }
a:hover .link-arrow { transform: translateX(4px); }

input, textarea, select { font-family: 'Inter', sans-serif; }
input::placeholder, textarea::placeholder { color: #857F73; }

.grain {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.06 0 0 0 0 0.08 0 0 0 0 0.06 0 0 0 0.12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.nav-active { color: #1F3D2E; font-weight: 500; }
.nav-active::after {
  content: '';
  display: block;
  height: 1px;
  background: #B89968;
  margin-top: 4px;
}

/* Mobile menu */
.mobile-menu-open { overflow: hidden; }
#mobile-menu { transition: opacity 0.25s ease, visibility 0.25s ease; overflow-y: auto; }
#mobile-menu.is-open { opacity: 1; visibility: visible; }

/* Image loading polish */
img { display: block; }

/* Mobile sticky call bar: always-visible tap-to-call on phones */
.mobile-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #1F3D2E;
  color: #F5F1E8;
  padding: 15px 16px calc(15px + env(safe-area-inset-bottom));
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  box-shadow: 0 -2px 18px rgba(15, 26, 20, 0.22);
}
.mobile-call-bar:active { background: #16302A; }
@media (min-width: 768px) { .mobile-call-bar { display: none; } }
@media (max-width: 767px) { body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); } }

/* Smooth focus rings */
:focus-visible {
  outline: 2px solid #B89968;
  outline-offset: 3px;
  border-radius: 2px;
}

/* Visually hidden, still announced to screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip-to-content link: revealed on keyboard focus */
.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 100;
  background: #1F3D2E;
  color: #F5F1E8;
  padding: 10px 18px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

/* Ease the wordmark on very small/old phones so it never crowds the menu button */
@media (max-width: 360px) {
  header a[href="index.html"].logo-spacing {
    font-size: 16px;
    letter-spacing: 0.07em;
    gap: 0.35rem;
  }
}
