/*
  LUMA Initiative — Theme
  Colors: primary #19345b, primary-2 #5795c5, accent #F3C46C
*/

:root {
  --color-primary: #19345b;
  --color-primary-2: #5795c5;
  --color-accent: #F3C46C;
  --color-text: #0f1b2d;
  --color-text-muted: #4a5568;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f8fb;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 6px 18px rgba(0,0,0,0.08);
}

/* Reset */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--color-primary-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  background: var(--color-accent);
  color: #000;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #e6eaf0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.2px;
}
.brand-name { font-size: 16px; }
.logo { display: block; height: 36px; width: auto; }
.logo-icon { height: 36px; width: auto; display: block; }
.logo-name { height: 30px; width: auto; display: block; margin-left: 6px; }
.brand { gap: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,1,1); white-space: nowrap; border: 0; }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a { color: var(--color-primary); font-weight: 600; padding: 10px 8px; border-radius: 8px; }
.primary-nav a:hover { background: rgba(25,52,91,0.06); text-decoration: none; }
.primary-nav a[aria-current="page"] { background: rgba(25,52,91,0.08); }
.primary-nav a.cta {
  display: inline-block;
  background: var(--color-accent);
  color: #1a1a1a;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
}
.primary-nav a.cta:hover { text-decoration: none; filter: brightness(0.95); }

.nav-toggle {
  display: none;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 8px;
  width: 44px;
  height: 36px;
  align-items: center;
  justify-content: center;
}
.nav-toggle .bar { display: block; width: 20px; height: 2px; background: var(--color-primary); margin: 3px auto; }

/* Hero */
.hero { background: rgba(87,149,197,0.12); padding: 48px 0 64px; }
.eyebrow { color: var(--color-primary-2); font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; }
.hero h1 { color: var(--color-primary); font-size: clamp(28px, 4vw, 44px); line-height: 1.15; margin: 10px 0 12px; }
.lead { color: var(--color-text-muted); font-size: clamp(16px, 2.2vw, 18px); max-width: 800px; }
.hero-ctas { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

/* Color accents */
.section.alt { background: #f7fafe; }
.alt-blue { background: rgba(87,149,197,0.10); }

/* Dark sections - white text on colored background */
.dark-section { background: #0c112a; color: #fff; }
.dark-section h2, .dark-section h3, .dark-section .big { color: var(--color-accent); }
.dark-section h2::after { background: var(--color-accent); }
.dark-section p { color: #fff; }
.dark-section .meta { color: rgba(255,255,255,0.85); }
.dark-section .card { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: #fff; }
.dark-section .card h3 { color: var(--color-accent); }
.dark-section .card p { color: #fff; }
.dark-section .list-dash li { color: #fff; }
.dark-section .list-dash li::before { content: "•"; color: var(--color-accent); font-size: 20px; line-height: 1; left: 2px; }
.dark-section .btn.primary { background: var(--color-accent); color: #1a1a1a; }
.dark-section .btn.primary:hover { filter: brightness(0.95); }
.card-accent { border-top-color: var(--color-accent); box-shadow: var(--shadow-sm); }
.person .role { color: var(--color-primary-2); font-weight: 700; }
.people.rich .person { border-top: 4px solid var(--color-primary-2); }
.people.rich .person .avatar { width: 96px; height: 96px; border: 2px solid #e6eaf0; }
.team-hero { border-left: 4px solid var(--color-primary-2); background: #fff; }

.btn { border-radius: 10px; padding: 12px 16px; font-weight: 700; letter-spacing: 0.2px; display: inline-block; }
.btn.primary { background: var(--color-primary); color: #fff; }
.btn.primary:hover { filter: brightness(1.05); text-decoration: none; }
.btn.ghost { background: transparent; border: 2px solid var(--color-primary); color: var(--color-primary); }
.btn.ghost:hover { background: var(--color-primary); color: #fff; text-decoration: none; }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: var(--color-bg-alt); }
.section h2 { color: var(--color-primary); font-size: clamp(22px, 3vw, 32px); margin: 0 0 16px; position: relative; padding-bottom: 8px; }
.section h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; background: var(--color-accent); border-radius: 2px; }
.section .big { font-size: 18px; color: var(--color-text); max-width: 900px; }

/* Override for dark sections - must come after base section styles */
.section.dark-section h2 { color: var(--color-accent); }
.section.dark-section .big { color: #fff; }
.meta { color: var(--color-text-muted); font-size: 14px; margin: 6px 0 18px; }

.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.hero-inner.solo { grid-template-columns: 1fr; }
.hero-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.about-image, .impact-image { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.grid.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* What you'll learn - feature cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: start;
  gap: 14px;
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #dbe3ee; }
.feature-icon { width: 64px; height: 64px; border-radius: 12px; background: var(--color-primary-2); color: #fff; display: inline-grid; place-items: center; font-weight: 900; }
.feature-icon .icon { width: 28px; height: 28px; display: block; }
.feature-body h3 { margin: 0 0 6px; color: var(--color-primary); }
.feature-body p { margin: 0; color: var(--color-text); }

.card {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #dbe3ee; }
.card-accent { border-top: 4px solid var(--color-accent); }
.tight { margin-top: 0; }
.muted { color: var(--color-text-muted); }

.list-check { padding-left: 0; list-style: none; }
.list-check li { position: relative; padding-left: 26px; margin: 10px 0; }
.list-check li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--color-primary-2); font-weight: 900; }

.list-dash { padding-left: 0; list-style: none; }
.list-dash li { position: relative; padding-left: 18px; margin: 8px 0; }
.list-dash li::before { content: "—"; position: absolute; left: 0; color: var(--color-primary); }

.curriculum-list {
  columns: 2;
  column-gap: 28px;
  padding-left: 0;
  list-style: none;
}
.curriculum-list li { break-inside: avoid; background: #fff; border: 1px solid #e6eaf0; border-left: 4px solid var(--color-primary-2); border-radius: 10px; padding: 10px 12px; margin: 8px 0; }

/* Curriculum steps */
.curriculum-steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  padding-left: 0;
  list-style: none;
}
.curriculum-steps li {
  position: relative;
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: var(--radius);
  padding: 14px 14px 14px 54px;
  box-shadow: var(--shadow-sm);
}
.curriculum-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--color-accent);
  color: #1a1a1a;
  font-weight: 900;
  display: inline-grid;
  place-items: center;
}

.grid.people {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.person { background: #fff; border: 1px solid #dbe3ee; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); text-align: center; display: flex; flex-direction: column; align-items: center; }
.person .avatar { width: 72px; height: 72px; border-radius: 999px; background: var(--color-accent); display: inline-grid; place-items: center; font-weight: 800; color: #1a1a1a; margin: 0 auto 10px; flex-shrink: 0; }
.person img.avatar { object-fit: cover; background: #fff; }
.person h2, .person h3 { margin-top: 0; margin-bottom: 6px; font-size: 20px; }
.person .role { color: var(--color-primary-2); margin-top: 0; margin-bottom: 10px; font-weight: 700; font-size: 15px; }
.person p:last-child { margin-bottom: 0; }

/* Founders grid - bigger cards */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.person.founder { padding: 32px; }
.person.founder .avatar { width: 120px; height: 120px; margin-bottom: 16px; border: 3px solid #e6eaf0; }
.person.founder h2 { font-size: 26px; margin-bottom: 8px; }
.person.founder .role { font-size: 18px; margin-bottom: 14px; }
.person.founder p { font-size: 16px; line-height: 1.65; }

.team-header { margin-bottom: 32px; }
.team-header h1 { margin-bottom: 10px; }
.team-header .lead { color: var(--color-text); }

.sponsor { margin-top: 20px; }
.tag { background: var(--color-accent); color: #1a1a1a; padding: 8px 12px; border-radius: 999px; font-weight: 700; display: inline-block; }

/* Professional badges and notes */
.sponsor-note { color: var(--color-text-muted); font-size: 14px; font-style: italic; margin-bottom: 8px; margin-top: 0; }
.sponsor-badge { display: inline-block; padding: 6px 12px; background: rgba(87,149,197,0.1); border: 1px solid var(--color-primary-2); border-radius: 6px; color: var(--color-primary); font-size: 14px; font-weight: 600; }
.curriculum-note { color: var(--color-primary-2); font-weight: 600; font-style: italic; margin-bottom: 8px; }

.list-check.colored li::before { color: var(--color-accent); }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.shot { margin: 0; background: #fff; border: 1px solid #e6eaf0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.shot img { width: 100%; height: 220px; object-fit: cover; display: block; }
.shot figcaption { padding: 10px 12px; color: var(--color-text-muted); font-size: 14px; }

.email { font-weight: 700; }

/* Footer */
.site-footer { background: var(--color-primary); color: #e8eef7; padding: 28px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.site-footer a { color: #e8eef7; }
.small { font-size: 14px; }

/* Responsive Form */
.responsive-form {
  width: 100%;
  max-width: 800px;
  height: 1200px;
  display: block;
  margin: 24px auto;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.pdf-embed {
  width: 100%;
  max-width: 1100px;
  height: 1200px;
  display: block;
  margin: 24px auto;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

/* Responsive */
@media (max-width: 980px) {
  .two-col { grid-template-columns: 1fr; }
  .grid.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founders-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .header-inner { height: auto; padding: 12px 0; align-items: flex-start; }
  .nav-toggle { display: inline-flex; }
  .primary-nav { width: 100%; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px 0 0; display: none; }
  .primary-nav.open ul { display: flex; }
  .grid.cards { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .founders-grid { grid-template-columns: 1fr; }
  .curriculum-list { columns: 1; }
  .curriculum-steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  
  /* Mobile-friendly form */
  .responsive-form {
    height: 1100px;
    border-radius: 8px;
    margin: 20px auto;
  }

  .pdf-embed {
    height: 900px;
    border-radius: 8px;
  }
}

