@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=JetBrains+Mono:wght@300;400&display=swap');

:root {
  --black: #0a0a0a;
  --white: #f5f2ec;
  --acid: #38bdf8;
  --gray: #1a1a1a;
  --mid: #3a3a3a;
  --text-muted: #666;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Cormorant Garamond', serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  cursor: auto;
  overflow-x: hidden;
}

/* ── STANDARD CURSOR ── */
body { cursor: auto; }
a, button, .btn, select, .gallery-item, .lightbox-close { cursor: pointer; }
input, textarea { cursor: text; }
.cursor, .cursor-ring { display: none !important; }

/* ── NOISE OVERLAY ── */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  mix-blend-mode: normal;
}
nav::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.9), transparent);
  pointer-events: none;
  z-index: -1;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-img {
  display: block;
  width: auto;
  height: 4.7rem;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--acid);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--acid); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1), transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1), transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── MAGNETIC BUTTON ── */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--acid);
  color: var(--acid);
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
  cursor: auto;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: -1;
}
.btn:hover { color: var(--black); }
.btn:hover::before { transform: scaleX(1); }
.btn-dark {
  border-color: var(--black);
  color: var(--black);
}
.btn-dark::before { background: var(--black); }
.btn-dark:hover { color: var(--acid); }

/* ── FOOTER ── */
footer {
  padding: 3rem;
  border-top: 1px solid var(--mid);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
footer p {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.footer-social {
  display: flex;
  gap: 1.5rem;
}
.footer-social a {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-social a:hover { color: var(--acid); }

/* ── PAGE TRANSITION ── */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--acid);
  z-index: 99999;
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--acid); }

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--mid);
  border-bottom: 1px solid var(--mid);
  padding: 0.8rem 0;
}
.marquee-inner {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}
.marquee-inner span {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}
.marquee-inner span.accent { color: var(--acid); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 768px) {
  nav { padding: 1.2rem 1.5rem; }
  .nav-links { gap: 1.5rem; }
  footer { flex-direction: column; text-align: center; }
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
}


/* ── MOBILE POLISH ── */
img, video, iframe { max-width: 100%; height: auto; }

@media (max-width: 900px) {
  nav {
    padding: 1rem 1.25rem;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .nav-links {
    gap: 1rem;
    max-width: calc(100vw - 2.5rem);
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { font-size: 0.62rem; white-space: nowrap; }
  .btn { padding: 0.9rem 1.4rem; letter-spacing: 0.16em; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  nav {
    flex-direction: column;
    background: rgba(10,10,10,0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--mid);
  }
  nav::after { display: none; }
  .nav-logo-img {
    width: auto;
    height: 3.7rem;
  }
  .nav-links { width: 100%; gap: 0.85rem; }
  footer { padding: 2rem 1.25rem; }
  .footer-social { flex-wrap: wrap; justify-content: center; }
}

@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-ring { display: none !important; }
  body { cursor: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-inner { animation: none !important; }
}
