/* ============================================================
   HDR Photography Page
   ============================================================ */

.page-hdr-photography {
  background: #fffdf8;
}

.page-hdr-photography .main {
  padding: 0 0 90px;
  background:
    radial-gradient(circle at 50% 16%, rgba(196, 141, 38, 0.08), transparent 18rem),
    #fffdf8;
}

.industry-hero--hdr .hero__overlay {
  background:
    radial-gradient(circle at 50% 14%, rgba(243, 198, 109, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(7, 17, 8, 0.16) 0%, rgba(7, 17, 8, 0.34) 34%, rgba(7, 17, 8, 0.88) 100%);
}

.industry-hero--hdr .hero__title {
  max-width: 12.2ch;
}

.hdr-story,
.page-hdr-photography .portfolio-marquee,
.page-hdr-photography .selected-work,
.page-hdr-photography #contact {
  scroll-margin-top: 112px;
}

.hdr-story {
  padding: clamp(58px, 7vw, 88px) 0 clamp(44px, 5vw, 70px);
}

.hdr-story__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 48px);
  align-items: start;
}

.hdr-story__copy {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.hdr-story__copy h2 {
  max-width: 18ch;
  margin: 0 auto;
  color: #0b130c;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.hdr-story__title {
  display: grid;
  gap: 0.12em;
}

.hdr-story__title span {
  display: block;
}

.hdr-story__title span:last-child {
  color: #c48d26;
  font-style: italic;
  background: linear-gradient(90deg, #c48d26 0%, #f3c66d 46%, #c48d26 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hdrTitleSheen 6s ease-in-out infinite;
}

@keyframes hdrTitleSheen {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hdr-story__title span:last-child {
    animation: none;
  }
}

.hdr-story__copy p {
  margin: 15px auto 0;
  max-width: 60ch;
  color: #435042;
  font-size: 0.96rem;
  line-height: 1.76;
}

.hdr-story__button {
  margin-top: 26px;
  min-width: 144px;
}

.hdr-story__button span {
  margin-left: 8px;
}

.hdr-story__comparison {
  position: relative;
  justify-self: center;
  width: min(100%, 760px);
  border-radius: 8px;
  border: 1px solid rgba(16, 33, 13, 0.08);
  background: #10210d;
  box-shadow: 0 22px 54px rgba(5, 14, 6, 0.14);
}

.hdr-story__comparison .service-switcher__before-after-img {
  aspect-ratio: 16 / 9;
}

.hdr-story__comparison-img {
  filter: saturate(1.06) contrast(1.03) brightness(1.03);
}

.hdr-story__comparison-img--other {
  filter: saturate(0.94) contrast(0.92) brightness(0.96) hue-rotate(-2deg);
}

.hdr-story__comparison-before::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 36% 20%, rgba(255, 253, 248, 0.04) 0%, rgba(255, 253, 248, 0) 28%),
    linear-gradient(90deg, rgba(25, 38, 34, 0.045) 0%, rgba(25, 38, 34, 0.01) 100%),
    linear-gradient(180deg, rgba(180, 191, 185, 0.04) 0%, rgba(8, 16, 10, 0.05) 100%);
}

.hdr-story__comparison .service-switcher__before-after-label {
  bottom: 18px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  background: rgba(7, 14, 9, 0.72);
  color: #fff3df;
}

.hdr-story__comparison .service-switcher__before-after-label--after {
  border-color: rgba(243, 198, 109, 0.34);
  background: rgba(196, 141, 38, 0.9);
  color: #10210d;
}

.hdr-story__comparison .service-switcher__before-after-handle {
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.36), rgba(255, 253, 248, 0.14)),
    rgba(7, 14, 9, 0.2);
}

.page-hdr-photography .portfolio-marquee {
  padding-top: 0;
  background: #fffdf8;
}

.page-hdr-photography .portfolio-marquee--title .portfolio-marquee__bleed {
  padding-top: clamp(28px, 3.4vw, 36px);
}

.page-hdr-photography .portfolio-marquee--title .portfolio-marquee__inner {
  display: grid;
  place-items: center;
}

.page-hdr-photography .portfolio-marquee__title {
  margin: 0;
  color: #fff3df;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 2px 0 rgba(7, 14, 9, 0.18);
}

.page-hdr-photography .selected-work {
  padding-bottom: clamp(64px, 8vw, 104px);
}

.page-hdr-photography .selected-work__head {
  max-width: min(100%, 62rem);
  margin-top: clamp(-94px, -7vw, -58px);
  margin-bottom: 34px;
}

.page-hdr-photography .selected-work__industry-menu {
  width: min(100%, 58rem);
  margin: 0 auto;
  align-items: center;
  justify-content: center;
}

.page-hdr-photography .selected-work__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: none;
  gap: 18px;
}

.page-hdr-photography .work-card {
  aspect-ratio: 3 / 2;
}

.page-hdr-photography .work-card img {
  aspect-ratio: auto;
}

@media (max-width: 980px) {
  .hdr-story__copy h2 {
    max-width: 16ch;
  }

  .page-hdr-photography .selected-work__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .page-hdr-photography .main {
    padding-bottom: 68px;
  }

  .hdr-story {
    padding-top: 54px;
  }

  .hdr-story__grid {
    gap: 30px;
  }

  .hdr-story__copy h2 {
    max-width: 13ch;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hdr-story__copy {
    text-align: left;
  }

  .hdr-story__copy h2,
  .hdr-story__copy p {
    margin-left: 0;
    margin-right: 0;
  }

  .hdr-story__copy p {
    font-size: 0.92rem;
  }

  .hdr-story__comparison .service-switcher__before-after-label {
    bottom: 12px;
  }

  .hdr-story__button {
    width: 100%;
  }

  .page-hdr-photography .selected-work__head {
    margin-top: -34px;
    margin-bottom: 30px;
  }

  .page-hdr-photography .selected-work__industry-menu {
    width: 100%;
    margin-top: 20px;
  }

  .page-hdr-photography .selected-work__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
