/* ============================================================
   Boots to Benefits — luxury veteran authority
   Palette: warm near-black, bone, stone, restrained brass
   Type: Fraunces (display serif) + Mulish (humanist sans)
   ============================================================ */

:root {
  --ink:        #12120d;
  --ink-2:      #17170f;
  --surface:    #1c1b13;
  --surface-2:  #232116;
  --bone:       #ece6d8;
  --bone-dim:   #d7cfbd;
  --stone:      #a49b86;
  --stone-dim:  #857c69;
  --brass:      #b89968;
  --brass-lit:  #d8b884;
  --line:       rgba(184, 153, 104, 0.22);
  --line-soft:  rgba(236, 230, 216, 0.09);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1160px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 3px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--brass-lit); text-decoration: none; }
a:hover { color: var(--bone); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

section[id] { scroll-margin-top: 88px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--brass); color: var(--ink); padding: 0.6rem 1rem; border-radius: var(--radius);
  font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 2px solid var(--brass-lit); outline-offset: 3px; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1.4rem;
}
.eyebrow-center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--bone);
  margin: 0;
}

.section-sub { color: var(--stone); margin: 0.9rem 0 0; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn-brass {
  background: var(--brass);
  color: #1a1509;
  border-color: var(--brass);
}
.btn-brass:hover { background: var(--brass-lit); border-color: var(--brass-lit); color: #1a1509; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--bone);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--brass); color: var(--bone); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 18, 13, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.wordmark { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--bone); }
.wordmark:hover { color: var(--bone); }
.boot-mark { width: 34px; height: 35px; flex: none; }
.bm-sole { fill: #5a4630; }
.bm-lug { fill: #3a2c1d; }
.bm-upper { fill: #c49b62; }
.bm-seam { fill: none; stroke: #7d5f38; stroke-width: 1.2; stroke-linecap: round; }
.bm-lace { fill: none; stroke: var(--brass-lit); stroke-width: 1.5; stroke-linecap: round; }
.bm-eyelet { fill: #33271a; }

/* Rifles + helmet crest */
.crest { width: 78px; height: 78px; display: block; margin: 0 0 1.6rem; }
.r-metal { fill: #4a4740; }
.r-wood { fill: #c49b62; }
.h-dome { fill: #c49b62; }
.h-brim { fill: #33271a; }
.wordmark-text { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: 0.02em; }
.wordmark-text .amp {
  font-family: var(--font-body); font-weight: 600; font-size: 0.66rem; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--brass); padding: 0 0.42em; vertical-align: middle;
}
.header-cta { padding: 0.6rem 1.15rem; font-size: 0.86rem; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: clamp(3rem, 7vw, 6rem); position: relative; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.hero-inner { max-width: 900px; }
.hero-title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(2.35rem, 5.6vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -0.018em;
  margin: 0 0 1.5rem;
  color: var(--bone);
}
.lede {
  font-size: clamp(1.06rem, 1.6vw, 1.22rem);
  line-height: 1.6;
  color: var(--bone-dim);
  max-width: 34ch;
  margin: 0 0 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.4rem; }
.reassure { color: var(--stone-dim); font-size: 0.9rem; margin: 0; }

/* Hero figure */
.hero-figure { margin: 0; position: relative; }
.figure-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background:
    linear-gradient(160deg, rgba(184,153,104,0.06), rgba(0,0,0,0) 40%),
    var(--ink-2);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.8);
}
.figure-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 72%;
  border-radius: 2px;
  filter: saturate(0.86) contrast(1.03) brightness(0.9);
}
.figure-scrim {
  position: absolute; inset: 10px;
  border-radius: 2px;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(18,18,13,0.55) 0%, rgba(18,18,13,0) 32%, rgba(18,18,13,0) 55%, rgba(18,18,13,0.72) 100%),
    linear-gradient(90deg, rgba(18,18,13,0.35), rgba(18,18,13,0) 25%, rgba(18,18,13,0) 75%, rgba(18,18,13,0.35));
}
.dogtag {
  position: absolute;
  left: 50%; bottom: 26px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--bone);
  background: rgba(18,18,13,0.6);
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 0.5rem 1.05rem;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
.dogtag .dot { color: var(--brass); }

/* ---------- Problem ---------- */
.problem { padding-block: clamp(4rem, 9vw, 7.5rem); }
.problem-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.problem-statement {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(1.55rem, 3.4vw, 2.5rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--bone);
  margin: 0 0 1.5rem;
}
.problem-statement em { font-style: italic; color: var(--brass-lit); }
.problem-sub { color: var(--stone); font-size: 1.08rem; max-width: 56ch; margin: 0 auto; }

/* ---------- Value ---------- */
.value { padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line-soft); }
.section-head { max-width: 620px; margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 2.6vw, 2.3rem);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--brass), transparent 70%);
  opacity: 0.7;
}
.card:hover { transform: translateY(-4px); border-color: var(--line); background: var(--surface-2); }
.card-eyebrow {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass); margin: 0 0 0.9rem;
}
.card-title {
  font-family: var(--font-display); font-weight: 500; font-optical-sizing: auto;
  font-size: 1.5rem; line-height: 1.12; letter-spacing: -0.01em;
  color: var(--bone); margin: 0 0 0.7rem;
}
.card-body { color: var(--stone); font-size: 0.99rem; margin: 0; }

/* ---------- Signup ---------- */
.signup { padding-block: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line-soft); }
.signup-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.signup-sub { color: var(--stone); font-size: 1.08rem; margin: 1rem 0 0; max-width: 42ch; }
.signup-card {
  background: linear-gradient(160deg, rgba(184,153,104,0.08), rgba(0,0,0,0) 45%), var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: 0 30px 70px -35px rgba(0,0,0,0.8);
}
.signup-card label {
  display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--stone); margin-bottom: 0.6rem;
}
.signup-card input {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--bone);
  font-family: var(--font-body); font-size: 1.02rem;
  padding: 0.9rem 1rem;
  margin-bottom: 0.9rem;
}
.signup-card input::placeholder { color: var(--stone-dim); }
.signup-card input:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(184,153,104,0.18); }
.form-note { color: var(--stone-dim); font-size: 0.85rem; margin: 0.9rem 0 0; }
.form-success { color: var(--brass-lit); font-size: 0.95rem; font-weight: 600; margin: 0.9rem 0 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding-block: clamp(2.6rem, 5vw, 4rem); background: var(--ink-2); }
.footer-inner { max-width: 720px; }
.footer-brand { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.02em; color: var(--bone); margin: 0 0 0.4rem; }
.footer-tag { color: var(--brass); font-weight: 600; font-size: 0.95rem; margin: 0 0 1.3rem; }
.footer-disclaimer { color: var(--stone-dim); font-size: 0.86rem; line-height: 1.6; margin: 0 0 1.2rem; }
.footer-contact { color: var(--stone); font-size: 0.92rem; margin: 0 0 0.5rem; }
.footer-copy { color: var(--stone-dim); font-size: 0.82rem; margin: 0; }

/* ---------- Load animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .hero-figure { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.19s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.26s; }
  .hero-copy > *:nth-child(5) { animation-delay: 0.33s; }
  .hero-figure { animation-delay: 0.18s; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-figure { order: -1; max-width: 460px; }
  .lede { max-width: 46ch; }
  .signup-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; }
  .header-cta { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }
  .figure-frame img { aspect-ratio: 4 / 5; }
}
