feat(site): rework 19 marketing showcases for composition diversity
Some checks are pending
ci / build (push) Waiting to run

Measured convergence before: split hero 13/19, top-bar nav 19/19,
one-line notice footer 14/19, body Pretendard 17/21, 10 similarity
pairs above 0.78. Each showcase got a pre-assigned hero family, nav
form, footer form, type pair, background, accent hue, radius, motion
grammar and material from outputs/rework-2026-10-06/plan.md; direction
cards and the chosen reason are recorded in every design.md.

After: 0 similarity warnings, 19 distinct display faces, 7 hero
families, 5 nav forms, 5 footer forms, no scroll reveals, 5 showcases
with SVG filter materials. Example contact values replace bracket
placeholders under the existing fictional-brand notices. Thumbnails,
OG images, card copy and three e2e assertions updated; dead CSS in
dure-enrollment and hannam-jari removed; similarity.mjs learns the new
font families.
This commit is contained in:
Yun Chan 2026-10-06 16:55:50 +09:00
parent 88c11682b1
commit 8e3cdb0d3b
296 changed files with 19131 additions and 17538 deletions

View file

@ -1,7 +1,8 @@
@import url("./tokens.css?v=20260912all");
@import url("./tokens.css");
/* ==========================================================================
비색의 침묵 — editorial-archival. 암실의 세 개의 방.
비색, 1,280°C — 세 개의 벽. 섹션 하나가 암실의 벽 하나다.
값은 tokens.css 에만 있다. 여기서는 var() 만 쓴다.
========================================================================== */
*,
@ -18,6 +19,7 @@ html {
scroll-behavior: smooth;
background: var(--surface);
color-scheme: dark;
font-synthesis-style: none;
}
@media (prefers-reduced-motion: reduce) {
html {
@ -29,51 +31,61 @@ body {
background: var(--surface);
color: var(--ink);
font-family: var(--font-body);
font-weight: var(--weight-body);
font-size: var(--step-0);
line-height: var(--leading-normal);
line-height: var(--leading-body);
-webkit-font-smoothing: antialiased;
}
:where(h1, h2) {
font-family: var(--font-display);
font-weight: 500;
line-height: var(--leading-tight);
/* 한글 조판 정본(typography §6-5) */
:lang(ko) {
word-break: keep-all;
overflow-wrap: break-word;
overflow-wrap: anywhere;
line-break: strict;
}
:lang(ko) :is(p, li, dd, dt, figcaption) {
line-height: var(--leading-body);
letter-spacing: 0;
text-wrap: pretty;
}
:lang(ko) :is(h1, h2) {
line-height: var(--leading-heading);
text-wrap: balance;
}
:lang(ko) :is(em, i, cite, dfn, address) {
font-style: normal;
}
:lang(ko) a {
text-underline-position: under;
}
h1,
h2,
.room-digit,
.toc-no,
.foot-mark {
font-family: var(--font-display);
font-weight: 400;
}
h1 {
font-size: var(--step-3);
line-height: var(--leading-tight);
letter-spacing: -0.01em;
white-space: nowrap; /* 한 줄 큰 낱말. 390 에서는 아래 미디어쿼리가 푼다 */
font-variant-numeric: tabular-nums;
}
h2 {
font-size: var(--step-2);
max-width: var(--measure);
}
:where(p, li, dd, dt, th, td, figcaption) {
word-break: keep-all;
overflow-wrap: break-word;
line-height: var(--leading-normal);
text-wrap: pretty;
}
.lead {
font-size: var(--step-1);
color: var(--ink-muted);
max-width: 32em;
}
.muted {
color: var(--ink-muted);
max-width: var(--measure);
}
a {
color: inherit;
}
.link {
color: var(--accent);
text-decoration: none;
border-bottom: 1px solid transparent;
transition: border-color var(--dur-quick) var(--ease-soft);
}
.link:hover {
border-color: var(--accent);
}
:focus-visible {
outline: 2px solid var(--accent);
@ -84,22 +96,20 @@ a {
position: absolute;
left: -9999px;
top: 0;
z-index: 100;
background: var(--ink);
color: var(--surface);
padding: var(--space-3) var(--space-4);
z-index: 100;
}
.skip:focus {
left: 0;
}
.sr-only {
.defs {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
width: 0;
height: 0;
overflow: hidden;
clip: rect(0 0 0 0);
white-space: nowrap;
}
.wrap {
@ -107,327 +117,368 @@ a {
margin-inline: auto;
}
/* ── 헤더 ─────────────────────────────────────────────────────────────── */
.site-head {
position: sticky;
top: 0;
z-index: 50;
background: color-mix(in srgb, var(--surface) 86%, transparent);
backdrop-filter: blur(8px);
border-bottom: 1px solid var(--line);
}
.head-inner {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: var(--space-4);
padding-block: var(--space-3);
}
.wordmark {
font-family: var(--font-display);
font-size: var(--step-1);
font-weight: 600;
text-decoration: none;
}
.nav {
display: flex;
flex-wrap: wrap;
gap: clamp(var(--space-3), 2vw, var(--space-5));
font-size: var(--step--1);
}
.nav a {
text-decoration: none;
color: var(--ink-muted);
padding-block: 2px;
border-bottom: 1px solid transparent;
transition: color var(--dur-quick) var(--ease-soft),
border-color var(--dur-quick) var(--ease-soft);
}
.nav a:hover {
color: var(--ink);
border-color: var(--accent);
/* 듀오톤 — 사진 세 장을 한 톤으로 묶는다 */
.duo,
.hero-media img {
filter: url("#duotone");
}
/* ── 첫 방(히어로) ────────────────────────────────────────────────────── */
/* ── 벽 1: 유약 접사 전면 + 표제부 ────────────────────────────────────── */
.hero {
position: relative;
isolation: isolate;
overflow: clip;
min-height: 100svh;
display: grid;
align-items: center;
min-block-size: min(46rem, calc(100svh - 4rem));
padding-block: var(--space-6);
border-bottom: 1px solid var(--line);
align-items: end;
}
.hero-grid {
.hero-media {
position: absolute;
inset: 0;
z-index: -3;
transform-origin: 50% 35%;
}
.hero-media img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
object-position: 50% 40%;
}
/* feTurbulence 유약 결 — 정적 오버레이 한 장. 움직이는 래퍼와 분리한다 */
.hero-glaze {
position: absolute;
inset: 0;
z-index: -2;
background: var(--surface);
filter: url("#glaze");
mix-blend-mode: soft-light;
opacity: 0.7;
pointer-events: none;
}
/* 표제가 앉는 하단만 먹으로 가라앉힌다. 글자 대비는 이 면 위에서 잰다 */
.hero-scrim {
position: absolute;
inset: 0;
z-index: -1;
background: linear-gradient(
to top,
rgb(var(--surface-rgb) / 1) 0%,
rgb(var(--surface-rgb) / 0.96) 22%,
rgb(var(--surface-rgb) / 0.6) 46%,
rgb(var(--surface-rgb) / 0) 72%
);
pointer-events: none;
}
.hero-band {
display: grid;
grid-template-columns: minmax(15rem, 34rem) minmax(0, 1fr);
gap: clamp(var(--space-5), 6vw, var(--space-8));
align-items: center;
grid-template-columns: minmax(0, 1fr) auto;
align-items: end;
column-gap: var(--space-7);
row-gap: var(--space-5);
padding-block: var(--space-6) var(--space-5);
}
.hero-grid > *,
.two > *,
.visit-grid > * {
.hero-band > * {
min-width: 0;
}
.hero-figure {
width: min(100%, 34rem);
}
.hero-figure img {
display: block;
width: 100%;
height: auto;
border-radius: var(--radius);
}
.hero-figure figcaption {
display: flex;
justify-content: space-between;
gap: var(--space-3);
margin-top: var(--space-2);
font-size: var(--step--1);
color: var(--ink-faint);
}
.hero-kicker {
font-size: var(--step--1);
color: var(--accent);
letter-spacing: 0.12em;
margin-bottom: var(--space-4);
}
.hero-text {
max-width: 39rem;
padding-block: var(--space-4);
}
.hero-text .lead {
.hero-title .lead {
margin-top: var(--space-4);
}
.hero-actions {
margin-top: var(--space-5);
display: flex;
align-items: center;
gap: var(--space-4);
flex-wrap: wrap;
/* 표제부에 녹인 차례 */
.toc ol {
list-style: none;
padding: 0;
display: grid;
gap: var(--space-1);
}
.hero-note {
font-size: var(--step--1);
color: var(--ink-faint);
}
.btn {
display: inline-flex;
align-items: center;
min-height: 44px;
padding-inline: var(--space-4);
background: var(--ink);
color: var(--surface);
font-weight: 500;
.toc a {
display: grid;
grid-template-columns: 2.25rem minmax(0, auto);
grid-template-areas:
"no name"
"no desc";
align-items: baseline;
column-gap: var(--space-3);
min-height: 48px;
padding-block: var(--space-2);
text-decoration: none;
padding: 0.75rem 1.5rem;
border-radius: var(--radius);
transition: background var(--dur-quick) var(--ease-soft);
border-bottom: 1px solid var(--line);
transition: border-color var(--dur-quick) var(--ease-soft);
}
.btn:hover {
background: var(--ink-bright);
.toc li:first-child a {
border-top: 1px solid var(--line);
}
/* ── 방 번호 ──────────────────────────────────────────────────────────── */
.room-no {
.toc a:hover {
border-bottom-color: var(--accent);
}
.toc-no {
grid-area: no;
color: var(--accent);
font-size: var(--step-2);
line-height: 1;
}
.toc-name {
grid-area: name;
font-weight: var(--weight-strong);
}
.toc-desc {
grid-area: desc;
font-size: var(--step--1);
color: var(--accent-dim);
letter-spacing: 0.4em;
margin-bottom: var(--space-3);
color: var(--ink-muted);
}
/* ── 섹션 공통 ────────────────────────────────────────────────────────── */
/* ── 벽 2·3·4: 전시실 ───────────────────────────────────────────────── */
.section {
.room {
padding-block: var(--space-8);
}
.section[id] {
scroll-margin-top: 6rem;
.room[id] {
scroll-margin-top: var(--space-5);
}
.band {
background: var(--surface-raised);
border-block: 1px solid var(--line);
.room + .room {
border-top: 1px solid var(--line);
}
/* ── 제1실 — 풀블리드 판 ──────────────────────────────────────────────── */
.plate-head {
.room-grid {
display: grid;
grid-template-columns: minmax(8rem, 1fr) minmax(0, 5fr);
column-gap: var(--space-5);
max-width: var(--container);
grid-template-columns: minmax(6rem, 1fr) minmax(0, 4fr) minmax(0, 3fr);
column-gap: var(--space-6);
row-gap: var(--space-5);
align-items: start;
}
.plate-head .room-no {
grid-column: 1;
grid-row: 1 / span 2;
margin: 0;
.room-grid > * {
min-width: 0;
}
.plate-head h2 {
grid-column: 2;
margin-top: var(--space-1);
}
.plate-head .lead {
grid-column: 2;
margin-top: var(--space-4);
}
.plate-figure {
width: min(100% - 2 * var(--pad-inline), var(--container-wide));
margin: var(--space-6) auto 0;
}
.plate-figure img {
display: block;
width: 100%;
height: auto;
}
.plate-figure figcaption {
.room-no {
display: grid;
grid-template-columns: minmax(8rem, 1fr) minmax(0, 5fr);
column-gap: var(--space-5);
gap: var(--space-2);
line-height: 1;
}
.room-digit {
font-size: var(--step-numeral);
line-height: 0.85;
color: var(--accent);
}
.room-word {
font-size: var(--step--1);
color: var(--ink-faint);
margin-top: var(--space-2);
color: var(--ink-muted);
}
.plate-figure figcaption span {
grid-column: 2;
.room-text {
max-width: var(--measure);
}
/* ── 제2실 — 2단 ──────────────────────────────────────────────────────── */
.two {
display: grid;
grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
gap: var(--space-6) var(--space-7);
align-items: center;
}
.two-text h2 {
margin-top: var(--space-1);
}
.two-text p + p {
.room-text > * + * {
margin-top: var(--space-4);
}
.two-photo img {
.room-text h2 + p {
margin-top: var(--space-5);
}
.room-figure img {
display: block;
width: 100%;
height: auto;
border-radius: var(--radius);
}
.two-photo figcaption {
.room-figure figcaption,
.wall figcaption {
margin-top: var(--space-2);
font-size: var(--step--1);
color: var(--ink-faint);
margin-top: var(--space-2);
}
/* ── 안내 ─────────────────────────────────────────────────────────────── */
/* 제2실 — 상감 접사 풀블리드 띠. 글은 띠 아래로 */
.room-wall {
padding-top: 0;
}
.wall {
margin-bottom: var(--space-7);
}
.wall-media {
position: relative;
overflow: clip;
width: 100%; /* max-height 가 걸리면 aspect-ratio 가 폭을 줄인다(2560 실측) — 폭을 고정한다 */
aspect-ratio: 16 / 7;
max-height: 80svh;
}
/* 띠보다 12% 크게 두고 세로로만 밀어 가로 오버플로가 생기지 않게 한다(scale 금지 — 감사가 clip 전 rect를 잰다) */
.wall-media img {
position: absolute;
inset: -6% 0;
display: block;
width: 100%;
height: 112%;
object-fit: cover;
object-position: 18% 50%;
}
.visit-grid {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
gap: var(--space-5) var(--space-7);
align-items: start;
}
.visit-grid h2 {
margin-top: var(--space-1);
}
.visit-dl {
/* 사실 목록 */
.facts {
display: grid;
gap: var(--space-3);
}
.visit-dl dt {
.facts dt {
font-size: var(--step--1);
color: var(--ink-faint);
}
.visit-dl dd {
margin-top: 2px;
.facts dd {
font-variant-numeric: tabular-nums;
}
/* ── 푸터 ─────────────────────────────────────────────────────────────── */
/* ── 푸터: 연락처·시간 카드 ────────────────────────────────────────── */
.site-foot {
border-top: 1px solid var(--line);
padding-block: var(--space-5);
font-size: var(--step--1);
padding-block: var(--space-7) var(--space-6);
}
.foot-inner {
display: flex;
justify-content: space-between;
gap: var(--space-3) var(--space-5);
flex-wrap: wrap;
}
/* ── 등장 모션 ────────────────────────────────────────────────────────── */
.reveal {
opacity: 1;
translate: 0 0;
}
.two-text {
.foot-grid {
display: grid;
grid-template-columns: minmax(8rem, 1fr) minmax(0, 5fr);
column-gap: var(--space-5);
grid-template-columns: minmax(6rem, 1fr) minmax(0, 7fr);
column-gap: var(--space-6);
row-gap: var(--space-5);
align-items: start;
}
.two-text .room-no {
grid-column: 1;
grid-row: 1 / span 3;
margin: 0;
.foot-grid > * {
min-width: 0;
}
.two-text h2,
.two-text p {
.foot-mark {
font-size: var(--step-1);
white-space: nowrap;
}
.foot-card {
background: var(--surface-raised);
border: 1px solid var(--line);
border-radius: var(--radius);
padding: var(--space-5);
}
.foot-card dl {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: var(--space-5) var(--space-6);
}
.foot-card dt {
font-size: var(--step--1);
color: var(--ink-faint);
}
.foot-card dd {
margin-top: var(--space-1);
font-variant-numeric: tabular-nums;
}
.placeholder {
border-bottom: var(--placeholder-line);
color: var(--ink-muted);
}
.foot-note {
grid-column: 2;
font-size: var(--step--1);
color: var(--ink-faint);
max-width: var(--measure);
}
/* ── 모션: scroll-driven. 지원 안 되면·감소 모션이면 정지 ─────────────── */
@media (prefers-reduced-motion: no-preference) {
@supports (animation-timeline: scroll()) {
.hero-media {
animation: hero-zoom 1ms linear both;
animation-timeline: scroll(root block);
animation-range: 0 100dvh;
}
.wall-media img {
animation: wall-drift 1ms linear both;
animation-timeline: view();
animation-range: cover 0% cover 100%;
}
}
}
@keyframes hero-zoom {
from {
transform: translate3d(0, 0, 0) scale(1);
}
to {
transform: translate3d(0, var(--hero-shift-to), 0) scale(var(--hero-scale-to));
}
}
@keyframes wall-drift {
from {
transform: translate3d(0, -4%, 0);
}
to {
transform: translate3d(0, 4%, 0);
}
}
/* ── 반응형 ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
.hero-grid,
.two,
.visit-grid {
@media (max-width: 1023px) {
.room-grid {
grid-template-columns: minmax(5rem, 1fr) minmax(0, 5fr);
}
.room-figure {
grid-column: 2;
max-width: 30rem;
}
.foot-grid {
grid-template-columns: 1fr;
gap: var(--space-5);
row-gap: var(--space-4);
}
.hero-grid {
align-items: start;
.foot-card dl {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hero {
min-block-size: auto;
}
.hero-text {
order: -1;
padding-top: 0;
}
.hero-figure {
max-width: 26rem;
}
.hero,
.section {
padding-block: var(--space-6);
}
.plate-head,
.two-text,
.plate-figure figcaption {
grid-template-columns: 1fr;
row-gap: var(--space-3);
}
.plate-head .room-no,
.plate-head h2,
.plate-head .lead,
.two-text .room-no,
.two-text h2,
.two-text p {
grid-column: 1;
grid-row: auto;
}
.plate-figure figcaption span {
.foot-note {
grid-column: 1;
}
}
@media (max-width: 560px) {
.head-inner {
flex-direction: column;
align-items: flex-start;
gap: var(--space-1);
@media (max-width: 767px) {
.hero-band {
grid-template-columns: 1fr;
padding-block: var(--space-6) var(--space-4);
}
.nav {
width: 100%;
justify-content: flex-start;
/* 좁은 화면은 표제부가 세로로 길어 먹을 더 올린다. 리드 뒤 실측 3.98:1 → 4.5 이상으로 */
.hero-scrim {
background: linear-gradient(
to top,
rgb(var(--surface-rgb) / 1) 0%,
rgb(var(--surface-rgb) / 0.97) 42%,
rgb(var(--surface-rgb) / 0.65) 60%,
rgb(var(--surface-rgb) / 0) 82%
);
}
/* 390 에서 한 줄에 안 들면 어절에서 끊는다. 크기는 줄이지 않는다 */
h1 {
white-space: normal;
}
.toc a {
grid-template-columns: 1.75rem minmax(0, auto);
}
.room {
padding-block: var(--space-7);
}
.room-grid {
grid-template-columns: 1fr;
row-gap: var(--space-4);
}
.room-no {
grid-template-columns: auto auto;
justify-content: start;
align-items: baseline;
gap: var(--space-3);
}
.room-figure {
grid-column: 1;
}
.wall-media {
aspect-ratio: 4 / 3;
}
.foot-card dl {
grid-template-columns: 1fr;
gap: var(--space-4);
}
}
@media (min-width: 1920px) {
/* 초광폭: 읽는 글은 measure 를 지키고, 접사만 벽처럼 넓어진다 */
.room-grid {
column-gap: var(--space-7);
}
}