/* =========================================================================
   Eric Burlison Victory Fund — stylesheet
   Palette: brand navy #0c3b5d · red accent #C8202F · gold #C9A84C · white
   Type: Source Serif 4 (headlines) + Inter (body)
   ========================================================================= */

:root {
  --navy: #0c3b5d;        /* brand navy — matches the logo lockup (single source of truth) */
  --navy-deep: #082c46;   /* darker brand navy for depth (hero gradient, etc.) */
  --red: #C8202F;
  --gold: #C9A84C;
  --gold-deep: #8a6d2f;
  --ink: #1a2230;
  --body: #3c4658;
  --tint: #f4f6f9;
  --line: #e2e7ee;
  --white: #ffffff;
  --maxw: 1120px;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(12, 59, 93, 0.07);
  --shadow-lg: 0 14px 40px rgba(12, 59, 93, 0.15);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--body);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.narrow-block { max-width: 720px; }
.center { text-align: center; }

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-1px); }

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

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn-gold { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.btn-gold:hover { background: #b8973f; border-color: #b8973f; }

.btn-donate { background: var(--red); color: #fff; border-color: var(--red); padding: 11px 22px; }
.btn-donate:hover { background: #a91826; border-color: #a91826; }

.btn-block { display: block; width: 100%; text-align: center; }

/* ----------------------------- Header / Nav ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo img { height: 56px; width: auto; display: block; }

.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a {
  font-weight: 500; font-size: 0.95rem; text-decoration: none; color: var(--ink);
}
.nav-menu a:not(.btn):hover { color: var(--red); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .2s; }

/* ----------------------------- Hero ----------------------------- */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; color: #fff; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(12,59,93,.94) 0%, rgba(12,59,93,.82) 40%, rgba(12,59,93,.45) 70%, rgba(12,59,93,.20) 100%);
}
.hero-content { position: relative; padding: 96px 0; max-width: 600px; }

.eyebrow {
  font-family: var(--sans); font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  font-size: .78rem; color: var(--gold); margin: 0 0 18px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 700; color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.12; margin: 0 0 22px; letter-spacing: -0.01em;
}
.hero-sub { font-size: 1.18rem; max-width: 620px; color: rgba(255,255,255,.92); margin: 0 0 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ----------------------------- Sections ----------------------------- */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.section-navy { background: var(--navy); color: rgba(255,255,255,.9); }

.section-eyebrow {
  font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem;
  color: var(--red); margin: 0 0 10px;
}
.section-eyebrow.light { color: var(--gold); }

.section-title {
  font-family: var(--serif); font-weight: 700; color: var(--navy);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.15; margin: 0 0 28px; letter-spacing: -0.01em;
}
.section-title.light { color: #fff; }

.prose p { font-size: 1.08rem; margin: 0 0 20px; }
.lead { font-size: 1.22rem; color: var(--ink); margin: 0 0 36px; }
.lead.light { color: rgba(255,255,255,.92); }

/* ----------------------------- Priority cards ----------------------------- */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px;
}
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow);
  border-top: 3px solid var(--navy);
}
.card h3 {
  font-family: var(--serif); font-weight: 600; color: var(--navy);
  font-size: 1.22rem; margin: 0 0 10px; line-height: 1.25;
}
.card p { margin: 0; font-size: 1rem; }

/* ----------------------------- Allocation waterfall ----------------------------- */
.waterfall-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; margin-top: 12px;
}
.waterfall {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow);
}
.waterfall-title {
  font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 1.3rem; margin: 0 0 4px;
}
.waterfall-cap { font-size: .95rem; color: var(--body); margin: 0 0 22px; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; }
.step-num {
  flex: 0 0 34px; height: 34px; width: 34px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
}
.step-body { display: flex; flex-direction: column; }
.step-body strong { color: var(--ink); font-weight: 600; }
.step-amt { font-size: .92rem; color: var(--body); }

.fineprint { font-size: .9rem; color: #6a7587; }
.fineprint.light { color: rgba(255,255,255,.7); }
.fineprint a { color: var(--red); }

/* ----------------------------- Membership tiers ----------------------------- */
.tier-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin: 8px 0 26px;
}
.tier {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column;
}
.tier-top { background: #fff; border-color: var(--gold); box-shadow: var(--shadow-lg); }
.tier-top .tier-rank { color: var(--navy); }
.tier-top .tier-invest { color: var(--gold-deep); }
.tier-top .tier-benefits li { color: var(--body); }
.tier-top .tier-benefits li::before { color: var(--gold-deep); }

.tier-rank {
  font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: #fff; margin: 0 0 4px;
}
.tier-invest { font-weight: 600; color: var(--gold); margin: 0 0 20px; font-size: .95rem; }
.tier-invest span { display: block; font-weight: 400; font-size: .82rem; color: rgba(255,255,255,.6); }
.tier-top .tier-invest span { color: #8995a6; }

.tier-benefits { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.tier-benefits li { position: relative; padding: 0 0 12px 26px; color: rgba(255,255,255,.88); font-size: .98rem; }
.tier-benefits li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700;
}

/* ----------------------------- Ways to give ----------------------------- */
.give-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.give-col {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow);
}
.give-head {
  font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 1.5rem; margin: 0 0 12px;
}
.give-col > p { font-size: 1rem; }

.ladder { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 22px; }
.ladder-btn {
  text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--navy);
  border: 1.5px solid var(--navy); border-radius: 6px; padding: 10px 16px; transition: .18s;
}
.ladder-btn:hover { background: var(--navy); color: #fff; }
.ladder-max { border-color: var(--red); color: var(--red); }
.ladder-max:hover { background: var(--red); color: #fff; }

.mail-block {
  background: var(--tint); border-left: 4px solid var(--gold);
  border-radius: 6px; padding: 22px 24px; margin: 20px 0;
}
.mail-line { margin: 0; font-size: .9rem; color: var(--body); }
.mail-strong { margin: 2px 0 16px; font-weight: 700; color: var(--navy); font-size: 1.1rem; line-height: 1.4; }
.mail-strong:last-child { margin-bottom: 0; }

/* ----------------------------- Contact ----------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; font-weight: 600; color: var(--ink); font-size: .92rem; }
.contact-form input, .contact-form textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 6px; background: #fff;
  transition: border-color .15s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--navy); }
.contact-form .btn { align-self: flex-start; margin-top: 4px; }

/* inline status line under the submit button */
.form-status { margin: 6px 0 0; font-size: .92rem; font-weight: 600; min-height: 1.1em; }
.form-status.ok { color: #1f7a3d; }
.form-status.err { color: var(--red); }

/* confirmation toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px);
  z-index: 200; display: flex; align-items: center; gap: 12px;
  background: var(--navy); color: #fff;
  padding: 15px 22px; border-radius: 10px; box-shadow: var(--shadow-lg);
  max-width: calc(100vw - 32px); opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast-check {
  flex: 0 0 26px; height: 26px; width: 26px; border-radius: 50%;
  background: var(--gold); color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .95rem;
}
.toast-text { font-size: .96rem; }
.toast-text strong { font-weight: 700; }

.contact-aside {
  background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
}
.contact-name { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--navy); margin: 0; }
.contact-role { font-size: .9rem; color: var(--red); font-weight: 600; letter-spacing: .04em; margin: 2px 0 14px; text-transform: uppercase; }
.contact-phone { font-size: 1.25rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.contact-phone:hover { color: var(--red); }

/* ----------------------------- Thank-you page ----------------------------- */
.ty { display: flex; align-items: center; min-height: calc(100vh - 72px - 220px); padding: 80px 0; }
.ty-inner { text-align: center; }
.ty-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--navy); color: var(--gold); font-size: 2.1rem; font-weight: 700;
  margin-bottom: 28px; box-shadow: var(--shadow-lg);
}
.ty-title {
  font-family: var(--serif); font-weight: 700; color: var(--navy);
  font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 18px; letter-spacing: -0.01em;
}
.ty-lead { font-size: 1.2rem; color: var(--ink); margin: 0 auto 14px; max-width: 580px; }
.ty-sub { font-size: 1rem; color: var(--body); margin: 0 auto 34px; }
.ty-sub a { color: var(--red); font-weight: 600; text-decoration: none; }
.ty-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ----------------------------- Footer ----------------------------- */
/* footer bg = brand navy, so the footer logo's navy box sits flush */
.site-footer { background: var(--navy); color: rgba(255,255,255,.78); padding: 56px 0 40px; }
.footer-logo { height: 88px; width: auto; margin-bottom: 26px; border-radius: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 30px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-links a { color: rgba(255,255,255,.85); text-decoration: none; font-size: .92rem; font-weight: 500; }
.footer-links a:hover { color: var(--gold); }

.compliance p { font-size: .8rem; line-height: 1.65; color: rgba(255,255,255,.6); margin: 0 0 14px; }
.compliance strong { color: rgba(255,255,255,.82); }

.paidfor { font-size: .82rem; color: rgba(255,255,255,.72); margin: 24px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); max-width: 900px; }
.copyright { font-size: .8rem; color: rgba(255,255,255,.45); margin: 20px 0 0; }

/* ----------------------------- Responsive ----------------------------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px; box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-menu a.btn { margin-top: 14px; text-align: center; border-bottom: 0; }

  .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: 540px; }
  .section { padding: 64px 0; }
}

@media (max-width: 520px) {
  .hero-content { padding: 72px 24px; }
  .ladder-btn { flex: 1 1 calc(50% - 5px); text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
