/* Home · Build — template-parts/gf-home-build.php */
/* ---- 03 Build ---- */
section.slider.gf-band--build {
  position: relative;
  background: #050507 !important;
  border-top: 0;
  border-bottom: 0;
  padding: clamp(3.75rem, 7vw, 6rem) 0 4.5rem !important;
  overflow: hidden;
}

section.slider.gf-band--build::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 204, 0, 0.08), transparent 46%);
  pointer-events: none;
}

.gf-band--build .slider___content {
  position: relative;
  z-index: 2;
}

.gf-build__hero {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto 1.75rem;
}

.gf-band--build .gf-band__title {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: clamp(1.9rem, 1.15rem + 2.4vw, 3.25rem) !important;
  letter-spacing: -0.04em;
  line-height: 1.05 !important;
  font-weight: 600 !important;
}

.gf-build__rail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 2rem;
  max-width: 58rem;
}

.gf-build__names {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  max-width: min(100%, 42rem);
  padding: 0;
  scrollbar-width: none;
}

.gf-build__names::-webkit-scrollbar {
  display: none;
}

.gf-build__name {
  flex: 0 0 auto;
  margin: 0;
  padding: 12px 20px;
  border: 0;
  border-radius: 3em;
  background: #191918;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
}

.gf-build__name.is-active {
  background: #ffffff;
  color: #000000;
}

.gf-build__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 53px;
  height: 53px;
  padding: 0;
  flex: 0 0 auto;
  border: 1px solid #3e3e3d;
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.gf-build__arrow svg {
  width: 20px;
  height: 20px;
}

.gf-build__prev svg {
  transform: rotate(180deg);
}

.gf-build__arrow:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.gf-build__stage {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding: 1.25rem 0 2rem;
}

.gf-build__slider {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 42rem;
  margin: 0;
}

.gf-build__card {
  position: absolute;
  top: 0;
  left: 50%;
  width: 26.375rem;
  max-width: 26.375rem;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  transform: translateX(-50%) rotate(0deg);
  transform-origin: 50% 375%;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
  will-change: transform;
}

.gf-build__card.is-away {
  opacity: 0;
  pointer-events: none;
}

.gf-build__face {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 30.5rem;
  height: 100%;
  padding: 2rem 2rem 0;
  border-radius: 24px;
  overflow: hidden;
  color: #141414;
  text-decoration: none;
  box-shadow: none;
}

.gf-build__card--sun .gf-build__face {
  background: #ffd372;
}

.gf-build__card--cream .gf-build__face {
  background: #fefbdc;
}

.gf-build__card--mint .gf-build__face {
  background: #cbfffd;
}

.gf-build__card--lime .gf-build__face {
  background: #e9ff9b;
}

.gf-build__card--lilac .gf-build__face {
  background: #f0e7ff;
}

.gf-build__head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gf-build__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.gf-build__logo {
  width: 3.25rem;
  height: 3.25rem;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 12px;
}

.gf-build__logo img {
  width: 70% !important;
  height: auto !important;
  max-height: 2rem;
  object-fit: contain;
  margin: 0 !important;
}

.gf-build__name-title {
  margin: 0;
  font-family: var(--font-display), sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #141414;
}

.gf-build__excerpt {
  margin: 0;
  color: rgba(20, 20, 20, 0.72);
  font-size: 0.95rem;
  line-height: 1.55;
}

.gf-build__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.gf-build__metric strong {
  display: block;
  font-family: var(--font-display), sans-serif;
  font-size: 1.65rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #141414;
}

.gf-build__metric span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(20, 20, 20, 0.68);
}

.gf-build__shot {
  margin: 1.25rem -0.35rem 0;
  height: 11.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.gf-build__shot img {
  width: auto !important;
  max-width: 72% !important;
  height: 10.25rem !important;
  object-fit: contain !important;
}

/* ---- Technology stack rail ---- */
@media (max-width: 991px) {
  .gf-build__card {
    width: min(58vw, 22rem);
    max-width: min(58vw, 22rem);
  }

  .gf-build__slider {
    height: 32rem;
  }

  .gf-build__face {
    min-height: 28rem;
    padding: 1.6rem 1.6rem 0;
  }

  .gf-home .gf-band--studio .section-two-halves,
  .gf-home .gf-band--studio .gf-studio__panel,
  .gf-home .gf-band--studio .gf-method__row,
  .gf-home .gf-band--studio .section-two-halves.custom__img,
  .gf-home .section-two-halves,
  .gf-home .gf-method__row,
  .gf-home .gf-studio__panel {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.5rem !important;
    width: 100%;
  }

  .gf-home .gf-band--studio .left--home_half,
  .gf-home .gf-band--studio .right--home_half {
    width: 100% !important;
    max-width: 100% !important;
  }

  .gf-method__row .gf-studio__media {
    order: -1;
  }

  .gf-method__steps {
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .gf-home .gf-band--studio .right--home_half img,
  .gf-studio__media.right--home_half {
    aspect-ratio: 16 / 10;
    max-height: 22rem;
    width: 100%;
  }

  .gf-band--proof .home-stats__body {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .gf-band--proof .home__stats--main:nth-child(3n)::before {
    display: block !important;
  }

  .gf-band--proof .home__stats--main:nth-child(2n)::before {
    display: none !important;
  }

  .gf-band--proof .home__stats--main:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .gf-band--proof .home__stats--main:nth-child(n + 4) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

}

@media (max-width: 768px) {
  .gf-build__card {
    width: min(86vw, 22rem);
    max-width: min(86vw, 22rem);
    transform-origin: 50% 50%;
  }

  .gf-build__card.is-side {
    opacity: 0.28;
  }

  .gf-build__slider {
    height: 30rem;
  }

  .gf-build__face {
    min-height: 26rem;
  }

  .gf-build__rail {
    max-width: 100%;
  }
}
@media (max-width: 640px) {
  .gf-band--build .gf-band__title {
    font-size: 1.7rem !important;
    padding: 0 0.75rem;
  }

  .gf-build__rail {
    gap: 0.5rem;
  }

  .gf-build__arrow {
    width: 42px;
    height: 42px;
  }

  .gf-build__name {
    padding: 10px 14px;
    font-size: 0.8rem;
  }

  .gf-build__card,
  .gf-build__face {
    min-height: 24rem;
  }

