:root {
  color-scheme: light;
  --ink: #183b36;
  --ink-2: #21544d;
  --paper: #fbf6e8;
  --paper-2: #e8f3ec;
  --line: rgba(24, 59, 54, 0.18);
  --line-light: rgba(255, 255, 255, 0.16);
  --muted: #64766f;
  --teal: #76cfc2;
  --teal-2: #2e8f86;
  --deep: #245e56;
  --deep-2: #1b4f49;
  --signal: #f2c94c;
  --oxide: #d47b57;
  --blue: #9ad6dc;
  --max: 1220px;
  --gutter: 36px;
  --dock-h: 56px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.48;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 30;
  transform: translateY(-140%);
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  border: 1px solid var(--line);
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-meter {
  position: fixed;
  inset: 0 0 auto;
  z-index: 25;
  height: 3px;
  background: transparent;
}

.scroll-meter span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--signal), var(--oxide));
}

.identity-rail {
  position: fixed;
  left: 22px;
  top: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  color: rgba(24, 59, 54, 0.72);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.identity-rail strong {
  color: var(--oxide);
}

.section-dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 20;
  display: flex;
  gap: 0;
  transform: translateX(-50%);
  border: 1px solid rgba(24, 59, 54, 0.18);
  background: rgba(251, 246, 232, 0.9);
  color: var(--ink);
  box-shadow: 0 20px 70px rgba(24, 59, 54, 0.18);
  backdrop-filter: blur(18px);
  scrollbar-width: none;
}

.section-dock::-webkit-scrollbar {
  display: none;
}

.section-dock a {
  min-height: 44px;
  padding: 14px 16px 12px;
  border-right: 1px solid rgba(24, 59, 54, 0.14);
  color: rgba(24, 59, 54, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.section-dock a:hover,
.section-dock a.is-active {
  background: var(--signal);
  color: var(--ink);
}

.hero-shell {
  position: relative;
  min-height: 760px;
  height: 90svh;
  max-height: 940px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--paper-2);
  color: var(--ink);
}

.hero-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 246, 232, 0.94), rgba(232, 243, 236, 0.76) 44%, rgba(251, 246, 232, 0.84)),
    linear-gradient(0deg, rgba(251, 246, 232, 0.96), rgba(251, 246, 232, 0.18) 52%);
}

.hero-image,
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image img {
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02) brightness(1.08);
  transform: scale(calc(1 + var(--scene-shift, 0) * 0.02));
}

.route-drawing {
  position: absolute;
  inset: auto 0 4%;
  z-index: 2;
  width: 100%;
  height: 70%;
  opacity: 0.6;
  pointer-events: none;
}

.route-drawing path {
  fill: none;
  stroke: var(--signal);
  stroke-width: 3;
  stroke-dasharray: 14 18;
  stroke-linecap: square;
  animation: routeMove 9s linear infinite;
}

.route-drawing path:nth-child(2) {
  stroke: var(--oxide);
  animation-duration: 12s;
}

.route-drawing path:nth-child(3) {
  stroke: var(--blue);
  animation-duration: 15s;
}

.hero-grid {
  position: relative;
  z-index: 3;
  width: min(var(--max), calc(100% - var(--gutter) - var(--gutter)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.62fr);
  gap: 72px;
  align-items: end;
  padding: 118px 0 140px;
}

.hero-copy {
  min-width: 0;
}

.kicker {
  margin: 0 0 14px;
  color: var(--signal);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

.hero-grid > *,
.wide-grid > *,
.split-layout > *,
.repos-layout > *,
.petro-layout > *,
.clients-grid > *,
.contact-grid > *,
.fuel-retail > * {
  min-width: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: 5.42rem;
  line-height: 0.93;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 span {
  display: inline;
}

h2 {
  margin-bottom: 22px;
  font-size: 4rem;
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.14;
}

.lead {
  max-width: 650px;
  color: rgba(24, 59, 54, 0.72);
  font-size: 1.16rem;
}

.lead.dark {
  color: rgba(255, 255, 255, 0.78);
}

.hero-ledger {
  display: grid;
  border: 1px solid rgba(24, 59, 54, 0.2);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(16px);
}

.hero-ledger div {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-bottom: 1px solid rgba(24, 59, 54, 0.14);
}

.hero-ledger span {
  color: rgba(24, 59, 54, 0.52);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-ledger strong {
  font-size: 1rem;
}

.ticker-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: var(--teal);
  color: var(--ink);
}

.ticker-strip span {
  padding: 18px 12px;
  border-right: 1px solid rgba(24, 59, 54, 0.18);
  text-align: center;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section {
  position: relative;
  padding: 104px 0;
}

.section-index {
  width: min(var(--max), calc(100% - var(--gutter) - var(--gutter)));
  margin: 0 auto 42px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-index span {
  color: var(--oxide);
}

.section-index.light {
  color: rgba(255, 255, 255, 0.58);
}

.section-index.light span {
  color: var(--signal);
}

.wide-grid,
.split-layout,
.repos-layout,
.petro-layout,
.clients-grid,
.contact-grid {
  width: min(var(--max), calc(100% - var(--gutter) - var(--gutter)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 72px;
}

.content-stack {
  color: var(--muted);
  font-size: 1.04rem;
}

.group-section {
  background: var(--paper);
}

.section-title h2 {
  max-width: 760px;
}

.strategy-grid,
.values-track,
.division-board,
.roadway-grid,
.roadways-media,
.fuel-retail,
.volume-panel,
.network-note,
.petro-products,
.custom-panel,
.testimonial-grid,
.dr-clients {
  width: min(var(--max), calc(100% - var(--gutter) - var(--gutter)));
  margin: 22px auto 0;
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 54px;
}

.strategy-grid article,
.division-board article,
.roadway-grid article,
.petro-products article,
.custom-panel,
.testimonial-grid blockquote {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.strategy-grid article {
  min-height: 210px;
  padding: 28px;
}

.strategy-grid span,
.division-board small,
.petro-products span {
  display: block;
  margin-bottom: 28px;
  color: var(--oxide);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.values-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.values-track div {
  min-height: 160px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.values-track strong,
.values-track span {
  display: block;
}

.values-track strong {
  margin-bottom: 26px;
}

.values-track span {
  color: var(--muted);
  font-size: 0.88rem;
}

.division-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 54px;
}

.division-board article {
  min-height: 270px;
  padding: 26px;
}

.division-board p {
  color: var(--muted);
}

.roadways-section,
.petrochem-section,
.contact-section {
  background: var(--deep);
  color: #fff;
}

.petrochem-section {
  background: var(--deep-2);
}

.contact-section {
  background: #2d6157;
}

.fleet-ledger {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line-light);
}

.fleet-ledger div {
  min-height: 150px;
  padding: 24px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.fleet-ledger span,
.fleet-ledger small {
  display: block;
}

.fleet-ledger span {
  font-size: 3.6rem;
  font-weight: 950;
  line-height: 0.9;
}

.fleet-ledger small {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 850;
  text-transform: uppercase;
}

.roadway-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 58px;
}

.roadway-grid article {
  min-height: 260px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-light);
}

.roadway-grid p {
  color: rgba(255, 255, 255, 0.66);
}

.roadways-media {
  display: grid;
  grid-template-columns: 1.35fr 0.82fr 0.82fr;
  gap: 12px;
  margin-top: 58px;
}

.media-panel,
.repos-media figure {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.06);
}

.media-panel img,
.media-panel video,
.repos-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
  transition: transform 700ms ease, filter 700ms ease;
}

.media-panel:hover img,
.media-panel:hover video,
.repos-media figure:hover img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.08);
}

.media-panel figcaption,
.repos-media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  background: linear-gradient(0deg, rgba(22, 54, 49, 0.88), rgba(22, 54, 49, 0));
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 850;
}

.video-panel {
  min-height: 420px;
}

.video-panel video {
  min-height: 420px;
}

.fuel-retail {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  margin-top: 58px;
  align-items: start;
}

.fuel-retail h3 {
  font-size: 2rem;
}

.retail-table {
  display: grid;
  border: 1px solid var(--line-light);
}

.retail-table div {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-bottom: 1px solid var(--line-light);
}

.retail-table span {
  color: rgba(255, 255, 255, 0.64);
}

.volume-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 58px;
  border: 1px solid var(--line-light);
}

.volume-panel div {
  padding: 22px;
  border-right: 1px solid var(--line-light);
}

.volume-panel span,
.volume-panel strong {
  display: block;
}

.volume-panel span {
  color: var(--signal);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.volume-panel strong {
  margin-top: 18px;
  font-size: 1.35rem;
}

.network-note {
  max-width: var(--max);
  padding: 30px;
  border-left: 6px solid var(--signal);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
}

.repos-section {
  background: var(--paper-2);
}

.repos-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 30px;
}

.repos-feature-grid article {
  position: relative;
  min-height: 178px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.repos-feature-grid article::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--teal), var(--signal));
  transition: transform 280ms ease;
}

.repos-feature-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(33, 85, 78, 0.34);
  box-shadow: 10px 12px 0 rgba(245, 200, 75, 0.2);
}

.repos-feature-grid article:hover::after {
  transform: scaleX(1);
}

.repos-feature-grid span,
.repos-feature-grid strong {
  display: block;
}

.repos-feature-grid span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.repos-feature-grid strong {
  margin-top: 28px;
  font-size: 1rem;
  line-height: 1.28;
}

.repos-fit {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.repos-fit span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  color: rgba(33, 85, 78, 0.78);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.repos-media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.repos-media figure {
  min-height: 260px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.repos-media img {
  min-height: 260px;
}

.repos-media figcaption {
  background: linear-gradient(0deg, rgba(33, 85, 78, 0.9), rgba(33, 85, 78, 0));
}

.repos-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
  border: 1px solid var(--line);
}

.repos-steps span {
  min-height: 76px;
  padding: 24px;
  border-right: 1px solid var(--line);
  font-weight: 950;
  text-transform: uppercase;
}

.petro-layout {
  align-items: center;
}

.petro-image {
  min-height: 520px;
  overflow: hidden;
}

.petro-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
}

.petro-products {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 58px;
}

.petro-products article {
  min-height: 230px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-light);
}

.petro-products p {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
}

.custom-panel {
  padding: 28px;
  border-color: var(--line-light);
  background: rgba(255, 255, 255, 0.05);
}

.custom-panel div,
.name-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.custom-panel span,
.name-wall span,
.capability-chip {
  border: 1px solid currentColor;
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.clients-section {
  background: var(--paper);
}

.name-wall span {
  color: var(--ink);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 58px;
}

.testimonial-grid blockquote {
  margin: 0;
  padding: 26px;
}

.testimonial-grid p {
  color: var(--muted);
}

.testimonial-grid cite {
  font-style: normal;
  font-weight: 900;
}

.dr-clients {
  margin-top: 18px;
}

.contact-grid address {
  display: grid;
  gap: 12px;
  font-style: normal;
}

.contact-grid address a,
.contact-grid address span {
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 12px;
}

.contact-grid address a {
  color: var(--signal);
  font-size: 1.24rem;
  font-weight: 900;
}

.contact-grid address span {
  color: rgba(255, 255, 255, 0.72);
}

[data-animate] {
  opacity: 1;
  transform: none;
}

.motion-ready [data-animate] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.motion-ready [data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes routeMove {
  to {
    stroke-dashoffset: -320;
  }
}

@media (max-width: 1100px) {
  h1 {
    font-size: 4.6rem;
  }

  h2 {
    font-size: 3.2rem;
  }

  .hero-grid,
  .wide-grid,
  .split-layout,
  .repos-layout,
  .petro-layout,
  .clients-grid,
  .contact-grid,
  .fuel-retail {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .roadway-grid,
  .values-track,
  .petro-products,
  .repos-feature-grid,
  .roadways-media {
    grid-template-columns: repeat(2, 1fr);
  }

  .roadways-media .video-panel {
    grid-column: 1 / -1;
  }

  .division-board,
  .testimonial-grid,
  .volume-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 22px;
    --mobile-content: min(calc(100vw - var(--gutter) - var(--gutter)), 332px);
  }

  .identity-rail {
    display: none;
  }

  .section-dock {
    position: sticky;
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    transform: none;
    width: 100%;
    border-right: 0;
    border-left: 0;
    overflow-x: auto;
    box-shadow: none;
  }

  .section-dock a {
    flex: 0 0 auto;
  }

  .hero-shell {
    height: auto;
    max-height: none;
    min-height: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    width: var(--mobile-content);
    margin-left: var(--gutter);
    margin-right: auto;
    padding: 96px 0 92px;
  }

  .section-index,
  .wide-grid,
  .split-layout,
  .repos-layout,
  .petro-layout,
  .clients-grid,
  .contact-grid,
  .strategy-grid,
  .values-track,
  .division-board,
  .roadway-grid,
  .roadways-media,
  .fuel-retail,
  .volume-panel,
  .network-note,
  .petro-products,
  .custom-panel,
  .testimonial-grid,
  .dr-clients {
    width: var(--mobile-content);
    max-width: var(--mobile-content);
    margin-left: var(--gutter);
    margin-right: auto;
  }

  .hero-copy,
  .hero-ledger {
    width: 100%;
    max-width: var(--mobile-content);
  }

  h1 {
    max-width: 100%;
    font-size: 2.12rem;
    line-height: 0.98;
  }

  h1 span {
    display: block;
  }

  h2 {
    font-size: 2.08rem;
    line-height: 1.03;
  }

  .lead {
    max-width: 330px;
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .ticker-strip,
  .strategy-grid,
  .roadway-grid,
  .values-track,
  .petro-products,
  .repos-steps,
  .repos-feature-grid,
  .roadways-media,
  .repos-media,
  .fleet-ledger {
    grid-template-columns: 1fr;
  }

  .ticker-strip {
    position: static;
  }

  .ticker-strip span {
    text-align: left;
  }

  .section {
    padding: 72px 0;
  }

  .petro-image,
  .petro-image img {
    min-height: 330px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
