[hidden]{display:none!important}
/* Layout: 카페에서 시작한 이야기를 따라 내려가는 한 편의 매거진. 생산 라인처럼 흐르는 제품 띠, 실제 현장 사진, 큰 숫자와 목소리 */
:root {
  --bg: #ffffff;
  --paper: #f6f5f2;
  --ink: #111110;
  --muted: #6c6b67;
  --line: #e4e3df;
  --accent: #1e4a39;
  --accent-2: #2f6b52;
  --accent-soft: #eef3ef;
  --cocoa: var(--accent);
  --kakao: #fee500;
  --kr: "Gothic A1", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --en: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.label { font-family: var(--en); font-size: 13px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.label::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.giant { font-family: var(--en); font-weight: 200; letter-spacing: -0.045em; line-height: .92; }
h2.sec { font-family: var(--kr); font-weight: 800; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.28; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--cocoa); outline-offset: 3px; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 17px 28px; font-family: var(--kr); font-size: 16px; font-weight: 700; text-decoration: none; border-radius: 999px; border: 1px solid var(--ink); transition: background .25s, color .25s, gap .25s; }
.btn .arr { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover .arr, .btn:focus-visible .arr { transform: translateX(4px); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover, .btn.dark:focus-visible { background: var(--cocoa); border-color: var(--cocoa); }
.btn.line { background: transparent; color: var(--ink); }
.btn.line:hover, .btn.line:focus-visible { background: var(--ink); color: #fff; }
.btn.kakao { background: var(--kakao); border-color: var(--kakao); color: #191600; }
.textlink { font-family: var(--kr); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.textlink .arr { width: 16px; height: 16px; transition: transform .25s; }
.textlink:hover .arr { transform: translateX(4px); }

/* 헤더 */
header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(14px); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 31; background: #fff; }
.nav { display: flex; align-items: center; gap: 32px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 18px; height: auto; }
.brand b { font-family: var(--kr); font-weight: 900; font-size: 14px; letter-spacing: 0.24em; }
.menu { display: flex; gap: 30px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.menu a { text-decoration: none; font-size: 15px; font-weight: 500; position: relative; }
.menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: currentColor; transition: right .25s; }
.menu a:hover::after { right: 0; }
.lang { display: flex; gap: 4px; font-family: var(--en); font-size: 13px; }
.lang button { background: none; border: 0; color: var(--muted); padding: 4px 6px; cursor: pointer; font: inherit; }
.lang button[aria-pressed="true"] { color: var(--ink); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; text-decoration: none; font-family: var(--kr); font-size: 14px; font-weight: 700; padding: 11px 20px; border-radius: 999px; }
.nav-cta .arr { width: 14px; height: 14px; }

/* 히어로 */
.hero { padding-block: 64px 0; }
.hero-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: end; }
.hero h1 { font-family: var(--kr); font-weight: 900; font-size: clamp(46px, 6.6vw, 96px); line-height: 1.08; letter-spacing: -0.055em; margin: 0; }
.hero h1 span { color: var(--cocoa); }
.hero-side { min-width: 0; padding-bottom: 10px; }
.hero-side .giant { font-size: clamp(54px, 7vw, 104px); margin: 0 0 28px; color: var(--ink); }
.hero-side .giant svg { display: inline-block; width: .32em; height: auto; vertical-align: baseline; margin-left: .08em; color: var(--ink); }
.hero-side p { color: var(--muted); font-size: 17px; margin: 0 0 30px; max-width: 26em; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* 생산 라인 띠 */
.belt { margin-top: 72px; overflow: hidden; padding-block: 0 8px; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.belt ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; width: max-content; animation: run 70s linear infinite; }
.belt:hover ul { animation-play-state: paused; }
.belt li { width: 250px; flex: none; }
.belt img { width: 250px; height: 320px; object-fit: cover; border-radius: 6px; background: var(--paper); transition: transform .5s; }
.belt li:hover img { transform: scale(1.03); }
.belt span { display: flex; gap: 10px; align-items: baseline; margin-top: 12px; font-family: var(--kr); font-weight: 700; font-size: 15px; }
.belt i { font-style: normal; font-family: var(--en); font-weight: 400; font-size: 12px; letter-spacing: 0.1em; color: var(--muted); }
@keyframes run { to { transform: translateX(-50%); } }
.belt-note { display: flex; justify-content: space-between; gap: 16px; padding-block: 18px 0; border-top: 1px solid var(--line); margin-top: 28px; font-size: 13px; color: var(--muted); font-family: var(--en); letter-spacing: 0.08em; }

/* 이야기 */
.story { padding-block: 140px 120px; }
.story-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; }
.story-photos { position: relative; min-width: 0; }
.story-photos .a { width: 78%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.story-photos .b { position: absolute; right: 0; bottom: -48px; width: 42%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 6px; border: 8px solid #fff; transform: rotate(3deg); }
.story-copy { min-width: 0; }
.statement { font-family: var(--kr); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.62; letter-spacing: -0.03em; margin: 0; color: #9c9b96; }
.statement b { color: var(--ink); font-weight: 800; }
.statement em { font-style: normal; color: var(--ink); background: linear-gradient(transparent 62%, #f1e4d6 62%); }
.sign { margin-top: 40px; display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 14px; }
.sign svg { width: 16px; height: auto; color: var(--ink); }

/* 연혁 */
.timeline { background: var(--paper); padding-block: 110px 100px; }
.tl-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.tl-head p { margin: 0; color: var(--muted); max-width: 28em; }
.tl-scroll { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; }
.tl { list-style: none; margin: 0; padding: 0 max(24px, calc((100vw - 1240px) / 2 + 24px)); display: flex; gap: 18px; width: max-content; }
.tl li { scroll-snap-align: start; width: 300px; flex: none; background: #fff; border-radius: 8px; padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.tl li.photo { padding: 0; overflow: hidden; }
.tl li.photo img { width: 100%; height: 190px; object-fit: cover; }
.tl li.photo .in { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.tl .yr { font-family: var(--en); font-weight: 200; font-size: 54px; line-height: 1; letter-spacing: -0.04em; }
.tl h3 { font-family: var(--kr); font-weight: 800; font-size: 18px; margin: 0; line-height: 1.45; }
.tl p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.tl li.now { background: var(--ink); color: #fff; }
.tl li.now p { color: #bdbcb7; }
.tl-hint { font-size: 13px; color: var(--muted); margin-top: 8px; font-family: var(--en); letter-spacing: 0.08em; }

/* 숫자 */
.proof { padding-block: 120px; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.proof-grid div { padding: 30px 28px 0 0; min-width: 0; }
.proof-grid div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.proof-grid b { display: block; font-family: var(--en); font-weight: 200; font-size: clamp(44px, 5vw, 72px); letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.proof-grid b small { font-family: var(--kr); font-weight: 700; font-size: .3em; letter-spacing: -0.02em; margin-left: 4px; }
.proof-grid p { margin: 16px 0 0; font-size: 15px; color: var(--muted); }
.proof-grid strong { display: block; color: var(--ink); font-family: var(--kr); font-weight: 700; margin-bottom: 2px; }

/* 갤러리 */
.work { padding-block: 0 130px; }
.work-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.gallery { columns: 4 240px; column-gap: 14px; }
.gallery figure { break-inside: avoid; margin: 0 0 14px; position: relative; overflow: hidden; border-radius: 6px; background: var(--paper); }
.gallery img { width: 100%; height: auto; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.94); padding: 6px 12px; border-radius: 999px; font-family: var(--kr); font-weight: 700; font-size: 13px; }

/* 역량 탭 */
.cap { background: var(--paper); padding-block: 120px; }
.cap-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 48px; }
.cap-head p { margin: 0; color: var(--muted); max-width: 30em; justify-self: end; }
.cap-body { display: grid; grid-template-columns: 300px 1fr; gap: 40px; }
.tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.tabs button { display: flex; align-items: baseline; gap: 14px; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 18px 4px; text-align: left; font-family: var(--kr); font-size: 20px; font-weight: 700; color: #a3a29d; cursor: pointer; transition: color .2s, padding .2s; }
.tabs button span { font-family: var(--en); font-weight: 300; font-size: 13px; }
.tabs button small { margin-left: auto; font-family: var(--en); font-weight: 400; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); padding-left: 14px; box-shadow: inset 3px 0 0 var(--cocoa); }
.panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: #fff; border-radius: 8px; overflow: hidden; min-height: 460px; }
.panel img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.panel-copy { padding: 40px 36px; display: flex; flex-direction: column; min-width: 0; }
.panel-copy h3 { font-family: var(--kr); font-weight: 900; font-size: 34px; letter-spacing: -0.04em; margin: 0; }
.panel-copy .items { margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.panel-copy ul { list-style: none; margin: auto 0 0; padding: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.panel-copy li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; display: flex; gap: 12px; }
.panel-copy li::before { content: "—"; color: var(--cocoa); }
.cap-foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 28px; font-size: 13.5px; color: var(--muted); }
.cap-foot b { color: var(--ink); font-weight: 600; }

/* 과정 */
.process { padding-block: 130px; }
.flow { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.flow::before { content: ""; position: absolute; left: 30px; right: 30px; top: 30px; height: 1px; background: var(--line); }
.flow li { position: relative; min-width: 0; padding-right: 22px; }
.flow .dot { position: relative; width: 60px; height: 60px; border-radius: 50%; background: #fff; border: 1px solid var(--ink); display: grid; place-items: center; transition: background .25s, color .25s; }
.flow li:hover .dot { background: var(--ink); color: #fff; }
.flow .ico { width: 26px; height: 26px; }
.flow .n { display: block; margin-top: 26px; font-family: var(--en); font-weight: 300; font-size: 14px; color: var(--muted); letter-spacing: 0.1em; }
.flow b { display: block; font-family: var(--kr); font-weight: 800; font-size: 19px; line-height: 1.4; margin-top: 6px; }
.flow small { display: block; color: var(--muted); font-size: 14.5px; margin-top: 8px; line-height: 1.6; }
.span-row { display: grid; grid-template-columns: 3fr 1fr 1fr; gap: 0; margin-top: 44px; }
.span-row div { position: relative; padding-top: 14px; font-family: var(--kr); font-weight: 700; font-size: 15px; margin-right: 22px; }
.span-row div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; border: 1px solid var(--cocoa); border-top: 0; }
.span-row div small { font-weight: 400; color: var(--muted); margin-left: 8px; font-family: var(--body); }
.span-row div.empty::before { display: none; }

/* 목소리 */
.voices { padding-block: 0 130px; }
.voice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.voice { background: var(--paper); border-radius: 8px; padding: 44px 40px 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-width: 0; }
.voice q { font-family: var(--kr); font-weight: 800; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.5; letter-spacing: -0.03em; quotes: "“" "”"; }
.voice q::before { color: var(--cocoa); }
.voice q::after { color: var(--cocoa); }
.voice p { margin: 0; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.voice p b { color: var(--ink); font-weight: 600; }

/* CTA 띠 */
.cta { position: relative; color: #fff; background: #1a1714 url("img/hand-wide.jpg") 70% center / cover no-repeat; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,12,10,.86) 0%, rgba(14,12,10,.55) 45%, rgba(14,12,10,.05) 80%); }
.cta .wrap { position: relative; padding-block: 140px; }
.cta .label { color: #c9c7c1; }
.cta h2 { font-family: var(--kr); font-weight: 900; font-size: clamp(36px, 5vw, 66px); line-height: 1.15; letter-spacing: -0.05em; margin: 0; max-width: 11em; }
.cta p { font-size: 18px; color: #dad8d2; margin: 24px 0 40px; max-width: 26em; }
.cta .btn.line { color: #fff; border-color: rgba(255,255,255,.6); }
.cta .btn.line:hover { background: #fff; color: var(--ink); }
.cta .btn.dark { background: #fff; color: var(--ink); border-color: #fff; }
.cta .btn.dark:hover { background: var(--cocoa); color: #fff; border-color: var(--cocoa); }

/* 연락 */
.contact { padding-block: 120px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.contact-grid > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.contact-copy { min-width: 0; }
.contact-copy > p { color: var(--muted); margin: 20px 0 0; max-width: 30em; }
.info { margin: 36px 0 0; }
.info div { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.info div:first-child { border-top: 1px solid var(--ink); }
.info dt { color: var(--muted); font-size: 14px; }
.info dd { margin: 0; font-family: var(--kr); font-weight: 700; font-size: 17px; overflow-wrap: anywhere; }
.contact-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }

/* 푸터 */
footer { background: var(--paper); }
footer .wrap { padding-block: 64px 48px; }
.f-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.f-brand .giant { font-size: clamp(44px, 7vw, 96px); display: flex; align-items: center; gap: 18px; }
.f-brand .giant svg { width: .42em; height: auto; }
.f-links { display: flex; gap: 22px; font-size: 14px; }
.f-links a { text-decoration: none; }
.f-links a.strong { font-weight: 600; }
.biz { margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 13.5px; color: var(--muted); }
.biz b { color: var(--ink); font-weight: 500; margin-left: 6px; }
.copy { margin: 16px 0 0; font-size: 12.5px; color: var(--muted); }

.kakao-fab { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--kakao); color: #191600; text-decoration: none; font-family: var(--kr); font-weight: 700; font-size: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.14); }

@media (max-width: 980px) {
  .menu, .lang { display: none; }
  .nav-cta { margin-left: auto; }
  .hero-top, .story-grid, .cap-head, .contact-grid, .voice-grid { grid-template-columns: 1fr; gap: 36px; }
  .cap-head p { justify-self: start; }
  .belt li, .belt img { width: 190px; }
  .belt img { height: 240px; }
  .story { padding-block: 100px 110px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid div, .proof-grid div + div { padding: 24px 12px 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .cap-body { grid-template-columns: 1fr; gap: 20px; }
  .tabs { flex-direction: row; overflow-x: auto; border-top: 0; gap: 6px; padding-bottom: 4px; }
  .tabs button { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 15px; white-space: nowrap; }
  .tabs button small, .tabs button span { display: none; }
  .tabs button[aria-selected="true"] { padding-left: 16px; box-shadow: none; background: var(--ink); color: #fff; border-color: var(--ink); }
  .panel { grid-template-columns: 1fr; }
  .panel img { min-height: 0; aspect-ratio: 4 / 3; height: auto; }
  .panel-copy { padding: 28px 24px; }
  .flow { grid-template-columns: 1fr; gap: 28px; }
  .flow::before { left: 30px; right: auto; top: 30px; bottom: 30px; width: 1px; height: auto; }
  .flow li { display: grid; grid-template-columns: 60px 1fr; column-gap: 20px; padding-right: 0; }
  .flow .dot { grid-row: 1 / span 3; }
  .flow .n { margin-top: 2px; }
  .span-row { grid-template-columns: 1fr; gap: 14px; }
  .span-row div.empty { display: none; }
  .cta .wrap { padding-block: 96px; }
  .cta::before { background: linear-gradient(180deg, rgba(14,12,10,.55), rgba(14,12,10,.85)); }
  .process, .proof, .contact, .cap { padding-block: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .belt { overflow-x: auto; mask-image: none; }
  .belt ul { animation: none; }
  .belt ul li[aria-hidden="true"] { display: none; }
  * { transition: none !important; }
}

/* 왜 블랙벤자민 */
.why { padding-block: 40px 130px; }
.why-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.why-photo { margin: 0; position: relative; min-width: 0; }
.why-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.why-photo figcaption { position: absolute; left: 18px; bottom: 18px; background: rgba(255,255,255,.92); padding: 7px 14px; border-radius: 999px; font-family: var(--en); font-size: 12px; letter-spacing: 0.12em; }
.why-copy { min-width: 0; }
.why-lead { color: var(--muted); font-size: 17px; margin: 22px 0 0; max-width: 30em; }
.pillars2 { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.pillars2 li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pillars2 span { font-family: var(--en); font-weight: 200; font-size: 30px; line-height: 1; color: var(--cocoa); }
.pillars2 h3 { font-family: var(--kr); font-weight: 800; font-size: 20px; margin: 0 0 4px; letter-spacing: -0.02em; }
.pillars2 p { margin: 0; color: var(--muted); font-size: 15px; }

/* 생산 역량 카드 */
.caps-sec { padding-block: 120px; background: var(--paper); }
.caps2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.caps2 article { background: #fff; border-radius: 10px; padding: 30px 28px 30px; min-width: 0; position: relative; transition: transform .3s, box-shadow .3s; }
.caps2 article:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(40,25,15,.08); }
.caps2 .k { font-family: var(--en); font-weight: 300; font-size: 13px; color: var(--muted); letter-spacing: 0.12em; }
.caps2 h3 { font-family: var(--kr); font-weight: 800; font-size: 19px; margin: 10px 0 0; }
.caps2 .big { font-family: var(--en); font-weight: 300; font-size: 30px; letter-spacing: -0.03em; margin: 18px 0 18px; color: var(--cocoa); line-height: 1.15; }
.caps2 ul { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 7px; }
.caps2 li { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.seals { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 40px; }
.seal { --c: #1f7a4d; aspect-ratio: 1 / 1; border-radius: 50%; border: 2px solid var(--c); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #fff; position: relative; padding: 12px; }
.seal::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px dashed var(--c); opacity: .55; }
.seal b { font-family: var(--en); font-weight: 600; font-size: clamp(15px, 1.6vw, 21px); letter-spacing: 0.02em; color: var(--c); line-height: 1.1; }
.seal span { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.3; }
.s1 { --c: #1f7a4d; } .s2 { --c: #1d4f91; } .s3 { --c: #2a6fb0; } .s4 { --c: #2e8b6e; } .s5 { --c: #23395d; } .s6 { --c: #0f7c5a; }
.note-s { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

/* 실적 */
.record { padding-block: 110px 100px; background: var(--paper); }
.tl .tag { font-family: var(--en); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cocoa); }
.tl li.now .tag { color: #e4cdb6; }

/* CTA */
.cta { background: #1d1712; color: #fff; }
.cta::before { display: none; }
.cta .wrap.cta-grid { padding-block: 0; display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; align-items: stretch; }
.cta-copy { padding-block: 120px; padding-right: 56px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.cta-grid > img { width: 100%; height: 100%; max-height: 640px; object-fit: cover; }
@media (max-width: 980px) {
  .why-grid, .cta .wrap.cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .caps2 { grid-template-columns: 1fr; }
  .seals { grid-template-columns: repeat(3, 1fr); }
  .cta-copy { padding: 80px 0 24px; }
  .cta-grid > img { max-height: 360px; border-radius: 8px; margin-bottom: 40px; }
  .caps-sec, .record { padding-block: 90px; }
}
/* 줄바꿈: 한국어 단어가 중간에서 끊기지 않게 */
body { word-break: keep-all; overflow-wrap: break-word; line-break: strict; }
h1, h2, h3, .statement, .giant { text-wrap: balance; }
p, li, dd, small { text-wrap: pretty; }
.hero h1 { word-break: keep-all; }
.why-lead, .hero-side p, .cap-head p, .tl-head p, .contact-copy > p, .cta p { max-width: 32em; }

/* 포인트 컬러: 벤자민 잎의 짙은 초록 */
.label { color: var(--accent-2); }
.label::before { background: var(--accent-2); }
.nav-cta:hover, .nav-cta:focus-visible { background: var(--accent); }
.btn.dark:hover, .btn.dark:focus-visible { background: var(--accent); border-color: var(--accent); }
.hero-side .giant svg { color: var(--accent); }
.belt i { color: var(--accent-2); }
.proof-grid { border-top-color: var(--accent); }
.proof-grid b { color: var(--accent); }
.proof-grid b small { color: var(--ink); }
.pillars2 { border-top-color: var(--accent); }
.caps-sec { background: var(--accent-soft); }
.caps2 article:hover { box-shadow: 0 18px 40px rgba(20,60,45,.10); }
.caps2 .k { color: var(--accent-2); }
.record .tl li.now { background: var(--accent); }
.record .tl li.now p { color: #c9dbd1; }
.record .tl li.now .tag { color: #a9cbb9; }
.tabs button[aria-selected="true"] span { color: var(--accent-2); }
.flow .dot { border-color: var(--accent); color: var(--accent); }
.flow li:hover .dot { background: var(--accent); color: #fff; }
.flow .n { color: var(--accent-2); }
.gallery figcaption { color: var(--accent); }
.info div:first-child { border-top-color: var(--accent); }
.cta { background: #15372a; }
.cta .label { color: #9fc2b0; }
.cta .label::before { background: #9fc2b0; }
.cta p { color: #d3e2da; }
.cta .btn.dark:hover { background: #fff; color: var(--accent); border-color: #fff; }
footer .f-brand .giant svg { color: var(--accent); }
@media (max-width: 980px) {
  .tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); }
}
/* ===== 모바일 최적화 ===== */
[hidden] { display: none !important; }
.nav-cta, .brand b { white-space: nowrap; }
@media (max-width: 980px) {
  .wrap { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  section, .process, .proof, .contact, .cap, .caps-sec, .record { padding-block: 72px; }
  .why { padding-block: 24px 72px; }
  h2.sec { font-size: clamp(26px, 7vw, 34px); }
  .hero { padding-block: 40px 0; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 54px); }
  .hero-side .giant { font-size: clamp(40px, 12vw, 56px); margin-bottom: 20px; }
  .hero-side p { font-size: 16px; }
  .belt { margin-top: 48px; }
  .belt li, .belt img { width: 160px; }
  .belt img { height: 200px; }
  .belt-note { flex-direction: column; gap: 4px; }
  .proof-grid b { font-size: clamp(36px, 10vw, 48px); white-space: nowrap; }
  .proof-grid b small { font-size: .34em; }
  .proof-grid p { font-size: 14px; }
  .why-photo img { aspect-ratio: 4 / 3; }
  .pillars2 li { grid-template-columns: 44px 1fr; }
  .pillars2 span { font-size: 24px; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery figure { margin-bottom: 10px; }
  .gallery figcaption { left: 8px; bottom: 8px; font-size: 11.5px; padding: 4px 9px; }
  .caps2 { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(-1 * max(20px, env(safe-area-inset-left, 0px))); padding: 4px max(20px, env(safe-area-inset-left, 0px)) 14px; scrollbar-width: none; }
  .caps2::-webkit-scrollbar { display: none; }
  .caps2 article { scroll-snap-align: start; }
  .caps2 article:hover { transform: none; }
  .caps2 .big { font-size: 26px; }
  .seals { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
  .seal { padding: 8px; }
  .seal b { font-size: clamp(12px, 3.4vw, 15px); }
  .seal span { font-size: 10px; }
  .panel-copy h3 { font-size: 28px; }
  .tl li { width: 78vw; max-width: 300px; }
  .tl { padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
  .flow { margin-top: 36px; }
  .cta-copy { padding: 64px 0 20px; }
  .cta h2 { font-size: clamp(34px, 10vw, 44px); }
  .cta .ctas .btn, .contact-actions .btn { flex: 1 1 100%; justify-content: center; }
  .contact-grid > img { aspect-ratio: 4 / 3; }
  .info div { grid-template-columns: 76px 1fr; }
  .info dd { font-size: 15.5px; }
  .f-brand .giant { font-size: clamp(36px, 11vw, 48px); }
  .f-links { flex-wrap: wrap; gap: 14px; }
  .biz { flex-direction: column; gap: 4px; }
  .kakao-fab { padding: 11px 15px; font-size: 13px; right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 380px) {
  .brand b { font-size: 12px; letter-spacing: 0.16em; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
}
/* ===== 섞은 테마: 헤더 · 첫 화면 · 마지막 구간만 블랙 ===== */
header { background: rgba(12,12,11,.92); color: #f2f0ea; }
body::before { background: #0c0c0b; }
header .menu a, header .brand { color: #f2f0ea; }
header .lang button { color: #8d8b85; }
header .lang button[aria-pressed="true"] { color: #f2f0ea; }
header .brand svg { color: #8fc2a6; }
.nav-cta { background: #f2f0ea; color: #0c0c0b; }
.nav-cta:hover, .nav-cta:focus-visible { background: #8fc2a6; color: #0c0c0b; }
.hero { background: #0c0c0b; color: #f2f0ea; padding-bottom: 56px; }
.hero .label { color: #8fc2a6; } .hero .label::before { background: #8fc2a6; }
.hero h1 span { color: #8fc2a6; }
.hero-side .giant { color: #f2f0ea; }
.hero-side .giant svg { color: #8fc2a6; }
.hero-side p { color: #b4b2ab; }
.hero .btn.dark { background: #f2f0ea; color: #0c0c0b; border-color: #f2f0ea; }
.hero .btn.dark:hover, .hero .btn.dark:focus-visible { background: #8fc2a6; border-color: #8fc2a6; }
.hero .btn.line { color: #f2f0ea; border-color: rgba(242,240,234,.45); }
.hero .btn.line:hover, .hero .btn.line:focus-visible { background: #f2f0ea; color: #0c0c0b; }
.hero .belt span { color: #f2f0ea; }
.hero .belt i { color: #8fc2a6; }
.hero .belt-note { border-top-color: #2a2925; color: #8d8b85; }
.cta { background: #0c0c0b; }
.cta .label { color: #8fc2a6; } .cta .label::before { background: #8fc2a6; }
.cta p { color: #b4b2ab; }

/* ===== 제작 쿠키 ===== */
.cookie { padding-block: 120px; }
.ck-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 44px; }
.ck-head > p { margin: 0; color: var(--muted); max-width: 30em; justify-self: end; }
.ck-feature { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; border-radius: 12px; overflow: hidden; background: var(--paper); }
.ck-feature > img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.terms { margin: 0; padding: 36px 34px; display: flex; flex-direction: column; justify-content: center; gap: 0; min-width: 0; }
.terms div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.terms div:first-child { border-top: 2px solid var(--accent); }
.terms dt { color: var(--muted); font-size: 14.5px; white-space: nowrap; }
.terms dd { margin: 0; font-family: var(--kr); font-weight: 700; font-size: 16px; text-align: right; }
.terms dd b { font-family: var(--en); font-weight: 300; font-size: 30px; letter-spacing: -0.03em; color: var(--accent); margin-right: 2px; }
.terms .btn { margin-top: 24px; justify-content: center; }
.ck-grid { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ck-grid li { min-width: 0; }
.ck-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; background: var(--paper); margin-bottom: 16px; }
.ck-grid .n { font-family: var(--en); font-weight: 300; font-size: 13px; letter-spacing: 0.12em; color: var(--accent-2); }
.ck-grid h3 { font-family: var(--kr); font-weight: 800; font-size: 20px; margin: 4px 0 6px; }
.ck-grid p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.order { margin-top: 72px; display: grid; grid-template-columns: 1fr 1.35fr; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.order-intro { background: var(--accent); color: #f2f0ea; padding: 40px 36px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.order-intro .label { color: #a9cbb9; margin: 0; } .order-intro .label::before { background: #a9cbb9; }
.order-intro h3 { font-family: var(--kr); font-weight: 900; font-size: 30px; letter-spacing: -0.04em; margin: 0; }
.order-intro > p { margin: 0; color: #d3e2da; }
.order-notes { list-style: none; margin: 6px 0 auto; padding: 0; display: grid; gap: 6px; }
.order-notes li { display: flex; gap: 10px; font-weight: 600; }
.order-notes li::before { content: "✓"; color: #a9cbb9; }
.order-intro .btn.kakao { align-self: flex-start; margin-top: 18px; }
.order-form { padding: 36px; display: grid; gap: 18px; min-width: 0; background: #fff; }
.order-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.order-form legend, .order-form label { font-size: 14px; font-weight: 600; color: var(--ink); }
.order-form legend { margin-bottom: 8px; padding: 0; }
.order-form label { display: grid; gap: 6px; min-width: 0; }
.order-form small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.order-form input[type=text], .order-form input[type=tel], .order-form input[type=email], .order-form input[type=number], .order-form input[type=date], .order-form textarea { width: 100%; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: var(--paper); border: 1px solid transparent; border-radius: 8px; padding: 12px 14px; }
.order-form input:focus, .order-form textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.order-form .bad { border-color: #b3402f !important; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; font-size: 14.5px; transition: background .2s, color .2s, border-color .2s; }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.agree { display: flex !important; align-items: center; gap: 8px; font-weight: 400 !important; color: var(--muted) !important; }
.agree input { width: 18px; height: 18px; accent-color: var(--accent); }
.form-msg { margin: 0; padding: 12px 14px; border-radius: 8px; font-size: 14.5px; background: var(--accent-soft); color: var(--accent); }
.form-msg.err { background: #fbecea; color: #9a3324; }
.order-form .submit { justify-content: center; }
@media (max-width: 980px) {
  .cookie { padding-block: 72px; }
  .ck-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px; }
  .ck-head > p { justify-self: start; }
  .ck-feature { grid-template-columns: 1fr; }
  .ck-feature > img { min-height: 0; aspect-ratio: 3 / 2; }
  .terms { padding: 24px 20px 26px; }
  .terms dd b { font-size: 26px; }
  .ck-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .ck-grid h3 { font-size: 17px; }
  .ck-grid p { font-size: 13.5px; }
  .order { grid-template-columns: 1fr; margin-top: 48px; }
  .order-intro { padding: 30px 22px; }
  .order-intro h3 { font-size: 26px; }
  .order-intro .btn.kakao { align-self: stretch; justify-content: center; }
  .order-form { padding: 26px 20px; }
  .row2 { grid-template-columns: 1fr; }
}
.ck-strip { display: grid; grid-template-columns: repeat(4, 1fr) 2fr; gap: 12px; margin-top: 40px; }
.ck-strip figure { margin: 0; position: relative; overflow: hidden; border-radius: 10px; min-width: 0; background: var(--paper); }
.ck-strip img { width: 100%; height: 220px; object-fit: cover; transition: transform .6s; }
.ck-strip figure:hover img { transform: scale(1.04); }
.ck-strip figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.94); padding: 5px 11px; border-radius: 999px; font-family: var(--kr); font-weight: 700; font-size: 12.5px; color: var(--accent); }
.ck-steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: c; border-top: 2px solid var(--accent); }
.ck-steps li { counter-increment: c; padding: 18px 16px 0 0; min-width: 0; display: grid; gap: 2px; }
.ck-steps li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.ck-steps li::before { content: counter(c, decimal-leading-zero); font-family: var(--en); font-weight: 300; font-size: 13px; color: var(--accent-2); letter-spacing: 0.1em; }
.ck-steps b { font-family: var(--kr); font-weight: 800; font-size: 17px; }
.ck-steps span { color: var(--muted); font-size: 14px; }
.ck-note { margin: 18px 0 0; font-size: 12.5px; color: var(--muted); }
@media (max-width: 980px) {
  .ck-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
  .ck-strip .wide { grid-column: 1 / -1; }
  .ck-strip img { height: 150px; }
  .ck-strip figcaption { font-size: 11.5px; left: 8px; bottom: 8px; }
  .ck-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .ck-steps li, .ck-steps li + li { padding: 14px 10px 0 0; border-left: 0; }
}
/* 생산 원칙 띠 */
.trust { padding-block: 0; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: auto 1fr 1.4fr; gap: 40px; align-items: center; padding-block: 44px; }
.trust-mark { width: 132px; height: 132px; display: block; }
.trust-copy { min-width: 0; }
.trust-copy .label { margin-bottom: 10px; }
.trust-copy h2 { font-family: var(--kr); font-weight: 800; font-size: clamp(22px, 2.3vw, 28px); line-height: 1.4; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.trust-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; min-width: 0; }
.trust-points li { display: grid; gap: 6px; padding-left: 18px; border-left: 2px solid var(--accent); }
.trust-points b { font-family: var(--kr); font-weight: 800; font-size: 17px; }
.trust-points span { color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.seal.img { border: 0; padding: 0; background: transparent; }
.seal.img::before { display: none; }
.seal.img img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 980px) {
  .trust-grid { grid-template-columns: 88px 1fr; gap: 18px 20px; padding-block: 32px; }
  .trust-mark { width: 88px; height: 88px; }
  .trust-points { grid-column: 1 / -1; grid-template-columns: 1fr; gap: 16px; }
}
.ck-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-flow: dense; }
.ck-strip .wide { grid-column: span 2; }
@media (max-width: 980px) {
  .ck-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ck-strip .wide { grid-column: 1 / -1; }
  .ck-strip .wide img { height: 200px; }
}
/* ===== 포트폴리오 ===== */
.work { padding-block: 120px; }
.work-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 28px; }
.work-head > p { margin: 0; color: var(--muted); max-width: 30em; justify-self: end; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.flt { font: inherit; font-size: 14.5px; font-weight: 500; padding: 9px 16px; min-height: 40px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.flt i { font-style: normal; color: var(--muted); font-size: 12.5px; margin-left: 2px; }
.flt[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.flt[aria-pressed="true"] i { color: #bdbcb7; }
.pf-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 16px; }
.pf { min-width: 0; display: flex; flex-direction: column; }
.pf img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; background: var(--paper); transition: transform .5s; }
.pf:hover img { transform: translateY(-3px); }
.pf-body { padding-top: 14px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pf-cat { font-size: 12.5px; color: var(--accent-2); font-weight: 500; }
.pf h3 { font-family: var(--kr); font-weight: 800; font-size: 18px; margin: 0 0 10px; letter-spacing: -0.02em; }
.pf-ask { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: none; border: 0; border-bottom: 1px solid currentColor; padding: 4px 0; cursor: pointer; min-height: 32px; }
.pf-ask .arr { width: 14px; height: 14px; transition: transform .25s; }
.pf-ask:hover { color: var(--accent); }
.pf-ask:hover .arr { transform: translateX(3px); }
.inquiry, .visit { padding-block: 40px 100px; }
.visit { padding-block: 0 120px; }
.order.lead { margin-top: 0; }
.order-form select { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid transparent; border-radius: 8px; padding: 12px 14px; }
.order-form input[type=file] { font: inherit; font-size: 14px; font-weight: 400; }
.dark-intro .order-intro { background: #0c0c0b; }
.dark-intro .order-intro .label { color: #8fc2a6; } .dark-intro .order-intro .label::before { background: #8fc2a6; }
.dark-intro .order-notes li::before { color: #8fc2a6; }
.ref-card { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.12); border-radius: 10px; padding: 12px 14px; }
.ref-card span { font-size: 13px; color: #c9dbd1; }
.ref-card b { font-weight: 700; flex: 1; }
.ref-card button { background: none; border: 0; color: #fff; font-size: 15px; cursor: pointer; width: 32px; height: 32px; }
.pulse { animation: pulse 1.2s ease 1; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(30,74,57,.45); } 100% { box-shadow: 0 0 0 18px rgba(30,74,57,0); } }
@media (max-width: 980px) {
  .work { padding-block: 72px; }
  .work-head { grid-template-columns: 1fr; gap: 14px; }
  .work-head > p { justify-self: start; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * max(20px, env(safe-area-inset-left, 0px))); padding: 0 max(20px, env(safe-area-inset-left, 0px)) 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .flt { flex: none; }
  .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .pf h3 { font-size: 15.5px; }
  .pf-ask { font-size: 13px; }
  .inquiry { padding-block: 24px 64px; }
  .visit { padding-block: 0 72px; }
}
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

/* ===== 여러 페이지 구조 + 'AI 티' 걷어내기 ===== */
.label { display: none; }
.pillars2 li { grid-template-columns: 1fr; }
.pillars2 h3 { color: var(--ink); }
.panel-copy li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .72em; border-radius: 50%; background: var(--accent-2); }
.tabs button small { display: none; }
.tabs button[aria-selected="true"] { box-shadow: none; padding-left: 4px; color: var(--accent); }
.tl .tag { font-family: var(--body); letter-spacing: 0; text-transform: none; font-size: 13px; font-weight: 600; }
.caps2 h3 { margin-top: 0; }
h2.sec { margin-bottom: 0; }

/* 메뉴 현재 페이지 */
.menu a[aria-current="page"] { color: #8fc2a6; }
.menu a[aria-current="page"]::after { right: 0; background: #8fc2a6; }

/* 모바일 메뉴 */
.burger { display: none; flex: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; margin-left: 4px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: #f2f0ea; transition: transform .25s, top .25s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }
.sheet { position: fixed; inset: 0; top: calc(env(safe-area-inset-top, 0px) + 72px); background: #0c0c0b; color: #f2f0ea; overflow-y: auto; z-index: 29; }
.sheet .wrap { padding-block: 20px 40px; display: flex; flex-direction: column; gap: 36px; min-height: 100%; }
.sheet-links { display: flex; flex-direction: column; }
.sheet-links a { font-family: var(--kr); font-weight: 800; font-size: 30px; letter-spacing: -0.04em; text-decoration: none; padding: 12px 0; border-bottom: 1px solid #262522; }
.sheet-links a[aria-current="page"] { color: #8fc2a6; }
.sheet-foot { display: grid; gap: 10px; }
.sheet-foot .btn { justify-content: center; }
.sheet-foot p { margin: 10px 0 0; color: #8d8b85; font-size: 14px; line-height: 1.7; }
.sheet-foot .lang { display: flex !important; gap: 14px; }
.sheet-foot .lang button { background: none; border: 0; color: #8d8b85; font: 500 14px var(--body); padding: 6px 0; }
.sheet-foot .lang button[aria-pressed="true"] { color: #f2f0ea; }
body.sheet-open { overflow: hidden; }
@media (max-width: 980px) { .burger { display: block; } }

/* 블랙 위 버튼 */
.btn.light { background: #f2f0ea; color: #0c0c0b; border-color: #f2f0ea; }
.btn.light:hover, .btn.light:focus-visible { background: #8fc2a6; border-color: #8fc2a6; }
.btn.ghost { background: transparent; color: #f2f0ea; border-color: rgba(242,240,234,.4); }
.btn.ghost:hover, .btn.ghost:focus-visible { background: #f2f0ea; color: #0c0c0b; }

/* 서브페이지 머리 */
.phead { background: #0c0c0b; color: #f2f0ea; }
.phead-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding-block: 56px 64px; }
.phead-copy { min-width: 0; }
.phead h1 { font-family: var(--kr); font-weight: 900; font-size: clamp(38px, 5vw, 68px); line-height: 1.12; letter-spacing: -0.05em; margin: 0; word-break: keep-all; text-wrap: balance; }
.phead-copy > p { color: #b4b2ab; font-size: 17px; margin: 22px 0 0; max-width: 30em; word-break: keep-all; text-wrap: pretty; }
.phead .ctas { margin-top: 32px; }
.phead .phead-tel { font-size: 14px; color: #8d8b85; margin-top: 18px; }
.phead-grid > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 10px; }
.phead + section { padding-top: 96px; }
.phead + .trust { padding-top: 0; }

/* 메인: 세 갈래 문 */
.doors { padding-block: 110px 40px; }
.doors h2.sec { margin-bottom: 36px; }
.door-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.door { position: relative; display: flex; flex-direction: column; text-decoration: none; border-radius: 12px; overflow: hidden; background: var(--paper); min-width: 0; transition: transform .3s, box-shadow .3s; }
.door img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s; }
.door.big img { aspect-ratio: auto; height: 100%; min-height: 280px; flex: 1; }
.door > div { padding: 24px 24px 26px; }
.door h3 { font-family: var(--kr); font-weight: 900; font-size: 26px; letter-spacing: -0.04em; margin: 0 0 6px; }
.door p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; word-break: keep-all; }
.door .go { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-family: var(--kr); font-weight: 700; font-size: 15px; color: var(--accent); }
.door .go .arr { width: 16px; height: 16px; transition: transform .25s; }
.door:hover, .door:focus-visible { box-shadow: 0 22px 50px rgba(20,60,45,.12); transform: translateY(-4px); }
.door:hover img { transform: scale(1.03); }
.door:hover .go .arr { transform: translateX(4px); }
.door.big { background: var(--accent); color: #f2f0ea; }
.door.big p { color: #cfe0d6; } .door.big .go { color: #f2f0ea; }

/* 메인: 포트폴리오 미리보기 */
.home-work { padding-block: 90px 40px; }
.home-work .work-head { align-items: center; }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-family: var(--kr); font-weight: 700; color: var(--accent); text-decoration: none; }
.textlink .arr { width: 16px; height: 16px; }

/* 마지막 블랙 구간: 쇼룸 링크 */
.cta-visit { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; color: #8fc2a6; font-family: var(--kr); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(143,194,166,.4); padding-bottom: 4px; align-self: flex-start; }
.cta-visit .arr { width: 16px; height: 16px; }

/* 문의 · 미팅: 접수 데스크 */
.desk { padding-block: 72px 40px; }
.switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.switch a { display: flex; flex-direction: column; gap: 2px; text-decoration: none; padding: 18px 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, background .2s; }
.switch a b { font-family: var(--kr); font-weight: 800; font-size: 19px; letter-spacing: -0.03em; }
.switch a span { font-size: 13.5px; color: var(--muted); }
.switch a:hover { border-color: var(--accent); }
.switch a[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #f2f0ea; }
.switch a[aria-selected="true"] span { color: #cfe0d6; }
.desk .order { margin-top: 0; }
.contact { padding-block: 80px 120px; }

@media (max-width: 980px) {
  .phead-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 32px 40px; }
  .phead-grid > img { aspect-ratio: 16 / 10; }
  .phead + section { padding-top: 64px; }
  .door-grid { grid-template-columns: 1fr; gap: 14px; }
  .door.big img, .door img { aspect-ratio: 16 / 9; height: auto; min-height: 0; flex: none; }
  .doors { padding-block: 72px 20px; }
  .home-work { padding-block: 64px 24px; }
  .desk { padding-block: 40px 24px; }
  .switch { gap: 6px; }
  .switch a { padding: 12px 10px; text-align: center; }
  .switch a b { font-size: 16px; }
  .switch a span { font-size: 12px; }
}
@media (max-width: 600px) {
  .home-work .pf-grid .pf:nth-child(n+7) { display: none; }
  .phead .ctas .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 420px) {
  .brand b { font-size: 12px; letter-spacing: 0.18em; }
  .nav { gap: 10px; }
}
.proof-grid b { white-space: nowrap; font-size: clamp(40px, 4.4vw, 66px); }
@media (max-width: 600px) {
  body[data-page="contact.html"] .phead-grid > img { display: none; }
  body[data-page="contact.html"] .phead-grid { padding-block: 28px 36px; gap: 0; }
  .switch a span { display: none; }
  .switch a { padding: 14px 6px; }
  .door { flex-direction: row; align-items: stretch; }
  .door img, .door.big img { width: 38%; aspect-ratio: auto; height: auto; min-height: 150px; object-fit: cover; flex: none; }
  .door > div { padding: 18px 18px 18px; }
  .door h3 { font-size: 21px; }
  .door p { font-size: 14px; }
  .door .go { margin-top: 10px; font-size: 14px; }
}
body.sheet-open .kakao-fab { display: none; }
.ck-steps li::before { display: none; }

/* ===== 손그림 · 패턴 ===== */
.hero, .phead { background: #0c0c0b url("../img/pattern-dark.jpg") center / 1400px auto repeat; }
.cta-copy { background: #0c0c0b url("../img/pattern-dark.jpg") left top / 1400px auto repeat; }
.trust { background: var(--paper) url("../img/pattern-paper.jpg") center / 1300px auto repeat; }
.trust-grid { background: rgba(246,245,242,.86); border-radius: 12px; }
footer { background: var(--paper) url("../img/pattern-paper.jpg") center bottom / 1300px auto repeat; }

.flow::before { top: 64px; }
.flow .dot.art { width: 128px; height: 128px; border-radius: 0; border: 0; background: transparent; display: block; }
.flow .dot.art img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.flow li:hover .dot.art { background: transparent; }
.flow li:hover .dot.art img { transform: translateY(-4px) rotate(-1.5deg); }
.flow b { margin-top: 18px; }
@media (max-width: 980px) {
  .flow::before { display: none; }
  .flow li { grid-template-columns: 92px 1fr; align-items: start; }
  .flow .dot.art { width: 92px; height: 92px; }
  .flow b { margin-top: 4px; }
}

.order-intro { position: relative; overflow: hidden; }
.order-intro .oi-art { position: absolute; right: -18px; bottom: -14px; width: 46%; max-width: 230px; opacity: .22; pointer-events: none; }
.order-intro > *:not(.oi-art) { position: relative; }
.dark-intro .order-intro .oi-art { opacity: .16; }

.phead-art { background: var(--paper) url("../img/pattern-paper.jpg") center / 900px auto; border-radius: 10px; aspect-ratio: 5 / 4; display: grid; place-items: center; padding: 28px; }
.phead-art img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 600px) { body[data-page="contact.html"] .phead-art { display: none; } }
.hero, .phead { background: linear-gradient(rgba(12,12,11,.62), rgba(12,12,11,.62)), #0c0c0b url("../img/pattern-dark.jpg") center / 1000px auto repeat; }
.cta-copy { background: linear-gradient(rgba(12,12,11,.55), rgba(12,12,11,.55)), #0c0c0b url("../img/pattern-dark.jpg") left top / 1000px auto repeat; }
.phead-art { background: #f6f5f2; }
.trust-mark, .seal.img img { filter: drop-shadow(0 6px 14px rgba(20,60,45,.14)); }

/* ===== 현장: 사람 · 공장 ===== */
.field { padding-block: 100px 30px; }
.field-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 36px; }
.field-head p { margin: 0; color: var(--muted); max-width: 30em; justify-self: end; word-break: keep-all; text-wrap: pretty; }
.field-grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.field-grid figure { margin: 0; min-width: 0; }
.field-grid img, .field-grid video { display: block; width: 100%; border-radius: 10px; object-fit: cover; background: var(--paper); }
.field-grid figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; word-break: keep-all; }
.f-video { grid-row: 1 / span 2; display: flex; flex-direction: column; }
.f-video video { flex: 1; min-height: 0; height: 100%; aspect-ratio: auto; }
.f-maker { grid-column: 2 / span 2; }
.f-maker img { aspect-ratio: 16 / 9; object-position: center 35%; }
.field-grid figure:not(.f-video):not(.f-maker) img { aspect-ratio: 3 / 2; }
@media (max-width: 980px) {
  .field { padding-block: 72px 20px; }
  .field-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 24px; }
  .field-head p { justify-self: start; }
  .field-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .f-video { grid-row: auto; grid-column: 1 / -1; }
  .f-video video { aspect-ratio: 4 / 3; height: auto; }
  .f-maker { grid-column: 1 / -1; }
  .f-maker img { aspect-ratio: 4 / 3; }
  .field-grid figcaption { font-size: 13px; margin-top: 6px; }
}
.field-grid { grid-template-columns: 1.25fr 1fr .9fr; }
.f-maker { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; }
.f-maker img { aspect-ratio: auto; flex: 1; min-height: 0; height: 100%; object-position: center 60%; }
.f-video video { aspect-ratio: auto; }
@media (max-width: 980px) {
  .f-maker { grid-column: 1 / -1; grid-row: auto; }
  .f-maker img { aspect-ratio: 1 / 1; height: auto; flex: none; }
  .f-video video { aspect-ratio: 4 / 3; }
}
@media (max-width: 980px) { .field-grid { grid-template-columns: 1fr 1fr; } }
/* 숫자 바로 아래로 이어지는 현장 구간 */
.proof + .field { padding-top: 0; }
.proof:has(+ .field) { padding-bottom: 72px; }
.field + .cta, .field + .trust { margin-top: 90px; }
@media (max-width: 980px) { .proof:has(+ .field) { padding-bottom: 48px; } .field + .cta, .field + .trust { margin-top: 56px; } }

/* 현장 기록 필름 띠 */
.site-log { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.site-log-head { margin: 0 0 18px; color: var(--muted); font-size: 15px; word-break: keep-all; }
.site-log-head b { color: var(--ink); font-family: var(--kr); font-weight: 800; margin-right: 12px; }
.site-strip { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.site-strip li { flex: 1 1 auto; min-width: 0; }
.site-strip li:nth-child(n+6) { flex-grow: 1.7; }
.site-strip img { width: 100%; height: 190px; object-fit: cover; border-radius: 6px; display: block; filter: saturate(.92); transition: filter .3s; }
.site-strip li:hover img { filter: none; }
.site-strip span { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 980px) {
  .site-log { margin-top: 40px; }
  .site-strip { overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(-1 * max(24px, env(safe-area-inset-right, 0px))); padding-right: 24px; }
  .site-strip li { flex: none; width: 118px; scroll-snap-align: start; }
  .site-strip li:nth-child(n+6) { width: 190px; }
  .site-strip img { height: 160px; }
}

/* 현장 기록: 자동으로 흐르는 띠 */
.site-strip { display: block; overflow: hidden; margin: 0 calc(50% - 50vw); padding: 0; scroll-snap-type: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.site-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; width: max-content; animation: siteflow 60s linear infinite; }
.site-strip:hover .site-track { animation-play-state: paused; }
.site-track li { flex: none !important; width: auto !important; }
.site-track img { width: auto; height: 210px; aspect-ratio: auto; object-fit: cover; }
.site-track li span { max-width: 100%; }
@keyframes siteflow { to { transform: translateX(calc(-50% - 6px)); } }
@media (max-width: 980px) {
  .site-strip { margin-right: calc(50% - 50vw); padding-right: 0; overflow: hidden; }
  .site-track img { height: 150px; }
  .site-track { animation-duration: 45s; }
}
@media (prefers-reduced-motion: reduce) {
  .site-track { animation: none; }
  .site-strip { overflow-x: auto; }
}

/* 개인정보처리방침 */
.phead-plain .wrap { padding-block: 56px 60px; }
.phead-plain p { color: #b4b2ab; font-size: 17px; margin: 18px 0 0; max-width: 40em; word-break: keep-all; }
.policy { padding-block: 64px 110px; }
.policy-body { max-width: 860px; }
.policy-date { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.policy h2 { font-family: var(--kr); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; margin: 44px 0 12px; }
.policy p, .policy li { word-break: keep-all; color: #33322f; }
.policy ul { padding-left: 1.2em; }
.policy table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.policy th, .policy td { border-top: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; word-break: keep-all; }
.policy thead th { background: var(--paper); font-weight: 700; border-top: 2px solid var(--accent); }
.policy tbody th { width: 9em; background: var(--paper); font-weight: 600; }
.agree-link { margin-left: 6px; color: var(--accent); font-size: 13px; }
@media (max-width: 600px) {
  .policy th, .policy td { padding: 10px; font-size: 14px; }
}
@media (max-width: 700px) {
  .policy .stack thead { display: none; }
  .policy .stack tr { display: block; border-top: 2px solid var(--accent); }
  .policy .stack td { display: block; border-top: 1px solid var(--line); }
  .policy .stack td::before { content: attr(data-l); display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 2px; }
  .policy table { table-layout: fixed; }
  .policy td, .policy th { overflow-wrap: anywhere; }
}
