/* Original Fast Cut Films background treatments recreated from the WordPress site. */

/* Exact colors sampled from the original Fast Cut Films underline artwork. */
:root {
  --red: #FE6443;
  --blue: #0179E8;
  --green: #02E397;
}

/* Keep the header wordmark and its three-color underline as one lockup. */
.brand {
  width: max-content;
}

.brand > span:first-child {
  white-space: nowrap;
}

.brand-bars {
  width: 100%;
  align-self: stretch;
}

.hero {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
  background-image: url('https://fastcutfilms.com/wp3/wp-content/uploads/fastcutfilms-header23.jpg');
  background-size: cover;
  background-position: 52% 50%;
  background-attachment: fixed;
  background-repeat: no-repeat;
  border-bottom: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 32, 44, .40);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 88px;
  padding-bottom: 96px;
}

.hero-intro,
.hero-brand,
.hero h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.24);
}

.hero-intro {
  color: rgba(255,255,255,.94);
}

/* The hero wordmark is inline-sized so the underline can exactly match it. */
.hero-brand {
  display: inline-block;
  white-space: nowrap;
}

.hero-bars {
  max-width: 100%;
}

/* The original site uses this edit-suite image as another full-width background,
   with the transparent edit-desk artwork laid over the bottom. */
.experience {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-image: url('https://fastcutfilms.com/wp3/wp-content/uploads/Edit-studio-monitor-FastCutFilms-bg1.webp');
  background-size: cover;
  background-position: 50% 50%;
  background-attachment: scroll;
  background-repeat: no-repeat;
  border-top: 0;
  border-bottom: 0;
  padding-bottom: 250px;
}

.experience::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(255,255,255,.34);
}

.experience::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  z-index: -1;
  pointer-events: none;
  background-image: url('https://fastcutfilms.com/wp3/wp-content/uploads/fastcutfilms-studio-edit-desk-alpha-500px.webp');
  background-size: min(50vw, 600px) auto;
  background-position: 50% 100%;
  background-repeat: no-repeat;
}

.experience .section-head,
.experience .experience-grid {
  position: relative;
  z-index: 1;
}

.experience .section-head h2 {
  color: #22272c;
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
}

.experience-item {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(4px);
}

/* Happy Clients: compact, clean logo wall with no grid or implied interaction. */
.logo-grid {
  border: 0;
  background: transparent;
  column-gap: 10px;
  row-gap: 12px;
}

.logo-card,
.logo-card:hover {
  min-height: 108px;
  padding: 12px;
  border: 0;
  background: transparent;
  transition: none;
}

.logo-card img,
.logo-card:hover img {
  max-height: 78px;
  transform: none;
  filter: none;
  transition: none;
}

@media (max-width: 1024px) {
  .hero {
    background-position: 37% 47%;
    background-attachment: scroll;
  }

  .experience {
    background-position: 50% 100%;
    padding-bottom: 220px;
  }

  .experience::after {
    background-size: 500px auto;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 75vh;
    background-position: 45% 66%;
    background-attachment: scroll;
  }

  .hero-inner {
    padding-top: 64px;
    padding-bottom: 70px;
  }

  .experience {
    min-height: 60vh;
    background-position: 52% 50%;
    padding-bottom: 150px;
  }

  .experience::after {
    height: 220px;
    background-size: 200px auto;
    background-position: 52% 100%;
  }

  .clients {
    scroll-margin-top: 92px;
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .clients .section-head {
    margin-bottom: 26px;
  }

  .logo-grid {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 8px;
    row-gap: 10px;
  }

  .logo-card,
  .logo-card:hover {
    min-height: 76px;
    padding: 7px;
  }

  .logo-card img,
  .logo-card:hover img {
    max-height: 52px;
  }
}
