/* columns & lists used above */
.cols { display:flex; gap:2rem; flex-wrap:wrap; }
.cols > div { flex:1 1 280px; }
.clean { list-style:none; padding-left:0; margin:.5rem 0 0; }
.clean li { margin:.35rem 0; padding-left:1.1rem; position:relative; }
.clean li::before { content:"•"; position:absolute; left:0; color:#1f4e79; }

.mini-graph { margin-top:1rem; }
.mini-graph-caption { text-align:center; font-size:.85rem; color:#555; margin-top:.25rem; }
.muted { color:#555; font-size:.9rem; }

/* footer & links */
.footer {
  background:#f3f6fa;
  color:#334155;
  text-align:center;
  padding:28px 16px;
  border-top:1px  #e5e7eb;
  font-size:.95rem;
  border-radius: 8px;
}

.contact-links {
  margin-top:.6rem;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:.8rem;
}

.contact-links a {
  display:inline-block;
  padding:6px 12px;
  background:#1f4e79;
  color:#fff;
  text-decoration:none;
  border-radius:6px;
  white-space:nowrap; /* stops mid-word wrapping */
  font-size:.9rem;
}

.contact-links a:hover {
  background:#173d61;
}



body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9fb;
  color: #333;
  line-height: 1.5;
}
header {
  background: linear-gradient(135deg, #f0f4f9, #dce6f2);
  color: #1f4e79;
  text-align: center;
  padding: 2rem 1rem;
}
header h1 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: bold;
  color: #1f365e;
}
header p {
  margin-top: 0.8rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333;
}

section {
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: auto;
}
.transition {
  font-style: italic;
  margin: 2rem 0 1rem;
  color: #555;
}
.project {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.project h2 {
  margin-top: 0;
  color: #1f4e79;
}
.charts {
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* ensures equal vertical stretch */
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.chart {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* pushes legend down */
  text-align: center;
}
.chart h4 { margin-bottom: .5rem; }
.chart svg { margin: auto; margin-bottom: 1.5rem; margin-top: 0.5rem;}
.chart .legend, .chart .roi-legend { margin-top: auto; } /* pins legend at bottom */

svg {
  max-width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  header h1 {
    font-size: 1.3rem;
  }
  .project h2 {
    font-size: 1.1rem;
  }
}
.photo {
  margin-top: 16px;
  text-align: center;
}
.photo img {
  width: 100%;
  max-width: 340px; /* cap size on big screens */
  height: auto; /* keep aspect ratio */
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.legend {

  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  font-size: .85rem;
  margin-top: .5rem;
}
.legend span {
  display: flex;
  align-items: center;
  gap: .3rem;
}
.legend i {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  display: inline-block;
}
.roi-legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: .5rem;
  font-size: .85rem;
}
.roi-legend span {
  display: flex;
  align-items: center;
  gap: .3rem;
}
.roi-legend i {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  display: inline-block;
}
.roi-narration {
  margin-top: 1rem;
  font-size: .9rem;
  line-height: 1.5;
  text-align: left;
}
.roi-narration .highlight {
  color:#1f4e79;   /* same palette as your deck */
  font-weight:600; /* semi-bold, not screaming */
}


.roi-narration strong {
  color: #1f365e;
}
