
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --white:   #f0eeea;
  --black:   #080808;
  --accent:  #c8ff00;
  --gray:    #888;
  --border:  rgba(255,255,255,0.08);
  --ease:    cubic-bezier(0.76,0,0.24,1);
}

html { scroll-behavior: auto; font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

body.is-loading { overflow: hidden; }

/* ── LOADER ─────────────────────────────── */
#loader {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--black);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-logo {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.loader-bar-wrap {
  width: 220px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}
.loader-bar {
  position: absolute; top: 0; left: 0; height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.4s ease;
}
.loader-count {
  font-size: 11px;
  letter-spacing: 0.15em;
  opacity: 0.4;
  margin-top: 16px;
}

/* ── CURSOR ──────────────────────────────── */
#cursor-dot {
  position: fixed; pointer-events: none; z-index: 9999;
  width: 6px; height: 6px;
  background: var(--white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
#cursor-ring {
  position: fixed; pointer-events: none; z-index: 9998;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease), height 0.35s var(--ease),
              border-color 0.35s, background 0.35s;
  will-change: transform;
}
#cursor-ring.hover {
  width: 70px; height: 70px;
  border-color: var(--accent);
  background: rgba(200,255,0,0.06);
}
#cursor-ring.click { transform: translate(-50%,-50%) scale(0.7); }

/* ── NAV ─────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 32px 52px;
  mix-blend-mode: difference;
}
.nav-logo {
  font-size: 15px; font-weight: 900;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--white); text-decoration: none;
}
.nav-links { display: flex; gap: 40px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white); text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0; height: 1px;
  background: var(--white);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--black) !important;
  opacity: 1 !important;
  background: var(--white);
  padding: 12px 26px; border-radius: 100px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}
.nav-cta:hover { background: var(--accent); }
.nav-cta::after { display: none !important; }

/* ── CANVAS BG ────────────────────────────── */
#bg-canvas {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
}

/* ── HERO ─────────────────────────────────── */
#hero {
  position: relative; z-index: 10;
  height: 100vh; min-height: 700px;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0 52px 68px;
}

.hero-eyebrow {
  align-self: end;
  font-size: 11px; letter-spacing: 0.25em;
  text-transform: uppercase; opacity: 0.4;
  margin-bottom: 28px;
}

.hero-bottom { display: flex; flex-direction: column; }

.hero-tagline {
  font-size: 13px; font-weight: 400;
  opacity: 0.5; letter-spacing: 0.02em;
  max-width: 420px; line-height: 1.6;
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(64px, 9.5vw, 140px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  overflow: hidden;
}

.hero-title .line { display: block; overflow: hidden; }
.hero-title .line .inner { display: block; }

.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(240,238,234,0.3);
}

.hero-actions {
  display: flex; gap: 20px; align-items: center;
  margin-top: 44px;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--black);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 16px 36px; border-radius: 100px;
  text-decoration: none; border: none; cursor: none;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover {
  background: var(--accent);
  transform: scale(1.04);
  box-shadow: 0 0 40px rgba(200,255,0,0.25);
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white); opacity: 0.5;
  text-decoration: none; cursor: none;
  transition: opacity 0.3s;
}
.btn-ghost:hover { opacity: 1; }
.btn-ghost .play-icon {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
}

/* ── SCROLL INDICATOR ─────────────────────── */
.scroll-indicator {
  position: absolute; bottom: 68px; right: 52px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.35;
}
.scroll-line {
  width: 1px; height: 50px;
  background: var(--white);
  animation: scrollLine 1.8s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── MARQUEE ──────────────────────────────── */
.marquee-section {
  position: relative; z-index: 10;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.marquee-track {
  display: flex; white-space: nowrap;
  animation: marquee 22s linear infinite;
  will-change: transform;
}
.marquee-track.reverse { animation-direction: reverse; animation-duration: 18s; }
.marquee-item {
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; opacity: 0.3;
  padding: 0 42px;
  display: flex; align-items: center; gap: 42px;
}
.marquee-item .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: 3; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── FEATURED WORK ─────────────────────────── */
#work {
  position: relative; z-index: 10;
  padding: 120px 52px;
}
.section-label {
  font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; opacity: 0.35;
  margin-bottom: 16px;
}
.section-heading {
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 800; line-height: 1.05;
  max-width: 580px; margin-bottom: 16px;
}
.section-sub {
  font-size: 15px; line-height: 1.75;
  opacity: 0.5; max-width: 500px; margin-bottom: 72px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.work-item {
  position: relative;
  overflow: hidden;
  background: #0e0e0e;
  cursor: none;
  aspect-ratio: 16/10;
}
.work-item:nth-child(3n+1) { grid-column: span 2; aspect-ratio: 21/9; }

.work-item-canvas { width: 100%; height: 100%; display: block; }

.work-item-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.5s ease;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 36px 40px;
}
.work-item:hover .work-item-overlay { background: rgba(0,0,0,0.55); }

.work-item-tags {
  font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
  transform: translateY(8px);
  margin-bottom: 8px;
}
.work-item-title {
  font-size: clamp(22px, 2.5vw, 38px);
  font-weight: 800; line-height: 1;
  transform: translateY(12px);
  transition: transform 0.45s var(--ease);
}
.work-item:hover .work-item-tags { opacity: 0.6; transform: translateY(0); }
.work-item:hover .work-item-title { transform: translateY(0); }

.work-item-arrow {
  position: absolute; top: 36px; right: 40px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translate(-8px, 8px);
  transition: opacity 0.4s, transform 0.4s var(--ease), background 0.3s;
}
.work-item:hover .work-item-arrow {
  opacity: 1; transform: translate(0,0);
  background: var(--accent);
  border-color: var(--accent);
}
.work-item-arrow svg { fill: var(--black); }

.see-all-wrap {
  margin-top: 60px; text-align: center;
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--white);
  padding: 16px 40px; border-radius: 100px;
  border: 1px solid var(--border);
  text-decoration: none; cursor: none;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.btn-outline:hover {
  border-color: var(--white);
  transform: scale(1.03);
}

/* ── ABOUT ──────────────────────────────────── */
#about {
  position: relative; z-index: 10;
  padding: 140px 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-left { }
.about-big {
  font-size: clamp(40px, 4.5vw, 66px);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -0.02em;
}
.about-big em { font-style: normal; color: var(--accent); }
.about-right { padding-top: 20px; }
.about-body {
  font-size: 16px; line-height: 1.85;
  opacity: 0.55; margin-bottom: 36px;
}
.about-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--white); text-decoration: none;
  transition: gap 0.3s;
}
.about-link:hover { gap: 18px; }

/* ── STEP INTO ──────────────────────────────── */
#step {
  position: relative; z-index: 10;
  padding: 160px 52px;
  text-align: center;
  overflow: hidden;
}
.step-title {
  font-size: clamp(52px, 7.5vw, 110px);
  font-weight: 900; line-height: 0.9;
  text-transform: uppercase; letter-spacing: -0.03em;
}
.step-title .outline-text {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(240,238,234,0.25);
}

/* ── CTA ──────────────────────────────────── */
#cta {
  position: relative; z-index: 10;
  padding: 140px 52px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  border-top: 1px solid var(--border);
}
.cta-eyebrow {
  font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; opacity: 0.3;
  margin-bottom: 28px;
}
.cta-title {
  font-size: clamp(56px, 8vw, 120px);
  font-weight: 900; line-height: 0.88;
  text-transform: uppercase; letter-spacing: -0.03em;
}
.cta-title .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--white);
}
.cta-actions { margin-top: 60px; display: flex; gap: 20px; }

/* ── FOOTER ──────────────────────────────── */
footer {
  position: relative; z-index: 10;
  padding: 60px 52px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo {
  font-size: 13px; font-weight: 900;
  letter-spacing: 0.3em; text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-address {
  font-size: 13px; line-height: 1.8; opacity: 0.4;
}
.footer-nav-title {
  font-size: 10px; letter-spacing: 0.25em;
  text-transform: uppercase; opacity: 0.3;
  margin-bottom: 18px;
}
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: 13px; color: var(--white);
  text-decoration: none; opacity: 0.5;
  transition: opacity 0.25s;
}
.footer-nav a:hover { opacity: 1; }
.footer-email { font-size: 13px; opacity: 0.5; margin-bottom: 6px; }
.footer-email a { color: var(--white); text-decoration: none; transition: opacity 0.25s; }
.footer-email a:hover { opacity: 0.8; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  grid-column: 1/-1;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; opacity: 0.3; letter-spacing: 0.1em;
}

/* ── PROJECTS PAGE ─────────────────────────── */
#projects-hero {
  position: relative; z-index: 10;
  padding: 180px 52px 80px;
}
.projects-hero-title {
  font-size: clamp(60px, 10vw, 150px);
  font-weight: 900; text-transform: uppercase;
  line-height: 0.85; letter-spacing: -0.04em;
}
.projects-count {
  font-size: 11px; letter-spacing: 0.25em;
  text-transform: uppercase; opacity: 0.3;
  margin-bottom: 12px;
}

.projects-grid {
  position: relative; z-index: 10;
  padding: 0 52px 140px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.proj-item {
  position: relative;
  overflow: hidden;
  background: #0e0e0e;
  cursor: none;
  aspect-ratio: 4/3;
}
.proj-item:nth-child(5n+1) { grid-column: span 2; aspect-ratio: 16/9; }
.proj-item-canvas { width: 100%; height: 100%; display: block; }
.proj-item-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.5s;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 28px 32px;
}
.proj-item:hover .proj-item-overlay { background: rgba(0,0,0,0.6); }
.proj-item-num {
  font-size: 10px; letter-spacing: 0.2em;
  opacity: 0; transition: opacity 0.4s;
  margin-bottom: 6px;
}
.proj-item:hover .proj-item-num { opacity: 0.35; }
.proj-item-tags {
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; opacity: 0;
  transition: opacity 0.4s, transform 0.4s var(--ease);
  transform: translateY(6px); margin-bottom: 6px;
}
.proj-item-title {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 800; line-height: 1;
  transform: translateY(10px);
  transition: transform 0.45s var(--ease);
}
.proj-item:hover .proj-item-tags  { opacity: 0.5; transform: translateY(0); }
.proj-item:hover .proj-item-title { transform: translateY(0); }

/* ── REVEAL ANIMATIONS ─────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal-up.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-up:nth-child(2) { transition-delay: 0.1s; }
.reveal-up:nth-child(3) { transition-delay: 0.2s; }

/* ── MISC ──────────────────────────────────── */
::selection { background: var(--accent); color: var(--black); }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: #222; }
