/* Edge Welding homepage — mill layout */

.hero-bleed {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--mill);
}
.hero-bleed-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bleed-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 18, 18, .88) 0%, rgba(18, 18, 18, .45) 52%, rgba(18, 18, 18, .2) 100%),
    linear-gradient(180deg, rgba(18, 18, 18, .15) 0%, rgba(18, 18, 18, .55) 100%);
}
.hero-bleed-copy {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 3.25rem;
  max-width: none;
}
.hero-bleed-copy .eyebrow {
  color: var(--spark-hot);
}
.hero-bleed-copy h1 {
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  color: var(--white);
  margin-top: .5rem;
  text-wrap: balance;
}
.hero-bleed-copy .lede {
  max-width: 58ch;
  margin-top: 1.1rem;
  font-size: 1.08rem;
  color: #ddd8ce;
  line-height: 1.65;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero-stats div span {
  display: block;
  margin-top: .2rem;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #b8b2a8;
  font-weight: 600;
}

.home-process {
  background: var(--slag);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.home-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.home-process-grid div {
  padding: 1.05rem .85rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255, 255, 255, .12);
}
.home-process-grid div:last-child { border-right: 0; }
.home-process-grid strong {
  display: block;
  font-size: .68rem;
  letter-spacing: .2em;
  color: var(--spark-hot);
  font-weight: 700;
  margin-bottom: .3rem;
}

.sec-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  max-width: none;
  margin-bottom: 1.5rem;
}
.sec-head-row h2 { max-width: 16ch; }

.service-rows {
  display: grid;
  border-top: 2px solid var(--mill);
}
.service-row {
  display: grid;
  grid-template-columns: auto 88px 1fr auto;
  gap: 1rem 1.15rem;
  align-items: center;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.service-row-num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--spark);
}
.service-row img {
  width: 88px;
  height: 66px;
  object-fit: cover;
}
.service-row-copy h3 {
  font-size: 1.55rem;
  margin-bottom: .2rem;
}
.service-row-copy p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  max-width: 48ch;
}
.service-row-go {
  font-family: var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .82rem;
  font-weight: 700;
  color: var(--mill);
  white-space: nowrap;
}
.service-row:hover .service-row-go,
.service-row:hover h3 { color: var(--spark); }

.home-feature { background: var(--mill); color: var(--white); }
.home-feature .eyebrow { color: var(--spark-hot); }
.home-feature h2 { color: var(--white); }
.home-feature-grid {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}
.home-feature-copy h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: .45rem 0 1rem;
}
.home-feature-copy p {
  color: #c8c2b8;
  line-height: 1.65;
  margin-bottom: 1.15rem;
  max-width: 46ch;
}
.home-feature .btn-ghost {
  border-color: var(--white);
  color: var(--white);
}
.home-feature .btn-ghost:hover {
  background: var(--white);
  color: var(--mill);
}
.home-feature-visual {
  margin: 0;
  overflow: hidden;
}
.home-feature-visual img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  display: block;
}

.home-cta {
  background: var(--spark);
  color: var(--white);
  padding: 3.25rem 0;
}
.home-cta .eyebrow { color: rgba(255, 255, 255, .85); }
.home-cta h2 { color: var(--white); }
.home-cta-inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.home-cta-inner h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin: .35rem 0 .65rem;
}
.home-cta-inner p {
  color: rgba(255, 255, 255, .88);
  max-width: 42ch;
  line-height: 1.55;
}
.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.home-cta .call {
  background: var(--mill);
}
.home-cta .call:hover { background: var(--slag); }
.home-cta .btn-ghost {
  border-color: var(--white);
  color: var(--white);
}
.home-cta .btn-ghost:hover {
  background: var(--white);
  color: var(--spark-deep);
}

@media (min-width: 768px) {
  .home-feature-grid {
    grid-template-columns: 1fr 1.05fr;
  }
  .home-cta-inner {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 700px) {
  .home-process-grid {
    grid-template-columns: 1fr;
  }
  .home-process-grid div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
  .home-process-grid div:last-child { border-bottom: 0; }
  .service-row {
    grid-template-columns: auto 1fr;
  }
  .service-row img { display: none; }
  .service-row-go { display: none; }
}
