/* Shared desktop header — update this file to change every page. */
@font-face {
  font-family: 'NType82';
  src: url('NType82-Regular.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('Poppins-Regular.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Shared logo geometry — identical on every page; only the colour asset changes. */
.site-header .brand {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  width: 242px;
  height: 26px;
  min-width: 242px;
  overflow: visible;
}

.site-header .brand-logo {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 306px;
  height: auto;
  max-width: none;
  object-fit: contain;
  filter: none;
  transform: translate(-32px, -84px);
}

.site-header .brand-logo--light { filter: brightness(0) invert(1); mix-blend-mode: screen; }
.site-header .brand-logo--dark { mix-blend-mode: multiply; }

@media (max-width: 700px) {
  .site-header .brand {
    align-self: center;
    width: 206px;
    min-width: 206px;
  }

  .site-header .brand-logo {
    width: 260px;
    transform: translate(-27px, -70px);
  }
}

@media (min-width: 701px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    max-width: 100%;
    min-height: 58px;
    padding: 0;
    border-bottom: 0;
    box-sizing: border-box;
    background: #fff;
  }

  .site-header::after {
    content: '';
    position: absolute;
    right: 36px;
    bottom: 0;
    left: 32px;
    height: 1px;
    background: rgba(0, 0, 0, .1);
    pointer-events: none;
  }

  .site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    min-height: 58px;
    margin: 0;
    padding: 0 0 0 32px;
    gap: 24px;
    box-sizing: border-box;
    min-width: 0;
  }

  .site-header .main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 1 auto;
    gap: 28px;
    margin: 0 0 0 auto;
    padding: 0 36px 0 0;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
    font-family: 'Poppins', Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: -.01em;
    text-transform: none;
    transform: scaleY(.9);
    transform-origin: center;
  }

  .site-header .main-nav a {
    position: relative;
    padding: 0;
    color: rgba(51, 51, 51, .65);
    font: inherit;
    text-decoration: none;
    transition: color .15s ease;
  }

  .site-header .main-nav a + a::before {
    content: '·';
    position: absolute;
    left: -17px;
    top: 50%;
    color: rgba(51, 51, 51, .65);
    pointer-events: none;
    transform: translate(-50%, -50%);
  }

  .site-header .main-nav a:hover,
  .site-header .main-nav a:focus-visible,
  .site-header .main-nav .active {
    color: #333;
    text-decoration: none;
  }
}

/* Shared mobile navigation — visually continuous with the mobile header. */
@media (max-width: 700px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: block;
    width: 100%;
    max-width: 100vw;
    min-height: 58px;
    overflow-x: clip;
    border-bottom: 1px solid rgba(32, 32, 30, .12);
    background: #fff;
  }

  .site-header .header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 58px;
    margin: 0;
    max-width: 100%;
    padding: 0 18px;
    gap: 16px;
    box-sizing: border-box;
  }

  .site-header .brand {
    width: 206px;
    min-width: 0;
    max-width: 206px;
    height: 26px;
    flex: 1 1 206px;
  }

  .site-header .brand-logo {
    width: 260px;
    filter: none;
    mix-blend-mode: multiply;
    transform: translate(-27px, -70px);
  }

  .site-header .main-nav { display: none; }

  .menu-toggle {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    display: flex;
    align-self: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: none;
  }

  .menu-toggle::before,
  .menu-toggle span {
    position: absolute;
    left: 50%;
    width: 26px;
    height: 2px;
    border-radius: 0;
    background: #20201e;
    content: '';
    transform: translateX(-50%);
  }

  .menu-toggle::before { top: 21px; }
  .menu-toggle span:first-child { top: 13px; transform: translateX(-50%); }
  .menu-toggle span:last-child { top: 29px; transform: translateX(-50%); }

  .menu-toggle:hover,
  .menu-toggle:focus-visible {
    background: transparent;
    box-shadow: none;
  }

  .menu-toggle:hover::before,
  .menu-toggle:focus-visible::before,
  .menu-toggle:hover span,
  .menu-toggle:focus-visible span {
    background: #000;
  }

  .menu-toggle:focus-visible {
    outline: 2px solid rgba(32, 32, 30, .45);
    outline-offset: 2px;
  }

  .drawer-overlay { background: rgba(0, 0, 0, .42); }

  .mobile-drawer {
    width: min(72vw, 320px);
    padding: 86px 26px 32px;
    background: #fff;
    box-shadow: -8px 0 28px rgba(0, 0, 0, .16);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .mobile-links {
    width: 100%;
    gap: 0;
  }

  .mobile-links a {
    display: block;
    width: 100%;
    padding: 19px 0;
    border-bottom: 1px solid rgba(32, 32, 30, .12);
    color: #20201e;
    font-family: 'NType82', 'Helvetica Neue', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
  }

  .mobile-links a:last-child { border-bottom: 0; }
  .mobile-links a::after { display: none; }

  .drawer-close {
    top: 14px;
    right: 18px;
    width: 44px;
    height: 44px;
    opacity: 1;
  }

  .drawer-close::before,
  .drawer-close::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 25px;
    height: 2px;
    border: 0;
    background: #20201e;
    content: '';
  }

  .drawer-close::before { transform: translate(-50%, -50%) rotate(45deg); }
  .drawer-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

  .drawer-close:focus-visible {
    outline: 2px solid rgba(32, 32, 30, .45);
    outline-offset: 2px;
  }
}
