.service-page {
  overflow-x: clip;
}

.service-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 20px 12px;
  color: var(--muted);
  font-size: 12px;
}

.service-breadcrumb a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.service-hero,
.transport-hero,
.materials-hero {
  position: relative;
  display: grid;
  min-height: min(680px, calc(100svh - 120px));
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(34px, 6vw, 96px);
  padding-block: clamp(30px, 5vw, 68px) clamp(70px, 9vw, 130px);
}

.service-hero-copy,
.materials-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 630px;
  padding-block: 20px;
}

.service-hero h1,
.transport-hero h1,
.materials-hero h1 {
  max-width: 720px;
  margin-top: 24px;
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 760;
  letter-spacing: -.055em;
  line-height: .98;
}

.service-lede {
  max-width: 590px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.55;
}

.service-hero .hero-actions,
.materials-hero .button {
  margin-top: 30px;
}

.service-hero-media,
.materials-hero-media {
  position: relative;
  min-width: 0;
  margin: 0;
}

.service-hero-media::before,
.materials-hero-media::before {
  position: absolute;
  z-index: 0;
  top: -26px;
  right: -26px;
  width: 39%;
  aspect-ratio: 1;
  border-top: 1px solid var(--yellow-dark);
  border-right: 1px solid var(--yellow-dark);
  content: "";
}

.service-hero-media picture,
.service-hero-media img,
.materials-hero-media picture,
.materials-hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
}

.service-hero-media img {
  aspect-ratio: 1.13 / 1;
  object-fit: cover;
}

.service-hero-media figcaption,
.materials-hero-media figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  color: var(--muted);
  font-size: 11px;
}

.service-hero-media figcaption span {
  display: inline-grid;
  width: 29px;
  height: 29px;
  place-items: center;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
}

.equipment-hero::after {
  position: absolute;
  right: 35%;
  bottom: 8%;
  width: min(34vw, 420px);
  aspect-ratio: 1.24;
  background: url("assets/images/graphic-blueprint.svg") center / contain no-repeat;
  content: "";
  opacity: .7;
  pointer-events: none;
}

.equipment-hero-media {
  z-index: 1;
}

.equipment-hero-media::after {
  position: absolute;
  right: -13px;
  bottom: 45px;
  width: 7px;
  height: min(25vw, 210px);
  background: var(--yellow);
  content: "";
}

.service-intro {
  background: var(--dark);
  color: var(--white);
}

.service-intro-inner {
  display: grid;
  grid-template-columns: .72fr 1fr 1fr;
  align-items: start;
  gap: clamp(28px, 5vw, 76px);
}

.service-intro-inner > .eyebrow {
  color: #d1d2cf;
}

.service-intro-inner h2,
.materials-catalog-heading h2,
.transport-details-heading h2,
.service-faq-inner h2 {
  max-width: 600px;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 740;
  letter-spacing: -.045em;
  line-height: 1.04;
}

.service-intro-inner > p:last-child {
  max-width: 420px;
  color: #d0d1cf;
  font-size: 16px;
}

.service-section-heading {
  margin-bottom: 36px;
}

.service-equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 22px;
}

.service-equipment-card {
  min-width: 0;
  background: var(--white);
}

.service-equipment-card img {
  width: 100%;
  aspect-ratio: 1.38 / 1;
  object-fit: cover;
}

.service-equipment-card > div {
  padding: 18px 18px 21px;
}

.service-equipment-card h3,
.service-faq-list h3 {
  font-size: 19px;
  font-weight: 730;
  letter-spacing: -.025em;
}

.service-equipment-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

.service-quote-strip,
.transport-service-note,
.materials-delivery {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
}

.service-quote-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding-block: clamp(36px, 6vw, 72px);
}

.eyebrow-light {
  color: #d1d2cf;
}

.service-quote-inner h2,
.transport-note-inner h2,
.materials-delivery-inner h2 {
  max-width: 680px;
  margin-top: 15px;
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 740;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.service-faq-inner {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(36px, 7vw, 100px);
}

.service-faq-list article {
  padding-block: 20px;
  border-top: 1px solid var(--line);
}

.service-faq-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.service-faq-list p {
  max-width: 680px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.service-related {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 28px;
  padding-block: 24px 40px;
  border-top: 1px solid var(--line);
}

.service-related a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.service-related a span {
  color: var(--yellow-dark);
}

/* Transport uses a dark editorial panel and a route diagram rather than the split photo hero. */
.transport-hero {
  min-height: 640px;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 0;
  padding: 0;
  background: var(--dark);
  color: var(--white);
}

.transport-hero-media {
  position: relative;
  min-width: 0;
  height: 100%;
  min-height: 570px;
  margin: 0;
  overflow: hidden;
}

.transport-hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 62%, rgba(25, 27, 29, .4));
  content: "";
}

.transport-hero-media picture,
.transport-hero-media img {
  width: 100%;
  height: 100%;
}

.transport-hero-media img {
  min-height: 570px;
  object-fit: cover;
}

.transport-route-mark {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}

.transport-route-mark span {
  font-size: 18px;
}

.transport-hero-copy {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: clamp(30px, 5.4vw, 78px);
  background: var(--dark);
}

.transport-hero-copy::after {
  position: absolute;
  right: -20px;
  bottom: -35px;
  width: min(74%, 470px);
  height: 190px;
  background: url("assets/images/graphic-route.svg") right bottom / contain no-repeat;
  content: "";
  opacity: .18;
  pointer-events: none;
}

.transport-hero-copy > * {
  position: relative;
  z-index: 1;
}

.transport-hero-copy h1 {
  font-size: clamp(40px, 4.7vw, 64px);
}

.transport-hero-copy .service-lede {
  color: #d2d3d0;
}

.transport-origin {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  color: #c2c4c3;
  font-size: 13px;
}

.transport-details-heading {
  display: grid;
  grid-template-columns: .68fr 1.05fr 1fr;
  align-items: end;
  gap: clamp(25px, 4vw, 60px);
}

.transport-details-heading > p:last-child {
  max-width: 420px;
  color: var(--muted);
}

.transport-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.transport-steps article {
  min-height: 190px;
  padding: 22px 26px 10px 0;
  border-right: 1px solid var(--line);
}

.transport-steps article + article {
  padding-left: 26px;
}

.transport-steps article:last-child {
  border-right: 0;
}

.transport-steps article > span {
  color: var(--yellow-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
}

.transport-steps h3 {
  margin-top: 30px;
  font-size: 21px;
  letter-spacing: -.03em;
}

.transport-steps p {
  max-width: 310px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.transport-note-inner,
.materials-delivery-inner {
  display: grid;
  grid-template-columns: 1fr .72fr;
  align-items: center;
  gap: clamp(35px, 8vw, 120px);
  padding-block: clamp(42px, 7vw, 84px);
}

.transport-note-inner > p,
.materials-delivery-inner > div:last-child > p {
  color: #d2d3d0;
  font-size: 16px;
}

/* Materials combines a quiet catalog with a bolder delivery block. */
.materials-hero {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.materials-hero::after {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 25px;
  width: min(34vw, 370px);
  aspect-ratio: 1.38;
  background: url("assets/images/graphic-aggregate.svg") center / contain no-repeat;
  content: "";
  opacity: .55;
  pointer-events: none;
}

.materials-hero-media {
  z-index: 1;
  padding: 18px 0 0 18px;
}

.materials-hero-media img {
  aspect-ratio: 1.37 / 1;
  object-fit: cover;
}

.materials-hero-media figcaption {
  max-width: 520px;
  color: var(--muted);
  font-size: 11px;
}

.materials-catalog {
  background: var(--white);
}

.materials-catalog-heading {
  display: grid;
  grid-template-columns: .62fr 1fr .8fr;
  align-items: end;
  gap: clamp(25px, 5vw, 72px);
}

.materials-catalog-heading > p:last-child {
  max-width: 410px;
  color: var(--muted);
  font-size: 15px;
}

.materials-product-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 50px;
  border-top: 1px solid var(--line);
}

.materials-product-list article {
  display: flex;
  min-height: 175px;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 14px 15px 0;
  border-bottom: 1px solid var(--line);
}

.materials-product-list article + article {
  padding-left: 17px;
  border-left: 1px solid var(--line);
}

.materials-product-list article > span {
  color: var(--yellow-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}

.materials-product-list h3 {
  margin-top: 25px;
  font-size: 19px;
  letter-spacing: -.03em;
}

.materials-product-list a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.materials-product-list a:hover,
.materials-product-list a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--yellow-dark);
  text-underline-offset: 4px;
}

.materials-product-list a span {
  color: var(--yellow-dark);
}

.materials-delivery-inner > div:last-child > .button {
  margin-top: 23px;
}

@media (max-width: 1080px) {
  .service-intro-inner,
  .transport-details-heading,
  .materials-catalog-heading {
    grid-template-columns: 1fr 1.2fr;
  }

  .service-intro-inner > p:last-child,
  .transport-details-heading > p:last-child,
  .materials-catalog-heading > p:last-child {
    grid-column: 2;
  }

  .service-equipment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .materials-product-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .materials-product-list article:nth-child(4) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 860px) {
  .service-hero,
  .materials-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 38px 70px;
  }

  .service-hero-copy,
  .materials-hero-copy {
    max-width: 720px;
    padding-block: 0;
  }

  .service-hero-media,
  .materials-hero-media {
    width: min(100%, 760px);
    justify-self: end;
  }

  .service-hero-media img,
  .materials-hero-media img {
    aspect-ratio: 1.55 / 1;
  }

  .equipment-hero::after,
  .materials-hero::after {
    right: 0;
    bottom: 2%;
    width: min(50vw, 420px);
  }

  .transport-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-bottom: 30px;
  }

  .transport-hero-media,
  .transport-hero-media img {
    height: auto;
    min-height: 0;
    aspect-ratio: 1.7 / 1;
  }

  .transport-hero-copy {
    padding: 8px clamp(28px, 6vw, 52px) 20px;
  }
}

@media (max-width: 760px) {
  .service-breadcrumb {
    padding-block: 14px 6px;
    font-size: 11px;
  }

  .service-hero,
  .materials-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 36px 60px;
  }

  .service-hero-copy,
  .materials-hero-copy {
    padding-block: 8px 0;
  }

  .service-hero h1,
  .transport-hero h1,
  .materials-hero h1 {
    margin-top: 18px;
    font-size: clamp(39px, 11vw, 58px);
  }

  .service-lede {
    margin-top: 17px;
    font-size: 17px;
  }

  .service-hero .hero-actions {
    margin-top: 23px;
  }

  .service-hero-media img {
    aspect-ratio: 1.28 / 1;
  }

  .service-hero-media::before,
  .materials-hero-media::before {
    top: -12px;
    right: -10px;
  }

  .equipment-hero::after {
    right: 1%;
    bottom: 6%;
    width: 62vw;
    opacity: .42;
  }

  .service-intro-inner,
  .transport-details-heading,
  .materials-catalog-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-intro-inner > p:last-child,
  .transport-details-heading > p:last-child,
  .materials-catalog-heading > p:last-child {
    grid-column: auto;
  }

  .service-intro-inner h2,
  .materials-catalog-heading h2,
  .transport-details-heading h2,
  .service-faq-inner h2 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .service-equipment-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-equipment-card {
    display: grid;
    grid-template-columns: minmax(112px, .8fr) 1.2fr;
    align-items: stretch;
  }

  .service-equipment-card img {
    height: 100%;
    min-height: 120px;
    aspect-ratio: auto;
  }

  .service-equipment-card > div {
    align-self: center;
    padding: 14px;
  }

  .service-equipment-card h3 {
    font-size: 17px;
  }

  .service-equipment-card p {
    font-size: 13px;
  }

  .service-quote-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-faq-inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .service-related {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 32px;
  }

  .transport-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-bottom: 28px;
  }

  .transport-hero-media,
  .transport-hero-media img {
    height: auto;
    min-height: 0;
    aspect-ratio: 1.38 / 1;
  }

  .transport-hero-media::after {
    background: linear-gradient(0deg, rgba(25, 27, 29, .45), transparent 45%);
  }

  .transport-route-mark {
    right: 14px;
    bottom: 14px;
  }

  .transport-hero-copy {
    padding: 8px var(--gutter) 20px;
  }

  .transport-steps {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .transport-steps article,
  .transport-steps article + article {
    min-height: 0;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .transport-steps h3 {
    margin-top: 12px;
  }

  .transport-note-inner,
  .materials-delivery-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .materials-hero {
    gap: 38px;
  }

  .materials-hero-media {
    padding: 12px 0 0 10px;
  }

  .materials-hero-media img {
    aspect-ratio: 1.2 / 1;
  }

  .materials-hero::after {
    right: 2%;
    bottom: 2%;
    width: 58vw;
    opacity: .35;
  }

  .materials-product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 30px;
  }

  .materials-product-list article,
  .materials-product-list article + article,
  .materials-product-list article:nth-child(4) {
    min-height: 155px;
    padding: 15px 12px 14px 0;
    border-left: 0;
  }

  .materials-product-list article:nth-child(even) {
    padding-left: 14px;
    border-left: 1px solid var(--line);
  }

  .materials-product-list h3 {
    margin-top: 19px;
    font-size: 17px;
  }

  .materials-product-list a {
    min-height: 44px;
    font-size: 11px;
  }
}

@media (max-width: 390px) {
  .service-equipment-card {
    grid-template-columns: 112px 1fr;
  }

  .service-equipment-card > div {
    padding: 12px 10px;
  }

  .materials-product-list article,
  .materials-product-list article + article,
  .materials-product-list article:nth-child(4),
  .materials-product-list article:nth-child(even) {
    padding-right: 8px;
    padding-left: 8px;
  }
}

/* Align the service layouts with their source photography and stack before tablet widths. */
.service-hero,
.materials-hero,
.transport-hero {
  min-height: 0;
}

.service-hero-media picture,
.materials-hero-media picture,
.transport-hero-media picture {
  display: block;
}

.service-hero-media img,
.materials-hero-media img,
.transport-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.service-hero-media img,
.transport-hero-media img {
  aspect-ratio: 4 / 3;
}

.materials-hero-media img {
  aspect-ratio: 16 / 9;
}

.service-equipment-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  background: #e8e6df;
}

.transport-hero-media {
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  align-self: center;
}

.transport-hero-media picture,
.transport-hero-media img {
  width: 100%;
  height: 100%;
}

@media (max-width: 1024px) {
  .service-hero,
  .materials-hero,
  .transport-hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .service-hero,
  .materials-hero {
    padding-block: 38px 64px;
  }

  .service-hero-copy,
  .materials-hero-copy {
    max-width: 760px;
    padding-block: 0;
  }

  .service-hero-media,
  .materials-hero-media {
    width: min(100%, 920px);
    justify-self: center;
  }

  .transport-hero {
    padding-bottom: 30px;
  }

  .transport-hero-media {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .transport-hero-copy {
    padding: 8px clamp(24px, 6vw, 64px) 20px;
  }
}

@media (max-width: 760px) {
  .service-hero,
  .materials-hero {
    gap: 28px;
    padding-block: 32px 52px;
  }

  .service-hero-media img,
  .materials-hero-media img,
  .transport-hero-media img {
    aspect-ratio: auto;
    height: auto;
  }

  .transport-hero-media {
    height: auto;
    aspect-ratio: auto;
  }

  .transport-hero-media picture {
    height: auto;
  }

  .transport-hero-media img {
    width: 100%;
  }

  .service-equipment-card img {
    height: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}
