/* 포트폴리오 전용 부품. pickle.css 다음에 불러온다. 값은 pickle.css 토큰만 쓴다. */

[hidden]{display:none!important}

/* 이미지 자리:파일이 없으면 그라데이션 + 넣어야 할 경로를 보여 준다 */
.s-ph{display:grid;place-items:center;width:100%;height:100%}
.s-ph__label{position:relative;z-index:1;max-width:90%;padding:6px 12px;border-radius:var(--r-pill);background:rgba(255,255,255,.7);color:var(--ink-3);font-family:var(--mono);font-size:12px;letter-spacing:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.s-fill{position:absolute;inset:0}
.s-cover{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s var(--ease-out)}


/* 섹션 머리 */
.s-head{text-align:center;margin-bottom:56px}
.s-head .p-h2{margin-top:23px}
.s-head .p-lead--grey{max-width:560px;margin:20px auto 0}
.s-more{display:flex;justify-content:center;margin-top:56px}

/* 프로필 카드 */
.s-profile{display:grid;grid-template-columns:220px minmax(0,1fr);gap:48px;align-items:center;padding:40px;border-radius:var(--r-tile);background:var(--face)}
.s-profile__photo{aspect-ratio:1;overflow:hidden;border-radius:var(--r-tile);background:var(--bg)}
.s-profile__name{font-size:32px;font-weight:var(--w-semibold);line-height:1.3;letter-spacing:-.01em}
.s-profile__name span{margin-left:8px;font-size:20px;color:var(--fg-3)}
.s-profile__role{margin-top:4px;font-size:18px;color:var(--fg-2)}
.s-profile__meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.s-profile__summary{margin-top:20px;color:var(--fg-2)}
.s-profile__actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}
@media (width<=700px){
  .s-profile{grid-template-columns:minmax(0,1fr);gap:24px;padding:24px;border-radius:var(--r-card)}
  .s-profile__photo{width:120px;border-radius:var(--r-card)}
  .s-profile__name{font-size:26px}
  .s-profile__name span{display:block;margin:2px 0 0;font-size:16px}
}

/* 이력(경력·학력) */
.s-cv{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:16px;align-items:start}
.s-cv__side{display:grid;gap:16px}
.s-cv .p-panel{padding:32px}
.s-cv .p-panel__title{font-size:20px;line-height:1.4}
.s-exp{display:grid;grid-template-columns:52px minmax(0,1fr);gap:18px;padding:28px 0;border-top:1px solid var(--rule)}
.s-exp:first-of-type{margin-top:20px}
.s-exp:last-child{padding-bottom:0}
.s-exp__logo{width:52px;height:52px;overflow:hidden;border-radius:var(--r-item);background:var(--face)}
.s-exp__logo .s-ph__label{display:none}
.s-exp__role{font-size:18px;font-weight:var(--w-semibold);line-height:1.4}
.s-exp__org{font-size:16px;color:var(--fg-2)}
.s-exp__when{margin-top:2px;font-size:14px;color:var(--fg-3)}
.s-exp__desc{margin-top:12px;font-size:16px;line-height:1.6}
.s-exp ul{margin-top:8px;padding-left:20px;font-size:15px;line-height:1.6;color:var(--fg-2)}
.s-exp li+li{margin-top:4px}
.s-skill+.s-skill{margin-top:20px}
.s-skill__name{font-size:14px;font-weight:var(--w-medium);color:var(--fg-3)}
.s-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.s-tags .p-badge{height:28px;padding:0 12px;font-size:14px}
.s-cert{padding:16px 0;border-top:1px solid var(--rule)}
.s-cert:first-of-type{margin-top:16px}
.s-cert__name{font-size:16px;font-weight:var(--w-semibold)}
.s-cert__org{font-size:14px;color:var(--fg-3)}
@media (width<=900px){.s-cv{grid-template-columns:minmax(0,1fr)}}
@media (width<=700px){.s-cv .p-panel{padding:24px}.s-exp{grid-template-columns:40px minmax(0,1fr);gap:14px}.s-exp__logo{width:40px;height:40px}}

/* 프로젝트·글 카드 꼬리 */
.p-postcard__media img{width:100%;height:100%;object-fit:cover}
.s-cardtags{display:flex;flex-wrap:wrap;gap:6px;margin-top:-4px}

/* 넓은 첫 글 */
.s-feature-post{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:40px;align-items:center;margin-bottom:64px}
.s-feature-post .p-postcard__title{font-size:32px;line-height:1.35}
@media (width<=700px){.s-feature-post{grid-template-columns:minmax(0,1fr);gap:16px}.s-feature-post .p-postcard__title{font-size:24px}}

/* 필터(세그먼트를 토글 버튼으로) */
.s-filter{margin-top:12px;flex-wrap:wrap;border-radius:var(--r-box)}
.s-filter button[aria-pressed=true]{background:var(--bg);color:var(--fg);box-shadow:0 1px 3px rgba(0,0,0,.1)}
.s-filter button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
[data-filter-item][hidden]{display:none}

/* 수상 타일(다크) */
.s-award{width:100%;border:0;font:inherit;cursor:pointer}
.s-award .p-tile__visual{background:var(--d-3)}
.s-award .p-tile__visual img{transition:transform .6s var(--ease-out)}
.s-award:hover .p-tile__visual img{transform:scale(1.04)}
.s-award:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.s-award .p-tile__label{display:block;margin-bottom:6px}
.s-awards{width:min(980px,100% - var(--gutter)*2);margin:68px auto 0}
.s-dialog{width:min(640px,100% - 32px)}
.s-dialog__media{aspect-ratio:4/3;overflow:hidden;border-radius:var(--r-card) var(--r-card) 0 0;background:var(--surface)}
.s-dialog__meta{font-size:14px;color:var(--ink-3)}

/* 최근 글 목록 */
.s-list{display:grid;gap:12px}

/* 프로젝트 상세 */
.s-facts{display:grid;grid-template-columns:repeat(var(--n,4),minmax(0,1fr));gap:16px;margin:56px auto 0}
.s-facts .p-card{padding:24px}
.s-facts dt{font-size:14px;color:var(--fg-3)}
.s-facts dd{margin:6px 0 0;font-size:17px;font-weight:var(--w-semibold);line-height:1.45}
.s-facts dd .s-tags{margin-top:0}
.s-facts dd .p-badge{height:26px;font-size:13px}
.s-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:24px}
.s-toc a[aria-current=true]{padding-left:13px;color:var(--ink);font-weight:var(--w-semibold);border-left-color:var(--ink)}
.s-block+.s-block{margin-top:24px}
.p-article__body section+section{margin-top:72px}
.p-article__body section{scroll-margin-top:calc(var(--topbar-h) + 24px)}
.p-article__body h3{margin:40px 0 12px;font-size:20px;font-weight:var(--w-semibold);line-height:1.4}
.s-fig img{display:block;width:100%;border-radius:var(--r-media)}
.s-fig .s-ph{width:100%;border-radius:var(--r-media)}
.s-fig .s-ph{aspect-ratio:16/10}
.s-fig figcaption{margin-top:10px;font-size:14px;line-height:1.45;color:var(--ink-3)}
.s-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.s-gallery .s-fig img,.s-gallery .s-fig .s-ph{aspect-ratio:3/4;object-fit:cover}
.s-statrow{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.s-statrow .p-card{padding:22px}
.s-statrow .p-stat__value{font-size:26px}
.s-quote{padding:4px 0 4px 20px;border-left:2px solid var(--ink)}
.s-quote p{font-size:22px!important;line-height:1.45!important;font-weight:var(--w-semibold)}
.s-quote cite{display:block;margin-top:8px;font-size:14px;font-style:normal;color:var(--ink-3)}
.s-code{overflow-x:auto;padding:20px 24px;border-radius:var(--r-box);background:var(--surface);font-family:var(--mono);font-size:14px;line-height:1.6;letter-spacing:0}
.s-pager{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:64px}
.s-pager .p-linkcard--prev{flex-direction:row-reverse;text-align:right}
.s-pager .p-linkcard--prev .p-icon{transform:scaleX(-1)}
@media (width<=900px){.s-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (width<=700px){.s-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.s-pager{grid-template-columns:minmax(0,1fr)}.s-facts{grid-template-columns:minmax(0,1fr)}}

/* 블로그 글 꼬리 */
.s-posttags{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:20px}
.p-prose img{width:100%;border-radius:var(--r-media)}

/* 연락처 */
.s-mail{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:36px 40px;border-radius:var(--r-tile);background:var(--face)}
.s-mail__label{font-size:15px;color:var(--fg-3)}
.s-mail__value{margin-top:4px;font-size:32px;font-weight:var(--w-semibold);letter-spacing:-.01em;line-height:1.3;word-break:break-all}
.s-channels{margin-top:16px;--gap:12px}
.s-channels .p-linkcard{height:100%}
.s-channel__icon{width:44px;height:44px;flex:none;display:grid;place-items:center;border-radius:50%;background:var(--face)}
.s-details{margin-top:16px;padding:8px 28px;border-radius:var(--r-card);background:var(--face)}
.s-details div{display:flex;justify-content:space-between;gap:16px;padding:16px 0;font-size:16px}
.s-details div+div{border-top:1px solid var(--rule)}
.s-details dt{color:var(--fg-3)}
.s-details dd{font-weight:var(--w-semibold);text-align:right}
.s-form{display:grid;gap:16px;margin-top:16px}
.s-form .p-btn{justify-self:start}
@media (width<=700px){
  .s-mail{flex-direction:column;align-items:flex-start;padding:24px;border-radius:var(--r-card)}
  .s-mail__value{font-size:24px}
  .s-details{padding:4px 20px}
}

/* 회색 면 위 보조 버튼은 흰 면으로 */
.s-profile .p-btn--secondary,.s-mail .p-btn--secondary{background:var(--bg)}
.s-profile .p-btn--secondary:hover,.s-mail .p-btn--secondary:hover{background:var(--surface-hover)}


/* 언어 전환: 메뉴 글자와 구분되는 작은 세그먼트 알약 */
.s-langseg{display:inline-flex;gap:2px;padding:3px;border-radius:var(--r-pill);background:rgba(0,0,0,.06)}
.s-langseg a{display:grid;place-items:center;height:28px;min-width:36px;padding:0 9px;border-radius:var(--r-pill);font-size:13px;font-weight:var(--w-semibold);letter-spacing:.02em;color:var(--ink-3);transition:color var(--t-fast),background-color var(--t-fast)}
.s-langseg a:hover{color:var(--ink)}
.s-langseg a[aria-current=true]{background:var(--white);color:var(--black);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.s-langseg a:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.p-topbar[data-theme=dark] .s-langseg{background:rgba(255,255,255,.14)}
.p-topbar[data-theme=dark] .s-langseg a{color:rgba(255,255,255,.6)}
.p-topbar[data-theme=dark] .s-langseg a:hover{color:var(--white)}
.p-topbar[data-theme=dark] .s-langseg a[aria-current=true]{background:var(--white);color:var(--black)}
.p-nav .s-langseg{margin-right:4px}
@media (width<=700px){.s-langseg a{height:26px;min-width:32px;padding:0 7px;font-size:12px}}

.p-logo{white-space:nowrap}

/* 사용자 로고 심볼 */
.s-mark{display:block;width:auto;height:25px;flex:none}
.p-footer__meta .s-mark{height:20px;align-self:flex-start}
@media (width<=700px){.s-mark{height:22px}}

/* 워드마크 로고 */
.s-wordmark{display:block;width:auto;height:22px;flex:none}
.p-footer__meta .s-wordmark{height:18px;align-self:flex-start}
@media (width<=700px){.s-wordmark{height:19px}}

/* 학교·회사 로고: 엠블럼이 잘리지 않게 */
.s-exp__logo img{object-fit:contain;padding:3px;background:var(--white)}

/* 링크 미리보기 카드 */
.s-dialog__links{display:grid;gap:8px;margin-top:20px}
.s-dialog__links:empty{display:none}
.s-linkprev{display:flex;align-items:center;gap:14px;padding:10px 16px 10px 10px;border:1px solid var(--line);border-radius:var(--r-box);color:var(--ink);transition:background-color var(--t-fast)}
.s-linkprev:hover{background:var(--surface)}
.s-linkprev:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.s-linkprev__thumb{width:120px;aspect-ratio:2/1;flex:none;overflow:hidden;border-radius:var(--r-item);background:var(--surface)}
.s-linkprev__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.s-linkprev__thumb .s-ph__label{display:none}
.s-linkprev__text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.s-linkprev__title{font-size:15px;font-weight:var(--w-semibold);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.s-linkprev__source{font-size:13px;color:var(--ink-3)}
.s-linkprev .p-icon{flex:none;color:var(--ink-4)}
@media (width<=700px){.s-linkprev__thumb{width:88px}}

/* 수상 타일 위 링크 표시 */
.s-award .p-tile__visual{position:relative}
.s-award__badge{position:absolute;left:12px;bottom:12px;display:inline-flex;align-items:center;gap:4px;height:26px;padding:0 10px;border-radius:var(--r-pill);background:rgba(0,0,0,.55);color:var(--white);font-size:12px;font-weight:var(--w-medium);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.s-award:hover .p-tile__visual .s-award__badge{transform:none}

/* 파티클 히어로 */
.s-particles{position:absolute;inset:0;z-index:0;touch-action:pan-y}
.s-hero--particles .p-hero__frame{cursor:pointer}
.s-hero--particles .p-hero__text{top:50%;transform:translate(-50%,-50%);z-index:1;pointer-events:none}
.s-hero--particles .p-hero__down{z-index:1}



/* 큰 파티클 위 제목 가독성: 흐린 흰 빛 */
.s-hero--particles .p-hero__text::before{content:"";position:absolute;inset:-48px -80px;z-index:-1;border-radius:50%;background:radial-gradient(closest-side,rgba(246,245,255,.92),rgba(246,245,255,.7) 55%,rgba(246,245,255,0));pointer-events:none}
.s-hero--particles .p-display,.s-hero--particles .p-sub{text-shadow:0 0 18px rgba(255,255,255,.9)}

/* 첫 진입: 제목이 먼저 떠오르고, 이어서 타일이 돋아난다 */
@keyframes s-hero-in{from{opacity:0;transform:translate(-50%,calc(-50% + 18px))}to{opacity:1;transform:translate(-50%,-50%)}}
@keyframes s-hero-sub{from{opacity:0}to{opacity:1}}
.js .s-hero--particles .p-hero__text{animation:s-hero-in .9s cubic-bezier(.2,.8,.2,1) both .1s}
.js .s-hero--particles .p-sub{animation:s-hero-sub .7s ease both .55s}
.js .s-hero--particles .p-hero__down{animation:s-hero-sub .6s ease both 2.4s}
@media (prefers-reduced-motion:reduce){.js .s-hero--particles .p-hero__text,.js .s-hero--particles .p-sub,.js .s-hero--particles .p-hero__down{animation:none}}

@media (width<=700px){.s-hero--particles .p-hero__text{width:calc(100% - 40px)}.s-hero--particles .p-display{font-size:28px;word-break:keep-all}}
@media (width<=700px){.p-hero .p-hero__text{width:calc(100% - 40px)}.p-hero .p-display{font-size:28px}.p-hero .s-hide-sm{display:none}}

/* 프로필 히어로(기본): 왼쪽 사진, 오른쪽 이름 · 비전 · 관심 분야 · 핵심 이력 · 바로가기. 배경은 복숭아색 점 */
.s-hero--profile{--hero-bg:linear-gradient(180deg,#eaf3fc 0%,#fbf1ea 100%);--dot:#cfe2f6;--dot2:#f7cbb2}   /* 히어로 '노을': 바탕은 하늘→복숭아, 점도 위 하늘색→아래 복숭아색(--dot→--dot2). 2026-11-18 17개 시안 중 사용자 선택 */
.s-hero--profile .p-hero__frame{background:var(--hero-bg)}
.s-dots{position:absolute;inset:0;width:100%;height:100%}
.s-hero--profile .s-hp{top:calc(50% + 24px);transform:translate(-50%,-50%);width:min(1060px,100% - 80px);z-index:1;display:grid;grid-template-columns:minmax(0,380px) minmax(0,1fr);gap:64px;align-items:center;text-align:left}
.s-hp__photo{aspect-ratio:4/5;border-radius:32px;overflow:hidden;background:var(--white);box-shadow:0 24px 60px rgba(120,70,30,.12)}
.s-hp__photo img,.s-hp__photo .s-ph{width:100%;height:100%;object-fit:cover}
.s-hp__name{margin-bottom:20px;font-size:18px;font-weight:var(--w-semibold);letter-spacing:-.01em;color:#1d1d1f}
.s-hp__name>span{margin-left:6px;opacity:.5}
.s-hp__name .s-hp__role{display:block;margin:4px 0 0;opacity:1;font-size:15px;font-weight:var(--w-medium);color:#424245}
.s-hp .p-display{font-size:52px}
.s-hp .p-sub{margin-top:12px;font-size:19px;font-weight:var(--w-medium);color:#424245}
.s-hp__tags{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 0;padding:0;list-style:none}
.s-hp__tags li{display:inline-flex;align-items:center;height:32px;padding:0 14px;border-radius:999px;font-size:14px;font-weight:var(--w-medium);color:#1d1d1f;background:var(--white);border:1px solid rgba(0,0,0,.06)}
.s-hp__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:540px;margin:16px 0 0}
.s-hp__facts>div{padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.82);border:1px solid rgba(0,0,0,.05)}
.s-hp__facts dt{font-size:12px;font-weight:var(--w-medium);color:#6e6e73}
.s-hp__facts dd{margin:4px 0 0;font-size:15px;font-weight:var(--w-semibold);letter-spacing:-.01em;color:#1d1d1f}
.s-hp__cta{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.s-hp__cta .p-btn--glass{background:var(--white)}
.s-about__summary{max-width:720px;margin:0 auto 40px;color:#424245;text-align:center} /* 제목이 가운데라 문단도 가운데로 */
@media (width<=900px){.s-hero--profile .s-hp{grid-template-columns:minmax(0,260px) minmax(0,1fr);gap:36px;width:calc(100% - 56px)}.s-hp .p-display{font-size:40px}}
@media (width<=700px){
  .s-hero--profile .s-hp{top:calc(50% + 22px);grid-template-columns:1fr;gap:18px;width:calc(100% - 32px)}
  .s-hp__photo{width:96px;border-radius:24px;aspect-ratio:1}
  .s-hp__name{margin-bottom:12px;font-size:15px}.s-hp__name .s-hp__role{font-size:13px}
  .s-hp .p-display{font-size:28px}
  .s-hp .p-sub{margin-top:8px;font-size:15px}
  .s-hp__tags{margin-top:16px;gap:6px}.s-hp__tags li{height:28px;padding:0 11px;font-size:13px}
  .s-hp__facts{gap:8px;margin-top:12px}
  .s-hp__facts>div{padding:10px 12px;border-radius:14px}.s-hp__facts dd{font-size:13px}
  .s-hp__cta{margin-top:18px}
}
/* 한영 전환해도 상단바 항목 자리가 그대로 있게 폭을 고정 */
@media (width>700px){.p-topbar .p-nav__link{min-width:66px;text-align:center}.p-topbar .p-nav>.p-btn:not(.p-btn--icon){min-width:100px;justify-content:center}}
/* 홈은 검정 수상 영역(아래만 81px 둥긂)으로 끝나요. 그 모서리 바깥은 흰 본문 대신 하늘 푸터가 비치게 한다 */
body[data-page=home] .p-main{background:linear-gradient(var(--bg) calc(100% - 82px),transparent calc(100% - 82px))}
/* 끝까지 내리면 모서리 바깥이 푸터보다 위라 흰 바탕이 보였어요. 푸터 윗색(#a9c4e6)을 82px 위로 이어 붙인다 */
body[data-page=home] .p-footer{box-shadow:0 -82px 0 0 #a9c4e6}
/* 상단바 로고 아래 작은 글자: 이름 + 포트폴리오 */
.s-logo{display:inline-flex;flex-direction:column;align-items:flex-start;gap:5px}
.s-logo .s-wordmark{height:20px}
.s-logo__cap{font-size:11px;font-weight:var(--w-medium);letter-spacing:0;line-height:1;color:#6e6e73}
.p-topbar[data-theme=dark] .s-logo__cap{color:rgba(255,255,255,.6)}
@media (width<=700px){.s-logo{gap:4px}.s-logo .s-wordmark{height:17px}.s-logo__cap{font-size:10px}}
/* 상장처럼 세로 문서 사진: 자르지 않고 종이 바탕 위에 통째로 */
.s-contain{object-fit:contain!important;background:#ececee;padding:14px}
/* 로고 표지: 사진이 없을 때 은은한 바탕 위 로고 */
.s-logocover{display:grid;place-items:center;width:100%;height:100%;aspect-ratio:16/10;background:radial-gradient(60% 70% at 25% 20%,#dff3ff 0,transparent 60%),radial-gradient(55% 60% at 85% 85%,#e4ecff 0,transparent 60%),#f5f7fb}
.s-logocover img{width:min(56%,420px);height:auto}
/* 카드가 하나뿐이면 가운데로 */
@media (width>700px){.s-grid--one{grid-template-columns:minmax(0,480px);justify-content:center}}
/* 수상 목록형(list:true): 사진 카드 아래 한 줄씩. 사진은 있으면 작은 썸네일, 없으면 트로피 */
.s-awardlist{width:min(980px,100% - var(--gutter)*2);margin:24px auto 0;padding:0;list-style:none;display:grid;gap:8px}
.s-awardrow{display:flex;align-items:center;gap:20px;width:100%;padding:14px 24px 14px 14px;border:0;border-radius:24px;background:#1c1c1e;color:var(--white);text-align:left;cursor:pointer;transition:background .2s}
.s-awardrow:hover{background:#2c2c2e}
.s-awardrow__thumb{flex:none;display:grid;place-items:center;width:96px;aspect-ratio:4/3;border-radius:14px;overflow:hidden;background:#2c2c2e;color:rgba(255,255,255,.55)}
.s-awardrow__thumb img,.s-awardrow__thumb .s-ph{width:100%;height:100%;object-fit:cover}
.s-awardrow__thumb .p-icon{width:26px;height:30px}
.s-awardrow__text{flex:1;min-width:0;display:grid;gap:6px}
.s-awardrow__label{font-size:14px;color:rgba(255,255,255,.55)}
.s-awardrow__title{font-size:19px;font-weight:var(--w-semibold);letter-spacing:-.01em;line-height:1.35}
.s-awardrow__arrow{flex:none;color:rgba(255,255,255,.7)}
@media (width<=700px){.s-awardrow{gap:14px;padding:12px 16px 12px 12px;border-radius:20px}.s-awardrow__thumb{width:72px;border-radius:12px}.s-awardrow__title{font-size:16px}.s-awardrow__label{font-size:12px}}
.s-awardrow__thumb img{object-position:top}   /* 상장 썸네일은 윗부분(로고·"상장")이 보이게 */

/* 히어로: 이름·역할이 주인공, 비전 문구는 그 위에 작게(사용자 요청). 퍼밀리언 뜻 설명 줄은 뺐어요 */
.s-hp__vision{margin:0 0 16px;font-size:20px;font-weight:var(--w-semibold);line-height:1.4;letter-spacing:-.01em;color:#1d1d1f;opacity:.6}
.s-hp .s-hp__title{font-size:64px;line-height:1.1}
.s-hp__title>span{margin-left:14px;font-size:28px;font-weight:var(--w-medium);letter-spacing:-.01em;opacity:.45}
.s-hp__role{margin:14px 0 0;font-size:22px;font-weight:var(--w-medium);letter-spacing:-.01em;color:#1d1d1f;opacity:.8}
@media (width<=900px){.s-hp .s-hp__title{font-size:48px}.s-hp__title>span{font-size:22px}.s-hp__role{font-size:19px}}
@media (width<=700px){
  .s-hp__vision{margin-bottom:10px;font-size:15px}
  .s-hp .s-hp__title{font-size:36px}
  .s-hp__title>span{margin-left:8px;font-size:18px}
  .s-hp__role{margin-top:8px;font-size:16px}
}

/* 한영 전환: 메뉴가 늘어 두 칸 대신 지구본 버튼 하나(연락하기 오른쪽) */
.s-langbtn{display:inline-flex;align-items:center;gap:5px;height:36px;padding:0 12px 0 10px;border-radius:var(--r-pill);font-size:13px;font-weight:var(--w-semibold);letter-spacing:.02em;color:var(--ink-2);background:rgba(0,0,0,.06);transition:color var(--t-fast),background-color var(--t-fast)}
.s-langbtn:hover{color:var(--ink);background:rgba(0,0,0,.1)}
.s-langbtn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.p-topbar[data-theme=dark] .s-langbtn{color:rgba(255,255,255,.8);background:rgba(255,255,255,.14)}
.p-topbar[data-theme=dark] .s-langbtn:hover{color:var(--white);background:rgba(255,255,255,.22)}
.p-nav .s-langbtn{margin-left:4px;min-width:66px;justify-content:center}   /* KO·EN 글자 폭이 달라도 안 움직이게 */
@media (width<=700px){.s-langbtn{height:32px;padding:0 10px 0 8px;font-size:12px}}

/* 갤러리: 사진 카드 3열(태블릿 2열, 모바일 1열), 누르면 큰 보기 */
.s-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 24px;margin:48px 0 0;padding:0;list-style:none}
.s-gitem{display:block;width:100%;padding:0;border:0;background:none;text-align:left;cursor:pointer;color:inherit;font:inherit}
.s-gitem__img{display:block;aspect-ratio:4/3;overflow:hidden;border-radius:var(--r-card);background:var(--surface)}
.s-gitem__img img{transition:transform var(--t-slow,.4s) ease}
.s-gitem:hover .s-gitem__img img{transform:scale(1.03)}
.s-gitem:focus-visible .s-gitem__img{outline:2px solid var(--accent);outline-offset:3px}
.s-gitem__meta{display:block;margin-top:14px;font-size:14px;color:var(--ink-3)}
.s-gitem__title{display:block;margin-top:4px;font-size:17px;font-weight:var(--w-semibold);letter-spacing:-.01em;color:var(--ink)}
.s-photodlg{width:min(880px,100% - 32px)}
.s-photodlg__media{display:grid;place-items:center;background:var(--surface);border-radius:var(--r-card) var(--r-card) 0 0;overflow:hidden}
.s-photodlg__media img{display:block;width:100%;max-height:70vh;object-fit:contain}
@media (width<=900px){.s-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (width<=560px){.s-gallery{grid-template-columns:1fr;gap:32px}}

/* 갤러리 여러 장 카드: 사진을 겹쳐 두고 3초마다 교차 전환(site.js), 아래 점으로 몇 번째 장인지 보여요 */
.s-gitem__img.s-slides{position:relative}
.s-gitem__img.s-slides .s-slide{position:absolute;inset:0}
.s-photodlg__media{position:relative}
.s-slides .s-slide{opacity:0;transition:opacity .7s ease,transform var(--t-slow,.4s) ease}
.s-slides .s-slide.is-on{opacity:1}
.s-pips{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);display:flex;gap:5px;padding:5px 8px;border-radius:var(--r-pill);background:rgba(0,0,0,.4);pointer-events:none}
.s-pips i{width:6px;height:6px;border-radius:3px;background:rgba(255,255,255,.5);transition:width .3s ease,background-color .3s ease}
.s-pips i.is-on{width:14px;background:var(--white)}

/* 큰 보기: 창이 화면보다 길어져 스크롤 막대가 생기지 않게, 사진 칸이 줄어들며 화면 안에 맞춰요 */
.s-photodlg[open]{display:flex;flex-direction:column;max-height:calc(100dvh - 32px);overflow:hidden}
.s-photodlg .s-photodlg__media{flex:0 1 min(66vh,90vw);min-height:180px}   /* 좁은 화면에서 가로 사진 위아래 빈칸이 커지지 않게 */
.s-photodlg .s-photodlg__media img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain}
.s-photodlg .p-dialog__body,.s-photodlg .p-dialog__foot{flex:none}

/* 프로젝트 상세 사진 묶음: fit:"natural"이면 3:4로 자르지 않고 원래 비율 그대로(휴대폰 화면 캡처용) */
.s-gallery .s-fig img.s-natural{aspect-ratio:auto;height:auto;object-fit:contain;border-radius:0}
/* 휴대폰 화면 묶음은 모바일에서도 한 줄에 3장(갤러리 페이지의 1열 규칙이 같은 클래스라 덮어써요) */
.s-block.s-gallery:has(.s-natural){grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 16px}
@media (width<=560px){.s-block.s-gallery:has(.s-natural){gap:20px 10px}.s-block.s-gallery:has(.s-natural) figcaption{font-size:13px}}

/* 학력 항목 아래 대표 과목: 회색 알약에 과목명 + 학점(굵게). margin:0은 .s-exp li+li(글머리표 간격)가 알약을 아래로 밀지 않게 */
.s-exp .s-courses{display:flex;flex-wrap:wrap;gap:4px;margin:10px 0 0;padding:0;list-style:none}   /* .s-exp ul의 들여쓰기를 덮어써요 */
.s-courses .s-course{display:inline-flex;align-items:center;gap:4px;height:24px;margin:0;padding:0 10px;border-radius:var(--r-pill);background:var(--face);font-size:12px;color:var(--fg-2)}
.s-course b{font-weight:var(--w-semibold);color:var(--fg);font-variant-numeric:tabular-nums}

/* 갤러리 서브 문구(sub): 제목 아래 한 줄. 장소·기관·역할처럼 제목을 보충하는 말 */
.s-gitem__sub{display:block;margin-top:2px;font-size:14px;line-height:1.45;color:var(--ink-3)}
.s-photodlg__sub{margin:-4px 0 10px;font-size:15px;line-height:1.45;color:var(--ink-3)}

/* 경력·학력의 기관 링크(url): 글 속 링크 파랑 + 작은 바깥 화살표 */
.s-exp__link{display:inline-flex;align-items:center;gap:2px;color:var(--a);transition:opacity var(--t-fast)}
.s-exp__link:hover{opacity:.6}
.s-exp__link:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}

/* 경력·학력 링크 미리보기(links): 수상 대화상자의 기사 카드(.s-linkprev)와 같은 모양 */
.s-exp__links{display:grid;gap:8px;margin-top:14px}
@media (width<=700px){.s-exp__links .s-linkprev__thumb{width:96px}}

/* 연락처 이메일 카드: 주소 여러 개를 한 장에 줄로(위 .s-mail 가로 배치를 세로 목록으로 바꿔요) */
.s-mail{display:block}
.s-mail__list{margin:0;padding:0;list-style:none}   /* 위 '이메일' 머리글은 계층이 겹쳐 뺐어요(주소마다 개인·연세대학교 라벨) */
.s-mail__row:first-child{padding-top:0}
.s-mail__row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0}
.s-mail__row+.s-mail__row{border-top:1px solid var(--rule)}
.s-mail__row:last-child{padding-bottom:0}
.s-mail__text{min-width:0}
.s-mail__tag{font-size:14px;color:var(--fg-3)}
.s-mail__row .s-mail__value{margin-top:2px;font-size:26px}
.s-mail__value a{color:inherit;transition:opacity var(--t-fast)}
.s-mail__value a:hover{opacity:.6}
.s-mail__row .p-btn{flex:none}
@media (width<=700px){
  .s-mail__row{gap:12px;padding:14px 0}
  .s-mail__row .s-mail__value{font-size:19px}
  .s-mail__row .p-btn{width:40px;height:40px;padding:0;justify-content:center}
  .s-mail__copytxt{display:none}
}


/* 링크 아이콘 호버 브랜드 색(사용자 요청: 흑백 UI 예외). 평소엔 흑백, 마우스를 올리면 그 서비스 색으로.
   이메일(mail)은 빨강(예전 Gmail 색을 그대로 둠) */
.s-brand--linkedin{--brand:#0a66c2}
.s-brand--github{--brand:#181717}
.s-brand--orcid{--brand:#a6ce39}
.s-brand--mail{--brand:#ea4335}
.s-brand--insta{--brand:#e4405f}
.s-hp__cta .p-btn.s-brand:hover,
.p-btn.s-brand:hover{background:var(--brand);border-color:var(--brand);color:var(--white)}
/* 푸터 아이콘: GitHub 색은 검정이라 글자색만 바꾸면 티가 안 나서, 다른 곳처럼 동그란 바탕을 채워요(자리는 그대로) */
.p-footer__social a.s-brand{display:grid;place-items:center;width:28px;height:28px;margin:-6px;border-radius:50%;transition:background-color var(--t-fast),color var(--t-fast)}
.p-footer__social a.s-brand:hover{background:var(--brand);color:var(--white);opacity:1}
.p-linkcard.s-brand:hover .s-channel__icon{background:var(--brand);color:var(--white)}
.s-channel__icon{transition:background-color var(--t-fast),color var(--t-fast)}

/* Career 활동(동아리·학생회 등): 경력 아래 간단한 줄 목록. 로고 없이 이름 · 역할 / 소속 · 기간 / 한 줄 설명 */
.s-act{padding:18px 0;border-top:1px solid var(--rule)}
.s-act:first-of-type{margin-top:20px}
.s-act:last-child{padding-bottom:0}
.s-act__name{font-size:17px;font-weight:var(--w-semibold);line-height:1.4}
.s-act__name span{font-weight:400;color:var(--fg-2)}
.s-act__meta{margin-top:2px;font-size:14px;color:var(--fg-3)}
.s-act__desc{margin-top:8px;font-size:15px;line-height:1.6;color:var(--fg-2)}

/* 히어로 버튼 줄: CV + 아이콘 4개(LinkedIn·GitHub·ORCID·Instagram)가 휴대폰에서도 한 줄에 들어가게 */
@media (width<=480px){
  .s-hp__cta{gap:6px;align-items:center}
  .s-hp__cta .p-btn--icon{width:36px;height:36px}
  .s-hp__cta .p-btn--md:not(.p-btn--icon){padding:0 16px}
}

/* 블로그 머리: 제목 오른쪽 끝에 인스타그램 버튼(아래 분류 선택 자리는 비워 둬요) */
.s-headrow{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;width:100%;align-self:stretch}
.s-headrow .p-btn{flex:none}

/* 프로젝트 상세 영상·유튜브 블록(VASH부터). 영상은 원래 비율, 2열 묶음은 4:3으로 맞춰 잘라요 */
.s-video{display:block;width:100%;height:auto;border-radius:var(--r-media);background:var(--surface)}
.s-vgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.s-vgrid .s-video{aspect-ratio:var(--vr,4/3);object-fit:cover}
.s-yt{position:relative;aspect-ratio:16/9;border-radius:var(--r-media);overflow:hidden;background:var(--surface)}
.s-yt iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@media (width<=560px){.s-vgrid{grid-template-columns:minmax(0,1fr)}}
/* 세로 사진 한 장을 본문 절반 폭으로({ img, size: "half" }) */
.s-fig--half{max-width:50%}
@media (width<=560px){.s-fig--half{max-width:100%}}

/* 홈 섹션 제목: 문구 없이 Career·Projects·Writing·Awards 한 단어만 h2 크기로 보여요(About은 파란 라벨 + 비전 문구 그대로) */
.s-head .s-label{margin-top:0}

/* 프로젝트 상세 본문 간격: 문단↔그림·영상·단계·수치·노트 블록이 붙지 않게 위아래 32px(모바일 24px).
   기존에는 p+p, s-block+s-block만 간격이 있어서 문단 다음 블록, 캡션 다음 문단이 붙어 보였어요 */
.p-article__body section>:is(p,ul,ol)+.s-block,
.p-article__body section>.s-block+:is(p,ul,ol),
.p-article__body section>.s-block+.s-block{margin-top:32px}
.p-article__body section>h2+.s-block{margin-top:20px}
.p-article__body section>.s-block+h3{margin-top:48px}
@media (width<=700px){
  .p-article__body section>:is(p,ul,ol)+.s-block,
  .p-article__body section>.s-block+:is(p,ul,ol),
  .p-article__body section>.s-block+.s-block{margin-top:24px}
  .p-article__body section>.s-block+h3{margin-top:40px}
}

/* 프로젝트·블로그 글 맨 아래 '목록으로' 보조 버튼(이전·다음 카드 아래 가운데) */
.s-back{display:flex;justify-content:center;margin-top:40px}
.s-back .p-icon{transform:scaleX(-1)}

/* ── 히어로 키워드·이력 (2026-11-18 사용자가 9개 시안 중 고른 안) ──
   관심 분야는 사진 둘레에 떠 있는 유리 알약(아이콘 + 색 원, 천천히 위아래로 떠다님),
   학력·연구는 오른쪽에 경력 섹션과 같은 로고를 붙인 한 줄(칸·바탕 없음). 로고가 없으면 아이콘이 대신 나와요 */
.s-hp__side{position:relative}
.s-hp__kbadges{margin:0;padding:0;list-style:none}
.s-hp__kb{position:absolute;display:flex;align-items:center;gap:9px;padding:6px 18px 6px 6px;border-radius:999px;background:rgba(255,255,255,.9);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 12px 32px rgba(60,40,20,.14);font-size:15px;font-weight:var(--w-semibold);letter-spacing:-.01em;color:#1d1d1f;white-space:nowrap;animation:s-kb-float 5.5s ease-in-out infinite alternate}
.s-hp__kbi{display:grid;place-items:center;flex:0 0 auto;width:32px;height:32px;border-radius:50%;background:var(--kb,#fbd8c4);color:#1d1d1f}
.s-hp__kbi .p-icon{width:17px;height:17px;stroke-width:1.8}
.s-hp__kb--0{--kb:#fbd8c4;left:-34px;top:56px}
.s-hp__kb--1{--kb:#dff3ff;right:-30px;top:148px;animation-delay:-1.4s;animation-duration:6.2s}
.s-hp__kb--2{--kb:#e4ecff;left:-40px;bottom:118px;animation-delay:-2.8s;animation-duration:5.8s}
.s-hp__kb--3{--kb:#fdeec8;right:-44px;bottom:44px;animation-delay:-4.1s;animation-duration:6.6s}
@keyframes s-kb-float{from{transform:translateY(0)}to{transform:translateY(-8px)}}
@media (prefers-reduced-motion:reduce){.s-hp__kb{animation:none}}
.s-hp .s-hp__facts{display:flex;flex-wrap:wrap;gap:10px 28px;max-width:none;margin-top:28px}
.s-hp .s-hp__facts>div{display:flex;align-items:center;gap:10px;padding:0;border:0;border-radius:0;background:none}
.s-hp__ficon,.s-hp__flogo{display:grid;place-items:center;flex:0 0 auto;width:36px;height:36px;border-radius:50%;background:var(--white);color:#1d1d1f;box-shadow:0 2px 8px rgba(120,70,30,.08)}
.s-hp__flogo{display:block;padding:5px;object-fit:contain}
.s-hp__flogo+.s-hp__ficon{display:none}
.s-hp .s-hp__facts dt{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.s-hp .s-hp__facts dd{margin:0;font-size:17px}
.s-hp .s-hp__cta{margin-top:32px}
@media (width<=900px){.s-hp__kb{font-size:13px;padding:5px 14px 5px 5px}.s-hp__kbi{width:26px;height:26px}.s-hp__kb--0,.s-hp__kb--2{left:-18px}.s-hp__kb--1,.s-hp__kb--3{right:-18px}}
@media (width<=700px){
  .s-hp__side{display:flex;align-items:center;gap:14px}
  .s-hp__side .s-hp__photo{flex:0 0 96px}
  .s-hp__kbadges{display:flex;flex-wrap:wrap;gap:6px}
  .s-hp__kb{position:static;gap:6px;padding:4px 12px 4px 4px;font-size:13px;box-shadow:0 4px 14px rgba(60,40,20,.1);animation:none}
  .s-hp__kbi{width:24px;height:24px}.s-hp__kbi .p-icon{width:14px;height:14px}
  .s-hp .s-hp__facts{flex-direction:column;gap:8px;margin-top:18px}
  .s-hp__ficon,.s-hp__flogo{width:30px;height:30px}.s-hp__flogo{padding:4px}
  .s-hp .s-hp__facts dd{font-size:15px}
  .s-hp .s-hp__cta{margin-top:22px}
}

/* 2026-11-18 조정: 키워드 배지는 더 연하고 작게(사진 장식으로 물러나게), 오른쪽 이름·역할·이력·버튼은 키워서 주인공으로 */
.s-hp__kb{gap:7px;padding:4px 14px 4px 4px;background:rgba(255,255,255,.6);box-shadow:0 6px 18px rgba(60,40,20,.07);font-size:13px;font-weight:var(--w-medium);color:#424245}
.s-hp__kbi{width:26px;height:26px;opacity:.75}
.s-hp__kbi .p-icon{width:14px;height:14px}
@media (width>700px){
  .s-hp .s-hp__title{font-size:76px}
  .s-hp__title>span{font-size:32px}
  .s-hp__role{margin-top:16px;font-size:24px;text-wrap:balance}   /* 영어 역할은 길어서 두 줄이 되면 고르게 나눠요 */
  .s-hp .s-hp__facts{gap:12px 32px;margin-top:32px}
  .s-hp .s-hp__facts dd{font-size:20px}
  .s-hp__ficon,.s-hp__flogo{width:44px;height:44px}
  .s-hp__flogo{padding:6px}
  .s-hp .s-hp__cta{gap:10px;margin-top:36px}
  .s-hp__cta .p-btn--md{--h:52px;padding:0 26px;font-size:17px}
  .s-hp__cta .p-btn--md.p-btn--icon{padding:0}
  .s-hp__cta .p-btn--md .p-icon--sm{width:20px;height:20px}
}
@media (width>700px) and (width<=900px){.s-hp .s-hp__title{font-size:54px}.s-hp__title>span{font-size:24px}.s-hp__role{font-size:20px}.s-hp .s-hp__facts dd{font-size:17px}}
@media (width<=700px){
  .s-hp__kb{padding:3px 10px 3px 3px;font-size:12px}
  .s-hp__kbi{width:22px;height:22px}.s-hp__kbi .p-icon{width:12px;height:12px}
  .s-hp .s-hp__title{font-size:40px}
  .s-hp__role{font-size:17px}
  .s-hp .s-hp__facts dd{font-size:16px}
}


/* 사이트 글꼴(2026-11-18 사용자 요청): 본문은 카카오 작은글씨(Kakao Small Sans), 제목처럼 큰 글씨는 카카오 큰글씨(Kakao Big Sans).
   둘 다 SIL OFL 1.1(licenses.html, assets/fonts/OFL.txt). 원본 OTF를 글자 변경 없이 woff2로 바꿨어요. Pretendard는 더 이상 불러오지 않아요.
   작은글씨는 Regular·Bold만 있어서 굵기 510까지 Regular, 590 이상은 Bold로 보여요. 모든 html에서 미리 받고(preload), 받기 전엔 잠깐 숨겨요(block) */
@font-face{font-family:"Kakao Small Sans";src:url("fonts/KakaoSmallSans-Regular.woff2") format("woff2");font-weight:100 550;font-style:normal;font-display:block}
@font-face{font-family:"Kakao Small Sans";src:url("fonts/KakaoSmallSans-Bold.woff2") format("woff2");font-weight:551 900;font-style:normal;font-display:block}
:root{--font:"Kakao Small Sans",-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;
  --font-big:"Kakao Big Sans","Kakao Small Sans",-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif}
.p-display,.p-h1,.p-h2,.p-h3,.p-h4,.p-sub,.p-stat__value,.p-prose h2,.p-prose h3{font-family:var(--font-big)}

/* 히어로 글꼴: 카카오 빅산스(Kakao Big Sans, SIL OFL 1.1 · licenses.html). 히어로 글자에만 써요.
   원본 OTF를 그대로 woff2로 바꿨어요(글자 빼기 없음). index.html에서 미리 받고(preload), 다 받기 전엔 글자를 잠깐 숨겨요(block). swap이면 첫 화면에서 기본 글꼴 → 빅산스로 바뀌며 깜빡여요. 굵기 510(medium)까지는 Regular, 590(semibold) 이상은 Bold로 보여요 */
@font-face{font-family:"Kakao Big Sans";src:url("fonts/KakaoBigSans-Regular.woff2") format("woff2");font-weight:100 550;font-style:normal;font-display:block}
@font-face{font-family:"Kakao Big Sans";src:url("fonts/KakaoBigSans-Bold.woff2") format("woff2");font-weight:551 900;font-style:normal;font-display:block}
.p-hero .s-hp,.p-hero .s-hp *{font-family:"Kakao Big Sans",var(--font)}

/* 라이선스 페이지(licenses.html): 묶음 제목 + 항목 패널 */
.s-lic{margin-top:56px}
.s-lic__list{display:grid;gap:12px;margin:20px 0 0;padding:0;list-style:none}
.s-lic__name{font-size:18px;font-weight:var(--w-semibold);letter-spacing:-.01em}
.s-lic__meta{margin-top:4px;font-size:15px;color:var(--fg-3)}
.s-lic__use{margin-top:12px;font-size:16px;line-height:1.6}
.s-lic__links{display:flex;flex-wrap:wrap;gap:16px;margin-top:12px}
.s-lic__links:empty{display:none}
.s-lic__link{display:inline-flex;align-items:center;gap:4px;font-size:15px;font-weight:var(--w-medium);color:var(--fg)}
.s-lic__link:hover{text-decoration:underline}
.s-lic__own{margin-top:56px;font-size:15px;line-height:1.6;color:var(--fg-3)}

/* 토스페이스 이모지(SVG 그림, site.js의 tf()). 글자 대신 그림이라 기기마다 다르게 보이지 않아요 */
.s-tf{display:block;flex:0 0 auto;width:1em;height:1em}
.p-hero .s-hp .s-hp__tf{font-size:18px}
@media (width<=700px){.p-hero .s-hp .s-hp__tf{font-size:15px}}

/* About 하이라이트: 섹션 전체 뒤에서 큰 알약 5줄이 천천히 흘러가는 배경(줄마다 방향·속도 다름, 카카오헬스케어 로고 띠 참고).
   글이 먼저 보이도록 알약은 옅게(불투명도), 제목·비전 문단 자리는 가운데를 더 흐리게(마스크) 해요. 2026-11-18 사용자 요청.
   알약 수(--n)에 맞춰 한 바퀴 시간이 늘어 속도는 그대로예요 */
.s-about{position:relative;overflow:hidden;padding-block:160px}
.s-about>.p-wrap--grid{position:relative;z-index:1;isolation:isolate}
.s-about>.p-wrap--grid::before{content:"";position:absolute;z-index:-1;inset:-48px max(-12%,-120px);background:radial-gradient(closest-side,#fff 62%,rgba(255,255,255,.85) 78%,rgba(255,255,255,0));pointer-events:none}   /* 글 뒤 흰 빛: 비전 문구가 알약 위로 또렷하게 */
.s-hlbg{position:absolute;inset:0;z-index:0;display:flex;flex-direction:column;justify-content:space-evenly;pointer-events:none;opacity:.6;
  -webkit-mask-image:radial-gradient(ellipse 46% 40% at 50% 50%,rgba(0,0,0,.25) 45%,#000 100%),linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);
  -webkit-mask-composite:source-in;
  mask-image:radial-gradient(ellipse 46% 40% at 50% 50%,rgba(0,0,0,.25) 45%,#000 100%),linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);
  mask-composite:intersect}
.s-hlbg__row{white-space:nowrap}
.s-hlbg__track{display:inline-flex;gap:18px;padding-right:18px;animation:s-hl-flow calc(var(--n,12) * 7s) linear infinite;will-change:transform}
.s-hlbg__row:nth-child(even) .s-hlbg__track{animation-direction:reverse;animation-duration:calc(var(--n,12) * 8.4s)}
.s-hlbg__row:nth-child(3) .s-hlbg__track{animation-duration:calc(var(--n,12) * 6.3s);animation-delay:-23s}
.s-hlbg__row:nth-child(4) .s-hlbg__track{animation-delay:-41s}
.s-hlbg__row:nth-child(5) .s-hlbg__track{animation-duration:calc(var(--n,12) * 7.7s);animation-delay:-57s}
@keyframes s-hl-flow{to{transform:translateX(-50%)}}
.s-hlbg__pill{display:inline-flex;align-items:center;gap:12px;flex:0 0 auto;padding:14px 28px 14px 16px;border-radius:999px;background:var(--face);font-size:22px;font-weight:var(--w-semibold);letter-spacing:-.01em;color:var(--fg-3)}
.s-hlbg__emoji{font-size:32px}
@media (prefers-reduced-motion:reduce){.s-hlbg__track{animation:none}}
@media (width<=700px){
  .s-about{padding-block:120px}
  .s-hlbg{-webkit-mask-image:radial-gradient(ellipse 70% 42% at 50% 50%,rgba(0,0,0,.18) 50%,#000 100%),linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:radial-gradient(ellipse 70% 42% at 50% 50%,rgba(0,0,0,.18) 50%,#000 100%),linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
  .s-hlbg__track{gap:10px;padding-right:10px}.s-hlbg__pill{gap:8px;padding:10px 18px 10px 12px;font-size:17px}.s-hlbg__emoji{font-size:24px}
}

/* 히어로 배경 사진(content.js의 heroImage가 있을 때). 2026-11-25 사용자가 배경은 'A 사진 그대로', 왼쪽은 'A 최소'(이름·한 줄 소개·버튼만) 선택.
   인물을 오른쪽에 두고 왼쪽은 밝게 풀어 글 자리로 써요. 글 왼쪽 끝은 상단바 로고와 같은 줄이에요 */
/* 아래 화살표: 동그라미 바탕 없이 흰 선만(버튼처럼 보이면 안 돼요, 2026-11-25 사용자). 밝은 하늘색·파란 현수막·짙은 단상 위에서 모두 보이게 옅은 그림자를 둬요.
   위에서 아래로 흘러내리며 사라졌다 다시 나타나 '아래로 내려 보세요'를 알려요 */
.s-hero--photo .p-hero__down{z-index:1;color:#fff}
.s-hero--photo .p-hero__down:hover{opacity:.7}
.s-hero--photo .p-hero__down svg{width:30px;height:30px;stroke-width:2;filter:drop-shadow(0 0 3px rgba(12,40,80,.55)) drop-shadow(0 1px 8px rgba(12,40,80,.45));animation:s-down 2s ease-in-out infinite}
@keyframes s-down{0%{transform:translateY(-10px);opacity:0}30%,60%{transform:none;opacity:1}100%{transform:translateY(10px);opacity:0}}
@media (prefers-reduced-motion:reduce){.s-hero--photo .p-hero__down svg{animation:none}}
.s-hero__bg{position:absolute;inset:0;overflow:hidden;background:#d6ecfd}
.s-hero__bg img{position:absolute;top:0;right:-6%;width:106%;max-width:none;height:100%;object-fit:cover;object-position:100% 0;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 16%);mask-image:linear-gradient(90deg,transparent 0,#000 16%)}
/* 위에서부터: 상단바 글자 자리 / 글 뒤 그래프 선 지우기(타원) / 왼쪽 전체 밝게(아래 현수막은 보이게 남겨요) */
.s-hero__bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(238,247,254,.6) 0,rgba(238,247,254,0) 110px),radial-gradient(44% 36% at 24% 47%,#eef7fe 45%,rgba(238,247,254,0)),linear-gradient(90deg,rgba(238,247,254,.97) 0,rgba(238,247,254,.93) 34%,rgba(238,247,254,.5) 50%,rgba(238,247,254,0) 64%)}
/* 23px은 히어로 틀의 좌우 여백. top의 max(): 낮은 화면에서 글이 상단바 밑으로 올라가지 않게 */
.s-hero--photo.s-hero--profile .s-hp{left:0;top:max(calc(50% + 24px),230px);transform:translateY(-50%);display:block;width:min(540px,48%);margin-left:max(var(--gutter) - 23px,calc(50% - var(--wrap)/2))}
.s-hero--photo .s-hp__title>span{opacity:.6}
.s-hero--photo .s-hp__role{opacity:.9}
.s-hero--photo .s-hp .s-hp__cta{margin-top:36px}
@media (width>1180px){.s-hero--photo .s-hp .s-hp__title{font-size:68px;white-space:nowrap}.s-hero--photo .s-hp__title>span{font-size:28px}}
@media (width>900px) and (width<=1180px){
  .s-hero--photo.s-hero--profile .s-hp{top:max(50%,230px)}
  .s-hero--photo .s-hp .s-hp__title{font-size:54px;white-space:nowrap}.s-hero--photo .s-hp__title>span{font-size:24px}
  .s-hero--photo .s-hp__role{font-size:19px}
  .s-hero--photo .s-hp__cta .p-btn--md{--h:44px;padding:0 18px;font-size:15px}
  .s-hero--photo .s-hp__cta .p-btn--md.p-btn--icon{padding:0}
}
/* 태블릿·모바일: 글은 위, 사진은 아래. 사진 높이의 min()은 낮은 폰에서 글이 얼굴을 덮지 않게(글 높이 약 300px) */
@media (width<=900px){
  .s-hero__bg{background:linear-gradient(180deg,#f1f8fe,#cfe8fc)}
  .s-hero__bg::after{content:none}
  .s-hero__bg img{top:auto;bottom:0;right:0;width:100%;height:min(60%,calc((100% - 300px)*1.3));object-position:88% 50%;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 30%);mask-image:linear-gradient(180deg,transparent 0,#000 30%)}
  .s-hero--photo.s-hero--profile .s-hp{top:132px;transform:none;width:auto;right:24px;margin-left:calc(var(--gutter) - 23px)}
  .s-hero--photo .s-hp .s-hp__cta{margin-top:22px}
}
@media (width<=700px){.s-hero--photo.s-hero--profile .s-hp{right:12px;margin-left:12px}}   /* 모바일 틀 여백은 12px: 글을 로고(24px)와 맞춰요 */
@media (width<=385px){.s-hero--photo .s-hp__cta{gap:5px}.s-hero--photo .s-hp__cta .p-btn--md:not(.p-btn--icon){padding:0 12px}}   /* 좁은 폰 영어: 버튼 줄이 두 줄로 안 넘치게 */
/* 맨 위에서 더 당기면 사진 윗변이 잘린 듯 드러나요. 컴퓨터에서는 홈의 당김(고무줄)을 꺼요. 휴대폰은 당겨서 새로고침을 쓰니 그대로 두고, 사진 위쪽이 어차피 옅게 풀려 있어요 */
@media (hover:hover) and (pointer:fine){html:has(body[data-page=home]){overscroll-behavior-y:none}}
/* 수상 카드: 제목 길이가 달라도 같은 줄은 높이가 같게(두 칸일 때 들쭉날쭉해 보여요) */
.s-awards>li{display:flex}.s-awards>li>.s-award{width:100%;height:auto;justify-content:flex-start}

/* 링크 미리보기 카드가 좁은 화면에서 안쪽 여백보다 오른쪽으로 나오던 것 맞춤(수상 창·경력) */
.s-dialog__links,.s-exp__links{grid-template-columns:minmax(0,1fr)}
.s-linkprev{min-width:0}
.s-linkprev__source{overflow-wrap:anywhere}
@media (width<=700px){.s-linkprev__title{-webkit-line-clamp:3}}   /* 좁은 화면에서 기사 제목이 잘리지 않게 */
@media (width<=700px){   /* 경력 카드는 칸이 더 좁아 그림을 줄이고 화살표를 숨겨요 */
  .s-exp__links .s-linkprev{gap:10px;padding:8px 12px 8px 8px}
  .s-exp__links .s-linkprev__thumb{width:72px}
  .s-exp__links .s-linkprev__title{font-size:14px}
  .s-exp__links .s-linkprev>.p-icon{display:none}
}

/* 수상 창: 크기와 상장 사진은 그대로 두고, 길 때 오른쪽에 뜨던 스크롤 막대만 숨겨요(휠·터치·키보드 스크롤은 그대로) */
#award-dialog{scrollbar-width:none;overscroll-behavior:contain}
#award-dialog::-webkit-scrollbar{display:none}
#award-title:focus{outline:none}   /* 열 때 초점을 제목에 둬서 맨 위부터 보여요(아래 기사 링크로 초점이 가며 중간부터 열리던 문제) */

/* 갤러리 큰 보기에서 직접 넘기기: 카드 안쪽 양옆 44px 자리에 얇은 회색 화살표(2026-11-25 사용자). 사진은 그 사이에 놓여서 화살표가 사진을 가리지 않고 늘 같은 자리예요 */
.s-photodlg__media{touch-action:pan-y;-webkit-user-select:none;user-select:none}
.s-photodlg__media.s-slides{cursor:grab}
.s-photodlg__media.s-slides:active{cursor:grabbing}
.s-nav{position:absolute;top:0;bottom:0;display:grid;place-items:center;width:44px;padding:0;border:0;background:none;color:var(--ink-3);cursor:pointer;transition:color var(--t-fast)}
.s-nav--prev{left:0}
.s-nav--next{right:0}
.s-nav .p-icon{width:22px;height:22px;stroke-width:1.75}
.s-nav--prev .p-icon{scale:-1 1}   /* transform 대신 scale: 아래 움직임(translateX)도 함께 뒤집혀 왼쪽으로 흘러요 */
/* 히어로 아래 화살표(s-down)와 같은 2초 움직임을 옆으로. 마우스를 올리거나 초점이 가면 멈춰서 또렷하게 보여요 */
.s-nav .p-icon{animation:s-side 2s ease-in-out infinite}
.s-nav:hover .p-icon,.s-nav:focus-visible .p-icon{animation:none}
@keyframes s-side{0%{transform:translateX(-8px);opacity:0}30%,60%{transform:none;opacity:1}100%{transform:translateX(8px);opacity:0}}
@media (prefers-reduced-motion:reduce){.s-nav .p-icon{animation:none}}
.s-nav:hover{color:var(--ink)}
.s-nav:focus-visible{outline:2px solid var(--accent);outline-offset:-4px;border-radius:var(--r-item)}
#photo-title:focus{outline:none}
@media (width>700px){.s-photodlg .s-photodlg__media.s-slides img{left:44px;right:44px;width:calc(100% - 88px)}}
@media (width<=700px){   /* 휴대폰은 사진을 카드 폭 그대로 보여주고 손가락으로 밀어 넘겨요. 화살표는 화면 읽기 프로그램용으로만 남겨요 */
  .s-nav{top:50%;bottom:auto;left:50%;right:auto;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
}
.s-dialog:focus,.s-dialog:focus-visible{outline:none}   /* 사진을 누른 뒤 키보드로 넘길 때 창 전체에 파란 테두리가 생기지 않게(버튼 테두리는 그대로) */
