:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --line: rgba(255,255,255,.08);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --dim: #71717a;
  --accent: #2dd4bf;
  --accent-ink: #042f2e;
  --radius: 14px;
  --pad: clamp(16px, 4vw, 56px);
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; line-height: 1.02; }
h2 { font-size: clamp(32px, 4.6vw, 56px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 500; font-size: 15px; white-space: nowrap;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #5eead4; }
.btn-ghost { border: 1px solid rgba(255,255,255,.22); }
.btn-ghost:hover { border-color: #fff; }
.nav .btn { height: 38px; padding: 0 16px; font-size: 14px; }

.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 3px; background: currentColor; border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(1) { height: 40%; animation-delay: -.2s; }
.eq i:nth-child(2) { height: 100%; animation-delay: -.5s; }
.eq i:nth-child(3) { height: 60%; animation-delay: -.1s; }
.eq i:nth-child(4) { height: 80%; animation-delay: -.7s; }
@keyframes eq { 0%,100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.eq i { transform-origin: bottom; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(10,10,11,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.brand { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links .btn { color: var(--text); }

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: 120px var(--pad) clamp(64px, 10vh, 120px); overflow: hidden;
}
.mosaic {
  position: absolute; inset: -8% -10%; display: flex; flex-direction: column; gap: 14px;
  transform: rotate(-6deg); opacity: .55;
}
.mosaic .row { display: flex; gap: 14px; width: max-content; animation: drift 80s linear infinite; }
.mosaic .row.reverse { animation-direction: reverse; animation-duration: 95s; }
.mosaic .row[data-row="2"] { animation-duration: 110s; }
.mosaic .strip { display: flex; gap: 14px; }
.mosaic img { width: clamp(220px, 24vw, 380px); aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; filter: saturate(.9); }
@keyframes drift { to { transform: translateX(-50%); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 20% 100%, rgba(10,10,11,.96) 30%, rgba(10,10,11,.6) 65%, rgba(10,10,11,.35) 100%),
    linear-gradient(180deg, rgba(10,10,11,.6) 0%, rgba(10,10,11,0) 30%, rgba(10,10,11,.9) 100%);
}
.hero-inner { position: relative; max-width: 980px; }
.hero h1 { font-size: clamp(44px, 8.2vw, 116px); margin-bottom: 26px; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: #d4d4d8; max-width: 640px; margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.scroll-cue { position: absolute; right: var(--pad); bottom: 40px; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Credits marquee */
.credits { border-block: 1px solid var(--line); padding: 28px 0; display: flex; align-items: center; gap: 32px; overflow: hidden; }
.credits-label { flex: none; padding-left: var(--pad); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.credits-track { display: flex; overflow: hidden; padding-left: 20px; mask-image: linear-gradient(90deg, transparent, #000 20px, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 92%, transparent); }
.credits-list { display: flex; flex: none; gap: 56px; padding-right: 56px; animation: marquee 60s linear infinite; }
@keyframes marquee { to { transform: translateX(-100%); } }
.credits-list span { font-family: var(--display); font-weight: 600; font-size: clamp(18px, 2vw, 24px); color: #d4d4d8; white-space: nowrap; letter-spacing: -.01em; }

/* Work */
.work { padding: clamp(80px, 12vw, 140px) var(--pad); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.filters { display: flex; gap: 8px; }
.chip { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; transition: all .2s; }
.chip:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
.chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; display: block; text-align: left; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); isolation: isolate; }
.card-lg { grid-column: span 2; grid-row: span 2; }
.thumb { display: block; aspect-ratio: 16/10; overflow: hidden; }
.card-lg .thumb { aspect-ratio: auto; height: 100%; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.94) 100%); z-index: 1; }
.card-meta { text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.card:hover .thumb img { transform: scale(1.05); }
.card-meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.card-client { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.card-title { font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.25; letter-spacing: -.01em; }
.card-lg .card-meta { padding: 28px 30px; }
.card-lg .card-title { font-size: clamp(22px, 2.6vw, 34px); }
.play {
  position: absolute; top: 16px; right: 16px; z-index: 2; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transform: scale(.85); transition: all .3s ease;
}
.play svg { width: 18px; height: 18px; fill: #fff; margin-left: 2px; }
.card:hover .play, .card:focus-visible .play { opacity: 1; transform: scale(1); background: var(--accent); }
.card:hover .play svg { fill: var(--accent-ink); }
.more-wrap { display: flex; justify-content: center; margin-top: 40px; }
.more-wrap[hidden] { display: none; }

/* About */
.about { padding: clamp(80px, 12vw, 140px) var(--pad); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.about-copy h2 { margin-bottom: 28px; }
.about-copy p { color: #d4d4d8; font-size: 17px; margin-bottom: 18px; max-width: 620px; }
.link-arrow { display: inline-flex; gap: 8px; margin-top: 10px; font-weight: 500; color: var(--accent); }
.link-arrow span { transition: transform .2s; }
.link-arrow:hover span { transform: translateX(4px); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats > div { background: var(--bg); padding: 28px 24px; }
.stats dt { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.03em; line-height: 1; margin-bottom: 10px; }
.stats dd { color: var(--muted); font-size: 14px; line-height: 1.45; }

/* Services */
.services { padding: clamp(80px, 12vw, 140px) var(--pad); border-top: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 28px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2);
}
.svc:hover { border-color: rgba(255,255,255,.18); }
.svc-num { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--dim); }
.svc h3 { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.15; letter-spacing: -.02em; }
.svc p { flex: 1; color: var(--muted); font-size: 15px; line-height: 1.55; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.svc-tags span { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: #d4d4d8; white-space: nowrap; }
.svc-feature {
  grid-column: 1 / -1; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding: 36px 32px; border-color: rgba(45,212,191,.35);
  background: radial-gradient(90% 160% at 0% 0%, rgba(45,212,191,.13), transparent 60%), var(--bg-2);
}
.svc-feature:hover { border-color: rgba(45,212,191,.6); }
.svc-main { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.svc-top { display: flex; align-items: center; gap: 12px; }
.svc-feature .svc-num { color: var(--accent); }
.svc-badge { padding: 3px 9px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.svc-feature h3 { font-size: clamp(26px, 3vw, 36px); }
.svc-feature p { color: #d4d4d8; font-size: 16px; }
.svc-feature .svc-tags { flex: none; justify-content: flex-end; }
.svc-feature .svc-tags span { padding: 6px 14px; font-size: 13px; color: var(--text); border-color: rgba(45,212,191,.35); }
.svc.reveal { transition: opacity .8s ease var(--d, 0s), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s), border-color .3s ease; }
.svc:nth-child(2) { --d: .08s; }
.svc:nth-child(3) { --d: .16s; }
.svc:nth-child(4) { --d: .24s; }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .svc-feature { flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px 24px; }
  .svc-feature .svc-tags { justify-content: flex-start; }
}
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

/* Contact */
.contact { padding: clamp(100px, 14vw, 180px) var(--pad); text-align: center; border-top: 1px solid var(--line); background: radial-gradient(60% 80% at 50% 100%, rgba(45,212,191,.12), transparent 70%); }
.email { display: inline-block; margin-top: 6px; font-family: var(--display); font-weight: 600; font-size: clamp(30px, 5.6vw, 72px); letter-spacing: -.03em; line-height: 1.1; border-bottom: 2px solid rgba(255,255,255,.25); padding-bottom: 8px; transition: color .2s, border-color .2s; overflow-wrap: anywhere; }
.email:hover { color: var(--accent); border-color: var(--accent); }
.contact-links { display: flex; justify-content: center; gap: 28px; margin-top: 36px; color: var(--muted); font-size: 15px; }
.contact-links a:hover { color: var(--text); }

.footer { display: flex; justify-content: space-between; padding: 28px var(--pad); border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.92); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; animation: fade .25s ease; }
.lightbox[hidden] { display: none; }
.lb-frame { width: min(1200px, 100%); aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-frame iframe { width: 100%; height: 100%; border: 0; }
.lb-title { margin-top: 16px; color: var(--muted); font-size: 15px; text-align: center; }
.lb-close { position: absolute; top: 16px; right: 20px; width: 44px; height: 44px; border-radius: 50%; font-size: 28px; line-height: 1; color: #fff; background: rgba(255,255,255,.1); }
.lb-close:hover { background: rgba(255,255,255,.2); }
@keyframes fade { from { opacity: 0; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.stats > div.reveal:nth-child(2) { transition-delay: .08s; }
.stats > div.reveal:nth-child(3) { transition-delay: .16s; }
.stats > div.reveal:nth-child(4) { transition-delay: .24s; }

/* Responsive */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
  .grid { grid-template-columns: 1fr; gap: 14px; }
  .card-lg { grid-column: auto; grid-row: auto; }
  .card-lg .thumb { aspect-ratio: 16/10; height: auto; }
  .card-lg .card-meta { padding: 18px 20px; }
  .play { opacity: 1; transform: none; width: 40px; height: 40px; }
  .credits { flex-direction: column; align-items: flex-start; gap: 16px; }
  .credits-track { width: 100%; }
  .stats > div { padding: 22px 18px; }
  .scroll-cue { display: none; }
  .footer { flex-direction: column; gap: 6px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
