/*
Theme Name: And A Home for the Brave
Theme URI: https://aa-hft-b.org
Author: AA-HFT-B
Description: Custom theme for And A Home for the Brave.
Version: 1.0
*/

:root {
      --olive: #4A5D23;
      --olive-light: #6B7546;
      --gold: #C9A227;
      --charcoal: #1A1A1A;
      --charcoal-light: #2B2D2A;
      --cream: #E8E4D9;
      --white: #FFFFFF;
      --text-muted: #9A9A9A;
    }
    
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    
    body {
      font-family: 'Source Sans 3', sans-serif;
      background: var(--charcoal);
      color: var(--white);
      font-size: 1.125rem;
      line-height: 1.6;
    }
    
    h1, h2, h3, h4 {
      font-family: 'Oswald', sans-serif;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      line-height: 1.2;
    }
    
    h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); }
    h2 { font-size: clamp(2rem, 5vw, 3rem); }
    h3 { font-size: 1.5rem; }
    
    .container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
    
    .hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 6rem 2rem;
      position: relative;
      overflow: hidden;
    }
    
    .hero-bg {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background-image: none;
      background-size: cover;
      background-position: center;
      z-index: 0;
    }
    
    .hero-bg::after {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: linear-gradient(180deg, rgba(26,26,26,0.25) 0%, rgba(26,26,26,0.65) 100%);
    }
    
    .hero-content { position: relative; z-index: 1; max-width: 900px; }
    
    .hero-badge {
      display: inline-block;
      border: 2px solid var(--olive);
      padding: 0.5rem 1.5rem;
      font-family: 'Oswald', sans-serif;
      font-size: 0.875rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--olive-light);
      margin-bottom: 2rem;
    }
    
    .hero h1 { margin-bottom: 1rem; color: var(--white); }
    .hero h1 span { color: var(--olive-light); }
    
    .hero-tagline {
      font-family: 'Oswald', sans-serif;
      font-size: clamp(1.25rem, 3vw, 1.75rem);
      font-weight: 400;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 2rem;
    }
    
    .hero-subtitle {
      font-size: 1.125rem;
      color: var(--text-muted);
      margin-bottom: 3rem;
    }
    
    .btn {
      display: inline-block;
      font-family: 'Oswald', sans-serif;
      font-size: 1rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      text-decoration: none;
      padding: 1rem 2.5rem;
      transition: all 0.3s ease;
    }
    
    .btn-primary { background: var(--gold); color: var(--charcoal); }
    .btn-primary:hover { background: var(--white); transform: translateY(-2px); }
    
    .btn-secondary {
      background: transparent;
      color: var(--white);
      border: 2px solid var(--white);
      margin-left: 1rem;
    }
    .btn-secondary:hover { background: var(--white); color: var(--charcoal); }
    
    section { padding: 6rem 0; }
    .section-dark { background: var(--charcoal); }
    .section-darker { background: var(--charcoal-light); }
    .section-olive { background: var(--olive); }
    
    .section-header { text-align: center; margin-bottom: 4rem; }
    .section-header h2 { margin-bottom: 1rem; }
    .section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }
    .section-olive .section-header p { color: rgba(255,255,255,0.8); }
    
    .problem-layout {
      display: grid;
      grid-template-columns: 1fr 2fr;
      gap: 4rem;
      align-items: center;
    }
    
    .problem-image img {
      width: 100%;
      height: auto;
      display: block;
      filter: grayscale(20%);
    }
    
    .stat-hero { margin-bottom: 2rem; }
    
    .stat-hero-number {
      font-family: 'Oswald', sans-serif;
      font-size: clamp(3rem, 8vw, 5rem);
      font-weight: 700;
      color: var(--olive-light);
      line-height: 1;
    }
    
    .stat-hero-label { font-size: 1.125rem; color: var(--white); margin-top: 0.5rem; }
    
    .stat-secondary {
      font-family: 'Oswald', sans-serif;
      font-size: 1.5rem;
      color: var(--gold);
      margin-bottom: 2rem;
    }
    
    .stats-row { display: flex; gap: 3rem; margin-bottom: 2rem; }
    
    .stat-number {
      font-family: 'Oswald', sans-serif;
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--gold);
    }
    
    .stat-label { font-size: 0.875rem; color: var(--text-muted); margin-top: 0.25rem; }
    
    .problem-source {
      font-size: 0.8125rem;
      color: var(--text-muted);
      margin-top: 2rem;
      padding-top: 2rem;
      border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .narrative { text-align: center; padding: 8rem 2rem; }
    
    .narrative blockquote {
      font-family: 'Oswald', sans-serif;
      font-size: clamp(1.5rem, 4vw, 2.25rem);
      font-weight: 400;
      line-height: 1.4;
      color: var(--white);
      max-width: 900px;
      margin: 0 auto 2rem;
    }
    
    .narrative blockquote::before {
      content: '"';
      display: block;
      font-size: 4rem;
      color: var(--gold);
      line-height: 1;
      margin-bottom: 1rem;
    }
    
    .narrative-cta {
      font-family: 'Oswald', sans-serif;
      font-size: 1.25rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--gold);
    }
    
    .solution-image {
      margin-bottom: 4rem;
      position: relative;
      overflow: hidden;
      max-height: 400px;
    }
    
    .solution-image img {
      width: 100%;
      height: 400px;
      object-fit: cover;
      display: block;
      filter: grayscale(20%);
    }
    
    .solution-image::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 150px;
      background: linear-gradient(to top, var(--charcoal) 0%, transparent 100%);
    }
    
    .pillars-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
    }
    
    .pillar {
      background: var(--charcoal-light);
      padding: 2.5rem;
      border-left: 4px solid var(--olive);
      transition: border-color 0.3s ease;
    }
    
    .pillar:hover { border-color: var(--gold); }
    
    .pillar-number {
      font-family: 'Oswald', sans-serif;
      font-size: 0.875rem;
      font-weight: 600;
      letter-spacing: 0.2em;
      color: var(--olive-light);
      margin-bottom: 1rem;
    }
    
    .pillar-badge {
      display: inline-block;
      font-size: 0.6875rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 0.25rem 0.5rem;
      background: var(--olive);
      color: var(--white);
      margin-left: 0.5rem;
      vertical-align: middle;
    }
    
    .pillar h3 { color: var(--white); margin-bottom: 1rem; }
    .pillar p { color: var(--text-muted); font-size: 1rem; }
    
    .partner-services {
      margin-top: 4rem;
      padding: 2rem;
      background: var(--charcoal-light);
      border-top: 2px solid var(--olive);
    }
    
    .partner-services h4 {
      font-size: 1rem;
      letter-spacing: 0.15em;
      color: var(--text-muted);
      margin-bottom: 1.5rem;
      text-align: center;
    }
    
    .partner-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem 2rem;
    }
    
    .partner-item {
      font-size: 0.9375rem;
      color: var(--white);
    }
    
    .partner-item::before {
      content: '→';
      color: var(--olive-light);
      margin-right: 0.5rem;
    }
    
    .journey-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 0;
    }
    
    .journey-step {
      padding: 2rem;
      background: var(--charcoal-light);
      position: relative;
      text-align: center;
    }
    
    .journey-step:nth-child(even) { background: var(--charcoal); }
    
    .journey-step::after {
      content: '→';
      position: absolute;
      right: -0.75rem;
      top: 50%;
      transform: translateY(-50%);
      font-size: 1.5rem;
      color: var(--olive);
      z-index: 1;
    }
    
    .journey-step:last-child::after { display: none; }
    
    .journey-number {
      width: 48px;
      height: 48px;
      border: 2px solid var(--olive);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Oswald', sans-serif;
      font-size: 1.25rem;
      font-weight: 600;
      color: var(--olive-light);
      margin: 0 auto 1rem;
    }
    
    .journey-step h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
    .journey-step p { font-size: 0.9375rem; color: var(--text-muted); }
    
    .services-list {
      margin-top: 4rem;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1rem;
    }
    
    .service-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1rem 1.5rem;
      background: var(--charcoal);
      border-left: 2px solid var(--olive);
    }
    
    .service-check { color: var(--olive-light); font-size: 1.25rem; }
    
    .leader-card {
      display: grid;
      grid-template-columns: 1fr 2fr;
      gap: 4rem;
      align-items: center;
    }
    
    .leader-image {
      aspect-ratio: 1;
      background: var(--charcoal-light);
      display: flex;
      align-items: center;
      justify-content: center;
      border: 2px solid var(--olive);
      overflow: hidden;
    }
    
    .leader-image img { width: 100%; height: 100%; object-fit: cover; }
    
    .leader-image-placeholder {
      font-family: 'Oswald', sans-serif;
      font-size: 4rem;
      color: var(--olive);
      opacity: 0.5;
    }
    
    .leader-content h3 { font-size: 2rem; margin-bottom: 0.5rem; }
    
    .leader-title {
      font-family: 'Oswald', sans-serif;
      font-size: 1rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 1.5rem;
    }
    
    .leader-bio { color: var(--text-muted); margin-bottom: 1.5rem; }
    
    .leader-quote {
      font-style: italic;
      color: var(--white);
      padding-left: 1.5rem;
      border-left: 2px solid var(--gold);
    }
    
    .backed-by {
      margin-top: 4rem;
      padding-top: 4rem;
      border-top: 1px solid rgba(255,255,255,0.1);
      text-align: center;
    }
    
    .backed-by h4 {
      font-size: 0.875rem;
      letter-spacing: 0.2em;
      color: var(--text-muted);
      margin-bottom: 0.5rem;
    }
    
    .backed-by p { color: var(--text-muted); font-size: 1rem; }
    
    .impact-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1.5rem;
      margin-bottom: 4rem;
    }
    
    .impact-card {
      background: var(--charcoal);
      padding: 2rem;
      text-align: center;
      border-top: 3px solid var(--olive);
      transition: border-color 0.3s ease;
    }
    
    .impact-card:hover { border-color: var(--gold); }
    
    .impact-amount {
      font-family: 'Oswald', sans-serif;
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--gold);
      margin-bottom: 0.5rem;
    }
    
    .impact-desc { color: var(--white); font-size: 1rem; }
    
    .donate-cta {
      text-align: center;
      padding: 3rem;
      background: var(--charcoal);
      border: 2px solid var(--olive);
    }
    
    .donate-cta h3 { font-size: 2rem; margin-bottom: 0.5rem; }
    
    .donate-goal {
      font-family: 'Oswald', sans-serif;
      font-size: 3rem;
      font-weight: 700;
      color: var(--gold);
      margin-bottom: 1rem;
    }
    
    .donate-cta p {
      color: var(--text-muted);
      margin-bottom: 2rem;
      max-width: 500px;
      margin-left: auto;
      margin-right: auto;
    }
    
    .donate-note { font-size: 0.875rem; color: var(--text-muted); margin-top: 2rem; }
    
    .help-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      min-height: 500px;
    }
    
    .help-image { position: relative; overflow: hidden; }
    
    .help-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    
    .help-image::after {
      content: '';
      position: absolute;
      top: 0; right: 0; bottom: 0;
      width: 150px;
      background: linear-gradient(to left, var(--charcoal) 0%, transparent 100%);
    }
    
    .help-content {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 4rem;
      background: var(--charcoal);
    }
    
    .help-text h2 { margin-bottom: 1.5rem; }
    .help-text p { color: var(--text-muted); margin-bottom: 1.5rem; }
    
    .help-list { list-style: none; margin-bottom: 2rem; }
    
    .help-list li {
      padding: 0.75rem 0;
      border-bottom: 1px solid rgba(255,255,255,0.1);
      color: var(--white);
    }
    
    .help-list li::before { content: '—'; color: var(--olive); margin-right: 1rem; }
    
    .crisis-box {
      background: var(--charcoal-light);
      padding: 2rem;
      margin-top: 2rem;
      border-left: 4px solid #8B3A3A;
    }
    
    .crisis-box h3 { color: #C94A4A; font-size: 1rem; margin-bottom: 0.75rem; }
    
    .crisis-number {
      font-family: 'Oswald', sans-serif;
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 0.25rem;
    }
    
    .crisis-box p { color: var(--text-muted); font-size: 0.9375rem; }
    
    footer {
      background: var(--charcoal);
      padding: 4rem 0 2rem;
      border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .footer-content {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 4rem;
      margin-bottom: 4rem;
    }
    
    .footer-brand h4 { font-size: 1.5rem; margin-bottom: 0.5rem; }
    
    .footer-tagline {
      font-family: 'Oswald', sans-serif;
      font-size: 0.875rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 1.5rem;
    }
    
    .footer-brand p { color: var(--text-muted); font-size: 0.9375rem; }
    
    .footer-nav h5 {
      font-family: 'Oswald', sans-serif;
      font-size: 0.875rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 1.5rem;
    }
    
    .footer-nav ul { list-style: none; }
    .footer-nav li { margin-bottom: 0.75rem; }
    
    .footer-nav a {
      color: var(--white);
      text-decoration: none;
      font-size: 0.9375rem;
      transition: color 0.3s ease;
    }
    
    .footer-nav a:hover { color: var(--gold); }
    
    .footer-bottom {
      padding-top: 2rem;
      border-top: 1px solid rgba(255,255,255,0.1);
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.875rem;
      color: var(--text-muted);
    }
    
    @media (max-width: 968px) {
      .problem-layout { grid-template-columns: 1fr; text-align: center; }
      .problem-image { max-width: 400px; margin: 0 auto 3rem; }
      .stats-row { justify-content: center; }
      .leader-card { grid-template-columns: 1fr; text-align: center; }
      .leader-image { max-width: 300px; margin: 0 auto; }
      .leader-quote { border-left: none; border-top: 2px solid var(--gold); padding-left: 0; padding-top: 1.5rem; }
      .help-layout { grid-template-columns: 1fr; }
      .help-image { height: 300px; }
      .help-image::after { display: none; }
      .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    }
    
    @media (max-width: 768px) {
      section { padding: 4rem 0; }
      .hero { padding: 4rem 1.5rem; min-height: auto; }
      .btn-secondary { margin-left: 0; margin-top: 1rem; }
      .hero-buttons { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
      .stats-row { flex-direction: column; gap: 1.5rem; }
      .journey-step::after { display: none; }
      .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    }
  
/* --- AA-HFT-B Seal Integration (footer, watermarks, print cover) --- */
.footer-seal{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:18px;
  opacity:0.9;
}
.footer-seal img{
  width:84px;
  height:auto;
  display:block;
  filter:grayscale(100%);
  opacity:0.85;
}
.footer-seal .seal-text{
  line-height:1.15;
  letter-spacing:0.08em;
  text-transform:uppercase;
  font-weight:700;
  font-size:0.85rem;
}

/* Subtle watermark: opt-in by adding .has-watermark to a section */
.has-watermark{
  position:relative;
  overflow:hidden;
}
.has-watermark::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:url('assets/images/AA-HFT-B-Logo.png');
  background-repeat:no-repeat;
  background-position:center;
  background-size:min(820px, 85vw); /* larger seal presence */
  opacity:0.12;                     /* visible but still watermark */
  pointer-events:none;
  filter: grayscale(100%) brightness(0.95);
  mix-blend-mode: soft-light;
}

/* Print/PDF cover: hidden on screen, visible on print */
.print-cover{
  display:none;
  min-height:100vh;
  padding:72px 28px;
  box-sizing:border-box;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.print-cover .cover-inner{
  max-width:720px;
  margin:0 auto;
}
.print-cover img{
  width:260px;
  height:auto;
  display:block;
  margin:0 auto 24px;
  filter:grayscale(100%);
  opacity:0.95;
}
.print-cover h1{
  margin:0 0 8px;
  letter-spacing:0.06em;
  text-transform:uppercase;
}
.print-cover p{
  margin:0;
  opacity:0.9;
}

@media print{
  body{ background:#fff !important; }
  .print-cover{ display:flex; }
  /* Hide site content when printing the cover */
  .site-shell{ display:none !important; }
}
