/* === The Kindness Mob — Global Styles === */
:root {
  --red:      #C8281A;
  --red-dark: #A81F0F;
  --black:    #111111;
  --white:    #FFFFFF;
  --gray:     #F7F7F7;
  --mid-gray: #AAAAAA;
  --dark:     #1A1A1A;
  --text:     #222222;
  --font:     'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* === LOGO IMAGE === */
.logo-img {
  height: 38px;
  width: auto;
  display: block;
  max-width: 240px;
  object-fit: contain;
  flex-shrink: 0;
}

/* === NAV === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(17,17,17,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  white-space: nowrap;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-link:hover .logo-img { opacity: 0.85; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-donate {
  background: var(--red);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s;
}
.nav-donate:hover { background: var(--red-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  /* 44px is the minimum comfortable touch target. */
  min-width: 44px;
  min-height: 44px;
  margin-right: -10px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Open state: the three bars collapse into an X, so the button visibly
   becomes a close control instead of staying an ambiguous hamburger. */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO === */
.hero {
  min-height: 100vh;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(200,40,26,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-subhead {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  font-style: italic;
}

.hero-sub {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,40,26,0.35); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--white); transform: translateY(-2px); }

/* === STATS STRIP === */
.stats-strip {
  background: var(--red);
  padding: 40px 24px;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: start;
}

.stat-item { text-align: center; position: relative; }
.stat-num {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
}
.stat-info {
  display: inline-block;
  vertical-align: 1px;
  width: 16px;
  height: 16px;
  margin-left: 2px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  background: transparent;
  color: rgba(255,255,255,0.8);
  font: italic 700 0.65rem/14px Georgia, serif;
  cursor: pointer;
}
.stat-info:hover,
.stat-info:focus-visible { background: var(--white); color: var(--red); outline: none; }
.stat-tip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: 100%;
  min-width: 180px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--white);
  color: #222;
  font-size: 0.8rem;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s, visibility 0.15s;
}
.stat-tip::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: var(--white);
}
.stat-item.tip-open .stat-tip,
.stat-item:has(.stat-info:focus-visible) .stat-tip { opacity: 1; visibility: visible; }
@media (hover: hover) {
  .stat-item:hover .stat-tip { opacity: 1; visibility: visible; }
}

/* === SECTIONS === */
.section {
  padding: 96px 24px;
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-gray {
  background: var(--gray);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.container-narrow {
  max-width: 700px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.section-dark .section-eyebrow { color: #ff6b5b; }

h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-intro {
  font-size: 1.1rem;
  color: rgba(0,0,0,0.6);
  max-width: 560px;
  line-height: 1.7;
}

.section-dark .section-intro { color: rgba(255,255,255,0.6); }

/* === HOW IT WORKS === */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-top: 56px;
}

.step-card {
  text-align: center;
}

.step-num {
  width: 52px; height: 52px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.step-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

/* === FIVE-W CARD GALLERY === */
.five-w-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.five-w-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.five-w-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.30);
  transform: translateY(-2px);
}

.five-w-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}

.five-w-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.35;
}

.five-w-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin: 0;
}

/* === ABOUT SPLIT === */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 4/5;
  background: #e0e0e0;
}

.about-text h2 { margin-bottom: 16px; }

.about-text p {
  color: rgba(0,0,0,0.65);
  margin-bottom: 20px;
  line-height: 1.75;
  font-size: 1.05rem;
}

/* === NOMINATE CTA === */
.cta-block {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-block h2 { color: var(--white); margin-bottom: 16px; }
.cta-block p { color: rgba(255,255,255,0.6); margin-bottom: 36px; font-size: 1.05rem; line-height: 1.7; }

/* === NOMINATE FORM === */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200,40,26,0.15);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.08);
  max-width: 640px;
  margin: 0 auto;
}

/* === FOOTER === */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 64px 24px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.footer-brand .logo-text { color: var(--white); font-size: 1.1rem; }
.footer-tagline { font-size: 0.9rem; color: rgba(255,255,255,0.45); margin-top: 6px; }

.footer-nav ul {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.footer-social a:hover { color: var(--red); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.footer-legal { margin-bottom: 6px; }
.cta-block .donate-status { font-size: 0.85rem; color: rgba(255,255,255,0.45); margin: 20px 0 0; }
.footer-copy a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-copy a:hover { color: var(--white); }

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: var(--black);
  padding: 140px 24px 80px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.page-hero p {
  margin-top: 16px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* === BREADCRUMB === */
.breadcrumb {
  padding: 14px 24px;
  background: var(--gray);
  border-bottom: 1px solid #eee;
}
.breadcrumb-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--mid-gray);
}
.breadcrumb-inner a { color: var(--mid-gray); transition: color 0.2s; }
.breadcrumb-inner a:hover { color: var(--text); }
.breadcrumb-inner span { color: var(--text); }

/* === JOIN THE MOB MINI FORM === */
.join-strip {
  background: var(--red);
  padding: 64px 24px;
  text-align: center;
}
.join-strip h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.join-strip .sub {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  margin-bottom: 28px;
  line-height: 1.6;
}
.join-mini-form {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.join-mini-form input {
  flex: 1;
  min-width: 160px;
  padding: 13px 16px;
  border: none;
  border-radius: 100px;
  font-size: 0.95rem;
  font-family: var(--font);
  background: rgba(255,255,255,0.15);
  color: var(--white);
  backdrop-filter: blur(4px);
  transition: background 0.2s, box-shadow 0.2s;
}
.join-mini-form input::placeholder { color: rgba(255,255,255,0.6); }
.join-mini-form input:focus { outline: none; background: rgba(255,255,255,0.22); box-shadow: 0 0 0 3px rgba(255,255,255,0.2); }
.join-mini-form .btn-white {
  background: var(--white);
  color: var(--red);
  border-radius: 100px;
  padding: 13px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}
.join-mini-form .btn-white:hover { opacity: 0.9; transform: translateY(-1px); }
.join-mini-form .btn-white:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.join-strip-success { display:none; color:var(--white); font-size:1.1rem; font-weight:600; margin-top:8px; }
.join-strip-error { display:none; color:rgba(255,255,255,0.85); font-size:0.85rem; margin-top:8px; }

/* === IN THE NEWS SECTION === */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
}
.news-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  transform: translateY(-3px);
  border-color: rgba(200,40,26,0.25);
}
.news-thumb {
  display: block;
  width: calc(100% + 48px);
  max-width: none;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: -24px -24px 20px;
  border-radius: 15px 15px 0 0;
  background: var(--dark);
}
.news-embed {
  display: block;
  width: 100%;
  height: 180px;
  border: 0;
  border-radius: 12px;
  margin-bottom: 18px;
  background: var(--gray);
}
.news-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(200,40,26,0.08);
  color: var(--red);
  border-radius: 100px;
  padding: 3px 10px 3px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
  width: fit-content;
}
.news-badge svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.news-outlet {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mid-gray);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.news-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 10px;
}
.news-desc {
  font-size: 0.875rem;
  color: rgba(34,34,34,0.6);
  line-height: 1.6;
  flex: 1;
}
.news-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.news-date {
  font-size: 0.78rem;
  color: var(--mid-gray);
}
.news-read-more {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.02em;
}
.news-card-secondary-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.section-dark .news-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  color: var(--white);
}
.section-dark .news-card:hover { border-color: rgba(200,40,26,0.5); }
.section-dark .news-title { color: var(--white); }
.section-dark .news-desc { color: rgba(255,255,255,0.55); }
.section-dark .news-date { color: rgba(255,255,255,0.4); }
.section-dark .news-badge { background: rgba(200,40,26,0.15); }
.section-dark .news-footer { border-color: rgba(255,255,255,0.08); }

/* === MOBILE === */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: rgba(17,17,17,1);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .about-img { order: -1; }
  .form-row { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; align-items: start; }
  .stat-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .stat-num { font-size: clamp(1.8rem, 6vw, 2.4rem); }
  .form-card { padding: 32px 24px; }

  .nominate-grid { grid-template-columns: 1fr !important; }
  .contact-grid { grid-template-columns: 1fr !important; }
}

/* === BLOG === */
.blog-empty {
  text-align: center;
  color: rgba(34,34,34,0.6);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}
.blog-card-img {
  width: calc(100% + 48px);
  max-width: none;
  margin: -24px -24px 18px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}
.blog-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(0,0,0,0.78);
  overflow-wrap: break-word;
}
.blog-body > * + * { margin-top: 1.1em; }
.blog-body h1, .blog-body h2, .blog-body h3 { color: var(--text); line-height: 1.3; margin-top: 1.6em; }
.blog-body h2 { font-size: 1.4rem; }
.blog-body h3 { font-size: 1.15rem; }
.blog-body a { color: var(--red); text-decoration: underline; }
.blog-body ul, .blog-body ol { padding-left: 1.4em; }
.blog-body ul { list-style: disc; }
.blog-body img { border-radius: 12px; margin-left: auto; margin-right: auto; }
.blog-body table { max-width: 100%; }
.blog-body blockquote { border-left: 3px solid var(--red); padding-left: 16px; color: rgba(0,0,0,0.65); }
.blog-back { margin-top: 48px; }
.blog-back a { color: var(--red); font-weight: 600; }
