/* 한성쇼케이스 블로그 — 산업·장비 톤. 표면: 잉크 · 흰 · 콜드그레이 · 아이스블루 띠. 각진 버튼, 번호 머리. */
:root {
  --ink: #0f1720;
  --ink-2: #1b2632;
  --paper: #ffffff;
  --gray: #eef1f4;
  --line: #d5dbe1;
  --muted: #5b6672;
  --ice: #0b5fd6;
  --ice-2: #9cc4ff;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Pretendard Variable', Pretendard, -apple-system, 'Malgun Gothic', sans-serif; line-height: 1.75; word-break: keep-all; letter-spacing: -0.01em; padding-bottom: 56px; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3 { letter-spacing: -0.035em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }

.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .reveal-group > * { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal-group.in > * { opacity: 1; transform: none; }

/* 헤더 */
.top { position: sticky; top: 0; z-index: 30; background: var(--ink); color: #fff; }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.logo { text-decoration: none; display: flex; align-items: baseline; gap: 10px; }
.logo b { font-size: 1.2rem; font-weight: 800; }
.logo small { font-size: .64rem; letter-spacing: .26em; opacity: .55; }
.top nav { display: flex; gap: 22px; font-size: .9rem; align-items: center; }
.top nav a { text-decoration: none; opacity: .8; }
.top nav .call { opacity: 1; font-weight: 800; font-variant-numeric: tabular-nums; border-bottom: 2px solid var(--ice-2); }
@media (max-width: 640px) { .top nav a:not(.call) { display: none; } }

/* 히어로 */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; padding: 64px 0 56px; }
.hero-in { position: relative; z-index: 1; max-width: 1180px; }
.label { font-size: .74rem; letter-spacing: .22em; color: var(--ice-2); margin: 0 0 14px; }
.label.dark { color: var(--ice); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.22; margin: 0 0 18px; font-weight: 800; animation: rise 1s var(--ease) both; }
.hero h1 span { color: var(--ice-2); }
.lead { max-width: 560px; opacity: .82; margin: 0 0 30px; animation: rise 1s .15s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 180px)); gap: 0; margin: 0 0 30px; border-top: 1px solid rgba(255,255,255,.16); }
.figs div { padding: 14px 16px 0 0; }
.figs dt { font-size: .72rem; opacity: .55; letter-spacing: .06em; }
.figs dd { margin: 2px 0 0; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; font-variant-numeric: tabular-nums; }
.weeks { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.weeks i { width: 22px; height: 10px; background: rgba(255,255,255,.12); }
.weeks i.on { background: var(--ice-2); animation: pulse 2.4s var(--ease) infinite; }
.weeks span { margin-left: 12px; font-size: .8rem; opacity: .7; }
@keyframes pulse { 50% { opacity: .45; } }
.frost { position: absolute; right: 6%; top: 40px; bottom: -1px; width: min(34vw, 380px); border: 1px solid rgba(255,255,255,.18); border-bottom: 0; background: var(--ink-2); }
.frost { display: grid; grid-template-rows: repeat(3, 1fr); padding: 54px 18px 22px; }
.shelf { display: flex; align-items: flex-end; gap: 8px; border-bottom: 2px solid rgba(156,196,255,.5); padding: 0 6px; }
.shelf i { flex: 1; background: rgba(255,255,255,.14); height: 46%; transform-origin: bottom; animation: fill 1.1s var(--ease) both; }
.shelf i:nth-child(2n) { height: 62%; background: rgba(156,196,255,.35); } .shelf i:nth-child(3n) { height: 38%; }
.shelf:nth-child(2) i { animation-delay: .15s; } .shelf:nth-child(3) i { animation-delay: .3s; }
@keyframes fill { from { transform: scaleY(0); } to { transform: none; } }
.temp { position: absolute; top: 14px; right: 16px; font-size: .9rem; font-variant-numeric: tabular-nums; color: var(--ice-2); letter-spacing: .06em; }
.figs { max-width: 560px; }
@media (max-width: 900px) { .frost { display: none; } }

/* 섹션 머리 */
.sec { padding: 56px 0 24px; }
.sh { display: flex; align-items: baseline; gap: 16px; border-top: 1px solid var(--ink); padding-top: 16px; margin-bottom: 22px; }
.sh span { color: var(--ice); font-weight: 800; font-size: .9rem; }
.sh h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); }

/* 탭 */
.tabs { display: flex; gap: 0; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 8px; scrollbar-width: none; }
.tabs button { font: inherit; font-size: .9rem; background: none; border: 0; padding: 10px 14px; color: var(--muted); cursor: pointer; white-space: nowrap; border-bottom: 3px solid transparent; transition: color .2s, border-color .3s var(--ease); }
.tabs button.on { color: var(--ink); font-weight: 800; border-bottom-color: var(--ice); }


/* 띠 */
.band { background: var(--ice); color: #fff; margin-top: 48px; }
.band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 30px 20px; }
.band p { margin: 0; font-size: 1.2rem; font-weight: 700; }
.band em { font-style: normal; border-bottom: 2px solid #fff; }
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; font-weight: 800; padding: 14px 22px; font-variant-numeric: tabular-nums; position: relative; overflow: hidden; transition: color .3s; }
.btn::before { content: ''; position: absolute; inset: 0; background: var(--ice-2); transform: translateX(-101%); transition: transform .45s var(--ease); }
.btn:hover { color: var(--ink); } .btn:hover::before { transform: none; }
.btn { isolation: isolate; } .btn::before { z-index: -1; }
.btn.small { padding: 10px 14px; font-size: .9rem; margin-top: 14px; }

/* 글 */
.article { padding: 36px 0 40px; }
.art-grid { display: grid; grid-template-columns: minmax(0, 720px) 240px; gap: 64px; }
@media (max-width: 960px) { .art-grid { grid-template-columns: 1fr; } .toc { display: none; } }
.crumbs { display: flex; gap: 8px; font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.art-title { font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.3; margin: 0 0 10px; }
.meta { color: var(--muted); font-size: .86rem; margin: 0 0 28px; }
.answer { background: var(--gray); border-left: 4px solid var(--ice); padding: 18px 20px; margin-bottom: 34px; }
.answer b { font-size: .78rem; letter-spacing: .14em; color: var(--ice); }
.answer p { margin: 6px 0 0; font-size: 1.05rem; }
article h2 { font-size: 1.35rem; margin: 40px 0 10px; padding-top: 14px; border-top: 1px solid var(--line); }
article p { margin: 0 0 14px; }
.fig { margin: 26px 0; }
.fig-img { aspect-ratio: 16 / 9; background: var(--ink-2); color: rgba(255,255,255,.5); display: grid; place-items: center; font-size: .9rem; letter-spacing: .1em; }
.fig figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.check { border: 1px solid var(--ink); padding: 20px 22px; margin: 30px 0; }
.check h3 { margin: 0 0 10px; font-size: 1.05rem; }
.check ol { margin: 0; padding: 0; list-style: none; counter-reset: c; }
.check li { counter-increment: c; padding: 8px 0 8px 36px; position: relative; border-top: 1px solid var(--line); }
.check li::before { content: counter(c, decimal-leading-zero); position: absolute; left: 0; color: var(--ice); font-weight: 800; }
.cta { background: var(--ink); color: #fff; padding: 24px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin: 34px 0; }
.cta p { margin: 0; font-weight: 700; }
.cta .btn { background: var(--ice); }
.related h3 { font-size: 1rem; margin: 0 0 6px; }
.related ul { list-style: none; padding: 0; margin: 0 0 18px; }
.related a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.related a:hover { color: var(--ice); }
.tags { font-size: .82rem; color: var(--muted); }
.toc-in { position: sticky; top: 90px; border-top: 3px solid var(--ink); padding-top: 12px; }
.toc ol { padding-left: 18px; color: var(--muted); font-size: .9rem; margin: 8px 0 0; }

/* 푸터 */
.foot { background: var(--ink-2); color: rgba(255,255,255,.8); padding: 34px 0; margin-top: 40px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; font-size: .9rem; }
.foot b { color: #fff; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li span { display: inline-block; width: 70px; opacity: .55; }
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--ice); color: #fff; text-align: center; padding: 16px; font-weight: 800; text-decoration: none; }
@media (min-width: 900px) { .sticky { display: none; } body { padding-bottom: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .reveal-group > * { opacity: 1; transform: none; }
}

/* 카드 목록 — 첫 카드는 크게, 나머지 3열. 그림자 대신 배경색 차이 */
.cards { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--paper); }
.card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray); }
.card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.card a:hover img { transform: scale(1.05); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 0 0; border-top: 3px solid transparent; transition: border-color .3s; flex: 1; }
.card a:hover .card-body { border-top-color: var(--ice); }
.card .cat { font-size: .78rem; color: var(--ice); font-weight: 700; letter-spacing: .02em; }
.card strong { font-size: 1.06rem; line-height: 1.45; }
.card em { font-style: normal; font-size: .8rem; color: var(--muted); }
.card .more { margin-top: auto; padding-top: 8px; font-size: .82rem; font-weight: 700; color: var(--ink); }
.card .more::after { content: ''; display: inline-block; width: 18px; height: 1px; background: currentColor; vertical-align: middle; margin-left: 8px; transition: width .35s var(--ease); }
.card a:hover .more::after { width: 34px; }
.card.feature { grid-column: 1 / -1; }
.card.feature a { display: grid; width: 100%; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); background: var(--ink); color: #fff; }
.card.feature figure { aspect-ratio: auto; height: 440px; }
@media (max-width: 760px) { .card.feature figure { height: 260px; } }
.card.feature .card-body { padding: 36px; justify-content: flex-end; border: 0; }
.card.feature strong { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.card.feature .cat { color: var(--ice-2); } .card.feature em { color: rgba(255,255,255,.6); } .card.feature .more { color: #fff; }
@media (max-width: 760px) { .card.feature a { grid-template-columns: 1fr; } .card.feature .card-body { padding: 20px; } }
.card.hide { display: none; }
.cover { margin: 0 0 30px; aspect-ratio: 16 / 9; overflow: hidden; }
.cover img, .fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fig img { aspect-ratio: 4 / 3; }

/* 랜딩 — 사진 히어로 · 강점 · 모자이크 */
.hero.photo { padding: 0; min-height: 560px; display: flex; align-items: flex-end; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kb 18s var(--ease) both; }
.hero.photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,23,32,.92) 0%, rgba(15,23,32,.7) 45%, rgba(15,23,32,.25) 100%); }
.hero.photo .hero-in { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 72px; width: 100%; }
@keyframes kb { from { transform: scale(1.08); } to { transform: scale(1); } }
.actions { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; animation: rise 1s .3s var(--ease) both; }
.btn.ice { background: var(--ice); }
.link { color: #fff; text-decoration: none; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; transition: border-color .3s; }
.link:hover { border-color: var(--ice-2); }
@media (max-width: 640px) { .hero.photo { min-height: 480px; } .hero.photo::after { background: rgba(15,23,32,.72); } }
.why { background: var(--gray); }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.why-list li { padding: 30px 22px 30px 0; border-right: 1px solid var(--line); margin-right: 22px; }
.why-list li:last-child { border-right: 0; margin-right: 0; }
.why-list b { color: var(--ice); font-size: .85rem; }
.why-list strong { display: block; font-size: 1.08rem; margin: 6px 0; }
.why-list p { margin: 0; color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) { .why-list { grid-template-columns: 1fr 1fr; } .why-list li:nth-child(2) { border-right: 0; } }
@media (max-width: 520px) { .why-list { grid-template-columns: 1fr; } .why-list li { border-right: 0; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); } }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 10px; }
.tile { position: relative; overflow: hidden; display: block; color: #fff; text-decoration: none; background: var(--ink); }
.tile:first-child { grid-column: span 2; grid-row: span 2; }
.tile:nth-child(4), .tile:nth-child(5), .tile:nth-child(6) { grid-column: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .82; transition: transform .8s var(--ease), opacity .4s; }
.tile:hover img { transform: scale(1.06); opacity: .6; }
.tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px; background: rgba(15,23,32,.72); display: grid; gap: 2px; }
.tile b { font-size: 1.1rem; } .tile small { font-size: .8rem; opacity: .75; }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; } .tile:nth-child(n+4) { grid-column: auto; } .tile:nth-child(6) { grid-column: span 2; } }
@media (max-width: 560px) { .logo small { display: none; } .top nav .call { white-space: nowrap; } }

/* 글 본문 요소 */
.ticks { list-style: none; padding: 0; margin: 4px 0 18px; }
.ticks li { position: relative; padding: 6px 0 6px 26px; }
.ticks li::before { content: ''; position: absolute; left: 4px; top: 14px; width: 10px; height: 6px; border-left: 2px solid var(--ice); border-bottom: 2px solid var(--ice); transform: rotate(-45deg); }
.ticks.strong li { font-weight: 700; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0; }
.pair img { width: 100%; aspect-ratio: 9 / 14; object-fit: cover; display: block; }
.spec { overflow-x: auto; margin: 20px 0 30px; }
.spec table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 480px; }
.spec th, .spec td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.spec thead th { background: var(--ink); color: #fff; font-weight: 700; }
.spec tbody th { background: var(--gray); font-weight: 600; width: 30%; }
.qa { border-top: 1px solid var(--line); }
.qa:last-of-type { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; padding: 15px 30px 15px 0; font-weight: 700; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 1.3rem; color: var(--ice); transition: transform .3s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { margin: 0 0 16px; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 26px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gallery img:nth-child(n+5):nth-child(-n+8) { aspect-ratio: 4 / 3; }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr 1fr; } }
.why-box { background: var(--gray); padding: 24px 24px 12px; margin: 36px 0 0; }
.why-box h2 { margin: 0 0 8px; padding: 0; border: 0; font-size: 1.2rem; }

/* 가독성 (2026-10-27 요청): 짧은 문단, 넓은 줄·문단 간격 */
@media (min-width: 961px) { .art-grid { grid-template-columns: minmax(0, 700px) 240px; } }
article p { margin: 0 0 1.15em; font-size: 1.06rem; line-height: 1.95; letter-spacing: -0.005em; }
article h2 { margin: 60px 0 18px; padding-top: 18px; line-height: 1.45; }
article .answer { margin-bottom: 44px; }
article .answer p { font-size: 1.08rem; line-height: 1.85; margin: 8px 0 0; }
article .ticks { margin: 6px 0 26px; }
article .ticks li { line-height: 1.8; padding: 7px 0 7px 28px; }
article .check li { line-height: 1.7; }
article .qa p { line-height: 1.85; margin: 0 0 .9em; }
article .qa summary { line-height: 1.6; }
@media (max-width: 560px) { article p { font-size: 1.02rem; line-height: 1.9; } article h2 { margin-top: 48px; font-size: 1.22rem; } }
