/* DAONSNC homepage 2026 — nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line-1);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-1);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  background: var(--ink-1);
  color: #fff;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 5px;
}
.brand-mark svg {
  height: 100%;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 8px 12px;
  border-radius: var(--r-sm);
  color: var(--ink-3);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s ease, background .15s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink-1);
  background: var(--bg-muted);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 8px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-3);
  box-shadow: var(--shadow-sm);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.eyebrow strong {
  color: var(--ink-1);
  font-weight: 600;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
}

/* Mobile NAV (≤860px) */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: 8px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  cursor: pointer;
  padding: 0;
  transition: border-color .15s ease, background .15s ease;
}

.nav-toggle:hover {
  border-color: var(--line-strong);
  background: var(--bg-subtle);
}

.nav-toggle-bar {
  width: 18px;
  height: 1.5px;
  background: var(--ink-1);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.nav-mobile[hidden] {
  display: none;
}

.nav-mobile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 13, 0.4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: auto;
}

.nav-mobile-panel {
  position: relative;
  margin-top: 60px;
  background: var(--bg);
  border-bottom: 1px solid var(--line-1);
  box-shadow: var(--shadow-md);
  padding: 24px 24px 28px;
  transform: translateY(-12px);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
  pointer-events: auto;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}

.nav-mobile.open .nav-mobile-backdrop {
  opacity: 1;
}

.nav-mobile.open .nav-mobile-panel {
  transform: translateY(0);
  opacity: 1;
}

.nav-mobile-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-mobile-link {
  display: block;
  padding: 14px 12px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: var(--r-md);
  transition: background .15s ease, color .15s ease;
}

.nav-mobile-link:hover {
  background: var(--bg-muted);
  color: var(--ink-1);
}

.nav-mobile-link.active {
  color: var(--ink-1);
  background: var(--bg-muted);
}

.nav-mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line-1);
  padding-top: 18px;
}

body.nav-mobile-open {
  overflow: hidden;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }
}

@media (min-width: 861px) {
  .nav-mobile {
    display: none !important;
  }

  .nav-toggle {
    display: none;
  }
}
