/* Industry landing pages — extends the home (reference-*) design system.
   Loaded after home.css; reuses its tokens, type scale, grain + backdrop. */

/* Hero — same stage-left composition as home, sized for longer pain headlines. */
.industry-hero {
  min-height: calc(88vh - 72px);
  padding: clamp(110px, 14vh, 170px) 0 0 var(--reference-left);
}

.industry-hero .reference-copy {
  width: 40vw;
}

.industry-hero h1 {
  width: 44vw;
  font-size: clamp(30px, 3.7vw, 61px);
  font-weight: 300;
  letter-spacing: -0.08em;
  line-height: 1.04;
}

.industry-hero .reference-eyebrow {
  margin-bottom: 1.4vw;
}

/* Pains — right-offset column, 3 × 2 hairline grid. */
.industry-pains {
  width: 61vw;
  margin-left: 33.5vw;
  padding-top: 16vh;
}

.industry-pains .reference-intro {
  width: 34vw;
  margin-top: 1.5vw;
}

.industry-pains h2 {
  margin-top: 1.7vw;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(22px, 3.13vw, 51px);
  font-weight: 300;
  letter-spacing: -0.085em;
  line-height: 0.98;
}

.industry-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 4vw;
}

.industry-pain-grid article {
  min-height: 10.5vw;
  padding: 0 1.9vw 2.6vw 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-pain-grid article:hover {
  transform: translateY(-4px);
}

.industry-pain-grid article:not(:nth-child(3n + 1)) {
  padding-left: 1.9vw;
  border-left: 1px solid var(--reference-line);
}

.industry-pain-grid article:nth-child(n + 4) {
  padding-top: 2.3vw;
  border-top: 1px solid var(--reference-line);
}

.industry-pain-grid h3 {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(10px, 1.05vw, 18px);
  font-weight: 300;
  letter-spacing: -0.07em;
  line-height: 1.15;
  transition: color 0.25s ease;
}

.industry-pain-grid article:hover h3 {
  color: #fff;
}

.industry-pain-grid p {
  margin-top: 0.95vw;
  color: var(--reference-soft);
  font-size: clamp(12px, 0.92vw, 16px);
  letter-spacing: -0.035em;
  line-height: 1.62;
}

/* What we build — wide left section, 2 × 2 numbered features. */
.industry-build {
  width: 83vw;
  margin-left: var(--reference-left);
  padding-top: 17vh;
}

.industry-build > h2 {
  width: 52vw;
  margin-top: 1.7vw;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(22px, 3.13vw, 51px);
  font-weight: 300;
  letter-spacing: -0.085em;
  line-height: 0.98;
}

.industry-build-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4.2vw 5vw;
  width: 70vw;
  margin-top: 4.4vw;
}

.industry-build-grid article {
  padding-top: 1.6vw;
  border-top: 1px solid var(--reference-line);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-build-grid article:hover {
  transform: translateY(-4px);
}

.industry-build-grid h3 {
  margin-top: 1.45vw;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(15px, 1.62vw, 27px);
  font-weight: 300;
  letter-spacing: -0.075em;
  line-height: 1.08;
  transition: color 0.25s ease;
}

.industry-build-grid article:hover h3 {
  color: #fff;
}

.industry-build-grid p:last-child {
  margin-top: 1vw;
  color: var(--reference-soft);
  font-size: clamp(12px, 0.92vw, 16px);
  letter-spacing: -0.035em;
  line-height: 1.62;
}

/* Proof — quiet full-width band with three delivered systems. */
.industry-proof {
  width: 61vw;
  margin-left: var(--reference-left);
  padding-top: 16vh;
}

.industry-proof h2 {
  margin-top: 1.7vw;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(22px, 3.13vw, 51px);
  font-weight: 300;
  letter-spacing: -0.085em;
  line-height: 0.98;
}

.industry-proof .reference-intro {
  width: 36vw;
  margin-top: 1.4vw;
}

.industry-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 3.6vw;
}

.industry-proof-grid article {
  padding: 1.7vw 1.9vw 0 0;
  border-top: 1px solid var(--reference-line);
}

.industry-proof-grid article + article {
  padding-left: 1.9vw;
}

.industry-proof-grid h3 {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(10px, 1.05vw, 18px);
  font-weight: 300;
  letter-spacing: -0.07em;
  line-height: 1.15;
}

.industry-proof-grid p {
  margin-top: 0.95vw;
  color: var(--reference-soft);
  font-size: clamp(12px, 0.92vw, 16px);
  letter-spacing: -0.035em;
  line-height: 1.62;
}

/* Industries hub — stacked editorial rows, alternating offsets. */
.industry-index {
  padding-top: 10vh;
}

.industry-index-row {
  display: grid;
  grid-template-columns: 8vw 44vw 1fr;
  gap: 3vw;
  align-items: start;
  width: 83vw;
  margin-left: var(--reference-left);
  padding: 4.2vw 0;
  border-top: 1px solid var(--reference-line);
}

.industry-index-row:nth-child(even) {
  margin-left: calc(var(--reference-left) + 5.5vw);
}

.industry-index-row h2 {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(20px, 2.5vw, 41px);
  font-weight: 300;
  letter-spacing: -0.08em;
  line-height: 1.02;
}

.industry-index-row h2 a {
  transition: color 0.25s ease;
}

.industry-index-row h2 a:hover {
  color: #fff;
}

.industry-index-row p {
  margin-top: 1.1vw;
  color: var(--reference-soft);
  font-size: clamp(12px, 0.92vw, 16px);
  letter-spacing: -0.035em;
  line-height: 1.62;
}

.industry-index-row .reference-text-link {
  margin-top: 1.4vw;
}

/* Final booking section spacing tightens slightly on landing pages. */
.industry-booking {
  padding-top: 17vh;
}

@media (max-width: 560px) {
  .industry-hero {
    min-height: 540px;
    padding: 96px 20px 44px;
  }

  .industry-hero .reference-copy,
  .industry-hero h1 {
    width: auto;
  }

  .industry-hero h1 {
    font-size: 38px;
  }

  .industry-hero .reference-eyebrow {
    margin-bottom: 12px;
  }

  .industry-pains,
  .industry-build,
  .industry-proof,
  .industry-index {
    width: auto;
    margin: 0;
    padding: 58px 20px;
  }

  .industry-pains h2,
  .industry-build > h2,
  .industry-proof h2 {
    width: auto;
    margin-top: 13px;
    font-size: 34px;
  }

  .industry-pains .reference-intro,
  .industry-proof .reference-intro {
    width: min(100%, 480px);
    margin-top: 16px;
  }

  .industry-pain-grid,
  .industry-build-grid,
  .industry-proof-grid {
    grid-template-columns: 1fr;
    gap: 0;
    width: auto;
    margin-top: 28px;
  }

  .industry-pain-grid article,
  .industry-pain-grid article:not(:nth-child(3n + 1)),
  .industry-pain-grid article:nth-child(n + 4) {
    min-height: auto;
    padding: 16px 0;
    border-left: 0;
    border-top: 1px solid var(--reference-line);
  }

  .industry-pain-grid h3 {
    font-size: 17px;
  }

  .industry-pain-grid p,
  .industry-build-grid p:last-child,
  .industry-proof-grid p {
    margin-top: 7px;
    font-size: 12px;
  }

  .industry-build-grid article {
    padding: 16px 0;
  }

  .industry-build-grid h3 {
    margin-top: 7px;
    font-size: 21px;
  }

  .industry-proof-grid article,
  .industry-proof-grid article + article {
    padding: 16px 0 0;
  }

  .industry-proof-grid article {
    padding-bottom: 16px;
  }

  .industry-index-row,
  .industry-index-row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 7px;
    width: auto;
    margin: 0;
    padding: 26px 0;
  }

  .industry-index-row h2 {
    font-size: 26px;
  }

  .industry-index-row p {
    margin-top: 9px;
  }

  .industry-index-row .reference-text-link {
    margin-top: 12px;
  }

  .industry-booking {
    padding-top: 58px;
  }
}
