/* Targeted portfolio refresh. The current Flowamic theme stays in place. */
:root{--pp-ink:#101d30;--pp-paper:#f5f0e6;--pp-gold:#c6a15b;--pp-line:#c6a15b44}
.pp-list .pp-collaborations{padding-block:64px;background:var(--pp-ink);border-block:1px solid var(--pp-line)}
.pp-list .pp-collaborations>p:not(.eyebrow){max-width:790px;font-size:15px;line-height:1.8;color:#bdc8d4}
.pp-list .pp-collaborations .project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin-top:32px}
.pp-list .pp-collaborations .project-card{padding:0;border:1px solid #ffffff24;background:#192b40;border-radius:8px;overflow:hidden;display:flex;flex-direction:column;min-width:0}
.pp-list .pp-collaborations .image-frame{height:auto;aspect-ratio:16/10;border:0;border-radius:0;overflow:hidden}
.pp-list .pp-collaborations .image-frame img{display:block;width:100%;height:100%;object-fit:cover;object-position:top;transform:none}
.pp-list .pp-collaborations .card-head{padding:22px 22px 0;align-items:start;gap:12px}
.pp-list .pp-collaborations h3{font-size:29px;line-height:1.1;margin:0}
.pp-list .pp-collaborations .role{font-family:'DM Sans',Arial,sans-serif;font-size:13px;line-height:1.75;padding:14px 22px 22px;margin:0;color:#d0d8e0}
.pp-list .pp-collaborations .fc-credit{display:none}
.pp-list .pp-collaborations>.text-link{display:inline-block;margin-top:28px}
.pp-list .pp-collaborations .status{font-family:'DM Sans',Arial,sans-serif;font-size:10px;padding:6px 10px}
/* Education: compact gallery using the same paper, ink and gold. */
.hp-section{padding:64px 0;background:var(--pp-paper);color:var(--pp-ink)}
.hp-wrap{max-width:1320px;width:calc(100% - 96px);padding:0;margin:auto}
.hp-section .hp-intro{font-size:15px;line-height:1.8;max-width:720px;margin-bottom:28px}
.hp-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.hp-card{border:1px solid var(--pp-line);border-radius:8px;background:#fffcf6;box-shadow:none;display:flex;flex-direction:column;min-width:0}
.hp-card>a>img{width:100%;height:auto;aspect-ratio:2.25;object-fit:cover;display:block}
.hp-body{padding:20px 22px 0}.hp-card h3{font-family:Teko,Arial,sans-serif;font-size:28px;line-height:1.1;letter-spacing:0;overflow-wrap:normal;margin:0}
.hp-type{font:600 10px/1.5 'DM Sans',Arial,sans-serif;letter-spacing:.08em;color:#735721;margin-bottom:8px}
.hp-detail{padding:12px 22px 22px;display:flex;flex:1;flex-direction:column;gap:10px}
.hp-detail>p{font:400 13px/1.7 'DM Sans',Arial,sans-serif;margin:0;color:#52606b}
.hp-detail .hp-features{font-size:11px;color:#746342;border-top:1px solid var(--pp-line);padding-top:12px}
.hp-detail .hp-credit{font-size:11px}.hp-visit{font:600 12px/1.5 'DM Sans',Arial,sans-serif;margin-top:auto;padding-top:8px;color:#74501b}
.hp-note{font-size:12px;line-height:1.6}.hp-social{border-radius:8px}
/* Each person appears once, with department links grouped underneath. */
.pp-list .fc-directory{padding-block:56px}
.pp-list .pp-people{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin-top:28px}
.pp-list .pp-people .fc-person{display:flex;flex-direction:column;align-items:stretch;gap:0;background:var(--pp-ink);border:1px solid var(--pp-line);border-radius:8px;overflow:hidden;min-width:0;margin:0}
.pp-list .pp-people .fc-person-portrait{display:block;width:100%;height:auto;aspect-ratio:1.15;min-width:0;border-radius:0}
.pp-list .pp-people .fc-person-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 22%}
.pp-list .pp-people .fc-person-copy{padding:16px;display:flex;flex-direction:column;gap:8px}
.pp-list .pp-people strong{font:600 15px/1.35 'DM Sans',Arial,sans-serif;color:#fff}
.pp-list .pp-people .fc-person-copy>span{font:400 12px/1.55 'DM Sans',Arial,sans-serif;color:#c2ccd8;min-height:55px}
.pp-list .pp-people small{font-size:11px;color:#d9b575}
.pp-list .pp-departments{display:flex;gap:28px;flex-wrap:wrap;padding-top:24px}.pp-list .pp-departments a{margin:0;font-size:13px}
/* Case studies: title, project, context, people, next step. */
.pp-detail main{background:var(--pp-paper);color:var(--pp-ink)}
.pp-detail .pp-project-heading{padding:56px 0 36px!important;min-height:0!important;display:block!important;background:var(--pp-paper)!important;color:var(--pp-ink)!important}
.pp-detail .pp-project-heading .p-container{max-width:1200px;width:calc(100% - 96px);margin:auto;padding:0!important}
.pp-detail .pp-project-heading h1{font-size:clamp(46px,5.7vw,82px);line-height:1.03;max-width:1000px;margin:12px 0 20px}
.pp-detail .pp-project-heading .p-banner-bottom{margin-top:0;display:flex;gap:24px;align-items:end;justify-content:space-between}
.pp-detail .pp-project-heading p{max-width:760px;font-size:16px;line-height:1.7;color:#52606b}
.pp-detail .pp-project-heading .p-label{font-size:12px;color:#805e26}
.pp-detail .pp-project-content{max-width:1200px;width:calc(100% - 96px);margin:auto;padding:0 0 48px!important;background:transparent!important;color:var(--pp-ink)!important}
.pp-detail .pp-project-preview{margin:0 0 40px;border:1px solid var(--pp-line);border-radius:8px;overflow:hidden;background:#e8e1d4}
.pp-detail .pp-project-preview img{display:block;width:100%;height:auto;max-height:640px;object-fit:cover;object-position:top}
.pp-detail .pp-project-preview figcaption{padding:12px 20px;font:400 12px/1.6 'DM Sans',Arial,sans-serif;background:#fffcf6;color:#5d6670}
.pp-detail .pp-project-content .split{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:64px;align-items:start;padding-top:12px}
.pp-detail .pp-project-content h2{font-size:clamp(34px,3.4vw,48px);line-height:1.1;color:var(--pp-ink);margin-bottom:20px}
.pp-detail .pp-project-content p{font-size:15px;line-height:1.85;color:#52606b}
.pp-detail .pp-project-content .scope-list{padding:0;list-style:none;margin-top:24px;display:grid;gap:0}
.pp-detail .pp-project-content .scope-list li{padding:12px 0;border-top:1px solid var(--pp-line);font:400 14px/1.6 'DM Sans',Arial,sans-serif;color:#324459}
.pp-detail .pp-project-content .info-panel{padding:28px;background:#eae3d6;border:1px solid var(--pp-line);border-radius:8px}
.pp-detail .pp-project-content .info-panel h3{font-size:30px;line-height:1.15;color:var(--pp-ink);margin:12px 0}
.pp-detail .pp-project-content .info-panel .eyebrow{font-size:11px;color:#805e26}
.pp-detail .pp-project-content .info-panel a:not(.button){color:#77521e;font-size:13px}
.pp-detail .pp-project-content .button,.pp-detail .pp-project-next .button{background:var(--pp-ink);color:#fff;padding:14px 22px;display:inline-flex;font-size:13px}
.pp-detail .pp-project-content .main-video{display:block;width:100%;max-height:650px;aspect-ratio:16/9;background:#080e17;border-radius:8px;object-fit:contain}
.pp-detail .pp-project-content>.links{padding:24px 0;font-size:14px}
.pp-detail .pp-project-credits{max-width:1200px;width:calc(100% - 96px);margin:0 auto!important;padding:32px 0 48px!important;border-top:1px solid var(--pp-line);display:block}
.pp-detail .pp-project-credits .fc-card{background:transparent;border:0;padding:0;margin:0}
.pp-detail .pp-project-credits .fc-kicker{color:#805e26;font-size:11px}
.pp-detail .pp-project-credits h3{color:var(--pp-ink);font-size:30px;margin:10px 0 20px}
.pp-detail .pp-project-credits .fc-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:900px}
.pp-detail .pp-project-credits .fc-person{background:var(--pp-ink);border-radius:6px;min-width:0;margin:0}
.pp-detail .pp-project-credits .fc-person-copy strong{color:#fff}
.pp-detail .pp-project-credits .fc-person-copy>span{color:#c3cdda;font:400 13px/1.6 'DM Sans',Arial,sans-serif}
.pp-detail .pp-project-credits .fc-person-portrait{width:100px;min-width:100px;height:130px}
.pp-detail .pp-project-credits .fc-department-link{color:#77521e;font-size:13px;margin-top:20px}
.pp-detail .pp-project-next{max-width:1200px;width:calc(100% - 96px);margin:auto;padding:32px 0 56px;border-top:1px solid var(--pp-line);display:flex;justify-content:space-between;gap:24px;align-items:center}
.pp-detail .pp-project-next h2{font-size:36px;margin:8px 0}.pp-detail .pp-project-next .eyebrow{color:#805e26}.pp-detail .pp-project-next .links{display:flex;gap:24px;align-items:center;flex-wrap:wrap;font-size:14px}
@media(max-width:1000px){.hp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pp-list .pp-people{grid-template-columns:repeat(3,minmax(0,1fr))}.pp-list .pp-collaborations .project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pp-detail .pp-project-content .split{gap:32px}}
@media(max-width:650px){.hp-wrap,.pp-detail .pp-project-heading .p-container,.pp-detail .pp-project-content,.pp-detail .pp-project-credits,.pp-detail .pp-project-next{width:calc(100% - 40px)}.hp-grid,.pp-list .pp-collaborations .project-grid{grid-template-columns:1fr}.hp-section{padding-block:44px}.hp-card>a>img{aspect-ratio:2.5}.pp-list .pp-people{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pp-list .pp-people .fc-person-copy{padding:14px}.pp-list .pp-people strong{font-size:14px}.pp-list .pp-people .fc-person-copy>span{font-size:12px;min-height:0}.pp-detail .pp-project-heading{padding:40px 0 28px!important}.pp-detail .pp-project-heading .p-banner-bottom{flex-direction:column;align-items:start;gap:16px}.pp-detail .pp-project-content .split{grid-template-columns:1fr;gap:28px}.pp-detail .pp-project-preview{margin-bottom:28px}.pp-detail .pp-project-content .info-panel{padding:24px}.pp-detail .pp-project-credits .fc-people{grid-template-columns:1fr}.pp-detail .pp-project-next{flex-direction:column;align-items:start}.pp-detail .pp-project-next .links{gap:18px}.pp-detail .pp-project-credits .fc-person-portrait{width:90px;min-width:90px;height:120px}.pp-detail .pp-project-credits .fc-person-copy{min-width:0}.pp-list .pp-departments{gap:18px}.pp-list .pp-collaborations{padding-block:44px}}
/* Override legacy full-bleed and horizontal person-card rules on these routes. */
body.pp-detail main>.pp-project-content,body.pp-detail main>.pp-project-credits,body.pp-detail main>.pp-project-next{width:calc(100% - 96px)!important;max-width:1200px!important;margin-inline:auto!important;box-sizing:border-box}
body.pp-list .pp-people .fc-person{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;align-items:stretch!important}
body.pp-list .pp-people .fc-person-portrait{width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;aspect-ratio:1.15!important;flex:none!important}
body.pp-list .pp-people .fc-person-copy{width:100%;min-width:0;box-sizing:border-box;overflow-wrap:normal!important}
body.pp-list .pp-people .fc-person-copy strong{overflow-wrap:normal;word-break:normal}
body.pp-detail .pp-project-credits>.fc-card>.fc-person{max-width:520px}
@media(max-width:650px){body.pp-detail main>.pp-project-content,body.pp-detail main>.pp-project-credits,body.pp-detail main>.pp-project-next{width:calc(100% - 40px)!important}}
