/* POLYMATH-SHARED-HEADER-2026-V1: homepage visual, interior navigation */
.ps-sh-header, .ps-sh-header * {box-sizing:border-box}
.ps-sh-header {
  position:relative; flex:0 0 112px; display:block;
  width:100%; height:112px; min-height:112px; max-height:112px;
  margin:0; padding:0; overflow:hidden; isolation:isolate;
  background:#031725; color:#f5f0e7; border:0;
  font-family:Arial,Helvetica,sans-serif; z-index:100;
}
.ps-sh-header .ps-sh-inner {
  width:calc(100% - 24px); height:100%; margin:0 auto;
  position:relative; display:flex; justify-content:center; align-items:stretch;
}
.ps-sh-header .ps-sh-portrait {
  position:absolute; top:0; bottom:0; height:100%; width:clamp(115px,13vw,150px);
  background-repeat:no-repeat; background-size:cover, auto 100%;
  pointer-events:none; z-index:1;
}
.ps-sh-header .ps-sh-leonardo {
  left:0; background-image:linear-gradient(90deg,rgba(3,23,37,0),#031725 100%),url('/assets/leonardo-hero.jpg');
  background-position:center,left center;
}
.ps-sh-header .ps-sh-tesla {
  right:0; background-image:linear-gradient(270deg,rgba(3,23,37,0),#031725 100%),url('/assets/tesla-hero.jpg');
  background-position:center,right center;
}
.ps-sh-header .ps-sh-center {
  position:relative; z-index:2; flex:0 1 700px; min-width:0;
  display:flex; flex-direction:column; align-items:center;
  justify-content:flex-start; padding:5px 10px 4px; text-align:center;
}
.ps-sh-header .ps-sh-brand {
  color:#f5f0e7; text-decoration:none; white-space:nowrap;
  font:400 clamp(19px,2.1vw,26px)/1.05 Georgia,'Times New Roman',serif;
  letter-spacing:.12em;
}
.ps-sh-header .ps-sh-subtitle {
  color:#bbd7e2; letter-spacing:.10em; white-space:nowrap;
  font:400 10px/1.1 Arial,sans-serif; margin-top:1px;
}
.ps-sh-header .ps-sh-search {
  appearance:none; display:flex; align-items:center; justify-content:center;
  width:110px; height:28px; min-height:28px; flex:0 0 28px;
  margin:9px auto 0; padding:0 12px; color:#061827;
  border:2px solid #23d8ee; border-radius:22px;
  background:#fff; font:700 11px Arial,sans-serif; cursor:pointer;
}
.ps-sh-header .ps-sh-search:hover,.ps-sh-header .ps-sh-search:focus-visible {outline:2px solid #ffd773; outline-offset:2px}
.ps-sh-header .ps-sh-motto {
  font:italic 13px/1.15 Georgia,'Times New Roman',serif;
  color:#e8dfca; white-space:nowrap; margin:12px 0 0; padding:0;
}
.ps-sh-header .ps-sh-motto span {color:#d7b46c}
.ps-sh-header .ps-sh-nav {
  position:absolute; top:8px; right:clamp(135px,14vw,165px);
  z-index:4; display:flex; align-items:center; gap:20px;
}
.ps-sh-header .ps-sh-nav a {
  text-transform:uppercase; text-decoration:none; white-space:nowrap;
  font:400 11px/1 Arial,sans-serif; letter-spacing:.08em;
  color:#dbe8ee; text-shadow:0 1px 5px #031321;
}
.ps-sh-header .ps-sh-nav a:hover,.ps-sh-header .ps-sh-nav a:focus-visible {color:#23d8ee}
/* Retain original search-overlay launcher but do not display a second Search button. */
body:has(.ps-sh-header) #polymath-search-launch {display:none!important}
@media(max-width:900px) {
  .ps-sh-header .ps-sh-nav {right:115px;gap:10px}
  .ps-sh-header .ps-sh-nav a {font-size:9px;letter-spacing:.04em}
  .ps-sh-header .ps-sh-brand {font-size:20px;letter-spacing:.05em}
  .ps-sh-header .ps-sh-portrait {width:110px}
}
@media(max-width:680px) {
  .ps-sh-header {height:118px;min-height:118px;max-height:118px;flex-basis:118px}
  .ps-sh-header .ps-sh-portrait {width:65px;opacity:.8}
  .ps-sh-header .ps-sh-brand {font-size:15px;letter-spacing:.04em}
  .ps-sh-header .ps-sh-nav {top:auto;bottom:4px;left:0;right:0;justify-content:center;gap:16px}
  .ps-sh-header .ps-sh-motto {font-size:11px;margin-top:8px}
  .ps-sh-header .ps-sh-center {padding-top:8px}
  .ps-sh-header .ps-sh-search {margin-top:7px}
}
