/* One shared header for every Renew template; approved Option Two styling. */
:root { --soot:#2d3536; --white:#fffef9; --plaster:#f2efe2; --moss:#697c70; --line:rgba(45,53,54,.16); --display:'Bodoni 72',Didot,'Times New Roman',serif; --body:'Avenir Next',Avenir,'Helvetica Neue',Arial,sans-serif; --ease:cubic-bezier(.16,1,.3,1); --shadow-small:0 12px 28px rgba(71,91,82,.1); --page:min(1180px, calc(100% - 48px)); }
.site-header, .site-header * { box-sizing:border-box; }
.site-header button, .site-header a { -webkit-tap-highlight-color:transparent; }
.site-header a:focus-visible, .site-header button:focus-visible { outline:3px solid #697c70; outline-offset:3px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(45, 53, 54, 0.09);
  background: rgba(242, 239, 226, 0.96);
  color: var(--soot);
  box-shadow: 0 10px 32px rgba(70, 86, 78, 0.07);
}

.header-inner {
  width: var(--page);
  min-height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 26px;
}

.brand {
  width: 86px;
  height: 70px;
  display: block;
  justify-self: start;
  overflow: hidden;
  border-radius: 30px 30px 30px 8px;
  background: #5f856d;
  box-shadow: var(--shadow-small);
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.desktop-nav { justify-self: center; }
.desktop-nav ul, .footer-links, .mobile-nav ul { margin: 0; padding: 0; list-style: none; }
.desktop-nav ul { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }

.desktop-nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--moss);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease);
}

.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--soot);
  color: var(--white);
  box-shadow: 0 13px 28px rgba(45, 53, 54, 0.17);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 240ms var(--ease), background-color 240ms ease, box-shadow 240ms ease;
}

.button:hover { background: #1f2627; box-shadow: 0 18px 38px rgba(45, 53, 54, 0.22); transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(0.985); }
.button-secondary { border-color: rgba(255, 255, 255, 0.52); background: transparent; box-shadow: none; }
.button-secondary:hover { background: rgba(255, 255, 255, 0.1); }
.header-portal { min-height: 46px; padding: 12px 21px; white-space: nowrap; }

.menu-button {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--soot);
  color: var(--white);
  cursor: pointer;
}

.menu-button svg { width: 24px; height: 24px; }
.menu-button .close-icon { display: none; }
.menu-button[aria-expanded='true'] .menu-icon { display: none; }
.menu-button[aria-expanded='true'] .close-icon { display: block; }

.mobile-nav {
  position: fixed;
  inset: 92px 0 0;
  z-index: 90;
  overflow-y: auto;
  padding: 34px 24px 48px;
  background: var(--plaster);
  color: var(--soot);
}

.mobile-nav[hidden] { display: none; }
.mobile-nav ul { width: min(520px, 100%); margin: 0 auto; }
.mobile-nav li { border-bottom: 1px solid var(--line); }

.mobile-nav a {
  display: block;
  padding: 21px 5px;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1.1;
  text-decoration: none;
}


/* Shared header always stays above regular page sections. */
.site-header { z-index:10000; }
.mobile-nav[hidden] { display:none !important; }
body.menu-open { overflow:hidden; }
@media (max-width:1080px) and (min-width:861px) {
  .header-inner { grid-template-columns:120px 1fr auto;gap:18px; }
  .desktop-nav ul { gap:14px; }
  .desktop-nav a { font-size:.62rem;letter-spacing:.085em; }
}
@media (max-width:860px) {
  :root { --page:min(100% - 32px,720px); }
  .header-inner { min-height:86px;grid-template-columns:1fr auto 1fr;gap:12px; }
  .brand { width:78px;height:64px; }
  .desktop-nav { display:none; }
  .menu-button { display:grid;grid-column:2;justify-self:center; }
  .header-portal { grid-column:3;justify-self:end;min-height:44px;padding:11px 16px;font-size:.65rem; }
  .mobile-nav { inset:86px 0 0; }
}
@media (max-width:600px) {
  :root { --page:calc(100% - 28px); }
  .header-inner { width:calc(100% - 20px); }
  .brand { width:70px;height:58px;border-radius:24px 24px 24px 8px; }
  .menu-button { width:42px;height:42px; }
  .header-portal { min-height:41px;padding:10px 13px;letter-spacing:.09em; }
}

/* Unified dynamic footer */
.site-footer { padding: 78px 0 28px; background: var(--moss); color: var(--white); }
.footer-inner { width: var(--page); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.22fr 1fr 0.8fr 0.8fr; gap: 50px; padding-bottom: 58px; }

.footer-brand img {
  width: 116px;
  height: 96px;
  margin-bottom: 20px;
  border-radius: 42px 42px 42px 12px;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow-small);
}

.footer-brand p { max-width: 36ch; color: rgba(255, 255, 255, 0.84); }
.footer-title { margin-bottom: 22px; color: var(--white); font-family: var(--body); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; line-height: 1.3; text-transform: uppercase; }
.footer-block p { margin: 0 0 10px; color: rgba(255, 255, 255, 0.84); }
.footer-block a { color: var(--white); text-decoration-color: rgba(255, 255, 255, 0.5); }
.footer-links li + li { margin-top: 10px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.24); color: rgba(255, 255, 255, 0.78); font-size: 0.78rem; }
.footer-bottom p { margin: 0; }
.footer-bottom > p:nth-child(2) { flex: 1; text-align: center; }
.footer-credit { white-space: nowrap; }
.footer-credit a { color: inherit; text-decoration-color: rgba(255, 255, 255, 0.42); text-underline-offset: 0.22em; }


@media (max-width:1080px) { .footer-grid { grid-template-columns:1.2fr 1fr .8fr; } .footer-hours { grid-column:2; } }
@media (max-width:860px) { .footer-grid { grid-template-columns:1fr 1fr; } .footer-hours { grid-column:auto; } }
@media (max-width:600px) { .footer-grid { grid-template-columns:1fr;gap:36px; } .footer-bottom { display:block; } .footer-bottom p + p { margin-top:10px; } .footer-bottom > p:nth-child(2) { text-align:left; } }
