/* Extend the existing paper/lime visual language; keep every item in document order. */
.editorial-page .showcase-projects .portfolio-tools{padding:1.5rem;background:#eef0e8;border:1px solid #d4d8cd;border-radius:16px;gap:1.5rem}
.showcase-projects .portfolio-tools label{display:block;margin-bottom:.55rem;font-size:.85rem;font-weight:600}
.showcase-projects .portfolio-tools input,.showcase-projects .portfolio-tools select{background:#fff;border-radius:8px;min-height:48px}
.showcase-projects #project-count{font-size:.85rem;margin:1.3rem 0;color:#535b4d}
.editorial-page .showcase-projects .portfolio-grid{gap:1.5rem;align-items:stretch}
.editorial-page .showcase-projects .portfolio-item{display:flex;flex-direction:column;border:1px solid #d4d8cd;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 3px 12px #17211205}
.editorial-page .showcase-projects .portfolio-item[hidden]{display:none}
.showcase-projects .portfolio-item>a{height:auto;flex:1;background:transparent;display:flex;flex-direction:column}
.showcase-projects .portfolio-item>a:focus-visible{outline:3px solid #315420;outline-offset:-4px;border-radius:15px}
.editorial-page .showcase-projects .portfolio-image{aspect-ratio:1.6;border-radius:0;border-bottom:1px solid #d4d8cd;background:#edf0e5;display:flex;align-items:center;justify-content:center}
.showcase-projects .portfolio-image img{width:100%;height:100%;object-fit:contain;object-position:center;transform:none!important}
.showcase-projects .portfolio-image:not(:has(img)){padding:2rem;background:radial-gradient(ellipse at 85% 15%,#d4ef91 0,transparent 70%),#eef0e5;color:#254a16;font-size:1.75rem;font-weight:600;line-height:1.2;text-align:center;overflow-wrap:anywhere}
.showcase-projects .app-portfolio-image{background:radial-gradient(ellipse at 50% 55%,#faffed,transparent 65%),#e8efdc}
.showcase-projects .app-portfolio-image img{width:104px;height:104px;aspect-ratio:1;border-radius:24px;box-shadow:0 12px 25px #23371415}
.showcase-projects .app-portfolio-image>span{background:#fff;border:1px solid #d4d8cd;border-radius:100px;padding:.2rem .65rem;font-size:.75rem;top:.85rem;right:.85rem}
.editorial-page .showcase-projects .portfolio-copy{padding:1.5rem;gap:0;min-width:0}
.showcase-projects .portfolio-copy h2{font-size:1.45rem;line-height:1.25;margin:.25rem 0 1rem;letter-spacing:-.04em}
.showcase-projects .portfolio-copy h2>span{font-size:1.1rem;flex:none;color:#3b5628}
.showcase-projects .portfolio-copy .eyebrow{font-size:.75rem;color:#535b4d;line-height:1.5;letter-spacing:.02em;margin:0 0 .6rem}
.showcase-projects .portfolio-copy>p:not(.eyebrow){font-size:.9rem;line-height:1.75;margin-bottom:1.5rem}
.showcase-projects .portfolio-copy .visit,.showcase-projects .project-action{margin-top:auto;padding-top:1rem;border-top:1px solid #d4d8cd;min-height:44px;color:#254a16;font-size:.85rem;font-weight:600;line-height:1.5}
.showcase-projects .portfolio-item .project-action{display:block;height:auto;background:none;text-decoration:underline;text-underline-offset:4px}
.showcase-unavailable h2>span{display:none}
.showcase-badge{display:inline-flex;align-items:center;gap:.4rem;align-self:flex-start;font-size:.75rem;line-height:1.5;color:#4a4f43;background:#f1f2ed;border:1px solid #d4d8cd;border-radius:100px;padding:.3rem .65rem;max-width:100%}
.showcase-badge>span{font-size:.7rem;display:inline-flex;align-items:center;justify-content:center;flex:none;width:1rem;height:1rem;border:1px solid currentColor;border-radius:50%;font-weight:700}
.portfolio-copy>.showcase-badge{margin-bottom:1rem}
.destination-details{margin:0;padding:0 1.5rem 1rem;color:#535b4d;font-size:.8rem;line-height:1.65}
.destination-details summary{cursor:pointer;min-height:44px;padding:.75rem 0;line-height:1.5;font-size:.8rem;font-weight:500}
.destination-details summary::after{content:'+';float:right;font-size:1.1rem;margin-left:.75rem}
.destination-details[open] summary::after{content:'−'}
.destination-details p{margin:.25rem 0;font-size:.8rem;color:#535b4d;overflow-wrap:anywhere}
.portfolio-item .destination-details a,.eco-grid .destination-details a,.destination-details p a{display:inline;height:auto;padding:0;border:0;min-height:0;font-size:inherit;background:none;text-decoration:underline;text-underline-offset:3px;color:#254a16}
.destination-details summary:focus-visible,.project-action:focus-visible,.ecosystem-action:focus-visible{outline:3px solid #315420;outline-offset:3px}
.eco-grid.showcase-ecosystem{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;margin-top:2rem}
.ecosystem-card{min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid #d4d8cd;border-radius:16px;padding:1.5rem;overflow-wrap:anywhere}
.ecosystem-card-top{display:flex;align-items:center;gap:.8rem;margin-bottom:1.6rem}
.ecosystem-mark{width:46px;height:46px;flex:none;display:grid;place-items:center;border-radius:12px;background:#e7f1ce;color:#254a16;font-size:1.05rem;font-weight:600;letter-spacing:-.04em}
.ecosystem-card:nth-child(3n+2) .ecosystem-mark{background:#252d22;color:#e5f4bc}
.ecosystem-card:nth-child(3n+3) .ecosystem-mark{background:#edf0e7;color:#34492a}
.ecosystem-kind{font-size:.72rem;line-height:1.6;color:#535b4d;max-width:15ch}
.ecosystem-card h3{font-size:1.5rem;line-height:1.2;letter-spacing:-.045em;margin:0 0 .5rem;color:#141a10}
.ecosystem-card .ecosystem-domain{font-size:.85rem;line-height:1.5;margin:0 0 1.5rem;color:#535b4d}
.ecosystem-card .showcase-badge{margin:0 0 1.2rem}
.eco-grid .ecosystem-card .ecosystem-action{display:block;font-size:.85rem;font-weight:600;min-height:44px;margin-top:auto;padding:1rem 0 0;border-top:1px solid #d4d8cd;color:#254a16;text-decoration:underline;text-underline-offset:4px;line-height:1.6}
.ecosystem-card .destination-details{padding:0;margin-top:.3rem}
.case-sources>.destination-details{padding:1rem 0 0;max-width:55ch}
@media(max-width:1100px){.editorial-page .showcase-projects .portfolio-grid,.eco-grid.showcase-ecosystem{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.editorial-page .showcase-projects .portfolio-grid,.eco-grid.showcase-ecosystem{grid-template-columns:minmax(0,1fr);gap:1.25rem}.editorial-page .showcase-projects .portfolio-tools{padding:1.2rem}.editorial-page .showcase-projects .portfolio-copy,.ecosystem-card{padding:1.25rem}.destination-details{padding-inline:1.25rem}.showcase-projects .portfolio-copy h2{font-size:1.5rem}}
/* Portfolio groups retain the shared paper/lime site identity. */
.portfolio-jumps{display:flex;flex-wrap:wrap;gap:.65rem;margin:0 0 2rem}
.portfolio-jumps a{display:inline-flex;align-items:center;min-height:44px;padding:.65rem 1rem;border:1px solid #b8c2ac;border-radius:100px;font-size:.85rem;color:#254a16;background:#f6f6f2;text-decoration:none}
.portfolio-jumps a:hover{background:#e4efce}
.portfolio-jumps a:focus-visible,.store-action:focus-visible,.brand-details a:focus-visible{outline:3px solid #315420;outline-offset:3px}
.portfolio-group{margin-top:4rem;scroll-margin-top:8rem}
.portfolio-group[hidden]{display:none}
.portfolio-group-head{border-top:1px solid #bdc7b0;padding-top:2rem;margin-bottom:2rem;max-width:none}
.portfolio-group-head>.eyebrow{font-size:.8rem;margin-bottom:.75rem;color:#535b4d}
.portfolio-group-head h2{font-size:clamp(1.8rem,4vw,3rem);line-height:1.15;letter-spacing:-.045em;margin:0 0 1rem;display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.portfolio-group-head>p:last-child{max-width:65ch;font-size:1rem;line-height:1.7;color:#535b4d}
.group-count{font-size:.85rem;letter-spacing:0;border:1px solid #bbc6ad;border-radius:100px;padding:.4rem .7rem;line-height:1.3;color:#3c5031}
.editorial-page .showcase-projects .apps-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.showcase-projects .portfolio-copy h3{font-size:1.45rem;line-height:1.25;margin:.25rem 0 1rem;letter-spacing:-.04em;color:#141a10;overflow-wrap:anywhere}
.showcase-projects .portfolio-copy h3>span{font-size:1.1rem;color:#3b5628}
.showcase-projects .portfolio-app .portfolio-copy{padding:1.15rem}
.showcase-projects .portfolio-app .portfolio-copy h3{font-size:1.3rem}
.showcase-projects .portfolio-item>.portfolio-copy{display:flex;flex-direction:column;flex:1}
.showcase-projects .portfolio-item .app-actions{margin-top:auto}
.showcase-projects .portfolio-item .app-actions a{display:flex;align-items:center;min-height:44px;height:auto;font-size:.85rem;line-height:1.55;text-decoration:underline;text-underline-offset:3px;color:#254a16;padding:.55rem 0}
.app-actions .app-store-name{font-size:.75rem;line-height:1.6;color:#535b4d;margin:.65rem 0 0}
.editorial-page .showcase-projects .brand-cover{background:#f5f6f1;aspect-ratio:1.6;overflow:hidden;padding:0}
.showcase-projects .brand-cover img{object-fit:contain;width:100%;height:100%;border-radius:0;box-shadow:none}
.brand-details img{display:block;width:100%;height:auto;margin:.5rem 0 1rem;border-radius:6px}
.destination-details ul{list-style:none;padding:0;margin:.5rem 0}
.destination-details li{margin:.3rem 0}
.destination-details li a{display:inline-block;min-height:44px;padding:.6rem 0;overflow-wrap:anywhere}
.eco-grid .ecosystem-brand-card{padding:0;overflow:hidden}
.ecosystem-brand-card .portfolio-image{aspect-ratio:1.6;background:#eef0e5;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #d4d8cd;overflow:hidden}
.ecosystem-brand-card .portfolio-image img{display:block;width:100%;height:100%;object-fit:contain}
.ecosystem-brand-card .portfolio-copy{padding:1.5rem;display:flex;flex-direction:column;flex:1}
.ecosystem-brand-card .portfolio-copy>.eyebrow{font-size:.75rem;color:#535b4d;margin:0 0 .6rem}
.ecosystem-brand-card .portfolio-copy>p:not(.eyebrow){font-size:.9rem;line-height:1.7;margin:0 0 1.5rem}
.ecosystem-brand-card .project-action{display:block;margin-top:auto;padding-top:1rem;border-top:1px solid #d4d8cd;min-height:44px;font-size:.85rem;color:#254a16;text-decoration:underline;text-underline-offset:3px}
.ecosystem-brand-card .destination-details{padding:0 1.5rem 1rem}
.ecosystem-brand-card .brand-wordmark{font-size:2rem;line-height:1.2;color:#254a16;padding:2rem;font-weight:600;letter-spacing:-.045em}
.ecosystem-brand-card .brand-wordmark span{overflow-wrap:anywhere}
.showcase-unavailable h3>span{display:none}
.editorial-page .showcase-projects .website-capture,.ecosystem-card .website-capture{aspect-ratio:16/9;padding:0;overflow:hidden;background:#eef0e5}
.website-capture img{display:block;width:100%;height:100%;object-fit:contain}
.ecosystem-card:not(.ecosystem-brand-card)>.website-capture{margin-bottom:1.5rem;border-radius:8px}
@media(max-width:1100px){.editorial-page .showcase-projects .apps-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.editorial-page .showcase-projects .apps-row{grid-template-columns:minmax(0,1fr)}.portfolio-group{margin-top:3rem}.portfolio-jumps{gap:.5rem}.portfolio-jumps a{font-size:.8rem}.showcase-projects .portfolio-app .portfolio-copy{padding:1.25rem}}

/* Ecosystem previews fill their frame; complete brand boards remain expandable. */
#ecosysteem-projecten .portfolio-image:not(.app-portfolio-image) img,
.eco-grid .portfolio-image:not(.app-portfolio-image) img {
  width:100%;height:100%;object-fit:cover;object-position:center;
}
.eco-grid .app-portfolio-image {
  aspect-ratio:1.6;display:flex;align-items:center;justify-content:center;
  background:#edf0e5;margin-bottom:1.5rem;border-radius:8px;
}
.eco-grid .app-portfolio-image img {
  width:104px;height:104px;object-fit:contain;border-radius:24px;
}
/* Fit the frame to wide artwork so logos and headlines remain complete. */
.editorial-page .showcase-projects .wide-brand-preview,
.eco-grid .ecosystem-brand-card .wide-brand-preview {
  aspect-ratio:var(--brand-ratio);
}

/* One compact card format across the portfolio and ecosystem. */
.editorial-page .showcase-projects .compact-card,
.eco-grid .compact-card {
  display:flex;flex-direction:column;padding:0;overflow:hidden;align-self:start;
}
.editorial-page .showcase-projects .compact-card>.portfolio-image,
.eco-grid .compact-card>.portfolio-image {
  height:160px;min-height:160px;max-height:160px;aspect-ratio:auto;
  width:100%;flex:none;margin:0;padding:0;border-radius:0;
  display:flex;align-items:center;justify-content:center;overflow:hidden;
  border-bottom:1px solid #d4d8cd;background:#edf0e5;
}
.editorial-page .showcase-projects .compact-card>.portfolio-image img,
.eco-grid .compact-card>.portfolio-image img {
  display:block;width:100%;height:100%;object-fit:cover;object-position:center;
  aspect-ratio:auto;border-radius:0;
}
.editorial-page .showcase-projects .compact-card>.app-portfolio-image img,
.eco-grid .compact-card>.app-portfolio-image img {
  width:88px;height:88px;object-fit:contain;border-radius:20px;
}
.compact-card .compact-card-body {
  display:flex;flex-direction:column;gap:8px;padding:16px 18px 8px;min-width:0;
}
.compact-card .compact-card-category {
  font-size:.7rem;line-height:1.4;min-height:2.8em;margin:0;
  color:#535b4d;letter-spacing:.02em;
}
.compact-card .compact-card-body h3 {
  font-size:1.15rem;line-height:1.3;min-height:2.6em;margin:0;
  letter-spacing:-.025em;overflow-wrap:anywhere;color:#141a10;
}
.compact-card .compact-card-actions {
  display:flex;align-items:stretch;gap:16px;margin-top:0;
}
.editorial-page .showcase-projects .compact-card .compact-card-link,
.eco-grid .compact-card .compact-card-link {
  display:flex;align-items:center;flex:1;min-width:0;height:auto;min-height:44px;
  margin:0;padding:4px 0;border:0;background:transparent;
  color:#254a16;font-size:.8rem;font-weight:600;line-height:1.4;
  text-decoration:underline;text-underline-offset:3px;
}
.compact-card .compact-card-info {
  border:0;border-top:1px solid #d4d8cd;margin:0;padding:0 18px;
}
.compact-card .compact-card-info>summary {
  min-height:44px;padding:8px 0;font-size:.8rem;line-height:1.4;
}
.compact-card-info>summary::after {content:'+';font-size:1.1rem}
.compact-card-info[open]>summary::after {content:'−'}
.compact-card .compact-card-extra {padding:0 0 12px;font-size:.85rem;line-height:1.6}
.compact-card .compact-card-extra p {font-size:inherit;line-height:inherit;margin:0 0 12px;padding:0}
.compact-card .compact-card-extra .destination-details {padding:0;margin:0}
.compact-card .compact-card-extra .destination-details a {display:inline;height:auto}
.compact-card .compact-card-extra>.showcase-badge {margin-bottom:12px}
.compact-card .compact-card-link:focus-visible,
.compact-card .compact-card-info summary:focus-visible {outline:3px solid #315420;outline-offset:2px}
/* Wide banners keep the logo and heading at the left edge of the crop. */
.editorial-page .showcase-projects .compact-card>.wide-brand-preview img,
.eco-grid .compact-card>.wide-brand-preview img {object-position:left center}
#ecosysteem-projecten .compact-card>.wide-brand-preview img {object-position:left center}

/* The portfolio owns its collaboration section instead of relying on blog CSS. */
#samenwerkingen {margin-top:40px;margin-bottom:64px}
#samenwerkingen .partnership-heading {
  position:relative;isolation:isolate;overflow:hidden;min-height:220px;
  display:flex;align-items:center;background:#22251f;border-radius:16px;
}
#samenwerkingen .dark-panel-art {
  position:absolute;inset:0 0 0 auto;width:44%;height:100%;object-fit:cover;
  object-position:right center;pointer-events:none;
  mask-image:linear-gradient(to right,transparent,#000 25%);
}
#samenwerkingen .dark-panel-copy {position:relative;width:65%;padding:32px;z-index:1}
#samenwerkingen .eyebrow {font-size:.75rem;line-height:1.5;color:#c7f28c;margin:0 0 12px}
#samenwerkingen h2 {font-size:clamp(1.8rem,3.3vw,2.6rem);line-height:1.15;color:#f8f9f4;margin:0 0 16px;letter-spacing:-.04em}
#samenwerkingen .dark-panel-copy>p:last-child {font-size:1rem;line-height:1.6;color:#d9ded4;margin:0;max-width:42ch}
#samenwerkingen .partner-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:16px 0 0}
#samenwerkingen .partner-grid li {min-width:0;margin:0;border:1px solid #d4d8cd;border-radius:10px;overflow:hidden;background:#fff}
#samenwerkingen .partner-grid a {display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:72px;height:100%;padding:16px 20px;font-size:1rem;line-height:1.4;font-weight:600;text-decoration:none;color:#141a10}
#samenwerkingen .partner-grid a>span:first-child {overflow-wrap:anywhere}
#samenwerkingen .partner-grid a>span:last-child {flex:none;color:#315420}
#samenwerkingen .partner-grid a:hover {background:#eef3e6}
#samenwerkingen .partner-grid a:focus-visible {outline:3px solid #315420;outline-offset:-4px}
@media(max-width:700px){
 #samenwerkingen .dark-panel-copy {width:100%;padding:24px}
 #samenwerkingen .dark-panel-art {display:none}
 #samenwerkingen .partnership-heading {min-height:0}
 #samenwerkingen .partner-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 #samenwerkingen .partner-grid a {padding:14px;min-height:72px;font-size:.9rem}
}
@media(max-width:380px){#samenwerkingen .partner-grid{grid-template-columns:1fr}}

/* Compact iOS Safari-inspired project previews, with real navigation and sharing. */
.compact-card .ios-browser-bar{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#eef0ed;border-bottom:1px solid #d4d8cd;min-width:0}
.ios-browser-reader{font-size:16px;letter-spacing:-2px;color:#40483a;flex:none;padding-right:4px}
.compact-card .ios-browser-url{display:flex;align-items:center;justify-content:center;min-width:0;flex:1;min-height:44px;padding:4px 10px;border-radius:10px;background:#fff;color:#35432d;text-decoration:none;font-size:12px;line-height:1.35;overflow:hidden;overflow-wrap:anywhere;text-align:center}
.compact-card .compact-card-category{font-size:.75rem;min-height:2.8em}
.compact-card .compact-card-body{padding:12px 16px 4px;gap:4px}
.compact-card .compact-card-actions{gap:8px}
.compact-card .project-share{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;padding:8px;border:0;border-radius:8px;background:transparent;color:#254a16;font:inherit;font-size:.8rem;font-weight:600;cursor:pointer}
.project-share svg{width:19px;height:19px;flex:none}
.compact-card .project-share:hover{background:#edf2e6}
.compact-card .project-share:focus-visible,.compact-card .ios-browser-url:focus-visible{outline:3px solid #315420;outline-offset:-3px}
.compact-card .compact-card-info{padding-inline:16px}
.compact-card .compact-card-extra>.compact-card-link{display:flex;min-height:44px;align-items:center}
.project-share-status:not(:empty){position:fixed;z-index:100;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);padding:14px 20px;border-radius:12px;background:#172112;color:#fff;box-shadow:0 4px 20px #0002;font-size:14px;line-height:1.5}
.project-share-fallback{padding:0 16px 12px;font-size:14px;line-height:1.5}
.project-share-fallback label{display:block;margin-bottom:6px}
.project-share-fallback input{width:100%;min-width:0;min-height:44px;border:1px solid #69755f;border-radius:6px;padding:8px;font:inherit}
@media(min-width:701px){.compact-card .ios-browser-url{font-size:12px}}
.ios-browser-url>span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
