/* The bar follows the film; open menus retain the common site's white surface. */
:root { --nav-height: 72px; }
#site-navigation {
  --nav-ink: #232a39;
  --nav-accent: #2469d4;
  --nav-gutter: clamp(24px, 5vw, 88px);
  color: var(--nav-ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--nav-height);
  padding: 0 var(--nav-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 24px;
  border: 0;
  background: #fff;
  color: var(--nav-ink);
}
#site-navigation .brand img { display: block; filter: none; }
body:not(.is-light) .site-header {
  --nav-ink: #f4f2ec;
  --nav-indicator: #92b9ff;
  background: #111112;
}
body:not(.is-light) #site-navigation .site-header .brand img { content: url("/media/logo-white.png"); }
#site-navigation .site-header .language-picker { color: var(--nav-ink); }
#site-navigation .site-header :focus-visible {
  outline: 2px solid var(--nav-ink);
  outline-offset: 3px;
}
#site-navigation .site-header .language-picker li a:focus-visible { outline-color: #2469d4; }
.motion-still body.over-still-gradient .site-header {
  --nav-ink: white;
  --nav-indicator: currentColor;
  background: transparent;
}
.motion-still body.over-still-gradient.is-light .site-header { --nav-ink: black; }
.site-header .brand img, .sheet .brand img { width: auto; height: 30px; }
.header-content { display: contents; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px); }
.nav .nav-link { position: relative; padding: 8px 0; white-space: nowrap; font-size: 16px; font-weight: 600; }
.nav .nav-link[aria-current="page"]::after {
  content: ""; position: absolute; inset: auto 0 2px; height: 3px; background: var(--nav-indicator, var(--nav-accent));
}
#site-navigation .btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 23px; min-height: 48px; color: #fff; background: var(--nav-accent);
  font-size: 16px; font-weight: 600; text-decoration: none;
}
#site-navigation .btn:hover { background: #1e58b5; }
.menu-btn, .sheet-close {
  padding: 10px 4px; min-height: 44px; border: 0; background: none;
  color: var(--nav-ink); font: inherit; font-weight: 700;
}
.sheet {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto; overscroll-behavior: contain;
  padding: 0 var(--nav-gutter) 40px; background: #fff;
}
.sheet[hidden] { display: none; }
.sheet-top {
  position: sticky; top: 0; z-index: 1; display: flex; align-items: center;
  justify-content: space-between; height: var(--nav-height); background: #fff;
}
.sheet h2, .sheet p, .sheet ul { margin: 0; }
.sheet nav {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px 32px; margin-top: 16px;
}
.sheet h2 { margin-bottom: 8px; font-size: 16px; font-weight: 350; line-height: 1.23; color: #647087; }
.sheet ul { padding: 0; list-style: none; }
.sheet li a { display: block; padding: 9px 0; font-size: 20px; font-weight: 700; }
.sheet .search-form { display: flex; max-width: 560px; margin: 24px 0 0; }
.sheet .search-form input, .sheet .search-form button { min-height: 48px; border: 0; border-radius: 0; font: inherit; }
.sheet .search-form input {
  flex: 1; min-width: 0; padding: 12px 14px; color: var(--nav-ink);
  background: #f5f6f8; border-bottom: 2px solid var(--nav-ink);
}
.sheet .search-form button { padding-inline: 20px; color: #fff; background: var(--nav-ink); font-weight: 700; }
.sheet-cta {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  max-width: 900px; margin-top: 32px; padding-top: 24px; border-top: 1px solid #f0f3f7;
}
.sheet .sheet-contact { margin-top: 32px; font-size: 17px; }
.sheet-contact a { text-decoration: underline; }
#site-navigation .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.menu-open { overflow: hidden; }
@media (max-width: 1120px) { .nav .nav-link { display: none; } }
@media (max-width: 760px) { #site-navigation { --nav-gutter: 24px; } }
@media (max-width: 600px) {
  .site-header { gap: 8px; }
  #site-navigation .nav .btn { padding: 12px 10px; font-size: 14px; }
  .site-header .language-picker ul { left: 50%; right: auto; transform: translateX(-50%); }
  .sheet nav { grid-template-columns: 1fr; gap: 22px; }
  .sheet-cta { flex-direction: column; align-items: stretch; gap: 12px; }
}
@media (max-width: 360px) {
  #site-navigation .nav .btn { padding: 10px 7px; font-size: 13px; }
}
@media print { #site-navigation { display: none; } }
