/* =============================================================
   Patterson Oilfield Services — Heavy Oil / Steam Services
   Bakersfield · Kern County · San Joaquin Valley
   ----
   Design DNA: Industrial cinematic editorial. Dark, masculine,
   substance-over-flash. Compressed display type + monospace data
   readouts evoke oilfield service tickets and engineering data
   sheets. Safety orange is used sparingly as the active-status
   color, like real oilfield PPE.
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* Palette — researched against Halliburton / Liberty / Patterson-UTI / Baker Hughes brand systems */
  --midnight: #0A1929;
  --midnight-2: #0F2236;
  --steel-deep: #1B2942;
  --steel: #2D3B53;
  --steel-line: #3A4A66;
  --bone: #F0EBE0;
  --bone-2: #DAD3C4;
  --ash: #94A3B8;
  --slate: #64748B;
  --hi-vis: #FF6A00;      /* safety orange — used like real PPE */
  --hi-vis-deep: #D9560C;
  --amber: #F59E0B;       /* hot oil amber */
  --rust: #B23A1A;
  --warn: #FCD34D;        /* warning yellow — sparingly */
  --grid: rgba(240, 235, 224, 0.05);
  --grid-strong: rgba(240, 235, 224, 0.10);
  --hairline: rgba(240, 235, 224, 0.14);
  --hairline-strong: rgba(240, 235, 224, 0.22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--midnight); }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--bone-2);
  background: var(--midnight);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}
@media (max-width: 800px) { .container { padding: 0 20px; } }

/* =============================================================
   Type system
   ============================================================= */
.display, .h-hero, .h-section, .h-card {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--bone);
  text-transform: uppercase;
  line-height: 0.92;
}
.h-hero {
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 0.88;
}
.h-hero .hi-vis { color: var(--hi-vis); }
.h-hero .outline {
  -webkit-text-stroke: 2px var(--bone);
  color: transparent;
}
.h-section {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.01em;
}
.h-section .hi-vis { color: var(--hi-vis); }
.h-card {
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-feature-settings: "ss01", "cv11";
}
.label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ash);
  text-transform: uppercase;
}
.label-hi { color: var(--hi-vis); }
.label-warn { color: var(--warn); }

.lede {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--bone-2);
  font-weight: 400;
  max-width: 60ch;
}
.lede strong { color: var(--bone); font-weight: 600; }

p { color: var(--bone-2); }

/* =============================================================
   Active status banner
   ============================================================= */
.status-bar {
  background: var(--midnight-2);
  border-bottom: 1px solid var(--hairline);
  padding: 9px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  position: relative;
  z-index: 5;
}
.status-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.status-bar .row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.status-bar .live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hi-vis);
  font-weight: 700;
}
.status-bar .live::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--hi-vis);
  box-shadow: 0 0 12px var(--hi-vis);
  animation: pulse-live 1.6s ease-in-out infinite;
}
.status-bar .sep { color: var(--steel-line); }
@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* =============================================================
   Top nav
   ============================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 25, 41, 0.92);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  width: 42px; height: 42px;
  border: 1.5px solid var(--bone);
  display: grid; place-items: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--bone);
  letter-spacing: 0;
  background: var(--midnight);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--hi-vis);
  opacity: 0.5;
}
.brand-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
  line-height: 1;
}
.brand-name span {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--ash);
  font-weight: 500;
  margin-top: 5px;
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-links a {
  padding: 10px 16px;
  color: var(--bone-2);
  border: 1px solid transparent;
  transition: border-color .15s, color .15s, background .15s;
}
.nav-links a:hover { color: var(--bone); border-color: var(--hairline); }
.nav-links a.active { color: var(--midnight); background: var(--hi-vis); border-color: var(--hi-vis); font-weight: 700; }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--ash);
  letter-spacing: 0.05em;
}
.nav-phone strong { color: var(--bone); font-weight: 700; letter-spacing: 0.04em; }

/* =============================================================
   Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid var(--bone);
  background: var(--bone);
  color: var(--midnight);
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  position: relative;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { font-family: 'Oswald'; font-weight: 400; font-size: 17px; line-height: 0; }
.btn-hi-vis {
  background: var(--hi-vis);
  border-color: var(--hi-vis);
  color: var(--midnight);
}
.btn-hi-vis:hover { background: var(--hi-vis-deep); border-color: var(--hi-vis-deep); }
.btn-outline {
  background: transparent;
  color: var(--bone);
  border-color: var(--bone);
}
.btn-outline:hover { background: var(--bone); color: var(--midnight); }
.btn-sm { padding: 12px 18px; font-size: 11.5px; gap: 10px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hi-vis);
  padding-bottom: 5px;
  border-bottom: 1.5px solid var(--hi-vis);
  transition: gap .2s, color .15s;
}
.link-arrow:hover { gap: 16px; color: var(--warn); border-bottom-color: var(--warn); }

/* =============================================================
   Hero
   ============================================================= */
.hero {
  position: relative;
  padding: 80px 0 120px;
  background: var(--midnight);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 65% 50%, rgba(255, 106, 0, 0.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }

.hero-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 18px 0;
  border-top: 1.5px solid var(--bone);
  border-bottom: 1.5px solid var(--bone);
  margin-bottom: 56px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
@media (min-width: 900px) { .hero-meta { grid-template-columns: repeat(4, 1fr); } }
.hero-meta .cell {
  color: var(--ash);
}
.hero-meta .cell strong { color: var(--bone); display: block; font-weight: 700; margin-bottom: 4px; }
.hero-meta .cell .hi-vis { color: var(--hi-vis); }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.2fr 1fr; gap: 80px; }
}

.hero-headline {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(3.75rem, 11vw, 10rem);
  line-height: 0.86;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--bone);
}
.hero-headline .stroke {
  -webkit-text-stroke: 2.5px var(--bone);
  color: transparent;
  display: inline-block;
}
.hero-headline .hi-vis { color: var(--hi-vis); }
.hero-headline em { font-style: normal; }
.hero-headline .line { display: block; }

.hero-sub {
  margin-top: 36px;
  max-width: 52ch;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--bone-2);
}
.hero-sub strong { color: var(--bone); font-weight: 600; }
.hero-ctas {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Industrial SVG composition */
.derrick-stage {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 540px;
  margin-left: auto;
}
.derrick-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 60%, rgba(255, 106, 0, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 50% 20%, rgba(245, 158, 11, 0.18) 0%, transparent 55%);
  filter: blur(20px);
}
.derrick-stage svg {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.derrick-corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
.derrick-corners .corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--hi-vis);
  border-style: solid;
  border-width: 0;
}
.derrick-corners .corner.tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.derrick-corners .corner.tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.derrick-corners .corner.bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.derrick-corners .corner.br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.derrick-tag {
  position: absolute;
  bottom: 22px;
  left: 22px;
  z-index: 4;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone);
  background: rgba(10, 25, 41, 0.85);
  padding: 8px 12px;
  border: 1px solid var(--hi-vis);
}
.derrick-tag .v { color: var(--hi-vis); font-weight: 700; }

/* Hero stats */
.hero-stats {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--hairline-strong);
  background: var(--midnight-2);
}
@media (min-width: 700px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stat {
  padding: 32px 28px;
  border-bottom: 1px solid var(--hairline);
  position: relative;
}
@media (min-width: 700px) {
  .hero-stat { border-bottom: none; border-right: 1px solid var(--hairline); }
  .hero-stat:last-child { border-right: none; }
}
.hero-stat .num {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  line-height: 0.9;
  color: var(--bone);
  letter-spacing: 0;
}
.hero-stat .num .unit { font-size: 0.5em; color: var(--hi-vis); font-weight: 500; margin-left: 6px; }
.hero-stat .num .plus { color: var(--hi-vis); }
.hero-stat .lbl {
  margin-top: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
}
.hero-stat .corner-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--steel-line);
  letter-spacing: 0.12em;
}

/* =============================================================
   Operator marquee
   ============================================================= */
.operator-strip {
  background: var(--bone);
  color: var(--midnight);
  padding: 18px 0;
  border-top: 1.5px solid var(--bone);
  border-bottom: 1.5px solid var(--bone);
  overflow: hidden;
  position: relative;
}
.operator-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.operator-track .group { display: inline-flex; align-items: center; gap: 56px; }
.operator-track .sep { color: var(--hi-vis); font-weight: 400; font-size: 1.4em; line-height: 0; }
.operator-strip::before, .operator-strip::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
}
.operator-strip::before { left: 0; background: linear-gradient(90deg, var(--bone), transparent); }
.operator-strip::after { right: 0; background: linear-gradient(-90deg, var(--bone), transparent); }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =============================================================
   Section base
   ============================================================= */
.section {
  position: relative;
  padding: clamp(80px, 10vw, 128px) 0;
}
.section-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.section-inner { position: relative; z-index: 2; }

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 64px;
  padding-bottom: 28px;
  border-bottom: 1.5px solid var(--bone);
}
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.section-head .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-head .num .hi { color: var(--hi-vis); font-weight: 700; }

/* =============================================================
   Services — scope of work format
   ============================================================= */
.scope-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--hairline-strong);
}
.scope-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 40px 0;
  border-bottom: 1px solid var(--hairline-strong);
  transition: padding-left .25s;
  position: relative;
}
.scope-item:hover { padding-left: 24px; }
.scope-item:hover::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--hi-vis);
}
@media (min-width: 900px) {
  .scope-item { grid-template-columns: 90px 2fr 2fr 1fr; gap: 40px; align-items: start; }
}
.scope-num {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 2.5rem;
  color: var(--hi-vis);
  line-height: 1;
  letter-spacing: 0;
}
.scope-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--bone);
}
.scope-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--bone-2);
  max-width: 50ch;
}
.scope-specs {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ash);
  text-align: right;
}
.scope-specs .row { padding: 4px 0; border-bottom: 1px solid var(--hairline); }
.scope-specs .row:last-child { border-bottom: none; }
.scope-specs strong { color: var(--bone); font-weight: 700; }
.scope-specs .hi { color: var(--hi-vis); }

/* =============================================================
   Equipment fleet
   ============================================================= */
.fleet {
  background: var(--midnight-2);
  border-top: 1.5px solid var(--bone);
  border-bottom: 1.5px solid var(--bone);
}
.fleet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 700px) { .fleet-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .fleet-grid { grid-template-columns: repeat(3, 1fr); } }

.fleet-card {
  background: var(--midnight);
  border: 1px solid var(--hairline);
  padding: 32px 28px;
  position: relative;
  transition: border-color .2s, transform .25s;
  overflow: hidden;
}
.fleet-card:hover { border-color: var(--hi-vis); transform: translateY(-4px); }
.fleet-card .unit-id {
  position: absolute;
  top: 14px; right: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--hi-vis);
  padding: 4px 8px;
  border: 1px solid var(--hi-vis);
  font-weight: 700;
}
.fleet-card .svg-frame {
  margin: 8px 0 20px;
  padding: 24px;
  background: var(--steel-deep);
  border: 1px solid var(--hairline);
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
}
.fleet-card .svg-frame svg { width: 100%; height: 100%; }
.fleet-card h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bone);
  margin-bottom: 10px;
}
.fleet-card .spec-table {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  margin-top: 16px;
  border-top: 1px solid var(--hairline);
  padding-top: 16px;
}
.fleet-card .spec-table .row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  color: var(--ash);
  letter-spacing: 0.06em;
}
.fleet-card .spec-table .row strong { color: var(--bone); font-weight: 600; }

/* =============================================================
   Coverage map
   ============================================================= */
.coverage {
  background: var(--midnight);
}
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1000px) {
  .coverage-grid { grid-template-columns: 5fr 4fr; gap: 80px; }
}

.map-frame {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--midnight-2);
  border: 1.5px solid var(--bone);
  padding: 28px;
}
.map-frame::before {
  content: "MAP-01 // SAN JOAQUIN VALLEY";
  position: absolute;
  top: -1px; left: 28px;
  background: var(--midnight);
  padding: 4px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--hi-vis);
  font-weight: 700;
}
.map-frame svg { width: 100%; height: 100%; }
.field-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 32px;
}
.field-list .field {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--bone-2);
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.field-list .field .name { color: var(--bone); font-weight: 500; }
.field-list .field .stat { color: var(--hi-vis); font-weight: 700; }

/* =============================================================
   Certifications row
   ============================================================= */
.certs {
  background: var(--bone);
  color: var(--midnight);
  padding: 64px 0;
  border-top: 1.5px solid var(--bone);
  border-bottom: 1.5px solid var(--bone);
}
.certs-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1.5px solid var(--midnight);
  flex-wrap: wrap;
  gap: 12px;
}
.certs-head .label { color: var(--midnight); }
.certs-head h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.certs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (min-width: 800px) { .certs-grid { grid-template-columns: repeat(5, 1fr); } }
.cert {
  padding: 24px;
  text-align: center;
  border-right: 1px solid rgba(10, 25, 41, 0.15);
  border-bottom: 1px solid rgba(10, 25, 41, 0.15);
}
.cert:nth-child(5n) { border-right: none; }
.cert svg { width: 56px; height: 56px; margin: 0 auto 12px; }
.cert .name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--midnight);
  text-transform: uppercase;
}
.cert .grade {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--hi-vis-deep);
  margin-top: 4px;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* =============================================================
   Testimonial / spec sheet
   ============================================================= */
.testimonial-block {
  background: var(--midnight-2);
  border: 1.5px solid var(--bone);
  padding: 56px 48px;
  position: relative;
}
.testimonial-block::before {
  content: "// REFERENCE 001";
  position: absolute;
  top: -1px; left: 24px;
  background: var(--midnight);
  padding: 4px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--hi-vis);
  font-weight: 700;
}
.testimonial-block blockquote {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.22;
  letter-spacing: 0;
  color: var(--bone);
  max-width: 28ch;
  margin-bottom: 36px;
}
.testimonial-block cite {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  font-style: normal;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ash);
}
.testimonial-block cite .field { display: block; }
.testimonial-block cite .field strong { color: var(--bone); font-weight: 700; display: block; margin-top: 4px; letter-spacing: 0.04em; }

/* =============================================================
   CTA block — mobilization request
   ============================================================= */
.dispatch {
  background: var(--hi-vis);
  color: var(--midnight);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.dispatch::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(10,25,41,0.05) 14px 28px);
}
.dispatch-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) { .dispatch-inner { grid-template-columns: 1.5fr 1fr; gap: 64px; } }
.dispatch h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--midnight);
  max-width: 14ch;
}
.dispatch p {
  margin-top: 20px;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--midnight);
  font-weight: 500;
  max-width: 50ch;
}
.dispatch-card {
  background: var(--midnight);
  color: var(--bone);
  padding: 32px;
  border: 2px solid var(--midnight);
}
.dispatch-card .dispatch-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--hi-vis);
  font-weight: 700;
  text-transform: uppercase;
}
.dispatch-card .phone {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 3vw, 2.5rem);
  letter-spacing: 0.04em;
  color: var(--bone);
  margin: 10px 0 14px;
  display: block;
}
.dispatch-card .hours {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--ash);
  letter-spacing: 0.06em;
}
.dispatch-card .hours strong { color: var(--hi-vis); font-weight: 700; }

/* =============================================================
   Footer
   ============================================================= */
.footer {
  background: var(--midnight);
  padding: 80px 0 32px;
  border-top: 1.5px solid var(--bone);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--hi-vis);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer ul { list-style: none; }
.footer li { padding: 6px 0; font-size: 13.5px; color: var(--bone-2); }
.footer li a:hover { color: var(--hi-vis); }
.footer-brand { max-width: 38ch; }
.footer-brand p { font-size: 13.5px; line-height: 1.55; color: var(--ash); margin-top: 14px; }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--slate);
  text-transform: uppercase;
}

/* =============================================================
   About page specific
   ============================================================= */
.leadership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1.5px solid var(--bone);
  border-bottom: 1.5px solid var(--bone);
}
@media (min-width: 900px) { .leadership-grid { grid-template-columns: 1fr 1fr 1fr; } }
.leader {
  padding: 40px;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  align-items: start;
}
.leader:last-child { border-right: none; }
.leader-photo {
  width: 80px; height: 80px;
  background: var(--steel-deep);
  border: 1.5px solid var(--hi-vis);
  display: grid; place-items: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--bone);
  letter-spacing: 0;
}
.leader-content h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bone);
  margin-bottom: 4px;
}
.leader-content .role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--hi-vis);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}
.leader-content p { font-size: 13.5px; line-height: 1.55; color: var(--bone-2); }

/* =============================================================
   Mobile + utilities
   ============================================================= */
.flex-between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 36px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
}
