:root {
  --black: #050608;
  --black-soft: rgba(10, 12, 16, 0.84);
  --panel-border: rgba(255, 255, 255, 0.1);
  --white: #ffffff;
  --white-soft: #dce3ec;
  --red: #c81f34;
  --red-soft: #ff6b7c;

  --blue: #1d4ed8;
  --blue-soft: #5a8bff;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top, rgba(73, 100, 169, 0.12), transparent 28%),
    linear-gradient(180deg, #030406 0%, #07090c 100%);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  width: min(var(--max-width), calc(100% - 1.4rem));
  margin: 0 auto;
}

/* ===== Topbar / Nav ===== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(4, 6, 9, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.brand span {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.9;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.95rem;
  align-items: center;
}

.nav-links a {
  padding: 0.45rem 0.2rem;
  position: relative;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0.2rem;
  right: 0.2rem;
  bottom: 0.1rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), #ffffff, var(--blue));
  opacity: 0;
  transform: scaleX(0.4);
  transition: 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 999px;
}

body.menu-open {
  overflow: hidden;
}

/* ===== Hero ===== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 7rem 0 4rem;
}

.hero-content h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  line-height: 0.98;
  max-width: 10ch;
  text-wrap: balance;
}

.hero-text {
  max-width: 680px;
  font-size: 1.06rem;
  margin: 0 0 1.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff4f4;
  background: linear-gradient(90deg, rgba(200, 31, 52, 0.28), rgba(79, 134, 255, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}

.stat-pill {
  padding: 0.58rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  color: #edf2f8;
  font-size: 0.92rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.hero-cards,
.grid {
  display: grid;
  gap: 1rem;
}

.hero-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 820px;
}

/* ===== Buttons / Cards ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #4a2c17, #7a4a24);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.contact-btn {
  margin-top: 0.75rem;
}

.mini-card,
.card {
  background: linear-gradient(180deg, rgba(12, 15, 20, 0.92), rgba(8, 10, 13, 0.9));
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.mini-card {
  padding: 1rem;
}

.card {
  padding: 1.4rem;
}

.card:hover,
.mini-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
}

.mini-card strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.06rem;
}

.card h2,
.card h3,
.section-heading h2 {
  margin-top: 0;
}

.card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.14rem;
}

/* ===== Background Scene ===== */

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.sky-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 192, 108, 0.34), transparent 15%),
    linear-gradient(
      180deg,
      #284b97 0%,
      #6483d8 18%,
      #f4a35e 42%,
      #db6344 58%,
      #52262a 78%,
      #090b0e 100%
    );
}

.sun-glow {
  position: absolute;
  width: 48rem;
  height: 48rem;
  border-radius: 50%;
  left: 50%;
  top: 29%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 203, 128, 0.62) 0%, rgba(255, 142, 74, 0.24) 34%, rgba(255, 98, 52, 0.08) 62%, transparent 78%);
  filter: blur(42px);
}

.sun-disk {
  position: absolute;
  left: 50%;
  top: 31%;
  transform: translate(-50%, -50%);
  width: clamp(130px, 14vw, 220px);
  height: clamp(130px, 14vw, 220px);
  border-radius: 50%;
  background: radial-gradient(circle, #fff3d0 0%, #ffc978 38%, #ff8e52 72%, rgba(255, 142, 82, 0.18) 100%);
  box-shadow: 0 0 100px rgba(255, 160, 88, 0.35);
  opacity: 0.96;
}

.cloud {
  position: absolute;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  filter: blur(10px);
  opacity: 0.8;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.cloud-1 {
  width: 220px;
  left: 15%;
  top: 16%;
}

.cloud-1::before {
  width: 100px;
  height: 34px;
  left: 22px;
  top: -12px;
}

.cloud-1::after {
  width: 140px;
  height: 38px;
  right: 18px;
  top: -8px;
}

.cloud-2 {
  width: 260px;
  right: 14%;
  top: 20%;
}

.cloud-2::before {
  width: 120px;
  height: 36px;
  left: 20px;
  top: -10px;
}

.cloud-2::after {
  width: 155px;
  height: 40px;
  right: 18px;
  top: -6px;
}

.scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hill {
  position: absolute;
  left: -28%;
  width: 160%;
  border-radius: 50%;
}

.hill-far {
  bottom: 21%;
  left: -30%;
  width: 166%;
  height: 32%;
  background: linear-gradient(180deg, #574431 0%, #382a24 70%, #2a2221 100%);
  transform: rotate(-3deg);
}

.hill-mid {
  bottom: 12%;
  left: -24%;
  width: 156%;
  height: 26%;
  background: linear-gradient(180deg, #473728 0%, #2c221f 72%, #1f1919 100%);
  transform: rotate(2deg);
}

.hill-near {
  bottom: 4.5%;
  left: -26%;
  width: 160%;
  height: 22%;
  background: linear-gradient(180deg, #2c231d 0%, #181517 100%);
  box-shadow: inset 0 24px 90px rgba(255, 145, 76, 0.14);
}

.hill-seam-cover {
  position: absolute;
  right: -12%;
  bottom: 13.5%;
  width: 42%;
  height: 23%;
  background: linear-gradient(180deg, #433329 0%, #241d1d 100%);
  border-radius: 50%;
  transform: rotate(-6deg);
  opacity: 0.98;
}

.ground-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 11.6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 213, 167, 0.28), transparent);
}

.ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 13%;
  background:
    linear-gradient(180deg, rgba(31, 25, 25, 0.98), rgba(5, 6, 8, 1)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 0 2px,
      transparent 2px 16px
    );
}

/* ===== Bushes ===== */

.bushes {
  position: absolute;
  left: -4%;
  width: 108%;
  background-repeat: repeat-x;
  background-size: 160px 100%;
  opacity: 0.98;
}

.bushes-front {
  bottom: 4.1%;
  height: 76px;
  background-image:
    radial-gradient(circle at 16px 70px, #2b4f16 0 24px, transparent 25px),
    radial-gradient(circle at 48px 56px, #355f1d 0 30px, transparent 31px),
    radial-gradient(circle at 85px 72px, #234311 0 24px, transparent 25px),
    radial-gradient(circle at 118px 54px, #2f5718 0 28px, transparent 29px),
    radial-gradient(circle at 152px 68px, #254713 0 24px, transparent 25px);
  opacity: 0.95;
}

.brush-scatter {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.95;
}

.brush-clump {
  position: absolute;
  width: 180px;
  height: 90px;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(circle at 16px 62px, #2b4f16 0 12px, transparent 13px),
    radial-gradient(circle at 38px 54px, #355f1d 0 15px, transparent 16px),
    radial-gradient(circle at 63px 67px, #234311 0 13px, transparent 14px),
    radial-gradient(circle at 88px 52px, #2f5718 0 16px, transparent 17px),
    radial-gradient(circle at 116px 64px, #254713 0 14px, transparent 15px),
    radial-gradient(circle at 142px 58px, #31551c 0 13px, transparent 14px);
  filter: blur(0.15px);
}

/* lower / mid hill */
.brush-a { left: 8%; bottom: 21.5%; transform: scale(0.72); opacity: 0.45; }
.brush-b { left: 18%; bottom: 17.8%; transform: scale(0.82); opacity: 0.55; }
.brush-c { left: 31%; bottom: 23.2%; transform: scale(0.62); opacity: 0.42; }
.brush-d { left: 42%; bottom: 18.6%; transform: scale(0.76); opacity: 0.52; }
.brush-e { left: 55%; bottom: 22.4%; transform: scale(0.64); opacity: 0.40; }
.brush-f { left: 67%; bottom: 17.2%; transform: scale(0.86); opacity: 0.58; }
.brush-g { left: 79%; bottom: 20.8%; transform: scale(0.68); opacity: 0.46; }
.brush-h { left: 88%; bottom: 15.9%; transform: scale(0.94); opacity: 0.62; }

.brush-mid-1 { left: 12%; bottom: 12.8%; transform: scale(0.92); opacity: 0.62; }
.brush-mid-2 { left: 26%; bottom: 10.8%; transform: scale(1.02); opacity: 0.70; }
.brush-mid-3 { left: 48%; bottom: 13.4%; transform: scale(0.88); opacity: 0.58; }
.brush-mid-4 { left: 62%; bottom: 11.2%; transform: scale(1.05); opacity: 0.72; }
.brush-mid-5 { left: 84%; bottom: 12.6%; transform: scale(0.94); opacity: 0.64; }

/* upper hill */
.brush-upper-mid-1 { left: 12%; bottom: 28%; transform: scale(0.56); opacity: 0.36; }
.brush-upper-mid-2 { left: 28%; bottom: 27.5%; transform: scale(0.58); opacity: 0.38; }
.brush-upper-mid-3 { left: 47%; bottom: 29%; transform: scale(0.54); opacity: 0.34; }
.brush-upper-mid-4 { left: 63%; bottom: 27.8%; transform: scale(0.60); opacity: 0.40; }
.brush-upper-mid-5 { left: 78%; bottom: 29.5%; transform: scale(0.55); opacity: 0.35; }

/* top hill */
.brush-top-1 { left: 6%; bottom: 31%; transform: scale(0.50); opacity: 0.32; }
.brush-top-2 { left: 20%; bottom: 32%; transform: scale(0.46); opacity: 0.30; }
.brush-top-3 { left: 35%; bottom: 30.5%; transform: scale(0.48); opacity: 0.31; }
.brush-top-4 { left: 50%; bottom: 33%; transform: scale(0.44); opacity: 0.28; }
.brush-top-5 { left: 66%; bottom: 31.5%; transform: scale(0.50); opacity: 0.32; }
.brush-top-6 { left: 80%; bottom: 32%; transform: scale(0.46); opacity: 0.29; }

/* far / skyline */
.brush-far-1 { left: 6%; bottom: 38%; transform: scale(0.38); opacity: 0.25; }
.brush-far-2 { left: 18%; bottom: 39%; transform: scale(0.36); opacity: 0.24; }
.brush-far-3 { left: 32%; bottom: 37.5%; transform: scale(0.40); opacity: 0.26; }
.brush-far-4 { left: 48%; bottom: 39%; transform: scale(0.34); opacity: 0.23; }
.brush-far-5 { left: 62%; bottom: 38%; transform: scale(0.38); opacity: 0.25; }
.brush-far-6 { left: 76%; bottom: 39.5%; transform: scale(0.35); opacity: 0.23; }
.brush-far-7 { left: 90%; bottom: 38%; transform: scale(0.36); opacity: 0.24; }

/* ===== Pumpjacks ===== */

.pumpjack {
  position: absolute;
  color: #060708;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.28));
  transform-origin: bottom center;
}

/* scattered across hills */
.pumpjack-left {
  left: 3%;
  bottom: 19%;
  width: 260px;
  height: 192px;
  opacity: 0.82;
}

.pumpjack-mid-left {
  left: 20%;
  bottom: 43%;
  width: 220px;
  height: 162px;
  opacity: 0.84;
}

.pumpjack-center {
  left: 50%;
  bottom: 15%;
  width: 440px;
  height: 325px;
  transform: translateX(-50%);
  opacity: 1;
}

.pumpjack-mid-right {
  left: 75%;
  bottom: 47%;
  width: 245px;
  height: 180px;
  opacity: 0.84;
}

.pumpjack-right {
  right: 2%;
  bottom: 18%;
  width: 290px;
  height: 214px;
  opacity: 0.85;
}

.pumpjack-base {
  position: absolute;
  left: 14%;
  bottom: 0;
  width: 52%;
  height: 18px;
  background: currentColor;
  border-radius: 999px;
}

.pumpjack-tower {
  position: absolute;
  left: 29%;
  bottom: 8px;
  width: 25%;
  height: 60%;
  background:
    linear-gradient(currentColor, currentColor) 28% 0 / 2px 100% no-repeat,
    linear-gradient(currentColor, currentColor) 72% 0 / 2px 100% no-repeat;
}

.pumpjack-tower::before,
.pumpjack-tower::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 5px;
  height: 100%;
  background: currentColor;
  border-radius: 999px;
}

.pumpjack-tower::before {
  left: 8%;
  transform: skewX(-16deg);
  box-shadow: 16px 0 0 currentColor;
}

.pumpjack-tower::after {
  right: 8%;
  transform: skewX(16deg);
  box-shadow: -16px 0 0 currentColor;
}

.pumpjack-tower span {
  position: absolute;
  left: 4%;
  right: 4%;
  height: 4px;
  background: currentColor;
  border-radius: 999px;
}

.pumpjack-tower span:nth-child(1) { bottom: 21%; }
.pumpjack-tower span:nth-child(2) { bottom: 41%; }
.pumpjack-tower span:nth-child(3) { bottom: 61%; }

.pumpjack-head {
  position: absolute;
  left: 10%;
  top: 32%;
  width: 58%;
  height: 20%;
  transform-origin: 32% 48%;
  animation: pumpjack-rock 3s ease-in-out infinite;
}

.beam {
  position: absolute;
  left: 16%;
  top: 37%;
  width: 70%;
  height: 8px;
  background: currentColor;
  border-radius: 999px;
}

.beam::before {
  content: "";
  position: absolute;
  left: -2%;
  top: -1px;
  width: 14%;
  height: 8px;
  background: currentColor;
  border-radius: 999px;
}

.beam::after {
  content: "";
  position: absolute;
  right: -1%;
  top: 50%;
  width: 11%;
  height: 4px;
  background: currentColor;
  border-radius: 999px;
  transform: translateY(-50%) rotate(2deg);
  transform-origin: left center;
}

.horsehead {
  position: absolute;
  left: 4%;
  top: -6%;
  width: 24%;
  height: 116%;
  background: currentColor;
  clip-path: polygon(78% 0, 96% 8%, 90% 100%, 44% 100%, 28% 90%, 18% 72%, 16% 55%, 20% 36%, 31% 18%, 48% 5%);
}

.horsehead::before {
  content: "";
  position: absolute;
  left: 52%;
  top: 80%;
  width: 6px;
  height: 22%;
  background: currentColor;
  border-radius: 999px;
}

.horsehead::after {
  content: "";
  position: absolute;
  left: 48%;
  top: 97%;
  width: 14%;
  height: 7px;
  background: currentColor;
  border-radius: 999px;
  transform: translateX(-50%);
}

.pivot {
  position: absolute;
  left: 30%;
  top: 15%;
  width: 10.5%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: currentColor;
}

.counterweight {
  position: absolute;
  left: 42%;
  top: 8%;
  width: 11%;
  height: 30%;
  background: currentColor;
  border-radius: 3px;
  transform: rotate(-18deg);
}

.pumpjack-head::before {
  content: "";
  position: absolute;
  left: 16.5%;
  top: 58%;
  width: 1.3%;
  height: 45%;
  background: currentColor;
  box-shadow: 10px 0 0 currentColor;
  opacity: 0.95;
}

/* static rod */
.pumpjack-rod {
  position: absolute;
  left: 20%;
  top: 46%;
  width: 1.2%;
  height: 50%;
  background: currentColor;
  border-radius: 999px;
  transform: translateY(0);
  animation: none;
}

/* old support removed */
.pumpjack-support {
  display: none;
}

/* crank assembly */
.pumpjack-crank {
  position: absolute;
  left: 50%;
  top: 75%;
  width: 18%;
  height: 18%;
  animation: crankSpin 3s linear infinite;
  transform-origin: 50% 50%;
}

.pumpjack-wheel {
  position: absolute;
  inset: 0;
  border: 4px solid currentColor;
  border-radius: 50%;
  box-sizing: border-box;
}

.pumpjack-wheel::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18%;
  height: 18%;
  background: currentColor;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.pumpjack-arm {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42%;
  height: 4px;
  background: currentColor;
  border-radius: 999px;
  transform-origin: 0% 50%;
  transform: translateY(-50%) rotate(25deg);
}

.pumpjack-pin {
  position: absolute;
  left: 79%;
  top: 50%;
  width: 10%;
  aspect-ratio: 1;
  background: currentColor;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.pumpjack-pitman {
  position: absolute;
  left: 52%;
  top: 34%;
  width: 45%;
  height: 4px;
  background: currentColor;
  border-radius: 999px;
  transform-origin: left center;
  transform: rotate(79deg);
}

/* ===== Sections ===== */

.section {
  padding: 4rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.section-heading p {
  max-width: 720px;
}

.accent-line {
  width: 58px;
  height: 4px;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: linear-gradient(
    90deg,
    var(--red) 0%,
    #ffffff 50%,
    var(--blue) 100%
  );
}

.grid-1 {
  grid-template-columns: 1fr;
}

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

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

.owner-title {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-weight: 700;
  color: #ffffff;
  font-size: 0.92rem;
}

#contact .card,
#owners .card,
#services .card {
  min-height: 100%;
}

/* ===== Service area / gallery ===== */

.service-area-grid {
  align-items: stretch;
}

.service-map {
  height: 400px;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.carousel {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.carousel img {
  display: block;
  width: 100%;
  height: min(72vh, 900px);
  min-height: 320px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  cursor: pointer;
  z-index: 2;
}

.carousel-btn-prev {
  left: 16px;
}

.carousel-btn-next {
  right: 16px;
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
  background: rgba(0, 0, 0, 0.72);
}

/* ===== Footer ===== */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.4rem 0 2.4rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== Animations ===== */

@keyframes pumpjack-rock {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}

@keyframes crankSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== Motion preference ===== */

@media (prefers-reduced-motion: reduce) {
  .pumpjack-head,
  .pumpjack-crank {
    animation: none;
  }
}

/* ===== Responsive ===== */

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  .hero-cards,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .brush-c,
  .brush-e,
  .brush-g,
  .brush-mid-3 {
    display: none;
  }

  .pumpjack-left {
    left: 1%;
    bottom: 18%;
    width: 210px;
    height: 155px;
  }

  .pumpjack-mid-left {
    left: 22%;
    bottom: 34%;
    width: 170px;
    height: 126px;
  }

  .pumpjack-center {
    bottom: 13%;
    width: 340px;
    height: 251px;
  }

  .pumpjack-mid-right {
    left: 68%;
    bottom: 28%;
    width: 185px;
    height: 136px;
  }

  .pumpjack-right {
    right: 1%;
    bottom: 17%;
    width: 225px;
    height: 166px;
  }

  .pumpjack-head {
    top: 28%;
  }

  .pumpjack-rod {
    top: 46%;
    height: 46%;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    flex-direction: row;
    align-items: center;
    position: relative;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem;
    background: rgba(4, 6, 9, 0.98);
    border-top: 1px solid rgba(255,255,255,0.08);
    z-index: 200;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
    padding: 0.9rem 0.2rem;
  }

  .hero-content {
    padding-top: 5.8rem;
  }

  .hero-content h1 {
    max-width: none;
  }

  .hero-text {
    font-size: 1rem;
  }

  .sun-disk {
    width: 110px;
    height: 110px;
    top: 27%;
  }

  .hill-seam-cover {
    right: -20%;
    width: 52%;
    height: 20%;
    bottom: 13%;
  }

  .brush-a,
  .brush-b,
  .brush-d,
  .brush-f,
  .brush-h,
  .brush-mid-2,
  .brush-mid-4 {
    transform: scale(0.68);
  }

  .brush-c,
  .brush-e,
  .brush-g,
  .brush-mid-1,
  .brush-mid-3,
  .brush-mid-5 {
    display: none;
  }

  .pumpjack-mid-left,
  .pumpjack-mid-right {
    display: none;
  }

  .pumpjack-left {
    left: -5%;
    bottom: 16%;
    width: 165px;
    height: 122px;
    opacity: 0.78;
  }

  .pumpjack-center {
    bottom: 12%;
    width: 275px;
    height: 203px;
  }

  .pumpjack-right {
    right: -5%;
    bottom: 15%;
    width: 178px;
    height: 131px;
    opacity: 0.8;
  }

  .pumpjack-tower::before {
    box-shadow: 13px 0 0 currentColor;
  }

  .pumpjack-tower::after {
    box-shadow: -13px 0 0 currentColor;
  }

  .pumpjack-head {
    top: 26%;
  }

  .pumpjack-rod {
    height: 44%;
  }

  .carousel img {
    height: 420px;
  }

  .service-map {
    height: 320px;
  }
}

@media (max-width: 520px) {
  .brush-b,
  .brush-f,
  .brush-mid-2,
  .brush-mid-4 {
    transform: scale(0.56);
  }
}

/* ===== Services page ===== */
.services-hero {
  padding-top: 7rem;
  padding-bottom: 4rem;
}

.services-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 1.5rem;
  align-items: end;
}

.services-hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 0.98;
  max-width: 12ch;
}

.services-kicker,
.service-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--white-soft);
  margin-bottom: 0.65rem;
}

.services-hero-panel {
  padding: 1.5rem;
}

.services-hero-panel h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.services-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.service-stack {
  display: grid;
  gap: 1.25rem;
}

.service-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.service-feature-reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.service-feature-media {
  min-height: 320px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}

.service-feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
}

.service-feature-copy {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-feature-copy h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.service-points {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.service-points li {
  margin-bottom: 0.45rem;
}

.services-cta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 980px) {
  .services-hero-inner,
  .service-feature,
  .service-feature-reverse,
  .services-cta {
    grid-template-columns: 1fr;
    display: grid;
  }

  .services-cta {
    align-items: start;
  }
}

@media (max-width: 760px) {
  .services-hero {
    padding-top: 6rem;
  }

  .services-hero-copy h1 {
    max-width: none;
  }

  .service-feature-copy {
    padding: 1.35rem;
  }

  .service-feature-media,
  .service-feature-media img {
    min-height: 240px;
  }
}
.service-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.8rem;
  align-items: center;
}

.service-feature-reverse {
  grid-template-columns: 1fr 1.05fr;
}

/* layered image frame */
.service-feature-media {
  position: relative;
  height: 380px;     /* same size frame every time */
  min-height: 380px;
  max-height: 380px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
}

/* image crops inside frame */
.service-feature-media img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
}

@media (max-width: 900px) {

  .service-feature,
  .service-feature-reverse {
    grid-template-columns: 1fr;
  }

  .service-feature-media {
    height: 260px;
    min-height: 260px;
    max-height: 260px;
  }

}

.services-hero-inner {
  margin-bottom: 4rem;
}

.services-list-intro {
  padding-top: 1rem;
}

/* ===== About page ===== */
.about-page-hero {
  padding-top: 7rem;
  padding-bottom: 3.5rem;
}

.about-page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.5rem;
  align-items: end;
}

.about-page-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.98;
  max-width: 12ch;
}

.about-page-copy p {
  max-width: 700px;
}

.about-page-summary {
  padding: 1.5rem;
}

.about-page-summary h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.about-page-story {
  max-width: 980px;
}

.about-page-story p + p {
  margin-top: 1rem;
}

.leadership-grid {
  align-items: stretch;
}

.leadership-card {
  min-height: 100%;
}

@media (max-width: 980px) {
  .about-page-hero-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .about-page-hero {
    padding-top: 6rem;
  }

  .about-page-copy h1 {
    max-width: none;
  }
}


/* ===== Contact page ===== */
.contact-page-hero {
  padding-top: 7rem;
  padding-bottom: 3.5rem;
}

.contact-page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.5rem;
  align-items: end;
}

.contact-page-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.98;
  max-width: 12ch;
}

.contact-page-copy p {
  max-width: 700px;
}

.contact-page-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--white-soft);
  margin-bottom: 0.65rem;
}

.contact-page-summary {
  padding: 1.5rem;
}

.contact-page-summary h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.contact-page-grid {
  align-items: stretch;
}

@media (max-width: 980px) {
  .contact-page-hero-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .contact-page-hero {
    padding-top: 6rem;
  }

  .contact-page-copy h1 {
    max-width: none;
  }
}
/* navbar logo */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-direction: row; /* forces logo left of text */
}

.brand-logo {
  height: 50px;
  width: auto;
  display: block;
}

/* footer logo */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  height: 50px;
  width: auto;
  opacity: 0.9;
}

/* ===== Safety page ===== */
.safety-page-hero {
  padding-top: 7rem;
  padding-bottom: 3.5rem;
}

.safety-page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.5rem;
  align-items: end;
}

.safety-page-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.98;
  max-width: 12ch;
}

.safety-page-copy p {
  max-width: 720px;
}

.safety-page-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--white-soft);
  margin-bottom: 0.65rem;
}

.safety-page-summary {
  padding: 1.5rem;
}

.safety-page-summary h2,
.safety-callout h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.safety-principles-grid,
.safety-support-grid {
  align-items: stretch;
}

.safety-principle-card {
  min-height: 100%;
}

.safety-callout {
  padding: 2rem;
}

@media (max-width: 980px) {
  .safety-page-hero-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .safety-page-hero {
    padding-top: 6rem;
  }

  .safety-page-copy h1 {
    max-width: none;
  }

  .safety-callout {
    padding: 1.5rem;
  }
}
