/* ============================================================
   OBSIDIAN SYSTEM — Peerless Protection Group
   Shared tokens + global components (nav, footer, buttons,
   labels, REVIEW badge, imagery treatment)
   ============================================================ */

/* Fonts are self-hosted from ../fonts/ (jobs site only; the main site still
   loads them from cdn.fontshare.com). Clash Display and General Sans are
   by the Indian Type Foundry (ITF), free via Fontshare under the ITF Free
   Font License. Credit: "Clash Display and General Sans © Indian Type
   Foundry. Clash and General are trademarks of the Indian Type Foundry." */
@font-face { font-family: 'Clash Display'; src: url('../fonts/clash-display-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url('../fonts/clash-display-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('../fonts/general-sans-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('../fonts/general-sans-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bg: #0B0B0D;
  --charcoal: #16151A;
  --footer-bg: #08080A;
  --ink: #ECEAE5;
  --muted: rgba(236, 234, 229, 0.50);
  --hair: rgba(236, 234, 229, 0.12);
  --oxblood: #6B2737;
  --gold: #C9A24B;
  --gold-hair: rgba(201, 162, 75, 0.45);
  --clash: 'Clash Display', sans-serif;
  --gen: 'General Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--gold); }

/* ---------- shared type ---------- */
.kicker {
  font-family: var(--gen); font-weight: 500; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold);
}
.h2 {
  font-family: var(--clash); font-weight: 700; color: var(--ink);
  font-size: 52px; line-height: 1.06; letter-spacing: -0.005em;
  margin-top: 22px;
}
.h2-form { font-size: clamp(40px, 4.2vw, 58px); }
@media (max-width: 400px) { .h2-form { font-size: 32px; } }
.body-copy { font-size: 17px; line-height: 1.7; color: rgba(236,234,229,0.62); }
.gold-rule { width: 44px; height: 1px; background: var(--gold); }

/* ---------- REVIEW badge (removable) ---------- */
.rev {
  display: inline-block; vertical-align: 2px;
  font-family: var(--gen); font-weight: 500; font-size: 9px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold-hair);
  padding: 2px 7px 1px; margin-left: 10px; border-radius: 1px;
  white-space: nowrap;
}

/* ---------- buttons: rectangular, sharp, letterspaced ---------- */
.btn {
  display: inline-block; border-radius: 0;
  font-family: var(--gen); font-weight: 500; font-size: 12.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 18px 40px; text-align: center; white-space: nowrap;
  color: var(--ink);
}
.btn-primary { background: var(--oxblood); border: 1px solid var(--oxblood); }
.btn-primary:hover { color: var(--ink); box-shadow: 0 0 34px rgba(107,39,55,0.55); }
.btn-ghost { background: transparent; border: 1px solid var(--hair); }
.btn-ghost:hover { color: var(--ink); border-color: rgba(236,234,229,0.35); }

/* ---------- imagery: duotone, sits IN the obsidian field ---------- */
.img-slab { position: relative; overflow: hidden; background: var(--charcoal); border: 1px solid rgba(236,234,229,0.4); }
.img-slab img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.32) brightness(0.7);
}
.img-slab::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,11,13,0.28), rgba(11,11,13,0.42));
  border: 1px solid var(--hair);
}

/* ============================================================
   NAV (desktop) — transparent over hero
   ============================================================ */
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 64px; height: 88px;
}
.nav-brand { display: flex; align-items: center; gap: 14px; }
.nav-brand img { width: 34px; height: auto; display: block; }
.nav-brand .word {
  font-family: var(--clash); font-weight: 600; font-size: 16px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink); white-space: nowrap;
}
/* Lockup: shield + PEERLESS PROTECTION GROUP on one line; on phones it
   stacks as PEERLESS / PROTECTION GROUP (see the 520px rule below). */
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a {
  font-family: var(--gen); font-weight: 500; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: rgba(236,234,229,0.72);
}
.nav-links a:hover { color: var(--ink); }
.nav-links .caret { display: inline-block; margin-left: 6px; font-size: 9px; color: var(--muted); }
.nav-phone {
  font-family: var(--gen); font-weight: 500; font-size: 12px; letter-spacing: 0.1em;
  color: var(--ink); border: 1px solid var(--oxblood); padding: 12px 20px; border-radius: 0;
}
.nav-phone:hover { background: var(--oxblood); color: var(--ink); }

/* ============================================================
   FOOTER — #08080A, three columns
   ============================================================ */
.footer { background: var(--footer-bg); position: relative; z-index: 2; }
.footer-main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px;
  padding: 80px 64px 64px; border-top: 1px solid var(--hair);
}
.footer-brand img { width: 44px; height: auto; opacity: 0.92; }
.footer-brand p { margin-top: 20px; font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 300px; }
.footer h5 {
  font-family: var(--gen); font-weight: 500; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px;
}
.footer-col { display: flex; flex-direction: column; gap: 13px; }
.footer-col a, .footer-col span { font-size: 14px; color: rgba(236,234,229,0.65); }
.footer-col a:hover { color: var(--ink); }
.footer-bar {
  border-top: 1px solid var(--gold-hair);
  margin: 0 64px; padding: 26px 0 34px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-size: 12px; color: rgba(236,234,229,0.38); letter-spacing: 0.04em;
}
.footer-bar a { color: rgba(236,234,229,0.38); }
.footer-bar a:hover { color: var(--ink); }

/* ============================================================
   MOBILE overrides
   ============================================================ */
.burger { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.burger span { height: 1.5px; background: var(--ink); display: block; }

/* Mobile footer at the site's 1080px breakpoint */
@media (max-width: 1080px) {
  .footer-main { grid-template-columns: 1fr; gap: 44px; padding: 60px 22px 48px; }
  .footer-bar { margin: 0 22px; flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 767px) {
  .nav-brand img { width: 26px; }
  .nav-brand .word { font-size: 13px; }
  .nav-phone { letter-spacing: 0.08em; }
  .btn { padding: 16px 28px; font-size: 11.5px; white-space: normal; width: 100%; }
}

/* Two-line brand lockup on phones, so the phone number and menu still fit */
@media (max-width: 520px) {
  .nav-brand { gap: 10px; }
  .nav-brand .word { display: flex; flex-direction: column; line-height: 1; }
  .nav-brand .w1 { font-size: 14px; letter-spacing: 0.08em; }
  .nav-brand .w2 { font-size: 8.5px; letter-spacing: 0.2em; margin-top: 4px; color: rgba(236,234,229,0.78); }
}
