/* Scoped to the development preview; existing pages retain their styles. */
.pf-preview{max-width:1100px;margin:0 auto;padding:1rem 0 3rem;line-height:1.55}
.pf-preview h2{font-size:clamp(2.4rem,4vw,4rem);line-height:1.12;max-width:18ch;margin:1rem 0}
.pf-preview .pf-kicker{font:600 1.15rem/1.5 var(--font-ui,system-ui);letter-spacing:.12em;text-transform:uppercase;color:var(--ui-muted,currentColor);margin:0}
.pf-intro{font-size:1.8rem;max-width:65ch}
.pf-note{border-inline-start:3px solid var(--ui-accent,currentColor);padding:.75rem 1rem;font-size:1.4rem}
.pf-nav{display:flex;flex-wrap:wrap;gap:1rem;margin:2rem 0 3rem}
.pf-nav a,.pf-link{border:1px solid var(--ui-panel-border,#888);border-radius:6px;padding:.7rem 1rem;text-decoration:none}
.pf-preview a:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.pf-section{border-top:1px solid var(--ui-panel-border,#888);padding:2.5rem 0;scroll-margin-top:3rem}
.pf-heading h3{margin:.4rem 0;font-size:2.4rem}
.pf-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1.5rem}
.pf-card{background:var(--card-bg,transparent);border:1px solid var(--ui-panel-border,#888);border-radius:12px;overflow:hidden}
.pf-visual{min-height:105px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.4rem;background:#223b54;color:#f0f5fa}
.pf-visual>span:first-child{font-size:3.4rem;font-weight:700;line-height:1}
.pf-visual-label{font-size:1.3rem;max-width:20ch;text-align:right}
.pf-section:nth-of-type(2) .pf-visual{background:#493c6a}
.pf-section:nth-of-type(3) .pf-visual{background:#22594f}
.pf-section:nth-of-type(4) .pf-visual{background:#765122}
.pf-card-body{padding:1.5rem}
.pf-card-body h4{font-size:2rem;margin:.4rem 0}
.pf-tags{display:flex;flex-wrap:wrap;gap:.6rem;padding:0;list-style:none;margin:1rem 0}
.pf-tags li{border:1px solid var(--ui-panel-border,#888);padding:.25rem .7rem;border-radius:5px;font-size:1.2rem}
.pf-link{display:inline-block;margin-top:.7rem}
@media(max-width:500px){.pf-preview h2{font-size:2.6rem}.pf-nav{gap:.6rem}.pf-nav a{font-size:1.3rem}}
/* Compact preview layout. Scope theme overrides to these pages only. */
.content:has(.pf-preview){margin-top:1rem;margin-bottom:2rem}
.container:has(.pf-preview){max-width:1100px}
.container:has(.pf-preview)>header h1,.container:has(.pf-preview)>article>header h1{margin-top:1.2rem;margin-bottom:.8rem;font-size:2.6rem}
.pf-preview{padding-top:0}
.pf-preview:not(.pf-detail)>h2{max-width:32ch;font-size:clamp(2.5rem,3.6vw,3.8rem);margin:.6rem 0}
.pf-preview .pf-intro{margin:.8rem 0}
.pf-preview .pf-note{margin:1rem 0}
.pf-preview .pf-nav{margin:1rem 0 1.5rem}
.pf-preview .pf-section{padding:1.5rem 0}
.pf-preview .pf-detail h2,.pf-detail h2{font-size:2.5rem;max-width:none}
@media(max-width:600px){body:has(.pf-preview)>.float-container{position:relative;inset:auto;flex-direction:row;justify-content:flex-end;margin:.5rem 2rem 2rem;align-self:stretch}body:has(.pf-preview)>.float-container .font-switcher-panel{z-index:20} .pf-preview:not(.pf-detail)>h2{font-size:2.5rem;max-width:none}.pf-preview .pf-nav{margin:1rem 0}.pf-preview .pf-section{padding:1rem 0}}
/* Text-first exhibits: no simulated screenshots or decorative numbered panels. */
.pf-card-body{display:flex;flex-direction:column;height:100%;box-sizing:border-box}.pf-card-body .pf-link{margin-top:auto;align-self:flex-start}.pf-card-body h4 a{color:inherit}.pf-featured .pf-card{border-top:3px solid var(--ui-accent,#426b85)}.pf-card-body p:not(.pf-kicker){flex:1}.pf-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr))}.pf-detail section{border-top:1px solid var(--ui-panel-border,#888);padding:1rem 0}
/* Correct inherited justified prose and oversized card spacing seen in browser captures. */
.pf-preview p,.pf-preview li{text-align:start}
.pf-preview .pf-card-body{gap:.65rem}
.pf-preview .pf-card-body h4,.pf-preview .pf-card-body p,.pf-preview .pf-card-body ul{margin:0}
.pf-preview .pf-card-body .pf-tags{margin:.5rem 0;gap:.4rem}
.pf-preview .pf-card-body .pf-tags li{font-size:1.25rem;line-height:1.4;padding:.25rem .55rem}
.pf-preview .pf-card-body .pf-link{font-size:1.4rem;margin-top:auto}
.pf-preview .pf-card-body p:not(.pf-kicker){font-size:1.55rem;line-height:1.5;flex:1}
.pf-preview .pf-card-body .pf-kicker{font-size:1.05rem;letter-spacing:.09em}
.pf-preview .pf-card-body h4{font-size:2.1rem;line-height:1.25}
.pf-detail{max-width:850px}
/* Authentic project exhibits; images preserve aspect ratio without fabricated placeholders. */
.pf-exhibit{margin:1.8rem 0}.pf-exhibit img{display:block;width:100%;height:auto;border:1px solid var(--ui-panel-border,#888);border-radius:.5rem}.pf-exhibit figcaption{font-size:1.3rem;line-height:1.55;margin-top:.7rem}.pf-card{display:flex;flex-direction:column}.pf-card-image{display:block;background:#e8e9e8}.pf-card-image img{display:block;width:100%;height:17rem;object-fit:contain}.pf-card-body{flex:1;height:auto}
/* Homepage: keep the original interactive business card, give selected work priority. */
.pf-home{padding:1.2rem 2rem 3rem}.pf-home .pf-home-hero{padding:1.2rem 0 2.4rem;min-height:0;overflow:visible}.pf-home .home-single{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:3rem;max-width:none;align-items:center;text-align:start}.pf-home .home-avatar{max-width:34rem;margin:0 auto}.pf-home .business-card{min-height:0;border-radius:16px}.pf-home .home-body{align-items:flex-start;min-width:0}.pf-home .home-body h1{font-size:clamp(3.2rem,4vw,4.8rem);text-align:start;margin:0 0 1rem}.pf-home .home-body p{margin:0 0 1rem;text-align:start}.pf-home .home-body ul{justify-content:flex-start;margin:.5rem 0}.pf-home .pf-heading h2{font-size:2.8rem;margin:.4rem 0 1rem}.pf-featured .pf-heading h2{font-size:2.8rem;margin:.4rem 0 1rem}.pf-home .pf-card-body h4{font-size:2.1rem}@media(max-width:700px){.pf-home .home-single{grid-template-columns:1fr;gap:1.2rem}.pf-home .home-body{grid-row:1}.pf-home .home-avatar{max-width:25rem;margin:1rem auto}.pf-home .home-body h1{font-size:3.2rem}.pf-home .home-body p{font-size:1.6rem}.pf-home .pf-home-hero{padding:1rem 0 2rem}.pf-home .home-body ul{gap:.5rem}.pf-home .home-body ul li a{padding:.55rem .8rem}}

.pf-progress{font-size:1.3rem;border-top:1px solid var(--ui-panel-border,#888);padding:.7rem 0;display:grid;gap:.35rem;line-height:1.4}.pf-progress-label{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem;flex-wrap:wrap}.pf-progress-label strong{font-size:1.8rem;font-variant-numeric:tabular-nums}.pf-progress progress{width:100%;height:.65rem;accent-color:var(--ui-accent,#39806a)}.pf-progress small{font-size:1.2rem}.pf-detail .pf-progress{max-width:58rem}.pf-detail .pf-progress p{margin:.5rem 0}

.pf-coming-soon{border:1px dashed var(--ui-panel-border,#888);border-radius:10px;padding:1.1rem 1.4rem;max-width:65rem}.pf-coming-soon p{margin:0 0 .4rem;font-size:1.5rem}.pf-coming-soon .pf-link{margin-top:.4rem}.search-page #search-discipline,.search-page #search-sort{max-width:100%;margin:.4rem .7rem .7rem 0}
