/* =========================================================
   Pollock Well Drilling, Inc. — site styles
   Layout concept: a vertical "bore log". Pages read top-down like a
   cross-section of the ground — surface (navy header), strata bands for
   page headers, and a depth rail that runs beside long content.
   ========================================================= */
/* Fonts (Rajdhani + Inter) load via <link> in each page's <head>. */

:root {
  /* color */
  --navy: #0b1f4d;        /* deep water / header */
  --navy-2: #13306e;
  --blue: #1a6fd8;        /* water — primary action */
  --blue-dark: #1158b3;
  --sky: #e7f0fc;         /* pale water wash */
  --sand: #f2a91e;        /* rig lettering gold — accent */
  --rig: #3fa3dc;         /* rig blue */
  --clay: #8c5a32;        /* clay layer */
  --ink: #0e1a33;         /* headings */
  --text: #46506a;        /* body copy, navy-biased grey */
  --muted: #6c7690;
  --line: #dbe3ef;
  --paper: #ffffff;
  --paper-2: #f4f7fb;
  --alert: #c2410c;

  /* type */
  --ff-display: "Rajdhani", "Arial Narrow", "Roboto Condensed", sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.875rem;
  --fs-2xl: clamp(2rem, 1.4rem + 2.2vw, 2.75rem);
  --fs-3xl: clamp(2.5rem, 1.6rem + 3.6vw, 4rem);

  --radius: 6px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(11,31,77,.06), 0 8px 24px rgba(11,31,77,.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  font-family: var(--ff-body);
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--ink);
  line-height: 1.1;
  font-weight: 700;
  text-wrap: balance;
  letter-spacing: -.005em;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); line-height: 1.2; }
h4 { font-size: 1.125rem; }
p { max-width: 68ch; }
strong { color: var(--ink); font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tint { background: var(--paper-2); }
.section--navy { background: var(--navy); color: #c9d5ee; }
.section--navy h2, .section--navy h3 { color: #fff; }
.stack { display: grid; gap: 1rem; }
.stack-lg { display: grid; gap: 1.5rem; }

.eyebrow {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--blue);
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--sand); }
.section--navy .eyebrow { color: var(--sand); }
.lede { font-size: 1.1875rem; color: var(--text); }
.section-head { display: grid; gap: .75rem; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.section-head--row { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 1.5rem; }
@media (max-width: 720px) { .section-head--row { grid-template-columns: 1fr; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--ff-display); font-weight: 700; font-size: 1.0625rem;
  letter-spacing: .04em; text-transform: uppercase;
  padding: .8rem 1.4rem; border-radius: var(--radius);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  line-height: 1.2;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--sand { background: var(--sand); color: var(--navy); }
.btn--sand:hover { background: #ffc24d; color: var(--navy); }
.btn--ghost { border-color: currentColor; color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- top bar ---------- */
.topbar { background: var(--navy); color: #b9c7e6; font-size: var(--fs-xs); }
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1.5rem; padding-block: .5rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--sand); }
.topbar__list { display: flex; flex-wrap: wrap; gap: .3rem 1.5rem; list-style: none; align-items: center; }
.topbar__list li { display: inline-flex; align-items: center; gap: .45rem; }
.topbar svg { width: 14px; height: 14px; color: var(--sand); }
.topbar__alert { color: #fff; font-weight: 600; }
.topbar__alert span { color: var(--sand); }
@media (max-width: 760px) { .topbar__hide-sm { display: none !important; } }

/* ---------- header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); flex: none; }
.logo svg.logo__mark { width: 44px; height: 44px; }
.logo__text { display: grid; line-height: 1; }
.logo__name { font-family: var(--ff-display); font-weight: 700; font-size: 1.6rem; letter-spacing: .06em; color: var(--navy); }
.logo__sub { font-family: var(--ff-display); font-weight: 600; font-size: .78rem; letter-spacing: .22em; color: var(--blue); text-transform: uppercase; margin-top: 2px; }
.logo--light .logo__name { color: #fff; }
.logo--light .logo__sub { color: var(--sand); }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav__list { display: flex; align-items: center; list-style: none; gap: .1rem; }
.nav__list > li { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: var(--ff-display); font-weight: 700; font-size: 1.0625rem;
  letter-spacing: .03em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: .6rem .7rem; border-radius: 4px;
  background: none; border: 0; cursor: pointer;
}
.nav__link:hover, .nav__link[aria-current="page"], .nav__item--active > .nav__link { color: var(--blue); }
.nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--sand); border-radius: 0; }
.nav__link svg { width: 12px; height: 12px; transition: transform .2s; }
.nav__sub {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue);
  border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow);
  list-style: none; padding: .5rem; display: grid;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.nav__sub a { display: block; padding: .55rem .75rem; color: var(--ink); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; border-radius: 4px; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--sky); color: var(--blue-dark); }
.nav__item--has-sub:hover > .nav__sub, .nav__item--has-sub:focus-within > .nav__sub, .nav__item--open > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__item--has-sub:hover > .nav__link svg { transform: rotate(180deg); }
.nav__cta { margin-left: .75rem; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; color: var(--navy); cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; margin: auto; }

@media (max-width: 1200px) {
  .nav-toggle { display: block; }
  .nav__cta { display: none; }
  .nav__list {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 3px solid var(--blue); box-shadow: var(--shadow);
    padding: .5rem var(--gutter) 1rem; max-height: calc(100vh - 120px); overflow-y: auto;
    display: none;
  }
  .nav--open .nav__list { display: flex; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: .85rem 0; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .5rem .75rem; display: none; min-width: 0; }
  .nav__item--open > .nav__sub { display: grid; }
  .nav__item--has-sub:hover > .nav__link svg { transform: none; }
  .nav__item--open > .nav__link svg { transform: rotate(180deg); }
  .nav__mobile-call { display: block !important; padding-top: 1rem; border: 0 !important; }
}
.nav__mobile-call { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, #fff 0%, var(--sky) 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(40px, 6vw, 80px) 0; }
.hero__copy { display: grid; gap: 1.25rem; padding-bottom: clamp(32px, 5vw, 72px); }
.hero h1 { color: var(--navy); }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero__since { display: inline-flex; align-items: center; gap: .75rem; font-family: var(--ff-display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); font-size: .95rem; }
.hero__since b { background: var(--navy); color: var(--sand); padding: .2rem .55rem; border-radius: 3px; letter-spacing: .08em; }
.hero__facts { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; font-size: var(--fs-sm); color: var(--ink); font-weight: 500; }
.hero__facts li { display: inline-flex; align-items: center; gap: .4rem; }
.hero__facts svg { width: 18px; height: 18px; color: var(--blue); }
.hero__art { align-self: end; position: relative; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__art { max-width: 520px; margin-inline: auto; width: 100%; }
}

/* cross-section illustration */
.xsec { width: 100%; height: auto; }
.xsec text { font-family: var(--ff-display); }
.xsec__casing { transform-origin: top; animation: bore 1.6s cubic-bezier(.3,.7,.2,1) .2s both; }
.xsec__water { animation: shimmer 4s ease-in-out infinite; }
.xsec__drop { animation: rise 2.4s ease-in infinite; }
@keyframes bore { from { transform: scaleY(.04); } to { transform: scaleY(1); } }
@keyframes shimmer { 0%,100% { opacity: .85; } 50% { opacity: 1; } }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-210px); opacity: 0; } }
.xsec__caption { font-size: var(--fs-xs); color: var(--muted); text-align: right; padding: .35rem 0 .75rem; }

/* ---------- trust strip ---------- */
.trust { background: var(--navy); color: #fff; }
.trust ul { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); }
.trust li { display: flex; align-items: center; gap: .75rem; padding: 1.25rem 1rem; border-left: 1px solid rgba(255,255,255,.1); font-size: var(--fs-sm); line-height: 1.35; }
.trust li:first-child { border-left: 0; padding-left: 0; }
.trust svg { width: 30px; height: 30px; color: var(--sand); flex: none; }
.trust b { display: block; font-family: var(--ff-display); font-size: 1.2rem; letter-spacing: .02em; }
.trust span { color: #a9b8db; font-size: var(--fs-xs); }
@media (max-width: 980px) { .trust ul { grid-template-columns: repeat(2, minmax(0,1fr)); } .trust li { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.1); } .trust li:last-child { grid-column: 1 / -1; } }

/* ---------- service cards ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 1080px) { .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.svc {
  position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: .9rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem; text-decoration: none; color: var(--text);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.svc::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px; background: var(--blue); border-radius: var(--radius) var(--radius) 0 0; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.svc:hover { border-color: #bcd2f2; transform: translateY(-3px); box-shadow: var(--shadow); color: var(--text); }
.svc:hover::before { transform: scaleX(1); }
.svc__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--sky); color: var(--blue); display: grid; place-items: center; }
.svc__icon svg { width: 28px; height: 28px; }
.svc h3 { color: var(--ink); }
.svc ul { list-style: none; display: grid; gap: .35rem; font-size: var(--fs-sm); }
.svc li { display: flex; gap: .5rem; }
.svc li::before { content: ""; width: 6px; height: 6px; background: var(--sand); border-radius: 50%; margin-top: .62em; flex: none; }
.svc__more { font-family: var(--ff-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); display: inline-flex; gap: .4rem; align-items: center; font-size: .95rem; }
.svc__more svg { width: 16px; height: 16px; transition: transform .2s; }
.svc:hover .svc__more svg { transform: translateX(4px); }

/* ---------- split / about ---------- */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.since-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px;
  background: var(--navy) url("../img/strata.jpg") center/cover; color: #fff;
  display: grid; align-content: end; padding: 2rem;
}
.since-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,77,.15) 0%, rgba(11,31,77,.92) 70%); }
.since-card > * { position: relative; }
.since-card__year { font-family: var(--ff-display); font-weight: 700; font-size: clamp(5rem, 12vw, 8.5rem); line-height: .85; color: var(--sand); letter-spacing: -.02em; }
.since-card__label { font-family: var(--ff-display); font-size: 1.35rem; font-weight: 600; letter-spacing: .04em; color: #fff; margin-top: .5rem; }
.since-card p { color: #c9d5ee; font-size: var(--fs-sm); margin-top: .5rem; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.stat b { display: block; font-family: var(--ff-display); font-size: 2.6rem; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat span { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr 1fr; } }

.checks { list-style: none; display: grid; gap: .6rem; }
.checks li { display: flex; gap: .65rem; align-items: flex-start; }
.checks svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: .2em; }
.checks--2 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .6rem 1.5rem; }
@media (max-width: 560px) { .checks--2 { grid-template-columns: 1fr; } }

/* ---------- process (bore log) ---------- */
.bore { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 0; counter-reset: step; position: relative; }
.bore li { position: relative; padding: 0 1rem 0 0; display: grid; gap: .6rem; align-content: start; }
.bore__n { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--sand); font-family: var(--ff-display); font-weight: 700; font-size: 1.35rem; position: relative; z-index: 1; border: 4px solid var(--paper-2); }
.bore li::before { content: ""; position: absolute; top: 25px; left: 52px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 14px); }
.bore li:last-child::before { display: none; }
.bore h3 { font-size: 1.25rem; }
.bore p { font-size: var(--fs-sm); }
@media (max-width: 960px) {
  .bore { grid-template-columns: 1fr; gap: 1.25rem; }
  .bore li { grid-template-columns: 52px 1fr; column-gap: 1rem; padding: 0; }
  .bore li > :not(.bore__n) { grid-column: 2; }
  .bore__n { grid-row: 1 / span 2; }
  .bore li::before { top: 52px; bottom: -1.25rem; left: 25px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--blue) 0 8px, transparent 8px 14px); }
}

/* ---------- symptoms table ---------- */
.symptoms { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.symptom { background: #fff; padding: 1.4rem 1.4rem 1.5rem; display: grid; gap: .5rem; align-content: start; }
.symptom h3 { font-size: 1.2rem; display: flex; gap: .6rem; align-items: center; }
.symptom h3 svg { width: 22px; height: 22px; color: var(--clay); flex: none; }
.symptom p { font-size: var(--fs-sm); }
.symptom a { font-size: var(--fs-sm); font-weight: 600; text-decoration: none; }
@media (max-width: 900px) { .symptoms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .symptoms { grid-template-columns: 1fr; } }

/* ---------- band / CTA ---------- */
.band { position: relative; color: #fff; background: var(--navy) url("../img/strata.jpg") center 70%/cover; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,31,77,.97) 0%, rgba(11,31,77,.88) 55%, rgba(11,31,77,.6) 100%); }
.band .wrap { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2rem; align-items: center; padding-block: clamp(40px, 6vw, 64px); }
.band h2 { color: #fff; }
.band p { color: #c9d5ee; }
.band__phone { font-family: var(--ff-display); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--sand); text-decoration: none; letter-spacing: .02em; display: inline-flex; align-items: center; gap: .6rem; line-height: 1; }
.band__phone:hover { color: #fff; }
.band__phone svg { width: .8em; height: .8em; }
@media (max-width: 800px) { .band .wrap { grid-template-columns: 1fr; } }

.wwt { display: grid; grid-template-columns: 96px minmax(0,1fr) auto; gap: 1.5rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.75rem; }
.wwt__badge { width: 96px; height: 96px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; color: var(--blue); }
.wwt__badge svg { width: 48px; height: 48px; }
.wwt h3 { margin-bottom: .3rem; }
.wwt p { font-size: var(--fs-sm); }
@media (max-width: 760px) { .wwt { grid-template-columns: 1fr; } }

/* ---------- areas ---------- */
.areas { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.areas li { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; color: var(--ink); font-size: var(--fs-sm); }
.areas svg { width: 16px; height: 16px; color: var(--blue); }
.section--navy .areas li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
.section--navy .areas svg { color: var(--sand); }

.area-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.area-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.35rem; display: grid; gap: .35rem; }
.area-card h3 { font-size: 1.3rem; display: flex; align-items: center; gap: .5rem; }
.area-card h3 svg { width: 18px; height: 18px; color: var(--blue); }
.area-card p { font-size: var(--fs-sm); }

/* ---------- faq ---------- */
.faq { display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq details[open] { border-color: #bcd2f2; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 1.25rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; font-family: var(--ff-display); font-weight: 700; font-size: 1.2rem; color: var(--ink); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq .faq__a { padding: 0 1.25rem 1.25rem; display: grid; gap: .75rem; }
.faq-group + .faq-group { margin-top: 2.5rem; }
.faq-group > h2 { font-size: 1.6rem; margin-bottom: 1rem; }

/* ---------- page header ---------- */
.page-head { position: relative; background: var(--navy) url("../img/strata.jpg") center 35%/cover; color: #fff; }
.page-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,31,77,.96) 0%, rgba(11,31,77,.85) 60%, rgba(11,31,77,.55) 100%); }
.page-head .wrap { position: relative; padding-block: clamp(48px, 7vw, 88px); display: grid; gap: .9rem; }
.page-head h1 { color: #fff; font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); }
.page-head p { color: #c9d5ee; font-size: 1.125rem; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--sand); }
.crumbs a { color: #c9d5ee; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--sand); }

/* ---------- content + sidebar ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } }
.prose { display: grid; gap: 1.1rem; min-width: 0; }
.prose h2 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.2rem); margin-top: 1.25rem; }
.prose h3 { margin-top: .75rem; }
.prose ul:not(.checks), .prose ol { padding-left: 1.25rem; display: grid; gap: .4rem; max-width: 68ch; }
.prose li::marker { color: var(--blue); font-weight: 700; }
.prose > :first-child { margin-top: 0; }
.tip { border-left: 4px solid var(--sand); background: #fff6e3; padding: 1.1rem 1.35rem; border-radius: 0 var(--radius) var(--radius) 0; display: grid; gap: .35rem; }
.tip__label { font-family: var(--ff-display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--clay); font-size: .9rem; }
.note { font-size: var(--fs-sm); color: var(--muted); }

.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.25rem; display: grid; grid-template-columns: 40px 1fr; gap: .25rem .9rem; align-items: start; background: #fff; }
.feature svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--sky); color: var(--blue); grid-row: span 2; }
.feature h3 { font-size: 1.15rem; margin: 0; }
.feature p { font-size: var(--fs-sm); }
@media (max-width: 640px) { .feature-list { grid-template-columns: 1fr; } }

.sidebar { display: grid; gap: 1.25rem; position: sticky; top: 100px; }
@media (max-width: 960px) { .sidebar { position: static; } }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; background: #fff; display: grid; gap: .85rem; }
.side-box h3 { font-size: 1.25rem; }
.side-nav { list-style: none; display: grid; gap: .35rem; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; padding: .7rem .9rem; border-radius: 4px; background: var(--paper-2); color: var(--ink); text-decoration: none; font-weight: 500; font-size: var(--fs-sm); }
.side-nav a svg { width: 14px; height: 14px; color: var(--blue); }
.side-nav a:hover, .side-nav a[aria-current="page"] { background: var(--blue); color: #fff; }
.side-nav a:hover svg, .side-nav a[aria-current="page"] svg { color: #fff; }
.side-call { background: var(--navy); color: #c9d5ee; border: 0; }
.side-call h3 { color: #fff; }
.side-call .band__phone { font-size: 1.9rem; }

/* ---------- guide / articles ---------- */
.toc { list-style: none; display: grid; gap: .25rem; counter-reset: toc; }
.toc a { display: flex; gap: .7rem; padding: .5rem .25rem; text-decoration: none; color: var(--ink); font-size: var(--fs-sm); border-bottom: 1px dashed var(--line); }
.toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); font-family: var(--ff-display); font-weight: 700; color: var(--blue); }
.toc a:hover { color: var(--blue); }
.article { scroll-margin-top: 110px; padding-top: 2rem; border-top: 1px solid var(--line); display: grid; gap: 1rem; }
.article:first-of-type { border-top: 0; padding-top: 0; }
.article__meta { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--clay); font-weight: 700; }
.article h2 { margin-top: 0 !important; }

.diagram { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); padding: 1rem; overflow-x: auto; }
.diagram svg { min-width: 560px; width: 100%; height: auto; }
.diagram figcaption { font-size: var(--fs-xs); color: var(--muted); padding-top: .5rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.c-info { display: grid; gap: 1rem; }
.c-item { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: center; padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.c-item svg { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: var(--sky); color: var(--blue); }
.c-item span { display: block; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.c-item a, .c-item b { font-family: var(--ff-display); font-weight: 700; font-size: 1.35rem; color: var(--ink); text-decoration: none; line-height: 1.25; }
.c-item a:hover { color: var(--blue); }

.form { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); display: grid; gap: 1rem; box-shadow: var(--shadow); }
.form h2 { font-size: 1.9rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  border: 1px solid #c8d3e4; border-radius: var(--radius); padding: .75rem .85rem; background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,111,216,.18); }
.radio-row { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.radio-row label { font-weight: 400; display: inline-flex; gap: .4rem; align-items: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: var(--fs-sm); padding: .75rem 1rem; border-radius: var(--radius); }
.form__status--ok { background: #e8f6ee; color: #14532d; }
.form__status--err { background: #fdecea; color: #7f1d1d; }
.form__fine { font-size: var(--fs-xs); color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: #081638; color: #a9b8db; font-size: var(--fs-sm); }
.site-footer a { color: #d6def0; text-decoration: none; }
.site-footer a:hover { color: var(--sand); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-block: clamp(48px, 6vw, 72px); }
@media (max-width: 960px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .5rem; }
.footer-contact li { display: grid; grid-template-columns: 18px 1fr; gap: .6rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--sand); margin-top: .3em; }
.footer-about p { margin-top: 1rem; }
.social { display: flex; gap: .5rem; margin-top: 1.1rem; flex-wrap: wrap; }
.social a { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; }
.social a:hover { border-color: var(--sand); }
.social svg { width: 14px; height: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1.25rem; font-size: var(--fs-xs); }

/* sticky mobile call bar */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--navy); padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 -4px 16px rgba(0,0,0,.2); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem .5rem; color: #fff; text-decoration: none; font-family: var(--ff-display); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 1rem; }
  .callbar a:first-child { background: var(--blue); }
  .callbar svg { width: 18px; height: 18px; }
  body { padding-bottom: 60px; }
}

/* 404 */
.lost { text-align: left; display: grid; gap: 1.25rem; justify-items: start; }
.lost__depth { font-family: var(--ff-display); font-weight: 700; font-size: clamp(5rem, 16vw, 10rem); line-height: .85; color: var(--navy); }
.lost__depth span { color: var(--sand); }

.mt-sm { margin-top: .75rem; } .mt { margin-top: 1.5rem; } .mt-lg { margin-top: 2.5rem; }
.center { text-align: center; justify-items: center; margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--sand); color: var(--navy); padding: .6rem 1rem; z-index: 100; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }

/* Water Well Trust strip (every page) */
.wwt-strip { background: var(--sky); border-top: 1px solid #cddcf3; }
.wwt-strip .wrap { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 1rem 1.25rem; align-items: center; padding-block: 1.1rem; }
.wwt-strip__badge { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; }
.wwt-strip__badge svg { width: 24px; height: 24px; }
.wwt-strip p { font-size: var(--fs-sm); max-width: none; }
.wwt-strip .wrap > a:last-child { font-family: var(--ff-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; white-space: nowrap; }
.wwt-strip .wrap > a:last-child svg { width: 16px; height: 16px; }
@media (max-width: 700px) { .wwt-strip .wrap { grid-template-columns: auto minmax(0,1fr); } .wwt-strip .wrap > a:last-child { grid-column: 2; } }

/* Family timeline (About) */
.timeline { list-style: none; display: grid; gap: 0; position: relative; }
.timeline li { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 1.25rem; padding-bottom: 1.75rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 124px; top: 10px; bottom: 0; width: 2px; background: repeating-linear-gradient(180deg, var(--clay) 0 6px, transparent 6px 11px); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 119px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--sand); border: 2px solid var(--navy); }
.timeline__when { font-family: var(--ff-display); font-weight: 700; font-size: 1.5rem; color: var(--navy); line-height: 1.1; text-align: right; padding-right: 1.25rem; }
.timeline__what { padding-left: 1.5rem; display: grid; gap: .3rem; }
.timeline__what h3 { font-size: 1.25rem; }
.timeline__what p { font-size: var(--fs-sm); }
@media (max-width: 560px) { .timeline li { grid-template-columns: 70px minmax(0,1fr); gap: .5rem; } .timeline__when { font-size: 1.15rem; padding-right: .75rem; } .timeline li::before { left: 79px; } .timeline li::after { left: 74px; } }

/* Owner's letter */
.letter { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); display: grid; gap: 1.1rem; box-shadow: var(--shadow); position: relative; }
.letter::before { content: "\201C"; position: absolute; top: -.15em; left: .2em; font-family: var(--ff-display); font-size: 7rem; line-height: 1; color: var(--sand); opacity: .55; }
.letter p { font-size: 1.0625rem; line-height: 1.8; max-width: 70ch; }
.letter p:first-of-type::first-letter { font-family: var(--ff-display); font-weight: 700; font-size: 3.4em; float: left; line-height: .8; padding: .08em .1em 0 0; color: var(--navy); }
.letter blockquote { border-left: 4px solid var(--sand); padding: .4rem 0 .4rem 1.25rem; font-family: var(--ff-display); font-size: 1.6rem; font-weight: 600; color: var(--navy); line-height: 1.25; }
.letter__sig { font-family: var(--ff-display); font-weight: 700; font-size: 1.25rem; color: var(--navy); border-top: 1px dashed var(--line); padding-top: 1rem; }
.letter__sig span { display: block; font-family: var(--ff-body); font-weight: 400; font-size: var(--fs-sm); color: var(--muted); }

/* Resource One callout */
.r1 { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 1.5rem; align-items: center; background: var(--navy); color: #c9d5ee; border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); position: relative; overflow: hidden; }
.r1::after { content: "1"; position: absolute; right: -.05em; bottom: -.32em; font-family: var(--ff-display); font-weight: 700; font-size: 16rem; line-height: 1; color: rgba(255,255,255,.05); pointer-events: none; }
.r1 h3, .r1 h2 { color: #fff; }
.r1 .eyebrow { color: var(--sand); }
.r1 > * { position: relative; z-index: 1; }
@media (max-width: 760px) { .r1 { grid-template-columns: 1fr; } }
.wwt-strip__logo, .wwt__badge { background: #fff; border-radius: 6px; padding: 8px 10px; display: grid; place-items: center; border: 1px solid #cddcf3; }
.wwt-strip__logo img, .wwt__badge img { width: 77px; height: 30px; }
.wwt__badge { width: auto; height: auto; border-radius: 6px; }
.wwt { grid-template-columns: auto minmax(0,1fr) auto; }
@media (max-width: 760px) { .wwt { grid-template-columns: 1fr; justify-items: start; } }
.wwt-strip .wrap > a:last-child { font-family: var(--ff-display); }
.wwt-strip__logo { text-decoration: none; }

/* Hero photo */
.hero__photo { position: relative; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; max-width: 100%; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.hero__badge { position: absolute; left: 1rem; bottom: 1rem; background: var(--navy); color: #fff; padding: .8rem 1.1rem; border-radius: var(--radius); display: grid; line-height: 1; gap: .25rem; border-bottom: 4px solid var(--sand); }
.hero__badge b { font-family: var(--ff-display); font-size: 2.4rem; color: var(--sand); }
.hero__badge span { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.since-card--photo { background-image: url("../img/fleet-road-800.jpg"); background-position: 60% 50%; }
.since-card--yard { background-image: url("../img/yard.jpg"); }

/* page header photo variants */
.page-head--rig { background-image: url("../img/rig.jpg"); background-position: center 55%; }
.page-head--fleet { background-image: url("../img/fleet-road.jpg"); background-position: center 60%; }
.page-head--truck { background-image: url("../img/water-truck.jpg"); background-position: center 55%; }
.page-head--yard { background-image: url("../img/yard.jpg"); background-position: center 40%; }

/* photo grid */
.photos { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.photos figure { position: relative; border-radius: var(--radius); overflow: hidden; margin: 0; min-width: 0; }
.photos figure:first-child { grid-row: span 2; }
.photos img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.photos figure:first-child img { aspect-ratio: auto; }
.photos figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .9rem .7rem; color: #fff; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; background: linear-gradient(transparent, rgba(11,31,77,.85)); }
.photos figure:nth-child(4) { grid-column: span 2; }
.photos figure:nth-child(4) img { aspect-ratio: 16/7; }
@media (max-width: 760px) { .photos { grid-template-columns: 1fr 1fr; } .photos figure:first-child { grid-column: 1 / -1; grid-row: auto; } .photos figure:first-child img { aspect-ratio: 4/3; } }
.figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.figure img { width: 100%; height: auto; }
.figure figcaption { font-size: var(--fs-xs); color: var(--muted); padding-top: .5rem; }
.page-head--service { background-image: url("../img/service-truck.jpg"); background-position: center 45%; }
.xsec-fig { border: 1px solid var(--line); padding: 1.25rem 1rem .75rem; background: #fff; max-width: 560px; }
.nav__link, .nav__cta { white-space: nowrap; }
.stat b span { font: inherit; letter-spacing: inherit; color: inherit; text-transform: none; }
@media (min-width: 1201px) {
  .site-header .wrap { gap: 1rem; }
  .nav__link { padding: .6rem .5rem; font-size: 1rem; }
  .nav__cta { margin-left: .35rem; padding-inline: 1rem; }
}
/* HTML site map */
.sm-list { list-style: none; display: grid; gap: 1rem; }
.sm-list > li > a { font-family: var(--ff-display); font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.sm-list p { font-size: var(--fs-sm); color: var(--muted); }
.sm-sub { list-style: none; display: grid; gap: .2rem; margin-top: .4rem; padding-left: .9rem; border-left: 2px solid var(--line); font-size: var(--fs-sm); }
.side-box { align-content: start; }

/* Real logo */
.logo__img { height: 62px; width: auto; }
.logo__est { font-family: var(--ff-display); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); line-height: 1.25; border-left: 2px solid var(--sand); padding-left: .65rem; }
.logo--light .logo__img { background: #fff; border-radius: 8px; padding: 6px 10px; height: 82px; box-sizing: content-box; }
.logo--light .logo__est { color: var(--sand); }
.footer-about .logo { align-items: center; }
@media (max-width: 1340px) and (min-width: 1201px) { .site-header .logo__est { display: none; } }
@media (max-width: 420px) { .site-header .logo__est { display: none; } .logo__img { height: 54px; } }
.site-header .logo__img { height: 72px; }
.site-header .wrap { min-height: 88px; }
@media (max-width: 420px) { .site-header .logo__img { height: 60px; } .site-header .wrap { min-height: 74px; } }
/* logo tile (keeps the logo's own light-blue background) */
.logo__img { border-radius: 8px; }
.logo--light .logo__img { background: none; padding: 0; height: 96px; border-radius: 10px; }
.site-header .logo__img { height: 84px; }
.site-header .wrap { min-height: 96px; }
.logo--light .logo__img { height: 110px; }
@media (max-width: 420px) { .site-header .logo__img { height: 66px; } .site-header .wrap { min-height: 78px; } }
/* logo at 50% */
.site-header .logo__img { height: 42px; border-radius: 5px; }
.site-header .wrap { min-height: 70px; }
@media (max-width: 420px) { .site-header .logo__img { height: 36px; } .site-header .wrap { min-height: 62px; } }
/* back to the drawn wordmark logo */
.site-header .wrap { min-height: 78px; }
@media (max-width: 420px) { .site-header .wrap { min-height: 70px; } }
/* splash mark */
.logo img.logo__mark { width: 50px; height: auto; flex: none; }
.logo--light img.logo__mark { width: 54px; }
@media (max-width: 420px) { .logo img.logo__mark { width: 44px; } }
