/* ── Design Tokens ────────────────────────────────────────── */
:root {
  --ink: #f4f7fb;
  --cream: #0d1b2e;
  --muted: #5e728a;
  --line: rgba(18,40,96,.13);
  --lime: #1e7cd4;
  --lime-glow: rgba(30,124,212,.25);
  --orange: #1356a0;
  --panel: #e6edf8;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --display: 'Space Grotesk', Arial, sans-serif;
  --header-h: 92px;
  --header-bg: rgba(244,247,251,.86);
  --header-border: rgba(18,40,96,.12);
  --radius-pill: 999px;
  --radius-lg: 16px;
  --ease: cubic-bezier(.25,.46,.45,.94);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,.06);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.1);
  --gradient-accent: linear-gradient(135deg, #1e7cd4, #3b96e6);
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
::selection { background: rgba(30,124,212,.2); color: var(--cream); }
img { max-width: 100%; height: auto; }

/* ── Layout Shell ─────────────────────────────────────────── */
.site-shell { overflow: hidden; }
.site-header, .section, .section-grid, .site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 80px);
  padding-right: clamp(20px, 5vw, 80px);
}

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--header-border);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--cream);
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: filter .35s var(--ease);
}

/* ── Desktop Nav ──────────────────────────────────────────── */
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a, .text-link {
  color: var(--cream);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color .2s var(--ease), opacity .2s var(--ease);
}
.site-nav a:not(.nav-cta) { opacity: .82; }
.site-nav a:hover, .text-link:hover { opacity: 1; color: var(--lime); }
.site-nav a[aria-current="page"] {
  color: var(--lime);
  opacity: 1;
  font-weight: 600;
  position: relative;
}
.site-nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
}
.nav-cta {
  border: 1px solid var(--lime);
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease-spring), box-shadow .25s var(--ease);
}
.nav-cta:hover {
  background: var(--lime);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--lime-glow);
}
.nav-cta:hover span { color: #fff; }
.nav-cta span, .button span, .text-link span,
.service-row a span, .contact-email span, .equipment-actions a span, .site-footer a span {
  color: var(--lime);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-variant-emoji: text;
  display: inline-block;
  margin-left: 3px;
}

/* ── Mobile Menu Toggle ───────────────────────────────────── */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font: 600 13px var(--sans);
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.menu-toggle:hover { background: rgba(30,124,212,.08); border-color: var(--lime); }

/* ── Grid System ──────────────────────────────────────────── */
.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 7vw, 100px);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  min-height: 690px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 90px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 10px;
  color: var(--muted);
  margin: 0 0 20px;
}
.eyebrow span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(30,124,212,.15);
  flex-shrink: 0;
}
h1, h2, h3 { font-family: var(--display); letter-spacing: -.06em; margin: 0; }
h1 { font-size: clamp(48px, 8vw, 112px); line-height: .91; font-weight: 600; }
h1 em, h2 em {
  color: var(--lime);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.08em;
}
.hero-lede {
  color: var(--muted);
  max-width: 435px;
  font-size: clamp(15px, 2.5vw, 17px);
  margin: 24px 0 28px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 15px 24px;
  font: 600 13px var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform .3s var(--ease-spring), background .25s var(--ease), box-shadow .3s var(--ease);
  min-height: 48px;
  position: relative;
  overflow: hidden;
}
.button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.18), transparent);
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.button:hover::after { opacity: 1; }
.button:hover { transform: translateY(-3px); box-shadow: 0 8px 24px var(--lime-glow); }
.button:active { transform: translateY(-1px); box-shadow: 0 4px 12px var(--lime-glow); }
.button-primary { background: var(--gradient-accent); color: #fff; }
.button-primary span { color: #fff; }
.hero-note {
  margin-top: 60px;
  font-size: 11px;
  color: var(--muted);
}
.pulse-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 0 5px rgba(74,171,222,.16);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(74,171,222,.16); }
  50% { box-shadow: 0 0 0 8px rgba(74,171,222,.08); }
}

/* ── Hero Visual ──────────────────────────────────────────── */
.hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-placeholder {
  background-image: linear-gradient(120deg,rgba(9,18,31,.05),rgba(9,18,31,.44)),
    url('assets/oilfield-approach.jpg');
  background-size: cover;
  background-position: center;
}
.hero-image {
  width: 78%; height: 480px;
  border-radius: 3px;
  clip-path: polygon(7% 0,100% 0,93% 100%,0 100%);
}
.visual-tag {
  position: absolute;
  top: 33px; right: 0;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .15em;
  padding: 10px 13px;
}
.visual-caption {
  position: absolute;
  bottom: 48px; left: 4%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.visual-caption strong { font: 500 16px var(--display); }
.visual-caption span { font-size: 11px; color: var(--muted); }
.visual-stamp {
  position: absolute;
  right: 9%; bottom: 10px;
  width: 77px; height: 77px;
  border: 1px solid var(--orange);
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  font: 700 10px var(--display);
  line-height: .9;
  color: var(--orange);
  transform: rotate(12deg);
}
.visual-stamp span { font-size: 15px; margin: 5px 0; }

/* ── Ticker ───────────────────────────────────────────────── */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  background: var(--ink);
  user-select: none;
}
.ticker::before, .ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(50px, 10vw, 120px);
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 26s linear infinite;
}
.ticker-content {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 12px;
  flex-shrink: 0;
  color: var(--muted);
  font: 600 11px var(--display);
  letter-spacing: .18em;
  white-space: nowrap;
}
.ticker b { color: var(--orange); font-size: 15px; }
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ── Section ──────────────────────────────────────────────── */
.section { padding-top: 100px; padding-bottom: 100px; }

/* ── Services Section ─────────────────────────────────────── */
.services-section {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(40px, 10vw, 160px);
}
h2 { font-size: clamp(36px, 5.2vw, 74px); line-height: .96; font-weight: 600; }
.section-intro > p:not(.eyebrow),
.split-copy > p,
.contact-copy > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 350px;
  margin-top: 26px;
}
.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 82px;
  gap: 20px;
  align-items: center;
  padding: 29px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  border-radius: 6px;
}
.service-row:hover {
  padding-left: 14px;
  padding-right: 8px;
  background: rgba(30,124,212,.03);
}
.service-number { color: var(--orange); font: 600 12px var(--display); }
h3 { font-size: clamp(22px, 3.5vw, 29px); font-weight: 500; }
.service-row p {
  color: var(--muted);
  max-width: 520px;
  margin: 10px 0 14px;
  font-size: 14px;
  line-height: 1.55;
}
.service-row a {
  color: var(--cream);
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  transition: color .2s var(--ease);
}
.service-row a:hover { color: var(--lime); }
.service-arrow { font-size: 22px; color: var(--lime); }
.service-row-muted { opacity: .62; }

/* ── Service Thumbnails ───────────────────────────────────── */
.service-thumb {
  display: block;
  width: 82px; height: 62px;
  border-radius: 3px;
  object-fit: cover;
  background-position: center;
  background-size: cover;
  filter: saturate(.75);
  opacity: .8;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.service-row:hover .service-thumb { transform: scale(1.06); opacity: 1; }
.service-thumb-wireline { background-image: url('assets/wireline.jpg'); background-position: center; }
.service-thumb-slickline { background-image: url('assets/slickline-crew.png'); background-position: center; }
.service-thumb-wellhead { background-image: url('assets/wellhead-maintenance.jpg'); background-position: center 58%; }
.service-thumb-tools { background-image: linear-gradient(rgba(16,20,20,.08),rgba(16,20,20,.3)),url('assets/tools.jpeg'); background-position: center 48%; }
.service-thumb-pump { background-image: linear-gradient(rgba(16,20,20,.2),rgba(16,20,20,.65)),url('assets/pump-services.jpg'); background-position: 38% center; }
.service-thumb-casing { background-image: linear-gradient(rgba(16,20,20,.2),rgba(16,20,20,.65)),url('assets/slickline-crew.png'); background-position: 65% center; }
.service-thumb-manpower { background-image: linear-gradient(rgba(16,20,20,.08),rgba(16,20,20,.35)),url('assets/manpower-sourcing.jpg'); background-position: center top; }
.service-thumb-geology { background-image: linear-gradient(rgba(16,20,20,.1),rgba(16,20,20,.4)),url('assets/geological-services.jpg'); background-position: center; }
.service-thumb-contracting { background-image: linear-gradient(rgba(16,20,20,.1),rgba(16,20,20,.4)),url('assets/general-contracting.jpg'); background-position: center; }

/* ── Service Note / Callout ───────────────────────────────── */
.service-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 46px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  max-width: 330px;
}
.service-note span { color: var(--orange); font: 600 11px var(--display); }
.service-note p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.service-callout {
  align-self: end;
  max-width: 360px;
  padding: 23px 0 0;
  border-top: 1px solid var(--orange);
}
.service-callout span { color: var(--orange); font: 600 10px var(--display); letter-spacing: .15em; }
.service-callout p { font: 400 clamp(22px, 3vw, 42px)/1.02 var(--serif); letter-spacing: -.05em; margin: 24px 0 0; }

/* ── Split Section ────────────────────────────────────────── */
.split-section { padding-top: 90px; padding-bottom: 90px; align-items: center; }
.split-visual {
  height: 575px;
  background-position: 58% center;
  clip-path: polygon(0 7%, 93% 0, 100% 93%, 7% 100%);
}
.split-copy { padding-left: 4%; }
.principles {
  margin: 43px 0 40px;
  border-top: 1px solid var(--line);
  max-width: 430px;
}
.principles div {
  display: flex;
  gap: 23px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.principles strong { color: var(--orange); font: 600 11px var(--display); }

/* ── Proof / Stats Section ────────────────────────────────── */
.proof-section {
  padding-top: 88px;
  padding-bottom: 88px;
  background: linear-gradient(135deg,rgba(9,18,40,.97),rgba(10,22,48,.92)),
    url('assets/oilfield-background.jpeg') center/cover;
  max-width: none;
  position: relative;
}
.proof-section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  opacity: .35;
}
.proof-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  padding-left: clamp(20px, 5vw, 80px);
  padding-right: clamp(20px, 5vw, 80px);
}
.proof-stat {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(30,124,212,.1);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.proof-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(30,124,212,.25);
}
.proof-stat strong { font: 600 46px var(--display); color: var(--lime); letter-spacing: -.03em; }
.proof-stat span { font: 600 13px var(--display); margin: 14px 0 8px; color: #dde6f4; }
.proof-stat p { font-size: 13px; color: var(--muted); max-width: 220px; margin: 0; line-height: 1.55; }

/* ── Quote Section ────────────────────────────────────────── */
.quote-section {
  text-align: center;
  padding-top: 120px;
  padding-bottom: 120px;
  position: relative;
}
.quote-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,124,212,.06), transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.quote-mark { font: 80px/0.5 var(--serif); color: var(--orange); height: 42px; }
.quote-section blockquote {
  font: 400 clamp(24px, 4.6vw, 67px)/1.05 var(--serif);
  letter-spacing: -.05em;
  max-width: 800px;
  margin: 0 auto 28px;
  padding: 0 20px;
  position: relative;
}
.quote-section p {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Contact Section ──────────────────────────────────────── */
.contact-section {
  padding-top: 100px;
  padding-bottom: 110px;
  border-top: 1px solid var(--line);
  position: relative;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  opacity: .3;
}
.contact-section-solo { grid-template-columns: 1fr; }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 18px;
  color: var(--lime);
  font: 500 clamp(15px, 2vw, 22px) var(--display);
  text-decoration: none;
  border-bottom: 2px solid rgba(30,124,212,.25);
  padding-bottom: 7px;
  transition: border-color .3s var(--ease), transform .3s var(--ease-spring);
  word-break: break-all;
}
.contact-email:hover {
  border-color: var(--lime);
  transform: translateX(4px);
}
.contact-address {
  display: block;
  margin-top: 28px;
  font-style: normal;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 19px;
  padding-top: 10px;
}
.contact-form label {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form input, .contact-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0 12px;
  color: var(--cream);
  font: 15px var(--sans);
  outline: 0;
  resize: vertical;
  min-height: 44px;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--lime); }
.contact-form .button { align-self: flex-start; margin-top: 5px; }
.form-note { font-size: 10px; color: var(--muted); margin: 0; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-top: 28px;
  padding-bottom: 36px;
  color: var(--muted);
  font-size: 11px;
  flex-wrap: wrap;
}
.site-footer a {
  color: var(--cream);
  text-decoration: none;
  transition: color .25s var(--ease), transform .25s var(--ease-spring);
}
.site-footer a:hover { color: var(--lime); transform: translateY(-1px); }

/* ── Reveal Animations ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .15s; }
.reveal-delay-2 { transition-delay: .3s; }
.reveal-delay-3 { transition-delay: .45s; }

/* ── Hero Image Overrides ─────────────────────────────────── */
.hero-image {
  background-image: linear-gradient(120deg,rgba(16,20,20,.02),rgba(16,20,20,.42)),
    url('assets/hero-well-test.jpeg');
  background-position: center;
  background-size: cover;
  filter: saturate(.82);
}
.image-placeholder {
  background-image: linear-gradient(120deg,rgba(16,20,20,.05),rgba(16,20,20,.46)),
    url('assets/oilfield-approach.jpg');
  background-position: center;
  background-size: cover;
  filter: saturate(.85);
}
.app-placeholder {
  background-image: linear-gradient(120deg,rgba(16,20,20,.05),rgba(16,20,20,.46)),
    url('assets/manpower-sourcing.jpg');
  background-position: center;
  background-size: cover;
  filter: saturate(.85);
}
.hero { grid-template-columns: .86fr 1.14fr; }
.hero-visual { min-height: 600px; }
.hero-image {
  width: 96%; height: 570px;
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
}
.hero-visual .visual-tag,
.hero-visual .visual-caption,
.hero-visual .visual-stamp { display: none; }

/* ── Page Hero ────────────────────────────────────────────── */
.page-hero {
  min-height: 560px;
  align-items: end;
  padding-top: 85px;
  padding-bottom: 105px;
  border-bottom: 1px solid var(--line);
}
.page-hero-note {
  align-self: end;
  max-width: 300px;
  padding: 24px 0 0 30px;
  border-left: 1px solid var(--orange);
}
.page-hero-note p { color: var(--muted); font-size: 13px; margin: 17px 0 0; max-width: 260px; }
.page-hero-number {
  font: 600 clamp(56px, 9vw, 118px)/.8 var(--display);
  color: var(--lime);
  letter-spacing: -.08em;
}
.section-link { display: inline-block; margin-top: 30px; }

/* ── About Page ───────────────────────────────────────────── */
.about-hero { align-items: center; min-height: 660px; }
.about-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 580px;
}
.about-hero-image {
  width: 96%; height: 540px;
  border-radius: 3px;
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
  background-image: linear-gradient(160deg,rgba(16,20,20,.08) 0%,rgba(16,20,20,.45) 100%),
    url('assets/about-hero-field.jpg');
  background-size: cover;
  background-position: center 30%;
  filter: saturate(.85);
}
.about-hero-badge {
  position: absolute;
  right: 6%; bottom: 28px;
  width: 80px; height: 80px;
  border: 1px solid var(--lime);
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  font: 700 10px/1.1 var(--display);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lime);
  transform: rotate(12deg);
}
.about-story { align-items: center; }
.about-image {
  height: 510px;
  border-radius: 3px;
  background-image: linear-gradient(120deg,rgba(16,20,20,.05),rgba(16,20,20,.46)),
    url('assets/oilfield-background.jpeg');
  background-position: center;
  background-size: cover;
  filter: saturate(.78);
}

/* ── Values / Why Section ─────────────────────────────────── */
.values-section {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(40px, 10vw, 160px);
  border-top: 1px solid var(--line);
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-self: start;
}
.value-card {
  padding: 24px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--lime);
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}
.value-card > span {
  color: var(--orange);
  font: 600 11px var(--display);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.value-card h3 {
  font-size: 20px;
  line-height: 1.15;
  margin: 18px 0 10px;
  letter-spacing: -.03em;
}
.value-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}
.why-section {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(40px, 10vw, 160px);
}
.why-section .section-intro > p:not(.eyebrow) { max-width: 340px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-self: center;
}

/* ── Services Page ────────────────────────────────────────── */
.services-hero { min-height: 520px; }
.services-page-list {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(40px, 10vw, 160px);
}
.service-list-large .service-row { padding: 34px 0; }
.service-list-large .service-row h3 { font-size: clamp(20px, 3vw, 25px); }
.service-list-large .service-row p { max-width: 540px; }
.service-feature { background: rgba(30,124,212,.03); border-radius: 6px; padding-left: 16px !important; padding-right: 16px !important; }

/* ── Pending Image ────────────────────────────────────────── */
.pending-image {
  position: relative;
  display: grid;
  place-items: center;
  background-image: linear-gradient(135deg,rgba(16,20,20,.82),rgba(51,59,53,.92)),
    url('assets/wireline-operations.png');
  border: 1px solid rgba(30,124,212,.35);
  opacity: 1;
}
.pending-image > span {
  font: 600 9px/1.15 var(--display);
  letter-spacing: .13em;
  text-transform: uppercase;
  text-align: center;
  color: var(--lime);
}
/* ── Tools & Equipment Page ─────────────────────────────────── */
.tools-hero { min-height: 520px; }
.tools-showcase {
  display: flex;
  flex-direction: column;
  gap: 70px;
  margin-top: 50px;
}
.equipment-item {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding: 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.equipment-item:hover {
  border-color: rgba(30,124,212,.4);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
}
.equipment-item.reversed {
  grid-template-columns: 1fr 1.1fr;
}
.equipment-item.reversed .equipment-media {
  order: 2;
}
.equipment-media {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  cursor: pointer;
}
.equipment-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease), filter .3s var(--ease);
}
.equipment-media:hover .equipment-img {
  transform: scale(1.03);
}
.equipment-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(9,18,31,.85);
  backdrop-filter: blur(8px);
  color: var(--lime);
  font: 600 11px/1 var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 4px;
  border: 1px solid rgba(30,124,212,.35);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}
.equipment-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 6px var(--lime);
}
.equipment-zoom-hint {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(9,18,31,.75);
  color: var(--cream);
  font: 500 11px/1 var(--sans);
  padding: 6px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  pointer-events: none;
}
.equipment-media:hover .equipment-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}
.equipment-content {
  display: flex;
  flex-direction: column;
}
.equipment-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}
.equipment-number {
  font: 700 18px var(--display);
  color: var(--lime);
  letter-spacing: -.02em;
}
.equipment-content h3 {
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.15;
  margin: 6px 0 16px;
  letter-spacing: -.03em;
}
.equipment-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 22px;
}
.equipment-specs-title {
  font: 600 11px var(--display);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 10px;
}
.equipment-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 14px;
  margin-bottom: 24px;
}
.spec-chip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--cream);
}
.spec-chip svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--lime);
  margin-top: 2px;
}
.equipment-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.equipment-actions a {
  font: 600 13px var(--display);
  letter-spacing: .02em;
}

/* Standards / Assurance Grid */
.standards-section {
  padding-top: 60px;
  padding-bottom: 60px;
  border-top: 1px solid var(--line);
}
.standards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.standard-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
}
.standard-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgba(30,124,212,.12);
  color: var(--orange);
  display: grid;
  place-content: center;
  margin-bottom: 18px;
}
.standard-icon svg { width: 22px; height: 22px; }
.standard-card h4 {
  font-size: 17px;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -.02em;
}
.standard-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* Lightbox Modal */
.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5,10,18,.92);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.image-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-content {
  position: relative;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.lightbox-caption {
  margin-top: 14px;
  color: var(--cream);
  font: 500 14px var(--sans);
  text-align: center;
  max-width: 700px;
}
.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--cream);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 20px;
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.lightbox-close:hover {
  background: var(--panel);
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet & Mobile (≤ 900px)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  :root { --header-h: 74px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .standards-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .equipment-item, .equipment-item.reversed { grid-template-columns: 1fr; gap: 30px; }
  .equipment-item.reversed .equipment-media { order: 0; }
  .equipment-img { height: 320px; }

  /* ── Header & Mobile Menu ── */
  .site-header { height: var(--header-h); }
  .brand-logo { height: 46px; }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0 clamp(20px, 5vw, 80px);
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
    z-index: 100;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    display: flex;
    transition: max-height .35s var(--ease), opacity .25s var(--ease), padding .35s var(--ease);
  }
  .site-nav.is-open {
    max-height: 380px;
    opacity: 1;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .site-nav a {
    padding: 14px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
    opacity: 1;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--lime); font-weight: 600; }
  .site-nav a:last-child { border-bottom: 0; }
  .nav-cta {
    text-align: center;
    justify-content: center;
    margin-top: 8px;
    border: 1px solid var(--lime);
  }

  /* ── Remove Link & Button Arrows and Footer Contact Info on Mobile / Tablet ── */
  .nav-cta span,
  .button span,
  .text-link span,
  .service-row a span,
  .contact-email span,
  .equipment-actions a span,
  .section-link span,
  .site-footer a span,
  .site-footer span:nth-of-type(2),
  .site-footer a[href^="tel:"],
  .site-footer-address,
  .site-footer-phone {
    display: none !important;
  }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 780px)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 780px) {

  /* ── Hero ── */
  .hero,
  .section-grid,
  .services-section {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 32px;
    padding-bottom: 56px;
    min-height: auto;
    gap: 24px;
  }
  h1 { font-size: clamp(42px, 11vw, 64px); }
  .hero-lede { font-size: 15px; margin: 20px 0 24px; }
  .hero-note { margin-top: 32px; }
  .hero-visual {
    min-height: 320px;
    margin-top: 0;
  }
  .hero-image {
    width: 100%;
    height: 320px;
    clip-path: polygon(2% 0, 100% 0, 98% 100%, 0 100%);
  }
  .visual-tag { right: 1%; }
  .visual-stamp { right: 5%; bottom: 0; }

  /* ── Sections ── */
  .section { padding-top: 64px; padding-bottom: 64px; }
  h2 { font-size: clamp(32px, 8vw, 48px); }
  h3 { font-size: clamp(20px, 5vw, 26px); }

  /* ── Services ── */
  .services-section { gap: 40px; }
  .service-row {
    grid-template-columns: 36px 1fr;
    gap: 14px;
    padding: 22px 0;
  }
  .service-thumb { display: none; }
  .service-row p { font-size: 13px; margin: 8px 0 12px; }
  .service-row a { font-size: 13px; }
  .service-note { margin-top: 32px; }

  /* ── Split / Approach ── */
  .split-section { gap: 32px; }
  .split-visual {
    height: 300px;
    clip-path: polygon(0 4%, 96% 0, 100% 96%, 4% 100%);
  }
  .split-copy { padding-left: 0; }
  .principles { max-width: 100%; }

  /* ── Proof Grid ── */
  .proof-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .proof-section { padding-top: 56px; padding-bottom: 56px; }
  .proof-stat p { max-width: 100%; }

  /* ── Quote ── */
  .quote-section { padding-top: 72px; padding-bottom: 72px; }
  .quote-mark { font-size: 60px; height: 32px; }
  .quote-section blockquote {
    font-size: clamp(22px, 6vw, 36px);
    line-height: 1.12;
    padding: 0 12px;
  }

  /* ── Contact ── */
  .contact-section { padding-top: 56px; padding-bottom: 64px; }
  .contact-email {
    display: block !important;
    width: fit-content;
    font-size: clamp(14px, 4vw, 18px);
    margin-top: 16px;
    margin-bottom: 8px;
  }

  /* ── Footer ── */
  .site-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    padding-bottom: 24px;
    font-size: 11px;
  }
  .site-footer span:nth-of-type(2),
  .site-footer a[href^="tel:"],
  .site-footer-address,
  .site-footer-phone {
    display: none !important;
  }
  .site-footer a { min-height: 44px; display: inline-flex; align-items: center; }

  /* ── Page Hero ── */
  .page-hero {
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 56px;
    align-items: start;
  }
  .page-hero-note {
    margin-top: 40px;
    padding-left: 18px;
    max-width: 100%;
  }
  .page-hero-number { font-size: clamp(48px, 14vw, 80px); }

  /* ── About Page ── */
  .about-hero { min-height: auto; }
  .about-hero-visual {
    min-height: 300px;
    margin-top: 8px;
  }
  .about-hero-image {
    width: 100%;
    height: 300px;
    clip-path: polygon(2% 0, 100% 0, 98% 100%, 0 100%);
  }
  .about-hero-badge { right: 4%; bottom: 14px; width: 64px; height: 64px; font-size: 8px; }
  .about-image { height: 300px; }

  /* ── Values / Why ── */
  .values-section,
  .why-section,
  .services-page-list {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .value-grid, .why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .value-card h3 { margin-top: 18px; }

  /* ── Services Page List ── */
  .services-hero { min-height: auto; }
  .service-list-large .service-row {
    grid-template-columns: 36px 1fr;
  }
  .service-list-large .service-thumb { display: none; }
  .service-list-large .service-row h3 { font-size: clamp(18px, 5vw, 22px); }
  .service-list-large .service-row p { font-size: 13px; }
  .service-feature { padding-left: 12px !important; padding-right: 12px !important; }
  .service-callout { margin-top: 28px; }

  /* ── Tools & Equipment Page ── */
  .tools-hero { min-height: auto; }
  .tools-showcase { gap: 36px; margin-top: 30px; }
  .equipment-item, .equipment-item.reversed {
    padding: 20px 16px;
    gap: 20px;
  }
  .equipment-img { height: 230px; }
  .equipment-specs-grid { grid-template-columns: 1fr; gap: 8px; }
  .standards-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .standard-card { padding: 20px 16px; }

  /* ── Ticker ── */
  .ticker-track {
    gap: 14px;
    font-size: 9px;
    padding: 12px 0;
  }
  .ticker b { font-size: 11px; }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — Small phone (≤ 400px)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 400px) {
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .hero-image { height: 260px; }
  .about-hero-image { height: 240px; }
  .about-hero-visual { min-height: 240px; }
  .split-visual { height: 240px; }
  .about-image { height: 240px; }
  .quote-section blockquote { font-size: 20px; }
  .ticker-track { gap: 10px; font-size: 8px; letter-spacing: .1em; }
  .service-row { grid-template-columns: 1fr; gap: 8px; }
  .service-number { font-size: 10px; }
  .service-list-large .service-row { grid-template-columns: 1fr; }
  .proof-stat strong { font-size: 32px; }
}

/* ════════════════════════════════════════════════════════════
   Accessibility — Reduced Motion
   ════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button, .service-row, .site-nav, .contact-email { transition: none; }
  .pulse-dot { animation: none; }
}


/* ════════════════════════════════════════════════════════════
   Dark Mode
   ════════════════════════════════════════════════════════════ */
html.dark {
  --ink: #09121f;
  --cream: #dde6f4;
  --muted: #7e94ad;
  --line: rgba(30,124,212,.18);
  --orange: #4aabde;
  --panel: #0f1e33;
  --header-bg: rgba(9,18,31,.88);
  --header-border: rgba(30,124,212,.22);
}
html.dark .button-primary { color: #fff; }
html.dark .proof-section {
  background: linear-gradient(90deg,rgba(9,18,40,.97),rgba(10,22,48,.90)),
    url('assets/oilfield-background.jpeg') center/cover;
}
html.dark .brand-logo {
  filter: drop-shadow(0 0 6px rgba(255,255,255,.65))
          drop-shadow(0 0 12px rgba(255,255,255,.25));
}
/* Dark mode mobile nav bg */
@media (max-width: 900px) {
  html.dark .site-nav { background: var(--ink); box-shadow: 0 12px 32px rgba(0,0,0,.35); }
}

/* ════════════════════════════════════════════════════════════
   Theme Toggle Button
   ════════════════════════════════════════════════════════════ */
#theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  flex-shrink: 0;
  min-height: 44px;
  min-width: 44px;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  padding: 0;
}
#theme-toggle:hover { background: var(--panel); transform: rotate(15deg); }
#theme-toggle .icon-sun,
#theme-toggle .icon-moon { display: none; width: 18px; height: 18px; }
/* Light mode → show moon (clicking goes dark) */
html:not(.dark) #theme-toggle .icon-moon { display: block; }
/* Dark mode → show sun (clicking goes light) */
html.dark #theme-toggle .icon-sun { display: block; }


/* ── Platform Section ────────────────────────────────────────── */
.platform-section {
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}
.platform-lede {
  max-width: 600px;
  color: var(--muted);
  margin-bottom: 32px;
}
.platform-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 600px;
}
.platform-list li {
  margin-bottom: 12px;
}
.platform-list strong {
  display: block;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 600;
}
.platform-actions {
  margin-top: 40px;
}
