/* ==========================================================================
   EUNJIN INDUSTRIAL — 리뉴얼 디자인 시스템
   로고(수정로고.pdf) 기준: EUNJIN BLUE #022d5d / EUNJIN GREEN #34af50
   모티프: E 상단의 그린 바, N·J 사선(약 54°), 각진 헤비 산세리프
   ========================================================================== */
/* 웹폰트(Pretendard)는 각 HTML <head>에서 비차단 방식으로 불러옵니다. */

:root {
  --navy: #022d5d;
  --navy-900: #011b3a;
  --navy-700: #0b3d78;
  --navy-100: #e3eaf3;
  --green: #34af50;
  --green-700: #1f7a36;
  --green-100: #e4f5e8;
  --ink: #0f1b2d;
  --body: #364356;
  --muted: #66727f;
  --line: #dbe2eb;
  --bg: #f3f6fa;
  --white: #fff;
  --warn: #b4480a;
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --slant: 54px;
  --font: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", "Noto Sans KR", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
body {
  margin: 0; font-family: var(--font); color: var(--body); background: var(--white);
  font-size: 16px; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.22; letter-spacing: -0.02em; font-weight: 800; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
/* 포커스 링: 밝은 배경에서는 네이비, 네이비 배경에서는 안쪽 그린 띠가 보이도록 이중으로 */
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; box-shadow: 0 0 0 2px var(--green); }
::placeholder { color: var(--muted); opacity: 1; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--navy); color: #fff; padding: 12px 18px; font-weight: 800; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section--tint { background: var(--bg); }
.section--navy { background: var(--navy); color: #c9d6e6; }
.section--navy h2, .section--navy h3 { color: #fff; }

/* 타이포 */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy);
}
.eyebrow::before { content: ""; width: 34px; height: 8px; background: var(--green); flex: none; }
.section--navy .eyebrow { color: #fff; }
.h-xl { font-size: clamp(34px, 5.4vw, 68px); font-weight: 900; letter-spacing: -0.035em; line-height: 1.1; }
.h-lg { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.03em; }
.h-md { font-size: clamp(21px, 2.2vw, 27px); }
.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--body); max-width: 62ch; }
.section--navy .lead { color: #c9d6e6; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head--center { justify-items: center; text-align: center; }
.num { font-variant-numeric: tabular-nums; }

/* 버튼 — 로고처럼 각지게 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  font-weight: 800; font-size: 16px; letter-spacing: -0.01em; border: 2px solid transparent; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s; white-space: nowrap;
}
.btn::after { content: "→"; font-weight: 700; transition: transform .18s; }
.btn:hover::after { transform: translateX(4px); }
.btn--plain::after { content: none; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-900); }
.btn--green { background: var(--green); color: var(--navy-900); }
.btn--green:hover { background: #45c463; }
.btn--line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--line:hover { background: var(--navy); color: #fff; }
.hero .btn--line { background: var(--bg); }
.hero .btn--line:hover { background: var(--navy); }
.btn--white { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--white:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 800; color: var(--navy); display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .18s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------------------------------------------------------------- 헤더 */
.topbar { background: var(--navy-900); color: #cfdcec; font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { display: inline-flex; gap: 8px; align-items: center; }
.topbar a:hover { color: #fff; }
.topbar b { color: #7fe097; font-weight: 800; }
.topbar__right { display: flex; gap: 22px; white-space: nowrap; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.header__logo img { height: 40px; width: auto; }
.header__logo { display: flex; align-items: center; gap: 12px; flex: none; }
.header__tag { font-size: 12px; font-weight: 900; letter-spacing: .18em; color: var(--navy-900); background: var(--green); padding: 4px 9px 3px; }
.nav { display: flex; gap: clamp(8px, 2vw, 30px); margin-left: auto; }
.nav a { position: relative; font-weight: 700; font-size: 16px; color: var(--ink); padding: 26px 2px; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--navy); }
.nav .nav__mobile { display: none; }
.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.cart-link { position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; min-height: 42px; padding: 0 14px; border: 2px solid var(--navy); color: var(--navy); }
.cart-link:hover { background: var(--navy); color: #fff; }
.cart-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; background: var(--green); color: var(--navy-900); font-size: 12.5px; font-weight: 900; display: inline-grid; place-items: center; }
.menu-btn { display: none; width: 46px; height: 46px; border: 2px solid var(--navy); background: #fff; cursor: pointer; padding: 0; margin-left: auto; }
.menu-btn span { display: block; width: 20px; height: 3px; background: var(--navy); margin: 4px auto; }
.menu-btn span:first-child { background: var(--green); }

@media (max-width: 1080px) {
  .menu-btn { display: block; flex: none; margin-left: 0; order: 3; }
  .header__actions { margin-left: auto; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; margin: 0; box-shadow: 0 18px 30px rgba(1,27,58,.12); max-height: calc(100vh - 66px); max-height: calc(100dvh - 66px); overflow-y: auto; overscroll-behavior: contain; }
  .nav.is-open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { height: 4px; width: 34px; right: auto; }
  .nav .nav__mobile { display: block; color: var(--green-700); font-weight: 800; border-bottom: 0; }
  .header__actions .btn { display: none; }
  .header .wrap { gap: 12px; min-height: 66px; }
  .header__logo img { height: 34px; }
  .topbar__right { display: none; }
}
@media (max-width: 480px) {
  .header .wrap { gap: 8px; }
  .header__logo { gap: 8px; }
  .header__logo img { height: 28px; }
  .header__tag { font-size: 10.5px; letter-spacing: .12em; padding: 3px 6px 2px; }
  .cart-link { padding: 0 9px; gap: 6px; }
  .cart-link__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu-btn { width: 42px; height: 42px; }
}

/* ---------------------------------------------------------------- 히어로 */
.hero { position: relative; background: var(--bg); overflow: hidden; isolation: isolate; }
.hero__bands { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bands i { position: absolute; display: block; transform: skewX(36deg); }
.hero__bands .b1 { right: -4%; top: -10%; bottom: -10%; width: 17%; background: var(--navy); }
.hero__bands .b2 { right: 15%; top: -10%; bottom: -10%; width: 3.4%; background: var(--green); }
.hero__bands .b3 { left: -8%; top: -10%; bottom: -10%; width: 14%; background: var(--navy); opacity: .05; }
.hero .hero__slide > .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 24px; min-height: min(760px, calc(100vh - 116px)); padding-top: 48px; padding-bottom: 48px; }
.hero__copy { display: grid; gap: 22px; justify-items: start; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; padding: 7px 14px 6px; letter-spacing: .02em; }
.hero__badge em { white-space: nowrap; font-style: normal; color: var(--navy-900); background: var(--green); padding: 1px 8px; font-weight: 900; }
.hero .h-xl em { font-style: normal; color: var(--navy); position: relative; white-space: nowrap; }
.hero .h-xl em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .16em; background: var(--green); z-index: -1; }
.hero__visual { position: relative; align-self: end; display: grid; justify-items: center; }
.hero__visual img { width: min(100%, 560px); filter: drop-shadow(0 30px 30px rgba(1,27,58,.22)); }
/* 수치 카드는 제품 이미지를 가리지 않도록 이미지 왼쪽 바깥(문구 쪽 빈 자리)에 둔다 */
.hero__spec { position: absolute; left: auto; right: 100%; bottom: 0; margin-right: 10px; white-space: nowrap; background: #fff; border-left: 8px solid var(--green); padding: 14px 20px; box-shadow: 0 18px 40px rgba(1,27,58,.14); }
.hero__spec strong { display: block; font-size: 30px; font-weight: 900; color: var(--navy); line-height: 1.1; letter-spacing: -.03em; }
.hero__spec span { font-size: 13px; color: var(--muted); font-weight: 600; }
.hero__visual--wide img { width: min(100%, 660px); }
.hero__visual--tall img { width: auto; max-width: 100%; max-height: max(340px, min(600px, calc(100vh - 340px))); }

/* 상단 제품 소개 전환: 슬라이드를 같은 자리에 겹쳐 두고, 이전 것이 사라진 뒤 다음 것이 나타난다 (메인 · 스토어 공용) */
.hero__slides { display: grid; }
.hero__slide { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility 0s linear .55s; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity .9s ease .3s, visibility 0s; }
.hero__nav { position: relative; z-index: 2; display: flex; align-items: stretch; gap: 10px; padding-bottom: 28px; }
.hero__tab { position: relative; flex: 0 1 230px; min-width: 0; text-align: left; background: rgba(255,255,255,.72); border: 0; border-top: 5px solid var(--line); padding: 12px 14px 11px; font-weight: 800; font-size: 15.5px; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.hero__tab small { display: block; font-size: 12px; font-weight: 900; letter-spacing: .14em; color: var(--green-700); margin-bottom: 2px; }
.hero__tab:hover { background: #fff; color: var(--navy); }
.hero__tab[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: 0 12px 26px rgba(1,27,58,.1); }
.hero__tab::after { content: ""; position: absolute; left: 0; top: -5px; height: 5px; width: 0; background: var(--green); }
.hero__tab[aria-pressed="true"]::after { width: 100%; }
[data-playing="true"] .hero__tab[aria-pressed="true"]::after { animation: ej-progress 6.5s linear both; }
@keyframes ej-progress { from { width: 0; } to { width: 100%; } }
.hero__toggle { flex: none; width: 48px; border: 0; background: rgba(255,255,255,.72); cursor: pointer; display: grid; place-items: center; }
.hero__toggle:hover { background: #fff; }
.hero__toggle span { display: block; width: 14px; height: 16px; border-left: 5px solid var(--navy); border-right: 5px solid var(--navy); }
.hero__toggle[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-left: 15px solid var(--navy); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
/* 메인(데스크톱): 제품 선택 탭을 첫 화면 안쪽 아래에 겹쳐 놓아 스크롤 없이 보이게 한다 */
@media (min-width: 901px) {
  .hero > .hero__nav { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 26px; }
  .hero .hero__slide > .wrap { padding-bottom: 112px; }
  .hero .hero__tab { flex-basis: 200px; }
}
.store-hero .hero__nav { padding-bottom: 24px; }
.store-hero .hero__tab { background: rgba(255,255,255,.1); color: #c9d6e6; border-top-color: rgba(255,255,255,.28); }
.store-hero .hero__tab small { color: #7fe097; }
.store-hero .hero__tab:hover, .store-hero .hero__tab[aria-pressed="true"] { background: #fff; color: var(--navy); }
.store-hero .hero__tab[aria-pressed="true"] small, .store-hero .hero__tab:hover small { color: var(--green-700); }
.store-hero .hero__toggle { background: rgba(255,255,255,.9); }
@media (max-width: 700px) { .hero__nav { gap: 6px; padding-bottom: 20px; } .hero__tab { flex: 1 1 0; padding: 10px 8px 9px; font-size: 13px; line-height: 1.3; } .hero__tab small { font-size: 11px; } .hero__toggle { width: 40px; } }
@media (min-width: 901px) { .hero__visual img { width: auto; max-width: min(100%, 560px); max-height: max(340px, calc(100vh - 340px)); } .hero__visual--wide img { max-width: min(100%, 640px); } }
@media (max-width: 900px) {
  .hero .hero__slide > .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; padding-bottom: 0; }
  .hero__visual img { width: min(82%, 420px); }
  .hero__bands { top: 58%; }
  .hero__bands .b1 { width: 30%; right: -12%; top: 0; }
  .hero__bands .b2 { right: 24%; width: 6%; top: 0; }
  .hero__bands .b3 { display: none; }
  .hero__badge { font-size: 12.5px; padding: 6px 10px 5px; }
  .hero__spec { position: static; order: -1; justify-self: start; margin: 0 0 12px; padding: 10px 14px; }
  .hero__spec strong { font-size: 24px; }
}

/* 숫자 스트립 */
.stats { background: var(--navy); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px 32px; border-left: 1px solid rgba(255,255,255,.14); display: grid; gap: 6px; align-content: start; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat dt { font-size: 14px; color: #a9bdd6; font-weight: 600; }
.stat dd { margin: 0; font-size: clamp(26px, 3vw, 40px); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
.stat dd small { font-size: .5em; font-weight: 700; margin-left: 3px; color: #7fe097; }
.stat dd.stat__note { font-size: 13.5px; font-weight: 400; letter-spacing: 0; color: #b4c6dc; line-height: 1.5; }
@media (max-width: 860px) {
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 24px 16px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
}

/* ---------------------------------------------------------------- 카드 */
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .grid--4 { grid-template-columns: 1fr; } }

.cat-card { position: relative; display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s, transform .2s; }
.cat-card::before { content: ""; position: absolute; left: -1px; top: -1px; width: 72px; height: 10px; background: var(--green); transition: width .25s; z-index: 1; }
.cat-card:hover { border-color: var(--navy); box-shadow: 0 22px 44px rgba(1,27,58,.12); transform: translateY(-4px); }
.cat-card:hover::before { width: calc(100% + 2px); }
.cat-card__img { aspect-ratio: 4 / 3.4; background: var(--bg); display: grid; place-items: center; overflow: hidden; }
.cat-card__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 14px; }
.cat-card__body { padding: 24px 24px 26px; display: grid; gap: 10px; align-content: start; }
.cat-card__body small { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; color: var(--green-700); text-transform: uppercase; }
.cat-card__body p { font-size: 15px; color: var(--muted); }

.feature { background: #fff; border: 1px solid var(--line); padding: 28px 26px 30px; display: grid; gap: 12px; align-content: start; }
.feature__no { font-size: 13px; font-weight: 900; letter-spacing: .14em; color: var(--green-700); }
.feature h3 { font-size: 21px; }
.feature p { font-size: 15px; color: var(--muted); }
.section--navy .feature { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.section--navy .feature__no { color: #7fe097; }
.section--navy .feature p { color: #b9c9de; }

/* 2단 분할 */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.split__media { position: relative; background: var(--bg); }
.split__media img { width: 100%; }
.split__media--cut { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), calc(100% - var(--slant) * .73) 100%, 0 100%); }
.split__media--plain { background: transparent; }
.split__text { display: grid; gap: 18px; justify-items: start; }
@media (max-width: 860px) { .split, .split--wide-left { grid-template-columns: 1fr; } }

.checks { display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 18px; height: 6px; background: var(--green); }

/* 타임라인 */
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; }
.timeline li { padding: 26px 22px 22px 0; position: relative; display: grid; gap: 8px; align-content: start; border-top: 6px solid var(--navy); }
.timeline li::before { content: ""; position: absolute; left: 0; top: -6px; width: 44px; height: 6px; background: var(--green); }
.timeline b { font-size: 30px; font-weight: 900; color: var(--navy); letter-spacing: -.03em; line-height: 1; }
.timeline p { font-size: 15px; color: var(--body); }

/* 연혁 */
.history { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.history > div { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.16); position: relative; }
.history > div::before { content: ""; position: absolute; left: 0; top: -1px; width: 44px; height: 6px; background: var(--green); }
.history dt { font-size: 28px; font-weight: 900; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.history dd { margin: 0; }
.history li { position: relative; padding-left: 16px; color: #c9d6e6; font-size: 15px; line-height: 1.6; }
.history li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 3px; background: #7fe097; }
@media (max-width: 860px) { .history { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .history > div { grid-template-columns: 70px 1fr; } .history dt { font-size: 22px; } }

/* 인증 */
.certs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cert { background: #fff; padding: 24px 20px; display: grid; gap: 6px; align-content: start; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cert b { font-size: 17px; color: var(--navy); font-weight: 900; letter-spacing: -.01em; }
.cert span { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* 영상 */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--navy-900); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* CTA 밴드 */
.cta { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.cta::before, .cta::after { content: ""; position: absolute; top: -20%; bottom: -20%; transform: skewX(36deg); z-index: -1; }
.cta::before { right: 6%; width: 9%; background: var(--green); }
.cta::after { right: -8%; width: 12%; background: var(--navy-700); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.cta .btn--white { background: var(--navy); }
.cta .btn--white:hover { background: #fff; }
.cta .btn--green { box-shadow: 0 0 0 3px var(--navy); }
@media (max-width: 1100px) { .cta::before { background: var(--navy-700); right: 4%; } }
.cta h2 { color: #fff; font-size: clamp(24px, 3vw, 36px); }
.cta p { color: #c9d6e6; margin-top: 8px; }
.cta p b { color: #7fe097; }

/* ---------------------------------------------------------------- 서브 페이지 */
.page-hero { position: relative; background: var(--navy); color: #c9d6e6; overflow: hidden; isolation: isolate; }
.page-hero::before, .page-hero::after { content: ""; position: absolute; top: -20%; bottom: -20%; transform: skewX(36deg); z-index: -1; }
.page-hero::before { right: 9%; width: 4%; background: var(--green); }
.page-hero::after { right: -6%; width: 13%; background: var(--navy-700); }
.page-hero .wrap { padding-top: clamp(44px, 6vw, 84px); padding-bottom: clamp(44px, 6vw, 84px); display: grid; gap: 16px; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 56px); font-weight: 900; letter-spacing: -.035em; }
.page-hero .eyebrow { color: #fff; }
.page-hero p { max-width: 60ch; font-size: clamp(16px, 1.4vw, 18px); }
.crumbs { font-size: 13.5px; color: #9fb4cf; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }
.crumbs span::before { content: "/"; margin-right: 8px; opacity: .6; }
.page-hero--light { background: var(--bg); color: var(--body); }
.page-hero--light h1 { color: var(--ink); }
.page-hero--light .eyebrow { color: var(--navy); }
.page-hero--light .crumbs { color: var(--muted); }
.page-hero--light .crumbs a:hover, .crumbs--light a:hover { color: var(--navy); text-decoration: underline; }
.crumbs--light { color: var(--muted); }
.page-hero--light::after { background: var(--navy); }

/* 표 */
.table-wrap { position: relative; overflow-x: auto; border-top: 6px solid var(--navy); }
table.spec { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
table.spec th, table.spec td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.spec thead th { background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; }
table.spec tbody th { text-align: left; color: var(--ink); font-weight: 800; }
table.spec tbody tr:nth-child(even) { background: var(--bg); }
table.spec td b { color: var(--green-700); }
.section--tint table.spec { background: #fff; }
table.spec--kv { min-width: 0; }
table.spec--kv th { width: 38%; background: var(--bg); text-align: left; color: var(--ink); white-space: normal; }
table.spec--kv td { text-align: left; white-space: normal; }
table.spec--kv tbody tr:nth-child(even) { background: transparent; }

/* 라인업 카드 */
.lineup-group { display: grid; gap: 20px; margin-top: 44px; }
.lineup-group__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; border-bottom: 2px solid var(--navy); padding-bottom: 12px; }
.lineup-group__head h3 { font-size: 24px; }
.lineup-group__head span { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--green-700); text-transform: uppercase; }
.model { background: #fff; border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; position: relative; transition: border-color .2s, box-shadow .2s; }
.model:hover { border-color: var(--navy); box-shadow: 0 18px 36px rgba(1,27,58,.1); }
.model__img { aspect-ratio: 1; background: #fff; overflow: hidden; border-bottom: 1px solid var(--line); }
.model__img img { width: 100%; height: 100%; object-fit: contain; }
.model__body { padding: 20px 20px 22px; display: grid; gap: 12px; align-content: start; }
.model__code { font-size: 13px; font-weight: 800; color: var(--green-700); letter-spacing: .04em; }
.model__name { font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.model dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; }
.model dt { color: var(--muted); }
.model dd { margin: 0; text-align: right; font-weight: 700; color: var(--ink); }
.badge { display: inline-block; font-size: 12px; font-weight: 900; padding: 3px 9px 2px; background: var(--green); color: var(--navy-900); letter-spacing: .04em; }
.badge--navy { background: var(--navy); color: #fff; }
.badge--line { background: transparent; border: 1.5px solid var(--navy); color: var(--navy); }
.model__badge { position: absolute; left: 0; top: 0; z-index: 1; }

/* 스텝 */
.steps { counter-reset: step; display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { counter-increment: step; background: #fff; border: 1px solid var(--line); padding: 26px 24px; display: grid; gap: 10px; align-content: start; }
.step::before { content: "STEP " counter(step, decimal-leading-zero); font-size: 13px; font-weight: 900; letter-spacing: .14em; color: var(--green-700); }
.step h3 { font-size: 19px; }
.step p { font-size: 15px; color: var(--muted); }

.note { background: var(--green-100); border-left: 8px solid var(--green); padding: 18px 22px; color: var(--ink); font-size: 15px; }
.note--navy { background: var(--navy-100); border-left-color: var(--navy); }
.note b { color: var(--navy); }

.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.swatch { border: 1px solid var(--line); }
.swatch i { display: block; height: 96px; }
.swatch div { padding: 14px 16px; font-size: 13.5px; line-height: 1.5; }
.swatch b { display: block; color: var(--ink); font-size: 15px; }
@media (max-width: 700px) { .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.logo-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.logo-board > div { display: grid; place-items: center; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); min-height: 180px; }
.logo-board img { max-height: 84px; width: auto; max-width: 100%; }
.logo-board .on-navy { background: var(--navy); border-color: var(--navy); }
@media (max-width: 640px) { .logo-board { grid-template-columns: 1fr; } }

/* 폼 */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label, .field legend { font-size: 14px; font-weight: 800; color: var(--ink); }
.field .req { color: var(--warn); margin-left: 3px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #7f8b99; background: #fff; border-radius: 0; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: var(--navy); box-shadow: inset 0 -4px 0 var(--green); }
.form-note { font-size: 13.5px; color: var(--muted); }
.field small { font-size: 13px; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.form-msg { display: none; padding: 16px 20px; background: var(--green-100); border-left: 8px solid var(--green); color: var(--ink); font-weight: 600; }
.form-msg.is-on { display: block; }
.form-err { padding: 16px 20px; background: #fdecea; border-left: 8px solid var(--warn); color: var(--ink); font-weight: 600; }
.form-err a { color: var(--navy); text-decoration: underline; }
.check a { color: var(--navy); text-decoration: underline; white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.info-list { display: grid; gap: 0; border-top: 6px solid var(--navy); }
.info-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list dt { font-weight: 800; color: var(--ink); }
.info-list dd { margin: 0; }
.info-list a:hover { color: var(--navy); text-decoration: underline; }

/* ---------------------------------------------------------------- 푸터 */
.footer { background: var(--navy-900); color: #a9bdd6; font-size: 14.5px; }
.footer .wrap { padding-top: 56px; padding-bottom: 32px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__logo img { height: 34px; width: auto; }
.footer__brand { display: grid; gap: 16px; align-content: start; justify-items: start; }
.footer h2 { color: #fff; font-size: 14px; letter-spacing: .1em; margin-bottom: 14px; }
.footer li { margin-bottom: 8px; }
.footer a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; font-size: 13px; }
.footer__biz { display: flex; flex-wrap: wrap; gap: 4px 16px; line-height: 1.6; }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

.quick { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; gap: 8px; }
.quick a, .quick button { width: 52px; height: 52px; display: grid; place-items: center; background: var(--navy); color: #fff; border: 0; cursor: pointer; font-size: 12px; font-weight: 800; box-shadow: 0 10px 22px rgba(1,27,58,.25); }
.quick a:hover, .quick button:hover { background: var(--green); color: var(--navy-900); }
.quick svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 640px) { .quick { right: 12px; bottom: 12px; } .quick a, .quick button { width: 46px; height: 46px; } .footer .wrap { padding-bottom: 96px; } }

/* ==========================================================================
   STORE
   ========================================================================== */
.store-hero { position: relative; background: var(--navy); color: #c9d6e6; overflow: hidden; isolation: isolate; }
.store-hero::before, .store-hero::after { content: ""; position: absolute; top: -20%; bottom: -20%; transform: skewX(36deg); z-index: -1; }
.store-hero::before { right: 30%; width: 3%; background: var(--green); }
.store-hero::after { right: -4%; width: 34%; background: #fff; }
.store-hero .hero__slide > .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; min-height: 380px; padding-top: 36px; padding-bottom: 0; }
.store-hero h2 { color: #fff; font-size: clamp(30px, 4.2vw, 52px); font-weight: 900; letter-spacing: -.035em; }
.store-hero__copy { display: grid; gap: 18px; justify-items: start; padding-bottom: 36px; }
.store-hero__img { align-self: end; justify-self: center; }
.store-hero__img img { max-height: 380px; width: auto; filter: drop-shadow(0 20px 20px rgba(1,27,58,.25)); }
.store-hero__img--wide { align-self: center; }
.store-hero__img--wide img { max-height: 320px; }
@media (max-width: 860px) { .store-hero .hero__slide > .wrap { grid-template-columns: 1fr; min-height: 0; } .store-hero__img { display: none; } .store-hero::after { width: 14%; background: var(--navy-700); } .store-hero::before { right: 12%; } }

.benefits { background: #fff; border-bottom: 1px solid var(--line); }
.benefits .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefit { padding: 20px 18px; border-left: 1px solid var(--line); display: grid; gap: 2px; }
.benefit:first-child { border-left: 0; padding-left: 0; }
.benefit b { color: var(--ink); font-size: 15.5px; }
.benefit span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 860px) { .benefits .wrap { grid-template-columns: repeat(2, 1fr); } .benefit:nth-child(odd) { border-left: 0; padding-left: 0; } .benefit:nth-child(n+3) { border-top: 1px solid var(--line); } }

.filterbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { min-height: 44px; padding: 0 18px; border: 2px solid var(--line); background: #fff; font-weight: 800; cursor: pointer; color: var(--body); }
.tab:hover { border-color: var(--navy); color: var(--navy); }
.tab[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: inset 0 -5px 0 var(--green); }
.filterbar select { min-height: 44px; padding: 0 12px; border: 2px solid var(--line); background: #fff; font-weight: 700; }
.result-count { font-size: 14px; color: var(--muted); font-weight: 600; }

.pcard { position: relative; background: #fff; border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; transition: border-color .2s, box-shadow .2s, transform .2s; }
.pcard:hover { border-color: var(--navy); box-shadow: 0 20px 40px rgba(1,27,58,.12); transform: translateY(-3px); }
.pcard__img { position: relative; aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; display: block; }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__noimg { width: 100%; height: 100%; display: grid; place-items: center; background: var(--bg); color: var(--navy); font-weight: 900; font-size: 30px; letter-spacing: -.02em; }
.pcard__noimg small { display: block; font-size: 12px; letter-spacing: .14em; color: var(--muted); font-weight: 700; text-align: center; margin-top: 4px; }
.pcard__badges { position: absolute; left: 0; top: 0; display: flex; gap: 4px; z-index: 1; }
.pcard__body { padding: 18px 18px 20px; display: grid; gap: 8px; align-content: start; }
.pcard__cat { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--green-700); }
.pcard__name { margin: 0; font-size: 17.5px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.35; }
.pcard__code { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.pcard__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.chip { font-size: 12.5px; font-weight: 700; padding: 3px 8px; background: var(--bg); color: var(--body); }
.pcard__price { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.price { font-size: 20px; font-weight: 900; color: var(--navy); letter-spacing: -.02em; }
.price small { font-size: 13px; font-weight: 700; margin-left: 2px; }
.price--ask { font-size: 16px; }
.pcard__sub { font-size: 12.5px; color: var(--green-700); font-weight: 800; }

/* 상품 상세 */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .pd { grid-template-columns: 1fr; } }
.gallery { display: grid; gap: 12px; position: sticky; top: 96px; }
@media (max-width: 900px) { .gallery { position: static; } }
.gallery__main { aspect-ratio: 1; border: 1px solid var(--line); background: #fff; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.gallery__thumbs button { aspect-ratio: 1; border: 2px solid var(--line); background: #fff; padding: 0; cursor: pointer; overflow: hidden; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--navy); box-shadow: inset 0 -5px 0 var(--green); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd__info { display: grid; gap: 20px; align-content: start; }
.pd__title { font-size: clamp(26px, 3vw, 36px); font-weight: 900; letter-spacing: -.03em; }
.pd__price { padding: 18px 0; border-top: 6px solid var(--navy); border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.pd__price .price { font-size: 30px; }
.opt { display: grid; gap: 8px; }
.opt__label { font-size: 14px; font-weight: 800; color: var(--ink); }
.opt__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.opt__choices label { cursor: pointer; }
.opt__choices input { position: absolute; opacity: 0; pointer-events: none; }
.opt__choices span { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border: 2px solid var(--line); font-weight: 700; background: #fff; }
.opt__choices span i { width: 16px; height: 16px; border: 1px solid rgba(0,0,0,.25); display: inline-block; }
.opt__choices input:checked + span { border-color: var(--navy); color: var(--navy); box-shadow: inset 0 -5px 0 var(--green); }
.opt__choices input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.qty { display: inline-flex; border: 2px solid var(--line); }
.qty button { width: 44px; height: 44px; border: 0; background: var(--bg); font-size: 20px; font-weight: 700; cursor: pointer; }
.qty button:hover { background: var(--navy); color: #fff; }
.qty input { width: 56px; height: 44px; border: 0; text-align: center; font-weight: 800; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd__buy { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .pd__buy { grid-template-columns: 1fr; } }
.pd-tabs { display: flex; justify-content: safe center; gap: 0; border-bottom: 2px solid var(--navy); margin: clamp(40px, 6vw, 72px) 0 28px; overflow-x: auto; }
.pd-tabs a { padding: 14px 22px; font-weight: 800; color: var(--muted); white-space: nowrap; }
.pd-tabs a[aria-current="true"] { background: var(--navy); color: #fff; }
.pd-tabs a:hover { color: var(--navy); }
.pd-tabs a[aria-current="true"]:hover { color: #fff; }
.pd-section { display: grid; gap: 20px; margin-bottom: 56px; scroll-margin-top: 100px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--navy-900); color: #fff; padding: 14px 20px; font-weight: 700; border-left: 8px solid var(--green); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, transform .2s, visibility 0s .2s; z-index: 60; display: flex; gap: 16px; align-items: center; max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; transition: opacity .2s, transform .2s; }
@media (max-width: 640px) { .toast { bottom: 184px; } }
.toast a { color: #7fe097; white-space: nowrap; }

/* 장바구니 */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .cart-layout { grid-template-columns: 1fr; } .cart-layout > div:first-child { display: contents; } #cart-list { order: 1; } .summary { order: 2; } #cart-order { order: 3; } }
.cart-list { border-top: 6px solid var(--navy); }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item__img { width: 96px; height: 96px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; font-weight: 900; color: var(--navy); font-size: 13px; }
.cart-item__img img { width: 100%; height: 100%; object-fit: contain; }
.cart-item h3 { font-size: 16.5px; }
.cart-item p { font-size: 13.5px; color: var(--muted); }
.cart-item__side { display: grid; gap: 8px; justify-items: end; }
.cart-item .qty button { width: 36px; height: 36px; }
.cart-item .qty input { width: 44px; height: 36px; }
.text-btn { background: none; border: 0; padding: 6px 4px; font-size: 13px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.text-btn:hover { color: var(--warn); }
@media (max-width: 520px) { .cart-item { grid-template-columns: 72px 1fr; } .cart-item__img { width: 72px; height: 72px; } .cart-item__side { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; } }
.summary { background: var(--bg); padding: 26px 24px; display: grid; gap: 18px; position: sticky; top: 96px; }
@media (max-width: 960px) { .summary { position: static; } }
.summary h2 { font-size: 20px; }
.summary dl { margin: 0; display: grid; gap: 10px; }
.summary dl > div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.summary dd { margin: 0; font-weight: 800; color: var(--ink); }
.summary .total { border-top: 2px solid var(--navy); padding-top: 14px; font-size: 17px; }
.empty { text-align: center; padding: 64px 16px; display: grid; gap: 16px; justify-items: center; border-top: 6px solid var(--navy); border-bottom: 1px solid var(--line); }

section[id], form[id] { scroll-margin-top: 96px; }
@media print {
  .topbar, .nav, .menu-btn, .header__actions, .quick, .toast, .video, .skip { display: none !important; }
  .header { position: static; }
  .page-hero, .stats, .section--navy, .cta, .footer, .store-hero, table.spec thead th, .btn, .badge { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .section { padding: 24px 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ==========================================================================
   상품 상세 보충 섹션 (상세 이미지 · 치수 · 구성 · 아웃트리거 · 안전성 · 이동 · 사용 방법)
   ========================================================================== */
/* 상세 섹션은 가운데 정렬: 제목·소제목·안내문은 가운데, 카드 줄은 남는 칸 없이 가운데로 모은다 */
.pd-section > h2 { text-align: center; font-size: clamp(22px, 2.4vw, 28px); }
.pd-section > h2::before { content: ""; display: block; width: 44px; height: 8px; background: var(--green); margin: 0 auto 12px; }
.pd-section > h3 { font-size: 17px; margin: 18px 0 0; text-align: center; }
.pd-section > h3::before { content: ""; display: block; width: 26px; height: 5px; background: var(--green); margin: 0 auto 8px; }
.pd-section > p:not(.note):not(.pd-caution) { text-align: center; max-width: 72ch; margin-inline: auto; }
.pd-note { font-size: 13.5px; color: var(--muted); text-align: center; }
.pd-caution { background: #fdf1e7; border-left: 8px solid var(--warn); padding: 14px 18px; color: var(--ink); font-size: 15px; }
.pd-caution b { color: var(--warn); margin-right: 6px; }
.fig-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.fig-row > .fig { flex: 0 1 calc((100% - 42px) / 4); min-width: 0; }
.fig-row--3 > .fig { flex-basis: calc((100% - 28px) / 3); }
.fig-row--2 > .fig { flex-basis: calc((100% - 14px) / 2); }
.fig { margin: 0; display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); background: #fff; }
.fig__img { position: relative; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; border-bottom: 1px solid var(--line); }
.fig--tall .fig__img { aspect-ratio: 3 / 4; }
.fig--sq .fig__img { aspect-ratio: 1; }
.fig--plain .fig__img { aspect-ratio: 812 / 692; }
.fig--wide .fig__img { aspect-ratio: 648 / 336; }
.fig--sq .fig__img img, .fig--tall .fig__img img { padding: 10px; }
.media-split--narrow { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
.stepcards--tall > li { flex-basis: 224px; }
.stepcards--tall .stepcards__img { aspect-ratio: 3 / 4; }
.fig__img img, .stepcards__img img, .compgrid__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.fig figcaption { padding: 10px 12px; font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.45; }
.media-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 32px); align-items: start; }
.media-split > div { display: grid; gap: 14px; align-content: start; }
.media-split > div.fig-row { display: flex; align-items: flex-start; }
.numlist { counter-reset: n; display: grid; gap: 0; border-top: 3px solid var(--navy); }
.numlist li { counter-increment: n; position: relative; padding: 14px 0 14px 50px; border-bottom: 1px solid var(--line); display: grid; gap: 3px; }
.numlist li::before { content: counter(n); position: absolute; left: 0; top: 13px; width: 34px; height: 34px; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 900; font-size: 15px; box-shadow: inset 0 -5px 0 var(--green); }
.numlist b { color: var(--ink); font-size: 16px; }
.numlist span { font-size: 14.5px; color: var(--body); }
.stepcards { counter-reset: s; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.stepcards > li { flex: 0 1 236px; min-width: 0; }
.stepcards li { counter-increment: s; background: #fff; border: 1px solid var(--line); padding: 0 16px 18px; display: grid; gap: 8px; align-content: start; }
.stepcards__img { position: relative; margin: 0 -16px; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.stepcards__img img { padding: 8px; }
.stepcards li::before { content: "STEP " counter(s, decimal-leading-zero); font-size: 12.5px; font-weight: 900; letter-spacing: .14em; color: var(--green-700); padding-top: 14px; order: 1; }
.stepcards li > .stepcards__img { order: 0; }
.stepcards li > h3 { order: 2; border: 0; padding: 0; margin: 0; font-size: 17px; }
.stepcards li > p { order: 3; font-size: 14.5px; color: var(--muted); }
.compgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.compgrid li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; border: 1px solid var(--line); padding: 12px; background: #fff; }
.compgrid__img { position: relative; aspect-ratio: 226 / 256; overflow: hidden; background: #fff; }
.compgrid h3 { border: 0; padding: 0; margin: 0 0 4px; font-size: 16.5px; }
.compgrid p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 900px) { .fig-row > .fig { flex-basis: calc((100% - 14px) / 2); } .media-split, .media-split--narrow { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .fig-row--3 > .fig { flex-basis: 100%; } .compgrid { grid-template-columns: 1fr; } .compgrid li { grid-template-columns: 92px 1fr; } .stepcards > li, .stepcards--tall > li { flex-basis: calc((100% - 14px) / 2); } }
@media (max-width: 420px) { .fig-row > .fig, .fig-row--2 > .fig { flex-basis: 100%; } .stepcards > li, .stepcards--tall > li { flex-basis: 100%; } }

/* ==========================================================================
   모션 — 화면 전환 · 첫 화면 등장 · 스크롤 등장
   "동작 줄이기"를 켠 기기에서는 모두 꺼진다 (파일 끝의 prefers-reduced-motion 규칙 + site.js)
   ========================================================================== */
/* 1) 페이지 사이 전환: 이전 화면이 위로 빠지고 새 화면이 아래에서 올라온다. 헤더는 제자리 */
@view-transition { navigation: auto; }
.topbar { view-transition-name: ej-topbar; }
.header { view-transition-name: ej-header; }
::view-transition-old(root) { animation: ej-vt-out .3s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: ej-vt-in .6s cubic-bezier(.16, 1, .3, 1) both; }
::view-transition-group(ej-header), ::view-transition-group(ej-topbar) { animation-duration: .01s; }
@keyframes ej-vt-out { to { opacity: 0; transform: translateY(-28px); } }
@keyframes ej-vt-in { from { opacity: 0; transform: translateY(48px); } }

/* 2) 첫 화면 등장: 문구는 차례로 올라오고, 제품 이미지는 옆에서 들어오고, 사선 띠는 위에서 내려온다 */
@keyframes ej-rise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes ej-slide-in { from { opacity: 0; transform: translateX(70px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes ej-pop { from { opacity: 0; transform: translateY(18px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes ej-band { from { transform: skewX(36deg) translateY(-115%); } to { transform: skewX(36deg) translateY(0); } }
.hero__slide.is-active .hero__copy > *, .hero__slide.is-active .store-hero__copy > *, .page-hero .wrap > * { animation: ej-rise .75s cubic-bezier(.16, 1, .3, 1) both; }
.hero__slide.is-active .hero__copy > :nth-child(1), .hero__slide.is-active .store-hero__copy > :nth-child(1), .page-hero .wrap > :nth-child(1) { animation-delay: .08s; }
.hero__slide.is-active .hero__copy > :nth-child(2), .hero__slide.is-active .store-hero__copy > :nth-child(2), .page-hero .wrap > :nth-child(2) { animation-delay: .18s; }
.hero__slide.is-active .hero__copy > :nth-child(3), .hero__slide.is-active .store-hero__copy > :nth-child(3), .page-hero .wrap > :nth-child(3) { animation-delay: .28s; }
.hero__slide.is-active .hero__copy > :nth-child(4), .hero__slide.is-active .store-hero__copy > :nth-child(4), .page-hero .wrap > :nth-child(4) { animation-delay: .38s; }
.page-hero .wrap > :nth-child(5) { animation-delay: .48s; }
.hero__slide.is-active .hero__visual img, .hero__slide.is-active .store-hero__img img { animation: ej-slide-in 1s cubic-bezier(.16, 1, .3, 1) .35s both; }
.hero__slide.is-active .hero__spec { animation: ej-pop .6s cubic-bezier(.16, 1, .3, 1) 1.05s both; }
.hero__bands i, .page-hero::before, .page-hero::after, .store-hero::before, .store-hero::after { animation: ej-band .95s cubic-bezier(.16, 1, .3, 1) both; }
.hero__bands .b2, .page-hero::before, .store-hero::before { animation-delay: .14s; }
.hero__bands .b3 { animation-delay: .24s; }
main > section:first-child:not(.hero):not(.page-hero):not(.store-hero) > .wrap { animation: ej-rise .7s cubic-bezier(.16, 1, .3, 1) .05s both; }

/* 2-1) 상단 슬라이드가 넘어갈 때: 나가는 화면은 문구가 위로, 이미지가 옆으로 빠지고, 사선 띠가 다시 내려온다 */
.hero__slide:not(.is-active) .hero__copy, .hero__slide:not(.is-active) .store-hero__copy { transform: translateY(-34px); transition: transform .55s cubic-bezier(.4, 0, 1, 1); }
.hero__slide:not(.is-active) .hero__visual, .hero__slide:not(.is-active) .store-hero__img { transform: translateX(-60px) scale(.97); transition: transform .55s cubic-bezier(.4, 0, 1, 1); }
@keyframes ej-band-b { from { transform: skewX(36deg) translateY(-115%); } to { transform: skewX(36deg) translateY(0); } }
.hero[data-swap="1"] .hero__bands i, .store-hero[data-swap="1"]::before, .store-hero[data-swap="1"]::after { animation-name: ej-band-b; }
.hero[data-swap="0"] .hero__bands i, .store-hero[data-swap="0"]::before, .store-hero[data-swap="0"]::after { animation-name: ej-band; }

/* 2-2) 뒤로 가기·앞으로 가기로 돌아올 때는 전환 방향을 반대로 */
@keyframes ej-vt-out-back { to { opacity: 0; transform: translateY(28px); } }
@keyframes ej-vt-in-back { from { opacity: 0; transform: translateY(-48px); } }
html[data-nav="back"]::view-transition-old(root) { animation-name: ej-vt-out-back; }
html[data-nav="back"]::view-transition-new(root) { animation-name: ej-vt-in-back; }

/* 3) 스크롤 등장: site.js 가 화면에 들어온 요소에 rv-in 을 붙인다 */
.js-motion .rv { opacity: 0; transform: translateY(44px); transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--rv-d, 0s); will-change: opacity, transform; }
.js-motion .rv.rv-in { opacity: 1; transform: none; }
@media print { .js-motion .rv { opacity: 1 !important; transform: none !important; } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
/* 좁은 화면에서는 그린 띠가 본문 글자 뒤로 들어오므로 톤을 낮춘다 (정의 순서상 파일 끝에 둔다) */
@media (max-width: 860px) { .page-hero:not(.page-hero--light)::before, .store-hero::before { background: var(--navy-700); } }
@media (max-width: 640px) { .topbar a { display: block; padding: 8px 0; line-height: 1.45; } }
