/* Precision slider geometry for mouse and keyboard users. */
.hero__slider-ui {
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.site.is-ready .hero__slider-ui {
  opacity: 1;
  animation: none;
}

.hero__slider-knob {
  animation: none;
}

.hero__range {
  width: calc(36% + 56px);
  height: 80px;
  margin: 0;
  padding: 0;
  top: 68%;
  left: calc(24% - 28px);
  opacity: 0.001;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  transform: translateY(-50%);
  touch-action: pan-y;
}

.hero__range::-webkit-slider-runnable-track {
  height: 80px;
  background: transparent;
}

.hero__range::-webkit-slider-thumb {
  width: 56px;
  height: 80px;
  border: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
}

.hero__range::-moz-range-track {
  height: 80px;
  border: 0;
  background: transparent;
}

.hero__range::-moz-range-thumb {
  width: 56px;
  height: 80px;
  border: 0;
  background: transparent;
}

.hero:has(.hero__range:focus-visible) .hero__slider-knob {
  outline: 3px solid #fff;
  outline-offset: 6px;
  box-shadow: 0 0 0 9px var(--orange), 0 15px 34px #0909084d;
}

@media (width <= 760px) {
  .hero__range {
    top: 59%;
  }
}

/*
 * The comparison uses the same photograph twice. On coarse pointers a static,
 * cinematic hero is more honest, considerably lighter and avoids a fake drag
 * interaction. Desktop retains the comparison with corrected geometry.
 */
@media (hover: none) and (pointer: coarse) {
  .hero {
    height: 100svh;
    min-height: min(760px, 100svh);
    max-height: none;
  }

  .hero__before,
  .hero__split-line,
  .hero__slider-ui,
  .hero__range,
  .hero__grain {
    display: none !important;
  }

  .hero__image,
  .site.is-ready .hero__image {
    opacity: 1;
    transform: scale(1.025) !important;
    animation: none !important;
    will-change: auto;
  }

  .hero__wash {
    background:
      linear-gradient(#09090820, #09090805 43%, #09090859 78%, #f7f5eff7),
      linear-gradient(90deg, #09090838, #0000 68%);
  }
}

@media (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 900px) {
  .hero__location {
    display: none;
  }

  .hero__headline {
    top: 23%;
    font-size: clamp(7.5rem, 16vw, 13rem);
  }

  .hero__bottom {
    bottom: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slider-ui {
    opacity: 1 !important;
    animation: none !important;
    transform: translate(-50%, -50%) !important;
  }

  .hero__slider-knob {
    animation: none !important;
  }
}

/* Useful regional content: editorial structure instead of keyword cards. */
.area-seo-detail {
  color: #f7f5ef;
  background: var(--petrol-deep);
  padding: clamp(86px, 9vw, 138px) 0;
}

.area-seo-detail__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(55px, 8vw, 130px);
  align-items: start;
}

.area-seo-detail__intro {
  position: sticky;
  top: 56px;
}

.area-seo-detail__intro .eyebrow {
  color: #c5b48b;
}

.area-seo-detail__intro h2 {
  max-width: 590px;
  margin: 24px 0 0;
  text-transform: uppercase;
  font-family: Barlow Condensed, sans-serif;
  font-size: clamp(3.4rem, 6.3vw, 6.8rem);
  font-weight: 600;
  letter-spacing: -0.052em;
  line-height: 0.9;
}

.area-seo-detail__content {
  border-top: 1px solid #ffffff2b;
}

.area-seo-detail__content article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 24px;
  padding: 32px 0 38px;
  border-bottom: 1px solid #ffffff2b;
}

.area-seo-detail__content article > span {
  color: #c5b48b;
  font-family: Barlow Condensed, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.area-seo-detail__content h3 {
  margin: 0;
  font-family: Barlow Condensed, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
}

.area-seo-detail__content p {
  max-width: 760px;
  margin: 16px 0 0;
  color: #f7f5efb8;
  font-size: 0.84rem;
  line-height: 1.78;
}

.area-seo-detail__content a {
  color: #dbcba6;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (width <= 900px) {
  .area-seo-detail__grid {
    grid-template-columns: 1fr;
  }

  .area-seo-detail__intro {
    position: static;
  }
}

@media (width <= 560px) {
  .area-seo-detail__content article {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
  }
}
