/* Homepage navigation, scoped to the shared header. */
body.menu-open { overflow: hidden; }
.site-header {
  position: sticky; top: 0; z-index: 50; width: 100%; margin: 0; padding: 0;
  border-bottom: 1px solid #eeeef0; background: #fffffffa; backdrop-filter: blur(16px);
}
.site-header .nav { width: min(1120px, calc(100% - 80px)); min-height: 80px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header a { color: inherit; text-decoration: none; }
.site-header .brand { display: flex; align-items: center; flex-shrink: 0; }
.site-header .header-logo { display: block; width: 268px; max-width: 100%; height: auto; aspect-ratio: 65 / 16; object-fit: contain; }
.site-header .menu { display: flex; align-items: center; gap: 18px; color: #222; font-size: 12px; font-weight: 700; }
.site-header .menu > a, .site-header .staff-login-toggle { min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; padding: 10px 0; }
.site-header .menu a:hover, .site-header .staff-login-toggle:hover { color: #e31b23; }
.site-header .menu a[aria-current="page"] { color: #e31b23; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.site-header .staff-login { position: relative; }
.site-header .staff-login-toggle { gap: 6px; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.site-header .staff-login-chevron { font-size: .7em; transition: transform 180ms ease; }
body.staff-login-open .site-header .staff-login-chevron { transform: rotate(180deg); }
.site-header .staff-login-panel { position: absolute; top: calc(100% + 12px); right: -24px; z-index: 80; width: min(378px, calc(100vw - 40px)); display: none; padding: 18px; gap: 14px; border: 1px solid #e9e9ec; border-radius: 8px; background: #fff; box-shadow: 0 18px 50px #2222221f; }
body.staff-login-open .site-header .staff-login-panel { display: grid; }
.site-header .staff-login-panel::before { position: absolute; top: -7px; right: 28px; width: 12px; aspect-ratio: 1; content: ""; transform: rotate(45deg); border-top: 1px solid #e9e9ec; border-left: 1px solid #e9e9ec; background: #fff; }
.site-header .menu .staff-login-card { position: relative; display: grid; gap: 8px; min-height: 88px; padding: 21px 22px; border: 1px solid #ececee; border-radius: 6px; background: #fafafb; color: #222; }
.site-header .menu .staff-login-card:hover { border-color: #e31b2366; background: #fff5f6; box-shadow: 0 4px 16px #22222208; }
.site-header .staff-login-card strong { font-size: 16px; line-height: 1.35; font-weight: 700; }
.site-header .staff-login-card span { color: #62666b; font-size: 13px; line-height: 1.6; }
.site-header .header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.site-header .button.primary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 23px; border: 1px solid transparent; border-radius: 4px; font-size: 13px; line-height: 1.3; font-weight: 700; white-space: nowrap; color: #fff; background: #e31b23; }
.site-header .button.primary:hover { background: #c0151c; }
.site-header .menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid #e9e9ec; border-radius: 4px; background: #fff; color: #222; align-items: center; justify-content: center; cursor: pointer; }
.site-header .menu-toggle span, .site-header .menu-toggle span::before, .site-header .menu-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; content: ""; transition: transform 200ms ease, opacity 200ms ease; }
.site-header .menu-toggle span::before { transform: translateY(-7px); }
.site-header .menu-toggle span::after { transform: translateY(5px); }
body.menu-open .site-header .menu-toggle span { transform: rotate(45deg); }
body.menu-open .site-header .menu-toggle span::before { transform: translateY(0) rotate(90deg); }
body.menu-open .site-header .menu-toggle span::after { opacity: 0; }
.site-header :focus-visible { outline: 2px solid #e31b23; outline-offset: 4px; }
@media (min-width: 1101px) and (max-width: 1200px) {
  .site-header .nav { gap: 18px; width: calc(100% - 48px); }
  .site-header .menu { gap: 15px; font-size: 11px; }
  .site-header .header-actions .button { padding: 10px 16px; }
}
@media (max-width: 1100px) {
  .site-header .nav { width: calc(100% - 40px); min-height: 74px; gap: 20px; }
  .site-header .brand { flex: 0 1 270px; min-width: 0; }
  .site-header .header-logo { width: 270px; }
  .site-header .menu-toggle { display: inline-flex; }
  .site-header .header-actions .button { display: none; }
  .site-header .menu { position: fixed; left: 20px; right: 20px; top: 84px; display: none; padding: 16px; gap: 0; border: 1px solid #e9e9ec; border-radius: 6px; background: #fff; box-shadow: 0 12px 36px #2222221a; max-height: calc(100dvh - 104px); overflow-y: auto; font-size: 14px; }
  body.menu-open .site-header .menu { display: grid; }
  .site-header .menu > a { display: flex; min-height: 48px; padding: 10px 14px; border-bottom: 1px solid #e9e9ec; }
  .site-header .staff-login { border-bottom: 1px solid #e9e9ec; }
  .site-header .staff-login-toggle { width: 100%; min-height: 48px; padding: 10px 14px; justify-content: space-between; }
  .site-header .staff-login-panel { position: static; width: 100%; padding: 14px; margin: 0 0 14px; background: #fafafb; box-shadow: none; }
  .site-header .staff-login-panel::before { display: none; }
  .site-header .menu .staff-login-card { padding: 17px 18px; background: #fff; }
  .site-header .menu > a:last-child { border-bottom: 0; }
}
@media (max-width: 600px) {
  .site-header .nav { min-height: 70px; width: calc(100% - 32px); }
  .site-header .brand { flex: 0 1 245px; }
  .site-header .header-logo { width: 245px; }
  .site-header .menu { top: 80px; left: 16px; right: 16px; padding: 12px; max-height: calc(100dvh - 96px); }
}
