/* Photo-overlay titles retain their existing white text; other accents are editable. */
.minimal #site h1,.minimal #site .wordmark,.minimal #site .contact-button,.social #site h1,.social #site .wordmark,.social #site .contact-button,.flat #site .flat-brand,.flat #site .flat-section-title h2,.flat #site .flat-work h3{color:var(--portfolio-text-accent)}
.flat #site .flat-contact{background:var(--portfolio-accent);color:var(--portfolio-on-accent)}
.flat #site .flat-contact-button{color:inherit;border-bottom-color:currentColor}.flat #site .flat-contact>span{color:inherit;opacity:.8}
#site h1,#site h2,#site h3,#site .wordmark,#site .tpl-brand,#site .flat-brand{overflow-wrap:anywhere}
/* Multi-column studio cards stack captions rather than squeezing a second grid inside. */
.layout-custom[data-columns="2"] .studio-grid .tpl-frame,.layout-custom[data-columns="3"] .studio-grid .tpl-frame{display:block}
.layout-custom[data-columns="2"] .studio-grid .tpl-caption,.layout-custom[data-columns="3"] .studio-grid .tpl-caption{margin-top:16px}
