@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Manrope:wght@400;600;800&display=swap");

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

:root {
  --red: #c00a25;
  --black: #000000;
  --white: #ffffff;
  --display: "Bebas Neue", Impact, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: var(--white);
  color: var(--black);
  font-family: var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--red);
  color: var(--white);
}

#nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 24px clamp(22px, 4vw, 60px);
  color: var(--white);
  transition:
    background 0.35s var(--ease),
    padding 0.35s var(--ease);
}

#nav.pinned {
  background: var(--red);
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav-left,
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  list-style: none;
}

.nav-links {
  justify-content: flex-end;
}

.mobile-only {
  display: none;
}

#nav a {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px var(--black);
}

.nav-logo {
  width: 104px;
}

.nav-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid var(--white);
  background: var(--red);
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.showreel-hero {
  position: relative;
  min-height: 100vh;
  padding: 148px clamp(22px, 5vw, 76px) 72px;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.hero-video-stage,
.hero-bg-video {
  position: absolute;
  inset: 0;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 480ms var(--ease);
}

.hero-bg-video.is-active {
  opacity: 1;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  align-items: end;
  gap: clamp(28px, 5vw, 76px);
  min-height: calc(100vh - 220px);
}

.hero-copy {
  max-width: 900px;
}

.hero-reel {
  display: grid;
  gap: 16px;
  align-self: end;
}

.hero-pre,
.section-kicker {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 8px 10px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(84px, 16vw, 220px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 3px 18px var(--black);
}

.hero-tagline {
  max-width: 680px;
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--white);
  color: var(--black);
  border-top: 8px solid var(--red);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
}

.hero-services {
  margin-top: 16px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px var(--black);
}

.hero-active-card {
  width: min(360px, calc(100vw - 44px));
  padding: 18px 20px;
  background: var(--white);
  color: var(--black);
  border-top: 10px solid var(--red);
}

.hero-active-card span,
.hero-active-card small {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-active-card strong {
  display: block;
  margin: 6px 0;
  font-family: var(--display);
  font-size: 38px;
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.hero-active-card small {
  color: var(--red);
}

.brand-marquee {
  height: 150px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--white);
  border-block: 2px solid var(--black);
}

.brand-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.brand-marquee span,
.brand-marquee b {
  flex: 0 0 auto;
  font-family: var(--display);
  font-size: clamp(54px, 8vw, 118px);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.brand-marquee span {
  padding: 0 26px;
}

.brand-marquee b {
  color: var(--red);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.about-section,
.service-section,
.locations-section {
  padding: clamp(72px, 9vw, 132px) clamp(22px, 5vw, 76px);
}

.about-section h2,
.locations-section h2 {
  font-family: var(--display);
  font-size: clamp(54px, 8vw, 120px);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.revolver-panel {
  width: min(100%, 560px);
}

.revolver-shell {
  position: relative;
  height: clamp(300px, 34vw, 430px);
  perspective: 1200px;
  overflow: hidden;
  touch-action: pan-y;
}

.revolver-track,
.revolver-card,
.work-card-content {
  transform-style: preserve-3d;
}

.revolver-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.revolver-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(190px, 17vw, 250px);
  height: clamp(250px, 23vw, 320px);
  cursor: grab;
  transition:
    transform 0.6s var(--ease),
    opacity 0.6s var(--ease);
}

.work-card-content {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.55s var(--ease);
}

.revolver-card:hover .work-card-content,
.revolver-card.is-flipped .work-card-content {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 2px solid var(--white);
  background: var(--white);
  color: var(--black);
  backface-visibility: hidden;
}

.card-front {
  color: var(--white);
  overflow: hidden;
}

.card-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.6);
  pointer-events: none;
}

.card-front span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.card-face h3 {
  font-family: var(--display);
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.card-face p {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.card-front span,
.card-front h3,
.card-front p {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.revolver-card:not(.is-active) .card-face h3,
.revolver-card:not(.is-active) .card-face p {
  opacity: 0;
}

.revolver-card:not(.is-active) .card-front span {
  font-family: var(--display);
  font-size: 64px;
  font-weight: 400;
  line-height: 0.9;
}

.card-back {
  justify-content: center;
  gap: 18px;
  background: var(--red);
  color: var(--white);
  transform: rotateY(180deg);
}

.revolver-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}

.revolver-btn {
  width: 46px;
  height: 46px;
  border: 2px solid var(--white);
  background: var(--black);
  color: var(--white);
  cursor: pointer;
}

.revolver-dots {
  display: flex;
  gap: 8px;
}

.revolver-dot {
  width: 10px;
  height: 10px;
  border: 2px solid var(--white);
  background: var(--black);
  cursor: pointer;
}

.revolver-dot.is-active {
  background: var(--red);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 0.75fr);
  gap: clamp(36px, 8vw, 110px);
  align-items: end;
  background: var(--white);
}

.about-section p:last-child {
  max-width: 680px;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.6;
}

.service-section {
  background: var(--red);
  color: var(--white);
}

.statement {
  max-width: 1160px;
  font-family: var(--display);
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.9;
  text-transform: uppercase;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 60px;
  background: var(--black);
  border: 2px solid var(--black);
}

.service-list article {
  min-height: 280px;
  padding: 26px;
  background: var(--white);
  color: var(--black);
}

.service-list span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.service-list h3 {
  margin: 50px 0 18px;
  font-family: var(--display);
  font-size: 46px;
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.service-list p {
  font-size: 14px;
  line-height: 1.55;
}

.locations-section {
  min-height: 62vh;
  display: grid;
  align-content: center;
  background: var(--black);
  color: var(--white);
}

@media (max-width: 980px) {
  #nav {
    grid-template-columns: auto 1fr auto;
    background: var(--red);
  }

  .nav-left,
  .nav-links {
    display: none;
  }

  .nav-logo {
    width: 76px;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  body.nav-open .nav-links {
    position: fixed;
    inset: 76px 0 auto;
    display: grid;
    gap: 0;
    padding: 10px 22px 22px;
    background: var(--red);
  }

  body.nav-open .mobile-only {
    display: block;
  }

  body.nav-open .nav-links a {
    display: block;
    padding: 16px 0;
    border-top: 1px solid var(--white);
  }

  .hero-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-reel {
    max-width: 680px;
  }

  .about-section,
  .service-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .showreel-hero {
    padding-top: 118px;
  }

  .brand-marquee {
    height: 118px;
  }

  .hero-title {
    font-size: clamp(76px, 24vw, 118px);
  }

  .service-list article {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
