/* ===== Theme C — clean-room instrument panel (dark). Loaded after the base (A) stylesheet. ===== */
body.theme-c{
  --bg:#0b1016; --panel:#111821; --panel-2:#16202b; --line:rgba(148,170,196,.16); --line-2:rgba(148,170,196,.28);
  --ink:#e7edf3; --ink-2:#b7c3cf; --muted:#7f8d9c; --primary:#16202b; --bg-soft:#111821;
  --radius:4px; --radius-sm:3px; --shadow:none; --shadow-lg:0 24px 60px rgba(0,0,0,.45);
  --font:'SUIT Variable',SUIT,'Pretendard Variable',Pretendard,'Apple SD Gothic Neo','Malgun Gothic',sans-serif;
  --num:'Chakra Petch','SUIT Variable',sans-serif;
  background:var(--bg);color:var(--ink);font-family:var(--font)
}
.theme-c ::selection{background:var(--accent);color:#04121a}
.theme-c a:focus-visible,.theme-c button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* header */
.theme-c .site-header{background:rgba(11,16,22,.92);color:var(--ink);border-bottom-color:var(--line);backdrop-filter:blur(10px)}
.theme-c.is-home .site-header{background:linear-gradient(rgba(11,16,22,.75),rgba(11,16,22,0));color:var(--ink);border-color:transparent}
.theme-c.is-home .site-header.is-scrolled,.theme-c.is-home .site-header:hover{background:rgba(11,16,22,.92);color:var(--ink);border-color:var(--line)}
.theme-c .site-header.is-scrolled{box-shadow:0 1px 0 var(--line)}
.theme-c .logo-text{font-weight:800;letter-spacing:-.02em}
.theme-c .logo-text b{color:var(--accent)}
.theme-c .gnb>ul>li>a{font-weight:600}
.theme-c .gnb>ul>li>a::after{background:var(--accent);height:2px}
.theme-c .gnb .sub{background:var(--panel);border-color:var(--line-2);color:var(--ink);box-shadow:var(--shadow-lg);border-radius:4px}
.theme-c .gnb .sub a{color:var(--ink-2)}
.theme-c .gnb .sub a:hover{background:var(--panel-2);color:var(--accent)}
.theme-c .btn-cta{background:transparent;color:var(--accent);border:1px solid var(--accent);border-radius:4px;height:40px}
.theme-c .btn-cta:hover{background:var(--accent);color:#04121a;box-shadow:none;transform:none}
.theme-c .btn-cta .arrow{display:none}
.theme-c .m-drawer-panel{background:var(--panel);color:var(--ink)}
.theme-c .m-drawer-head,.theme-c .m-nav>li,.theme-c .m-drawer-foot{border-color:var(--line)}
.theme-c .m-close{background:var(--panel-2);color:var(--ink)}
.theme-c .m-acc::before,.theme-c .m-acc::after{background:var(--ink)}
.theme-c .m-sub{background:var(--panel-2)}
.theme-c .m-sub a{color:var(--ink-2)}

/* buttons & small parts */
.theme-c .btn{border-radius:4px;font-weight:700}
.theme-c .btn .arrow{display:none}
.theme-c .btn-accent,.theme-c .btn-primary{background:var(--accent);color:#04121a}
.theme-c .btn-accent:hover,.theme-c .btn-primary:hover{box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 25%,transparent);transform:none;filter:none}
.theme-c .btn-ghost{border-color:var(--line-2);color:var(--ink)}
.theme-c .btn-ghost:hover{background:var(--ink);color:var(--bg)}
.theme-c .btn-line{background:transparent;color:var(--ink);border-color:var(--line-2)}
.theme-c .btn-line:hover{border-color:var(--accent);color:var(--accent)}
.theme-c .eyebrow{color:var(--accent);letter-spacing:.04em;text-transform:none;font-weight:700}
.theme-c .tag{background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent);border-radius:3px}
.theme-c .more-link{color:var(--accent)}
.theme-c .more-link .arrow{display:none}
.c-link{color:var(--accent);font-weight:700;font-size:15px;white-space:nowrap;border-bottom:1px solid transparent}
.c-link:hover{border-color:var(--accent)}

/* hero: full-bleed photo + instrument frame + readout */
.c-hero{height:100vh;min-height:680px;max-height:1000px;background:var(--bg)}
.c-hero .hero-slide::after{background:linear-gradient(90deg,rgba(11,16,22,.92) 0%,rgba(11,16,22,.6) 50%,rgba(11,16,22,.25) 100%),linear-gradient(0deg,rgba(11,16,22,.95) 0%,rgba(11,16,22,0) 40%)}
.c-hero .hero-content{padding-bottom:170px}
.c-hero h1,.c-hero .h1-like{font-size:clamp(36px,5.2vw,72px);font-weight:800;letter-spacing:-.035em;line-height:1.15;max-width:880px}
.c-hero .hero-sub{color:var(--ink-2);opacity:1}
.c-kicker{color:var(--accent);font-weight:700;font-size:14px;letter-spacing:.08em;margin-bottom:18px}
.c-frame{position:absolute;inset:calc(var(--header-h) + 24px) 32px 32px;pointer-events:none;z-index:2}
.c-frame i{position:absolute;width:28px;height:28px;border-color:var(--accent);border-style:solid;opacity:.8}
.c-frame i:nth-child(1){top:0;left:0;border-width:2px 0 0 2px}
.c-frame i:nth-child(2){top:0;right:0;border-width:2px 2px 0 0}
.c-frame i:nth-child(3){bottom:0;left:0;border-width:0 0 2px 2px}
.c-frame i:nth-child(4){bottom:0;right:0;border-width:0 2px 2px 0}
.c-status{position:absolute;z-index:3;top:calc(var(--header-h) + 44px);left:0;right:0;display:flex;align-items:center;gap:10px;font-size:13.5px;color:var(--ink-2);font-weight:600}
.c-dot{width:8px;height:8px;border-radius:50%;background:var(--signal);box-shadow:0 0 0 0 var(--signal);animation:cPulse 2.4s infinite}
@keyframes cPulse{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--signal) 60%,transparent)}70%{box-shadow:0 0 0 10px transparent}100%{box-shadow:0 0 0 0 transparent}}
.c-hero-foot{position:absolute;left:0;right:0;bottom:0;z-index:3}
.c-ctrl{display:flex;align-items:center;gap:20px;margin-bottom:22px}
.c-hero .hero-count{font-family:var(--num);font-weight:500;color:var(--ink-2)}
.c-hero .hero-count b{color:var(--ink);font-size:20px}
.c-hero .hero-bars button{background:var(--line-2)}
.c-hero .hero-bars button i{background:var(--accent)}
.c-hero.is-paused .hero-bars button.is-active i{animation-play-state:paused}
.c-hero .hero-arrows button{border-color:var(--line-2);border-radius:4px;font-size:22px}
.c-hero .hero-arrows button:hover{background:var(--accent);color:#04121a;border-color:var(--accent)}
.c-readout{background:rgba(11,16,22,.78);border-top:1px solid var(--line);backdrop-filter:blur(8px)}
.c-readout dl{display:grid;grid-template-columns:repeat(4,1fr);margin:0}
.c-readout dl>div{padding:22px 24px;border-left:1px solid var(--line)}
.c-readout dl>div:first-child{border-left:0;padding-left:0}
.c-readout dt{font-size:13px;color:var(--muted);font-weight:600}
.c-readout dd{margin:2px 0 0;font-family:var(--num);font-size:clamp(28px,2.8vw,40px);font-weight:600;color:var(--ink);line-height:1.2;font-variant-numeric:tabular-nums}
.c-readout dd small{font-size:.5em;color:var(--accent);margin-left:4px}
.c-readout-solo{padding-top:var(--header-h)}
.theme-c .scroll-cue{display:none}

/* sections */
.c-sec{padding:110px 0;border-top:1px solid var(--line)}
.c-sec-panel{background:var(--panel)}
.c-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:40px}
.c-title{font-size:clamp(26px,3vw,40px);font-weight:800;letter-spacing:-.03em;line-height:1.25}
.c-desc{color:var(--ink-2);margin:18px 0 30px;font-size:16.5px;max-width:620px}
.c-panel{position:relative;background:var(--panel);border:1px solid var(--line);border-radius:4px}
.c-panel::before,.c-panel::after{content:"";position:absolute;width:12px;height:12px;border-color:var(--accent);border-style:solid;opacity:0;transition:opacity .25s}
.c-panel::before{top:-1px;left:-1px;border-width:2px 0 0 2px}
.c-panel::after{bottom:-1px;right:-1px;border-width:0 2px 2px 0}
a.c-panel:hover::before,a.c-panel:hover::after{opacity:1}
.c-about{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}
.c-about-img{margin:0;padding:10px}
.c-about-img img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:2px}
.c-about-img::before,.c-about-img::after{opacity:1}

.c-biz{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.c-biz-item{display:grid;grid-template-columns:42% 1fr;overflow:hidden;transition:border-color .25s}
.c-biz-item:hover{border-color:var(--line-2)}
.c-biz-img{background:var(--panel-2);min-height:200px}
.c-biz-img img{width:100%;height:100%;object-fit:cover}
.c-biz-body{padding:28px;display:flex;flex-direction:column;gap:10px;justify-content:center}
.c-biz-body strong{font-size:21px;font-weight:800}
.c-biz-body span{color:var(--ink-2);font-size:15px}
.c-biz-item:hover strong{color:var(--accent)}

.c-products{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.c-product{display:block;border:1px solid var(--line);border-radius:4px;overflow:hidden;background:var(--bg);transition:border-color .25s}
.c-product:hover{border-color:var(--accent)}
.c-product-img{display:block;aspect-ratio:4/3;background:#dfe5ec}
.c-product-img img{width:100%;height:100%;object-fit:cover}
.c-product-body{display:block;padding:14px 16px 16px;border-top:1px solid var(--line)}
.c-product-body small{display:block;font-size:12.5px;color:var(--accent);font-weight:700}
.c-product-body strong{display:block;font-size:16px;font-weight:700;margin-top:3px}

.c-fac{border-top:1px solid var(--line)}
.c-fac li a{display:grid;grid-template-columns:200px 260px 1fr;gap:28px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line);position:relative}
.c-fac li a::before{content:"";position:absolute;left:-16px;top:18px;bottom:18px;width:2px;background:var(--accent);opacity:0;transition:opacity .2s}
.c-fac li a:hover::before{opacity:1}
.c-fac-img{display:block;aspect-ratio:16/10;border-radius:3px;overflow:hidden;background:var(--panel-2)}
.c-fac-img img{width:100%;height:100%;object-fit:cover}
.c-fac strong{font-size:19px;font-weight:800}
.c-fac-sum{color:var(--ink-2);font-size:15px}
.c-fac li a:hover strong{color:var(--accent)}

.c-certs{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.c-certs a{display:flex;flex-direction:column;gap:10px;font-size:14px;color:var(--ink-2);font-weight:600}
.c-certs a span{display:block;aspect-ratio:3/4;background:#f4f5f7;border-radius:3px;padding:8px;border:1px solid var(--line)}
.c-certs img{width:100%;height:100%;object-fit:contain}
.c-certs a:hover{color:var(--accent)}

.c-closing{display:grid;grid-template-columns:1.2fr 1fr;gap:48px;align-items:start}
.c-news{border-top:1px solid var(--line-2)}
.c-news li a{display:grid;grid-template-columns:110px 1fr;gap:18px;padding:18px 0;border-bottom:1px solid var(--line)}
.c-news time{font-family:var(--num);color:var(--muted);font-size:14px}
.c-news a:hover span{color:var(--accent)}
.c-pin{font-style:normal;font-size:12px;font-weight:700;color:var(--signal);border:1px solid var(--signal);border-radius:3px;padding:1px 6px;margin-right:8px}
.c-cta{padding:40px}
.c-cta::before,.c-cta::after{opacity:1}
.c-cta h2{font-size:28px;font-weight:800;letter-spacing:-.03em}
.c-cta p{color:var(--ink-2);margin:12px 0 22px}
.c-phone{display:block;font-family:var(--num);font-size:34px;font-weight:600;color:var(--accent);margin-bottom:24px;letter-spacing:.01em}

/* ---- sub pages (base markup, dark skin) ---- */
.theme-c .subvisual{background:var(--panel);border-bottom:1px solid var(--line)}
.theme-c .subvisual::before{background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:56px 56px;opacity:.6}
.theme-c .subvisual::after{background:radial-gradient(circle,color-mix(in srgb,var(--accent) 22%,transparent),transparent 70%)}
.theme-c .subvisual-bg{opacity:.18}
.theme-c .subvisual h1{font-weight:800}
.theme-c .subvisual p{color:var(--ink-2);opacity:1}
.theme-c .subnav{background:var(--bg);border-color:var(--line)}
.theme-c .subnav a{color:var(--muted)}
.theme-c .subnav a.is-on,.theme-c .subnav a:hover{color:var(--accent);border-color:var(--accent)}
.theme-c .filter-tabs a{border-color:var(--line-2);color:var(--ink-2)}
.theme-c .filter-tabs a.is-on,.theme-c .filter-tabs a:hover{background:var(--accent);border-color:var(--accent);color:#04121a}
.theme-c .list-meta{color:var(--muted)}
.theme-c .list-meta b{color:var(--ink)}
.theme-c .p-thumb{background:#dfe5ec;border-color:var(--line);border-radius:4px}
.theme-c .cert-card .p-thumb{background:#f4f5f7}
.theme-c .p-view{background:color-mix(in srgb,var(--bg) 60%,transparent)}
.theme-c .p-body p{color:var(--muted)}
.theme-c .si-card{background:var(--panel);border-color:var(--line)}
.theme-c .si-card:hover{box-shadow:none;border-color:var(--accent);transform:none}
.theme-c .si-card p{color:var(--ink-2)}
.theme-c .section-detail .sd-summary{color:var(--ink-2);border-color:var(--line)}
.theme-c .prose{color:var(--ink-2)}
.theme-c .prose h2,.theme-c .prose h3,.theme-c .prose h4,.theme-c .prose strong{color:var(--ink)}
.theme-c .prose th,.theme-c .prose td{border-color:var(--line-2)}
.theme-c .prose th{background:var(--panel-2);color:var(--ink)}
.theme-c .prose blockquote{background:var(--panel)}
.theme-c .prose a{color:var(--accent)}
.theme-c .about-hero .lead{color:var(--ink-2)}
.theme-c .gallery-main{background:#dfe5ec;border-color:var(--line)}
.theme-c.is-cert .gallery-main{background:#f4f5f7}
.theme-c .gallery-thumbs button{background:var(--panel-2)}
.theme-c .gallery-thumbs button.is-on{border-color:var(--accent)}
.theme-c .gallery-cap{color:var(--muted)}
.theme-c .detail-info .summary,.theme-c .detail-content,.theme-c .post-nav a,.theme-c .post-nav div{border-color:var(--line)}
.theme-c .detail-info .summary{color:var(--ink-2)}
.theme-c .post-nav{border-top-color:var(--line-2)}
.theme-c .post-nav a,.theme-c .post-nav div{color:var(--ink-2)}
.theme-c .post-nav b{color:var(--ink)}
.theme-c .board-table{border-top-color:var(--line-2)}
.theme-c .board-table th,.theme-c .board-table td{border-color:var(--line);color:var(--muted)}
.theme-c .board-table td.t-title{color:var(--ink)}
.theme-c .badge-pin{background:var(--signal);color:#1a1200}
.theme-c .notice-head{border-top-color:var(--line-2);border-bottom-color:var(--line)}
.theme-c .notice-body{border-color:var(--line)}
.theme-c .pagination a,.theme-c .pagination span{border-color:var(--line-2);color:var(--ink-2)}
.theme-c .pagination .is-current{background:var(--accent);border-color:var(--accent);color:#04121a}
.theme-c .map-box{border-color:var(--line);background:var(--panel)}
.theme-c .loc-item{background:var(--panel);border-color:var(--line)}
.theme-c .loc-item .ico{background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent)}
.theme-c .loc-item h3{color:var(--muted)}
.theme-c .contact-aside{background:var(--panel);border:1px solid var(--line);border-top:2px solid var(--accent)}
.theme-c .contact-aside p{color:var(--ink-2);opacity:1}
.theme-c .contact-aside dd{font-family:var(--num);font-weight:600}
.theme-c .input,.theme-c .select,.theme-c .textarea{background:var(--panel);border-color:var(--line-2);color:var(--ink)}
.theme-c .input::placeholder,.theme-c .textarea::placeholder{color:var(--muted)}
.theme-c .input:focus,.theme-c .select:focus,.theme-c .textarea:focus{border-color:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 18%,transparent)}
.theme-c .consent-box{background:var(--panel);border-color:var(--line)}
.theme-c .consent-box pre{color:var(--ink-2)}
.theme-c .consent-box a{color:var(--accent)}
.theme-c .check input{accent-color:var(--accent)}
.theme-c .done-box{border-color:var(--line);background:var(--panel)}
.theme-c .alert-error{background:#2a1214;border-color:#5c2328;color:#fda4ae}
.theme-c .alert-ok{background:#0f2a1e;border-color:#1f5a3c;color:#86efac}
.theme-c .nf b{color:var(--accent);font-family:var(--num)}

/* footer */
.theme-c .site-footer{background:#070b10;border-top:1px solid var(--line);color:var(--muted)}
.theme-c .footer-top{border-color:var(--line)}
.theme-c .footer-links a.strong{color:var(--accent)}
.theme-c .footer-cs .cs-phone{font-family:var(--num);font-weight:600}
.theme-c .fl-contact{background:var(--accent);color:#04121a}
.theme-c .fl-call{background:var(--panel-2);color:var(--ink);box-shadow:0 0 0 1px var(--line-2),var(--shadow-lg)}
.theme-c .fl-top{background:var(--panel-2);color:var(--ink)}
.theme-c .floating a,.theme-c .floating button{border-radius:6px}

@media (max-width:1024px){
  .c-about,.c-closing{grid-template-columns:1fr;gap:40px}
  .c-biz{grid-template-columns:1fr}
  .c-products{grid-template-columns:repeat(3,1fr)}
  .c-fac li a{grid-template-columns:160px 1fr;gap:6px 20px}
  .c-fac-img{grid-row:1/3}
  .c-certs{grid-template-columns:repeat(4,1fr)}
  .c-frame{inset:calc(var(--header-h) + 12px) 14px 14px}
}
@media (max-width:720px){
  .c-hero{height:auto;min-height:0;max-height:none}
  .c-hero .hero-slide{position:absolute;inset:0 0 auto 0;height:620px}
  .c-hero::before{content:"";display:block;height:620px}
  .c-hero .hero-content{padding-bottom:40px;justify-content:flex-end}
  .c-hero-foot{position:relative}
  .c-status{top:calc(var(--header-h) + 22px);font-size:12.5px}
  .c-frame{display:none}
  .c-ctrl{margin:0 auto;padding-top:16px;padding-bottom:16px}
  .c-readout{position:relative}
  .c-readout dl{grid-template-columns:repeat(2,1fr)}
  .c-readout dl>div{padding:16px 14px}
  .c-readout dl>div:nth-child(odd){border-left:0;padding-left:0}
  .c-readout dl>div:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .c-sec{padding:64px 0}
  .c-head{flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:28px}
  .c-biz-item{grid-template-columns:1fr}
  .c-biz-img{min-height:0;aspect-ratio:16/9}
  .c-products{grid-template-columns:repeat(2,1fr);gap:10px}
  .c-product-body strong{font-size:14.5px}
  .c-fac li a{grid-template-columns:110px 1fr}
  .c-fac strong{font-size:16px}
  .c-fac-sum{font-size:13.5px}
  .c-certs{grid-template-columns:repeat(2,1fr)}
  .c-news li a{grid-template-columns:1fr;gap:2px}
  .c-cta{padding:28px}
  .c-phone{font-size:28px}
}
@media (prefers-reduced-motion:reduce){.c-dot{animation:none}}

