/* 기업개요 페이지 전용 */
.ov-opening { position: relative; isolation: isolate; background: #203025; }
.ov-hero-stage { position: absolute; inset: 0 0 auto; z-index: 2; height: var(--ov-viewport-height, 100svh); }
.company-overview-rework .ov-hero-stage #company_visual,
.company-overview-rework .ov-hero-stage #mo_company_visual,
.company-overview-rework .ov-hero-stage .company_visual_sticky,
.company-overview-rework .ov-hero-stage .mo_company_visual_sticky { position: relative; top: 0; height: var(--ov-viewport-height, 100svh); }
.ov-hero-cover { position: absolute; inset: 0; z-index: 10; background: #203025; opacity: 0; pointer-events: none; }
.ov-history-words { position: absolute; inset: 0 0 auto; z-index: 4; height: var(--ov-viewport-height, 100svh); overflow: hidden; pointer-events: none; color: var(--color-text-light); }
.ov-history-words p { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; gap: .24em; margin: 0; padding: 40px 5%; font-size: clamp(64px, 6.4vw, 120px); font-weight: 600; line-height: 1.15; letter-spacing: -.025em; white-space: nowrap; opacity: 0; visibility: hidden; will-change: transform, opacity, filter; }
.ov-history { position: relative; z-index: 3; display: flex; align-items: center; min-height: var(--ov-viewport-height, 100svh); padding: clamp(90px, 10svh, 140px) 0; box-sizing: border-box; background: #203025; color: var(--color-text-light); }
.ov-history-inner { width: 100%; max-width: none; }
.ov-timeline { --timeline-progress: 0; --timeline-inset: clamp(20px, 2.4vw, 46px); position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; }
.ov-timeline::before, .ov-timeline::after { content: ""; position: absolute; left: 0; top: 82px; width: 100%; height: 1px; background: rgba(247,247,242,.2); }
.ov-timeline::after { background: #b5cd99; transform: scaleX(var(--timeline-progress)); transform-origin: left; }
.ov-timeline li { position: relative; min-width: 0; padding-inline: var(--timeline-inset); --segment-fill: 0; }
.ov-timeline li::before, .ov-timeline li::after { content: none; position: absolute; background: rgba(247,247,242,.24); }
.ov-timeline li::after { background: #b5cd99; transform: scaleX(var(--segment-fill)); transform-origin: left; }
.ov-timeline li:last-child::before, .ov-timeline li:last-child::after { display: none; }
.ov-timeline-dot { position: absolute; left: calc(var(--timeline-inset) - 4px); top: 78px; z-index: 1; width: 9px; height: 9px; border-radius: 50%; background: #b5cd99; box-shadow: 0 0 0 5px #203025; }
.ov-year { font-size: clamp(36px, 3vw, 48px); font-weight: 400; line-height: 1.1; letter-spacing: -.025em; }
.ov-milestone h3 { margin-top: 64px; min-height: 1.4em; font-size: clamp(16px, 1.125vw, 18px); font-weight: 400; line-height: 1.4; }
.ov-milestone-desc { min-height: 3.4em; margin-top: 16px; font-size: clamp(14px, .9375vw, 15px); font-weight: 400; line-height: 1.7; color: #bdc7bc; word-break: keep-all; }

.ov-ceo { position: relative; isolation: isolate; padding: clamp(110px, 11vw, 210px) 0; background: #f7f7f2; }
.ov-ceo-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: clamp(64px, 6vw, 112px) 8%; align-items: start; }
.ov-ceo-layout > header { grid-column: 1 / -1; }
.ov-ceo #ov-ceo-title { font-weight: 500; line-height: 1.35; }
.ov-ceo-greeting-wrap { position: relative; display: block; width: min(100%, 860px); }
.ov-ceo-greeting { display: block; width: 100%; height: auto; opacity: .18; }
.ov-ceo-ink { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.ov-ceo-ink-first { clip-path: inset(0 0 50% 0); }
.ov-ceo-ink-second { clip-path: inset(50% 0 0 0); }
.ov-ceo-copy { grid-column: 1; width: 100%; max-width: 720px; justify-self: start; }
.ov-ceo-photo { grid-column: 2; width: 100%; max-width: 450px; justify-self: end; margin: 40px 0 0; }
.ov-ceo-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center 35%; }
.ov-ceo-glow {
    position: absolute;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 30% 45%, rgba(145, 181, 121, .06), transparent 66%),
        radial-gradient(ellipse at 72% 60%, rgba(215, 193, 139, .055), transparent 64%);
    -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
    mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
    pointer-events: none;
}
.ov-ceo-glow::before, .ov-ceo-glow::after {
    content: "";
    position: absolute;
    inset: -5%;
    background: radial-gradient(ellipse 44% 52% at 30% 45%, rgba(145, 181, 121, .22), rgba(145, 181, 121, .09) 45%, transparent 82%);
    filter: blur(20px);
    transform-origin: 30% 45%;
    animation: ov-ceo-glow-bloom 4.4s cubic-bezier(.22, .61, .36, 1) infinite;
}
.ov-ceo-glow::after {
    background: radial-gradient(ellipse 42% 50% at 72% 60%, rgba(215, 193, 139, .2), rgba(215, 193, 139, .075) 45%, transparent 82%);
    transform-origin: 72% 60%;
    animation-delay: -2.2s;
}
@keyframes ov-ceo-glow-bloom {
    0% { transform: scale(.64); opacity: 0; }
    20% { transform: scale(.85); opacity: .9; }
    70% { transform: scale(1.7); opacity: .68; }
    100% { transform: scale(2.05); opacity: 0; }
}
.ov-ceo-copy > p { font-size: clamp(17px, 1.15vw, 20px); line-height: 1.9; color: var(--color-text-body); }
.ov-ceo-copy > p + p { margin-top: 26px; }
.ov-ceo-sign { display: flex; align-items: center; justify-content: flex-start; gap: 26px; margin-top: 64px; }
.ov-ceo-sign span { color: var(--color-text-description); font-size: 14px; }
.ov-ceo-sign img { width: 112px; height: auto; filter: brightness(.25); }
@media (max-width: 1024px) {
    .ov-history-words p { bottom: auto; height: 100dvh; box-sizing: border-box; font-size: clamp(42px, 6.4vw, 66px); padding-inline: 32px; }
    .ov-history, .ov-ceo { padding-block: 140px; }
    .ov-history { --history-padding: 140px; --history-lead-fill: 0; padding-block: var(--history-padding); }
    .ov-history::before, .ov-history::after { content: ""; position: absolute; left: 36px; top: 0; width: 1px; height: 100%; background: rgba(247,247,242,.2); pointer-events: none; }
    .ov-history::after { height: calc(var(--history-padding) + 17.5px); background: #b5cd99; transform: scaleY(var(--history-lead-fill)); transform-origin: top; }
    .ov-timeline { display: block; margin-inline: 32px; }
    .ov-timeline::before, .ov-timeline::after { display: none; }
    .ov-timeline li { padding: 0 0 64px 38px; }
    .ov-timeline li:last-child { padding-bottom: 0; }
    .ov-timeline li::before { display: none; }
    .ov-timeline li::after { content: ""; left: 4px; top: 17.5px; width: 1px; height: 100%; transform: scaleY(var(--segment-fill)); transform-origin: top; }
    .ov-timeline li:last-child::after { display: block; height: calc(100% + var(--history-padding) - 17.5px); }
    .ov-timeline-dot { left: 0; top: 13px; }
    .ov-milestone { display: block; }
    .ov-year { grid-column: 1; font-size: clamp(36px, 5.5vw, 48px); }
    .ov-milestone h3 { grid-column: 1; min-height: 0; margin: 12px 0 0; font-size: clamp(16px, 2.2vw, 18px); }
    .ov-milestone-desc { min-height: 0; margin-top: 12px; font-size: clamp(14px, 1.9vw, 15px); }
    .ov-milestone-desc br { display: none; }
    .ov-ceo-layout { grid-template-columns: 1fr; gap: 64px; }
    .ov-ceo-photo { display: none; }
    .ov-ceo-copy { grid-column: 1; max-width: 680px; }
}
@media (min-width: 600px) and (max-width: 1024px) {
    .ov-ceo-greeting-wrap { width: min(90%, 774px); }
}
@media (max-width: 599px) {
    .ov-history-words p { flex-direction: column; gap: .1em; padding-inline: 20px; font-size: clamp(36px, 10.5vw, 58px); line-height: 1.2; }
    .ov-history, .ov-ceo { padding-block: max(100px, env(safe-area-inset-top)); }
    .ov-history { --history-padding: max(100px, env(safe-area-inset-top)); }
    .ov-history::before, .ov-history::after { left: 24px; }
    .ov-timeline { margin-inline: 20px; }
    .ov-timeline li { padding: 0 0 56px 28px; }
    .ov-milestone { display: block; }
    .ov-year { font-size: clamp(36px, 10vw, 44px); }
    .ov-milestone h3 { margin-top: 20px; font-size: clamp(16px, 4.35vw, 18px); }
    .ov-milestone-desc { margin-top: 10px; font-size: clamp(14px, 3.8vw, 15px); }
    .ov-ceo-copy > p { font-size: 15px; }
    .ov-ceo-layout { gap: 44px; }
    .ov-ceo-copy { width: 100%; }
    .ov-ceo-glow::before, .ov-ceo-glow::after { filter: blur(16px); }
    .ov-ceo-sign { flex-wrap: wrap; gap: 16px; margin-top: 44px; }
    .ov-ceo-sign img { width: 96px; }
}
.company-overview-rework { --ov-paper: #f7f7f2; --ov-dark: #203025; --ov-green: #669b45; }
.ov-frame { width: min(1600px, 88%); margin-inline: auto; }
#overview-content { word-break: keep-all; overflow-wrap: break-word; letter-spacing: -.025em; }
.ov-history h2, .ov-ceo h2 { font-size: clamp(42px, 4.3vw, 78px); font-weight: 600; line-height: 1.23; letter-spacing: -.025em; }
.ov-kicker { margin-bottom: 28px; color: var(--ov-green); font-size: 13px; font-weight: 600; line-height: 1.5; letter-spacing: .035em; }
.ov-intro { color: var(--color-text-body); font-size: clamp(16px, 1.15vw, 20px); line-height: 1.85; }
.ov-profile { padding: clamp(110px, 11vw, 210px) 0; background: var(--ov-paper); }
.ov-profile-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: 12%; align-items: start; }
.ov-profile-heading .ov-intro { margin-top: 40px; }
.ov-profile-name { color: var(--color-text-subheading); margin-bottom: 42px; font-size: clamp(28px, 2.5vw, 44px); line-height: 1.4; font-weight: 500; }
.ov-profile-name span { display: block; margin-top: 12px; color: var(--color-text-muted); font-size: 13px; letter-spacing: .06em; }
.ov-profile-list { border-top: 1px solid #bcc7b5; }
.ov-profile-list > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 24px; padding: 27px 4px; border-bottom: 1px solid #dfe3d9; font-size: 18px; line-height: 1.7; }
.ov-profile-list dt { color: var(--color-text-description); font-size: 16px; }
.ov-profile-list dd { color: var(--color-text-body); margin: 0; }
.ov-profile-list dd a { display: block; width: fit-content; }
.ov-profile-list dd a:hover { color: var(--ov-green); }
.ov-address-br { display: none; }
.ov-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 44px; font-size: 15px; line-height: 1.5; font-weight: 500; }
.ov-link > span { font-size: 24px; color: var(--ov-green); transition: transform .25s; }
.ov-link:hover > span { transform: translate(3px, -3px); }
.ov-profile-content > .ov-link { margin-top: 28px; color: #59654f; }
.company-overview-rework #overview-content a:focus-visible { outline: 2px solid #81ae60; outline-offset: 6px; }
.ov-business { padding: clamp(110px, 11vw, 210px) 0; color: var(--ov-paper); background: radial-gradient(ellipse at 0% 20%, rgba(83, 115, 54, .22), transparent 60%), radial-gradient(ellipse at 95% 90%, rgba(77, 106, 54, .16), transparent 55%), var(--ov-dark); }
.ov-business .ov-kicker { color: #b5cd99; }
.ov-business-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 100px; }
.ov-business .ov-intro { color: #b9c3b4; max-width: 370px; }
.ov-business-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: start; gap: 11%; }
.ov-business-visual { position: sticky; top: 120px; height: min(620px, calc(100svh - 170px)); min-height: 340px; overflow: hidden; }
.ov-business-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .55s; }
.ov-business-photo.is-active { opacity: 1; }
.ov-visual-caption { position: absolute; bottom: 0; inset-inline: 0; padding: 44px 28px 24px; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); display: flex; justify-content: space-between; gap: 20px; font-size: 14px; }
.ov-business-inline { display: none; }
.ov-business-item { min-height: 290px; border-top: 1px solid rgba(197, 214, 177, .25); padding: 40px 4px 48px; }
.ov-business-item:last-child { padding-bottom: 0; min-height: 260px; }
.ov-number { display: block; font-size: 13px; color: #a9c58b; margin-bottom: 16px; }
.ov-business-item h3 { font-size: clamp(28px, 2.4vw, 42px); line-height: 1.3; font-weight: 500; }
.ov-business-item p { margin-top: 24px; color: #b9c3b4; font-size: 17px; line-height: 1.85; max-width: 460px; }
.ov-business-item .ov-link { margin-top: 26px; }
.ov-business .ov-link > span { color: #b5cd99; }
.ov-next { background: var(--ov-paper); }
.ov-next-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; padding-block: 90px; }
.ov-next-links a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px 24px; min-height: 70px; font-size: clamp(24px, 2.1vw, 36px); font-weight: 500; line-height: 1.4; }
.ov-next-links small { display: block; grid-column: 1 / -1; color: var(--color-text-muted); font-size: 12px; font-weight: 400; margin: 0; letter-spacing: .03em; }
.ov-next-links a > span:last-child { grid-column: 2; grid-row: 2; color: var(--ov-green); font-size: 36px; transition: transform .25s; }
.ov-next-links a:hover > span:last-child { transform: translate(3px, -3px); }
/* 확대된 사진 위로 장식선이 올라오지 않도록 유지 */
body.company-overview-rework.is_company_ceo_scene .company_visual_grid { z-index: 2; }
.company-overview-rework .ceo_message_title, .company-overview-rework .mo_ceo_message_title { font-family: inherit; font-weight: 600; letter-spacing: -.025em; word-break: keep-all; }
.company-overview-rework .ceo_sign_box span, .company-overview-rework .mo_ceo_sign_box span { color: #b5cd99; font-size: 13px; letter-spacing: .04em; }
@media (min-width: 1025px) {
    .ov-frame { width: min(1600px, calc(100% - 240px)); }
    .ov-ceo-layout { width: min(1500px, calc(100% - 240px)); }
    .company-overview-rework #top_btn { right: 24px; bottom: calc(5% + var(--ov-quick-lift, 0px)); }
}
@media (min-width: 600px) and (max-width: 1024px) {
    .company-overview-rework .company_visual_title h2 { font-size: var(--tab-title-size); }
    .ov-frame { width: calc(100% - 64px); }
    .ov-profile, .ov-business { padding-block: 140px; }
    .ov-history h2, .ov-ceo h2 { font-size: clamp(38px, 5.8vw, 60px); }
    .ov-profile-layout { grid-template-columns: 1fr; gap: 56px; }
    .ov-profile-heading h2 br { display: none; }
    .ov-profile-heading .ov-intro { margin-top: 28px; }
    .ov-profile-heading .ov-intro br { display: none; }
    .ov-profile-name { font-size: 32px; margin-bottom: 32px; }
    .ov-profile-list > div { grid-template-columns: 140px minmax(0, 1fr); padding-block: 25px; }
    .ov-business-heading { display: block; margin-bottom: 56px; }
    .ov-business .ov-intro { margin-top: 28px; max-width: none; font-size: 16px; }
    .ov-business-layout { display: block; }
    .ov-business-visual { display: none; }
    .ov-business-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 32px; }
    .ov-business-item, .ov-business-item:last-child { min-height: 0; border: 0; padding: 0; }
    .ov-business-inline { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
    .ov-business-copy { padding: 24px 4px 0; }
    .ov-business-item h3 { font-size: clamp(26px, 3.5vw, 34px); }
    .ov-business-item p { margin-top: 18px; font-size: 16px; }
    .ov-business-item .ov-link { margin-top: 20px; font-size: 14px; gap: 24px; }
    .ov-business-item:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; }
    .ov-business-item:last-child .ov-business-copy { padding-top: 0; }
    .ov-next-links { padding-block: 70px; gap: 7%; }
    .ov-next-links a { font-size: 26px; }
}
@media (min-width: 600px) and (max-width: 699px) {
    .company-overview-rework .overview_quality_list li { grid-template-columns: 50px minmax(0, 1fr); gap: 14px 28px; }
    .company-overview-rework .overview_quality_list p { grid-column: 2; }
    .company-overview-rework .footer_top { grid-template-columns: minmax(0, 1fr); grid-template-areas: "logo" "nav" "info"; }
    .company-overview-rework .footer_nav { justify-content: flex-start; flex-wrap: wrap; }
    .company-overview-rework .footer_nav a { flex-shrink: 0; white-space: nowrap; }
}
@media (max-width: 599px) {
    .ov-frame { width: calc(100% - 40px); }
    .ov-profile, .ov-business { padding-block: 100px; }
    .ov-history h2, .ov-ceo h2 { font-size: clamp(30px, 8vw, 42px); line-height: 1.3; }
    .ov-kicker { font-size: 12px; margin-bottom: 24px; }
    .ov-profile-layout { display: block; }
    .ov-profile-heading h2 br { display: none; }
    .ov-profile-heading .ov-intro { margin-top: 24px; font-size: 16px; }
    .ov-profile-content { margin-top: 48px; }
    .ov-profile-name { font-size: 26px; margin-bottom: 28px; }
    .ov-profile-name span { font-size: 12px; }
    .ov-profile-list > div { grid-template-columns: 82px minmax(0, 1fr); gap: 16px; font-size: 16px; padding: 24px 0; }
    .ov-profile-list dt { font-size: 14px; }
    .ov-profile-list a[href^="mailto"] { overflow-wrap: anywhere; }
    .ov-address-br { display: block; }
    .ov-business-heading { display: block; margin-bottom: 48px; }
    .ov-business .ov-intro { margin-top: 24px; font-size: 16px; }
    .ov-business .ov-intro br { display: none; }
    .ov-business-layout { display: block; }
    .ov-business-visual { display: none; }
    .ov-business-item, .ov-business-item:last-child { min-height: 0; border: 0; padding: 0; }
    .ov-business-item + .ov-business-item { margin-top: 60px; }
    .ov-business-inline { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
    .ov-business-copy { padding-top: 24px; }
    .ov-number { margin-bottom: 12px; }
    .ov-business-item h3 { font-size: 28px; }
    .ov-business-item p { margin-top: 18px; font-size: 16px; }
    .ov-business-item .ov-link { margin-top: 18px; }
    .ov-next-links { grid-template-columns: 1fr; gap: 0; padding-block: 28px; }
    .ov-next-links a { padding-block: 32px; font-size: 26px; }
    .ov-next-links a + a { border-top: 1px solid #dfe3d9; }
    .ov-next-links a { row-gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .ov-ceo-glow::before, .ov-ceo-glow::after { animation: none; opacity: .5; }
    .ov-history-words { display: none; }
    .ov-business-photo, .ov-link > span, .ov-next-links a > span:last-child { transition: none; }
}

/* 연혁 이미지: PC는 이미지 위 / 연혁 텍스트 아래 */
.ov-milestone-image { margin: 0; overflow: hidden; }
.ov-milestone-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1025px) {
    .ov-timeline { --image-height: clamp(120px, 15vw, 220px); }
    .ov-timeline::before, .ov-timeline::after { top: calc(var(--image-height) + 32px); }
    .ov-timeline-dot { top: calc(var(--image-height) + 28px); }
    .ov-milestone-image { height: var(--image-height); margin-bottom: 64px; }
    .ov-milestone h3 { margin-top: 20px; }
}
@media (min-width: 600px) and (max-width: 1024px) {
    .ov-timeline li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; }
    .ov-milestone { grid-column: 1; grid-row: 1; }
    .ov-milestone-image { grid-column: 2; grid-row: 1; aspect-ratio: 4 / 3; align-self: start; }
}
@media (max-width: 599px) {
    .ov-timeline li { display: flex; flex-direction: column; }
    .ov-milestone-image { order: 1; margin-top: 24px; aspect-ratio: 3 / 2; }
}
