/* UNO — United Neighborhood Outreach — Site Shell Styles
   Brand: navy #081930, red #B02727, white #FFFFFF, font Poppins
   Source: pulled from live unolbk.org computed styles (see UNO-content-handoff.md) */

:root {
  --navy: #081930;
  --red: #B02727;
  --red-dark: #8f1f1f;
  --white: #FFFFFF;
  --gray-light: #f4f5f7;
  --gray-mid: #6b7280;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.55;
}

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

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin: 0 0 0.5em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e6e8ec;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
}
.brand img { height: 42px; width: 42px; border-radius: 50%; object-fit: cover; }
.brand-text { line-height: 1.1; }
.brand-text .brand-name { font-weight: 700; font-size: 0.95rem; }
.brand-text .brand-sub { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.brand:hover { text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--navy);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 1.1rem;
  cursor: pointer;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: 6px;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  background: var(--gray-light);
  text-decoration: none;
  color: var(--red);
}
.main-nav a.btn-donate {
  background: var(--red);
  color: var(--white);
  font-weight: 600;
}
.main-nav a.btn-donate:hover { background: var(--red-dark); color: var(--white); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid #e6e8ec;
    box-shadow: 0 8px 16px rgba(0,0,0,0.06);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 0.5rem; }
  .main-nav a { padding: 0.75rem 1rem; }
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #0d2547 100%);
  color: var(--white);
  padding: 4.5rem 0 4rem;
  text-align: center;
}
.hero h1 { color: var(--white); }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto 1.75rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); text-decoration: none; }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.12); text-decoration: none; }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); text-decoration: none; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--gray-light); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 2.5rem; }
.section-header p { color: var(--gray-mid); }

.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.card {
  background: var(--white);
  border: 1px solid #e6e8ec;
  border-radius: 12px;
  padding: 1.5rem;
}
.card h3 { margin-bottom: 0.5rem; }

/* Stub / coming-soon page */
.stub-page {
  padding: 5rem 0;
  text-align: center;
  min-height: 45vh;
}
.stub-badge {
  display: inline-block;
  background: var(--gray-light);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* Forms */
form.stack { display: flex; flex-direction: column; gap: 1rem; max-width: 560px; margin: 0 auto; text-align: left; }
label { font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 0.35rem; }
input, select, textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid #cfd3da;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
}
textarea { min-height: 100px; resize: vertical; }

/* Partner logo placeholders */
.partner-note { font-size: 0.85rem; color: var(--gray-mid); margin-bottom: 1rem; }
.logo-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 72px;
  padding: 0.6rem;
  background: var(--gray-light);
  border: 1px dashed #cfd3da;
  border-radius: 10px;
  color: var(--gray-mid);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 2rem;
}
.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.75rem; }
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.25rem;
  font-size: 0.8rem;
  text-align: center;
  color: rgba(255,255,255,0.6);
}

/* Print styles for flyer page */
@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  body { background: var(--white); }
}

.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;
}
