/* Compact white pixel navigation, centred above the page. Keep the supplied
   full-colour logo intact and give the blue ticket button its own stepped edge. */
.site-header {
  --nav-step: 10px;
  --nav-blue: #1c3fa8;
  --nav-ease: cubic-bezier(.23, 1, .32, 1);
  --nav-shell: polygon(var(--nav-step) 0, calc(100% - var(--nav-step)) 0, calc(100% - var(--nav-step)) var(--nav-step), 100% var(--nav-step), 100% calc(100% - var(--nav-step)), calc(100% - var(--nav-step)) calc(100% - var(--nav-step)), calc(100% - var(--nav-step)) 100%, var(--nav-step) 100%, var(--nav-step) calc(100% - var(--nav-step)), 0 calc(100% - var(--nav-step)), 0 var(--nav-step), var(--nav-step) var(--nav-step));
  isolation: isolate;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) 160px;
  align-items: center;
  width: min(820px, calc(100% - 32px));
  min-height: 80px;
  padding: 8px 16px;
  gap: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header::before,
.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  clip-path: var(--nav-shell);
  pointer-events: none;
}
.site-header::after { z-index: -2; transform: translate(0, 3px); background: #00000026; }
.site-header :is(.wordmark, .main-nav, .menu-toggle, .nav-ticket) {
  position: relative;
  isolation: isolate;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.site-header :is(.wordmark, .nav-ticket)::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  clip-path: var(--nav-shell);
  pointer-events: none;
}
.site-header .wordmark {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 64px;
  margin: 0;
  padding: 0 8px;
}
.site-header .nav-wordmark { display: block; width: 145px; max-width: 100%; height: auto; }
.site-header .main-nav {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  position: relative;
  inset: auto;
  align-items: center;
  justify-content: space-evenly;
  min-width: 0;
  min-height: 64px;
  gap: 4px;
  padding: 0;
  margin: 0;
  color: #111;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: 15px;
}
.site-header .main-nav::before,
.site-header .main-nav::after,
.site-header .menu-toggle::before,
.site-header .menu-toggle::after,
.site-header .wordmark::after,
.site-header .nav-ticket::after { content: none; }
.site-header .main-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 0;
  padding: 10px 8px;
  border-radius: 0;
  line-height: 1.25;
  transition: color 160ms ease, background-color 160ms ease;
}
/* These selectors outrank the older shared blue-theme text rules. */
.site-header nav.main-nav,
.site-header nav.main-nav a { color: #111; }
.site-header button.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  color: #111;
  transition: background-color 160ms ease;
}
.menu-lines { position: relative; display: block; width: 18px; height: 16px; }
.menu-lines > span {
  display: block;
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px;
  height: 2px;
  border-radius: 0;
  background: currentColor;
  transition: transform 180ms var(--nav-ease), opacity 120ms ease;
}
.menu-lines > span:first-child { transform: translateY(-5px); }
.menu-lines > span:last-child { transform: translateY(5px); }
.menu-toggle[aria-expanded=true] .menu-lines > span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded=true] .menu-lines > span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded=true] .menu-lines > span:last-child { transform: rotate(-45deg); }
.site-header a.nav-ticket {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin: 0;
  padding: 14px 16px;
  gap: 12px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}
.site-header .nav-ticket::before { background: var(--nav-blue); transition: background-color 160ms ease; }
.site-header .nav-ticket .pixel-motif { display: inline-block; width: 15px; height: 18px; flex: 0 0 15px; }
.site-header :is(a, button):focus-visible { outline: 2px solid #00e5cc; outline-offset: 4px; transition: none; }
.site-header .main-nav a:focus-visible { background: #0a49ba0d; }
.site-header a.nav-ticket.pixel-button:is(:hover, :active):not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]) { transform: none; background: transparent; color: #fff; }
.site-header a.nav-ticket:active::before { background: #142e7c; transition: none; }
.site-header button.menu-toggle:active { background: #0a49ba18; }
@media (hover:hover) and (pointer:fine) {
  .site-header nav.main-nav a:hover { background: #0a49ba0d; color: var(--nav-blue); }
  .site-header button.menu-toggle:hover { background: #0a49ba0d; }
  .site-header a.nav-ticket:hover::before { background: #16358e; }
}
@media (max-width:860px) {
  .site-header { --nav-step: 10px; width: min(720px, calc(100% - 32px)); min-height: 72px; padding: 8px 14px; gap: 10px; grid-template-columns: minmax(0, 1fr) 52px 170px; }
  .site-header .wordmark { min-height: 56px; justify-content: flex-start; padding: 0 8px; }
  .js .site-header button.menu-toggle { display: flex; grid-column: 2; grid-row: 1; }
  .site-header a.nav-ticket { min-height: 56px; padding: 14px 18px; gap: 12px; font-size: 15px; }
  .js .site-header .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px;
    margin: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity 160ms ease, transform 180ms var(--nav-ease), visibility 0s 180ms;
  }
  .js .site-header .main-nav::before { content: ''; position: absolute; inset: 0; z-index: -1; background: #fff; clip-path: var(--nav-shell); pointer-events: none; }
  .js .site-header .main-nav[data-open=true] { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition: opacity 160ms ease, transform 180ms var(--nav-ease), visibility 0s; }
  .site-header .main-nav a { min-height: 48px; padding: 12px; font-size: 15px; }
  .js .site-header .main-nav a + a { border-top: 1px solid #0a49ba14; }
  html:not(.js) .site-header { grid-template-columns: minmax(0, 1fr) 170px; }
  html:not(.js) .site-header a.nav-ticket { grid-column: 2; }
  html:not(.js) .site-header .main-nav { position: relative; inset: auto; grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; min-height: 72px; padding: 12px; margin: 0; }
  html:not(.js) .hero .hero-content { padding-top: 220px; }
}
@media (max-width:600px) {
  .site-header { --nav-step: 8px; width: calc(100% - 24px); min-height: 64px; padding: 6px 10px; gap: 6px; grid-template-columns: minmax(0, 1fr) 128px 44px; }
  .site-header .wordmark { min-height: 52px; justify-content: flex-start; padding: 0 4px 0 0; }
  .site-header .nav-wordmark { width: clamp(98.7px, 30.45vw, 157.5px); }
  .site-header a.nav-ticket { grid-column: 2; min-height: 52px; padding: 12px 10px; gap: 7px; font-size: 13px; }
  .js .site-header button.menu-toggle { grid-column: 3; width: 44px; height: 52px; }
  .site-header .nav-ticket .pixel-motif { width: 12px; height: 15px; flex-basis: 12px; }
  .js .site-header .main-nav { padding: 8px 16px; }
  .site-header .main-nav a { min-height: 44px; padding: 10px; font-size: 14px; }
  html:not(.js) .site-header { grid-template-columns: minmax(0, 1fr) 116px; }
  html:not(.js) .site-header .main-nav { min-height: 88px; padding: 8px 16px; }
}
@media (max-width:360px) {
  .site-header { grid-template-columns: minmax(0, 1fr) 104px 44px; gap: 4px; }
  .site-header .wordmark { padding-inline: 8px; }
  .site-header a.nav-ticket { gap: 5px; font-size: 12px; padding-inline: 8px; }
  html:not(.js) .site-header { grid-template-columns: minmax(0, 1fr) 104px; }
}
.site-header[data-menu-instant=true] :is(.main-nav, .menu-lines > span) { transition: none; }
@media (prefers-reduced-motion:reduce) {
  .site-header :is(.main-nav, .main-nav a, .menu-toggle, .menu-lines > span, .nav-ticket, .nav-ticket::before) { transition: none; }
  .js .site-header .main-nav { transform: none; }
}
