:root {
  --makhanley-cream: #f7f5f0;
  --makhanley-sand: #e8e3d9;
  --makhanley-green: #1a3b28;
  --makhanley-terracotta: #a64b2a;
  --site-header-height: 90px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--site-header-height) + 18px);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar, body::-webkit-scrollbar, *::-webkit-scrollbar { width: 0; height: 0; display: none; }

body { padding-top: var(--site-header-height); }

[data-site-header] {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  display: block;
  width: 100%;
  margin: 0;
}
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  width: 100%;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgb(26 59 40 / 10%);
  border-radius: 0;
  background: var(--makhanley-cream);
  box-shadow: 0 4px 18px rgb(17 32 22 / 8%);
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header *, .site-header *::before, .site-header *::after { box-sizing: border-box; }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: var(--site-header-height);
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
}
.site-header__brand { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: flex-start; width: 160px; height: 82px; overflow: hidden; }
.site-header__brand img { display: block; width: 148px; height: 78px; object-fit: contain; }
.site-header__actions { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.75rem); }
.site-header__links { display: flex; align-items: center; gap: 1.5rem; }
.site-header__links a, .site-header__mobile-links a {
  color: var(--makhanley-green);
  font: 600 .92rem/1.4 Inter, Arial, sans-serif;
  text-decoration: none;
  transition: color .18s ease;
}
.site-header__links a:hover, .site-header__mobile-links a:hover { color: var(--makhanley-terracotta); }
.site-header__links a[aria-current="page"], .site-header__mobile-links a[aria-current="page"] { color: var(--makhanley-terracotta); }
.site-header__cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--makhanley-green);
  color: var(--makhanley-cream);
  font: 600 .9rem/1 Inter, Arial, sans-serif;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}
.site-header__cta:hover { transform: translateY(-1px); background: var(--makhanley-terracotta); }
.site-header__toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(26 59 40 / 20%);
  border-radius: 50%;
  background: transparent;
  color: var(--makhanley-green);
  font: 500 1.45rem/1 Inter, Arial, sans-serif;
  cursor: pointer;
}
.site-header__mobile { display: none; }
.site-header a:focus-visible, .site-header button:focus-visible { outline: 3px solid var(--makhanley-terracotta); outline-offset: 3px; }

html body { transition: opacity .32s ease, transform .32s ease; }
.page-entering body { opacity: 0; transform: translateY(6px); }
.page-leaving body { opacity: 0; transform: translateY(-3px); }

/* Keep full-screen hero sections full-screen while the fixed header occupies its own layer. */
.home-page #home { min-height: calc(100vh - var(--site-header-height)); height: calc(100vh - var(--site-header-height)); }

@media (max-width: 800px) {
  :root { --site-header-height: 76px; }
  .site-header__inner { min-height: var(--site-header-height); gap: .5rem; padding: 0 .8rem; }
  .site-header__brand { width: 118px; height: 68px; }
  .site-header__brand img { width: 112px; height: 64px; }
  .site-header__links { display: none; }
  .site-header__actions { gap: .5rem; }
  .site-header__cta { min-height: 40px; padding: .65rem .9rem; font-size: .82rem; }
  .site-header__toggle { display: inline-flex; }
  .site-header__mobile[data-open="true"] { display: block; border-top: 1px solid var(--makhanley-sand); }
  .site-header__mobile-links { display: flex; flex-direction: column; gap: 1rem; width: 100%; margin-inline: auto; padding: 1rem 1.2rem 1.25rem; }
  .home-page #home { min-height: calc(100vh - var(--site-header-height)); height: calc(100vh - var(--site-header-height)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header, .site-header__links a, .site-header__mobile-links a, .site-header__cta { transition: none; }
  html body { transition: none; }
  .page-entering body, .page-leaving body { opacity: 1; transform: none; }
}
