/* Jenny Investment Club — site styles
   Palette and type pulled from the club's slide template and pitch deck. */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --bg: #141412;
  --bg-alt: #1a1a17;
  --panel: #211f1b;
  --card: #232019;
  --line: #3a362c;
  --gold: #e3b23c;
  --gold-dim: #a9821f;
  --text: #f3f1ea;
  --muted: #a7a294;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Poppins', Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; }

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 12px;
  background: var(--bg);
}
header .club-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
header .club-name img {
  height: 48px;
  width: 48px;
  border-radius: 6px;
  display: block;
}
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 0;
  padding: 0;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
nav a:hover, nav a:focus {
  color: var(--text);
}
nav a.active {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
}

main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 64px 0; }
section + section { border-top: 1px solid var(--line); }

h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin: 0 0 10px 0;
  line-height: 1.15;
}
h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0 0 28px 0;
  padding-left: 16px;
  border-left: 4px solid var(--gold);
}
h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 12px 0;
}
p { color: var(--text); }
.tagline {
  color: var(--muted);
  margin-top: 0;
  font-size: 1.05rem;
  max-width: 60ch;
}

/* Hero */
#hero { padding-top: 56px; }
.hero-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 28px 0 0 0;
  border: 1px solid var(--line);
  display: block;
}
.photo-placeholder {
  aspect-ratio: 21 / 9;
  width: 100%;
  margin: 24px 0 0 0;
  border: 2px dashed var(--line);
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

/* Stats */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 8px 0 32px 0;
}
.stat-box {
  border-top: 3px solid var(--gold);
  background: var(--card);
  padding: 22px 20px;
  min-width: 160px;
  flex: 1 1 160px;
}
.stat-box .value {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1.1;
}
.stat-box .label {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 6px;
  display: block;
}

.field { margin: 6px 0; color: var(--text); }
.field .label { font-weight: 600; color: var(--muted); margin-right: 4px; }

/* Purpose list */
ol.purposes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
ol.purposes li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
ol.purposes .num {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 700;
  flex: 0 0 auto;
  min-width: 32px;
}
ol.purposes .purpose-body h3 { margin-bottom: 4px; }
ol.purposes .purpose-body p { color: var(--muted); margin: 0; max-width: 62ch; }

/* Cards (board / trustees) */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
}
.card {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 20px;
  width: 210px;
  text-align: center;
}
.card img.headshot {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px auto;
  display: block;
  border: 2px solid var(--gold-dim);
}
.card .name {
  font-weight: 600;
  font-size: 1rem;
}
.card .role {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  margin-top: 4px;
}

/* Tables */
table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 16px;
  background: var(--card);
}
th, td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
}
th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
  background: var(--panel);
}
td.num, th.num { text-align: right; }

/* Quote block */
.quote-block {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 32px;
  margin-top: 8px;
}
.quote-block .mark { color: var(--gold); font-family: var(--serif); font-size: 2rem; line-height: 1; }
.quote-block p.quote-text {
  font-size: 1.1rem;
  margin: 8px 0 20px 0;
  max-width: 60ch;
}
.quote-block .attribution {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.quote-block .attribution .who { color: var(--gold); font-weight: 600; font-size: 0.9rem; }
.quote-block .attribution .role { color: var(--muted); font-size: 0.9rem; }

/* Plain lists */
ul.plain { padding-left: 20px; color: var(--text); }
ul.plain li { margin-bottom: 6px; }

/* Two-path layout (trustees) */
.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.path-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 24px;
}
.path-card ul { margin: 12px 0 0 0; padding-left: 18px; color: var(--muted); }
.path-card ul li { margin-bottom: 8px; }

/* Meeting steps */
.step-list { list-style: none; margin: 0; padding: 0; }
.step-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.step-list li:last-child { border-bottom: none; }
.step-list .step-num {
  font-family: var(--serif);
  color: var(--gold);
  font-weight: 700;
  min-width: 28px;
}
.step-list .step-title { font-weight: 600; margin-bottom: 2px; }
.step-list p { color: var(--muted); margin: 0; }

/* Note callouts */
.note {
  background: var(--panel);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 20px;
}

@media (max-width: 640px) {
  .path-grid { grid-template-columns: 1fr; }
}

/* Footer */
footer {
  padding: 32px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}
footer .socials { margin-bottom: 12px; }
footer .socials a {
  color: var(--muted);
  margin: 0 8px;
  text-decoration: none;
}
footer .socials a:hover { color: var(--gold); }
