/* 지니어스 홈페이지 1차 MVP
   디자인 기준: Figma 07 디자인 MD (2026-11-23)
   색 F안: 남색 #002159, 흰 바탕 버튼과 링크 코발트 #1E3FA8(2026-11-23 인디고 #4338CA에서 변경, 남색과 가까워 남색 바탕에는 블루 버튼을 쓰지 않음), 남색 바탕 메인 버튼 노랑 #FFD000(순노랑, 2026-11-23 확정, 한 화면 1~2곳)
   모서리 1안: 버튼, 태그, 입력칸 4px / 카드, 영역 6px
   글꼴: 페이퍼로지. 리틱체 자리(영문 라벨)는 웹폰트 파일이 없어 페이퍼로지로 표시한다. */

@font-face { font-family: 'Paperlogy'; src: url('fonts/Paperlogy-4Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('fonts/Paperlogy-5Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('fonts/Paperlogy-6SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('fonts/Paperlogy-7Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('fonts/Paperlogy-8ExtraBold.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --navy: #002159;
  --navy-deep: #0A1A3F;
  --action: #1E3FA8;
  --action-tint: #EAEEFA;
  --point: #FFD000;
  --point-tint: #FFF6CE;
  --text: #191F28;
  --text-2: #4E5968;
  --text-3: #8B95A1;
  --border: #E5E8EB;
  --bg-subtle: #F2F4F6;
  --white: #fff;
  --r-s: 4px;
  --r-m: 6px;
  --t: .15s;
  --font: 'Paperlogy', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 112px; }
/* 본문 PC 20px(2026-11-23 Figma 07 '글꼴과 크기', 기존 17). 휴대폰(800px 이하)은 아래 반응형 규칙의 16px 그대로.
   푸터, 태그, 뱃지, 말풍선처럼 크기를 따로 정한 작은 글자는 20px 기준 대상이 아니다(2026-11-23 지시) */
body { margin: 0; font-family: var(--font); font-size: 20px; font-weight: 400; line-height: 1.7; color: var(--text); background: var(--white); word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 400; padding: 10px 16px; border-radius: var(--r-s); background: var(--navy); color: var(--white); font-weight: 700; }
.skip-link:focus { top: 12px; }
/* 가로폭: 토스 회사 소개(toss.im/company)와 같은 규칙. 양옆 108px, 1800px 이상 화면은 160px, 최대 1920px */
.wrap { width: 100%; max-width: 1920px; margin: 0 auto; padding-left: 108px; padding-right: 108px; }
.br-pc { display: inline; }
.br-m { display: none; }
/* PC에만 보이는 글자(2026-11-24, 진단 배너 버튼의 '지금 바로 '는 휴대폰에서 뺀다) */
.only-pc { display: inline; }

/* ---------- 버튼 (56 / 48 / 40 / 32, 글자 17 / 16 / 15 / 13) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: var(--r-s); font-weight: 700; line-height: 1; white-space: nowrap; transition: background-color var(--t), color var(--t), border-color var(--t); }
/* 버튼 글자: 2026-11-23 지시로 PC(801px 이상) 전부 20px. 높이는 8px, 좌우 여백은 4px씩 올림(xl 56 → 64, 26 → 30 / l 48 → 56, 22 → 26 / m 40 → 48, 18 → 22).
   모바일(800px 이하)과 모바일 메뉴 맨 아래 버튼(.m-foot)은 예전 값 그대로 */
.btn-xl { height: 64px; padding: 0 30px; font-size: 20px; }
.btn-l { height: 56px; padding: 0 26px; font-size: 20px; }
.btn-m { height: 48px; padding: 0 22px; font-size: 20px; }
.m-foot .btn-xl { height: 56px; padding: 0 26px; font-size: 17px; }
.btn-s { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-block { display: flex; width: 100%; }
.btn .ext { font-size: .82em; }

/* 흰 바탕 주요(코발트): 마우스 올림 흰 바탕 + 코발트 글씨, 누름 노란 바탕 + 코발트 테두리 + 남색 글씨 */
.btn-primary { background: var(--action); border-color: var(--action); color: var(--white); }
.btn-primary:hover { background: var(--white); color: var(--action); }
.btn-primary:active { background: var(--point); border-color: var(--action); color: var(--navy); }
/* 흰 바탕 보조: 회색 테두리 */
.btn-secondary { background: var(--white); border-color: var(--border); color: var(--text); }
.btn-secondary:hover { border-color: var(--action); color: var(--action); }
.btn-secondary:active { background: var(--action-tint); }
/* 남색 바탕 메인(노랑): 마우스 올림 흰 바탕, 누름 남색 바탕 + 흰 테두리 */
.btn-main { background: var(--point); border-color: var(--point); color: var(--navy); }
.btn-main:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn-main:active { background: var(--navy); border-color: var(--white); color: var(--white); }
/* 남색 바탕 보조: 흰 테두리, 마우스 올림 흰 바탕, 누름 노란 바탕 */
.btn-ghost { background: transparent; border-color: var(--white); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-ghost:active { background: var(--point); border-color: var(--point); color: var(--navy); }
.btn[aria-disabled="true"] { background: var(--border); border-color: var(--border); color: var(--text-3); pointer-events: none; }

.link-text { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; color: var(--action); }
.link-text .arr { transition: transform var(--t); }
.link-text:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-text:hover .arr { transform: translateX(3px); }
.link-text.is-light { color: var(--white); }
.inline-link { color: var(--action); text-decoration: underline; text-decoration-color: rgba(30, 63, 168, .4); text-underline-offset: 3px; }
.inline-link:hover { text-decoration-color: var(--action); }
.ext { margin-left: 2px; font-size: .78em; font-weight: 700; }

/* ---------- 태그와 배지 (S 20 / M 24, 노랑은 NEW에만) ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
/* 태그와 뱃지(서비스, 추천, NEW 등): 2026-11-23 지시로 13 → 15px, 높이와 좌우 여백도 같은 비율(24 → 28, 8 → 9) */
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 9px; border-radius: var(--r-s); font-size: 15px; font-weight: 700; line-height: 1; }
.tag-service { background: var(--action-tint); color: var(--action); }
.tag-neutral { background: var(--bg-subtle); color: var(--text-2); }
.tag-new { background: var(--point); color: var(--navy); }
/* 추천: Figma 07 '태그 / 추천'과 같은 모양(코발트 바탕, 흰 글씨). 무기가 되는 숫자경영 시스템에 붙인다(2026-11-23 '필수'로 썼다가 같은 날 지시로 다시 '추천') */
.tag-must { background: var(--action); color: var(--white); }
.badge-soon { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; margin-left: 6px; border: 1px solid var(--border); border-radius: var(--r-s); background: var(--white); color: var(--text-3); font-size: 12px; font-weight: 500; line-height: 1; }

/* ---------- 헤더 (홈 80 남색 / 내부 72 흰 바탕) ----------
   1차 MVP 헤더(2026-11-23 Figma 07 '글꼴과 크기'): PC 메뉴 24px 굵게, 메뉴 글자 사이 36(좌우 18), 바로가기 ↗ 약 19px(.78em),
   로고 높이 30(휴대폰 헤더 22), 오른쪽 문의하기 버튼 높이 48(2026-11-24 지시로 3분 무료 진단 → 문의하기) */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); }
/* 홈 헤더: 첫 화면 위에서는 투명(Figma 07 투명 B), 조금이라도 내리면 흰 바탕 + 아래 선(site.js가 is-scrolled를 붙임) */
.site-header.is-home { background: transparent; border-bottom-color: transparent; color: var(--text); transition: background-color var(--t), border-color var(--t); }
.site-header.is-home.is-scrolled, .site-header.is-home.is-mega-open { background: var(--white); border-bottom-color: var(--border); }
/* 헤더 높이(2026-11-23 지시, '위에 너무 좁지 않아?'): PC 홈 96, 내부 88(기존 80, 72). 휴대폰 헤더 64는 아래 반응형 규칙 그대로 */
/* 헤더 높이: 홈과 내부 화면 모두 96px(2026-11-23 지시로 내부 88 → 96). 화면을 오갈 때 로고와 메뉴가 위아래로 움직이지 않는다 */
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 96px; gap: 24px; }
.logo { display: inline-flex; align-items: center; justify-self: start; }
/* 로고 세로 정렬(2026-11-23 지시): 위쪽 스파클 때문에 JINIUS 글자 가운데가 이미지 높이의 약 65% 지점이라, 자기 높이의 15%만큼 올려
   글자 가운데를 메뉴 글자 가운데에 맞춘다(30px이면 4.5px, 22px이면 3.3px). 헤더와 모바일 메뉴 맨 위 로고에 적용, 푸터 로고(.footer-brand img)는 그대로 */
.logo img { width: auto; height: 30px; transform: translateY(-15%); }
.gnb { position: relative; display: flex; align-items: center; gap: 12px; height: 100%; }
/* 내부 화면 두 줄 버튼: 메뉴 자리를 밀지 않게 메뉴 왼쪽 바깥에 12px 띄워 둔다(2026-11-23 지시). 메뉴(.gnb-list)는 홈과 같은 화면 정가운데 */
.gnb .mega-toggle { position: absolute; top: 50%; right: 100%; margin: -20px 12px 0 0; }
/* 메뉴 가로 가운데는 끝의 ↗를 뺀 글자 기준(2026-11-23 지시): ↗ 폭(.52em)과 간격(4px)만큼 메뉴 왼쪽을 채워
   글자 가운데를 화면 가운데에 둔다(24px 메뉴 16.5px → 글자 8.25px 오른쪽, 20px 메뉴는 아래 1180px 규칙에서 14.4px → 7.2px).
   두 줄 버튼은 같은 값만큼 안쪽으로 당겨 메뉴 글자와의 거리를 그대로 둔다 */
.gnb { --gnb-shift: 16.5px; padding-left: var(--gnb-shift); }
.gnb .mega-toggle { right: calc(100% - var(--gnb-shift)); }
.gnb-list { display: flex; align-items: center; height: 100%; }
.gnb-list > li { height: 100%; display: flex; align-items: center; }
.gnb-link { position: relative; display: inline-flex; align-items: center; gap: 2px; height: 100%; padding: 0 18px; font-size: 24px; font-weight: 700; white-space: nowrap; transition: color var(--t); }
.is-inner .gnb-link:hover, .is-inner .gnb-link:focus-visible { color: var(--action); }
.is-home .gnb-link::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: 30px; height: 2px; background: var(--navy); transform: scaleX(0); transition: transform var(--t); }
.is-home .gnb-link:hover::after, .is-home .gnb-link:focus-visible::after, .is-home.is-mega-open .gnb-link:hover::after { transform: scaleX(1); }
.is-inner .gnb-link.is-current { color: var(--navy); }
.is-inner .gnb-link.is-current::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: 30px; height: 2px; background: var(--navy); }
.mega-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; width: 40px; height: 40px; border-radius: var(--r-s); color: var(--navy); }
.mega-toggle:hover { background: var(--bg-subtle); }
/* 두 줄 버튼 → X: 1차 작업본(homepage-replica)과 같은 움직임(2026-11-23 지시). 두 줄이 0.18초 동안 가운데로 모이며 45도씩 돌아 X가 된다 */
.mega-toggle .mt-line { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .18s; }
.is-mega-open .mega-toggle .mt-line-1 { transform: translateY(4.5px) rotate(45deg); }
.is-mega-open .mega-toggle .mt-line-2 { transform: translateY(-4.5px) rotate(-45deg); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
/* 메뉴 말풍선(2026-11-23 지시): 마우스를 올린 순간 커서 끝에서 오른쪽 12px, 아래 22px에 띄우고, 마우스를 움직여도 그 자리에 둔다.
   메뉴를 벗어나면 닫힌다. 화면 오른쪽 밖으로 나가면 커서 왼쪽에 붙이고, 키보드 초점으로 들어오면 메뉴 글자 아래 가운데에 띄운다(위치는 site.js).
   말풍선 위쪽은 메뉴 글자 아래 8px보다 올라가지 않는다(옆 메뉴 글자를 덮지 않게, 2026-11-24 지시).
   흰 바탕 헤더라 어두운 말풍선 #191F28 + 흰 글씨, 글자 13px, 모서리 4px, 꼬리 없음, 0.15초. 모바일 메뉴에는 없다 */
.gnb-tip { position: fixed; left: 0; top: 0; z-index: 200; padding: 8px 12px; border-radius: 4px; background: #191F28; color: var(--white); font-size: 13px; font-weight: 400; line-height: 1.4; white-space: nowrap; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .15s, visibility 0s linear .15s; }
.gnb-tip.is-on { opacity: 1; visibility: visible; transition: opacity .15s, visibility 0s; }
.m-open { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--r-s); }

/* 전체 메뉴: 헤더 아래 흰 패널, 마우스 올린 항목은 블루 */
.mega { position: absolute; left: 0; right: 0; top: 100%; display: none; background: var(--white); color: var(--text); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); box-shadow: 0 18px 36px rgba(0, 33, 89, .08); }
/* 열고 닫을 때 한 번에 바뀌어 깜빡여 보이지 않게 0.16초 동안 옅어지며 바뀐다(2026-11-23 지시) */
.mega { display: block; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .16s ease, transform .16s ease, visibility 0s; }
/* 펼침 모션(2026-11-24 지시, toss.im 메뉴처럼 '차르르'): 판이 빠르게 깔리고, 칸 제목과 링크가 흐림에서 또렷해지며
   왼쪽 위에서 오른쪽 아래로 차례로 나타난다(칸마다 0.07초, 칸 안 줄마다 0.045초, 순서는 템플릿의 --d).
   CSS 키프레임이라 기기의 '동작 줄이기' 설정에서도 재생된다(헤일로와 같은 기준, 2026-11-23 지시). 닫을 때는 지금처럼 빠르게 옅어진다 */
@keyframes megaPanelIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes megaItemIn { from { opacity: 0; filter: blur(6px); transform: translateY(-3px); } to { opacity: 1; filter: blur(0); transform: none; } }
.mega.is-open { animation: megaPanelIn .18s ease-out both; }
.mega.is-open .mega-title, .mega.is-open .mega-list li { animation: megaItemIn .42s cubic-bezier(.22, 1, .36, 1) both; animation-delay: var(--d, 0ms); }
/* 하위 메뉴 칸은 위 메뉴처럼 가운데로 모은다(2026-11-23 지시). 칸 너비는 내용만큼 */
.mega-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 64px; padding-top: 32px; padding-bottom: 40px; }
.mega-title { margin-bottom: 14px; font-size: 16px; font-weight: 800; color: var(--navy); }
.mega-title a:hover { color: var(--action); }
.mega-list li + li { margin-top: 10px; }
.mega-link { font-size: 15px; color: var(--text-2); transition: color var(--t); }
.mega-link:hover, .mega-link:focus-visible { color: var(--action); }
.mega-soon { display: inline-flex; flex-wrap: wrap; align-items: center; row-gap: 4px; font-size: 15px; color: var(--text-3); }

/* 모바일 전체 메뉴 (헤더 64, 그룹은 눌러서 펼침, 맨 아래 노란 문의하기 버튼) */
.m-menu { position: fixed; inset: 0; z-index: 300; display: flex; flex-direction: column; background: var(--white); color: var(--text); }
.m-menu[hidden] { display: none; }
.m-head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 20px; border-bottom: 1px solid var(--border); flex: none; }
.m-head .logo img { height: 22px; }
.m-close { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin-right: -10px; }
.m-close .i-close { display: block; }
.m-body { flex: 1; overflow-y: auto; }
.m-group { border-bottom: 1px solid var(--border); }
.m-group-btn, .m-group-link { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px; padding: 20px; font-size: 17px; font-weight: 800; text-align: left; }
.m-group-link { justify-content: flex-start; gap: 4px; }
.m-sign { position: relative; width: 12px; height: 12px; flex: none; }
.m-sign::before, .m-sign::after { content: ''; position: absolute; left: 0; top: 5px; width: 12px; height: 2px; background: var(--text-3); transition: transform var(--t); }
.m-sign::after { transform: rotate(90deg); }
[aria-expanded="true"] > .m-sign::after { transform: rotate(0); }
.m-sub { padding: 0 20px 16px; }
.m-sub li { padding: 8px 0; }
.m-sub .mega-link, .m-sub .mega-soon { font-size: 15px; }
.m-foot { flex: none; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); background: var(--navy); }

/* ---------- 섹션 공통 ---------- */
.section { padding: 112px 0; }
.section.is-subtle { background: var(--bg-subtle); }
.section.is-tight { padding: 56px 0 104px; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: end; gap: 32px; margin-bottom: 52px; }
.eyebrow { margin-bottom: 14px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--action); }
.section-title { font-size: clamp(28px, 3.3vw, 40px); font-weight: 800; line-height: 1.36; letter-spacing: -.02em; color: var(--navy); }
.section-desc { font-size: 20px; color: var(--text-2); }
.section-more { margin-top: 36px; text-align: right; }
.note { margin-top: 20px; font-size: 14px; color: var(--text-3); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.split .section-desc { margin-top: 20px; }

/* ---------- 홈 첫 화면: 흰색 소프트 헤일로 (2026-11-23 지시) ----------
   배경은 홈페이지 작업공간 research/halo-motion-preview 의 흰색 테마(광원 색과 농도는 아래 .halo 규칙, 움직임은 assets/js/halo.js).
   첫 화면은 투명 헤더 아래까지 올라가고(--hh), 광원 층은 첫 화면 아래로 이어져 다음 영역에서 0까지 옅어진다.
   광원 층은 #main 안에서 맨 뒤(z-index -1)에 깔려 글자와 카드를 가리지 않는다. */
#main { isolation: isolate; }
.hero { --hh: 96px; position: relative; margin-top: calc(-1 * var(--hh) - 1px); color: var(--text); }
/* 첫 화면 아래 여백: 2026-11-23 지시로 SERVICES와의 간격을 두 번 늘림(144 → 224 → 320, PC만. 휴대폰은 88 그대로) */
/* 2026-11-24: 첫 화면 라벨('사람과 시스템이 함께 하는 지니어스그룹')을 회사 소개로 옮기면서, 제목이 제자리에 있도록
   라벨이 차지하던 높이(글자 22px x 줄 간격 1.7 + 아래 여백 22px = 59.4px, 휴대폰 15 x 1.7 + 16 = 41.5px)를 위 여백에 더했다 */
.hero-inner { position: relative; padding-top: calc(128px + var(--hh) + 59.4px); padding-bottom: 320px; }
/* PC는 첫 화면이 화면 높이 전체를 채워 SERVICES가 첫 화면 아래에서 시작한다(2026-11-23 지시로 SERVICES를 한 번 더 내림). 휴대폰은 그대로 */
@media (min-width: 801px) {
  .hero { min-height: 100vh; min-height: 100svh; }
  /* 첫 화면 글 위치: 2026-11-23 지시로 아래로 내림. 시안(halo-motion-preview)의 23.4%에서 같은 날 '아주 살짝만' 더 내려 화면 높이의 25%(최소 128px) 아래에서 시작 */
  .hero-inner { padding-top: calc(max(128px, 25vh) + var(--hh) + 59.4px); padding-top: calc(max(128px, 25svh) + var(--hh) + 59.4px); }
}
.hero-eyebrow { margin-bottom: 22px; font-size: 22px; font-weight: 700; color: var(--action); }
/* 첫 화면 제목(2026-11-24 지시, 글꼴 시안 1번): 페이퍼로지 세미볼드(600), PC 최대 68 → 88px. 휴대폰 크기는 그대로 */
.hero-title { font-size: clamp(40px, 5.8vw, 68px); font-weight: 600; line-height: 1.26; letter-spacing: -.03em; color: var(--navy); }
@media (min-width: 801px) { .hero-title { font-size: clamp(56px, 6.2vw, 88px); } }
.hero-copy { max-width: 1040px; margin-top: 28px; font-size: 26px; line-height: 1.65; color: var(--text-2); }
/* 첫 화면 설명 줄바꿈(2026-11-24 지시): 첫 문장 뒤는 늘 줄을 바꾸고, 둘째 문장이 한 줄에 다 안 들어가 3줄이 될 때는
   '…데이터를 리딩하는 / 과정을 지니어스에게 맡기세요'로 나눈다. 두 덩어리를 통째로 다루므로 그 밖의 자리에서는 줄이 바뀌지 않는다 */
.hero-copy-chunk { display: inline-block; }

.halo { --pad-top: 0; --pad-bottom: 0; --reach: 1.04; position: relative; overflow: hidden; isolation: isolate; }
.halo--white { background-color: var(--white); }
.halo-blob { --cx: 960; --cy: 480; --rx: 480; --ry: 480; --a: .5; --rgb: 255 255 255; position: absolute; opacity: var(--a); pointer-events: none; }
/* 첫 그림에서 광원이 잘못된 자리에 잠깐 보였다가 튀지 않도록, halo.js가 자리를 잡은 뒤(.halo-live) 0.5초에 걸쳐 나타나게 한다 */
html:not(.halo-live) .halo-blob { opacity: 0; }
.halo-blob { transition: opacity .5s ease; }
.halo-live .halo .halo-blob { will-change: transform; }
.halo--white .halo-blob { background-image: radial-gradient(closest-side, rgb(var(--rgb) / 1) 0%, rgb(var(--rgb) / .95) 12%, rgb(var(--rgb) / .833) 24%, rgb(var(--rgb) / .702) 36%, rgb(var(--rgb) / .553) 48%, rgb(var(--rgb) / .409) 58%, rgb(var(--rgb) / .287) 67%, rgb(var(--rgb) / .22) 73%, rgb(var(--rgb) / .123) 82%, rgb(var(--rgb) / .062) 88%, rgb(var(--rgb) / .023) 93%, rgb(var(--rgb) / .005) 97%, rgb(var(--rgb) / 0) 100%); }
.w-sky { --rgb: 84 172 240; --a: .78; --cx: 1820; --cy: 60; --rx: 520; --ry: 440; }
.w-sky2 { --rgb: 144 209 255; --a: .75; --cx: 280; --cy: 140; --rx: 460; --ry: 400; }
.w-sky3 { --rgb: 202 232 252; --a: .75; --cx: 1600; --cy: 820; --rx: 420; --ry: 360; }
.w-left { --rgb: 144 209 255; --a: .75; --cx: 300; --cy: 780; --rx: 440; --ry: 360; }
.w-white { --rgb: 255 255 255; --a: .24; --cx: 1260; --cy: 330; --rx: 640; --ry: 520; }
.w-yellow { --rgb: 255 208 0; --a: .21; --cx: 1880; --cy: 740; --rx: 480; --ry: 460; }
.w-yellow2 { --rgb: 255 208 0; --a: .11; --cx: 920; --cy: -40; --rx: 460; --ry: 420; }
/* 아무 비율 무대: 위치는 가로, 세로 비율대로(--sx, --sy), 크기는 한 배율(--s). halo.js가 값을 넣는다 */
.halo--fluid { --sx: 1; --sy: 1; --s: 1; --oy: 0; }
.halo--fluid .halo-blob { left: calc(var(--cx) * var(--sx) * 1px - var(--rx) * var(--reach) * var(--s) * 1px); top: calc(var(--oy) * 1px + var(--cy) * var(--sy) * 1px - var(--ry) * var(--reach) * var(--s) * 1px); width: calc(var(--rx) * var(--reach) * var(--s) * 2px); height: calc(var(--ry) * var(--reach) * var(--s) * 2px); }
/* 첫 화면의 광원 층: 첫 화면 높이 기준 좌표(data-ref=".hero"), 아래로 672(1920 x 960 기준)만큼 더 이어진다.
   흰 바탕은 첫 화면 높이(무대 높이의 960/1632 = 58.82%)까지만 칠하고 그 아래는 비워, 아래쪽 빛이 SERVICES부터 시작하는
   남색 그라데이션 위로 끊기지 않고 옅어진다(시안 15차와 같은 방식) */
.hero-halo.halo { --pad-bottom: 672; position: absolute; z-index: -1; top: 0; left: 0; right: 0; height: 170%; background: linear-gradient(var(--white), var(--white)) top / 100% 58.83% no-repeat; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }

/* ---------- 홈: SERVICES 유리 카드와 야간 교차로 영상 (2026-11-23 지시) ----------
   남색 그라데이션은 뺐다(2026-11-23 지시, 시안 research/glass-cards-2026-11-23/v4-n2.html). SERVICES는 흰 바탕이고,
   카드 뒤로 첫 화면과 같은 헤일로 빛 4개(하늘색 2, 연한 파랑 1, 흰빛 1)가 움직이며, 그 위 유리 카드가 빛을 흐리게 비춘다.
   빛 무대는 카드 위 끝에서 SERVICES 아래 구간(.home-dusk-tail, 8svh) 끝까지, 가로는 화면 전체. 위 30%와 아래 12%는 서서히 사라져
   끊긴 선이 보이지 않는다. 노란 빛은 파랑과 겹치면 초록으로 보여 뺐다. 빛 무대는 #main 쌓임 맥락의 z-index -1이라 카드 아래에 깔린다.
   영상 구간: 위쪽이 흰색에서 서서히 드러나고, 글자 뒤만 타원으로 어둡게 깐다. 글자 위치는 다른 구간과 같은 내용 폭(.wrap).
   PC 영상은 위 18%(하늘과 건물 간판)와 아래 12%를 잘라 낸 교차로 영상 뒤에 업무 몽타주를 이어 붙인 파일이다 */
.home-dusk { position: relative; overflow-x: clip; }
.home-dusk .service-grid { position: relative; }
.svc-halo.halo { position: absolute; z-index: -1; top: 0; bottom: calc(-112px - 8vh); bottom: calc(-112px - 8svh); left: calc(50% - 50vw); right: calc(50% - 50vw); background: none; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 55%, transparent 88%); mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 55%, transparent 88%); }
.svc-halo .w-sky { --a: .5; }
.svc-halo .w-sky3 { --a: .55; }
.svc-halo .w-left { --a: .55; }
.svc-halo .w-white { --a: .18; }
/* 유리 카드: 흰색 36%에서 16%로 옅어지는 면, 블러 22px, 흰 테두리와 윗선 하이라이트. 뒤가 비쳐도 읽히게 본문은 조금 더 진한 회색 */
.home-dusk .service-card { background: linear-gradient(135deg, rgba(255, 255, 255, .36) 0%, rgba(255, 255, 255, .16) 100%); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); border: 1px solid rgba(255, 255, 255, .6); border-radius: 20px; box-shadow: 0 10px 36px rgba(0, 33, 89, .14), inset 0 1px 0 rgba(255, 255, 255, .7); }
.home-dusk .service-card:hover { border-color: rgba(255, 255, 255, .95); box-shadow: 0 14px 44px rgba(0, 33, 89, .2), inset 0 1px 0 rgba(255, 255, 255, .95); }
.home-dusk .service-card .service-desc, .home-dusk .service-card .check-list li { color: #333D4B; }
.home-dusk-tail { height: 8vh; height: 8svh; }
.home-city { position: relative; z-index: 1; display: grid; align-items: center; min-height: 130vh; min-height: 130svh; overflow: hidden; isolation: isolate; padding: clamp(200px, 34svh, 460px) 0 clamp(160px, 26svh, 360px); background-color: #002159; color: var(--white); }
.home-city-video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.home-city-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; --city-scrim: radial-gradient(ellipse 72% 40% at 28% 52%, rgb(0 6 22 / .62) 0%, rgb(0 6 22 / .46) 50%, rgb(0 6 22 / 0) 100%); background-color: rgb(0 6 22 / .2); background-image: linear-gradient(to bottom, #ffffff 0%, rgb(255 255 255 / .94) 3%, rgb(255 255 255 / .8) 6.5%, rgb(255 255 255 / .6) 10%, rgb(255 255 255 / .38) 14%, rgb(255 255 255 / .2) 17.5%, rgb(255 255 255 / .08) 21%, rgb(255 255 255 / 0) 24%), linear-gradient(to top, #ffffff 0%, rgb(255 255 255 / .94) 3%, rgb(255 255 255 / .8) 6%, rgb(255 255 255 / .6) 9%, rgb(255 255 255 / .38) 12.5%, rgb(255 255 255 / .2) 16%, rgb(255 255 255 / .08) 19%, rgb(255 255 255 / 0) 22%), var(--city-scrim); }
/* 영상 위아래 끝(2026-11-23 지시): 위는 흰 바탕(SERVICES)에서, 아래는 다음 구간으로 서서히 이어진다(2026-11-24부터 다음 구간은 흰 바탕 숫자경영 앱 화면, 그 전에는 WORKS의 옅은 회색 #F2F4F6).
   위 24%, 아래 22% 구간에서 처음에 빨리, 끝으로 갈수록 천천히 옅어지는 곡선이라 경계선이 보이지 않는다. 글자는 이 구간 밖에 있다 */
.home-city-copy { position: relative; z-index: 2; text-shadow: 0 1px 2px rgb(0 0 0 / .35), 0 2px 24px rgb(0 6 22 / .5); }
.home-city-kicker { margin-bottom: clamp(16px, 2vw, 28px); font-size: clamp(15px, 1.3vw, 22px); font-weight: 500; line-height: 1.5; letter-spacing: -.01em; color: rgb(255 255 255 / .84); }
.home-city-title { font-size: clamp(30px, 4.4vw, 76px); font-weight: 700; line-height: 1.3; letter-spacing: -.03em; color: var(--white); text-wrap: balance; }
.home-city-body { max-width: 60em; margin-top: clamp(20px, 2.4vw, 40px); font-size: clamp(16px, 1.45vw, 25px); font-weight: 500; line-height: 1.7; letter-spacing: -.015em; color: rgb(255 255 255 / .9); text-wrap: pretty; }
.br-city-m { display: none; }
/* 767px 이하(2026-11-24 지시): 영상 구간 높이는 화면 한 장(100svh, PC는 130svh). 줄바꿈은 제목 2줄, 본문 4줄
   (.br-city-m은 휴대폰에서만, .br-city-pc는 PC에서만 줄을 바꾼다). 가장 긴 줄이 한 줄에 들어가도록 글자를 화면 폭에 맞춘다.
   제목은 '숫자의 기준은 더 분명해야 하니까'(12.66em) 기준 최대 30px, 본문은 가장 긴 셋째 줄 '검증하고, … 의존하지 않고'(22.22em) 기준 12~16px
   (390폭 약 15.7px, 360폭 약 14.3px). 2026-11-24 마지막 문장에서 '실행까지'를 빼면서 기준 줄이 마지막 줄(24.78em)에서 셋째 줄로 바뀌었다 */
@media (max-width: 767px) {
  .home-city { min-height: 100vh; min-height: 100svh; }
  .home-city-shade { --city-scrim: radial-gradient(ellipse 100% 32% at 45% 53%, rgb(0 6 22 / .62) 0%, rgb(0 6 22 / .52) 55%, rgb(0 6 22 / 0) 100%); }
  .br-city-m { display: inline; }
  .br-city-pc { display: none; }
  .home-city .wrap { padding-left: 20px; padding-right: 20px; }
  .home-city-title { font-size: min(clamp(30px, 4.4vw, 76px), calc((100vw - 40px) / 12.75)); }
  .home-city-body { font-size: clamp(12px, calc((100vw - 40px) / 22.35), 16px); }
}

/* ---------- 홈: 숫자경영 보고서 화면 (2026-11-24 지시, 타다 소개 화면처럼 왼쪽 휴대폰, 오른쪽 글) ----------
   같은 날 '스크롤하면 휴대폰 화면 스크롤에 반영되고 다음으로도 넘어가게, 화면별로 글을 다르게'로 바꿈. 구간(.app-scrolly)이 화면 수만큼
   길어지고(화면당 80svh), 그 안에서 휴대폰과 글(.app-sticky)이 화면에 붙어 있는 동안 스크롤에 맞춰 본문이 내려가고 다음 화면이 들어온다(site.js).
   JS가 없으면 첫 화면과 첫 글만 보인다. 화면 비율은 시안 .scr 366:820. 1101px 이상은 두 칸, 800px 이하는 글이 위, 휴대폰이 아래 */
.app-show-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; }
.app-show-text { order: 2; }
.app-show-side .app-show-text { order: 0; }
.show-kicker { font-size: 20px; font-weight: 700; line-height: 1.5; color: var(--navy); }
.show-title { margin-top: 20px; font-size: clamp(32px, 3.2vw, 52px); font-weight: 600; line-height: 1.35; letter-spacing: -.03em; color: var(--navy); text-wrap: balance; }
/* 휴대폰 크기: 헤더(96px) 아래 한 화면에 점까지 다 보이게 화면 높이에 맞춘다(휴대폰 틀 높이 = 폭 x 2.1635, 최소 280px, 최대 360px) */
.app-phone { order: 1; justify-self: center; width: clamp(280px, calc((100vh - 220px) / 2.1635), 360px); width: clamp(280px, calc((100svh - 220px) / 2.1635), 360px); max-width: 100%; user-select: none; -webkit-user-select: none; }
.app-phone-frame { padding: 3.1%; border-radius: 15% / 7%; background: #111418; box-shadow: 0 0 0 1px rgb(0 0 0 / .2), 0 30px 60px rgb(0 33 89 / .18), 0 12px 24px rgb(0 33 89 / .08); }
.app-phone-screen { position: relative; overflow: hidden; aspect-ratio: 366 / 820; border-radius: 12.4% / 5.5%; background: #002159; }
/* 화면 위 가운데 카메라 자리(다이내믹 아일랜드). 시안 상태 표시줄의 시각과 아이콘 사이 빈 자리에 놓인다 */
.app-phone-screen::after { content: ''; position: absolute; z-index: 5; top: 1.3%; left: 50%; width: 30%; height: 3.6%; border-radius: 999px; background: #000; transform: translateX(-50%); pointer-events: none; }
/* 보고서 화면: 위(732x269 → 화면 높이의 269/1640 = 16.402%)와 아래 탭은 고정, 가운데 본문만 --s(0~1) x --r만큼 올라간다.
   다음 화면은 오른쪽 밖에서 기다리다 들어오고(is-active), 지난 화면은 왼쪽으로 조금 밀리며 어두워진다(is-past). 앱 화면 넘김처럼 */
.rs { position: absolute; inset: 0; overflow: hidden; background: #F4F5F7; transform: translateX(100%); transition: transform .55s cubic-bezier(.32, .72, 0, 1), filter .55s ease; }
.rs.is-active { transform: none; }
.rs.is-past { transform: translateX(-28%); filter: brightness(.82); }
.rs img { position: absolute; left: 0; display: block; width: 100%; height: auto; -webkit-user-drag: none; }
.rs-top { top: 0; z-index: 2; }
.rs-tab { bottom: 0; z-index: 2; }
.rs-view { position: absolute; top: 16.402%; left: 0; right: 0; bottom: 0; overflow: hidden; }
.rs-view .rs-body { top: 0; transform: translateY(calc(var(--s, 0) * var(--r) * -100%)); will-change: transform; }
.app-phone-dots { display: flex; justify-content: center; gap: 2px; margin-top: 20px; }
.app-dot { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.app-dot::before { content: ''; width: 8px; height: 8px; border-radius: 4px; background: rgb(0 33 89 / .2); transition: width .3s ease, background-color .3s ease; }
.app-dot[aria-current="true"]::before { width: 20px; background: var(--navy); }
.app-dot:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; border-radius: 6px; }
/* 오른쪽 글: 화면마다 하나씩, 같은 칸에 겹쳐 두고 지금 화면의 글만 보인다.
   2026-11-24 지시('한 줄씩 부드럽게 아래에서 위로, 스크롤 한 번에 한 줄이 아니라 단락이 반응'): 화면이 바뀌면 단락 전체가 한 번에 반응하고,
   그 안에서 소제목, 제목 첫 줄, 둘째 줄이 0.08초 간격으로 줄 칸(.ln) 아래에서 올라온다. 지난 글은 위로 빠지고(is-past), 다음 글은 아래에서 기다린다.
   거꾸로 올리면 반대로 움직인다 */
/* 서비스 이름(2026-11-24 지시 '무기가 되는 숫자경영 시스템 표시, AX 섹션처럼'): 고정 소제목. 화면 이름은 그 아래 작은 글씨로 화면마다 바뀐다 */
.app-show-side { order: 2; }
.app-service { margin-bottom: 18px; }
.app-screen-name { font-size: 17px; font-weight: 700; line-height: 1.5; color: var(--action); }
.app-show-text { display: grid; }
.app-text { grid-area: 1 / 1; }
.app-text:not(.is-active) { pointer-events: none; }
.app-text .ln { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.app-text .ln > span { display: block; transform: translateY(115%); transition: transform .75s cubic-bezier(.2, .8, .2, 1) calc(var(--l) * .08s); }
.app-text.is-active .ln > span { transform: none; }
.app-text.is-past .ln > span { transform: translateY(-115%); transition-duration: .45s; transition-delay: calc(var(--l) * .04s); }
/* 스크롤 구간(JS가 켤 때만): 휴대폰과 글이 화면에 붙어 있는 동안 화면 수 x 80svh만큼 내린다. 위 여백은 고정 헤더 높이만큼 */
.app-show.is-scrolly .app-scrolly { height: calc(var(--n) * 80vh + 100vh); height: calc(var(--n) * 80svh + 100svh); }
.app-show.is-scrolly .app-sticky { position: sticky; top: 0; display: flex; align-items: center; height: 100vh; height: 100svh; padding-top: 72px; }
.app-show.is-scrolly .app-sticky > .wrap { width: 100%; }

/* ---------- 홈: 지니어스 AX 컨설팅, 고객사 납품 화면 (2026-11-24 지시, 토스 회사 소개 계열사 카드처럼, 세로형 말고 가로형) ----------
   왼쪽에 글(소제목, 제목), 오른쪽에 WORKS 고객사 납품 8개의 화면(16:10) 카드를 2열로 놓는다(같은 날 3열 3, 3, 2에서 바꿈).
   오른쪽 칸은 아래로 어긋나게 두고, 글은 카드를 내리는 동안 화면에 머문다(sticky). 화면이 보이게 위는 옅게, 아래로 갈수록 짙은
   남색을 덮고 가운데에 제목, 아래에 설명을 흰 글자로 쓴다. 1100px 이하는 글이 위, 카드가 아래 */
/* 섹션 사이 여백: 처음 24px로 붙였다가 2026-11-24 지시('공간이 너무 없어', '섹션 사이사이 더 넓게, 다닥다닥')로 넉넉하게.
   영상 구간 아래 홈 섹션(숫자경영 앱 화면, AX, 사무실 사진, 신뢰)은 섹션 사이를 고르게 PC 240~280px, 휴대폰 145~170px */
/* 붙어 있는 구간은 화면 높이 가운데에 내용을 두므로, 영상 → 휴대폰, 휴대폰 점 → AX가 다른 섹션 사이처럼 PC 400px, 휴대폰 200px 안팎이 되게 맞춘 값 */
.section.app-show { padding: 276px 0 68px; }
/* 2026-11-24 다시 지시('섹션 사이사이 더 여유 있게 한 거 반영 안 된 듯'): 재 보니 숫자경영 → AX가 199px로 가장 좁고 아래 섹션들이 위쪽(430~620px)보다
   훨씬 좁아서, 영상 아래 섹션 사이 글과 글 사이를 PC 400px 안팎, 휴대폰 200px 안팎으로 넓혔다 */
.section.ax-show { padding: 280px 0 240px; }
.ax-show-inner { display: grid; grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); gap: clamp(40px, 5vw, 96px); align-items: start; }
/* 제목 두 줄 유지(2026-11-24 지시 '왜 세 줄로 나와'): 글 칸 4.5/12에 '지니어스와 함께 구축하는'(약 10.1em)이 한 줄로 들어가는 크기 */
.ax-show .show-title { font-size: clamp(30px, 2.85vw, 48px); }
/* 글 위치(2026-11-24 지시 '숫자경영 섹션처럼 중간에 나오면'): 카드를 내리는 동안 화면 세로 가운데에 머문다(처음 144px 위에서 바꿈).
   처음 자리는 카드 위 끝과 맞추고, 붙는 위치는 화면 가운데에서 글 높이의 절반(소제목 약 34px + 간격 20px의 절반 27px + 제목 두 줄 1.35em)만큼 위 */
.ax-show-text { position: sticky; top: calc(50% - 27px - 1.35 * clamp(30px, 2.85vw, 48px)); }
.ax-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-bottom: 72px; }
.ax-card { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 28px; background: var(--footer, #0A1A3F); isolation: isolate; }
.ax-card:nth-child(2n) { top: 72px; }
.ax-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.ax-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(10 26 63 / .32) 0%, rgb(10 26 63 / .5) 48%, rgb(6 16 42 / .9) 100%); }
.ax-card-body { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px 28px 72px; text-align: center; }
.ax-card-title { font-size: clamp(20px, 1.6vw, 28px); font-weight: 700; line-height: 1.35; letter-spacing: -.02em; color: var(--white); text-wrap: balance; text-shadow: 0 1px 14px rgb(0 0 0 / .35); }
.ax-card-desc { position: absolute; left: 28px; right: 28px; bottom: 22px; font-size: 15px; line-height: 1.6; color: rgb(255 255 255 / .88); text-wrap: balance; }
@media (max-width: 1100px) {
  .ax-show-inner { grid-template-columns: 1fr; gap: 48px; }
  .ax-show-text { position: static; }
  .ax-grid { padding-bottom: 56px; }
  .ax-card:nth-child(2n) { top: 56px; }
}
@media (max-width: 800px) {
  .section.app-show { padding: 110px 0 40px; }
  .section.ax-show { padding: 128px 0 144px; }
  .ax-show-inner { gap: 32px; }
  .ax-grid { grid-template-columns: 1fr; gap: 16px; padding-bottom: 0; }
  .ax-card:nth-child(n) { top: 0; }
  .ax-card { border-radius: 20px; }
  .ax-card-body { flex-direction: column; justify-content: flex-end; padding: 20px; }
  .ax-card-title { font-size: 19px; }
  .ax-card-desc { position: static; margin-top: 8px; font-size: 14px; }
}

/* ---------- 사무실 사진 띠 (2026-11-24 지시, 토스 회사 소개의 건물 사진처럼 화면 가로 끝까지) ----------
   홈의 사진 띠는 같은 날 간판 사진으로 바꿨다가 푸터 위로 옮긴 뒤, 다시 같은 날 지시('PC랑 모바일 둘 다 홈에서 제거')로 뺐다.
   회사 소개(맨 아래, HOW WE WORK 문구 섹션 바로 다음): 원래 홈에 있던 사무실 벽 사진(문구 '우리는 숫자로 답을 찾고…', 핵심가치,
   비전하우스 포스터). 토스 사진 느낌으로 어두운 곳을 살짝 들어 올리고 밝은 곳은 파랑을 덜어 따뜻하게, 채도와 대비를 조금 낮추고
   고운 입자를 더했다(바랜 필름 느낌). PC 2800x964, 800px 이하는 문구를 정면에서 찍은 사진(1200x834).
   아주 넓은 화면은 높이를 화면의 86%까지만 */
.photo-band img { display: block; width: 100%; height: auto; max-height: 86vh; object-fit: cover; object-position: 50% 45%; }

/* ---------- 홈: 신뢰(TRUST) (2026-11-24 지시 '좀 더 여유 있게', 토스인컴 기능 소개처럼) ----------
   3D 사물과 글이 한 줄씩 좌우로 번갈아 나온다(1, 3번째는 사물 왼쪽, 2번째는 오른쪽).
   사물은 부품 이미지를 겹친 장면(.tscene, 정사각형 무대)이고, 화면에 들어올 때마다(site.js가 .trust-row에 .is-in) 한 번씩 움직인다.
   바인더는 한 권씩 꽂히고, 롤로덱스 카드는 봉을 축으로 촤르르 넘어가고, 살짝 열린 금고 문이 닫힌 뒤 휠이 돌아가 잠긴다.
   키프레임 애니메이션이라 동작 줄이기 설정에서도 움직인다(첫 화면 헤일로, 전체 메뉴와 같은 기준). 스크립트가 없으면 다 된 모습 그대로 */
.section.trust-section { padding: 240px 0 260px; }
/* 간판 사진을 푸터 위로 옮긴 뒤(2026-11-24) AX와 신뢰가 바로 붙어 두 섹션 여백이 겹쳐 480px이 되지 않게, 신뢰 위 여백을 줄여 다른 섹션 사이와 같은 270px 안팎으로 */
.section.ax-show + .trust-section { padding-top: 160px; }
.trust-list { display: grid; gap: clamp(72px, 8vw, 136px); margin-top: clamp(72px, 8vw, 128px); }
.trust-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 112px); }
.trust-row:nth-child(even) .trust-art { order: 2; }
/* 짝수 줄(700여 개) 글(2026-11-24 지시 '좀만 더 우측으로'): 왼쪽 칸 끝에 붙여 홀수 줄처럼 사물과 가운데 간격만큼 떨어지게(글은 왼쪽 정렬 그대로) */
.trust-row:nth-child(even) .trust-text { justify-self: end; }
.trust-art { justify-self: center; width: min(100%, 440px); }
.trust-num { font-size: clamp(56px, 5vw, 84px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: var(--navy); }
.trust-num.is-text { font-size: clamp(36px, 3.3vw, 56px); }
.trust-unit { margin-left: 6px; font-size: .4em; font-weight: 700; letter-spacing: 0; }
.trust-label { margin-top: 20px; font-size: clamp(18px, 1.45vw, 24px); line-height: 1.6; color: var(--text-2); }

.tscene { position: relative; width: 100%; aspect-ratio: 1; filter: drop-shadow(0 26px 30px rgb(0 33 89 / .13)); }
.tscene img { position: absolute; display: block; pointer-events: none; -webkit-user-drag: none; user-select: none; }
/* 바인더: 캔버스(1200x1200, 바인더 bbox 388~990, 173~1050)를 7권 나란히(다음 권 dx 176, dy 40) 놓은 묶음(1658x1117)이 무대 가운데 오도록
   무대를 캔버스 단위 1802로 본다. 한 권 캔버스 = 무대 66.6%, 첫 권 왼쪽 -17.54%, 위 9.38%, 한 권마다 오른쪽 9.767%, 아래 2.22% */
.tscene-binders img { left: calc(-17.54% + var(--i) * 9.767%); top: calc(9.38% + var(--i) * 2.22%); width: 66.6%; height: 66.6%; }
/* 롤로덱스: 몸통(앞 카드 포함), 넘어가는 카드, 봉을 같은 캔버스(1200x1200)로 무대 전체에 겹친다(봉이 맨 위라 카드가 봉 뒤로 지나간다).
   카드는 봉 축을 따라 돈다: 축 중심 518.5, 615(43.208% 51.25%), 봉이 오른쪽으로 6.4도 내려가므로 회전축 (0.9937, 0.1118, 0) */
.tscene-rolodex img { inset: 0; width: 100%; height: 100%; }
.tr-cards { position: absolute; inset: 0; isolation: isolate; }
/* 금고: 몸통과 문을 같은 자리에 겹치고, 문은 경첩(캔버스 x 208, y 606)을 축으로 돈다 */
.tscene-safe { perspective: 1600px; }
.tscene-safe img { inset: 0; width: 100%; height: 100%; }
.ts-door { position: absolute; inset: 0; transform-origin: 17.333% 50.5%; backface-visibility: hidden; }
.ts-wheel { transform-origin: 55.917% 54.667%; }

/* 화면에 들어오기 전: site.js가 .trust-list에 .reveal-ready를 붙인 뒤에만 숨긴다(바인더, 롤로덱스는 안 보이고, 금고는 문이 살짝 열린 채) */
.trust-list.reveal-ready .trust-row:not(.is-in) .trust-text, .trust-list.reveal-ready .trust-row:not(.is-in) .tscene-binders img, .trust-list.reveal-ready .trust-row:not(.is-in) .tscene-rolodex img { opacity: 0; }
.trust-list.reveal-ready .trust-row:not(.is-in) .ts-door { transform: rotateY(-26deg); }
.trust-row.is-in .trust-text { animation: trust-in .8s .2s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes trust-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
/* 바인더 꽂기: 왼쪽(뒤) 권부터 0.13초 간격으로 위에서 내려와 꽂히고, 살짝 튀었다가 자리를 잡는다 */
.trust-row.is-in .tscene-binders img { animation: tb-slot .7s calc(.1s + var(--i) * .13s) both; }
@keyframes tb-slot {
  0% { opacity: 0; transform: translateY(-34%); animation-timing-function: cubic-bezier(.5, 0, .85, .45); }
  15% { opacity: 1; }
  62% { transform: translateY(0); animation-timing-function: cubic-bezier(.25, .7, .35, 1); }
  78% { transform: translateY(-1.6%); animation-timing-function: cubic-bezier(.5, 0, .7, 1); }
  100% { opacity: 1; transform: translateY(0); }
}
/* 카드 넘기기(2026-11-24 지시 '촤르륵이 아니라 회전하면서 넘어가야 해'): 앞 카드가 원통 축(봉 높이, 카드 면에서 캔버스
   420/1200 = 35% 뒤)을 중심으로 돌며 들려 올라가 원통 위로 넘어간다. 0.42초마다 한 장씩 4장이 넘어가고, 넘어가는 카드 밑의 다음
   카드는 그늘(밝기 0.8)에서 밝아진다. 90도를 넘으면 뒷면이라 안 보이고(원통 뒤로 넘어간 것처럼), 5번째 카드는 남아 몸통의 앞 카드와
   겹친다. 사진은 살짝 위에서 내려다본 모습이라 원통 위에 누운 카드는 72도쯤으로 보이고, 원근은 약하게(사진과 비슷하게) 둬 뒤로 간
   카드가 위로 끌려 올라가 보이지 않게 했다. 등장(떠오르며 나타남)은 카드 묶음(.tr-cards)이 몸통, 봉과 같이 하고, 카드는 회전만 한다.
   거리 단위 cqw의 기준은 .trust-art 폭 */
.trust-art { container-type: inline-size; }
.tr-cards { perspective: 420cqw; perspective-origin: 50% 45%; }
.tr-card { z-index: calc(10 - var(--k)); backface-visibility: hidden; transform-origin: 43.208% 51.25% -35cqw; }
.trust-row.is-in .tr-body, .trust-row.is-in .tr-cards, .trust-row.is-in .tr-rod { animation: trust-in .7s .05s cubic-bezier(.2, .8, .2, 1) both; }
.trust-row.is-in .tr-card { animation: tr-turn 1.04s calc(.95s + (var(--k) - 1) * .42s) both; }
.trust-row.is-in .tr-card:first-child { animation: tr-turn-first .62s .95s both; }
.trust-row.is-in .tr-card:last-child { animation: tr-turn-rest .42s calc(.95s + 3 * .42s) both; }
@keyframes tr-turn-first {
  0% { transform: rotate3d(.9937, .1118, 0, 0deg); animation-timing-function: cubic-bezier(.45, 0, .5, 1); }
  100% { transform: rotate3d(.9937, .1118, 0, 100deg); }
}
@keyframes tr-turn {
  0% { transform: rotate3d(.9937, .1118, 0, 0deg); filter: brightness(.8); animation-timing-function: linear; }
  40.4% { transform: rotate3d(.9937, .1118, 0, 0deg); filter: brightness(1); animation-timing-function: cubic-bezier(.45, 0, .5, 1); }
  100% { transform: rotate3d(.9937, .1118, 0, 100deg); filter: brightness(1); }
}
@keyframes tr-turn-rest { from { filter: brightness(.8); } to { filter: brightness(1); } }


/* 금고 닫기(2026-11-24 지시 '살짝 열린 걸 닫으면서 손잡이가 돌아가면서 잠그는 걸로'): 살짝 열린 문(-26도)이 잠깐 머물다
   빨라지며 닫히고, 살짝 되튀었다가 맞물린다. 맞물리는 순간 몸통이 쿵 하고 내려앉고, 이어서 휠이 돌아가 잠긴다 */
.trust-row.is-in .ts-door { animation: ts-close 1.05s .15s both; }
@keyframes ts-close {
  0% { transform: rotateY(-26deg); }
  30% { transform: rotateY(-26deg); animation-timing-function: cubic-bezier(.55, 0, .85, .35); }
  70% { transform: rotateY(0deg); animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  82% { transform: rotateY(-2.5deg); animation-timing-function: cubic-bezier(.5, 0, .6, 1); }
  100% { transform: rotateY(0deg); }
}
.trust-row.is-in .tscene-safe { animation: ts-thunk .36s calc(.15s + 1.05s * .7) cubic-bezier(.2, .8, .3, 1) both; }
/* 잠그기: 문이 맞물린 직후 휠이 128도까지 힘 있게 돌았다가 120도(살 세 개라 처음 모습과 같음)에 멈춘다 */
.trust-row.is-in .ts-wheel { animation: ts-lock .85s calc(.15s + 1.05s * .7 + .14s) cubic-bezier(.45, 0, .2, 1) both; }
@keyframes ts-lock { 0% { transform: rotate(0deg); } 82% { transform: rotate(128deg); } 100% { transform: rotate(120deg); } }
@keyframes ts-thunk { 0% { transform: none; } 30% { transform: translateY(1.2%) scale(.992); } 100% { transform: none; } }
@media (max-width: 800px) {
  /* 휴대폰(2026-11-24 지시 '모바일은 이런 느낌으로', 토스인컴 휴대폰 화면): 사물은 작게 가운데, 그 아래 제목과 설명,
     항목 사이는 넓게. 숫자도 PC보다 차분한 크기 */
  .section.trust-section { padding: 144px 0 200px; }
  .section.ax-show + .trust-section { padding-top: 56px; }
  .trust-list { gap: 112px; }
  .trust-row { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .trust-row:nth-child(even) .trust-art { order: 0; }
  .trust-row:nth-child(even) .trust-text { justify-self: stretch; }
  .trust-art { width: min(50vw, 210px); }
  .trust-num { font-size: 40px; }
  .trust-num.is-text { font-size: 28px; }
  .trust-label { margin-top: 10px; font-size: 16px; }
}

/* ---------- 내부 화면 머리 ---------- */
/* 첫 화면 머리 위 여백(2026-11-24 지시 '여기 위에도 공간 더 줘, 홈 제외 전체 페이지에'): 헤더와 위치 표시 사이 40 → 104px, 휴대폰 24 → 56px */
.page-head { padding: 104px 0 72px; background: var(--bg-subtle); }
.breadcrumb { margin-bottom: 40px; font-size: 13px; color: var(--text-3); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; }
.breadcrumb li + li::before { content: '›'; margin: 0 8px; color: var(--text-3); }
.breadcrumb a:hover { color: var(--action); }
.breadcrumb [aria-current="page"] { font-weight: 700; color: var(--text); }
.page-head .tags { margin-bottom: 16px; }
/* 화면 머리 위 한국어 라벨: 홈 첫 화면에 있던 라벨과 같은 모양(PC 22px, 휴대폰 15px, 굵게, 코발트). 회사 소개에서 씀(2026-11-24) */
.page-kicker { margin-bottom: 16px; font-size: 22px; font-weight: 700; line-height: 1.5; color: var(--action); }
.page-title { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; line-height: 1.3; letter-spacing: -.025em; color: var(--navy); }
.page-lead { max-width: 760px; margin-top: 22px; font-size: 18px; color: var(--text-2); }
.page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }

/* ---------- 카드 ---------- */
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
/* 서비스 카드(2026-11-24 지시): 카드 아무 데나 눌러도 상세 화면으로 간다(자세히 보기 링크의 누르는 자리를 카드 전체로 넓힘).
   마우스를 올리면 살짝 들리고(4px 위로, 그림자 진하게), 누르면 살짝 눌린다(98.5%로 작아짐). 들림은 마우스가 있는 기기에서만 */
.service-card { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 40px; border: 1px solid var(--border); border-radius: var(--r-m); background: var(--white); transition: border-color var(--t), transform .24s cubic-bezier(.2, .8, .2, 1), box-shadow .24s ease; }
.service-card:hover { border-color: var(--action); }
@media (hover: hover) { .service-card:hover { transform: translateY(-4px); } }
.service-card:active { transform: translateY(-1px) scale(.985); transition-duration: .1s; }
.service-card:has(.link-text:focus-visible) { outline: 2px solid var(--action); outline-offset: 4px; }
.service-title { font-size: 26px; font-weight: 800; line-height: 1.35; color: var(--navy); }
/* 마지막 줄에 한 단어만 남지 않게(2026-11-24, AX 카드 설명이 PC에서 '만듭니다.'만 한 줄로 떨어졌다) */
.service-desc { color: var(--text-2); text-wrap: pretty; }
/* 자세히 보기는 카드 오른쪽 아래(2026-11-24 지시). ::after로 링크 누르는 자리를 카드 전체로 넓힌다 */
.service-card .link-text { margin-top: auto; align-self: flex-end; }
.service-card .link-text::after { content: ''; position: absolute; inset: 0; }

.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.work-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-m); background: var(--white); }
.work-card[hidden] { display: none; }
.work-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-subtle); border-bottom: 1px solid var(--border); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.work-thumb.is-placeholder { display: flex; flex-direction: column; justify-content: space-between; padding: 22px 24px; background: var(--navy); color: var(--white); border-bottom: 0; }
.work-thumb.is-placeholder::after { content: ''; position: absolute; right: -40px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(30, 63, 168, .55), transparent); }
.work-thumb-brand { position: relative; z-index: 1; font-size: 13px; font-weight: 800; letter-spacing: .16em; color: rgba(255, 255, 255, .6); }
.work-thumb-label { position: relative; z-index: 1; font-size: 24px; font-weight: 800; line-height: 1.35; }
.work-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 24px; }
.work-title { font-size: 20px; font-weight: 800; line-height: 1.4; color: var(--navy); }
.work-meta { font-size: 14px; color: var(--text-3); }
.work-desc { font-size: 20px; line-height: 1.65; color: var(--text-2); }
.work-body .link-text { margin-top: auto; padding-top: 6px; font-size: 15px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { height: 40px; padding: 0 16px; border: 1px solid var(--border); border-radius: var(--r-s); background: var(--white); font-size: 15px; font-weight: 700; color: var(--text-2); transition: background-color var(--t), color var(--t), border-color var(--t); }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* 숫자 강조 (여러 개를 나란히 둘 때는 노랑 대신 남색 막대: 노랑 한 화면 1~2곳 규칙) */
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat { padding: 32px 28px; border: 1px solid var(--border); border-radius: var(--r-m); background: var(--white); }
.stat-num { font-size: 52px; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: var(--navy); }
.stat-num.is-text { font-size: 28px; line-height: 1.6; letter-spacing: -.01em; }
.stat-unit { margin-left: 4px; font-size: 22px; font-weight: 700; letter-spacing: 0; }
.stat-bar { display: block; width: 40px; height: 4px; margin: 18px 0 14px; background: var(--navy); }
.stat-label { font-size: 20px; color: var(--text-2); }

/* 단계 목록 */
.steps { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--navy); }
.step-num { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 800; letter-spacing: .08em; color: var(--action); }
.step-title { font-size: 21px; font-weight: 800; color: var(--navy); }
.step-desc { margin-top: 10px; font-size: 16px; color: var(--text-2); }

/* 체크 목록 */
.check-list { display: grid; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; }
.check-list .i-check { flex: none; margin-top: 3px; }
.split > .check-list { padding: 36px; border: 1px solid var(--border); border-radius: var(--r-m); background: var(--white); }
.check-list.is-compact { gap: 10px; }
.check-list.is-compact li { font-size: 16px; }
/* 서비스 카드 체크 항목이 두 줄이 될 때 끝 단어 하나만 다음 줄로 떨어지지 않게 두 줄 길이를 맞춘다(2026-11-24, 휴대폰 '기반', '보고서') */
.service-card .check-list li > span { text-wrap: balance; }
.check-list.is-compact .i-check { width: 20px; height: 20px; margin-top: 3px; }

/* 세 단계 카드 (시작, 관리, 연결 / 정리, 운영, 활용) */
.act-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.act-card { padding: 36px 32px; border: 1px solid var(--border); border-radius: var(--r-m); background: var(--white); }
.act-num { margin-bottom: 16px; font-size: 14px; font-weight: 800; color: var(--action); }
.act-title { margin-bottom: 12px; font-size: 21px; font-weight: 800; line-height: 1.4; color: var(--navy); }
.act-card p:last-child { font-size: 18px; color: var(--text-2); }

/* 운영 리듬 */
.rhythm { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--border); border-radius: var(--r-m); overflow: hidden; }
.rhythm-col { display: flex; flex-direction: column; padding: 32px 28px; background: var(--white); }
.rhythm-col + .rhythm-col { border-left: 1px solid var(--border); }
.rhythm-when { margin-bottom: 18px; font-size: 22px; font-weight: 800; color: var(--navy); }
.rhythm-col ul { flex: 1; }
.rhythm-col li { position: relative; padding-left: 14px; font-size: 18px; color: var(--text-2); }
.rhythm-col li + li { margin-top: 8px; }
.rhythm-col li::before { content: ''; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--action); }
.rhythm-answer { margin-top: 24px; padding: 16px; border-radius: var(--r-m); background: var(--action-tint); font-size: 18px; font-weight: 700; line-height: 1.55; color: var(--navy); }
.rhythm-answer span { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 700; color: var(--action); }

/* 보고서 묶음 */
.report-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.report-card { padding: 28px 24px; border: 1px solid var(--border); border-radius: var(--r-m); background: var(--white); }
.report-card.is-featured { background: var(--navy); border-color: var(--navy); color: var(--white); }
.report-card h3 { margin-bottom: 16px; font-size: 18px; font-weight: 800; color: var(--navy); }
.report-card.is-featured h3 { color: var(--white); }
.report-card li { font-size: 18px; color: var(--text-2); }
.report-card.is-featured li { color: rgba(255, 255, 255, .85); }
.report-card li + li { margin-top: 8px; }

/* 표 */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-m); background: var(--white); }
.table { width: 100%; min-width: 640px; font-size: 18px; }
.table th, .table td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table thead th { background: var(--bg-subtle); font-size: 18px; font-weight: 800; color: var(--text-2); }
.table tbody th { width: 160px; font-weight: 800; color: var(--navy); }
/* AX '이렇게 함께합니다' 표(2026-11-24 지시 '하는 일 부분이 너무 좁아'): 하는 일 칸을 넓혀 '기존 시스템 연동', '운영 데이터 관리'가 한 줄에 */
@media (min-width: 801px) { .table-scope tbody th { width: 240px; } }

/* ---------- AX 컨설팅: 시스템 구축 플랜(2026-11-24 지시 '이거 참고해 줘', 가격 빼고, 사이트 톤으로) ----------
   1) 지금 / 지니어스와 함께 비교 카드 2) 주 1회 방문 6단계(가로 점과 선, 아래 '최소 1개월부터' 괄호) 3) DX → AX 두 단계 */
/* 머리를 제목 아래로 설명을 쌓는 섹션(.head-stack, 2026-11-24 지시 'PC에서 줄바꿈 되지 않게'): AX PLAN, WHY. 오른쪽 440px 설명 칸에서는
   '엑셀과 수작업은 줄이고, … 바꾸세요.'와 WHY 설명의 각 문장이 두 줄로 나뉘어서, 설명을 제목 아래 넓은 칸으로 내려 PC(1101px 이상)에서 한 줄씩 */
.head-stack .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 24px; }
.section-desc .plan-lead { display: block; margin-bottom: 10px; font-weight: 700; color: var(--navy); }
.section-desc .plan-lead em { font-style: normal; color: var(--action); }
.plan-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 20px; background: var(--white); overflow: hidden; }
.plan-col { padding: 40px 44px; }
.plan-col.is-with { border-left: 1px solid var(--border); background: linear-gradient(135deg, rgb(234 238 250 / .55), rgb(255 255 255 / 0) 70%); }
.plan-label { margin-bottom: 20px; font-size: 17px; font-weight: 800; color: var(--text-3); }
.plan-col.is-with .plan-label { color: var(--action); }
.plan-col ul { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.plan-col li { display: flex; align-items: flex-start; gap: 12px; font-size: 18px; line-height: 1.55; color: var(--text-2); }
.plan-col.is-with li { font-weight: 700; color: var(--text); }
.plan-col li svg { flex: none; margin-top: 2px; }
/* 6단계: 점 사이를 선으로 잇고(첫 점 가운데 → 마지막 점 가운데), 아래 괄호 가운데에 '최소 1개월부터' */
.plan-steps { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 8px 0 0; padding: 0; list-style: none; }
.plan-steps::before { content: ''; position: absolute; top: 11px; left: calc(100% / 12); right: calc(100% / 12); height: 2px; background: linear-gradient(90deg, rgb(30 63 168 / .35), rgb(30 63 168 / .7)); }
.plan-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.ps-dot { width: 24px; height: 24px; margin-bottom: 12px; border-radius: 50%; background: var(--action); box-shadow: 0 0 0 7px rgb(30 63 168 / .12); }
.plan-steps strong { font-size: 19px; font-weight: 800; color: var(--navy); }
.plan-steps li > span:last-child { font-size: 16px; color: var(--text-3); }
.plan-range { position: relative; height: 22px; margin: 22px calc(100% / 12) 0; border: 1px solid #C9D2E2; border-top: 0; border-radius: 0 0 14px 14px; }
.plan-pill { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); padding: 6px 16px; border-radius: 999px; background: var(--navy); font-size: 15px; font-weight: 800; color: var(--white); white-space: nowrap; }
.plan-note { margin-top: 36px; text-align: center; font-size: 16px; color: var(--text-3); }
/* DX → AX: 번호 원을 세로선으로 잇는다 */
.dx-steps { margin: 0; padding: 0; list-style: none; }
.dx-steps li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 20px; }
.dx-steps li + li { margin-top: 44px; }
.dx-steps li:not(:last-child)::before { content: ''; position: absolute; left: 19px; top: 46px; bottom: -40px; width: 2px; background: rgb(30 63 168 / .25); }
.dx-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #DDE5F8; font-size: 17px; font-weight: 800; color: var(--navy); }
.dx-tag { font-size: 15px; font-weight: 800; letter-spacing: .06em; color: var(--action); }
.dx-title { margin-top: 4px; font-size: 22px; font-weight: 800; line-height: 1.4; color: var(--navy); }
.dx-desc { margin-top: 10px; font-size: 17px; line-height: 1.7; color: var(--text-2); }
@media (max-width: 800px) {
  .plan-compare { grid-template-columns: 1fr; border-radius: 16px; }
  .plan-col { padding: 28px 22px; }
  .plan-col.is-with { border-left: 0; border-top: 1px solid var(--border); }
  .plan-col li { font-size: 16px; }
  /* 6단계는 세로로: 점을 왼쪽에 두고 세로선으로 잇는다. 괄호는 빼고 '최소 1개월부터'와 안내만 */
  .plan-steps { grid-template-columns: 1fr; gap: 22px; }
  .plan-steps::before { top: 12px; bottom: 12px; left: 11px; right: auto; width: 2px; height: auto; background: rgb(30 63 168 / .3); }
  .plan-steps li { display: grid; grid-template-columns: 24px auto minmax(0, 1fr); align-items: center; gap: 14px; text-align: left; }
  .ps-dot { margin-bottom: 0; box-shadow: 0 0 0 5px rgb(30 63 168 / .12); }
  .plan-steps strong { font-size: 17px; }
  .plan-steps li > span:last-child { font-size: 14px; }
  .plan-range { height: auto; margin: 28px 0 0; border: 0; }
  .plan-pill { position: static; display: inline-block; transform: none; }
  .plan-note { margin-top: 14px; text-align: left; font-size: 14px; }
  .dx-steps li { grid-template-columns: 36px minmax(0, 1fr); gap: 14px; }
  .dx-steps li:not(:last-child)::before { left: 17px; top: 42px; }
  .dx-num { width: 36px; height: 36px; font-size: 15px; }
  .dx-title { font-size: 19px; }
  .dx-desc { font-size: 15px; }
}
.table td { color: var(--text-2); }

/* 펼침 목록 */
.faq { border-top: 2px solid var(--navy); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 4px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-size: 18px; font-weight: 700; color: var(--text); }
.faq-item summary:hover .faq-q { color: var(--action); }
.faq-icon { position: relative; width: 14px; height: 14px; flex: none; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--text-2); transition: transform var(--t); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-a { padding: 0 4px 26px; font-size: 16px; color: var(--text-2); }

/* 회사 소개 */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.story-text p:not(.eyebrow) { margin-top: 20px; color: var(--text-2); }
.story-text .section-title + p { margin-top: 28px; }
.story-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-m); }
/* 대표님, 이사님: OUR STORY와 같은 단락 모양(왼쪽 글, 오른쪽 사진). 사진은 PC 4:3, 휴대폰 3:4 */
.story + .story { margin-top: 112px; }
/* 회사 소개 섹션 사이(2026-11-24 지시 '각 섹션별 사이사이 공간 여유 있게'): 글과 글 사이를 PC 112~184px에서 200~240px, 휴대폰 80~128px에서 120~160px로.
   첫 화면 → 이야기 240, 이야기 → 사람 → 사람 200, 사람 → 회색 가치 섹션 160 + 160, 가치 → 사진 160, 사진 → 배너 200 */
/* 첫 화면 머리 → 이야기: 2026-11-24 지시('아래로 더 내려줘')로 240 → 400px, 다시 같은 날 '더 내리고 위 공간 가운데에 로고'로
   제목 → 로고 300px, 로고(240px 폭) → 이야기 300px(휴대폰 160, 160px) */
.section.about-story { padding: 228px 0 160px; }
.about-mark { display: flex; justify-content: center; margin-bottom: 300px; }
/* 로고 가이드 선(2026-11-24 지시 '로고에 가이드 선 살짝, 선이 그어지는 모션'): 로고 둘레(로고 폭의 16%, 높이의 28% 바깥)까지만 보이는
   옅은 선. 로고 뒤에 깔고 가로선 → 세로선(왼쪽부터) → 스파클 원 순서로 그어진다. 같은 날 '선 모션은?'(화면 아래에 걸리자마자 그려져 안 보임)으로
   스크롤에 맞춰 그어지게 바꿨다: 로고 가운데가 화면 높이 88% → 45%를 지나는 동안(site.js data-mark가 선마다 stroke-dashoffset을 넣음) */
.mark-box { position: relative; width: 240px; }
.mark-box img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.mark-guides { position: absolute; z-index: 0; left: -16%; top: -27.586%; width: 132%; height: 155.172%; overflow: visible; pointer-events: none; }
.mark-guides .g { fill: none; stroke: rgb(0 33 89 / .18); stroke-width: 2; stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset .12s linear; }
/* 이야기 → 대표 소개: 200 → 360px(2026-11-24 '아래쪽 공간 더', 마지막 문단 형광펜이 다 그어진 모습이 혼자 보이게), 휴대폰 120 → 200px */
.about-story .story + .story { margin-top: 360px; }
/* 이야기 글만(사진 삭제): 한 칸, 문단이 너무 길어지지 않게 폭 제한 */
.story.is-text-only { grid-template-columns: minmax(0, 1fr); }
.story.is-text-only .story-text { max-width: 900px; }
/* 이야기 문장 묶음(2026-11-24 지시): PC는 1 | 2, 3 | 마지막, 휴대폰은 1, 2 | 3 | 마지막(| = 문단 간격). 문장마다 p를 두고 간격만 바꾼다 */
.story-text p.st-join { margin-top: 0; }
@media (max-width: 800px) {
  .story-text p.st-join { margin-top: 20px; }
  .story-text p.st-join-m { margin-top: 0; }
}
/* 회사 소개 이야기 마지막 문단(2026-11-24 지시 '노란색 밑줄, 스크롤 반응으로'): 구절마다 노란 밑줄. JS가 준비되면(.seq-ready)
   스크롤 위치에 맞춰(문단 위 끝이 화면 높이 88% → 38%를 지나는 동안) 구절이 차례로 진해지고 밑줄이 왼쪽부터 그어진다(--q 0~1, site.js).
   처음에 화면에 걸리자마자 혼자 재생돼 잘 안 보이던 것을 스크롤에 묶었다 */
.seq-text > span { background-image: linear-gradient(rgb(255 208 0 / .5), rgb(255 208 0 / .5)); background-repeat: no-repeat; background-position: 0 92%; background-size: 100% .36em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.seq-ready > span { opacity: calc(.08 + .92 * var(--q, 0)); background-size: calc(var(--q, 0) * 100%) .36em; }
/* 회사 소개 전체 배경 헤일로: 화면에 고정, #main 쌓임 맥락의 z-index -1이라 글과 사진 아래에 깔린다. 첫 화면 머리의 회색 바탕은 빛이 보이게 뺐다 */
.page-halo.halo { position: fixed; z-index: -1; inset: 0; background: none; pointer-events: none; }
.page-halo .w-sky { --a: .3; }
.page-halo .w-sky2 { --a: .26; }
.page-halo .w-sky3 { --a: .3; }
.page-halo .w-left { --a: .26; }
.page-halo .w-white { --a: .2; }
.page-halo .w-yellow { --a: .12; }
.page-about .page-head { background: transparent; }
/* 지니어스가 걸어온 길, 지니어스가 만든 결과도 첫 화면 머리 회색 바탕을 빼고 흰색(2026-11-24 지시) */
.page-history .page-head, .page-works .page-head { background: transparent; }
@media (max-width: 800px) {
  .section.about-story { padding: 112px 0 112px; }
  .about-mark { margin-bottom: 160px; }
  .mark-box { width: 160px; }
  .mark-guides .g { stroke-width: 3; }
  .about-story .story + .story { margin-top: 200px; }
}
.leader-figure picture { display: block; }
.story.is-reverse .story-figure { order: -1; }
/* PC(1101px 이상): 사진 높이를 글 묶음 높이에 맞춰 위아래 끝을 함께 맞춘다(2026-11-23 지시, 한 줄로 볼 때 정렬이 맞아 보이게).
   사진은 가운데 기준으로 양옆만 잘린다. 글이 사진보다 짧은 화면에서는 사진은 4:3 그대로, 글은 위아래 가운데. 태블릿과 휴대폰은 그대로 */
@media (min-width: 1101px) {
  .leader { align-items: stretch; }
  .leader > .story-text { align-self: center; }
  .leader-figure, .leader-figure picture, .leader-figure img { height: 100%; }
}
.story-text .section-title + .leader-role { margin-top: 12px; font-size: 20px; }
.story-text p.leader-intro { margin-top: 28px; font-size: 18px; line-height: 1.75; color: var(--text); }
/* 대표님, 이사님 첫 문장(quote): 크게. 화면에 들어오면 한 글자씩 타이핑하고, 다 나오면 글자 뒤에 옅은 노랑 하이라이트가
   왼쪽에서 오른쪽으로 지나간다(site.js). 스크립트가 없거나 움직임 줄이기 설정이면 처음부터 글자와 하이라이트가 다 보인다. */
.story-text p.leader-quote { margin-top: 28px; font-size: clamp(22px, 1.75vw, 28px); font-weight: 700; line-height: 1.55; letter-spacing: -.02em; color: var(--navy); text-wrap: balance; }
.story-text p.leader-quote + p.leader-intro { margin-top: 20px; }
.leader-quote-text { background: linear-gradient(var(--point-tint), var(--point-tint)) no-repeat 0 100% / 100% 100%; }
.leader-quote.is-typing .leader-quote-text { background-size: 0% 100%; }
.leader-quote.is-marked .leader-quote-text { transition: background-size .8s cubic-bezier(.22, .7, .2, 1); }
.tw-ch { position: relative; }
.is-typing .tw-ch:not(.is-on) { visibility: hidden; }
/* 커서: 마지막 글자 뒤(is-caret) 또는 다음 글자 앞(is-caret-start 시작 전 깜빡임, is-caret-next 띄어쓰기 다음). 띄어쓰기에는 붙이지 않는다(site.js).
   마지막 글자 뒤 커서도 ::before(글자 앞자리)에 두고 left 100%로 민다. ::after는 줄 끝 글자에서 다음 줄로 넘어간 자리에 생겨
   글자 칸이 두 줄에 걸친 것처럼 잡히고, 커서가 두 줄 높이로 오른쪽에 길게 생겼다(2026-11-24 '두 번째 줄 넘어가면서 우측에 큰 |') */
.tw-ch.is-caret::before, .tw-ch.is-caret-start::before, .tw-ch.is-caret-next::before { content: ''; position: absolute; top: .12em; bottom: .08em; width: 2px; border-radius: 1px; background: var(--action); visibility: visible; }
.tw-ch.is-caret::before { left: calc(100% + 1px); }
.tw-ch.is-caret-start::before, .tw-ch.is-caret-next::before { left: -1px; }
.tw-ch.is-caret-start::before { animation: tw-blink 1.05s steps(1) infinite; }
@keyframes tw-blink { 50% { opacity: 0; } }
@media print { .tw-ch { visibility: visible !important; } }
.story-text p.leader-sub { margin-top: 32px; margin-bottom: 14px; font-size: 20px; font-weight: 800; letter-spacing: .02em; color: var(--text); }
.leader-tags { margin: 28px 0 0; padding: 0; list-style: none; }
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.value-card { padding: 36px 32px; border: 1px solid var(--border); border-radius: var(--r-m); background: var(--white); }
.value-en { margin-bottom: 18px; font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--action); }
.value-title { margin-bottom: 12px; font-size: 22px; font-weight: 800; color: var(--navy); }
.value-card p:last-child { font-size: 18px; color: var(--text-2); }

/* 연혁: 기간 탭 (위 선은 선택한 기간까지 남색으로 채운다) */
.hist-nav { display: flex; align-items: stretch; margin-bottom: 56px; }
.hist-tabs { display: grid; flex: 1; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.hist-tab { padding: 22px 16px 0 0; border-top: 2px solid var(--border); text-align: left; font-size: 26px; font-weight: 700; letter-spacing: -.01em; color: #C5CBD3; white-space: nowrap; transition: color var(--t), border-color var(--t); }
.hist-tab:hover { color: var(--text-2); }
.hist-tab.is-done, .hist-tab[aria-selected="true"] { border-top-color: var(--navy); }
.hist-tab[aria-selected="true"] { color: var(--navy); }
.hist-arrows { display: flex; gap: 4px; padding-top: 14px; border-top: 2px solid var(--border); }
.hist-arrow { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--r-s); color: var(--navy); transition: background-color var(--t), color var(--t); }
.hist-arrow:hover { background: var(--bg-subtle); }
.hist-arrow:disabled { color: #C5CBD3; background: none; cursor: default; }
.hist-panel { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.hist-panel[hidden] { display: none; }
.hist-panel:focus-visible { outline-offset: 8px; }
.hist-question, .hist-answer { font-size: 22px; font-weight: 800; line-height: 1.55; letter-spacing: -.01em; color: var(--navy); }
.hist-answer { color: var(--text); }
.hist-list li + li { margin-top: 22px; }
.hist-date { display: block; font-size: 15px; font-weight: 800; color: var(--action); }
.hist-text { display: block; margin-top: 4px; font-size: 20px; font-weight: 700; line-height: 1.55; color: var(--text); }
.hist-figure { position: sticky; top: 104px; }
/* 연혁 사진 슬라이드: 가로 4:3, 여러 장이면 자동으로 넘어감(마우스로 끌기, 점, 화살표 키) */
.hist-slider { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r-m); background: var(--bg-subtle); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.hist-slider[data-slider] { cursor: grab; }
.hist-slider[data-slider]:active { cursor: grabbing; }
.hist-slider:focus-visible { outline: 2px solid var(--action); outline-offset: 4px; }
.hist-track { display: flex; height: 100%; transition: transform .55s cubic-bezier(.22, .7, .2, 1); }
.hist-track.is-dragging { transition: none; }
.hist-slide { flex: 0 0 100%; height: 100%; }
.hist-slide img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.hist-slide.is-card { display: flex; align-items: center; justify-content: center; padding: 32px 32px 44px; }
.hist-slide.is-card img { width: auto; height: 74%; max-width: 100%; object-fit: contain; border-radius: 8px; background: var(--white); box-shadow: 0 4px 16px rgba(0, 33, 89, .1); }
.hist-slider.is-light .hist-dot::before { background: rgba(0, 33, 89, .22); box-shadow: none; }
.hist-slider.is-light .hist-dot[aria-current="true"]::before { background: var(--navy); }
.hist-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 2px; }
.hist-dot { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; }
.hist-dot::before { content: ''; width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); transition: width var(--t), background-color var(--t); }
.hist-dot[aria-current="true"]::before { width: 20px; background: var(--white); }

/* 진단 배너(2026-11-24 지시 '하단 배경에 헤일로, 유리 카드로, 3분 무료 진단은 노란 버튼 유지, 테두리는 남색'):
   남색 카드를 홈 SERVICES와 같은 유리 카드로 바꿨다. 남색 테두리는 같은 날 지시('카드가 아니라 버튼에')로 3분 무료 진단 버튼에 두고,
   카드 테두리는 SERVICES 유리 카드와 같은 흰 반투명. 뒤에는 SERVICES와 같은 헤일로 빛 4개(하늘색 2, 연한 파랑 1, 흰빛 1)가 첫 화면과
   같은 halo.js 경로로 움직인다('헤일로 움직임 넣어줘'. 처음 CSS로 천천히 흔들던 것을 바꿈). 홈이 아닌 화면도 배너가 있어 halo.js를 불러오고,
   화면에 안 보이면 멈춘다(site.js). 노란 빛은 파랑과 겹치면 초록으로 보여 SERVICES처럼 뺐다.
   빛 무대는 #main 쌓임 맥락의 z-index -1이라 카드 아래에 깔리고, 위로 220px 더 올라가 앞 섹션의 아래 여백까지 번지며 위아래 끝은
   서서히 사라진다. 회색 섹션(is-subtle)이나 사진 바로 다음은 그 바탕이 빛을 덮으므로 배너 위에 여백을 두고 빛도 그 안에서 시작한다.
   같은 날 기본 보조 버튼 '우리 회사 이야기하기'는 삭제(templates.mjs banner) */
/* 배너 아래 여백: 112px에서 2026-11-24 지시('이거 아래에도 이 섹션 정도의 공간 더 줘')로 카드 높이만큼(휴대폰 80 → 160px) */
.banner-section { position: relative; padding: 0 0 288px; }
/* 배너 위 여백(2026-11-24 지시 '배너 위에 아래만큼 공간 줘'): 앞 섹션 마지막 글에서 배너 카드까지를 배너 아래(PC 288, 휴대폰 200px)와
   같게. 앞 섹션 아래 여백이 서로 달라 앞 섹션 종류별로 정한다(홈 신뢰 섹션 다음은 이미 넓어 그대로) */
.section + .banner-section { padding-top: 200px; }
.section.is-tight + .banner-section { padding-top: 184px; }
.section.is-subtle + .banner-section { padding-top: 256px; }
.section.trust-section + .banner-section { padding-top: 0; }
.photo-band + .banner-section { padding-top: 288px; }
.banner-halo.halo { position: absolute; z-index: -1; top: -220px; bottom: 0; left: 0; right: 0; background: none; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 34%, #000 74%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 34%, #000 74%, transparent 100%); }
.section.is-subtle + .banner-section .banner-halo.halo, .photo-band + .banner-section .banner-halo.halo { top: 0; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 74%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 74%, transparent 100%); }
.banner-halo .w-sky { --a: .55; }
.banner-halo .w-sky3 { --a: .65; }
/* 왼쪽 아래에 머무는 빛(w-left)은 노란색(2026-11-24 지시 '하단 헤일로에 노란색 추가, 왼쪽에'). 이 빛은 왼쪽 아래 안에서만 돌아 오른쪽 파란 빛과 거의 겹치지 않는다 */
.banner-halo .w-left { --rgb: 255 208 0; --a: .34; }
.banner { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 64px; border: 1px solid rgb(255 255 255 / .6); border-radius: 20px; background: linear-gradient(135deg, rgb(255 255 255 / .5) 0%, rgb(255 255 255 / .2) 100%); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); box-shadow: 0 10px 36px rgb(0 33 89 / .12), inset 0 1px 0 rgb(255 255 255 / .7); color: var(--navy); }
.banner > * { position: relative; z-index: 1; }
.banner-title { font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.4; letter-spacing: -.02em; }
.banner-desc { margin-top: 14px; color: var(--text-2); }
.banner-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
/* 유리 위 버튼: 노란 버튼에 남색 테두리. 마우스를 올리면 흰색 대신 남색(흰 유리 위 흰 버튼은 묻힌다). 보조 버튼(서비스 화면 '상담 신청')도 남색 테두리 */
.banner .btn-main { border-color: var(--navy); }
.banner .btn-main:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.banner .btn-ghost { border-color: var(--navy); color: var(--navy); }
.banner .btn-ghost:hover { background: var(--navy); color: var(--white); }

/* 문의 */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact-card { display: flex; flex-direction: column; gap: 10px; padding: 36px 32px; border: 1px solid var(--border); border-radius: var(--r-m); background: var(--white); transition: border-color var(--t); }
.contact-card:hover { border-color: var(--action); }
.contact-card.is-accent { background: var(--navy); border-color: var(--navy); color: var(--white); }
.contact-card.is-accent:hover { border-color: var(--point); }
.contact-label { font-size: 14px; font-weight: 800; color: var(--action); }
.contact-card.is-accent .contact-label { color: var(--point); }
.contact-value { font-size: 26px; font-weight: 800; color: var(--navy); overflow-wrap: anywhere; }
.contact-card.is-accent .contact-value { color: var(--white); }
.contact-help { font-size: 15px; color: var(--text-2); }
.contact-card.is-accent .contact-help { color: rgba(255, 255, 255, .78); }

.notfound { min-height: 60vh; padding-top: 120px; }

/* ---------- 푸터 (어두운 남색 #0A1A3F) ---------- */
/* 푸터는 본문(#main) 위에 쌓는다(2026-11-24 지시 '하단 헤일로가 푸터를 가린다'): #main이 쌓임 맥락이라 그 안의 화면 고정 헤일로(회사 소개)가 푸터 위에 그려졌다 */
.site-footer { position: relative; z-index: 1; padding: 64px 0 40px; background: var(--navy-deep); color: rgba(255, 255, 255, .72); font-size: 15px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand img { width: auto; height: 30px; margin-bottom: 20px; }
/* 푸터 글자(2026-11-23 지시, PC): 연락처 18, 묶음 제목 18, 링크 17, 맨 아래 회사 정보와 저작권 15. 휴대폰은 아래 반응형에서 예전 크기(15, 15, 14, 13) */
.footer-brand p { font-size: 18px; }
.footer-brand p + p { margin-top: 6px; }
.footer-brand a:hover { color: var(--white); }
.footer-sns { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.footer-sns a { display: inline-flex; border-radius: 8px; transition: opacity var(--t); }
.footer-sns a:hover { opacity: .85; }
.footer-nav { display: flex; gap: 56px; }
.footer-col-title { margin-bottom: 14px; font-size: 18px; font-weight: 800; color: var(--white); }
.footer-col li + li { margin-top: 8px; }
.footer-col a { font-size: 17px; transition: color var(--t); }
.footer-col a:hover { color: var(--white); }
/* 문의하기 칸 QR(2026-11-24 지시): 카카오톡 채널, 지니어스 모양(흰 둥근 카드). 휴대폰 화면(800px 이하)에서는 자기 화면을 찍을 수 없어 숨긴다 */
.footer-qr { display: block; width: 128px; height: 128px; margin-top: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 28px; font-size: 15px; color: rgba(255, 255, 255, .55); }
.footer-info span + span::before { content: '|'; margin: 0 10px; color: rgba(255, 255, 255, .3); }
.footer-copy { flex: none; }

/* 개인정보처리방침 */
.legal { max-width: 920px; }
.legal-article + .legal-article { margin-top: 44px; padding-top: 44px; border-top: 1px solid var(--border); }
.legal-title { margin-bottom: 16px; font-size: 20px; font-weight: 800; color: var(--text); }
.legal-article p { font-size: 16px; line-height: 1.8; color: var(--text-2); }
.legal-article p + p { margin-top: 10px; }
.legal-list { margin-top: 12px; padding: 18px 22px; border-radius: var(--r-m); background: var(--bg-subtle); list-style: none; }
.legal-list li { font-size: 15px; line-height: 1.75; color: var(--text-2); }
.legal-list li + li { margin-top: 6px; }
.footer-legal { margin-right: 16px; font-weight: 700; color: var(--white); }
.footer-legal:hover { text-decoration: underline; }

/* ---------- 연혁 아래 대표 영상 (재생 전에는 이 사이트의 썸네일만, 누르면 YouTube 플레이어) ---------- */
/* 가로폭은 위 연혁과 같게 내용 폭 전체(2026-11-23 지시) */
/* 지니어스가 걸어온 길 섹션 사이(2026-11-24 지시 '섹션별 공간 더 여유 있게'): 대표 영상 → 연혁 200px(휴대폰 120px). 같은 날 대표 영상을 연혁 위로 옮김 */
.hist-video + .hist { margin-top: 200px; }
.page-history .section.is-tight { padding-top: 128px; }
.hist-video-label { font-size: 14px; font-weight: 800; letter-spacing: .02em; color: var(--action); }
.hist-video-title { margin-top: 8px; font-size: 24px; font-weight: 800; line-height: 1.45; color: var(--text); }
.video-embed { position: relative; margin-top: 24px; aspect-ratio: 16 / 9; border-radius: var(--r-m); overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.video-play img { width: 100%; height: 100%; object-fit: cover; }
/* 재생 버튼: YouTube 공식 빨간 아이콘 파일 그대로(2026-11-23 지시). brand.youtube 규칙대로 색, 모양을 바꾸지 않고
   그림자와 테두리를 넣지 않는다. 파일에 공식 최소 여백(삼각형 크기)이 들어 있어 그 여백째로 높이 100px(디지털 최소 높이)로 두고,
   빨간 모양은 약 77 x 54px로 보인다. 화면 폭과 관계없이 같은 크기. 마우스를 올리면 모양 그대로 조금 커진다 */
.video-play .video-play-icon { position: absolute; left: 50%; top: 50%; width: auto; height: 100px; object-fit: contain; transform: translate(-50%, -50%); transition: transform var(--t); }
.video-play:hover .video-play-icon, .video-play:focus-visible .video-play-icon { transform: translate(-50%, -50%) scale(1.06); }
.video-play:focus-visible { outline: 3px solid var(--point); outline-offset: -3px; }
@media (max-width: 800px) {
  .hist-video + .hist { margin-top: 120px; }
  .page-history .section.is-tight { padding-top: 80px; }
  .hist-video-title { font-size: 19px; }
}

/* ---------- 반응형 ---------- */
@media (min-width: 1800px) {
  .wrap { padding-left: 160px; padding-right: 160px; }
}
@media (max-width: 1280px) {
  .wrap { padding-left: 48px; padding-right: 48px; }
}
@media (max-width: 1180px) {
  /* 좁은 PC(1101~1180px): 'PC 최소 20px' 기준(2026-11-23)에 맞춰 메뉴 20px, 간격 28 */
  .gnb-link { padding: 0 14px; font-size: 20px; }
  .gnb { --gnb-shift: 14.4px; }
  .is-inner .gnb-link.is-current::after, .is-home .gnb-link::after { left: 14px; right: 14px; }
  .report-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .header-inner, .is-home .header-inner { display: flex; justify-content: space-between; height: 64px; }
  .hero { --hh: 64px; }
  .gnb, .header-actions .btn, .mega { display: none !important; }
  .m-open { display: inline-flex; margin-right: -10px; }
  .logo img { height: 22px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  /* 태블릿(801~1100px)에서 서비스 카드 두 칸이 좁아(820px 화면 글 폭 276px) 설명이 7줄로 잘게 나뉘어,
     이 폭부터 카드를 한 줄에 하나씩 쌓는다(2026-11-24 지시) */
  .service-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rhythm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rhythm-col:nth-child(3) { border-left: 0; }
  .rhythm-col:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .banner { flex-direction: column; align-items: flex-start; padding: 48px; }
  .wrap { padding-left: 40px; padding-right: 40px; }
  .hist-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 40px; }
  .hist-figure { position: static; grid-column: 1 / -1; }
  .hist-slider { aspect-ratio: 16 / 9; }
  .footer-top { flex-direction: column; }
  .footer-nav { flex-wrap: wrap; gap: 32px 48px; }
}
@media (max-width: 800px) {
  body { font-size: 16px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .br-pc { display: none; }
  .br-m { display: inline; }
  .only-pc { display: none; }
  .section { padding: 80px 0; }
  .section.is-tight { padding: 40px 0 80px; }
  .section-head { margin-bottom: 36px; }
  .section-more { text-align: left; }
  .hero-inner { padding-top: calc(72px + var(--hh) + 41.5px); padding-bottom: 88px; }
  .hero-eyebrow { font-size: 15px; margin-bottom: 16px; }
  /* 휴대폰 첫 화면 설명: '그 사이에서 … 리딩하는'(21.19em)이 한 줄에 들어가도록 좁은 폰에서만 글자를 줄인다(390폭 이상 16px, 360폭 15px, 320폭 13px) */
  .hero-copy { font-size: clamp(13px, calc((100vw - 40px) / 21.3), 16px); line-height: 1.75; margin-top: 20px; }
  .hero-actions { flex-direction: column; margin-top: 32px; }
  .hero-actions .btn, .banner-actions .btn, .page-actions .btn { width: 100%; }
  /* 휴대폰 첫 화면 헤일로(2026-11-24 지시 '모바일 헤일로가 너무 옹졸해'): 빛 크기가 화면 폭을 따라 PC의 약 30%로 줄어
     작은 점처럼 보여, 빛 크기만 키운다(파랑과 흰빛 1.5배 --reach 1.04 → 1.56, 노랑 1.3배 1.35). 위치, 움직임, 색은 그대로.
     노랑까지 같이 키우면 하늘색과 겹치는 자리가 탁한 연두로 보인다(1.8배에서 뚜렷, 1.5배에서도 조금) */
  .hero-halo.halo { --reach: 1.56; }
  .hero-halo .w-yellow, .hero-halo .w-yellow2 { --reach: 1.35; }
  /* 같은 날 지시 '모바일에서 헤일로 움직임을 좀 더 아래쪽까지': 첫 화면이 짧아(약 470px) 빛이 위쪽에서만 오가서,
     오가는 세로 범위만 1.5배로 늘린다(빛 크기는 그대로, halo.js가 읽는다) */
  .hero-halo.halo { --stretch-y: 1.5; }
  /* 같은 날 지시 '모바일에서 헤일로 파란색 하나만 지워, 왼쪽 상단에 있는 거': 왼쪽 위를 오가는 하늘색 빛(w-sky2)을 휴대폰에서만 뺀다 */
  .hero-halo .w-sky2 { display: none; }
  .page-head { padding: 56px 0 48px; }
  .page-kicker { margin-bottom: 12px; font-size: 15px; }
  .breadcrumb { margin-bottom: 28px; }
  .page-lead { font-size: 16px; }
  .page-actions { flex-direction: column; }
  .service-grid, .work-grid, .act-grid, .value-grid, .contact-grid, .story { grid-template-columns: 1fr; }
  .service-card, .act-card, .value-card, .contact-card { padding: 28px 24px; }
  /* 숫자경영 앱 화면: 글이 위, 휴대폰이 아래 */
  .app-show-inner { grid-template-columns: 1fr; gap: 20px; }
  .app-show.is-scrolly .app-sticky { padding-top: 56px; }
  .app-show-text { order: 0; }
  .app-show-side { order: 0; }
  .app-service { margin-bottom: 10px; }
  .app-screen-name { font-size: 14px; }
  .show-kicker { font-size: 16px; }
  .show-title { margin-top: 12px; font-size: clamp(26px, 7vw, 32px); }
  /* 글(약 110px)과 점까지 한 화면에 들어오게 화면 높이에 맞춘다 */
  .app-phone { width: clamp(200px, calc((100svh - 300px) / 2.1635), 300px); }
  .split > .check-list { padding: 24px; }
  .stat { padding: 24px 20px; }
  .stat-num { font-size: 40px; }
  .stat-num.is-text { font-size: 20px; }
  .steps { grid-auto-flow: row; grid-auto-columns: auto; gap: 28px; }
  .rhythm, .report-grid { grid-template-columns: 1fr; }
  .rhythm-col + .rhythm-col { border-left: 0; border-top: 1px solid var(--border); }
  .story + .story { margin-top: 80px; }
  .leader { gap: 28px; }
  .story.is-reverse .story-figure { order: 0; }
  /* 휴대폰 대표, 이사 소개(2026-11-24 지시 '이름 아래에 사진'): 글 묶음을 풀어(display: contents) 라벨, 이름, 역할 → 사진 → 나머지 순서로.
     칸 사이 간격은 0으로 두고 글의 원래 위 여백을 쓴다 */
  .story.leader { gap: 0; }
  .story.leader > .story-text { display: contents; }
  .story.leader > .story-text > * { order: 3; }
  .story.leader > .story-text > .eyebrow, .story.leader > .story-text > .leader-name, .story.leader > .story-text > .leader-role { order: 1; }
  .story.leader > .story-figure.leader-figure { order: 2; margin-top: 24px; }
  .story-text .section-title + .leader-role { margin-top: 8px; font-size: 17px; }
  .story-text p.leader-intro { margin-top: 20px; font-size: 16px; }
  .story-text p.leader-quote { margin-top: 20px; }
  .story-text p.leader-quote + p.leader-intro { margin-top: 14px; }
  .story-text p.leader-sub { margin-top: 24px; }
  .leader-tags { margin-top: 20px; }
  .hist-nav { margin-bottom: 32px; }
  .hist-tabs { grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; }
  .hist-tabs::-webkit-scrollbar { display: none; }
  .hist-tab { padding: 16px 24px 0 0; font-size: 19px; }
  .hist-arrows { display: none; }
  .hist-panel { grid-template-columns: 1fr; gap: 28px; }
  .hist-slider { aspect-ratio: 4 / 3; }
  .hist-slide.is-card { padding: 20px 20px 36px; }
  .hist-question, .hist-answer { font-size: 19px; }
  .hist-text { font-size: 16px; }
  .hist-list li + li { margin-top: 18px; }
  .banner-section { padding-bottom: 200px; }
  .section + .banner-section { padding-top: 172px; }
  .section.is-tight + .banner-section { padding-top: 120px; }
  .section.is-subtle + .banner-section { padding-top: 255px; }
  .section.trust-section + .banner-section { padding-top: 0; }
  .photo-band + .banner-section { padding-top: 200px; }
  .banner-halo.halo { top: -140px; --reach: 1.5; }
  .banner { padding: 36px 24px; }
  .banner-actions { width: 100%; flex-direction: column; }
  /* 버튼 문구(2026-11-24): 휴대폰은 '지금 바로'를 뺀 '우리 회사 대표 의존도 진단받기'. 아주 좁은 화면에서만 두 줄(줄 길이를 고르게) */
  .banner .btn { height: auto; min-height: 56px; padding: 14px 16px; white-space: normal; line-height: 1.35; text-align: center; text-wrap: balance; }
  .faq-q { font-size: 16px; }
  /* 2026-11-23 PC 글자 크기 조정 전 값 그대로(모바일은 바꾸지 않음) */
  .btn-xl { height: 56px; padding: 0 26px; font-size: 17px; }
  .btn-l { height: 48px; padding: 0 22px; font-size: 16px; }
  .btn-m { height: 40px; padding: 0 18px; font-size: 15px; }
  .stat-label, .work-desc, .rhythm-answer, .report-card li { font-size: 15px; }
  .section-desc, .report-card h3 { font-size: 17px; }
  .work-title { font-size: 19px; }
  .act-card p:last-child, .value-card p:last-child, .rhythm-col li, .table { font-size: 16px; }
  .table thead th, .story-text p.leader-sub { font-size: 14px; }
  .tag { height: 24px; padding: 0 8px; font-size: 13px; }
  .svc-halo.halo { bottom: calc(-80px - 8vh); bottom: calc(-80px - 8svh); }
  .footer-bottom { flex-direction: column; gap: 10px; font-size: 13px; }
  .footer-brand p, .footer-col-title { font-size: 15px; }
  .footer-col a { font-size: 14px; }
  .footer-qr { display: none; }
  .footer-info span { display: block; }
  .footer-info span + span::before { content: none; }
}
@media (max-width: 600px) {
  .leader-figure img { aspect-ratio: 3 / 4; }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hist-track { transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  /* 서비스 카드 들림과 눌림은 동작 줄이기 설정에서도 보인다(2026-11-24, 첫 화면 헤일로와 전체 메뉴처럼) */
  .service-card { transition: border-color var(--t), transform .24s cubic-bezier(.2, .8, .2, 1), box-shadow .24s ease !important; }
  .service-card:active { transition-duration: .1s !important; }
  /* 회사 소개 로고 가이드 선도 동작 줄이기 설정에서 스크롤에 맞춰 그어진다 */
  .mark-guides .g { transition: stroke-dashoffset .12s linear !important; }
  /* 숫자경영 보고서 화면도 동작 줄이기 설정에서 화면 넘김과 글 바뀜을 보인다 */
  .rs { transition: transform .55s cubic-bezier(.32, .72, 0, 1), filter .55s ease !important; }
  .app-text .ln > span { transition: transform .75s cubic-bezier(.2, .8, .2, 1) calc(var(--l) * .08s) !important; }
  .app-text.is-past .ln > span { transition: transform .45s cubic-bezier(.2, .8, .2, 1) calc(var(--l) * .04s) !important; }
}
