.skip-link {
  position: absolute;
  top: -100%;
  left: 8px;
  padding: 8px 16px;
  background: var(--at-blue);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  z-index: 9999;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
}

.skip-link:focus {
  top: 0;
}

nav.main {
  background: var(--bg-page);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--px);
  display: flex;
  align-items: center;
  gap: 40px;
  height: 72px;
}

/* Logo / Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  display: block;
  height: 36px;
  width: auto;
}

.brand-word {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .02em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.brand-word .pro { color: var(--at-blue); }

/* Nav-Links (Desktop) */
.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}

.nav-links a {
  position: relative;
  padding: 24px 14px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-primary);
  transition: color var(--dur) var(--ease);
  white-space: nowrap;
}

.nav-links a:hover { color: var(--at-red); }

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  background: var(--at-red);
}

/* Dropdown */
.nav-item { position: relative; }

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  z-index: 200;
}

.nav-item:hover .nav-dropdown { display: block; }

.nav-dropdown a {
  display: block;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}

.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { background: var(--bg-surface); color: var(--at-red); }

/* Actions */
.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.nav-actions .btn { padding: 11px 18px; }

/* Hamburger (Mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-page);
  z-index: 99;
  padding: 100px var(--px-sm) 40px;
  overflow-y: auto;
}

.nav-mobile.open { display: block; }

.nav-mobile a {
  display: block;
  padding: 16px 0;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.01em;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:hover { color: var(--at-red); }

.nav-mobile-sub {
  padding-left: 16px;
}

.nav-mobile-sub a {
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  padding: 12px 0;
}

.nav-mobile-actions {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-mobile-actions .btn {
  justify-content: center;
  width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-inner { gap: 20px; }
}

@media (max-width: 860px) {
  .nav-links,
  .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { padding: 0 var(--px-sm); }
}
