/* TACP Foundation brand colors. Source: TACPF_Brand_Color_Spec.pdf */
:root {
  --navy: #08202C;
  --red: #C20F0F;
  --teal: #0E445C;
  --cream: #FEF6E9;
  --green: #055329;
  --ink: #0A0A0A;
  --white: #FFFFFF;
  --slate: #5C6670;
  --gold: #C9A227;
  --sand: #F6F3EC;
  --line: #E3DED3;

  /* Typeface is not defined in the brand spec. System fonts until one is confirmed. */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
}

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

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

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

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

/* Top bar */
.topbar { background: var(--navy); }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand img { width: 200px; }
.btn-ghost {
  display: inline-block;
  padding: 9px 18px;
  border: 2px solid var(--cream);
  border-radius: 4px;
  color: var(--cream);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.btn-ghost:hover { background: var(--cream); color: var(--navy); }

/* Hero: navy tint over the photo, about 80 to 94 percent */
.hero {
  position: relative;
  color: var(--cream);
  background-color: var(--navy);
  background-image:
    linear-gradient(180deg, rgba(8, 32, 44, .80) 0%, rgba(14, 68, 92, .82) 55%, rgba(8, 32, 44, .94) 100%),
    url("/assets/hero-antenna-800.jpg");
  background-size: cover;
  background-position: center 35%;
  padding: 64px 0 120px;
}
@media (min-width: 801px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(8, 32, 44, .80) 0%, rgba(14, 68, 92, .82) 55%, rgba(8, 32, 44, .94) 100%),
      url("/assets/hero-antenna-1200.jpg");
    padding: 96px 0 150px;
  }
}
@media (min-width: 1200px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(8, 32, 44, .80) 0%, rgba(14, 68, 92, .82) 55%, rgba(8, 32, 44, .94) 100%),
      url("/assets/hero-antenna-2000.jpg");
  }
}
.hero-inner { text-align: center; }
.kicker {
  margin: 0 0 22px;
  color: var(--gold);
  text-transform: uppercase;
}
.kicker-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .12em;
}
.kicker-name::before,
.kicker-name::after {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--gold);
}
.kicker-sub {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2em;
}
.hero h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.rule {
  display: block;
  width: 72px;
  height: 5px;
  margin: 24px auto;
  background: var(--red);
}
.lede {
  max-width: 620px;
  margin: 0 auto;
  font-size: 19px;
  color: var(--cream);
}

/* Cards */
.card {
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(8, 32, 44, .12);
}

/* Signup card, red top border, overlaps the hero */
.signup { margin-top: -84px; position: relative; padding-bottom: 64px; }
.card-action {
  max-width: 480px;
  margin: 0 auto;
  padding: 28px 24px;
  border-top: 6px solid var(--red);
  text-align: center;
}
.card-action h2 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.25;
}
.card-sub { margin: 0 0 20px; color: var(--slate); font-size: 16px; }
.widget {
  min-height: 120px;
  display: flex;
  justify-content: center;
  text-align: left;
}
.widget givebutter-widget { display: block; width: 100%; max-width: 420px; }
.widget-fallback { margin: 16px 0 0; font-size: 16px; color: var(--slate); }

/* What you'll get, sand section with green topped cards */
.get { background: var(--sand); padding: 64px 0; }
.section-title {
  margin: 0 0 32px;
  text-align: center;
  color: var(--navy);
  font-size: 30px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card-get {
  padding: 24px 22px;
  border-top: 5px solid var(--green);
  box-shadow: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.card-get h3 { margin: 0 0 8px; color: var(--navy); font-size: 19px; line-height: 1.3; }
.card-get p { margin: 0; font-size: 16px; }

/* Closing navy band, one green button */
.close {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: var(--cream);
  padding: 64px 0;
}
.close-inner { text-align: center; max-width: 720px; }
.close h2 { margin: 0 0 12px; font-size: clamp(26px, 4vw, 34px); line-height: 1.2; }
.close p { margin: 0 0 28px; font-size: 18px; }
.btn {
  display: inline-block;
  padding: 16px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }

/* Footer, mirrors the tacpfoundation.org footer in brand colors */
.footer {
  background: var(--navy);
  color: var(--cream);
  font-size: 15px;
  line-height: 1.75;
}
.footer a { color: var(--cream); text-decoration: none; }
.footer a:hover { color: var(--gold); text-decoration: underline; }
.footer p { margin: 0 0 14px; }
.footer p a { text-decoration: underline; text-underline-offset: 3px; }
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 56px 0 40px;
  border-bottom: 1px solid rgba(254, 246, 233, .2);
}
.footer-h {
  margin: 0 0 18px;
  color: var(--cream);
  font-size: 28px;
  line-height: 1.2;
}
.footer-h-sm { font-size: 19px; color: var(--gold); }
.crisis {
  padding: 22px 24px;
  border: 1px solid rgba(254, 246, 233, .25);
  border-left: 5px solid var(--red);
  border-radius: 4px;
  background: rgba(14, 68, 92, .45);
}
.crisis-list { list-style: none; margin: 0 0 12px; padding: 0; font-size: 17px; }
.crisis-list li { margin-bottom: 6px; }
.crisis-label {
  display: inline-block;
  min-width: 52px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .1em;
}
.crisis-list a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.crisis-note { font-size: 14px; opacity: .85; margin: 0; }
.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 44px 0 36px;
}
.footer-logo { width: 120px; margin-bottom: 16px; }
.footer-strong { font-weight: 700; }
.accent { color: var(--gold) !important; font-weight: 700; }
.footer-h3 { margin: 0 0 10px; color: var(--gold); font-size: 19px; }
.footer-h3 a { color: var(--gold); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 4px; }
.social { display: flex; gap: 14px; margin-top: 6px; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
}
.social a:hover { background: var(--teal); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(254, 246, 233, .2);
  padding: 22px 0 26px;
  text-align: center;
}
.footer-bottom p { margin: 0 0 6px; }
.credit { font-size: 13px; opacity: .75; }
@media (min-width: 760px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 56px; }
  .footer-cols { grid-template-columns: 1.2fr 1fr 1fr 1.3fr; }
}

@media (max-width: 520px) {
  body { font-size: 17px; }
  .brand img { width: 160px; }
  .btn-ghost { padding: 7px 12px; font-size: 13px; }
  .kicker-name::before, .kicker-name::after { width: 20px; }
  .card-action { padding: 26px 18px; }
}
.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
