/* Working Class Media — Main Stylesheet */

:root {
  --dark:          #0f172a;
  --dark-2:        #1e293b;
  --accent:        #c8102e;
  --accent-hover:  #a00d24;
  --bg:            #ffffff;
  --bg-alt:        #f8fafc;
  --text:          #1e293b;
  --text-muted:    #64748b;
  --text-light:    #94a3b8;
  --border:        #e2e8f0;
  --white:         #ffffff;
  --font-display:  'Oswald', sans-serif;
  --font-body:     'Inter', sans-serif;
  --container:     1140px;
  --radius:        8px;
  --radius-sm:     4px;
  --transition:    180ms ease;
  --shadow:        0 1px 3px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:     0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg:     0 10px 28px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06);
}

/* ───── RESET ───── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; height: auto; display: block; }
ul   { list-style: none; }
a    { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; font-family: inherit; }

/* ───── LAYOUT HELPERS ───── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section       { padding: 80px 0; }
.section--alt  { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: var(--white); }

/* ───── TYPE HELPERS ───── */
.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 18px;
}
.section--dark .section-heading { color: var(--white); }
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
}
.section--dark .section-sub { color: rgba(255,255,255,0.72); }

/* ───── BUTTONS ───── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}
.btn:hover { text-decoration: none; }

.btn--primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn--outline:hover { background: var(--white); color: var(--dark); border-color: var(--white); }

.btn--outline-accent { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--outline-accent:hover { background: var(--accent); color: var(--white); }

.btn--white { background: var(--white); color: var(--accent); border-color: var(--white); }
.btn--white:hover { background: transparent; color: var(--white); }

/* ───── SITE HEADER ───── */
.site-header {
  background: var(--dark);
  border-bottom: 3px solid var(--accent);
  padding: 12px 0;
}
.site-header__logo {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
}
.site-header__logo img {
  height: 88px;
  width: auto;
  display: block;
}
.site-header__logo:hover { opacity: 0.85; text-decoration: none; }

/* ───── SITE FOOTER ───── */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 28px 0;
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.site-footer__copy { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.site-footer__links { display: flex; gap: 24px; }
.site-footer__links a {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color var(--transition);
}
.site-footer__links a:hover { color: var(--white); text-decoration: none; }

/* ───── HERO (homepage) ───── */
.hero {
  background: var(--dark);
  color: var(--white);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.015) 40px,
      rgba(255,255,255,0.015) 42px
    );
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
}
.hero__content { position: relative; max-width: 700px; }

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200,16,46,0.14);
  border: 1px solid rgba(200,16,46,0.3);
  color: #f9aab3;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero__tag-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.hero__title em { color: var(--accent); font-style: normal; }
.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ───── MISSION ───── */
.mission { padding: 80px 0; }
.mission__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.mission__text p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.mission__text p:last-child { margin-bottom: 0; }

.mission__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-card:first-child { grid-column: span 2; }
.stat-card__number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-card__label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* ───── TILES ───── */
.tiles { padding: 80px 0; }
.tiles__header { margin-bottom: 48px; }
.tiles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.tile__icon {
  width: 50px; height: 50px;
  background: rgba(200,16,46,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.tile__icon svg { width: 24px; height: 24px; stroke: var(--accent); }

.tile__heading {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.tile__text { font-size: 0.94rem; color: var(--text-muted); line-height: 1.72; }

/* ───── CTA BANNER ───── */
.cta-banner { background: var(--accent); padding: 64px 0; }
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner__heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 8px;
}
.cta-banner__sub { font-size: 1rem; color: rgba(255,255,255,0.82); }

/* ───── FOOTER ───── */
.footer { background: var(--dark); color: rgba(255,255,255,0.58); padding: 56px 0 32px; }
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.footer__brand em { color: var(--accent); font-style: normal; }
.footer__tagline { font-size: 0.875rem; line-height: 1.65; margin-bottom: 18px; }
.footer__col-head {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.58);
  text-decoration: none;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); text-decoration: none; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom a { color: rgba(255,255,255,0.45); }
.footer__bottom a:hover { color: var(--white); }

/* ───── PAGE HERO (inner pages) ───── */
.page-hero {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 52px;
  border-bottom: 3px solid var(--accent);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent, transparent 40px,
    rgba(255,255,255,0.015) 40px,
    rgba(255,255,255,0.015) 42px
  );
  pointer-events: none;
}
.page-hero__inner { position: relative; }
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 14px;
}
.page-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  line-height: 1.72;
}

/* ───── ABOUT: STORY ───── */
.story-section { padding: 80px 0; }
.story-section__inner {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 60px;
  align-items: start;
}
.story-section__text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.82;
  margin-bottom: 20px;
}
.story-section__text p:last-child { margin-bottom: 0; }

.nonprofit-badge {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.nonprofit-badge__icon {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.nonprofit-badge__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 12px;
}
.nonprofit-badge__text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.68; }

/* ───── ABOUT: TEAM ───── */
.team-section { padding: 80px 0; }
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-lg); }

.team-card__avatar {
  width: 60px; height: 60px;
  background: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}
.team-card__name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}
.team-card__role {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.team-card__bio { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ───── PROGRAMS ───── */
.programs-section { padding: 80px 0; }
.programs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.program-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.program-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.program-card__header {
  background: var(--dark);
  padding: 28px 28px 22px;
}
.program-card__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  margin-bottom: 10px;
}
.program-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
}
.program-card__body {
  padding: 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.program-card__desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.76;
  flex: 1;
}
.program-card__tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(200,16,46,0.07);
  padding: 5px 12px;
  border-radius: 100px;
  margin-top: 18px;
  align-self: flex-start;
}

/* ───── CONTACT ───── */
.contact-section { padding: 80px 0; }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 60px;
  align-items: start;
}
.contact-info { padding-top: 4px; }
.contact-info__heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 24px;
}
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info__item:first-of-type { padding-top: 0; }
.contact-info__item:last-of-type  { border-bottom: none; }

.ci-icon {
  width: 40px; height: 40px;
  background: rgba(200,16,46,0.07);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-icon svg { width: 18px; height: 18px; stroke: var(--accent); }

.ci-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.ci-value { font-size: 0.95rem; color: var(--text); }
.ci-value a { color: var(--accent); }

/* ───── CONTACT FORM ───── */
.contact-form {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-form__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--dark-2);
  margin-bottom: 7px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group textarea { height: 130px; resize: vertical; line-height: 1.6; }
.form-group--full { grid-column: span 2; }

.form-submit {
  width: 100%;
  padding: 14px 24px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
  margin-top: 4px;
}
.form-submit:hover { background: var(--accent-hover); }

/* ───── RESPONSIVE ───── */
@media (max-width: 900px) {
  .mission__inner { grid-template-columns: 1fr; gap: 40px; }
  .tiles__grid { grid-template-columns: 1fr 1fr; }
  .programs__grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .story-section__inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav { position: relative; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--dark);
    padding: 12px 20px 20px;
    gap: 2px;
    border-bottom: 3px solid var(--accent);
    box-shadow: var(--shadow-md);
  }
  .nav__links.open a { border-bottom: none; padding: 10px 14px; }

  .section { padding: 56px 0; }
  .hero { padding: 64px 0 52px; }
  .tiles__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; }
  .programs__grid { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .mission__stats { grid-template-columns: 1fr 1fr; }
  .stat-card:first-child { grid-column: span 2; }
  .form-row { grid-template-columns: 1fr; }
  .form-group--full { grid-column: span 1; }
}

@media (max-width: 480px) {
  .hero__cta { flex-direction: column; align-items: flex-start; }
  .contact-form { padding: 24px 20px; }
  .mission__stats { grid-template-columns: 1fr; }
  .stat-card:first-child { grid-column: span 1; }
}
