/* ==========================================================
   페이지투웹 kit · 디자인 "회사 홈페이지" (home) — 메뉴를 누르면 화면이 바뀌는 작은 홈페이지.
   뼈대는 디케이락(dklok.com)을 재서 옮겼다(자세한 것은 home.js 첫머리).
   꾸밈은 design-taste-frontend와 impeccable 기준으로 짰다:
     · 글자 크기 다섯 가지(--t-display 64 / --t-head 32 / --t-lead 20 / --t-body 16 / --t-small 14, 휴대폰 30 / 22 / 18 / 16 / 14)
     · 제목 위 작은 이름 없음, 번호 없음. 선은 실제 표와 입력 칸에만. 그림자는 떠 있는 펼친 메뉴 하나뿐
     · 모서리는 모두 직각. 버튼은 한 가지 모양(직각, 채운 색)
     · 면은 선 대신 색 한 단계 차이로 나눈다: 흰 바탕 → 옅은 회색 면(--hm-soft) → 제품 사진 바탕(--hm-field) → 짙은 면(--hm-dark)
     · 강조색: 버튼·고른 분류·출고 한 줄은 --hm-hot(theme.accent2를 대비 4.5:1 넘게 누른 색), 링크·지금 탭은 --accent
   글꼴: 라틴·숫자 Archivo, 한글 Gothic A1(둘 다 OFL, 샘플 html에서 받는다).
   ========================================================== */
.hm {
  --hm-font: "Archivo", "Gothic A1", "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --t-display: clamp(30px, 4.45vw, 64px);
  --t-head: clamp(22px, 2.25vw, 32px);
  --t-lead: clamp(18px, 1.4vw, 20px);
  --t-body: 16px;
  --t-small: 14px;
  --hm-ink: #16181B;
  --hm-mute: #585E65;
  --hm-line: #D9DAD6;
  --hm-soft: #F1F1EE;
  --hm-field: #E3E4DF;   /* 제품 사진 바탕과 같은 색 */
  --hm-dark: color-mix(in srgb, var(--accent) 20%, #15171A);
  --hm-on-dark: color-mix(in srgb, #fff 72%, var(--hm-dark));
  --hm-hot: color-mix(in srgb, var(--accent-2) 74%, #000);
  --hm-pad: clamp(20px, 5vw, 72px);
  --hm-top-h: 84px;
  --hm-ease: cubic-bezier(.16, 1, .3, 1);
  margin: 0; background: #fff; color: var(--hm-ink);
  font: 400 var(--t-body)/1.7 var(--hm-font); word-break: keep-all; -webkit-font-smoothing: antialiased;
  caret-color: var(--accent);
}
html:has(> .hm) { scrollbar-color: #A9ADA7 #fff; }
.hm ::selection { background: var(--accent); color: #fff; }
.hm main { display: block; overflow-x: clip; }
.hm :where(h1, h2, h3, p, dl, dd, ul, ol, figure) { margin: 0; padding: 0; }
.hm :where(ul, ol) { list-style: none; }
.hm :where(a) { color: inherit; text-decoration: none; text-underline-offset: 5px; }
.hm :where(button) { border: 0; background: none; padding: 0; cursor: pointer; border-radius: 0; }
.hm :where(table) { width: 100%; border-collapse: collapse; }
.hm img { display: block; max-width: 100%; }
.hm figure img { width: 100%; height: 100%; object-fit: cover; }
.hm :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 0; }
.hm #hm-view:focus { outline: 0; }
.hm.hm-lock { overflow: hidden; }
.hm-wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--hm-pad); }
.hm-skip { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 10px 16px; background: var(--hm-ink); color: #fff; }
.hm-skip:focus { left: 8px; }
.hm svg { width: 20px; height: 20px; flex: none; }

/* 화면이 바뀔 때, 그리고 구역이 화면에 들어올 때 (start가 .hm-rise · .hm-shut을 붙인다. 스크립트가 안 돌면 처음부터 보인다) */
#hm-view > * { animation: hm-in .7s var(--hm-ease) both; }
@keyframes hm-in { from { opacity: 0; transform: translateY(14px); } }
.hm-rise { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--hm-ease), transform .8s var(--hm-ease); transition-delay: calc(var(--k, 0) * 80ms); }
.hm-rise.is-in { opacity: 1; transform: none; }
.hm-shut { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--hm-ease); }   /* 사진은 위에서 아래로 열린다 */
.hm-shut.is-in { clip-path: inset(0); }

/* ---------- 공통 조각 ---------- */
.hm-two { font-size: var(--t-head); line-height: 1.4; letter-spacing: -.03em; font-weight: 400; }
.hm-two strong { display: block; font-weight: 800; }
.hm-two span { display: block; }
.hm-para { margin-top: 20px; max-width: 34em; }
.hm-more { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; white-space: nowrap; }
.hm-more svg { transition: transform .4s var(--hm-ease); }
.hm-more:hover svg { transform: translateX(6px); }
.hm-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  background: var(--hm-hot); color: #fff; border: 0; border-radius: 0;
  font: 700 var(--t-body)/1 var(--hm-font); white-space: nowrap; cursor: pointer; transition: background .25s, color .25s, transform .15s;
}
.hm-btn:hover { background: var(--hm-ink); }
.hm-btn:active { transform: scale(.97); }
.hm-btn.is-soft { background: var(--hm-field); color: var(--hm-ink); }
.hm-btn.is-soft:hover { background: var(--hm-ink); color: #fff; }
.hm-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 32px; }
.hm-fine { font-size: var(--t-small); line-height: 1.6; color: var(--hm-mute); }
.hm-sec { padding: clamp(72px, 9.6vw, 140px) 0; }
.hm-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6.6vw, 96px); align-items: start; }
.hm-split > div > .hm-more { margin-top: 32px; }
/* 표(라벨 — 값): 선은 표에만 쓴다 */
.hm-rows { margin-top: 28px; }
.hm-rows tr { border-bottom: 1px solid var(--hm-line); }   /* taste-skill-ignore: 실제 표 */
.hm-rows :is(th, td) { padding: 15px 0; text-align: left; vertical-align: top; }
.hm-rows th { width: 7em; padding-right: 16px; font-weight: 700; white-space: nowrap; }
.hm-rows td a { color: var(--accent); font-weight: 500; }
.hm-rows td a:hover { text-decoration: underline; }
.hm-rows.is-wide th { width: 11em; }
/* 숫자 줄: 문장과 같은 크기의 줄글. 값만 굵다 */
.hm-facts { font-size: var(--t-head); line-height: 1.4; letter-spacing: -.03em; }
.hm-facts li + li { margin-top: .5em; }
.hm-facts strong { font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- 위 줄 ---------- */
.hm-top { position: sticky; top: 0; z-index: 30; background: #fff; }
.hm-top .hm-wrap { display: flex; align-items: center; height: var(--hm-top-h); }
.hm-brand { display: flex; align-items: center; flex: 1 1 0; }
.hm-brand img { height: 30px; width: auto; }
.hm-brand strong { font-size: var(--t-lead); font-weight: 800; letter-spacing: -.03em; }
.hm-nav { position: relative; z-index: 1; display: flex; }
.hm-nav > li { position: relative; width: 150px; text-align: center; }
.hm-nav > li > a { display: flex; align-items: center; justify-content: center; height: var(--hm-top-h); font-weight: 700; letter-spacing: -.02em; white-space: nowrap; transition: color .2s; }
.hm-nav > li > a[aria-current], .hm-nav > li:hover > a { color: var(--accent); }
.hm-sub { position: absolute; top: 100%; left: 0; right: 0; height: calc(var(--hm-sub-n) * 38px + 44px); padding: 20px 0; visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; }
.hm-sub a { display: block; padding: 7px 0; line-height: 24px; }
.hm-sub a:hover { color: var(--accent); text-decoration: underline; }
/* 펼친 메뉴 판: 내용 위에 실제로 떠 있어서 그림자를 쓴다 */
.hm-top::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: calc(var(--hm-sub-n) * 38px + 44px); background: #fff; box-shadow: 0 24px 32px -24px rgba(0, 0, 0, .3); /* taste-skill-ignore: 떠 있는 메뉴 */ opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; pointer-events: none; }
.hm-top:not(.is-picked):has(.hm-nav:hover, .hm-nav:focus-within)::after,
.hm-top:not(.is-picked) .hm-nav:is(:hover, :focus-within) .hm-sub { opacity: 1; visibility: visible; }
.hm-util { display: flex; align-items: center; justify-content: flex-end; gap: 20px; flex: 1 1 0; }
.hm-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hm-tel svg { width: 18px; height: 18px; }
.hm-top .hm-btn { min-height: 42px; padding: 0 18px; }
.hm-menu { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.hm-menu svg { width: 24px; height: 24px; }
.hm-menu svg + svg, .hm-top.is-open .hm-menu svg:first-child { display: none; }
.hm-top.is-open .hm-menu svg + svg { display: block; }

/* ---------- 처음 화면: 한 문장 + 출고 한 줄 + 사진 줄 ---------- */
.hm-hero { padding: clamp(28px, 3.4vw, 52px) 0 0; text-align: center; }
.hm-statement { padding: 0 var(--hm-pad); font-size: var(--t-display); line-height: 1.2; font-weight: 800; letter-spacing: -.04em; }
.hm-statement span { display: inline-block; }
.hm-live { margin-top: 12px; padding: 0 var(--hm-pad); font-size: var(--t-lead); line-height: 1.5; font-variant-numeric: tabular-nums; }
.hm-live b { font-weight: 800; }
.hm-live.is-open b { color: var(--hm-hot); }
.hm-car { position: relative; margin-top: clamp(24px, 2.8vw, 40px); overflow: clip; container-type: inline-size; touch-action: pan-y; text-align: left; --sw: min(1240px, 100cqw - 200px); --gap: 12px; }
.hm-track { display: flex; gap: var(--gap); width: max-content; transform: translateX(calc(50cqw - var(--sw) / 2 - var(--i) * (var(--sw) + var(--gap)))); transition: transform .8s var(--hm-ease); }
.hm-track.is-jump { transition: none; }
.hm-slide { position: relative; flex: none; width: var(--sw); aspect-ratio: 1240 / 580; overflow: hidden; background: var(--hm-field); user-select: none; }
.hm-slide img { pointer-events: none; transition: transform 7s linear; }
.hm-slide.is-on img { transform: scale(1.06); }   /* 지금 사진은 아주 천천히 다가온다 */
/* 사진 위 글이 읽히게 아래쪽만 어둡게 (사진 위 중립 가림막) */
.hm-slide::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(8, 12, 16, .66)); /* taste-skill-ignore: 사진 위 글 가림막 */ opacity: 0; transition: opacity .6s; }
.hm-slide figcaption { position: absolute; left: clamp(20px, 4cqw, 52px); right: 20px; bottom: clamp(20px, 3.6cqw, 48px); z-index: 1; color: #fff; font-size: var(--t-head); line-height: 1.35; letter-spacing: -.03em; opacity: 0; transform: translateY(12px); transition: opacity .6s .15s, transform .8s .15s var(--hm-ease); }
.hm-slide figcaption span { display: block; font-weight: 400; }
.hm-slide figcaption strong { display: block; font-weight: 800; }
.hm-slide.is-on::after { opacity: 1; }
.hm-slide.is-on figcaption { opacity: 1; transform: none; }
.hm-prev, .hm-next { position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; margin-top: -26px; display: grid; place-items: center; background: #fff; color: var(--hm-ink); transition: background .25s, color .25s; }
.hm-prev svg, .hm-next svg { width: 24px; height: 24px; }
.hm-prev { left: calc(50% - var(--sw) / 2); }
.hm-next { right: calc(50% - var(--sw) / 2); }
.hm-prev:hover, .hm-next:hover { background: var(--hm-ink); color: #fff; }
.hm-count { position: absolute; z-index: 2; right: calc(50% - var(--sw) / 2 + 28px); bottom: 24px; color: #fff; font-size: var(--t-small); font-weight: 500; font-variant-numeric: tabular-nums; }
.hm-count b { font-weight: 800; }

/* ---------- 제품: 짙은 분류 판 + 사진 타일이 한 판처럼 붙는다 ---------- */
.hm-prod { padding-top: 0; }
.hm-prod-grid { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 12px; align-items: stretch; }
.hm-panel { display: flex; flex-direction: column; padding: 44px 36px 36px; background: var(--hm-dark); color: #fff; }
.hm-cats { display: grid; gap: 4px; margin: 40px -16px 32px; }
.hm-cats button { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 58px; padding: 0 16px; color: #fff; font: 500 var(--t-lead)/1 var(--hm-font); text-align: left; transition: background .25s; }
.hm-cats button span { font-size: var(--t-small); color: var(--hm-on-dark); font-variant-numeric: tabular-nums; }
.hm-cats button:hover { background: rgba(255, 255, 255, .1); }
.hm-cats button[aria-selected=true] { background: var(--hm-hot); font-weight: 700; }
.hm-cats button[aria-selected=true] span { color: #fff; }
.hm-panel .hm-more { margin-top: auto; padding-top: 8px; }
.hm-side { display: flex; flex-direction: column; gap: 28px; min-width: 0; padding: 32px; background: var(--hm-soft); }
.hm-side-head { display: grid; grid-template-columns: auto minmax(0, 34em) 1fr; align-items: baseline; gap: 6px 20px; }
.hm-side-head .hm-more { justify-self: end; }
.hm-side-head h3 { font-size: var(--t-lead); line-height: 1.3; font-weight: 800; letter-spacing: -.03em; }
.hm-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-content: start; }
.hm-tile { display: block; }
.hm-tile figure { aspect-ratio: 1; overflow: hidden; background: var(--hm-field); }
.hm-tile figure img { transition: transform .8s var(--hm-ease); }
a.hm-tile:hover figure img { transform: scale(1.06); }
.hm-tile > span { display: block; padding: 14px 2px 0; }
.hm-tile b { display: block; font-size: var(--t-lead); line-height: 1.35; font-weight: 700; letter-spacing: -.02em; }
.hm-tile em { display: block; margin-top: 2px; font-style: normal; font-size: var(--t-small); font-weight: 500; color: var(--hm-mute); }
.hm-tile p { margin-top: 10px; padding: 0 2px; line-height: 1.6; }
.hm-tile .hm-more { margin: 12px 2px 0; color: var(--accent); }
/* 넓은 화면: 타일 사진이 짙은 판 높이에 맞춰 늘어난다 */
@media (min-width: 900px) {
  .hm-side > .hm-tiles { flex: 1; align-content: stretch; }
  .hm-side .hm-tile { display: flex; flex-direction: column; }
  .hm-side .hm-tile figure { flex: 1; aspect-ratio: auto; min-height: 240px; }
}
.hm-side > * { animation: hm-in .6s var(--hm-ease) both; }
.hm-side > .hm-tiles { animation-delay: .08s; }

/* ---------- 소식: 옅은 면. 왼쪽 목록, 오른쪽 큰 사진 글 ---------- */
.hm-news { background: var(--hm-soft); }
.hm-list { margin-top: 36px; }
.hm-item { display: grid; grid-template-columns: 7.2em 1fr; gap: 0 16px; align-items: baseline; padding: 14px 0; }
.hm-item time { font-size: var(--t-small); color: var(--hm-mute); font-variant-numeric: tabular-nums; }
.hm-item b { display: block; font-size: var(--t-lead); line-height: 1.45; font-weight: 700; letter-spacing: -.02em; }
.hm-item em { font-style: normal; font-size: var(--t-small); color: var(--hm-mute); }
.hm-item:hover b { text-decoration: underline; }
.hm-item figure { overflow: hidden; background: var(--hm-field); }
.hm-feature { display: block; }
.hm-feature figure { aspect-ratio: 16 / 10; overflow: hidden; background: var(--hm-field); }
.hm-feature figure img { transition: transform .8s var(--hm-ease); }
.hm-feature:hover figure img { transform: scale(1.04); }
.hm-feature b { display: block; margin-top: 20px; font-size: var(--t-lead); line-height: 1.45; font-weight: 700; letter-spacing: -.02em; }
.hm-feature:hover b { text-decoration: underline; }
.hm-feature span { display: block; margin-top: 4px; font-size: var(--t-small); color: var(--hm-mute); font-variant-numeric: tabular-nums; }
/* 소식 화면: 한 줄이 옅은 면 한 칸 */
.hm-list.is-all { display: grid; gap: 8px; margin-top: clamp(36px, 4vw, 56px); }
.hm-list.is-all .hm-item { grid-template-columns: 7.2em 1fr 150px; align-items: center; min-height: 118px; padding: 12px 12px 12px 28px; background: var(--hm-soft); transition: background .25s; }
.hm-list.is-all .hm-item:hover { background: var(--hm-field); }
.hm-list.is-all .hm-item figure { grid-column: 3; aspect-ratio: 16 / 10; }

/* ---------- 지도 + 연락처 ---------- */
.hm-contact .hm-split { grid-template-columns: 1.2fr 1fr; align-items: center; }
.hm-map { aspect-ratio: 4 / 3; overflow: hidden; background: var(--hm-field); }
.hm-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.8); }

/* ---------- 바닥글: 짙은 면 ---------- */
.hm-foot { padding: clamp(64px, 7vw, 104px) 0 56px; background: var(--hm-dark); color: var(--hm-on-dark); line-height: 1.7; }
.hm-close { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; color: #fff; }
.hm-close > p { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hm-close-tel { font-size: var(--t-head); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hm-close-tel:hover { text-decoration: underline; }
.hm-foot .hm-btn:hover { background: #fff; color: var(--hm-ink); }
.hm-foot-nav { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: clamp(48px, 6vw, 88px) 0 18px; font-size: var(--t-body); font-weight: 700; color: #fff; }
.hm-foot-nav a:hover { text-decoration: underline; }
.hm-foot p:not(.hm-close p) { display: flex; flex-wrap: wrap; gap: 0 22px; max-width: 60ch; }
.hm-foot p b { margin-right: 6px; font-weight: 700; color: #fff; }
.hm-copy { margin-top: 14px; }

/* ---------- 하위 화면 틀 ---------- */
.hm-phead { padding-top: clamp(32px, 4.4vw, 60px); }
.hm-phead .hm-wrap { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 24px; }
.hm-phead h1 { grid-column: 1 / -1; font-size: var(--t-display); line-height: 1.2; font-weight: 800; letter-spacing: -.04em; }
.hm-tabs { display: flex; gap: clamp(22px, 2.6vw, 40px); margin-top: clamp(16px, 1.8vw, 26px); overflow-x: auto; scrollbar-width: none; }
.hm-tabs::-webkit-scrollbar { display: none; }
.hm-tabs a { padding: 6px 0 10px; border-bottom: 3px solid transparent; font-weight: 500; color: var(--hm-mute); white-space: nowrap; transition: color .2s; }
.hm-tabs a:hover { color: var(--hm-ink); }
.hm-tabs a[aria-current] { color: var(--accent); font-weight: 800; border-color: var(--accent); }
.hm-crumbs { display: flex; align-items: center; gap: 8px; padding-bottom: 14px; font-size: var(--t-small); color: var(--hm-mute); white-space: nowrap; }
.hm-crumbs li + li::before { content: "›"; margin-right: 8px; }
.hm-crumbs li:last-child { color: var(--hm-ink); font-weight: 700; }
.hm-crumbs svg { width: 16px; height: 16px; vertical-align: -3px; }
.hm-banner { height: clamp(150px, 23vw, 330px); margin-top: clamp(16px, 2vw, 28px); background: var(--hm-field); overflow: hidden; }
.hm-body { padding-top: clamp(44px, 5.6vw, 84px); padding-bottom: clamp(72px, 9.6vw, 140px); }
.hm-block { margin-top: clamp(56px, 6.6vw, 96px); }
.hm-block h3 { font-size: var(--t-lead); font-weight: 800; letter-spacing: -.03em; }
.hm-block .hm-rows { margin-top: 12px; }

/* 회사소개 */
.hm-greet { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 5.6vw, 84px); align-items: start; margin-top: clamp(36px, 4vw, 56px); }
.hm-greet figure img { aspect-ratio: 4 / 3; height: auto; }
.hm-greet figcaption { margin-top: 10px; font-size: var(--t-small); color: var(--hm-mute); }
.hm-greet p { line-height: 1.9; max-width: 36em; }
.hm-greet p + p { margin-top: 1.2em; }
.hm-greet .hm-sign { margin-top: 40px; }
.hm-sign strong { margin-left: 14px; font-size: var(--t-lead); font-weight: 800; letter-spacing: .06em; }
.hm-over { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 6.6vw, 96px); align-items: start; margin-top: clamp(36px, 4vw, 56px); }
.hm-over .hm-rows { margin-top: 0; }
.hm-decades { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin-top: clamp(36px, 4vw, 56px); }
.hm-decades button { min-height: 60px; background: var(--hm-soft); font: 700 var(--t-body)/1 var(--hm-font); color: var(--hm-ink); transition: background .25s, color .25s; }
.hm-decades button:hover { background: var(--hm-field); }
.hm-decades button[aria-selected=true] { background: var(--accent); color: #fff; }
.hm-years { animation: hm-in .6s var(--hm-ease) both; }
.hm-years section { display: grid; grid-template-columns: minmax(120px, 260px) 1fr; padding-top: clamp(32px, 3.6vw, 52px); }
.hm-years h3 { font-size: var(--t-head); line-height: 1.3; font-weight: 800; color: var(--hm-hot); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hm-years li { display: grid; grid-template-columns: 4em 1fr; padding: 6px 0 12px; }
.hm-years li b { font-weight: 700; font-variant-numeric: tabular-nums; }

/* 제품 */
.hm-group { display: grid; grid-template-columns: minmax(180px, 260px) 1fr; gap: clamp(24px, 4.4vw, 64px); margin-top: clamp(56px, 6.6vw, 96px); }
.hm-two + .hm-group { margin-top: clamp(36px, 4vw, 56px); }
.hm-group-head { position: sticky; top: calc(var(--hm-top-h) + 24px); align-self: start; }
.hm-group-head h3 { font-size: var(--t-head); line-height: 1.3; font-weight: 800; letter-spacing: -.03em; }
.hm-group-head p { margin-top: 10px; line-height: 1.65; }
.hm-docs { display: grid; gap: 8px; margin-top: clamp(56px, 6.6vw, 96px); }
.hm-docs a { display: grid; grid-template-columns: minmax(8em, 16em) 1fr auto; align-items: center; gap: 16px; padding: 26px 28px; background: var(--hm-soft); transition: background .25s; }
.hm-docs a:hover { background: var(--hm-field); }
.hm-docs b { font-size: var(--t-lead); font-weight: 700; letter-spacing: -.02em; }
.hm-docs svg { transition: transform .4s var(--hm-ease); }
.hm-docs a:hover svg { transform: translateX(6px); }

/* 소식 글 */
.hm-article { max-width: 820px; }
.hm-article h2 { font-size: var(--t-head); line-height: 1.35; font-weight: 800; letter-spacing: -.03em; }
.hm-article header p { margin-top: 12px; font-size: var(--t-small); color: var(--hm-mute); font-variant-numeric: tabular-nums; }
.hm-article figure { margin-top: 36px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hm-field); }
.hm-article > p { margin-top: 1.4em; line-height: 1.9; }
.hm-article figure + p, .hm-article header + p { margin-top: 36px; }
.hm-article .hm-more { color: var(--accent); }
.hm-near { display: grid; gap: 8px; max-width: 820px; margin-top: clamp(48px, 5.6vw, 80px); }
.hm-near a { display: grid; grid-template-columns: 5em 1fr auto; gap: 16px; align-items: baseline; padding: 20px 24px; background: var(--hm-soft); transition: background .25s; }
.hm-near a:hover { background: var(--hm-field); }
.hm-near em { font-style: normal; font-size: var(--t-small); color: var(--hm-mute); }
.hm-near b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-near time { font-size: var(--t-small); color: var(--hm-mute); font-variant-numeric: tabular-nums; }

/* 오시는 길 · 문의 */
.hm-where { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4.4vw, 64px); align-items: start; margin-top: clamp(36px, 4vw, 56px); }
.hm-where .hm-map { aspect-ratio: 16 / 10; }
.hm-where .hm-rows { margin-top: 0; }
.hm-table { margin-top: 12px; overflow-x: auto; }
.hm-table tr { border-bottom: 1px solid var(--hm-line); }   /* taste-skill-ignore: 실제 표 */
.hm-table :is(th, td) { padding: 16px 16px 16px 0; text-align: left; font-weight: 400; white-space: nowrap; }
.hm-table thead th { font-size: var(--t-small); font-weight: 700; color: var(--hm-mute); padding-block: 12px; }
.hm-table tbody th { font-weight: 700; }
.hm-table td a { font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 700; }
.hm-table td a:hover { text-decoration: underline; }
.hm-ask { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(28px, 5.6vw, 84px); align-items: start; margin-top: clamp(36px, 4vw, 56px); }
.hm-ask .hm-rows { margin-top: 0; }
.hm-ask .hm-fine { margin-top: 20px; }
.hm-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: clamp(22px, 2.8vw, 40px); background: var(--hm-soft); }
.hm-form .is-full { grid-column: 1 / -1; }
.hm-form label > span { display: block; margin-bottom: 8px; font-size: var(--t-small); font-weight: 700; }
.hm-form :is(input:not([type=checkbox]), select, textarea) { width: 100%; min-height: 52px; padding: 0 16px; background: #fff; border: 1px solid #A9ADA7; border-radius: 0; font: 400 var(--t-body)/1.5 var(--hm-font); color: var(--hm-ink); }   /* taste-skill-ignore: 입력 칸 */
.hm-form textarea { padding: 14px 16px; resize: vertical; }
.hm-form ::placeholder { color: #6B7178; }
.hm-form :is(input, select, textarea):focus-visible { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.hm-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.hm-check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--accent); flex: none; }
.hm-form .hm-check > span { margin: 0; font-weight: 400; font-size: var(--t-body); line-height: 1.6; }
.hm-form-msg { padding: 14px 16px; background: #fff; color: var(--hm-hot); font-weight: 700; }
.hm-form .hm-acts { margin-top: 4px; }

/* ---------- 좁은 화면 ---------- */
@media (max-width: 1180px) {
  .hm-tel span { display: none; }
  .hm-nav > li { width: 128px; }
  .hm-car { --sw: min(1240px, 100cqw - 120px); }
}
@media (max-width: 899px) {
  .hm { --hm-top-h: 60px; }
  .hm-top nav { position: fixed; inset: var(--hm-top-h) 0 0; display: none; padding: 4px var(--hm-pad) 48px; background: #fff; overflow-y: auto; overscroll-behavior: contain; }
  .hm-top.is-open nav { display: block; }
  .hm-nav { display: block; }
  .hm-nav > li { width: auto; padding: 20px 0; text-align: left; }
  .hm-nav > li > a { justify-content: flex-start; height: auto; font-size: var(--t-head); font-weight: 800; }
  .hm-sub { position: static; display: flex; flex-wrap: wrap; gap: 2px 20px; height: auto; padding: 8px 0 0; visibility: visible; opacity: 1; }
  .hm-sub a { padding: 6px 0; font-size: var(--t-body); }
  .hm-top::after { display: none; }
  .hm-brand img { height: 26px; }
  .hm-util { gap: 4px; }
  .hm-top .hm-btn { display: none; }
  .hm-tel { width: 44px; height: 44px; justify-content: center; }
  .hm-tel svg { width: 22px; height: 22px; }
  .hm-menu { display: inline-flex; margin-right: -10px; }

  .hm-car { --sw: calc(100cqw - 32px); --gap: 8px; }
  .hm-slide { aspect-ratio: 5 / 4; }
  .hm-slide figcaption { left: 20px; right: 16px; bottom: 44px; }
  .hm-prev, .hm-next { display: none; }
  .hm-count { right: auto; left: 36px; bottom: 18px; }
  .hm-split, .hm-contact .hm-split, .hm-where, .hm-ask, .hm-greet, .hm-over { grid-template-columns: 1fr; }
  .hm-prod-grid { grid-template-columns: 1fr; gap: 8px; }
  .hm-panel { padding: 32px 24px 28px; }
  .hm-cats { grid-template-columns: 1fr 1fr; margin: 24px -8px 22px; }
  .hm-cats button { min-height: 52px; padding: 0 12px; }
  .hm-side { padding: 24px 16px 16px; gap: 20px; }
  .hm-side-head { grid-template-columns: 1fr; }
  .hm-side-head .hm-more { margin-top: 8px; justify-self: start; }
  .hm-tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hm-side .hm-tiles > :first-child { grid-column: 1 / -1; }
  .hm-side .hm-tiles > :first-child figure { aspect-ratio: 16 / 10; }
  .hm-side .hm-tiles > :first-child figure img { object-fit: contain; }
  .hm-item { grid-template-columns: 1fr; padding: 12px 0; }
  .hm-list.is-all .hm-item { grid-template-columns: 1fr 96px; min-height: 0; padding: 14px 12px 14px 18px; }
  .hm-list.is-all .hm-item :is(time, span) { grid-column: 1; }
  .hm-list.is-all .hm-item figure { grid-column: 2; grid-row: 1 / span 2; }
  .hm-close { display: block; }
  .hm-close > p { margin-top: 24px; }
  .hm-foot p:not(.hm-close p) { display: block; }
  .hm-foot p:not(.hm-close p) span { display: block; }

  .hm-phead .hm-wrap { grid-template-columns: 1fr; }
  .hm-crumbs { display: none; }
  .hm-tabs { margin-inline: calc(var(--hm-pad) * -1); padding-inline: var(--hm-pad); }
  .hm-banner { margin-top: 0; }
  .hm-rows.is-wide th { width: 7em; }
  .hm-ask > div { order: 2; }
  .hm-years section { grid-template-columns: 1fr; padding-top: 28px; }
  .hm-years h3 { margin-bottom: 6px; }
  .hm-group { grid-template-columns: 1fr; gap: 20px; }
  .hm-group-head { position: static; }
  .hm-tiles.is-list { grid-template-columns: 1fr; gap: 8px; }
  .hm-tiles.is-list .hm-tile { display: grid; grid-template-columns: 104px 1fr; column-gap: 16px; align-content: start; }
  .hm-tiles.is-list .hm-tile figure { grid-row: 1 / span 3; align-self: start; }
  .hm-tiles.is-list .hm-tile > span { padding: 0; }
  .hm-tiles.is-list .hm-tile p { padding: 0; margin-top: 4px; font-size: var(--t-small); }
  .hm-tiles.is-list .hm-tile .hm-more { margin: 8px 0 12px; }
  .hm-docs a { grid-template-columns: 1fr auto; gap: 2px 12px; padding: 20px; }
  .hm-docs span { grid-column: 1; grid-row: 2; font-size: var(--t-small); }
  .hm-docs svg { grid-row: 1 / span 2; }
  .hm-near a { grid-template-columns: 4.2em 1fr; padding: 16px 18px; }
  .hm-near time { display: none; }
  .hm-form { grid-template-columns: 1fr; margin-inline: calc(var(--hm-pad) * -.4); }
  .hm-table :is(th, td) { padding: 14px 12px 14px 0; }
  .hm-acts .hm-btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .hm-track { transition: none; }
  html:not(.force-motion) :is(#hm-view > *, .hm-side > *, .hm-years) { animation-name: hm-fade; }
  @keyframes hm-fade { from { opacity: 0; } }
  html:not(.force-motion) .hm-slide figcaption { transform: none; }
  html:not(.force-motion) .hm-slide img { transition: none; transform: none; }
  html:not(.force-motion) .hm-rise { transform: none; transition-delay: 0s; }
  html:not(.force-motion) .hm-shut { clip-path: none; transition: none; }
  html:not(.force-motion) :is(.hm-tile, .hm-feature) figure img { transition: none; }
}
@media print {
  .hm-top, .hm-prev, .hm-next { display: none; }
}
