/* =========================
   GLOBAL THEME VARIABLES
========================= */
:root {
  --black: #04060f;
  --black2: #080d1a;
  --white: #e8eaf2;
  --accent: #ff3c1e;
  --blue: #1a5cff;
  --blue2: #0f3bcc;
  --blue3: #0a265c;
  --blue-glow: rgba(26, 92, 255, 0.15);
  --mid: #0d1221;
  --mid2: #111827;
  --border: rgba(26, 92, 255, 0.15);
  --border2: rgba(232, 234, 242, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ── */
.cursor {
  position: fixed;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 16px solid var(--accent);
  pointer-events: none;
  z-index: 999999;
  transition: transform 0.1s ease, opacity 0.2s;
  transform: translate(-50%, -50%);
}

.cursor-trail {
  position: fixed;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 9px solid var(--blue);
  pointer-events: none;
  z-index: 999998;
  opacity: 0.5;
  transition: transform 0.25s ease;
  transform: translate(-50%, -50%);
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
  background: rgba(4, 6, 15, 0.92);
  backdrop-filter: blur(16px);
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.logo-triangle {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 18px solid var(--accent);
  animation: pulse-tri 2s ease-in-out infinite;
}

@keyframes pulse-tri {
  0%, 100% { border-bottom-color: var(--accent); }
  50%       { border-bottom-color: var(--blue); }
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

nav a {
  color: rgba(232, 234, 242, 0.45);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav a:hover { color: var(--white); }

.nav-cta {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white) !important;
  background: var(--blue) !important;
  padding: 0.6rem 1.4rem;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--accent) !important;
  color: var(--white) !important;
}

/* Mobile nav hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 70px;
  background: rgba(4, 6, 15, 0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  border-top: 1px solid var(--border);
}

.nav-mobile-menu.open { display: flex; }

.nav-mobile-menu a {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 234, 242, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-mobile-menu a:hover { color: var(--white); }
.nav-mobile-menu .nav-cta { font-size: 1rem !important; padding: 0.8rem 2rem !important; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 8rem 3rem 4rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 50%, rgba(26,92,255,0.06) 0%, transparent 60%), var(--black);
}

.hero-bg-tri {
  position: absolute; right: -100px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 55vw solid transparent;
  border-right: 0 solid transparent;
  border-bottom: 100vh solid rgba(26,92,255,0.03);
  pointer-events: none;
}

.hero-bg-tri2 {
  position: absolute; right: 10vw; top: 10vh;
  width: 0; height: 0;
  border-left: 30vw solid transparent;
  border-right: 0 solid transparent;
  border-bottom: 60vh solid rgba(255,60,30,0.02);
  pointer-events: none;
}

.hero-tag {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-tag::before {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 10px solid var(--blue);
}

h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-bottom: 1rem;
}

h1 span.red  { color: var(--accent); }
h1 span.blue { color: var(--blue); }

.hero-sub {
  font-size: 1rem;
  color: rgba(232,234,242,0.4);
  margin-bottom: 3rem;
  max-width: 420px;
  line-height: 1.7;
  margin-top: 1rem;
}

.hero-pills {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.pill {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--border);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: all 0.2s;
  cursor: none;
  background: transparent;
  color: var(--white);
}

.pill:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.pill.active-pill { background: var(--blue); border-color: var(--blue); color: var(--white); }

.hero-tagline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(232,234,242,0.3);
  border-left: 2px solid var(--blue);
  padding-left: 1.2rem;
}

.hero-tagline strong { color: var(--white); font-weight: 700; }

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
  background: rgba(26,92,255,0.04);
}

.marquee-track {
  display: flex;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(232,234,242,0.2);
  white-space: nowrap;
  padding: 0 2.5rem;
}

.marquee-item.accent { color: var(--accent); }
.marquee-item.blue   { color: var(--blue); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SECTION COMMON ── */
section { padding: 7rem 3rem; }

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 8px solid var(--blue);
}

h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: 1.5rem;
}

/* ── SERVICES ── */
#services { background: var(--black2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 4rem;
}

.service-card {
  background: var(--black2);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.service-card:hover { background: var(--mid); }

.service-icon {
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.tri-icon {
  width: 0; height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 34px solid var(--accent);
  display: inline-block;
  transition: border-bottom-color 0.3s;
}

.service-card:nth-child(2) .tri-icon { border-bottom-color: var(--blue); }
.service-card:nth-child(3) .tri-icon { border-bottom-color: #1e6bbc; }

.service-number {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-family: 'Syne', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  color: rgba(26,92,255,0.05);
  line-height: 1;
}

.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.service-card p {
  color: rgba(232,234,242,0.4);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.tag {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border);
  color: rgba(232,234,242,0.35);
  background: rgba(26,92,255,0.05);
}

/* ── WORK ── */
#work { background: var(--mid); }

.work-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
}

/* ── FILTER BUTTONS ── */
.filter-btns {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  background: none;
  color: rgba(232,234,242,0.4);
  cursor: none;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* ── WORK GRID ── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Cards visible by default; JS sets display:none inline to hide */
.work-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--black);
  cursor: none;
  border: 1px solid var(--border);
  transition: border-color 0.3s;
  display: block;
}

.work-card:hover { border-color: rgba(26,92,255,0.4); }

.work-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.work-bg {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-card:hover .work-bg { transform: scale(1.05); }

.work-card:nth-child(1) .work-bg { background: linear-gradient(135deg, #04060f 0%, #060d20 100%); }
.work-card:nth-child(2) .work-bg { background: linear-gradient(135deg, #04060f 0%, #080f25 100%); }
.work-card:nth-child(3) .work-bg { background: linear-gradient(135deg, #060812 0%, #0a1030 100%); }
.work-card:nth-child(4) .work-bg { background: linear-gradient(135deg, #04060f 0%, #070e22 100%); }
.work-card:nth-child(5) .work-bg { background: linear-gradient(135deg, #080810 0%, #0d1228 100%); }
.work-card:nth-child(6) .work-bg { background: linear-gradient(135deg, #04060f 0%, #060c1e 100%); }

.work-tri-overlay {
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 0;
  border-left: 80px solid transparent;
  border-bottom: 80px solid rgba(26,92,255,0.15);
  pointer-events: none;
  transition: all 0.3s;
}

.work-card:hover .work-tri-overlay { border-bottom-color: rgba(26,92,255,0.4); }

.work-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(4,6,15,0.97));
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s;
}

.work-card:hover .work-card-info { transform: translateY(0); opacity: 1; }

.work-card-cat {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.3rem;
}

.work-card h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--white);
}

.work-card p {
  font-size: 0.8rem;
  color: rgba(232,234,242,0.45);
}

.work-card-svg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ── WORK CARD PLAY ── */
.work-card-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: all 0.3s;
  z-index: 3;
  pointer-events: none;
}

.work-card:hover .work-card-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.play-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,60,30,0.9);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,0.2);
}

.play-btn svg { margin-left: 3px; }

.img-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(26,92,255,0.9);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,0.2);
}

.link-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(15,59,204,0.9);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,0.2);
}

/* ── BADGES ── */
.media-type-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-family: 'Syne', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 3px 8px;
  z-index: 3;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
}

.badge-video   { background: var(--accent); color: #fff; }
.badge-image   { background: var(--blue);   color: #fff; }
.badge-gallery { background: var(--blue2);  color: #fff; }
.badge-link    { background: var(--blue3);  color: #fff; border: 1px solid rgba(26,92,255,0.4); }

/* ── APPROACH ── */
#approach { background: var(--black); }

.triangle-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 4rem;
  position: relative;
}

.tri-row {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-bottom: 2px;
}

.tri-cell {
  width: 0; height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid rgba(26,92,255,0.06);
  transition: border-bottom-color 0.3s;
  cursor: none;
}

.tri-cell:hover  { border-bottom-color: rgba(26,92,255,0.35); }
.tri-cell.lit-red  { border-bottom-color: rgba(255,60,30,0.6); }
.tri-cell.lit-blue { border-bottom-color: rgba(26,92,255,0.65); }
.tri-cell.lit-green { border-bottom-color: rgba(15,59,204,0.55); }

.approach-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

.approach-item {
  border-top: 2px solid var(--border2);
  padding-top: 2rem;
  transition: border-color 0.3s;
}

.approach-item:nth-child(1) { border-color: var(--accent); }
.approach-item:nth-child(2) { border-color: var(--blue); }
.approach-item:nth-child(3) { border-color: var(--blue2); }

.approach-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232,234,242,0.2);
  margin-bottom: 1rem;
}

.approach-item h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.approach-item p {
  color: rgba(232,234,242,0.4);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── STATS ── */
.stats-bar {
  background: linear-gradient(135deg, var(--blue2) 0%, var(--blue3) 100%);
  padding: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(26,92,255,0.3);
  border-bottom: 1px solid rgba(26,92,255,0.3);
}

.stats-bar::before {
  content: '';
  position: absolute;
  right: -50px; top: -50px;
  width: 0; height: 0;
  border-left: 200px solid transparent;
  border-bottom: 250px solid rgba(255,255,255,0.03);
}

.stat { text-align: center; }

.stat-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  letter-spacing: -0.04em;
  display: block;
  color: var(--white);
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(232,234,242,0.5);
}

/* ── CONTACT ── */
#contact {
  background: var(--mid);
  text-align: center;
  padding: 8rem 3rem;
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 0; height: 0;
  border-left: 60vw solid transparent;
  border-right: 60vw solid transparent;
  border-bottom: 80vh solid rgba(26,92,255,0.03);
  pointer-events: none;
}

#contact .section-label { justify-content: center; }
#contact h2 { font-size: clamp(2.5rem, 7vw, 6rem); margin-bottom: 1rem; }

#contact p {
  color: rgba(232,234,242,0.35);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.cta-btn {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  padding: 1.2rem 3rem;
  text-decoration: none;
  clip-path: polygon(15px 0%, 100% 0%, calc(100% - 15px) 100%, 0% 100%);
  transition: all 0.2s;
  cursor: none;
  position: relative;
  z-index: 1;
}

.cta-btn:hover { background: var(--accent); }

.contact-socials {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-socials a {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232,234,242,0.25);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-socials a:hover { color: var(--blue); }

/* ── FOOTER ── */
footer {
  padding: 2rem 3rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(232,234,242,0.18);
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--black2);
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(232,234,242,0.4);
}

.footer-tri {
  width: 0; height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 12px solid var(--blue);
}

/* ── ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── LIGHTBOX ── */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(4,6,15,0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

#lightbox.open { opacity: 1; pointer-events: all; }

.lb-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(4,6,15,0.9);
  z-index: 2;
}

.lb-title-wrap { display: flex; flex-direction: column; gap: 2px; }

.lb-cat {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}

.lb-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--white);
}

.lb-close {
  width: 40px; height: 40px;
  background: var(--mid);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  cursor: none;
  clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
  transition: background 0.2s;
  flex-shrink: 0;
}

.lb-close:hover { background: var(--blue); }

.lb-body {
  width: 100%;
  max-width: 960px;
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lb-video-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.lb-video-wrap iframe,
.lb-video-wrap video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
}

.lb-image-wrap {
  width: 100%;
  max-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.lb-image-wrap img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.lb-link-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--black2);
  border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.lb-link-wrap::before {
  content: '';
  position: absolute;
  width: 0; height: 0;
  border-left: 40vw solid transparent;
  border-right: 40vw solid transparent;
  border-bottom: 50vh solid rgba(26,92,255,0.04);
  pointer-events: none;
}

.lb-link-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: rgba(26,92,255,0.1);
  border: 1px solid rgba(26,92,255,0.4);
  display: flex; align-items: center; justify-content: center;
}

.lb-link-url {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  color: rgba(232,234,242,0.3);
  letter-spacing: 0.05em;
}

.lb-open-btn {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--blue);
  padding: 0.8rem 2rem;
  text-decoration: none;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  display: inline-block;
  transition: background 0.2s;
}

.lb-open-btn:hover { background: var(--accent); }

.lb-gallery-wrap {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 8px;
  max-height: 68vh;
  overflow-y: auto;
  padding-right: 4px;
}

.lb-gallery-wrap::-webkit-scrollbar { width: 4px; }
.lb-gallery-wrap::-webkit-scrollbar-track { background: var(--mid); }
.lb-gallery-wrap::-webkit-scrollbar-thumb { background: var(--blue); }

.lb-gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--mid);
  cursor: none;
}

.lb-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.lb-gallery-item:hover img { transform: scale(1.05); }

.lb-gallery-video { aspect-ratio: 16/9; overflow: hidden; background: #000; }
.lb-gallery-video iframe { width: 100%; height: 100%; border: none; }

.lb-desc {
  font-size: 0.85rem;
  color: rgba(232,234,242,0.35);
  text-align: center;
  padding: 0.5rem 0 1rem;
  line-height: 1.6;
  max-width: 600px;
}

#lb-single-img-wrap {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.98);
  z-index: 1010;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
}

#lb-single-img-wrap.show { display: flex; }
#lb-single-img-wrap img { max-width: 90vw; max-height: 80vh; object-fit: contain; }

#lb-single-img-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: var(--mid);
  border: 1px solid var(--border);
  color: var(--white);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: none;
  clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
  transition: background 0.2s;
}

#lb-single-img-close:hover { background: var(--blue); }

.lb-tri-corner {
  position: absolute; bottom: 0; right: 0;
  width: 0; height: 0;
  border-left: 60px solid transparent;
  border-bottom: 60px solid rgba(26,92,255,0.15);
  pointer-events: none;
}

/* ══════════════════════════════════════
   FOLDER LIGHTBOX
══════════════════════════════════════ */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lb-overlay.open { display: flex; }

.lb-box {
  background: var(--mid2);
  border-radius: 4px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

.lb-overlay .lb-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  background: var(--mid);
  position: static;
  width: auto;
  height: auto;
  margin-top: 0;
}

.lb-back {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background 0.15s;
  clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
  flex-shrink: 0;
}

.lb-back:hover { background: var(--blue); }

.lb-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(232,234,242,0.35);
  font-family: 'Syne', sans-serif;
  letter-spacing: 0.05em;
  flex: 1;
}

.lb-breadcrumb span.active { color: var(--white); font-weight: 700; }

.lb-overlay .lb-close {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1rem;
  transition: background 0.2s;
  clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
  margin-left: auto;
  flex-shrink: 0;
}

.lb-overlay .lb-close:hover { background: var(--accent); }

.lb-content { overflow-y: auto; flex: 1; padding: 20px; }
.lb-content::-webkit-scrollbar { width: 4px; }
.lb-content::-webkit-scrollbar-track { background: var(--mid); }
.lb-content::-webkit-scrollbar-thumb { background: var(--blue); }

.folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.folder-card {
  border: 1px solid var(--border);
  padding: 20px 16px 16px;
  cursor: none;
  background: var(--mid);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 12px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.folder-card:hover {
  border-color: var(--blue);
  background: rgba(26,92,255,0.08);
  transform: translateY(-2px);
}

.folder-icon {
  width: 48px; height: 48px;
  background: rgba(26,92,255,0.1);
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
}

.folder-icon i { font-size: 22px; color: var(--blue); }
.folder-name { font-size: 13px; font-weight: 700; font-family: 'Syne', sans-serif; color: var(--white); letter-spacing: 0.03em; }
.folder-count { font-size: 11px; color: rgba(232,234,242,0.35); }

.media-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  font-family: 'Syne', sans-serif;
}

.images-grid { display: grid; gap: 10px; margin-bottom: 28px; }
.images-grid.portrait { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.images-grid.square   { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

.img-card {
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: none;
  background: var(--mid);
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
}

.img-card:hover { transform: scale(1.02); border-color: var(--blue); }
.img-card img { width: 100%; display: block; object-fit: cover; }
.img-card.portrait img { aspect-ratio: 3/4; }
.img-card.square img   { aspect-ratio: 1/1; }

.img-label {
  font-size: 11px;
  color: rgba(232,234,242,0.35);
  padding: 6px 8px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.reels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}

.reel-card {
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: none;
  background: var(--mid);
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
  aspect-ratio: 9/16;
}

.reel-card:hover { transform: scale(1.02); border-color: var(--blue); }
.reel-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }

.reel-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
}

.reel-play {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
}

.reel-play i { font-size: 14px; color: #111; margin-left: 2px; }
.reel-duration { font-size: 10px; color: rgba(255,255,255,0.9); font-weight: 500; }

.reel-yt-badge {
  position: absolute; bottom: 6px; right: 6px;
  background: #ff0000;
  padding: 2px 5px;
  font-size: 9px; color: #fff; font-weight: 700; letter-spacing: 0.03em;
}

.media-lb {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 99999;
  align-items: center; justify-content: center;
}

.media-lb.open { display: flex; }

.media-lb-inner {
  position: relative;
  max-width: 90vw; max-height: 90vh;
  display: flex; align-items: center; justify-content: center;
}

.media-lb img  { max-width: 90vw; max-height: 85vh; object-fit: contain; }
.media-lb iframe { width: min(700px,90vw); height: min(400px,80vh); border: none; }

.media-lb-close {
  position: absolute; top: -14px; right: -14px;
  width: 32px; height: 32px;
  background: var(--white);
  border: none; cursor: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #111;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
  transition: background 0.2s;
}

.media-lb-close:hover { background: var(--accent); color: #fff; }

/* ══════════════════════════════════════
   MOBILE RESPONSIVE
══════════════════════════════════════ */

/* Tablet — 900px */
@media (max-width: 900px) {
  nav { padding: 1.2rem 1.5rem; }
  nav ul { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding: 7rem 1.5rem 3rem; }
  h1 { font-size: clamp(2.8rem, 10vw, 4.5rem); }
  .hero-sub { font-size: 0.95rem; }

  section { padding: 4rem 1.5rem; }
  h2 { font-size: clamp(1.8rem, 6vw, 3rem); }

  .services-grid { grid-template-columns: 1fr; }
  .service-card  { padding: 2rem 1.5rem; }

  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-intro { flex-direction: column; align-items: flex-start; }

  /* show card info always on touch */
  .work-card-info { opacity: 1; transform: translateY(0); }
  .work-card-play { opacity: 1; transform: translate(-50%,-50%) scale(0.85); top: 32%; }

  .filter-btns { gap: 0.4rem; }
  .filter-btn  { font-size: 0.65rem; padding: 0.4rem 0.8rem; }

  .stats-bar { grid-template-columns: repeat(2,1fr); padding: 2rem 1.5rem; gap: 1.5rem; }
  .stat-num  { font-size: 2.2rem; }

  .approach-cols { grid-template-columns: 1fr; gap: 2rem; }
  .triangle-diagram { transform: scale(0.75); transform-origin: center top; }

  #contact { padding: 5rem 1.5rem; }
  .contact-socials { gap: 1.5rem; }

  footer { padding: 1.5rem; flex-direction: column; text-align: center; gap: 0.5rem; }

  .lb-header { padding: 1rem 1.2rem; }
  .lb-title  { font-size: 0.9rem; }
  .lb-body   { margin-top: 70px; padding: 0 0.5rem; }
}

/* Mobile — 600px */
@media (max-width: 600px) {
  nav  { padding: 1rem 1.2rem; }
  .hero { padding: 6rem 1.2rem 2.5rem; }

  h1 { font-size: clamp(2.4rem, 12vw, 3.5rem); line-height: 1; }
  .hero-tag  { font-size: 0.65rem; }
  .hero-sub  { font-size: 0.9rem; max-width: 100%; }
  .hero-pills { gap: 0.6rem; }
  .pill { font-size: 0.7rem; padding: 0.4rem 1rem; }
  .hero-tagline { font-size: 0.95rem; }

  section { padding: 3rem 1.2rem; }
  h2 { font-size: clamp(1.6rem, 7vw, 2.5rem); }

  /* 2-column grid on mobile */
  .work-grid { grid-template-columns: repeat(2,1fr); gap: 0.5rem; }
  .work-card { aspect-ratio: 3/4; }
  .work-card-info { opacity: 1; transform: translateY(0); padding: 0.6rem; }
  .work-card-play { opacity: 1; transform: translate(-50%,-50%) scale(0.85); top: 32%; }
  .work-card h4 { font-size: 0.6rem; }
  .work-card-cat { font-size: 0.5rem; letter-spacing: 0.08em; }
  .work-card p { display: none; }
  .play-btn, .img-btn, .link-btn { width: 30px; height: 30px; }
  .play-btn svg, .img-btn svg, .link-btn svg { width: 12px; height: 12px; }

  .work-intro { flex-direction: column; align-items: flex-start; gap: 1.2rem; margin-bottom: 2rem; }
  .filter-btns { gap: 0.35rem; }
  .filter-btn  { font-size: 0.6rem; padding: 0.4rem 0.75rem; letter-spacing: 0.08em; }

  .stats-bar { grid-template-columns: 1fr 1fr; padding: 1.5rem 1.2rem; gap: 1.2rem; }
  .stat-num   { font-size: 1.8rem; }
  .stat-label { font-size: 0.65rem; }

  .service-card   { padding: 1.8rem 1.2rem; }
  .service-card h3 { font-size: 1.2rem; }
  .service-number  { font-size: 3.5rem; }

  .triangle-diagram { transform: scale(0.55); transform-origin: center top; margin-top: 2rem; margin-bottom: -4rem; }
  .approach-item h3 { font-size: 1.3rem; }

  #contact { padding: 4rem 1.2rem; }
  .cta-btn { padding: 1rem 2rem; font-size: 0.85rem; }
  .contact-socials { gap: 1rem; }
  .contact-socials a { font-size: 0.65rem; }

  #lightbox { padding: 0; }
  .lb-body  { margin-top: 65px; padding: 0; gap: 0.5rem; }
  .lb-desc  { font-size: 0.75rem; padding: 0.5rem 1rem; }
  .lb-gallery-wrap { grid-template-columns: 1fr 1fr; }
  .lb-link-wrap    { aspect-ratio: 4/3; }
  .lb-link-url     { font-size: 0.65rem; word-break: break-all; text-align: center; padding: 0 1rem; }

  footer { padding: 1.2rem; font-size: 0.65rem; }

  /* folder lightbox mobile */
  .folder-grid { grid-template-columns: repeat(2,1fr); }
  .images-grid.portrait,
  .images-grid.square { grid-template-columns: repeat(2,1fr); }
  .reels-grid { grid-template-columns: repeat(2,1fr); }
  .lb-box { border-radius: 0; }
}

/* Very small — 380px */
@media (max-width: 380px) {
  h1 { font-size: 2.2rem; }
  .work-grid  { grid-template-columns: 1fr; }
  .stats-bar  { grid-template-columns: 1fr; }
  /* filter buttons stay in a row even at 380px */
  .filter-btns { flex-direction: row; flex-wrap: wrap; }
  .filter-btn  { flex: 0 0 auto; }
}

/* Touch devices — remove cursor:none */
@media (hover: none) {
  body { cursor: auto; }
  .cursor, .cursor-trail { display: none; }
  .work-card, .pill, .filter-btn, .cta-btn,
  .lb-close, .play-btn, .img-btn, .link-btn { cursor: pointer; }
  .folder-card, .img-card, .reel-card, .lb-back,
  .lb-overlay .lb-close, .media-lb-close { cursor: pointer; }
}