.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: 94px; color: var(--white); background: rgba(5,5,5,.35); transition: height .25s ease, background-color .25s ease; }
.site-header.is-scrolled { height: 76px; background: rgba(5,5,5,.96); border-bottom: 1px solid var(--line-dark); }
.header-inner { width: min(100% - 64px, 1320px); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; }
.brand-logo { width: 142px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.2vw, 38px); }
.nav a, .nav-disclosure-button { position: relative; text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.nav a::after { position: absolute; content: ""; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--pink); transition: right .2s ease; }
.nav a:hover::after, .nav a:focus-visible::after { right: 0; }
.nav-disclosure { position: relative; }
.nav-disclosure-button { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; color: inherit; background: none; cursor: pointer; }
.nav-disclosure-button::after { content: ""; width: 6px; height: 6px; border: solid var(--pink); border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); }
.nav-disclosure-button[aria-expanded="true"]::after { transform: translateY(1px) rotate(225deg); }
.nav-disclosure-button:focus-visible { outline: 2px solid var(--pink); outline-offset: 5px; }
.nav-submenu { position: absolute; inset: calc(100% + 16px) auto auto -16px; min-width: 172px; margin: 0; padding: 6px 0; list-style: none; background: var(--black); border: 1px solid var(--line-dark); }
.nav-submenu a { display: block; padding: 11px 15px; }
.nav-submenu a::after { display: none; }
.nav-submenu a:hover, .nav-submenu a:focus-visible { color: var(--pink); background: #141414; }
.menu-toggle { display: none; }

@media (max-width: 800px) {
  .header-inner { width: min(100% - 40px, 720px); }
  .site-header, .site-header.is-scrolled { height: 76px; background: rgba(5,5,5,.97); }
  .brand-logo { width: 124px; }
  .menu-toggle { min-width: 88px; min-height: 44px; padding: 0; border: 0; display: flex; align-items: center; justify-content: flex-end; gap: 12px; color: var(--white); background: transparent; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
  .menu-mark { color: var(--pink); font-size: 24px; font-weight: 400; }
  .nav { position: fixed; inset: 76px 0 auto; height: 0; padding: 0 20px; overflow: hidden; display: flex; flex-direction: column; align-items: stretch; gap: 0; background: var(--black); visibility: hidden; transition: height .25s ease, padding .25s ease, visibility .25s; }
  .nav.is-open { height: calc(100dvh - 76px); padding-top: 26px; overflow-y: auto; visibility: visible; }
  .nav a, .nav-disclosure-button { padding: 17px 0; border-bottom: 1px solid var(--line-dark); font-size: 24px; letter-spacing: -.02em; text-transform: none; }
  .nav-disclosure-button { width: 100%; justify-content: space-between; }
  .nav-submenu { position: static; margin-left: 16px; border: 0; }
  .nav-submenu a { padding: 12px 0; font-size: 18px; }
}

@media (max-width: 560px) {
  .header-inner { width: calc(100% - 32px); }
}

#service-header { position: sticky; top: 0; z-index: 100; }
#service-header .site-header { position: relative; height: 76px; background: var(--black); border-bottom: 1px solid var(--line-dark); }
.nav-submenu a[aria-current="page"] { color: var(--pink); }

@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header * { transition-duration: .01ms !important; }
}
