/* V3.P9 — Masthead chromatic integration
 * Stable masthead geometry with the promoted ambient palette.
 */

.sne-v3 .pub-nav {
  position: sticky;
  border-bottom: 0;
  background: rgba(3, 6, 9, .88);
  backdrop-filter: blur(14px) saturate(118%);
  box-shadow: 0 12px 36px rgba(0,0,0,.12);
}

.sne-v3 .pub-nav::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(calc(100% - (var(--pub-gutter) * 2)), var(--pub-max));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(85,184,255,.05) 5%,
    rgba(155,220,255,.18) 46%,
    rgba(255,132,40,.14) 72%,
    rgba(85,184,255,.05) 95%,
    transparent 100%);
  pointer-events: none;
}

.sne-v3 .pub-nav__inner {
  min-height: 64px;
  gap: clamp(30px, 3vw, 46px);
}

.sne-v3 .pub-links {
  align-items: center;
  gap: clamp(20px, 1.7vw, 28px);
}

.sne-v3 .pub-links a,
.sne-v3 .pub-nav__cta {
  font-family: var(--sne-font-text);
  font-size: 11.25px;
  line-height: 1;
  letter-spacing: .008em;
  font-weight: 460;
  color: #9aabb8;
  opacity: .72;
  transition: opacity var(--sne-micro-fast) ease, color var(--sne-micro-fast) ease;
}

.sne-v3 .pub-links a:hover,
.sne-v3 .pub-links a[aria-current='page'] {
  color: var(--sne-white);
  opacity: 1;
}

.sne-v3 .pub-links a::after {
  bottom: -9px;
  height: 1px;
  background: linear-gradient(90deg, var(--sne-blue-vivid), var(--sne-blue-soft));
  opacity: .8;
  transform: scaleX(0);
  transform-origin: left center;
}

.sne-v3 .pub-links a:hover::after,
.sne-v3 .pub-links a[aria-current='page']::after {
  transform: scaleX(1);
}

.sne-v3 .pub-nav__cta {
  color: var(--sne-white);
  opacity: .96;
  font-weight: 620;
  letter-spacing: .004em;
}

.sne-v3 .pub-nav__cta:hover { opacity: 1; }
.sne-v3 .pub-nav__cta::after { color: var(--sne-orange-vivid); }

@media (max-width: 900px) {
  .sne-v3 .pub-nav__inner { min-height: 60px; gap: 22px; }
  .sne-v3 .pub-links { gap: 18px; }
  .sne-v3 .pub-links a { font-size: 11px; opacity: .76; }
}

@media (max-width: 700px) {
  .sne-v3 .pub-nav__inner {
    min-height: auto;
    padding-top: 14px;
    padding-bottom: 13px;
    gap: 12px;
  }
  .sne-v3 .pub-links { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .sne-v3 .pub-links a,
  .sne-v3 .pub-links a::after,
  .sne-v3 .pub-nav__cta { transition: none !important; }
}
