/* Chamba Drilling Services LLC — field survey office theme */

:root {
  --field-desk: #EFEDE4;
  --core-ink: #26241F;
  --flame: #C25B2C;
  --flame-deep: #A8471E;
  --casing: #3E4850;
  --log-cream: #F7F5EC;
  --drive-pipe: #6B6353;
  --paper-line: #CFC9B6;
  --tank-ink: #33302A;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  margin: 0;
  padding: 0;
  background-color: #EFEDE4;
  color: #26241F;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: #26241F;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

a {
  color: #A8471E;
}

img {
  max-width: 100%;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
html.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ============ CORE RACK HEADER ============ */
.corerack {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: #EFEDE4;
  border-top: 3px solid #6B6353;
  border-bottom: 1px solid #6B6353;
}

.corerack-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.casing-nameplate {
  background-color: #3E4850;
  color: #F7F5EC;
  border-radius: 3px;
  padding: 12px 20px 12px 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 0 0 auto;
}
.casing-nameplate::before,
.casing-nameplate::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background-color: #C25B2C;
}
.casing-nameplate::before { left: 6px; }
.casing-nameplate::after { right: 6px; }
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
  font-weight: bold;
  letter-spacing: 0.3px;
  padding-left: 14px;
  padding-right: 14px;
}
.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #D9D3C2;
  padding-left: 14px;
  padding-right: 14px;
}

.corerack-rack {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  position: relative;
  flex: 1 1 auto;
  justify-content: flex-end;
  border-top: 1px solid #6B6353;
  padding-top: 10px;
}

.core-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  background-color: #C25B2C;
  color: #F7F5EC;
  border-radius: 18px;
  padding: 6px 13px 6px 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  border: 1px solid #A8471E;
  transition: background-color 0.2s ease, transform 0.2s ease;
  position: relative;
}
.core-tag:hover {
  background-color: #A8471E;
}
.core-tag:nth-child(1) { margin-top: 8px; }
.core-tag:nth-child(2) { margin-top: 0; }
.core-tag:nth-child(3) { margin-top: 12px; }
.core-tag:nth-child(4) { margin-top: 3px; }
.core-tag:nth-child(5) { margin-top: 10px; }

.tag-tube {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #F7F5EC;
  border: 2px solid #3E4850;
  flex: 0 0 auto;
  position: relative;
}
.tag-tube::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background-color: #C25B2C;
}
.tag-depth {
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  font-weight: bold;
  background-color: #F7F5EC;
  color: #3E4850;
  border-radius: 3px;
  padding: 1px 4px;
}

.nav-toggle {
  display: none;
  background-color: #3E4850;
  color: #F7F5EC;
  border: 1px solid #6B6353;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  cursor: pointer;
  letter-spacing: 0.4px;
}

/* ============ HERO: DERRICK STAND ============ */
.derrickstand {
  background-color: #EFEDE4;
  padding: 64px 0 70px;
  border-bottom: 1px solid #6B6353;
}
.derrickstand-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 40px;
  align-items: center;
}
.derrick-copy h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}
.flame-word {
  color: #C25B2C;
}
.derrick-lead {
  font-size: 1.05rem;
  color: #33302A;
  max-width: 560px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.depth-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 4px;
  padding: 13px 22px;
  background-color: #C25B2C;
  color: #F7F5EC;
  border: 1px solid #A8471E;
  transition: background-color 0.2s ease;
}
.depth-btn:hover {
  background-color: #A8471E;
}
.depth-btn.ghost {
  background-color: #3E4850;
  border-color: #26241F;
  color: #F7F5EC;
}
.depth-btn.ghost:hover {
  background-color: #26241F;
}

/* --- CSS DERRICK SCENE --- */
.derrick-scene {
  position: relative;
  height: 430px;
  background-color: #E4E1D4;
  border: 1px solid #CFC9B6;
  border-radius: 4px;
  overflow: hidden;
}
.scene-ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46px;
  background-color: #DCD7C6;
  border-top: 2px solid #6B6353;
}
/* derrick legs */
.derrick-leg {
  position: absolute;
  bottom: 44px;
  width: 6px;
  height: 300px;
  background-color: #3E4850;
  transform-origin: bottom center;
}
.derrick-leg.l1 { left: 96px; transform: rotate(11deg); }
.derrick-leg.l2 { left: 150px; transform: rotate(-3deg); height: 340px; }
.derrick-leg.l3 { left: 200px; transform: rotate(-15deg); }
/* lattice rungs are drawn by pseudo elements on a wrapper */
.derrick-frame {
  position: absolute;
  left: 90px;
  bottom: 44px;
  width: 124px;
  height: 320px;
}
.derrick-rung {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #6B6353;
}
.r1 { bottom: 40px; width: 84px; left: 16px; }
.r2 { bottom: 88px; width: 70px; left: 24px; }
.r3 { bottom: 136px; width: 56px; left: 32px; }
.r4 { bottom: 184px; width: 44px; left: 40px; }
.r5 { bottom: 232px; width: 32px; left: 48px; }
.r6 { bottom: 280px; width: 20px; left: 56px; }
.derrick-brace {
  position: absolute;
  bottom: 44px;
  left: 142px;
  width: 2px;
  height: 300px;
  background-color: #6B6353;
  transform-origin: bottom center;
}
.b1 { transform: rotate(-19deg); height: 250px; }
.b2 { transform: rotate(19deg); height: 250px; }
/* crown + drill string */
.derrick-crown {
  position: absolute;
  left: 128px;
  bottom: 358px;
  width: 40px;
  height: 8px;
  background-color: #C25B2C;
  border-radius: 2px;
}
.drill-string {
  position: absolute;
  left: 146px;
  bottom: 48px;
  width: 3px;
  height: 310px;
  background-color: #26241F;
}
.drill-bit {
  position: absolute;
  left: 139px;
  bottom: 34px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 18px solid #C25B2C;
}
/* core rack beside derrick */
.scene-rack {
  position: absolute;
  right: 34px;
  bottom: 44px;
  width: 150px;
}
.scene-rack-rail {
  height: 8px;
  background-color: #3E4850;
  border-radius: 3px;
}
.scene-rack-rail.top { margin-bottom: 0; }
.scene-rack-rail.base { margin-top: 0; }
.scene-tubes {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 150px;
  border-left: 3px solid #6B6353;
  border-right: 3px solid #6B6353;
  background-color: #EDEAE0;
}
.scene-tube {
  width: 20px;
  background-color: #F7F5EC;
  border: 2px solid #3E4850;
  border-radius: 10px 10px 4px 4px;
  position: relative;
}
.scene-tube.t1 { height: 96px; }
.scene-tube.t2 { height: 128px; }
.scene-tube.t3 { height: 78px; }
.tube-tag {
  position: absolute;
  top: -13px;
  left: -6px;
  background-color: #C25B2C;
  color: #F7F5EC;
  font-family: "Courier New", monospace;
  font-size: 0.6rem;
  font-weight: bold;
  border-radius: 2px;
  padding: 1px 4px;
  white-space: nowrap;
}
/* circulating water tank */
.scene-tank {
  position: absolute;
  left: 24px;
  bottom: 44px;
  width: 64px;
  height: 54px;
  background-color: #3E4850;
  border-radius: 3px;
  border: 2px solid #26241F;
}
.scene-tank::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 12px;
  height: 4px;
  background-color: #F7F5EC;
}
.tank-label {
  position: absolute;
  left: 24px;
  bottom: 102px;
  font-size: 0.6rem;
  letter-spacing: 1px;
  color: #3E4850;
  text-transform: uppercase;
  font-weight: bold;
}
/* boring log sheet leaning */
.scene-logsheet {
  position: absolute;
  right: 12px;
  bottom: 40px;
  width: 74px;
  height: 96px;
  background-color: #F7F5EC;
  border: 1px solid #6B6353;
  transform: rotate(6deg);
  padding: 6px 5px;
}
.scene-logsheet span {
  display: block;
  height: 3px;
  background-color: #CFC9B6;
  margin-bottom: 6px;
}
.scene-logsheet span:nth-child(odd) {
  width: 82%;
  background-color: #C25B2C;
}

/* ============ SECTION HEADINGS ============ */
.section-pad {
  padding: 72px 0;
}
.section-head {
  margin-bottom: 38px;
}
.eyebrow {
  display: inline-block;
  font-family: "Courier New", monospace;
  font-size: 0.74rem;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #A8471E;
  border-bottom: 2px solid #C25B2C;
  padding-bottom: 4px;
  margin-bottom: 14px;
  font-weight: bold;
}
.section-head h2 {
  font-size: 2rem;
  max-width: 720px;
}
.section-head p {
  max-width: 680px;
  color: #33302A;
}

/* ============ BORING LOG RUN ============ */
.boringlog {
  background-color: #EFEDE4;
  padding: 72px 0;
  border-top: 1px solid #6B6353;
}
.boringlog-sheet {
  border: 2px solid #3E4850;
  border-radius: 3px;
  background-color: #F7F5EC;
  padding: 0;
  overflow: hidden;
}
.sheet-caption {
  background-color: #3E4850;
  color: #F7F5EC;
  padding: 14px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.sheet-caption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}
.sheet-caption span {
  font-family: "Courier New", monospace;
  font-size: 0.76rem;
  letter-spacing: 1.5px;
  color: #D9D3C2;
}

.log-row {
  display: grid;
  grid-template-columns: 96px 1fr 96px;
  align-items: stretch;
  border-bottom: 1px solid #CFC9B6;
  position: relative;
}
.log-row:last-child {
  border-bottom: none;
}
.log-row::after {
  content: "";
  position: absolute;
  left: 96px;
  right: 96px;
  bottom: -5px;
  height: 0;
  border-top: 1px dashed #6B6353;
}
.log-depth {
  background-color: #C25B2C;
  color: #F7F5EC;
  font-family: "Courier New", monospace;
  font-weight: bold;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 1px;
  border-right: 2px solid #A8471E;
}
.log-body {
  padding: 30px 30px 32px;
}
.log-body h3 {
  font-size: 1.28rem;
  margin-bottom: 6px;
  display: inline-block;
  border-bottom: 3px solid #3E4850;
  padding-bottom: 3px;
}
.log-body p {
  color: #26241F;
  margin-bottom: 0.7em;
}
.log-body p:last-child {
  margin-bottom: 0;
}
.log-link {
  font-weight: 600;
  color: #A8471E;
  font-size: 0.9rem;
}
.log-lith {
  border-left: 1px solid #CFC9B6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 0;
}
.lith-square {
  width: 26px;
  height: 18px;
  border: 1px solid #6B6353;
  background-color: #EFEDE4;
}
.lith-1 { background-image: repeating-linear-gradient(45deg, #6B6353 0 2px, transparent 2px 6px); }
.lith-2 { background-image: repeating-linear-gradient(90deg, #6B6353 0 2px, transparent 2px 5px); }
.lith-3 { background-image: repeating-linear-gradient(0deg, #6B6353 0 2px, transparent 2px 6px); }
.lith-4 { background-image: repeating-linear-gradient(-45deg, #6B6353 0 3px, transparent 3px 7px); }
.lith-5 { background-image: repeating-linear-gradient(45deg, #C25B2C 0 2px, transparent 2px 6px); }
.lith-6 { background-image: repeating-linear-gradient(135deg, #6B6353 0 2px, transparent 2px 9px); }

/* varied row geometries */
.row-variant-swatch .log-body {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 26px;
}
.core-swatch-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-left: 1px solid #CFC9B6;
  padding-left: 20px;
}
.core-swatch-tube {
  width: 34px;
  height: 100px;
  border-radius: 17px 17px 5px 5px;
  background-color: #EFEDE4;
  border: 2px solid #3E4850;
}
.core-swatch-tube.alt {
  height: 74px;
  background-color: #DCD7C6;
}
.core-swatch-cap {
  font-family: "Courier New", monospace;
  font-size: 0.68rem;
  color: #3E4850;
  font-weight: bold;
}

.row-variant-indent .log-body {
  padding-left: 70px;
}
.coupler-rule {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.coupler-rule::before,
.coupler-rule::after {
  content: "";
  height: 1px;
  background-color: #6B6353;
  flex: 1;
}
.coupler-rule .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #6B6353;
}

.row-variant-wide .log-body {
  padding-right: 48px;
}
.row-variant-aside .log-body {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 26px;
}
.aside-stat {
  background-color: #3E4850;
  color: #F7F5EC;
  border-radius: 3px;
  padding: 16px 16px;
  align-self: start;
}
.aside-stat strong {
  display: block;
  font-family: "Courier New", monospace;
  font-size: 1.3rem;
  color: #F7F5EC;
}
.aside-stat em {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #D9D3C2;
}
.row-variant-plain .log-body {
  display: block;
}

/* ============ CIRCULATION STRIP ============ */
.circulation {
  background-color: #C25B2C;
  color: #F7F5EC;
  padding: 26px 0;
  border-top: 3px solid #A8471E;
  border-bottom: 3px solid #A8471E;
}
.circulation-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  text-align: center;
}
.circ-bit {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 14px solid #F7F5EC;
  flex: 0 0 auto;
}
.circulation p {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 600;
  color: #F7F5EC;
  max-width: 860px;
}

/* ============ SUPPORTING HOME SECTIONS ============ */
.practice {
  background-color: #3E4850;
  color: #F7F5EC;
  padding: 72px 0;
}
.practice h2 {
  color: #F7F5EC;
}
.practice p {
  color: #E4E1D4;
  max-width: 760px;
}
.practice .eyebrow {
  color: #F7F5EC;
  border-bottom-color: #C25B2C;
}
.practice-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin-top: 30px;
}
.practice-block {
  border-left: 4px solid #C25B2C;
  padding-left: 22px;
}
.practice-block h3 {
  color: #F7F5EC;
}
.practice-block p {
  color: #E4E1D4;
  margin-bottom: 0;
}

.approach {
  background-color: #EFEDE4;
  padding: 72px 0;
  border-bottom: 1px solid #6B6353;
}
.approach-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}
.approach-gauge {
  background-color: #F7F5EC;
  border: 2px solid #3E4850;
  border-radius: 3px;
  padding: 22px;
}
.approach-gauge h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: #26241F;
}
.gauge-track {
  height: 12px;
  background-color: #DCD7C6;
  border: 1px solid #6B6353;
  border-radius: 6px;
  margin-bottom: 8px;
  position: relative;
}
.gauge-fill {
  height: 100%;
  background-color: #C25B2C;
  border-radius: 6px;
}
.gauge-fill.g1 { width: 82%; }
.gauge-fill.g2 { width: 68%; }
.gauge-fill.g3 { width: 91%; }
.gauge-label {
  font-size: 0.76rem;
  font-family: "Courier New", monospace;
  color: #3E4850;
  margin-bottom: 16px;
  display: block;
}
.approach-text h2 {
  font-size: 1.9rem;
}
.approach-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.approach-list li {
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid #CFC9B6;
  position: relative;
  color: #26241F;
}
.approach-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #3E4850;
  border: 2px solid #C25B2C;
}

.accordion-band {
  background-color: #F7F5EC;
  padding: 72px 0;
  border-bottom: 1px solid #6B6353;
}
.acc-item {
  border: 1px solid #CFC9B6;
  border-left: 5px solid #C25B2C;
  background-color: #EFEDE4;
  margin-bottom: 12px;
  border-radius: 3px;
}
.acc-head {
  width: 100%;
  text-align: left;
  background-color: #EFEDE4;
  border: none;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: #26241F;
  font-family: Georgia, "Times New Roman", serif;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.acc-head:hover {
  color: #A8471E;
}
.acc-sign {
  font-family: "Courier New", monospace;
  color: #C25B2C;
  font-weight: bold;
  flex: 0 0 auto;
}
.acc-panel {
  padding: 0 20px 18px;
  color: #33302A;
}

.cta-band {
  background-color: #3E4850;
  color: #F7F5EC;
  padding: 54px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.cta-inner h2 {
  color: #F7F5EC;
  font-size: 1.7rem;
  margin-bottom: 6px;
}
.cta-inner p {
  color: #E4E1D4;
  margin: 0;
  max-width: 620px;
}

/* ============ MUD TANK FOOTER ============ */
.mudtank {
  background-color: #3E4850;
  color: #F7F5EC;
  border-top: 5px solid #6B6353;
  position: relative;
}
.mudtank-rail {
  height: 14px;
  background-color: #6B6353;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 30px;
}
.mudtank-rail span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #3E4850;
  border: 1px solid #26241F;
}
.mudtank-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
  padding: 44px 0 30px;
}
.foot-brandplates {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.derrick-glyph {
  flex: 0 0 auto;
  width: 46px;
  height: 58px;
  position: relative;
}
.derrick-glyph i {
  position: absolute;
  bottom: 0;
  width: 4px;
  height: 52px;
  background-color: #F7F5EC;
  transform-origin: bottom center;
}
.derrick-glyph i:nth-child(1) { left: 8px; transform: rotate(16deg); }
.derrick-glyph i:nth-child(2) { left: 21px; transform: rotate(0deg); }
.derrick-glyph i:nth-child(3) { left: 34px; transform: rotate(-16deg); }
.foot-brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: bold;
  color: #F7F5EC;
  margin-bottom: 8px;
}
.foot-blurb {
  color: #D9D3C2;
  font-size: 0.9rem;
  margin: 0;
}
.foot-col h4 {
  color: #F7F5EC;
  font-size: 0.8rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 16px;
  border-bottom: 1px solid #6B6353;
  padding-bottom: 8px;
}
.foot-tags {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.foot-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: #F7F5EC;
  background-color: #333E45;
  border: 1px solid #6B6353;
  border-radius: 14px;
  padding: 6px 13px;
  font-size: 0.86rem;
}
.foot-tag:hover {
  background-color: #C25B2C;
  border-color: #A8471E;
}
.foot-tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #C25B2C;
  flex: 0 0 auto;
}
.foot-tag:hover .dot {
  background-color: #F7F5EC;
}
.foot-base {
  border-top: 2px solid #6B6353;
  padding: 20px 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.foot-base-info {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: #D9D3C2;
}
.foot-base-info a {
  color: #F7F5EC;
  text-decoration: none;
}
.foot-base-info a:hover {
  color: #C25B2C;
}
.foot-cap {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid #C25B2C;
  position: relative;
  flex: 0 0 auto;
}
.foot-cap::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background-color: #F7F5EC;
}
.foot-copy {
  font-size: 0.82rem;
  color: #D9D3C2;
  margin: 0;
}

/* ============ INNER PAGE HERO ============ */
.page-banner {
  background-color: #3E4850;
  color: #F7F5EC;
  padding: 52px 0;
  border-bottom: 4px solid #C25B2C;
}
.page-banner h1 {
  color: #F7F5EC;
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.page-banner p {
  color: #E4E1D4;
  max-width: 700px;
  margin: 0;
}
.page-banner .eyebrow {
  color: #F7F5EC;
  border-bottom-color: #C25B2C;
}

/* ============ SERVICE DETAIL ============ */
.service-block {
  border-top: 1px solid #CFC9B6;
  padding: 46px 0;
}
.service-block:first-of-type {
  border-top: none;
}
.service-grid {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 30px;
  align-items: start;
}
.service-num {
  background-color: #C25B2C;
  color: #F7F5EC;
  font-family: "Courier New", monospace;
  font-weight: bold;
  font-size: 1.05rem;
  border-radius: 3px;
  padding: 14px 0;
  text-align: center;
}
.service-grid h3 {
  font-size: 1.4rem;
  border-bottom: 3px solid #3E4850;
  display: inline-block;
  padding-bottom: 4px;
}
.service-grid p {
  color: #26241F;
}
.service-points {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.service-points li {
  padding: 7px 0 7px 24px;
  position: relative;
  color: #33302A;
}
.service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 9px;
  height: 9px;
  background-color: #6B6353;
  border-radius: 2px;
  transform: rotate(45deg);
}

.process-band {
  background-color: #F7F5EC;
  padding: 72px 0;
  border-top: 1px solid #6B6353;
  border-bottom: 1px solid #6B6353;
}
.process-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 34px;
  margin-top: 26px;
}
.process-item {
  border-left: 4px solid #C25B2C;
  padding-left: 20px;
}
.process-item strong {
  display: block;
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  color: #3E4850;
  margin-bottom: 4px;
}
.process-item h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.process-item p {
  color: #33302A;
  margin: 0;
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 44px;
  align-items: start;
}
.contact-form {
  background-color: #F7F5EC;
  border: 2px solid #3E4850;
  border-radius: 3px;
  padding: 30px;
}
.contact-form h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #3E4850;
  font-weight: bold;
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid #6B6353;
  border-radius: 3px;
  background-color: #FFFFFF;
  color: #26241F;
  font-size: 1rem;
  padding: 11px 12px;
  font-family: inherit;
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid #C25B2C;
  outline-offset: 1px;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.form-status {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #A8471E;
}
.contact-aside {
  background-color: #3E4850;
  color: #F7F5EC;
  border-radius: 3px;
  padding: 30px;
}
.contact-aside h2 {
  color: #F7F5EC;
  font-size: 1.4rem;
}
.contact-aside p {
  color: #E4E1D4;
}
.contact-aside a {
  color: #F7F5EC;
}
.info-row {
  border-top: 1px solid #6B6353;
  padding: 14px 0;
}
.info-row:last-child {
  border-bottom: 1px solid #6B6353;
}
.info-row strong {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #C25B2C;
  margin-bottom: 4px;
}
.info-row span {
  color: #F7F5EC;
}
.hours-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #4E585F;
  color: #E4E1D4;
  font-size: 0.92rem;
}
.hours-list li span:last-child {
  color: #F7F5EC;
  font-weight: 600;
}

.faq-band {
  background-color: #F7F5EC;
  padding: 72px 0;
  border-top: 1px solid #6B6353;
}
.faq-item {
  border: 1px solid #CFC9B6;
  border-left: 5px solid #C25B2C;
  background-color: #EFEDE4;
  padding: 22px 24px;
  margin-bottom: 16px;
  border-radius: 3px;
}
.faq-item h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.faq-item p {
  margin: 0;
  color: #33302A;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .derrickstand-grid { grid-template-columns: 1fr; }
  .derrick-scene { height: 380px; }
  .approach-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 64px 1fr; gap: 18px; }
  .log-row { grid-template-columns: 78px 1fr; }
  .log-lith { display: none; }
  .row-variant-swatch .log-body,
  .row-variant-aside .log-body { grid-template-columns: 1fr; }
  .core-swatch-col { border-left: none; padding-left: 0; }
  .row-variant-indent .log-body { padding-left: 30px; }
  .practice-columns { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; }
  .mudtank-main { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .corerack-inner { align-items: center; }
  .corerack-rack {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    border-top: 1px solid #6B6353;
  }
  .corerack-rack.open { display: flex; }
  .core-tag { margin-top: 0 !important; justify-content: flex-start; }
  .derrick-copy h1 { font-size: 2rem; }
  .section-head h2 { font-size: 1.6rem; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .foot-base { flex-direction: column; align-items: flex-start; }
}
