/* Sample Market-Ready Portfolio dialog, copied from pathways-launch-v2.css so the homepage can open it in place (2026-10-19). */
.pl2-portfolio { background: var(--paper); padding: 120px 0; }
.pl2-portfolio { overflow-x: clip; }
.pl2-portfolio-h2 {
  font-family: 'Alexandria', sans-serif;
  font-size: clamp(32px, 4.3vw, 56px);
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--ink);
  max-width: 1000px;
  margin-bottom: 20px;
}
.pl2-portfolio-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--gray-500);
  max-width: 680px;
  margin-bottom: 56px;
}
.pl2-portfolio-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}
.pl2-portfolio-block {
  border-top: 1px solid var(--gray-150);
  padding-top: 20px;
}
.pl2-portfolio-block-first { border-top-color: var(--ink); }
.pl2-portfolio-block h3 {
  font-family: 'Alexandria', sans-serif;
  font-size: 19px; font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--ink);
}
.pl2-portfolio-block p {
  font-size: 14.5px; font-weight: 300; line-height: 1.55;
  color: var(--gray-500);
  margin-top: 10px;
}
.pl2-portfolio-panel { margin: 0 0 64px; }
.pl2-portfolio-panel .pf-panel {
  max-width: none;
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--gray-150);
  box-shadow: 0 16px 40px -16px rgba(15, 17, 23, .2);
}
.pl2-portfolio-closing {
  border-top: 1px solid var(--gray-150);
  padding-top: 24px;
  max-width: 900px;
}
.pl2-portfolio-closing p {
  font-size: clamp(18px, 1.6vw, 22px); font-weight: 300; line-height: 1.5;
  color: var(--ink);
}
@media (max-width: 900px) {
  .pl2-portfolio-blocks { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .pl2-portfolio { padding: 88px 0; }
}
.pl2-modal {
  margin: auto; 
  inset: 0;
  width: min(1080px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 1px solid var(--gray-150);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 60px -20px rgba(15, 17, 23, .35);
  /* Keep scroll on the body, not the dialog — otherwise the dialog scrollbar shows. */
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.pl2-modal[open] { display: flex; flex-direction: column; }
.pl2-modal::-webkit-scrollbar { display: none; }
/* Hide the page scrollbar while a sample modal is open (it sat beside the dialog). */
html:has(.pl2-modal[open]),
body:has(.pl2-modal[open]) {
  overflow: hidden;
  scrollbar-width: none;
}
html:has(.pl2-modal[open])::-webkit-scrollbar,
body:has(.pl2-modal[open])::-webkit-scrollbar { display: none; }
.pl2-modal::backdrop { background: rgba(15, 17, 23, .72); }
.pl2-modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-150);
  flex: 0 0 auto;
}
.pl2-modal-title { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.pl2-modal-close {
  width: 40px; height: 40px; border-radius: 50%;
  
  flex: 0 0 40px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0;
  border: 1px solid var(--gray-150); background: var(--paper);
  font-size: 24px; line-height: 1; color: var(--ink); cursor: pointer;
}
.pl2-modal-close:hover { background: var(--cyan-t); }
.pl2-modal-nav {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  padding: 0 24px 24px;
}
.pl2-portfolio-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; padding: 0; border: none; background: none; cursor: pointer;
  font-family: 'Alexandria', sans-serif; font-size: 14px; font-weight: 600;
  color: var(--cyan); text-decoration: underline; text-underline-offset: 4px;
}
.pl2-portfolio-link:hover { color: var(--paper); }
.pl2-portfolio-link[hidden] { display: none; }
.pl2-portfolio-modal { width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: hidden; display: none; flex-direction: column; }
.pl2-portfolio-modal[open] { display: flex; }
.pl2-modal-note { margin-top: 4px; font-size: 13.5px; font-weight: 300; color: var(--gray-500); }
.pl2-modal-body {
  flex: 1 1 auto;
  min-height: 0; /* allow flex child to shrink and scroll */
  overflow-y: auto; overflow-x: hidden; padding: 20px 24px 24px; background: var(--ground-alt);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.pl2-modal-body::-webkit-scrollbar { width: 0; height: 0; display: none; background: transparent; }
.pl2-modal-body.pl2-portfolio-panel { margin: 0; }
.pl2-modal-body .pf-panel { box-shadow: none; }
@media (max-width: 600px) {
  .pl2-modal-body { padding: 12px; }
}
.pl2-platform .sol-interactive-preview.is-inline .pl2-portfolio-link { margin-top: 12px; }
.pf-module-grid.pf-module-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 900px) {
  .pf-module-grid.pf-module-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .pl2-portfolio-modal {
    width: calc(100vw - 16px);
    max-width: none; 
    max-height: calc(100dvh - 16px);
    border-radius: 14px;
  }
  .pl2-portfolio-modal .pl2-modal-head { padding: 14px 16px; align-items: flex-start; }
  .pl2-portfolio-modal .pl2-modal-title { font-size: 16px; }
  .pl2-portfolio-modal .pl2-modal-note { font-size: 12.5px; line-height: 1.45; }
  .pl2-modal-body .pf-panel { padding: 18px 14px 16px; border-radius: 16px; }
  .pl2-modal-body .pf-tabs {
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .pl2-modal-body .pf-tabs::-webkit-scrollbar { display: none; }
  .pl2-modal-body .pf-tabs {
    -webkit-mask-image: linear-gradient(to right, #000 82%, transparent);
            mask-image: linear-gradient(to right, #000 82%, transparent);
  }
  .pl2-modal-body .pft {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px 12px 10px;
    scroll-snap-align: start;
  }
}

/* Sample Market-Ready Blueprint dialog on the homepage (2026-10-19): screenshot + one line + link to Connect. */
.bp-sample-modal { max-width: 920px; }
.bp-sample-img { margin: 0; border-radius: 14px; overflow: hidden; background: var(--paper); box-shadow: 0 18px 40px -24px rgba(15,17,23,.35); }
.bp-sample-img img { display: block; width: 100%; height: auto; }
.bp-sample-p { margin: 18px 4px 0; font-size: 15px; line-height: 1.6; font-weight: 300; color: var(--body); }
.bp-sample-link { display: inline-block; margin: 12px 4px 4px; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--pink); }
