/* ============================================================
   home.css — styles specific to index.html
   ============================================================ */

/* ── INTRO ── */
.intro {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  margin-bottom: 32px;
  align-items: start;
}

.intro-headline {
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1.3;
  color: var(--ink);
  padding-top: 2px;
}

.intro-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bio-text {
  line-height: 1.7;
  font-weight: 400;
  color: var(--ink);
}

.bio-text a {
  color: var(--accent);
  text-decoration: underline;
}
.bio-text a:hover { opacity: 0.75; }

.contact-line {
  font-size: 13px;
  color: var(--mid);
}
.contact-line a {
  color: var(--accent);
  text-decoration: underline;
}
.contact-line a:hover { opacity: 0.75; }

/* ── WORK LIST ── */
.section-label {
  font-size: inherit;
  color: var(--mid);
  margin-bottom: 16px;
}

.work-list {
  list-style: none;
}

.work-item {
  display: grid;
  grid-template-columns: 1fr clamp(200px, 35%, 50%);
  gap: 16px;
  align-items: start;
  padding: 24px 0 0px;
  border-top: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
}

.work-list:after {
  content: '';
  display: block;
  border-bottom: 1px solid var(--border);
}

/* image — right column */
.work-image {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-height: 200px;
  align-self: start;
}

.work-image img {
  width: 100%;
  display: block;
}

/* text — left column */
.work-item-footer {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.work-item-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.work-title {
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: bold;
  color: var(--accent);
  text-decoration: underline;
}

.work-desc {
  color: var(--ink);
  line-height: 1.65;
}

.work-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .intro { grid-template-columns: 1fr; gap: 24px; }
  .work-item { grid-template-columns: 1fr; }
  .work-image { grid-column: 1; grid-row: auto; }
  .work-item-footer { grid-column: 1; }
}
