/* Font @font-face rules live in /assets/fonts/fonts.css and are linked
   separately from the document head, so rendering isn't blocked on a
   HTML -> site.css -> fonts.css -> woff2 chain. */

/* ============================================================
   Nova Energy LLC
   Rebuilt to match the live novaenergyllc.com. Type, colour and
   metrics below were read off the running site's computed styles:
   Teko 600 for display, Open Sans for copy, PT Sans Caption for
   buttons, PT Sans Narrow for image captions, #ef6634 accent on
   white, #252525 for the closing bands.
   ============================================================ */

:root {
  --orange: #ef6634;
  --orange-dark: #d9541f;
  --dark: #252525;
  --darker: #1f1f1f;

  --title: #777777; /* page titles */
  --heading: #707070; /* section headings */
  --body: #676767; /* body copy */
  --nav: #555555;
  --rule: #e6e6e6;
  --tile-cap: #ffffff;

  --display: Teko, "Arial Narrow", sans-serif;
  --sans: "Open Sans", Helvetica, Arial, sans-serif;
  --btn-font: "PT Sans Caption", "Open Sans", sans-serif;
  --caption: "PT Sans Narrow", "Arial Narrow", sans-serif;

  --shell: 1245px;
  --gutter: clamp(1.25rem, 4vw, 1.75rem);
  --radius: 20px; /* the site's rounded feature images */
  --ease: cubic-bezier(0.25, 0.8, 0.35, 1);
}

/* ---------- reset ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--body);
  font-family: var(--sans);
  font-size: 20px;
  line-height: 36px;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* The width/height attributes (which reserve layout space and stop CLS) are
   applied by the UA as presentational hints. Without height:auto here, that
   hint beats any `aspect-ratio` set below and images render at their full
   natural pixel height. Author rules that set an explicit height still win. */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  color: var(--heading);
  line-height: 1.15;
  letter-spacing: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

::selection {
  background: var(--orange);
  color: #fff;
}

/* ---------- primitives ---------- */

.shell {
  width: 100%;
  /* Content box is exactly --shell wide, matching the live site's 1245px
     container, with the gutter added outside it for small screens. */
  max-width: calc(var(--shell) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--orange);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-family: var(--btn-font);
  font-size: 15px;
}
.skip:focus {
  left: 0;
}

/* Display scale, tracking the live site's values and shrinking on small
   screens rather than overflowing. */
.t-hero {
  font-size: clamp(3rem, 1.6rem + 6vw, 100px);
  line-height: 1.06;
  color: #fff;
}
.t-page {
  font-size: clamp(2.5rem, 1.6rem + 4vw, 70px);
  line-height: 1.11;
  color: var(--title);
}
.t-section {
  font-size: clamp(2rem, 1.5rem + 1.8vw, 43.2px);
  line-height: 1.3;
}
.t-panel {
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 40px);
  line-height: 1.25;
}

.lede {
  font-size: 20px;
  line-height: 36px;
  color: var(--body);
}

.center {
  text-align: center;
}

/* thin rule the site puts under page titles */
.rule {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 42px 0 0;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 35px;
  background: var(--orange);
  color: #fff;
  font-family: var(--btn-font);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  border: 2px solid var(--orange);
  border-radius: 4px;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
}

/* hero button: outlined white on the photograph */
.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

/* outlined orange, used mid-page */
.btn--outline {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn--outline:hover {
  background: var(--orange);
  color: #fff;
}

.btn--lg {
  padding: 23px 50px;
  font-size: 18px;
}

/* small orange text link with arrow */
.textlink {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--orange);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.2s var(--ease);
}
.textlink:hover {
  color: var(--orange-dark);
}

/* ---------- header ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease);
}
.masthead__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 116px;
  max-width: 1420px;
  margin-inline: auto;
  padding-inline: 28px;
}

.wordmark {
  flex: none;
  margin-right: auto;
}
.wordmark img {
  width: 147px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  color: var(--nav);
  transition: color 0.2s var(--ease);
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--orange);
}

/* bordered phone pill at the far right */
.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding: 14px 24px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-family: var(--display);
  font-size: 25px;
  line-height: 1;
  color: var(--nav);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.phone-pill:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.phone-pill svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex: none;
}

.nav-toggle,
.nav-check {
  display: none;
}

@media (max-width: 1000px) {
  .masthead__inner {
    height: 88px;
    padding-inline: 20px;
  }
  .wordmark img {
    width: 118px;
  }
  .phone-pill {
    display: none;
  }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0 10px;
    border: 1px solid var(--rule);
    border-radius: 4px;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    height: 2px;
    background: var(--nav);
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
  }
  .nav-check:checked + .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-check:checked + .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav-check:checked + .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav {
    position: fixed;
    inset: 88px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 20px 2rem;
    background: #fff;
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 18px 40px -24px rgb(0 0 0 / 0.35);
    transform: translateY(-130%);
    /* visibility keeps the off-screen links out of the tab order while the
       menu is closed; the delay lets the slide-out finish before hiding. */
    visibility: hidden;
    transition: transform 0.4s var(--ease), visibility 0s linear 0.4s;
  }
  .nav-check:checked ~ .nav {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.4s var(--ease), visibility 0s;
  }
  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
    font-size: 28px;
  }
  .nav .nav__phone {
    color: var(--orange);
    border-bottom: 0;
  }
}

@media (min-width: 1001px) {
  .nav .nav__phone {
    display: none;
  }
}

/* ---------- hero ---------- */

/* The live hero is not full-bleed: it sits inset 30px from every edge with
   a ~15px radius, measured off the running site. */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 758px;
  margin: 30px;
  padding: 120px 0 90px;
  border-radius: 15px;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}
.hero__inner {
  position: relative;
  text-align: center;
  max-width: 880px; /* wide enough to keep the h1 on two lines */
  margin-inline: auto;
}
.hero h1 {
  margin-bottom: 26px;
  text-shadow: 0 2px 18px rgb(0 0 0 / 0.35);
}
.hero p {
  color: #fff;
  margin-bottom: 34px;
  text-shadow: 0 1px 10px rgb(0 0 0 / 0.35);
}

@media (max-width: 900px) {
  .hero {
    min-height: 480px;
    margin: 16px;
    padding: 72px 0 56px;
  }
}

/* ---------- page header (inner pages) ---------- */

.page-head {
  padding: 86px 0 0;
  text-align: center;
}
.page-head .sub {
  margin-top: 38px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  color: var(--heading);
  line-height: 1.3;
}

/* ---------- generic section ---------- */

.section {
  padding-block: 101px;
}
.section--tight {
  padding-block: 72px;
}
.section--top {
  padding-top: 60px;
}

.section__head {
  margin-bottom: 56px;
}
.section__head p {
  margin-top: 18px;
  max-width: 760px;
}
.section__head.center p {
  margin-inline: auto;
}

/* ---------- home: intro ---------- */

.intro {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.intro h2 {
  margin-bottom: 24px;
}

/* ---------- home: training split ---------- */

.split {
  display: grid;
  gap: 60px;
  align-items: center;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 619fr 504fr;
  }
  .split--flip > :first-child {
    order: 2;
  }
}

.feature-img {
  width: 100%;
  aspect-ratio: 619 / 600;
  object-fit: cover;
  border-radius: var(--radius);
}

.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 6px;
  font-size: 17px;
  line-height: 30px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}

/* ---------- home: service panels ---------- */

.panel h2 {
  /* heading spans the panel, with the copy and image in a row beneath it */
  margin-bottom: 30px;
}
.panel__body {
  display: grid;
  gap: 30px;
  align-items: start;
}
@media (min-width: 900px) {
  .panel__body {
    /* copy column then the fixed 366px image column, as measured live */
    grid-template-columns: minmax(0, 1fr) 366px;
    gap: 37px;
  }
}
.panel p {
  max-width: 540px;
}
.panel img {
  width: 100%;
  aspect-ratio: 366 / 245;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---------- service tiles (field / pipeline / facility) ---------- */

.tiles {
  display: grid;
  gap: 20px;
  /* auto-fit so a short set stretches to fill the row: 4 items land 4-up and
     5 land 5-up, matching the tile scale the live site uses. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

.tile {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #ddd;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.tile:hover img {
  transform: scale(1.06);
}
/* dark wash so the caption stays readable over any photo */
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.42) 100%
  );
  transition: background 0.35s var(--ease);
}
.tile:hover::after {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.58) 100%
  );
}
.tile span {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 18px;
  text-align: center;
  font-family: var(--caption);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--tile-cap);
  text-shadow: 0 1px 8px rgb(0 0 0 / 0.5);
}

/* ---------- services overview: alternating rows ---------- */

.srow {
  display: grid;
  gap: 40px;
  align-items: center;
  padding-block: 90px;
}
@media (min-width: 900px) {
  .srow {
    grid-template-columns: 1fr 1fr;
    gap: 90px;
  }
  .srow--flip .srow__media {
    order: 2;
  }
}
.srow__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: 460px;
}
.srow__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.srow__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}
.srow__media span {
  position: absolute;
  z-index: 2;
  inset: auto 12px 50%;
  transform: translateY(50%);
  text-align: center;
  font-family: var(--caption);
  font-size: 25px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 8px rgb(0 0 0 / 0.5);
}
.srow h2 {
  margin-bottom: 22px;
}
.bullets li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 4px;
  font-size: 17px;
  line-height: 30px;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--body);
}

/* ---------- clients ---------- */

.clients {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 14px;
}
/* Sized so all seven partners sit on one row inside the 1245px shell —
   the live site's 190px tiles overflow the container and clip. */
.clients li {
  flex: 0 0 auto;
  width: 155px;
  display: grid;
  place-items: center;
}
.clients img {
  max-width: 155px;
  max-height: 105px;
  width: auto;
  transition: transform 0.3s var(--ease);
}
.clients li:hover img {
  transform: scale(1.05);
}

/* ---------- team ---------- */

.team {
  display: grid;
  gap: 50px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  max-width: 900px;
  margin-inline: auto;
}
.person img {
  width: 100%;
  max-width: 230px;
  aspect-ratio: 1;
  /* The portraits are cut-outs on white, so contain keeps them whole
     rather than cropping into the subject's head. */
  object-fit: contain;
  object-position: 50% 100%;
  background: #fff;
}
.person h2 {
  margin-top: 24px;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 400;
  color: var(--body);
}
.person span {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  color: var(--body);
}

/* ---------- contact cards ---------- */

.contact-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  text-align: center;
}
.contact-card h3 {
  margin-bottom: 10px;
  font-size: 32px;
}
.contact-card .value {
  font-size: 19px;
  line-height: 31px;
  color: var(--body);
  overflow-wrap: anywhere;
}
a.contact-card:hover .value {
  color: var(--orange);
}
.contact-card .note {
  margin-top: 6px;
  font-size: 16px;
  color: #8d8d8d;
}

/* ---------- careers ---------- */

.roles {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}
.role {
  display: block;
  padding: 20px 24px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.role:hover {
  border-color: var(--orange);
  box-shadow: 0 12px 26px -18px rgb(0 0 0 / 0.4);
  transform: translateY(-2px);
}
.role h3 {
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.2;
  color: var(--heading);
}
.role span {
  display: block;
  margin-top: 2px;
  font-family: var(--btn-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange);
}

/* ---------- safety program chips ---------- */

.chips {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
}
.chips li {
  padding: 14px 18px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-size: 16px;
  line-height: 26px;
}

/* ---------- closing CTA band ---------- */

.cta {
  background: var(--dark);
  padding-block: 80px;
}
.cta__inner {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .cta__inner {
    grid-template-columns: 1fr auto;
    gap: 60px;
  }
}
.cta h2 {
  font-family: var(--sans);
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 40px);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}
.cta p {
  margin-top: 12px;
  color: #fff;
  font-size: 19px;
}

/* ---------- footer ---------- */

.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 44px 30px;
  text-align: center;
}
.social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}
.social a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}
.social a:hover {
  color: #fff;
  border-color: var(--orange);
  background: var(--orange);
}
.social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.colophon {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
}
.colophon a:hover {
  color: #fff;
}

/* footer utility nav, kept small and quiet */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  margin-bottom: 20px;
  font-size: 15px;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.2s var(--ease);
}
.footer-nav a:hover {
  color: var(--orange);
}

/* ---------- motion ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- careers group label ---------- */

.group-label {
  margin-bottom: 16px;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 28px;
  color: var(--body);
}

/* ---------- services thumbnail strip ---------- */

.thumbstrip {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(45%, 160px), 1fr));
}
.thumbstrip img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  transition: opacity 0.3s var(--ease);
}
.thumbstrip a:hover img {
  opacity: 0.82;
}

/* ---------- contact icons + map ---------- */

.contact-icon {
  display: block;
  margin: 0 auto 14px;
  width: 52px;
  height: 52px;
  color: var(--orange);
}
.contact-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.map {
  margin-top: 64px;
  line-height: 0;
}
.map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
  filter: grayscale(0.35);
}

/* ---------- safety store band ---------- */

.storefront {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 430px;
  padding-block: 72px;
  overflow: hidden;
  isolation: isolate;
}
.storefront__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.storefront__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* heavy orange wash over the photograph, as on the live page */
.storefront__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--orange);
  opacity: 0.86;
}
.storefront__inner {
  position: relative;
  margin-left: auto;
  max-width: 560px;
  text-align: center;
  color: #fff;
}
.storefront h1 {
  color: #fff;
}
.storefront__sub {
  margin-top: 14px;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}
.storefront__grid {
  display: grid;
  gap: 32px 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  margin-top: 40px;
}
.storefront__grid > * {
  color: #fff;
}
.storefront__grid .contact-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  color: #fff;
}
.storefront__grid .v {
  display: block;
  font-size: 16px;
  line-height: 26px;
  overflow-wrap: anywhere;
}
.storefront__grid a:hover .v {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .storefront__inner {
    margin-inline: auto;
  }
}

/* ---------- home: sticky services tab list ----------
   The live site parks a 411px list of service names beside the panels and
   keeps it pinned while the panels scroll past, marking the one in view. */

.services__layout {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .services__layout {
    grid-template-columns: 411px minmax(0, 747px);
    gap: 87px;
  }
}

.svc-nav {
  position: sticky;
  /* clears the 116px sticky masthead */
  top: 150px;
  align-self: start;
}
.svc-nav ul {
  border-left: 1px solid var(--rule);
}
.svc-nav li {
  position: relative;
}
.svc-nav a {
  display: block;
  padding: 19px 0 19px 50px;
  font-family: var(--sans);
  font-size: 20px;
  line-height: 27px;
  color: #bcbcbc;
  transition: color 0.3s var(--ease);
}
.svc-nav a:hover {
  color: var(--heading);
}
.svc-nav a[aria-current="true"] {
  color: #555;
}
/* orange marker that slides in on the rule beside the active item */
.svc-nav a::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 50%;
  width: 3px;
  height: 26px;
  background: var(--orange);
  transform: translateY(-50%) scaleY(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}
.svc-nav a[aria-current="true"]::before {
  transform: translateY(-50%) scaleY(1);
}

/* Panels repeat every ~612px on the live site: ~409px of content, ~203px gap. */
.svc-panels {
  display: grid;
  gap: 287px;
}
/* anchor targets clear the sticky header when jumped to */
.svc-panels .panel {
  scroll-margin-top: 150px;
}

@media (max-width: 899px) {
  .svc-nav {
    display: none;
  }
  .svc-panels {
    gap: 72px;
  }
}
