/* ==========================================================================
   sections.css — About, Experience, Projects, Contact.
   Built on a shared .card system so the look stays consistent and DRY.
   ========================================================================== */

/* ---- Section heading ---------------------------------------------------- */
.section-title {
  font-weight: 500; font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -.02em; margin-bottom: .6rem;
}
.section-sub {
  font-family: var(--font-mono); font-size: 13px; color: var(--text-dim);
  margin-bottom: 2.5rem;
}

/* ---- Shared card system ------------------------------------------------- */
/* A grid of cards separated by 1px gaps that read as hairlines.            */
.card-grid {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card { position: relative; background: var(--bg-1); padding: 1.6rem; transition: background .3s var(--ease); }
.card:hover { background: var(--bg-2); }
/* Corner tick — the recurring detail motif across the whole site. */
.card::after {
  content: ""; position: absolute; top: 10px; right: 12px; width: 9px; height: 9px;
  border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); opacity: .5;
}
.card h3 { font-weight: 500; font-size: 1.2rem; margin-bottom: .5rem; }
.card p  { color: var(--text-muted); font-size: .94rem; line-height: 1.65; margin-bottom: .8rem; }
.card .tags { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }

/* Per-card brand accent. Default = site accent; override with
   style="--brand: var(--violet)" on any card (e.g. Leidos). */
.brand { color: var(--brand, var(--accent)); }

/* ---- About -------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; }
.about-photo { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.about-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.about-body p { color: var(--text-soft); line-height: 1.8; font-size: 1.02rem; margin-bottom: 1.1rem; }
.about-path {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 1.4rem;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-dim);
}
.chip { padding: 5px 12px; border: 1px solid var(--line); border-radius: 100px; color: var(--text-soft); }
.about-path .arrow { color: var(--accent); }

/* ---- Experience (cards carry a meta line + bullets) --------------------- */
.exp-grid { display: grid; gap: 16px; }
.exp-card { position: relative; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem 1.7rem; transition: border-color .3s var(--ease); }
.exp-card:hover { border-color: var(--line-strong); }
.exp-head h3 { font-weight: 500; font-size: 1.15rem; margin-bottom: .35rem; }
.exp-meta { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-dim); margin-bottom: .2rem; }
.exp-card ul { list-style: none; margin-top: .9rem; display: grid; gap: .55rem; }
.exp-card li { position: relative; padding-left: 18px; color: var(--text-muted); font-size: .94rem; line-height: 1.6; }
.exp-card li::before { content: "▸"; position: absolute; left: 0; color: var(--accent); }

/* ---- Projects: link row in each card ------------------------------------ */
.p-links { display: flex; gap: 12px; margin-bottom: 1rem; }
.p-links a { display: inline-flex; color: var(--text-soft); transition: color .25s var(--ease); }
.p-links a:hover { color: var(--accent); }
.p-links .icon { width: 18px; height: 18px; }
.p-links img   { width: 18px; height: 18px; }   /* Gaia logo stays a raster/SVG image */
.projects-foot { margin-top: 2rem; }

/* ---- Contact ------------------------------------------------------------ */
.contact { text-align: center; }
.contact .section-title { margin-bottom: .6rem; }
.contact-actions { display: flex; gap: 14px; justify-content: center; margin-top: 1.6rem; flex-wrap: wrap; }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 320px; }
}
