/* Stage 2: site navigation and footer. */
.taec-header { background: #fff; }
.taec-bar { max-width: 1320px; min-height: 88px; padding: 18px 40px; gap: 24px; }
.taec-header .taec-menu { gap: clamp(14px, 1.7vw, 26px); }
.taec-header .taec-menu a { font-size: 13px; line-height: 1.5; padding-block: 13px; }
.taec-header .taec-menu>li>a::after { bottom: 6px; border-radius: 2px; }
.taec-header .sub-menu { border-radius: 0 0 12px 12px; }
.taec-nav-label,.taec-header .taec-nav-cta { display: none; }
.taec-header .taec-mobile { border-radius: 10px; min-width: 94px; height: 46px; padding: 10px 14px; }
.taec-menu-line { transform-origin: center; transition: transform .2s,opacity .2s; }
.taec-mobile[aria-expanded=true] .taec-menu-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.taec-mobile[aria-expanded=true] .taec-menu-line:nth-child(2) { opacity: 0; }
.taec-mobile[aria-expanded=true] .taec-menu-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.taec-footer { padding: 64px 40px 24px; background: #061d2e; }
.taec-footer-inner { max-width: 1240px; grid-template-columns: 1.15fr .9fr 1fr 1.25fr; gap: 40px; }
.taec-footer-inner>* { min-width: 0; }
.taec-footer .taec-footer-logo { width: 142px; margin-bottom: 24px; }
.taec-footer h2 { font: 650 14px/1.4 var(--taec-font-heading); margin-bottom: 20px; }
.taec-footer p,.taec-footer a,.taec-footer address { font-size: 13px; line-height: 1.75; }
.taec-footer a { padding-block: 6px; width: fit-content; max-width: 100%; text-decoration: none; }
.taec-footer address { font-style: normal; margin: 12px 0; color: #c2d0dc; overflow-wrap: anywhere; }
.taec-footer-contact a { overflow-wrap: anywhere; }
.taec-footer .taec-footer-all { color: #fff; font-weight: 600; margin-top: 10px; }
.taec-footer .taec-social { margin-top: 24px; }
.taec-footer .taec-social a { border: 1px solid #416075; border-radius: 999px; padding: 9px 16px; min-height: 44px; color: #fff; gap: 16px; }
.taec-footer-bottom { max-width: 1240px; margin-top: 44px; padding-top: 22px; align-items: center; font-size: 11px; color: #a5b9c8; }
.taec-footer-bottom a { font-size: 12px; min-height: 44px; display: inline-flex; align-items: center; }
.taec-footer a:focus-visible { outline-color: #73c9ff; }
@media (hover:hover) and (pointer:fine) {
  body .taec-footer a:hover { color: #ffac70; text-decoration: underline; text-underline-offset: 5px; }
  .taec-footer .taec-social a:hover { border-color: #ffac70; text-decoration: none; }
}
@media (max-width:1150px) and (min-width:1025px) {
  .taec-bar { padding-inline: 24px; gap: 18px; }
  .taec-header .taec-menu { gap: 14px; }
  .taec-header .taec-menu a { font-size: 12px; }
  .taec-header .taec-cta { font-size: 11px; padding-inline: 12px; }
}
@media (max-width:1024px) {
  .taec-bar { min-height: 80px; padding: 16px 28px; gap: 20px; }
  .taec-header .taec-menu { display: block; }
  .taec-bar>nav { padding: 24px 28px 28px; max-height: calc(100dvh - 112px); overscroll-behavior: contain; border-radius: 0 0 18px 18px; box-shadow: 0 20px 35px #071f3526; }
  .taec-header .taec-menu a { font-size: 16px; padding-block: 14px; }
  .taec-header .taec-menu .sub-menu a { font-size: 14px; }
  .taec-nav-label { display: block; font: 650 11px/1.5 var(--taec-font-body); color: var(--taec-muted); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
  .taec-header .taec-nav-cta { display: flex; width: 100%; margin-top: 22px; margin-left: 0; font-size: 14px; }
  .taec-header:not(.taec-menu-ready) .taec-bar>nav { display: block; position: static; max-height: none; box-shadow: none; width: 100%; order: 3; }
  .taec-header:not(.taec-menu-ready) .taec-bar { flex-wrap: wrap; }
  .taec-header:not(.taec-menu-ready) .taec-mobile { display: none; }
  .taec-footer { padding: 52px 28px 24px; }
  .taec-footer-inner { grid-template-columns: 1fr 1fr; gap: 36px 48px; }
  .taec-footer-contact,.taec-footer-brand { grid-column: auto; }
}
@media (max-width:782px) { .admin-bar .taec-header { top: 46px; } }
@media (max-width:767px) {
  .taec-bar { min-height: 76px; padding: 14px 22px; gap: 16px; }
  .taec-header .custom-logo-link { flex-basis: 112px; }
  .taec-header .custom-logo { width: 112px; }
  .taec-header .taec-mobile { margin-left: auto; }
  .taec-bar>nav { padding: 20px 22px 24px; max-height: calc(100dvh - 122px); }
  .taec-footer { padding: 44px 22px 22px; }
  .taec-footer-inner { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .taec-footer-brand,.taec-footer-contact { grid-column: 1/-1; }
  .taec-footer p { max-width: 34ch; }
  .taec-footer h2 { font-size: 14px; margin-bottom: 14px; }
  .taec-footer a { min-height: 44px; display: flex; align-items: center; }
  .taec-footer .taec-footer-logo { width: 128px; margin-bottom: 20px; }
  .taec-footer-bottom { margin-top: 30px; align-items: flex-start; gap: 8px; }
}
@media (max-width:360px) { .taec-footer-inner { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion:reduce) { .taec-menu-line { transition: none; } }
/* WordPress admin bar scrolls away below 600px; keep the header at the viewport edge. */
@media (max-width:600px) { .admin-bar .taec-header { top: 0; } }
