/* V9 additions: scoped footer and legal documents only. */
.portfolio-footer{box-sizing:border-box;display:block;clear:both;margin:48px 32px 0;padding:0 0 24px;font-family:"Roboto Mono",monospace;font-size:11px;font-weight:300;line-height:1.75;letter-spacing:.03em;text-align:left;color:#111;}
.portfolio-footer p{margin:0;padding:0;font:inherit;letter-spacing:inherit;line-height:inherit;}
.portfolio-footer span{white-space:nowrap;}
.portfolio-footer a,.legal-document a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;}
.portfolio-footer a:focus-visible,.legal-document a:focus-visible{outline:1px solid currentColor;outline-offset:4px;}
body.theme-dark .portfolio-footer,body.theme-dark .legal-document{color:#eee;}
.legal-document{box-sizing:border-box;width:100%;max-width:940px;padding:104px 32px 64px;font-family:"Roboto Mono",monospace;font-size:12px;font-weight:300;line-height:1.8;letter-spacing:.015em;color:#111;overflow-wrap:anywhere;}
.legal-document h1{font-family:inherit;font-size:14px;font-weight:300;line-height:1.5;letter-spacing:.04em;margin:0 0 32px;}
.legal-document h2{font-family:inherit;font-size:12px;font-weight:400;line-height:1.6;letter-spacing:.03em;margin:36px 0 14px;}
.legal-document p{font:inherit;line-height:inherit;letter-spacing:inherit;margin:0 0 16px;}
.legal-document ul{margin:0 0 20px;padding-left:20px;}
.legal-document li{margin:0 0 10px;}
.legal-document .legal-draft-note{font-size:11px;line-height:1.7;margin-bottom:32px;}
body.v9-legal-page.theme-dark{background:#111;}
@media(max-width:767px){.portfolio-footer{margin:36px 16px 0;padding-bottom:20px;font-size:11px;line-height:1.9;}.legal-document{padding:88px 16px 40px;font-size:12px;}.legal-document h1{font-size:14px;}}

/* Use existing Contact whitespace for the in-flow footer, avoiding a new scrollbar. */
body.v9-contact-page{display:flex;flex-direction:column;min-height:100svh;}
body.v9-contact-page>.about-section{height:auto!important;min-height:0!important;flex:1 0 auto;}
body.v9-contact-page>.portfolio-footer{flex:none;}

body.v9-legal-page{background:#fff;color:#111;}body.v9-legal-page.theme-dark{background:#111;color:#eee;}
body.v9-legal-page.theme-dark .site-header{background-color:#111!important;color:#eee!important;}
body.v9-legal-page .site-header a,body.v9-legal-page .site-header .portfolio-mobile-menu-button{color:inherit!important;}
