/* Shared project page extras. Every /projects/<slug> uses this with the standard MV design;
   only the screenshots in "What it looks like" are product-specific. */
.proj-top .back{margin-bottom:var(--s5)}
.proj-top .p-main .acts .pill .arr{flex:none}
.proj-idea .statement{max-width:15em;margin-top:var(--s4)}
.proj-idea .statement .em{color:var(--mint)}
.proj-idea .ab-trio{margin-top:var(--s7)}

/* What it looks like: framed screenshots of the live product */
.proj-stage{position:relative;margin:0;padding:clamp(28px,4vw,56px) clamp(16px,3vw,48px) clamp(22px,3vw,36px);border:1px solid var(--line);border-radius:var(--r-xl);background:#0b0b0c;overflow:hidden}
.proj-cap{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 auto clamp(20px,3vw,32px);text-align:center;font-size:13.5px;color:var(--muted)}
.proj-cap::before,.proj-cap::after{content:"";width:36px;height:1px;background:var(--line-2);flex:none}
.proj-shots{display:flex;flex-direction:column;gap:clamp(20px,3vw,36px);align-items:center}
.proj-shot{display:block;width:100%;max-width:1000px}
.proj-shot img{display:block;width:100%;height:auto;border:1px solid rgba(255,255,255,.14);border-radius:14px;box-shadow:0 40px 80px rgba(0,0,0,.55)}
/* CLI terminal renders are wide (aligned tables). Keep type readable and scroll sideways on small screens. */
.proj-shot-term{max-width:1100px}
.proj-chaps{border-top:1px solid var(--line);padding-top:var(--s6)}
.proj-chaps .chap p{font-size:clamp(18px,1.5vw,21px);line-height:1.6;color:var(--ink-2);max-width:34em}
.proj-chaps .chap p+p{margin-top:var(--s3)}
@media (max-width:820px){
  .proj-cap::before,.proj-cap::after{display:none}
  .proj-shot{max-width:460px}
  .proj-shot img{border-radius:12px}
  .proj-shot-term{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .proj-shot-term img{width:var(--shot-w-m, 100%);max-width:none;height:auto}
}

/* Field notes on this project: latest three as the standard green note cards, plus a See all link */
.proj-notes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:var(--s3)}
@media (min-width:1000px){.proj-notes-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.proj-notes-all{margin-top:var(--s5)}
.proj-notes-all a{text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--tile-mint)}
