:root {
  --ink: #0f1b2d; --body: #3d4a5c; --mute: #7a8698; --line: #e4e9f0; --soft: #f5f7fa;
  --accent: #228cb0; --accent-ink: #17708f; --accent-soft: #e8f4f8; --radius: 16px; --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: #fff; color: var(--body); line-height: 1.65; word-break: keep-all;
  font: 16px/1.65 "Pretendard Variable", Pretendard, -apple-system, "Segoe UI", "Malgun Gothic", sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -0.02em; line-height: 1.2; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: var(--accent); color: #fff; border: 1px solid var(--accent); transition: background .15s, transform .15s; }
.btn:hover { background: var(--accent-ink); transform: translateY(-1px); }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--soft); }

/* header */
header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); letter-spacing: .02em; }
.logo img { height: 30px; }
nav { display: flex; align-items: center; gap: 22px; white-space: nowrap; margin-right: auto; font-size: 15px; font-weight: 500; }
nav a:hover { color: var(--accent); }
@media (max-width: 820px) { nav { display: none; } header .wrap { justify-content: space-between; } }

/* hero */
.hero { background: radial-gradient(900px 420px at 85% -10%, var(--accent-soft), transparent 70%), linear-gradient(#fff, var(--soft)); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-top: 84px; padding-bottom: 72px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--accent-ink); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; margin: 22px 0 18px; max-width: 15em; }
.hero p { font-size: 18px; max-width: 40em; margin: 0 0 30px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* overview cards */
section { padding: 88px 0; }
.head { margin-bottom: 40px; }
.head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin-top: 10px; }
.head p { margin: 12px 0 0; max-width: 44em; }
.group-title { display: flex; align-items: center; gap: 14px; margin: 44px 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .18s, box-shadow .18s, border-color .18s; }
.card:hover { transform: translateY(-4px); border-color: #b9dbe7; box-shadow: 0 14px 34px -18px rgba(34,140,176,.4); }
.thumb, .intro .photo { position: relative; aspect-ratio: 4 / 3; background: var(--soft); }
.thumb img, .intro .photo img { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: contain; mix-blend-mode: multiply; }
.card .txt { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .no { font-size: 11.5px; font-weight: 700; color: var(--accent); letter-spacing: .1em; text-transform: uppercase; }
.card h3 { font-size: 18px; font-weight: 700; }
.card .ko { font-size: 14px; color: var(--mute); }
.card p { margin: 8px 0 14px; font-size: 14.5px; }
.card .more { margin-top: auto; font-size: 13.5px; font-weight: 600; color: var(--accent); }

/* search */
/* (unused) */ .search-old { position: sticky; top: 68px; z-index: 5; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.search .wrap { display: flex; align-items: center; gap: 14px; padding-block: 12px; }
.search input { flex: 1; max-width: 460px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 15px; background: var(--soft); outline-offset: 2px; }
.search input:focus { background: #fff; border-color: var(--accent); }
.search span { font-size: 13.5px; color: var(--mute); }

/* detail */
.detail { padding: 72px 0; border-bottom: 1px solid var(--line); }
.detail:nth-of-type(even) { background: #fcfdfe; }
.intro { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: 48px; align-items: start; }
.intro .photo { border: 1px solid var(--line); border-radius: var(--radius); }
.intro h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 8px 0 4px; }
.intro .ko { font-size: 16px; font-weight: 600; color: var(--mute); }
.intro p { margin: 16px 0; }
.feats { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 7px; font-size: 15px; }
.feats li { padding-left: 24px; position: relative; }
.feats li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 9px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.src { font-size: 12.5px; color: var(--mute); }
.drawings { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 36px; }
.drawings figure { margin: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 14px; display: grid; place-items: center; }
.drawings img { max-height: 380px; object-fit: contain; }
.sub { margin: 36px 0 12px; font-size: 14px; font-weight: 700; color: var(--ink); }
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); background: var(--soft); padding: 11px 16px; white-space: nowrap; }
td { padding: 10px 16px; border-top: 1px solid var(--line); }
td.model { font-weight: 600; color: var(--ink); white-space: nowrap; }
td.sku { color: var(--mute); }
tbody tr:hover { background: var(--accent-soft); }
@media (max-width: 820px) { .intro { grid-template-columns: 1fr; gap: 24px; } section { padding: 60px 0; } }

/* contact + footer */
.contact .box { border-radius: 24px; background: var(--ink); color: #c9d3e0; padding: 52px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.contact h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin: 10px 0 14px; }
.contact .eyebrow { color: #7fcbe3; }
.contact dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 15px; }
.contact dt { color: #8a97a9; font-weight: 600; }
.contact dd { margin: 0; color: #fff; }
@media (max-width: 820px) { .contact .box { grid-template-columns: 1fr; padding: 32px; } }
footer { padding: 34px 0 48px; font-size: 13px; color: var(--mute); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
[hidden] { display: none !important; }

/* multi-page additions */
nav .menu { position: relative; padding: 22px 0; }
nav .menu > a::after { content: "▾"; margin-left: 5px; font-size: 11px; color: var(--mute); }
nav .drop { position: absolute; top: 100%; left: -16px; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px;
  box-shadow: 0 18px 40px -20px rgba(15,27,45,.3); display: none; }
nav .menu:hover .drop, nav .menu:focus-within .drop { display: grid; }
nav .drop a { padding: 9px 12px; border-radius: 8px; font-size: 14.5px; }
nav .drop a:hover, nav .drop a[aria-current] { background: var(--accent-soft); color: var(--accent-ink); }
.crumb { padding-top: 22px; font-size: 13.5px; color: var(--mute); }
.crumb a:hover { color: var(--accent); }
.crumb b { color: var(--ink); font-weight: 600; }
.detail { padding: 36px 0 72px; border-bottom: 0; background: none !important; }
.tools { display: flex; align-items: center; gap: 14px; margin-top: 44px; }
.tools input { flex: 1; max-width: 420px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 15px; background: var(--soft); }
.tools input:focus { background: #fff; border-color: var(--accent); outline: none; }
.tools span { font-size: 13.5px; color: var(--mute); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.pager a { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; transition: border-color .15s, background .15s; }
.pager a:hover { border-color: var(--accent); background: var(--accent-soft); }
.pager a.next { text-align: right; }
.pager small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.pager b { color: var(--ink); font-size: 17px; }
.cat-head { display: flex; align-items: baseline; gap: 14px; margin: 56px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.cat-head h3 { font-size: 22px; font-weight: 800; }
.cat-head a { font-size: 13.5px; font-weight: 600; color: var(--accent); }
.page-head { padding-top: 56px; }
.contact { padding: 40px 0 88px; }

.drawings figure { gap: 10px; }
.drawings figcaption { font-size: 14px; font-weight: 600; color: var(--ink); }

/* quote cart */
.btn { cursor: pointer; font-family: inherit; white-space: nowrap; }
.cart-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #fff; color: var(--accent-ink); font-size: 12.5px; }
td.act { text-align: right; width: 1%; white-space: nowrap; }
td.act .qty { width: 64px; margin-right: 8px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 13px; }
#cart-picked { font-size: 14px; font-weight: 600; color: var(--mute); margin-left: 8px; }
.tbl input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--accent); }
button.add { cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; white-space: nowrap; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--accent-ink); }
button.add:hover { border-color: var(--accent); background: var(--accent-soft); }
.cart-empty { margin-top: 40px; } .cart-empty a { color: var(--accent); font-weight: 600; }
#cart-rows input[type=number] { width: 84px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.cart-actions { display: flex; gap: 10px; margin: 16px 0 44px; flex-wrap: wrap; }
#quote { max-width: 720px; display: grid; gap: 14px; }
#quote h3 { font-size: 22px; font-weight: 800; }
#quote .fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
#quote label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
#quote input, #quote textarea { padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-weight: 400; }
#quote input:focus, #quote textarea:focus { border-color: var(--accent); outline: none; }
#quote .hp { position: absolute; left: -9999px; }
#quote .btn { justify-self: start; } #quote .btn:disabled { opacity: .6; cursor: wait; }
#quote-msg { margin: 0; font-weight: 600; white-space: pre-line; } #quote-msg.ok { color: #1a7f4b; } #quote-msg.err { color: #c0392b; }
.contact .logos { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.contact .logos img { height: 30px; } .contact .logos img + i + img { height: 24px; opacity: .9; }
.contact .logos i { width: 1px; height: 26px; background: rgba(255,255,255,.28); }
