header { gap: 18px; }
.nav-experience { display: contents; }
.corporate-view header { border-radius: 20px; background: #f7faffed; border-color: #cedbf0; box-shadow: 0 8px 30px #24426714; }
.corporate-view #main-nav a:not(.nav-cta) { color: #304c78; }
.corporate-view #main-nav .nav-cta { border-radius: 10px; }
.experience-switch {
  --tab-width: 180px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, var(--tab-width));
  flex: 0 0 auto;
  padding: 4px;
  border: 1px solid #dce0e3;
  border-radius: 30px;
  background: #f0f2f4;
  isolation: isolate;
}
.experience-switch::before {
  content: "";
  position: absolute;
  inset: 4px auto 4px 4px;
  width: var(--tab-width);
  border-radius: 24px;
  background: #a75442;
  opacity: 0;
  z-index: -1;
  transition: left .3s cubic-bezier(.2,.7,.2,1), transform .3s cubic-bezier(.2,.7,.2,1), width .3s cubic-bezier(.2,.7,.2,1), background-color .3s ease;
}
.experience-switch[data-active="home"]::before { opacity: 1; }
.experience-switch[data-active="corporate"]::before {
  opacity: 1;
  transform: translateX(var(--tab-width));
  background: #245ddd;
}
.experience-switch a {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 7px 8px;
  border-radius: 24px;
  color: #4e5c6e;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  transition: color .2s ease;
}
.experience-switch[data-active="home"] [data-experience="home"],
.experience-switch[data-active="corporate"] [data-experience="corporate"] { color: #fff; }
.experience-switch a:focus-visible { outline: 2px solid #245ddd; outline-offset: 3px; }
body > header { view-transition-name: evr-experience-header; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 260ms; }
::view-transition-old(root) { animation-timing-function: ease-in; }
::view-transition-new(root) { animation-timing-function: ease-out; }
@media (max-width: 1100px) {
  header { flex-wrap: wrap; }
  .experience-switch { margin-left: auto; }
  #menu-toggle { display: block; border: 0; background: #eef1e9; border-radius: 20px; padding: 9px 13px; color: #526454; font-size: 11px; }
  #main-nav { display: none; width: 100%; max-width: none; flex-direction: column; align-items: stretch; gap: 0; padding-top: 12px; }
  #main-nav.is-open { display: flex; }
  #main-nav a { padding: 12px; border-bottom: 1px solid #e6e9e2; font-size: 13px; }
  #main-nav .nav-cta { margin-top: 8px; text-align: center; }
}
@media (max-width: 700px) {
  header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; padding: 10px 12px; }
  header > .brand-logo-link { grid-column: 1; grid-row: 1; }
  header > .brand { font-size: 22px; letter-spacing: 3px; }
  header > .brand span { font-size: 5px; letter-spacing: 1.8px; margin-top: 7px; }
  .experience-switch { --tab-width: calc((100% - 6px) / 2); grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin: 0; padding: 3px; }
  .experience-switch::before { top: 3px; bottom: 3px; left: 3px; }
  .experience-switch[data-active="corporate"]::before { left: 50%; width: calc(50% - 3px); transform: none; }
  .experience-switch a { min-height: 36px; display: grid; place-items: center; font-family: Georgia, "Times New Roman", serif; font-size: 9px; font-weight: 700; letter-spacing: .15px; line-height: 1.15; padding: 6px 3px; text-align: center; }
  .experience-switch a[data-experience="corporate"] { display: grid; }
  .experience-switch a > span { display: block; width: 100%; }
  #menu-toggle { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; min-height: 44px; padding: 10px 13px; font-size: 11px; }
  #main-nav { grid-column: 1 / -1; grid-row: 3; }
}
@media (max-width: 360px) {
  .experience-switch { --tab-width: calc((100% - 6px) / 2); }
}
@media (prefers-reduced-motion: reduce) {
  .experience-switch::before,
  .experience-switch a { transition: none; }
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none; }
}
