:root {
  --bg: #050505;
  --panel: #0d0d0d;
  --panel-2: #131313;
  --text: #f7f7f7;
  --muted: #a7a7a7;
  --line: rgba(255,255,255,.12);
  --accent: #ffffff;
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.08), transparent 30%),
    radial-gradient(circle at 90% 40%, rgba(255,255,255,.05), transparent 25%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .03;
  z-index: 999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(5,5,5,.92), rgba(5,5,5,.25), transparent);
  backdrop-filter: blur(6px);
}

.nav-inner {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 132px;
  height: 58px;
  line-height: 0;
  overflow: visible;
  mix-blend-mode: screen;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transform: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #d6d6d6;
  font-size: 14px;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  white-space: nowrap;
  transition: .25s ease;
}
.nav-links a:not(.pill):hover { color: white; transform: translateY(-2px); }

.pill {
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  transition: .25s ease;
}
.pill:hover { background: #fff; color: #000; transform: none; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  padding: 11px 10px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: #fff;
  transition: transform .25s ease, opacity .25s ease;
}
nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
body.nav-open { overflow: hidden; }

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: 125px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.9;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 55%, rgba(0,0,0,.28) 100%);
  pointer-events: none;
  z-index: 1;
}

.showreel-scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 3;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 54px;
  padding-left: clamp(24px, 5vw, 80px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  margin-bottom: 24px;
}

.dot { width: 8px; height: 8px; background: #fff; border-radius: 50%; box-shadow: 0 0 22px #fff; }

h1 {
  margin: 0;
  font-size: clamp(62px, 9.8vw, 164px);
  line-height: .83;
  letter-spacing: -.07em;
  font-weight: 800;
  max-width: 1120px;
}

.typewriter {
  display: inline-block;
  min-height: .83em;
  white-space: nowrap;
}
.typewriter::after {
  content: "";
  display: inline-block;
  width: .055em;
  height: .78em;
  margin-left: .08em;
  background: currentColor;
  vertical-align: .02em;
  animation: caret 1s step-end infinite;
}
@keyframes caret {
  50% { opacity: 0; }
}

.brand-ticker {
  width: 100%;
  overflow: hidden;
  padding: 22px 0 0;
}
.brand-ticker-inner {
  display: flex;
  width: max-content;
  animation: brand-ticker-move 32s linear infinite;
}
.brand-ticker-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 100vw;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  white-space: nowrap;
}
.brand-ticker-track span {
  flex: 1 0 auto;
  text-align: center;
}
.brand-ticker-x {
  flex: 0 0 auto;
  padding: 0 36px;
}

.clients {
  padding: 44px 0 0;
}
.clients-kicker {
  margin: 0 auto 20px;
  text-align: center;
  font-size: clamp(26px, 4vw, 70px);
  line-height: .83;
  letter-spacing: -.07em;
  font-weight: 800;
  text-transform: uppercase;
}
.marquee-wrap {
  overflow: hidden;
}
.marquee {
  display: flex;
  width: max-content;
  animation: move 40s linear infinite;
  padding: 36px 0 12px;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 72px;
  padding-right: 72px;
}
.marquee-track img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  flex-shrink: 0;
}
.marquee-track img.logo-lg {
  height: 108px;
  max-width: 200px;
}
.marquee-track img.logo-md {
  height: 44px;
  max-width: 140px;
  align-self: center;
}
.marquee-track img.logo-screen {
  mix-blend-mode: screen;
}
.marquee-track img.logo-white {
  filter: grayscale(1) brightness(5);
  mix-blend-mode: screen;
}
@keyframes move { to { transform: translateX(-50%); } }
@keyframes brand-ticker-move {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

section:not(.hero):not(.clients) { padding: 110px 0; }
#work { padding-top: 56px; padding-bottom: 72px; }
#services { padding-top: 20px; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 42px;
}
.section-head h2 {
  font-size: clamp(42px, 6vw, 88px);
  letter-spacing: -.055em;
  line-height: .95;
  margin: 0;
}
.section-head p { max-width: 500px; margin: 0; color: var(--muted); line-height: 1.6; }
.work-all {
  color: #d6d6d6;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-bottom: 8px;
}
.work-all:hover { color: #fff; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.project {
  min-height: 240px;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #101010;
  overflow: hidden;
  position: relative;
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .35s ease, border-color .35s ease;
}
.project:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.34); }
.project-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(255,255,255,.08), transparent 28%),
    linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 70%);
}
.project-media video,
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project.is-logo .project-media img {
  object-fit: contain;
  padding: 18% 16%;
}
.project.is-logo::after {
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.12) 40%, transparent 72%);
}
.project::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.2) 42%, rgba(0,0,0,.18) 100%);
  pointer-events: none;
}
.project-tag {
  position: relative;
  z-index: 2;
  align-self: start;
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.12);
}
.project-bottom { position: relative; z-index: 2; }
.project h3 {
  margin: 0;
  font-size: clamp(18px, 1.5vw, 26px);
  letter-spacing: -.04em;
  line-height: 1.05;
  text-transform: uppercase;
}
.project p { color: rgba(255,255,255,.72); line-height: 1.4; margin: 8px 0 0; font-size: 14px; }
.work-extra-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .55s cubic-bezier(.22, 1, .36, 1);
}
.work-block.is-expanded .work-extra-wrap {
  grid-template-rows: 1fr;
}
.work-extra-inner {
  overflow: hidden;
  min-height: 0;
}
.work-extra-inner .work-grid {
  padding-top: 16px;
}
.work-extra-inner .project {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .4s ease, transform .5s cubic-bezier(.22, 1, .36, 1);
}
.work-block.is-expanded .work-extra-inner .project {
  opacity: 1;
  transform: none;
}
.work-block.is-expanded .work-extra-inner .project:nth-child(1) { transition-delay: .08s; }
.work-block.is-expanded .work-extra-inner .project:nth-child(2) { transition-delay: .16s; }
.work-block.is-expanded .work-extra-inner .project:nth-child(3) { transition-delay: .24s; }
.work-block.is-expanded .work-extra-inner .project:nth-child(4) { transition-delay: .32s; }
.work-block.is-expanded .work-extra-inner .project:nth-child(5) { transition-delay: .4s; }
.work-block.is-expanded .work-extra-inner .project:nth-child(6) { transition-delay: .48s; }
.work-more {
  display: block;
  margin: 28px auto 0;
  padding: 0;
  border: 0;
  background: none;
  color: #d6d6d6;
  font: inherit;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .25s ease;
}
.work-more:hover { color: #fff; }

.service-list { border-top: 1px solid var(--line); }
.service {
  display: grid;
  grid-template-columns: 70px 1fr 1fr;
  gap: 26px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service span { color: #787878; }
.service h3 { margin: 0; font-size: clamp(27px, 3vw, 46px); letter-spacing: -.035em; }
.service p { color: #9c9c9c; line-height: 1.55; margin: 0; }

.about-card {
  border-radius: 36px;
  border: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
  background: radial-gradient(circle at 80% 10%, rgba(255,255,255,.12), transparent 30%), #0b0b0b;
  display: grid;
  grid-template-columns: minmax(280px, .85fr) 1.15fr;
  min-height: 560px;
}
.about-photo {
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  background: #090909;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 72px);
}
.about-kicker { color: #999; text-transform: uppercase; letter-spacing: .15em; font-size: 12px; margin-bottom: 18px; }
.about-card h2 { font-size: clamp(42px, 6vw, 88px); margin: 0 0 22px; line-height: .98; letter-spacing: -.05em; }
.about-card p { color: #b3b3b3; font-size: 18px; line-height: 1.7; max-width: 760px; margin: 0 0 18px; }
.about-card p:last-child { margin-bottom: 0; }

.contact { padding-bottom: 40px; }
.contact-box {
  text-align: center;
  padding: 100px 30px;
  border-radius: 36px;
  border: 1px solid var(--line);
  background: #0a0a0a;
}
.contact-box h2 { margin: 0; font-size: clamp(52px, 8vw, 118px); line-height: .9; letter-spacing: -.06em; }
.contact-box p { color: #aaa; max-width: 610px; margin: 28px auto 34px; font-size: 18px; line-height: 1.6; }
.cta {
  display: inline-flex;
  margin-top: 34px;
  padding: 16px 24px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-weight: 700;
  transition: transform .25s ease;
}
.cta:hover { transform: scale(1.04); }

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  color: #777;
  font-size: 13px;
  padding: 28px 0 42px;
}
footer strong {
  color: #d6d6d6;
  font-weight: 700;
  letter-spacing: -.02em;
}
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 10px 0 4px;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #cfcfcf;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.footer-social svg { width: 18px; height: 18px; }
.footer-social a:hover {
  color: #000;
  background: #fff;
  border-color: #fff;
}

.reveal { opacity: 0; transform: translateY(24px); transition: .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .container { width: min(100% - 48px, 1200px); }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 28px 22px 36px;
    background: rgba(5,5,5,.96);
    border-bottom: 1px solid var(--line);
    font-size: 22px;
  }
  nav.is-open .nav-links { display: flex; }
  .hero {
    min-height: 100svh;
    padding-top: 110px;
  }
  .hero-grid {
    padding-left: 8px;
    padding-bottom: 80px;
  }
  .eyebrow {
    flex-wrap: wrap;
    max-width: 100%;
    letter-spacing: .1em;
    font-size: 11px;
  }
  .brand-ticker-track {
    letter-spacing: .1em;
    font-size: 11px;
  }
  .brand-ticker-x {
    padding: 0 24px;
  }
  h1 { font-size: clamp(44px, 14vw, 96px); }
  .clients { padding-top: 32px; }
  .clients-kicker { margin-bottom: 12px; }
  .marquee { padding: 22px 0 8px; }
  .marquee-track { gap: 40px; padding-right: 40px; }
  .marquee-track img { height: 36px; max-width: 140px; }
  .marquee-track img.logo-lg { height: 58px; max-width: 120px; }
  .marquee-track img.logo-md { height: 32px; max-width: 100px; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .project h3 { font-size: clamp(15px, 2.4vw, 22px); }
  .service {
    grid-template-columns: 44px 1fr;
    gap: 16px 18px;
    padding: 22px 0;
  }
  .service p { grid-column: 1 / -1; }
  .about-card {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 24px;
  }
  .about-photo { min-height: 320px; max-height: 420px; }
  .about-copy { padding: 28px 22px 32px; }
  .about-card h2 { font-size: clamp(36px, 10vw, 64px); }
  .about-card p { font-size: 16px; }
  .section-head { align-items: start; flex-direction: column; }
  .contact-box {
    padding: 64px 22px;
    border-radius: 24px;
  }
  .contact-box h2 { font-size: clamp(36px, 12vw, 72px); }
  .cta {
    max-width: 100%;
    justify-content: center;
    word-break: break-all;
  }
}

@media (max-width: 700px) {
  .work-grid { grid-template-columns: 1fr; }
  .project { min-height: 220px; }
}

@media (max-width: 560px) {
  .nav-inner { height: 78px; }
  .brand { width: 108px; height: 48px; }
  .nav-links { top: 78px; font-size: 20px; }
  .hero { padding-top: 92px; }
  .showreel-scroll { bottom: 18px; font-size: 10px; }
  section:not(.hero):not(.clients) { padding: 64px 0; }
  #work { padding-top: 32px; padding-bottom: 40px; }
  #services { padding-top: 12px; }
  .project { border-radius: 18px; padding: 14px 14px 16px; }
  .about-photo { min-height: 260px; }
  .service h3 { font-size: clamp(22px, 7vw, 32px); }
  footer { padding: 24px 0 32px; font-size: 12px; }
}
