/* Shared destinations, with one quiet set of external profiles at the end. */
html{scroll-padding-top:calc(var(--site-header-height,112px) + 16px)}
body .site-header{gap:18px}
body .site-header nav{gap:4px}
body .site-header nav a{display:inline-flex;align-items:center;min-height:44px;border:0;border-radius:0;padding:8px 10px}
body .site-header nav a[aria-current]{color:var(--ink,#252b25);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:7px}
body .site-header .languages{border:0;background:transparent;padding:0;gap:0}
body .site-header .languages button{min-height:44px;padding:6px 9px}
body .site-header .wordmark{min-width:0}
body .site-footer{max-width:1440px;margin:auto;padding:26px clamp(20px,4.5vw,72px) 30px;min-height:0;display:flex;align-items:center;justify-content:space-between;gap:18px 40px;flex-wrap:wrap;border-top:1px solid var(--line,#d7decc);background:transparent;color:var(--muted,#53645a)}
body .site-footer .profile-links{display:flex;align-items:center;flex-wrap:wrap;gap:6px 25px}
body .site-footer .profile-link{display:inline-flex;align-items:center;gap:5px;min-height:44px;font-size:16px;color:var(--ink,#252b25);text-decoration:none;white-space:nowrap}
body .site-footer .footer-utilities{display:flex;align-items:center;flex-wrap:wrap;gap:8px 22px}
body .site-footer .footer-utilities :is(a,button){display:inline-flex;align-items:center;min-height:44px;background:none;border:0;font:inherit;font-size:14px;color:inherit;text-decoration:none;cursor:pointer;padding:4px 0}
body .site-footer .back-to-sheet{justify-content:center;min-width:44px;font-size:23px!important}
body .site-footer a:hover{text-decoration:underline;text-underline-offset:5px}
body .site-footer :is(a,button):focus-visible{outline:2px solid var(--green,#405b3c);outline-offset:4px}
.project-pagination{max-width:1296px;margin:50px auto 0;padding:24px 28px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:25px}
.project-pagination .next-work{border:0;margin:0;padding:0;display:flex;align-items:center;gap:20px;max-width:75%}
.project-pagination .next-work strong{font-size:clamp(24px,3vw,36px)}
.project-pagination .return-to-list{display:inline-flex;align-items:center;min-height:44px;font-size:16px;white-space:nowrap}
.portfolio-home .work-card{display:flex;flex-direction:column;gap:0}
.work-main{display:block;color:inherit;text-decoration:none;border-radius:3px}
.work-main .card-copy{padding:20px 0 0}
.work-main h3{display:flex;justify-content:space-between;gap:15px}
.work-main .drawing-corner{display:none}
.work-main:hover h3{color:var(--green)}
.work-main:focus-visible{outline:2px solid var(--green);outline-offset:8px}
.work-card>.work-build{margin-top:0}
.work-main .card-copy h3 span{transition:translate .2s ease}
.work-main:hover h3 span{translate:3px 0}
:is(.work-card,.catalog-card,.catalog-index,.work-index,.about,.in-progress,.article-chapter,.article-method,.project-section,.demo-shell,.film-player){scroll-margin-top:0!important}
html:not([data-arrival-ready]) .arrival-scroll,html[data-arrival-quiet] .arrival-scroll,.arrival-scroll[hidden]{display:none}
body[data-craft-surface=entry] .site-footer{font-family:inherit}
@media(max-width:800px){
 body .site-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;padding:7px 20px;min-height:0}
 body .site-header .wordmark{grid-column:1;grid-row:1}
 body .site-header .languages{grid-column:2;grid-row:1}
 body .site-header nav{grid-column:1/-1;grid-row:2;margin:0;justify-content:space-between;width:100%;gap:0}
 body .site-header nav a{font-size:14px;padding:5px 3px}
 .project-pagination{margin-top:30px;padding:22px 20px;align-items:flex-start;gap:14px}
 .project-pagination .next-work{align-items:flex-end;flex-direction:column;gap:6px;text-align:right;min-width:0;max-width:65%}
 .project-pagination .next-work strong{font-size:25px;overflow-wrap:anywhere}
 body .site-footer{gap:8px 20px;padding-block:20px}
 body .site-footer .profile-links{justify-content:space-between;gap:4px 20px;width:100%}
 body .site-footer .footer-utilities{width:100%;gap:8px 22px}
 body .site-footer .back-to-sheet{margin-left:auto}
}
@media(max-width:370px){body .site-header{padding-inline:14px}body .site-header .languages button{padding-inline:7px}body .site-footer .profile-links{gap:4px 16px}}
@media(prefers-reduced-motion:reduce){.work-main .card-copy h3 span{transition:none}}

.catalog-detail .project-pagination .next-work{margin:0;padding:0}
