/* ==========================================================================
   Arbuda Engineering — Architectural Cantilever Louver Section Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   Root
   Source: padding: 4rem 0 (mobile) / 15rem 0 (desktop)
   -------------------------------------------------------------------------- */
.arrows-section {
  padding: 4rem 0;
  background: #fff;
}

@media (min-width: 1200px) {
  .arrows-section {
    padding: 15rem 0;
  }
}

/* --------------------------------------------------------------------------
   Section Heading Typography
   -------------------------------------------------------------------------- */
.arrows-section__title {
  display: flex;
  justify-content: center;
  margin: 0 0 4rem;
  font-weight: 500;
  font-size: 4.4rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-align: center;
}

.arrows-section__title h2 {
  font-weight: 500;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: center;
}

@media (min-width: 1200px) {
  .arrows-section__title {
    margin: 0 auto 8rem;
    font-size: 7.2rem;
    line-height: 1;
    letter-spacing: -0.04em;
  }
}

/* --------------------------------------------------------------------------
   Arrows container — Cantilevered Louvers (Option 2)
   Compensates for the 20° slant geometry with balanced left offset
   -------------------------------------------------------------------------- */
.arrows-section__arrows {
  position: relative;
  display: flex;
  justify-content: center;
  margin-left: 2rem;
}

@media (min-width: 1200px) {
  .arrows-section__arrows {
    margin-left: 6rem;
  }
}

/* --------------------------------------------------------------------------
   Individual Cantilevered Louver / Dynamic 20° Slanted Fin
   Mask geometry: Sheared parallelogram [M80 0h266L266 440H0z]
   -------------------------------------------------------------------------- */
.arrows-section__arrow {
  flex-shrink: 0;
  width: 9.3rem;
  height: 12.8rem;
  margin-left: -2rem;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 346 440'%3E%3Cpath fill='%23000' d='M80 0h266L266 440H0z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 346 440'%3E%3Cpath fill='%23000' d='M80 0h266L266 440H0z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  filter: drop-shadow(-10px 5px 16px rgba(0, 0, 0, 0.16));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.arrows-section__arrow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (pointer: fine) {
  .arrows-section__arrow:hover {
    transform: translateY(-1rem) scale(1.03);
    filter: drop-shadow(-18px 14px 30px rgba(0, 0, 0, 0.28));
    z-index: 5;
  }

  .arrows-section__arrow:hover img {
    transform: scale(1.08);
  }
}

@media (min-width: 1200px) {
  .arrows-section__arrow {
    width: 34.6rem;
    height: 44rem;
    margin-left: -6rem;
    filter: drop-shadow(-18px 8px 28px rgba(0, 0, 0, 0.22));
  }
}

/* --------------------------------------------------------------------------
   Section Narrative Typography
   -------------------------------------------------------------------------- */
.arrows-section__text {
  margin: 4rem 0 0;
  font-weight: 500;
  font-size: 2.2rem;
  line-height: 1.3;
}

@media (min-width: 1200px) {
  .arrows-section__text {
    margin: 8rem auto 0;
    max-width: 81.2rem;
    font-size: 3.2rem;
    letter-spacing: -0.01em;
    text-align: center;
    text-wrap: balance;
  }
}

.arrows-section__text .em {
  color: var(--color-muted);
}