feat(site): rework 19 marketing showcases for composition diversity
Some checks are pending
ci / build (push) Waiting to run
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:
parent
88c11682b1
commit
8e3cdb0d3b
296 changed files with 19131 additions and 17538 deletions
|
|
@ -1,4 +1,4 @@
|
|||
@import url("./tokens.css?v=20260912all");
|
||||
@import url("./tokens.css?v=20261006");
|
||||
|
||||
/* ────────────────────────────────────────────────────────
|
||||
리셋 — 필요한 것만
|
||||
|
|
@ -14,6 +14,7 @@
|
|||
html {
|
||||
-webkit-text-size-adjust: 100%;
|
||||
scroll-behavior: smooth;
|
||||
font-synthesis-style: none;
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
html {
|
||||
|
|
@ -22,34 +23,41 @@ html {
|
|||
}
|
||||
|
||||
body {
|
||||
background: var(--paper);
|
||||
background: var(--surface);
|
||||
color: var(--ink);
|
||||
font-family: var(--font-body);
|
||||
font-size: var(--step-body);
|
||||
line-height: var(--leading-body);
|
||||
font-weight: var(--weight-regular);
|
||||
/* 종이 질감. 에디토리얼 프리셋의 기본 재질이고, 아주 약해야 한다.
|
||||
세게 걸면 화면이 지저분해지고 사진의 디테일과 싸운다. */
|
||||
background-image: url("#");
|
||||
background-attachment: fixed;
|
||||
letter-spacing: var(--track-body);
|
||||
}
|
||||
|
||||
img,
|
||||
picture {
|
||||
img {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
/* CLS 를 막으려고 HTML 에 width/height 속성을 적어두면, height 속성이
|
||||
그대로 계산된 높이가 되어 **aspect-ratio 가 무시된다.**
|
||||
실측: aspect-ratio 는 "3 / 4" 로 적용돼 있는데 높이는 원본 1448px 이었다.
|
||||
height:auto 를 줘야 비율이 높이를 정한다. */
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* 한글 조판. 서구 레퍼런스에는 이 정보가 없어서 직접 정한다.
|
||||
keep-all 이 없으면 어절 한가운데서 줄이 바뀐다. */
|
||||
:where(p, li, h1, h2, h3, figcaption, dd, dt) {
|
||||
/* 한글 조판(typography §6-5). keep-all 은 anywhere 와 반드시 짝이다 */
|
||||
:lang(ko) {
|
||||
word-break: keep-all;
|
||||
overflow-wrap: anywhere;
|
||||
line-break: strict;
|
||||
}
|
||||
:lang(ko) :is(p, li, dd, dt, figcaption, address) {
|
||||
letter-spacing: 0;
|
||||
}
|
||||
:lang(ko) :is(h1, h2, h3) {
|
||||
line-height: var(--leading-tight);
|
||||
text-wrap: balance;
|
||||
}
|
||||
:lang(ko) :is(em, i, cite, address) {
|
||||
font-style: normal;
|
||||
}
|
||||
:lang(ko) a {
|
||||
text-underline-position: under;
|
||||
}
|
||||
p {
|
||||
text-wrap: pretty;
|
||||
}
|
||||
|
||||
|
|
@ -68,8 +76,9 @@ a {
|
|||
left: -9999px;
|
||||
top: 0;
|
||||
background: var(--ink);
|
||||
color: var(--paper);
|
||||
color: var(--surface);
|
||||
padding: var(--space-3) var(--space-4);
|
||||
border-radius: var(--radius);
|
||||
z-index: 100;
|
||||
}
|
||||
.skip:focus {
|
||||
|
|
@ -78,57 +87,87 @@ a {
|
|||
}
|
||||
|
||||
/* ────────────────────────────────────────────────────────
|
||||
타이포그래피 — 크기 4종, 웨이트 2종. 그 이상 늘리지 않는다
|
||||
타이포그래피 — 부리는 표제·꽃 이름, 고딕은 나머지 전부
|
||||
──────────────────────────────────────────────────────── */
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
h2 {
|
||||
font-family: var(--font-display);
|
||||
font-weight: var(--weight-regular); /* 큰 글자일수록 가늘게 */
|
||||
line-height: var(--leading-tight);
|
||||
font-weight: var(--weight-regular);
|
||||
letter-spacing: var(--track-display);
|
||||
text-wrap: balance;
|
||||
}
|
||||
h1 {
|
||||
font-size: var(--step-display);
|
||||
font-size: var(--step-title);
|
||||
}
|
||||
h2 {
|
||||
font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
|
||||
letter-spacing: var(--track-lead);
|
||||
}
|
||||
h3 {
|
||||
font-size: 1.15rem;
|
||||
letter-spacing: var(--track-lead);
|
||||
font-size: var(--step-h2);
|
||||
}
|
||||
|
||||
.lead {
|
||||
font-size: var(--step-lead);
|
||||
letter-spacing: var(--track-lead);
|
||||
color: var(--ink-muted);
|
||||
max-width: var(--measure);
|
||||
}
|
||||
|
||||
/* 작은 라벨만 굵고 자간이 넓다. 크기 위계의 반대쪽 끝이다 */
|
||||
.label {
|
||||
font-size: var(--step-label);
|
||||
font-weight: var(--weight-bold);
|
||||
letter-spacing: var(--track-label);
|
||||
color: var(--ink-muted);
|
||||
text-transform: none; /* 한글에 uppercase 는 아무 효과가 없고 라틴만 튄다 */
|
||||
}
|
||||
|
||||
.muted {
|
||||
font-size: var(--step-small);
|
||||
font-weight: var(--weight-strong);
|
||||
color: var(--ink-muted);
|
||||
}
|
||||
|
||||
/* 제목 다음에 오는 것은 반드시 떨어진다.
|
||||
h2 는 margin: 0 이고 p 도 margin-top: 0 이라 그냥 두면 붙는다. */
|
||||
h1 + *,
|
||||
h2 + *,
|
||||
h3 + * {
|
||||
h2 + p,
|
||||
h2 + .lead,
|
||||
h2 + .sub-text,
|
||||
h2 + address {
|
||||
margin-top: var(--space-4);
|
||||
}
|
||||
|
||||
/* ── 링크 ── */
|
||||
.link {
|
||||
display: inline-block; /* 터치 타깃 24px 이상(WCAG 2.5.8) — 줄 높이만으로는 19px 이었다 */
|
||||
padding-block: var(--space-1);
|
||||
color: var(--accent);
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 1px;
|
||||
text-underline-offset: 0.2em;
|
||||
transition: color var(--dur) var(--ease-out);
|
||||
}
|
||||
.link:hover {
|
||||
color: var(--accent-deep);
|
||||
}
|
||||
|
||||
/* ── 버튼: 예약 하나. 잎 녹색 채움은 여기에만 ── */
|
||||
.btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 3rem;
|
||||
padding: 0 var(--space-4);
|
||||
background: var(--accent);
|
||||
color: var(--on-accent);
|
||||
font-size: var(--step-body);
|
||||
font-weight: var(--weight-medium);
|
||||
text-decoration: none;
|
||||
border: 1px solid var(--accent);
|
||||
border-radius: var(--radius);
|
||||
white-space: nowrap;
|
||||
transition:
|
||||
background var(--dur) var(--ease-out),
|
||||
border-color var(--dur) var(--ease-out),
|
||||
color var(--dur) var(--ease-out);
|
||||
}
|
||||
.btn:hover {
|
||||
background: var(--accent-deep);
|
||||
border-color: var(--accent-deep);
|
||||
}
|
||||
.btn-quiet {
|
||||
background: transparent;
|
||||
color: var(--accent);
|
||||
border-color: var(--accent);
|
||||
}
|
||||
.btn-quiet:hover {
|
||||
background: var(--accent-soft);
|
||||
color: var(--accent-deep);
|
||||
}
|
||||
|
||||
/* ────────────────────────────────────────────────────────
|
||||
레이아웃
|
||||
──────────────────────────────────────────────────────── */
|
||||
|
|
@ -137,231 +176,185 @@ h3 + * {
|
|||
margin-inline: auto;
|
||||
padding-inline: var(--gutter);
|
||||
}
|
||||
|
||||
.section {
|
||||
padding-block: var(--space-8);
|
||||
}
|
||||
.section[id] {
|
||||
scroll-margin-top: 5rem;
|
||||
.section[id],
|
||||
.hero[id],
|
||||
.site-foot[id] {
|
||||
/* 하단 고정 바가 앵커 도착 지점을 가리지 않게(A12) */
|
||||
scroll-margin-bottom: var(--action-bar-h);
|
||||
}
|
||||
|
||||
/* 가로 정보 라벨. 여백은 글자를 세우지 않고도 충분히 구분된다. */
|
||||
.hero-role,
|
||||
.hero-tags,
|
||||
.visit-mark {
|
||||
font-size: var(--step-label);
|
||||
font-weight: var(--weight-bold);
|
||||
letter-spacing: 0.08em;
|
||||
color: var(--ink-faint);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* ── 링크: 밑줄이 글자를 침범하지 않게 ── */
|
||||
.link {
|
||||
color: var(--accent);
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 1px;
|
||||
text-underline-offset: 0.25em;
|
||||
transition: text-decoration-color 250ms var(--ease-out);
|
||||
}
|
||||
.link:hover {
|
||||
text-decoration-color: transparent;
|
||||
}
|
||||
|
||||
/* ── 버튼: 하나뿐인 주 CTA ── */
|
||||
.btn {
|
||||
display: inline-flex;
|
||||
/* ── 머리: 워드마크 + 행동 하나. 고정하지 않는다(화면 서너 개 길이) ── */
|
||||
.site-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-2);
|
||||
min-height: 3rem;
|
||||
padding: 0 var(--space-5);
|
||||
background: var(--ink);
|
||||
color: var(--paper);
|
||||
font-size: var(--step-body);
|
||||
font-weight: var(--weight-regular);
|
||||
text-decoration: none;
|
||||
border: 1px solid var(--ink);
|
||||
border-radius: 0; /* 이 페이지의 모서리는 전부 각지다. 하나만 둥글면 그게 튄다 */
|
||||
justify-content: space-between;
|
||||
gap: var(--space-4);
|
||||
padding-top: var(--space-4);
|
||||
}
|
||||
.wordmark {
|
||||
font-family: var(--font-display);
|
||||
font-size: 1.25rem;
|
||||
letter-spacing: 0.02em;
|
||||
white-space: nowrap;
|
||||
word-break: keep-all;
|
||||
text-wrap: nowrap;
|
||||
transition:
|
||||
background 250ms var(--ease-out),
|
||||
color 250ms var(--ease-out);
|
||||
}
|
||||
.btn:hover {
|
||||
background: transparent;
|
||||
color: var(--ink);
|
||||
}
|
||||
.btn-quiet {
|
||||
background: transparent;
|
||||
color: var(--ink);
|
||||
border-color: var(--line);
|
||||
white-space: nowrap;
|
||||
word-break: keep-all;
|
||||
text-wrap: nowrap;
|
||||
}
|
||||
.btn-quiet:hover {
|
||||
border-color: var(--ink);
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/* ────────────────────────────────────────────────────────
|
||||
등장 — 페이드와 10px 상승뿐.
|
||||
R1 의 스크롤 이동량이 0px 이었다. 하이엔드는 움직이지 않는다.
|
||||
──────────────────────────────────────────────────────── */
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
.reveal {
|
||||
opacity: 0;
|
||||
transform: translateY(var(--rise));
|
||||
transition:
|
||||
opacity var(--dur-slow) var(--ease-out),
|
||||
transform var(--dur-slow) var(--ease-out);
|
||||
transition-delay: var(--delay, 0ms);
|
||||
/* ── 히어로: 격자가 주인 ─────────────────────────────── */
|
||||
.hero {
|
||||
padding-top: var(--space-6);
|
||||
}
|
||||
.hero-head {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
gap: var(--space-5);
|
||||
padding-bottom: var(--space-4);
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
.hero-h {
|
||||
max-width: 24em;
|
||||
}
|
||||
.hero-facts {
|
||||
display: flex;
|
||||
gap: var(--space-5);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.hero-facts div {
|
||||
display: grid;
|
||||
gap: var(--space-1);
|
||||
}
|
||||
.hero-facts dt {
|
||||
font-size: var(--step-small);
|
||||
color: var(--ink-muted);
|
||||
}
|
||||
.hero-facts dd {
|
||||
font-weight: var(--weight-medium);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.flower-grid {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin-top: var(--space-5);
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: var(--space-6) var(--space-5);
|
||||
}
|
||||
.cell {
|
||||
min-width: 0;
|
||||
}
|
||||
.name {
|
||||
margin-top: var(--space-3);
|
||||
font-size: var(--step-name);
|
||||
transition: color var(--dur) var(--ease-out);
|
||||
}
|
||||
.note {
|
||||
margin-top: var(--space-1);
|
||||
color: var(--ink-muted);
|
||||
}
|
||||
|
||||
/* 아치 창. 원본은 사각으로 두고 마스크로만 자른다(images §2) */
|
||||
.arch {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
border-radius: var(--arch);
|
||||
aspect-ratio: var(--arch-ratio);
|
||||
background: var(--surface-deep);
|
||||
}
|
||||
.arch img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
object-position: 50% 40%;
|
||||
transition: transform calc(var(--dur) * 2) var(--ease-out);
|
||||
}
|
||||
/* 아치 테두리. 크림 바탕 사진은 분홍 위에서 윗선이 사라져 1px 안쪽 선을 둔다 */
|
||||
.arch::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border-radius: inherit;
|
||||
box-shadow: inset 0 0 0 1px var(--arch-ring);
|
||||
pointer-events: none;
|
||||
}
|
||||
/* 넓은 원본(작업대·손질)은 꽃 한 송이가 작다. object-view-box 로 그 송이만 창에 넣는다 —
|
||||
transform 확대는 320px 에서 이미지 박스가 뷰포트를 넘어 감사에 걸렸다(showcase-audit 실측).
|
||||
미지원 엔진은 object-position 크롭으로 떨어진다. 원본 파일은 그대로다 */
|
||||
.arch-dahlia img {
|
||||
object-position: 100% 25%;
|
||||
}
|
||||
.arch-scabiosa img {
|
||||
object-position: 100% 0%;
|
||||
}
|
||||
@supports (object-view-box: inset(0)) {
|
||||
.arch-dahlia img {
|
||||
object-view-box: inset(8% 2% 33.7% 63%);
|
||||
}
|
||||
.reveal.is-in {
|
||||
.arch-scabiosa img {
|
||||
object-view-box: inset(0 0 43.75% 40%);
|
||||
}
|
||||
}
|
||||
.arch-empty {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
}
|
||||
.leaf {
|
||||
width: 28%;
|
||||
height: auto;
|
||||
fill: var(--accent-soft);
|
||||
stroke: var(--accent);
|
||||
stroke-width: 1.5;
|
||||
}
|
||||
|
||||
/* hover: 사진이 아치 안에서 조금 커지고 이름이 녹색으로 ── */
|
||||
@media (hover: hover) {
|
||||
.cell:hover .arch img {
|
||||
transform: scale(1.04);
|
||||
}
|
||||
.cell:hover .name {
|
||||
color: var(--accent);
|
||||
}
|
||||
}
|
||||
|
||||
.hero-foot {
|
||||
margin-top: var(--space-6);
|
||||
max-width: var(--measure);
|
||||
color: var(--ink-muted);
|
||||
}
|
||||
|
||||
/* ── 등장: 첫 화면의 칸이 한 번 순서대로 떠오른다 ────────
|
||||
스크롤 리빌이 아니다 — 페이지 로드에 한 번뿐이고, 감소 모션이면 정지다. */
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
.cell {
|
||||
animation: rise var(--dur-enter) var(--ease-out) both;
|
||||
animation-delay: calc(var(--i, 0) * var(--stagger));
|
||||
}
|
||||
.hero-head {
|
||||
animation: rise var(--dur-enter) var(--ease-out) both;
|
||||
}
|
||||
}
|
||||
@keyframes rise {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(12px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* ════════════════════════════════════════════════════════
|
||||
섹션별 레이아웃
|
||||
════════════════════════════════════════════════════════ */
|
||||
|
||||
/* ── 헤더 ─────────────────────────────────────────────
|
||||
워드마크 좌상단, 내비 우상단. R1 이 이렇게 놓는다.
|
||||
고정하지 않는다 — 에디토리얼에서 떠다니는 바는 읽기를 방해한다. */
|
||||
.site-head {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: var(--space-5);
|
||||
padding-top: var(--space-5);
|
||||
}
|
||||
/* 넓은 화면에서는 두 줄, 좁은 화면에서는 한 줄로 쓴다.
|
||||
<br> 을 display:none 으로 지우면 줄만 붙는 게 아니라 **공백까지 사라져**
|
||||
"목요일의화원" 이 된다. span 두 개로 두고 display 를 바꾼다. */
|
||||
.wordmark span {
|
||||
display: block;
|
||||
}
|
||||
.wordmark {
|
||||
font-family: var(--font-display);
|
||||
font-size: 1.35rem;
|
||||
line-height: 1.25;
|
||||
letter-spacing: 0.06em;
|
||||
text-decoration: none;
|
||||
color: var(--ink);
|
||||
}
|
||||
.nav {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-4);
|
||||
font-size: var(--step-label);
|
||||
font-weight: var(--weight-bold);
|
||||
letter-spacing: var(--track-label);
|
||||
padding-top: 0.4rem;
|
||||
}
|
||||
.nav a {
|
||||
text-decoration: none;
|
||||
color: var(--ink-muted);
|
||||
transition: color 250ms var(--ease-out);
|
||||
}
|
||||
.nav a:hover {
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
/* ── 히어로 ─────────────────────────────────────────── */
|
||||
.hero {
|
||||
padding-block: var(--space-6) var(--space-8);
|
||||
}
|
||||
|
||||
.hero-inner {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
|
||||
gap: var(--space-7);
|
||||
align-items: center;
|
||||
}
|
||||
.hero-inner > *,
|
||||
.two > *,
|
||||
.gallery > *,
|
||||
.visit-inner > * {
|
||||
min-width: 0;
|
||||
}
|
||||
.hero-text {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
gap: var(--space-5);
|
||||
align-items: start;
|
||||
}
|
||||
.hero-body > * + * {
|
||||
margin-top: var(--space-5);
|
||||
}
|
||||
.hero-role {
|
||||
align-self: start;
|
||||
white-space: normal;
|
||||
}
|
||||
.hero-cta {
|
||||
justify-self: start;
|
||||
}
|
||||
|
||||
.hero-photos {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(12, minmax(0, 1fr));
|
||||
gap: var(--space-3) var(--space-4);
|
||||
align-items: start;
|
||||
}
|
||||
.ph {
|
||||
margin: 0;
|
||||
}
|
||||
.ph img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
object-fit: cover;
|
||||
}
|
||||
.ph figcaption {
|
||||
margin-top: var(--space-2);
|
||||
color: var(--ink-muted);
|
||||
font-size: var(--step-label);
|
||||
font-weight: var(--weight-bold);
|
||||
letter-spacing: var(--track-label);
|
||||
}
|
||||
.ph-a {
|
||||
grid-column: 1 / 9;
|
||||
grid-row: 1 / span 2;
|
||||
}
|
||||
.ph-b {
|
||||
grid-column: 9 / -1;
|
||||
grid-row: 1;
|
||||
}
|
||||
.ph-c {
|
||||
grid-column: 9 / -1;
|
||||
grid-row: 2;
|
||||
}
|
||||
.hero-tags {
|
||||
grid-column: 1 / -1;
|
||||
margin-top: var(--space-2);
|
||||
}
|
||||
|
||||
/* ── 섹션 공통 ────────────────────────────────────── */
|
||||
.band {
|
||||
background: var(--paper-deep);
|
||||
}
|
||||
|
||||
/* 이미지와 글의 2단. 같은 스플릿을 세 번 이상 쓰지 않는다 —
|
||||
두 번째는 좌우를 뒤집어 리듬을 준다 */
|
||||
/* ── 목요일: 글 + 아치 작업실 ─────────────────────────── */
|
||||
.two {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
|
||||
grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
|
||||
gap: var(--space-7);
|
||||
align-items: start;
|
||||
}
|
||||
.two-reverse .two-text {
|
||||
order: 2;
|
||||
}
|
||||
.two-text > * + * {
|
||||
margin-top: var(--space-4);
|
||||
.two-text > p + p {
|
||||
margin-top: var(--space-3);
|
||||
}
|
||||
.two-text p {
|
||||
max-width: var(--measure);
|
||||
|
|
@ -371,233 +364,218 @@ h3 + * {
|
|||
}
|
||||
.two-photo img {
|
||||
width: 100%;
|
||||
aspect-ratio: 3 / 4;
|
||||
aspect-ratio: var(--arch-ratio);
|
||||
object-fit: cover;
|
||||
object-position: 18% 50%;
|
||||
border-radius: var(--arch);
|
||||
background: var(--surface-deep);
|
||||
}
|
||||
.two-photo figcaption {
|
||||
margin-top: var(--space-3);
|
||||
font-size: var(--step-small);
|
||||
color: var(--ink-muted);
|
||||
}
|
||||
|
||||
/* 숫자와 사실. 표가 아니라 조판으로 둔다 */
|
||||
.facts {
|
||||
margin-top: var(--space-6);
|
||||
margin-top: var(--space-5);
|
||||
display: grid;
|
||||
gap: var(--space-3);
|
||||
gap: var(--space-2);
|
||||
max-width: var(--measure);
|
||||
}
|
||||
.facts > div {
|
||||
display: grid;
|
||||
grid-template-columns: 7.5rem 1fr;
|
||||
grid-template-columns: 8rem 1fr;
|
||||
gap: var(--space-3);
|
||||
padding-top: var(--space-3);
|
||||
padding-top: var(--space-2);
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
.facts dt {
|
||||
font-size: var(--step-label);
|
||||
font-weight: var(--weight-bold);
|
||||
letter-spacing: var(--track-label);
|
||||
font-size: var(--step-small);
|
||||
color: var(--ink-muted);
|
||||
padding-top: 0.35rem;
|
||||
padding-top: 0.2rem;
|
||||
}
|
||||
.facts dd {
|
||||
margin: 0;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
/* ── 작업 갤러리 ────────────────────────────────────── */
|
||||
.gallery {
|
||||
margin-top: var(--space-7);
|
||||
/* ── 구독: 한 단 어두운 분홍 띠 ─────────────────────── */
|
||||
.band {
|
||||
background: var(--surface-deep);
|
||||
}
|
||||
.sub-inner {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(12, 1fr);
|
||||
gap: var(--space-5) var(--space-4);
|
||||
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
||||
gap: var(--space-6);
|
||||
align-items: start;
|
||||
}
|
||||
.g {
|
||||
margin: 0;
|
||||
.sub-inner h2 {
|
||||
max-width: 14em;
|
||||
}
|
||||
.g img {
|
||||
width: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
.g figcaption {
|
||||
margin-top: var(--space-3);
|
||||
font-size: var(--step-label);
|
||||
font-weight: var(--weight-bold);
|
||||
letter-spacing: var(--track-label);
|
||||
color: var(--ink-muted);
|
||||
}
|
||||
.g-1 {
|
||||
grid-column: 1 / 8;
|
||||
}
|
||||
.g-1 img {
|
||||
aspect-ratio: 16 / 9;
|
||||
}
|
||||
.g-2 {
|
||||
grid-column: 8 / 13;
|
||||
.sub-text {
|
||||
margin-top: 0;
|
||||
}
|
||||
.g-2 img {
|
||||
aspect-ratio: 3 / 4;
|
||||
.sub-text p + p,
|
||||
.sub-text p + .link {
|
||||
margin-top: var(--space-3);
|
||||
}
|
||||
.g-3 {
|
||||
grid-column: 8 / 13;
|
||||
margin-top: var(--space-2);
|
||||
}
|
||||
.g-3 img {
|
||||
aspect-ratio: 4 / 3;
|
||||
.sub-text .link {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.work-note {
|
||||
margin-top: var(--space-6);
|
||||
max-width: var(--measure);
|
||||
}
|
||||
|
||||
/* ── 문의 ─────────────────────────────────────────── */
|
||||
.contact-inner {
|
||||
max-width: 46rem;
|
||||
/* ── 예약·문의 ──────────────────────────────────────── */
|
||||
.contact h2 {
|
||||
max-width: 22em;
|
||||
}
|
||||
.contact-list {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin-top: var(--space-6);
|
||||
margin-top: var(--space-5);
|
||||
display: grid;
|
||||
gap: var(--space-3);
|
||||
gap: var(--space-2);
|
||||
max-width: var(--measure);
|
||||
}
|
||||
.contact-list li {
|
||||
display: grid;
|
||||
grid-template-columns: 7rem 1fr;
|
||||
grid-template-columns: 8rem 1fr;
|
||||
gap: var(--space-3);
|
||||
align-items: baseline;
|
||||
padding-top: var(--space-3);
|
||||
padding-top: var(--space-2);
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
|
||||
/* ── 찾아오기 (푸터를 대신한다) ───────────────────── */
|
||||
.visit {
|
||||
padding-bottom: var(--space-7);
|
||||
/* ── 푸터: 연락처·영업시간 카드 ────────────────────── */
|
||||
.site-foot {
|
||||
padding-block: var(--space-6) var(--space-7);
|
||||
}
|
||||
.visit-inner {
|
||||
.foot-card {
|
||||
background: var(--surface-card);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius);
|
||||
padding: var(--space-5);
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr) auto;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
||||
gap: var(--space-6);
|
||||
align-items: end;
|
||||
}
|
||||
.visit-address {
|
||||
margin-top: var(--space-4);
|
||||
font-style: normal;
|
||||
.foot-h {
|
||||
font-size: var(--step-name);
|
||||
}
|
||||
.foot-address {
|
||||
color: var(--ink-muted);
|
||||
}
|
||||
.visit-note {
|
||||
max-width: 24ch;
|
||||
.foot-hours {
|
||||
display: grid;
|
||||
gap: var(--space-2);
|
||||
align-content: start;
|
||||
}
|
||||
.visit-mark {
|
||||
/* 장식이라도 실제 문장이므로 배경선 색을 그대로 쓰지 않는다. */
|
||||
.foot-hours > div {
|
||||
display: grid;
|
||||
grid-template-columns: 9rem 1fr;
|
||||
gap: var(--space-3);
|
||||
padding-top: var(--space-2);
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
.foot-hours dt {
|
||||
font-size: var(--step-small);
|
||||
color: var(--ink-muted);
|
||||
padding-top: 0.2rem;
|
||||
}
|
||||
.foot-hours dd {
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.foot-mark {
|
||||
margin-top: var(--space-5);
|
||||
font-family: var(--font-display);
|
||||
font-size: 1rem;
|
||||
letter-spacing: 0.2em;
|
||||
font-size: var(--step-small);
|
||||
color: var(--ink-muted);
|
||||
}
|
||||
|
||||
/* ── 모바일 하단 고정 행동 바 — 768px 이하에서만 ────── */
|
||||
.action-bar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* ════════════════════════════════════════════════════════
|
||||
좁은 화면 — 흩뿌림은 넓은 화면의 사치다.
|
||||
320px 에서 정렬선 여섯 개를 유지하면 그냥 부서진 페이지가 된다.
|
||||
좁은 화면
|
||||
════════════════════════════════════════════════════════ */
|
||||
@media (max-width: 900px) {
|
||||
/* 히어로를 한 칸으로 내린다. 흩뿌림은 넓은 화면의 사치다 —
|
||||
390px 에서 정렬선 셋을 유지하면 사진이 서로를 가린다. */
|
||||
.hero-inner {
|
||||
grid-template-columns: 1fr;
|
||||
gap: var(--space-6);
|
||||
}
|
||||
/* 여기가 실제 사고 지점이었다. .hero-text 가 `auto 1fr` 2칸인데
|
||||
정보 라벨이 긴 문장을 차지하자 auto 칸을 통째로 먹어
|
||||
h1 칸이 짜부라졌다 — 390px 에서 헤드라인이 6줄, 320px 에서 11줄이 됐다. */
|
||||
.hero-text {
|
||||
grid-template-columns: 1fr;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
.hero-role {
|
||||
max-width: 100%;
|
||||
}
|
||||
/* 히어로의 텍스트 요소는 넷을 넘지 않는다(카운트 규칙) */
|
||||
.hero-tags {
|
||||
display: none;
|
||||
}
|
||||
.hero-photos {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
.ph-a,
|
||||
.ph-b,
|
||||
.ph-c,
|
||||
.hero-tags {
|
||||
grid-column: auto;
|
||||
grid-row: auto;
|
||||
}
|
||||
.ph-a {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
.visit-mark {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
@media (max-width: 1023px) {
|
||||
.two,
|
||||
.visit-inner {
|
||||
.sub-inner,
|
||||
.foot-card {
|
||||
grid-template-columns: 1fr;
|
||||
gap: var(--space-6);
|
||||
gap: var(--space-5);
|
||||
}
|
||||
.two-reverse .two-text {
|
||||
order: 0;
|
||||
}
|
||||
|
||||
.gallery {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.g-1,
|
||||
.g-2,
|
||||
.g-3 {
|
||||
grid-column: 1;
|
||||
margin-top: 0;
|
||||
.two-photo {
|
||||
max-width: 28rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 560px) {
|
||||
.facts > div,
|
||||
.contact-list li {
|
||||
grid-template-columns: 1fr;
|
||||
gap: var(--space-1);
|
||||
@media (max-width: 767px) {
|
||||
html {
|
||||
/* 앵커 도착·포커스 스크롤이 고정 바 아래로 들어가지 않게(A12) */
|
||||
scroll-padding-bottom: calc(var(--action-bar-h) + var(--safe-bottom));
|
||||
}
|
||||
/* 워드마크와 내비를 한 줄에 나란히 두면 320px 에서 둘 다 접힌다.
|
||||
실측: 내비 링크가 두 줄(top 46/77)에 걸리고 워드마크는 3줄이 됐다.
|
||||
좁은 화면에서는 위아래로 쌓는다 — 접히는 것보다 쌓는 것이 낫다. */
|
||||
.site-head {
|
||||
body {
|
||||
/* 하단 바가 마지막 내용을 가리지 않게 */
|
||||
padding-bottom: calc(var(--action-bar-h) + var(--safe-bottom));
|
||||
}
|
||||
.head-cta {
|
||||
display: none; /* 행동은 하단 바로 내려간다 */
|
||||
}
|
||||
.hero {
|
||||
padding-top: var(--space-5);
|
||||
}
|
||||
.hero-head {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
align-items: flex-start;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
.wordmark {
|
||||
font-size: 1.15rem;
|
||||
}
|
||||
/* 세로로 쌓았으니 폭에 여유가 있다. 워드마크를 한 줄로 편다 */
|
||||
.wordmark span {
|
||||
display: inline;
|
||||
}
|
||||
.nav {
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
gap: var(--space-2);
|
||||
letter-spacing: 0.04em;
|
||||
padding-top: 0;
|
||||
}
|
||||
/* 버튼 라벨이 2줄로 접히면 하드 게이트 6 위반이다.
|
||||
좌우 패딩을 줄이고 줄바꿈을 막는다. */
|
||||
.btn {
|
||||
padding-inline: var(--space-4);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.hero-photos {
|
||||
grid-template-columns: 1fr;
|
||||
.hero-facts {
|
||||
gap: var(--space-4);
|
||||
}
|
||||
.ph-a,
|
||||
.ph-b,
|
||||
.ph-c,
|
||||
.hero-tags { grid-column: 1; }
|
||||
/* 2열. 첫 화면에 두 점 이상 보이게 한다(layout §2-b) */
|
||||
.flower-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: var(--space-5) var(--space-3);
|
||||
margin-top: var(--space-4);
|
||||
}
|
||||
.name {
|
||||
margin-top: var(--space-2);
|
||||
}
|
||||
.facts > div,
|
||||
.contact-list li,
|
||||
.foot-hours > div {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 0;
|
||||
}
|
||||
.foot-card {
|
||||
padding: var(--space-4);
|
||||
}
|
||||
|
||||
.action-bar {
|
||||
position: fixed;
|
||||
inset-inline: 0;
|
||||
bottom: 0;
|
||||
z-index: 50;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto;
|
||||
gap: var(--space-2);
|
||||
padding: var(--space-2) var(--space-3);
|
||||
padding-bottom: max(var(--space-2), var(--safe-bottom));
|
||||
background: var(--surface);
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
.btn-bar {
|
||||
min-height: 3.25rem;
|
||||
}
|
||||
.btn-bar-phone {
|
||||
min-height: 3.25rem;
|
||||
min-width: 4.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* ── 초광폭: 격자는 컨테이너 안에서만 넓어진다(layout §4-d) ── */
|
||||
@media (min-width: 1600px) {
|
||||
.flower-grid {
|
||||
gap: var(--space-7) var(--space-6);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue