/* 선택자는 「:root body …」 — 이 파일이 home-a.css · dwa-blocks.css 보다 먼저 실려서 같은 우선순위면 뼈대 규칙이 이긴다(10-29 1차 실화면).
   스킨: 환경 · 에너지 기업(누리볕에너지 샘플) — 뼈대 E 포트폴리오형 위.
   디자인 스펙: _dwkit/skins/_research/energy/DESIGN-v2.md (doorweb 승인 10-29).
   밝은 기술 문서의 질서(미색 · 흰 면 교대, 좌측 정렬) + 현장 사진 규모감(풀스크린 · 타일 · 콜라주), 각진 면(모서리 0, 조작 요소 2px).
   색은 전부 변수 — 사용자 정의하기 › 색 프리셋(--dw-*)을 따라간다. hex 를 직접 쓰지 않는다(RULES 5).
     --dw-navy           헤더(스크롤 후) · 서브 머리 · 푸터
     --dw-primary        흰 바탕 링크 · 대표 프로젝트 띠(어두운 남색)
     --dw-primary-light  에너지 그린(활성 탭 · 주요 버튼 · 상담 띠) — 위 글자는 --dwn-on-accent(남색, skin-init 대비 지킴이) */

@font-face { font-family: "SUIT"; font-weight: 700; font-display: swap; src: url("../fonts/SUIT-Bold.woff2") format("woff2"); }
@font-face { font-family: "SUIT"; font-weight: 800; font-display: swap; src: url("../fonts/SUIT-ExtraBold.woff2") format("woff2"); }

:root {
	--dwn-head: "SUIT", "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
	--dwn-green: var(--dw-primary-light);
	--dwn-green-hover: color-mix(in srgb, var(--dw-primary-light) 88%, var(--dw-ink));
	--dwn-on-accent: var(--dw-ink);
	--dwn-dark: var(--dw-primary);
	--dwn-surface: var(--dw-white);
	--dwn-on-dark: var(--dw-white);
	--dwn-line-dark: color-mix(in srgb, var(--dw-white) 20%, transparent);
	--dwn-charcoal: #1E2320;   /* 히어로 막 바탕(사진이 푸른 덩어리로 보이지 않게 남색 대신 차콜) */
	--dwn-glow: color-mix(in srgb, var(--dw-primary-light) 45%, #fff);       /* 어두운 면 강조 글자를 밝힐 때 섞는 주색 연한 톤(고정 hex 아님, 11-06) */
	--dwn-shade: #000000;      /* 브랜드 버튼 hover 를 어둡게 섞는 색 */
	--dwn-ov-hero: color-mix(in srgb, var(--dwn-charcoal) 60%, transparent);  /* 10-29 남색 → 차콜. 56% → 60%(프리셋 점검 실측: 첫 슬라이드 kicker 흰 15px 가 밝은 10% 픽셀 기준 4.38:1) */
	--dwn-ov-tile: color-mix(in srgb, var(--dw-navy) 60%, transparent);  /* 설계 시작값 48% → 실측(밝은 사진 위 14px 설명 4.5:1 미달)으로 60% (10-29) */
	--dwn-ov-tile-h: color-mix(in srgb, var(--dw-navy) 70%, transparent);
	--dwn-sec: 112px;
	--dwn-sec-c: 80px;
	--dwn-gap: 24px;
	--dwn-r: 2px;
	--dw-container: 1240px;
	--dw-radius: 0px;
	--dw-radius-lg: 0px;
	/* 뼈대 변수 */
	--dwa-accent: var(--dw-primary);
	--dwa-tint: var(--dw-bg);
	--dwa-soft: var(--dw-primary-light);
	--dwa-card-r: 0px;
	--dwe-accent: var(--dw-primary);
	--dwe-paper: var(--dw-bg);
	--dwe-r: 0px;
}
@media (max-width: 767px) { :root { --dwn-sec: 64px; --dwn-sec-c: 48px; --dwn-gap: 16px; } }

/* ---------- 글꼴 · 위계: 제목 SUIT, 본문 · 메뉴 · 버튼 · 폼은 Pretendard ---------- */
:root body { color: var(--dw-text); }
:root body h1, :root body h2, :root body h3, :root body .dwa-title, :root body .dw-hero-title, :root body .dw-page-hero h1, :root body .dw-page-hero-title, :root body .dwe-single-title,
:root body .dw-page-blocks .dw-lead, :root body .dw-page-blocks h2.wp-block-heading, :root body .dw-page-blocks h3.wp-block-heading, :root body .dwn-num-v {
	font-family: var(--dwn-head); color: var(--dw-ink);
}
:root body .dwa-title em, :root body .dwa-title .dw-accent, :root body .dw-page-blocks .dw-accent { font-style: normal; color: var(--dw-primary-ink,var(--dw-primary)); box-shadow: inset 0 -.32em 0 color-mix(in srgb, var(--dw-primary-light) 70%, transparent); }
:root body .dwa-eyebrow, :root body .dw-shead-eyebrow, :root body .dw-faq-eyebrow { font-size: 12px; line-height: 18px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--dw-muted); }
:root body .dwa-title, :root body .dw-page-blocks h2.wp-block-heading { font-size: 40px; line-height: 52px; letter-spacing: -1.2px; font-weight: 700; }
:root body .dwa-desc { font-size: 17px; line-height: 29px; letter-spacing: -.2px; color: var(--dw-muted); }
@media (max-width: 767px) {
	:root body .dwa-title, :root body .dw-page-blocks h2.wp-block-heading { font-size: 28px; line-height: 38px; letter-spacing: -.8px; }
	:root body .dwa-desc { font-size: 16px; line-height: 27px; }
}

/* ---------- 버튼 · 입력: 모서리 2px, 주요 = 그린 + 남색 글자 ---------- */
:root body .wp-block-button__link, :root body .dw-btn, :root body .wpcf7-submit, :root body input[type="submit"] { border-radius: var(--dwn-r); font-weight: 600; font-size: 15px; line-height: 22px; letter-spacing: 0; }
:root body .dw-page-blocks .wp-block-button:not(.is-style-outline) .wp-block-button__link, :root body .dw-btn.dw-btn-primary, :root body .wpcf7-submit {
	background: var(--dwn-green); border-color: var(--dwn-green); color: var(--dwn-on-accent); min-height: 48px; padding: 13px 24px;
}
:root body .dw-page-blocks .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover, :root body .dw-btn.dw-btn-primary:hover, :root body .wpcf7-submit:hover { background: var(--dwn-green-hover); border-color: var(--dwn-green-hover); color: var(--dwn-on-accent); }
:root body .wp-block-button__link:active, :root body .dw-btn:active { transform: translateY(1px); }
:root body .is-style-outline .wp-block-button__link { background: transparent; border: 1px solid var(--dw-ink); color: var(--dw-ink); }
:root body .is-style-outline .wp-block-button__link:hover { background: var(--dw-ink); color: var(--dw-white); }
:root body input[type="text"], :root body input[type="email"], :root body input[type="tel"], :root body input[type="number"], :root body select, :root body textarea { border-radius: var(--dwn-r); border-color: var(--dw-muted); }
:root body a:focus-visible, :root body button:focus-visible, :root body input:focus-visible, :root body select:focus-visible, :root body textarea:focus-visible { outline: 2px solid var(--dw-ink); outline-offset: 3px; }
:root body .dw-header a:focus-visible, :root body .dw-header button:focus-visible, :root body .dw-hero a:focus-visible, :root body .dw-hero button:focus-visible,
:root body .dwa-proj a:focus-visible, :root body .dwa-proj button:focus-visible, :root body .dw-footer a:focus-visible, :root body .dw-page-hero a:focus-visible { outline-color: var(--dwn-green); }

/* ---------- 헤더: 첫 화면 투명 → 스크롤 후 남색. 서브 페이지는 처음부터 남색. 글자는 흰색 ---------- */
:root body .dw-header { --dw-header-h: 88px; }
:root body .dw-header .dw-header-bg { background: var(--dw-navy); border-bottom-color: transparent; }
:root body:not(.dw-front) .dw-header .dw-header-bg, :root body .dw-header.is-scrolled .dw-header-bg { opacity: 1; border-bottom-color: transparent; }
:root body .dw-header.is-scrolled, :root body:not(.dw-front) .dw-header { box-shadow: 0 4px 16px color-mix(in srgb, var(--dw-navy) 12%, transparent); }
:root body .dw-header .dw-menu > li > a, :root body .dw-header .dw-brand, :root body .dw-header .dw-brand-name, :root body .dw-header .dw-header-action--link,
:root body.dw-front .dw-header.is-scrolled .dw-menu > li > a, :root body.dw-front .dw-header.is-scrolled .dw-brand, :root body.dw-front .dw-header.is-scrolled .dw-brand-name, :root body.dw-front .dw-header.is-scrolled .dw-header-action--link { color: var(--dwn-on-dark); }
:root body .dw-header .dw-burger span, :root body.dw-front .dw-header.is-scrolled .dw-burger span { background: var(--dwn-on-dark); }
@media (min-width: 861px) { :root body .dw-header .dw-menu > li > a { font-size: 15px; line-height: 22px; font-weight: 600; } }
:root body .dw-header .dw-header-action.dw-header-action--btn, :root body.dw-front .dw-header.is-scrolled .dw-header-action.dw-header-action--btn {
	background: var(--dwn-green); border-color: var(--dwn-green); color: var(--dwn-on-accent); border-radius: var(--dwn-r); font-weight: 600;
}
:root body .dw-header .dw-header-action.dw-header-action--btn:hover { background: var(--dwn-green-hover); border-color: var(--dwn-green-hover); color: var(--dwn-on-accent); }
/* 로고: 헤더는 늘 어두운 면이라 흰 로고(사용자 정의하기 › 로고 · 밝은 로고)만 */
:root body .dw-header .dw-brand-image--dark { display: none; }
:root body .dw-header .dw-brand-image--light { display: block; }
:root body .dw-header .dw-brand-image { max-height: 40px; width: auto; }
@media (min-width: 1081px) { :root body .dw-header-inner > .dw-nav { margin-left: auto; } :root body .dw-header-icons:empty { display: none; } }
:root body.dwn-fit1 .dw-header .dw-menu > li > a { padding-left: 12px; padding-right: 12px; }
:root body.dwn-fit2 .dw-header .dw-menu > li > a { font-size: 14px; }
:root body.dwn-fit3 .dw-header .dw-header-action--link { display: none; }
/* 드롭다운 · 모바일 메뉴 패널도 남색 */
@media (min-width: 861px) {
	:root body .dw-header .dw-menu .sub-menu { background: var(--dw-navy); border: 1px solid var(--dwn-line-dark); border-radius: 0; box-shadow: 0 12px 24px color-mix(in srgb, var(--dw-navy) 24%, transparent); }
	:root body .dw-header .dw-menu .sub-menu a { color: color-mix(in srgb, var(--dw-white) 86%, transparent); }
	:root body .dw-header .dw-menu .sub-menu a:hover, :root body .dw-header .dw-menu .sub-menu .current-menu-item > a { color: var(--dwn-green-on-dark); background: transparent; }
}
@media (max-width: 860px) {
	:root body .dw-header { --dw-header-h: inherit; /* 모바일은 코어 64(8.5.0 · 구조 필수 19) — 88 데스크톱 값을 끊기만 */ }

}

/* ---------- 히어로: 풀스크린 + 균일 남색 오버레이 + 좌측 680px 글 + 하단 탭 띠 ---------- */
:root body.dw-front .dwa-hero-blocks, :root body.dw-front .dwa-hero-blocks .dw-hero-slider { min-height: max(720px, 100svh); }
:root body.dw-front .dwa-hero-blocks .dw-hero-slide { min-height: max(720px, 100svh); }
:root body.dw-front .dw-hero-slide::after { background: var(--dwn-ov-hero); }
:root body.dw-front .dw-hero .dw-hero-inner { padding-bottom: 152px; }
:root body.dw-front .dw-hero .dw-hero-content { max-width: 680px; text-align: left; }
:root body.dw-front .dw-hero-kicker { display: inline-block; margin: 0 0 20px; padding: 0 0 0 14px; border: 0; border-left: 3px solid var(--dwn-green-on-dark); border-radius: 0; background: none; font-size: 15px; line-height: 22px; font-weight: 600; letter-spacing: 0; color: var(--dwn-on-dark); }
:root body.dw-front .dw-hero h1, :root body.dw-front .dw-hero .dw-hero-title { font-family: var(--dwn-head); font-size: 64px; line-height: 76px; letter-spacing: -1.9px; font-weight: 800; color: var(--dwn-on-dark); margin: 0 0 24px; }
:root body.dw-front .dw-hero h1 .dw-accent, :root body.dw-front .dw-hero .dw-hero-title .dw-accent { color: var(--dwn-green-on-dark); }
:root body.dw-front .dw-hero .dw-hero-sub { font-size: 17px; line-height: 29px; letter-spacing: -.2px; color: color-mix(in srgb, var(--dw-white) 90%, transparent); max-width: 560px; }
:root body.dw-front .dw-hero .dw-hero-actions { gap: 12px; margin-top: 32px; }
:root body.dw-front .dw-hero .dw-btn { min-height: 48px; padding: 13px 24px; border-radius: var(--dwn-r); }
:root body.dw-front .dw-hero .dw-btn.dw-btn-primary { background: var(--dwn-green); border-color: var(--dwn-green); color: var(--dwn-on-accent); }
:root body.dw-front .dw-hero .dw-btn.dw-btn-primary:hover { background: var(--dwn-green-hover); border-color: var(--dwn-green-hover); }
:root body.dw-front .dw-hero .dw-btn.dw-btn-primary .dw-arrow { transition: transform .18s ease; }
:root body.dw-front .dw-hero .dw-btn.dw-btn-primary:hover .dw-arrow { transform: translateX(4px); }
:root body.dw-front .dw-hero .dw-btn.dw-btn-ghost-light { background: transparent; border: 1px solid var(--dwn-on-dark); color: var(--dwn-on-dark); }
:root body.dw-front .dw-hero .dw-btn.dw-btn-ghost-light:hover { background: var(--dwn-on-dark); color: var(--dw-ink); }
/* 탭 띠가 대신하므로 코어 화살표 · 점은 숨긴다(탭이 그 버튼을 눌러 준다) */
:root body .dw-hero-slider.dwn-has-tabs .dw-hero-nav, :root body .dw-hero-slider.dwn-has-tabs .dw-hero-dots { display: none; }
:root body .dwn-tabs { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; max-width: 1270px; margin: 0 auto; }
:root body .dwn-tabs-in { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); }
:root body .dwn-tab { display: flex; align-items: center; gap: 14px; min-height: 96px; padding: 0 28px; border: 0; border-right: 1px solid var(--dwn-line-dark); border-radius: 0; background: color-mix(in srgb, var(--dw-navy) 88%, transparent); color: var(--dwn-on-dark); font: inherit; font-size: 16px; line-height: 24px; font-weight: 500; text-align: left; cursor: pointer; transition: background .18s ease; }
:root body .dwn-tab:hover { background: color-mix(in srgb, var(--dw-white) 8%, color-mix(in srgb, var(--dw-navy) 88%, transparent)); }
:root body .dwn-tab-no { font-size: 13px; font-weight: 700; letter-spacing: .5px; opacity: .72; }
:root body .dwn-tab.is-active { background: var(--dwn-green); color: var(--dwn-on-accent); font-weight: 700; }
:root body .dwn-tab.is-active .dwn-tab-no { opacity: 1; }
:root body .dwn-tabs-side { display: flex; align-items: center; gap: 12px; padding: 0 20px; background: color-mix(in srgb, var(--dw-navy) 88%, transparent); color: var(--dwn-on-dark); font-size: 13px; font-weight: 600; }
:root body .dwn-tabs-side .dw-hero-pause { position: static; width: 44px; height: 44px; margin: 0; border: 1px solid var(--dwn-line-dark); border-radius: var(--dwn-r); background: transparent; color: var(--dwn-on-dark); display: inline-flex; align-items: center; justify-content: center; transform: none; }
:root body .dwn-tabs-side .dw-hero-pause:hover { background: color-mix(in srgb, var(--dw-white) 12%, transparent); }
@media (max-width: 1100px) { :root body .dwn-tab { padding: 0 18px; font-size: 15px; } }
@media (max-width: 767px) {
	:root body.dw-front .dwa-hero-blocks, :root body.dw-front .dwa-hero-blocks .dw-hero-slider, :root body.dw-front .dwa-hero-blocks .dw-hero-slide { min-height: max(640px, 100svh); }
	:root body.dw-front.has-dwa-mbar .dwa-hero-blocks, :root body.dw-front.has-dwa-mbar .dwa-hero-blocks .dw-hero-slider, :root body.dw-front.has-dwa-mbar .dwa-hero-blocks .dw-hero-slide { min-height: max(640px, calc(100svh - 78px)); }
	:root body.dw-front .dw-hero .dw-hero-inner { padding-bottom: 160px; }
	:root body.dw-front .dw-hero h1, :root body.dw-front .dw-hero .dw-hero-title { font-size: 36px; line-height: 45px; letter-spacing: -1.1px; }
	:root body.dw-front .dw-hero .dw-hero-sub { font-size: 16px; line-height: 27px; }
	:root body .dwn-tabs { flex-direction: column; }
	:root body .dwn-tabs-in { grid-template-columns: 1fr 1fr; }
	:root body .dwn-tab { min-height: 64px; padding: 0 16px; font-size: 14px; line-height: 20px; gap: 10px; border-bottom: 1px solid var(--dwn-line-dark); }
	:root body .dwn-tabs-side { position: absolute; right: 12px; bottom: 140px; padding: 0; background: none; }
	:root body .dwn-tabs-count { display: none; }
}
@media (prefers-reduced-motion: reduce) { :root body .dw-hero-slide, :root body .dw-hero-bg { transition: none !important; animation: none !important; } }

/* ---------- 홈 섹션 공통 ---------- */
:root body .dwa-bhome .dwa-sec { padding: var(--dwn-sec) 0; background: var(--dw-bg); }
:root body .dwa-sec .dw-container { max-width: calc(var(--dw-container) + 80px); padding-left: 40px; padding-right: 40px; }
@media (max-width: 767px) { :root body .dwa-sec .dw-container { padding-left: 20px; padding-right: 20px; } }
:root body .dwa-sec .dwa-head { margin: 0 0 48px; text-align: left; }
:root body .dwn-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 80px; align-items: end; }
:root body .dwn-head .dwa-title { margin: 8px 0 0; }
:root body .dwn-head .dwa-desc { margin: 0; max-width: 520px; }
:root body .dwn-head-r { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; justify-self: end; width: 100%; max-width: 520px; }
@media (max-width: 900px) { :root body .dwn-head { grid-template-columns: 1fr; gap: 16px; } :root body .dwa-sec .dwa-head { margin-bottom: 32px; } }

/* S — 사업분야 타일 3×2 (미색) */
:root body .dwa-sec.dwa-biz { background: var(--dw-bg); }
:root body .dwn-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--dwn-gap); }
:root body .dwn-tile { position: relative; aspect-ratio: 4 / 3; overflow: hidden; color: var(--dwn-on-dark); background: var(--dw-navy); }
:root body .dwn-tile .dwn-tile-img { position: absolute; inset: 0; margin: 0; }
:root body .dwn-tile .dwn-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
:root body .dwn-tile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--dwn-ov-tile); transition: background .18s ease; }
:root body .dwn-tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 3px; background: var(--dwn-green); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
:root body .dwn-tile:hover::before, :root body .dwn-tile:focus-within::before { background: var(--dwn-ov-tile-h); }
:root body .dwn-tile:hover::after, :root body .dwn-tile:focus-within::after { transform: scaleX(1); }
:root body .dwn-tile:hover .dwn-tile-img img { transform: scale(1.04); }
/* 그룹 안쪽 껍데기 div 때문에 > 선택자가 안 닿는다 — 글 요소마다 z-index 를 준다(10-29 1차 실화면: 글이 오버레이 아래로 깔림) */
:root body .dwn-tile .dwn-tile-no, :root body .dwn-tile .dwn-tile-title, :root body .dwn-tile .dwn-tile-desc { z-index: 2; }
/* 10-29 프리셋 점검: 번호를 그린 글자로 두면 밝은 사진 위 2.9~4.2:1(4프리셋 전부 미달) → 흰 글자 + 그린 세로줄(히어로 kicker 와 같은 방식) */
:root body .dwn-tile .dwn-tile-no { position: absolute; top: 24px; left: 24px; margin: 0; padding-left: 10px; border-left: 3px solid var(--dwn-green-on-dark); font-size: 15px; line-height: 20px; font-weight: 700; color: var(--dwn-on-dark); }
:root body .dwn-tile .dwn-tile-title { position: absolute; left: 24px; right: 24px; bottom: 56px; margin: 0; font-size: 22px; line-height: 31px; letter-spacing: -.4px; font-weight: 700; color: var(--dwn-on-dark); }
:root body .dwn-tile .dwn-tile-desc { position: absolute; left: 24px; right: 24px; bottom: 24px; margin: 0; font-size: 14px; line-height: 23px; color: var(--dwn-on-dark); }
:root body .dwn-tile .dwn-tile-title a { color: inherit; text-decoration: none; }
:root body .dwn-tile .dwn-tile-title a::after { content: ""; position: absolute; inset: -400px -24px -60px; z-index: 4; } /* 타일 전체가 링크 */
@media (max-width: 1023px) { :root body .dwn-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { :root body .dwn-tiles { grid-template-columns: 1fr; } :root body .dwn-tile { aspect-ratio: 16 / 10; } :root body .dwn-tile .dwn-tile-title { font-size: 18px; line-height: 27px; } }

/* T — 숫자 + 콜라주 (흰색) */
:root body .dwa-sec.dwa-num { background: var(--dwn-surface); }
:root body .dwn-collage { display: grid; grid-template-columns: 260px minmax(0, 560px) 260px; justify-content: space-between; gap: 80px; align-items: center; }
:root body .dwn-collage figure { margin: 0; }
:root body .dwn-collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
:root body .dwn-col-a { aspect-ratio: 3 / 4; }
:root body .dwn-col-right { position: relative; }
:root body .dwn-col-b { aspect-ratio: 4 / 5; }
:root body .dwn-col-c { aspect-ratio: 4 / 3; width: 86%; margin: -24px 0 0 auto !important; position: relative; z-index: 1; border: 6px solid var(--dwn-surface); }
:root body .dwn-col-mid .dwa-head { margin-bottom: 32px; }
:root body .dwn-num-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--dw-line); }
:root body .dwn-num-cell { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--dw-line); }
:root body .dwn-num-cell:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--dw-line); }
:root body .dwn-num-value { margin: 0; display: flex; align-items: baseline; gap: 4px; }
:root body .dwn-num-v { font-size: 64px; line-height: 70px; letter-spacing: -2px; font-weight: 800; color: var(--dw-ink); }
:root body .dwn-num-u { font-size: 17px; font-weight: 700; color: var(--dw-ink); }
:root body .dwn-num-cell:first-child .dwn-num-v { box-shadow: inset 0 -.18em 0 var(--dwn-green); }
:root body .dwn-num-label { margin: 8px 0 0; font-size: 15px; line-height: 25px; color: var(--dw-muted); }
:root body .dwn-num-basis { margin: 16px 0 0; font-size: 13px; line-height: 20px; color: var(--dw-muted); }
@media (max-width: 1100px) { :root body .dwn-collage { grid-template-columns: 200px minmax(0, 1fr) 200px; gap: 48px; } :root body .dwn-num-v { font-size: 52px; line-height: 58px; } }
@media (max-width: 900px) {
	:root body .dwn-collage { grid-template-columns: 1fr 1fr; gap: 16px; }
	:root body .dwn-col-mid { grid-column: 1 / -1; order: -1; }
	:root body .dwn-col-c { display: none; }
	:root body .dwn-col-b, :root body .dwn-col-a { aspect-ratio: 4 / 5; }
	:root body .dwn-num-v { font-size: 40px; line-height: 46px; letter-spacing: -1.2px; }
	:root body .dwn-num-cell { padding: 20px 12px 20px 0; }
	:root body .dwn-num-cell:nth-child(even) { padding-left: 16px; }
}

/* R — 대표 프로젝트 어두운 띠 */
:root body .dwa-sec.dwa-proj { background: var(--dwn-dark); padding: var(--dwn-sec-c) 0; color: var(--dwn-on-dark); }
:root body .dwa-proj .dwa-title, :root body .dwa-proj h3, :root body .dwa-proj h3 a { color: var(--dwn-on-dark); }
:root body .dwa-proj .dwa-eyebrow, :root body .dwa-proj .dwa-desc { color: color-mix(in srgb, var(--dw-white) 76%, transparent); }
:root body .dwa-proj .dwa-title em, :root body .dwa-proj .dwa-title .dw-accent { color: var(--dwn-green-on-dark); box-shadow: none; }
:root body .dwa-proj .is-style-outline .wp-block-button__link { border-color: var(--dwn-on-dark); color: var(--dwn-on-dark); }
:root body .dwa-proj .is-style-outline .wp-block-button__link:hover { background: var(--dwn-on-dark); color: var(--dw-ink); }
:root body .dwn-proj { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 24px 40px; }
:root body .dwn-proj:not(.is-js) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
:root body .dwn-proj.is-js .dwn-proj-item { grid-column: 1; grid-row: 1; }
:root body .dwn-proj.is-js .dwn-proj-item[hidden] { display: none; }
:root body .dwn-proj-img { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
:root body .dwn-proj-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
:root body .dwn-proj-body { padding-top: 24px; }
:root body .dwn-proj-cat { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--dwn-green-on-dark); }
:root body .dwn-proj-title { margin: 0; font-size: 28px; line-height: 39px; letter-spacing: -.7px; font-weight: 700; }
:root body .dwn-proj-title a { text-decoration: none; }
:root body .dwn-proj-title a:hover { color: var(--dwn-green-on-dark); }
:root body .dwn-proj-meta { margin: 8px 0 0; font-size: 15px; line-height: 25px; color: color-mix(in srgb, var(--dw-white) 76%, transparent); }
:root body .dwn-proj-cap { margin-left: 8px; color: var(--dwn-green-on-dark); font-weight: 700; }
:root body .dwn-proj-desc { margin: 16px 0 0; max-width: 640px; font-size: 16px; line-height: 27px; color: color-mix(in srgb, var(--dw-white) 86%, transparent); }
:root body .dwn-proj-list { grid-column: 2; grid-row: 1; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--dwn-line-dark); align-self: start; }
:root body .dwn-proj-list li { margin: 0; border-bottom: 1px solid var(--dwn-line-dark); }
:root body .dwn-proj-pick { display: grid; gap: 4px; width: 100%; min-height: 44px; padding: 24px 0 24px 20px; border: 0; border-left: 3px solid transparent; background: transparent; color: var(--dwn-on-dark); font: inherit; text-align: left; cursor: pointer; transition: color .18s ease, border-color .18s ease; }
:root body .dwn-proj-pick:hover .dwn-pick-t { color: var(--dwn-green-on-dark); }
:root body .dwn-proj-pick.is-active { border-left-color: var(--dwn-green); }
:root body .dwn-proj-pick.is-active .dwn-pick-t { color: var(--dwn-green-on-dark); }
:root body .dwn-pick-cat { font-size: 13px; line-height: 20px; color: color-mix(in srgb, var(--dw-white) 70%, transparent); }
:root body .dwn-pick-t { font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -.3px; }
:root body .dwn-pick-m { font-size: 14px; line-height: 22px; color: color-mix(in srgb, var(--dw-white) 76%, transparent); }
@media (max-width: 900px) {
	:root body .dwn-proj, :root body .dwn-proj:not(.is-js) { grid-template-columns: 1fr; }
	:root body .dwn-proj-list { grid-column: 1; grid-row: 2; }
	:root body .dwn-proj-title { font-size: 22px; line-height: 31px; }
	:root body .dwn-proj-pick { padding: 18px 0 18px 16px; }
}

/* P — 핵심 기술 지그재그 (행마다 미색 · 흰색 교대, 번호 01~04) */
:root body .dwa-sec.dwa-tech { padding: var(--dwn-sec) 0 0; background: var(--dw-bg); }
:root body .dwn-tech-wrap { max-width: none; padding: 0; }
:root body .dwn-tech-wrap .dwn-head { max-width: var(--dw-container); margin: 0 auto 48px; padding: 0 40px; box-sizing: content-box; }
:root body .dwn-tech { counter-reset: dwntech; }
:root body .dwn-tech-row { counter-increment: dwntech; display: grid; grid-template-columns: 58fr 42fr; gap: 80px; align-items: center; padding: 80px max(40px, calc((100% - var(--dw-container)) / 2)); }
:root body .dwn-tech-row:nth-child(odd) { background: var(--dw-bg); }
:root body .dwn-tech-row:nth-child(even) { background: var(--dwn-surface); grid-template-columns: 42fr 58fr; }
:root body .dwn-tech-row:nth-child(even) .dwn-tech-img { order: 2; }
:root body .dwn-tech-img { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
:root body .dwn-tech-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
:root body .dwn-tech-body::before { content: counter(dwntech, decimal-leading-zero); display: block; margin-bottom: 16px; font-family: var(--dwn-head); font-size: 48px; line-height: 54px; letter-spacing: -1px; font-weight: 700; color: var(--dw-ink); }
:root body .dwn-tech-cat { margin: 0 0 8px; font-size: 13px; line-height: 20px; font-weight: 600; color: var(--dw-muted); }
:root body .dwn-tech-title { margin: 0; font-size: 28px; line-height: 39px; letter-spacing: -.7px; font-weight: 700; }
:root body .dwn-tech-desc { margin: 16px 0 0; font-size: 17px; line-height: 29px; color: var(--dw-text); }
:root body .dwn-tech-link { margin: 24px 0 0; }
:root body .dwn-tech-link a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--dw-ink); text-decoration: none; border-bottom: 2px solid var(--dwn-green); }
:root body .dwn-tech-link a:hover { color: var(--dw-primary-ink,var(--dw-primary)); }
@media (max-width: 900px) {
	:root body .dwn-tech-row, :root body .dwn-tech-row:nth-child(even) { grid-template-columns: 1fr; gap: 24px; padding: 64px 20px; }
	:root body .dwn-tech-row:nth-child(even) .dwn-tech-img { order: 0; }
	:root body .dwn-tech-wrap .dwn-head { padding: 0 20px; margin-bottom: 32px; }
	:root body .dwn-tech-body::before { font-size: 32px; line-height: 38px; margin-bottom: 12px; }
	:root body .dwn-tech-title { font-size: 22px; line-height: 31px; }
	:root body .dwn-tech-desc { font-size: 16px; line-height: 27px; }
}

/* N5 — 게시판 3단 (미색, 96px) */
:root body .dwa-sec.dwa-board { background: var(--dw-bg); padding: 96px 0; }
:root body .dwn-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
:root body .dwn-board-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--dw-ink); }
:root body .dwn-board-title { margin: 0; font-size: 22px; line-height: 31px; letter-spacing: -.4px; font-weight: 700; }
:root body .dwn-board-more { margin: 0; }
:root body .dwn-board-more a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--dw-muted); text-decoration: none; }
:root body .dwn-board-more a::after { content: "+"; margin-left: 6px; font-size: 18px; color: var(--dw-ink); }
:root body .dwn-board-more a:hover { color: var(--dw-ink); }
:root body .dwn-board-list { list-style: none; margin: 0; padding: 0; }
:root body .dwn-board-list li { border-bottom: 1px solid var(--dw-line); }
:root body .dwn-board-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; color: var(--dw-ink); text-decoration: none; font-size: 15px; line-height: 23px; }
:root body .dwn-board > * { min-width: 0; }
:root body .dwn-board-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:root body .dwn-board-list a:hover .dwn-board-t { color: var(--dw-primary-ink,var(--dw-primary)); text-decoration: underline; text-underline-offset: 4px; }
:root body .dwn-board-list time { flex: none; font-size: 13px; line-height: 20px; font-weight: 500; color: var(--dw-muted); }
:root body .dwn-board-empty { padding: 24px 0; color: var(--dw-muted); }
:root body .dwn-banner { position: relative; display: grid; }
:root body .dwn-banner-slide { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--dw-navy); color: var(--dwn-on-dark); }
:root body .dwn-banner.is-js .dwn-banner-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s; }
:root body .dwn-banner.is-js .dwn-banner-slide.is-active { opacity: 1; visibility: visible; }
:root body .dwn-banner:not(.is-js) { gap: 16px; }
:root body .dwn-banner-img { position: absolute; inset: 0; margin: 0; }
:root body .dwn-banner-img img { width: 100%; height: 100%; object-fit: cover; }
:root body .dwn-banner-slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--dwn-ov-tile); }
:root body .dwn-banner-cap { position: absolute; left: 32px; right: 32px; bottom: 96px; z-index: 2; }
:root body .dwn-banner-title { margin: 0; font-size: 22px; line-height: 31px; letter-spacing: -.4px; font-weight: 700; color: var(--dwn-on-dark); }
:root body .dwn-banner-title a { color: inherit; text-decoration: none; }
:root body .dwn-banner-title a::after { content: ""; position: absolute; inset: -600px -32px -96px; }
:root body .dwn-banner-text { margin: 8px 0 0; font-size: 15px; line-height: 25px; color: var(--dwn-on-dark); }
:root body .dwn-banner-nav { position: absolute; left: 32px; right: 32px; bottom: 24px; z-index: 3; display: flex; align-items: center; gap: 8px; color: var(--dwn-on-dark); font-size: 13px; font-weight: 600; }
:root body .dwn-banner-nav button { width: 44px; height: 44px; border: 1px solid var(--dwn-line-dark); border-radius: var(--dwn-r); background: color-mix(in srgb, var(--dw-navy) 40%, transparent); color: var(--dwn-on-dark); font-size: 16px; cursor: pointer; }
:root body .dwn-banner-nav button:hover { background: var(--dwn-green); border-color: var(--dwn-green); color: var(--dwn-on-accent); }
:root body .dwn-banner-count { margin: 0 8px; }
@media (max-width: 1023px) { :root body .dwn-board { grid-template-columns: repeat(2, minmax(0, 1fr)); } :root body .dwn-banner { grid-column: 1 / -1; grid-row: 2; max-width: 480px; } }
@media (max-width: 767px) { :root body .dwa-sec.dwa-board { padding: 64px 0; } :root body .dwn-board { grid-template-columns: minmax(0, 1fr); gap: 48px; } :root body .dwn-banner { grid-row: auto; order: 0; max-width: none; } }

/* C — 상담 띠 (그린) */
:root body .dwa-sec.dwa-cta { background: var(--dwn-green); padding: 64px 0; color: var(--dwn-on-accent); }
:root body .dwn-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
:root body .dwn-cta-title { margin: 0; font-size: 32px; line-height: 42px; letter-spacing: -.9px; font-weight: 800; color: var(--dwn-on-accent); }
:root body .dwn-cta-desc { margin: 8px 0 0; font-size: 15px; line-height: 25px; color: var(--dwn-on-accent); }
:root body .dwn-cta-btn { margin: 0; flex: none; }
:root body .dwa-cta .dwn-cta-btn .wp-block-button__link { min-height: 56px; padding: 16px 32px; background: var(--dw-ink); border: 1px solid var(--dw-ink); color: var(--dw-white); font-size: 16px; }
:root body .dwa-cta .dwn-cta-btn .wp-block-button__link::after { content: "→"; display: inline-block; margin-left: 10px; transition: transform .18s ease; }
:root body .dwa-cta .dwn-cta-btn .wp-block-button__link:hover { background: var(--dw-navy); }
:root body .dwa-cta .dwn-cta-btn .wp-block-button__link:hover::after { transform: translateX(4px); }
@media (max-width: 767px) {
	:root body .dwa-sec.dwa-cta { padding: 48px 0; }
	:root body .dwn-cta-inner { flex-direction: column; align-items: stretch; gap: 24px; }
	:root body .dwn-cta-title { font-size: 24px; line-height: 33px; }
	:root body .dwn-cta-btn, :root body .dwa-cta .dwn-cta-btn .wp-block-button, :root body .dwa-cta .dwn-cta-btn .wp-block-button__link { width: 100%; justify-content: center; text-align: center; }
}

/* ---------- 서브 페이지 머리: 남색 + 국문 h1 + 두 줄 설명 + 경로 ---------- */
:root body .dw-page-hero, :root body .dw-page-hero .dw-page-hero-main { background: var(--dwn-dark); }
:root body .dw-page-hero .dw-page-hero-main { min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; padding: 72px 0 40px; }
:root body .dw-page-hero .dw-page-hero-bg::after { content: ""; position: absolute; inset: 0; background: var(--dwn-ov-hero); }
:root body .dw-page-hero .dw-page-hero-body { text-align: left; position: relative; z-index: 1; }
:root body .dw-page-hero h1, :root body .dw-page-hero .dw-page-hero-title { margin: 0; font-size: 56px; line-height: 66px; letter-spacing: -1.6px; font-weight: 800; color: var(--dwn-on-dark); text-align: left; }
:root body .dwn-hero-lead { max-width: 640px; margin: 16px 0 0; font-size: 17px; line-height: 29px; color: color-mix(in srgb, var(--dw-white) 84%, transparent); text-align: left; }
:root body .dw-page-hero .dw-page-hero-foot { position: relative; z-index: 1; margin-top: 32px; }
:root body .dw-page-hero .dw-breadcrumb, :root body .dw-page-hero .dw-breadcrumb a, :root body .dw-page-hero .dw-breadcrumb span { color: color-mix(in srgb, var(--dw-white) 76%, transparent); font-size: 13px; }
:root body .dw-page-hero .dw-breadcrumb ol { justify-content: flex-start; }
@media (max-width: 767px) {
	:root body .dw-page-hero .dw-page-hero-main { min-height: 240px; padding: 48px 0 28px; }
	:root body .dw-page-hero h1, :root body .dw-page-hero .dw-page-hero-title { font-size: 36px; line-height: 45px; letter-spacing: -1.1px; }
	:root body .dwn-hero-lead { font-size: 15px; line-height: 25px; }
}
/* 하위 메뉴 탭 */
:root body .dw-page-subnav, :root body .dw-subnav { border-radius: 0; }

/* ---------- 하위 페이지 공통 블록: 각진 면 ---------- */
:root body .dw-page-blocks .dw-box, :root body .dw-page-blocks .wp-block-image img, :root body .dwe-card, :root body .dwe-card img, :root body .dw-news-card, :root body .dw-faq-item { border-radius: 0; }
:root body .dw-page-blocks .dw-box { border: 1px solid var(--dw-line); background: var(--dwn-surface); box-shadow: none; }
:root body .dw-page-blocks .dw-box-icon { border-radius: 0; background: var(--dwn-green); color: var(--dwn-on-accent); }
:root body .dw-page-blocks .dw-lead { font-size: 40px; line-height: 52px; letter-spacing: -1.2px; font-weight: 700; }
@media (max-width: 767px) { :root body .dw-page-blocks .dw-lead { font-size: 28px; line-height: 38px; } }
:root body .dw-page-blocks .dw-check-list li::before { color: var(--dw-primary-ink,var(--dw-primary)); }
:root body .dwn-tl { border-left: 2px solid var(--dw-ink); margin-left: 8px; }
:root body .dwn-tl-row { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 0 0 40px 32px; position: relative; }
:root body .dwn-tl-row::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; background: var(--dwn-green); }
:root body .dwn-tl-y { margin: 0; font-family: var(--dwn-head); font-size: 28px; line-height: 34px; font-weight: 800; color: var(--dw-ink); }
:root body .dwn-tl-t { margin: 0; font-size: 17px; line-height: 29px; color: var(--dw-text); }
@media (max-width: 767px) { :root body .dwn-tl-row { grid-template-columns: 1fr; gap: 4px; padding-left: 24px; } :root body .dwn-tl-y { font-size: 22px; } }

/* ---------- 푸터 4단 + 사업자 정보 ---------- */
:root body .dw-footer { background: var(--dw-navy); color: color-mix(in srgb, var(--dw-white) 78%, transparent); padding: 80px 0 32px; }
:root body .dw-footer .dw-footer-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo social" "info info" "legal legal"; gap: 0 16px; align-items: start; }
:root body .dw-footer .dw-footer-logo { grid-area: logo; margin-bottom: 32px; }
:root body .dw-footer .dw-footer-logo img { max-height: 40px; width: auto; }
:root body .dw-footer .dw-footer-info { grid-area: info; width: 100%; }
:root body .dw-footer .dw-footer-legal-nav { grid-area: legal; margin-top: 16px; }
:root body .dw-footer .dw-footer-legal-nav ul { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; padding: 0; list-style: none; }
:root body .dw-footer .dw-footer-legal-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
:root body .dw-footer .dw-footer-social { grid-area: social; justify-self: end; margin: 0; }
:root body .dw-footer a { color: color-mix(in srgb, var(--dw-white) 86%, transparent); }
:root body .dw-footer a:hover { color: var(--dwn-green-on-dark); }
:root body .dw-footer .dw-footer-legal-nav strong { font-weight: 600; color: var(--dwn-on-dark); }
:root body .dwn-ft { display: grid; grid-template-columns: 4fr 3fr 2fr 3fr; gap: 32px; padding-bottom: 40px; }
:root body .dwn-ft-brand p { margin: 0; max-width: 360px; font-size: 15px; line-height: 25px; }
:root body .dwn-ft-h { margin: 0 0 16px; font-size: 15px; font-weight: 700; color: var(--dwn-on-dark); }
:root body .dwn-ft-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
:root body .dwn-ft-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: none; }
:root body .dwn-ft-contact p { margin: 0 0 4px; font-size: 14px; line-height: 22px; }
:root body .dwn-ft-tel a { font-size: 24px; line-height: 32px; font-weight: 800; color: var(--dwn-on-dark); text-decoration: none; white-space: nowrap; }
@media (max-width: 420px) { :root body .dwn-ft-tel a { font-size: 20px; } }
:root body .dwn-ft-btn { margin-top: 16px !important; }
:root body .dwn-ft-btn a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: var(--dwn-r); background: var(--dwn-green); color: var(--dwn-on-accent); font-weight: 600; text-decoration: none; }
:root body .dwn-ft-btn a:hover { background: var(--dwn-green-hover); color: var(--dwn-on-accent); }
:root body .dwn-ft-biz { margin: 0; padding-top: 24px; border-top: 1px solid var(--dwn-line-dark); font-size: 13px; line-height: 22px; color: color-mix(in srgb, var(--dw-white) 72%, transparent); }
:root body .dw-footer .dw-footer-copy { margin-top: 8px; padding-top: 0; border: 0; text-align: left; font-size: 13px; color: color-mix(in srgb, var(--dw-white) 64%, transparent); }
@media (max-width: 900px) { :root body .dwn-ft { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
@media (max-width: 359px) { :root body .dwn-ft { grid-template-columns: 1fr; } }
@media (max-width: 767px) { :root body .dw-footer { padding: 56px 0 96px; } }

/* ---------- 프로젝트 · 홍보센터 목록: 각진 카드 ---------- */
:root body .dwe-chip, :root body .dwe-tab, :root body .dw-news-tab { border-radius: var(--dwn-r); }
:root body .dwe-chip.is-active, :root body .dwe-chip[aria-pressed="true"] { background: var(--dwn-green); border-color: var(--dwn-green); color: var(--dwn-on-accent); }

/* ---------- 모바일 하단 고정 버튼 · PC 오른쪽 퀵메뉴: 남색 면 + 마지막(상담) 그린 ---------- */
@media (max-width: 860px) {
	:root body .dwa-mbar { background: var(--dw-navy); border-top-color: var(--dwn-line-dark); }
	:root body .dwa-mbar a { color: var(--dwn-on-dark); }
	:root body .dwa-mbar a:last-child { border-radius: var(--dwn-r); background: var(--dwn-green); color: var(--dwn-on-accent); }
}
@media (min-width: 861px) {
	:root body.dwa-qm-on .dwa-mbar a { border-radius: var(--dwn-r); background: var(--dw-navy); border-color: var(--dwn-line-dark); color: var(--dwn-on-dark); box-shadow: 0 8px 24px color-mix(in srgb, var(--dw-navy) 18%, transparent); }
	:root body.dwa-qm-on .dwa-mbar a:hover, :root body.dwa-qm-on .dwa-mbar a:focus-visible { background: var(--dw-primary); color: var(--dwn-on-dark); }
	:root body.dwa-qm-on .dwa-mbar a:last-child { background: var(--dwn-green); border-color: var(--dwn-green); color: var(--dwn-on-accent); }
}

/* ---------- 하위 페이지 묶음 블록: 그룹 껍데기 div 를 없는 것처럼(인증 카드 · 연혁) — 10-29 2차 실화면 ---------- */
/* 코어 블록 버튼 · 사진의 그림자 · 둥근 모서리 → 각진 면(설계: 그림자 없음, 조작 요소 2px) */
:root body .dw-page-blocks .wp-block-button__link, :root body .dw-page-blocks .dw-btn-block .wp-block-button__link { box-shadow: none; border-radius: var(--dwn-r); }
:root body .dw-page-blocks .dw-split-media img, :root body .dw-page-blocks .dw-split-media figure, :root body .dw-page-blocks .wp-block-image img, :root body .dw-page-blocks .dw-formsec img { box-shadow: none; border-radius: 0; }
:root body .dw-page-blocks .dw-box, :root body .dw-page-blocks .dw-step-card { border-radius: 0; box-shadow: none; }
/* 본문 어디서나(소식 · 프로젝트 상세 포함) 기본 버튼 = 그린 + 남색 글자. 상담 띠 버튼(잉크 바탕)은 제외 — 10-29 3차 실화면 */
:root body :not(.dwn-cta-btn) > .wp-block-button:not(.is-style-outline) > .wp-block-button__link { background: var(--dwn-green); border: 1px solid var(--dwn-green); color: var(--dwn-on-accent); box-shadow: none; border-radius: var(--dwn-r); min-height: 48px; padding: 13px 24px; }
:root body :not(.dwn-cta-btn) > .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover { background: var(--dwn-green-hover); border-color: var(--dwn-green-hover); color: var(--dwn-on-accent); }
/* 프로젝트 상세 머리: 사진 위 균일 남색 오버레이 + 흰 제목(전역 제목색 규칙이 잉크로 덮던 것) */
:root body .dwe-single-hero::after { background: var(--dwn-ov-hero); }
:root body .dwe-single-hero .dwe-single-title, :root body .dwe-single-hero .dwe-single-lead, :root body .dwe-single-hero .dwe-single-kind { color: var(--dwn-on-dark); }
:root body .dwe-single-hero .dwe-single-title { font-size: 48px; line-height: 58px; letter-spacing: -1.4px; font-weight: 800; }
@media (max-width: 767px) { :root body .dwe-single-hero .dwe-single-title { font-size: 30px; line-height: 39px; letter-spacing: -.9px; } }
/* 뼈대 변수(dwe.css · home-a.css 의 :root 가 이 파일보다 늦게 실린다) — :root:root 로 이긴다. 인테리어 계보의 베이지가 남던 것(10-29 4차 실화면). */
:root:root { --dwa-accent: var(--dw-primary); --dwa-tint: var(--dw-bg); --dwa-soft: var(--dw-primary-light); --dwa-card-r: 0px; --dwe-accent: var(--dw-primary); --dwe-paper: var(--dw-bg); --dwe-r: 0px; }
:root body .dwe-card-media, :root body .dwe-card-empty { background: var(--dw-line); }
:root body .dwe-tab.is-on { color: var(--dw-ink); border-bottom-color: var(--dwn-green); border-bottom-width: 3px; }
:root body .dwe-chip.is-on { background: var(--dwn-green); border-color: var(--dwn-green); color: var(--dwn-on-accent); }
/* 상담 폼 전송 버튼: 코어 폼 섹션 규칙(남색)보다 강하게 — 주요 버튼 = 그린 + 남색 글자 */
:root body .wpcf7 form .wpcf7-submit, :root body .dw-formsec .wpcf7-submit { background: var(--dwn-green); border: 1px solid var(--dwn-green); color: var(--dwn-on-accent); border-radius: var(--dwn-r); box-shadow: none; min-height: 48px; padding: 13px 28px; }
:root body .wpcf7 form .wpcf7-submit:hover, :root body .dw-formsec .wpcf7-submit:hover { background: var(--dwn-green-hover); border-color: var(--dwn-green-hover); color: var(--dwn-on-accent); }

/* 10-29 탭 아이콘 + 팝업 배경 어둡게(바깥이 눌리지 않는다는 걸 보이게) */
:root body .dwn-tab { gap: 16px; }
:root body .dwn-tab-ic { flex: 0 0 auto; display: inline-flex; width: 28px; height: 28px; opacity: .9; }
:root body .dwn-tab-ic svg { width: 28px; height: 28px; }
:root body .dwn-tab-tx { display: flex; flex-direction: column; gap: 2px; }
:root body .dwn-tab.is-active .dwn-tab-ic { opacity: 1; }
:root body .dw-popup-bd.is-open { background: rgb(12 36 48 / 45%); cursor: pointer; }
:root body .dw-popup-bd.is-open .dw-popup { cursor: auto; }
@media (max-width: 767px) { :root body .dwn-tab-ic, :root body .dwn-tab-ic svg { width: 22px; height: 22px; } :root body .dwn-tab { gap: 10px; } }
/* 10-29 doorweb: 게시판 요약 3단(공지 | 배너 | 보도자료) 높이 맞춤 — 데스크톱에서 배너가 목록 높이에 맞춰 잘림(사진은 cover) */
@media (min-width: 1024px) {
	:root body .dwn-board { align-items: stretch; }
	:root body .dwn-board .dwn-banner { height: 100%; }
	:root body .dwn-board .dwn-banner-slide { aspect-ratio: auto; height: 100%; min-height: 0; }
	:root body .dwn-board .dwn-banner-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
	:root body .dwn-board .dwn-banner-slide figure { margin: 0; }
}
/* 10-29 doorweb 「촌스러움」 → 상담 띠: 그린 통바탕 → 남색 면 + 흐린 현장 사진(18%) + 오른쪽 라인아트(풍력·태양광·ESS), 흰 제목, 그린은 라벨 선·버튼에만 */
:root body .dwa-sec.dwa-cta { position: relative; isolation: isolate; overflow: hidden; padding: 104px 0; color: var(--dw-white); background: var(--dwn-dark); border-top: 1px solid var(--dwn-line-dark); }
:root body .dwa-sec.dwa-cta::before { content: ""; position: absolute; z-index: -1; right: max(0px, calc((100vw - 1320px) / 2 - 40px)); bottom: 0; width: min(62%, 760px); height: 100%; background: url(../img/cta-lineart.svg) right bottom / contain no-repeat; opacity: .22; pointer-events: none; }
:root body .dwa-sec.dwa-cta::after { content: ""; position: absolute; z-index: -2; inset: 0; background: url(../img/solar-operations-maintenance.webp) center 40% / cover no-repeat; opacity: .18; filter: grayscale(.35) blur(1.5px); transform: scale(1.03); pointer-events: none; }
:root body .dwn-cta-title { color: var(--dw-white); font-size: 40px; line-height: 52px; letter-spacing: -1.2px; }
:root body .dwn-cta-title::before { content: "PROJECT CONSULTING"; display: block; margin-bottom: 16px; padding-left: 12px; border-left: 3px solid var(--dwn-green); font-family: Pretendard, sans-serif; font-size: 12px; line-height: 18px; letter-spacing: 1.6px; font-weight: 600; color: rgb(255 255 255 / 78%); }
:root body .dwn-cta-desc { margin-top: 16px; color: rgb(255 255 255 / 80%); font-size: 17px; line-height: 29px; max-width: 620px; }
:root body .dwa-cta .dwn-cta-btn .wp-block-button__link { background: var(--dwn-green); border-color: var(--dwn-green); color: var(--dwn-on-accent); font-weight: 700; }
:root body .dwa-cta .dwn-cta-btn .wp-block-button__link:hover { background: var(--dwn-green-hover); border-color: var(--dwn-green-hover); color: var(--dwn-on-accent); }
@media (max-width: 767px) { :root body .dwa-sec.dwa-cta { padding: 72px 0; } :root body .dwa-sec.dwa-cta::before { width: 100%; opacity: .12; } :root body .dwa-sec.dwa-cta::after { opacity: .14; } :root body .dwn-cta-title { font-size: 28px; line-height: 38px; } }
/* 10-29 탭 클릭 안 되던 원인: 코어 일시정지 버튼의 터치 영역(::after inset -6px)이 기준 요소 없이 탭 띠 전체를 덮음 → 버튼을 기준 요소로 */
:root body .dwn-tabs-side .dw-hero-pause { position: relative; }

/* 10-29 색 재조정(딥 올리브 #687D30, 버튼 흰 글자 4.6:1): 어두운 면 · 사진 위 강조 글자는 올리브를 밝게 섞어 씀(어두운 올리브 글자는 사진 위에서 안 보임) */
:root body { --dwn-green-on-dark: color-mix(in srgb, var(--dw-primary-light) 40%, var(--dwn-glow));  /* 사진·어두운 면 위 강조 글자: 올리브를 밝은 연두와 섞어 채도 유지 */ }
:root body .dw-hero .dw-accent, :root body .dw-hero em, :root body .dw-hero-title .dw-accent, :root body .dwa-hero-blocks .dw-accent, :root body .dwa-proj .dw-accent, :root body [class*="dwn-"] .on-dark .dw-accent { color: var(--dwn-green-on-dark); }
:root body .dwn-cta-title::before { border-color: var(--dwn-green-on-dark); }
/* 10-29 doorweb: 「← 프로젝트 목록」 과 필터 칩 사이 여백 */
:root body .dwe-archive-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 0 0 20px; font-size: 15px; font-weight: 600; color: var(--dw-ink); text-decoration: none; }
:root body .dwe-archive-back:hover { color: var(--dw-primary-ink,var(--dw-primary)); text-decoration: underline; text-underline-offset: 4px; }
:root body .dwe-archive-bar .dwe-chips { gap: 12px; }
/* 10-29 doorweb: 헤더 메뉴 활성 줄 = 글자와 같은 흰색(남색 헤더 위에서 남색 줄이 안 보였음) */
:root body .dw-header .current-menu-item > a::after, :root body .dw-header .current-menu-ancestor > a::after, :root body .dw-header .current-menu-parent > a::after, :root body .dw-header .current_page_item > a::after { background: currentColor; }

/* 10-29 doorweb: 오시는 길 지도 앱 버튼 — 네이버 · 카카오 브랜드 색 + 아이콘, 가로 배치, 교통 안내와 여백 */
:root body { --dwn-naver: #03C75A; --dwn-naver-ink: #FFFFFF; --dwn-kakao: #FEE500; --dwn-kakao-ink: #191919; }
:root body .dwi-map-apps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
:root body .dwi-map-apps .wp-block-button { margin: 0; }
:root body .dwi-map-apps .wp-block-button__link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 20px; border: 0; border-radius: var(--dwn-r); font-weight: 700; }
:root body .dwi-map-apps .wp-block-button__link::before { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--dwn-ico) center / contain no-repeat; mask: var(--dwn-ico) center / contain no-repeat; }
:root body .dwi-map-naver .wp-block-button__link { background: var(--dwn-naver); color: var(--dwn-naver-ink); --dwn-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.27 12.84 7.46 2H2v20h5.73V11.16L16.54 22H22V2h-5.73z'/%3E%3C/svg%3E"); }
:root body .dwi-map-kakao .wp-block-button__link { background: var(--dwn-kakao); color: var(--dwn-kakao-ink); --dwn-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C7.6 2 4 5.4 4 9.6c0 5.4 6.6 11.6 7.3 12.2.4.3 1 .3 1.4 0 .7-.6 7.3-6.8 7.3-12.2C20 5.4 16.4 2 12 2zm0 10.6a3 3 0 1 1 0-6 3 3 0 0 1 0 6z'/%3E%3C/svg%3E"); }
:root body .dwi-map-naver .wp-block-button__link:hover { background: color-mix(in srgb, var(--dwn-naver) 88%, var(--dwn-shade)); color: var(--dwn-naver-ink); }
:root body .dwi-map-kakao .wp-block-button__link:hover { background: color-mix(in srgb, var(--dwn-kakao) 90%, var(--dwn-shade)); color: var(--dwn-kakao-ink); }

/* 10-29 doorweb: 연혁 연도 — 각진 점 → 둥근 링 표식 + 둥근 연도 배지 */
:root body .dwn-tl { border-left: 2px solid var(--dw-line); margin-left: 10px; }
:root body .dwn-tl-row { align-items: start; padding-bottom: 36px; }
:root body .dwn-tl-row::before { left: -9px; top: 10px; width: 16px; height: 16px; border-radius: 50%; background: var(--dw-white); border: 3px solid var(--dwn-green); box-sizing: border-box; }
:root body .dwn-tl-row:first-child::before { background: var(--dwn-green); box-shadow: 0 0 0 5px color-mix(in srgb, var(--dwn-green) 22%, transparent); }
:root body .dwn-tl-y { justify-self: start; display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; background: color-mix(in srgb, var(--dwn-green) 12%, var(--dw-white)); color: var(--dw-ink); font-size: 20px; line-height: 28px; font-weight: 800; letter-spacing: -.2px; font-variant-numeric: tabular-nums; }
:root body .dwn-tl-row:first-child .dwn-tl-y { background: var(--dwn-green); color: var(--dwn-on-accent); }
:root body .dwn-tl-t { padding-top: 4px; }
@media (max-width: 767px) { :root body .dwn-tl-y { font-size: 17px; min-height: 32px; padding: 0 14px; } }
/* 10-29 doorweb: 인증·등록 카드 — 위에 실사 사진(3:2), 누르면 코어 라이트박스(.dw-lightbox) */
/* 10-29 doorweb: 메뉴 꺽쇠 더 가늘게(2px → 1.25px, 크기 7 → 8px) */
:root body .dw-header .dw-menu-caret { width: 8px; height: 8px; border-right-width: 1.25px; border-bottom-width: 1.25px; opacity: .9; }

/* 10-29 doorweb: 서브 상단 배경 사진 — 차콜 오버레이를 글자 쪽(왼쪽 아래)으로 더 진하게 */
:root body .dw-page-hero.has-bg .dw-page-hero-bg { background-size: cover; background-position: center 45%; }
:root body .dw-page-hero.has-bg .dw-page-hero-bg::after { background: linear-gradient(90deg, rgb(20 24 22 / 78%) 0%, rgb(20 24 22 / 58%) 45%, rgb(20 24 22 / 30%) 100%), linear-gradient(0deg, rgb(12 36 48 / 55%) 0%, transparent 60%); }
/* 10-29 태블릿·모바일 확인: 게시판 가운데 배너가 4:5 로 화면 폭 전체를 차지해 900px 넘게 길어짐 → 1023px 아래는 16:10, 사진은 cover */
@media (max-width: 1023px) {
	:root body .dwn-board .dwn-banner-slide { aspect-ratio: 16 / 10; }
	:root body .dwn-board .dwn-banner-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
}

/* 연혁 묶음 껍데기 */
:root body .dwn-tl .wp-block-group__inner-container { display: contents; }

/* 인증 · 등록 — 10-29 표준(itsol /certs/ 방식): 세로 증서 이미지 + 연도 · 이름 · 설명, 4열 → 3 → 2. 이미지 클릭 = 코어 dw-lightbox(바깥 클릭 · Esc 닫힘) */
:root body .dwn-cert-grid, :root body .dwn-cert-grid > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
:root body .dwn-cert-grid:has(> .wp-block-group__inner-container) { display: block; }
:root body .dwn-cert-card, :root body .dwn-cert-card > .wp-block-group__inner-container { display: flex; flex-direction: column; gap: 6px; margin: 0 !important; min-width: 0; }
:root body .dwn-cert-card .wp-block-image { margin: 0 0 12px !important; padding: 12px; background: #fff; border: 1px solid var(--dw-line); border-radius: 10px; transition: border-color .2s ease, box-shadow .2s ease; }
:root body .dwn-cert-card .wp-block-image:hover { border-color: var(--dw-primary); box-shadow: 0 10px 24px rgba(12, 36, 48, .08); }
:root body .dwn-cert-card .wp-block-image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; cursor: zoom-in; }
:root body .dwn-cert-y { margin: 0 !important; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--dw-primary-ink,var(--dw-primary)); font-variant-numeric: tabular-nums; }
:root body .dwn-cert-t { margin: 0 !important; font-size: 16px; font-weight: 700; line-height: 1.45; color: var(--dw-text, #0C2430); }
:root body .dwn-cert-d { margin: 0 !important; font-size: 14px; line-height: 1.5; color: var(--dw-muted); }
:root body .dw-block + .dw-block .dw-shead { margin-bottom: 28px; }
@media (max-width: 1024px) { :root body .dwn-cert-grid, :root body .dwn-cert-grid > .wp-block-group__inner-container { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { :root body .dwn-cert-grid, :root body .dwn-cert-grid > .wp-block-group__inner-container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; } :root body .dwn-cert-card .wp-block-image { padding: 8px; } }

/* @dw-hdr1line:start — 헤더 한 줄(10-30 #239 후속 · 구조 필수 14). 861~960px 에서 상담 버튼 묶음이 두 줄로 접히고 메뉴 글자가 줄바꿈돼 헤더 높이를 넘었다.
   고치는 순서(doorweb): ① 전화번호 글자 숨기고 아이콘만 ② 메뉴 간격 · 글자 크기 단계 축소. 서랍 메뉴 전환(860)은 코어 JS(main.js)와 묶여 있어 스킨에서 올리지 않는다.
   html body 접두 = 아키타입 · 스킨 앞쪽 규칙보다 이기게. 측정: ThemeLab data/tmp/hdr1101/m.cjs (861~1281 20px 간격, 1440 높이 기준) */
@media (min-width: 861px) and (max-width: 960px) {
	html body .dw-header .dw-header-actions { flex-wrap: nowrap; }
	html body .dw-header .dw-menu > li > a, html body .dw-header .dw-header-action, html body .dw-header .dw-brand-name { white-space: nowrap; }
	html body .dw-header .dw-header-action--link[href^="tel:"] { font-size: 0; width: 44px; min-width: 44px; height: 44px; padding: 0; justify-content: center; flex: none; }
	html body .dw-header .dw-header-action--link[href^="tel:"]::before { top: 11px; bottom: 11px; left: 11px; right: 11px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3-8.7A2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.3 1.8.6 2.6a2 2 0 0 1-.5 2.1L8 9.6a16 16 0 0 0 6 6l1.2-1.2a2 2 0 0 1 2.1-.5c.8.3 1.7.5 2.6.6a2 2 0 0 1 1.7 2Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3-8.7A2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.3 1.8.6 2.6a2 2 0 0 1-.5 2.1L8 9.6a16 16 0 0 0 6 6l1.2-1.2a2 2 0 0 1 2.1-.5c.8.3 1.7.5 2.6.6a2 2 0 0 1 1.7 2Z'/%3E%3C/svg%3E") center / contain no-repeat; }
	html body .dw-header .dw-header-action--link[href^="tel:"]::after { display: none; }
}
@media (min-width: 861px) and (max-width: 960px) {
	html body .dw-header .dw-menu { gap: 24px; }
	html body .dw-header .dw-menu > li > a { font-size: 15px; }
}
@media (min-width: 861px) and (max-width: 960px) {
	html body .dw-header .dw-menu { gap: 16px; }
	html body .dw-header .dw-menu > li > a { font-size: 14px; }
	html body .dw-header .dw-menu-caret { display: none; }
	html body .dw-header .dw-header-action--btn { padding-left: 12px; padding-right: 12px; font-size: 14px; }
}
@media (min-width: 861px) and (max-width: 940px) {
	html body .dw-header .dw-menu { gap: 10px; }
	html body .dw-header .dw-menu > li > a { font-size: 13px; }
	html body .dw-header .dw-menu > li > a { letter-spacing: -.02em; }
	html body .dw-header .dw-nav { gap: 14px; }
}
/* @dw-hdr1line:end */
