/* ===== Theme H — tile grid. Loaded after the base (A) stylesheet. ===== */
body.theme-h{
  --page:#eef0f3; --tile:#ffffff;
  --primary:var(--deep); --ink:#141a26; --ink-2:#3c4455; --muted:#6c7486; --line:#e2e5ea; --bg-soft:#eef0f3;
  --radius:18px; --radius-sm:12px; --shadow:none; --shadow-lg:0 20px 50px rgba(20,26,38,.12); --gap:14px;
  --font:'Wanted Sans Variable','Wanted Sans','Pretendard Variable',Pretendard,sans-serif;
  font-family:var(--font);background:var(--page);color:var(--ink)
}
.theme-h h1,.theme-h h2,.theme-h h3{font-weight:700;letter-spacing:-.025em}
.theme-h a:focus-visible,.theme-h button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.h-tile{background:var(--tile);border-radius:var(--radius);position:relative;overflow:hidden}

/* header: utility / centered logo / centered menu */
.h-header{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:100}
.h-util{border-bottom:1px solid var(--line);font-size:13px;color:var(--muted)}
.h-util .container{display:flex;justify-content:space-between;align-items:center;height:38px}
.h-util span{display:flex;gap:18px}
.h-util a:hover{color:var(--accent)}
.h-brand .container{display:flex;justify-content:center;align-items:center;padding-top:24px;padding-bottom:14px;position:relative}
.h-brand .logo{align-items:center;text-align:center}
.theme-h .logo-text{font-size:32px;font-weight:800;letter-spacing:-.04em}
.theme-h .logo-text b{color:var(--accent)}
.theme-h .logo-sub{letter-spacing:.3em;margin-top:6px;color:var(--muted);opacity:1}
.h-brand .menu-toggle{position:absolute;right:18px;top:50%;transform:translateY(-50%);color:var(--ink)}
.h-nav ul{display:flex;justify-content:center;gap:4px}
.h-nav li{position:relative}
.h-nav li>a{display:block;padding:14px 20px 18px;font-weight:600;font-size:15.5px;color:var(--ink-2)}
.h-nav li+li>a::before{content:"";position:absolute;left:0;top:19px;height:12px;width:1px;background:var(--line)}
.h-nav li:hover>a,.h-nav li.is-active>a{color:var(--accent)}
.h-nav .sub{position:absolute;top:100%;left:50%;transform:translate(-50%,6px);min-width:190px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px;box-shadow:var(--shadow-lg);opacity:0;visibility:hidden;transition:.2s;z-index:110}
.h-nav li:hover>.sub,.h-nav li:focus-within>.sub{opacity:1;visibility:visible;transform:translate(-50%,0)}
.h-nav .sub a{display:block;padding:9px 12px;border-radius:9px;font-size:14.5px;white-space:nowrap;color:var(--ink-2)}
.h-nav .sub a:hover{background:var(--page);color:var(--accent)}

/* buttons */
.h-btn{display:inline-flex;align-items:center;height:46px;padding:0 22px;border-radius:999px;background:var(--accent);color:#fff;font-weight:700;font-size:15px}
.h-btn:hover{filter:brightness(1.1)}
.h-btn-white{background:#fff;color:var(--ink)}
.h-btn-white:hover{filter:none;background:var(--accent);color:#fff}
.theme-h .btn{border-radius:999px}
.theme-h .btn .arrow{display:none}
.theme-h .btn-primary,.theme-h .btn-accent{background:var(--accent)}
.theme-h .eyebrow{color:var(--accent);letter-spacing:0;text-transform:none}
.theme-h .tag{background:var(--page);color:var(--accent)}
.theme-h .more-link{color:var(--accent)}
.theme-h .more-link .arrow{display:none}

/* home bento */
.h-sec{padding:0 0 var(--gap)}
.h-first{padding-top:var(--gap)}
.h-bento{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:minmax(150px,auto);gap:var(--gap);grid-template-areas:"hero hero about about" "hero hero s1 s2" "feat notice notice contact"}
.h-hero{grid-area:hero;min-height:520px;background:var(--deep)}
.h-hero .hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .9s}
.h-hero .hero-slide::after{display:none}
.h-hero .hero-slide.is-active{opacity:1;visibility:visible}
.h-hero-img{position:absolute;inset:0;background:center/cover no-repeat}
.h-hero-img::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(10,15,30,.85),rgba(10,15,30,0) 60%)}
.h-hero-text{position:absolute;left:32px;right:32px;bottom:56px;color:#fff;display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.h-hero-text h1,.h-hero-text .h-h1{font-size:clamp(28px,3vw,44px);line-height:1.25;font-weight:800;letter-spacing:-.035em}
.h-hero-dots{position:absolute;left:32px;bottom:26px;display:flex;gap:6px;z-index:2}
.h-hero-dots button{width:26px;height:4px;border-radius:999px;background:rgba(255,255,255,.35)}
.h-hero-dots button i{background:#fff}
.h-hero.is-paused .hero-bars button.is-active i{animation-play-state:paused}
.h-about{grid-area:about;background:var(--accent);color:#fff;padding:32px;display:flex;flex-direction:column;gap:12px}
.h-about h2{font-size:clamp(22px,2vw,30px);line-height:1.3}
.h-about p{opacity:.85;font-size:15px}
.h-tile-go{margin-top:auto;font-weight:700;display:inline-flex;align-items:center;gap:8px}
.h-tile-go::after{content:"↗";font-size:18px}
.h-stat{padding:26px 28px;display:flex;flex-direction:column;justify-content:space-between}
.h-bento .h-stat:nth-of-type(1){grid-area:s1}
.h-stat dd{margin:0;font-size:clamp(40px,4vw,60px);font-weight:800;letter-spacing:-.04em;line-height:1;color:var(--ink)}
.h-stat dd small{font-size:.38em;color:var(--accent);margin-left:4px}
.h-stat dt{color:var(--muted);font-weight:600}
.h-feat{grid-area:feat;padding:18px;display:flex;flex-direction:column;gap:4px}
.h-feat-img{display:block;aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:var(--page);margin-bottom:10px}
.h-feat-img img{width:100%;height:100%;object-fit:cover}
.h-feat small{color:var(--accent);font-weight:700;font-size:13px}
.h-feat strong{font-size:17px}
.h-notice{grid-area:notice;padding:26px 28px}
.h-tile-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.h-tile-head h3{font-size:18px}
.h-tile-head a{width:32px;height:32px;border-radius:50%;background:var(--page);display:grid;place-items:center;font-size:20px;color:var(--ink-2)}
.h-tile-head a:hover{background:var(--accent);color:#fff}
.h-notice li a{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--line);font-size:15px}
.h-notice li:last-child a{border-bottom:0}
.h-notice span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.h-notice time{color:var(--muted);flex-shrink:0}
.h-notice a:hover span{color:var(--accent)}
.h-contact{grid-area:contact;background:var(--deep);color:#fff;padding:26px 28px;display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.h-contact h3{font-size:19px;line-height:1.35}
.h-contact-phone{font-size:24px;font-weight:800;margin-top:auto}

/* section tile grids */
.h-head{display:flex;justify-content:space-between;align-items:center;margin:40px 4px 16px}
.h-head h2{font-size:clamp(24px,2.4vw,32px)}
.h-more{font-weight:700;color:var(--accent);background:#fff;padding:9px 16px;border-radius:999px;font-size:14px}
.h-more:hover{background:var(--accent);color:#fff}
.h-grid{display:grid;gap:var(--gap)}
.h-grid-biz{grid-template-columns:repeat(4,1fr)}
.h-biz{display:flex;flex-direction:column}
.h-biz.is-wide{grid-column:span 2;grid-row:span 2}
.h-biz-img{display:block;aspect-ratio:4/3;overflow:hidden;background:var(--page)}
.h-biz.is-wide .h-biz-img{aspect-ratio:auto;flex:1;min-height:300px}
.h-biz-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.h-biz:hover .h-biz-img img{transform:scale(1.04)}
.h-biz-body{padding:20px 22px;display:flex;flex-direction:column;gap:6px}
.h-biz-body strong{font-size:19px}
.h-biz.is-wide .h-biz-body strong{font-size:26px}
.h-biz-body span{color:var(--muted);font-size:14.5px}
.h-grid-4{grid-template-columns:repeat(4,1fr)}
.h-prod{padding:14px 14px 18px;display:flex;flex-direction:column;gap:2px}
.h-prod-img{display:block;aspect-ratio:1;border-radius:12px;overflow:hidden;background:var(--page);margin-bottom:12px}
.h-prod-img img{width:100%;height:100%;object-fit:cover}
.h-prod small{color:var(--accent);font-weight:700;font-size:12.5px}
.h-prod strong{font-size:16.5px}
.h-prod:hover{outline:2px solid var(--accent)}
.h-grid-split{grid-template-columns:1.3fr 1fr;padding-top:26px}
.h-pad{padding:26px 28px}
.h-fac{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.h-fac a{display:flex;flex-direction:column;gap:8px;font-size:14.5px}
.h-fac a span{display:block;aspect-ratio:4/3;border-radius:10px;overflow:hidden;background:var(--page)}
.h-fac img{width:100%;height:100%;object-fit:cover}
.h-fac a:hover strong{color:var(--accent)}
.h-certs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.h-certs a{aspect-ratio:3/4;background:var(--page);border-radius:10px;padding:8px}
.h-certs img{width:100%;height:100%;object-fit:contain}

/* footer */
.h-footer{padding:var(--gap) 0 28px}
.h-foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:var(--gap)}
.h-footer .h-tile{padding:30px}
.h-tile-dark{background:var(--deep);color:#a9b0c2;font-size:14px}
.h-tile-dark .logo-text{color:#fff;font-size:24px}
.h-tile-dark .logo{margin-bottom:16px}
.ci p{margin:0 0 6px;display:flex;flex-wrap:wrap;gap:4px 16px}
.ci-privacy{color:#fff;font-weight:700}
.ci-copy{margin-top:16px !important;opacity:.7}
.h-footer h3{font-size:16px;margin-bottom:14px}
.h-foot-menu{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;font-size:14.5px;color:var(--ink-2)}
.h-foot-menu a:hover{color:var(--accent)}
.h-tile-accent{background:var(--accent);color:#fff}
.h-foot-phone{font-size:26px;font-weight:800;margin:0 0 4px}
.h-tile-accent p{opacity:.9;margin:0 0 16px}

/* sub pages: tiles on grey */
.h-sub{padding:var(--gap) 0 0}
.h-sub-tile{padding:56px 48px}
.h-sub-tile h1{font-size:clamp(30px,3.6vw,48px);letter-spacing:-.035em}
.h-sub-tile p{margin-top:12px;color:var(--ink-2);font-size:17px}
.h-crumb{display:flex;gap:10px;font-size:13.5px;color:var(--muted);margin-bottom:18px}
.h-crumb span::before{content:"›";margin-right:10px}
.theme-h .subnav{background:transparent;border:0;position:static;margin-top:var(--gap)}
.theme-h .subnav ul{background:#fff;border-radius:999px;padding:6px;display:inline-flex;max-width:100%}
.theme-h .subnav a{border:0;border-radius:999px;padding:9px 18px}
.theme-h .subnav a.is-on,.theme-h .subnav a:hover{background:var(--accent);color:#fff}
.theme-h .page-body{padding:var(--gap) 0 0}
.theme-h .page-body>.container{background:#fff;border-radius:var(--radius);padding-top:48px;padding-bottom:56px}
.theme-h .page-body>.container.contact-grid{padding:40px}
.theme-h .filter-tabs a.is-on,.theme-h .filter-tabs a:hover{background:var(--accent);border-color:var(--accent)}
.theme-h .p-thumb{background:var(--page);border:0;border-radius:14px}
.theme-h .p-view{background:rgba(43,68,255,.5)}
.theme-h .si-card{border:0;background:var(--page)}
.theme-h .pagination .is-current{background:var(--accent);border-color:var(--accent)}
.theme-h .contact-aside{background:var(--deep);border-radius:var(--radius)}
.theme-h .loc-item{background:var(--page);border:0}
.theme-h .loc-item .ico{background:#fff;color:var(--accent)}
.theme-h .badge-pin{background:var(--accent)}
.theme-h .prose th{background:var(--page)}
.theme-h .fl-contact{background:var(--accent)}
.theme-h .fl-call{background:var(--deep)}

@media (min-width:1025px){.h-brand .menu-toggle{display:none}}
@media (max-width:1024px){
  .h-util{display:none}
  .h-brand .container{justify-content:flex-start;padding-top:14px}
  .h-brand .logo{align-items:flex-start;text-align:left}
  .theme-h .logo-text{font-size:24px}
  .theme-h .logo-sub{letter-spacing:.1em}
  .h-nav{display:none}
  .h-bento{grid-template-columns:repeat(2,1fr);grid-template-areas:"hero hero" "about about" "s1 s2" "feat contact" "notice notice"}
  .h-grid-biz,.h-grid-4{grid-template-columns:repeat(2,1fr)}
  .h-grid-split{grid-template-columns:1fr}
  .h-foot-grid{grid-template-columns:1fr 1fr}
  .h-tile-dark{grid-column:1/-1}
}
@media (max-width:720px){
  .theme-h{--gap:10px}
  .h-hero{min-height:440px}
  .h-hero-text{left:20px;right:20px;bottom:46px}
  .h-hero-dots{left:20px}
  .h-hero-text h1,.h-hero-text .h-h1{font-size:25px}
  .h-about,.h-notice,.h-contact,.h-stat{padding:22px}
  .h-stat dd{font-size:36px}
  .h-bento{grid-template-areas:"hero hero" "about about" "s1 s2" "feat feat" "notice notice" "contact contact"}
  .h-biz.is-wide{grid-column:span 2;grid-row:auto}
  .h-biz.is-wide .h-biz-img{min-height:200px}
  .h-biz-body{padding:14px}
  .h-biz-body strong{font-size:16px}
  .h-biz-body span{display:none}
  .h-biz.is-wide .h-biz-body span{display:block}
  .h-prod strong{font-size:14.5px}
  .h-fac{grid-template-columns:repeat(2,1fr)}
  .h-foot-grid{grid-template-columns:1fr}
  .h-sub-tile{padding:36px 22px}
  .theme-h .page-body>.container{padding:28px 18px 36px;border-radius:14px}
  .theme-h .page-body>.container.contact-grid{padding:20px}
}

