/* KOID / shared brand details. Loaded after the existing page styles. */
.site-header {
  height: 96px;
  padding: 0 40px;
  gap: 24px;
  background: rgba(248, 247, 242, .96);
  border-bottom: 1px solid #224b3612;
  backdrop-filter: blur(20px);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px #224b3609;
  border-bottom-color: #224b361c;
}

.site-header .brand > span { color: #68745f; }

.site-header .main-nav {
  gap: 5px;
  font-size: 13px;
  font-weight: 400;
  color: #354637;
}

.site-header .main-nav > a,
.site-header .main-nav .nav-products {
  height: 44px;
  min-height: 44px;
  border-radius: 999px;
}

.site-header .main-nav > a {
  padding: 0 17px;
  justify-content: center;
}

.site-header .main-nav > a:after,
.site-header .main-nav .nav-products:after { display: none; }

.site-header .main-nav > a:hover,
.site-header .main-nav .nav-products:hover {
  background: #e7eedb;
  color: #224b36;
}

.site-header .main-nav > a.active,
.site-header .main-nav .nav-products.active {
  color: #224b36;
  background: #e7eedb;
}

.site-header .main-nav > a.active:before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: #68982f;
}

.site-header .main-nav .nav-products { gap: 0; }
.site-header .main-nav .nav-product-link { padding: 13px 0 13px 17px; }
.site-header .main-nav .nav-trigger {
  min-height: 44px;
  min-width: 35px;
  padding: 13px 16px 13px 11px;
  border-radius: 0 999px 999px 0;
  justify-content: center;
}
.site-header .main-nav .nav-trigger:hover,
.site-header .main-nav .nav-trigger[aria-expanded="true"] {
  color: #224b36;
  background: #d9e6c9;
}
.site-header .main-nav .chevron { transition: transform .25s; }
.site-header .main-nav .nav-trigger[aria-expanded="true"] .chevron {
  transform: translateY(3px) rotate(225deg);
}

.site-header .header-contact {
  flex-shrink: 0;
  min-height: 46px;
  padding: 5px 5px 5px 19px;
  gap: 21px;
  border: 1px solid #224b36;
  border-radius: 999px;
  background: #224b36;
  color: #fff;
  font-size: 12px;
  letter-spacing: .03em;
}
.site-header .header-contact > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #cbe6a8;
  color: #224b36;
  font-size: 21px;
  transition: transform .3s, background .3s;
}
.site-header .header-contact:hover,
.site-header .header-contact.active {
  color: #fff;
  border-color: #4e7929;
  background: #4e7929;
}
.site-header .header-contact:hover > span {
  color: #224b36;
  background: #e7f1db;
  transform: translate(1px, -1px);
}

.site-header .mega-menu {
  top: 96px;
  background: #f8f7f2;
  border-top: 1px solid #224b3614;
  border-bottom: 1px solid #224b3626;
  padding: 45px max(76px, calc((100vw - 1648px) / 2));
  box-shadow: 0 28px 45px #18362614;
  color: #224b36;
}
.site-header .mega-menu .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e7eedb;
  color: #496936;
  font-size: 10px;
  letter-spacing: .06em;
}
.site-header .mega-menu .eyebrow:before {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  margin: 0;
  border-radius: 50%;
  background: #68982f;
}
.site-header .mega-menu h3 { color: #224b36; }
.site-header .mega-menu .text-link {
  color: #466e30;
  border-color: #a7b99a;
  font-size: 12px;
}
.site-header .mega-menu .menu-links a {
  padding: 20px 12px;
  border-color: #224b3621;
  font-size: 15px;
}
.site-header .mega-menu .menu-links a > span:last-child {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e7eedb;
  color: #537933;
}
.site-header .mega-menu .menu-links a:hover {
  color: #224b36;
  background: #e7eedb;
}
.site-header .mega-menu .menu-links a:hover > span:last-child { background: #d3e2bf; }

.site-footer {
  padding: 92px 76px 0;
  color: #f8f7f2;
  background: #224b36;
  border-top: 5px solid #68982f;
}
.site-footer .footer-top {
  grid-template-columns: 1.2fr 1fr;
  gap: 100px;
  padding-bottom: 90px;
}
.site-footer .footer-statement .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #cad8bd;
  font-size: 11px;
  letter-spacing: .08em;
}
.site-footer .footer-statement .eyebrow:before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  margin: 0;
  background: #cbe6a8;
  border-radius: 50%;
}
.site-footer .footer-statement h2 {
  color: #f8f7f2;
  font-family:var(--sans);
  font-size: 46px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .01em;
  margin: 26px 0 31px;
}
.site-footer .footer-statement .light-button {
  min-width: 198px;
  min-height: 48px;
  padding: 6px 7px 6px 21px;
  border: 1px solid #cbe6a8;
  border-radius: 999px;
  background: #cbe6a8;
  color: #224b36;
  font-size: 13px;
  gap: 25px;
}
.site-footer .footer-statement .light-button > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #224b36;
  color: #f8f7f2;
  font-size: 20px;
}
.site-footer .footer-statement .light-button:hover {
  color: #224b36;
  background: #e7f1db;
  border-color: #e7f1db;
}
.site-footer .footer-links { padding-top: 12px; gap: 58px; }
.site-footer .footer-links h3 {
  margin-bottom: 27px;
  color: #bdcfb0;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .08em;
}
.site-footer .footer-links a,
.site-footer .footer-links > div > span,
.site-footer .footer-contact {
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 14px;
  color: #edf1e6;
}
.site-footer .footer-links > div > span { color: #cbd7c1; }
.site-footer .footer-links a:hover,
.site-footer .footer-contact:hover { color: #cbe6a8; }
.site-footer .footer-contact {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 1px solid #a2bb8966;
}
.site-footer .footer-wordmark {
  align-items: flex-end;
  padding-bottom: 32px;
  border-bottom: 1px solid #cbe6a836;
}
.site-footer .footer-wordmark > span:first-child {
  color: #cbe6a8;
  font-weight: 500;
  font-size: clamp(180px, 23.5vw, 390px);
  letter-spacing: -.07em;
}
.site-footer .footer-wordmark > small {
  color: #d0dcc5;
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: .06em;
  margin-right: 64px;
}
.site-footer .wordmark-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 112px;
  height: 112px;
  border: 1px solid #cbe6a873;
  border-radius: 50%;
  color: #cbe6a8;
  font-size: 77px;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 200;
}
.site-footer .footer-bottom {
  padding: 24px 0 27px;
  color: #c1cfb5;
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: .025em;
}

.back-top {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #fff9;
  border-radius: 50%;
  background: #224b36;
  color: #fff;
  box-shadow: 0 4px 20px #224b361a;
  font-size: 19px;
}
.back-top:hover {
  border-color: #e7eedb;
  background: #68982f;
  color: #fff;
  transform: translateY(-3px);
}
.scroll-progress { height: 3px; background: #68982f; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #68982f;
  outline-offset: 5px;
}
.site-footer a:focus-visible,
.site-footer button:focus-visible,
.back-top:focus-visible { outline-color: #cbe6a8; }

@media (prefers-reduced-motion: reduce) {
  .site-header .main-nav .chevron,
  .site-header .header-contact > span { transition: none; }
  .back-top:hover { transform: none; }
}

/* Let white-backed construction studies sit directly on the page surface. */
.product-photo.is-structure,
.product-photo.is-structure img { background: transparent; }
.product-photo.is-structure img { mix-blend-mode: multiply; }
