/* Shared, centered contact and language footer across the portfolio. */
.portfolio-footer{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;width:min(1120px,calc(100% - 48px));margin:64px auto 0;padding:40px 0 36px;border:0;text-align:center;color:#202023;font-family:Inter,'Noto Sans JP','Noto Sans KR',sans-serif}
.portfolio-footer__contacts{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 24px;margin:0;padding:0}
.portfolio-footer__contacts a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:4px 0;border:0;color:#202023;font-size:12px;font-weight:500;line-height:1.6;text-decoration:none;overflow-wrap:anywhere}
.portfolio-footer__contacts a:hover{color:#575cd6}
.portfolio-footer .footer-language-switch{display:flex;align-items:center;justify-content:center;gap:6px;margin:0;padding:0}
.portfolio-footer .lang-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 11px;border:0;border-radius:6px;background:transparent;color:#696970;font:500 12px/1.4 Inter,'Noto Sans JP','Noto Sans KR',sans-serif;text-decoration:none;cursor:pointer}
.portfolio-footer .lang-button:hover{background:#f0f0f2;color:#202023}
.portfolio-footer .lang-button.active,.portfolio-footer .lang-button[aria-pressed="true"]{background:#202023;color:#fff;text-decoration:none}
.portfolio-footer a:focus-visible,.portfolio-footer button:focus-visible{outline:2px solid #575cd6;outline-offset:4px}
.portfolio-footer .portfolio-footer__copyright{margin:0;color:#77777c;font-size:10px;line-height:1.6}
body .portfolio-project-navigation{border:0}
@media(max-width:600px){.portfolio-footer{width:calc(100% - 40px);margin-top:48px;padding:28px 0;gap:14px}.portfolio-footer__contacts{flex-direction:column;gap:0}.portfolio-footer__contacts a{font-size:11px}}

/* Empty decorative pseudo-elements preserve each link's existing accessible name. */
.portfolio-footer__contacts a{gap:8px}
.portfolio-footer__contacts a::before{content:"";display:block;flex:0 0 16px;width:16px;height:16px;background-image:var(--footer-contact-icon);background-position:center;background-size:contain;background-repeat:no-repeat}
.portfolio-footer__contacts a[href^="https://www.linkedin.com/in/"]{--footer-contact-icon:url("assets/footer/linkedin.svg")}
.portfolio-footer__contacts a[href="mailto:kim93yohan@gmail.com"]{--footer-contact-icon:url("assets/footer/envelope.svg")}

/* A full-width transition band, not a background limited to its button. */
body .portfolio-next-section{--next-bg:#edf0ea;--next-ink:#294034;display:flex;align-items:center;justify-content:space-between;gap:24px;width:calc(100% - 80px);max-width:1160px;margin:64px auto 0;padding:48px 0;background:var(--next-bg);color:var(--next-ink);box-shadow:0 0 0 100vmax var(--next-bg);clip-path:inset(0 -100vmax);border:0}
body.project-snapside .portfolio-next-section{--next-bg:#242921;--next-ink:#f0f2eb}
body.lt-narrative .portfolio-next-section{--next-bg:#eae3e9;--next-ink:#443640;width:100%;padding:48px 0}
body.wivlo-case-study-page .portfolio-next-section{--next-bg:#e7eef7;--next-ink:#253e60}
body.project-moneymate .portfolio-next-section{--next-bg:#e9edf5;--next-ink:#303c58}
body .portfolio-next-section>span,body .portfolio-next-section a>span{font:500 12px/1.5 Inter,sans-serif;color:var(--next-ink);opacity:.7}
body .portfolio-next-section>a{font-size:clamp(28px,4vw,48px);line-height:1.25;font-weight:500;letter-spacing:-.03em;color:var(--next-ink);text-decoration:none}
body.lt-narrative .portfolio-next-section .ln-next-card{display:flex;justify-content:space-between;align-items:center;width:100%;padding:0;min-height:0;background:transparent;border-radius:0;color:var(--next-ink)}
body.lt-narrative .portfolio-next-section .ln-next-card strong{font-size:clamp(28px,4vw,48px);font-family:Inter,sans-serif;font-weight:500}
@media(max-width:600px){body .portfolio-next-section{width:calc(100% - 40px);margin-top:40px;padding:36px 0}body.lt-narrative .portfolio-next-section{padding:36px 0}}
body .portfolio-next-section.mg-next-full{width:100%;max-width:none;padding:0;box-shadow:none;clip-path:none}
body .portfolio-next-section.mg-next-full>a{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;padding:48px max(20px,calc((100% - 1160px)/2));color:var(--next-ink)}
body .portfolio-next-section.mg-next-full strong{font:inherit}
body .portfolio-next-section.mg-next-full>a:focus-visible{outline:3px solid #486946;outline-offset:-6px}
@media(max-width:600px){body .portfolio-next-section.mg-next-full>a{padding:36px 20px}}
