/* Industrial typography and controls are inherited from industrial.css. */

.industrial-photo-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 4.75rem);
  overflow: hidden;
  border-bottom: 1px solid var(--graphite-950);
  background: var(--mineral-50);
}

.industrial-photo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("assets/tactical-hero-v1.webp") 70% center / cover no-repeat;
  filter: saturate(0.62) contrast(0.96) brightness(1.03);
  transform: scale(1.015);
}

.industrial-photo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg,
      var(--mineral-50) 0%,
      color-mix(in oklch, var(--mineral-50) 99%, transparent) 38%,
      color-mix(in oklch, var(--mineral-50) 92%, transparent) 64%,
      color-mix(in oklch, var(--mineral-50) 12%, transparent) 88%),
    linear-gradient(0deg,
      color-mix(in oklch, var(--mineral-50) 96%, transparent) 0%,
      transparent 36%);
}

.industrial-photo-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.42;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: clamp(3rem, 7vw, 7.5rem) clamp(3rem, 7vw, 7.5rem);
  mask-image: linear-gradient(90deg, black 0 48%, transparent 72%);
}

.industrial-photo-hero__inner {
  min-height: calc(100svh - 4.75rem);
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: clamp(3rem, 8vh, 7rem);
}

.industrial-photo-hero__copy {
  align-self: center;
  display: grid;
  gap: var(--space-lg);
  width: min(100%, 49rem);
  padding-bottom: var(--space-2xl);
}

.industrial-photo-hero h1 {
  max-width: 8.8ch;
  margin: 0 0 0 -0.03em;
  font-family: var(--font-display);
  font-size: clamp(4rem, 9.2vw, 9.5rem);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.industrial-photo-lead {
  max-width: 34rem;
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.55;
}

.industrial-photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.industrial-photo-rail {
  display: grid;
  border-top: 1px solid var(--graphite-950);
  background: color-mix(in oklch, var(--mineral-50) 93%, transparent);
}

.industrial-photo-rail a {
  min-height: 4.75rem;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-sm);
  padding-inline: var(--space-sm);
  color: var(--graphite-950);
  border-bottom: 1px solid var(--graphite-950);
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.industrial-photo-rail strong {
  color: var(--copper-600);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
}

.industrial-photo-rail span {
  font-weight: 700;
}

.industrial-photo-rail i {
  font-style: normal;
  transition: transform 220ms var(--ease-out);
}

@media (hover: hover) {
  .industrial-photo-rail a:hover {
    background: var(--mineral-100);
  }

  .industrial-photo-rail a:hover i {
    transform: translateX(0.25rem);
  }
}

@media (min-width: 48rem) {
  .industrial-photo-rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .industrial-photo-rail a {
    border-right: 1px solid var(--graphite-950);
    border-bottom: 0;
  }

  .industrial-photo-rail a:last-child {
    border-right: 0;
  }
}

@media (max-width: 47.99rem) {
  .industrial-photo-hero {
    min-height: auto;
  }

  .industrial-photo-hero::before {
    background-position: 67% top;
  }

  .industrial-photo-hero::after {
    background:
      linear-gradient(0deg,
        var(--mineral-50) 0%,
        color-mix(in oklch, var(--mineral-50) 98%, transparent) 42%,
        color-mix(in oklch, var(--mineral-50) 38%, transparent) 78%,
        color-mix(in oklch, var(--mineral-50) 10%, transparent) 100%);
  }

  .industrial-photo-grid {
    opacity: 0.28;
    mask-image: linear-gradient(0deg, black 0 58%, transparent 88%);
  }

  .industrial-photo-hero__inner {
    min-height: 52rem;
    padding-top: 20rem;
  }

  .industrial-photo-hero__copy {
    align-self: end;
    gap: var(--space-md);
    padding-bottom: var(--space-xl);
  }

  .industrial-photo-hero h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 11.5vw, 3.7rem);
  }

  .industrial-photo-actions {
    display: grid;
  }

  .industrial-photo-actions .button {
    width: 100%;
  }
}
