/* 연혁: 사진과 연도는 한 묶음, 기록은 마우스·키보드로 선택한 항목까지 이어진다. */
body[data-page=about]{--company-header:84px}
body[data-page=about] .subnav{position:sticky;top:var(--company-header);z-index:40}
body[data-page=about] .subnav a[aria-current=location]{color:#174c94;border-bottom-color:#174c94;font-weight:600}
body[data-page=about] main>.page-section{scroll-margin-top:75px}
.company-history{background:#f5f7fa;padding:90px 0 100px}
.history-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:54px}
.history-heading h2{font-size:36px;line-height:1.4;letter-spacing:-.03em;margin:0 0 14px}
.history-heading p{font-size:16px;line-height:1.8;color:#59636f;margin:0}
.history-year-tabs{display:flex;gap:28px;flex-shrink:0;border-bottom:1px solid #cbd3dd}
.history-year-tabs button{position:relative;border:0;background:transparent;font-family:inherit;line-height:1.4;font-size:22px;font-weight:600;color:#59636f;padding:14px 6px 17px;min-width:76px;min-height:52px;cursor:pointer}
.history-year-tabs button:after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:3px;background:#174c94;transform:scaleX(0);transform-origin:left;transition:transform .25s var(--motion-ease)}
.history-year-tabs button[aria-selected=true]{color:#174c94}
.history-year-tabs button[aria-selected=true]:after{transform:scaleX(1)}
.history-year-tabs button:focus-visible,.history-chapter:focus-visible{outline:2px solid #174c94;outline-offset:6px}
.history-year-tabs[hidden],.history-chapter[hidden]{display:none}
.history-chapter{display:grid;grid-template-columns:minmax(0,.3fr) minmax(0,.7fr);gap:clamp(40px,6vw,90px);align-items:start;scroll-margin-top:80px}
.history-chapter+.history-chapter{margin-top:70px}
.company-history.is-enhanced .history-chapter{margin-top:0;min-height:0}
.history-portrait{position:static}
.history-portrait h3{font-size:clamp(64px,7vw,96px);font-weight:600;letter-spacing:-.04em;line-height:1;margin:0 0 18px;color:#173c70;font-variant-numeric:tabular-nums}
.history-chapter-title{font-size:24px;line-height:1.5;letter-spacing:-.025em;margin:0 0 30px;color:#242b35;font-weight:600}
.history-portrait figure{margin:0}
.history-photo{overflow:hidden;background:#e0e4e9}
.history-photo img{display:block;width:100%;height:auto}
.history-portrait figcaption{margin-top:14px;font-size:13px;line-height:1.6;color:#59636f}
.history-records{position:relative;list-style:none;margin:8px 0 0;padding:0 0 0 var(--record-inset);--record-inset:33px;--record-axis:6px;--history-progress:0}
.history-records:before,.history-records:after{content:'';position:absolute;top:var(--track-start,20px);height:var(--track-height,calc(100% - 60px));left:var(--record-axis);width:1px;transform:translateX(-50%);background:#cbd3dd;pointer-events:none}
.history-records:after{background:#174c94;transform:translateX(-50%) scaleY(var(--history-progress));transform-origin:top;transition:transform .28s var(--motion-ease)}
.history-records li{--dot-y:41px;position:relative;display:grid;grid-template-columns:72px minmax(0,1fr);gap:22px;align-items:baseline;padding:26px 0;border-top:1px solid #dbe1e8;min-height:92px;color:#242b35;font-size:18px;line-height:1.7}
.history-records li:first-child{--dot-y:20px;padding-top:5px;border-top:0;min-height:75px}
.history-records li:before{content:'';position:absolute;left:calc(var(--record-axis) - var(--record-inset));top:var(--dot-y);width:12px;height:12px;box-sizing:border-box;transform:translate(-50%,-50%);border:1px solid #9aa8b8;border-radius:50%;background:#f5f7fa;z-index:1;transition:background-color .2s,border-color .2s}
.history-records li.is-reached:before{background:#174c94;border-color:#174c94}
.history-records time{font-size:14px;font-weight:500;color:#59636f;white-space:nowrap;font-variant-numeric:tabular-nums}
.history-records a{cursor:pointer;display:flex;gap:14px;justify-content:space-between;align-items:center;min-height:44px;margin-top:-7px;margin-bottom:-7px;text-underline-offset:5px;transition:color .18s}
.history-records .chevron{width:18px;height:18px;flex-shrink:0;color:#174c94;transition:transform .2s}
.history-records a:hover,.history-records a:focus-visible{color:#174c94;text-decoration:underline}
.history-records a:hover .chevron{transform:translateX(3px)}
@media(max-width:1000px){.history-chapter{gap:40px}.history-records li{grid-template-columns:1fr;gap:5px;padding:20px 0}.history-records a{margin:0}.history-records li{--dot-y:32px}.history-records li:first-child{--dot-y:17px}.history-chapter-title{font-size:22px}}
@media(max-width:900px){body[data-page=about]{--company-header:74px}}
@media(max-width:700px){
 .company-history{padding:55px 0 65px}
 .history-heading{display:block;margin-bottom:32px}
 .history-heading h2{font-size:28px;margin-bottom:12px}
 .history-heading p{font-size:15px;max-width:25em}
 .history-year-tabs{margin-top:24px;gap:25px}
 .history-year-tabs button{font-size:20px;min-width:74px}
 .history-chapter{grid-template-columns:1fr;gap:35px}
 .company-history.is-enhanced .history-chapter{min-height:0}
 .history-portrait{position:static}
 .history-portrait h3{font-size:64px;margin-bottom:10px}
 .history-chapter-title{font-size:22px;margin-bottom:23px}
 .history-portrait figure{max-width:520px}
 .history-records{--record-inset:28px;margin-top:0}
 .history-records li{grid-template-columns:65px minmax(0,1fr);gap:14px;font-size:16px;min-height:82px}
 .history-records li{--dot-y:32px}
 .history-records li:first-child{--dot-y:17px}
 .history-records time{font-size:13px}
 .history-records a{margin-top:-8px;margin-bottom:-8px}
}
@media(max-width:600px){body[data-page=about]{--company-header:70px}body[data-page=about] main>.page-section{scroll-margin-top:65px}}
@media(prefers-reduced-motion:reduce){.company-history *,.company-history *:after,.company-history *:before{transition:none!important;animation:none!important}}
