/* =========================================================
   ArcWest Fabrication — Brand System
   Modern Western / Desert · Industrial · Precision Fab
   ========================================================= */

:root {
  /* ---- Core neutrals ---- */
  --black: #0b0d0c;
  --ink: #121613;            /* charcoal w/ subtle green tint */
  --charcoal: #181c19;
  --steel-900: #1f2421;
  --steel-700: #2a302c;
  --steel-500: #4a5249;
  --steel-300: #8a948a;
  --steel-200: #b8c0b8;
  --steel-100: #dde0db;

  /* ---- Desert / western palette ---- */
  --sage-darker: #1a2620;     /* deepest sage, near-black */
  --sage-deep:   #2c4435;     /* primary brand green - cactus / forest */
  --sage:        #466b54;     /* mid sage */
  --sage-soft:   #6b8a78;     /* lighter sage tint */
  --sand:        #d4c4a4;     /* warm sand */
  --sand-light:  #e8dcc1;     /* light sand */
  --tan:         #b89968;     /* warm tan */
  --bone:        #f0e7d2;     /* warm off-white */
  --cream:       #ead9b8;
  --bronze:      #b08658;     /* muted bronze accent */
  --bronze-deep: #876039;
  --bronze-light:#c79867;
  --brown:       #2a1f18;

  /* ---- Legacy alias tokens (so old class="red" + JS still resolve) ---- */
  --red: var(--bronze);
  --red-deep: var(--bronze-deep);

  --white: #ffffff;

  /* ---- Functional ---- */
  --bg: var(--black);
  --bg-soft: var(--ink);
  --surface: var(--charcoal);
  --surface-2: var(--steel-900);
  --border: #232925;
  --border-strong: #353d37;
  --text: #ece4d2;            /* warm bone body text */
  --text-dim: #aaa595;
  --text-faint: #7d796c;
  --accent: var(--bronze);
  --accent-soft: var(--sage);

  /* ---- Type ---- */
  --font-display: "Anton", "Bebas Neue", "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* ---- Layout ---- */
  --container: 1240px;
  --container-narrow: 980px;
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);

  /* ---- Easings ---- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* ---- Subtle desert grain (data-URI noise, ~6% opacity feel) ---- */
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.86  0 0 0 0 0.78  0 0 0 0 0.62  0 0 0 0.07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}
/* Site-wide grain overlay — barely there, gives a desert / matte feel */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--grain);
  background-size: 160px 160px;
  pointer-events: none;
  z-index: 1000;
  mix-blend-mode: overlay;
  opacity: 0.55;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1.05;
  margin: 0 0 0.4em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: 0.005em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: 0.035em; }
h4 { font-size: 1.1rem; letter-spacing: 0.08em; }
p { margin: 0 0 1em; color: var(--text-dim); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 12px;
  margin-bottom: 3px;
}
.lead {
  font-size: 1.18rem;
  color: var(--text);
  max-width: 62ch;
  line-height: 1.6;
}

/* ---------- Layout helpers ---------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container-narrow {
  width: min(100% - 2.5rem, var(--container-narrow));
  margin-inline: auto;
}
section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
/* Primary CTA = deep cactus green w/ bone text */
.btn-primary {
  background: var(--sage-deep);
  color: var(--bone);
  border-color: rgba(255,255,255,0.06);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.25), 0 4px 14px rgba(44,68,53,0.35);
}
.btn-primary:hover {
  background: #355440;
  transform: translateY(-2px);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.25), 0 8px 22px rgba(44,68,53,0.45);
}
/* Bronze accent button (used where bronze stands in for legacy red) */
.btn-bronze {
  background: var(--bronze);
  color: #1a120a;
}
.btn-bronze:hover { background: var(--bronze-light); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--bronze);
  color: var(--bone);
  background: rgba(176, 134, 88, 0.06);
}
.btn-light {
  background: var(--bone);
  color: #1a120a;
}
.btn-light:hover { background: var(--cream); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(11, 13, 12, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(176, 134, 88, 0.12);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(11, 13, 12, 0.95);
  border-bottom-color: rgba(176, 134, 88, 0.22);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.brand-mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
  transition: transform 0.3s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-4deg) scale(1.05); }
.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-wordmark strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  color: var(--bone);
  font-weight: 400;
  text-transform: uppercase;
  transition: color 0.2s var(--ease);
}
.brand-wordmark em {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: var(--accent);
  text-transform: uppercase;
  font-style: normal;
  margin-top: 3px;
}
.brand:hover .brand-wordmark strong { color: var(--white); }
@media (max-width: 480px) {
  .brand-mark { width: 42px; height: 42px; }
  .brand-wordmark strong { font-size: 1.25rem; }
  .brand-wordmark em { font-size: 0.56rem; letter-spacing: 0.26em; }
}
/* Footer brand: bigger, more presence */
.site-footer .brand-mark { width: 70px; height: 70px; }
.site-footer .brand-wordmark strong { font-size: 1.9rem; }
.site-footer .brand-wordmark em { font-size: 0.72rem; letter-spacing: 0.34em; margin-top: 4px; }
.site-footer .brand { margin-bottom: 0.5rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s var(--ease);
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--bone); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--accent);
}
.nav-cta { padding: 0.7rem 1.2rem; font-size: 0.82rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--bone);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    background: linear-gradient(180deg, #18211b 0%, #0b0d0c 60%);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0 2.5rem;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    border-top: 3px solid var(--accent);
    z-index: 1100;
    overflow-y: auto;
    box-shadow: -20px 0 60px rgba(0,0,0,0.6);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--bone);
    padding: 1.15rem 1.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    transition: background 0.2s var(--ease), padding-left 0.2s var(--ease), color 0.2s var(--ease);
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(176, 134, 88, 0.14);
    color: var(--bone);
    padding-left: 2rem;
    border-left: 3px solid var(--accent);
  }
  /* Request Quote CTA inside the mobile menu — keep it looking like a button */
  .nav-links .nav-cta {
    margin: 1.4rem 1.6rem 0;
    padding: 1rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    text-align: center;
    background: var(--sage-deep);
    color: var(--bone);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
  }
  .nav-links .nav-cta:hover {
    background: #355440;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(255,255,255,0.08);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 28%, rgba(176, 134, 88, 0.14), transparent 55%),
    radial-gradient(circle at 82% 75%, rgba(44, 68, 53, 0.32), transparent 60%),
    linear-gradient(180deg, #0b0d0c 0%, #14171a 100%);
}
/* Soft warm horizon glow at the bottom — desert sunset mood without going kitsch */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(180deg, transparent, rgba(184, 153, 104, 0.12));
  pointer-events: none;
  z-index: 1;
}

/* Desert mountain horizon */
.hero-mountains {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: clamp(140px, 22vw, 240px);
  pointer-events: none;
  z-index: 1;
}

/* Faint cactus silhouette in the corner */
.hero-cactus {
  position: absolute;
  bottom: 18%;
  left: 4%;
  width: clamp(60px, 7vw, 110px);
  height: auto;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
  animation: cactus-sway 9s ease-in-out infinite;
  transform-origin: bottom center;
}
@keyframes cactus-sway {
  0%, 100% { transform: rotate(-1.5deg); }
  50%      { transform: rotate(1.5deg); }
}
@media (max-width: 900px) {
  .hero-cactus { left: 70%; bottom: 8%; opacity: 0.12; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cactus { animation: none; }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(208,196,164,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(208,196,164,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 78%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 { color: var(--bone); }
.hero h1 .red { color: var(--accent); }
.hero-meta {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.hero-meta-item {
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
}
.hero-meta-item .num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--bone);
  line-height: 1;
}
.hero-meta-item .label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow-lg);
  /* Western corner notches via clip-path */
  --notch: 14px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(44, 68, 53, 0.18), transparent 55%),
    linear-gradient(315deg, rgba(176, 134, 88, 0.18), transparent 55%);
  z-index: 1;
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-tag {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  z-index: 2;
  background: rgba(11, 13, 12, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text);
}
.hero-tag .red { color: var(--accent); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero { min-height: auto; padding-bottom: 4rem; padding-top: 90px; }
  /* Show the image FIRST on mobile so visitors see something visual immediately */
  .hero-visual {
    order: -1;
    aspect-ratio: 16/11;
    max-height: 56vh;
    max-width: 100%;
  }
  .hero h1 { font-size: clamp(2.4rem, 9vw, 3.4rem); }
  .hero-meta { gap: 1.25rem; margin-top: 1.5rem; }
  .hero-meta-item .num { font-size: 1.5rem; }
}

/* ---------- Marquee strip ---------- */
.strip {
  background: linear-gradient(180deg, #131816, #0f1311);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  overflow: hidden;
  position: relative;
}
.strip::before, .strip::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 80px;
  background: linear-gradient(90deg, #0f1311, transparent);
  z-index: 2;
  pointer-events: none;
}
.strip::after { left: auto; right: 0; background: linear-gradient(270deg, #0f1311, transparent); }
.strip-inner {
  display: flex;
  gap: 4rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  white-space: nowrap;
  animation: scroll 40s linear infinite;
}
.strip-inner span { display: flex; align-items: center; gap: 4rem; }
.strip-inner .dot { color: var(--accent); }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section header ---------- */
.section-head {
  max-width: 720px;
  margin-bottom: 3rem;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { color: var(--bone); }

/* Western double-line divider */
.divider-west {
  position: relative;
  height: 1px;
  background: var(--border-strong);
  margin: 3rem auto;
  max-width: 360px;
}
.divider-west::before, .divider-west::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 8px; height: 8px;
  background: var(--accent);
  transform: translate(-50%, -50%) rotate(45deg);
}
.divider-west::after {
  width: 80px; height: 1px;
  background: var(--accent);
  top: 6px;
  transform: translateX(-50%) rotate(0);
}

/* ---------- Capability cards ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cap-grid { grid-template-columns: 1fr; } }

.cap-card {
  background:
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  padding: 1.8rem;
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
/* Bronze left bar on hover */
.cap-card::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--accent);
  transition: height 0.4s var(--ease);
}
/* Subtle western corner brackets — top-left + bottom-right */
.cap-card::after {
  content: "";
  position: absolute;
  top: 10px; right: 10px;
  width: 14px; height: 14px;
  border-top: 1px solid var(--border-strong);
  border-right: 1px solid var(--border-strong);
  opacity: 0.7;
  transition: border-color 0.3s var(--ease);
}
.cap-card:hover {
  transform: translateY(-4px);
  border-color: rgba(176, 134, 88, 0.35);
  box-shadow: 0 18px 36px rgba(0,0,0,0.4);
}
.cap-card:hover::before { height: 100%; }
.cap-card:hover::after { border-color: var(--accent); }
.cap-card .num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
  letter-spacing: 0.18em;
}
.cap-card h3 {
  color: var(--bone);
  margin-top: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 1.5rem;
}
.cap-card p { font-size: 0.95rem; margin-bottom: 0; }
.cap-card .specs {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cap-card .specs span::before { content: "▸ "; color: var(--accent); }

/* ---------- Feature split ---------- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.feature-split.reverse > :first-child { order: 2; }
.feature-split .visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.feature-split .visual img { width: 100%; height: 100%; object-fit: cover; }
.feature-split h2 { color: var(--bone); }
.feature-split ul.checklist {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.7rem;
}
.feature-split ul.checklist li {
  display: flex; gap: 0.8rem;
  font-size: 0.98rem;
  color: var(--text);
}
.feature-split ul.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  background: var(--accent);
  clip-path: polygon(20% 50%, 0 70%, 40% 100%, 100% 30%, 80% 10%, 40% 60%);
  margin-top: 4px;
}
@media (max-width: 900px) {
  .feature-split { grid-template-columns: 1fr; gap: 2rem; }
  .feature-split.reverse > :first-child { order: 0; }
}

/* ---------- Stats / Trust band ---------- */
.stats-band {
  background:
    linear-gradient(180deg, #131816, #0f1311);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
  position: relative;
}
.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 50%, rgba(70,107,84,0.12), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(176,134,88,0.08), transparent 55%);
  pointer-events: none;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
  position: relative;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--bone);
  line-height: 1;
}
.stat .num .red { color: var(--accent); }
.stat .label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-faint);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 0.6rem;
}
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }

/* ---------- Industries ---------- */
.industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.ind-cell {
  background: var(--surface);
  padding: 2rem 1.5rem;
  transition: background 0.3s var(--ease);
  position: relative;
}
.ind-cell:hover { background: linear-gradient(180deg, var(--surface), #1d231f); }
.ind-cell .icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: rgba(176, 134, 88, 0.14);
  border: 1px solid rgba(176, 134, 88, 0.22);
  border-radius: 6px;
  color: var(--accent);
  margin-bottom: 1rem;
}
.ind-cell h4 { color: var(--bone); margin-bottom: 0.4rem; }
.ind-cell p { font-size: 0.92rem; margin: 0; }
@media (max-width: 800px) { .industries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .industries { grid-template-columns: 1fr; } }

/* ---------- CTA band — desert sage ---------- */
.cta-band {
  position: relative;
  background:
    linear-gradient(135deg, rgba(44, 68, 53, 0.96) 0%, rgba(26, 38, 32, 0.98) 100%),
    var(--sage-deep);
  padding: 5rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(208,196,164,0.08);
  border-bottom: 1px solid rgba(208,196,164,0.08);
}
/* Subtle horizon hatching */
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, transparent 0 30px, rgba(255,255,255,0.025) 30px 31px);
  pointer-events: none;
}
/* Bronze double-line frame on top + bottom */
.cta-band::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 8px;
  height: 1px;
  background: rgba(208, 196, 164, 0.18);
  box-shadow: 0 calc(100% - 16px) 0 rgba(208, 196, 164, 0.18);
  pointer-events: none;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 2;
}
.cta-band h2 { color: var(--bone); margin: 0; max-width: 700px; }
.cta-band p { color: rgba(240, 231, 210, 0.88); margin: 0.5rem 0 0; }
.cta-band .btn-primary {
  background: var(--bronze);
  color: #1a120a;
  border-color: rgba(0,0,0,0.1);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.18), 0 4px 14px rgba(135,96,57,0.4);
}
.cta-band .btn-primary:hover { background: var(--bronze-light); }
@media (max-width: 800px) { .cta-band-inner { flex-direction: column; align-items: flex-start; } }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  position: relative;
  transition: border-color 0.3s var(--ease);
}
.step:hover { border-color: rgba(176, 134, 88, 0.3); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 1rem; right: 1.2rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: rgba(176, 134, 88, 0.22);
  line-height: 1;
}
.step h4 { color: var(--bone); margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Faith block ---------- */
.faith-block {
  background:
    linear-gradient(rgba(11,13,12,0.88), rgba(11,13,12,0.95)),
    radial-gradient(circle at 70% 30%, rgba(208,196,164,0.08), transparent 55%),
    linear-gradient(180deg, var(--sage-darker), var(--ink));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
  text-align: center;
}
.verse {
  font-family: "Georgia", serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  color: var(--cream);
  line-height: 1.55;
  max-width: 800px;
  margin: 0 auto 1.2rem;
  position: relative;
}
.verse::before, .verse::after {
  font-family: "Georgia", serif;
  color: var(--accent);
  font-size: 2.5rem;
  line-height: 0;
  position: relative;
  top: 0.3em;
}
.verse::before { content: "\201C"; margin-right: 0.2rem; }
.verse::after { content: "\201D"; margin-left: 0.2rem; }
.verse-cite {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #060807 0%, #0a0c0b 100%);
  border-top: 1px solid var(--border);
  padding: 4rem 0 1.5rem;
  color: var(--text-dim);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-grid h4 {
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.footer-grid a { display: block; padding: 0.3rem 0; font-size: 0.92rem; transition: color 0.2s; }
.footer-grid a:hover { color: var(--bone); }
.footer-blurb { color: var(--text-dim); font-size: 0.92rem; max-width: 320px; margin-top: 1rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-verse {
  font-family: "Georgia", serif;
  font-style: italic;
  color: var(--steel-300);
  font-size: 0.88rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  padding: 11rem 0 4rem;
  position: relative;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(70,107,84,0.18), transparent 55%),
    radial-gradient(ellipse at 15% 100%, rgba(176,134,88,0.10), transparent 55%),
    linear-gradient(180deg, var(--ink) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(208,196,164,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(208,196,164,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 18%, transparent 78%);
  pointer-events: none;
}
.page-header > * { position: relative; z-index: 2; }
.page-header h1 { color: var(--bone); }
.page-header .lead { margin-top: 1rem; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
}
.form-card::before {
  /* subtle bronze top hairline */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
.form-row.single { grid-template-columns: 1fr; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.5rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font: inherit;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--ink);
  box-shadow: 0 0 0 3px rgba(176, 134, 88, 0.18);
}
.field textarea { resize: vertical; min-height: 140px; }
.field-checkbox {
  display: flex; align-items: flex-start; gap: 0.7rem;
  font-size: 0.92rem; color: var(--text-dim);
}
.field-checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gal-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease);
}
.gal-card:hover { transform: scale(1.02); border-color: rgba(176,134,88,0.4); }
.gal-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gal-card:hover img { transform: scale(1.06); }
.gal-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.85) 100%);
  display: flex; align-items: flex-end;
  padding: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.gal-card:hover .gal-card-overlay { opacity: 1; }
.gal-card-overlay h4 { color: var(--bone); margin: 0; font-size: 1.1rem; }
.gal-card-overlay span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@media (max-width: 800px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Filter pills ---------- */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.pill {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.pill:hover { color: var(--bone); border-color: var(--text-dim); }
.pill.active { background: var(--sage-deep); color: var(--bone); border-color: var(--sage); }

/* ---------- Image placeholder ---------- */
.placeholder-img {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(45deg, var(--steel-900) 0 8px, var(--steel-700) 8px 16px);
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
}
.placeholder-img::after { content: attr(data-label); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.text-white { color: var(--bone) !important; }
.text-red { color: var(--accent) !important; }
.text-bronze { color: var(--accent) !important; }
.text-sage { color: var(--sage-soft) !important; }
.divider {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong) 18%, var(--border-strong) 82%, transparent);
  margin: 4rem 0;
}
.divider::before {
  /* Tiny cactus mark in the center of the divider */
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  background: var(--bg) url("../images/brand-mark-cactus-light.png") no-repeat center / 20px auto;
  border-radius: 50%;
  opacity: 0.55;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background:
    linear-gradient(180deg, #131816, #0f1311);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-right: 1px solid var(--border);
  padding-right: 1rem;
}
.trust-item:last-child { border-right: 0; }
.trust-item .ic {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: rgba(176, 134, 88, 0.14);
  border: 1px solid rgba(176, 134, 88, 0.22);
  border-radius: 8px;
  color: var(--accent);
  flex-shrink: 0;
}
.trust-item .txt {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.35;
}
.trust-item .txt strong { display:block; color: var(--bone); font-weight:600; letter-spacing:0.08em; font-size:0.82rem; }
@media (max-width: 1000px) {
  .trust-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1.2rem; }
  .trust-item:nth-child(2n) { border-right: 0; }
}
@media (max-width: 500px) {
  .trust-strip-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--border); padding-bottom: 1rem; }
  .trust-item:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* ---------- Reveal animation ----------
   Reveals are visible by default. The fade-in only kicks in
   when <html> gets the .js-on class (set by main.js on load),
   so if JS fails the site still shows everything. */
.reveal { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js-on .reveal { opacity: 0; transform: translateY(20px); }
.js-on .reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js-on .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--steel-700); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { backgr