/* Canonical SAID masthead: explicitly isolate flex cross-axis sizing from page-specific styles. Logo top = 20px desktop, 14px mobile. */
:root{--said-header-height:106px}
.said-site-header {
  position:sticky;top:0;z-index:110;width:100%;height:var(--said-header-height);background:#102a31;color:#f4f8f8;
  font-family:Arial,Helvetica,sans-serif;line-height:normal;
}
.said-site-header,.said-site-header *{box-sizing:border-box}
.said-site-header .landing-head {
  display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:flex-start;gap:32px;
  width:min(1320px,100%);height:100%;min-height:0;margin:0 auto;
  padding:20px 48px 18px;
  border-bottom:1px solid transparent;
  transition:border-bottom-color 280ms ease;
  background:transparent;
}
.said-site-header.is-scrolled .landing-head {border-bottom-color:rgba(169,189,192,.21)}
.said-site-header .landing-brand {
  display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
  gap:7px;min-width:0;color:#f4f8f8;text-decoration:none;
}
.said-site-header .landing-logo {
  display:block;width:180px;height:54px;max-height:54px;object-fit:contain;object-position:left center;
}
.said-site-header .landing-brand span {
  display:block;margin:0;color:rgba(169,189,192,.62);
  font-size:10px;font-weight:700;letter-spacing:1.45px;line-height:1.4;text-transform:uppercase;
}
.said-site-header a:focus-visible{outline:2px solid #e7b77a;outline-offset:4px}
body:has(> .said-site-header) .landing-shell{padding-top:0}
body[data-market] .rail {
  top:var(--said-header-height,112px);bottom:0;
}
html{scroll-padding-top:calc(var(--said-header-height,112px) + 12px)}
@media(max-width:850px){
  body[data-market] .rail {top:var(--said-header-height)}
}
@media(max-width:760px){
  :root{--said-header-height:94px}
  .said-site-header .landing-head {
    min-height:0;align-items:flex-start;flex-direction:column;gap:8px;
    padding:14px max(17px,env(safe-area-inset-right)) 12px max(17px,env(safe-area-inset-left));
  }
  .said-site-header .landing-brand{gap:4px}
  .said-site-header .landing-logo{width:148px;height:44px;max-height:44px}
  .said-site-header .landing-brand span{font-size:8px;letter-spacing:1px}
}

/* Compact site-wide market and investment pathways. */
.said-site-header .said-primary-nav{display:flex;align-self:center;align-items:center;gap:12px;margin-left:auto;flex-shrink:0}
.said-site-header .said-primary-nav a{display:inline-flex;align-items:center;min-height:40px;padding:8px 12px;border:1px solid rgba(169,189,192,.28);border-radius:4px;color:#d6e6e4;text-decoration:none;font-size:11px;font-weight:700;letter-spacing:.015em;line-height:1.35;white-space:nowrap;transition:color .18s ease,border-color .18s ease,background .18s ease}
.said-site-header .said-primary-nav a:hover,.said-site-header .said-primary-nav a:focus-visible{color:#102a31;background:#a5e0d1;border-color:#a5e0d1}
@media(max-width:760px){.said-site-header .landing-head{flex-direction:row;align-items:center;gap:9px}.said-site-header .landing-brand{flex:0 1 142px}.said-site-header .landing-logo{width:100%;max-width:140px}.said-site-header .said-primary-nav{flex-direction:column;align-items:flex-end;gap:3px;min-width:0}.said-site-header .said-primary-nav a{min-height:30px;padding:4px 6px;font-size:10px;white-space:normal;text-align:right}}
@media(max-width:360px){.said-site-header .landing-brand{flex-basis:116px}.said-site-header .said-primary-nav a{font-size:9px;padding:4px}}

/* Portfolio motion standard: analytical cross-document navigation. */
@view-transition {
  navigation: auto;
}
.said-site-header .landing-brand {
  view-transition-name: said-logo;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 180ms;
  animation-timing-function: ease-out;
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root),
  ::view-transition-old(said-logo),
  ::view-transition-new(said-logo) {
    animation-duration: 0.01ms !important;
  }
}
