﻿/* Layout refinements against the supplied sub01 SVG exports. */
:root{--ink:#333;--gutter:clamp(24px,6.25vw,120px)}
html{scroll-padding-top:88px}h1,h2,dl,dd{margin:0}[hidden]{display:none!important}:focus-visible{outline:2px solid #f38102;outline-offset:6px}
.site-header-shell{z-index:80}.site-header-shell:focus-within{translate:none}
.sub-hero{position:relative;isolation:isolate;overflow:hidden;padding:clamp(48px,4.7vw,90px) var(--gutter) clamp(40px,3.5vw,68px)}
.sub-hero::after{content:attr(data-wordmark);position:absolute;z-index:-1;right:-.04em;bottom:-.15em;color:#f2f3f3;font:600 clamp(100px,13.8vw,266px)/1 Orbitron,sans-serif;white-space:nowrap;pointer-events:none}
.sub-kicker{font-size:clamp(16px,1.25vw,24px)}.sub-hero h1{margin-top:18px;font-size:clamp(30px,2.5vw,48px);font-weight:600;line-height:1.4;letter-spacing:-.035em;max-width:1200px;text-wrap:balance}.sub-crumb{align-items:center;flex-wrap:wrap;gap:14px;margin-top:28px;font-size:clamp(13px,.94vw,18px);line-height:1.5;color:#666}
.sub-banner{height:480px}.sub-banner p{left:54.4%;right:var(--gutter);bottom:clamp(40px,6.4vw,123px);max-width:none;font-size:clamp(22px,1.875vw,36px);font-weight:600;line-height:1.5;letter-spacing:-.025em;text-align:left;text-shadow:0 2px 15px #0003}
.sub-story{grid-template-columns:1fr 1fr;gap:clamp(32px,4.17vw,80px);padding:clamp(64px,6.25vw,120px) var(--gutter);background-position:center}.story-cards{gap:clamp(16px,3.125vw,60px);align-items:flex-start;padding-bottom:clamp(24px,5.2vw,100px)}.story-card{flex:1;min-width:0;width:auto;border-radius:20px;background:linear-gradient(135deg,#7e7f7d,#4d4d4d);padding:clamp(10px,1.04vw,20px) clamp(10px,1.04vw,20px) 0;box-shadow:none}.story-card img{width:100%;height:auto;aspect-ratio:350/420;object-fit:contain;border-radius:10px;background:#fff}.story-card span{padding:clamp(16px,1.5vw,28px) 0;background:none;font-size:clamp(13px,1.25vw,24px);line-height:1.5;word-break:keep-all}.story-card:last-child{translate:0 clamp(24px,5.2vw,100px)}.story-copy{gap:clamp(24px,2.5vw,48px);font-size:clamp(16px,1.25vw,24px);line-height:1.7}.story-copy strong{font-weight:700}
.sub-cta{gap:32px;padding:clamp(40px,3.5vw,68px) var(--gutter);background:#ff7b13 url('assets/pages/sub0101/05.webp') center/cover}.sub-cta h2{font-size:clamp(24px,1.875vw,36px);font-weight:600;line-height:1.5;white-space:pre-line}.btn-pill{justify-content:center;gap:14px;flex:none;height:auto;min-height:54px;padding:14px 30px;border-radius:32px;color:#ed7a00;font-size:18px;transition:background .25s,color .25s,translate .35s var(--ease)}.btn-pill:hover{background:#333;color:#fff;translate:0 -3px}
.history-stage{justify-content:center;min-height:680px;height:100svh;padding:40px 0 36px;background-position:center;background-size:cover}.history-stage::after{display:none}.history-arc{flex:none;height:clamp(220px,29vh,330px);width:100%}.history-arc-line{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.history-arc-line path{fill:none;stroke:#777;stroke-width:1.2}.history-card{width:160px;will-change:transform}.history-year{display:flex;flex-direction:column;align-items:center;width:100%;padding:8px 0 24px;color:#333}.history-year h3{font:600 clamp(24px,2.3vw,44px)/1.2 Orbitron,sans-serif;transition:color .35s var(--ease)}.history-card.is-active .history-year{color:var(--accent)}.history-card.is-active h3{font-size:clamp(30px,2.9vw,56px)}.history-dot,.history-card.is-active .history-dot{width:10px;height:10px;margin:36px auto 0;background:currentColor}.history-card.is-active .history-dot{box-shadow:0 0 0 6px #f3810215}.history-events{width:min(720px,calc(100% - 48px));min-height:230px;transition:opacity .2s var(--ease),translate .4s var(--ease)}.history-events li{grid-template-columns:44px minmax(0,1fr);gap:20px;padding:6px 0;font-size:clamp(15px,1.14vw,22px);line-height:1.6;word-break:keep-all}.history-events li>span{font:600 clamp(17px,1.4vw,26px)/1.5 Orbitron,sans-serif;color:#666}.history-events.is-changing{opacity:0;translate:0 8px}.history-nav{gap:24px;margin-top:20px}.history-nav button{width:46px;height:46px;font-size:24px;transition:color .2s,border-color .2s,background .2s}.history-nav button:hover:enabled{background:var(--accent);border-color:var(--accent);color:#fff}.history-nav button:disabled{opacity:.3;cursor:default}.history-hint{margin-top:20px;font:500 11px/1.4 Orbitron,sans-serif;letter-spacing:.16em}.photo-band{grid-template-columns:1fr 2fr 1fr;gap:clamp(16px,2.08vw,40px);padding:0 var(--gutter);background:#fafcfb}.photo-band img{height:clamp(260px,29.2vw,560px);border-radius:10px 10px 0 0}
.cert-intro{max-width:1360px;margin:auto;padding:clamp(64px,6.25vw,120px) 24px 0;font-size:clamp(20px,1.67vw,32px);line-height:1.6;text-wrap:balance}.cert-dots{gap:18px;margin:clamp(28px,3.125vw,60px) 0 clamp(48px,6.25vw,120px)}.cert-dots i{width:6px;height:6px}.cert-grid{gap:64px clamp(24px,3.125vw,60px);width:calc(100% - 2 * var(--gutter));margin:0 auto}.cert-card{display:block;min-width:0}.cert-card img{height:auto;aspect-ratio:350/500;object-position:center bottom}.cert-card p{margin-top:22px;font-size:clamp(11px,.94vw,18px);line-height:1.5;letter-spacing:-.025em}.cert-card h3{margin-top:4px;font-size:clamp(15px,1.25vw,24px);font-weight:500;line-height:1.5;word-break:keep-all}.cert-page{animation:panel-enter .5s var(--ease)}.cert-pager{gap:10px;padding:64px 0 100px}.cert-pager button{width:42px;height:42px;border-radius:50%;background:none;font-size:16px;color:#999}
.office-tabs{gap:clamp(24px,2.08vw,40px);padding:clamp(64px,6.25vw,120px) 24px clamp(48px,4.17vw,80px);font-size:clamp(19px,1.875vw,36px)}.office-tabs button{position:relative;padding:8px 0;transition:color .25s;white-space:nowrap}.office-tabs button:hover{color:var(--accent)}.office-panel{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);width:calc(100% - 2 * var(--gutter));margin:0 auto clamp(64px,6.25vw,120px);border-radius:20px;min-height:clamp(480px,35.42vw,680px)}.office-panel.is-active{animation:panel-enter .55s var(--ease)}.office-map{position:relative;min-width:0;min-height:480px;background:#f2f4f3;overflow:hidden}.kakao-map{width:100%!important;height:100%;margin:0!important;padding:0!important;border:0!important}.kakao-map .wrap_map{height:100%!important}.kakao-map .wrap_controllers{display:none!important}.map-status{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:32px;text-align:center;background:#f2f4f3;color:#666;font-size:16px;line-height:1.6}.map-status a{padding:12px 20px;border-radius:30px;background:#fff;color:#333;box-shadow:0 4px 24px #2134380a}.office-info{display:block;margin:0;padding:clamp(32px,3.125vw,60px);background:#ff7b13 url('assets/pages/sub0104/03.webp') center/cover}.office-info .office-en{font-size:clamp(18px,1.46vw,28px);line-height:1.4;opacity:1}.office-info h2{margin:12px 0 clamp(32px,4.17vw,80px);font-size:clamp(28px,1.875vw,36px);font-weight:600;line-height:1.4}.office-details{margin:0}.office-details>div{padding:16px 0;border-bottom:1px solid #ffffff50}.office-details>div:last-child{border:0;padding-bottom:0}.office-details dt{font-size:clamp(14px,.94vw,18px);line-height:1.5;margin:0 0 8px;opacity:1}.office-details dd{font-size:clamp(16px,1.25vw,24px);font-weight:600;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere}.office-details dd span{font-size:clamp(13px,.94vw,18px);line-height:1.6}.office-details a:hover{text-decoration:underline;text-underline-offset:4px}
.sub-reveal{transition-duration:1.1s}.sub-top{right:24px;bottom:24px;width:50px;height:50px;background:#333;font-size:11px;box-shadow:0 4px 20px #0001;transition:background .2s}.sub-top:hover{background:var(--accent)}
@keyframes panel-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.history-stage{background-image:linear-gradient(#ffffff8c,#ffffffa8),url('assets/pages/sub0102/02.webp')}
.history-stage>.history-events{width:max-content;max-width:min(720px,calc(100% - 48px));min-width:min(400px,calc(100% - 48px))}
.cert-intro{white-space:pre-line}
@media(max-width:700px){html[lang=en] .office-tabs{gap:16px;font-size:clamp(13px,3.8vw,18px);line-height:1.4}html[lang=en] .office-tabs button{flex:1;min-width:0;white-space:normal}}
@media(max-width:1024px){.site-header-shell{height:72px}.sub-hero{padding-top:56px}.sub-banner p{left:45%;font-size:24px}.sub-story{grid-template-columns:1fr 1fr;gap:40px;padding-top:72px;padding-bottom:72px}.story-cards{gap:16px}.story-card span{font-size:12px}.story-copy{font-size:16px;gap:24px}.history-stage{position:sticky;height:100svh;min-height:620px}.history-events{min-height:250px}.cert-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 24px}.photo-band{grid-template-columns:1fr 2fr 1fr}.office-panel.is-active{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.office-info{padding:32px}.office-info h2{margin-bottom:24px}.office-details>div{padding:12px 0}.office-map{min-height:520px}}
@media(max-width:700px){.sub-hero{padding:44px 24px 40px}.sub-hero::after{font-size:100px;bottom:-8px;opacity:.7}.sub-hero h1{font-size:30px;line-height:1.45}.sub-crumb{margin-top:24px;gap:10px}.sub-banner{height:480px}.sub-banner p{left:24px;right:24px;bottom:32px;font-size:22px}.sub-story{grid-template-columns:1fr;gap:44px;padding:56px 24px}.story-cards{gap:20px;padding-bottom:36px}.story-card:last-child{translate:0 36px}.story-card span{font-size:13px}.sub-cta{flex-direction:column;align-items:flex-start;padding:40px 24px}.sub-cta h2{font-size:24px}.btn-pill{font-size:16px;min-height:48px}.history-stage{min-height:650px;padding:24px 0}.history-arc{height:190px}.history-year h3{font-size:24px}.history-card.is-active h3{font-size:34px}.history-dot,.history-card.is-active .history-dot{margin-top:28px}.history-events{min-height:280px;width:calc(100% - 48px)}.history-events li{grid-template-columns:30px 1fr;gap:12px;font-size:14px;padding:5px 0}.history-events li>span{font-size:17px}.history-nav{margin-top:12px}.history-hint{font-size:9px}.photo-band{grid-template-columns:1fr 1.8fr;gap:12px;padding:0 24px}.photo-band img{height:260px}.photo-band img:last-child{display:none}.cert-intro{padding-top:56px;font-size:20px}.cert-dots{margin:32px 0 48px;gap:14px}.cert-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 20px}.cert-card p{font-size:10px;margin-top:16px}.cert-card h3{font-size:14px}.cert-pager{padding:40px 0 56px}.office-tabs{padding:48px 20px 32px;font-size:20px;gap:28px}.office-panel.is-active{grid-template-columns:1fr}.office-panel{border-radius:16px;margin-bottom:56px;min-height:0}.office-map{height:340px;min-height:340px}.office-info{padding:32px 28px}.office-info h2{margin-bottom:28px}.office-details>div{padding:14px 0}.sub-top{right:16px;bottom:16px;width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.cert-page,.office-panel.is-active{animation:none}.history-rail{height:auto!important}.history-stage{position:relative;height:auto;min-height:0;padding:48px 24px}.history-arc{height:auto!important;display:grid;gap:36px}.history-arc-line,.history-nav,.history-hint,.history-stage>.history-events{display:none}.history-card{position:static;width:100%;transform:none!important;opacity:1!important;text-align:left;margin:0}.history-year{align-items:flex-start;padding:0}.history-year h3,.history-card.is-active h3{font-size:30px;color:var(--accent)}.history-dot,.history-card.is-active .history-dot{display:none}.history-card .history-events{width:100%;min-height:0;margin-top:16px}.history-events,.btn-pill{transition:none}}
