/* Trin Industries LLC — shared styles. Modern, precise, defense-tech / govcon.
   House typography: Charter (body serif) + Source Sans 3 (headings/UI).
   Palette runs cool (deep navy + cyan) to read technical/precise and to sit
   distinct from the sister brand 44SIX (warmer blue product-supply site). */

:root {
  --ink: #0b1f3a;        /* deep navy, primary text */
  --ink-soft: #2a3a52;
  --muted: #5a6675;      /* secondary text */
  --accent: #0e7490;     /* cyan-700, primary */
  --accent-dark: #0b5a70;
  --accent-soft: #e6f4f7;
  --accent-line: #c9e6ec;
  --bg: #ffffff;
  --bg-alt: #f4f8fa;     /* section tint (cool) */
  --line: #e2e8ee;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(11,31,58,.05), 0 10px 28px rgba(11,31,58,.07);
  --radius: 14px;
  --maxw: 1080px;
  --serif: "Charter", "Georgia", "Times New Roman", serif;
  --sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, nav, .eyebrow, .btn, .tag, th, .stat-num, .brand {
  font-family: var(--sans);
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .4em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .6em; }
h3 { font-size: 1.2rem; margin: 0 0 .4em; }

p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 0; flex-wrap: wrap;
}
.brand {
  font-weight: 700; font-size: 1.3rem; letter-spacing: .01em;
  display: inline-flex; align-items: center; gap: 10px; color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand .mark {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--ink); color: #fff; font-size: .9rem; font-weight: 700;
  letter-spacing: .02em;
}
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-links a {
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  color: var(--ink-soft); padding: 8px 12px; border-radius: 8px;
}
.nav-links a:hover { background: var(--bg-alt); color: var(--ink); text-decoration: none; }
.nav-links a.active { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 600; font-size: 1rem;
  padding: 12px 22px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; transition: transform .05s ease, background .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Sections ---------- */
section { padding: 68px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  font-weight: 700; color: var(--accent); margin: 0 0 12px;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 72px; position: relative; }
.hero .lead { margin-bottom: 24px; }
.badge {
  display: inline-block; font-family: var(--sans); font-weight: 600;
  font-size: .82rem; color: var(--accent-dark);
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.card h3 { display: flex; align-items: center; gap: 10px; }
.card .naics { font-family: var(--sans); font-size: .82rem; color: var(--muted); font-weight: 600; }
.icon {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent-dark);
  display: grid; place-items: center; font-size: 1.2rem;
}

/* ---------- Data table ---------- */
.data-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.data-table th, .data-table td {
  text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.data-table th { width: 34%; font-family: var(--sans); font-weight: 600; color: var(--ink); }
.data-table td { font-family: var(--sans); color: var(--ink-soft); }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: none; }
.pending { color: var(--muted); font-style: italic; }

/* ---------- Stat row ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.stat { text-align: center; }
.stat-num { font-size: 1.6rem; font-weight: 700; display: block; letter-spacing: -.01em; }
.stat-label { font-family: var(--sans); font-size: .9rem; color: var(--muted); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .num {
  font-family: var(--sans); font-weight: 700; font-size: .8rem;
  color: var(--accent-dark); background: var(--accent-soft);
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center; margin-bottom: 12px;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: .98rem; color: var(--muted); margin: 0; }

/* ---------- Callout band ---------- */
.band { background: var(--ink); color: #d6e2ee; }
.band h2 { color: #fff; }
.band .eyebrow { color: #6fd0e0; }
.band .lead { color: #b6c6d8; }
.band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.band .btn-ghost:hover { background: rgba(255,255,255,.08); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: start; }
.contact-line { font-family: var(--sans); margin: 0 0 14px; }
.contact-line strong { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); background: var(--ink); color: #c1cede;
  padding: 40px 0; font-family: var(--sans); font-size: .95rem;
}
.site-footer a { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer .brand { color: #fff; }
.site-footer .brand .mark { background: #fff; color: var(--ink); }
.site-footer .muted { color: #8397ae; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .grid-3, .grid-2, .stats, .steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .nav { justify-content: center; }
  section { padding: 52px 0; }
}
