/* Personal experience first; ventures and client work each have their own place. */
#about .foundation-track{margin-top:0;margin-bottom:65px}
#about .about-grid{padding-top:10px}
#about .foundation-track .foundation-composition{grid-template-columns:repeat(3,minmax(0,1fr));width:min(100%,1200px);gap:22px}
#about .foundation-track .credentials-intro{align-items:center}
#about .foundation-track .credential{padding:38px 24px 30px;min-height:240px}
#about .foundation-track .credential-title{font-size:clamp(58px,7vw,108px)}
#about .foundation-track .credential-title-engineering{font-size:clamp(27px,3.7vw,55px);letter-spacing:-.045em;line-height:1.15;margin:14px 0}
#about .foundation-track .credential-label{font-size:12px;line-height:1.6;grid-column:auto;max-width:25ch}
#about .foundation-track .foundation-mark{display:none}
#about .foundation-track.local-motion{height:130svh}
#about .foundation-track.local-motion .credentials.foundation-scene.reveal{padding-top:95px;padding-bottom:75px}

/* A concise close. Preserve the orbit artwork without pinning an empty screen. */
#contact.home-contact-compact,#contact.home-contact-compact.local-motion{height:auto;min-height:0;padding:55px var(--gutter) 65px;overflow:clip}
#contact.home-contact-compact .contact-pin.local-scene{position:relative;top:auto;height:auto;min-height:0;padding:0;overflow:visible;justify-content:flex-start}
#contact.home-contact-compact .contact-pin>.section-kicker{margin-bottom:24px}
#contact.home-contact-compact h2{font-size:clamp(54px,6.8vw,100px);line-height:.98;max-width:11ch}
#contact.home-contact-compact .contact-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.8fr);gap:18px 6%;align-items:start}
#contact.home-contact-compact h2{grid-row:1/5}
#contact.home-contact-compact .contact-bottom{display:flex;flex-wrap:wrap;margin:0;gap:14px 28px;max-width:100%}
#contact.home-contact-compact .contact-bottom p{font-size:13px;line-height:1.7}
#contact.home-contact-compact .contact-button{gap:17px;min-height:44px;font-size:13px}
#contact.home-contact-compact .contact-arrow{width:48px;height:48px;font-size:26px}
#contact.home-contact-compact .email-link{margin:0;justify-self:start;min-height:44px;font-size:14px}
#contact.home-contact-compact .contact-tools{margin:0;max-width:34ch}
#contact.home-contact-compact .home-contact-links{display:flex;flex-wrap:wrap;gap:0 18px;position:relative;z-index:6}
#contact.home-contact-compact .home-contact-links a{display:inline-flex;align-items:center;gap:.5em;min-height:44px;color:inherit;font-size:13px;text-decoration:underline;text-underline-offset:.3em}
#contact.home-contact-compact .contact-scene-art{display:block;inset:0 -5% 0 46%;opacity:.25}
#contact.home-contact-compact .contact-watermark{font-size:210px}
#contact.home-contact-compact .contact-pin::after{display:none}

@media(max-width:900px){
 #about .foundation-track .foundation-composition{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding-inline:12px}
 #about .foundation-track .credential:nth-child(2){grid-column:1/-1;min-height:140px}
 #about .foundation-track .credential{min-height:190px;padding:24px 20px}
 #about .foundation-track .credential-title-engineering{font-size:clamp(35px,7vw,52px);margin:6px 0}
 #about .foundation-track .credential-label{max-width:none;font-size:11px}
 #about .foundation-track.local-motion{height:auto}
 #about .foundation-track.local-motion .credentials.foundation-scene.reveal{position:relative;inset:auto;height:auto;min-height:0;padding:55px var(--gutter)}
 #about .foundation-track .credentials-intro{display:block}
 #about .foundation-track .credentials-intro p{font-size:14px;line-height:1.6;margin-top:14px}
 #contact.home-contact-compact .contact-content{grid-template-columns:minmax(0,1fr)}
 #contact.home-contact-compact h2{grid-row:auto;max-width:none;font-size:clamp(54px,9.5vw,78px)}
 #contact.home-contact-compact .contact-bottom{justify-content:flex-start;gap:16px 32px}
 #contact.home-contact-compact .contact-tools{max-width:none}
 #contact.home-contact-compact .contact-scene-art{inset:5% -20% 5% 30%;opacity:.16}
}
@media(max-width:480px){
 #about .foundation-track .credential{padding:24px 16px;min-height:170px}
 #about .foundation-track .credential-title{font-size:62px}
 #about .foundation-track .credential-title-engineering{font-size:39px}
 #about .foundation-track .foundation-composition{gap:12px;padding-inline:8px}
 #contact.home-contact-compact{padding-top:40px;padding-bottom:50px}
 #contact.home-contact-compact .section-side-label{display:none}
 #contact.home-contact-compact .contact-content{gap:18px}
 #contact.home-contact-compact h2{font-size:clamp(49px,12vw,66px)}
}
@media(prefers-reduced-motion:reduce){#about .foundation-track.local-motion{height:auto}}

/* Keep utility links out of the pinned character stage. */
.doc-cinematic-track .footer-links{flex-wrap:wrap;row-gap:8px}
.home-footer-tools{position:relative;margin:0;padding:18px var(--gutter) 22px;background:#151712;color:#d2c6ac;border-top:1px solid #d2c6ac2e;opacity:1;min-height:64px;gap:12px 24px}
.home-footer-tools>button{min-height:44px;padding:10px 18px}
.home-footer-tools>span{font-size:10px;line-height:1.7}
@media(max-width:600px){.home-footer-tools{padding-bottom:32px}.home-footer-tools>span{max-width:28ch}}
