/* Intermountain Asset Identification — static stylesheet
   Replaces the Tailwind CDN script. No build step required. */

:root {
  --navy-900: #1a365d;
  --navy-800: #2a4365;
  --navy-950: #122542;
  --emerald-600: #38a169;
  --emerald-700: #2f855a;
  --emerald-50: #ecfdf5;
  --emerald-200: #a7f3d0;
  --emerald-400: #34d399;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --red-50: #fef2f2; --red-200: #fecaca; --red-600: #dc2626; --red-900: #7f1d1d;
  --amber-50: #fffbeb; --amber-200: #fde68a; --amber-500: #f59e0b; --amber-900: #78350f;
  --blue-50: #eff6ff; --blue-200: #bfdbfe; --blue-600: #2563eb; --blue-900: #1e3a8a;
  --max-w: 1280px;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-800);
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.uppercase { text-transform: uppercase; }
.gradient-bg { background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%); }

/* Focus visibility (accessibility) */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--emerald-400);
  outline-offset: 2px;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo-link { display: flex; align-items: center; }
.logo-link img { height: 64px; width: auto; }
.logo-fallback {
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--navy-900);
  font-size: 1.05rem;
  text-transform: uppercase;
  line-height: 1.15;
}
.logo-fallback span { display: block; color: var(--emerald-600); font-size: 0.7rem; letter-spacing: 0.15em; }

.main-nav { display: none; gap: 2rem; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.05em; }
.main-nav a { color: var(--gray-600); transition: color .15s; }
.main-nav a:hover { color: var(--navy-900); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color .15s, opacity .15s;
  text-align: center;
}
.btn-accent { background: var(--emerald-600); color: #fff; }
.btn-accent:hover { background: var(--emerald-700); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-950); }
.btn-block { width: 100%; padding: 0.9rem 1rem; }

/* Mobile nav toggle */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; color: var(--navy-900); }
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  background: #fff;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-700);
}

@media (min-width: 768px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* Hero */
.hero { padding: 5rem 0; color: #fff; text-align: center; }
.hero-inner { max-width: 760px; margin: 0 auto; }
.eyebrow {
  display: inline-block;
  background: var(--navy-800);
  color: var(--emerald-400);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(52,211,153,0.3);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  line-height: 1.15;
}
.hero h1 .accent { color: var(--emerald-400); }
.hero p {
  font-size: 1.1rem;
  color: var(--gray-300);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}
.hero-ctas { display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: center; }

@media (min-width: 640px) {
  .hero h1 { font-size: 3.5rem; }
  .hero-ctas { flex-direction: row; }
  .hero-ctas .btn { width: auto; }
}
@media (min-width: 1024px) {
  .hero { padding: 7rem 0; }
  .hero h1 { font-size: 4rem; }
}

/* Stat bar */
.stat-bar {
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-grid div:nth-child(odd) { border-right: 1px solid var(--gray-200); }
.stat-num { font-size: 1.75rem; font-weight: 900; color: var(--navy-900); margin: 0; }
.stat-label { font-size: 0.7rem; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.05em; margin: 0.25rem 0 0; }

@media (min-width: 768px) {
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-grid div:nth-child(4n+1) { border-right: none; }
}

/* Section headers */
.section { padding: 5rem 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-head h2 {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--navy-900);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0;
}
.section-head p { color: var(--gray-600); margin-top: 0.5rem; }

/* Capability cards */
.card-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-num {
  width: 48px; height: 48px;
  border-radius: 6px;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-200);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--emerald-600);
  margin-bottom: 1.5rem;
}
.card h3 { font-size: 1.15rem; font-weight: 700; color: var(--gray-900); text-transform: uppercase; margin: 0 0 0.75rem; }
.card p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.6; margin: 0 0 1.5rem; }
.card-tag { font-size: 0.7rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.05em; }

/* Materials & specs section */
.specs-section { background: var(--gray-100); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.specs-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .specs-grid { grid-template-columns: 1fr 1fr; } }
.spec-card { background: #fff; padding: 1.75rem; border-radius: var(--radius); border: 1px solid var(--gray-200); box-shadow: 0 1px 2px rgba(0,0,0,0.03); }
.spec-card h3 {
  font-size: 1rem; font-weight: 900; color: var(--navy-900); text-transform: uppercase;
  letter-spacing: 0.03em; margin: 0 0 1.25rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--gray-200);
}
.spec-list { list-style: none; margin: 0; padding: 0; }
.spec-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.65rem 0; border-bottom: 1px solid var(--gray-100); font-size: 0.9rem; }
.spec-list li:last-child { border-bottom: none; }
.spec-list dt { color: var(--gray-600); }
.spec-list dd { margin: 0; font-weight: 700; color: var(--gray-900); text-align: right; }
.spec-note { font-size: 0.75rem; color: var(--gray-500); margin-top: 1rem; line-height: 1.5; }

/* Pricing table */
.price-table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; text-align: left; }
thead tr { background: var(--gray-50); }
th { padding: 0.75rem; font-weight: 700; color: var(--gray-500); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--gray-200); }
td { padding: 0.75rem; border-bottom: 1px solid var(--gray-100); color: var(--gray-700); font-weight: 500; }
td.row-label { font-weight: 700; color: var(--gray-900); }

/* Color code rows */
.color-rows { display: flex; flex-direction: column; gap: 0.75rem; }
.color-row { display: flex; align-items: center; padding: 0.75rem; border-radius: 6px; border: 1px solid; gap: 1rem; }
.color-row.red { border-color: var(--red-200); background: var(--red-50); }
.color-row.amber { border-color: var(--amber-200); background: var(--amber-50); }
.color-row.emerald { border-color: var(--emerald-200); background: var(--emerald-50); }
.color-row.blue { border-color: var(--blue-200); background: var(--blue-50); }
.color-chip { width: 96px; flex-shrink: 0; padding: 0.35rem 0.5rem; border-radius: 4px; font-weight: 700; font-size: 0.7rem; text-align: center; text-transform: uppercase; }
.color-chip.red { background: var(--red-600); color: #fff; }
.color-chip.amber { background: var(--amber-500); color: #000; }
.color-chip.emerald { background: var(--emerald-600); color: #fff; }
.color-chip.blue { background: var(--blue-600); color: #fff; }
.color-desc { font-size: 0.75rem; font-weight: 700; }
.color-desc.red { color: var(--red-900); }
.color-desc.amber { color: var(--amber-900); }
.color-desc.emerald { color: #065f46; }
.color-desc.blue { color: var(--blue-900); }

/* Order / form section */
.order-section { color: #fff; border-top: 4px solid var(--emerald-600); }
.order-inner { max-width: 560px; margin: 0 auto; }
.order-head { text-align: center; margin-bottom: 2.5rem; }
.order-head h2 { font-size: 1.75rem; font-weight: 900; text-transform: uppercase; margin: 0; }
.order-head p { font-size: 0.8rem; color: var(--gray-300); margin-top: 0.5rem; }

.form-card { background: #fff; color: var(--gray-900); padding: 2rem; border-radius: var(--radius); box-shadow: 0 10px 25px rgba(0,0,0,0.15); border: 1px solid var(--gray-100); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-700); margin-bottom: 0.3rem; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select {
  width: 100%;
  padding: 0.65rem;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
}
.field input:focus, .field select:focus { border-color: var(--blue-600); }
.field-file { font-size: 0.75rem; color: var(--gray-500); }
.field-file input[type="file"] { display: block; width: 100%; font-size: 0.75rem; margin-top: 0.3rem; }
.form-note { font-size: 0.7rem; color: var(--gray-400); text-align: center; line-height: 1.5; margin-top: 0.9rem; }
.field-error { display: none; color: var(--red-600); font-size: 0.75rem; margin-top: 0.3rem; }
.field-error.show { display: block; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* Footer */
.site-footer { background: var(--gray-900); color: var(--gray-500); font-size: 0.75rem; padding: 3rem 0; border-top: 1px solid #1f2937; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
.footer-brand { font-size: 0.85rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.05em; }
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
