/* 우후 사이트 공통 스타일 — 기준: docs/design.md (시안 캔버스와 같은 값) */

@font-face { font-family: 'Pretendard'; src: url('../assets/fonts/PretendardVariable.woff2') format('woff2'); font-weight: 45 920; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lora'; src: url('../assets/fonts/Lora-Italic.woff2') format('woff2'); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --g: #235029;          /* 브랜드 녹색 (로고) */
  --ink: #10231A;
  --text: #3E5046;
  --muted: #4A5B52;
  --soft: #F1F5F2;
  --line: #D9E3DC;
  --line2: #E3EAE5;
  --pale: #9DB5A6;
  --foot: #0B1A12;
  --serif: 'Lora', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; overflow-x: clip; background: #FFFFFF; color: var(--ink); font-family: 'Pretendard', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; font-size: 17px; line-height: 1.6; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
/* 본문 밖으로 삐져나온 것(스크롤 등장 전 오른쪽으로 밀린 영역 등)은 잘라 낸다 — 아이폰 사파리는 body 의 overflow 만으로는 옆으로 밀리는 걸 못 막음 (2026-12-03) */
main { overflow-x: hidden; overflow-x: clip; }   /* clip 을 모르는 옛 사파리는 hidden */
a { color: inherit; text-decoration: none; }
a:hover { opacity: .8; }
img { max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--g); outline-offset: 3px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 20px; background: var(--ink); color: #FFFFFF; border-radius: 8px; }
.skip:focus { top: 12px; }
.ico { flex-shrink: 0; }
.nw { white-space: nowrap; }
.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; }   /* 번호·주소처럼 중간에서 끊기면 안 되는 것 */
.mb28 { margin-bottom: 28px; }
.mb48 { margin-bottom: 48px; }

/* 글자 */
.eyebrow { margin: 0 0 12px; font-size: 16px; font-weight: 700; letter-spacing: .06em; color: var(--g); }
.h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.3; font-weight: 900; letter-spacing: -.03em; }
.h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.35; font-weight: 900; letter-spacing: -.03em; }
.more { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; color: var(--g); }

/* 버튼 (높이 48–60, 손가락 44px 이상) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; font-size: 16px; font-weight: 700; white-space: nowrap; }
.btn-sm { height: 48px; }
.btn-md { height: 56px; padding: 0 28px; font-size: 17px; }
.btn-lg { height: 60px; padding: 0 30px; font-size: 18px; }
.btn-block { display: flex; width: 100%; height: 56px; font-size: 18px; }
.btn-primary { background: var(--g); color: #FFFFFF; }
.btn-outline { border: 1.5px solid var(--ink); }
.btn-white { background: #FFFFFF; color: var(--ink); }
.btn-line { border: 1px solid #5E7D6B; color: #FFFFFF; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* 헤더 */
.hd { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line2); }
.hd-in { height: 84px; display: flex; align-items: center; gap: 32px; }
.hd-logo { display: flex; flex-shrink: 0; }
.hd-logo img { width: 72px; height: 72px; display: block; }
.gnb { display: flex; gap: 32px; margin-left: auto; font-size: 17px; font-weight: 700; align-self: stretch; }
.gnb a { display: flex; align-items: center; border-bottom: 3px solid transparent; padding-top: 3px; }
.gnb a[aria-current] { color: var(--g); border-bottom-color: var(--g); }
.hd-util { display: flex; align-items: center; gap: 20px; }
.hd-lang { font-size: 15px; font-weight: 700; color: var(--muted); }
.hd-menu { display: none; margin-left: auto; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; background: #FFFFFF; color: var(--ink); cursor: pointer; }
@media (max-width: 1100px) {
  .gnb, .hd-util { display: none; }
  .hd-menu { display: inline-flex; }
}

/* 전체 메뉴(모바일) */
.mm { position: fixed; inset: 0; z-index: 50; background: #FFFFFF; display: flex; flex-direction: column; }
.mm[hidden] { display: none; }
.mm-top { height: 72px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line2); }
.mm-top img { width: 60px; height: 60px; display: block; }
.mm-top .hd-menu { display: inline-flex; margin: 0; }
.mm-nav { flex: 1; overflow-y: auto; padding: 8px 20px; }
.mm-group { border-bottom: 1px solid var(--line2); }
.mm-group summary { list-style: none; height: 64px; display: flex; align-items: center; justify-content: space-between; font-size: 22px; font-weight: 700; cursor: pointer; }
.mm-group summary::-webkit-details-marker { display: none; }
.mm-group[open] summary { color: var(--g); }
.mm-group[open] summary svg { transform: rotate(180deg); }
.mm-group ul { list-style: none; margin: 0 0 16px; padding: 4px 0 4px 4px; }
.mm-group li a { display: flex; align-items: center; min-height: 48px; font-size: 18px; color: var(--text); }
.mm-group li a[aria-current] { color: var(--g); font-weight: 700; }
.mm-foot { padding: 20px 20px 28px; border-top: 1px solid var(--line2); display: flex; flex-direction: column; gap: 16px; }
.mm-row { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; color: var(--muted); }
body.menu-open { overflow: hidden; }

/* 영역 */
.sec { padding-top: 112px; padding-bottom: 112px; }
.sec-soft { background: var(--soft); }
.sec-dark { background: var(--ink); color: #FFFFFF; }
.sec-dark .eyebrow { color: #8FD3AC; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }

/* ① 히어로 */
.hero { padding-top: 112px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.hero-text { flex: 1 1 520px; min-width: 0; }
.hero-en { margin-bottom: 28px; font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--g); }
.hero-title { font-size: clamp(44px, 6.4vw, 88px); line-height: 1.12; font-weight: 900; letter-spacing: -.04em; }
.hero-title span { display: block; }
.hero-lead { margin-top: 36px; max-width: 560px; font-size: 21px; color: var(--text); }
.hero .btns { margin-top: 44px; }
.hero-mark { flex: 1 1 460px; min-width: 0; display: flex; justify-content: center; }
/* 태블릿(768–1100px): 글·상징이 한 줄에 안 들어가 상징이 아래로 떨어지던 것 → 두 칸으로 나란히 (2026-12-02) */
@media (min-width: 768px) and (max-width: 1100px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; padding-top: 80px; padding-bottom: 80px; }
  .hero-en { font-size: 22px; margin-bottom: 20px; }
  .hero-lead { font-size: 19px; }
}

/* ② 흐름 */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.flow li { background: #FFFFFF; border-radius: 20px; padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; }
.flow-no { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--g); }
.flow strong { font-size: 24px; }
.flow li > span:last-child { font-size: 17px; color: var(--muted); }
.flow li.is-end { background: var(--g); color: #FFFFFF; }
.flow li.is-end .flow-no { color: #FFFFFF; }
.flow li.is-end > span:last-child { color: #E4EFE8; }

/* ③ 서비스 — 이름 칸 2줄 고정으로 설명·'자세히' 줄을 맞춘다 */
.svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 2px solid var(--ink); }
.svc a { display: flex; flex-direction: column; gap: 16px; padding: 36px 28px 40px 0; border-bottom: 1px solid var(--line); min-height: 240px; }
.svc-no { font-size: 18px; font-weight: 700; color: var(--g); }
.svc .svc-no, .card .svc-no, .fields .svc-no { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 40px; line-height: 1; }   /* 번호 붙은 카드는 모두 크게 (단계 카드 번호와 같은 글꼴): 홈 사업 분야·하는 일·주요 기능·개요 사업 분야 */
.svc-name { font-size: 26px; line-height: 36px; min-height: 72px; font-weight: 700; letter-spacing: -.02em; white-space: pre-line; }
.svc-desc { font-size: 17px; color: var(--muted); flex-grow: 1; }
.svc-more { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; }

/* ④ 자체 서비스 — 카드끼리 줄 맞춤 */
.prod { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.prod-card { background: #1A3326; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; padding: 44px 44px 0; }
.prod-cat { font-size: 16px; line-height: 24px; color: #A9C2B3; }
.prod-name { margin-top: 12px; font-size: 34px; line-height: 44px; font-weight: 900; letter-spacing: -.03em; }
.prod-desc { margin-top: 16px; min-height: 90px; font-size: 18px; line-height: 30px; color: #D3E2D9; }
.prod-card .btns { margin-top: 24px; gap: 10px; }
.prod-shot { margin-top: 40px; height: 300px; border-radius: 16px 16px 0 0; background: #24432F; position: relative; overflow: hidden; }
.prod-web { position: absolute; left: 24px; top: 24px; width: 82%; border-radius: 8px; box-shadow: 0 12px 32px rgba(0,0,0,.35); }
.prod-phone { position: absolute; right: 20px; top: 56px; width: 116px; height: 252px; border-radius: 22px; border: 5px solid #0B1A12; overflow: hidden; background: #0B1A12; box-shadow: 0 12px 32px rgba(0,0,0,.4); }
.prod-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.prod-cover { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

/* ⑤ KRDS 빌더 */
.krds { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.krds-text { flex: 1 1 440px; min-width: 0; }
.krds .h2 { margin-bottom: 20px; }
.krds-lead { margin-bottom: 36px; font-size: 19px; color: var(--text); }
.krds-flow { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 17px; font-weight: 700; }
.krds-flow li { position: relative; padding: 10px 16px; border-radius: 999px; background: var(--soft); }
.krds-flow li:not(:last-child)::after { content: '→'; position: absolute; right: -21px; top: 50%; transform: translateY(-50%); color: var(--pale); font-weight: 400; }
.krds-flow li.is-end { background: var(--g); color: #FFFFFF; }
.krds-shot { flex: 1 1 520px; min-width: 0; border-radius: 20px; border: 1px solid var(--line); overflow: hidden; background: #FFFFFF; }
.krds-shot img { display: block; width: 100%; }
.browser { height: 40px; background: var(--soft); display: flex; align-items: center; gap: 8px; padding: 0 16px; }
.browser span { width: 10px; height: 10px; border-radius: 50%; background: #C7D3CB; }

/* ⑥ 레퍼런스 */
.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px 24px; }
.work { display: flex; flex-direction: column; gap: 14px; min-width: 0; }   /* 가로 넘김(모바일)에서 이미지 원본 폭만큼 커지지 않게 (2026-12-03) */
.work-thumb { aspect-ratio: 4 / 3; border-radius: 16px; background: #FFFFFF; border: 1px solid var(--line); display: flex; align-items: flex-end; padding: 20px; font-size: 15px; color: var(--muted); overflow: hidden; min-height: 0; position: relative; }
.work-meta { display: flex; gap: 8px; font-size: 16px; font-weight: 700; color: var(--g); }
.work-meta span:last-child { color: var(--muted); font-weight: 500; }
.work-meta span[aria-hidden] { color: var(--pale); }
.work-title { font-size: 21px; line-height: 1.45; font-weight: 700; letter-spacing: -.02em; }


/* ⑧ 소식 — 날짜·분류 칸 폭 고정으로 제목 줄을 맞춘다 */
.news { display: flex; flex-wrap: wrap; gap: 48px; }
.news-head { flex: 1 1 280px; }
.news-head .h2 { margin-bottom: 24px; }
.news-list { flex: 999 1 560px; min-width: 0; list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: baseline; padding: 28px 0; font-size: 20px; }
.news-date { flex: 0 0 96px; color: var(--muted); font-variant-numeric: tabular-nums; }   /* 날짜·분류도 제목과 같은 20px, 칸 폭 고정으로 제목 줄 맞춤 */
.news-cat { flex: 0 0 72px; font-weight: 700; color: var(--g); }
.news-title { flex: 1 1 300px; font-weight: 500; }

/* 문의 띠 */
.cta-sec { padding: 0 24px 112px; }
.cta { max-width: 1192px; margin: 0 auto; border-radius: 32px; background: var(--g); color: #FFFFFF; padding: 72px 56px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta .h2 { margin-bottom: 12px; }
.cta p { font-size: 19px; color: #E4EFE8; }

/* 푸터 */
.ft { background: var(--foot); color: #C4D3CA; }
.ft-in { padding-top: 64px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 32px; }
.ft-top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.ft-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.ft-brand img { width: 88px; height: 88px; display: block; filter: brightness(0) invert(1); }  /* 흰색 로고 SVG 받기 전 임시 */
.ft-brand p { font-size: 16px; }
.ft-brand .ft-tag { font-size: 18px; font-weight: 700; color: #FFFFFF; }
.ft-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 16px; }
.ft-info { font-size: 16px; line-height: 1.9; }
.ft-bottom { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; padding-top: 24px; border-top: 1px solid #24382C; font-size: 15px; }
.ft-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.ft-bottom b { color: #FFFFFF; }

/* 하위 화면: 서브 히어로 · 위치 · 탭 */
/* 서브 히어로는 홈 첫 화면과 같은 진녹색 톤(2026-12-02) — 헤더가 위에 비치도록 85px 끌어올림 */
.sub-hero { position: relative; overflow: hidden; margin-top: -85px; padding-top: 85px; color: #FFFFFF;
  background:
    radial-gradient(circle at 80% 70%, rgba(63, 138, 82, .42), rgba(63, 138, 82, 0) 45%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 120px),
    linear-gradient(135deg, #0B1F12 0%, #1F4A2A 100%); }
.sub-hero .eyebrow { color: #A8D5A2; }
.sub-hero .sub-lead { color: rgba(255, 255, 255, .74); }
.sub-hero .crumbs ol { color: rgba(255, 255, 255, .62); }
.sub-hero .crumbs li[aria-hidden] { color: rgba(255, 255, 255, .35); }
.sub-hero .crumbs li[aria-current] { color: #FFFFFF; }
.sm-dots { fill: rgba(255, 255, 255, .13); }
.sm-box { fill: rgba(255, 255, 255, .03); stroke: rgba(255, 255, 255, .2); stroke-width: 2; }
.sm-cols { stroke: rgba(255, 255, 255, .16); }
.sm-real { fill: rgba(255, 255, 255, .14); }
.sm-shine { transform: translateX(-60px) skewX(-18deg); animation: hs-shine 5s ease-in-out 1s infinite; }
.sub-hero-in { position: relative; z-index: 1; }
/* 옅은 문양 (partials/sub-mark): 본문 폭 오른쪽 끝에 맞추고 바닥에서 조금 잘리게 */
.sub-mark { position: absolute; right: max(24px, calc((100% - 1240px) / 2 + 24px)); bottom: -36px; height: 300px; width: auto; pointer-events: none; }
@media (max-width: 767px) { .sub-mark { display: none; } }
.sub-hero-in { padding-top: 48px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 36px; }
.sub-hero-text { min-width: 0; max-width: 760px; }
.sub-title { font-size: clamp(36px, 5vw, 56px); line-height: 1.2; font-weight: 900; letter-spacing: -.04em; }
.sub-lead { margin-top: 16px; font-size: 20px; color: var(--text); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--muted); }
.crumbs li[aria-hidden] { color: var(--pale); }
.crumbs li[aria-current] { color: var(--ink); font-weight: 700; }
.tabs { border-bottom: 1px solid var(--line); background: #FFFFFF; }
.tabs-in { display: flex; gap: 36px; overflow-x: auto; white-space: nowrap; font-size: 18px; font-weight: 700; scrollbar-width: none; }
.tabs-in a { padding: 20px 0 17px; border-bottom: 3px solid transparent; color: var(--muted); }
.tabs-in a[aria-current] { color: var(--g); border-bottom-color: var(--g); }
.page { padding-top: 96px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 96px; }
.preparing { font-size: 19px; color: var(--muted); }

/* A01 개요 */
.intro { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.intro-name { flex: 1 1 360px; }
.intro-hanja { font-size: clamp(44px, 6vw, 72px); line-height: 1.1; font-weight: 900; letter-spacing: -.02em; color: var(--g); }
.intro-meaning { margin-top: 16px; font-size: 22px; font-weight: 700; }
.intro-sub { margin-top: 6px; font-size: 17px; color: var(--muted); }
.intro-text { flex: 999 1 560px; min-width: 0; }
.intro-text > p { margin-top: 24px; font-size: 19px; line-height: 1.8; color: var(--text); }
.intro-text > .intro-en { margin-top: 20px; font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.4; color: var(--g); }
.info { margin: 0; border-top: 2px solid var(--ink); font-size: 18px; }
.info div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info dt { font-weight: 700; color: var(--muted); }
.info dd { margin: 0; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.fields a { display: flex; flex-direction: column; gap: 10px; padding: 32px 28px; border-radius: 20px; background: var(--soft); min-height: 200px; }
.fields strong { font-size: 22px; line-height: 32px; min-height: 64px; }
.fields-text { font-size: 17px; color: var(--muted); flex-grow: 1; }

/* ── 홈 첫 화면 A안 (2026-12-02): 진녹색 바탕 + 흰 로고, 상징 partials/hero-symbol ── */
.hero-band { position: relative; margin-top: -85px; padding-top: 85px; color: #FFFFFF; overflow: hidden;
  background:
    radial-gradient(circle at 74% 46%, rgba(63, 138, 82, .45), rgba(63, 138, 82, 0) 52%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 120px),
    linear-gradient(135deg, #0B1F12 0%, #1F4A2A 100%); }
.hero-band .hero-en { color: #A8D5A2; }
.hero-band .hero-title { color: #FFFFFF; }
.hero-band .hero-lead { color: rgba(255, 255, 255, .74); }
.hero-band .btn-white { color: var(--g); }
.hero-band .btn-line { border: 1.5px solid rgba(255, 255, 255, .5); }
.hero-band .hero-mark { flex-basis: 520px; }
.hsym { width: 100%; max-width: 560px; height: auto; overflow: visible; }

/* 홈 헤더: 첫 화면 위 */
.hd { transition: background-color .25s ease, border-color .25s ease; }
.hd-logo .hd-logo-white { display: none; }  /* .hd-logo img(display:block)보다 우선하게 — 흰 헤더에서 흰 로고가 겹쳐 보이던 것 (2026-12-02) */
.hd-dark { background: rgba(11, 31, 18, .94); border-bottom-color: rgba(255, 255, 255, .1); }
.hd-dark.hd-top { background: transparent; }
.hd-dark .hd-logo img { display: none; }
.hd-dark .hd-logo .hd-logo-white { display: block; }
.hd-dark .gnb a { color: rgba(255, 255, 255, .86); }
.hd-dark .gnb a[aria-current] { color: #A8D5A2; border-bottom-color: #A8D5A2; }
.hd-dark .hd-lang { color: rgba(255, 255, 255, .62); }
.hd-dark .hd-util .btn-primary { background: #FFFFFF; color: var(--g); }
.hd-dark .hd-menu { background: transparent; border-color: rgba(255, 255, 255, .3); color: #FFFFFF; }

/* 홈 상징 그림 */
.hs-box { fill: rgba(255, 255, 255, .04); stroke: rgba(255, 255, 255, .3); stroke-width: 2; }
.hs-label text { font-size: 15px; font-weight: 700; fill: #CFE3D1; }
.hs-label .hs-label-real { fill: var(--g); }
.hs-en { font-family: var(--serif); font-style: italic; font-size: 17px; fill: var(--g); }
.hs-base { stroke: rgba(255, 255, 255, .25); stroke-width: 1; }
.hs-cap text { font-family: var(--serif); font-style: italic; font-size: 15px; fill: rgba(255, 255, 255, .62); }
.hs-halo { opacity: .18; }

/* 홈 상징 움직임 — '움직임 줄이기' 사용자는 맨 아래 prefers-reduced-motion 규칙이 끈다
   ① 생각: 정신없이 튀고 날아다님 (다섯 가지 길, 빠르게) */
.hs-fly, .hs-sort { transform-box: fill-box; transform-origin: center; }
.hs-fly { animation: hs-fly-1 2.6s cubic-bezier(.45, 0, .55, 1) infinite; }
.hs-fly-2 { animation-name: hs-fly-2; animation-duration: 2.1s; }
.hs-fly-3 { animation-name: hs-fly-3; animation-duration: 3.2s; }
.hs-fly-4 { animation-name: hs-fly-4; animation-duration: 1.8s; }
.hs-fly-5 { animation-name: hs-fly-5; animation-duration: 2.8s; }
@keyframes hs-fly-1 { 0%,100% { transform: translate(0,0); } 18% { transform: translate(16px,-32px) scale(1.15); } 36% { transform: translate(-12px,-7px); } 54% { transform: translate(12px,20px) scale(.85); } 76% { transform: translate(-18px,-23px); } }
@keyframes hs-fly-2 { 0%,100% { transform: translate(0,0); } 22% { transform: translate(-20px,24px); } 44% { transform: translate(14px,-18px) scale(1.2); } 70% { transform: translate(-8px,36px) scale(.8); } }
@keyframes hs-fly-3 { 0%,100% { transform: translate(0,0); } 15% { transform: translate(20px,14px); } 35% { transform: translate(-16px,-37px) scale(1.1); } 60% { transform: translate(10px,-12px); } 82% { transform: translate(-14px,18px) scale(.9); } }
@keyframes hs-fly-4 { 0%,100% { transform: translate(0,0); } 25% { transform: translate(-14px,-26px); } 50% { transform: translate(18px,5px) scale(1.25); } 75% { transform: translate(-6px,29px); } }
@keyframes hs-fly-5 { 0%,100% { transform: translate(0,0); } 20% { transform: translate(12px,31px) scale(.85); } 45% { transform: translate(-20px,6px); } 65% { transform: translate(16px,-29px) scale(1.15); } 85% { transform: translate(-10px,-6px); } }

/* ② 정리 → ③ 현실 (한 주기 10초, 2026-12-02 dante "띠들이 모여 직사각형으로 합쳐지고, 모서리가 둥글어지며 기둥 모양·크기로 맞춰 스며들게")
   0~3초 공이 날아와 같은 색끼리 쌓임 → 3~5초 머묾 → 5~5.6초 줄마다 하나의 띠로 굳고 네 띠가 가운데로 모임
   → 5.6~6초 띠 높이가 같아지며 기둥 색으로 → 6~6.2초 하나의 직사각형(.hs-merge, 모양·크기 변화는 SVG animate)
   → 6.2~6.6초 모서리가 둥글어짐 → 6.6~7.3초 기둥 자리·크기로 커지며 이동 → 7.3~7.7초 기둥에 스며듦('쿵'·빛·윤기) */
.hs-sort { opacity: 0; animation: hs-sort 10s cubic-bezier(.2, .8, .25, 1) infinite both; }
@keyframes hs-sort {
  0% { opacity: 0; transform: translate(var(--fx), var(--fy)) scale(.5); }
  4% { opacity: 1; }
  12% { opacity: 1; transform: translate(0, -6px) scale(1.08); }
  14% { transform: translate(0, 1px) scale(.96); }
  16%, 76% { opacity: 1; transform: translate(0, 0) scale(1); }
  78%, 100% { opacity: 0; transform: translate(0, 0) scale(1); }
}
.hs-col { animation: hs-col 10s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes hs-col {
  0% { opacity: 0; transform: translateX(0); }      /* 주기가 바뀌는 순간엔 안 보이게(띠가 번쩍 남지 않게) */
  1%, 50% { opacity: 1; transform: translateX(0); }
  56% { transform: translateX(var(--cv)); }         /* 네 띠가 가운데로 모여 한 묶음 */
  61% { opacity: 1; transform: translateX(var(--cv)); }
  62%, 100% { opacity: 0; transform: translateX(var(--cv)); }   /* 하나의 직사각형(.hs-merge)으로 바뀜 */
}
.hs-bar { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; animation: hs-bar 10s ease-in-out infinite; }
@keyframes hs-bar {
  0%, 48% { opacity: 0; fill: var(--c); transform: scaleY(1); }
  55%, 56% { opacity: 1; fill: var(--c); transform: scaleY(1); }   /* 점들이 하나의 띠로 굳음 */
  60%, 100% { opacity: 1; fill: #E4F0E5; transform: scaleY(var(--sy)); }   /* 높이가 같아지며 기둥 색으로 */
}

/* ③ 현실: 처음엔 바닥에서 묵직하게 솟고, 주기마다 묶음이 들어오는 순간(7.2초) '쿵' — 살짝 눌렸다 서고 빛이 번쩍, 윤기 */
.hs-real { transform-box: fill-box; transform-origin: 50% 100%; animation: hs-rise 1.8s cubic-bezier(.2, .9, .25, 1) .3s both; }
@keyframes hs-rise { 0% { transform: scaleY(0); } 70% { transform: scaleY(1.025); } 100% { transform: scaleY(1); } }
.hs-body { transform-box: fill-box; transform-origin: 50% 100%; animation: hs-thud 10s ease-out infinite; }
@keyframes hs-thud {
  0%, 73% { transform: scale(1, 1); }
  75% { transform: scale(1.03, .975); }
  78% { transform: scale(.99, 1.02); }
  82%, 100% { transform: scale(1, 1); }
}
/* 기둥 안 네 색 층: 직사각형이 스며드는 순간(7.4초~) 아래 층부터 차례로 살짝 들썩인다 */
.hs-layer { transform-box: fill-box; transform-origin: 50% 100%; animation: hs-layer 10s ease-out infinite both; }
@keyframes hs-layer { 0%, 74% { transform: none; } 77% { transform: translateY(-5px); } 81%, 100% { transform: none; } }
.hs-shine { transform: translateX(-60px) skewX(-18deg); animation: hs-shine-sync 10s ease-in-out infinite; }
@keyframes hs-shine-sync { 0%, 74% { transform: translateX(-60px) skewX(-18deg); } 88%, 100% { transform: translateX(170px) skewX(-18deg); } }
@keyframes hs-shine { 0% { transform: translateX(-60px) skewX(-18deg); } 35%, 100% { transform: translateX(170px) skewX(-18deg); } }
.hs-gleam { animation: hs-gleam 6s ease-in-out infinite; }
@keyframes hs-gleam { 0% { transform: translateY(300px); } 100% { transform: translateY(-130px); } }
.hs-halo { animation: hs-flash 10s ease-out infinite; }
@keyframes hs-flash { 0%, 73% { opacity: .14; } 76% { opacity: .6; } 90%, 100% { opacity: .14; } }
@media (prefers-reduced-motion: reduce) { .hs-sort { opacity: 1; } .hs-merge-g { display: none; } }
/* 화면에 안 보이거나 다른 탭이면 멈춘다 (public/js/site.js, 오래 켜 두면 무거워지던 문제 2026-12-02) */
.hsym.hs-off, .hsym.hs-off * { animation-play-state: paused !important; }

/* 스크롤 등장 움직임 (public/js/site.js 가 data-rv 를 붙임, 2026-12-02) */
[data-rv] { transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--rv-d, 0ms); }
[data-rv]:not(.is-in) { opacity: 0; }
[data-rv="up"]:not(.is-in) { transform: translateY(40px); }
[data-rv="rise"] { transition-delay: calc(var(--rv-d, 0ms) + 250ms); }
[data-rv="rise"]:not(.is-in) { transform: translateY(70px); }
[data-rv="left"]:not(.is-in) { transform: translateX(-48px); }
[data-rv="right"] { transition-delay: calc(var(--rv-d, 0ms) + 350ms); }
[data-rv="right"]:not(.is-in) { transform: translateX(64px) rotate(4deg); }
[data-rv="pop"] { transition-timing-function: cubic-bezier(.3, 1.5, .5, 1); }
[data-rv="pop"]:not(.is-in) { transform: scale(.7); }
[data-rv="step"]:not(.is-in) { transform: translateY(32px) scale(.94); }
/* 단계 카드 화살표는 카드가 나타난 뒤 톡 */
.stepper li[data-rv]::after { transition: opacity .4s ease; transition-delay: calc(var(--rv-d, 0ms) + 450ms); }
.stepper li[data-rv]:not(.is-in)::after { opacity: 0; }

/* 단계 카드 (partials/stepper): 옅은 → 진한 녹색(step_style), 카드 사이 화살표. 900px 이하는 세로로 쌓고 화살표는 아래로 */
.stepper { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 28px; }
.stepper li { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 32px 28px; border-radius: 20px; min-height: 160px; }
.stepper-no { font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1; opacity: .85; }
.stepper strong { font-size: 22px; line-height: 1.4; }
.stepper-text { font-size: 17px; line-height: 1.6; opacity: .85; }
.stepper li:not(:last-child)::after { content: "→"; position: absolute; z-index: 1; right: -24px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #FFFFFF; border: 1px solid var(--line); color: var(--g); font-size: 17px; font-weight: 700; box-shadow: 0 2px 6px rgba(16, 35, 26, .08); }
@media (max-width: 900px) {
  .stepper { grid-template-columns: 1fr; gap: 24px; }
  .stepper li { min-height: 0; }
  .stepper li:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -29px; transform: translateX(-50%); }
}

/* 모바일 (767px 이하) */
@media (max-width: 767px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .sec { padding-top: 72px; padding-bottom: 72px; }
  .hero { padding-top: 48px; padding-bottom: 64px; gap: 40px; }
  .hero-band .hero { padding-bottom: 20px; }
  .hero-band .hero-mark { margin: 0 -8px; }
  .hsym { max-width: none; }
  .hero-band .btn-lg { padding: 0 22px; font-size: 17px; }
  .prod { grid-template-columns: 1fr; }
  .prod-card { padding: 28px 24px 0; }
  .works { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .works .work { flex: 0 0 80%; scroll-snap-align: start; }
  .cta-sec { padding: 0 20px 72px; }
  .cta { padding: 44px 28px; }
  .sub-hero-in { padding-top: 40px; padding-bottom: 36px; }
  .page { padding-top: 64px; padding-bottom: 72px; gap: 64px; }
  .info div { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ───── 하위 화면 공통 (3단계) ───── */
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt32 { margin-top: 32px; }
.muted { color: var(--muted); }
.intro-lead { font-size: 20px; line-height: 1.75; color: var(--text); max-width: 880px; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--g); }
.link span:not(.sr-only) { text-decoration: underline; text-underline-offset: 3px; }
.ft-links a { display: inline-flex; align-items: center; gap: 4px; }
.mono { font-variant-numeric: tabular-nums; font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; }
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: 14px; font-weight: 700; }
.prose { font-size: 18px; line-height: 1.85; color: var(--text); max-width: 880px; }
.prose h2 { margin: 40px 0 12px; font-size: 22px; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 12px; }

/* 카드 묶음 (파트너·하는 일·기능) — 줄 맞춤: 같은 높이 */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 20px; background: #FFFFFF; border: 1px solid var(--line); border-top: 4px solid var(--g); min-height: 160px; }   /* 흰 바탕 + 위쪽 녹색 선: 옅은 녹색 상자(진행 방식 등)와 구분 */
.card-title { font-size: 21px; line-height: 1.45; }
.card-text { font-size: 17px; color: var(--muted); flex-grow: 1; }
.card-logo { height: 40px; width: auto; align-self: flex-start; }
.note-box { padding: 40px; border-radius: 24px; background: var(--soft); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.note-box p { font-size: 18px; color: var(--text); }
.band { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; padding: 28px 36px; border-radius: 20px; background: var(--g); color: #FFFFFF; font-size: 19px; }
.band .more { color: #FFFFFF; }

/* A05 대표 인사말 */
.greeting { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.greeting-photo { width: 320px; max-width: 100%; border-radius: 24px; }
.greeting-text { flex: 1 1 480px; min-width: 0; }
.greeting-sign { margin-top: 32px; font-size: 18px; text-align: right; }

/* A02 미션 */
.mission-big { font-size: clamp(34px, 5vw, 60px); line-height: 1.2; font-weight: 900; letter-spacing: -.04em; }
.mission-quote { margin-top: 24px; font-size: 21px; line-height: 1.8; color: var(--text); white-space: pre-line; }
.mission-band { padding: 48px; border-radius: 24px; background: var(--g); color: #FFFFFF; }
.mission-band .eyebrow { color: #CFE3D5; }
.mission-en { font-family: var(--serif); font-style: italic; font-size: clamp(30px, 4vw, 48px); line-height: 1.2; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.col-card { padding: 40px; border-radius: 24px; background: var(--soft); display: flex; flex-direction: column; gap: 14px; }
.col-card h3 { font-size: 24px; }
.col-card p { font-size: 18px; line-height: 1.8; color: var(--text); }

/* A03 연혁 */
.year-jump { position: sticky; top: 84px; z-index: 5; background: #FFFFFF; border-bottom: 1px solid var(--line); }
.year-jump-in { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.year-jump a { flex-shrink: 0; height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--soft); font-size: 16px; font-weight: 700; }
.history { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.history > li { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 160px; }
.history-year { font-size: 30px; font-weight: 900; color: var(--g); letter-spacing: -.02em; }
.history ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 18px; }
.history ul li { display: flex; gap: 20px; }
.history-month { flex: 0 0 104px; color: var(--muted); font-variant-numeric: tabular-nums; }
.history-band { display: flex; align-items: center; gap: 16px; color: var(--g); font-weight: 700; font-size: 17px; }
.history-band::before, .history-band::after { content: ""; flex: 1; height: 1px; background: var(--g); opacity: .4; }

/* W01–W03 흐름 */
.path { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 36px; align-items: center; font-size: 19px; font-weight: 700; }
.path li { position: relative; padding: 14px 22px; border-radius: 999px; background: var(--soft); }
.path li:not(:last-child)::after { content: "→"; position: absolute; right: -27px; top: 50%; transform: translateY(-50%); color: var(--pale); font-weight: 400; }
.path li.is-start { background: #F39A4C; color: var(--ink); }
.path li.is-link { background: none; padding: 14px 0; color: var(--muted); font-weight: 500; }
.path li.is-end { background: var(--g); color: #FFFFFF; }
.flow-5 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.flow-5 li { background: var(--soft); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; border-radius: 20px; background: var(--soft); min-height: 180px; }
.steps strong { font-size: 21px; line-height: 1.45; }
.steps span:not(.flow-no) { font-size: 16px; color: var(--muted); }
.steps li.is-end { background: var(--g); color: #FFFFFF; }
.steps li.is-end span { color: #E4EFE8; }
.zone { padding: 40px; border-radius: 24px; border: 1px solid var(--line); }
.zone-it { background: var(--soft); border-color: transparent; }
.zone-sub { margin: 32px 0 0; font-size: 19px; }
.ba { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.ba > li { padding: 28px; border-radius: 20px; background: var(--soft); display: flex; flex-direction: column; gap: 16px; }
.ba strong { display: flex; gap: 12px; align-items: baseline; font-size: 19px; line-height: 1.45; }
.ba .flow-no { font-size: 30px; }
.ba dl { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ba dl div { display: flex; gap: 12px; padding: 12px 16px; border-radius: 12px; background: #FFFFFF; font-size: 17px; }
.ba dt { flex: 0 0 72px; color: var(--muted); font-weight: 700; }
.ba dd { margin: 0; }
.gate { align-self: center; padding: 14px 28px; border-radius: 999px; background: var(--g); color: #FFFFFF; font-weight: 700; font-size: 18px; text-align: center; }
.chain { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 36px; font-size: 18px; font-weight: 700; }
.chain li { position: relative; padding: 14px 22px; border-radius: 14px; background: #FFFFFF; }
.chain li:not(:last-child)::after { content: "→"; position: absolute; right: -27px; top: 50%; transform: translateY(-50%); color: var(--pale); font-weight: 400; }

/* W04 기술 층 */
.layers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.layers li { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: center; padding: 28px 32px; border-radius: 20px; background: var(--soft); }
.layers li:first-child { background: var(--g); color: #FFFFFF; }
.layers li:first-child span { color: #CFE3D5; }
.layers strong { display: block; font-size: 24px; }
.layers span { font-size: 16px; color: var(--muted); }
.layers p { font-size: 18px; line-height: 1.7; }

/* P 자체 서비스 */
.prod-intro { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.prod-intro > div:first-child { flex: 1 1 420px; min-width: 0; }

/* R·N 목록·상세 */
.filter-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { height: 44px; display: inline-flex; align-items: center; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); font-size: 16px; font-weight: 700; color: var(--muted); }
.chips a[aria-current] { background: var(--g); border-color: var(--g); color: #FFFFFF; }
/* 이미지는 비율 상자(4:3) 안에 고정 — 휴대폰 사파리가 height:100% 를 못 풀어 원본 크기로 커지던 문제 (2026-12-03) */
.work-thumb img { position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); object-fit: cover; border-radius: 12px; }
.detail { gap: 48px; }
.detail .work-meta { align-items: center; flex-wrap: wrap; }
.detail-title { margin-top: 12px; font-size: clamp(28px, 4vw, 44px); line-height: 1.3; font-weight: 900; letter-spacing: -.03em; }
.detail-image { width: 100%; border-radius: 20px; }
.bullets { margin: 0; padding-left: 22px; font-size: 18px; line-height: 1.9; color: var(--text); }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 32px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 700; }
.pager a { min-height: 44px; display: inline-flex; align-items: center; }

/* C01 문의 */
.contact { display: flex; flex-wrap: wrap; gap: 48px 80px; }
.contact-side { flex: 1 1 280px; }
.contact-main { flex: 999 1 560px; min-width: 0; scroll-margin-top: 110px; }
.contact-info { margin: 32px 0 0; display: flex; flex-direction: column; gap: 12px; font-size: 18px; }
.contact-info div { display: flex; gap: 16px; }
.contact-info dt { flex: 0 0 64px; color: var(--muted); font-weight: 700; }
.contact-info dd { margin: 0; }
.form { display: flex; flex-direction: column; gap: 28px; }
.field { display: flex; flex-direction: column; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 17px; font-weight: 700; padding: 0; }
.field em { font-style: normal; font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 20px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid #B7C6BC; border-radius: 12px; font: inherit; font-size: 17px; color: var(--ink); background: #FFFFFF; }
.field textarea { resize: vertical; line-height: 1.7; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(35, 80, 41, .25); border-color: var(--g); }
.field [aria-invalid=true] { border-color: #B3261E; }
.field input[type=file] { font-size: 16px; }
.field-help { font-size: 15px; color: var(--muted); }
.field-error { font-size: 15px; font-weight: 700; color: #B3261E; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.radio input { position: absolute; opacity: 0; pointer-events: none; }
.radio span { height: 48px; display: inline-flex; align-items: center; padding: 0 20px; border-radius: 999px; border: 1px solid #B7C6BC; font-size: 16px; font-weight: 700; cursor: pointer; }
.radio input:checked + span { background: var(--g); border-color: var(--g); color: #FFFFFF; }
.radio input:focus-visible + span { outline: 3px solid var(--g); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500 !important; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--g); flex-shrink: 0; }
.agree-detail summary { font-size: 15px; color: var(--g); font-weight: 700; cursor: pointer; min-height: 32px; }
.agree-detail p { margin-top: 8px; padding: 16px; border-radius: 12px; background: var(--soft); font-size: 15px; color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 20px 24px; border-radius: 14px; background: #FCEEEE; color: #8C1D18; margin-bottom: 24px; font-size: 16px; }
.done { padding: 48px; border-radius: 24px; background: var(--soft); }
.done p { margin-top: 12px; font-size: 18px; color: var(--text); }
.form .btn { align-self: flex-start; }

/* U03 사이트맵 */
.sitemap { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 40px 24px; }
.sitemap h2 { font-size: 21px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.sitemap ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 17px; color: var(--text); }
.sitemap li a { display: inline-flex; min-height: 40px; align-items: center; }

/* 오류 화면 */
.error-page { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; align-items: flex-start; }
.error-code { font-family: var(--serif); font-style: italic; font-size: 96px; line-height: 1; color: var(--g); margin-bottom: 16px; }

@media (max-width: 767px) {
  .history > li { grid-template-columns: 1fr; gap: 12px; }
  .history ul li { flex-direction: column; gap: 2px; }
  .history-month { flex-basis: auto; }
  .layers li { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .zone, .note-box, .mission-band, .col-card, .done { padding: 28px 24px; }
  .works.works-grid { display: grid; overflow: visible; }
  .works.works-grid .work { flex: none; }
}

/* W02 방법론 결과 띠 — 다섯 단계 → 현실화 → 작업 절차 */
.result-band { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 32px 40px; border-radius: 24px; background: var(--g); color: #FFFFFF; }
.result-text { flex: 1 1 360px; display: flex; flex-direction: column; gap: 6px; }
.result-text strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 34px; line-height: 1.2; }
.result-text span { font-size: 18px; color: #E4EFE8; }
.result-band .more { color: #FFFFFF; }
@media (max-width: 767px) { .result-band { padding: 28px 24px; } }
.steps-flow { display: flex; flex-direction: column; gap: 16px; }
.steps-down { align-self: center; color: var(--g); }
