/* Kinzler production visual override: photo-led page heroes inspired by imattmiller.com. */
:root {
  --kinzler-gold: #f0c400;
  --kinzler-orange: #ff6b00;
  --kinzler-black: #030303;
}

body {
  background: #ffffff;
}

header.sticky {
  background: #030303 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header.sticky > div:first-child {
  min-height: 118px;
}

header.sticky img[src="/kinzler-logo-header.webp"] {
  max-height: 118px;
  object-fit: contain;
}

header.sticky nav a {
  letter-spacing: 0;
}

header.sticky .btn[href="/request-estimate"],
header.sticky a[href="/request-estimate"].btn,
main a[href="/request-estimate"].btn {
  background: var(--kinzler-orange) !important;
  border-color: var(--kinzler-orange) !important;
  color: #ffffff !important;
  box-shadow: 0 16px 35px rgba(255, 107, 0, 0.24);
}

header.sticky .btn[href="/request-estimate"]:hover,
header.sticky a[href="/request-estimate"].btn:hover,
main a[href="/request-estimate"].btn:hover {
  background: #ff7f24 !important;
  border-color: #ff7f24 !important;
  color: #ffffff !important;
}

main > section:first-child {
  min-height: clamp(560px, 68vh, 760px);
  display: flex;
  align-items: center;
  background: #050505 !important;
}

main > section:first-child > .relative.mx-auto {
  width: 100%;
  padding-top: clamp(4.5rem, 8vw, 8rem) !important;
  padding-bottom: clamp(4.5rem, 8vw, 8rem) !important;
}

main > section:first-child img[src^="/photos/"] {
  opacity: 1 !important;
  filter: saturate(1.08) contrast(1.05);
}

main > section:first-child > div[class*="bg-gradient-to-r"],
main > section:first-child > div[class*="bg-gradient-to-b"] {
  display: none !important;
}

main > section:first-child::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.54) 38%, rgba(0, 0, 0, 0.08) 72%, rgba(0, 0, 0, 0.16) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.02) 48%, rgba(0, 0, 0, 0.52) 100%);
  z-index: 1;
}

main > section:first-child > .relative.mx-auto {
  position: relative;
  z-index: 2;
}

main > section:first-child > .absolute.inset-0,
main > section:first-child > .relative.overflow-hidden.absolute.inset-0 {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0;
}

main > section:first-child h1 {
  max-width: 820px !important;
  font-size: clamp(3rem, 7vw, 6.8rem) !important;
  line-height: 0.92 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
  text-wrap: balance;
}

main > section:first-child p {
  max-width: 740px !important;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem) !important;
  line-height: 1.45 !important;
}

.rough-white-edge::after {
  display: none !important;
}

.slash-block {
  justify-content: flex-start !important;
}

.slash-block span {
  background: var(--kinzler-orange) !important;
}

.section-label,
main > section:first-child .section-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border: 1px solid rgba(255, 107, 0, 0.85);
  color: #ff7f24 !important;
  background: rgba(3, 3, 3, 0.58);
  padding: 0.55rem 0.85rem;
  border-radius: 0.25rem;
}

main > section:first-child:not(:has(img[src^="/photos/"])) {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.56)),
    url("/photos/cta-build-your-project.webp") !important;
  background-size: cover !important;
  background-position: center !important;
}

section.bg-white.py-20,
section.bg-white.lg\:py-32 {
  padding-top: clamp(4rem, 6vw, 6rem) !important;
  padding-bottom: clamp(4rem, 6vw, 6rem) !important;
}

main h2 {
  letter-spacing: 0 !important;
}

@media (max-width: 1023px) {
  header.sticky > div:first-child {
    min-height: 88px;
  }

  header.sticky img[src="/kinzler-logo-header.webp"] {
    max-height: 88px;
  }

  main > section:first-child {
    min-height: 560px;
  }

  main > section:first-child h1 {
    font-size: clamp(2.5rem, 12vw, 4.5rem) !important;
  }
}
