/*══════════════════════════════════════════════════════
   ITEOLUWA — BLACK & WHITE EDITORIAL PORTFOLIO
   Aesthetic: High-Fashion Monochrome × Brutalist Energy
   ══════════════════════════════════════════════════════ */

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

/* ─── CSS VARIABLES ─── */
:root {
  --black: #ffffff;
  --white: #000000;
  --off-white: #111111;
  --grey-100: #1a1a1a;
  --grey-200: #333333;
  --grey-400: #666666;
  --grey-700: #cccccc;
  --grey-800: #e0e0e0;
  --grey-900: #f0f0f0;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-heavy: 'Bebas Neue', Impact, sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;
  --font-body: 'DM Mono', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.85, 0, 0.15, 1);
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; cursor: none; }
button { cursor: none; }

/* ─── NOISE TEXTURE ─── */
.noise {
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
  mix-blend-mode: overlay;
}

/* ─── SCANLINES ─── */
.scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
  z-index: 0;
}

/* ══════════════════════════════════════
   PRELOADER — CRAZY WHITE BG ANIMATION
══════════════════════════════════════ */
.preloader {
  position: fixed; inset: 0;
  background: #fff;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Canvas for particle animation */
.pre-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* Animated grid lines */
.pre-grid-lines {
  position: absolute; inset: 0;
  pointer-events: none;
}
.pgl {
  position: absolute;
  background: rgba(0,0,0,0.08);
  animation: pglIn 1.2s var(--ease-out) both;
}
.pgl-h1 { height: 1px; left: 0; right: 0; top: 33.33%; animation-delay: 0.1s; }
.pgl-h2 { height: 1px; left: 0; right: 0; top: 50%;    animation-delay: 0.18s; }
.pgl-h3 { height: 1px; left: 0; right: 0; top: 66.66%; animation-delay: 0.26s; }
.pgl-v1 { width: 1px; top: 0; bottom: 0; left: 33.33%; animation-delay: 0.14s; }
.pgl-v2 { width: 1px; top: 0; bottom: 0; left: 50%;    animation-delay: 0.22s; }
.pgl-v3 { width: 1px; top: 0; bottom: 0; left: 66.66%; animation-delay: 0.3s; }

@keyframes pglIn {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 1; transform: scaleX(1); }
}
.pgl-v1, .pgl-v2, .pgl-v3 {
  animation-name: pglInV;
}
@keyframes pglInV {
  from { opacity: 0; transform: scaleY(0); }
  to   { opacity: 1; transform: scaleY(1); }
}

/* Curtains that reveal on exit */
.pre-curtain-l,
.pre-curtain-r {
  position: absolute; top: 0; bottom: 0;
  width: 50%;
  background: #000;
  z-index: 10;
  transform: scaleX(0);
}
.pre-curtain-l { left: 0; transform-origin: left; }
.pre-curtain-r { right: 0; transform-origin: right; }

.preloader.done .pre-curtain-l,
.preloader.done .pre-curtain-r {
  transform: scaleX(1);
  transition: transform 0.7s var(--ease-in-out);
}
.preloader.done .pre-curtain-r {
  transition-delay: 0.08s;
}
.preloader.done .pre-content,
.preloader.done .pre-grid-lines {
  opacity: 0;
  transition: opacity 0.3s;
}

.pre-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.pre-name {
  display: flex;
  gap: 2px;
  font-family: var(--font-heavy);
  font-size: clamp(42px, 9vw, 110px);
  letter-spacing: 14px;
  color: #000;
}
.pre-letter {
  display: inline-block;
  animation: preLetterIn 0.6s var(--ease-out) both;
  animation-delay: calc(var(--i) * 0.06s + 0.3s);
}
@keyframes preLetterIn {
  from { opacity: 0; transform: translateY(60px) skewY(8deg); }
  to   { opacity: 1; transform: translateY(0) skewY(0); }
}

.pre-line-wrap {
  width: 100%;
  height: 1px;
  background: rgba(0,0,0,0.12);
  overflow: hidden;
}
.pre-line {
  height: 100%;
  background: #000;
  animation: preLineGrow 2.5s var(--ease-out) 0.6s both;
}
@keyframes preLineGrow {
  from { width: 0; }
  to   { width: 100%; }
}

.pre-tagline {
  font-family: var(--font-mono);
  font-size: clamp(9px, 1.3vw, 12px);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #555;
  opacity: 0;
  animation: fadeUp 0.5s ease 1s both;
}

.pre-count {
  font-family: var(--font-heavy);
  font-size: clamp(60px, 12vw, 140px);
  color: #000;
  line-height: 1;
  letter-spacing: -2px;
  min-width: 4ch;
  text-align: right;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── PAGE TRANSITION ─── */
.page-transition {
  position: fixed; inset: 0;
  background: var(--white);
  z-index: 99000;
  transform: scaleY(0);
  transform-origin: bottom;
}
.page-transition.in {
  animation: ptIn 0.5s var(--ease-in-out) forwards;
}
.page-transition.out {
  transform-origin: top;
  animation: ptOut 0.5s var(--ease-in-out) forwards;
}
@keyframes ptIn {
  from { transform: scaleY(0); transform-origin: bottom; }
  to   { transform: scaleY(1); transform-origin: bottom; }
}
@keyframes ptOut {
  from { transform: scaleY(1); }
  to   { transform: scaleY(0); }
}

/* ══════════════════════════════════════
   CURSOR — DESKTOP ONLY
══════════════════════════════════════ */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--white);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99997;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.25s, height 0.25s, background 0.25s;
  mix-blend-mode: difference;
}

.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(0,0,0,0.5);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99996;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  mix-blend-mode: difference;
}

.cursor-label {
  position: fixed; top: 0; left: 0;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  pointer-events: none; z-index: 99998;
  transform: translate(16px, 16px);
  opacity: 0;
  transition: opacity 0.25s;
  mix-blend-mode: difference;
}

body.cursor-hover .cursor-dot {
  width: 56px; height: 56px;
  background: var(--white);
  border-radius: 50%;
}
body.cursor-hover .cursor-ring { opacity: 0; }
body.cursor-hover .cursor-label { opacity: 1; }

/* Hide cursor on touch/mobile */
@media (hover: none) {
  .cursor-dot, .cursor-ring, .cursor-label { display: none !important; }
  body, a, button { cursor: auto !important; }
}



/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 5000;
  padding: 28px 60px;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding 0.4s ease, background 0.4s ease;
}
.nav.scrolled {
  padding: 16px 60px;
  background: rgba(0,0,0,0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  /* webkit-backdrop-filter: blur(20px); */
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo {
  font-family: var(--font-heavy);
  font-size: 22px;
  letter-spacing: 4px;
  color: var(--white);
  cursor: none;
}
.logo-first { color: var(--grey-400); }
.logo-second { color: var(--grey-400); }

.nav-items {
  list-style: none;
  display: flex; gap: 44px;
   /* background: rgba(0,0,0,0.92); */
}
.nav-a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey-400);
  position: relative;
  overflow: hidden;
  display: inline-block;
  transition: color 0.3s;
}
.nav-a::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 100%;
  color: var(--white);
  transition: transform 0.3s var(--ease-out);
}
.nav-a:hover { color: transparent; }
.nav-a:hover::after { transform: translateY(-100%); }

.nav-hire {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 2px;
  color: var( --grey-400);
  position: relative; overflow: hidden;
  transition: color 0.35s;
}
.nav-hire::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav-hire:hover::before { transform: scaleX(1); }
.nav-hire:hover { color: var(--black); }
.nav-hire span, .nav-hire svg { position: relative; z-index: 1; }
.nav-hire svg { transition: stroke 0.35s; }
.nav-hire:hover svg { stroke: var(--black); }

.burger {
  display: none;
  flex-direction: column; gap: 8px;
  background: none; border: none;
  padding: 4px;
}
.b-line {
  display: block; width: 28px; height: 1px;
  background: var(--white);
  transition: all 0.35s var(--ease-out);
}
.burger.open .b-line:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.burger.open .b-line:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ─── MOBILE MENU ─── */
.mob-menu {
  position: fixed; inset: 0;
  z-index: 4000;
  pointer-events: none;
}
.mob-bg {
  position: absolute; inset: 0;
  background: var(--black);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.55s var(--ease-in-out);
}
.mob-menu.open { pointer-events: all; }
.mob-menu.open .mob-bg { transform: scaleY(1); }

.mob-inner {
  position: relative; z-index: 1;
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 0 60px;
  gap: 12px;
}
.mob-a {
  font-family: var(--font-display);
  font-size: clamp(42px, 8vw, 80px);
  font-weight: 700;
  color: #666666;
  display: flex; align-items: baseline; gap: 20px;
  transition: color 0.3s, transform 0.3s;
  transform: translateX(-30px);
  opacity: 0;
  transition: all 0.45s var(--ease-out);
}
.mob-a::before {
  content: attr(data-num);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--grey-400);
  letter-spacing: 2px;
}
.mob-menu.open .mob-a {
  transform: translateX(0);
  opacity: 1;
}
.mob-menu.open .mob-a:nth-child(1) { transition-delay: 0.1s; }
.mob-menu.open .mob-a:nth-child(2) { transition-delay: 0.16s; }
.mob-menu.open .mob-a:nth-child(3) { transition-delay: 0.22s; }
.mob-menu.open .mob-a:nth-child(4) { transition-delay: 0.28s; }
.mob-menu.open .mob-a:nth-child(5) { transition-delay: 0.34s; }
.mob-a:hover { color: var(--white); transform: translateX(10px) !important; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding: 140px 60px 80px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Ghost title */
.hero-ghost {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heavy);
  font-size: clamp(80px, 16vw, 220px);
  color: rgba(0,0,0,0.04);
  white-space: nowrap;
  letter-spacing: 20px;
  pointer-events: none;
  .no-select {
  -webkit-user-select: none; /* Chrome, Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE/Edge */
  user-select: none;         /* Standard */
}
  animation: ghostDrift 12s ease-in-out infinite alternate;
}
@keyframes ghostDrift {
  from { letter-spacing: 20px; opacity: 0.04; }
  to   { letter-spacing: 30px; opacity: 0.07; }
}

/* Vertical side labels */
.hero-side-l,
.hero-side-r {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--grey-700);
  writing-mode: vertical-rl;
  z-index: 1;
}
.hero-side-l { left: 24px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.hero-side-r { right: 24px; top: 50%; transform: translateY(-50%); }

/* Crosshair lines */
.cross-h {
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.06) 20%, rgba(0,0,0,0.06) 80%, transparent 100%);
  pointer-events: none;
}
.cross-v {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.06) 20%, rgba(0,0,0,0.06) 80%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

.hero-left { flex: 1; max-width: 620px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--grey-400);
  border: 1px solid var(--grey-700);
  padding: 8px 16px; border-radius: 2px;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s var(--ease-out) 3.5s both;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--white);
  animation: breathe 2s ease infinite;
}
@keyframes breathe {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.2; }
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(56px, 7.5vw, 116px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -2px;
  margin-bottom: 32px;
  overflow: hidden;
}
.hn-line {
  display: block;
  animation: slideInMask 0.9s var(--ease-out) both;
}
.hn-1 { animation-delay: 3.6s; }
.hn-2 { animation-delay: 3.8s; font-style: italic; color: #666666; }
@keyframes slideInMask {
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}

.hero-descriptor {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--grey-400);
  margin-bottom: 44px;
  animation: fadeInUp 0.8s var(--ease-out) 4s both;
}
.hero-descriptor em { color: var(--white); font-style: italic; }

.hero-ctas {
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
  margin-bottom: 52px;
  animation: fadeInUp 0.8s var(--ease-out) 4.2s both;
}

/* PRIMARY BUTTON */
.btn-bw {
  position: relative;
  display: inline-flex; align-items: center;
  padding: 16px 40px;
  border: 1px solid var(--white);
  overflow: hidden;
  cursor: none;
}
.btn-fill {
  position: absolute; inset: 0;
  background: var(--white);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease-out);
}
.btn-text {
  position: relative; z-index: 1;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--white);
  transition: color 0.4s;
}
.btn-bw:hover .btn-fill { transform: translateX(0); }
.btn-bw:hover .btn-text { color: var(--black); }

/* OUTLINE BUTTON */
.btn-outline {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--grey-400);
  cursor: none;
  transition: color 0.3s;
}
.btn-arrow {
  transition: transform 0.3s;
}
.btn-outline:hover { color: var(--white); }
.btn-outline:hover .btn-arrow { transform: translateX(6px); }

/* STATS */
.hero-stats {
  display: flex; align-items: center; gap: 0;
  animation: fadeInUp 0.8s var(--ease-out) 4.4s both;
}
.hstat { display: flex; flex-direction: column; padding: 0 32px; }
.hstat:first-child { padding-left: 0; }
.hstat strong {
  font-family: var(--font-heavy);
  font-size: 44px; line-height: 1;
  color: var(--white);
  letter-spacing: -1px;
}
.hstat span {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--grey-400);
  margin-top: 4px;
}
.hstat-div {
  width: 1px; height: 50px;
  background: var(--grey-700);
  flex-shrink: 0;
}

/* ─── HERO IMAGE ─── */
.hero-right {
  flex-shrink: 0;
  animation: fadeInUp 0.9s var(--ease-out) 3.9s both;
}
.hero-img-wrap {
  position: relative;
  width: clamp(280px, 28vw, 420px);
}

/* Corner brackets */
.bracket {
  position: absolute;
  width: 24px; height: 24px;
  z-index: 2;
}
.bracket::before, .bracket::after {
  content: '';
  position: absolute;
  background: var(--white);
}
.bracket::before { width: 100%; height: 2px; }
.bracket::after  { width: 2px; height: 100%; }

.br-tl { top: -6px; left: -6px; }
.br-tl::before { top: 0; left: 0; }
.br-tl::after  { top: 0; left: 0; }

.br-tr { top: -6px; right: -6px; }
.br-tr::before { top: 0; right: 0; transform-origin: right; }
.br-tr::after  { top: 0; right: 0; }

.br-bl { bottom: -6px; left: -6px; }
.br-bl::before { bottom: 0; left: 0; }
.br-bl::after  { bottom: 0; left: 0; }

.br-br { bottom: -6px; right: -6px; }
.br-br::before { bottom: 0; right: 0; }
.br-br::after  { bottom: 0; right: 0; }

.hero-photo {
  width: 100%;
  display: block;
  /* filter: grayscale(100%) contrast(1.1); */
  transition: filter 0.6s ease;
}
.hero-img-wrap:hover .hero-photo {
  filter: grayscale(0%) contrast(1.05);
}

.img-label {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  background: rgba(0,0,0,0.85);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 2px;
  color: var(--grey-400);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.il-dot { color: var(--white); font-size: 8px; }
.il-name { color: var(--white); margin-left: auto; }

.hero-float-card {
  position: absolute;
  top: 28px; right: -50px;
  background: var(--white);
  color: var(--black);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  animation: floatCard 4s ease-in-out infinite alternate;
}
@keyframes floatCard {
  from { transform: translateY(0); }
  to   { transform: translateY(-10px); }
}
.hfc-icon { font-size: 20px; }
.hfc-text { display: flex; flex-direction: column; gap: 2px; }
.hfc-text strong { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.hfc-text span { font-family: var(--font-mono); font-size: 10px; color: var(--grey-400); letter-spacing: 1px; }

/* Scroll indicator */
.scroll-ind {
  position: absolute;
  bottom: 32px; left: 60px;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--grey-700);
  z-index: 2;
  animation: fadeInUp 0.8s var(--ease-out) 4.6s both;
}
.scroll-track {
  width: 50px; height: 1px;
  background: var(--grey-700);
  overflow: hidden; position: relative;
}
.scroll-thumb {
  height: 100%;
  width: 20px;
  background: var(--white);
  animation: scrollThumb 2.5s ease infinite;
}
@keyframes scrollThumb {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(250%); }
  100% { transform: translateX(-100%); }
}

/* ══════════════════════════════════════
   MARQUEE
══════════════════════════════════════ */
.marquee-outer {
  background: var(--white);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
}
.marquee-outer::before, .marquee-outer::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; width: 80px;
  z-index: 2;
}
.marquee-outer::before { left: 0; background: linear-gradient(90deg, var(--white), transparent); }
.marquee-outer::after  { right: 0; background: linear-gradient(-90deg, var(--white), transparent); }

.marquee-inner-track {
  display: flex;
  animation: marqueeSroll 20s linear infinite;
  width: max-content;
}
.marquee-content {
  display: flex; align-items: center; gap: 0;
  white-space: nowrap;
}
.marquee-content span {
  font-family: var(--font-heavy);
  font-size: 16px; letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--black);
  padding: 0 20px;
}
.msep { color: var(--grey-400) !important; font-size: 10px !important; padding: 0 6px !important; }
@keyframes marqueeSroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   SECTION SHARED
══════════════════════════════════════ */
.section-tag {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 20px;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(46px, 6vw, 90px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -2px;
}
.section-title em { font-style: italic; color: var(--grey-400); }

.mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--grey-400); }

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
.about {
  padding: 130px 60px;
  background: var(--grey-900);
  position: relative;
}
.about::before {
  content: 'ABOUT';
  position: absolute;
  top: 40px; right: 60px;
  font-family: var(--font-heavy);
  font-size: 120px;
  color: rgba(0,0,0,0.03);
  letter-spacing: 20px;
  pointer-events: none;
}
.about-inner {
  max-width: 1300px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.about-img-block { margin-top: 48px; }
.aib-frame {
  position: relative;
  overflow: hidden;
  cursor: none;
}
.aib-frame img {
  width: 100%;
  /* filter: grayscale(100%) contrast(1.05); */
  display: block;
  transition: transform 0.6s var(--ease-out), filter 0.5s;
}
.aib-frame:hover img {
  transform: scale(1.04);
  filter: grayscale(0%);
}
.aib-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.35s;
}
.aib-overlay span {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
  padding: 10px 20px;
}
.aib-frame:hover .aib-overlay { opacity: 1; }
.aib-caption { margin-top: 12px; text-align: right; }

.about-big {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 32px;
}
.about-divider {
  width: 60px; height: 1px;
  background: var(--grey-700);
  margin: 28px 0;
}
.about-body {
  font-size: 15px; line-height: 1.9;
  color: var(--grey-400);
  margin-bottom: 32px;
  font-family: var(--font-body);
}
.skills-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 40px;
}
.skill-pill {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  padding: 7px 16px;
  border: 1px solid var(--grey-700);
  color: var(--grey-400);
  position: relative; overflow: hidden;
  cursor: none;
  transition: color 0.3s;
}
.skill-pill::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.skill-pill:hover::before { transform: scaleX(1); }
.skill-pill:hover { color: var(--black); }
.skill-pill span { position: relative; z-index: 1; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--white);
  position: relative;
  cursor: none;
}
.text-link::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--white);
  transition: width 0.35s var(--ease-out);
}
.text-link:hover::after { width: 100%; }
.tl-arrow { transition: transform 0.3s; }
.text-link:hover .tl-arrow { transform: translate(4px, -4px); }

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
.services {
  padding: 130px 60px;
  background: var(--black);
}
.services-inner { max-width: 1300px; margin: 0 auto; }
.services-head { margin-bottom: 80px; }

.svc-list {
  display: flex; flex-direction: column;
}
.svc-item {
  display: flex; align-items: center;
  padding: 40px 0;
  border-top: 1px solid rgba(0,0,0,0.1);
  gap: 40px;
  position: relative;
  cursor: none;
  transition: padding 0.35s var(--ease-out);
}
.svc-item::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
  z-index: 0;
}
.svc-item:hover::after { transform: scaleX(1); }
.svc-item:hover .svc-number { color: rgba(255,255,255,0.2); }
.svc-item:hover .svc-body h3,
.svc-item:hover .svc-body p { color: var(--black); }
.svc-item:hover .svc-hexagon { border-color: var(--black); color: var(--black); }
.svc-item:last-child { border-bottom: 1px solid rgba(0,0,0,0.1); }
.svc-item:hover { padding-left: 24px; }

.svc-number, .svc-body, .svc-icon-wrap {
  position: relative; z-index: 1;
}
.svc-number {
  font-family: var(--font-heavy);
  font-size: 60px; line-height: 1;
  color: rgba(0,0,0,0.08);
  min-width: 80px;
  transition: color 0.35s;
}
.svc-body { flex: 1; }
.svc-body h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  transition: color 0.35s;
}
.svc-body p {
  font-size: 14px; line-height: 1.7;
  color: var(--grey-400);
  max-width: 480px;
  transition: color 0.35s;
}
.svc-hexagon {
  width: 60px; height: 60px;
  border: 1px solid var(--grey-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--grey-400);
  transition: border-color 0.35s, color 0.35s, transform 0.35s;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: transparent;
}
.svc-item:hover .svc-hexagon { transform: rotate(30deg); }

.work {
  padding: 80px 20px;
  background: #f8f8f8; /* Light background for white cards */
}

.work-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.work-head {
  margin-bottom: 50px;
  text-align: center;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* Project Card */
.witem {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.witem:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.wi-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.wi-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.witem:hover .wi-img img {
  transform: scale(1.05);
}

.wi-info {
  padding: 16px;
}

.wi-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 8px;
}

.wi-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #222;
}

.wi-arrow {
  font-size: 18px;
  color: #0077ff;
  display: inline-block;
  margin-top: 6px;
  transition: transform 0.3s ease;
}

.witem:hover .wi-arrow {
  transform: translateX(4px);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .work {
    padding: 60px 15px;
  }
  .wi-title {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .work-grid {
    gap: 15px;
  }
}

.work-head {
  margin-bottom: 50px;
  text-align: left; /* Keep heading left-aligned */
}

/* Grid for projects */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
  gap: 20px;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
}

@media (max-width: 768px) {
  .work-grid {
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 15px;
  }
}


/* ══════════════════════════════════════
   ON STAGE
══════════════════════════════════════ */
.stage {
  padding: 130px 0 80px;
  background: var(--black);
  overflow: hidden;
}
.stage-head { padding: 0 60px; margin-bottom: 60px; }

.stage-carousel { overflow: hidden; position: relative; }
.stage-carousel::before, .stage-carousel::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
}
.stage-carousel::before { left: 0; background: linear-gradient(90deg, var(--black), transparent); }
.stage-carousel::after  { right: 0; background: linear-gradient(-90deg, var(--black), transparent); }

.stage-track {
  display: flex; gap: 16px;
  width: max-content;
  animation: stageScroll 32s linear infinite;
  will-change: transform;
}
.stage-carousel:hover .stage-track { animation-play-state: paused; }
@keyframes stageScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.sg-card {
  flex-shrink: 0;
  width: 280px; height: 380px;
  overflow: hidden;
  position: relative;
  cursor: none;
}
.sg-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* filter: grayscale(100%) contrast(1.1); */
  transition: transform 0.6s var(--ease-out), filter 0.5s;
}
.sg-card:hover img {
  transform: scale(1.06);
  filter: grayscale(0%);
}
.sg-overlay {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.3s;
}
.sg-card:hover .sg-overlay { background: rgba(255,255,255,0.04); }

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.contact {
  background: var(--white);
  color: var(--black);
  padding: 140px 60px;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: 'HELLO';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heavy);
  font-size: clamp(100px, 22vw, 300px);
  color: rgba(255,255,255,0.04);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 20px;
}
.contact-inner {
  max-width: 1300px; margin: 0 auto;
  position: relative; z-index: 1;
}
.contact-label { margin-bottom: 40px; color: var(--grey-400); }
.contact-big {
  display: flex; flex-direction: column;
  margin-bottom: 60px;
}
.cb-line {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 700; line-height: 0.92;
  letter-spacing: -3px;
  color: var(--black);
}
.cb-italic { font-style: italic; color: var(--grey-400); }

.contact-links { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.contact-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  padding: 16px 36px;
  position: relative; overflow: hidden;
  cursor: none;
  transition: color 0.35s;
}
.cl-primary {
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
}
.cl-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grey-800);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.cl-primary:hover::before { transform: scaleX(1); }
.cl-primary span, .cl-primary .cl-arrow { position: relative; z-index: 1; }
.cl-secondary {
  border: 1px solid var(--black);
  color: var(--black);
}
.cl-secondary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.cl-secondary:hover::before { transform: scaleX(1); }
.cl-secondary:hover { color: var(--white); }
.cl-secondary span, .cl-secondary .cl-arrow { position: relative; z-index: 1; }
.cl-arrow { transition: transform 0.3s; }
.contact-link:hover .cl-arrow { transform: translate(4px, -4px); }
.contact-info { color: var(--grey-400); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: var(--black);
  padding: 60px 60px 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner { max-width: 1300px; margin: 0 auto; }
.footer-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px; flex-wrap: wrap; gap: 20px;
}
.footer-logo {
  font-family: var(--font-heavy);
  font-size: 28px; letter-spacing: 6px;
  color: var(--white);
}
.footer-socials { display: flex; gap: 20px; }
.footer-socials a {
  width: 40px; height: 40px;
  border: 1px solid var(--grey-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--grey-400);
  transition: all 0.3s;
  position: relative; overflow: hidden;
}
.footer-socials a::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--white);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s var(--ease-out);
}
.footer-socials a:hover::before { transform: scaleY(1); }
.footer-socials a:hover { color: var(--black); border-color: var(--white); }
.footer-socials a i { position: relative; z-index: 1; }
.footer-hr { height: 1px; background: rgba(255,255,255,0.08); margin-bottom: 28px; }
.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-nav { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-nav a {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--grey-700);
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--white); }
.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 1px;
  color: var(--grey-700);
}

/* ══════════════════════════════════════
   FLOAT BUTTONS
══════════════════════════════════════ */
.wa-float {
  position: fixed; bottom: 28px; left: 24px;
  width: 52px; height: 52px;
  background: #25D366;
  border: 1px solid #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 8000;
  transition: all 0.3s;
  cursor: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.6); }

.btt {
  position: fixed; bottom: 28px; right: 24px;
  width: 52px; height: 52px;
  background: none;
  border: 1px solid  var( --grey-400);
  color: var( --grey-200);
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  z-index: 8000;
  opacity: 0; visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s;
  cursor: none;
  font-family: var(--font-mono);
}
.btt.show { opacity: 1; visibility: visible; transform: translateY(0); }
.btt:hover { background: var(--white); color: var(--black); }

/* ══════════════════════════════════════
   VIDEO POPUP
══════════════════════════════════════ */
.vid-popup {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
  z-index: 99000;
  display: none; align-items: center; justify-content: center;
}
.vid-popup.show { display: flex; }
.vid-inner { position: relative; width: 90%; max-width: 780px; }
#vidEl { width: 100%; }
.vid-close {
  position: absolute; top: -48px; right: 0;
  background: none; border: none;
  font-family: var(--font-mono);
  font-size: 16px; letter-spacing: 2px;
  color: var(--grey-400);
  cursor: none;
  transition: color 0.3s;
}
.vid-close:hover { color: var(--white); }

/* ══════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════ */
.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }

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

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1100px) {
  .nav { padding: 22px 40px; }
  .nav.scrolled { padding: 14px 40px; }
  .nav-items, .nav-hire { display: none; }
  .burger { display: flex; }

  .hero { padding: 120px 40px 60px; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-left { max-width: 100%; }
  .hero-stats { justify-content: center; }
  .hero-ctas { justify-content: center; }
  .hero-right { display: flex; justify-content: center; }
  .hero-img-wrap { width: min(360px, 85vw); }
  .hero-float-card { display: none; }
  .hero-side-l, .hero-side-r { display: none; }

  .about { padding: 80px 40px; }
  .about-inner { grid-template-columns: 1fr; gap: 60px; }

  .services { padding: 80px 40px; }
  .svc-item { gap: 20px; }
  .svc-hexagon { display: none; }

  .work { padding: 80px 40px; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .witem--wide { grid-column: span 2; }
  .witem { aspect-ratio: 4/3; }

  .stage-head { padding: 0 40px; }
  .contact { padding: 100px 40px; }
  .footer { padding: 50px 40px 28px; }
  .mob-inner { padding: 0 40px; }
}

@media (max-width: 700px) {
  .nav { padding: 18px 24px; }
  .hero { padding: 100px 24px 50px; }
  .hero-name { letter-spacing: -1px; }
  .about { padding: 60px 24px; }
  .about::before { display: none; }
  .services { padding: 60px 24px; }
  .work { padding: 60px 24px; }
  .work-grid { grid-template-columns: 1fr; }
  .witem--wide { grid-column: span 1; aspect-ratio: 4/3; }
  .stage-head { padding: 0 24px; }
  .contact { padding: 70px 24px; }
  .contact::before { display: none; }
  .footer { padding: 40px 24px 24px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .sg-card { width: 220px; height: 300px; }
  .mob-inner { padding: 0 28px; }
}