/* ============================================
   CRICHLOW KENNEDY FOUNDATION — STYLESHEET
   Clean & Modern | Purple + White
   ============================================ */

:root {
  --purple: #7B2D8B;
  --purple-dark: #5a1f68;
  --purple-light: #f5eef8;
  --white: #ffffff;
  --off-white: #fafafa;
  --dark: #1A1A2E;
  --gray: #6b7280;
  --gray-light: #e5e7eb;
  --text: #2d2d2d;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;

  --max-width: 1160px;
  --section-pad: 96px 24px;
  --radius: 4px;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

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

/* ============================================
   PLACEHOLDERS (swap out for real images)
   ============================================ */
.img-placeholder {
  background: var(--purple-light);
  border: 2px dashed var(--purple);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--purple);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
}
.img-placeholder small { display: block; opacity: 0.7; margin-top: 4px; font-size: 12px; }
.img-placeholder.tall  { height: 500px; }
.img-placeholder.medium { height: 260px; }
.img-placeholder.square { height: 280px; width: 100%; }
.img-placeholder.person { height: 320px; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
.btn-primary:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
}
.btn-outline {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}
.btn-outline:hover {
  background: var(--purple);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--purple);
  border-color: var(--white);
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

/* ============================================
   SECTION LABELS & HEADINGS
   ============================================ */
.section { padding: var(--section-pad); }
.section-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
}
.section-heading {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 48px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 44px; width: auto; }
.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.logo-placeholder {
  height: 44px;
  width: 44px;
  background: var(--purple);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}
.logo-placeholder.small {
  height: 36px;
  width: 36px;
  font-size: 13px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--purple);
}
.nav-donate {
  font-size: 13px;
  padding: 10px 20px;
  margin-left: 16px;
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--dark);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 72px);
  max-height: 780px;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 64px;
  background: var(--white);
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: var(--gray);
  font-style: italic;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image-block { overflow: hidden; }
.hero-image-block .img-placeholder.tall {
  height: 100%;
  border-radius: 0;
  border: none;
  border-left: 2px dashed var(--purple);
}
.hero-image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   MISSION STRIP
   ============================================ */
.mission-strip {
  background: var(--purple);
  padding: 40px 24px;
}
.mission-strip p {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
  font-size: 20px;
  line-height: 1.6;
}
.mission-strip strong { font-weight: 600; }

/* ============================================
   PILLARS
   ============================================ */
.pillars { background: var(--off-white); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.pillar-card {
  background: var(--white);
  padding: 40px 32px;
  border-top: 4px solid var(--purple);
}
.pillar-icon {
  font-size: 32px;
  margin-bottom: 20px;
}
.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}
.pillar-card p {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.65;
}

/* ============================================
   PHOTO GRID
   ============================================ */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--dark);
  padding: var(--section-pad);
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: var(--purple);
  padding: 80px 24px;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}
.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text p {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 17px;
}
.about-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--gray-light);
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: var(--gray);
  font-weight: 500;
}
.founders-block {
  background: var(--off-white);
  padding: var(--section-pad);
}
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 720px;
  margin: 0 auto;
}
.founder-card {
  text-align: center;
}
.founder-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--dark);
  margin-top: 20px;
  margin-bottom: 4px;
}
.founder-card p {
  font-size: 14px;
  color: var(--purple);
  font-weight: 500;
}

/* ============================================
   AWARDS PAGE
   ============================================ */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.award-card {
  border: 1px solid var(--gray-light);
  border-top: 4px solid var(--purple);
  padding: 32px 24px;
  text-align: center;
}
.award-card .award-year {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
}
.award-card .award-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}
.award-card .img-placeholder.person {
  margin: 0 auto 20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
}
.year-divider {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--purple);
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-light);
}

.award-badge {
  display: inline-block;
  background: var(--purple-light);
  color: var(--purple);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: 8px;
}

/* ============================================
   APPLY PAGE
   ============================================ */
.apply-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: start;
}
.requirements-list {
  list-style: none;
  margin: 0 0 40px;
}
.requirements-list li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 17px;
  color: var(--text);
  line-height: 1.5;
}
.requirements-list li::before {
  content: "✓";
  color: var(--purple);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.apply-sidebar {
  background: var(--purple-light);
  border-left: 4px solid var(--purple);
  padding: 36px 28px;
}
.apply-sidebar h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 20px;
}
.apply-sidebar p {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 12px;
}
.apply-sidebar .award-range {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--purple);
  margin: 20px 0 8px;
}

/* ============================================
   EVENTS PAGE
   ============================================ */
.events-intro {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
  font-size: 18px;
  color: var(--gray);
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.event-card {
  border: 1px solid var(--gray-light);
  overflow: hidden;
  border-radius: var(--radius);
}
.event-card-body {
  padding: 28px;
}
.event-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 8px;
}
.event-card-body p {
  font-size: 15px;
  color: var(--gray);
}
.event-tag {
  display: inline-block;
  background: var(--purple-light);
  color: var(--purple);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  padding: 64px 24px 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.7;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-contact p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.6;
}
.footer-contact a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 13px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; max-height: none; }
  .hero-inner { padding: 60px 32px; }
  .hero-image-block .img-placeholder.tall { height: 320px; border-left: none; border-top: 2px dashed var(--purple); }
  .pillars-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .about-stat-row { grid-template-columns: 1fr 1fr; }
  .founders-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .apply-layout { grid-template-columns: 1fr; gap: 40px; }
  .events-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--gray-light); padding: 24px; gap: 20px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .section-heading { font-size: 2rem; }
  .awards-grid { grid-template-columns: 1fr; }
  .about-stat-row { grid-template-columns: 1fr; }
  .hero-headline { font-size: 1.9rem; }
}
