/* Reuses the Prismycode V3 palette, self-hosted fonts and shared site shell. */
.pcp-page{--pcp-purple:var(--pc-color-brand,#3810c0);--pcp-deep:var(--pc-color-brand-deep,#180060);--pcp-ink:var(--pc-color-text,#17085e);--pcp-muted:var(--pc-color-text-muted,#64607b);--pcp-line:var(--pc-color-border,#ddd8ef);--pcp-tint:var(--pc-color-tint,#f0edff);--pcp-paper:var(--pc-color-surface,#fbfaff);padding-top:84px;color:var(--pcp-ink);background:#fff;font-family:var(--pc-font-body,"DM Sans",sans-serif)}
.pcp-page *{box-sizing:border-box}.pcp-container{width:min(calc(100% - 64px),1120px);margin-inline:auto}.pcp-page a{text-decoration:none}.pcp-page h1,.pcp-page h2,.pcp-page h3{font-family:var(--pc-font-display,"Fraunces",serif);color:var(--pcp-deep);font-weight:700}.pcp-page h1{font-size:clamp(44px,5.3vw,72px);line-height:1.02;letter-spacing:-.05em;margin:0;overflow-wrap:anywhere}.pcp-page h2{font-size:clamp(30px,3vw,40px);line-height:1.12;letter-spacing:-.04em;margin:0}:where(.pcp-page) p{margin-top:0}.pcp-eyebrow{margin:0 0 16px;color:var(--pcp-purple);font-size:11px;font-weight:700;letter-spacing:.17em;text-transform:uppercase}.pcp-arrow{width:20px;height:20px;flex:0 0 auto;vertical-align:middle}.pcp-arrow--back{transform:rotate(180deg)}.pcp-text-link,.pcp-back{display:inline-flex;align-items:center;gap:12px;color:var(--pcp-purple);font-size:14px;font-weight:700}.pcp-text-link:hover,.pcp-back:hover{color:var(--pcp-deep)}
.pcp-button{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:52px;padding:13px 23px;border:1px solid var(--pcp-purple);border-radius:7px;color:#fff;background:var(--pcp-purple);box-shadow:0 8px 22px #3810c026;font-size:14px;font-weight:700;line-height:1.5;transition:background .2s,transform .2s}.pcp-button:hover{color:#fff;background:var(--pc-color-brand-hover,#2808a0);transform:translateY(-2px)}.pcp-page a:focus-visible{outline:3px solid var(--pc-color-focus,#b9aaff);outline-offset:5px}
.pcp-archive-hero{background:linear-gradient(115deg,#fbfaff,#f0edff);border-bottom:1px solid var(--pcp-line)}.pcp-archive-hero__inner{display:grid;grid-template-columns:1.4fr 1fr;align-items:end;gap:80px;padding-block:80px 68px}.pcp-archive-hero h1 span{color:var(--pcp-purple)}.pcp-archive-hero__copy{max-width:360px;padding-bottom:5px}.pcp-archive-hero__copy>p{font-size:17px;line-height:1.7;color:var(--pcp-muted);margin-bottom:24px}.pcp-text-link>span{font-size:20px}.pcp-archive-content{padding-block:42px 88px;scroll-margin-top:120px}.pcp-toolbar{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-bottom:30px;border-bottom:1px solid var(--pcp-line);margin-bottom:40px}.pcp-filters{display:flex;flex-wrap:wrap;gap:10px}.pcp-filters a{display:inline-flex;align-items:center;min-height:42px;padding:9px 18px;border:1px solid var(--pcp-line);border-radius:999px;font-size:13px;font-weight:600;color:var(--pcp-muted);transition:background .2s,color .2s}.pcp-filters a:hover{background:var(--pcp-tint);color:var(--pcp-purple)}.pcp-filters a.is-active{background:var(--pcp-purple);border-color:var(--pcp-purple);color:#fff}.pcp-project-count{flex-shrink:0;margin:0;color:var(--pcp-muted);font-size:13px}
.pcp-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:54px 32px}.pcp-card{min-width:0}.pcp-card__link{display:block;height:100%;color:var(--pcp-ink)}.pcp-card__visual{position:relative;overflow:hidden;border:1px solid var(--pcp-line);border-radius:8px;background:var(--pcp-tint)}.pcp-browser-bar{display:flex;align-items:center;gap:5px;height:30px;padding:0 13px;background:#f8f7fb;border-bottom:1px solid var(--pcp-line)}.pcp-browser-bar i{width:5px;height:5px;border-radius:50%;background:#c6bfdd}.pcp-browser-bar span{margin-left:12px;color:var(--pcp-muted);font-size:9px;font-weight:500;letter-spacing:.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pcp-card__image{display:block;width:100%;height:auto;aspect-ratio:1.55;object-fit:cover;object-position:top;transition:transform .45s}.pcp-card__open{position:absolute;right:18px;bottom:18px;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fff;color:var(--pcp-purple);box-shadow:0 4px 20px #18006018;transition:transform .25s}.pcp-card__link:hover .pcp-card__image{transform:scale(1.025)}.pcp-card__link:hover .pcp-card__open{transform:rotate(-35deg)}.pcp-card__placeholder{display:grid;place-items:center;aspect-ratio:1.55;padding:32px;background:linear-gradient(130deg,#f0edff,#e2dafb);text-align:center}.pcp-card__placeholder span{font-family:var(--pc-font-display,"Fraunces",serif);font-size:clamp(26px,3vw,42px);font-weight:700;line-height:1.1;color:var(--pcp-deep);overflow-wrap:anywhere}.pcp-card__meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:22px 0 12px;color:var(--pcp-muted);font-size:12px}.pcp-badge{display:inline-block;width:fit-content;max-width:100%;padding:5px 10px;border:1px solid var(--pcp-line);border-radius:4px;background:var(--pcp-paper);color:var(--pcp-muted);font-size:11px;font-weight:500;line-height:1.5}.pcp-card__heading{display:flex;align-items:baseline;justify-content:space-between;gap:24px}.pcp-card__heading :is(h2,h3){font-size:30px;letter-spacing:-.035em;overflow-wrap:anywhere}.pcp-card__heading>.pcp-arrow{width:20px;align-self:center;color:var(--pcp-purple)}.pcp-card__summary{margin:14px 0 0;color:var(--pcp-muted);font-size:14px;line-height:1.65}.pcp-card__more{display:inline-block;margin-top:18px;color:var(--pcp-purple);font-size:13px;font-weight:700}.pcp-archive-note{display:flex;align-items:flex-start;gap:12px;margin:52px 0 0;padding:21px 24px;background:var(--pcp-paper);border:1px solid var(--pcp-line);border-radius:8px;color:var(--pcp-muted);font-size:12px;line-height:1.7}.pcp-archive-note>span{display:grid;place-items:center;width:18px;height:18px;flex:0 0 18px;border:1px solid var(--pcp-line);border-radius:50%;color:var(--pcp-purple);font-family:serif;font-weight:700}.pcp-empty{padding:70px 24px;text-align:center;background:var(--pcp-paper);border:1px solid var(--pcp-line);border-radius:8px}.pcp-empty h2{font-size:34px}.pcp-empty p{max-width:520px;margin:18px auto 28px;color:var(--pcp-muted)}
.pcp-page .pagination{margin-top:48px}.pcp-page .nav-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.pcp-page .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;padding:8px 14px;border:1px solid var(--pcp-line);border-radius:5px;font-size:13px;color:var(--pcp-purple)}.pcp-page .page-numbers.current{background:var(--pcp-purple);border-color:var(--pcp-purple);color:#fff}
.pcp-single-header{padding-block:48px 38px}.pcp-back{margin-bottom:45px;font-size:13px;font-weight:500;color:var(--pcp-muted)}.pcp-back .pcp-arrow{width:17px}.pcp-single-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:60px}.pcp-single-intro h1{font-size:clamp(44px,5.5vw,76px)}.pcp-single-lead{max-width:720px;margin:22px 0 0;color:var(--pcp-muted);font-size:17px;line-height:1.7}.pcp-single-actions{display:flex;flex-direction:column;align-items:flex-start;gap:20px}.pcp-demo-note{margin:28px 0 0;max-width:760px;color:var(--pcp-muted);font-size:12px;line-height:1.65}.pcp-cover{margin-block:0;overflow:hidden;border:1px solid var(--pcp-line);border-radius:8px}.pcp-cover .pcp-browser-bar{height:36px}.pcp-cover__image{display:block;width:100%;height:auto;max-height:620px;object-fit:cover;object-position:top}.pcp-cover a{display:block}.pcp-project-details{display:grid;grid-template-columns:260px minmax(0,1fr);gap:90px;padding-block:76px 88px}.pcp-facts{align-self:start;border-top:2px solid var(--pcp-purple);padding-top:24px}.pcp-facts h2{font-size:23px;margin-bottom:26px}.pcp-facts dl{margin:0}.pcp-facts dl>div{padding:16px 0;border-top:1px solid var(--pcp-line)}.pcp-facts dt{font-size:11px;color:var(--pcp-muted);margin-bottom:6px}.pcp-facts dd{margin:0;color:var(--pcp-ink);font-size:14px;line-height:1.65;overflow-wrap:anywhere}.pcp-story{min-width:0}.pcp-story-section+.pcp-story-section,.pcp-rich-content+.pcp-story-section,.pcp-story-section+.pcp-rich-content{margin-top:44px}.pcp-story-section h2{font-size:34px;margin-bottom:20px}.pcp-story-section .pcp-eyebrow{margin-bottom:12px}.pcp-story-section p,.pcp-rich-content p{color:var(--pcp-muted);font-size:16px;line-height:1.8;margin-bottom:18px}.pcp-story-section p:last-child{margin-bottom:0}.pcp-features{list-style:none;padding:0;margin:24px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:12px 24px}.pcp-features li{display:flex;align-items:baseline;gap:12px;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.pcp-features li>span{color:var(--pcp-purple);font-weight:700}.pcp-rich-content{overflow-wrap:anywhere}.pcp-rich-content h2{margin:40px 0 20px;font-size:34px}.pcp-rich-content h3{font-size:25px;margin:32px 0 16px}.pcp-rich-content img{max-width:100%;height:auto;border-radius:6px}.pcp-rich-content .alignwide,.pcp-rich-content .alignfull{width:100%;margin-inline:0}.pcp-rich-content iframe,.pcp-rich-content video{max-width:100%}.pcp-rich-content blockquote{margin:28px 0;padding:10px 24px;border-left:3px solid var(--pcp-purple);background:var(--pcp-paper)}.pcp-rich-content a{text-decoration:underline;color:var(--pcp-purple)}.pcp-rich-content ul,.pcp-rich-content ol{padding-left:24px;color:var(--pcp-muted)}
.pcp-screenshots{padding:72px 0;background:var(--pcp-paper);border-block:1px solid var(--pcp-line)}.pcp-section-heading{margin-bottom:38px}.pcp-section-heading>p:last-child{margin:18px 0 0;color:var(--pcp-muted);font-size:15px}.pcp-screen-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:48px;align-items:start}.pcp-screen-grid--one{grid-template-columns:minmax(0,1fr)}.pcp-screen{margin:0;min-width:0}.pcp-screen a{display:block;overflow:hidden;max-height:760px;border:1px solid var(--pcp-line);border-radius:8px;background:#fff;box-shadow:0 14px 36px #18006008}.pcp-screen img{display:block;width:100%;height:auto}.pcp-screen--mobile{max-width:280px;width:100%;justify-self:center}.pcp-screen--mobile a{border:7px solid var(--pcp-deep);border-radius:24px;max-height:640px}.pcp-screen figcaption{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:18px;font-size:12px;font-weight:600;color:var(--pcp-ink)}.pcp-screen figcaption span{font-size:11px;font-weight:400;color:var(--pcp-muted)}.pcp-related{padding-block:76px 88px}.pcp-related__heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:38px}.pcp-related .pcp-card__heading :is(h2,h3){font-size:28px}.pcp-cta{padding-top:0}.pcp-single>.pcp-cta{margin-top:76px}.pcp-related+.pcp-cta{margin-top:0}.pcp-fallback-cta{padding-block:50px 80px}.pcp-fallback-cta h2{margin-bottom:24px}
@media(max-width:960px){.pcp-container{width:calc(100% - 40px)}.pcp-archive-hero__inner{gap:40px;padding-block:64px 54px}.pcp-project-details{grid-template-columns:220px minmax(0,1fr);gap:44px}.pcp-single-intro{gap:36px}.pcp-single-actions .pcp-button{gap:12px}.pcp-screen-grid{grid-template-columns:minmax(0,1fr) 230px;gap:28px}.pcp-screen-grid--one{grid-template-columns:1fr}.pcp-features{grid-template-columns:1fr}.pcp-page h1{font-size:56px}}
@media(max-width:700px){.pcp-page{padding-top:72px}.pcp-container{width:calc(100% - 40px)}.pcp-page h1,.pcp-single-intro h1{font-size:clamp(40px,10.8vw,58px)}.pcp-archive-hero__inner{grid-template-columns:1fr;gap:28px;padding-block:52px 44px}.pcp-archive-hero__copy{max-width:100%;padding:0}.pcp-archive-hero__copy>p{font-size:16px;margin-bottom:16px}.pcp-archive-content{padding-block:28px 64px}.pcp-toolbar{align-items:flex-start;gap:16px;padding-bottom:24px;margin-bottom:30px}.pcp-filters{gap:8px}.pcp-filters a{padding:8px 13px;font-size:12px;min-height:40px}.pcp-project-count{font-size:11px;padding-top:12px}.pcp-project-grid{grid-template-columns:1fr;gap:40px}.pcp-card__heading :is(h2,h3){font-size:29px}.pcp-card__meta{margin-top:18px}.pcp-card__image,.pcp-card__placeholder{aspect-ratio:1.4}.pcp-archive-note{margin-top:36px;padding:18px;font-size:11px}.pcp-empty{padding:42px 20px}.pcp-empty h2{font-size:29px}.pcp-empty .pcp-button{width:100%}.pcp-single-header{padding-block:30px}.pcp-back{margin-bottom:32px}.pcp-single-intro{grid-template-columns:1fr;gap:26px}.pcp-single-lead{font-size:16px;margin-top:18px}.pcp-single-actions{gap:18px;width:100%}.pcp-single-actions .pcp-button{width:100%}.pcp-demo-note{margin-top:22px;font-size:11px}.pcp-cover__image{max-height:420px}.pcp-project-details{grid-template-columns:1fr;gap:44px;padding-block:44px 56px}.pcp-facts dl{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.pcp-facts h2{margin-bottom:18px}.pcp-facts dl>div{padding-block:13px}.pcp-story-section h2,.pcp-rich-content h2{font-size:30px}.pcp-screenshots{padding-block:52px}.pcp-screen-grid{grid-template-columns:1fr;gap:36px}.pcp-screen--mobile{max-width:240px}.pcp-screen a{max-height:560px}.pcp-screen--mobile a{max-height:520px}.pcp-related{padding-block:56px 64px}.pcp-related__heading{align-items:flex-start;flex-direction:column;gap:20px;margin-bottom:30px}.pcp-single>.pcp-cta{margin-top:56px}.pcp-related+.pcp-cta{margin-top:0}.pcp-page .pc-cta__panel{gap:32px}}
@media(prefers-reduced-motion:reduce){.pcp-page *,.pcp-page *::before,.pcp-page *::after{scroll-behavior:auto!important;transition:none!important}}

.pcp-rich-content .wp-block-button__link{color:#fff;text-decoration:none}.pcp-rich-content .wp-block-image{margin:30px 0}.pcp-rich-content .wp-block-image img{width:auto;max-width:100%}.pcp-rich-content .wp-block-buttons{margin-block:28px}

.pcp-page .pc-cta__copy > h2{color:#fff}

/* Featured image opens in an accessible native dialog. */
.pcp-cover [data-project-lightbox]{cursor:zoom-in}
html.pcp-lightbox-open{overflow:hidden}
.pcp-lightbox{padding:0;border:0;width:max-content;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:visible;background:transparent;color:#fff}
.pcp-lightbox::backdrop{background:rgba(10,3,35,.88);backdrop-filter:blur(5px)}
.pcp-lightbox[open]{display:grid;place-items:center}
.pcp-lightbox__frame{position:relative;line-height:0}
.pcp-lightbox .pcp-lightbox__image{display:block;width:auto;height:auto;max-width:calc(100vw - 48px);max-height:calc(100dvh - 48px);object-fit:contain;border-radius:8px;box-shadow:0 24px 80px #0006}
.pcp-lightbox__close{position:absolute;z-index:1;top:12px;right:12px;display:grid;place-items:center;width:44px;height:44px;padding:11px;border:1px solid #ddd8ef;border-radius:50%;background:#fff;color:#180060;cursor:pointer;box-shadow:0 3px 18px #18006026}
.pcp-lightbox__close svg{width:20px;height:20px}
.pcp-lightbox__close:hover{background:#f0edff}
.pcp-lightbox__close:focus-visible{outline:3px solid #b9aaff;outline-offset:3px}

/* Project archive: more space between rows at every viewport. */
.pcp-archive .pcp-project-grid{row-gap:88px}
@media(max-width:960px){.pcp-archive .pcp-project-grid{row-gap:72px}}
@media(max-width:700px){.pcp-archive .pcp-project-grid{row-gap:64px}}

/* The three latest projects, immediately before the homepage blog. */
.home-projects{--pcp-purple:var(--pc-color-brand,#3810c0);--pcp-deep:var(--pc-color-brand-deep,#180060);--pcp-ink:var(--pc-color-text,#17085e);--pcp-muted:var(--pc-color-text-muted,#64607b);--pcp-line:var(--pc-color-border,#ddd8ef);--pcp-tint:var(--pc-color-tint,#f0edff);--pcp-paper:var(--pc-color-surface,#fbfaff);background:#fff;scroll-margin-top:110px}
.home-projects .home-project-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.home-projects .pcp-card__link{text-decoration:none}
.home-projects .pcp-card__heading h3{margin:0;font-size:28px;line-height:1.15;letter-spacing:-.035em}
.home-projects .pcp-card__meta{align-items:flex-start;justify-content:flex-start;gap:8px 12px}
.home-projects .pcp-card__summary{font-size:14px}
.home-projects a:focus-visible{outline:3px solid var(--pc-color-focus,#b9aaff);outline-offset:5px}
@media(max-width:960px){.home-projects .home-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.home-projects .home-project-grid{grid-template-columns:1fr;gap:40px}.home-projects .pc-split-heading{display:flex;align-items:flex-start;flex-direction:column;gap:20px}.home-projects .pc-split-heading .pc-arrow-link{margin:0}}

/* Keep space below project previews when homepage metadata is omitted. */
.home-projects .pcp-card__visual + .pcp-card__heading{margin-top:22px}




/* One cover image; enabled for the desktop popup only. */
.pcp-cover__trigger{appearance:none;display:block;width:100%;margin:0;padding:0;border:0;background:transparent;color:inherit;text-align:inherit;opacity:1}
.pcp-cover__trigger:disabled{cursor:default;opacity:1}
.pcp-cover__trigger:enabled{cursor:zoom-in}
.pcp-cover__trigger:focus-visible{outline:3px solid #b9aaff;outline-offset:-3px}
