/* =========================================================
   CONCISE SECTIONS — hero CTAs, quick facts, project cards
   Loads last.
   ========================================================= */

/* ---------- Hero ---------- */
.hero__copy{ min-width:0; }
.hero__lead{
  margin:clamp(18px,3vh,28px) 0 0; max-width:52ch;
  font-size:clamp(16px,1.35vw,19px); line-height:1.55; color:var(--ink-70);
}
.hero__cta{ display:flex; flex-wrap:wrap; gap:12px; margin-top:clamp(22px,3.5vh,32px); }
.hero__base{ grid-template-columns:minmax(0,1fr) auto !important; }
.hero__base .label{ color:var(--ink-70); }
@media (min-width:821px){
  .hero__title{ font-size:clamp(3rem,6.2vw,7.6rem); }
}
@media (min-width:821px) and (max-width:1100px){
  .hero__title{ font-size:clamp(2.6rem,5.8vw,4.6rem); }
}

/* ---------- About: short intro + quick facts ---------- */
.about__col p{ font-size:clamp(17px,1.4vw,20px); line-height:1.6; color:var(--ink); }
.facts{ margin:0; display:grid; gap:0; border-top:1px solid var(--line-2); }
.facts div{ display:grid; grid-template-columns:110px minmax(0,1fr); gap:12px; padding:14px 0; border-bottom:1px solid var(--line); }
.facts dt{ font-family:var(--mono); font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); padding-top:2px; }
.facts dd{ margin:0; font-weight:600; font-size:15.5px; line-height:1.4; }
.about{ padding-bottom:0; }

/* ---------- Stats: 3 across ---------- */
.stats{ padding-block:clamp(56px,9vh,104px); }
.stats__grid--3{ grid-template-columns:repeat(3,1fr); }
.stats__grid--3 .stat, .stats__grid--3 .stat + .stat{ padding:28px 24px 8px; border-right:1px solid var(--line); border-top:0; }
.stats__grid--3 .stat:first-child{ padding-left:0; }
.stats__grid--3 .stat:last-child{ border-right:0; }

/* ---------- Experience: tighter ---------- */
.xp{ padding-top:clamp(40px,6vh,72px); }
.xp__pts li{ margin-bottom:6px; }

/* ---------- Project cards ---------- */
.pgrid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.pcard{
  display:flex; flex-direction:column; border-radius:22px; overflow:hidden;
  background:var(--paper); border:1px solid var(--line-2);
  transition:transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.pcard:hover{ transform:translateY(-6px); border-color:rgba(124,58,237,.45); box-shadow:0 30px 60px -34px rgba(76,29,149,.55); }
.pcard .proj__viz{ min-height:150px; border-radius:0; padding:18px; }
.pcard .viz-bars{ padding-bottom:22px; }
.pcard .viz-bars i{ max-height:100px; animation:none; }
.pcard .viz-frames i{ width:14%; }
.pcard .viz-grid{ grid-template-columns:repeat(4,1fr); align-content:center; }
.pcard__body{ display:flex; flex-direction:column; gap:8px; padding:20px 22px 22px; flex:1; }
.pcard__ctx{ font-family:var(--mono); font-size:11.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--violet); }
.pcard__t{ margin:0; font-size:clamp(1.2rem,1.6vw,1.45rem); letter-spacing:-.02em; line-height:1.2; }
.pcard__d{ margin:0 0 6px; color:var(--ink-70); font-size:15px; line-height:1.5; }
.pcard .tags{ margin-top:auto; }

/* ---------- Skills: 4 compact groups ---------- */
.skills{ padding-top:var(--sec); }
.skills__grid--4{ grid-template-columns:repeat(4,1fr); gap:14px; }
.skills__grid--4 .skill{ padding:22px; }
.skills__grid--4 .skill h3{ font-size:17px; margin-bottom:14px; }
.skills__grid--4 .chips span{ font-size:13px; padding:6px 10px; }

/* ---------- Education: compact ---------- */
.edu__card h3{ font-size:clamp(1.3rem,2vw,1.8rem); }
.edu__card > p:last-child{ margin-bottom:0; }

/* ---------- Contact: simple ---------- */
.contact__title{ font-size:clamp(3rem,9vw,8rem); }
.contact__grid--simple{ display:flex; flex-wrap:wrap; align-items:center; gap:16px 24px; padding-bottom:clamp(56px,9vh,104px); }
.contact__grid--simple .contact__mail{ width:auto; max-width:none; flex:0 1 auto; }
.contact__grid--simple .contact__links{ margin:0; }
.contact__links a.is-primary{ background:var(--violet); border-color:var(--violet); color:#fff; }
.contact__links a.is-primary:hover{ background:var(--on-night); color:var(--night); }
.foot__in{ align-items:center; }
.foot__in a:hover{ color:var(--violet-l); }

/* ---------- Responsive ---------- */
@media (max-width:1100px){
  .pgrid{ grid-template-columns:repeat(2,1fr); }
  .skills__grid--4{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:1024px){
  .about__col--l{ grid-row:1; }
  .about__col--r{ grid-row:2; }
}
@media (max-width:820px){
  .hero__copy{ width:100%; }
  .stats__grid--3 .stat, .stats__grid--3 .stat + .stat{ padding:22px 14px 6px; }
  .stats__grid--3 .stat:first-child{ padding-left:0; }
}
@media (max-width:560px){
  .hero__cta .btn{ flex:1 1 auto; justify-content:center; }
  .hero__base{ grid-template-columns:1fr !important; }
  .facts div{ grid-template-columns:96px minmax(0,1fr); }
  /* the card already shows in the hero; skip the repeat on phones */
  .about__slot{ display:none; }
  .about__grid{ row-gap:24px; }
  .about__col--l, .about__col--r{ grid-row:auto; }
  .stats__grid--3{ grid-template-columns:repeat(3,1fr); }
  .stats__grid--3 .stat__num{ font-size:clamp(1.9rem,9vw,2.6rem); }
  .stats__grid--3 .stat__label{ font-size:12.5px; }
  .stats__grid--3 .stat, .stats__grid--3 .stat + .stat{ padding:18px 10px 4px; border-top:0; }
  .stats__grid--3 .stat:first-child{ padding-left:0; }
  .pgrid{ grid-template-columns:1fr; }
  .skills__grid--4{ grid-template-columns:1fr; }
  .contact__grid--simple .contact__mail{ width:100%; }
}
@media (max-width:340px){
  .stats__grid--3{ grid-template-columns:1fr; }
  .stats__grid--3 .stat{ border-right:0 !important; padding-left:0 !important; }
  .stats__grid--3 .stat + .stat{ border-top:1px solid var(--line) !important; }
}
