fix(showcase): 미정의 CSS 변수·한글 조판·접근성 결함 수리 및 무결성 게이트 두 겹 신설

stylelint 도 html-validate 도 "var(--x) 를 썼는데 --x 가 어디에도 없다"를 잡지
못한다. 미정의 변수는 선언 전체를 무효로 만드는데 콘솔 에러가 없어 조용히 남는다.
검사기를 심자마자 v0.9.1 의 실제 결함이 나왔다.

게이트 신설
- tools/integrity.mjs — L0 무결성. CSS 커스텀 프로퍼티 참조, 상대경로,
  한글 조판 필수 규칙(keep-all·한글 폰트 지정), 슬롭 지문, 스크롤 리스너를 검사.
  verify.mjs 체인에 편입해 실패 시 배포를 막는다.
  폴백이 있는 var(--x, 기본값) 은 선택적 주입이므로 미정의로 세지 않는다.
- tools/showcase-audit.mjs — 320/390/768/1440 실렌더 감사. 가로 스크롤·오버플로·
  컨트롤 줄바꿈·대비 AA·왼쪽 인셋·h1 개수·히어로 줄 수·깨진 이미지·콘솔 에러.
  반투명 배경을 합성해 대비를 재고, WebGL 페이지를 위해 swiftshader 로 렌더한다.
- html-validate 대상을 두 페이지에서 public/work 전체로 넓혔다.

수리한 결함
- 미정의 변수 64건: --dur-fast·--radius-xs 가 정의된 적이 없어 cask-archive,
  cheongon-care, materia-interior 의 transition 선언이 통째로 무효였다.
  새 토큰을 만들지 않고 기존 --dur-quick·--radius 로 매핑했다 — 토큰을 늘리면
  radius 어휘가 4종이 되어 하드 게이트 3에 걸린다.
- 한글 조판: lumina-optics·pulsegate·synapse-bci 가 word-break: keep-all 없이
  IBM Plex Sans 만 지정해 한글이 시스템 기본으로 떨어지고 있었다.
  같은 계열의 IBM Plex Sans KR 을 스택에 넣고 keep-all 을 추가했다.
- 슬롭 지문 19건: text-transform: uppercase 로 만든 영문 대문자 eyebrow 를
  한글 문장으로 바꾸고, 대문자용으로 잡아둔 넓은 자간과 모노 서체도 되돌렸다.
- 하드 게이트 9: materia-interior/hannam-duplex.html 의 100vh → 100dvh.
  이 파일은 어디서도 참조되지 않으면서 인라인 hex 까지 갖고 있어 토큰 기반으로 다시 썼다.
- 접근성 11건: label 하나가 output 과 input 둘에 걸리던 것 5건(font-foundry,
  lumina-optics), dl > div > div > dt 4건(muwol-coffee), div 에 붙은 aria-label
  2건(overtone-sound, pulsegate).

측정기 자체의 오류 둘도 고쳤다 — 눈에 보이지 않는 .sr-only 를 대비 실패로 잡던 것과,
overflow-x: auto 상자 안의 넓은 표를 오버플로로 잡던 것. 재는 도구가 틀리면
통과도 실패도 의미가 없다.
This commit is contained in:
Yun Chan 2026-08-24 12:50:57 +09:00
parent 225c1d9f42
commit 123d9fc5a8
28 changed files with 658 additions and 133 deletions

View file

@ -76,7 +76,7 @@
<div class="wrap hero-grid">
<div class="hero-content">
<div class="eyebrow">
<span>HOSPITAL-GRADE HYGIENE PROTOCOL</span>
<span>임상 수준 위생 프로토콜</span>
</div>
<h1 id="heroHeading" class="hero-title">
보이지 않는 미세 오염까지,<br />
@ -355,7 +355,7 @@
<section class="admin-view wrap" aria-label="청온 케어 관리자 콘솔">
<div class="admin-header">
<div>
<div class="eyebrow" style="margin-bottom: 4px;">OPERATIONAL CONTROL CENTER</div>
<div class="eyebrow" style="margin-bottom: 4px;">배차 관제 콘솔</div>
<h2 style="font-size: var(--step-2); font-weight: 800;">실시간 배차 및 현장 관제 현황</h2>
</div>
<button type="button" class="btn-primary" id="btnOpenQcModal">

View file

@ -73,7 +73,6 @@
font-family: var(--font-mono);
font-size: var(--step--1);
color: var(--ink-muted);
text-transform: uppercase;
}
.protocol-meta-item .value {
font-size: var(--step-0);
@ -166,19 +165,19 @@
<dl class="protocol-specs" style="display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--space-4); background: var(--surface-card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-4) var(--space-5); margin-bottom: var(--space-6);">
<div>
<dt class="spec-label" style="font-family: var(--font-mono); font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px;">Steam Temp</dt>
<dt class="spec-label" style="font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.02em; margin-bottom: 2px;">Steam Temp</dt>
<dd class="spec-val" style="font-size: var(--step-0); font-weight: 800; color: var(--ink);">160℃ High-Temp</dd>
</div>
<div>
<dt class="spec-label" style="font-family: var(--font-mono); font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px;">Filtration</dt>
<dt class="spec-label" style="font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.02em; margin-bottom: 2px;">Filtration</dt>
<dd class="spec-val" style="font-size: var(--step-0); font-weight: 800; color: var(--ink);">0.3㎛ HEPA H14 (99.995%)</dd>
</div>
<div>
<dt class="spec-label" style="font-family: var(--font-mono); font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px;">Detergent</dt>
<dt class="spec-label" style="font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.02em; margin-bottom: 2px;">Detergent</dt>
<dd class="spec-val" style="font-size: var(--step-0); font-weight: 800; color: var(--ink);">ECOCERT 100% 식물성</dd>
</div>
<div>
<dt class="spec-label" style="font-family: var(--font-mono); font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px;">QC Points</dt>
<dt class="spec-label" style="font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.02em; margin-bottom: 2px;">QC Points</dt>
<dd class="spec-val" style="font-size: var(--step-0); font-weight: 800; color: var(--ink);">32개 정밀 항목</dd>
</div>
</dl>
@ -210,7 +209,7 @@
/>
</div>
<div style="display: flex; flex-direction: column; gap: var(--space-4);">
<div class="eyebrow">SCIENTIFIC DATA VERIFICATION</div>
<div class="eyebrow">ATP 데이터 검증</div>
<h2 style="font-size: var(--step-2); font-weight: 800; line-height: 1.25;">
나인원한남 86평형<br />
<span style="color: var(--accent);">ATP 생체 오염도 99.1% 저감 리포트</span>
@ -238,7 +237,7 @@
<!-- 6-Stage Deep Steps -->
<section class="wrap" style="padding-bottom: var(--space-8);">
<div class="eyebrow" style="text-align: center;">STEP-BY-STEP ENGINEERING</div>
<div class="eyebrow" style="text-align: center;">단계별 시공 절차</div>
<h2 style="font-size: var(--step-3); font-weight: 800; text-align: center; margin-top: 6px;">
청온 케어 임상 6단계 시공 체계
</h2>
@ -320,7 +319,7 @@
<!-- Quick CTA -->
<section class="wrap" style="padding-bottom: var(--space-8); text-align: center;">
<div class="card" style="max-width: 640px; margin: 0 auto; background: var(--surface-card);">
<div class="eyebrow" style="color: var(--accent);">TRANSPARENT PRICING</div>
<div class="eyebrow" style="color: var(--accent);">정찰제 가격표</div>
<h2 style="font-size: var(--step-2); font-weight: 800; margin-top: 4px;">
우리 집 공간의 정찰제 견적을 확인하세요
</h2>

View file

@ -39,7 +39,7 @@ img {
a {
color: inherit;
text-decoration: none;
transition: color var(--dur-fast);
transition: color var(--dur-quick);
}
a:hover {
@ -89,7 +89,7 @@ button {
color: var(--ink-inverse);
border-radius: var(--radius-sm);
transform: translateY(-200%);
transition: transform var(--dur-fast);
transition: transform var(--dur-quick);
text-decoration: none;
font-weight: 500;
}
@ -136,7 +136,7 @@ button {
font-size: 11px;
font-weight: 700;
padding: 2px 6px;
border-radius: var(--radius-xs);
border-radius: var(--radius);
}
.wordmark-han {
@ -158,7 +158,7 @@ button {
color: var(--ink-muted);
font-size: var(--step--1);
font-weight: 500;
transition: color var(--dur-fast);
transition: color var(--dur-quick);
white-space: nowrap;
}
@ -193,7 +193,7 @@ button {
display: inline-flex;
align-items: center;
gap: 5px;
transition: all var(--dur-fast);
transition: all var(--dur-quick);
white-space: nowrap;
}
@ -219,8 +219,8 @@ button {
font-weight: 700;
font-size: var(--step--1);
padding: 6px 14px;
border-radius: var(--radius-xs);
transition: opacity var(--dur-fast);
border-radius: var(--radius);
transition: opacity var(--dur-quick);
}
.head-actions .btn:hover {
@ -241,7 +241,7 @@ button {
font-size: var(--step--1);
text-decoration: none;
white-space: nowrap;
transition: transform var(--dur-fast), background var(--dur-fast);
transition: transform var(--dur-quick), background var(--dur-quick);
border: none;
}
@ -265,7 +265,7 @@ button {
font-size: var(--step--1);
text-decoration: none;
white-space: nowrap;
transition: border-color var(--dur-fast), color var(--dur-fast);
transition: border-color var(--dur-quick), color var(--dur-quick);
}
.btn-outline:hover {
@ -278,15 +278,14 @@ button {
align-items: center;
gap: 6px;
padding: 3px 10px;
border-radius: var(--radius-xs);
border-radius: var(--radius);
background: var(--accent-light);
color: var(--accent);
font-size: 11px;
font-family: var(--font-mono);
font-family: var(--font-body);
font-weight: 700;
letter-spacing: 0.06em;
letter-spacing: 0.02em;
margin-bottom: var(--space-3);
text-transform: uppercase;
}
/* ── 히어로 섹션 ── */
@ -464,7 +463,7 @@ button {
font-weight: 600;
font-size: var(--step--1);
text-align: center;
transition: all var(--dur-fast);
transition: all var(--dur-quick);
white-space: normal;
word-break: keep-all;
}
@ -514,7 +513,7 @@ button {
font-size: var(--step--1);
color: var(--ink-muted);
cursor: pointer;
transition: all var(--dur-fast);
transition: all var(--dur-quick);
}
.addon-label:has(input:checked) {
@ -583,7 +582,7 @@ button {
font-weight: 700;
font-size: var(--step-0);
border-radius: var(--radius-sm);
transition: background var(--dur-fast);
transition: background var(--dur-quick);
}
.calc-submit:hover {
@ -694,7 +693,7 @@ button {
position: absolute;
bottom: 12px;
padding: 4px 10px;
border-radius: var(--radius-xs);
border-radius: var(--radius);
font-size: 11px;
font-family: var(--font-mono);
font-weight: 700;
@ -793,7 +792,7 @@ button {
.filter-tab {
padding: 3px 8px;
border-radius: var(--radius-xs);
border-radius: var(--radius);
font-size: 11px;
font-weight: 600;
background: var(--surface);
@ -834,7 +833,7 @@ button {
display: inline-flex;
align-items: center;
padding: 2px 8px;
border-radius: var(--radius-xs);
border-radius: var(--radius);
font-size: 11px;
font-weight: 700;
}
@ -846,12 +845,12 @@ button {
.action-btn {
padding: 4px 10px;
border: 1px solid var(--line);
border-radius: var(--radius-xs);
border-radius: var(--radius);
font-size: 12px;
font-weight: 600;
background: var(--surface);
cursor: pointer;
transition: all var(--dur-fast);
transition: all var(--dur-quick);
}
.action-btn:hover {