/* Shared portfolio shell: Home, About Me and the six case studies. */
.poc-page { --canvas: #f1f1ef; --page: min(1240px, calc(100% - 48px)); --content: min(1028px, calc(100% - 48px)); background: var(--canvas); }
.poc-page :is(p, h1, h2, h3, cite, .meta-item span, .neighbor-direction, .project-neighbor strong) { text-box-trim: trim-both; text-box-edge: cap alphabetic; }
.poc-page .site-header { top: 20px; height: 51px; padding: 20px; border: 0; background: rgba(241,241,239,.5); box-shadow: none; font-size: 16px; letter-spacing: .04em; }
.poc-page .brand { font-size: 16px; font-weight: 600; }
.poc-page .nav-placeholder { gap: 40px; }
.poc-page .nav-placeholder a { color: #333; }
.poc-page :is(a,button,summary):focus-visible { outline: 2px solid #8a0d22; outline-offset: 5px; }
.poc-page [id] { scroll-margin-top: 110px; }
.poc-footer { padding: 40px 0; color: white; background: #333; font-size: 16px; line-height: 1.2; }
.poc-footer-inner, .poc-footer-contact, .poc-contact-links, .poc-footer nav { display: flex; align-items: center; }
.poc-footer-inner { justify-content: space-between; gap: 32px; }
.poc-footer-contact { gap: 6px; }
.poc-footer-contact > p { color: #999; }
.poc-contact-links { gap: 32px; }
.poc-footer a { text-decoration: none; }
.poc-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.poc-contact-links a { display: flex; align-items: center; gap: 4px; font-weight: 600; }
.poc-footer nav { gap: 22px; }
.project-neighbors { border-top: 1px solid #ccc; padding: 60px 0; }
.project-neighbors-inner { display: flex; justify-content: space-between; gap: 30px; }
.project-neighbor { display: flex; align-items: center; gap: 24px; color: #333; text-decoration: none; }
.project-neighbor--next { margin-left: auto; text-align: right; }
.project-neighbor--previous { flex-direction: row-reverse; }
.project-neighbor > span { display: flex; flex-direction: column; gap: 12px; }
.neighbor-direction { color: #666; font-size: 16px; font-weight: 300; }
.project-neighbor strong { font-size: 22px; font-weight: 500; }
.project-neighbor img { width: 116px; height: 65px; object-fit: cover; border-radius: 12px; }
.project-neighbor:hover strong { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 900px) {
  .poc-footer-contact { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 620px) {
  .poc-page { --page: calc(100% - 40px); --content: calc(100% - 40px); }
  .poc-page .site-header, .poc-page .site-header.is-compact { top: 20px; width: var(--page); height: 51px; padding: 20px; gap: 16px; }
  .poc-page .nav-placeholder { gap: clamp(18px, 9vw, 40px); font-size: clamp(12px, 3.64vw, 16px); }
  .poc-footer-inner, .poc-footer-contact, .poc-contact-links { flex-direction: column; }
  .poc-footer-inner { gap: 40px; }
  .poc-footer-contact { gap: 26px; }
  .poc-contact-links { gap: 32px; }
  .poc-footer nav { gap: 52px; }
  .project-neighbors { padding: 20px 0; }
  .project-neighbor { flex-direction: column-reverse; align-items: flex-start; gap: 10px; }
  .project-neighbor--next { align-items: flex-end; }
  .project-neighbor strong { font-size: 16px; }
  .neighbor-direction { font-size: 14px; }
  /* Mobile roles derived from m-AboveDiamond, opt in before using elsewhere. */
  .poc-mobile-type { --mobile-h1: 46.56px; --mobile-h2: 18px; --mobile-h3: 16px; --mobile-body: 16px; --mobile-small: 14px; --mobile-caption: 12px; --mobile-body-leading: 22px; --mobile-small-leading: 20px; }
}
.poc-footer a { line-height: 16px; }
.poc-page .outcome-states :is(span,strong) { text-box-trim: trim-both; text-box-edge: cap alphabetic; }
.poc-footer .poc-contact-links > a:last-child, .poc-footer nav a { line-height: 11px; }
.poc-page .site-header.is-compact .brand-slash { margin-inline: .2em; }

.poc-email { display: flex; align-items: center; }
.copy-email { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-block: -8px; padding: 8px; border: 0; border-radius: 6px; color: inherit; background: transparent; cursor: pointer; }
.copy-email:hover { background: rgba(255,255,255,.12); }
.copy-email img { width: 16px; height: 16px; }
.poc-footer .copy-email:focus-visible { outline-color: white; outline-offset: 2px; }
.copy-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
