/* ════════════════════════════════
   BOLD FULL-SCREEN NAVIGATION (Osmo)
   Adapted for CLVN — dark theme, Aktiv Grotesk, lime accent
════════════════════════════════ */

/* Container — full viewport overlay (only tile catches clicks) */
.bold-nav {
  z-index: 90;          /* below CLVN nav (z:1000) so logo + hamburger stay visible */
  pointer-events: none;
  position: fixed;
  inset: 0;
}

/* ════════════════════════════════
   TILE — full screen overlay with clip-path animation
════════════════════════════════ */

.bold-nav__tile {
  pointer-events: auto;
  background-color: var(--color-bg);
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  transition: clip-path 1s cubic-bezier(0.9, 0, 0.1, 1);
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
}

[data-navigation-status="active"] .bold-nav__tile {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* ── Menu list ── */
.bold-nav__ul {
  flex-flow: column;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.bold-nav__li {
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  display: flex;
  position: relative;
  overflow: hidden;
  transition: opacity 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}

.bold-nav__link {
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  padding: 0 0.075em;
  font-family: var(--font-display);
  font-size: clamp(48px, calc(4vw + 4vh), 160px);
  font-weight: var(--weight-medium);
  line-height: 1.05;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(100%) rotate(5deg);
  transition: transform 0.75s cubic-bezier(0.7, 0, 0.3, 1);
}

.bold-nav__link.is-current {
  color: var(--color-accent);
}

/* Closed state — link fall-down stagger */
.bold-nav__li:nth-child(1) .bold-nav__link { transition-delay: 0.20s; }
.bold-nav__li:nth-child(2) .bold-nav__link { transition-delay: 0.15s; }
.bold-nav__li:nth-child(3) .bold-nav__link { transition-delay: 0.10s; }
.bold-nav__li:nth-child(4) .bold-nav__link { transition-delay: 0.05s; }
.bold-nav__li:nth-child(5) .bold-nav__link { transition-delay: 0s; }

/* Open state — links rise up stagger (reverse delay order) */
[data-navigation-status="active"] .bold-nav__link {
  transform: translateY(0%) rotate(0.001deg);
}
[data-navigation-status="active"] .bold-nav__li:nth-child(1) .bold-nav__link { transition-delay: 0.30s; }
[data-navigation-status="active"] .bold-nav__li:nth-child(2) .bold-nav__link { transition-delay: 0.35s; }
[data-navigation-status="active"] .bold-nav__li:nth-child(3) .bold-nav__link { transition-delay: 0.40s; }
[data-navigation-status="active"] .bold-nav__li:nth-child(4) .bold-nav__link { transition-delay: 0.45s; }
[data-navigation-status="active"] .bold-nav__li:nth-child(5) .bold-nav__link { transition-delay: 0.50s; }

.bold-nav__link-text {
  text-shadow: 0 1.1em 0;
  display: block;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.3, 1);
  transform: translateY(0%) rotate(0.001deg);
}

.bold-nav__link:hover .bold-nav__link-text {
  transform: translateY(-100%) rotate(0.001deg);
}

/* Hover dim other links */
.bold-nav__ul:has(.bold-nav__li:hover) .bold-nav__li {
  opacity: 0.15;
}
.bold-nav__ul:has(.bold-nav__li:hover) .bold-nav__li:hover {
  opacity: 1;
}

/* ── Bottom bar ── */
.bold-nav__bottom {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 2em 2.5em;
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
}

.bold-nav__word {
  opacity: 0.5;
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(11px, 1vw, 14px);
  letter-spacing: var(--tracking-wider);
  color: var(--color-white);
  position: relative;
}

/* ════════════════════════════════
   CLVN NAV INTEGRATION
   Hide desc/info/CTA when menu open + reset glass mode
════════════════════════════════ */

.nav__desc,
.nav__info,
.nav__cta-btn {
  transition: opacity 0.4s var(--ease-out), visibility 0.4s var(--ease-out);
}

[data-navigation-status="active"] .nav__desc,
[data-navigation-status="active"] .nav__info,
[data-navigation-status="active"] .nav__cta-btn {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Reset nav glass when menu open (no blur artifact) */
[data-navigation-status="active"] .nav.is-glass {
  top: 0;
  left: 0;
  right: 0;
  height: 144px;
  padding: 0 50px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  border-color: transparent;
}

[data-navigation-status="active"] .nav.is-glass .nav__logo svg {
  width: 153px;
  height: auto;
}

/* Toggle button — transparent bg when menu open */
[data-navigation-status="active"] .nav__cta-overlay {
  background: transparent !important;
}

/* ════════════════════════════════
   ICON SWAP — hamburger ↔ close X (with hover color change)
════════════════════════════════ */

.nav__cta-overlay {
  position: relative;
  color: var(--color-white);
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.nav__cta-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s var(--ease-out);
  pointer-events: none;
}

.nav__cta-icon--menu {
  width: 18px;
  height: 14px;
  opacity: 1;
}

.nav__cta-icon--close {
  width: 14px;
  height: 14px;
  opacity: 0;
}

[data-navigation-status="active"] .nav__cta-icon--menu  { opacity: 0; }
[data-navigation-status="active"] .nav__cta-icon--close { opacity: 1; }

/* Hover — icon turns lime (main accent) */
.nav__cta-overlay:hover {
  color: var(--color-accent);
}

/* Body lock scroll when menu open */
body[data-navigation-status="active"] {
  overflow: hidden;
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */

@media (max-width: 768px) {
  .bold-nav__bottom {
    padding: 1.5em 1.25em;
  }
  [data-navigation-status="active"] .nav.is-glass {
    height: 80px;
    padding: 0 20px;
  }
}
