/* ============================================================
   NAV.CSS — top nav, mobile menu, footer, side nav, cursor, UFO
   ============================================================ */

.site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 34px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  mix-blend-mode: difference;
}

.site-nav__left,
.site-nav__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav__left a,
.site-nav__right a,
.site-nav__brand {
  color: inherit;
  text-decoration: none;
  background: none;
  border: none;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.site-nav__left a:hover,
.site-nav__right a:hover {
  opacity: 1;
}

.site-nav__right a + a {
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.site-nav__icons {
  display: flex;
  gap: 14px;
  align-items: center;
}

.site-nav__icons svg {
  width: 16px;
  height: 16px;
  opacity: 0;
  position: absolute;
  transition: opacity 0.6s ease;
}

.site-nav__icons svg.is-active {
  opacity: 0.85;
  position: relative;
}

.site-nav__icon-slot {
  position: relative;
  width: 16px;
  height: 16px;
}

/* hamburger (mobile / inner pages) */
.nav-burger {
  display: none;
  width: 30px;
  height: 22px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 50;
}

.nav-burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  mix-blend-mode: difference;
}

.nav-burger span:nth-child(1) { top: 0; }
.nav-burger span:nth-child(2) { top: 10px; }
.nav-burger span:nth-child(3) { top: 20px; }

@media (max-width: 768px) {
  .site-nav__right { display: none; }
  .nav-burger { display: block; }
}

/* mobile menu dialog */
.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: none;
  padding: 0;
  background: #111;
  color: #fff;
  z-index: 200;
}

.mobile-menu::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.mobile-menu__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
}

.mobile-menu__close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
  margin: auto 0;
  padding: 0;
}

.mobile-menu__links a,
.mobile-menu__links button {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14vw;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

.mobile-menu__socials {
  display: flex;
  gap: 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-menu__socials a {
  color: #fff;
  text-decoration: none;
  opacity: 0.7;
}

/* side nav — homepage only */
.side-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2a2a2a;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.side-nav--left { left: 18px; writing-mode: vertical-rl; }
.side-nav--right { right: 18px; writing-mode: vertical-rl; }

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

/* footer */
.site-footer {
  padding: 40px 34px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer__links a,
.site-footer__links button {
  color: inherit;
  text-decoration: none;
  background: none;
  border: none;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.site-footer__socials {
  display: flex;
  gap: 16px;
}

.site-footer__socials a {
  color: inherit;
  text-decoration: none;
}

/* custom crosshair cursor */
.crt-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .crt-cursor { display: block; }
}

.crt-cursor::before,
.crt-cursor::after {
  content: '';
  position: absolute;
  background: #fff;
}

.crt-cursor::before {
  left: 9px; top: 0; width: 2px; height: 20px;
}

.crt-cursor::after {
  top: 9px; left: 0; width: 20px; height: 2px;
}

.crt-cursor__circle {
  position: absolute;
  inset: 0;
  border: 1px solid #fff;
  border-radius: 50%;
}

/* UFO easter egg — contact page */
.ufo-cursor {
  position: absolute;
  top: 14%;
  left: 10%;
  width: 70px;
  z-index: 35;
  animation: ufo-orbit 14s ease-in-out infinite;
  cursor: pointer;
}

@keyframes ufo-orbit {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(60px, 30px) rotate(4deg); }
  50%  { transform: translate(20px, 70px) rotate(-3deg); }
  75%  { transform: translate(-40px, 25px) rotate(3deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

.ufo-beam {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(184, 150, 12, 0.5), transparent);
  transform: translateX(-50%);
  transition: opacity 0.3s ease;
  opacity: 0.4;
}

.ufo-cursor:hover .ufo-beam { opacity: 0.9; }

.ct-beam-cone {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 90px solid rgba(184, 150, 12, 0.06);
  transform: translateX(-50%);
  pointer-events: none;
}
