body.page-company .tg21-hero,body.page-history .tg21-hero{position:relative;min-height:min(850px,87svh);display:flex;align-items:center;overflow:hidden;background:#061b42;color:#fff}
.tg21-hero-photo{position:absolute;inset:0;overflow:hidden}.tg21-hero-photo img{width:100%;height:100%;object-fit:cover;animation:tg21Zoom 9s ease-out both}.tg21-hero-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,13,33,.72),rgba(3,13,33,.25) 54%,rgba(3,13,33,.08))}.tg21-hero-text{position:relative;z-index:2;padding:130px 0;max-width:760px}.tg21-hero-text small{display:inline-flex;align-items:center;gap:10px;font-size:12px;font-weight:800;letter-spacing:.16em;color:#d5e6ff;text-transform:uppercase}.tg21-hero-text small::before{content:"";width:44px;height:2px;background:#7ab0ff}.tg21-hero-text h1{margin:22px 0 18px;font-size:clamp(48px,6vw,78px);line-height:1.08;letter-spacing:-.05em;color:#fff}.tg21-hero-text p{font-size:18px;line-height:1.85;color:#eaf2ff;max-width:640px}.tg21-hero-down{position:absolute;left:50%;bottom:34px;transform:translateX(-50%);width:66px;height:66px;border-radius:50%;background:rgba(255,255,255,.12);backdrop-filter:blur(7px);display:grid;place-items:center;color:#fff;font-size:28px;text-decoration:none;border:1px solid rgba(255,255,255,.28)}
@keyframes tg21Zoom{from{transform:scale(1.12)}to{transform:scale(1)}}

/* v22 full-image history page */
body.page-history .tg22-history-page{position:relative;background:#ede7da}
.tg22-history-panel{position:relative;min-height:100vh;display:flex;align-items:stretch;overflow:hidden;scroll-margin-top:84px;background:#0e1525}
.tg22-history-media{position:absolute;inset:0;overflow:hidden}
.tg22-history-media img{width:100%;height:100%;object-fit:cover;transform:scale(1.12);transition:transform 1.6s ease, filter 1.1s ease;filter:brightness(.74)}
.tg22-history-panel.is-visible .tg22-history-media img{transform:scale(1);filter:brightness(.86)}
.tg22-history-media::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,12,21,.72) 0%,rgba(7,12,21,.56) 28%,rgba(7,12,21,.20) 62%,rgba(7,12,21,.18) 100%)}
.tg22-history-inner{position:relative;z-index:2;display:flex;align-items:flex-end;min-height:100vh;padding:120px 0 92px}
.tg22-history-copy{max-width:620px;color:#fff;transform:translateY(34px);opacity:0;transition:transform .8s ease, opacity .8s ease}
.tg22-history-panel.is-visible .tg22-history-copy{transform:translateY(0);opacity:1}
.tg22-history-copy small{display:inline-flex;align-items:center;gap:12px;font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#d8e6ff}
.tg22-history-copy small::before{content:"";width:52px;height:2px;background:#0046ff}
.tg22-history-copy h2,.tg22-history-copy h3{margin:22px 0 18px;font-size:clamp(42px,5vw,72px);line-height:1.08;letter-spacing:-.055em;color:#fff}
.tg22-history-copy p{margin:0;font-size:19px;line-height:1.85;color:#eef4ff;max-width:560px}
.tg22-history-nav{position:fixed;right:28px;top:50%;transform:translateY(-50%);z-index:35;display:flex;flex-direction:column;gap:14px;align-items:flex-end;opacity:0;pointer-events:none;transition:opacity .25s ease}
body.page-history .tg22-history-nav.is-shown{opacity:1;pointer-events:auto}
.tg22-history-nav a{display:flex;flex-direction:row-reverse;align-items:center;gap:12px;text-decoration:none;color:#18325c;font-size:12px;font-weight:800;letter-spacing:.08em}
.tg22-history-nav a::before{content:"";width:15px;height:15px;border-radius:50%;border:2px solid #0046ff;background:#fff;box-shadow:0 1px 8px rgba(0,0,0,.09);transition:transform .25s ease, background-color .25s ease}
.tg22-history-nav a.is-current::before{background:#0046ff;transform:scale(1.34)}
.tg22-history-nav a span{opacity:0;transform:translateX(6px);transition:opacity .2s ease, transform .2s ease;background:rgba(255,255,255,.92);padding:7px 10px;border-radius:999px}
.tg22-history-nav a:hover span,.tg22-history-nav a.is-current span{opacity:1;transform:translateX(0)}
@media(max-width:960px){.tg22-history-copy h2,.tg22-history-copy h3{font-size:clamp(38px,7vw,58px)}.tg22-history-copy p{font-size:17px}.tg22-history-nav{right:14px}}
@media(max-width:700px){body.page-company .tg21-hero,body.page-history .tg21-hero{min-height:620px}.tg21-hero-text{padding:90px 0}.tg21-hero-text h1{font-size:clamp(36px,8vw,54px)}.tg21-hero-text p{font-size:16px}.tg21-hero-down{width:58px;height:58px;font-size:24px}.tg22-history-panel,.tg22-history-inner{min-height:82vh}.tg22-history-inner{padding:92px 0 54px}.tg22-history-copy h2,.tg22-history-copy h3{font-size:clamp(34px,10vw,46px);margin:16px 0 14px}.tg22-history-copy p{font-size:15px;line-height:1.72;max-width:100%}.tg22-history-nav{right:10px;gap:10px}.tg22-history-nav a span{display:none}}
@media(prefers-reduced-motion:reduce){.tg21-hero-photo img,.tg22-history-media img{animation:none;transform:scale(1)!important;transition:none}.tg22-history-copy{transition:none;transform:none;opacity:1}}


/* v23 history center alignment */
.tg22-history-inner{justify-content:center!important;align-items:center!important;padding:0!important}
.tg22-history-copy{max-width:760px!important;text-align:center!important;margin:0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px}
.tg22-history-copy small{justify-content:center}
.tg22-history-copy h2,.tg22-history-copy h3{margin:20px 0 16px}
.tg22-history-copy p{max-width:700px;text-align:center}
.tg22-history-media::after{background:linear-gradient(180deg,rgba(7,12,21,.34) 0%,rgba(7,12,21,.40) 32%,rgba(7,12,21,.50) 100%)}
@media(max-width:700px){.tg22-history-copy{padding:28px 18px}.tg22-history-copy p{max-width:100%}}
