/* Shared quick-action bar for every website page. */
.utility-strip {
  border-bottom: 1px solid rgba(168, 135, 69, .28);
  background: linear-gradient(90deg, #fffdf8, #fff 52%, #faf6ec);
}

.utility-actions {
  width: min(1320px, calc(100% - 3rem));
  min-height: 62px;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  margin: auto;
}

.utility-actions a {
  min-width: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  border-left: 1px solid rgba(168, 135, 69, .2);
  color: #3e4246;
  font-size: max(.72rem, 11.5px);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .18s ease, background .18s ease;
}

.utility-actions a:last-child {
  border-right: 1px solid rgba(168, 135, 69, .2);
}

.utility-actions a:hover,
.utility-actions a:focus-visible {
  color: #806126;
  background: rgba(214, 189, 128, .13);
  outline: 0;
}

.utility-icon {
  position: relative;
  width: 24px;
  height: 23px;
  display: block;
  color: #9a7638;
}


.utility-icon,.utility-icon-submit,.utility-icon-verify,.utility-icon-account{width:28px;height:26px;margin-top:0;box-sizing:border-box;border:0;border-radius:0;background:currentColor;clip-path:none}
.utility-icon-submit{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 26'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 1.5h22v23H3zM3 7h22'/%3E%3Ccircle cx='14' cy='15.5' r='4.5'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 26'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 1.5h22v23H3zM3 7h22'/%3E%3Ccircle cx='14' cy='15.5' r='4.5'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
.utility-icon-verify{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 26'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 1.5h14L24.5 5v16L21 24.5H7L3.5 21V5z'/%3E%3Cpath d='M8.8 13.5l3.2 3.3 7-7.3'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 26'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 1.5h14L24.5 5v16L21 24.5H7L3.5 21V5z'/%3E%3Cpath d='M8.8 13.5l3.2 3.3 7-7.3'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
.utility-icon-account{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 26'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='14' cy='6' r='4'/%3E%3Cpath d='M5 24v-4.2c0-5.1 4-8.2 9-8.2s9 3.1 9 8.2V24'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 26'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='14' cy='6' r='4'/%3E%3Cpath d='M5 24v-4.2c0-5.1 4-8.2 9-8.2s9 3.1 9 8.2V24'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
.utility-icon-submit::before,.utility-icon-submit::after,.utility-icon-verify::before,.utility-icon-verify::after,.utility-icon-account::before,.utility-icon-account::after{content:none;display:none}
.utility-strip,.mobile-navigation-actions{border-color:rgba(73,50,10,.28);background:linear-gradient(135deg,#d7bd7d,#9b7432)}
.utility-actions a{border-color:rgba(73,50,10,.28);color:#fff}
.utility-actions a:last-child{border-color:rgba(73,50,10,.28)}
.utility-actions a:hover,.utility-actions a:focus-visible{background:rgba(70,47,9,.18);color:#fff}
.utility-actions .utility-icon{color:#fff}
.utility-actions a { text-decoration:none; font-family:"Montserrat",Arial,sans-serif; }
.utility-actions a:focus-visible { outline:2px solid #fff; outline-offset:-4px; }
@media(max-width:640px) { .utility-actions { width:100%; } .utility-actions a { min-width:0; flex:1 1 0; min-height:58px; font-size:max(.68rem,11px); } }

/* Keep quick-action labels readable after clicking, focusing, or visiting. */
.utility-actions > a:is(:link,:visited,:hover,:focus,:active),
.mobile-navigation-actions > a:is(:link,:visited,:hover,:focus,:active),
.utility-actions > a > span,
.mobile-navigation-actions > a > span { color:#fff !important; }

/* Use one readable size for the main navigation, including Research. */
.primary-navigation > a,
.primary-navigation > .services-menu > summary {
 font-size:16px; font-weight:600; line-height:1.3; letter-spacing:.04em;
}

/* Keep the hover rule beneath the larger navigation labels. */
.primary-navigation > a::after { bottom:4px; }
@media(max-width:1180px) {
 .primary-bar { grid-template-columns:minmax(0,1fr) auto; }
 .primary-bar > .mobile-menu { grid-column:2; justify-self:end; }
}
/* The menu uses the same wordmark typography as the main header. */
.mobile-navigation-brand .criterion-wordmark { flex:0 0 12.2rem; width:12.2rem; }
.mobile-navigation-brand .criterion-name { display:grid; grid-template-columns:repeat(9,minmax(0,1fr)); align-items:center; white-space:nowrap; width:100%; font:500 1.18rem/1 "Bodoni Moda","Times New Roman",serif; letter-spacing:0!important; }
.mobile-navigation-brand .criterion-tagline { display:flex; justify-content:space-between; width:100%; margin-top:.42rem; color:#8a6500; font-size:.62rem!important; font-weight:700; letter-spacing:.015em!important; }
@media(max-width:640px) {
 .mobile-navigation-brand .criterion-wordmark { flex-basis:9.55rem; width:9.55rem; }
 .mobile-navigation-brand .criterion-name { font-size:.95rem; }
 .mobile-navigation-brand .criterion-tagline { margin-top:.34rem; font-size:.48rem!important; }
}

@media(min-width:1181px) {
 .primary-bar { grid-template-columns:auto minmax(0,1fr); }
 .primary-bar > .primary-navigation { justify-content:flex-end; justify-self:end; }
}

/* Match the standalone verification header to the main website. */
.primary-navigation { align-items:center; }
.primary-navigation > a,
.primary-navigation > .services-menu > summary {
 display:flex; align-items:center; box-sizing:border-box;
 min-height:48px; padding:0!important; margin:0; line-height:1.3;
}
.primary-navigation > a::after,
.primary-navigation > .services-menu > summary::after { bottom:4px; }

/* Shared header geometry across the main site and standalone verifier. */
.primary-bar { gap:clamp(1.5rem,3vw,3rem); }
.primary-bar > .brand { display:flex; align-items:center; gap:.9rem; }
.primary-navigation { gap:clamp(.9rem,1.65vw,1.65rem); }
@media(max-width:640px) {
 .primary-bar { width:calc(100% - 2rem); min-height:82px; gap:.7rem; }
 .primary-bar > .brand img { width:42px; height:42px; }
}

/* Official Criterion lockup, approved September 17, 2026.
   Shared by the main site, standalone Verify, Security, and mobile menus. */
/* On mobile, preserve the original gold bar above the open navigation. */
@media(max-width:1180px) {
 html { scrollbar-gutter:stable; }
 html:has(.mobile-menu.is-open) .site-header > .utility-strip,
 html:has(.mobile-menu[open]) .site-header > .utility-strip {
  position:fixed;
  top:0;
  right:0;
  left:0;
  z-index:103;
 }
 .mobile-menu nav.mobile-navigation-panel {
  inset:63px 0 0!important;
  height:calc(100vh - 63px)!important;
  height:calc(100dvh - 63px)!important;
  z-index:101!important;
 }
 .mobile-menu.is-open > .mobile-menu-button,
 .mobile-menu[open] > summary {
  top:87px!important;
  z-index:104!important;
 }
 .mobile-navigation-panel .mobile-navigation-actions {
  display:none!important;
 }
 .mobile-navigation-topbar {
  box-sizing:border-box;
  min-height:92px;
  height:92px;
  padding:20px 6.5rem 19px 24px;
 }
}
@media(max-width:640px) {
 .mobile-menu.is-open > .mobile-menu-button,
 .mobile-menu[open] > summary { top:81px!important; }
 .mobile-navigation-topbar {
  min-height:82px;
  height:82px;
  padding:20px 5rem 19px 16px;
 }
}

:is(.brand, .footer-mark, .mobile-navigation-brand) {
 display:flex!important;
 align-items:center!important;
 gap:.4rem!important;
}
:is(.brand, .footer-mark, .mobile-navigation-brand) > img {
 width:52px!important;
 height:52px!important;
 flex:0 0 52px;
 object-fit:contain;
 filter:none!important;
}
:is(.brand, .footer-mark, .mobile-navigation-brand) .criterion-wordmark {
 display:block!important;
 flex:0 0 10.4rem!important;
 width:10.4rem!important;
 transform:translateY(.1rem);
}
:is(.brand, .footer-mark, .mobile-navigation-brand) .criterion-name {
 display:flex!important;
 justify-content:space-between!important;
 align-items:center;
 width:100%!important;
 margin:0!important;
 color:var(--ink, #181b1e);
 font:600 1.18rem/1 "Bodoni Moda","Times New Roman",serif!important;
 letter-spacing:0!important;
 white-space:nowrap;
}
:is(.brand, .footer-mark, .mobile-navigation-brand) .criterion-tagline {
 display:flex!important;
 justify-content:space-between!important;
 width:100%!important;
 gap:0!important;
 margin:0!important;
 color:#8a6500;
 font-family:"DM Sans",Arial,sans-serif!important;
 font-size:.62rem!important;
 font-weight:700!important;
 line-height:1.1!important;
 letter-spacing:0!important;
 text-transform:uppercase;
 white-space:nowrap;
}
html[data-contrast="on"] :is(.brand, .footer-mark, .mobile-navigation-brand) .criterion-tagline {
 color:#5e4000;
}
@media(max-width:640px) {
 :is(.brand, .footer-mark, .mobile-navigation-brand) > img {
  width:42px!important;
  height:42px!important;
  flex-basis:42px;
 }
 :is(.brand, .footer-mark, .mobile-navigation-brand) .criterion-wordmark {
  flex-basis:8.37rem!important;
  width:8.37rem!important;
  transform:translateY(.08rem);
 }
 :is(.brand, .footer-mark, .mobile-navigation-brand) .criterion-name {
  font-size:.95rem!important;
 }
 :is(.brand, .footer-mark, .mobile-navigation-brand) .criterion-tagline {
  gap:0!important;
  font-size:.5rem!important;
 }
}

/* The footer lockup is intentionally larger than the compact header lockups. */
.site-footer .footer-mark > img {
 width:96px!important;
 height:96px!important;
 flex-basis:96px;
}
.site-footer .footer-mark .criterion-wordmark {
 flex-basis:15.75rem!important;
 width:15.75rem!important;
}
.site-footer .footer-mark .criterion-name {
 font-size:1.52rem!important;
}
.site-footer .footer-mark .criterion-tagline {
 font-size:.92rem!important;
}
@media(max-width:640px) {
 .site-footer .footer-mark > img {
  width:78px!important;
  height:78px!important;
  flex-basis:78px;
 }
 .site-footer .footer-mark .criterion-wordmark {
  flex-basis:12.5rem!important;
  width:12.5rem!important;
 }
 .site-footer .footer-mark .criterion-name {
  font-size:1.14rem!important;
 }
 .site-footer .footer-mark .criterion-tagline {
  font-size:.72rem!important;
 }
}
