.site-header { position: sticky; top: 0; z-index: 10; background: var(--paper); }
.header-inner { min-height: 81px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 10px; line-height: 1; letter-spacing: .09em; text-decoration: none; }
.brand strong { display: block; font-size: 1.125rem; font-weight: 800; }
.brand small { display: block; margin-top: 4px; font-size: .64rem; font-weight: 800; letter-spacing: .38em; }
.brand-mark { width: 27px; height: 27px; background: var(--gold); clip-path: polygon(50% 0, 100% 94%, 78% 94%, 50% 38%, 20% 94%, 0 94%); }
.site-header nav { display: flex; gap: clamp(16px, 2.35vw, 36px); align-items: center; }
.site-header nav a, .navigation-group > summary { font-size: .9rem; font-weight: 700; text-decoration: none; }
.site-header nav a:not(.button):hover { text-decoration: underline; text-underline-offset: 5px; }
.site-header nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.navigation-group { position: relative; }
.navigation-group > summary { display: flex; align-items: center; gap: 10px; min-height: 44px; list-style: none; cursor: pointer; }
.navigation-group > summary::-webkit-details-marker { display: none; }
.navigation-group > summary::after { content: ""; width: 7px; height: 7px; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-2px) rotate(45deg); }
.navigation-group[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: max-content;
  padding: 6px;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(36, 33, 30, .12);
}
.site-header .submenu a { display: flex; align-items: center; min-height: 44px; padding: 6px 12px; border-radius: 4px; }
.site-header .submenu a:focus-visible { outline-offset: -2px; }
.menu-toggle { display: none; }

@media (max-width: 820px) {
  .header-inner { min-height: 69px; flex-wrap: wrap; gap: 0 14px; padding-block: 10px; }
  .menu-toggle:not([hidden]) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 14px;
    border: 1px solid #a79786;
    border-radius: 50px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-weight: 800;
  }
  .site-header nav { display: grid; width: 100%; padding-block: 12px 5px; gap: 0; }
  .has-menu nav { display: none; }
  .has-menu nav.is-open { display: grid; max-height: calc(100vh - 84px); max-height: calc(100dvh - 84px); overflow-y: auto; }
  .navigation-group > summary { justify-content: space-between; min-height: 48px; padding-inline: 4px; border-top: 1px solid var(--rule); }
  .submenu { position: static; min-width: 0; padding: 0 0 8px 8px; border: 0; box-shadow: none; }
}
