/* TechX site navigation and TechCheck editorial guide links — v1. */
/* Shared menu styling for Home, team, case studies and Inside TechCheck. */
.primary-nav>a.nav-techdd{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
  color:#d4ecd0;
  font-weight:600;
  transition:color .2s ease;
}
.primary-nav>a.nav-techdd::before{
  content:"";
  width:6px;
  height:6px;
  flex:0 0 6px;
  border-radius:50%;
  background:#9bd49e;
  box-shadow:0 0 0 4px #9bd49e26;
}
.primary-nav>a.nav-techdd:hover{color:#fff}
.primary-nav>a.nav-techdd[aria-current="page"]{
  color:#c2e2bb;
  text-decoration:underline;
  text-underline-offset:8px;
}
@media(min-width:701px) and (max-width:1000px){
 .primary-nav{gap:16px;font-size:12px}
 .primary-nav .nav-contact{padding:10px 12px}
}
@media(max-width:700px){
 /* Existing nth-child selectors hide the second menu item: restore Tech DD. */
 .primary-nav>a.nav-techdd{display:inline-flex}
 /* Keep selected work inside the mobile menu, not the narrow desktop header. */
 .primary-nav>a[href="#selected-work"],.primary-nav>a[href="/#selected-work"]{display:none}
}
@media(min-width:481px) and (max-width:590px){
 .primary-nav{gap:11px;font-size:11px}
 .primary-nav .nav-contact{padding:8px 9px}
 .primary-nav .nav-contact img.home-link-icon{width:16px;height:16px;min-width:16px;flex-basis:16px}
}
@media(max-width:480px){
 .js .primary-nav[data-open="true"]>a.nav-techdd{display:flex}
 .js .primary-nav[data-open="true"]>a[href="#selected-work"],
 .js .primary-nav[data-open="true"]>a[href="/#selected-work"],
 .js .primary-nav[data-open="true"]>a[href="/team"]{display:block}
 /* Keep a readable, stacked menu even without scripting. */
 html:not(.js) .header-inner{flex-wrap:wrap}
 html:not(.js) .primary-nav{width:100%;flex-wrap:wrap;justify-content:flex-start;gap:8px 13px}
 html:not(.js) .primary-nav>a.nav-techdd{display:inline-flex}
}

/* TechCheck: its explainer is now an intentional call-to-explore, not muted metadata. */
.sv2 #techcheck a.sv-techcheck-guide{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:11px;
  flex:0 1 auto;
  min-height:44px;
  padding:7px 8px 7px 15px;
  border:1px solid #a9daa88f;
  border-radius:50px;
  background:linear-gradient(115deg,#b5e2af22,#2649362b);
  color:#e5f5de;
  font:600 11px/1.35 Arial,Helvetica,sans-serif;
  letter-spacing:.015em;
  text-transform:none;
  text-decoration:none;
  white-space:nowrap;
  transition:background .22s,border-color .22s,box-shadow .22s,transform .22s;
}
.sv2 #techcheck .sv-guide-icon{
  width:28px;height:28px;flex:0 0 28px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#bde2b6;color:#0c2718;
  font:600 20px/1 Arial,Helvetica,sans-serif;
  transition:transform .22s,background .22s;
}
.sv2 #techcheck a.sv-techcheck-guide:hover{
  border-color:#e1ffd5;
  background:linear-gradient(115deg,#b5e2af47,#2748398c);
  box-shadow:0 0 0 1px #8cce8950,0 8px 26px #06140e66;
  transform:translateY(-2px);
}
.sv2 #techcheck a.sv-techcheck-guide:hover .sv-guide-icon{
  transform:translate(2px,-2px);
  background:#e3f8da;
}
.sv2 #techcheck a.sv-techcheck-guide:focus-visible{outline:3px solid #c6e8bc;outline-offset:4px}
@media(max-width:700px){
 .sv2 #techcheck .sv-footer{flex-wrap:wrap;gap:10px 13px}
 .sv2 #techcheck .sv-techcheck-guide{min-height:43px}
}
@media(max-width:360px){
 .sv2 #techcheck .sv-footer{gap:8px}
 .sv2 #techcheck a.sv-techcheck-guide{width:100%;flex:1 1 100%}
 .sv2 #techcheck .sv-cta{width:100%;justify-content:space-between}
}
@media(prefers-reduced-motion:reduce){
 .sv2 #techcheck a.sv-techcheck-guide,.sv2 #techcheck .sv-guide-icon{transition:none!important;transform:none!important}
}
