@font-face {
  font-family: "Neue Haas Unica Pro";
  src: url("/assets/fonts/NeueHaasUnicaPro-Medium.woff") format("woff");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

/* Main menu only; footer and other links retain their approved typography. */
body .site-header .nav :is(a, button) {
  font-family: "Neue Haas Unica Pro", Arial, sans-serif;
  font-weight: 500;
  font-synthesis: none;
  letter-spacing: 0;
  font-size: 15px;
}
body .site-header:not(.home-nav-over-hero),
body .site-header:not(.home-nav-over-hero) .nav.is-open {
  background: #FFFBEE;
}

/* Shared header: clear over the first section, cream with depth after it. */
:root { --site-header-height: 95px; }
body .site-header {
  position: fixed;
  inset: 0 0 auto;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
body:not(.page-home) :is(.editorial-hero-inner, .access-hero-inner) { margin-top: var(--site-header-height); }
body .site-header:not(.home-nav-over-hero) {
  background: #fffbee;
  color: #1b1d21;
  border-bottom-color: rgb(27 29 33 / .045);
  box-shadow: 0 4px 18px rgb(27 29 33 / .07);
}
body .site-header:not(.home-nav-over-hero) .nav.is-open { background: #fffbee; }
body .site-header .nav a { color: #1b1d21; }
body .site-header .nav a[aria-current="page"] { box-shadow: inset 0 -2px currentColor; }
body .site-header .nav .btn {
  background: #112d49;
  color: #e8e1ce;
  border: 1px solid #112d49;
  border-radius: 2px;
}
body .site-header.home-nav-over-hero { background: transparent; color: #fff; border-bottom-color: transparent; box-shadow: none; }
body .site-header.home-nav-over-hero .nav a { color: #fff; }
body .site-header.home-nav-over-hero .nav .btn { background: #f4e8d8; border-color: #f4e8d8; color: #1b1d21; }
body .site-header.home-nav-over-hero .menu-toggle { border-color: currentColor; color: #fff; background: rgb(27 29 33 / .12); }
body .site-header.home-nav-over-hero .menu-toggle span { background: currentColor; }
body .site-header[data-hero-tone="light"].home-nav-over-hero,
body .site-header[data-hero-tone="light"].home-nav-over-hero .nav a { color: #1b1d21; }
body .site-header[data-hero-tone="light"].home-nav-over-hero .nav .btn { background: #112d49; border-color: #112d49; color: #e8e1ce; }
body .site-header .nav .btn:is(:hover, :focus-visible) { background: #fff; color: #1b1d21; border-color: #112d49; }
@media (max-width: 1050px) {
  body .site-header.home-nav-over-hero,
  body .site-header.home-nav-over-hero .nav.is-open { background: #1b1d21; color: #fff; }
  body .site-header[data-hero-tone="light"].home-nav-over-hero .nav a { color: #fff; }
  body .site-header[data-hero-tone="light"].home-nav-over-hero .nav .btn { background: #f4e8d8; border-color: #f4e8d8; color: #1b1d21; }
}
@media (max-width: 680px) { :root { --site-header-height: 77px; } }
/* Inner pages: scroll with the hero, then reveal the fixed header only on upward scroll. */
body:is(.page-b2b, .page-local, .page-accesibilidad) .site-header { position: absolute; }
body:is(.page-b2b, .page-local, .page-accesibilidad) .site-header.home-nav-over-hero { background: transparent; background-image: none; }
body:is(.page-b2b, .page-local, .page-accesibilidad) .site-header.nav-scrolling {
  position: fixed;
  transform: translateY(-110%);
  visibility: hidden;
  pointer-events: none;
}
body:is(.page-b2b, .page-local, .page-accesibilidad) .site-header.nav-scrolling.nav-revealed {
  transform: none;
  visibility: visible;
  pointer-events: auto;
}
@media (prefers-reduced-motion: no-preference) {
  body:is(.page-b2b, .page-local, .page-accesibilidad) .site-header.nav-scrolling.nav-revealed { animation: inner-navigation-enter .2s ease-out; }
}
@keyframes inner-navigation-enter {
  from { transform: translateY(-110%); }
  to { transform: translateY(0); }
}
/* B2B photography continues behind the transparent header at compact widths. */
@media (max-width: 1200px) {
  body.page-b2b .editorial-hero--b2b { padding-top: 0; }
  body.page-b2b .editorial-hero-inner { margin-top: 0; }
}
/* Local photography also continues behind the transparent compact header. */
@media (max-width: 800px) {
  body.page-local .editorial-hero--local { padding-top: 0; }
  body.page-local .editorial-hero-inner { margin-top: 0; }
}
/* Accessibility keeps a black menu over its pale hero, including the mobile control. */
body.page-accesibilidad .site-header.home-nav-over-hero,
body.page-accesibilidad .site-header.home-nav-over-hero .nav a { color: #1b1d21; }
body.page-accesibilidad .site-header.home-nav-over-hero .menu-toggle { color: #1b1d21; background: transparent; }
body.page-accesibilidad .site-header.home-nav-over-hero .nav .btn { background: #112d49; border-color: #112d49; color: #e8e1ce; }
body.page-accesibilidad .site-header.home-nav-over-hero .nav .btn:is(:hover, :focus-visible) { background: #fff; color: #1b1d21; }
@media (max-width: 1050px) {
  body.page-accesibilidad .site-header.home-nav-over-hero .nav.is-open { background: #fffbee; }
}
/* Local: a white hero bar gives the black brand and menu a consistent reading surface. */
body.page-local .site-header.home-nav-over-hero {
  background: #fff;
  color: #1b1d21;
  border-bottom-color: rgb(27 29 33 / .06);
  box-shadow: 0 5px 22px rgb(27 29 33 / .12);
}
body.page-local .site-header.home-nav-over-hero .nav a { color: #1b1d21; }
body.page-local .site-header.home-nav-over-hero .menu-toggle { color: #1b1d21; background: transparent; }
@media (max-width: 1050px) {
  body.page-local .site-header.home-nav-over-hero .nav.is-open { background: #fff; color: #1b1d21; }
}
