/* 원플로우 사이트 스타일
   모서리 규칙: 사진·패널 16px, 버튼은 둥근 알약형(999px). 강조색은 로고 보라 하나만 쓴다. */

@font-face { font-family: "Pretendard"; font-weight: 400; font-display: swap; src: url("/assets/fonts/Pretendard-Regular.woff") format("woff"); }
@font-face { font-family: "Pretendard"; font-weight: 500; font-display: swap; src: url("/assets/fonts/Pretendard-Medium.woff") format("woff"); }
@font-face { font-family: "Pretendard"; font-weight: 600; font-display: swap; src: url("/assets/fonts/Pretendard-SemiBold.woff") format("woff"); }
@font-face { font-family: "Pretendard"; font-weight: 700; font-display: swap; src: url("/assets/fonts/Pretendard-Bold.woff") format("woff"); }

:root {
    --brand: #5E2D88;
    --brand-deep: #45206A;
    --ink: #17141C;
    --text: #3D3944;
    --muted: #77717F;
    --line: #E7E4EB;
    --surface: #F6F5F8;
    --bg: #FFFFFF;
    --night: #141117;
    --radius: 16px;
    --gnb-h: 76px;
    --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--gnb-h); }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    font-size: 17px;
    line-height: 1.7;
    letter-spacing: -0.01em;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
}
/* 메인 리셋은 :where 로 우선순위 0 (컴포넌트 여백이 이기도록) */
:where(.is-main) img { display: block; max-width: 100%; }
:where(.is-main) :where(h1, h2, h3, p, ul, ol, figure) { margin: 0; padding: 0; }
:where(.is-main) :where(ul, ol) { list-style: none; }
a { color: inherit; text-decoration: none; }

/* 여러 줄 본문은 양쪽 정렬 (제목·버튼은 제외) */
.about__text > p:first-of-type, .prog__more p, .flow span { text-align: justify; text-justify: inter-character; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 40px; }

/* 버튼 */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
    font-size: 16px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
    transition: background-color .25s, color .25s, border-color .25s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-deep); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #EFEAF4; color: var(--ink); }
.btn--line-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--line-light:hover { background: rgba(255, 255, 255, .14); color: #fff; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 16px; font-weight: 600; color: var(--ink);
    padding-bottom: 4px;
}
.link-arrow i { transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--brand); }
.link-arrow:hover i { transform: translateX(4px); }

/* 헤더 */
.gnb { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.gnb.is-scrolled, .gnb.is-open { border-bottom-color: var(--line); }
.gnb__inner { position: relative; display: flex; align-items: center; height: var(--gnb-h); max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.gnb__logo { flex: none; display: block; line-height: 0; }
.gnb__logo img { height: 44px; width: auto; }
.gnb__nav { margin-left: auto; margin-right: 40px; }
.gnb__list { display: flex; margin: 0; padding: 0; list-style: none; }
.gnb__item { position: relative; width: 172px; }
.gnb__link { display: block; padding: 0 28px; line-height: var(--gnb-h); font-size: 17px; font-weight: 600; color: var(--ink); transition: color .2s; }
.gnb__link:hover, .gnb__link[aria-current="page"], .gnb.is-open .gnb__item.is-active > .gnb__link { color: var(--brand); }

/* 메가 메뉴: 열 단위 하위 메뉴 + 왼쪽 대표 사진 */
:root { --mega-h: 236px; }
.gnb::after {
    content: ""; position: absolute; left: 0; right: 0; top: 100%; height: var(--mega-h); background: #fff;
    border-top: 1px solid var(--line); box-shadow: 0 24px 40px -28px rgba(23, 20, 28, .28);
    clip-path: inset(0 0 100% 0); transition: clip-path .45s var(--ease); pointer-events: none;
}
.gnb.is-open::after { clip-path: inset(0 0 -60px 0); pointer-events: auto; }
.gnb__item::before {
    content: ""; position: absolute; left: 0; right: 0; top: 100%; z-index: 1; height: var(--mega-h);
    background: var(--surface); opacity: 0; transition: opacity .3s; pointer-events: none;
}
.gnb__item::after {
    content: ""; position: absolute; left: 28px; top: calc(100% - 2px); z-index: 3; width: 0; height: 2px;
    background: var(--brand); transition: width .35s var(--ease);
}
.gnb.is-open .gnb__item.is-active::before { opacity: 1; }
.gnb.is-open .gnb__item.is-active::after { width: calc(100% - 56px); }
.gnb__sub {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 2; height: var(--mega-h); margin: 0; padding: 24px 28px 0; list-style: none;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .4s var(--ease), visibility .25s;
}
.gnb.is-open .gnb__sub { opacity: 1; visibility: visible; transform: none; }
.gnb.is-open .gnb__item:nth-child(2) .gnb__sub { transition-delay: .04s; }
.gnb.is-open .gnb__item:nth-child(3) .gnb__sub { transition-delay: .08s; }
.gnb.is-open .gnb__item:nth-child(4) .gnb__sub { transition-delay: .12s; }
.gnb__sub li + li { margin-top: 2px; }
.gnb__sub a { white-space: nowrap; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 0; font-size: 15.5px; color: #5A5562; transition: color .2s; }
.gnb__sub a i { font-size: 15px; color: var(--brand); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .3s var(--ease); }
.gnb__sub a:hover { color: var(--ink); font-weight: 600; }
.gnb__sub a:hover i { opacity: 1; transform: none; }

.gnb__feature {
    position: absolute; left: 40px; top: calc(100% + 24px); z-index: 2; width: 268px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .45s var(--ease), visibility .3s;
}
.gnb.is-open .gnb__feature { opacity: 1; visibility: visible; transform: none; }
.gnb__feature-img { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--surface); }
.gnb__feature-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.gnb__feature-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.gnb__feature-title { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.gnb__feature-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--brand); }
.gnb__feature-link i { transition: transform .3s var(--ease); }
.gnb__feature-link:hover { color: var(--brand-deep); }
.gnb__feature-link:hover i { transform: translateX(3px); }
.gnb__cta { height: 44px; padding: 0 22px; font-size: 15px; }
.gnb__burger, .mnav { display: none; }

/* 모바일 메뉴 */
.mnav { position: fixed; inset: 0; z-index: 60; background: #fff; overflow-y: auto; padding: 0 20px 40px; }
.mnav__head { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.mnav__head img { height: 34px; width: auto; }
.mnav__close, .gnb__burger { width: 44px; height: 44px; border: 0; background: none; font-size: 26px; color: var(--ink); cursor: pointer; }
.mnav__list { list-style: none; margin: 16px 0 0; padding: 0; }
.mnav__list > li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.mnav__top { font-size: 22px; font-weight: 700; color: var(--ink); }
.mnav__list ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.mnav__list ul a { font-size: 15px; color: var(--muted); }
.mnav__cta { width: 100%; margin-top: 32px; }

/* 히어로 */
.hero { position: relative; margin: 0 24px; height: min(calc(100dvh - var(--gnb-h) - 24px), 860px); min-height: 560px; border-radius: 20px; overflow: hidden; color: #fff; }
.hero__media, .hero__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 62% center; opacity: 0; transition: opacity 1.2s ease; }
.hero__img.is-on { opacity: 1; }
.hero__media::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(16, 12, 20, .62) 0%, rgba(16, 12, 20, .32) 42%, rgba(16, 12, 20, 0) 72%),
        linear-gradient(0deg, rgba(16, 12, 20, .45) 0%, rgba(16, 12, 20, 0) 45%);
}
.hero__body { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 44px; max-width: 1320px; }
/* 사진 설명: 왼쪽 위, 제목과 같은 세로선에 맞춘다. 지금 보이는 사진의 설명만 나타난다 */
.hero__caps { position: absolute; left: 0; right: 0; top: 40px; max-width: 1320px; display: grid; pointer-events: none; }
.hero__cap { grid-area: 1 / 1; display: flex; align-items: center; gap: 14px; margin: 0; font-size: 20px; line-height: 1; font-weight: 600; letter-spacing: .02em; color: #fff; text-shadow: 0 1px 12px rgba(16, 12, 20, .55); opacity: 0; transition: opacity .8s ease; }
.hero__cap::before { content: ""; width: 28px; height: 1px; background: rgba(255, 255, 255, .8); }
.hero__cap:empty { display: none; }
.hero__cap.is-on { opacity: 1; }
.hero__title { font-size: clamp(38px, 5vw, 68px); line-height: 1.2; font-weight: 700; letter-spacing: -0.04em; color: #fff; }
.hero__actions { display: flex; gap: 12px; margin-top: 40px; }
/* 메인 슬라이드 표시: 번호 + 진행 막대 (6초) */
.hero__nav { position: absolute; right: 40px; bottom: 88px; display: flex; align-items: center; gap: 16px; padding: 4px 8px 4px 18px; border-radius: 99px; background: rgba(16, 12, 20, .34); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero__count { display: flex; gap: 6px; font-size: 14px; line-height: 1; font-weight: 500; letter-spacing: .04em; color: rgba(255, 255, 255, .62); font-variant-numeric: tabular-nums; }
.hero__count b { color: #fff; font-weight: 600; }
.hero__dots { display: flex; gap: 6px; }
.hero__dot { position: relative; width: 52px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero__dot i { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: rgba(255, 255, 255, .32); overflow: hidden; transition: background .2s; }
.hero__dot i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left center; }
.hero__dot.is-on i::after { animation: heroBar 6s linear forwards; }
.hero__dot:hover i { background: rgba(255, 255, 255, .55); }
.hero__dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 4px; }
@keyframes heroBar { to { transform: scaleX(1); } }

/* 섹션 공통 */
.programs, .about, .news { padding: 70px 0; }
.sec-title { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.3; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }

/* 원플로우가 하는 일 */
.programs .sec-title { margin-bottom: 48px; }
.programs__rail { display: flex; gap: 12px; height: 580px; }
.prog { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--radius); overflow: hidden; color: #fff; transition: flex-grow .8s var(--ease); }
.prog.is-open { flex-grow: 2.7; }
.prog__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.prog:hover .prog__img { transform: scale(1.04); }
.prog::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16, 12, 20, .78) 0%, rgba(16, 12, 20, .2) 48%, rgba(16, 12, 20, .05) 100%); }
.prog__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 32px; }
.prog__title { font-size: 24px; line-height: 1.35; font-weight: 700; letter-spacing: -0.03em; color: #fff; }
.prog:not(.is-open) .prog__title { font-size: 21px; }
.prog__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .6s var(--ease), opacity .4s; }
.prog__more > * { overflow: hidden; }
.prog.is-open .prog__more { grid-template-rows: 1fr; opacity: 1; transition-delay: .15s; }
.prog__more p { max-width: 30em; margin-top: 12px; font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, .86); }
.prog__more ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .72); }
.prog__more li { white-space: nowrap; }
.prog__arrow {
    position: absolute; top: 24px; right: 24px; z-index: 1; display: grid; place-items: center;
    width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .16); font-size: 20px;
    transition: background-color .3s, color .3s;
}
.prog:hover .prog__arrow { background: #fff; color: var(--brand); }

/* 소개 */
.about { background: var(--surface); }
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: 96px; align-items: center; }
.about__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.about__quote { font-size: clamp(28px, 3vw, 42px); line-height: 1.4; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); }
.about__text > p:first-of-type { max-width: 34em; margin-top: 32px; font-size: 18px; line-height: 1.85; }
.about__sign { margin: 28px 0 44px; font-size: 15px; font-weight: 600; color: var(--muted); }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 24px; margin-top: 60px; }
.flow li { padding-top: 28px; border-top: 1px solid #D9D5DE; }
.flow li:first-child { border-top-color: var(--brand); }
.flow strong { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.flow span { display: block; margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--muted); }

/* 현장 스토리 */
.news__grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto 1fr; gap: 0 56px; align-items: start; }
.story { display: block; }
.story--lead { grid-row: span 2; }
.story__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.story:hover .story__img img { transform: scale(1.04); }
.story__body { padding-top: 24px; }
.story__cate { font-size: 14px; font-weight: 600; color: var(--brand); }
.story__title { margin-top: 8px; font-size: 20px; line-height: 1.45; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.story--lead .story__title { font-size: 28px; line-height: 1.4; font-weight: 700; }
.story:hover .story__title { color: var(--brand); }
.story__date { display: block; margin-top: 12px; font-size: 14px; color: var(--muted); }
.story:not(.story--lead) { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.story:not(.story--lead) + .story { padding-top: 32px; }
.story:not(.story--lead) .story__body { padding-top: 0; }
.empty { padding: 40px 0; text-align: center; color: var(--muted); }

/* 문의 */
.contact { position: relative; margin: 0 24px 24px; border-radius: 20px; overflow: hidden; color: #fff; }
.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20, 16, 24, .86) 0%, rgba(20, 16, 24, .7) 55%, rgba(20, 16, 24, .5) 100%); }
.contact__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.contact__title { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.35; font-weight: 700; letter-spacing: -0.035em; color: #fff; }
.contact__links a {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 28px 4px; border-bottom: 1px solid rgba(255, 255, 255, .24);
    font-size: 21px; font-weight: 600; letter-spacing: -0.02em; color: #fff;
    transition: padding .35s var(--ease);
}
.contact__links a:first-child { border-top: 1px solid rgba(255, 255, 255, .24); }
.contact__links a i { font-size: 24px; transition: transform .35s var(--ease); }
.contact__links a:hover { padding-left: 14px; }
.contact__links a:hover i { transform: translate(3px, -3px); }
.contact__links .contact__tel { font-size: 17px; font-weight: 500; color: rgba(255, 255, 255, .78); }
.contact__links .contact__tel:hover i { transform: none; }

/* 푸터 */
.ft { background: var(--night); color: rgba(255, 255, 255, .58); padding: 36px 0 40px; font-size: 15px; }
.ft__top { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.ft__logo img { height: 38px; width: auto; display: block; }
.ft__family { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.ft__family a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .86); font-weight: 500; transition: color .2s; }
.ft__family a:hover { color: #fff; }
.ft__info { display: flex; flex-wrap: wrap; gap: 8px 40px; margin-top: 48px; }
.ft__info p { margin: 0; }
.ft__info span { margin-right: 12px; color: rgba(255, 255, 255, .38); }
.ft__info a:hover { color: #fff; }
.ft__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .38); }
.ft__bottom p { margin: 0; }
.ft__bottom a:hover { color: rgba(255, 255, 255, .7); }

/* 등장 효과 (JS 가 켜고, 움직임 줄이기 설정이면 끔) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero__title, .js .hero__actions { animation: rise 1s var(--ease) both; }
.js .hero__actions { animation-delay: .15s; }
.js .hero__img.is-on { animation: settle 4.5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes settle { from { transform: scale(1.22); } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js [data-reveal] { opacity: 1; transform: none; transition: none; }
    .js .hero__title, .js .hero__actions, .js .hero__img.is-on { animation: none; }
    .prog, .prog__more, .prog__img, .story__img img, .mnav { transition: none; }
}

/* 반응형 */
@media (max-width: 1200px) {
    .gnb__item { width: 140px; }
    .gnb__link { padding: 0 20px; }
    .gnb__sub { padding: 24px 20px 0; }
    .gnb__item::after { left: 20px; }
    .gnb.is-open .gnb__item.is-active::after { width: calc(100% - 40px); }
    .gnb__nav { margin-right: 24px; }
    .gnb__feature { width: 220px; }
    .about__grid { gap: 56px; }
}

@media (max-width: 1024px) {
    :root { --gnb-h: 64px; }
    .wrap, .gnb__inner { padding: 0 20px; }
    .gnb__nav, .gnb__cta { display: none; }
    .gnb__burger { display: block; margin-left: auto; margin-right: -8px; }
    .gnb__logo img { height: 34px; }
    /* 모바일 메뉴: 오른쪽에서 왼쪽으로 열리고, 닫을 때는 오른쪽으로 */
    .mnav { display: block; transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s linear .45s; }
    .mnav.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; }

    .hero { margin: 0 12px; min-height: 520px; height: calc(100dvh - var(--gnb-h) - 12px); border-radius: 16px; }
    .hero__img { object-position: 70% center; }
    .hero__body { padding-bottom: 48px; }
    .hero__caps { top: 24px; }
    .hero__cap { font-size: 13px; gap: 10px; }
    .hero__cap::before { width: 20px; }
    .hero__actions { margin-top: 28px; flex-wrap: wrap; }
    .hero__nav { position: static; display: inline-flex; margin-top: 24px; gap: 12px; padding: 2px 6px 2px 14px; }
    .hero__dot { width: 36px; }

    .programs, .about, .news { padding: 44px 0; }
    .programs .sec-title, .sec-head { margin-bottom: 32px; }

    .programs__rail { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; gap: 12px; padding-bottom: 4px; scrollbar-width: none; }
    .programs__rail::-webkit-scrollbar { display: none; }
    .prog, .prog.is-open { flex: 0 0 78%; height: 460px; scroll-snap-align: start; }
    .prog__more { grid-template-rows: 1fr; opacity: 1; }
    .prog__body { padding: 24px; }
    .prog__title { font-size: 22px; }

    .about__grid { grid-template-columns: 1fr; gap: 40px; }
    .about__photo { aspect-ratio: 4 / 4.2; }
    .flow { grid-template-columns: 1fr 1fr; gap: 32px 20px; margin-top: 36px; }

    .news__grid { grid-template-columns: 1fr; gap: 0; }
    .story--lead { margin-bottom: 32px; }
    .story--lead { grid-row: auto; }
    .story--lead .story__title { font-size: 22px; }
    .story:not(.story--lead) { grid-template-columns: 132px 1fr; gap: 18px; }
    .story:not(.story--lead) .story__title { font-size: 17px; }

    .contact { margin: 0 12px 12px; border-radius: 16px; }
    .contact__inner { grid-template-columns: 1fr; gap: 40px; padding-top: 36px; padding-bottom: 36px; }
    .contact__links a { font-size: 18px; padding: 22px 0; }

    .ft { padding: 56px 0 32px; }
    .ft__top { flex-direction: column; align-items: flex-start; }
    .ft__info { flex-direction: column; margin-top: 36px; }
}

@media (max-width: 560px) {
    .hero__title { font-size: 34px; }
    .btn { height: 48px; padding: 0 22px; font-size: 15px; }
    .prog, .prog.is-open { flex-basis: 86%; height: 420px; }
    .flow { grid-template-columns: 1fr; }
    .ft__bottom { flex-direction: column; }
}
.about__sign strong { margin-left: 6px; color: var(--ink); font-weight: 700; }

/* ===== 2026-11 개편 (구성내용.docx) ===== */
.hero__lead { max-width: 32em; margin-top: 22px; font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, .86); }
.prog__no { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .7); }

/* 직무별 전문 멘토 네트워크 (메인·교육·프로멘토 공용). 하위 페이지의 .pm/.pg 여백 초기화보다 앞서도록 .mentor 를 붙인다 */
.mentor { margin: 0 24px; padding: 64px 0; border-radius: 20px; background: var(--night); color: #fff; }
.mentor :where(h2, p, ul) { margin: 0; padding: 0; }
.mentor ul { list-style: none; }
.mentor__inner { display: grid; grid-template-columns: 5fr 6fr; gap: 96px; align-items: center; }
.mentor__title { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.35; font-weight: 700; letter-spacing: -0.035em; color: #fff; }
.mentor .mentor__lead { max-width: 30em; margin: 28px 0 40px; font-size: 17px; line-height: 1.8; color: rgba(255, 255, 255, .7); text-align: justify; text-justify: inter-character; }
.mentor .mentor__count { display: flex; align-items: flex-start; font-size: clamp(84px, 9vw, 136px); line-height: .95; font-weight: 700; letter-spacing: -0.05em; color: #fff; font-variant-numeric: tabular-nums; }
.mentor__count span { margin-left: 4px; font-size: .5em; line-height: 1.1; color: #B79AD6; }
.mentor .mentor__label { margin-top: 18px; font-size: 17px; font-weight: 500; color: rgba(255, 255, 255, .82); }
.mentor__label small { margin-left: 6px; font-size: 14px; color: rgba(255, 255, 255, .45); }
.mentor .mentor__corps { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 24px; margin-top: 44px; border-top: 1px solid rgba(255, 255, 255, .16); }
.mentor__corps li { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .8); white-space: nowrap; }

/* 메인 소개: 글 + 가치 4가지 */
.about__grid { grid-template-columns: 6fr 5fr; align-items: start; }
.about__text > p:first-of-type { margin-bottom: 40px; }
.values { counter-reset: v; border-bottom: 1px solid #D9D5DE; }
.values li { display: grid; grid-template-columns: 56px 1fr; gap: 4px 0; padding: 26px 0; border-top: 1px solid #D9D5DE; }
.values li::before { counter-increment: v; content: "0" counter(v); grid-row: span 2; padding-top: 3px; font-size: 14px; font-weight: 600; color: var(--brand); }
.values strong { font-size: 20px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.values span { font-size: 15.5px; line-height: 1.7; color: var(--muted); }

/* 5단계 진행 과정 */
.flow--5 { grid-template-columns: repeat(5, 1fr); }
.flow em { display: block; margin-bottom: 14px; font-size: 14px; font-style: normal; font-weight: 600; color: var(--brand); }
.flow--5 strong { font-size: 19px; }

/* 수행사례 (메인) */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 28px; }
.case { display: block; }
.case__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.case:hover .case__img img { transform: scale(1.04); }
.case__cate { margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--brand); }
.case__title { margin-top: 6px; font-size: 19px; line-height: 1.5; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); }
.case:hover .case__title { color: var(--brand); }

/* 협력기관 로고 */
.partners { padding: 0 0 70px; }
.partners .sec-title { margin-bottom: 48px; }
/* 로고마다 둥근 칸 하나, 칸 사이는 간격 */
.partners__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.partners__grid li { display: grid; place-items: center; height: 116px; padding: 20px 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .3s; }
.partners__grid li:hover { border-color: #D3CCDB; }
.partners__grid img { max-width: 100%; max-height: 46px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .3s, opacity .3s; }
.partners__grid li:hover img { filter: none; opacity: 1; }

/* 문의 */
.contact__lead { margin-top: 22px; font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .75); }
.contact__direct { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 40px; }
.contact__direct a { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 600; color: #fff; }
.contact__direct a:hover { color: #E4D6F2; }
.contact__direct i { font-size: 20px; color: rgba(255, 255, 255, .6); }

/* 푸터 */
.ft__top { align-items: flex-start; }
.ft__slogan { margin: 20px 0 0; font-size: 15px; color: rgba(255, 255, 255, .78); }
.ft__biz { margin: 6px 0 0; font-size: 14px; color: rgba(255, 255, 255, .46); }
.ft__biz i { display: inline-block; width: 1px; height: 10px; margin: 0 12px; background: rgba(255, 255, 255, .22); }
.ft__logo img { height: 40px; }

@media (max-width: 1200px) {
    .mentor__inner { gap: 56px; }
    .flow--5 { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
}
@media (max-width: 1024px) {
    .hero__lead { font-size: 17px; }
    .mentor { margin: 0 12px; padding: 36px 0; border-radius: 16px; }
    .mentor__inner { grid-template-columns: 1fr; gap: 48px; }
    .mentor .mentor__corps { grid-template-columns: 1fr 1fr; }
    .about__grid { grid-template-columns: 1fr; }
    .flow--5 { grid-template-columns: 1fr 1fr; }
    .cases { grid-template-columns: 1fr 1fr; gap: 40px 16px; }
    .case__title { font-size: 16px; }
    .partners { padding-bottom: 44px; }
    .partners .sec-title { margin-bottom: 32px; }
    .partners__grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .partners__grid li { height: 92px; padding: 16px 18px; }
    .partners__grid img { max-height: 36px; }
}
@media (max-width: 560px) {
    .mentor__corps li { white-space: normal; font-size: 14px; }
    .flow--5 { grid-template-columns: 1fr; }
    .partners__grid { grid-template-columns: 1fr 1fr; }
    .ft__biz i { margin: 0 8px; }
}
.sec-title { text-wrap: balance; }

/* 5단계 진행 과정 보강: 흐름선 + 단계 점, 설명 3줄 양쪽 정렬 */
.flow--5 { gap: 0 28px; }
.flow--5 li { position: relative; padding-top: 30px; border-top: 2px solid #E2DDE8; transition: border-color .3s; }
.flow--5 li:first-child { border-top-color: #E2DDE8; }
.flow--5 li::before { content: ""; position: absolute; left: 0; top: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px #fff; }
.about .flow--5 li::before { box-shadow: 0 0 0 4px var(--surface); }
.pg-flow .flow--5 li::before { box-shadow: 0 0 0 4px var(--surface); }
.flow--5 li:hover { border-top-color: var(--brand); }
.flow--5 em { margin-bottom: 10px; letter-spacing: .04em; }
.flow--5 strong { min-height: 1.4em; line-height: 1.4; }
.flow--5 span { min-height: calc(1.7em * 3); text-align: justify; text-justify: inter-character; word-break: normal; }   /* 좁은 칸 양쪽 정렬: 음절 단위 줄바꿈이라야 글자 사이가 벌어지지 않는다 */

/* ===== 모바일 정리 (폰 폭 767px 이하): 꼭 필요한 것만, 모바일 비율의 글자 크기 ===== */
.ft__prov { font-style: normal; }
@media (max-width: 767px) {
    body { font-size: 15.5px; }
    .sec-title { font-size: 25px; line-height: 1.35; }
    .sec-head { align-items: center; margin-bottom: 24px; }
    .sec-head .link-arrow { flex: none; font-size: 14px; white-space: nowrap; }

    .hero__title { font-size: 32px; line-height: 1.25; }
    .hero__lead { margin-top: 14px; font-size: 15px; }
    .hero__actions { margin-top: 24px; }
    .prog__title, .prog:not(.is-open) .prog__title { font-size: 19px; }
    .prog__more p { font-size: 14.5px; }

    /* 멘토: 기업 목록은 칩으로 */
    .mentor__title { font-size: 24px; }
    .mentor .mentor__lead { margin: 18px 0 28px; font-size: 15px; }
    .mentor .mentor__count { font-size: 76px; }
    .mentor .mentor__label { margin-top: 10px; font-size: 15px; }
    .mentor .mentor__corps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; border-top: 0; }
    .mentor__corps li { padding: 6px 11px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; font-size: 12.5px; white-space: nowrap; }

    /* 소개: 문단은 회사소개에서, 여기선 가치만 2x2 */
    .about__quote { font-size: 23px; }
    .about__text > p:first-of-type { display: none; }
    .about__text .link-arrow { margin-top: 18px; font-size: 14px; }
    .about__grid { gap: 28px; }
    .values { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-bottom: 0; }
    .values li { display: block; padding: 16px; border: 1px solid #E2DDE8; border-radius: 12px; background: #fff; }
    .values li::before { display: block; margin-bottom: 6px; font-size: 12.5px; }
    .values strong { font-size: 16px; }
    .values span { display: none; }

    /* 5단계: 설명 없이 세로 흐름선 */
    .flow.flow--5 { display: block; margin-top: 40px; padding-left: 22px; border-left: 2px solid #E2DDE8; }
    .flow--5 li, .flow--5 li:first-child { display: flex; align-items: baseline; gap: 12px; padding: 0 0 18px; border-top: 0; }
    .flow--5 li:last-child { padding-bottom: 0; }
    .flow--5 li::before { left: -29px; top: 7px; }
    .flow--5 em { margin: 0; font-size: 13px; }
    .flow--5 strong { min-height: 0; font-size: 16px; }
    .flow--5 span { display: none; }

    /* 수행사례 4개만 */
    .cases { gap: 28px 12px; }
    .cases .case:nth-child(n+5) { display: none; }
    .case__cate { margin-top: 12px; font-size: 12.5px; }
    .case__title { font-size: 15px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    .partners__grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .partners__grid li { height: 62px; padding: 10px 12px; border-radius: 10px; }
    .partners__grid img { max-height: 26px; }

    .contact__title { font-size: 24px; }
    .contact__lead { font-size: 15px; }
    .contact__direct { margin-top: 24px; gap: 8px 20px; }
    .contact__direct a { font-size: 16px; }
    .contact__links a { padding: 18px 0; font-size: 16px; }

    /* 푸터: 패밀리 링크 한 줄, 사업 목록 숨김, 주소는 도 이름 빼고 */
    .ft { font-size: 13.5px; }
    .ft__biz { display: none; }
    .ft__slogan { margin-top: 14px; font-size: 14px; }
    .ft__family { flex-wrap: nowrap; gap: 16px; }
    .ft__family a { white-space: nowrap; font-size: 13.5px; }
    .ft__info { gap: 6px; margin-top: 28px; }
    .ft__prov { display: none; }
}
/* 모바일 멘토 기업: 박스 없이 쉼표로 이어 쓰기 */
@media (max-width: 767px) {
    .mentor .mentor__corps { display: block; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14.5px; line-height: 1.85; color: rgba(255, 255, 255, .8); }
    .mentor .mentor__corps li { display: inline; padding: 0; border: 0; border-radius: 0; font-size: inherit; white-space: nowrap; }   /* "LG전자 · LG화학" 묶음은 한 줄에 */
    .mentor .mentor__corps li:not(:last-child)::after { content: ", "; white-space: normal; }   /* 쉼표 뒤에서는 줄이 바뀔 수 있게 */
}
@media (max-width: 767px) { .mentor .mentor__corps { text-align: justify; text-justify: inter-character; } }

/* 기업 묶음 안의 가운뎃점: 띄어쓰기 대신 여백 (양쪽 정렬 때 벌어지지 않게) */
.mentor__dot { margin: 0 .32em; font-style: normal; }
/* 모바일 멘토 기업: 글자 단위 줄바꿈으로 줄 끝을 채운다 */
@media (max-width: 767px) {
    .mentor .mentor__corps, .mentor .mentor__corps li { word-break: break-all; }
    .mentor .mentor__corps li { white-space: normal; }
}
