/* ============================================================
   Gemisa Studio V3 — Navigation
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--px);
  background: var(--ink);
  border-radius: 0;
  box-shadow: none;
  transition: top 0.45s var(--ease), left 0.45s var(--ease), right 0.45s var(--ease),
              padding 0.4s var(--ease), border-radius 0.45s var(--ease), box-shadow 0.4s,
              background 0.4s var(--ease);
}
.nav.scrolled {
  top: 16px;
  left: var(--px);
  right: var(--px);
  padding: 10px 24px;
  border-radius: 100px;
  box-shadow: 0 8px 36px -4px rgba(0,0,0,0.55);
}

/* White state when nav overlaps the work section */
.nav--work { background: var(--white); }
.nav--work.scrolled { box-shadow: 0 8px 36px -4px rgba(0,0,0,0.12); }
.nav--work .logo-studio { color: var(--ink); }
.nav--work .nav-links a { color: var(--ink); }
.nav--work .nav-burger span { background: var(--ink); }

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  flex-shrink: 0;
}
.logo-gemisa {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--teal);
}
.logo-sep {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--teal);
  margin: 0 5px;
  opacity: 0.55;
}
.logo-studio {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-style: italic;
  font-weight: 300;
  color: var(--white);
  opacity: 0.45;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 44px;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--white);
  opacity: 0.6;
  position: relative;
  transition: opacity 0.25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--teal);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.35s var(--ease);
  transform-origin: center;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile Navigation ───────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px var(--px);
  transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
}
.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 48px;
}
.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: clamp(36px, 8vw, 60px);
  font-weight: 700;
  color: var(--white);
  opacity: 0.25;
  transition: opacity 0.25s;
  line-height: 1.3;
  display: block;
}
.mobile-nav-links a:hover { opacity: 1; }
