:root {
  --bg: #ffffff;
  --fg: #000000;
  --muted: #6b6b6b;
  --rule: #e4e4e4;
  --ink: #0b0b0b;
  --gutter: clamp(16px, 3.2vw, 48px);
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
body.is-locked { overflow: hidden; }

.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  color: #fff;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav__logo { position: relative; height: 34px; display: block; }
.nav__logo img { height: 34px; width: auto; transition: opacity .35s; }
.nav__logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.nav__links { display: flex; gap: 36px; }
.nav__links a {
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav.is-solid { background: #fff; color: #000; border-color: var(--rule); }
.nav.is-solid .logo-light { opacity: 0; }
.nav.is-solid .logo-dark { opacity: 1; }

.nav__toggle { display: none; width: 32px; height: 32px; position: relative; }
.nav__toggle span {
  position: absolute; left: 4px; right: 4px; height: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s;
}
.nav__toggle span:first-child { top: 11px; }
.nav__toggle span:last-child { top: 19px; }
body.menu-open .nav { background: #fff; color: #000; }
body.menu-open .nav .logo-light { opacity: 0; }
body.menu-open .nav .logo-dark { opacity: 1; }
body.menu-open .nav__toggle span:first-child { top: 15px; transform: rotate(45deg); }
body.menu-open .nav__toggle span:last-child { top: 15px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49; background: #fff;
  display: flex; flex-direction: column; padding: 24px var(--gutter);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.menu a { font-size: 44px; font-weight: 700; letter-spacing: -.03em; padding: 6px 0; border-bottom: 1px solid var(--rule); }
body.menu-open .menu { opacity: 1; pointer-events: auto; }

/* ---------- HERO ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; background: #000; color: #fff; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.hero__slide.is-active .hero__media { transform: scale(1); }
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.12) 45%, rgba(0,0,0,.35) 100%);
}
.hero__copy {
  position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(56px, 9vh, 110px);
}
.hero__title {
  font-size: clamp(56px, 11vw, 188px); line-height: .88; font-weight: 800; letter-spacing: -.045em;
  margin: 14px 0 18px; max-width: 12ch;
}
.hero__meta { font-size: 15px; font-weight: 500; opacity: .85; margin-bottom: 26px; }
.hero__dots { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(56px, 9vh, 110px); display: flex; gap: 10px; }
.hero__dots button { width: 36px; height: 3px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.hero__dots button::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dots button.is-active::after { animation: fill var(--slide-ms, 8000ms) linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 15px 26px; border: 1.5px solid currentColor; border-radius: 999px;
  transition: background .25s, color .25s;
}
.btn--light:hover { background: #fff; color: #000; }

/* ---------- INTRO ---------- */
.intro { padding-top: clamp(80px, 12vw, 160px); padding-bottom: clamp(64px, 9vw, 120px); }
.intro__lede {
  font-size: clamp(30px, 4.6vw, 72px); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; max-width: 19ch;
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid #000; }
.stats div { padding: 18px 16px 0 0; }
.stats dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stats dd { font-size: clamp(34px, 4.4vw, 64px); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; margin-top: 6px; }

/* ---------- SECTION HEAD ---------- */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  border-bottom: 1px solid #000; padding-bottom: 18px; margin-bottom: 40px;
}
.section-head h2 { font-size: clamp(44px, 7vw, 112px); font-weight: 800; letter-spacing: -.05em; line-height: .9; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button {
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 9px 16px; border: 1.5px solid #000; border-radius: 999px; transition: background .2s, color .2s;
}
.filters button:hover, .filters button.is-active { background: #000; color: #fff; }

/* ---------- FILM GRID ---------- */
.films { padding-bottom: clamp(80px, 10vw, 140px); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 28px; }
.card { cursor: pointer; }
.card.is-hidden { display: none; }
.card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #111; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.card:hover .card__img img { transform: scale(1.045); }
.card__img--type {
  display: flex; align-items: flex-end; padding: 22px; background: #0b0b0b; color: #fff;
  transition: background .4s;
}
.card__img--type span { font-size: clamp(36px, 4vw, 60px); font-weight: 800; letter-spacing: -.05em; line-height: .88; }
.card:hover .card__img--type { background: #1d1d1d; }
.card h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-top: 16px; line-height: 1.15; }
.card p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.tag {
  position: absolute; top: 14px; left: 14px; background: #fff; color: #000;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px;
}
.grid .card:first-child { grid-column: span 2; }
.grid .card:first-child .card__img { aspect-ratio: auto; height: calc(100% - 64px); min-height: 280px; }
.grid .card:first-child h3 { font-size: 30px; }

/* ---------- BLEED ---------- */
.bleed { height: clamp(320px, 62vw, 860px); overflow: hidden; background: #000; }
.bleed img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }

/* ---------- SERVICES ---------- */
.services { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
.svc { list-style: none; }
.svc li {
  display: grid; grid-template-columns: 80px 1fr 1fr; gap: 24px; align-items: baseline;
  padding: 28px 0; border-bottom: 1px solid var(--rule);
}
.svc__n { font-size: 13px; font-weight: 600; color: var(--muted); }
.svc h3 { font-size: clamp(26px, 3vw, 44px); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.svc p { color: #333; max-width: 46ch; }

/* ---------- CLIENTS ---------- */
.clients { background: #000; color: #fff; padding: clamp(64px, 8vw, 110px) 0; }
.clients__names { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 22px; }
.clients__names li { font-size: clamp(32px, 5.4vw, 84px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.clients__names li:not(:last-child)::after { content: "/"; font-weight: 300; color: #555; margin: 0 .22em; }

/* ---------- ABOUT ---------- */
.about { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
.about__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 6vw, 96px); }
.about__text p { max-width: 58ch; color: #222; }
.about__text p + p { margin-top: 18px; }
.about__text .big { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: #000; margin-bottom: 28px; }
.team { display: grid; gap: 0; border-top: 1px solid #000; }
.person { display: grid; grid-template-columns: 168px 1fr; gap: 24px; align-items: start; padding: 24px 0 28px; border-bottom: 1px solid var(--rule); }
.person__photo { width: 100%; aspect-ratio: 1; object-fit: cover; background: #ddd; }
.person__role { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.person h3 { font-size: clamp(32px, 3.4vw, 50px); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin: 8px 0 12px; }
.person p { color: #333; font-size: 16px; }
.link { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1.5px solid #000; padding-bottom: 2px; }

/* ---------- CONTACT ---------- */
.contact { border-top: 1px solid #000; padding: clamp(80px, 10vw, 150px) 0; }
.contact__mail {
  display: inline-block; margin-top: 20px;
  font-size: clamp(30px, 6.6vw, 112px); font-weight: 800; letter-spacing: -.05em; line-height: 1;
  overflow-wrap: anywhere; background: linear-gradient(#000, #000) left bottom / 0 3px no-repeat; transition: background-size .5s var(--ease);
}
.contact__mail:hover { background-size: 100% 3px; }
.contact__note { margin-top: 28px; max-width: 52ch; color: #333; }

/* ---------- FOOTER ---------- */
.footer { background: #f3f3f1; padding: 64px 0 28px; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__logo { width: min(340px, 70vw); height: auto; }
.footer__cols { display: flex; gap: clamp(32px, 6vw, 96px); flex-wrap: wrap; }
.footer__cols div { display: flex; flex-direction: column; gap: 8px; }
.footer__cols .eyebrow { color: var(--muted); margin-bottom: 6px; }
.footer__cols a { font-size: 15px; font-weight: 500; }
.footer__cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 72px; font-size: 13px; color: var(--muted); }
.footer__jacket { height: 44px; width: auto; }

/* ---------- MODAL ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center; padding: 64px 24px 24px;
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__inner {
  position: relative; width: min(1100px, 100%); max-height: calc(100svh - 88px); overflow-y: auto;
  background: #fff; transform: translateY(24px); transition: transform .45s var(--ease);
}
.modal.is-open .modal__inner { transform: none; }
.modal__close {
  position: absolute; top: 12px; right: 16px; z-index: 2; width: 44px; height: 44px;
  font-size: 38px; line-height: 1; color: #fff; font-weight: 300;
}
.modal__media { aspect-ratio: 16 / 9; background: #000; }
.modal__media iframe, .modal__media img { width: 100%; height: 100%; border: 0; object-fit: cover; }
.modal__media--type { display: flex; align-items: flex-end; padding: 32px; color: #fff; }
.modal__media--type span { font-size: clamp(48px, 9vw, 120px); font-weight: 800; letter-spacing: -.05em; line-height: .88; }
.modal__body { padding: clamp(24px, 4vw, 48px); }
.modal__body h2 { font-size: clamp(36px, 5vw, 72px); font-weight: 800; letter-spacing: -.05em; line-height: .95; margin: 10px 0 18px; }
.modal__body > p { max-width: 62ch; color: #222; }
.modal__credits { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--rule); }
.modal__credits dt { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.modal__credits dd { font-weight: 600; margin-top: 2px; }
.modal__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.modal__links a { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 12px 20px; border: 1.5px solid #000; border-radius: 999px; transition: background .2s, color .2s; }
.modal__links a:hover { background: #000; color: #fff; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --nav-h: 60px; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__logo, .nav__logo img { height: 28px; }
  .grid { grid-template-columns: 1fr; gap: 40px; }
  .grid .card:first-child { grid-column: auto; }
  .grid .card:first-child .card__img { aspect-ratio: 16 / 10; height: auto; min-height: 0; }
  .grid .card:first-child h3 { font-size: 22px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(n+3) { margin-top: 20px; }
  .svc li { grid-template-columns: 44px 1fr; }
  .person { grid-template-columns: 1fr; }
  .person__photo { width: 60%; max-width: 240px; }
  .svc p { grid-column: 2; }
  .hero__dots { left: var(--gutter); right: auto; bottom: 24px; }
  .hero__copy { bottom: 64px; }
  .footer__bottom { margin-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
