/* ==========================================================================
   VYTAL STUDIO — Design system
   ========================================================================== */

:root {
  --bg: #0a0909;
  --bg-2: #121010;
  --bg-3: #1a1717;
  --ink: #f3efe8;
  --ink-2: #c9c3b9;
  --muted: #847e76;
  --line: rgba(243, 239, 232, 0.1);
  --line-2: rgba(243, 239, 232, 0.18);
  --red: #ff2d2d;
  --red-deep: #c4141b;
  --red-glow: rgba(255, 45, 45, 0.35);

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
.touch-only { display: none; }
@media (hover: none) { .hover-only { display: none; } .touch-only { display: inline; } }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--red); color: #fff; }

/* Film grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 112%;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.88;
  margin: 0;
}
.h1 { font-size: clamp(2.5rem, 10.5vw, 10.5rem); }
.h2 { font-size: clamp(2.4rem, 6.4vw, 6.2rem); }
.h3 { font-size: clamp(1.6rem, 3vw, 2.6rem); }
.serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
}
.red { color: var(--red); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px var(--red-glow);
}
.lead { font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.45; color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow: hidden;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  isolation: isolate;
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px) rotate(-45deg); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 40px -10px var(--red-glow); }
.btn-red:hover { background: #ff4545; transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, 0.04); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: #fff; transform: translateY(-2px); }

.link-u {
  position: relative;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 500;
}
.link-u::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: currentColor;
  transform: scaleX(0.3); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.link-u:hover::after { transform: scaleX(1); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.4s, backdrop-filter 0.4s, transform 0.5s var(--ease);
}
.site-header.scrolled {
  background: rgba(10, 9, 9, 0.72);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.site-header.hide { transform: translateY(-100%); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 50px; width: auto; }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 100px;
  transition: color 0.3s, background 0.3s;
}
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 50%;
  background: var(--red);
}
.nav-cta { padding: 12px 20px; font-size: 13px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.menu-toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 19px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 22.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 110px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); }
.mobile-menu ul { list-style: none; margin: 0 0 auto; padding: 0; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu ul a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0;
  font-family: var(--f-display); font-weight: 800; font-stretch: 112%;
  text-transform: uppercase; font-size: clamp(2rem, 10vw, 3.4rem); line-height: 1;
}
.mobile-menu ul a small { font-family: var(--f-body); font-size: 12px; color: var(--muted); font-weight: 500; }
.mobile-menu .mm-foot { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; gap: 16px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: clamp(32px, 6vh, 72px);
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 9, 9, 0.55) 0%, rgba(10, 9, 9, 0.1) 30%, rgba(10, 9, 9, 0.35) 60%, var(--bg) 100%),
    radial-gradient(120% 80% at 10% 100%, rgba(196, 20, 27, 0.35), transparent 60%);
}
.hero-inner { width: 100%; }
.hero h1 { margin-top: 22px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero h1 .line > span { display: inline-block; }
.hero-bottom {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: end;
  gap: 32px;
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 28px;
  border-top: 1px solid var(--line-2);
}
.hero-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.hero-meta {
  position: absolute;
  top: 110px; right: var(--gutter);
  text-align: right;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2);
}
.hero-meta .rec { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .rec::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  animation: blink 1.4s infinite;
}
@keyframes blink { 50% { opacity: 0.2; } }

/* Page hero (inner pages) */
.page-hero { padding: clamp(150px, 20vh, 220px) 0 clamp(48px, 7vw, 96px); position: relative; overflow-x: clip; }
.page-hero .display { margin-top: 24px; }
.page-hero .lead { margin-top: 28px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.page-hero::before {
  content: "";
  position: absolute; top: -20%; right: -10%;
  width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(196, 20, 27, 0.22), transparent 62%);
  pointer-events: none; z-index: -1;
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
  background: var(--bg);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 36px; padding-right: 36px;
  font-family: var(--f-display); font-weight: 800; font-stretch: 112%;
  text-transform: uppercase; font-size: clamp(1.6rem, 3.4vw, 3rem); line-height: 1;
  white-space: nowrap;
}
.marquee-item .serif { color: var(--ink-2); font-size: 1.05em; }
.marquee-item .star { color: var(--red); font-size: 0.7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section-sm { padding: clamp(56px, 8vw, 100px) 0; }
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section-head .display { margin-top: 18px; }
.bg-2 { background: var(--bg-2); }

/* Statement */
.statement { font-family: var(--f-display); font-weight: 600; font-stretch: 100%; font-size: clamp(1.8rem, 4.2vw, 4rem); line-height: 1.08; letter-spacing: -0.025em; max-width: 22ch; margin: 0; }
.statement .serif { color: var(--red); }
.statement .dim { color: var(--muted); }
.statement-grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.statement-side { font-size: 14px; color: var(--muted); }
.statement-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(48px, 7vw, 96px); padding-top: 32px; border-top: 1px solid var(--line); }
.stat .num { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; }
.stat .num sup { color: var(--red); font-size: 0.45em; vertical-align: top; margin-left: 4px; }
.stat p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- Service list (home) ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1.2fr 1fr 60px;
  align-items: center;
  gap: 24px;
  padding: clamp(22px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.5s var(--ease);
}
.svc-row::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255, 45, 45, 0.1), transparent 70%);
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.svc-row:hover::before { opacity: 1; }
.svc-num { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.svc-title { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(1.5rem, 3.4vw, 3rem); line-height: 1; transition: transform 0.5s var(--ease), color 0.3s; }
.svc-row:hover .svc-title { transform: translateX(12px); }
.svc-desc { color: var(--muted); font-size: 15px; max-width: 42ch; }
.svc-arrow {
  justify-self: end;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  transition: background 0.3s, border-color 0.3s, transform 0.5s var(--ease);
}
.svc-row:hover .svc-arrow { background: var(--red); border-color: var(--red); transform: rotate(-45deg); }
.svc-preview {
  position: fixed;
  top: 0; left: 0;
  width: 300px; aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  pointer-events: none;
  z-index: 30;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85) rotate(-4deg);
  transition: opacity 0.3s, transform 0.5s var(--ease);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
}
.svc-preview.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-4deg); }
.svc-preview img, .svc-preview video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.3s; }
.svc-preview .active { opacity: 1; }

/* ---------- Work grid ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(220px, 25vw, 380px);
  grid-auto-flow: dense;
  gap: clamp(12px, 1.6vw, 22px);
}
.work-grid.filtered .work-card { grid-column: span 4; }
.work-card {
  position: relative;
  grid-column: span 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
  cursor: pointer;
  isolation: isolate;
}
.work-card.w-8 { grid-column: span 8; }
.work-card.w-6 { grid-column: span 6; }
.work-card.w-5 { grid-column: span 5; }
.work-card.w-7 { grid-column: span 7; }
.work-card.w-3 { grid-column: span 3; }
.work-card .media { position: relative; height: 100%; overflow: hidden; }
.work-card img, .work-card video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease), opacity 0.5s;
}
.work-card video { opacity: 0; }
.work-card.playing video { opacity: 1; }
.work-card:hover img, .work-card:hover video { transform: scale(1.05); }
.work-card .media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.75));
  z-index: 1;
}
.work-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  padding: clamp(14px, 1.8vw, 24px);
}
.work-info h3 { margin: 0; font-family: var(--f-display); font-weight: 700; font-stretch: 105%; font-size: clamp(1.05rem, 1.5vw, 1.4rem); line-height: 1.1; text-transform: uppercase; letter-spacing: 0; }
.work-info p { margin: 4px 0 0; font-size: 13px; color: var(--ink-2); }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 100px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(10, 9, 9, 0.6);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}
.work-card .play {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(10, 9, 9, 0.55); border: 1px solid var(--line-2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s, transform 0.4s var(--ease);
}
.work-card:hover .play { background: var(--red); border-color: var(--red); transform: scale(1.1); }
.work-card.hidden { display: none; }

/* Filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.filter {
  padding: 10px 18px; border-radius: 100px;
  border: 1px solid var(--line-2);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  transition: all 0.3s;
}
.filter:hover { color: var(--ink); border-color: var(--ink-2); }
.filter.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter .count { opacity: 0.55; margin-left: 4px; font-variant-numeric: tabular-nums; }

/* ---------- Cover art rail ---------- */
.rail-wrap { overflow: hidden; }
.rail {
  display: flex;
  gap: clamp(12px, 1.6vw, 22px);
  width: max-content;
  animation: marquee 60s linear infinite;
}
.rail:hover { animation-play-state: paused; }
.rail .cover {
  width: clamp(220px, 24vw, 360px);
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  flex: none;
  cursor: pointer;
}
.rail .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.rail .cover:hover img { transform: scale(1.06); }
.rail .cover span {
  position: absolute; left: 12px; bottom: 12px;
  opacity: 0; transform: translateY(8px);
  transition: all 0.4s var(--ease);
}
.rail .cover:hover span { opacity: 1; transform: none; }

/* ---------- Showreel band ---------- */
.reel {
  position: relative;
  border-radius: clamp(14px, 2vw, 24px);
  overflow: hidden;
  aspect-ratio: 16 / 8;
  cursor: pointer;
}
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; }
.reel::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); transition: background 0.4s; }
.reel:hover::after { background: rgba(0, 0, 0, 0.2); }
.reel-btn {
  position: absolute; z-index: 2;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(110px, 12vw, 160px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
  display: grid; place-items: center;
  box-shadow: 0 0 0 0 var(--red-glow);
  animation: pulse 2.4s infinite;
  transition: transform 0.5s var(--ease);
}
.reel:hover .reel-btn { transform: translate(-50%, -50%) scale(1.08); }
.reel-btn svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--red-glow); }
  70% { box-shadow: 0 0 0 30px rgba(255, 45, 45, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 45, 45, 0); }
}
.reel-label { position: absolute; z-index: 2; left: clamp(16px, 3vw, 36px); bottom: clamp(16px, 3vw, 32px); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 36px 28px 36px 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: 28px; }
.step:last-child { border-right: 0; }
.step .n { font-family: var(--f-serif); font-style: italic; font-size: 3.4rem; line-height: 1; color: var(--red); }
.step h3 { margin: 26px 0 10px; font-family: var(--f-display); font-weight: 700; font-stretch: 105%; text-transform: uppercase; font-size: 1.3rem; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Packages ---------- */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.pkg {
  position: relative;
  display: flex; flex-direction: column;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.pkg.featured { background: linear-gradient(160deg, #2a0b0d, var(--bg-2) 60%); border-color: rgba(255, 45, 45, 0.5); }
.pkg .badge { position: absolute; top: 22px; right: 22px; background: var(--red); color: #fff; border: 0; }
.pkg .tier { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.pkg h3 { margin: 12px 0 8px; font-family: var(--f-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1; }
.pkg .sub { color: var(--muted); font-size: 15px; margin: 0 0 24px; }
.pkg ul { list-style: none; margin: 0 0 32px; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.pkg li { display: flex; gap: 12px; font-size: 15px; color: var(--ink-2); }
.pkg li::before { content: "+"; color: var(--red); font-weight: 700; }
.pkg .btn { margin-top: auto; justify-content: center; }

/* ---------- Services page ---------- */
.svc-cat { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.svc-cat-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.svc-cat-head .idx { font-family: var(--f-serif); font-style: italic; color: var(--red); font-size: 1.4rem; }
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.svc-card {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.6s var(--ease);
}
.svc-card:hover { border-color: rgba(255, 45, 45, 0.45); transform: translateY(-4px); }
.svc-card .media { aspect-ratio: 16 / 10; position: relative; overflow: hidden; }
.svc-card .media img, .svc-card .media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-card:hover .media img, .svc-card:hover .media video { transform: scale(1.05); }
.svc-card .media .tag { position: absolute; top: 14px; left: 14px; }
.svc-card .icon-head { aspect-ratio: 16 / 10; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(255, 45, 45, 0.22), transparent 60%), var(--bg-3); position: relative; overflow: hidden; }
.svc-card .icon-head svg { width: 38%; height: auto; color: var(--ink); opacity: 0.9; }
.svc-card .body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { margin: 0 0 10px; font-family: var(--f-display); font-weight: 800; font-stretch: 108%; text-transform: uppercase; font-size: 1.45rem; line-height: 1.05; }
.svc-card p { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.svc-card .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.chip { font-size: 12px; padding: 5px 10px; border-radius: 100px; border: 1px solid var(--line-2); color: var(--ink-2); }

/* Equalizer animation for audio cards */
.eq { display: flex; align-items: flex-end; gap: 5px; height: 40%; }
.eq i { display: block; width: 7px; background: var(--ink); border-radius: 2px; animation: eq 1.1s ease-in-out infinite; }
.eq i:nth-child(odd) { background: var(--red); }
.eq i:nth-child(1) { animation-delay: -0.2s; } .eq i:nth-child(2) { animation-delay: -0.5s; }
.eq i:nth-child(3) { animation-delay: -0.9s; } .eq i:nth-child(4) { animation-delay: -0.3s; }
.eq i:nth-child(5) { animation-delay: -0.7s; } .eq i:nth-child(6) { animation-delay: -0.1s; }
.eq i:nth-child(7) { animation-delay: -0.6s; } .eq i:nth-child(8) { animation-delay: -0.4s; }
.eq i:nth-child(9) { animation-delay: -0.8s; } .eq i:nth-child(10) { animation-delay: -0.25s; }
.eq i:nth-child(11) { animation-delay: -0.55s; } .eq i:nth-child(12) { animation-delay: -0.15s; }
@keyframes eq { 0%, 100% { height: 18%; } 50% { height: 100%; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font-family: var(--f-display); font-weight: 600; font-size: clamp(1.1rem, 1.8vw, 1.5rem); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: transform 0.4s var(--ease), background 0.3s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .pm { transform: rotate(45deg); background: var(--red); border-color: var(--red); }
.faq details p { margin: 0 0 28px; color: var(--muted); max-width: 70ch; }

/* ---------- About ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.about-media img, .about-media video { width: 100%; height: 100%; object-fit: cover; }
.about-media .float {
  position: absolute; right: -1px; bottom: -1px;
  background: var(--bg); padding: 18px 22px; border-top-left-radius: var(--radius);
}
.prose p { color: var(--ink-2); font-size: 1.08rem; margin: 0 0 1.2em; max-width: 58ch; }
.prose p:first-child { font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.35; color: var(--ink); }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.value { padding: clamp(28px, 3vw, 40px); border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.value .n { font-family: var(--f-serif); font-style: italic; font-size: 1.3rem; color: var(--red); }
.value h3 { margin: 18px 0 10px; font-family: var(--f-display); font-weight: 800; font-stretch: 108%; text-transform: uppercase; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1; }
.value p { margin: 0; color: var(--muted); }
.collage { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1vw, 14px); }
.collage > * { border-radius: 10px; overflow: hidden; aspect-ratio: 1; }
.collage > *:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.collage img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-aside { position: sticky; top: 110px; }
.contact-line { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-line:first-of-type { border-top: 1px solid var(--line); }
.contact-line small { display: block; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-line a, .contact-line span { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.6rem); word-break: break-word; }
.form { display: grid; gap: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label, .field legend { display: block; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; padding: 0; }
.field fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line-2);
  color: var(--ink);
  font: inherit; font-size: 1.1rem;
  border-radius: 0;
  transition: border-color 0.3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23c9c3b9' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px; }
.field select option { background: var(--bg-2); color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--red); }
.field input::placeholder, .field textarea::placeholder { color: #5a554f; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.field .pill { position: relative; display: inline-block; margin: 0; letter-spacing: 0; text-transform: none; font-size: inherit; color: inherit; }
.pill input { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-block; padding: 10px 16px; border-radius: 100px;
  border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2);
  cursor: pointer; transition: all 0.25s; user-select: none;
}
.pill span:hover { border-color: var(--ink-2); color: var(--ink); }
.pill input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.form-note { font-size: 13px; color: var(--muted); }
.form-success { display: none; padding: 20px 24px; border-radius: var(--radius); border: 1px solid rgba(255, 45, 45, 0.45); background: rgba(255, 45, 45, 0.07); }
.form-success.show { display: block; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: clamp(100px, 16vw, 220px) 0;
  overflow: hidden;
  text-align: center;
}
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg video, .cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(10, 9, 9, 0.3), var(--bg) 85%); }
.cta .display { font-size: clamp(3rem, 11vw, 11rem); }
.cta .lead { margin: 28px auto 40px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) 0 32px; background: var(--bg); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-top h4 { margin: 0 0 18px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-top ul a { color: var(--ink-2); transition: color 0.3s; }
.footer-top ul a:hover { color: var(--red); }
.footer-brand img { height: 64px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: var(--muted); max-width: 32ch; margin: 0; }
.footer-word {
  margin: clamp(48px, 7vw, 96px) 0 24px;
  font-family: var(--f-display); font-weight: 900; font-stretch: 125%;
  text-transform: uppercase;
  font-size: clamp(3.4rem, 15.5vw, 15rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  text-align: center;
  background: linear-gradient(180deg, var(--ink) 30%, rgba(243, 239, 232, 0.05));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
  white-space: nowrap;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: grid; place-items: center;
  padding: 70px var(--gutter) 40px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-stage { max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.lb-stage img, .lb-stage video { max-height: calc(100svh - 170px); max-width: 100%; width: auto; border-radius: 10px; box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.8); }
.lb-caption { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; text-align: center; }
.lb-caption h3 { margin: 0; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.1rem; }
.lb-close, .lb-nav {
  position: absolute; width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid var(--line-2); display: grid; place-items: center;
  background: rgba(10, 9, 9, 0.6);
  transition: background 0.3s, border-color 0.3s;
}
.lb-close:hover, .lb-nav:hover { background: var(--red); border-color: var(--red); }
.lb-close { top: 16px; right: var(--gutter); }
.lb-prev { left: var(--gutter); top: 50%; transform: translateY(-50%); }
.lb-next { right: var(--gutter); top: 50%; transform: translateY(-50%); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; } .reveal-d2 { transition-delay: 0.2s; } .reveal-d3 { transition-delay: 0.3s; }
.split-line { display: block; overflow: hidden; }
.split-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.in .split-line > span, .split-line.in > span { transform: none; }
.split-line:nth-child(2) > span { transition-delay: 0.08s; }
.split-line:nth-child(3) > span { transition-delay: 0.16s; }

/* Page intro curtain */
.curtain {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: grid; place-items: center;
  pointer-events: none;
  animation: curtain 1.1s var(--ease) 0.35s forwards;
}
.curtain img { width: 120px; animation: curtainLogo 0.9s var(--ease) forwards; }
@keyframes curtain { to { clip-path: inset(0 0 100% 0); } }
@keyframes curtainLogo { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }
.curtain { clip-path: inset(0 0 0 0); }

/* ---------- Listen & watch embeds ---------- */
.embeds { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(12px, 1.6vw, 22px); align-items: stretch; }
.embed-card { display: flex; flex-direction: column; gap: 18px; padding: clamp(16px, 2vw, 24px); border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.embed-head { display: flex; align-items: center; gap: 14px; }
.embed-head > div { flex: 1; min-width: 0; }
.embed-head h3 { margin: 0; font-family: var(--f-display); font-weight: 800; font-stretch: 108%; text-transform: uppercase; font-size: 1.2rem; line-height: 1.1; }
.embed-head p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.embed-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.embed-icon svg { width: 22px; height: 22px; }
.embed-icon.spotify { background: #1db954; color: #000; }
.embed-icon.youtube { background: var(--red); color: #fff; }
.embed-btn { padding: 10px 16px; font-size: 12px; }
.spotify-frame { width: 100%; flex: 1; min-height: 420px; border: 0; border-radius: 12px; background: var(--bg-3); }
.yt-facade { position: relative; display: block; width: 100%; flex: 1; min-height: 300px; border-radius: 12px; overflow: hidden; padding: 0; background: #000 url("../assets/video/posters/street-race.jpg") center / cover no-repeat; }
.yt-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 1s var(--ease), opacity 0.4s; }
.yt-facade:hover img { transform: scale(1.04); opacity: 1; }
.yt-facade .yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 0 0 0 var(--red-glow); animation: pulse 2.4s infinite; transition: transform 0.4s var(--ease); }
.yt-facade:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); }
.yt-facade .yt-label { position: absolute; left: 14px; bottom: 14px; }
.yt-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) {
  .embeds { grid-template-columns: 1fr; }
  .yt-facade { min-height: 0; aspect-ratio: 16 / 9; flex: none; }
}
@media (max-width: 640px) {
  .embed-head { flex-wrap: wrap; }
  .embed-btn { width: 100%; justify-content: center; }
  .spotify-frame { min-height: 380px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .svc-cards { grid-template-columns: repeat(2, 1fr); }
  .work-card, .work-card.w-3 { grid-column: span 6; }
  .work-card.w-8, .work-card.w-7 { grid-column: span 12; }
  .work-card.w-6, .work-card.w-5, .work-grid.filtered .work-card { grid-column: span 6; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
  .hero-meta { display: none; }
  .statement-grid { grid-template-columns: 1fr; gap: 20px; }
  .svc-row { grid-template-columns: 44px 1fr 52px; }
  .svc-desc { display: none; }
  .svc-preview { display: none; }
  .process { grid-template-columns: 1fr 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); padding: 32px 20px 32px 0 !important; }
  .step:nth-child(even) { padding-left: 20px !important; border-left: 1px solid var(--line); }
  .packages { grid-template-columns: 1fr; }
  .svc-cat-head { grid-template-columns: 1fr; gap: 16px; }
  .about-split, .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .values { grid-template-columns: 1fr; }
  .section-head, .page-hero-grid { grid-template-columns: 1fr; }
  .reel { aspect-ratio: 4 / 3; }
}

@media (max-width: 640px) {
  .brand img { height: 34px; }
  .nav { height: 66px; }
  .svc-cards { grid-template-columns: 1fr; }
  .work-grid { grid-auto-rows: auto; }
  .work-grid > .work-card { grid-column: 1 / -1; }
  .work-grid > .work-card.sq { grid-column: span 6; }
  .work-card.sq .work-info { padding: 12px; }
  .work-card.sq .work-info p, .work-card.sq .work-info .tag { display: none; }
  .work-card.sq .play { width: 32px; height: 32px; top: 10px; right: 10px; }
  .work-card .media { height: auto; aspect-ratio: 16 / 10; }
  .work-card.sq .media { aspect-ratio: 1 / 1; }
  .statement-foot { grid-template-columns: 1fr; gap: 28px; }
  .process { grid-template-columns: 1fr; }
  .step, .step:nth-child(even) { padding: 28px 0 !important; border-left: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .collage { grid-template-columns: repeat(2, 1fr); }
  .lb-nav { top: auto; bottom: 16px; transform: none; }
  .btn { padding: 14px 22px; }
}

/* ---------- Phone polish ---------- */
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .hero { padding-bottom: 28px; }
  .hero-media video { object-position: 60% center; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-actions .btn { justify-content: center; padding: 15px 12px; font-size: 13px; }
  .hero-bottom { gap: 24px; padding-top: 22px; }
  .section { padding: 72px 0; }
  .section-head { gap: 18px; margin-bottom: 32px; }
  .statement-foot { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stat .num { font-size: 2rem; }
  .stat p { font-size: 12px; line-height: 1.4; }
  .svc-row { grid-template-columns: 32px 1fr 44px; gap: 12px; padding: 20px 0; }
  .svc-arrow { width: 44px; height: 44px; }
  .work-info { padding: 14px; }
  .work-info p { display: none; }
  .work-info .tag { padding: 5px 9px; font-size: 10px; }
  .reel { aspect-ratio: 16 / 10; }
  .reel-btn { width: 84px; }
  .reel-btn svg.ring { display: none; }
  .reel-label { display: none; }
  .spotify-frame { min-height: 352px; }
  .step { padding: 24px 0 !important; }
  .step h3 { margin-top: 14px; }
  .cta { padding: 88px 0; }
  .cta .btn-ghost { font-size: 12px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-word { margin: 40px 0 20px; }
  .page-hero { padding: 120px 0 40px; }
  .lb-stage img, .lb-stage video { max-height: calc(100svh - 200px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .split-line > span { opacity: 1; transform: none; }
  .curtain { display: none; }
  html { scroll-behavior: auto; }
}
