/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[data-netlify-site-id], .netlify-badge, [class*="netlify"], #netlify-badge, [src*="netlify/scripts"] { display: none !important; visibility: hidden !important; height: 0 !important; width: 0 !important; overflow: hidden !important; position: absolute !important; pointer-events: none !important; }

:root {
  --bg: #0c0c0d;
  --bg-soft: #131316;
  --ink: #f3efe6;
  --ink-dim: #8a8580;
  --ink-faint: #3a3733;
  --accent: #FF5E3A;
  --accent-2: #FFB400;
  --line: rgba(243, 239, 230, 0.1);
  --ease: cubic-bezier(0.6, 0.05, 0.1, 1);
}

html { scroll-behavior: smooth; }

/* ===== Preloader ===== */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: #050505;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.preloader.gone { display: none; }
body.loading { overflow: hidden; }

/* Cinematic split lines */
.pre-line {
  position: absolute;
  left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,0,0,0.5) 20%, rgba(232,0,0,0.5) 80%, transparent);
  top: 50%;
  transform: scaleX(0);
  will-change: transform;
  z-index: 1;
}
.pre-line-t {
  animation: lineGrow 0.4s ease 0.1s forwards, lineUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}
.pre-line-b {
  animation: lineGrow 0.4s ease 0.1s forwards, lineDown 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}
@keyframes lineGrow { to { transform: scaleX(1); } }
@keyframes lineUp { to { transform: scaleX(1) translateY(-190px); } }
@keyframes lineDown { to { transform: scaleX(1) translateY(190px); } }

/* Content */
.pre-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center;
  width: min(360px, 85vw);
  will-change: transform, opacity;
}

/* Tag */
.pre-tag {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  margin-bottom: 18px;
  opacity: 0;
  width: 100%; text-align: center;
  animation: tagIn 0.6s ease 1.1s forwards;
}
@keyframes tagIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Logo */
.pre-logo-wrap {
  position: relative;
  width: 180px; height: 180px;
  margin-bottom: 48px;
  will-change: transform;
}

/* Red glow behind logo */
.pre-glow {
  position: absolute; inset: -50px;
  background: radial-gradient(circle, rgba(232,0,0,0.18) 0%, transparent 70%);
  opacity: 0;
  animation: glowIn 0.5s ease 0.7s forwards;
  pointer-events: none;
}
@keyframes glowIn { to { opacity: 1; } }

/* Logo slam */
.pre-logo {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  border-radius: 28px;
  opacity: 0;
  transform: scale(3);
  will-change: transform, opacity;
  animation: logoSlam 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.55s forwards;
}
@keyframes logoSlam {
  0% { opacity: 0; transform: scale(3); }
  50% { opacity: 1; transform: scale(0.92); }
  75% { transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

/* Counter */
.pre-counter-wrap {
  width: 100%;
  opacity: 0;
  animation: fadeUp 0.4s ease 1.2s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.pre-bar {
  width: 100%; height: 2px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  margin-bottom: 16px;
}
.pre-bar-fill {
  height: 100%; width: 0%;
  background: #e80000;
  transition: width 0.12s linear;
  box-shadow: 0 0 8px rgba(232,0,0,0.5);
}

.pre-nums {
  display: flex; justify-content: space-between; align-items: center;
}
.pre-percent {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 14px; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
}
.pre-year {
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 400;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.15);
}

/* Exit */
.preloader.exit {
  animation: preOut 0.6s ease 0.4s forwards;
}
@keyframes preOut { to { opacity: 0; } }
.preloader.exit .pre-content {
  animation: heroOut 0.5s cubic-bezier(0.4, 0, 1, 1) forwards;
}
@keyframes heroOut { to { opacity: 0; transform: scale(2.5); } }
.preloader.exit .pre-line-t {
  animation: lineExitUp 0.4s ease forwards;
}
.preloader.exit .pre-line-b {
  animation: lineExitDown 0.4s ease forwards;
}
@keyframes lineExitUp { to { transform: scaleX(2) translateY(-50vh); opacity: 0; } }
@keyframes lineExitDown { to { transform: scaleX(2) translateY(50vh); opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.5;
  overflow-x: hidden;
  cursor: none;
}

@media (pointer: coarse) { body { cursor: auto; } }

::selection { background: var(--accent); color: var(--bg); }

a { color: inherit; text-decoration: none; }

/* ===== Custom Cursor ===== */
.cursor, .cursor-follower {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}
.cursor {
  width: 8px; height: 8px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s;
}
.cursor-follower {
  width: 36px; height: 36px;
  border: 1px solid var(--ink);
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease), height 0.4s var(--ease), border-color 0.3s;
}
.cursor.grow { width: 60px; height: 60px; background: transparent; border: 1px solid var(--accent); }
.cursor-follower.hidden { opacity: 0; }
@media (pointer: coarse) { .cursor, .cursor-follower { display: none; } }

/* ===== Grain ===== */
.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Progress bar ===== */
.progress-bar {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0;
  background: var(--accent);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; column-gap: 24px;
  padding: 24px 40px;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease);
}
.nav.scrolled {
  padding: 12px 40px;
  background: rgba(12, 12, 13, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 600; justify-self: start; }
.logo-mark {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  background: var(--ink); color: var(--bg);
  border-radius: 50%; font-weight: 800; font-size: 18px; font-family: 'Syne', sans-serif;
  transition: transform 0.4s var(--ease);
}
.nav-logo:hover .logo-mark { transform: rotate(180deg); }
.logo-text {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 20px; letter-spacing: -0.02em; line-height: 1;
  position: relative;
}
.logo-text .dot {
  position: absolute; top: 2px; right: -10px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

.nav-links { display: flex; gap: 40px; list-style: none; justify-self: center; align-items: center; }
.nav-links a {
  position: relative; font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-dim); transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 11px 20px;
  border: 1px solid var(--line); border-radius: 100px;
  transition: all 0.3s; justify-self: end; white-space: nowrap;
}
.nav-cta:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }

.nav-burger { display: none; background: none; border: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-burger span { width: 24px; height: 1.5px; background: var(--ink); transition: 0.3s; }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 490;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 40px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.mobile-links a {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(44px, 12vw, 72px); line-height: 1.1; letter-spacing: -0.02em;
  color: var(--ink-dim); transition: color 0.3s, transform 0.3s var(--ease);
  display: inline-block;
}
.mobile-links a:hover { color: var(--accent); transform: translateX(8px); }
.mobile-menu-foot { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--ink-dim); }
.mobile-menu-foot > a { color: var(--ink); font-family: 'Syne', sans-serif; font-weight: 600; }
.mobile-socials { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.mobile-socials a { font-family: 'Inter', sans-serif; font-weight: 400; font-size: 14px; color: var(--ink-dim); }
.mobile-socials a:hover { color: var(--accent); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 160px 40px 60px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.35;
  animation: float 20s ease-in-out infinite;
}
.blob-1 { width: 500px; height: 500px; background: var(--accent); top: -10%; left: -5%; }
.blob-2 { width: 400px; height: 400px; background: var(--accent-2); bottom: -10%; right: 10%; animation-delay: -7s; }
.blob-3 { width: 300px; height: 300px; background: #6C5CE7; top: 40%; right: 30%; animation-delay: -14s; }
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(60px,-40px) scale(1.1); }
  66% { transform: translate(-40px,30px) scale(0.95); }
}

.hero-marquee {
  position: absolute; top: 96px; left: 0; right: 0;
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 10px 0; z-index: 1;
}
.marquee-track {
  display: flex; white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: 'Syne', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.1em;
  color: var(--ink-dim);
}
.marquee-track > * { margin-right: 30px; flex-shrink: 0; }
.marquee-track .star { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

.hero-content { position: relative; z-index: 2; max-width: 1400px; margin: 0 auto; width: 100%; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-dim); margin-bottom: 40px;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255,94,58,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,94,58,0.6); }
  70% { box-shadow: 0 0 0 12px rgba(255,94,58,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,94,58,0); }
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 9vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 60px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .word {
  display: inline-block;
  transform: translateY(100%);
  animation: rise 0.9s var(--ease) forwards;
}
.hero-title .line:nth-child(1) .word { animation-delay: 0.1s; }
.hero-title .line:nth-child(2) .word { animation-delay: 0.25s; }
.hero-title .line:nth-child(3) .word { animation-delay: 0.4s; }
.hero-title .line:nth-child(4) .word { animation-delay: 0.55s; }
.hero-title .line:nth-child(5) .word { animation-delay: 0.7s; }
@keyframes rise { to { transform: translateY(0); } }
.hero-title .italic { font-style: italic; font-weight: 600; }
.hero-title .outline {
  -webkit-text-stroke: 2px var(--ink); color: transparent;
  font-weight: 400;
}
.hero-title .gradient {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-meta {
  display: flex; gap: 60px; flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid var(--line);
}
.meta-block { display: flex; flex-direction: column; gap: 4px; }
.meta-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-dim); }
.meta-value { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 18px; }

.hero-scroll {
  position: absolute; bottom: 40px; right: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-dim);
}
.scroll-line { width: 1px; height: 60px; background: var(--ink-faint); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 50%;
  background: var(--accent); animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Sections common ===== */
section { padding: 120px 40px; position: relative; }
.section-head { max-width: 1400px; margin: 0 auto 80px; }
.section-num {
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--accent); display: block; margin-bottom: 16px;
}
.section-title {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: clamp(36px, 5vw, 72px); line-height: 1; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-sub { max-width: 540px; color: var(--ink-dim); font-size: 16px; }

/* ===== Work grid ===== */
.work { max-width: 1400px; margin: 0 auto; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.project {
  position: relative;
  transition: transform 0.5s var(--ease);
}
.project-large { grid-column: span 7; }
.project-large + .project { grid-column: span 5; }
.project-wide { grid-column: span 8; }
.project-wide + .project { grid-column: span 4; }
.project:nth-child(5) { grid-column: span 6; }

.project-visual {
  aspect-ratio: 4/3; border-radius: 4px; overflow: hidden; margin-bottom: 20px;
  position: relative; background: var(--bg-soft); border: 1px solid var(--line);
}
.project-large .project-visual, .project:nth-child(5) .project-visual { aspect-ratio: 5/4; }
.visual-inner {
  position: absolute; inset: 0;
  background-size: contain; background-position: center; background-repeat: no-repeat;
  transition: transform 0.6s var(--ease);
}
.project:hover .visual-inner { transform: scale(1.03); }
.project-info {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
}
.project-title {
  font-family: 'Syne', sans-serif; font-weight: 600; font-size: 22px; margin-bottom: 4px;
}
.project-tag { font-size: 13px; color: var(--ink-dim); }
.project-year { font-size: 13px; color: var(--ink-faint); font-family: 'Syne', sans-serif; white-space: nowrap; }

/* ===== Reels & Motion ===== */
.reels { max-width: 1400px; margin: 0 auto; }
.reel-group { margin-bottom: 56px; }
.reel-label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap;
  padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line);
}
.reel-label span { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 20px; }
.reel-label a { font-size: 13px; color: var(--ink-dim); font-family: 'Syne', sans-serif; font-weight: 600; transition: color 0.3s; }
.reel-label a:hover { color: var(--accent); }
.reel-row {
  display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.reel-row::-webkit-scrollbar { display: none; }
.reel-row video {
  flex: 0 0 auto; height: 340px; width: auto;
  border: 1px solid var(--line); border-radius: 4px; background: #000;
  display: block;
}
@media (max-width: 700px) { .reel-row video { height: 280px; } }

/* ===== Big marquee ===== */
.big-marquee {
  overflow: hidden; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.big-marquee-track {
  display: flex; white-space: nowrap;
  animation: marquee 25s linear infinite;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(48px, 8vw, 120px);
  letter-spacing: -0.03em; line-height: 1;
}
.big-marquee-track > * { margin-right: 40px; flex-shrink: 0; }
.dot-big { color: var(--accent); font-size: 0.4em; vertical-align: middle; }

/* ===== About ===== */
.about-grid {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start;
}
.about-portrait { position: sticky; top: 120px; }
.portrait-frame {
  position: relative; aspect-ratio: 3/4; border-radius: 4px; overflow: hidden;
  background: var(--bg-soft); border: 1px solid var(--line);
}
.portrait-inner {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.portrait-inner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,94,58,0.15) 0%, rgba(12,12,13,0.15) 60%, rgba(12,12,13,0.5) 100%);
  pointer-events: none;
}
.portrait-tag {
  position: absolute; bottom: 20px; left: 20px;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  background: var(--bg); padding: 6px 12px; border-radius: 100px;
}
.about-text { max-width: 640px; }
.about-lead {
  font-family: 'Syne', sans-serif; font-weight: 600;
  font-size: clamp(24px, 3vw, 36px); line-height: 1.2; margin-bottom: 32px;
}
.about-text p { color: var(--ink-dim); font-size: 17px; margin-bottom: 24px; }
.about-text em { color: var(--ink); font-style: italic; }
.about-close { color: var(--ink); font-size: 18px; border-left: 2px solid var(--accent); padding-left: 20px; margin-top: 32px; }
.about-signoff {
  font-family: 'Syne', sans-serif; font-weight: 600; font-size: 20px; color: var(--ink);
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line);
}
.about-signoff .issue-mark {
  color: var(--accent); font-style: italic;
}
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line);
}
.stat-num {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: clamp(36px, 4vw, 56px); line-height: 1; display: block; margin-bottom: 8px;
}
.stat-label { font-size: 12px; color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.1em; }

/* ===== Services ===== */
.services-list { max-width: 1400px; margin: 0 auto; border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 120px 1fr 240px;
  align-items: center; gap: 40px;
  padding: 40px 0; border-bottom: 1px solid var(--line);
  transition: padding 0.4s var(--ease);
}
.service:hover { padding-left: 20px; }
.service-num { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 14px; color: var(--accent); }
.service-body h3 {
  font-family: 'Syne', sans-serif; font-weight: 600;
  font-size: clamp(24px, 3vw, 40px); margin-bottom: 12px; letter-spacing: -0.01em;
  transition: color 0.3s;
}
.service:hover .service-body h3 { color: var(--accent); }
.service-body p { color: var(--ink-dim); max-width: 560px; }
.service-tags { font-size: 12px; color: var(--ink-faint); text-align: right; }

/* ===== Testimonial ===== */
.testimonial {
  max-width: 1000px; margin: 0 auto; text-align: center;
  padding: 140px 40px;
}
.quote-mark {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 120px;
  line-height: 1; color: var(--accent); margin-bottom: -40px;
}
.testimonial blockquote {
  font-family: 'Syne', sans-serif; font-weight: 600;
  font-size: clamp(28px, 4vw, 48px); line-height: 1.25; letter-spacing: -0.01em;
  margin-bottom: 32px;
}
.testimonial em { font-style: italic; color: var(--accent); }
.testimonial cite { font-size: 14px; color: var(--ink-dim); font-style: normal; }

/* ===== Contact ===== */
.contact { max-width: 1400px; margin: 0 auto; padding-top: 80px; }
.contact-eyebrow { font-size: 13px; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 24px; }
.contact-title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(48px, 8vw, 120px); line-height: 0.95; letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.contact-title .gradient {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.contact-sub { font-size: 18px; color: var(--ink-dim); max-width: 540px; margin-bottom: 48px; }
.contact-actions {
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
  padding-top: 40px; border-top: 1px solid var(--line);
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 32px; background: var(--accent); color: var(--bg);
  border-radius: 100px; font-family: 'Syne', sans-serif; font-weight: 600; font-size: 16px;
  transition: all 0.4s var(--ease);
}
.btn-primary:hover { background: var(--ink); gap: 18px; }
.socials { display: flex; gap: 24px; flex-wrap: wrap; }
.socials a { font-size: 14px; color: var(--ink-dim); position: relative; }
.socials a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--accent); transition: width 0.3s; }
.socials a:hover { color: var(--ink); }
.socials a:hover::after { width: 100%; }
.contact-footer {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 100px; padding-top: 32px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--ink-faint);
}

/* ===== Responsive — Tablet ===== */
@media (max-width: 900px) {
  .nav { padding: 20px 24px; grid-template-columns: 1fr auto; }
  .nav.scrolled { padding: 14px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; justify-self: end; }
  .logo-text { font-size: 17px; }
  .logo-text .dot { width: 5px; height: 5px; right: -8px; top: 1px; }

  section { padding: 80px 20px; }
  .section-head { margin-bottom: 48px; }
  .hero { padding: 130px 20px 50px; }
  .hero-meta { gap: 30px; }
  .hero-scroll { display: none; }

  .work-grid { grid-template-columns: 1fr; }
  .project-large, .project-wide, .project:nth-child(5), .project-large + .project, .project-wide + .project { grid-column: span 1; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-portrait { position: relative; top: 0; max-width: 320px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  .service { grid-template-columns: 1fr; gap: 12px; }
  .service-tags { text-align: left; }
  .service:hover { padding-left: 0; }

  .contact-actions { flex-direction: column; align-items: flex-start; }
  .contact-footer { flex-direction: column; }
}

/* ===== Responsive — Mobile ===== */
@media (max-width: 600px) {
  section { padding: 60px 16px; }

  /* Nav */
  .nav { padding: 14px 16px; }
  .nav.scrolled { padding: 10px 16px; }
  .logo-mark { width: 30px; height: 30px; font-size: 14px; }
  .logo-text { font-size: 14px; }
  .logo-text .dot { width: 4px; height: 4px; top: 1px; right: -6px; }
  .nav-logo { gap: 8px; }

  /* Preloader */
  .pre-logo-wrap { width: 110px; height: 110px; margin-bottom: 28px; }
  .pre-logo { border-radius: 18px; }
  .pre-glow { inset: -24px; }
  .pre-tag { font-size: 9px; letter-spacing: 0.3em; margin-bottom: 24px; }
  .pre-content { width: min(240px, 85vw); }
  .pre-line { left: 4%; right: 4%; }

  /* Hero */
  .hero { padding: 110px 16px 40px; min-height: 100svh; }
  .hero-title { font-size: clamp(36px, 11vw, 64px); margin-bottom: 40px; }
  .hero-title .outline { -webkit-text-stroke: 1.5px var(--ink); }
  .hero-eyebrow { font-size: 11px; margin-bottom: 24px; }
  .hero-marquee { top: 70px; padding: 8px 0; }
  .marquee-track { font-size: 11px; }
  .hero-meta { gap: 20px; padding-top: 24px; flex-direction: row; }
  .meta-value { font-size: 14px; }
  .meta-label { font-size: 9px; }
  .meta-block { gap: 2px; }

  /* Sections */
  .section-head { margin-bottom: 40px; }
  .section-title { font-size: clamp(28px, 8vw, 48px); }
  .section-sub { font-size: 14px; }

  /* Clients */
  .client { padding: 40px 0; }
  .client-name { font-size: clamp(28px, 10vw, 48px); }
  .client-tag { font-size: 12px; }
  .client-ig { font-size: 13px; padding: 6px 14px; }
  .client-gallery { gap: 12px; margin-bottom: 40px; }
  .work-item img, .work-item video { max-width: 80vw; max-height: 360px; }
  .work-item.work-video video { max-height: 400px; }
  .work-item.work-logo img { max-width: 70vw; max-height: 200px; }
  .work-item.work-square img { max-width: 70vw; max-height: 280px; }
  .work-item:hover { transform: none; }
  .gallery-nav button { width: 38px; height: 38px; font-size: 16px; }

  /* Marquee */
  .big-marquee { padding: 20px 0; }
  .big-marquee-track { font-size: clamp(32px, 10vw, 60px); }

  /* About */
  .about-portrait { max-width: 100%; margin: 0 auto; }
  .portrait-frame { aspect-ratio: 4/5; }
  .about-lead { font-size: clamp(20px, 5vw, 28px); margin-bottom: 24px; }
  .about-text p { font-size: 15px; margin-bottom: 18px; }
  .about-close { font-size: 16px; padding-left: 16px; }
  .about-signoff { font-size: 17px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .stat-num { font-size: clamp(28px, 8vw, 44px); }
  .stat-label { font-size: 10px; }

  /* Services */
  .service { padding: 24px 0; gap: 8px; }
  .service-num { font-size: 12px; margin-bottom: 4px; }
  .service-body h3 { font-size: clamp(20px, 5vw, 30px); margin-bottom: 8px; }
  .service-body p { font-size: 14px; line-height: 1.6; }
  .service-tags { font-size: 11px; margin-top: 4px; color: var(--ink-faint); }

  /* Testimonial */
  .testimonial { padding: 80px 16px; }
  .quote-mark { font-size: 80px; margin-bottom: -24px; }
  .testimonial blockquote { font-size: clamp(20px, 5.5vw, 36px); }
  .testimonial cite { font-size: 13px; }

  /* Contact */
  .contact { padding-top: 60px; }
  .contact-eyebrow { font-size: 12px; }
  .contact-title { font-size: clamp(28px, 9vw, 64px); margin-bottom: 20px; }
  .contact-sub { font-size: 14px; margin-bottom: 28px; }
  .contact-form { gap: 20px; margin-bottom: 32px; }
  .contact-form input, .contact-form textarea { font-size: 16px; padding: 12px 0; }
  .btn-primary { padding: 16px 28px; font-size: 15px; width: 100%; justify-content: center; }
  .btn-ghost { font-size: 12px; padding: 10px 16px; text-align: center; }
  .btn-ghost span { word-break: break-all; }
  .socials { gap: 16px; }
  .socials a { font-size: 13px; }
  .contact-footer { margin-top: 60px; font-size: 11px; }

  /* Lightbox */
  .lightbox { padding: 16px; }
  .lightbox-stage img, .lightbox-stage video { max-width: 96vw; max-height: 70vh; border-radius: 4px; }
  .lightbox-btn { width: 40px; height: 40px; font-size: 16px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; }

  /* Mobile menu */
  .mobile-links a { font-size: clamp(36px, 10vw, 56px); }
  .mobile-menu { padding: 24px; gap: 32px; }
  .mobile-menu-foot { font-size: 12px; }
  .mobile-socials { gap: 6px 14px; }
  .mobile-socials a { font-size: 13px; }
}

/* ===== Responsive — Small phones ===== */
@media (max-width: 380px) {
  .logo-text { font-size: 12px; letter-spacing: -0.02em; }
  .logo-mark { width: 26px; height: 26px; font-size: 12px; }
  .logo-text .dot { width: 3px; height: 3px; right: -5px; }
  .nav-logo { gap: 6px; }
  .pre-logo-wrap { width: 80px; height: 80px; margin-bottom: 20px; }
  .pre-logo { border-radius: 14px; }
  .pre-glow { inset: -16px; }
  .pre-tag { font-size: 8px; letter-spacing: 0.2em; margin-bottom: 16px; }
  .pre-content { width: min(200px, 85vw); }
  .hero { padding: 100px 12px 32px; }
  .hero-title { font-size: 32px; }
  .hero-marquee { top: 62px; }
  .hero-meta { flex-direction: column; gap: 12px; }
  .meta-block { flex-direction: row; gap: 8px; align-items: center; }
  .client-name { font-size: 28px; }
  .contact-title { font-size: 28px; }
  .about-stats { grid-template-columns: 1fr; }
  .big-marquee-track { font-size: 28px; }
  .testimonial blockquote { font-size: 18px; }
  .service-body h3 { font-size: 20px; }
  .btn-primary { padding: 14px 20px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== Per-client sections ===== */
.clients { max-width: 1400px; margin: 0 auto; }
.client { position: relative; padding: 56px 0; border-top: 1px solid var(--line); }
.client:first-of-type { border-top: none; }
.client-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 30px;
  margin-bottom: 32px; flex-wrap: wrap;
}
.client-banner { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.client-num {
  font-family: 'Syne', sans-serif; font-weight: 600; font-size: 13px; color: var(--accent);
  margin-bottom: 6px; line-height: 1;
}
.client-name {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(40px, 6vw, 88px); line-height: 0.9; letter-spacing: -0.03em;
}
.client-tag {
  font-size: 13px; color: var(--ink-dim); letter-spacing: 0.02em;
  margin-left: 4px; margin-bottom: 5px; line-height: 1; max-width: 320px;
}
.client-ig {
  font-family: 'Syne', sans-serif; font-weight: 600; font-size: 15px;
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 100px;
  transition: all 0.3s; white-space: nowrap;
}
.client-ig:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.client-ig .ig-arrow { display: inline-block; transition: transform 0.3s; }
.client-ig:hover .ig-arrow { transform: translate(2px,-2px); }

.client-gallery {
  display: flex; flex-wrap: nowrap; gap: 16px; align-items: center;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px; margin-bottom: 56px;
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab;
}
.client-gallery::-webkit-scrollbar { display: none; }
.client-gallery.dragging { cursor: grabbing; scroll-snap-type: none; }
.work-item {
  margin: 0; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 4px; overflow: hidden; flex: 0 0 auto;
  max-width: 100%; position: relative;
  scroll-snap-align: center;
  transition: transform 0.5s var(--ease), border-color 0.3s;
}
.work-item:first-child { scroll-snap-align: start; }
.work-item:hover { transform: translateY(-4px); border-color: var(--accent); }
.work-item img, .work-item video {
  display: block; max-width: 720px; max-height: 440px; width: auto; height: auto;
  transition: transform 0.6s var(--ease);
}
.work-item.work-video video { max-height: 480px; }
.work-item.work-logo img { max-width: 400px; max-height: 240px; }
.work-item.work-square img { max-width: 320px; max-height: 320px; }
.work-item:hover img, .work-item:hover video { transform: scale(1.02); }

/* Slide arrows */
.gallery-nav {
  position: absolute; right: 0; bottom: 4px;
  display: flex; gap: 8px;
}
.gallery-nav button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  font-size: 18px; display: grid; place-items: center; transition: all 0.3s;
}
.gallery-nav button:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.gallery-nav button:disabled { opacity: 0.25; pointer-events: none; }

/* ===== Contact form ===== */
.contact-form {
  display: flex; flex-direction: column; gap: 24px;
  max-width: 720px; margin-bottom: 48px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim);
}
.contact-form input, .contact-form textarea {
  background: transparent; border: none; border-bottom: 1px solid var(--line);
  color: var(--ink); font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 300;
  padding: 10px 0; resize: vertical; transition: border-color 0.3s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--ink-faint); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.form-submit { align-self: flex-start; border: none; font-family: 'Syne', sans-serif; cursor: pointer; }
.form-submit:disabled { opacity: 0.6; cursor: wait; }
.form-status { font-size: 14px; color: var(--ink-dim); min-height: 20px; margin-top: -8px; }
.form-status.success { color: #55EFC4; }
.form-status.error { color: var(--accent); }
.btn-ghost {
  font-size: 13px; color: var(--ink-dim); border: 1px solid var(--line);
  padding: 12px 20px; border-radius: 100px; transition: all 0.3s;
}
.btn-ghost:hover { color: var(--ink); border-color: var(--ink-dim); }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8, 8, 9, 0.96);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  padding: 40px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-stage { display: grid; place-items: center; width: 100%; }
.lightbox-stage img, .lightbox-stage video {
  max-width: min(94vw, 1300px); max-height: 84vh;
  border-radius: 6px; width: auto; height: auto;
}
.lightbox-stage video { background: #000; }
.lightbox-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(12,12,13,0.6);
  color: var(--ink); font-size: 20px;
  display: grid; place-items: center; transition: all 0.3s; z-index: 2; cursor: pointer;
}
.lightbox-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(12,12,13,0.6);
  color: var(--ink); font-size: 18px; transition: all 0.3s; cursor: pointer;
  display: grid; place-items: center;
}
.lightbox-close:hover { background: var(--ink); color: var(--bg); }
.lightbox-count {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  font-size: 12px; letter-spacing: 0.15em; color: var(--ink-dim); font-family: 'Syne', sans-serif;
}

/* ===== Back to top ===== */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 400;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: var(--bg);
  border: none; display: grid; place-items: center;
  cursor: pointer; opacity: 0; transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s var(--ease), background 0.3s;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(255,94,58,0.3);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--ink); box-shadow: 0 4px 20px rgba(243,239,230,0.2); }

/* ===== Freelance badge ===== */
.freelance-badge {
  position: fixed; top: 50%; right: -4px; z-index: 400;
  transform: translateY(-50%) rotate(0deg);
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 12px;
  background: rgba(12,12,13,0.85); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 100px 0 0 100px;
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-dim);
  opacity: 0; transform: translateX(100%);
  transition: opacity 0.4s, transform 0.4s var(--ease);
}
.freelance-badge.visible { opacity: 1; transform: translateX(0); }
.fb-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #55EFC4;
  box-shadow: 0 0 0 0 rgba(85,239,196,0.5);
  animation: fbPulse 2s infinite;
}
@keyframes fbPulse {
  0% { box-shadow: 0 0 0 0 rgba(85,239,196,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(85,239,196,0); }
  100% { box-shadow: 0 0 0 0 rgba(85,239,196,0); }
}

/* ===== Section dots ===== */
.section-dots {
  position: fixed; left: 24px; top: 50%; z-index: 400;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px;
  opacity: 0; transition: opacity 0.4s;
}
.section-dots.visible { opacity: 1; }
.dot-link {
  display: block; width: 12px; height: 12px;
  display: grid; place-items: center;
}
.dot-link span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-faint);
  transition: all 0.3s var(--ease);
}
.dot-link.active span {
  width: 8px; height: 8px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255,94,58,0.4);
}
.dot-link:hover span { background: var(--ink-dim); }

/* ===== Social icons ===== */
.socials a {
  display: inline-flex; align-items: center; gap: 6px;
}
.socials a svg { flex-shrink: 0; transition: transform 0.3s var(--ease); }
.socials a:hover svg { transform: translateY(-2px); }

/* ===== Work item tilt glow ===== */
.work-item { transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.work-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(255,94,58,0.12);
}

/* ===== Service reveal ===== */
.service { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), padding 0.4s var(--ease); }
.service.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .client-name { font-size: clamp(34px, 9vw, 56px); }
  .client-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .work-item img, .work-item video { max-height: 440px; max-width: 720px; }
  .gallery-nav { bottom: 4px; }
  .lightbox-prev { left: 12px; } .lightbox-next { right: 12px; }
  .lightbox-close { right: 12px; }
  .section-dots { display: none; }
  .freelance-badge { display: none; }
  .back-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}
@media (max-width: 700px) {
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .client-head { gap: 12px; margin-bottom: 20px; }
  .client-banner { gap: 12px; }
  .gallery-nav { position: static; justify-content: flex-end; margin-top: 12px; }
  .whatsapp-float { bottom: 16px; left: 16px; width: 48px; height: 48px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
  .back-to-top { bottom: 16px; right: 16px; width: 42px; height: 42px; }
}

/* ===== WhatsApp floating button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  left: 32px;
  z-index: 500;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg { flex-shrink: 0; }

/* ===== Music disc ===== */
.music-disc {
  position: fixed;
  bottom: 100px;
  left: 32px;
  z-index: 500;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: #1a1a1a;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.music-disc:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.disc-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(#111 0deg, #222 90deg, #111 180deg, #1a1a1a 270deg, #111 360deg);
  position: relative;
  animation: none;
}
.music-disc.playing .disc-inner {
  animation: disc-spin 2s linear infinite;
}
@keyframes disc-spin {
  to { transform: rotate(360deg); }
}
.disc-groove {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  inset: 6px;
}
.disc-groove-2 { inset: 10px; }
.disc-groove-3 { inset: 14px; }
.disc-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent, #ff6b35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.disc-label svg { width: 10px; height: 10px; }
.music-disc.playing .disc-label svg {
  display: none;
}
.music-disc.playing .disc-label::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}
@media (max-width: 900px) {
  .music-disc { bottom: 80px; left: 20px; width: 44px; height: 44px; }
}
@media (max-width: 600px) {
  .music-disc { bottom: 72px; left: 16px; width: 40px; height: 40px; }
}
