.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: var(--space-3) var(--space-5); background: var(--navy-deep); border-bottom: 1px solid rgba(0, 224, 255, 0.15); transition: padding 0.25s var(--ease-signature), box-shadow 0.25s var(--ease-signature); }
.site-header--scrolled { padding-top: var(--space-2); padding-bottom: var(--space-2); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); border-bottom: 2px solid transparent; border-image: linear-gradient(90deg, var(--electric), var(--blue-bright) 55%, transparent) 1; }

.site-header__logo { display: flex; align-items: center; gap: var(--space-2); text-decoration: none; }
.site-header__logo img { height: 54px; width: auto; }
.site-header__text-group { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.site-header__wordmark { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--ice); letter-spacing: -0.02em; line-height: 1.1; }
.site-header__subtitle { font-family: var(--font-display); font-size: 11px; font-weight: 600; color: #ffffff; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 4px; opacity: 0.85; }

.site-header__nav { display: flex; gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
.site-header__nav a { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; color: var(--ice); opacity: 0.75; transition: opacity 0.2s var(--ease-signature), color 0.2s var(--ease-signature); text-decoration: none; }
.site-header__nav a:hover, .site-header__nav a:focus-visible { opacity: 1; color: var(--electric); }
.site-header__nav a.is-active { opacity: 1; color: var(--electric); position: relative; }
.site-header__nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--electric); border-radius: 2px; }

.site-header__cta { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-deep); background: var(--electric); padding: 10px 20px; border-radius: var(--radius-md); transition: transform 0.2s var(--ease-signature), box-shadow 0.2s var(--ease-signature); text-decoration: none; }
.site-header__cta:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(0, 224, 255, 0.4), 0 8px 20px rgba(0, 224, 255, 0.35); }

.site-header__menu-toggle { display: none; color: var(--ice); font-size: 24px; background: none; border: none; cursor: pointer; }
.site-header__mobile-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: var(--navy-deep); padding: var(--space-3); padding-bottom: calc(var(--space-5) + env(safe-area-inset-bottom, 0px)); list-style: none; margin: 0; flex-direction: column; gap: var(--space-2); border-bottom: 1px solid rgba(0, 224, 255, 0.15); }
.site-header__mobile-nav.is-open { display: flex; }
.site-header__mobile-nav a { font-family: var(--font-mono); font-size: 14px; color: var(--ice); opacity: 0.75; text-decoration: none; padding: var(--space-2) 0; display: block; }
.site-header__mobile-nav a:hover { opacity: 1; color: var(--electric); }
.site-header__mobile-nav a.is-active { opacity: 1; color: var(--electric); border-left: 2px solid var(--electric); padding-left: var(--space-2); }

@media (max-width: 860px) {
  .site-header { padding: var(--space-2) var(--space-3); }
  .site-header__nav { display: none; }
  .site-header__cta { display: none; }
  .site-header__menu-toggle { display: block; }
  .site-header__wordmark { font-size: 19px; }
  .site-header__subtitle { font-size: 9px; letter-spacing: 0.08em; }
}

@media (max-width: 620px) {
  .site-header { padding: var(--space-2) var(--space-3); }
  .site-header__logo img { height: 44px; }
  .site-header__wordmark { font-size: 17px; }
  .site-header__subtitle { font-size: 8px; letter-spacing: 0.06em; margin-top: 2px; }
  .site-header__mobile-nav { padding: var(--space-2) var(--space-3); padding-bottom: calc(var(--space-5) + env(safe-area-inset-bottom, 0px)); }
  .site-header__mobile-nav a { font-size: 13px; padding: var(--space-1) 0; }
}

.site-header__nav .has-dropdown { position: relative; }
.dropdown-arrow { font-size: 10px; margin-left: 4px; transition: transform 0.2s var(--ease-signature); display: inline-block; vertical-align: middle; }
.site-header__nav .has-dropdown:hover .dropdown-arrow, .site-header__nav .has-dropdown:focus-within .dropdown-arrow { transform: rotate(180deg); }

.dropdown-menu { position: absolute; top: 100%; left: 0; background: var(--navy-deep); border: 1px solid rgba(0, 224, 255, 0.15); border-radius: var(--radius-md); padding: var(--space-2) 0; min-width: 270px; max-height: 80vh; overflow-y: auto; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.2s var(--ease-signature), transform 0.2s var(--ease-signature), visibility 0.2s; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); z-index: 100; }
.site-header__nav .has-dropdown:hover .dropdown-menu, .site-header__nav .has-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a { display: block; padding: 10px var(--space-3); font-family: var(--font-mono); font-size: 13px; color: var(--ice); opacity: 0.8; text-decoration: none; transition: background 0.2s, color 0.2s, opacity 0.2s, padding-left 0.2s; line-height: 1.4; }
.dropdown-menu li a:hover, .dropdown-menu li a:focus-visible { background: rgba(0, 224, 255, 0.1); color: var(--electric); opacity: 1; padding-left: calc(var(--space-3) + 4px); }

.dropdown-menu::-webkit-scrollbar { width: 6px; }
.dropdown-menu::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); border-radius: 3px; }
.dropdown-menu::-webkit-scrollbar-thumb { background: var(--electric); border-radius: 3px; }
.dropdown-menu::-webkit-scrollbar-thumb:hover { background: var(--blue-bright); }

.mobile-sub-nav { list-style: none; margin: 0; padding: 0 0 0 var(--space-3); margin-top: var(--space-1); margin-bottom: var(--space-2); border-left: 1px solid rgba(0, 224, 255, 0.15); }
.mobile-sub-nav a { font-size: 13px !important; padding: var(--space-1) 0 !important; color: var(--ice); opacity: 0.6; line-height: 1.4; text-decoration: none; transition: opacity 0.2s, color 0.2s, padding-left 0.2s; }
.mobile-sub-nav a:hover, .mobile-sub-nav a.is-active { opacity: 1; color: var(--electric); padding-left: 8px; font-weight: 500; }