.blackfrost-wordmark,
.blackfrost-stamp,
.blackfrost-mascot {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  overflow: visible;
}

/* Center header: BlackFrost title lockup. */
.moving_logo_ver_2 {
  width: 18rem !important;
  height: 7.5rem !important;
}
.lottie-animation-2.blackfrost-wordmark,
.lottie-animation-2.blackfrost-lockup,
.moving_logo_ver_2 .blackfrost-lockup,
.moving_logo_ver_2 .blackfrost-wordmark {
  width: 18rem;
  height: 7.5rem;
  object-fit: contain;
}
.lottie-animation-2.different-on-mobile.blackfrost-wordmark,
.lottie-animation-2.different-on-mobile.blackfrost-lockup {
  width: 13rem;
  height: 5.5rem;
}
.moving_logo_ver_2.w--current {
  width: 18rem !important;
  height: 7.5rem !important;
}

/* Left header: mascot in place of the lightning. */
.nav_link_fixed.is-about .nav-icon_wrapper {
  width: 5.5rem !important;
  height: 5.5rem !important;
}
.nav_link_fixed.is-about .nav_img {
  width: 5.5rem !important;
  height: 5.5rem !important;
  max-width: none !important;
  object-fit: contain;
  inset: 0 !important;
  transform: none !important;
}
.nav_link_fixed.is-about .nav-link-name_wrapper {
  display: none !important;
}

.work-section-logo.blackfrost-stamp,
.work-section-logo_on_hover.blackfrost-stamp,
.work_page_made_by_supari_json.blackfrost-stamp {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Splash mascot. */
.pre-loader-icon {
  width: 9.5rem !important;
  height: auto !important;
  max-width: 42vw;
  max-height: 42vh;
  object-fit: contain;
}

.kulfi_new_logo {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.kulfi_new_logo .kulfi_new_img {
  min-width: 36rem;
  width: 36rem;
  max-width: 92vw;
  top: -2.5rem;
}
@media screen and (max-width: 991px) {
  .kulfi_new_logo .kulfi_new_img {
    min-width: 26rem;
    width: 26rem;
    top: -2rem;
  }
  .moving_logo_ver_2,
  .lottie-animation-2.blackfrost-wordmark,
  .lottie-animation-2.blackfrost-lockup,
  .moving_logo_ver_2 .blackfrost-lockup {
    width: 13rem !important;
    height: 5.5rem !important;
  }
  .nav_link_fixed.is-about .nav-icon_wrapper,
  .nav_link_fixed.is-about .nav_img {
    width: 4.5rem !important;
    height: 4.5rem !important;
  }
}
@media screen and (max-width: 767px) {
  .kulfi_new_logo .kulfi_new_img {
    min-width: 20rem;
    width: 20rem;
    top: -1.5rem;
  }
  .pre-loader-icon {
    width: 7.5rem !important;
  }
  .moving_logo_ver_2,
  .lottie-animation-2.blackfrost-lockup,
  .moving_logo_ver_2 .blackfrost-lockup {
    width: 10.5rem !important;
    height: 4.5rem !important;
  }
  .nav_link_fixed.is-about .nav-icon_wrapper,
  .nav_link_fixed.is-about .nav_img {
    width: 3.75rem !important;
    height: 3.75rem !important;
  }
}

/* Ice-blue re-skin of the original orange/red palette. */
:root {
  --color--red: #3b82f6;
}

/* Hero: banner fills the first screen edge-to-edge. No colored
   backdrop, no Webflow scale-in from 0.1. */
.hero_section_v2 {
  background-color: #000;
  overflow: hidden;
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
}
.hero_section_v2::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 18;
  background: linear-gradient(
    180deg,
    transparent 62%,
    rgba(0, 0, 0, 0.45) 82%,
    #000 100%
  );
}
.home_background_img_wrapper_v2 {
  background-image: none;
  background-color: #000;
}
.daku_wrapper-v2 {
  align-items: stretch;
}
.daku_img_v2 {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 100% !important;
  top: 0 !important;
  right: auto !important;
  object-fit: cover;
  object-position: center center;
  transform: none !important;
}
.home_top_clouds_wrapper,
.home_background_moving_clouds_wrapper,
.small_clouds_wrapper {
  display: none !important;
}

/* Restore original title scale; hide the old Killing-It lottie. */
.home-hero-text_wrapper {
  top: auto !important;
  bottom: 18% !important;
  left: 50% !important;
  right: auto !important;
  width: min(40rem, 90vw) !important;
  max-width: 40rem !important;
  transform: translate3d(-50%, 0, 0) !important;
  text-shadow: 0 4px 24px rgba(10, 16, 48, 0.55);
}
.home-hero-text_wrapper .heading-7 {
  opacity: 1 !important;
  color: #fff;
  font-size: clamp(2.6rem, 5.6vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
}
.home-sparks_wrapper,
.heading_anim,
.heading_anim_desktop {
  display: none !important;
}

.about_hero_bg_ver2 {
  background-image: linear-gradient(#1d6ad6, #5eb8ff 56%);
}
.about-sky_wrapper {
  display: flex;
  background-image: linear-gradient(#7ec8ff, #2563d4 43%);
}
.section_home_about {
  overflow: visible;
  background-color: transparent;
  position: relative;
}
.section_home_about::after {
  display: none;
}
.home-about-content_wrapper,
.home-about-text-content_wrapper {
  z-index: 20;
  background: transparent !important;
}
.home-about-illustration-wrapper {
  display: flex;
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}
/* Crew plate seen through the gap in the trees: canopy + trunks (z 5) and the
   ground (z 2) overlap it, the grass hides them from about the knees down, and the top/side edges
   fade into the blue sky so there's no hard rectangle.
   tree-img scales with viewport width, so % values hold at every desktop size. */
.tree-img > .about-scene,
.about-scene {
  position: absolute !important;
  left: 50% !important;
  top: 23.8% !important;
  right: auto !important;
  bottom: auto !important;
  width: 70% !important;
  max-width: none !important;
  height: auto !important;
  transform: translateX(-50%);
  object-fit: contain;
  object-position: center bottom;
  z-index: 1;
  display: block !important;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%),
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 30%),
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-composite: intersect;
}
.ground_img {
  z-index: 2 !important;
}
/* Lift the about copy (heading, paragraph, button) up into the canopy so it
   doesn't sit on top of the crew. Applied to the inner wrapper because Webflow's
   scroll animation owns the transform on .home-about-text-content_wrapper. */
@media (min-width: 992px) {
  .home-about-text-content_wrapper .home-about_wrapper {
    /* copy is fixed-size but the art scales with width, so lift more on smaller
       screens: ~308px at 1280, ~276px at 1680, ~256px at 1920 */
    transform: translateY(calc(8vw - 410px));
  }
}
/* Phones/tablets: Webflow swaps in one baked image (trees + ground + Supari's
   characters). Hide it, paint the sky on the wrapper, and show the crew under
   the copy — wider than the screen, top fading into the sky, bottom into the
   dark of the next section. */
@media (max-width: 991px) {
  .about-tree-wrapper > .tree-img.mobile {
    display: none !important;
  }
  .about-sky_wrapper {
    display: none !important;
  }
  .about-tree-wrapper {
    position: relative;
    height: calc(540px + 84vw);
    overflow: hidden;
    background: linear-gradient(#7ec8ff, #2563d4 43%);
  }
  .about-tree-wrapper::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 150vw;
    height: 84.3vw;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, rgba(12, 9, 12, 0) 70%, rgb(12, 9, 12) 100%),
      url(/brand/trees.png) center bottom / 100% 100% no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 30%);
    z-index: 3;
    pointer-events: none;
  }
}
/* Keep the about copy readable where it crosses the crew plate. */
.home_about_heading,
.home-about-text_wrapperv2 .text-two-columns,
.about-button_wrapperv2 .button-text {
  text-shadow: 0 2px 14px rgba(8, 12, 40, 0.65);
}
.tree_left,
.tree_right,
.tree_left_bush,
.tree_right_bush {
  z-index: 5 !important;
}
.captives {
  display: none !important;
}
.section_home_partnership {
  background: #000;
}
.partner-sky {
  background: #000;
}
.home-partner-content_wrapper {
  background: transparent;
}
.partner-hands {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 100% !important;
  top: 0 !important;
  object-fit: cover;
  object-position: center 32%;
  z-index: 2;
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 58%,
    rgba(0, 0, 0, 0.72) 76%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 58%,
    rgba(0, 0, 0, 0.72) 76%,
    transparent 100%
  );
}
.home-partner-content_wrapper::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 12;
  background:
    radial-gradient(ellipse 90% 70% at 50% 38%, transparent 42%, rgba(0, 0, 0, 0.5) 100%),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.12) 0%,
      transparent 22%,
      transparent 50%,
      rgba(0, 0, 0, 0.72) 78%,
      #000 100%
    );
}
.home-partner-content_wrapper .partner-section_clouds_wrapper,
.home-partner-content_wrapper .silhouettes,
.home-partner-content_wrapper .skyline {
  display: none !important;
}
.home-bg_wrapper {
  background-color: #000 !important;
  background-image: linear-gradient(
    180deg,
    #000 0%,
    #000 14%,
    #3b82f6 42%,
    #3b82f6 100%
  );
}
.section-cta.red {
  background-color: transparent !important;
  background-image: linear-gradient(
    180deg,
    #000 0%,
    #3b82f6 22%,
    #3b82f6 100%
  );
}
.partner-hero-sky {
  background-image: linear-gradient(#2f7ae8, #4aa8ff 49%);
}
.partner-sec-sky {
  background-image: linear-gradient(#1e6fd9, #4aa8ff);
}
.partner-sec-sky_cameramen {
  background-image: linear-gradient(#5eb8ff 16%, #1d6ad6);
}
.section_home-showreel {
  background-color: #2f6fd4;
}

img[src*='Cloud' i],
img[src*='cloud' i],
img[src*='coud' i] {
  filter: hue-rotate(185deg) saturate(0.7);
}
img[src*='CAVE' i],
img[src*='cave' i],
img.cave_image {
  filter: hue-rotate(200deg) saturate(0.8);
}
img[src*='667a8bd8c0d520b31763c08c'],
img[src*='66c8755a8a27fb890887a66c'],
img[src*='66c875724988ae470576b496'] {
  filter: hue-rotate(185deg) saturate(0.75);
}

@media screen and (max-width: 767px) {
  .home-hero-text_wrapper {
    bottom: 14% !important;
  }
  .home-hero-text_wrapper .heading-7 {
    font-size: clamp(2.1rem, 9vw, 3.4rem);
  }
}

/* ---------- Homepage structure tweaks ---------- */
/* The showreel/cave sections are removed from the HTML (scripts/inject-games.py).
   Without them the About trees and heading poked up through the hero clouds, so
   start the About section lower: its canopy now begins under the cloud band. */
@media (min-width: 992px) {
  .showreel-about-wrapper {
    margin-top: 34vw;
  }
}
/* "Deadly Partnerships" isn't used any more. It was a fixed layer revealed through
   a tall gap above the CTA, so close that gap too. */
.section_home_partnership {
  display: none !important;
}
.home-bg_wrapper {
  margin-top: 0 !important;
}
/* "BLACKFROST." is longer than the original word; keep it on one line on phones */
@media (max-width: 767px) {
  .heading-style-press {
    font-size: 14.5vw !important;
    line-height: 0.92 !important;
    overflow-wrap: normal;
    word-break: normal;
  }
}
