/* ThinkMate header v4 — approved artwork; no generated or replaced branding.
   Only the responsive site header, logo lockup and navigation are changed. */
:root { --tm-head-ivory:#faf7f0; --tm-head-ink:#113c2d; --tm-head-green:#0b3829; --tm-head-orange:#e9782d; }
html,body{max-width:100%;overflow-x:clip}
.site-header{
  position:sticky !important;top:0;z-index:950 !important;
  display:block; width:100%; height:86px !important;
  background:rgba(250,247,240,.98)!important;
  border-bottom:1px solid rgba(9,51,34,.12)!important;
  backdrop-filter:blur(18px);
  box-shadow:0 1px 0 rgba(4,34,24,.03);
}
.site-header.scrolled{height:76px !important;box-shadow:0 12px 38px rgba(6,42,28,.09)}
.site-header .header-content{
  width:min(1360px,calc(100% - 64px))!important;
  margin-inline:auto!important;
  height:100%;display:flex!important;align-items:center!important;
  gap:clamp(12px,1.8vw,28px)!important;
  justify-content:space-between!important;
  min-width:0;position:relative;
}
.site-header .brand{
  position:static!important;left:auto!important;top:auto!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  flex:0 1 auto!important;margin:0 auto 0 0!important;
  min-width:0!important;align-self:center!important;
  line-height:0;transition:opacity .2s ease;overflow:visible!important;padding-right:10px;
}
.site-header .brand:hover{opacity:.83}
.site-header .brand img,
.site-header.scrolled .brand img{
  width:clamp(196px,21vw,252px)!important;
  max-width:100%!important;max-height:64px!important;
  height:auto!important;object-fit:contain!important;object-position:left center!important;
  filter:none!important;display:block!important;
  transform:none!important;
}
.site-header .main-nav{
  display:flex;position:static!important;
  align-items:center;justify-content:flex-end;
  gap:clamp(12px,1.2vw,22px);
  margin:0!important;padding:0!important;flex:0 1 auto;
  width:auto;max-width:none;min-width:0;
  background:transparent!important;box-shadow:none!important;
}
.site-header .main-nav .nav-link{
  color:var(--tm-head-ink)!important;
  font-size:clamp(.80rem,.85vw,.90rem)!important;
  line-height:1.3;font-weight:700!important;white-space:nowrap;
  padding:10px 0;
}
.site-header .main-nav .nav-link:hover,
.site-header .main-nav .nav-link.is-current{color:#b85520!important}
.site-header .main-nav .nav-link:after{background:var(--tm-head-orange)!important;bottom:3px}
.site-header .main-nav .workspace-login-link{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:43px;border-radius:10px;border:1px solid rgba(8,61,38,.21);
  background:#f3f4ea;color:var(--tm-head-ink);font-size:.84rem;font-weight:800;
  padding:9px 15px;line-height:1.2;text-decoration:none;
}
.site-header .main-nav .workspace-login-link:hover,
.site-header .main-nav .workspace-login-link.is-current{
  border-color:#548b65;background:#e6f0df;transform:translateY(-1px);
}
.site-header .main-nav .workspace-login-link svg{width:16px;height:16px}
.site-header .main-nav .nav-cta{display:inline-flex;white-space:nowrap;min-height:44px;
  background:var(--tm-head-green);color:#fff!important;padding:11px 17px;
  border-radius:11px;margin:0!important;font-size:.83rem;box-shadow:none;
}
.site-header .main-nav .nav-cta:hover{background:#15523c;box-shadow:0 8px 25px rgba(12,51,34,.17)}
.site-header .header-tools{display:none;align-items:center;gap:10px;flex:0 0 auto;margin-left:auto}
.site-header .header-quick-login{
  min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px;
  padding:10px 15px;background:var(--tm-head-green);color:#fff;
  border:1px solid var(--tm-head-green);border-radius:12px;
  font-size:.85rem;font-weight:800;white-space:nowrap;line-height:1;
  transition:transform .2s ease,background .2s ease;
}
.site-header .header-quick-login:hover{background:#17553e;transform:translateY(-1px)}
.site-header .header-quick-login svg{height:17px;width:17px}
.site-header .menu-button{
  width:45px;height:44px;min-width:45px;flex:0 0 45px;
  display:none;align-items:center;justify-content:center;
  border:1px solid rgba(9,58,40,.18);background:#fffdf9;
  border-radius:12px;color:var(--tm-head-ink);padding:0;margin:0!important;
  box-shadow:none;cursor:pointer;
}
.site-header .menu-button:focus-visible,.site-header .header-quick-login:focus-visible{
  outline:3px solid var(--tm-head-orange);outline-offset:3px;
}
.site-header .menu-button svg{height:21px;width:21px;display:block}
/* Everything from compact desktop down gets an honest, accessible menu.
   This avoids squeezing the full nav and hiding both Login and the menu. */
@media(max-width:1180px){
 .site-header{height:78px!important}
 .site-header.scrolled{height:72px!important}
 .site-header .header-content{width:calc(100% - 48px)!important;gap:13px!important}
 .site-header .brand{margin-right:auto!important}
 .site-header .brand img,.site-header.scrolled .brand img{width:clamp(182px,25vw,224px)!important;max-height:56px!important}
 .site-header .header-tools{display:flex!important}
 .site-header .menu-button{display:flex!important}
 .site-header .main-nav{
  display:none!important;position:absolute!important;top:calc(100% + 1px)!important;
  left:-24px!important;right:-24px!important;width:auto!important;
  max-height:calc(100dvh - 78px);overflow:auto;
  flex-direction:column!important;align-items:stretch!important;gap:0!important;
  background:#faf7f0!important;padding:12px 24px 22px!important;
  border-bottom:1px solid rgba(16,65,43,.12);
  box-shadow:0 24px 40px rgba(8,42,31,.18)!important;
 }
 .site-header .main-nav.open{display:flex!important;animation:tmNavDown .23s ease-out both}
 .site-header .main-nav a.nav-link{display:block;padding:14px 6px!important;
  border-bottom:1px solid rgba(16,65,43,.13)!important;
  font-size:1rem!important;line-height:1.3;
 }
 .site-header .main-nav .workspace-login-link{margin:12px 0 0!important;min-height:46px;
  justify-content:flex-start;width:100%;padding-inline:14px!important}
 .site-header .main-nav .nav-cta{margin:10px 0 0!important;justify-content:space-between!important;width:100%}
}
@media(max-width:600px){
 .site-header{height:73px!important}
 .site-header.scrolled{height:68px!important}
 .site-header .header-content{width:calc(100% - 30px)!important;gap:9px!important}
 .site-header .brand img,.site-header.scrolled .brand img{width:clamp(152px,44vw,206px)!important;max-height:48px!important}
 .site-header .header-tools{gap:8px!important}
 .site-header .header-quick-login{min-height:40px;padding:9px 12px;font-size:.81rem;border-radius:10px}
 .site-header .menu-button{width:42px;height:42px;min-width:42px;flex-basis:42px;border-radius:10px}
 .site-header .main-nav{left:-15px!important;right:-15px!important;max-height:calc(100dvh - 73px);padding-inline:18px!important}
}
@media(max-width:380px){
 .site-header .brand img,.site-header.scrolled .brand img{width:144px!important;max-height:44px!important}
 .site-header .header-quick-login{padding:9px 10px}
 .site-header .header-tools{gap:6px!important}
}
@keyframes tmNavDown{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.site-header .main-nav.open{animation:none!important}}
