/* 미래아이앤티 — 공통 스타일 (토큰은 tokens.css) */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: var(--lh-body);
  color: var(--gray-700); background: var(--white); word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--ink); line-height: var(--lh-tight); letter-spacing: var(--tracking-heading); font-weight: 800; }
:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Sections: 다크/라이트 리듬 ---------- */
.sec { padding-block: var(--section-y); position: relative; }
.sec--gray { background: var(--gray-100); }
.sec--dark { background: var(--navy-900); color: var(--on-dark-muted); }
.sec--deep { background: var(--navy-950); color: var(--on-dark-muted); }
.sec--dark h1, .sec--dark h2, .sec--dark h3,
.sec--deep h1, .sec--deep h2, .sec--deep h3 { color: var(--on-dark); }

/* 섹션 머리: 짧은 분류 + 큼직한 한 문장 */
.sec-head { max-width: 52rem; margin-bottom: var(--sp-6); }
.sec-head--split { display: grid; gap: var(--sp-3); max-width: none; align-items: end; }
@media (min-width: 1080px) { .sec-head--split { grid-template-columns: 1.3fr 1fr; gap: var(--sp-6); } }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-small); font-weight: 700; color: var(--blue-600); margin-bottom: var(--sp-2); }
.kicker::before { content: ""; width: 22px; height: 6px; border-radius: var(--radius-pill); background: var(--grad-brand); transform: skewX(-38deg); }
.sec--dark .kicker, .sec--deep .kicker, .hero .kicker, .sub-hero .kicker { color: var(--cyan-300); }
.headline { font-size: var(--fs-h1); letter-spacing: var(--tracking-display); }
.lead { font-size: var(--fs-lead); max-width: var(--measure); margin-top: var(--sp-3); }
.sec-head--split .lead { margin-top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 1rem; border: 0; cursor: pointer; font-family: inherit;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.btn--primary { background: var(--grad-brand); color: var(--white); box-shadow: 0 10px 30px -10px rgba(46, 163, 242, .7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(46, 163, 242, .85); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--gray-200); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--blue-600); color: var(--blue-600); }
.sec--dark .btn--ghost, .sec--deep .btn--ghost { color: var(--on-dark); box-shadow: inset 0 0 0 1.5px var(--on-dark-line); }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue-600); }
.link-more::after { content: ""; width: 18px; height: 2px; background: currentColor; transition: width .25s var(--ease); }
a:hover .link-more::after, .link-more:hover::after { width: 30px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); transition: background-color .3s, box-shadow .3s; }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.brand { display: block; height: 34px; }
.brand img { height: 100%; width: auto; }
.brand .logo-dark { display: none; }
.site-header.is-solid { background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--gray-200); }
.site-header.is-solid .logo-light { display: none; }
.site-header.is-solid .logo-dark { display: block; }

.gnb { display: flex; align-items: center; gap: 6px; }
.gnb > li { position: relative; }
.gnb > li > a { display: block; padding: 10px 16px; font-weight: 600; color: var(--on-dark); border-radius: var(--radius-pill); }
.site-header.is-solid .gnb > li > a { color: var(--ink); }
.gnb > li > a[aria-current="page"] { color: var(--cyan-300); }
.site-header.is-solid .gnb > li > a[aria-current="page"] { color: var(--blue-600); }
.gnb .sub {
  position: absolute; top: 100%; left: 50%; min-width: 200px; padding: 10px; margin-top: 6px;
  background: var(--white); border-radius: 14px; box-shadow: 0 24px 50px -20px rgba(6, 18, 42, .45);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: .2s var(--ease);
}
.gnb li:hover > .sub, .gnb li:focus-within > .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnb .sub a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink); font-weight: 500; white-space: nowrap; }
.gnb .sub a:hover { background: var(--gray-100); color: var(--blue-600); }
.site-header .gnb > li > a.gnb-cta { display: inline-flex; color: var(--white); margin-left: 10px; min-height: 44px; padding: 0 22px; border-radius: var(--radius-pill); font-size: .95rem; }
.nav-toggle { display: none; }

@media (max-width: 1079px) {
  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: transparent; color: var(--on-dark); cursor: pointer;
  }
  .site-header.is-solid .nav-toggle, .nav-open .nav-toggle { color: var(--ink); }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: .25s; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
  .nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
  .nav-open .nav-toggle span { background: transparent; }
  .nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
  .nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }
  .nav-open .site-header { background: var(--white); }
  .nav-open .logo-light { display: none; } .nav-open .logo-dark { display: block; }

  .gnb {
    position: fixed; inset: var(--header-h) 0 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--sp-3) var(--gutter) var(--sp-6); background: var(--white); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: .25s var(--ease);
  }
  .nav-open .gnb { visibility: visible; opacity: 1; transform: none; }
  .gnb > li { border-bottom: 1px solid var(--gray-200); }
  .gnb > li > a, .site-header .gnb > li > a { color: var(--ink); font-size: 1.25rem; font-weight: 700; padding: 18px 0; border-radius: 0; }
  .gnb .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 14px; margin: 0; min-width: 0; }
  .gnb .sub a { padding: 8px 0; color: var(--gray-700); }
  .site-header .gnb > li > a.gnb-cta { display: flex; color: var(--white); margin: var(--sp-4) 0 0; padding: 0 22px; border-radius: var(--radius-pill); font-size: 1.05rem; }
  .gnb > li:last-child { border: 0; }
}

/* ---------- 브랜드 모티프: 로고 'M'의 둥근 사선 막대 ---------- */
.bars { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.bar {
  position: absolute; width: var(--w, 120px); height: var(--h, 140%); border-radius: var(--radius-pill);
  background: var(--grad-brand); transform: rotate(40deg); transform-origin: center;
}
.bar--line { background: none; box-shadow: inset 0 0 0 1.5px rgba(108, 196, 255, .35); }
.bar--dim { opacity: .18; }

/* ---------- Hero (홈) ---------- */
.hero {
  position: relative; min-height: min(100vh, 1000px); min-height: min(100svh, 1000px); display: flex; align-items: center;
  background: radial-gradient(120% 90% at 85% 10%, var(--navy-700) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color: var(--on-dark-muted); overflow: hidden; padding-block: calc(var(--header-h) + var(--sp-6)) var(--sp-7);
}
/* 영상 교체 슬롯: <video class="hero-media" ...> 를 넣으면 배경으로 깔림 */
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.hero .bars { left: 50%; mask-image: linear-gradient(90deg, transparent, #000 30%); }
.hero .b1 { --w: 150px; --h: 150%; left: 18%; top: -30%; }
.hero .b2 { --w: 150px; --h: 150%; left: 44%; top: -10%; opacity: .9; }
.hero .b3 { --w: 150px; --h: 150%; left: 70%; top: -30%; }
.hero .b4 { --w: 60px; --h: 90%; left: 92%; top: 30%; }
.hero-inner { position: relative; z-index: 1; }
.hero h1 { font-size: var(--fs-display); letter-spacing: var(--tracking-display); color: var(--on-dark); line-height: 1.12; max-width: 12em; }
.hero .lead { color: var(--on-dark-muted); }
.hero-actions { margin-top: var(--sp-5); display: flex; flex-wrap: wrap; gap: 12px; }
.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; border-top: 1px solid var(--on-dark-line);
}
.hero-foot ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-foot a { display: block; padding: 22px 0; color: var(--on-dark); font-weight: 600; font-size: .95rem; transition: color .2s; }
.hero-foot li + li a { padding-left: 24px; border-left: 1px solid var(--on-dark-line); }
.hero-foot a small { display: block; color: var(--on-dark-muted); font-weight: 400; font-size: .8rem; }
.hero-foot a:hover { color: var(--cyan-300); }
@media (max-width: 767px) {
  .hero .bars { left: 10%; opacity: .45; }
  .hero-foot { display: none; }
}

/* 히어로 로드 연출: 막대가 사선 방향으로 한 번 미끄러져 들어옴 */
@media (prefers-reduced-motion: no-preference) {
  .hero .bar { animation: bar-in 1.4s var(--ease) both; }
  .hero .b2 { animation-delay: .12s; } .hero .b3 { animation-delay: .24s; } .hero .b4 { animation-delay: .4s; }
  .hero-inner > * { animation: rise .9s var(--ease) both; }
  .hero-inner > :nth-child(2) { animation-delay: .15s; }
  .hero-inner > :nth-child(3) { animation-delay: .3s; }
  .hero-inner > :nth-child(4) { animation-delay: .45s; }
}
@keyframes bar-in { from { transform: rotate(40deg) translateY(40%); opacity: 0; } }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }

/* ---------- Sub hero ---------- */
.sub-hero {
  position: relative; overflow: hidden; color: var(--on-dark-muted);
  background: linear-gradient(160deg, var(--navy-700) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  padding-block: calc(var(--header-h) + clamp(64px, 8vw, 120px)) clamp(64px, 7vw, 110px);
}
.sub-hero .bars { left: 55%; }
.sub-hero .b1 { --w: 110px; --h: 170%; left: 20%; top: -50%; }
.sub-hero .b2 { --w: 110px; --h: 170%; left: 50%; top: -35%; }
.sub-hero .b3 { --w: 44px; --h: 120%; left: 80%; top: -10%; }
.sub-hero h1 { font-size: var(--fs-h1); color: var(--on-dark); letter-spacing: var(--tracking-display); position: relative; }
.sub-hero .lead { position: relative; }
.crumbs { position: relative; display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--fs-small); margin-bottom: var(--sp-3); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a:hover { color: var(--on-dark); }
@media (max-width: 767px) { .sub-hero .bars { left: 40%; opacity: .5; } }

/* 서브 탭 (사업영역 4개 페이지 이동) */
.subnav { background: var(--white); border-bottom: 1px solid var(--gray-200); position: sticky; top: var(--header-h); z-index: 50; }
.subnav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav a { display: block; padding: 18px 18px; font-weight: 600; color: var(--gray-500); white-space: nowrap; border-bottom: 3px solid transparent; }
.subnav a[aria-current="page"] { color: var(--ink); border-color: var(--blue-600); }
.subnav a:hover { color: var(--ink); }

/* ---------- Media placeholder (이미지 교체 슬롯) ----------
   사용법: <div class="media" data-label="설명"><img src="assets/img/파일.jpg" alt="..."></div>
   img 를 넣으면 placeholder 는 가려짐 */
.media {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: var(--ratio, 4 / 3);
  background:
    linear-gradient(130deg, transparent 46%, rgba(108, 196, 255, .22) 46% 58%, transparent 58%) no-repeat,
    linear-gradient(130deg, transparent 64%, rgba(108, 196, 255, .12) 64% 72%, transparent 72%) no-repeat,
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 32px),
    linear-gradient(150deg, var(--navy-700), var(--navy-950));
}
.media::after {
  content: attr(data-label); position: absolute; left: 16px; bottom: 14px; right: 16px;
  font-size: .78rem; color: rgba(255, 255, 255, .55);
}
.media img, .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
/* 도식·증명서: 잘리지 않게 흰 바탕에 전체 표시 */
.media--doc { background: var(--white); box-shadow: inset 0 0 0 1px var(--gray-200); }
.media--doc img { object-fit: contain; padding: 6%; }
/* 사진 없는 카드: 브랜드 무늬 위 제목 */
.media-title { position: absolute; left: 24px; bottom: 22px; right: 24px; color: var(--white); font-size: var(--fs-h3); font-weight: 800; line-height: 1.3; letter-spacing: var(--tracking-heading); }

/* ---------- Home: 사업영역 ---------- */
.biz-grid { display: grid; gap: var(--sp-3); }
@media (min-width: 768px) { .biz-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) {
  .biz-grid { grid-template-columns: repeat(12, 1fr); gap: var(--sp-4); }
  .biz-card:nth-child(1) { grid-column: 1 / 8; }
  .biz-card:nth-child(2) { grid-column: 8 / 13; }
  .biz-card:nth-child(3) { grid-column: 1 / 6; }
  .biz-card:nth-child(4) { grid-column: 6 / 13; }
}
.biz-card { display: flex; flex-direction: column; gap: var(--sp-3); }
.biz-card .media { --ratio: 16 / 10; transition: transform .6s var(--ease); }
.biz-card:nth-child(2) .media, .biz-card:nth-child(3) .media { --ratio: 5 / 4; }
@media (min-width: 1080px) { .biz-card:nth-child(2) .media, .biz-card:nth-child(3) .media { --ratio: 16 / 12.5; } }
.biz-card h3 { font-size: var(--fs-h2); }
.biz-card p { margin-top: 6px; }
.biz-card .link-more { margin-top: var(--sp-2); }
.biz-card:hover .media { transform: scale(.985); }
.biz-card:hover h3 { color: var(--blue-600); }

/* ---------- Home: 참여사업 마퀴 ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; } .marquee-track [aria-hidden] { display: none; } }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }
.badge {
  display: flex; align-items: center; gap: 14px; padding: 18px 28px 18px 18px; border-radius: var(--radius-pill);
  background: var(--navy-700); color: var(--on-dark); white-space: nowrap; font-weight: 700;
}
.badge small { display: block; font-weight: 400; color: var(--on-dark-muted); font-size: .8rem; }
.badge i { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-brand); flex: none; position: relative; }
.badge i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 22px; border-radius: 4px; background: var(--white); transform: translate(-50%, -50%) rotate(40deg); }
/* 기관 로고 이미지로 교체할 때: <span class="badge"><img src=".." alt=".."></span> */
.badge img { height: 36px; width: auto; }

/* ---------- News cards ---------- */
.news-grid { display: grid; gap: var(--sp-3); }
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .news-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); } }
.news-card { display: flex; flex-direction: column; border-top: 2px solid var(--ink); padding-top: var(--sp-3); }
.news-card .media { --ratio: 16 / 10; margin-bottom: var(--sp-3); border-radius: 14px; }
.news-meta { display: flex; gap: 12px; font-size: var(--fs-small); color: var(--gray-500); }
.news-meta b { color: var(--blue-600); font-weight: 700; }
.news-card h3 { font-size: var(--fs-h3); margin-top: 10px; }
.news-card p { margin-top: 8px; font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card:hover h3 { color: var(--blue-600); }
.empty {
  border: 1.5px dashed var(--gray-200); border-radius: var(--radius-lg); padding: var(--sp-6) var(--sp-4);
  text-align: center; display: grid; gap: var(--sp-2); justify-items: center;
}
.empty h3 { font-size: var(--fs-h3); }

/* ---------- Location ---------- */
.loc { display: grid; gap: var(--sp-5); }
@media (min-width: 1080px) { .loc { grid-template-columns: 1fr 1.4fr; align-items: center; } }
.map { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 11; background: var(--gray-100); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.info-list { display: grid; gap: var(--sp-3); margin-top: var(--sp-4); }
.info-list div { display: grid; grid-template-columns: 5.5rem 1fr; gap: var(--sp-2); padding-bottom: var(--sp-3); border-bottom: 1px solid var(--gray-200); }
.info-list dt { font-weight: 700; color: var(--ink); }
.info-list a { color: var(--blue-600); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .bars { left: 60%; }
.cta-band .b1 { --w: 90px; --h: 260%; left: 10%; top: -80%; opacity: .5; }
.cta-band .b2 { --w: 90px; --h: 260%; left: 40%; top: -80%; opacity: .25; }
.cta-band .container { position: relative; display: grid; gap: var(--sp-4); align-items: center; }
@media (min-width: 1080px) { .cta-band .container { grid-template-columns: 1fr auto; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding-block: var(--sp-7) var(--sp-5); font-size: .95rem; }
.footer-top { display: grid; gap: var(--sp-5); padding-bottom: var(--sp-5); border-bottom: 1px solid var(--on-dark-line); }
@media (min-width: 1080px) { .footer-top { grid-template-columns: 1.2fr 2fr; } }
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { margin-top: var(--sp-3); max-width: 24em; }
.footer-cols { display: grid; gap: var(--sp-4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .footer-cols { grid-template-columns: repeat(4, 1fr); } }
.footer-cols h4 { color: var(--on-dark); font-size: .95rem; margin-bottom: var(--sp-2); }
.footer-cols li + li { margin-top: 8px; }
.footer-cols a:hover { color: var(--on-dark); }
.footer-info { padding-top: var(--sp-4); display: grid; gap: 6px; font-size: .88rem; }
.footer-info span + span::before { content: ""; display: inline-block; width: 1px; height: 11px; background: var(--on-dark-line); margin: 0 12px; }
.footer-info .copy { margin-top: var(--sp-2); opacity: .7; }

/* ---------- Floating CTA ---------- */
.fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab { opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s var(--ease); }
.fab.show { opacity: 1; visibility: visible; transform: none; }
.fab a { box-shadow: 0 14px 34px -12px rgba(6, 18, 42, .55); }
.fab-tel { width: 52px; height: 52px; border-radius: 50%; background: var(--white); color: var(--navy-900); display: grid; place-items: center; }
.fab-top { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-700); color: var(--white); display: grid; place-items: center; border: 0; cursor: pointer; }
@media (min-width: 1080px) { .fab-tel { display: none; } }
@media (max-width: 767px) { .fab .btn { min-height: 48px; padding: 0 20px; } }

/* ---------- Scroll reveal (절제: 섹션 블록 단위 1회) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
  .js [data-reveal].in { opacity: 1; transform: none; }
}

/* ======================================================
   Sub pages
   ====================================================== */

/* 인사말 */
.greeting { display: grid; gap: var(--sp-5); }
@media (min-width: 1080px) { .greeting { grid-template-columns: 1fr 1.2fr; gap: var(--sp-7); } }
.greeting .body p + p { margin-top: var(--sp-2); }
.greeting .sign { margin-top: var(--sp-4); color: var(--ink); font-weight: 700; }
.greeting .media { --ratio: 4 / 5; }

/* 인사말 옆 슬로건 패널 */
.slogan-panel { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 4vw, 48px); }
.slogan-panel::after { content: none; }
.slogan-panel .slogan-mark { position: static; width: auto; height: clamp(36px, 4vw, 52px); object-fit: contain; align-self: flex-start; }
.slogan { position: relative; z-index: 1; color: var(--white); font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); font-weight: 800; line-height: 1.18; letter-spacing: var(--tracking-display); }
.slogan span { display: block; }
.slogan small { display: block; margin-top: var(--sp-3); font-size: 1rem; font-weight: 600; letter-spacing: .02em; color: var(--cyan-300); }
@media (max-width: 1079px) { .greeting .slogan-panel { --ratio: 16 / 11; } }
/* 데스크탑: 오른쪽 글 영역 높이에 맞춤 */
@media (min-width: 1080px) { .greeting .slogan-panel { aspect-ratio: auto; min-height: 420px; } }

/* 비전·미션 */
.vm { display: grid; gap: var(--sp-3); }
@media (min-width: 768px) { .vm { grid-template-columns: repeat(2, 1fr); } }
.vm-item { padding: var(--sp-5) var(--sp-4); border-radius: var(--radius-lg); background: var(--navy-700); position: relative; overflow: hidden; }
.vm-item .bars { left: 70%; }
.vm-item .b1 { --w: 70px; --h: 220%; top: -60%; opacity: .35; }
.vm-item dt { color: var(--cyan-300); font-weight: 700; position: relative; }
.vm-item dd { font-size: var(--fs-h2); font-weight: 800; color: var(--on-dark); line-height: 1.3; letter-spacing: var(--tracking-heading); margin-top: var(--sp-2); position: relative; max-width: 14em; }
.vm-item dd small { display: block; font-size: 1rem; font-weight: 400; color: var(--on-dark-muted); letter-spacing: 0; margin-top: var(--sp-2); line-height: var(--lh-body); }

/* 강점 */
.strengths { display: grid; gap: 0; border-top: 1px solid var(--gray-200); }
.strength { display: grid; gap: var(--sp-2); padding-block: var(--sp-5); border-bottom: 1px solid var(--gray-200); }
@media (min-width: 1080px) { .strength { grid-template-columns: 1fr 1.3fr; gap: var(--sp-6); align-items: baseline; } }
.strength h3 { font-size: var(--fs-h2); }
.strength .tag { display: inline-block; font-size: var(--fs-small); color: var(--blue-600); font-weight: 700; margin-bottom: 8px; }

/* 연혁 타임라인 */
.timeline { display: grid; gap: var(--sp-6); }
.tl-year { display: grid; gap: var(--sp-3); }
@media (min-width: 1080px) { .tl-year { grid-template-columns: 16rem 1fr; gap: var(--sp-6); } }
.tl-year > h3 {
  font-size: clamp(3rem, 2rem + 4vw, 5.5rem); letter-spacing: var(--tracking-display); line-height: 1;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (min-width: 1080px) { .tl-year > h3 { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; } }
.tl-list { border-left: 2px solid var(--on-dark-line); }
.tl-list li { position: relative; padding: 0 0 var(--sp-4) var(--sp-4); }
.tl-list li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--navy-900); box-shadow: inset 0 0 0 3px var(--cyan-400); }
.tl-list time { display: block; font-size: var(--fs-small); color: var(--cyan-300); font-weight: 700; }
.tl-list p { color: var(--on-dark); font-size: var(--fs-lead); font-weight: 600; margin-top: 2px; }

/* 파이프라인 다이어그램 */
.pipeline { display: grid; gap: var(--sp-3); counter-reset: step; position: relative; }
@media (min-width: 1080px) { .pipeline { grid-template-columns: repeat(var(--n, 4), 1fr); gap: 0; } }
.step { position: relative; padding: var(--sp-4) var(--sp-3); border-radius: var(--radius-lg); background: var(--navy-700); }
@media (min-width: 1080px) {
  .step { border-radius: 0; background: none; padding: 0 var(--sp-3) 0 0; }
  .step-node { margin-bottom: var(--sp-4); }
  /* 노드 사이 연결선 + 흐르는 신호 */
  .step:not(:last-child) .step-node::after {
    content: ""; position: absolute; left: 64px; right: 0; top: 50%; height: 2px;
    background: linear-gradient(90deg, var(--cyan-400) 0 30%, rgba(108, 196, 255, .25) 30%);
    background-size: 300% 100%;
  }
}
@media (min-width: 1080px) and (prefers-reduced-motion: no-preference) {
  .pipeline.in .step:not(:last-child) .step-node::after { animation: flow 2.4s linear infinite; }
}
@keyframes flow { from { background-position: 100% 0; } to { background-position: 0 0; } }
.step-node { position: relative; height: 56px; margin-bottom: var(--sp-3); }
.step-node b {
  counter-increment: step; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--grad-brand); color: var(--white); font-size: 1.1rem; position: relative; z-index: 1;
}
.step-node b::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: var(--fs-h3); }
.step p { margin-top: 8px; }
.step ul { margin-top: var(--sp-2); display: grid; gap: 6px; font-size: .95rem; }
.step ul li { padding-left: 16px; position: relative; }
.step ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 3px; border-radius: 2px; background: var(--cyan-400); transform: skewX(-38deg); }

/* 사업 상세 블록 */
.feature { display: grid; gap: var(--sp-5); align-items: center; }
@media (min-width: 1080px) { .feature { grid-template-columns: 1fr 1fr; gap: var(--sp-7); } .feature--rev .media { order: 2; } }
.feature + .feature { margin-top: var(--sp-7); }
.feature h2 { font-size: var(--fs-h1); letter-spacing: var(--tracking-display); }
.feature .body p { margin-top: var(--sp-3); max-width: var(--measure); }
.checklist { margin-top: var(--sp-4); display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: baseline; color: var(--ink); font-weight: 600; }
.checklist li::before { content: ""; flex: none; width: 14px; height: 5px; border-radius: 3px; background: var(--grad-brand); transform: skewX(-38deg) translateY(-3px); }

/* 사업실적 카드 */
.result-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 768px) { .result-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .result-grid { grid-template-columns: repeat(3, 1fr); } }

/* 공지 탭 */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--sp-5); }
.tabs button {
  font: inherit; font-weight: 700; padding: 10px 22px; border-radius: var(--radius-pill); cursor: pointer;
  border: 0; background: var(--white); color: var(--gray-700); box-shadow: inset 0 0 0 1.5px var(--gray-200);
}
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); box-shadow: none; }
.news-card[hidden] { display: none; }

/* 문의 폼 */
.contact { display: grid; gap: var(--sp-6); }
@media (min-width: 1080px) { .contact { grid-template-columns: 1fr 1.6fr; gap: var(--sp-7); } }
.form { display: grid; gap: var(--sp-3); }
@media (min-width: 768px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 700; color: var(--ink); font-size: .95rem; }
.field .req { color: var(--blue-600); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200); background: var(--white); transition: border-color .2s;
}
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(15, 94, 172, .12); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #C53030; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { font-weight: 600; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-block; padding: 10px 18px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1.5px var(--gray-200); color: var(--gray-700); transition: .2s; }
.chips input:checked + span { background: var(--navy-900); color: var(--white); box-shadow: none; }
.chips input:focus-visible + span { outline: 3px solid var(--cyan-400); outline-offset: 2px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.agree input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue-600); }
.form-note { font-size: .9rem; color: var(--gray-500); }
.form-msg { padding: 16px 20px; border-radius: var(--radius-sm); background: #E8F4FD; color: var(--navy-900); font-weight: 600; }
.form-msg.is-error { background: #FDECEC; color: #9B2C2C; }
.form .btn:disabled { opacity: .6; cursor: wait; }
.contact-aside .info-list { margin-top: var(--sp-4); }
