/* =========================================================
   tech 테마 — IT·소프트웨어 기업용
   색상은 theme.css(company.json colors)에서 --primary / --accent / --dark 로 들어옴
   ========================================================= */
:root {
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --gray: #f4f6fa;
  --white: #fff;
  --radius: 14px;
  --hd-h: 84px;
  --wrap: 1320px;
  --gutter: 32px;
  --sec-y: 128px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 1024px) { :root { --hd-h: 68px; --gutter: 24px; --sec-y: 96px; } }
@media (max-width: 640px)  { :root { --gutter: 16px; --sec-y: 72px; } }

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--primary); 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: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 18px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip:focus { top: 16px; }

.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(920px + var(--gutter) * 2); }
.center { text-align: center; }
.mt-l { margin-top: 56px; }
.mt-xl { margin-top: 88px; margin-bottom: 28px; }

/* ---------- 타이포 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 20px; height: 2px; background: currentColor; }
.h2 { font-size: clamp(28px, 3.3vw, 46px); line-height: 1.32; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.4; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head > p:not(.eyebrow) { margin-top: 18px; font-size: 18px; color: var(--muted); }
.sec-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.link-arrow .ico { transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--primary); }
.link-arrow:hover .ico, a:hover > .link-arrow .ico { transform: translateX(4px); }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 10px;
  font-size: 16px; font-weight: 600; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; border-radius: 8px; }
.btn-lg { height: 60px; padding: 0 32px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { box-shadow: 0 10px 28px color-mix(in srgb, var(--primary) 40%, transparent); transform: translateY(-2px); }
.btn-line { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.btn-line-white { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn-line-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 6px; font-size: 13px; font-weight: 700; color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, #fff); }
.tag-line { background: none; border: 1px solid var(--line); color: var(--muted); }
.icon-box {
  display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 16px;
  color: var(--primary); background: color-mix(in srgb, var(--primary) 9%, #fff);
}
.icon-box .ico { width: 28px; height: 28px; }

/* =========================================================
   헤더 + 메가메뉴
   ========================================================= */
.hd { position: fixed; inset: 0 0 auto; z-index: 100; color: #fff; transition: background .3s, color .3s, box-shadow .3s, transform .35s var(--ease); }
.hd-bar { position: relative; z-index: 2; display: flex; align-items: center; height: var(--hd-h); gap: 24px; }
.hd.is-solid, .hd.is-mega { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.hd.is-hidden { transform: translateY(-100%); }

.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { width: 38px; height: 38px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-size: 21px; font-weight: 800; letter-spacing: .04em; }
.logo-text small { font-size: 11px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; opacity: .7; margin-top: 4px; }
.logo-img { height: 36px; width: auto; }
.logo .logo-color { display: none; }
.hd.is-solid .logo-color, .hd.is-mega .logo-color { display: block; }
.hd.is-solid .logo-white, .hd.is-mega .logo-white { display: none; }

.gnb { flex: 1; align-self: stretch; }
.gnb > ul { display: flex; justify-content: center; height: 100%; }
.gnb-item { position: relative; width: 136px; }
.gnb-link { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 17px; font-weight: 600; position: relative; }
.gnb-link::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px; background: var(--primary); transition: width .3s var(--ease), left .3s var(--ease); }
.gnb-item:hover .gnb-link::after, .gnb-item.is-active .gnb-link::after { left: 22%; width: 56%; }
.hd.is-solid .gnb-item.is-active .gnb-link, .hd.is-mega .gnb-item:hover .gnb-link { color: var(--primary); }
.gnb-sub {
  position: absolute; top: 100%; left: 0; right: 0; padding: 28px 0 0; text-align: center;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.gnb-sub a { display: block; padding: 7px 4px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.gnb-sub a:hover, .gnb-sub a[aria-current] { color: var(--primary); font-weight: 600; }
.gnb-item:hover .gnb-sub { background: linear-gradient(color-mix(in srgb, var(--primary) 5%, #fff), color-mix(in srgb, var(--primary) 5%, #fff)) no-repeat center / 100% 100%; }
.hd.is-mega .gnb-sub { opacity: 1; visibility: visible; transform: none; }
.gnb-panel { position: absolute; left: 0; right: 0; top: var(--hd-h); height: 0; background: #fff; overflow: hidden; transition: height .3s var(--ease), box-shadow .3s; }
.hd.is-mega .gnb-panel { height: 248px; border-top: 1px solid var(--line); box-shadow: 0 24px 40px rgba(15,23,42,.08); }
.gnb-item .gnb-sub { height: 248px; }

.hd-util { display: flex; align-items: center; gap: 18px; flex: none; }
.lang { display: flex; gap: 2px; font-size: 13px; font-weight: 600; }
.lang a { padding: 4px 6px; opacity: .55; }
.lang a.is-on { opacity: 1; }
.lang a + a::before { content: ""; display: inline-block; width: 1px; height: 10px; margin-right: 8px; background: currentColor; opacity: .4; }
.menu-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; }
.menu-btn .ico { width: 26px; height: 26px; }
.menu-btn:hover { background: rgba(127,127,127,.12); }

.gnb { min-width: 0; }
@media (max-width: 1400px) { .gnb-item { width: 112px; } .gnb-link { font-size: 16px; } }
@media (max-width: 1200px) { .gnb-item { width: 96px; } .lang { display: none; } }
@media (max-width: 1024px) {
  .gnb, .gnb-panel, .lang { display: none; }
  .hd-bar { justify-content: space-between; }
  .logo-mark { width: 32px; height: 32px; }
  .logo-text b { font-size: 18px; }
}
@media (max-width: 480px) { .hd-cta { display: none; } }

/* 전체 메뉴(사이트맵) */
.sitemap { position: fixed; inset: 0; z-index: 200; background: var(--dark); color: #fff; overflow-y: auto; animation: fadeIn .3s var(--ease); }
.sitemap[hidden] { display: none; }
.sitemap-top { display: flex; justify-content: space-between; align-items: center; height: var(--hd-h); }
.sitemap-close { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; }
.sitemap-close:hover { background: rgba(255,255,255,.1); }
.sitemap-close .ico { width: 28px; height: 28px; }
.sitemap-body { display: grid; grid-template-columns: 1fr 340px; gap: 64px; padding-top: 48px; padding-bottom: 64px; }
.sitemap-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.sitemap-head { display: flex; align-items: baseline; gap: 12px; width: 100%; font-size: 26px; font-weight: 700; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.18); margin-bottom: 16px; text-align: left; cursor: default; }
.sitemap-head .num { font-size: 13px; font-weight: 600; color: var(--accent); }
.sitemap-chev { display: none; margin-left: auto; }
.sitemap-sub a { display: block; padding: 6px 0; color: rgba(255,255,255,.7); font-size: 17px; }
.sitemap-sub a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.sitemap-contact { padding: 36px; border-radius: var(--radius); background: rgba(255,255,255,.06); display: flex; flex-direction: column; gap: 6px; align-self: start; }
.sitemap-contact .eyebrow { color: var(--accent); }
.sitemap-phone { font-size: 32px; font-weight: 700; letter-spacing: -.01em; }
.sitemap-contact p:not(.eyebrow) { color: rgba(255,255,255,.6); font-size: 15px; margin-bottom: 18px; }
@media (max-width: 1024px) {
  .sitemap-body { grid-template-columns: 1fr; gap: 40px; padding-top: 16px; }
  .sitemap-list { grid-template-columns: 1fr; gap: 0; }
  .sitemap-head { cursor: pointer; font-size: 20px; padding: 20px 0; margin: 0; }
  .sitemap-chev { display: block; transition: transform .3s; }
  .sitemap-head[aria-expanded="true"] .sitemap-chev { transform: rotate(180deg); }
  .sitemap-sub { display: none; padding: 8px 0 16px 34px; }
  .sitemap-head[aria-expanded="true"] + .sitemap-sub { display: block; }
}

/* =========================================================
   메인 비주얼
   ========================================================= */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 1080px; overflow: hidden; background: var(--dark); color: #fff; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1s, visibility 1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-bg { position: absolute; inset: 0; background: center / cover no-repeat; transform: scale(1.12); transition: transform 7s linear; }
.hero-slide.is-active .hero-bg { transform: scale(1); }
.hero-slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, color-mix(in srgb, var(--dark) 92%, transparent) 0%, color-mix(in srgb, var(--dark) 70%, transparent) 45%, color-mix(in srgb, var(--dark) 25%, transparent) 100%),
    radial-gradient(60% 80% at 85% 20%, color-mix(in srgb, var(--primary) 45%, transparent), transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.hero-copy { position: relative; z-index: 2; padding-top: var(--hd-h); }
.hero-copy > * { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero-slide.is-active .hero-copy > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero-copy > :nth-child(2) { transition-delay: .15s; }
.hero-slide.is-active .hero-copy > :nth-child(3) { transition-delay: .3s; }
.hero-slide.is-active .hero-copy > :nth-child(4) { transition-delay: .45s; }
.hero .eyebrow { color: var(--accent); }
.hero-title { font-size: clamp(40px, 6vw, 84px); line-height: 1.18; font-weight: 800; letter-spacing: -.035em; color: #fff; }
.hero-text { margin: 28px 0 44px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.7; color: rgba(255,255,255,.82); }
.hero-ctrl { position: absolute; left: 0; right: 0; bottom: 56px; z-index: 3; display: flex; align-items: center; gap: 24px; }
.hero-count { font-size: 15px; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }
.hero-count b { color: #fff; font-weight: 700; }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { width: 56px; height: 20px; display: flex; align-items: center; }
.hero-dot i { position: relative; display: block; width: 100%; height: 3px; background: rgba(255,255,255,.25); overflow: hidden; border-radius: 2px; }
.hero-dot i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active i::after { animation: progress var(--hero-dur, 6s) linear forwards; }
.hero.is-paused .hero-dot.is-active i::after { animation-play-state: paused; }
.hero-toggle { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }
.hero-toggle .ico { width: 14px; height: 14px; fill: currentColor; }
.hero-toggle .i-play, .hero.is-paused .hero-toggle .i-pause { display: none; }
.hero.is-paused .hero-toggle .i-play { display: block; }
.hero-scroll { position: absolute; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); bottom: 48px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero-scroll span { writing-mode: vertical-rl; }
.hero-scroll::after { content: ""; width: 1px; height: 64px; background: linear-gradient(#fff, transparent); animation: scrollLine 2s var(--ease) infinite; transform-origin: top; }
@keyframes progress { to { transform: scaleX(1); } }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 640px) {
  .hero { min-height: 600px; }
  .hero-ctrl { bottom: 32px; }
  .hero-dot { width: 36px; }
  .hero-scroll { display: none; }

}

/* =========================================================
   공통 섹션
   ========================================================= */
.sec { padding: var(--sec-y) 0; }
.sec-gray { background: var(--gray); }
.sec-dark { background: var(--dark); color: rgba(255,255,255,.75); }
.sec-dark .h2, .sec-dark h3 { color: #fff; }
.sec-dark .eyebrow { color: var(--accent); }

/* 소개 + 숫자 */
.intro .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.intro-text { margin: 28px 0 32px; font-size: 18px; color: var(--muted); max-width: 560px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats li { background: #fff; padding: 40px 36px; display: flex; flex-direction: column; gap: 6px; }
.stats strong { font-size: clamp(36px, 4vw, 56px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stats li:nth-child(2) strong, .stats li:nth-child(3) strong { color: var(--primary); }
.stats li > span { color: var(--muted); font-size: 16px; }
.stats-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
  .intro .wrap { grid-template-columns: 1fr; gap: 48px; }
  .stats-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .stats li { padding: 28px 22px; } }

/* 사업분야 (홈) */
.biz { background: var(--gray); }
.biz-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.biz-list { border-top: 1px solid var(--ink); }
.biz-item a { position: relative; display: grid; grid-template-columns: 56px 1fr 32px; column-gap: 16px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.biz-num { font-size: 14px; font-weight: 700; color: var(--muted); padding-top: 10px; }
.biz-name { display: flex; flex-direction: column; font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1.3; transition: color .3s; }
.biz-name small { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.biz-desc { grid-column: 2; max-height: 0; overflow: hidden; color: var(--muted); font-size: 16px; opacity: 0; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.biz-arrow { grid-column: 3; grid-row: 1; width: 28px; height: 28px; margin-top: 8px; color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.biz-item.is-active .biz-name, .biz-item.is-active .biz-num { color: var(--primary); }
.biz-item.is-active .biz-desc { max-height: 120px; opacity: 1; margin-top: 12px; }
.biz-item.is-active .biz-arrow { color: var(--primary); transform: rotate(45deg); }
.biz-visual { position: sticky; top: calc(var(--hd-h) + 40px); aspect-ratio: 4 / 3.4; border-radius: 20px; overflow: hidden; background: var(--dark); }
.biz-fig { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .6s, transform 1s var(--ease); }
.biz-fig.is-active { opacity: 1; transform: none; }
.biz-fig img { width: 100%; height: 100%; object-fit: cover; }
.biz-fig::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, color-mix(in srgb, var(--dark) 85%, transparent)); }
.biz-fig figcaption { position: absolute; left: 32px; bottom: 28px; z-index: 1; display: flex; align-items: center; gap: 12px; color: #fff; font-size: 20px; font-weight: 700; }
.biz-fig figcaption .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--primary); }
@media (max-width: 1024px) {
  .biz-wrap { grid-template-columns: 1fr; }
  .biz-visual { display: none; }
  .biz-desc { max-height: none; opacity: 1; margin-top: 10px; }
  .biz-item a { grid-template-columns: 40px 1fr 28px; padding: 24px 0; }
}

/* 고객사례 카드 */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-card { display: flex; flex-direction: column; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.case-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(15,23,42,.1); }
.case-card[hidden] { display: none; }
.case-img { aspect-ratio: 16 / 10; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.case-card:hover .case-img img { transform: scale(1.06); }
.case-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.case-meta { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.case-body h3 { font-size: 21px; line-height: 1.45; font-weight: 700; color: var(--ink); letter-spacing: -.02em; margin-bottom: 22px; }
.case-result { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.case-result div { display: flex; flex-direction: column-reverse; }
.case-result dt { font-size: 13px; color: var(--muted); }
.case-result dd { font-size: 26px; font-weight: 800; color: var(--primary); letter-spacing: -.02em; line-height: 1.3; }
.case-result-lg dd { font-size: 34px; }
@media (max-width: 1024px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .case-grid { grid-template-columns: 1fr; } }

/* 고객사 흐르는 로고 */
.clients { padding: 0 0 var(--sec-y); }
.clients-title { text-align: center; font-size: 16px; color: var(--muted); margin-bottom: 32px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; padding: 18px 44px; margin-right: 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 18px; font-weight: 800; letter-spacing: .06em; color: #94a3b8; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 뉴스 (홈) */
.news-home { background: var(--gray); }
.news-home-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; }
.news-feature-img { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.news-feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-feature:hover img { transform: scale(1.05); }
.news-feature h3 { font-size: 26px; line-height: 1.4; color: var(--ink); letter-spacing: -.02em; margin: 12px 0 10px; }
.news-feature:hover h3 { color: var(--primary); }
.news-feature p:last-child { color: var(--muted); }
.news-meta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.news-lines { border-top: 1px solid var(--ink); }
.news-lines a { display: grid; grid-template-columns: 1fr 24px; gap: 4px 16px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.news-lines .news-meta { grid-column: 1; }
.news-lines h3 { grid-column: 1; font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.news-lines .ico { grid-column: 2; grid-row: 1 / 3; color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.news-lines a:hover h3, .news-lines a:hover .ico { color: var(--primary); }
.news-lines a:hover .ico { transform: translateX(4px); }
@media (max-width: 1024px) { .news-home-grid { grid-template-columns: 1fr; gap: 40px; } }

/* CTA 띠 */
.cta { position: relative; overflow: hidden; color: #fff; background: linear-gradient(120deg, var(--primary), color-mix(in srgb, var(--primary) 40%, var(--dark))); }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); }
.cta::before { width: 520px; height: 520px; right: -120px; top: -260px; }
.cta::after { width: 360px; height: 360px; right: 120px; bottom: -240px; background: color-mix(in srgb, var(--accent) 25%, transparent); border: 0; filter: blur(30px); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 96px; padding-bottom: 96px; }
.cta h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.35; letter-spacing: -.03em; font-weight: 700; }
.cta p { margin-top: 14px; color: rgba(255,255,255,.8); font-size: 18px; max-width: 640px; }
.cta-btns { display: flex; gap: 12px; flex: none; flex-wrap: wrap; }
@media (max-width: 1024px) { .cta-inner { flex-direction: column; align-items: flex-start; padding-top: 72px; padding-bottom: 72px; } }

/* =========================================================
   푸터
   ========================================================= */
.ft { background: #070d22; color: rgba(255,255,255,.55); font-size: 14px; padding: 56px 0 40px; }
.ft .logo { color: #fff; }
.ft-top { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ft-links { display: flex; flex-wrap: wrap; gap: 8px 28px; flex: 1; }
.ft-links a { color: rgba(255,255,255,.75); font-size: 15px; }
.ft-links b { color: #fff; }
.ft-links a:hover { color: #fff; }
.family { position: relative; }
.family-btn { display: flex; align-items: center; justify-content: space-between; gap: 40px; min-width: 200px; height: 48px; padding: 0 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; color: rgba(255,255,255,.8); font-size: 14px; }
.family-btn .ico { transition: transform .3s; }
.family-btn[aria-expanded="true"] .ico { transform: rotate(45deg); }
.family-list { position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); padding: 8px; background: #121a36; border-radius: 10px; display: none; }
.family-btn[aria-expanded="true"] + .family-list { display: block; }
.family-list a { display: block; padding: 10px 12px; border-radius: 6px; color: rgba(255,255,255,.8); }
.family-list a:hover { background: rgba(255,255,255,.08); }
.ft-info { display: flex; justify-content: space-between; gap: 32px; padding-top: 32px; }
.ft-info p span { display: inline-block; margin-right: 18px; line-height: 2; }
.sns { display: flex; gap: 10px; flex: none; }
.sns a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); }
.sns a:hover { background: var(--primary); color: #fff; }
.copy { margin-top: 24px; font-size: 13px; }
@media (max-width: 768px) { .ft-info { flex-direction: column; } .family { width: 100%; } .family-btn { width: 100%; } }

.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(15,23,42,.25); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s var(--ease); }
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary); }

/* =========================================================
   하위 페이지 공통
   ========================================================= */
.sub-visual { position: relative; display: flex; align-items: flex-end; min-height: 460px; padding: calc(var(--hd-h) + 40px) 0 72px; color: #fff; background: var(--dark); overflow: hidden; }
.sub-visual-bg { position: absolute; inset: 0; background: center / cover no-repeat; animation: subZoom 8s var(--ease) forwards; }
.sub-visual::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, color-mix(in srgb, var(--dark) 92%, transparent), color-mix(in srgb, var(--dark) 55%, transparent)); }
.sub-visual .wrap { position: relative; z-index: 2; }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 18px; }
.crumb li + li::before { content: "›"; margin-right: 8px; opacity: .6; }
.crumb a:hover { color: #fff; }
.sub-title { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.2; font-weight: 800; letter-spacing: -.03em; animation: up .9s var(--ease) both; }
.sub-lead { margin-top: 16px; font-size: 18px; color: rgba(255,255,255,.78); animation: up .9s .15s var(--ease) both; }
@keyframes subZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) { .sub-visual { min-height: 340px; padding-bottom: 48px; } }

.lnb { position: sticky; top: var(--hd-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.lnb-tabs { display: flex; justify-content: center; overflow-x: auto; scrollbar-width: none; }
.lnb-tabs::-webkit-scrollbar { display: none; }
.lnb-tabs a { position: relative; display: block; padding: 22px 28px; font-size: 17px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.lnb-tabs a::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: -1px; height: 3px; background: var(--primary); transform: scaleX(0); transition: transform .3s var(--ease); }
.lnb-tabs a:hover { color: var(--ink); }
.lnb-tabs a[aria-current] { color: var(--ink); }
.lnb-tabs a[aria-current]::after { transform: none; }
@media (max-width: 768px) { .lnb-tabs { justify-content: flex-start; } .lnb-tabs a { padding: 16px 16px; font-size: 15px; } .lnb-tabs a::after { left: 16px; right: 16px; } }

/* 카드 그리드 */
.card-grid { display: grid; gap: 24px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; } }
.value-card, .offer-card, .transit-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.value-card:hover, .offer-card:hover { border-color: color-mix(in srgb, var(--primary) 40%, #fff); box-shadow: 0 18px 40px rgba(15,23,42,.07); transform: translateY(-4px); }
.value-card h3, .offer-card h3, .transit-card h3 { font-size: 21px; color: var(--ink); margin: 22px 0 8px; letter-spacing: -.02em; }
.value-card p, .offer-card p, .transit-card p { color: var(--muted); font-size: 16px; }
.value-en { margin-top: 22px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.value-en + h3 { margin-top: 4px; }
.offer-card { display: flex; gap: 24px; align-items: flex-start; }
.offer-card h3 { margin-top: 4px; }

/* CEO */
.ceo { display: grid; grid-template-columns: 5fr 7fr; gap: 88px; align-items: start; }
.ceo-img { position: sticky; top: calc(var(--hd-h) + 96px); border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; }
.ceo-img img { width: 100%; height: 100%; object-fit: cover; }
.ceo-text .h2 { margin-bottom: 40px; }
.ceo-text p:not(.eyebrow) { margin-bottom: 20px; font-size: 18px; line-height: 1.9; }
.ceo-sign { margin-top: 48px !important; text-align: right; color: var(--muted); }
.ceo-sign strong { display: block; margin-top: 4px; font-size: 24px; color: var(--ink); letter-spacing: .1em; }
@media (max-width: 1024px) { .ceo { grid-template-columns: 1fr; gap: 48px; } .ceo-img { position: static; aspect-ratio: 16 / 9; } }

/* 비전 */
.vision-row { display: grid; grid-template-columns: 200px 1fr; align-items: baseline; gap: 24px; padding: 48px 0; border-bottom: 1px solid var(--line); }
.vision-row:first-child { border-top: 2px solid var(--ink); }
.vision-statement { font-size: clamp(24px, 3vw, 40px); font-weight: 700; color: var(--ink); line-height: 1.4; letter-spacing: -.03em; }
.vision-em { background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.goal-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.goal-list li { padding: 36px; border-radius: var(--radius); background: var(--dark); color: rgba(255,255,255,.7); display: flex; flex-direction: column; gap: 6px; }
.goal-list strong { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; color: #fff; letter-spacing: -.02em; }
@media (max-width: 768px) { .vision-row { grid-template-columns: 1fr; gap: 0; padding: 32px 0; } .goal-list { grid-template-columns: 1fr; } }

/* 연혁 */
.history-period { display: grid; grid-template-columns: 340px 1fr; gap: 48px; padding: 64px 0; border-top: 1px solid var(--line); }
.history-period:first-child { border-top: 2px solid var(--ink); padding-top: 56px; }
.history-side { position: sticky; top: calc(var(--hd-h) + 96px); align-self: start; }
.history-range { font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; color: var(--primary); letter-spacing: -.03em; line-height: 1.2; }
.history-title { margin-top: 10px; font-size: 18px; font-weight: 600; color: var(--ink); }
.history-years { position: relative; padding-left: 36px; }
.history-years::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.history-years > li { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 4px 0 36px; }
.history-years > li::before { content: ""; position: absolute; left: -36px; top: 10px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); }
.history-year { font-size: 24px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.history-years ul li { position: relative; padding-left: 14px; margin-bottom: 8px; font-size: 17px; }
.history-years ul li::before { content: ""; position: absolute; left: 0; top: 13px; width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
@media (max-width: 1024px) { .history-period { grid-template-columns: 1fr; gap: 32px; } .history-side { position: static; } }
@media (max-width: 480px) { .history-years > li { grid-template-columns: 1fr; gap: 4px; } }

/* 오시는 길·연락처 */
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 480px; border: 0; }
.loc-info { display: grid; grid-template-columns: 300px 1fr; gap: 32px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.info-list { display: grid; gap: 20px; }
.loc-info .info-list { grid-template-columns: repeat(2, 1fr); }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ico { width: 22px; height: 22px; margin-top: 2px; color: var(--primary); }
.info-list b { display: block; font-size: 14px; color: var(--muted); font-weight: 600; }
.info-list a, .info-list span { color: var(--ink); font-weight: 500; }
.info-list a:hover { color: var(--primary); }
.transit-card h3 { margin-top: 18px; }
@media (max-width: 768px) { .map iframe { height: 320px; } .loc-info, .loc-info .info-list { grid-template-columns: 1fr; } }

/* 사업분야 */
.biz-cards { display: grid; gap: 28px; }
.biz-card { display: grid; grid-template-columns: 1fr 1.15fr; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; transition: box-shadow .35s, transform .35s var(--ease); }
.biz-cards li:nth-child(even) .biz-card { grid-template-columns: 1.15fr 1fr; }
.biz-cards li:nth-child(even) .biz-card-img { order: 2; }
.biz-card:hover { box-shadow: 0 24px 56px rgba(15,23,42,.1); transform: translateY(-4px); }
.biz-card-img { min-height: 340px; overflow: hidden; }
.biz-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.biz-card:hover .biz-card-img img { transform: scale(1.05); }
.biz-card-body { padding: 48px 52px; display: flex; flex-direction: column; align-items: flex-start; }
.biz-card-body h3 { font-size: 30px; color: var(--ink); letter-spacing: -.03em; margin: 2px 0 12px; }
.biz-card-body > p:not(.value-en) { color: var(--muted); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 28px; }
.chip-list li { padding: 6px 12px; border-radius: 999px; background: var(--gray); font-size: 14px; color: var(--text); }
.biz-card .link-arrow { margin-top: auto; }
@media (max-width: 1024px) {
  .biz-card, .biz-cards li:nth-child(even) .biz-card { grid-template-columns: 1fr; }
  .biz-cards li:nth-child(even) .biz-card-img { order: 0; }
  .biz-card-img { min-height: 0; aspect-ratio: 16 / 9; }
  .biz-card-body { padding: 32px 28px; }
}
.biz-intro { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.biz-intro-text { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.8; color: var(--ink); font-weight: 500; }
@media (max-width: 1024px) { .biz-intro { grid-template-columns: 1fr; gap: 24px; } }
.stack-list { display: flex; flex-wrap: wrap; gap: 12px; }
.stack-list li { padding: 14px 24px; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; color: var(--ink); background: #fff; transition: border-color .25s, color .25s; }
.stack-list li:hover { border-color: var(--primary); color: var(--primary); }

/* 수행 방법론 */
.process-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: p; }
.process-list li { position: relative; padding: 32px 28px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .3s; }
.process-list li:hover { background: color-mix(in srgb, var(--primary) 30%, transparent); }
.process-num { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--accent); }
.process-list h3 { font-size: 21px; margin: 18px 0 6px; }
.process-list p { font-size: 15px; }
@media (max-width: 1024px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .process-list { grid-template-columns: 1fr; } }

/* 필터·게시판 */
.board-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.board-top .filter { margin-bottom: 0; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter-btn { height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--text); background: #fff; transition: .25s; }
.filter-btn span { margin-left: 4px; font-size: 13px; color: var(--muted); }
.filter-btn:hover { border-color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-btn[aria-pressed="true"] span { color: rgba(255,255,255,.6); }
.search { position: relative; width: 320px; max-width: 100%; }
.search input { width: 100%; height: 48px; padding: 0 48px 0 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.search .ico { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.board-count { font-size: 15px; color: var(--muted); padding-bottom: 16px; border-bottom: 2px solid var(--ink); margin-bottom: 32px; }
.board-count b { color: var(--primary); }
.empty { padding: 80px 0; text-align: center; color: var(--muted); }
[data-filter-list] > [hidden] { display: none !important; }

.news-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; }
.news-card { display: block; }
.news-card-img { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; background: var(--gray); }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-card:hover img { transform: scale(1.05); }
.news-card-img.is-empty { display: grid; place-items: center; background: linear-gradient(135deg, var(--dark), color-mix(in srgb, var(--primary) 60%, var(--dark))); color: rgba(255,255,255,.8); font-size: 20px; font-weight: 700; letter-spacing: .1em; }
.news-card h3 { margin: 12px 0 8px; font-size: 20px; line-height: 1.45; color: var(--ink); letter-spacing: -.02em; }
.news-card:hover h3 { color: var(--primary); }
.news-card p:last-child { color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1024px) { .news-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .news-cards { grid-template-columns: 1fr; } }

/* 뉴스 상세 */
.article-head { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.article-title { margin-top: 18px; font-size: clamp(26px, 3vw, 38px); line-height: 1.4; color: var(--ink); letter-spacing: -.03em; }
.article-img { margin: 40px 0 0; border-radius: var(--radius); overflow: hidden; }
.article-body { padding: 40px 0 56px; }
.article-body p { margin-bottom: 22px; font-size: 18px; line-height: 1.95; }
.article-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 28px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.article-nav a:not(.btn) { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.article-nav a span { font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.article-nav a b { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.article-nav a:hover b { color: var(--primary); }
.article-nav .is-next { text-align: right; align-items: flex-end; }
@media (max-width: 640px) { .article-nav { grid-template-columns: 1fr; } .article-nav .btn { order: 3; } .article-nav .is-next { text-align: left; align-items: flex-start; } }

/* 모달 */
.modal { width: min(960px, calc(100% - 32px)); max-height: calc(100vh - 64px); padding: 0; border: 0; border-radius: 20px; overflow: auto; color: var(--text); }
.modal::backdrop { background: rgba(7, 13, 34, .7); backdrop-filter: blur(4px); }
.modal[open] { animation: up .4s var(--ease); }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.modal-content { display: grid; grid-template-columns: 1fr 1.1fr; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.modal-body { padding: 48px 44px; }
.modal-body .h3 { margin-bottom: 14px; }
.modal-body > p:not(.case-meta) { color: var(--muted); }
.modal-body .case-result { margin: 28px 0 32px; }
@media (max-width: 768px) { .modal-content { grid-template-columns: 1fr; } .modal-img img { min-height: 0; aspect-ratio: 16 / 9; } .modal-body { padding: 28px 24px 32px; } }

/* 채용 */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.steps li { position: relative; padding: 28px 20px; border-radius: var(--radius); background: var(--gray); text-align: center; font-weight: 700; color: var(--ink); font-size: 18px; }
.steps li span { display: block; font-size: 13px; color: var(--primary); letter-spacing: .1em; margin-bottom: 6px; }
.steps li:last-child { background: var(--primary); color: #fff; }
.steps li:last-child span { color: rgba(255,255,255,.75); }
@media (max-width: 768px) { .steps { grid-template-columns: 1fr; } }
.job-list { border-top: 1px solid var(--line); }
.job { border-bottom: 1px solid var(--line); }
.job summary { display: grid; grid-template-columns: 84px 1fr auto 28px; align-items: center; gap: 24px; padding: 28px 8px; cursor: pointer; list-style: none; }
.job summary::-webkit-details-marker { display: none; }
.job-status { display: inline-grid; place-items: center; height: 32px; border-radius: 8px; font-size: 14px; font-weight: 700; color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, #fff); }
.job.is-closed .job-status { color: var(--muted); background: var(--gray); }
.job.is-closed .job-title { color: var(--muted); }
.job-main { display: flex; flex-direction: column; gap: 4px; }
.job-team { font-size: 14px; color: var(--primary); font-weight: 600; }
.job-title { font-size: 21px; color: var(--ink); letter-spacing: -.02em; }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--muted); }
.job-tags span + span::before { content: ""; display: inline-block; width: 1px; height: 10px; margin-right: 14px; background: var(--line); }
.job-deadline { font-size: 15px; color: var(--muted); }
.job-chev { color: var(--muted); transition: transform .3s; }
.job details[open] .job-chev { transform: rotate(180deg); }
.job summary:hover .job-title { color: var(--primary); }
.job-detail { display: grid; grid-template-columns: 1fr 1fr auto; gap: 32px; align-items: end; margin: 0 8px 28px; padding: 32px; border-radius: var(--radius); background: var(--gray); }
.job-detail h4 { font-size: 16px; color: var(--ink); margin-bottom: 10px; }
.job-detail li { position: relative; padding-left: 14px; font-size: 16px; }
.job-detail li::before { content: ""; position: absolute; left: 0; top: 13px; width: 4px; height: 4px; border-radius: 50%; background: var(--primary); }
@media (max-width: 768px) {
  .job summary { grid-template-columns: 1fr 24px; gap: 10px; padding: 22px 0; }
  .job-status { justify-self: start; padding: 0 10px; height: 28px; }
  .job-main { grid-column: 1; }
  .job-deadline { grid-column: 1; font-size: 14px; }
  .job-chev { grid-column: 2; grid-row: 1 / 4; }
  .job-detail { grid-template-columns: 1fr; margin: 0 0 24px; padding: 24px; }
}

/* FAQ */
.faq { border-top: 2px solid var(--ink); }
.faq > li { border-bottom: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: 44px 1fr 28px; gap: 16px; align-items: center; padding: 26px 4px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq-q { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; }
.faq-title { display: flex; flex-direction: column; font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.faq-title small { font-size: 13px; color: var(--primary); font-weight: 600; }
.faq-ico { color: var(--muted); transition: transform .3s; }
.faq details[open] .faq-ico { transform: rotate(45deg); color: var(--primary); }
.faq-a { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 24px 4px 30px; background: var(--gray); margin: 0 0 1px; border-radius: 0 0 12px 12px; }
.faq-a-mark { background: var(--primary); }
.faq-a p { padding-top: 6px; }
.faq-more { margin-top: 56px; padding: 40px; border-radius: var(--radius); background: var(--gray); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.faq-more p { font-size: 20px; font-weight: 700; color: var(--ink); }

/* 문의 양식 */
.contact-wrap > * { min-width: 0; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.contact-side { position: sticky; top: calc(var(--hd-h) + 96px); }
.contact-side > p:not(.eyebrow) { margin: 20px 0 40px; color: var(--muted); font-size: 18px; }
.contact-side .info-list { padding-top: 32px; border-top: 1px solid var(--line); }
@media (max-width: 1024px) { .contact-wrap { grid-template-columns: 1fr; gap: 48px; } .contact-side { position: static; } }
.form { display: grid; gap: 24px; padding: 48px; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(15,23,42,.06); background: #fff; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: 15px; font-weight: 600; color: var(--ink); padding: 0; margin-bottom: 8px; }
.field > span { margin-bottom: 0; }
.field em { color: #e11d48; font-style: normal; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field input, .field select { height: 54px; }
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.field .is-invalid, .field input.is-invalid { border-color: #e11d48; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 15px; font-weight: 600; cursor: pointer; transition: .2s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 2px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.agree input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--primary); }
.agree a { color: var(--primary); text-decoration: underline; }
.form-msg { min-height: 1em; font-size: 15px; color: #e11d48; }
.form-msg.is-ok { color: var(--primary); }
@media (max-width: 640px) { .form { padding: 28px 20px; } .field-row { grid-template-columns: 1fr; } }

/* 개인정보처리방침 */
.policy h2 { font-size: 20px; color: var(--ink); margin: 40px 0 12px; }
.policy p { color: var(--text); }
.policy-date { margin-top: 48px; color: var(--muted); }

/* =========================================================
   스크롤 등장 효과 (JS가 켜졌을 때만)
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}
