/* Canonical foundations and components. Page files own layout only. */
:root{
 --hc-font-body:"Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
 --hc-font-display:"Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
 --hc-blue:#00439f;--hc-blue-dark:#00347c;--hc-cyan:#009fe8;--hc-cyan-text:#0076b5;--hc-cyan-hover:#005f96;--hc-kakao:#fee500;--hc-naver:#03c75a;--hc-naver-action:#00823b;--hc-naver-action-hover:#006b31;
 --hc-ink:#181c23;--hc-copy:#282d34;--hc-muted:#626a75;--hc-white:#fff;--hc-surface:#f4f5f9;--hc-navy:#161b2e;--hc-line:#e6e8ed;--hc-field-line:#8493a7;--hc-focus-surface:#e7eff9;--hc-danger:#a52828;--hc-danger-dark:#842020;
 --hc-container:1200px;--hc-edge-space:40px;--hc-section-gap:96px;--hc-grid-gap:32px;--hc-card-radius:12px;--hc-pill-radius:999px;
 --hc-type-section:44px;--hc-type-card:24px;--hc-type-body:16px;--hc-type-lead:18px;--hc-type-small:16px;--hc-type-caption:14px;--hc-button-height:52px;--hc-button-large:56px;--hc-control-size:44px;--hc-field-height:52px;--hc-radius-control:6px;--hc-radius-dialog:12px;--hc-dialog-width:620px;
 --hc-space-xs:8px;--hc-space-sm:16px;--hc-space-md:24px;--hc-space-lg:32px;--hc-space-xl:48px;--hc-feedback:200ms;--hc-panel:300ms;--hc-crossfade:1200ms;
 --hc-feature-overlay:linear-gradient(100deg,rgba(0,0,0,.86) 0%,rgba(0,0,0,.78) 48%,rgba(0,0,0,.66) 100%);
 --hc-photo-overlay:linear-gradient(100deg,rgba(0,0,0,.78),rgba(0,0,0,.6));
}
body.hc-page{
 --font-family:var(--hc-font-body);--font-sans:var(--hc-font-body);--font-ko:var(--hc-font-body);
 --ui-text-font-family:var(--hc-font-body);--ui-heading-font-family:var(--hc-font-display);--ui-title-font-family:var(--hc-font-display);--ui-hero-title-font-family:var(--hc-font-display);--ui-btn-font-family:var(--hc-font-body);
 --color-primary:var(--hc-blue);--color-ink:var(--hc-ink);--color-muted:var(--hc-muted);--color-white:var(--hc-white);--color-surface:var(--hc-surface);--color-line:var(--hc-line);--color-line-soft:var(--hc-line);--color-navy:var(--hc-navy);--color-focus:var(--hc-blue);
 --radius-small:var(--hc-radius-control);--radius-card:var(--hc-card-radius);--radius-pill:var(--hc-pill-radius);--section-space:var(--hc-section-gap);--grid-gap:var(--hc-grid-gap);--action-size:var(--hc-button-height);--control-size:var(--hc-control-size);
 --type-section-title:var(--hc-type-section);--type-card-title:var(--hc-type-card);--type-panel-title:24px;--type-body:var(--hc-type-body);--type-small:var(--hc-type-small);--type-caption:var(--hc-type-caption);--page-title-size:var(--hc-type-section);--page-description-size:var(--hc-type-body);
 font-family:var(--hc-font-body);color:var(--hc-copy);font-size:var(--hc-type-body);line-height:1.8;
}
.hc-page :is(h1,h2,h3,h4,h5,h6,p,span,a,li,div,button,input,select,textarea){font-family:inherit;word-break:keep-all;}
.hc-page :is(button,input,select,textarea,small,label){font-size:var(--hc-type-small);}
@media(min-width:1200px){:root{--hc-edge-space:192px;}}
@media(max-width:1199px){:root{--hc-section-gap:72px;--hc-grid-gap:24px;--hc-type-section:36px;}}
@media(max-width:767px){:root{--hc-edge-space:22px;--hc-section-gap:64px;--hc-type-section:32px;--hc-type-card:22px;--hc-type-body:16px;--hc-type-lead:16px;}}

.hc-page [id]{scroll-margin-top:30px;}.hc-page .hc-button i{font-size:24px;}.hc-page :is(a,button,input,textarea,select):focus-visible{outline:none;box-shadow:none;}.hc-page :is(a,button):focus-visible{background:var(--hc-focus-surface);color:var(--hc-blue);text-decoration:underline;text-underline-offset:4px;}.hc-header .hc-subnav a:focus-visible,.hc-header .hc-subnav button:focus-visible{background:var(--hc-surface);color:var(--hc-blue);}@media(max-width:767px){.hc-page [id]{scroll-margin-top:15px;}}
/* Display emphasis: keep body copy in Pretendard. */
body.hc-page :is(.hc-hero-title,.hc-heading,.hcs-title,.page-title,.section-title,.customer-page-title,.hc-feature-title,.hc-about-title,.hc-dialog-heading h2,.board-detail__title,.hc-detail-contact h2),body.hc-page .subVisual .txts p{font-family:var(--hc-font-display);font-synthesis:none;}
body.hc-page :is(.hc-hero-title,.hc-heading,.hcs-title,.page-title,.section-title,.customer-page-title,.hc-feature-title,.hc-about-title,.hc-dialog-heading h2,.board-detail__title,.hc-detail-contact h2) span{font-family:inherit;}
body.hc-page .subVisual .txts p span{font-family:inherit;}.hc-inquiry-form textarea,.hc-inquiry-form select{font:inherit;}.hc-inquiry-form p{font-size:var(--hc-type-small);}

/* Button identity and its semantic variants. Layout widths remain with the page. */
.hc-page .hc-button,.hc-ui-button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:var(--hc-space-xs);min-height:var(--hc-button-height);padding:12px var(--hc-space-md);border:1px solid transparent;border-radius:var(--hc-radius-control);font-family:var(--hc-font-body);font-size:var(--hc-type-small);font-weight:700;line-height:1.4;background:var(--hc-blue);color:var(--hc-white);text-decoration:none;cursor:pointer;transition:background var(--hc-feedback),color var(--hc-feedback),border-color var(--hc-feedback)}
.hc-page .hc-button:hover,.hc-ui-button:hover{background:var(--hc-blue-dark);color:var(--hc-white)}
.hc-page .hc-button:active,.hc-ui-button:active{background:var(--hc-blue-dark);color:var(--hc-white)}
.hc-page .hc-button:focus-visible,.hc-ui-button:focus-visible{background:var(--hc-blue);color:var(--hc-white);text-decoration:underline;text-underline-offset:4px;outline:none;box-shadow:none}
.hc-page .hc-button:disabled,.hc-ui-button:disabled{opacity:.5;cursor:not-allowed}
.hc-ui-button--outline{border-color:var(--hc-blue);background:transparent;color:var(--hc-blue)}
.hc-ui-button--outline:hover,.hc-ui-button--outline:focus-visible{background:var(--hc-blue);color:var(--hc-white)}
.hc-ui-button--outline:active{background:var(--hc-blue-dark);color:var(--hc-white)}
.hc-ui-button--danger{background:var(--hc-danger);color:var(--hc-white)}
.hc-ui-button--danger:hover,.hc-ui-button--danger:focus-visible,.hc-ui-button--danger:active{background:var(--hc-danger-dark);color:var(--hc-white)}
.hc-ui-button--compact{min-height:var(--hc-control-size);padding:8px 16px}
/* One field owns one border. Date/select/textarea preserve their native behavior. */
.hc-page .hc-field{box-sizing:border-box;display:block;margin:0;width:100%;min-width:0;min-height:var(--hc-field-height);height:auto;padding:12px 14px;border:1px solid var(--hc-field-line);border-radius:var(--hc-radius-control);font-family:var(--hc-font-body);font-size:var(--hc-type-small);line-height:1.4;color:var(--hc-copy);background:var(--hc-white);transition:background var(--hc-feedback),border-color var(--hc-feedback)}
.hc-page textarea.hc-field{min-height:160px;resize:vertical;line-height:1.8}
.hc-page .hc-field::placeholder{color:var(--hc-muted)}
.hc-page .hc-field:user-invalid{border-color:var(--hc-danger);background:#fff4f4}
.hc-page .hc-field:user-invalid:focus-visible{background:#ffeaea}
.hc-page .hc-field:focus-visible{border-color:var(--hc-blue);background:var(--hc-focus-surface);outline:none;box-shadow:none}
.hc-page .hc-field[aria-invalid=true]{border-color:var(--hc-danger);background:#fff4f4}
.hc-page .hc-field:disabled{color:var(--hc-muted);background:var(--hc-surface);cursor:not-allowed}
/* Shared card foundation; contents and interaction remain purpose-specific. */
.hc-page .hc-card{min-width:0;border:1px solid var(--hc-line);border-radius:var(--hc-card-radius);overflow:hidden;background:var(--hc-white);box-shadow:none}
.hc-page .hc-card h3{font-size:var(--hc-type-card);line-height:1.5;color:var(--hc-ink)}
.hc-page .gallery-card__image-wrap{aspect-ratio:4/3;overflow:hidden}
.hc-page .gallery-card__image{width:100%;height:100%;object-fit:cover}
.hc-page .gallery-card:hover{transform:none;box-shadow:none}
.hc-page .gallery-card:hover .gallery-card__title{color:var(--hc-blue)}
/* Feedback is shared across public forms and local content management. */
.hc-feedback{font-family:var(--hc-font-body);font-size:var(--hc-type-small);line-height:1.7;color:var(--hc-copy);overflow-wrap:anywhere}
.hc-feedback:empty{display:none}.hc-feedback--error{color:var(--hc-danger)}.hc-feedback--warning{color:var(--hc-danger)}.hc-feedback--success{color:var(--hc-blue)}
.hc-feedback-toast{position:fixed;z-index:90;top:24px;left:50%;transform:translateX(-50%);box-sizing:border-box;width:min(480px,calc(100% - 32px));padding:24px;border:1px solid var(--hc-line);border-radius:var(--hc-radius-dialog);background:var(--hc-white)}
.hc-feedback-toast strong{display:block;font-size:20px}.hc-feedback-toast p{margin:8px 0 16px;font:inherit}.hc-feedback-toast .hc-ui-button{margin-left:auto;display:flex}
.hc-feedback-dialog,.scm-delete-dialog{box-sizing:border-box;width:min(480px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:32px;border:1px solid var(--hc-line);border-radius:var(--hc-radius-dialog);background:var(--hc-white);color:var(--hc-ink);font-family:var(--hc-font-body);font-size:var(--hc-type-small);line-height:1.7}
.hc-feedback-dialog::backdrop,.scm-delete-dialog::backdrop{background:rgba(5,17,43,.65)}
.hc-feedback-dialog h2,.scm-delete-dialog h3{font-family:var(--hc-font-display);font-size:24px;line-height:1.4;margin:0 0 16px}.hc-feedback-dialog p,.scm-delete-dialog p{margin:0 0 24px;overflow-wrap:anywhere;font-size:var(--hc-type-small)}
.hc-feedback-dialog .hc-ui-button{width:100%}.scm-delete-dialog .scm-action-group{display:flex;justify-content:flex-end;gap:16px}.scm-delete-dialog .hc-ui-button{flex:1}.scm-delete-dialog{width:min(420px,calc(100% - 32px))}
@media(max-width:767px){.hc-feedback-dialog,.scm-delete-dialog{padding:24px}.hc-feedback-toast{top:16px;padding:24px}}

.hc-page input.hc-field,.hc-page select.hc-field{height:var(--hc-field-height)}
.hc-page .hc-button[aria-disabled=true]{background:var(--hc-surface);color:var(--hc-muted);cursor:default;box-shadow:none;text-decoration:none}
.hc-page :is(.hc-icon-button,.hc-menu-toggle,.hc-menu-close):focus-visible{background:var(--hc-blue);color:var(--hc-white);text-decoration:none;outline:none;box-shadow:none}
.hc-page :is(input[type=checkbox],input[type=radio]){width:18px;height:18px;accent-color:var(--hc-blue);flex-shrink:0}
html:has(body.hc-page){scrollbar-gutter:stable}
.hc-page .hc-card :is(h2,h3){font-size:var(--hc-type-card);line-height:1.5;color:var(--hc-ink)}
.hc-page .hc-card p{font-size:var(--hc-type-small);line-height:1.8;color:var(--hc-copy)}

/* Text roles: supporting labels stay smaller than reading copy and actions. */
body.hc-page small,
body.hc-page .hc-eyebrow {font-size:var(--hc-type-caption);}
