/* 2 Oaths Firearms — dark gun-store theme */

:root {
  --bg: #0e1013;
  --bg-soft: #15181d;
  --bg-card: #1a1e24;
  --bg-card-hover: #20252d;
  --line: #2a3038;
  --text: #e8eaed;
  --text-dim: #a7adb6;
  --text-faint: #6f7681;
  --brass: #c9a227;
  --brass-bright: #e3b93c;
  --brass-dark: #8f7418;
  --green: #4caf7d;
  --amber: #d99a2b;
  --red: #c0564d;
  --radius: 10px;
  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
  font-weight: 600;
}

h1 { font-size: clamp(2.6rem, 7vw, 4.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 12px; }
h3 { font-size: 1.05rem; margin-bottom: 6px; }

p { margin-bottom: 14px; }

.kicker {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--brass);
  margin-bottom: 10px;
}
.kicker-light { color: var(--brass-bright); }

.section-sub { color: var(--text-dim); max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brass);
  color: #111;
}
.btn-primary:hover { background: var(--brass-bright); }

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-bright); }

.btn-call {
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--text);
  white-space: nowrap;
}
.btn-call:hover { border-color: var(--brass); }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 16, 19, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
}
.brand-mark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  background: var(--brass);
  color: #111;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  line-height: 1;
}
.brand-mark-o { font-size: 1.1rem; vertical-align: baseline; }
.brand-logo {
  display: block;
  height: 56px;
  width: auto;
}
.footer-logo {
  display: block;
  height: 48px;
  width: auto;
  margin-bottom: 12px;
}
@media (max-width: 560px) {
  .brand-logo { height: 44px; }
  .footer-logo { height: 40px; }
}
.brand-text {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.15rem;
  font-weight: 600;
}
.brand-text em { font-style: normal; color: var(--brass); }

.main-nav { display: flex; gap: 4px; }
.main-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 6px;
}
.main-nav a:hover { color: var(--text); background: var(--bg-soft); }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 84px;
  background:
    radial-gradient(1200px 500px at 20% -10%, rgba(201, 162, 39, 0.10), transparent 60%),
    linear-gradient(180deg, #12151a 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: 760px; }
.hero h1 { margin-bottom: 18px; }
.hero .lede { font-size: 1.15rem; color: var(--text-dim); max-width: 600px; }
.hero .lede strong { color: var(--brass-bright); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Suppressor banner ---------- */
.suppressor-banner {
  background: linear-gradient(135deg, #1c1a10 0%, #141310 100%);
  border-bottom: 1px solid var(--brass-dark);
  padding: 56px 0;
}
.suppressor-banner h2 { color: var(--brass-bright); }
.suppressor-banner p { color: var(--text-dim); max-width: 700px; }
.suppressor-banner p strong { color: var(--text); }
.suppressor-banner .btn { margin-top: 10px; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.inventory-section { background: var(--bg); }
.about-section { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.transfers-section { background: var(--bg); }
.visit-section { background: var(--bg-soft); border-top: 1px solid var(--line); }

/* ---------- Sample notice ---------- */
.sample-notice {
  background: rgba(217, 154, 43, 0.10);
  border: 1px solid var(--amber);
  color: var(--text);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin: 18px 0 6px;
  font-size: 0.92rem;
}
.sample-notice strong { color: var(--amber); }

/* ---------- Inventory controls ---------- */
.inventory-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 24px 0 20px;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  padding: 9px 15px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.15s;
}
.filter-btn:hover { border-color: var(--brass); color: var(--text); }
.filter-btn.active {
  background: var(--brass);
  border-color: var(--brass);
  color: #111;
  font-weight: 600;
}
.search {
  margin-left: auto;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.95rem;
  min-width: 220px;
  font-family: var(--font-body);
}
.search:focus { outline: none; border-color: var(--brass); }
.search::placeholder { color: var(--text-faint); }

/* ---------- Inventory grid ---------- */
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}
.item-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, background 0.15s;
}
.item-card:hover { border-color: var(--brass-dark); background: var(--bg-card-hover); }
.item-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm, 6px);
  margin-bottom: 12px;
}
.item-cat {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: var(--brass);
  margin-bottom: 8px;
}
.item-brand { font-size: 0.85rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.item-model {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 2px 0 4px;
}
.item-cal { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 10px; }
.item-notes { color: var(--text-faint); font-size: 0.85rem; margin-bottom: 12px; flex-grow: 1; }
.item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: auto;
}
.item-price {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brass-bright);
}
.status {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: 600;
}
.status-instock { background: rgba(76, 175, 125, 0.15); color: var(--green); border: 1px solid rgba(76, 175, 125, 0.4); }
.status-onorder { background: rgba(217, 154, 43, 0.12); color: var(--amber); border: 1px solid rgba(217, 154, 43, 0.4); }
.status-sold { background: rgba(192, 86, 77, 0.12); color: var(--red); border: 1px solid rgba(192, 86, 77, 0.4); }
.status-sample { background: rgba(167, 173, 182, 0.12); color: var(--text-dim); border: 1px solid var(--line); }

.inventory-empty { color: var(--text-dim); padding: 32px 0; text-align: center; }
.inventory-count { color: var(--text-faint); font-size: 0.85rem; margin-top: 18px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.about-grid p { color: var(--text-dim); }
.cred-list { list-style: none; margin-top: 18px; }
.cred-list li {
  padding: 8px 0 8px 26px;
  position: relative;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.cred-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--brass);
  transform: rotate(45deg);
}
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.about-card h3 { color: var(--brass-bright); margin-bottom: 14px; }
.about-card ul { list-style: none; }
.about-card li { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--text-dim); font-size: 0.93rem; }
.about-card li:last-child { border-bottom: none; }
.about-card li strong { color: var(--text); }

/* ---------- Transfers ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brass);
  color: #111;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.step p { color: var(--text-dim); font-size: 0.93rem; margin-bottom: 0; }
.transfer-note {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin-top: 8px;
}
.transfer-note h3 { color: var(--brass-bright); }
.transfer-note p { color: var(--text-dim); }
.fine-print { font-size: 0.82rem; color: var(--text-faint); }

/* ---------- Visit ---------- */
.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.visit-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.visit-card svg { margin-bottom: 10px; }
.visit-card svg path { fill: var(--brass); }
.visit-card h3 { color: var(--brass-bright); }
.visit-card p { color: var(--text-dim); margin-bottom: 0; }
.visit-card a { color: var(--text); text-decoration: none; font-weight: 600; }
.visit-card a:hover { color: var(--brass-bright); }
.visit-cta { text-align: center; margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  background: #0a0c0e;
}
.footer-brand {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 10px;
}
.site-footer .fine-print { margin-bottom: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .main-nav { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .search { margin-left: 0; width: 100%; }
  .hero { padding: 64px 0 56px; }
  section { padding: 48px 0; }
  .btn-call span.hide-sm { display: none; }
}
