/* Prominent central monogram with balanced navigation and contact labels. */
:root{--content-offset:0px;--contact-column:0px;--header-height:128px;--menu-surface:#f5f4f3}
html{scroll-padding-top:calc(var(--header-height) + 20px)}
body{padding-top:var(--header-height)}
.site-header{height:var(--header-height);padding:0;background:var(--menu-surface)}
.site-header .site-header-inner{display:grid;grid-template-columns:minmax(0,1fr) 92px minmax(0,1fr);grid-template-rows:1fr;align-items:center;width:calc(100% - var(--site-gutter)*2 - clamp(0px,calc(25vw - 210px),112px));max-width:1568px;height:100%;margin:auto;padding:0;gap:0}
.site-header .desktop-nav{grid-column:1;grid-row:1;justify-self:start;position:static;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;margin:0;padding:0;border:0;height:44px;gap:20px}
.site-header .desktop-nav a,html[lang=en] .site-header .desktop-nav a{font-size:calc(26px + 1pt);font-weight:300;height:44px;line-height:1.5;padding:0}
.site-header .desktop-nav a[aria-current=page]{font-weight:700}
.site-header .brand{grid-column:2;grid-row:1;justify-self:center;display:flex;align-items:center;justify-content:center;width:92px;height:88px;margin:0;padding:0;gap:0}
.site-header .brand-symbol{display:block;width:88px;height:80px;object-fit:contain}
.header-utilities{grid-column:3;grid-row:1;justify-self:end;display:flex;align-items:center;gap:6px}
.utility-link{position:relative;display:grid;place-items:center;flex:none;width:44px;height:44px;overflow:hidden;color:#171717;border-radius:2px;transition:width .32s cubic-bezier(.22,.61,.36,1)}
.utility-icon{display:flex;align-items:center;justify-content:center;opacity:1;transform:translateY(0) scale(1);transition:opacity .2s ease,transform .28s ease}
.utility-icon svg{display:block;width:34px;height:34px}
.utility-label{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;white-space:nowrap;font-family:Pretendard,Arial,sans-serif;font-size:26px;font-weight:300;line-height:1.4;opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .24s ease,transform .3s ease}
.utility-link:focus-visible,.floating-contact:focus-visible,.floating-tools .language-switch a:focus-visible{outline:2px solid #171717;outline-offset:3px}
@media(min-width:761px){
 .utility-link:focus-visible{width:168px}
 .utility-link:focus-visible .utility-icon{opacity:0;transform:translateY(-6px) scale(.85)}
 .utility-link:focus-visible .utility-label{opacity:1;transform:translateY(0)}
}
@media(min-width:761px) and (hover:hover){
 .utility-link:hover{width:168px}
 .utility-link:hover .utility-icon{opacity:0;transform:translateY(-6px) scale(.85)}
 .utility-link:hover .utility-label{opacity:1;transform:translateY(0)}
}
/* Equal outside space centres the existing portfolio, without a contact rail. */
.home .wrap{width:calc(100% - var(--site-gutter)*2 - clamp(0px,calc(50vw - 420px),224px));max-width:1456px;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}
/* Reduce portfolio media on desktop only; retain the original mobile layout. */
@media(min-width:761px){
 .home .portfolio-intro.wrap,.home .portfolio.wrap{width:calc((100% - var(--site-gutter)*2 - clamp(0px,calc(50vw - 420px),224px))*.88);max-width:1280px}
}
#portfolio-title.portfolio-statement{max-width:760px;margin:0 0 34px;color:#171717;letter-spacing:-.035em;line-height:1.25}
.portfolio-statement>span{display:block;width:fit-content}
.portfolio-statement .title-intro,.portfolio-statement .title-character{font-size:clamp(26px,2.7vw,36px);font-weight:200}
.portfolio-statement .title-character{margin-top:5px}
.portfolio-statement .title-character strong{font-weight:700}
.portfolio-statement .title-emphasis{margin-top:6px;font-size:clamp(48px,5vw,72px);font-weight:200;letter-spacing:-.04em}
.portfolio-statement .title-emphasis strong{font-weight:700}
.about-intro .about-statement{font-weight:200}
.about-statement>span{display:block}
html[lang=ko] .about-statement>span{white-space:nowrap}
.subpage .about-statement strong{font-weight:700}
@keyframes title-slide-in{
 from{opacity:0;transform:translateX(-38px)}
 to{opacity:1;transform:translateX(0)}
}
@media(prefers-reduced-motion:no-preference){
 .portfolio-statement>span{animation:title-slide-in .85s cubic-bezier(.22,.61,.36,1) both}
 .portfolio-statement .title-intro{animation-delay:.12s}
 .portfolio-statement .title-character{animation-delay:.42s}
 .portfolio-statement .title-emphasis{animation-delay:.72s}
}
.floating-tools{position:fixed;right:24px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:85;display:flex;flex-direction:column;align-items:center;gap:8px;width:156px}
.floating-tools .language-switch{display:flex;align-items:center;justify-content:center;align-self:center;margin:0;padding:0 9px;gap:8px;height:42px;min-width:110px;line-height:1;background:rgba(255,255,255,.96);border-radius:22px}
.floating-tools .language-switch a{display:flex;align-items:center;justify-content:center;min-width:34px;min-height:42px;padding:0;font-size:20px}
.floating-tools .language-switch span{font-size:14px;color:#aaa}
.floating-contact{position:relative;display:grid;place-items:center;flex:none;width:144px;height:56px;min-height:56px;padding:8px 12px;border-radius:30px;overflow:hidden;font-family:Pretendard,Arial,sans-serif;font-size:22px;font-weight:700;line-height:1.4;box-shadow:0 3px 12px #0000000d;transition:background .2s ease,transform .25s ease}
.floating-kakao{background:#fee500;color:#191919}
.floating-naver{background:#03c75a;color:#07391c}
.floating-whatsapp{background:#b6efd0;color:#164d34}
.floating-contact svg{width:28px;height:28px;flex:none}
.contact-default{display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;opacity:1;transform:translateY(0);transition:opacity .22s ease,transform .3s cubic-bezier(.22,.61,.36,1)}
.contact-expanded{position:absolute;inset:0;display:grid;place-items:center;font-size:20px;white-space:nowrap;opacity:0;transform:translateY(8px);transition:opacity .22s ease,transform .3s cubic-bezier(.22,.61,.36,1)}
html[lang=en] .floating-tools{width:188px}
html[lang=en] .floating-contact{width:188px;padding:8px 18px;font-size:18px}
html[lang=en] .floating-contact svg{width:30px;height:30px}
html[lang=en] .contact-default{gap:10px}
html[lang=en] .contact-expanded{font-size:20px}
@media(hover:hover) and (pointer:fine){
 .floating-contact:hover{transform:translateY(-2px)}
 .floating-contact:hover .contact-default{opacity:0;transform:translateY(-8px)}
 .floating-contact:hover .contact-expanded{opacity:1;transform:translateY(0)}
}
.floating-contact:focus-visible .contact-default{opacity:0;transform:translateY(-8px)}
.floating-contact:focus-visible .contact-expanded{opacity:1;transform:translateY(0)}
.mobile-nav:not([open]){display:none}
body.mobile-menu-open{overflow:hidden}
.mobile-nav{inset:0 0 0 auto;width:min(88vw,380px);max-width:none;height:100dvh;max-height:none;margin:0;padding:0 26px 40px;border:0;border-left:1px solid #d2d1ce;background:var(--menu-surface);color:#171717;overflow-y:auto;overscroll-behavior:contain}
.mobile-nav::backdrop{background:rgba(0,0,0,.32);backdrop-filter:blur(2px)}
.mobile-menu-top{height:var(--header-height);display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #cfcfcb}
.mobile-menu-top>span{font-size:16px;letter-spacing:.06em;font-weight:700}
.mobile-menu-close{display:grid;place-items:center;width:48px;height:48px;padding:0;font-size:40px;font-weight:200;line-height:1}
.mobile-nav .mobile-primary a{min-height:76px;padding:16px 0;gap:12px;font-size:24px;font-weight:300;line-height:1.4;border-bottom:1px solid #d6d5d1}
.mobile-nav .mobile-primary a[aria-current=page]{font-weight:700}
.mobile-nav-arrow{display:grid;place-items:center;flex:none;width:26px;height:26px;margin-left:auto;font-size:26px;font-weight:200;line-height:1}
.mobile-socials{margin-top:0}
.mobile-nav .mobile-socials a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:76px;padding:16px 0;font-size:24px;font-weight:300;line-height:1.4;border-bottom:1px solid #d6d5d1}
.mobile-socials svg{flex:none;width:26px;height:26px;margin-left:auto}
.mobile-nav[open]{display:flex;flex-direction:column}
.mobile-nav .mobile-menu-top,.mobile-nav .mobile-primary,.mobile-nav .mobile-socials{flex-shrink:0}
.mobile-menu-language{display:flex;justify-content:flex-end;margin-top:auto;padding-top:32px}
.mobile-menu-language .language-switch{position:static;display:flex;align-items:center;gap:8px;margin:0;padding:0;height:44px;background:none}
.mobile-menu-language .language-switch a{display:flex;align-items:center;justify-content:center;min-width:40px;min-height:44px;font-size:18px;font-weight:300;line-height:1}
.mobile-menu-language .language-switch a[aria-current=true]{font-weight:700}
.mobile-menu-language .language-switch>span{font-size:14px;color:#999}
@media(prefers-reduced-motion:no-preference){
 .mobile-nav[open]{animation:mobile-menu-in .32s cubic-bezier(.22,.61,.36,1)}
 .mobile-nav[open]::backdrop{animation:mobile-backdrop-in .25s ease}
}
@keyframes mobile-menu-in{from{transform:translateX(100%);opacity:.6}to{transform:translateX(0);opacity:1}}
@keyframes mobile-backdrop-in{from{opacity:0}to{opacity:1}}
.site-footer,.home .site-footer{padding-bottom:210px}
.consultation :is(input,textarea,button,a){scroll-margin-top:calc(var(--header-height) + 25px);scroll-margin-bottom:205px}
@media(min-width:761px) and (max-width:1100px){
 .home .portfolio-intro.wrap,.home .portfolio.wrap{width:calc((100% - var(--site-gutter)*2 - clamp(0px,calc(50vw - 420px),224px))*.94)}
 .site-header .desktop-nav{gap:20px}
 .site-header .desktop-nav a,html[lang=en] .site-header .desktop-nav a{font-size:calc(24px + 1pt)}
 .header-utilities{gap:2px}
 .utility-link{width:40px}
}
@media(max-width:760px){
 :root{--header-height:96px}
 .site-header .site-header-inner{width:calc(100% - 36px);grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr)}
 .site-header .desktop-nav{display:none}
 .site-header .brand{width:76px;height:72px}
 .site-header .brand-symbol{width:64px;height:64px}
 .header-utilities{display:none}
 .site-header .menu-toggle{grid-column:3;grid-row:1;justify-self:end;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;width:48px;height:48px;margin:0;padding:10px}
 .site-header .menu-toggle>span:not(.sr-only){width:28px;height:2px;background:#171717}
 .utility-link{width:44px;height:44px;overflow:visible}
 .utility-icon svg{width:28px;height:28px}
 .utility-label{display:none}
 .utility-link:active .utility-icon{opacity:.6}
 .home .wrap{width:calc(100% - 40px);padding-left:0;padding-right:0}
 #portfolio-title.portfolio-statement{margin-bottom:28px}
 .portfolio-statement .title-intro,.portfolio-statement .title-character{font-size:26px}
 .portfolio-statement .title-emphasis{font-size:48px}
 .subpage .about-intro .about-statement{font-size:clamp(38px,10vw,46px)}
 .floating-tools{right:12px;bottom:calc(12px + env(safe-area-inset-bottom));width:100px;gap:6px}
 .floating-contact{width:100px;height:38px;min-height:38px;padding:6px 8px;border-radius:22px;font-size:16px}
 .floating-contact svg{width:18px;height:18px}
 .contact-default{gap:5px}
 .contact-expanded{font-size:15px}
 html[lang=en] .floating-tools{width:100px}
 html[lang=en] .floating-contact{width:100px;padding:6px 8px;font-size:14px}
 html[lang=en] .floating-contact svg{width:18px;height:18px}
 html[lang=en] .contact-default{gap:5px}
 html[lang=en] .contact-expanded{font-size:15px}
 .floating-tools .language-switch{display:none}
 .site-footer,.home .site-footer{padding-bottom:calc(202px + env(safe-area-inset-bottom))}
 .consultation{scroll-margin-top:calc(var(--header-height) + 16px)}
 .home .consultation :is(input,textarea,button,a){scroll-margin-top:calc(var(--header-height) + 16px);scroll-margin-bottom:185px}
 #toast{bottom:190px}
}
@media(prefers-reduced-motion:reduce){
 .utility-link,.utility-icon,.utility-label,.floating-contact,.contact-default,.contact-expanded{transition:none}
}

@media(max-width:760px){
 html,body{max-width:100%;overflow-x:clip}
 main,.portfolio-copy,.consultation-copy,.consultation-field,.consultation-field input,.consultation-field textarea{min-width:0;max-width:100%}
 .portfolio-statement>span{max-width:100%}
 .portfolio-copy,.consultation-copy,.consultation-help,.consultation-submit,.consultation-kakao{overflow-wrap:anywhere}
}

/* Casual content-copy protection; enquiry fields stay editable and selectable. */
body{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
img,video{-webkit-user-drag:none;-webkit-touch-callout:none}
a,button{-webkit-touch-callout:none}
input,textarea,[contenteditable]:not([contenteditable="false"]),[data-allow-copy],[data-allow-copy] *{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
