:root {
  --blue: #0075c9;
  --blue-dark: #005a9c;
  --navy: #1b3a8f;
  --cyan: #19b6e0;
  --green: #3fbf6a;
  --ink: #333333;
  --muted: #5f6b7a;
  --line: #dcdfe4;
  --alt: #f9f9f9;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

h1, h2, h3 {
  font-family: "Work Sans", "Open Sans", sans-serif;
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}
.brand img { height: 56px; width: auto; }
.site-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--blue); }

/* Hero: same treatment as the JDF site (#333 -> #0075c9 gradient) */
.hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(51, 51, 51, 0.92) 0%, rgba(0, 117, 201, 0.88) 100%),
    radial-gradient(circle at 85% 30%, rgba(25, 182, 224, 0.55), transparent 45%),
    radial-gradient(circle at 70% 85%, rgba(63, 191, 106, 0.45), transparent 40%),
    var(--navy);
  padding: 110px 0 120px;
}
.hero-text { max-width: 640px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.85;
  margin: 0 0 12px;
}
.hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); font-weight: 700; }
.lead { font-size: 1.15rem; font-weight: 300; margin: 0 0 32px; }
.btn {
  display: inline-block;
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { color: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,0.2); }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--alt); }
.intro { font-size: 1.2rem; }
.section-sub { color: var(--muted); margin: -0.2em 0 44px; }

/* Project cards (mirrors JDF hosted-project cards) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 28px 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08); transform: translateY(-2px); }
.card-logo {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.card-logo img { max-height: 84px; max-width: 85%; width: auto; object-fit: contain; }
.card-logo.placeholder span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  padding: 0 26px;
  border-radius: 12px;
  border: 2px dashed var(--line);
  font-family: "Work Sans", sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
}
.card h3 { margin-bottom: 0.5em; }
.card p { font-size: 0.95rem; margin: 0 0 20px; flex: 1; }
.learn-more {
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}
.learn-more::after { content: " \2192"; }
.more-note { color: var(--muted); margin: 40px 0 0; font-style: italic; }

/* Leadership */
.people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 320px));
  justify-content: center;
  gap: 40px;
}
.person { text-align: center; display: flex; flex-direction: column; }
.person .links { margin-top: auto; }
.avatar {
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Work Sans", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--cyan));
}
.person:nth-child(2) .avatar { background: linear-gradient(135deg, var(--cyan), var(--green)); }
.person:nth-child(3) .avatar { background: linear-gradient(135deg, var(--blue), var(--navy)); }
img.avatar { display: block; object-fit: cover; background: var(--line); }
.avatar-pixel { image-rendering: pixelated; }
.person h3 { margin-bottom: 0.2em; }
.aka { font-weight: 500; color: var(--muted); }
.role { color: var(--muted); margin: 0; font-size: 0.95rem; }
.bio { font-size: 0.95rem; margin: 14px 0 12px; }
.links { margin: 0; display: flex; justify-content: center; gap: 18px; }
.links a { font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.links a::after { content: " \2197"; }

/* Contact */
.contact { background: var(--alt); border-top: 1px solid var(--line); }
.contact p { margin: 0 0 28px; }
.channel {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  background: #e8eef6;
  color: var(--navy);
  padding: 2px 6px;
  border-radius: 6px;
  overflow-wrap: anywhere;
}
.contact .support { margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.btn-solid { background: var(--blue); color: var(--white); }
.btn-solid:hover { background: var(--blue-dark); color: var(--white); }

/* JDF band */
.band + .band, .contact + .band { background: var(--white); }
.band { background: var(--alt); border-top: 1px solid var(--line); }
.band-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.band h2 { font-size: 1.6rem; }
.band p { margin: 0; }
.band-logo img { max-width: 320px; margin-left: auto; }

/* Footer */
.site-footer {
  background: #222;
  color: #c9ced6;
  font-size: 0.85rem;
  padding: 32px 0;
  text-align: center;
}
.site-footer p { margin: 4px 0; }
.site-footer a { color: #ffffff; }

/* Responsive */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .header-inner { flex-direction: column; padding: 12px 0; min-height: 0; gap: 8px; }
  .brand img { height: 48px; }
  .site-nav { gap: 18px; justify-content: center; }
  .hero { padding: 72px 0 80px; }
  .section { padding: 56px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; gap: 32px; }
  .band-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .band-logo img { margin: 0 auto; max-width: 260px; }
  .site-header { position: static; }
}
