/* ==========================================================================
   KINS Defense — Shared Stylesheet v2
   Direct-Engagement / Six-Variant rebuild — 2026-07-27
   Matches visual language of live kinsdefense.com (dark navy + gold accent)
   ========================================================================== */

:root {
  --bg: #0a0e1a;
  --bg-panel: #10152a;
  --bg-grid-line: rgba(255, 255, 255, 0.035);
  --border: rgba(255, 255, 255, 0.09);
  --gold: #cc9a3c;
  --gold-bright: #e0b354;
  --text: #eef0f5;
  --text-dim: #9aa1b5;
  --text-faint: #616a85;
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    linear-gradient(var(--bg-grid-line) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--bg-grid-line) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 20px; letter-spacing: 1px; }
.brand-mark {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--gold) 0%, #8a6420 100%);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}
.brand small { display: block; font-family: var(--font-body); font-size: 9px; letter-spacing: 2px; color: var(--text-faint); font-weight: 600; }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 12px; letter-spacing: 1.5px; font-weight: 600; color: var(--text-dim);
  text-transform: uppercase; transition: color .15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-bright); }
.nav-cta {
  border: 1px solid var(--gold); color: var(--gold-bright) !important;
  padding: 8px 18px; border-radius: 2px; font-size: 11px !important;
}

/* ---------- Eyebrow / section labels ---------- */
.eyebrow {
  font-family: var(--font-body); font-size: 12px; letter-spacing: 3px;
  color: var(--gold); text-transform: uppercase; font-weight: 700; margin-bottom: 18px;
}

/* ---------- Hero ---------- */
.hero { padding: 90px 0 70px; border-bottom: 1px solid var(--border); }
.hero h1 {
  font-family: var(--font-head); text-transform: uppercase; font-weight: 600;
  font-size: 54px; line-height: 1.08; letter-spacing: .5px; margin: 0 0 26px;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .rule { width: 64px; height: 3px; background: var(--gold); margin: 0 0 26px; }
.hero p.lead { max-width: 640px; font-size: 18px; color: var(--text-dim); margin: 0 0 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 15px 28px; font-size: 12px; letter-spacing: 1.5px;
  font-weight: 700; text-transform: uppercase; border-radius: 2px; cursor: pointer;
}
.btn-primary { background: var(--gold); color: #16110a; }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-primary:hover { background: var(--gold-bright); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

/* ---------- Stat bar ---------- */
.stat-bar { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--border); }
.stat { }
.stat .v { font-family: var(--font-head); font-size: 26px; color: var(--gold); text-transform: uppercase; }
.stat .l { font-size: 11px; letter-spacing: 1px; color: var(--text-faint); text-transform: uppercase; margin-top: 4px; }

/* ---------- Generic section ---------- */
section.block { padding: 80px 0; border-bottom: 1px solid var(--border); }
section.block h2 {
  font-family: var(--font-head); text-transform: uppercase; font-weight: 600;
  font-size: 36px; line-height: 1.15; margin: 0 0 26px; max-width: 760px;
}
section.block p.body-lg { font-size: 17px; color: var(--text-dim); max-width: 760px; margin-bottom: 20px; }

/* ---------- Card grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-panel); border: 1px solid var(--border); border-radius: 4px;
  padding: 28px; border-top: 2px solid var(--gold);
}
.card .tag { font-size: 11px; letter-spacing: 1.5px; color: var(--gold); text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.card h3 { font-family: var(--font-head); font-size: 20px; text-transform: uppercase; margin: 0 0 12px; letter-spacing: .3px; }
.card p { font-size: 14.5px; color: var(--text-dim); margin: 0; }

/* ---------- Audience routing cards (home) ---------- */
.route-card {
  background: var(--bg-panel); border: 1px solid var(--border); border-radius: 4px;
  padding: 32px; display: flex; flex-direction: column; height: 100%;
}
.route-card h3 { font-family: var(--font-head); font-size: 22px; text-transform: uppercase; margin: 0 0 12px; }
.route-card p { color: var(--text-dim); font-size: 14.5px; flex-grow: 1; }
.route-card a.link { color: var(--gold-bright); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; margin-top: 18px; display: inline-block; }

/* ---------- Variant table ---------- */
table.variant-table { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 14px; }
table.variant-table th {
  text-align: left; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px;
  font-size: 12px; color: var(--gold); padding: 12px 16px; border-bottom: 2px solid var(--border);
}
table.variant-table td { padding: 16px; border-bottom: 1px solid var(--border); color: var(--text-dim); }
table.variant-table td:first-child { color: var(--text); font-weight: 700; }
table.variant-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ---------- Quote / scenario callout ---------- */
.scenario {
  background: var(--bg-panel); border: 1px solid var(--border); border-left: 3px solid var(--gold);
  padding: 30px 34px; margin-top: 30px; border-radius: 0 4px 4px 0;
}
.scenario p { color: var(--text-dim); font-size: 15px; margin: 0 0 14px; }
.scenario p:last-child { margin-bottom: 0; }
.scenario .disclaimer { font-size: 11px; color: var(--text-faint); font-style: italic; margin-top: 16px; }

/* ---------- CTA / Contact block (footer section on every page) ---------- */
.cta-block { padding: 80px 0; text-align: left; }
.cta-block h2 { font-family: var(--font-head); text-transform: uppercase; font-size: 34px; margin: 0 0 16px; }
.cta-block p { color: var(--text-dim); max-width: 620px; margin-bottom: 30px; font-size: 15.5px; }
.cta-status { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 34px; font-size: 12px; color: var(--text-faint); letter-spacing: .5px; }

footer.site-footer { border-top: 1px solid var(--border); padding: 30px 0; }
footer.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
footer.site-footer p { font-size: 11.5px; color: var(--text-faint); margin: 0; }

/* ---------- Graphic / video thumbnail row ---------- */
.thumb-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.thumb-row .graphic-thumb { margin-top: 0; }

/* ---------- Graphic thumbnail (links to full-page viewer) ---------- */
.graphic-thumb {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 30px;
  padding: 10px; background: var(--bg-panel); border: 1px solid var(--border);
  border-radius: 4px; max-width: 100%; transition: border-color .15s ease, transform .15s ease;
}
.graphic-thumb:hover { border-color: var(--gold); transform: translateY(-2px); }
.graphic-thumb img {
  width: 120px; height: 80px; object-fit: cover; border-radius: 2px; display: block; flex-shrink: 0;
}
.graphic-thumb .meta { padding-right: 14px; }
.graphic-thumb .meta .k { font-size: 10px; letter-spacing: 1.5px; color: var(--gold); text-transform: uppercase; font-weight: 700; }
.graphic-thumb .meta .t { font-size: 14px; color: var(--text); font-weight: 600; margin-top: 4px; }
.graphic-thumb .meta .a { font-size: 11px; color: var(--text-faint); margin-top: 4px; }

/* ---------- Full-page graphic viewer ---------- */
.graphic-viewer-nav {
  position: sticky; top: 0; z-index: 100; background: rgba(10,14,26,0.95);
  border-bottom: 1px solid var(--border); padding: 18px 0;
}
.graphic-viewer-nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.back-btn {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 1.5px;
  font-weight: 700; text-transform: uppercase; color: var(--text-dim); cursor: pointer; background: none;
  border: 1px solid var(--border); padding: 10px 18px; border-radius: 2px; font-family: var(--font-body);
}
.back-btn:hover { color: var(--gold-bright); border-color: var(--gold); }
.graphic-stage { padding: 50px 0 80px; text-align: center; }
.graphic-stage .eyebrow { text-align: left; }
.graphic-stage h1 {
  font-family: var(--font-head); text-transform: uppercase; font-size: 30px; text-align: left;
  margin: 0 0 30px;
}
.graphic-stage img {
  max-width: 100%; border: 1px solid var(--border); border-radius: 4px;
  display: block; margin: 0 auto;
}
.graphic-stage .caption { text-align: left; font-size: 12px; color: var(--text-faint); margin-top: 18px; }

@media (max-width: 720px) {
  .hero h1 { font-size: 36px; }
  .nav-links { display: none; }
  section.block h2 { font-size: 28px; }
  .graphic-thumb { flex-direction: column; align-items: flex-start; }
}
