:root {
  --orange: #ff4a00;
  --outlet: #e83d0b;
  --depot: #4b2992;
  --ink: #0a0a0a;
  --paper: #f7f7f5;
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: #111;
  background: #fff;
  font-family: "Roboto", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  font: inherit;
}

.anchor-section {
  scroll-margin-top: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1200;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: #000;
  background: #fff;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: 100%;
  height: 0;
}

.menu-button {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 1100;
  width: 28px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  mix-blend-mode: difference;
}

.menu-button img {
  display: block;
  width: 100%;
  height: auto;
  filter: invert(1);
  transition: opacity 160ms ease, transform 160ms ease;
}

.menu-button.is-swapping img {
  opacity: 0.25;
  transform: scale(0.9);
}

.menu-nav {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(480px, 40vw);
  padding: 96px 48px 48px;
  overflow-y: auto;
  background: #f4f4f1;
  box-shadow: -20px 0 40px rgba(0, 0, 0, 0.22);
  visibility: hidden;
  transform: translateX(105%);
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 300ms;
}

.site-header.is-menu-open .menu-nav {
  visibility: visible;
  transform: translateX(0);
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

.menu-kicker {
  margin: 0 0 22px;
  color: #757575;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.menu-nav a {
  width: 100%;
  padding: 12px 0;
  color: #111;
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  transition: color 160ms ease, padding-left 160ms ease;
}

.menu-nav a:hover,
.menu-nav a:focus-visible,
.menu-nav a.is-active {
  padding-left: 8px;
  color: var(--orange);
}

.hero {
  overflow: hidden;
  background: #030303;
}

.hero-image {
  width: 100%;
  height: auto;
}

.intro-copy-band {
  background: var(--orange);
}

.copy-container {
  width: min(650px, calc(100% - 60px));
  margin: 0 auto;
  padding: clamp(74px, 8vw, 120px) 0;
  color: #fff;
}

.copy-container p {
  margin: 0 0 22px;
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  font-weight: 500;
  line-height: 1.55;
}

.copy-container .eyebrow {
  margin-bottom: 32px;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 800;
}

.feature-video {
  position: relative;
  overflow: hidden;
  background: #111;
}

.media-band img {
  display: block;
  width: 100%;
  height: auto;
}

.project-inline-video {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  overflow: hidden;
  background: #0d0d0d;
}

.project-video-trigger,
.project-video-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.project-video-trigger {
  z-index: 2;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 1;
  cursor: pointer;
  transition: opacity 600ms ease;
  will-change: opacity;
}

.project-video-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease, filter 280ms ease;
}

.project-video-trigger:hover img,
.project-video-trigger:focus-visible img {
  filter: brightness(0.86) saturate(1.06);
  transform: scale(1.035);
}

.project-video-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.28) 72%);
  opacity: 0.3;
  transition: opacity 280ms ease;
  pointer-events: none;
}

.project-video-trigger:hover::after,
.project-video-trigger:focus-visible::after {
  opacity: 0.55;
}

.project-video-embed {
  z-index: 1;
  display: none;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 600ms ease;
  will-change: opacity;
}

.project-video-embed iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.project-inline-video.is-playing .project-video-trigger {
  display: none;
}

.project-inline-video.is-playing .project-video-embed {
  z-index: 2;
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.feature-video-trigger,
.feature-video-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.feature-video {
  aspect-ratio: 2 / 1;
}

.feature-video-trigger {
  z-index: 2;
  padding: 0;
  border: 0;
  background: #111;
  cursor: pointer;
}

.feature-video-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 260ms ease, transform 260ms ease;
}

.feature-video-trigger::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: clamp(44px, 5vw, 70px);
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.48);
  transform: translate(-50%, -50%);
}

.feature-video-trigger::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(50% + 3px);
  z-index: 4;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid #fff;
  transform: translate(-50%, -50%);
}

.feature-video-trigger:hover img,
.feature-video-trigger:focus-visible img {
  filter: brightness(0.8);
  transform: scale(1.02);
}

.feature-video-embed {
  display: none;
  z-index: 3;
  background: #000;
}

.feature-video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.feature-video.is-playing .feature-video-trigger {
  display: none;
}

.feature-video.is-playing .feature-video-embed {
  display: block;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: clamp(44px, 5vw, 70px);
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.45);
  transform: translate(-50%, -50%);
}

.play-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid #fff;
  transform: translate(-50%, -50%);
}

.selected-projects {
  background: #fff;
}

.selected-inner {
  width: min(1120px, calc(100% - 60px));
  margin: 0 auto;
  padding: clamp(74px, 8vw, 120px) 0;
}

.selected-inner h2 {
  margin: 0 0 40px;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 800;
}

.project-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.project-card {
  position: relative;
  min-height: 0;
  aspect-ratio: 1.02;
  overflow: hidden;
  border-radius: 24px;
  background: #222;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease, filter 350ms ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.76));
}

.project-card-copy {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.project-card-copy strong {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
}

.project-card-copy small {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}

.project-card:hover img,
.project-card:focus-visible img {
  filter: brightness(0.8);
  transform: scale(1.04);
}

.project-card-placeholder {
  display: block;
  aspect-ratio: 814 / 480;
  background: linear-gradient(135deg, #ff7146, var(--outlet));
}

.depot-card {
  background: linear-gradient(135deg, #7052bd, #341b70);
}

.ape-divider {
  width: 100%;
  background: #050505;
}

.ape-divider img {
  width: 100%;
  height: auto;
}

.project,
.media-band {
  width: 100%;
}

.media-band {
  position: relative;
  background: #222;
}

.project-copy-band {
  width: 100%;
  color: #fff;
}

.project-copy-band-kfc {
  min-height: 621px;
  background: #e61d2e;
}

.project-copy-band-best-bites {
  min-height: 540px;
  background: #8bc91b;
}

.project-copy-band-serato {
  min-height: 520px;
  background: #222;
}

.project-copy-band-outlet {
  min-height: 540px;
  background: var(--outlet);
}

.project-copy-band-content-depot {
  min-height: 540px;
  background: var(--depot);
}

.project-copy-inner {
  width: min(580px, calc(100% - 60px));
  margin: 0 auto;
  padding: 90px 0 0;
}

.project-copy-logo {
  width: auto;
  height: 180px;
  margin: 0 0 32px;
}

.project-copy-logo.project-copy-logo-best-bites {
  height: 90px;
}

.project-copy-logo.project-copy-logo-serato {
  height: 90px;
}

.project-copy-logo.project-copy-logo-outlet {
  height: 90px;
}

.project-copy-logo.project-copy-logo-content-depot {
  height: 90px;
}

.project-copy-inner h2 {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.project-copy-inner p {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}

.project-copy-inner p:last-child {
  margin-bottom: 0;
}

.social-project {
  color: #fff;
  background: var(--outlet);
}

.social-project-depot {
  background: var(--depot);
}

.social-project-copy {
  display: grid;
  grid-template-columns: 190px minmax(0, 610px);
  align-items: center;
  justify-content: center;
  gap: clamp(44px, 8vw, 110px);
  width: min(1100px, calc(100% - 60px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 130px) 0;
}

.social-project-copy > img {
  width: 100%;
  max-height: 120px;
}

.brand-wordmark {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.social-project-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.social-project-copy div p {
  margin: 0;
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  line-height: 1.6;
}

.social-reels {
  padding: clamp(60px, 8vw, 110px) 30px clamp(76px, 9vw, 130px);
  background: rgba(255, 255, 255, 0.08);
}

.social-label {
  margin: 0 0 40px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-align: center;
  text-transform: uppercase;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.social-project-outlet .social-grid {
  width: min(1248px, 100%);
  gap: clamp(10px, 2.2vw, 32px);
}

.social-video-card {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 8px solid #151515;
  border-radius: 24px;
  background: #242424;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.social-project-outlet .social-video-card {
  aspect-ratio: 2160 / 4574;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.social-project-depot .social-grid-square .social-video-card {
  aspect-ratio: 2160 / 3322;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.social-grid-square .social-video-card {
  aspect-ratio: 1;
  border-width: 5px;
  border-radius: 10px;
}

.social-video-trigger,
.social-video-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.social-video-trigger {
  display: block;
  padding: 0;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.58)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 12px),
    linear-gradient(145deg, #ee6a40, #b82908);
  cursor: pointer;
}

.social-project-outlet .social-video-trigger {
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

.social-project-depot .social-video-trigger {
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

.social-project-outlet .social-video-thumbnail,
.social-project-depot .social-video-thumbnail {
  transition: filter 220ms ease, transform 220ms ease;
}

.social-project-outlet .social-video-trigger:hover .social-video-thumbnail,
.social-project-outlet .social-video-trigger:focus-visible .social-video-thumbnail,
.social-project-depot .social-video-trigger:hover .social-video-thumbnail,
.social-project-depot .social-video-trigger:focus-visible .social-video-thumbnail {
  filter: brightness(0.82);
  transform: scale(1.012);
}

.social-project-outlet .social-video-embed {
  top: 5.6%;
  bottom: 9.4%;
  z-index: 2;
  height: auto;
  opacity: 0;
  transition: opacity 260ms ease;
}

.social-project-outlet .social-video-card.is-playing .social-video-trigger {
  display: block;
  cursor: default;
}

.social-project-outlet .social-video-card.is-playing .social-video-embed {
  opacity: 1;
}

.social-project-depot .social-video-embed {
  top: 8.4%;
  bottom: 26.6%;
  z-index: 2;
  height: auto;
  opacity: 0;
  transition: opacity 260ms ease;
}

.social-project-depot .social-video-card.is-playing .social-video-trigger {
  display: block;
  cursor: default;
}

.social-project-depot .social-video-card.is-playing .social-video-embed {
  opacity: 1;
}

.social-video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-project-outlet .social-label,
.social-project-depot .social-label {
  margin-bottom: 54px;
  color: #fff;
  font-size: 24px;
  font-weight: 400;
}

.social-video-trigger .play-icon {
  width: 54px;
}

.social-video-trigger strong {
  position: absolute;
  top: calc(50% + 46px);
  left: 50%;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.placeholder-number {
  position: absolute;
  top: 22px;
  left: 22px;
  color: rgba(255, 255, 255, 0.45);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 800;
}

.social-video-embed {
  display: none;
  background: #000;
}

.social-video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.social-video-card.is-playing .social-video-trigger {
  display: none;
}

.social-video-card.is-playing .social-video-embed {
  display: block;
}

.social-video-card.is-missing .social-video-trigger::after {
  content: "Vimeo link placeholder";
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 10px;
  border-radius: 6px;
  color: #fff;
  background: rgba(0, 0, 0, 0.82);
  font-size: 0.7rem;
  font-weight: 600;
}

.site-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(380px, 60vw, 760px);
  padding: 90px 30px;
  background: #050505;
}

.thanks {
  margin: 0;
  color: #fff;
  font-size: clamp(3.8rem, 11vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.footer-socials {
  position: absolute;
  right: 30px;
  bottom: 30px;
  display: flex;
  gap: 12px;
}

.footer-socials a,
.footer-socials img {
  width: 26px;
  height: 26px;
}

.back-to-top {
  position: fixed;
  left: 30px;
  bottom: 30px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding-top: 0;
  border-radius: 5px;
  color: #fff;
  background-color: #0b5ee2;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  text-decoration: none;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  opacity: 1;
  transform: translateY(-3px) scale(1.03);
}

.scroll-reveal {
  opacity: 0;
  transform: none;
  transition: opacity 560ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.scroll-reveal.is-in-view {
  opacity: 1;
  transform: none;
}

@media (max-width: 767px) {
  .menu-button {
    top: 20px;
    right: 20px;
  }

  .menu-nav {
    width: 100%;
    padding: 84px 28px 30px;
  }

  .project-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .project-card {
    border-radius: 15px;
  }

  .project-card-copy {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .project-card-copy small {
    font-size: 18px;
  }

  .social-project-copy {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .project-copy-logo {
    height: 140px;
    margin-bottom: 36px;
  }

  .project-copy-band-kfc {
    min-height: 0;
  }

  .project-copy-band-best-bites {
    min-height: 0;
  }

  .project-copy-band-serato {
    min-height: 0;
  }

  .project-copy-band-outlet {
    min-height: 0;
  }

  .project-copy-band-content-depot {
    min-height: 0;
  }

  .project-copy-logo.project-copy-logo-best-bites,
  .project-copy-logo.project-copy-logo-serato,
  .project-copy-logo.project-copy-logo-outlet,
  .project-copy-logo.project-copy-logo-content-depot {
    height: 90px;
  }

  .project-copy-inner {
    padding: 60px 0;
  }

  .social-project-copy > img,
  .brand-wordmark {
    max-width: 150px;
  }

  .social-grid {
    gap: 10px;
  }

  .social-video-card {
    border-width: 4px;
    border-radius: 12px;
  }

  .social-video-trigger .play-icon {
    width: 34px;
  }

  .social-video-trigger .play-icon::after {
    border-top-width: 5px;
    border-bottom-width: 5px;
    border-left-width: 8px;
  }

  .social-video-trigger strong {
    top: calc(50% + 28px);
    font-size: 0.45rem;
  }

  .placeholder-number {
    top: 10px;
    left: 10px;
  }

  .social-video-card.is-missing .social-video-trigger::after {
    display: none;
  }

  .back-to-top {
    left: 20px;
    bottom: 20px;
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
}

@media (max-width: 430px) {
  .copy-container,
  .selected-inner,
  .social-project-copy {
    width: min(100% - 40px, 1120px);
  }

  .project-card-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    aspect-ratio: 1.35;
  }

  .project-card-placeholder {
    aspect-ratio: 2.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scroll-reveal,
  .scroll-reveal.is-in-view {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
