/* ===== Theme B — "drafting sheet" minimal. Loaded after the base (A) stylesheet. ===== */
body.theme-b{
  --primary:#1a2330; --ink:#161c24; --ink-2:#3f4753; --muted:#6b7480; --line:#dde2e8; --rule:#161c24; --bg-soft:#f3f5f7;
  --radius:2px; --radius-sm:2px; --shadow:none; --shadow-lg:0 18px 50px rgba(22,28,36,.10);
  --font:'IBM Plex Sans KR','Pretendard Variable',Pretendard,'Apple SD Gothic Neo','Malgun Gothic',sans-serif;
  --header-h:76px;
  font-family:var(--font);background:#fff;color:var(--ink);letter-spacing:-.01em
}
.theme-b h1,.theme-b h2,.theme-b h3{letter-spacing:-.03em}
.theme-b a:focus-visible,.theme-b button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* header — always solid, hairline under */
.theme-b .site-header,.theme-b.is-home .site-header{position:sticky;background:#fff;color:var(--ink);border-bottom:1px solid var(--line)}
.theme-b .site-header.is-scrolled{box-shadow:none;border-bottom-color:var(--rule)}
.theme-b .logo-text{font-weight:600;font-size:22px;letter-spacing:-.04em}
.theme-b .logo-text b{color:var(--accent)}
.theme-b .logo-sub{letter-spacing:.06em;text-transform:none;font-weight:400}
.theme-b .gnb{justify-content:flex-end}
.theme-b .gnb>ul>li>a{font-weight:500;font-size:15.5px;padding:0 16px}
.theme-b .gnb>ul>li>a::after{left:16px;right:16px;bottom:24px;height:1px;background:var(--ink)}
.theme-b .gnb .sub{border-radius:2px;box-shadow:0 12px 30px rgba(22,28,36,.08);padding:8px;border-color:var(--rule)}
.theme-b .gnb .sub a{border-radius:0;font-size:14.5px}
.theme-b .gnb .sub a:hover{background:var(--bg-soft);color:var(--accent)}
.theme-b .btn-cta{background:transparent;color:var(--ink);border:1px solid var(--ink);border-radius:2px;height:40px;font-weight:500;font-size:14.5px}
.theme-b .btn-cta:hover{background:var(--ink);color:#fff;box-shadow:none;transform:none}
.theme-b .btn-cta .arrow{display:none}
.theme-b .lang-switch a{font-weight:500}
.theme-b .m-drawer-panel{border-left:1px solid var(--rule)}
.theme-b .m-close{border-radius:2px}

/* shared buttons */
.theme-b .btn{border-radius:2px;height:50px;font-weight:500}
.theme-b .btn .arrow{display:none}
.theme-b .btn-primary,.theme-b .btn-accent{background:var(--ink);color:#fff}
.theme-b .btn-primary:hover,.theme-b .btn-accent:hover{background:var(--accent);box-shadow:none;transform:none;filter:none}
.theme-b .btn-line{border:1px solid var(--rule)}
.theme-b .eyebrow{letter-spacing:0;text-transform:none;font-weight:500;font-size:14px;color:var(--accent)}
.theme-b .tag{border-radius:0;background:transparent;border:1px solid var(--line);color:var(--ink-2);font-weight:500}
.theme-b .more-link .arrow{display:none}
.b-btn{display:inline-flex;align-items:center;height:52px;padding:0 28px;background:var(--ink);color:#fff;font-weight:500;border-radius:2px;transition:background .2s}
.b-btn:hover{background:var(--accent)}
.b-textlink{font-weight:500;color:var(--ink);border-bottom:1px solid currentColor;padding-bottom:2px;white-space:nowrap;transition:color .2s}
.b-textlink:hover{color:var(--accent)}

/* hero — split sheet: text left, framed image right with a dimension line */
.b-hero{padding:72px 0 40px;border-bottom:1px solid var(--rule)}
.b-stage{display:grid}
.b-hero .hero-slide{grid-area:1/1;display:grid;grid-template-columns:5fr 6fr;gap:72px;align-items:center;position:relative;inset:auto;opacity:0;visibility:hidden;transition:opacity .9s ease}
.b-hero .hero-slide::after{display:none}
.b-hero .hero-slide.is-active{opacity:1;visibility:visible}
.b-display{font-size:clamp(38px,5vw,72px);font-weight:300;line-height:1.14;letter-spacing:-.045em;color:var(--ink)}
.b-lead{margin-top:26px;font-size:18px;color:var(--ink-2);max-width:470px;line-height:1.75}
.b-links{display:flex;gap:28px;align-items:center;margin-top:40px;flex-wrap:wrap}
.b-figure{position:relative;margin:0;aspect-ratio:4/3;background:var(--bg-soft);border:1px solid var(--line)}
.b-figure img{width:100%;height:100%;object-fit:cover}
.b-figure.has-dim{margin-top:34px}
.b-figure.has-dim::before{content:"";position:absolute;left:0;right:0;top:-20px;height:1px;background:var(--accent)}
.b-figure.has-dim::after{content:"";position:absolute;left:0;right:0;top:-26px;height:13px;border-left:1px solid var(--accent);border-right:1px solid var(--accent)}
.b-figure figcaption{position:absolute;top:-34px;left:50%;transform:translateX(-50%);background:#fff;padding:0 12px;font-size:12.5px;color:var(--accent);font-weight:500;letter-spacing:.04em;white-space:nowrap}
.b-hero-ctrl{display:flex;align-items:center;gap:24px;margin-top:48px}
.b-hero .hero-count{font-weight:500;font-size:14px;color:var(--muted);font-variant-numeric:tabular-nums}
.b-hero .hero-count b{color:var(--ink);font-size:16px}
.b-hero .hero-bars button{background:var(--line);width:64px;height:2px}
.b-hero .hero-bars button i{background:var(--ink)}
.b-hero.is-paused .hero-bars button.is-active i{animation-play-state:paused}
.b-arrows{margin-left:auto;display:flex;gap:6px}
.b-arrows button{width:44px;height:44px;border:1px solid var(--line);background:#fff;font-size:22px;line-height:1;color:var(--ink);border-radius:2px}
.b-arrows button:hover{border-color:var(--ink)}

/* stats — measured row */
.b-stats{border-bottom:1px solid var(--line)}
.b-stats dl{display:grid;grid-template-columns:repeat(4,1fr);margin:0}
.b-stats dl>div{padding:34px 28px;border-left:1px solid var(--line)}
.b-stats dl>div:first-child{border-left:0;padding-left:0}
.b-stats dt{font-size:14px;color:var(--muted)}
.b-stats dd{margin:6px 0 0;font-size:clamp(34px,3.6vw,52px);font-weight:300;letter-spacing:-.04em;font-variant-numeric:tabular-nums;line-height:1.1}
.b-stats dd small{font-size:.4em;color:var(--accent);margin-left:4px;font-weight:500;letter-spacing:0}

/* sections */
.b-sec{padding:110px 0}
.b-sec-soft{background:var(--bg-soft)}
.b-head{display:flex;justify-content:space-between;align-items:baseline;gap:20px;border-bottom:1px solid var(--rule);padding-bottom:16px;margin-bottom:8px}
.b-head h2{font-size:clamp(24px,2.4vw,32px);font-weight:500}
.b-head-desc{color:var(--muted);margin:18px 0 0;max-width:640px}
.b-statement{display:grid;grid-template-columns:7fr 4fr;gap:80px;align-items:end}
.b-statement-text{font-size:clamp(28px,3.4vw,48px);font-weight:300;line-height:1.35;letter-spacing:-.04em;color:var(--ink)}
.b-statement-side img{width:100%;aspect-ratio:4/3;object-fit:cover;border:1px solid var(--line);margin-bottom:22px}
.b-statement-side p{color:var(--ink-2);margin-bottom:22px;font-size:15.5px}

.b-biz li a{display:grid;grid-template-columns:minmax(200px,1.1fr) 2fr 168px;gap:40px;align-items:center;padding:30px 0;border-bottom:1px solid var(--line)}
.b-biz h3{font-size:24px;font-weight:500;transition:color .2s}
.b-biz p{color:var(--muted);font-size:15.5px}
.b-biz-img{aspect-ratio:3/2;background:var(--bg-soft);overflow:hidden}
.b-biz-img img{width:100%;height:100%;object-fit:cover;filter:grayscale(1);transition:filter .35s}
.b-biz li a:hover h3{color:var(--accent)}
.b-biz li a:hover .b-biz-img img{filter:none}

.b-products{display:grid;grid-template-columns:repeat(3,1fr);gap:48px 28px;margin-top:40px}
.b-product{display:block}
.b-product-img{display:block;aspect-ratio:4/3;background:var(--bg-soft);border:1px solid var(--line);overflow:hidden}
.b-product-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.b-product:hover .b-product-img img{transform:scale(1.03)}
.b-product-cat{display:block;font-size:13px;color:var(--muted);margin-top:16px}
.b-product strong{display:block;font-weight:500;font-size:18px;margin-top:2px}
.b-product:hover strong{color:var(--accent)}

.b-fac{display:grid;grid-template-columns:repeat(3,1fr);gap:40px 28px;margin-top:40px}
.b-fac a{display:flex;flex-direction:column;gap:6px}
.b-fac img{aspect-ratio:16/10;object-fit:cover;width:100%;border:1px solid var(--line);margin-bottom:12px}
.b-fac strong{font-weight:500;font-size:18px}
.b-fac span{color:var(--muted);font-size:14.5px}
.b-fac a:hover strong{color:var(--accent)}

.b-certs{display:grid;grid-template-columns:repeat(5,1fr);gap:28px 20px;margin-top:40px}
.b-certs a{display:flex;flex-direction:column;gap:12px;font-size:14px;color:var(--ink-2)}
.b-certs a span{display:block;aspect-ratio:3/4;border:1px solid var(--line);background:#fff;padding:10px}
.b-certs img{width:100%;height:100%;object-fit:contain}
.b-certs a:hover{color:var(--accent)}

.b-closing{border-top:1px solid var(--rule)}
.b-closing-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px}
.b-cta h2{font-size:clamp(28px,3vw,42px);font-weight:300;letter-spacing:-.04em;line-height:1.25}
.b-cta p{color:var(--ink-2);margin:18px 0 30px}
.b-cta-contact{display:flex;flex-direction:column;gap:6px;margin-bottom:32px}
.b-cta-contact a{font-size:24px;font-weight:400;letter-spacing:-.02em}
.b-cta-contact a:hover{color:var(--accent)}
.b-news ul li a{display:grid;grid-template-columns:110px 1fr;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}
.b-news time{color:var(--muted);font-size:14px;font-variant-numeric:tabular-nums}
.b-news a:hover span{color:var(--accent)}

/* sub pages */
.b-sub{padding:72px 0 44px;border-bottom:1px solid var(--rule)}
.b-sub h1{font-size:clamp(34px,4.4vw,60px);font-weight:300;letter-spacing:-.045em}
.b-sub p{margin-top:14px;color:var(--ink-2);font-size:17px;max-width:680px}
.b-crumb{display:flex;gap:10px;font-size:13.5px;color:var(--muted);margin-bottom:22px;flex-wrap:wrap}
.b-crumb span::before{content:"/";margin-right:10px;color:var(--line)}
.theme-b .subnav{border-bottom:1px solid var(--line)}
.theme-b .subnav a{font-weight:500;padding:16px 14px}
.theme-b .subnav a.is-on,.theme-b .subnav a:hover{color:var(--ink);border-color:var(--ink)}
.theme-b .page-body{padding:72px 0 110px}
.theme-b .filter-tabs a{border-radius:2px}
.theme-b .filter-tabs a.is-on,.theme-b .filter-tabs a:hover{background:var(--ink);border-color:var(--ink)}
.theme-b .p-thumb{border-radius:0}
.theme-b .p-view{display:none}
.theme-b .p-body h3{font-weight:500}
.theme-b .si-card{border-radius:0;border-color:var(--line)}
.theme-b .si-card:hover{box-shadow:none;transform:none;border-color:var(--ink)}
.theme-b .section-detail .cover,.theme-b .about-hero img,.theme-b .map-box,.theme-b .gallery-main,.theme-b .gallery-thumbs button{border-radius:0;box-shadow:none}
.theme-b .about-hero h2,.theme-b .section-detail h2.sd-title,.theme-b .detail-info h1{font-weight:400;letter-spacing:-.04em}
.theme-b .prose h2,.theme-b .prose h3{font-weight:500}
.theme-b .prose th{background:var(--bg-soft)}
.theme-b .board-table,.theme-b .notice-head,.theme-b .post-nav{border-top-color:var(--rule)}
.theme-b .pagination a,.theme-b .pagination span{border-radius:2px}
.theme-b .pagination .is-current{background:var(--ink);border-color:var(--ink)}
.theme-b .loc-item{border-radius:0}
.theme-b .loc-item .ico{background:transparent;border:1px solid var(--line);border-radius:0}
.theme-b .contact-aside{background:var(--bg-soft);color:var(--ink);border-radius:0;border-top:2px solid var(--ink)}
.theme-b .contact-aside p{opacity:1;color:var(--ink-2)}
.theme-b .contact-aside dt{opacity:1;color:var(--muted)}
.theme-b .input,.theme-b .select,.theme-b .textarea{border-radius:2px}
.theme-b .consent-box{border-radius:0}
.theme-b .done-box{border-radius:0}
.theme-b .alert{border-radius:2px}

/* footer — light sheet */
.theme-b .site-footer{background:var(--bg-soft);color:var(--muted);border-top:1px solid var(--rule)}
.theme-b .footer-top{border-bottom-color:var(--line)}
.theme-b .footer-logo .logo-text{color:var(--ink)}
.theme-b .footer-menu a{color:var(--ink-2);font-weight:500}
.theme-b .footer-menu a:hover{color:var(--accent)}
.theme-b .footer-info em{color:#9aa2ad}
.theme-b .footer-links a.strong{color:var(--ink)}
.theme-b .copyright{color:#9aa2ad}
.theme-b .footer-cs .cs-phone{color:var(--ink);font-weight:400}
.theme-b .floating a,.theme-b .floating button{border-radius:2px}
.theme-b .fl-contact{background:var(--ink)}
.theme-b .fl-call{background:var(--accent);box-shadow:var(--shadow-lg)}

@media (max-width:1024px){
  .theme-b{--header-h:66px}
  .b-hero .hero-slide{grid-template-columns:1fr;gap:28px}
  .b-figure{order:-1}
  .b-statement,.b-closing-grid{grid-template-columns:1fr;gap:48px}
  .b-biz li a{grid-template-columns:1fr 120px;gap:8px 20px}
  .b-biz li a p{grid-column:1;grid-row:2}
  .b-biz-img{grid-column:2;grid-row:1/3}
  .b-products,.b-fac{grid-template-columns:repeat(2,1fr)}
  .b-certs{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:720px){
  .b-hero{padding:32px 0 28px}
  .b-display{font-size:34px}
  .b-lead{font-size:16px;margin-top:16px}
  .b-links{margin-top:24px}
  .b-hero-ctrl{margin-top:28px}
  .b-hero .hero-bars button{width:36px}
  .b-stats dl{grid-template-columns:repeat(2,1fr)}
  .b-stats dl>div{padding:22px 16px}
  .b-stats dl>div:nth-child(odd){border-left:0;padding-left:0}
  .b-stats dl>div:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .b-sec{padding:64px 0}
  .b-products{grid-template-columns:repeat(2,1fr);gap:28px 14px}
  .b-product strong{font-size:15.5px}
  .b-fac{grid-template-columns:1fr}
  .b-certs{grid-template-columns:repeat(2,1fr)}
  .b-biz h3{font-size:20px}
  .b-biz li a{grid-template-columns:1fr 96px}
  .b-news ul li a{grid-template-columns:1fr;gap:2px}
  .b-sub{padding:44px 0 30px}
}
@media (prefers-reduced-motion:reduce){.b-hero .hero-slide{transition:none}}

