.service-portfolio {
  --service-gutter: clamp(1.25rem, 5vw, 5rem);
  color: var(--ink);
  background: #fff;
}

.service-cover {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  color: #fff;
  background: #1d2021;
}

.service-cover-copy {
  align-self: center;
  padding: clamp(3rem, 6vw, 6.5rem) var(--service-gutter);
}

.service-cover .eyebrow {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.35rem;
  color: #e7bb6c;
}

.service-cover .eyebrow::before {
  width: 2.3rem;
  height: 2px;
  content: "";
  background: currentColor;
}

.service-cover h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.55rem, 4.2vw, 4.65rem);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.service-cover-copy > p:not(.eyebrow) {
  max-width: 51ch;
  margin-bottom: 0;
  color: #e3e0d9;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.6;
}

.service-cover-links {
  display: flex;
  gap: 0.5rem 1.65rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.65rem;
}

.service-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.3em;
  text-decoration-color: var(--gold);
}

.service-text-link:hover { text-decoration-thickness: 2px; }

.service-cover-photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 40rem;
  object-fit: cover;
  object-position: 65% 50%;
}

.service-content {
  width: min(100%, 98rem);
  margin-inline: auto;
  padding: 0 var(--service-gutter) clamp(2rem, 5vw, 5.5rem);
}

.service-fuels {
  padding-top: clamp(2rem, 4vw, 4.5rem);
  scroll-margin-top: 7rem;
}

.service-portfolio :is(.service-fuels, .service-catalog) > h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.7rem, 2.6vw, 2.8rem);
  line-height: 1.13;
  letter-spacing: -0.025em;
}

.service-fuel-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-block: 1px solid #c5c1bb;
  background: #f8f7f4;
}

.service-fuel-links a {
  display: grid;
  gap: 0.4rem;
  align-content: center;
  min-height: 6.6rem;
  padding: 0.95rem clamp(0.75rem, 1.3vw, 1.45rem);
  border-inline-start: 1px solid #d6d2cc;
}

.service-fuel-links a:first-child { border-inline-start: 0; }
.service-fuel-links a:hover { background: #f1ebdf; }
.service-fuel-links small { font-size: 0.875rem; color: #555354; }

.service-fuel-links strong {
  color: #801c18;
  font-size: clamp(1rem, 1.38vw, 1.28rem);
  font-weight: 700;
  line-height: 1.24;
  text-decoration: underline;
  text-underline-offset: 0.19em;
  text-decoration-thickness: 1px;
}

.service-catalog { margin-top: clamp(3.25rem, 6vw, 6rem); }
.service-offerings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 3.4vw, 3.5rem) clamp(1rem, 2.4vw, 2.3rem);
}

.service-offerings article {
  padding-top: 0.7rem;
  border-top: 1px solid #aaa49b;
}

.service-offerings img {
  width: 100%;
  aspect-ratio: 1.85;
  object-fit: cover;
}

.service-offerings h3 {
  margin: 1rem 0 0.5rem;
  font-size: clamp(1.25rem, 1.7vw, 1.72rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.service-offerings p { margin: 0; color: #535357; line-height: 1.55; }
.service-offerings .service-text-link { margin-top: 0.25rem; color: #801c18; }
.service-portfolio a:focus-visible { outline: 3px solid #a26b14; outline-offset: 4px; }
.service-cover a:focus-visible { outline-color: #ffde8f; }

.fuel-detail { padding: clamp(1.2rem, 4vw, 4rem) clamp(1.2rem, 5vw, 5rem); background: #f5f4ef; }
.fuel-detail-hero { border: 0; border-radius: .25rem; box-shadow: none; grid-template-columns: minmax(0, 1fr); }
.fuel-detail-copy h1 { font-size: clamp(2.25rem, 7.3vw, 5.8rem); letter-spacing: -.025em; line-height: 1; }
.fuel-detail-layout { border-bottom: 1px solid #c7c8bf; }
.fuel-detail-panel, .fuel-detail-panel.accent {
  min-height: 0; padding: clamp(1.4rem, 3vw, 3rem) 0; border: 0; border-radius: 0; box-shadow: none; background: transparent;
}
.fuel-detail-panel :is(p, h2) { max-width: 58ch; }
.fuel-detail-panel::before, .fuel-detail-panel::after, .fuel-detail-panel > span { display: none; }
.fuel-detail-actions { justify-content: start; padding-top: .75rem; }
.fuel-detail-actions .button { width: auto; }

@media (max-width: 52rem) {
  .service-cover { grid-template-columns: 1fr; }
  .service-cover-copy { padding-block: 2.5rem; }
  .service-cover-photo { height: clamp(11rem, 40vw, 18rem); object-position: center 49%; }
  .service-fuel-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-fuel-links a:nth-child(4) { border-inline-start: 0; }
  .service-fuel-links a:nth-child(n+4) { border-top: 1px solid #d6d2cc; }
  .service-offerings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 34rem) {
  .service-fuel-links { grid-template-columns: 1fr; }
  .service-fuel-links a {
    min-height: 3.75rem;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border: 0;
  }
  .service-fuel-links a + a { border-top: 1px solid #d6d2cc; }
  .service-fuel-links small { grid-column: 2; grid-row: 1; }
  .service-fuel-links strong { grid-column: 1; grid-row: 1; }
  .service-offerings { grid-template-columns: 1fr; }
}
