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

@ -73,7 +73,6 @@
font-family: var(--font-mono);
font-size: var(--step--1);
color: var(--ink-muted);
text-transform: uppercase;
}
.docent-meta-item .value {
font-size: var(--step-0);
@ -176,19 +175,19 @@
<dl class="docent-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;">Session Type</dt>
<dt class="spec-label" style="font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.02em; margin-bottom: 2px;">Session Type</dt>
<dd class="spec-val" style="font-family: var(--font-serif); font-size: var(--step-0); font-weight: 700; color: var(--ink);">1:1 Private Tasting</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;">Location</dt>
<dt class="spec-label" style="font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.02em; margin-bottom: 2px;">Location</dt>
<dd class="spec-val" style="font-family: var(--font-serif); font-size: var(--step-0); font-weight: 700; color: var(--ink);">Cask Room (한남 27길)</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;">Capacity</dt>
<dt class="spec-label" style="font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.02em; margin-bottom: 2px;">Capacity</dt>
<dd class="spec-val" style="font-family: var(--font-serif); font-size: var(--step-0); font-weight: 700; color: var(--ink);">최대 2인 (동반 1인 가능)</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;">Glassware</dt>
<dt class="spec-label" style="font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.02em; margin-bottom: 2px;">Glassware</dt>
<dd class="spec-val" style="font-family: var(--font-serif); font-size: var(--step-0); font-weight: 700; color: var(--ink);">Glencairn &amp; Copita</dd>
</div>
</dl>
@ -220,7 +219,7 @@
/>
</div>
<div style="display: flex; flex-direction: column; gap: var(--space-4);">
<div class="eyebrow">SENSORY ANALYSIS</div>
<div class="eyebrow">관능 분석</div>
<h2 style="font-size: var(--step-2); font-weight: 800; line-height: 1.25;">
후각과 미각의 지도를 그리는<br />
<span class="accent-text">4축 아로마 분석법</span>
@ -245,7 +244,7 @@
<!-- Course Comparison Deep Cards -->
<section class="wrap" style="padding-bottom: var(--space-8);" id="courses">
<div class="eyebrow" style="text-align: center;">CURATED FLIGHT SELECTION</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;">
도슨트 테이스팅 정규 코스
</h2>
@ -255,7 +254,7 @@
<div class="course-deep-card">
<div>
<div style="display: flex; justify-content: space-between; align-items: baseline;">
<span class="eyebrow" style="color: var(--ink-muted);">COURSE A</span>
<span class="eyebrow" style="color: var(--ink-muted);">코스 A</span>
<span style="font-size: var(--step-2); font-weight: 800; color: var(--accent);">65,000원</span>
</div>
<h3 style="font-size: var(--step-1); font-weight: 700; margin-top: 8px;">
@ -302,7 +301,7 @@
<div class="course-deep-card highlight">
<div>
<div style="display: flex; justify-content: space-between; align-items: baseline;">
<span class="eyebrow" style="color: var(--accent);">COURSE B</span>
<span class="eyebrow" style="color: var(--accent);">코스 B</span>
<span style="font-size: var(--step-2); font-weight: 800; color: var(--accent);">120,000원</span>
</div>
<h3 style="font-size: var(--step-1); font-weight: 700; margin-top: 8px;">
@ -372,7 +371,7 @@
<section class="wrap" style="padding-bottom: var(--space-8);">
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--space-8); align-items: center;">
<div style="display: flex; flex-direction: column; gap: var(--space-4);">
<div class="eyebrow">GASTRONOMY PAIRING</div>
<div class="eyebrow">미식 페어링</div>
<h2 style="font-size: var(--step-2); font-weight: 800; line-height: 1.25;">
향과 질감의 증폭을 위한<br />
<span class="accent-text">아티잔 푸드 페어링</span>
@ -395,7 +394,7 @@
<!-- Live Reservation Form Section -->
<section class="wrap" style="padding-bottom: var(--space-8);" id="reservation-section">
<div class="card" style="max-width: 720px; margin: 0 auto;">
<div class="eyebrow" style="color: var(--accent); margin-bottom: 4px;">RESERVATION REQUEST</div>
<div class="eyebrow" style="color: var(--accent); margin-bottom: 4px;">예약 신청</div>
<h2 style="font-size: var(--step-2); font-weight: 800; margin-bottom: var(--space-4);">
도슨트 테이스팅 세션 실시간 예약
</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 {
@ -100,9 +100,9 @@ button {
padding: 0.5rem 1rem;
background: var(--accent);
color: var(--accent-ink);
border-radius: var(--radius-xs);
border-radius: var(--radius);
transform: translateY(-200%);
transition: transform var(--dur-fast);
transition: transform var(--dur-quick);
text-decoration: none;
font-weight: 700;
}
@ -162,7 +162,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;
}
@ -187,8 +187,8 @@ button {
font-weight: 700;
font-size: var(--step--1);
padding: 6px 14px;
border-radius: var(--radius-xs);
transition: opacity var(--dur-fast), transform var(--dur-fast);
border-radius: var(--radius);
transition: opacity var(--dur-quick), transform var(--dur-quick);
}
.head-actions .btn:hover {
@ -205,12 +205,12 @@ button {
background: var(--accent);
color: #0b0b0d;
padding: 10px 20px;
border-radius: var(--radius-xs);
border-radius: var(--radius);
font-weight: 700;
font-size: var(--step--1);
text-decoration: none;
white-space: nowrap;
transition: transform var(--dur-fast), background var(--dur-fast), opacity var(--dur-fast);
transition: transform var(--dur-quick), background var(--dur-quick), opacity var(--dur-quick);
border: 1px solid var(--accent);
}
@ -229,12 +229,12 @@ button {
color: var(--ink);
border: 1px solid var(--line);
padding: 10px 18px;
border-radius: var(--radius-xs);
border-radius: var(--radius);
font-weight: 600;
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 {
@ -247,7 +247,7 @@ button {
align-items: center;
gap: 6px;
padding: 4px 10px;
border-radius: var(--radius-xs);
border-radius: var(--radius);
background: rgba(217, 155, 56, 0.12);
color: var(--accent);
font-size: 11px;
@ -256,7 +256,6 @@ button {
letter-spacing: 0.08em;
margin-bottom: var(--space-3);
border: 1px solid rgba(217, 155, 56, 0.25);
text-transform: uppercase;
}
/* ── 히어로 섹션 ── */
@ -332,7 +331,7 @@ button {
padding: 6px 12px;
background: var(--surface-raised);
border: 1px solid var(--line);
border-radius: var(--radius-xs);
border-radius: var(--radius);
display: flex;
justify-content: space-between;
align-items: baseline;
@ -434,13 +433,13 @@ button {
.filter-btn {
padding: 6px 14px;
border-radius: var(--radius-xs);
border-radius: var(--radius);
background: var(--surface-raised);
border: 1px solid var(--line);
color: var(--ink-muted);
font-size: 12px;
font-weight: 600;
transition: all var(--dur-fast);
transition: all var(--dur-quick);
}
.filter-btn:hover {
@ -459,11 +458,11 @@ button {
border: 1px solid var(--line);
color: var(--ink);
padding: 8px 14px;
border-radius: var(--radius-xs);
border-radius: var(--radius);
font-size: 13px;
min-width: 240px;
outline: none;
transition: border-color var(--dur-fast);
transition: border-color var(--dur-quick);
}
.search-input:focus {
@ -529,7 +528,7 @@ button {
}
.ledger-table tbody tr {
transition: background var(--dur-fast);
transition: background var(--dur-quick);
}
.ledger-table tbody tr:hover {
@ -583,7 +582,7 @@ button {
border: 1px solid var(--line);
border-radius: var(--radius-sm);
padding: var(--space-5);
transition: border-color var(--dur-fast);
transition: border-color var(--dur-quick);
}
.course-card:hover {
@ -632,7 +631,6 @@ button {
font-family: var(--font-mono);
font-weight: 600;
color: var(--ink-muted);
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 6px;
}
@ -643,11 +641,11 @@ button {
padding: 10px 12px;
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--radius-xs);
border-radius: var(--radius);
color: var(--ink);
font-size: 13px;
outline: none;
transition: border-color var(--dur-fast);
transition: border-color var(--dur-quick);
}
.form-select:focus,
@ -686,7 +684,7 @@ button {
padding: 10px 14px;
background: rgba(217, 155, 56, 0.1);
border: 1px solid rgba(217, 155, 56, 0.25);
border-radius: var(--radius-xs);
border-radius: var(--radius);
min-width: 80px;
flex-shrink: 0;
}