.brand-ribbon {
  --brand-span: max(680px, 100vw);
  display: flex;
  align-items: stretch;
  min-width: 0;
  background: #fbfbf6;
  border-bottom: 1px solid #d9e1d2;
  color: #18382b;
}

.brand-ribbon-window { flex: 1; min-width: 0; overflow: auto; }
.brand-ribbon-track { display: flex; width: max-content; }
.brand-ribbon-list {
  display: flex;
  flex: 0 0 auto;
  justify-content: space-around;
  width: var(--brand-span);
  padding: 0;
  margin: 0;
  list-style: none;
}
.brand-ribbon-list li { flex: 1; min-width: 0; }
.brand-ribbon-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: clamp(68px, 7vw, 92px);
  padding: 12px 16px;
  color: inherit;
  font-size: .9375rem;
  font-weight: 800;
}
.brand-ribbon-list a:is(:hover, :focus-visible) { background: #eaf0df; }
.brand-ribbon-list a:focus-visible { outline: 2px solid #426d38; outline-offset: -4px; }
.brand-ribbon-list img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 176px);
  max-height: 38px;
  object-fit: contain;
}
.brand-ribbon-list img.brand-ribbon-mark { width: 40px; max-height: 32px; }
.brand-ribbon-list .brand-ribbon-razor { filter: brightness(0); }
.brand-ribbon-toggle {
  flex: 0 0 46px;
  align-self: center;
  min-height: 44px;
  margin-inline: 4px;
  border: 0;
  border-radius: 6px;
  background: #eaf0df;
  color: #18382b;
  cursor: pointer;
}
.brand-ribbon-toggle[hidden] { display: none; }
.brand-ribbon-toggle:focus-visible { outline: 2px solid #426d38; outline-offset: 2px; }

.brand-ribbon.is-animated .brand-ribbon-window { overflow: hidden; }
.brand-ribbon.is-animated .brand-ribbon-track { animation: brand-ribbon-drift 32s linear infinite; }
.brand-ribbon.is-paused .brand-ribbon-track { animation-play-state: paused; }
.brand-ribbon:has(.brand-ribbon-list a:focus-visible) .brand-ribbon-window { overflow: auto; }
.brand-ribbon:has(.brand-ribbon-list a:focus-visible) .brand-ribbon-track { animation: none; }
.brand-ribbon:has(.brand-ribbon-list a:focus-visible) .brand-ribbon-list[aria-hidden] { display: none; }
@media (hover: hover) {
  .brand-ribbon-window:hover .brand-ribbon-track { animation-play-state: paused; }
}
@keyframes brand-ribbon-drift { to { transform: translateX(-50%); } }
@media (max-width: 700px) {
  .brand-ribbon.is-animated .brand-ribbon-track { animation-duration: 24s; }
  .brand-ribbon-toggle { flex-basis: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-ribbon.is-animated .brand-ribbon-track { width: 100%; animation: none; }
  .brand-ribbon-list { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); width: 100%; }
  .brand-ribbon-list[aria-hidden], .brand-ribbon .brand-ribbon-toggle { display: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 650px) {
  .brand-ribbon-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

.company-facts {
  position: relative;
  isolation: isolate;
  padding: clamp(48px, 7.5vw, 116px) var(--ag-gutter);
  color: #f8f9ee;
  background: #183326;
}
.company-facts-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  opacity: .14;
}
.company-facts-inner { max-width: 1440px; margin-inline: auto; }
.company-facts h2 {
  margin: 0 0 16px;
  color: inherit;
  font-size: clamp(1.75rem, 3.6vw, 3.5rem);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.company-intro {
  max-width: 64ch;
  margin: 0 0 clamp(28px, 4vw, 56px);
  color: #e0e9d5;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.65;
}
.company-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 56px);
  margin: 0;
}
.company-facts-grid > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 18px;
  border-top: 2px solid #c2db88;
}
.company-facts-grid dt { color: #f6fae8; font-size: clamp(1.125rem, 1.8vw, 1.625rem); font-weight: 800; }
.company-facts-grid dd {
  margin: 0;
  color: #e0e9d5;
  font-size: 1rem;
  line-height: 1.55;
}

.home-page #contact .contact-inner { align-items: stretch; }
.contact-call {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  max-width: 560px;
  padding: clamp(12px, 2vw, 20px);
  border: 1px solid #bad18a66;
  border-radius: 8px;
  background: #122820;
  color: #fbfff0;
  text-decoration: none;
  transition: background-color .18s, border-color .18s;
}
.contact-call:is(:hover, :focus-visible) { background: #234536; border-color: #d4e99a; }
.contact-call-icon {
  display: grid;
  place-items: center;
  width: clamp(40px, 5vw, 60px);
  aspect-ratio: 1;
  border-radius: 7px;
  background: #dceba7;
  color: #172c21;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}
.contact-call-copy { display: grid; gap: 4px; }
.contact-call-copy small { color: #d7e2cb; font-size: .875rem; }
.contact-call-copy strong { font-size: clamp(1.125rem, 3.15vw, 3rem); line-height: 1; letter-spacing: -.045em; white-space: nowrap; }
.contact-call-arrow { color: #dceba7; font-size: 1.2rem; }

.home-page #contact .contact-map {
  display: grid;
  grid-template-rows: minmax(340px, 1fr) auto;
  align-items: stretch;
  min-height: 0;
  padding: 0;
  background: #f8faee;
}
.contact-map-widget { display: block; width: 100%; height: 100%; border: 0; }
.home-page #contact .contact-map-address {
  gap: 7px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 16px clamp(16px, 2.4vw, 32px) 20px;
  border: 0;
  border-top: 1px solid #dce5ca;
  border-radius: 0;
  background: #f8faee;
  color: #1a3628;
}
.contact-map-address > span, .contact-map-address address { color: #425a48; font-size: .875rem; }
.home-page #contact .contact-map-address p { margin: 4px 0 0; color: #425a48; font-size: .8125rem; line-height: 1.45; }
.contact-map-address .contact-route {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 6px;
  background: #204634;
  color: #fbfff1;
  font-weight: 700;
  text-decoration: none;
}
.contact-map-address .contact-route:is(:hover, :focus-visible) { background: #346448; }
@media (max-width: 820px) {
  .home-page #contact .contact-map { grid-template-rows: clamp(260px, 70vw, 390px) auto; }
}
@media (max-width: 700px) {
  .company-facts-grid { grid-template-columns: 1fr; gap: 20px; }
  .contact-call-copy strong { font-size: clamp(1.15rem, 5.5vw, 2rem); }
}

.contact-map-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #183228;
}
.contact-map-visual > img,
.contact-map-live {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.contact-map-visual > img { object-fit: cover; }
.contact-map-live { z-index: 2; background: #f8faee; }
.contact-map-live[hidden], .contact-map-toggle[hidden] { display: none; }
.contact-map-toggle {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #8aa48c;
  border-radius: 6px;
  background: #f8faee;
  color: #204634;
  cursor: pointer;
}
.contact-map-toggle:is(:hover,:focus-visible) { background: #e5efdc; }
@media (max-width: 820px) {
  .home-page #contact .contact-map { grid-template-rows: clamp(192px, 52vw, 315px) auto; }
}
