:root {
  --black: #000;
  --ink: #001122;
  --grey-1: #666;
  --grey-2: #757575;
  --grey-3: #888;
  --btn: #222;
  --bg: #fff;
  --gutter: 50px;
  --font: "Poppins", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--black);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }

.wrap { padding-inline: var(--gutter); }
.wrap--narrow { max-width: 1025px; margin-inline: auto; }

/* Type */
.h-section {
  font-size: 38px;
  line-height: 1.4;
  letter-spacing: -0.05em;
  font-weight: 600;
}
.body {
  margin-top: 40px;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--grey-1);
}
.body a { color: var(--black); text-underline-offset: 3px; }
.body a:hover { text-decoration-thickness: 2px; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
  padding-inline: var(--gutter);
}
.nav__logo img { width: 67px; height: auto; }
.btn {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 100px;
  background: var(--btn);
  color: #fff;
  font-family: "Inter", var(--font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s ease;
}
.btn:hover { background: #444; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }

/* Hero */
.hero { height: clamp(294px, 37.5vw, 540px); background: #e9e6e1; }
.hero video { width: 100%; height: 100%; object-fit: cover; }

/* Intro */
.intro { padding-block: 50px; }
.intro__title {
  max-width: 648px;
  font-size: 46px;
  line-height: 1.2;
  letter-spacing: -0.05em;
  font-weight: 600;
}
.intro__lede {
  max-width: 833px;
  margin-top: 40px;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--grey-2);
}

/* Services */
.services { padding-block: 50px 120px; }
.services__media { width: 100%; aspect-ratio: 922 / 515; object-fit: cover; background: #ddd; }
.services__head { padding-top: 70px; }
.services__head .h-section { max-width: 876px; }
.services__head .body { max-width: 756px; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 25px;
  margin-top: 70px;
}
.services__grid h3 { font-size: 16px; line-height: 1.2; font-weight: 600; letter-spacing: -0.04em; }
.services__grid p {
  margin-top: 10px;
  max-width: 280px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--grey-3);
}

/* How we work */
.work { padding-block: 100px 120px; }
.work__media {
  width: calc(100% - 144px);
  max-width: 1296px;
  height: 150px;
  margin: 0 auto 20px;
  object-fit: cover;
  background: #ddd;
}
.work .wrap .body { max-width: 1206px; margin-top: 20px; }
.process {
  display: grid;
  grid-template-columns: repeat(3, 384px);
  justify-content: center;
  gap: 24px;
  margin-top: 30px;
}
.process li { padding: 30px; }
.process h3 { font-size: 28px; line-height: 1.4; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.process p { margin-top: 20px; font-size: 16px; line-height: 1.6; font-weight: 500; color: var(--grey-1); }

/* Clients */
.clients { padding-block: 60px 0; }
.clients .body { max-width: 1250px; margin-top: 40px; }
.ticker {
  margin: 30px var(--gutter) 0;
  padding-block: 70px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12.5%, #000 87.5%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 12.5%, #000 87.5%, transparent 100%);
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 100px;
  width: max-content;
  animation: ticker 40s linear infinite;
}
.ticker__track li { flex: none; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(calc(-50% - 50px)); } }

/* Films page */
.films { max-width: 1152px; margin-inline: auto; padding: 100px var(--gutter) 120px; box-sizing: content-box; }
.films__title { font-size: 28px; line-height: 1.2; letter-spacing: -0.05em; font-weight: 600; }
.films__list { display: grid; gap: 100px; margin-top: 100px; }
.films__list iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #eee; }

/* Footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 115px;
  padding: 20px var(--gutter);
  background: var(--black);
}
.footer__wordmark { width: 129px; height: auto; }
.footer__meta { display: flex; align-items: center; gap: 24px; }
.footer__meta p { font-size: 14px; color: var(--grey-3); }
.footer__meta img { width: 69px; height: auto; }

/* Scroll reveal (matches Framer's fade-up on the intro) */
.js .reveal { opacity: 0; transform: translateY(80px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Tablet */
@media (max-width: 1199px) {
  .work__media { width: calc(100% - 2 * var(--gutter)); }
  .process { grid-template-columns: repeat(3, 1fr); padding-inline: calc(var(--gutter) - 30px); gap: 0; }
}

/* Phone */
@media (max-width: 809px) {
  :root { --gutter: 20px; }
  .nav { height: 70px; }
  .nav__logo img { width: 37px; }
  .intro { padding-block: 25px 50px; }
  .intro__title { font-size: 28px; letter-spacing: -0.05em; }
  .intro__lede { margin-top: 40px; font-size: 24px; letter-spacing: -0.03em; }
  .h-section { font-size: 28px; }
  .clients .h-section { font-size: 38px; line-height: 1.4; }
  .body { margin-top: 25px; letter-spacing: -0.02em; }
  .services { padding-block: 25px 60px; }
  .services__media { aspect-ratio: 3 / 2; }
  .services__head { padding-top: 40px; }
  .services__grid { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
  .services__grid p { max-width: none; }
  .work { padding-block: 0 40px; }
  .work__media { width: calc(100% - 50px); height: auto; aspect-ratio: 16 / 9; margin-bottom: 24px; }
  .work .wrap { padding-inline: 25px; }
  .process { grid-template-columns: 1fr; padding-inline: 25px; margin-top: 10px; }
  .process li { padding: 15px; }
  .process h3 { font-size: 24px; }
  .clients { padding-top: 20px; }
  .ticker { margin-inline: 0; padding-block: 40px; }
  .films { padding: 60px var(--gutter) 60px; }
  .films__list { gap: 48px; margin-top: 40px; }
  .footer { flex-direction: column; align-items: flex-start; padding-block: 40px; }
  .footer__meta { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 40px 60px; }
  .ticker__track li[aria-hidden="true"] { display: none; }
  .ticker { -webkit-mask-image: none; mask-image: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
