/* Hallmark · shape: custom (사진 덮개 히어로 → 작업 카드 → 전·후 비교 → 사진 타일 → 남색 지역 띠 → 파랑 전화 띠) · genre: editorial · theme: custom (by request: "디자인 신경 쓴 티", 1판 Almanac 회색 상자 → 버림) · job: hire (전화·사진 문자) · draw: custom
 * hero: Full-bleed photo with navy shade · nav: edge-aligned, wordmark + phone · footer: statement · imagery: photographs (사장님 작업 사진 59장) · signature: 같은 현장 전→후 사진을 나란히(바닥 광택·폐기물, 검수 뒤 슬라이더에서 바꿈)
 * axes: light/grotesk-sans/brand-blue + safety-yellow · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E5 S4 R4 V4 · weakest: S(글꼴 한 벌), 굵기 차이(900/700/400)로 위계 */
/* waive 83: 손님 작업 사진이 곧 증거(대표님·손님 요청 "작업 사진으로"), 사진 비중을 일부러 높임 */
/* waive 77: 지역·전화 띠는 한 가지 일(지역 확인·전화)만 하는 띠라 폭을 좁게 둠 */
/* tokens: live-tuner 7개(--c-text·--c-bg·--c-primary·--c-secondary·--c-accent·--font-head·--font-body)에서만 색·글꼴을 꺼냄 → '색·글꼴 바꿔 보기' 판으로 전체가 같이 바뀜 */
:root {
  --c-text: #14213a; --c-bg: #f5f7fb; --c-primary: #2d559e; --c-secondary: #0f2240; --c-accent: #ffc83d;
  --font-head: "Pretendard Variable", "Pretendard", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Pretendard Variable", "Pretendard", ui-sans-serif, system-ui, sans-serif;
  --c-line: color-mix(in oklab, var(--c-primary) 16%, var(--c-bg));
  --c-muted: color-mix(in oklab, var(--c-text) 64%, var(--c-bg));
  --c-tint: color-mix(in oklab, var(--c-primary) 7%, var(--c-bg));
  --c-card: color-mix(in oklab, white 70%, var(--c-bg));
  --c-primary-dark: color-mix(in oklab, var(--c-primary) 80%, black);
  --c-on-dark: color-mix(in oklab, white 94%, var(--c-secondary));
  --c-on-dark-2: color-mix(in oklab, white 72%, var(--c-secondary));
  --c-accent-ink: color-mix(in oklab, var(--c-secondary) 92%, black);
  --c-focus: var(--c-primary);
  --radius: 18px; --radius-sm: 10px;
  --shadow: 0 1px 2px color-mix(in oklab, var(--c-secondary) 10%, transparent), 0 12px 32px -12px color-mix(in oklab, var(--c-secondary) 28%, transparent);
  --wrap: 1240px; --gutter: 40px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --t-sm: 0.875rem; --t-md: 1.0625rem; --t-lg: 1.25rem; --t-xl: 1.5rem; --t-2xl: 2rem;
  --t-h2: clamp(1.9rem, 2.4vw + 1rem, 3rem); --t-h1: clamp(2.6rem, 5.2vw + 0.6rem, 5.4rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1); --dur: 180ms;
}
@media (max-width: 52rem) { :root { --gutter: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font-family: var(--font-body); font-size: var(--t-md); line-height: 1.6; -webkit-font-smoothing: antialiased; padding-bottom: 72px; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; line-height: 1.15; overflow-wrap: break-word; min-width: 0; word-break: keep-all; text-wrap: balance; }
p { margin: 0; word-break: keep-all; text-wrap: pretty; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.hero, .area, .ask, .foot { --c-focus: var(--c-accent); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s5); border-radius: 999px; border: 2px solid transparent; font: 700 var(--t-md)/1 var(--font-head); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 42px; padding: 0 var(--s4); font-size: var(--t-sm); }
.btn--lg { min-height: 52px; padding: 0 var(--s6); font-size: var(--t-lg); }
.btn--primary { background: var(--c-primary); color: white; }
.btn--primary:hover { background: var(--c-primary-dark); }
.btn--accent { background: var(--c-accent); color: var(--c-accent-ink); }
.btn--accent:hover { background: color-mix(in oklab, var(--c-accent) 85%, white); }
.btn--ghost { border-color: color-mix(in oklab, white 70%, transparent); color: white; background: color-mix(in oklab, white 6%, transparent); }
.btn--ghost:hover { background: color-mix(in oklab, white 16%, transparent); border-color: white; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* top */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in oklab, var(--c-bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-line); }
.top__in { display: flex; align-items: center; gap: var(--s5); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: var(--s2); text-decoration: none; font: 900 var(--t-xl)/1 var(--font-head); color: var(--c-primary); letter-spacing: -0.02em; }
.brand img { width: 40px; height: 40px; }
.top__nav { display: flex; gap: var(--s5); margin-left: auto; font-weight: 700; font-size: var(--t-sm); }
.top__nav a { text-decoration: none; color: var(--c-text); padding: var(--s2) 0; border-bottom: 2px solid transparent; transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.top__nav a:hover { color: var(--c-primary); border-color: var(--c-primary); }
@media (max-width: 44rem) { .top__nav { display: none; } .top__in .btn { margin-left: auto; } }

/* hero */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: flex-end; color: white; isolation: isolate; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -2; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in oklab, var(--c-secondary) 92%, transparent) 0%, color-mix(in oklab, var(--c-secondary) 72%, transparent) 42%, color-mix(in oklab, var(--c-secondary) 10%, transparent) 78%), linear-gradient(0deg, color-mix(in oklab, var(--c-secondary) 70%, transparent) 0%, transparent 45%); }
.hero__in { padding-block: var(--s9) var(--s8); }
.hero h1 { font-size: var(--t-h1); font-weight: 900; letter-spacing: -0.035em; line-height: 1.06; max-width: 12ch; color: white; }
.hero h1 span { display: block; color: var(--c-accent); }
.hero__lead { margin-top: var(--s5); font-size: var(--t-lg); color: var(--c-on-dark); max-width: 30ch; }
.hero .actions { margin-top: var(--s6); }
.hero__chips { list-style: none; margin: var(--s7) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.hero__chips li { padding: var(--s2) var(--s4); border-radius: 999px; background: color-mix(in oklab, white 12%, transparent); border: 1px solid color-mix(in oklab, white 28%, transparent); font-size: var(--t-sm); font-weight: 700; color: var(--c-on-dark); }
@media (max-width: 52rem) { .hero { min-height: 640px; } .hero__bg { object-position: 70% 30%; } .hero__shade { background: linear-gradient(0deg, color-mix(in oklab, var(--c-secondary) 94%, transparent) 0%, color-mix(in oklab, var(--c-secondary) 78%, transparent) 55%, color-mix(in oklab, var(--c-secondary) 30%, transparent) 100%); } .hero__in { padding-block: var(--s9) var(--s7); } }

/* sections */
.section { padding-block: var(--s10); }
.section--tint { background: var(--c-tint); }
.head { display: flex; align-items: end; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; margin-bottom: var(--s7); }
.head h2 { font-size: var(--t-h2); font-weight: 900; letter-spacing: -0.03em; color: var(--c-secondary); }
.head p { color: var(--c-muted); }
@media (max-width: 52rem) { .section { padding-block: var(--s9); } }

/* jobs */
.jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); }
.job { background: var(--c-card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.job__big { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.job__big img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.job:hover .job__big img { transform: scale(1.04); }
.job__no { position: absolute; left: var(--s4); top: var(--s4); min-width: 52px; height: 52px; padding: 0 var(--s3); display: grid; place-items: center; border-radius: 14px; background: var(--c-accent); color: var(--c-accent-ink); font: 900 var(--t-xl)/1 var(--font-head); }
.job__body { padding: var(--s5) var(--s5) var(--s6); display: flex; flex-direction: column; gap: var(--s3); flex: 1; }
.job__body h3 { font-size: var(--t-2xl); font-weight: 900; letter-spacing: -0.02em; color: var(--c-secondary); }
.job__body p { color: var(--c-muted); }
.job__small { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); margin-top: auto; padding-top: var(--s3); }
.job__small img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
@media (max-width: 52rem) { .jobs { grid-template-columns: minmax(0, 1fr); } }

/* compare — signature: 같은 현장 전→후 */
.compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); }
.pair { margin: 0; background: var(--c-card); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s3); }
.pair__imgs { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
.pair__one { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-sm); overflow: hidden; }
.pair__one img { width: 100%; height: 100%; object-fit: cover; }
.pair__tag { position: absolute; left: var(--s3); top: var(--s3); padding: var(--s1) var(--s3); border-radius: 999px; font: 900 var(--t-sm)/1.4 var(--font-head); }
.pair__tag--b { background: var(--c-secondary); color: white; }
.pair__tag--a { background: var(--c-accent); color: var(--c-accent-ink); }
.pair__arrow { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; translate: -50% -50%; border-radius: 50%; background: var(--c-primary); box-shadow: 0 0 0 4px var(--c-card); }
.pair__arrow::after { content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; border-top: 3px solid white; border-right: 3px solid white; rotate: 45deg; translate: -2px 0; }
.pair figcaption { padding: var(--s3) var(--s2) var(--s1); font: 900 var(--t-lg)/1.3 var(--font-head); color: var(--c-secondary); }
@media (max-width: 52rem) { .compare-grid { grid-template-columns: minmax(0, 1fr); } }

/* tiles */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; isolation: isolate; box-shadow: var(--shadow); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 600ms var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, color-mix(in oklab, var(--c-secondary) 92%, transparent) 0%, color-mix(in oklab, var(--c-secondary) 35%, transparent) 45%, transparent 70%); }
.tile__txt { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s5); color: white; }
.tile__txt h3 { font-size: var(--t-xl); font-weight: 900; }
.tile__txt p { margin-top: var(--s2); font-size: var(--t-sm); color: var(--c-on-dark); }
@media (max-width: 60rem) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .tiles { grid-template-columns: minmax(0, 1fr); } .tile { aspect-ratio: 4 / 3; } }

/* area */
.area { background: var(--c-secondary); color: var(--c-on-dark); padding-block: var(--s10); }
.area__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s8); align-items: start; }
.area h2 { font-size: var(--t-h2); font-weight: 900; color: white; letter-spacing: -0.03em; }
.area__head p { margin-top: var(--s4); color: var(--c-on-dark-2); }
.area__cols { display: grid; gap: var(--s6); }
.area__cols h3 { font-size: var(--t-xl); color: var(--c-accent); margin-bottom: var(--s3); }
.area__cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.area__cols li { padding: var(--s2) var(--s4); border-radius: 999px; border: 1px solid color-mix(in oklab, white 22%, transparent); background: color-mix(in oklab, white 6%, transparent); font-weight: 700; }
@media (max-width: 52rem) { .area__in { grid-template-columns: minmax(0, 1fr); gap: var(--s6); } .area { padding-block: var(--s9); } }

/* ask */
.ask { background: var(--c-primary); color: white; padding-block: var(--s10); }
.ask__in { text-align: left; }
.ask h2 { font-size: var(--t-h2); font-weight: 900; letter-spacing: -0.03em; }
.ask p { margin-top: var(--s4); font-size: var(--t-lg); color: var(--c-on-dark); max-width: 36ch; }
.ask__phone { display: inline-block; margin-top: var(--s6); font: 900 clamp(2rem, 7.4vw, 5rem)/1 var(--font-head); letter-spacing: -0.03em; color: var(--c-accent); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ask__phone:hover { color: white; }
.ask .actions { margin-top: var(--s6); }

/* footer */
.foot { background: var(--c-secondary); color: var(--c-on-dark-2); padding-block: var(--s8); }
.foot__in { display: grid; gap: var(--s4); }
.brand--foot { color: white; }
.foot__info { font-size: var(--t-sm); display: grid; gap: var(--s1); }
.foot__info a { color: white; }
.foot__made { font-size: 0.8125rem; color: color-mix(in oklab, white 50%, var(--c-secondary)); }

/* mobile call bar */
.callbar { position: fixed; inset: auto 0 0 0; z-index: 40; display: flex; gap: var(--s2); padding: var(--s2) var(--s3) calc(var(--s2) + env(safe-area-inset-bottom)); background: color-mix(in oklab, var(--c-bg) 94%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--c-line); }
.callbar a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 999px; font: 900 var(--t-md)/1 var(--font-head); text-decoration: none; }
.callbar__call { flex: 2 !important; background: var(--c-primary); color: white; }
.callbar__call:hover { background: var(--c-primary-dark); }
.callbar__sms { background: var(--c-card); color: var(--c-text); border: 1px solid var(--c-line); }
.callbar__sms:hover { background: var(--c-tint); }
@media (min-width: 64rem) { .callbar { display: none; } body { padding-bottom: 0; } }

/* links on cards */
.job__link { text-decoration: none; color: inherit; }
.job__link:hover { color: var(--c-primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.tile__link { position: absolute; inset: 0; display: block; color: inherit; text-decoration: none; border-radius: var(--radius); }
.head p a { color: var(--c-primary); font-weight: 700; }

/* sub pages */
.crumbs { display: flex; flex-wrap: wrap; gap: var(--s2); padding-top: var(--s5); font-size: var(--t-sm); color: var(--c-muted); }
.crumbs a { color: var(--c-muted); }
.crumbs a:hover { color: var(--c-primary); }
.section--top { padding-top: var(--s7); }
.page-h1 { font-size: var(--t-h2); font-weight: 900; letter-spacing: -0.03em; color: var(--c-secondary); }
.svc-hero { padding-block: var(--s6) var(--s8); }
.svc-hero__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--s7); align-items: center; }
.svc-hero__lead { margin-top: var(--s4); font-size: var(--t-lg); color: var(--c-muted); max-width: 34ch; }
.svc-hero .actions { margin-top: var(--s6); }
.svc-hero__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.btn--line { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn--line:hover { background: var(--c-tint); }
.svc-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); }
.svc-box { background: var(--c-card); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s6); }
.svc-box h2 { font-size: var(--t-xl); font-weight: 900; color: var(--c-secondary); margin-bottom: var(--s4); }
.checks, .steps { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s3); }
.checks li { position: relative; padding-left: var(--s6); }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: 50%; background: var(--c-accent); }
.steps { counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding-left: var(--s7); min-height: 32px; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--c-primary); color: white; font: 900 var(--t-sm)/1 var(--font-head); }
.gallery { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: var(--s3); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.chips a { display: inline-block; padding: var(--s2) var(--s4); border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-card); text-decoration: none; font-weight: 700; color: var(--c-text); }
.chips a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.posts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.posts a { display: grid; gap: var(--s1); padding: var(--s5); background: var(--c-card); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--c-text); }
.posts a:hover .posts__title { color: var(--c-primary); }
.posts__date { font-size: var(--t-sm); color: var(--c-muted); font-variant-numeric: tabular-nums; }
.posts__title { font: 900 var(--t-xl)/1.3 var(--font-head); color: var(--c-secondary); }
.posts__desc { color: var(--c-muted); }
.post { max-width: 760px; }
.post__date { color: var(--c-muted); font-size: var(--t-sm); margin-bottom: var(--s2); }
.post__cta { margin-top: var(--s5); }
.post__img { margin: var(--s6) 0; }
.post__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.post__body h2 { font-size: var(--t-2xl); font-weight: 900; color: var(--c-secondary); margin: var(--s7) 0 var(--s3); }
.post__body p, .post__body ul, .post__body ol { margin: 0 0 var(--s4); }
.post__body li { margin-bottom: var(--s2); }
.post__more a { font-weight: 700; color: var(--c-primary); }
@media (max-width: 52rem) { .svc-hero__in, .svc-cols { grid-template-columns: minmax(0, 1fr); } .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } .job:hover .job__big img, .tile:hover img { transform: none; } }
