:root {
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --text: #f5f5f5;
  --text-dim: #9a9a9a;
  --border: rgba(255, 255, 255, 0.12);
  --accent: #ffffff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

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

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  mix-blend-mode: difference;
}

.logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 500;
}

.nav-links a:hover { opacity: 0.6; }

.nav-cta {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #000;
  padding: 10px 22px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  object-fit: cover;
  object-position: 58% 38%;
  filter: brightness(0.85);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.93) 0%, rgba(0,0,0,0.6) 32%, rgba(0,0,0,0.25) 58%, rgba(0,0,0,0.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px 90px;
  max-width: 720px;
}

.hero-kicker {
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--text-dim);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 0.95;
  margin-bottom: 26px;
}

.hero-title-main {
  display: inline-block;
  font-size: clamp(56px, 9vw, 128px);
  letter-spacing: -3px;
  line-height: 0.9;
}

.hero-title-sub {
  display: inline-block;
  font-weight: 700;
}

.hero-desc {
  font-size: 17px;
  color: #d8d8d8;
  max-width: 480px;
  margin-bottom: 34px;
}

.hero-desc strong { color: #fff; }

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 600;
}

.hero-cta .circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}

.hero-cta:hover .circle { background: var(--accent); color: #000; }

.hero-tags {
  position: absolute;
  right: 48px;
  bottom: 168px;
  z-index: 2;
  text-align: right;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-transform: uppercase;
}

.hero-tags span:last-child { color: #fff; }

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text-dim);
  font-size: 20px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Categories ---------- */
.categories {
  display: flex;
  height: min(640px, 68vh);
  min-height: 420px;
}

.cat-card {
  position: relative;
  overflow: hidden;
  flex: 1 1 0%;
  min-width: 0;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  transition: flex-grow 0.6s cubic-bezier(0.22, 1, 0.36, 1), flex-basis 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.cat-card:last-child { border-right: none; }

/* Exact hover width (9:16 to match native video format) is computed and set inline by js/main.js */

.cat-card img, .cat-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
}

.cat-info {
  position: relative;
  z-index: 2;
  padding: 22px 20px;
  width: 100%;
}

.cat-info h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.cat-info span {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.cat-arrow {
  margin-top: 12px;
  font-size: 15px;
}

/* ---------- About / Showreel ---------- */
.about {
  padding: 130px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.about h2 {
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 26px;
}

.about h2 em { font-style: italic; font-weight: 400; color: var(--text-dim); }

.about p {
  color: var(--text-dim);
  font-size: 15.5px;
  max-width: 420px;
  margin-bottom: 32px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-dim);
}

.showreel {
  position: relative;
  aspect-ratio: 16/9;
  cursor: pointer;
}

.showreel-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.6s ease;
}

.showreel:hover .showreel-frame {
  transform: scale(1.035);
  box-shadow: 0 40px 100px rgba(0,0,0,0.7);
}

.showreel-frame img, .showreel-frame video { width: 100%; height: 100%; object-fit: cover; }

.showreel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 40%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 28px;
}

.showreel-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 1px;
  color: #ddd;
}

/* ---------- Gallery ---------- */
.gallery-section {
  padding: 40px 0 100px;
  position: relative;
}

.gallery-track-wrap {
  overflow: hidden;
  position: relative;
}

.gallery-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 48px;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar { display: none; }

.gallery-item {
  flex: 0 0 auto;
  width: 260px;
  aspect-ratio: 3/4;
  border-radius: 10px;
  overflow: hidden;
  scroll-snap-align: start;
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

.gallery-nav {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 20px 48px 0;
}

.gnav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.gnav-btn:hover { background: rgba(255,255,255,0.1); }

/* ---------- Clients ---------- */
.clients {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.clients-label {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.4;
  max-width: 90px;
  flex-shrink: 0;
}

.clients-logos {
  display: flex;
  align-items: center;
  gap: 46px;
  flex-wrap: wrap;
  flex: 1;
  opacity: 0.75;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 17px;
}

/* ---------- Footer / Contact ---------- */
.footer-cta {
  padding: 110px 48px 60px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}

.footer-cta h2 {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.05;
}

.footer-cta h2 em { font-style: italic; font-weight: 400; color: var(--text-dim); }

.footer-col p {
  color: var(--text-dim);
  font-size: 14.5px;
  margin-bottom: 22px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 12px 24px;
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-outline:hover { background: rgba(255,255,255,0.08); }

.footer-col.contact-info p { margin-bottom: 10px; font-size: 14.5px; color: var(--text); }
.footer-col.contact-info .muted { color: var(--text-dim); font-size: 13px; margin-bottom: 18px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 48px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
}

.footer-bottom-links { display: flex; gap: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .categories { display: grid; grid-template-columns: repeat(3, 1fr); height: auto; }
  .cat-card { flex: none; aspect-ratio: 3 / 4; border-bottom: 1px solid var(--border); transition: none; }
  .cat-card:hover, .categories:has(.cat-card:hover) .cat-card:not(:hover) { flex: none; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-cta { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header { padding: 20px; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .container { padding: 0 20px; }
  .hero-content { padding: 0 20px 70px; }
  .hero-tags { display: none; }
  .categories { display: grid; grid-template-columns: repeat(2, 1fr); height: auto; }
  .clients { padding: 30px 20px; }
  .gallery-track, .gallery-nav { padding-left: 20px; padding-right: 20px; }
  .footer-cta { padding: 70px 20px 40px; }
  .footer-bottom { padding: 20px; flex-direction: column; gap: 10px; }
}
