/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0c0c0c;
  --surface: #141414;
  --surface2: #1a1a1a;
  --text: #f4f0ea;
  --muted: #6b6b6b;
  --accent: #e53a00;
  --green: #6affb4;
  --line: rgba(244,240,234,0.08);
  --display: 'Bebas Neue', sans-serif;
  --body: 'Outfit', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --px: clamp(1.5rem, 5vw, 5rem);
  --nav-h: 68px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 400;
  overflow-x: hidden;
  cursor: none;
}

/* ===== CURSOR ===== */
.cursor {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor.big { width: 16px; height: 16px; background: var(--accent); }
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(229,58,0,0.4);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
}

/* ===== LOADER ===== */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-bar {
  width: 200px;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.loader-bar::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--accent);
  width: 0;
  transition: width 0.05s linear;
}
.loader-text {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--px);
  border-bottom: 1px solid var(--line);
  background: rgba(12,12,12,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-logo {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--text);
  text-decoration: none;
}
.logo-dot { color: var(--accent); }
.nav-center {
  display: flex;
  gap: 2.5rem;
}
.nav-link {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-cta {
  font-family: var(--mono);
  font-size: 0.72rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s;
  border: 1px solid var(--accent);
}
.btn-primary:hover { background: transparent; color: var(--accent); }
.btn-outline {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 400;
  border: 1px solid var(--line);
  transition: all 0.25s;
}
.btn-outline:hover { border-color: var(--text); color: var(--text); }

/* ===== LABEL TAG ===== */
.label-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.label-tag::before {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d2 { transition-delay: 0.12s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.36s; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem var(--px);
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  gap: 2rem;
  align-items: center;
  background: var(--surface);
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.footer-tagline {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.footer-links {
  display: flex;
  gap: 2rem;
  padding-left: 3rem;
}
.footer-link {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--text); }
.footer-socials {
  display: flex;
  gap: 1.5rem;
}
.footer-social {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.footer-social:hover { color: var(--accent); }
.footer-copy {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* ===== MOBILE NAV TOGGLE ===== */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
}
.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text);
  transition: all 0.3s;
}
.nav-mobile-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-mobile-toggle.open span:nth-child(2) { transform: translateY(0) rotate(-45deg); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 2rem var(--px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.4s;
  pointer-events: none;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.mm-link {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.mm-link:hover, .mm-link.accent { color: var(--accent); }

/* ===== RESPONSIVE NAV ===== */
@media (max-width: 768px) {
  .nav-center, .nav-cta { display: none; }
  .nav-mobile-toggle { display: flex; }
  footer {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 1.5rem;
  }
  .footer-left { grid-column: 1 / -1; }
  .footer-links { padding-left: 0; grid-column: 1 / -1; }
  .footer-socials { }
  .footer-copy { text-align: right; }
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
}

.wc-visual-box {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b0b0b;
}

.wc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.6s ease, opacity 0.4s;
}

/* hover zoom */
.work-card:hover .wc-img {
  transform: scale(1.05);
  opacity: 1;
}

/* dark overlay (like your image) */
.wc-visual-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.7),
    rgba(0,0,0,0.2)
  );
}