/*
  about_me ("Three chapters.")
  -----------------------------
  Three rows: a big number, a short title, and a paragraph.
*/
.chapter {
  display: grid;
  grid-template-columns: 120px 200px 1fr;
  gap: 24px;
  align-items: start;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.chapter:last-child {
  border-bottom: none;
}
.chapter-num {
  font-family: var(--font-serif);
  font-size: 52px;
  color: var(--terracotta);
  line-height: 1;
}
.chapter h3 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
}
.chapter p {
  color: var(--ink-soft);
  font-size: 16.5px;
  max-width: 640px;
  line-height: 1.7;
}


/*
  PROJECTS ("Numbers, made legible.")
  ------------------------------------
  Each project is: a meta line, a title + one-line pitch, a stat row,
  a numbered list of what was done, tags, a GitHub button, and a media
  column with a chart + two decorative thumbnails.
*/
.project {
  padding: 90px 0;
  border-bottom: 1px solid var(--line);
}
.project:last-child {
  border-bottom: none;
}

.project-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.project-meta .rule {
  width: 26px;
  height: 1px;
  background: var(--ink-soft);
}

.project-top {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: start;
}

.project h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
  margin-bottom: 18px;
}
.project .dek {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--terracotta);
  font-size: 19px;
  margin-bottom: 26px;
  max-width: 460px;
}

/* Row of four quick stats, e.g. "1,00,000+ Records Processed" */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 26px;
}
.stat {
  border-top: 1px solid var(--ink);
  padding-top: 12px;
}
.stat .num {
  font-family: var(--font-serif);
  font-size: 26px;
}
.stat .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* Numbered list of what was actually done on the project */
.steps {
  list-style: none;
  margin-bottom: 26px;
}
.steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  padding: 14px 0;
}
.steps .step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--terracotta);
  padding-top: 3px;
}
.steps p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

/* Right-hand column: the chart card(s) plus two thumbnail tiles */
.project-media {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.media-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.thumb {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 0.95;
}
.thumb .thumb-label {
  position: absolute;
  bottom: 12px;
  left: 14px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* Decorative thumbnail backgrounds — swap these for real project
   screenshots whenever you have them; just replace the background
   with an <img> or a background-image url. */
.thumb-network {
  background:
    radial-gradient(circle at 30% 70%, rgba(232, 118, 63, 0.55), transparent 40%),
    radial-gradient(circle at 70% 25%, rgba(255, 178, 94, 0.5), transparent 45%),
    #150c08;
}
.thumb-gradient {
  background: linear-gradient(135deg, #ededed 0%, #e8763f 35%, #c1553a 70%, #8b8b92 100%);
}
.thumb-spotify {
  background: radial-gradient(circle at 50% 68%, #1db954 0 15%, transparent 16%), #c9bea9;
}
.thumb-dark {
  background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.06), transparent 40%), #0b0b0b;
}
