/* Red Line Constituent Hub - marketing chrome (Forge / heavy red RWB) */
:root {
  --red: #E31C25;
  --red-hot: #FF1E28;
  --red-hover: #B01018;
  --blue: #002868;
  --blue-mid: #1a3a7a;
  --white: #ffffff;
  --black: #0a0a0a;
  --ink: #111111;
  --off: #f5f2ea;
  --muted: #b8b4ad;
  --line: #2a2a2a;
  --navy: #1a2744;
  --cream: #f4efe4;
  --oxblood: #722F37;
  --font-display: "Anton", Impact, Haettenschweiler, sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --max: 1120px;
  --cut: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  --cut-alt: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  --cut-jag: polygon(0 0, calc(100% - 18px) 0, 100% 10px, 100% calc(100% - 8px), calc(100% - 10px) 100%, 8px 100%, 0 calc(100% - 16px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red-hot); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: #ff6b72; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--red); color: #fff; padding: 0.75rem 1rem; z-index: 100;
}
.skip:focus { left: 0; }

.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2rem, 720px); }

.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--red);
  margin: 0 0 0.75rem;
}
.kicker.light { color: #ffd0d2; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3 { font-size: 1.35rem; }
.accent { color: var(--red); }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

code {
  font-size: 0.9em;
  background: rgba(255,255,255,0.08);
  padding: 0.1em 0.35em;
  border: 1px solid var(--line);
}

/* Reveal transitions */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Veteran banner - brand trust, not personal LLC */
.vet-banner {
  background: var(--blue);
  border-bottom: 3px solid var(--red);
  color: #fff;
  font-size: 0.92rem;
}
.vet-banner-inner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0;
}
.vet-banner p { margin: 0; }
.vet-star { color: var(--red-hot); font-size: 1.1rem; line-height: 1; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,10,0.96);
  border-bottom: 4px solid var(--red);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
}
.brand-mark {
  width: 28px;
  height: 40px;
  /* US flag grammar: blue canton + red/white horizontal stripes */
  background:
    linear-gradient(90deg, var(--blue) 0 42%, transparent 42%),
    repeating-linear-gradient(
      180deg,
      var(--red) 0 5px,
      var(--white) 5px 10px
    );
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  font-size: 1.2rem;
}
.brand-text span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}
.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}
.site-nav a:hover { color: var(--red); }
.nav-cta {
  background: var(--red) !important;
  color: #fff !important;
  padding: 0.5rem 0.95rem;
  clip-path: var(--cut-jag);
  border: 2px solid #fff;
}
.nav-cta:hover { background: var(--red-hover) !important; color: #fff !important; }

.nav-toggle {
  display: none;
  background: var(--red);
  border: 2px solid #fff;
  width: 46px;
  height: 42px;
  padding: 9px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  clip-path: var(--cut-alt);
}
.nav-toggle span { display: block; height: 2px; background: #fff; }

/* Irregular buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 1.4rem;
  border: 3px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-asym { clip-path: var(--cut-jag); }
.btn-asym-alt { clip-path: var(--cut-alt); }

.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: #fff;
}
.btn-primary:hover { background: var(--red-hover); color: #fff; }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-ghost:hover { background: var(--blue); color: #fff; border-color: var(--red); }

.btn-on-red {
  background: #fff;
  color: var(--black);
  border-color: var(--blue);
}
.btn-on-red:hover { background: var(--blue); color: #fff; border-color: #fff; }

/* Hero - heavy red RWB */
.hero {
  position: relative;
  padding: 3.5rem 0 4.25rem;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(227,28,37,0.22) 0%, transparent 42%),
    linear-gradient(180deg, #120808 0%, #0a0a0a 55%, #061018 100%);
}
.hero-flag {
  position: absolute;
  right: -2%;
  top: 10%;
  width: min(38vw, 380px);
  height: min(26vw, 240px);
  /* Mini US flag motif: canton + horizontal stripes */
  background:
    linear-gradient(90deg, var(--blue) 0 38%, transparent 38%),
    repeating-linear-gradient(
      180deg,
      var(--red) 0 14px,
      var(--white) 14px 28px
    );
  border: 3px solid rgba(255,255,255,0.2);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  opacity: 0.55;
  pointer-events: none;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
.hero-stripe {
  position: absolute;
  inset: auto 0 0 0;
  height: 12px;
  /* American: blue star-bar left, then red/white stripes only (not FR tricolor thirds) */
  background:
    linear-gradient(90deg, var(--blue) 0 72px, transparent 72px),
    repeating-linear-gradient(
      90deg,
      var(--red) 0 28px,
      var(--white) 28px 56px
    );
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.lede { font-size: 1.15rem; color: #ddd9d2; max-width: 38rem; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.5rem 0 1.25rem;
}
.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.hero-points li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
}

.billboard {
  background: var(--black);
  border: 4px solid #fff;
  outline: 5px solid var(--red);
  outline-offset: 7px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transform: rotate(-1.5deg);
  box-shadow: 12px 12px 0 var(--blue);
}
.billboard-tag {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.billboard-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 0.95;
  margin: 0 0 0.5rem;
  color: #fff;
}
.billboard-sub { color: #ccc; margin-bottom: 1rem; }
.billboard-bar {
  height: 14px;
  margin: 0 auto 1rem;
  width: 78%;
  background:
    linear-gradient(90deg, var(--blue) 0 22%, transparent 22%),
    repeating-linear-gradient(
      180deg,
      var(--red) 0 3.5px,
      var(--white) 3.5px 7px
    );
  border: 1px solid rgba(255,255,255,0.25);
}
.billboard-foot {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.5rem;
}
.billboard-vet {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

/* Sections */
.section { padding: 4rem 0; }
.section-dark { background: #0e0e0e; }
.section-light {
  background: #141414;
  border-block: 2px solid var(--line);
}
.section-head { margin-bottom: 2rem; max-width: 40rem; }
.section-lede { color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}
.checklist {
  list-style: none;
  margin: 0;
  padding: 1.25rem;
  border: 3px solid var(--red);
  background: #111;
  box-shadow: 6px 6px 0 var(--blue);
}
.checklist li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.4rem;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--red);
}

/* Skins */
.skin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.skin-card {
  border: 3px solid var(--line);
  padding: 1.5rem;
  background: #101010;
}
.skin-card.featured {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(227,28,37,0.28), 8px 8px 0 var(--blue);
}
.skin-hearth {
  background: linear-gradient(180deg, #1a1c22 0%, #141414 100%);
  border-color: #3a4258;
}
.skin-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
  background: var(--red);
  color: #fff;
  padding: 0.35rem 0.6rem;
  margin-bottom: 0.85rem;
  clip-path: var(--cut-alt);
}
.hearth-badge {
  background: var(--navy);
  color: var(--cream);
  border: 1px solid #4a5678;
  clip-path: none;
}
.skin-tagline { color: var(--muted); font-weight: 700; margin-top: -0.25rem; }
.skin-card ul { margin: 1rem 0; padding-left: 1.1rem; color: #d5d1c9; }
.skin-card li { margin-bottom: 0.35rem; }
.skin-swatch { display: flex; gap: 0.4rem; margin-top: 1rem; }
.skin-swatch span {
  flex: 1;
  height: 28px;
  border: 2px solid rgba(255,255,255,0.25);
}
.forge-swatch span:nth-child(1) { background: var(--red); }
.forge-swatch span:nth-child(2) { background: #000; }
.forge-swatch span:nth-child(3) { background: #fff; }
.hearth-swatch span:nth-child(1) { background: var(--cream); }
.hearth-swatch span:nth-child(2) { background: var(--navy); }
.hearth-swatch span:nth-child(3) { background: var(--oxblood); }
.skin-note { margin-top: 1.5rem; color: var(--muted); font-size: 0.95rem; max-width: 48rem; }

/* Who */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.who-card {
  border-top: 5px solid var(--red);
  background: #121212;
  padding: 1.35rem;
  border-right: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  border-left: 2px solid var(--blue);
}
.who-card p { color: #cfcbc3; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.25rem;
  background: #101010;
  border: 2px solid var(--line);
  border-left: 8px solid var(--red);
}
.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red);
  line-height: 1;
}
.steps h3 { margin-bottom: 0.35rem; }
.steps p { color: #cfcbc3; margin: 0; }

/* Veteran trust block */
.section-vet {
  background:
    linear-gradient(90deg, var(--blue) 0 8px, transparent 8px),
    linear-gradient(180deg, #0c1220 0%, #0a0a0a 100%);
  border-block: 4px solid var(--red);
  padding: 3.25rem 0;
}
.vet-block { max-width: 40rem; }
.vet-flag-bar {
  height: 10px;
  width: 180px;
  margin-bottom: 1rem;
  background:
    linear-gradient(90deg, var(--blue) 0 28%, transparent 28%),
    repeating-linear-gradient(
      180deg,
      var(--red) 0 2.5px,
      var(--white) 2.5px 5px
    );
}
.vet-plain { color: var(--muted); }

/* Pricing */
.pricing-box {
  border: 3px solid var(--line);
  border-left: 8px solid var(--red);
  padding: 1.75rem;
  background:
    linear-gradient(90deg, rgba(227,28,37,0.18), transparent 45%),
    #111;
}
.pricing-box .btn { margin-top: 0.75rem; }

/* Sample band */
.section-forge-band {
  background: var(--red);
  color: #fff;
  padding: 3rem 0;
  border-block: 4px solid #fff;
  outline: 4px solid var(--blue);
  outline-offset: -8px;
}
.sample-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.section-forge-band h2 { color: #fff; }
.section-forge-band p { color: #ffe8e9; max-width: 40rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}
.contact-list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.contact-list li {
  padding: 0.55rem 0;
  border-bottom: 2px solid var(--line);
}
.contact-list strong {
  display: inline-block;
  min-width: 7.5rem;
  color: var(--red);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
.contact-card {
  background: #101010;
  border: 4px solid var(--red);
  box-shadow: 8px 8px 0 var(--blue);
  padding: 1.5rem;
}
.contact-hint { margin-top: 1rem; font-size: 0.85rem; color: var(--muted); }

/* Footer - quiet legal only */
.site-footer {
  background: #050505;
  border-top: 2px solid var(--line);
  padding: 1.75rem 0 2rem;
  color: #777;
  font-size: 0.8rem;
}
.footer-inner { display: grid; gap: 0.45rem; }
.footer-brand strong {
  display: block;
  color: #ccc;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}
.footer-brand span { color: #666; }
.footer-quiet {
  margin: 0;
  color: #888;
  font-size: 0.78rem;
}
.footer-legal {
  margin: 0;
  color: #555;
  font-size: 0.72rem;
}

@media (max-width: 900px) {
  .hero-grid, .split, .skin-grid, .who-grid, .contact-grid { grid-template-columns: 1fr; }
  .billboard { transform: none; max-width: 360px; }
  .hero-flag { opacity: 0.35; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #0a0a0a;
    border-bottom: 4px solid var(--red);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.5rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.65rem 0.25rem; }
  .header-inner { position: relative; }
}
