/* ==========================================================================
   Hello AI — Premium site layer (2026 refresh)
   로고의 딥그린(#176b51)과 잉크(#111418)를 축으로 한 에디토리얼 톤.
   style.css 뒤에 로드되어 내비게이션 / 푸터 / 홈 롱스크롤을 담당한다.
   ========================================================================== */

:root {
    --hm-ink: #111418;
    --hm-ink-soft: #39424b;
    --hm-muted: #6d7680;
    --hm-muted-soft: #98a0a8;

    --hm-green: #176b51;
    --hm-green-deep: #0f4a38;
    --hm-green-bright: #1f8a68;
    --hm-green-tint: #eef4f1;

    --hm-canvas: #ffffff;
    --hm-surface: #f6f7f5;
    --hm-surface-deep: #eef0ed;

    --hm-line: rgba(17, 20, 24, 0.10);
    --hm-line-soft: rgba(17, 20, 24, 0.06);
    --hm-line-strong: rgba(17, 20, 24, 0.18);

    --hm-shell: min(1240px, calc(100vw - 48px));
    --hm-shell-wide: min(1440px, calc(100vw - 48px));
    --hm-nav-h: 84px;

    --hm-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --hm-shadow-sm: 0 1px 2px rgba(17, 20, 24, 0.04), 0 8px 24px rgba(17, 20, 24, 0.05);
    --hm-shadow-md: 0 2px 6px rgba(17, 20, 24, 0.05), 0 18px 48px rgba(17, 20, 24, 0.09);

    /* 레거시 style.css 토큰을 새 딥그린 톤으로 정렬 (사이트 전체 버튼 · 링크 · 강조색) */
    --primary: #176b51;
    --primary-active: #0f4a38;
    --primary-disabled: #cfe1d9;
    --accent-primary: #176b51;
    --accent-secondary: #0f4a38;
}

html.dark-theme,
body.dark-theme {
    --hm-ink: #f3f5f4;
    --hm-ink-soft: #d3d8d6;
    --hm-muted: #9aa3a0;
    --hm-muted-soft: #7b8481;

    --hm-green: #3fae86;
    --hm-green-deep: #176b51;
    --hm-green-bright: #55c69c;
    --hm-green-tint: rgba(63, 174, 134, 0.12);

    --hm-canvas: #101312;
    --hm-surface: #171b1a;
    --hm-surface-deep: #1d2221;

    --hm-line: rgba(255, 255, 255, 0.12);
    --hm-line-soft: rgba(255, 255, 255, 0.07);
    --hm-line-strong: rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
        'SF Pro Text', 'Apple SD Gothic Neo', 'Noto Sans KR', system-ui, sans-serif;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
        'SF Pro Display', 'Apple SD Gothic Neo', 'Noto Sans KR', system-ui, sans-serif;
}

/* ==========================================================================
   1. Site header
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: color-mix(in srgb, var(--hm-canvas) 88%, transparent);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid var(--hm-line-soft);
    transition: box-shadow 0.3s var(--hm-ease), border-color 0.3s var(--hm-ease);
}

.site-header.is-stuck {
    border-bottom-color: var(--hm-line);
    box-shadow: 0 1px 24px rgba(17, 20, 24, 0.07);
}

.site-header-inner {
    width: var(--hm-shell-wide);
    margin: 0 auto;
    height: var(--hm-nav-h);
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.site-brand img {
    height: 46px;
    width: auto;
    display: block;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 1;
}

.site-nav a {
    position: relative;
    display: inline-block;
    padding: 10px 14px;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--hm-ink-soft);
    text-decoration: none;
    border-radius: 8px;
    transition: color 0.2s var(--hm-ease), background 0.2s var(--hm-ease);
    white-space: nowrap;
}

.site-nav a::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 1.5px;
    background: var(--hm-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.32s var(--hm-ease);
}

.site-nav a:hover {
    color: var(--hm-ink);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
    transform: scaleX(1);
}

.site-nav a.is-active {
    color: var(--hm-green);
    font-weight: 600;
}

.site-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.site-header-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--hm-muted);
    text-decoration: none;
    transition: color 0.2s var(--hm-ease);
    white-space: nowrap;
}

.site-header-link:hover {
    color: var(--hm-ink);
}

.site-header-user {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hm-ink);
    text-decoration: none;
}

.site-header-user .role-chip {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--hm-green-tint);
    color: var(--hm-green-deep);
}

.site-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--hm-green);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.24s var(--hm-ease), transform 0.24s var(--hm-ease), box-shadow 0.24s var(--hm-ease);
}

.site-header-cta:hover {
    background: var(--hm-green-deep);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(23, 107, 81, 0.24);
}

.site-header-cta--ghost {
    background: transparent;
    color: var(--hm-green-deep);
    border: 1px solid var(--hm-green);
}

.site-header-cta--ghost:hover {
    background: var(--hm-green-tint);
    color: var(--hm-green-deep);
    box-shadow: none;
}

.site-header-cta--ghost.is-active {
    background: var(--hm-green-tint);
}

.site-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--hm-line);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.site-nav-toggle span {
    position: relative;
    display: block;
    width: 17px;
    height: 1.5px;
    background: var(--hm-ink);
    transition: transform 0.24s var(--hm-ease), opacity 0.2s var(--hm-ease);
}

.site-nav-toggle span::before,
.site-nav-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 17px;
    height: 1.5px;
    background: var(--hm-ink);
    transition: transform 0.24s var(--hm-ease);
}

.site-nav-toggle span::before { top: -5.5px; }
.site-nav-toggle span::after { top: 5.5px; }

.site-header.nav-open .site-nav-toggle span { background: transparent; }
.site-header.nav-open .site-nav-toggle span::before { transform: translateY(5.5px) rotate(45deg); }
.site-header.nav-open .site-nav-toggle span::after { transform: translateY(-5.5px) rotate(-45deg); }

/* 1081–1280px: 로그인하면 오른쪽 링크가 늘어나 메뉴가 넘치므로 간격을 줄이고 사용자 이름은 숨긴다
   (이름은 모바일 메뉴 · 관리자 포털 사이드바에서 보인다) */
@media (min-width: 1081px) and (max-width: 1280px) {
    .site-header-inner { gap: 20px; }
    .site-nav a { padding: 10px 10px; font-size: 0.875rem; }
    .site-nav a::after { left: 10px; right: 10px; }
    .site-header-actions { gap: 10px; }
    .site-header-user { display: none; }
}

@media (max-width: 1080px) {
    :root { --hm-shell: calc(100vw - 40px); --hm-shell-wide: calc(100vw - 40px); --hm-nav-h: 72px; }

    .site-brand img { height: 38px; }

    .site-nav-toggle { display: inline-flex; }

    .site-header-inner { gap: 16px; }

    .site-nav,
    .site-header-actions {
        position: absolute;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--hm-canvas);
        padding: 0 20px;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.34s var(--hm-ease), opacity 0.24s var(--hm-ease), padding 0.24s var(--hm-ease);
    }

    .site-nav { top: var(--hm-nav-h); border-top: 1px solid var(--hm-line-soft); }
    .site-header-actions { top: var(--hm-nav-h); }

    .site-header.nav-open .site-nav {
        max-height: 60vh;
        opacity: 1;
        pointer-events: auto;
        padding: 8px 20px;
        overflow-y: auto;
    }

    .site-header.nav-open .site-header-actions {
        position: static;
        max-height: none;
        opacity: 1;
        pointer-events: auto;
        padding: 4px 20px 20px;
        flex-direction: row;
        flex-wrap: wrap;
        background: var(--hm-canvas);
        border-bottom: 1px solid var(--hm-line-soft);
    }

    .site-header.nav-open .site-nav { position: relative; top: 0; }

    .site-header.nav-open .site-header-inner {
        flex-wrap: wrap;
        height: auto;
        align-items: flex-start;
    }

    .site-header-inner > .site-brand { margin-right: auto; }

    .site-header.nav-open .site-brand,
    .site-header.nav-open .site-nav-toggle { height: var(--hm-nav-h); display: inline-flex; align-items: center; }

    .site-nav a {
        display: block;
        padding: 14px 4px;
        font-size: 1rem;
        border-bottom: 1px solid var(--hm-line-soft);
        border-radius: 0;
    }

    .site-nav a::after { display: none; }

    .site-header-cta { flex: 1; justify-content: center; }
}

/* ==========================================================================
   2. Shared primitives
   ========================================================================== */

.hm-shell {
    width: var(--hm-shell);
    margin: 0 auto;
}

.hm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--hm-green);
}

.hm-eyebrow::before {
    content: '';
    width: 22px;
    height: 1px;
    background: currentColor;
}

.hm-section {
    padding: clamp(72px, 9vw, 132px) 0;
    background: var(--hm-canvas);
    border-top: 1px solid var(--hm-line-soft);
}

.hm-section--tinted { background: var(--hm-surface); }

/* 홈 맨 위 섹션(일정)은 헤더 바로 아래라 경계선을 없애고 윗여백을 히어로 수준으로 줄인다 */
.hm-home > .hm-section:first-child {
    border-top: 0;
    padding-top: clamp(48px, 6vw, 88px);
}

.hm-section-head {
    max-width: 760px;
    margin-bottom: clamp(40px, 5vw, 64px);
}

.hm-section-head h2 {
    margin: 0 0 18px;
    font-size: clamp(1.875rem, 3.6vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.035em;
    color: var(--hm-ink);
}

.hm-section-head p {
    margin: 0;
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.75;
    color: var(--hm-muted);
    letter-spacing: -0.01em;
}

.hm-section-head--split {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hm-section-head--split > div { max-width: 760px; }

.hm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 54px;
    padding: 0 30px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.24s var(--hm-ease), color 0.24s var(--hm-ease),
        border-color 0.24s var(--hm-ease), transform 0.24s var(--hm-ease), box-shadow 0.24s var(--hm-ease);
}

.hm-btn--primary {
    background: var(--hm-green);
    color: #fff;
}

.hm-btn--primary:hover {
    background: var(--hm-green-deep);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(23, 107, 81, 0.26);
}

.hm-btn--ghost {
    background: transparent;
    color: var(--hm-ink);
    border-color: var(--hm-line-strong);
}

.hm-btn--ghost:hover {
    border-color: var(--hm-ink);
    transform: translateY(-2px);
}

.hm-btn--light {
    background: #fff;
    color: var(--hm-green-deep);
}

.hm-btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2); }

.hm-btn--outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.hm-btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.hm-textlink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--hm-ink);
    text-decoration: none;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--hm-line-strong);
    transition: color 0.2s var(--hm-ease), border-color 0.2s var(--hm-ease), gap 0.2s var(--hm-ease);
}

.hm-textlink:hover {
    color: var(--hm-green);
    border-color: var(--hm-green);
    gap: 12px;
}

/* scroll reveal — 기본은 보이는 상태. partials/reveal_script.html이 뷰포트 밖 요소에만 pending을 붙인다 */
.hm-reveal {
    transition: opacity 0.8s var(--hm-ease), transform 0.8s var(--hm-ease);
}

.hm-reveal.hm-reveal-pending {
    opacity: 0;
    transform: translateY(26px);
}

@media (prefers-reduced-motion: reduce) {
    .hm-reveal,
    .hm-reveal.hm-reveal-pending { opacity: 1; transform: none; transition: none; }
    * { scroll-behavior: auto !important; }
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hm-nav-h) + 12px); }

/* ==========================================================================
   3. Section 01 — Hero
   ========================================================================== */

.hm-hero {
    position: relative;
    background: var(--hm-canvas);
    overflow: hidden;
    padding: clamp(64px, 8vw, 108px) 0 clamp(56px, 7vw, 96px);
}

.hm-hero::before {
    content: '';
    position: absolute;
    top: -22%;
    right: -12%;
    width: 60vw;
    height: 60vw;
    max-width: 860px;
    max-height: 860px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(23, 107, 81, 0.10), rgba(23, 107, 81, 0) 62%);
    pointer-events: none;
}

.hm-hero-inner {
    position: relative;
    width: var(--hm-shell);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
}

.hm-hero h1 {
    margin: 0 0 26px;
    font-size: clamp(2.125rem, 4.4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.042em;
    color: var(--hm-ink);
    word-break: keep-all;
}

.hm-hero h1 em {
    font-style: normal;
    color: var(--hm-green);
}

.hm-hero-lead {
    margin: 0 0 34px;
    max-width: 540px;
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    line-height: 1.7;
    color: var(--hm-muted);
    word-break: keep-all;
}

.hm-hero-name {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 0 0 14px;
}

.hm-hero-name strong {
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--hm-ink);
}

.hm-hero-name span {
    font-size: 0.9375rem;
    color: var(--hm-muted);
}

.hm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 38px;
}

.hm-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    padding-top: 26px;
    border-top: 1px solid var(--hm-line-soft);
}

.hm-hero-meta span {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    color: var(--hm-muted);
}

.hm-hero-portrait {
    position: relative;
    justify-self: end;
    width: 100%;
    max-width: 470px;
}

.hm-hero-portrait-frame {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(165deg, var(--hm-surface-deep), var(--hm-surface));
    box-shadow: var(--hm-shadow-md);
}

.hm-hero-portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
}

.hm-hero-portrait-frame.photo-missing::after {
    content: 'Hello AI';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--hm-muted-soft);
}

.hm-hero-badge {
    position: absolute;
    left: -28px;
    bottom: 40px;
    padding: 18px 22px;
    background: var(--hm-canvas);
    border: 1px solid var(--hm-line-soft);
    border-radius: 6px;
    box-shadow: var(--hm-shadow-sm);
}

.hm-hero-badge strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--hm-green);
}

.hm-hero-badge span {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    color: var(--hm-muted);
}

.hm-hero-scroll {
    width: var(--hm-shell);
    margin: clamp(40px, 5vw, 72px) auto 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hm-muted-soft);
}

.hm-hero-scroll::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--hm-line), transparent);
}

@media (max-width: 900px) {
    .hm-hero-inner { grid-template-columns: 1fr; }
    .hm-hero-portrait { justify-self: stretch; max-width: none; order: -1; }
    .hm-hero-portrait-frame { aspect-ratio: 4 / 3.2; }
    .hm-hero-badge { left: auto; right: 16px; bottom: -20px; }
    .hm-hero-inner > div:last-child { margin-bottom: 28px; }
}

/* ==========================================================================
   4. Section 02 — Trust
   ========================================================================== */

.hm-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--hm-line-soft);
    border: 1px solid var(--hm-line-soft);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: clamp(48px, 6vw, 80px);
}

.hm-stat {
    background: var(--hm-canvas);
    padding: clamp(26px, 3vw, 40px) clamp(20px, 2.4vw, 32px);
}

.hm-stat strong {
    display: block;
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.045em;
    color: var(--hm-ink);
}

.hm-stat strong i {
    font-style: normal;
    font-size: 0.5em;
    font-weight: 600;
    margin-left: 4px;
    color: var(--hm-muted);
}

.hm-stat span {
    display: block;
    margin-top: 12px;
    font-size: 0.875rem;
    color: var(--hm-muted);
}

.hm-credentials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-bottom: clamp(48px, 6vw, 76px);
}

.hm-credential {
    padding: 30px 28px;
    background: var(--hm-canvas);
    border: 1px solid var(--hm-line-soft);
    border-radius: 4px;
    transition: border-color 0.3s var(--hm-ease), transform 0.3s var(--hm-ease), box-shadow 0.3s var(--hm-ease);
}

.hm-credential:hover {
    border-color: var(--hm-line-strong);
    transform: translateY(-4px);
    box-shadow: var(--hm-shadow-sm);
}

.hm-credential-mark {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hm-green);
}

.hm-credential h3 {
    margin: 14px 0 8px;
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--hm-ink);
}

.hm-credential p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.68;
    color: var(--hm-muted);
    word-break: keep-all;
}

.hm-clients-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--hm-muted);
}

.hm-clients-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--hm-line-soft);
}

.hm-marquee {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.hm-marquee-track {
    display: flex;
    width: max-content;
    gap: 12px;
    animation: hm-marquee 46s linear infinite;
}

.hm-marquee:hover .hm-marquee-track { animation-play-state: paused; }

@keyframes hm-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.hm-client-chip {
    display: inline-flex;
    align-items: center;
    height: 58px;
    padding: 0 26px;
    border: 1px solid var(--hm-line-soft);
    border-radius: 3px;
    background: var(--hm-canvas);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--hm-ink-soft);
    white-space: nowrap;
}

.hm-client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1px;
    background: var(--hm-line-soft);
    border: 1px solid var(--hm-line-soft);
}

.hm-client-grid span {
    background: var(--hm-canvas);
    padding: 24px 18px;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--hm-ink-soft);
}

@media (max-width: 760px) {
    .hm-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   5. Section 03 — Programs
   ========================================================================== */

.hm-programs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--hm-line-soft);
    border: 1px solid var(--hm-line-soft);
    border-radius: 4px;
    overflow: hidden;
}

.hm-program {
    position: relative;
    background: var(--hm-canvas);
    padding: clamp(32px, 3.4vw, 46px) clamp(24px, 2.6vw, 38px) clamp(36px, 3.6vw, 50px);
    display: flex;
    flex-direction: column;
    transition: background 0.36s var(--hm-ease);
}

.hm-program::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--hm-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--hm-ease);
}

.hm-program:hover::before { transform: scaleX(1); }
.hm-program:hover { background: var(--hm-surface); }

.hm-program-index {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--hm-muted-soft);
}

.hm-program h3 {
    margin: 20px 0 12px;
    font-size: clamp(1.25rem, 1.9vw, 1.5rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.03em;
    color: var(--hm-ink);
    word-break: keep-all;
}

.hm-program-tagline {
    margin: 0 0 26px;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--hm-green);
    font-weight: 500;
    word-break: keep-all;
}

.hm-program ul {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.hm-program li {
    position: relative;
    padding-left: 18px;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--hm-muted);
    word-break: keep-all;
}

.hm-program li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--hm-green);
    opacity: 0.55;
}

.hm-program li strong {
    color: var(--hm-ink);
    font-weight: 600;
}

.hm-program-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 22px;
    border-top: 1px solid var(--hm-line-soft);
}

.hm-program-meta span {
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--hm-green-tint);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--hm-green-deep);
}

@media (max-width: 980px) {
    .hm-programs { grid-template-columns: 1fr; }
}

/* ==========================================================================
   6. Section 04 — Field notes (news)
   ========================================================================== */

.hm-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 2.4vw, 32px);
}

.hm-news-card {
    display: flex;
    flex-direction: column;
    background: var(--hm-canvas);
    border: 1px solid var(--hm-line-soft);
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.36s var(--hm-ease), box-shadow 0.36s var(--hm-ease), border-color 0.36s var(--hm-ease);
}

.hm-news-card:hover {
    transform: translateY(-6px);
    border-color: var(--hm-line);
    box-shadow: var(--hm-shadow-md);
}

.hm-news-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(150deg, var(--hm-surface-deep), var(--hm-surface));
}

.hm-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s var(--hm-ease);
}

.hm-news-card:hover .hm-news-thumb img { transform: scale(1.045); }

.hm-news-thumb-empty {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--hm-muted-soft);
}

.hm-news-body {
    padding: 26px 26px 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hm-news-date {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--hm-green);
    margin-bottom: 14px;
}

.hm-news-card h3 {
    margin: 0 0 12px;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.025em;
    color: var(--hm-ink);
    word-break: keep-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hm-news-card p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--hm-muted);
    word-break: keep-all;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hm-empty {
    padding: 56px 24px;
    text-align: center;
    border: 1px dashed var(--hm-line);
    border-radius: 4px;
    color: var(--hm-muted);
    font-size: 0.9375rem;
    background: var(--hm-canvas);
}

.hm-newsletter-promo { background: #e8f1ec; border-top: 1px solid #d8e6de; border-bottom: 1px solid #d8e6de; }
.hm-newsletter-promo-link { display: block; color: var(--hm-ink); text-decoration: none; }
.hm-newsletter-promo-link:focus-visible { outline: 3px solid var(--hm-green-bright); outline-offset: -4px; }
.hm-newsletter-promo-inner {
    min-height: 258px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 30px;
    padding-bottom: 30px;
}
.hm-newsletter-promo-copy { flex: 1 1 470px; max-width: 560px; }
.hm-newsletter-promo .hm-eyebrow { margin-bottom: 12px; color: var(--hm-green); }
.hm-newsletter-promo h2 { margin: 0 0 10px; color: var(--hm-ink); font-size: 1.875rem; font-weight: 750; line-height: 1.35; }
.hm-newsletter-promo-copy > p:last-child { margin: 0; color: var(--hm-ink-soft); font-size: 0.9375rem; line-height: 1.6; }
.hm-newsletter-promo-visual { position: relative; flex: 0 1 310px; height: 204px; min-width: 230px; }
.hm-newsletter-cover { position: absolute; bottom: 5px; width: 108px; aspect-ratio: 0.68; object-fit: cover; border: 3px solid #fff; box-shadow: 0 12px 26px rgba(17, 20, 24, 0.18); }
.hm-newsletter-cover--back { left: 14px; transform: rotate(-9deg); }
.hm-newsletter-cover--middle { left: 86px; bottom: 12px; transform: rotate(5deg); }
.hm-newsletter-cover--front { left: 156px; transform: rotate(10deg); }
.hm-newsletter-promo-topics { position: absolute; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 5px; align-items: flex-end; }
.hm-newsletter-promo-topics span { padding: 5px 8px; background: var(--hm-green-deep); color: #fff; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.06em; }
.hm-newsletter-promo-action {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid var(--hm-green);
    border-radius: 4px;
    color: var(--hm-green-deep);
    font-size: 0.9375rem;
    font-weight: 650;
    transition: background 0.2s var(--hm-ease), color 0.2s var(--hm-ease);
}
.hm-newsletter-promo-link:hover .hm-newsletter-promo-action { background: var(--hm-green); color: #fff; }

@media (max-width: 700px) {
    .hm-newsletter-promo-inner { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 18px 10px; padding-top: 26px; padding-bottom: 26px; }
    .hm-newsletter-promo-copy { grid-column: 1 / -1; }
    .hm-newsletter-promo h2 { font-size: 1.5rem; }
    .hm-newsletter-promo-visual { grid-column: 1; grid-row: 2; width: 100%; min-width: 0; height: 140px; }
    .hm-newsletter-cover { width: 74px; border-width: 2px; }
    .hm-newsletter-cover--back { left: 0; }
    .hm-newsletter-cover--middle { left: 48px; }
    .hm-newsletter-cover--front { left: 96px; }
    .hm-newsletter-promo-topics { right: 0; bottom: 4px; }
    .hm-newsletter-promo-topics span { padding: 4px 5px; font-size: 0.5rem; }
    .hm-newsletter-promo-action { grid-column: 2; grid-row: 2; align-self: center; justify-self: end; min-height: 44px; gap: 6px; padding: 0 10px; font-size: 0.8125rem; }
}

@media (max-width: 980px) {
    .hm-news-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   7. Section 05 — Schedule
   ========================================================================== */

.hm-schedule-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: clamp(24px, 3vw, 44px);
    align-items: start;
}

.hm-panel {
    background: var(--hm-canvas);
    border: 1px solid var(--hm-line-soft);
    border-radius: 4px;
    padding: clamp(26px, 3vw, 38px);
}

.hm-panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--hm-line-soft);
}

.hm-panel-head h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--hm-ink);
}

.hm-panel-head span {
    font-size: 0.8125rem;
    color: var(--hm-muted);
}

.hm-event {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--hm-line-soft);
}

.hm-event:last-child { border-bottom: 0; padding-bottom: 0; }

.hm-event-date {
    text-align: center;
    padding: 10px 0;
    border-radius: 3px;
    background: var(--hm-surface);
}

.hm-event-date strong {
    display: block;
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--hm-ink);
}

.hm-event-date span {
    display: block;
    margin-top: 5px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--hm-muted);
}

.hm-event-body h4 {
    margin: 2px 0 8px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.02em;
    color: var(--hm-ink);
    word-break: keep-all;
}

.hm-event-body p {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 0.8125rem;
    color: var(--hm-muted);
}

.hm-availability {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.hm-slot {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-width: 66px;
    padding: 12px 10px;
    border: 1px solid var(--hm-line-soft);
    border-radius: 3px;
    background: var(--hm-canvas);
    font: inherit;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.24s var(--hm-ease), background 0.24s var(--hm-ease), box-shadow 0.24s var(--hm-ease);
}

.hm-slot:hover { border-color: var(--hm-green); background: var(--hm-green-tint); }

.hm-slot:focus-visible {
    outline: 2px solid var(--hm-green);
    outline-offset: 2px;
}

.hm-slot.is-selected {
    border-color: var(--hm-green);
    background: var(--hm-green-tint);
    box-shadow: inset 0 0 0 1px var(--hm-green);
}

.hm-slot.is-selected strong { color: var(--hm-green-deep); }

.hm-slot strong {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--hm-ink);
}

.hm-slot span {
    font-size: 0.6875rem;
    color: var(--hm-muted);
}

/* 종일 · 오전 · 오후는 아래 각주(.hm-slot-legend)와 같은 점(.hm-slot-dot)으로만 구분한다 */
.hm-slot-part {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 0.625rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.4;
    color: var(--hm-green-deep);
    background: var(--hm-green-tint);
}

.hm-slot--full { border-color: var(--hm-green); }

.hm-form-picked {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-left: 3px solid var(--hm-green);
    background: var(--hm-green-tint);
    border-radius: 0 3px 3px 0;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--hm-ink-soft);
}

.hm-form-picked strong { color: var(--hm-green-deep); }

/* 강의 요청 진행 단계 안내 — 어두운 초록 배경 위에 올라간다 */
.hm-request-flow {
    list-style: none;
    margin: 28px 0 0;
    padding: 22px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hm-request-flow li {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    grid-template-areas: 'mark title' '. desc';
    gap: 2px 12px;
    align-items: center;
}

.hm-request-flow-mark {
    grid-area: mark;
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.hm-request-flow strong {
    grid-area: title;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
}

.hm-request-flow em {
    grid-area: desc;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
    font-style: normal;
    line-height: 1.6;
    word-break: keep-all;
}

.hm-request-track {
    margin: 20px 0 0;
    font-size: 0.875rem;
    color: var(--hm-muted);
}

.hm-request-track a {
    color: var(--hm-green);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.hm-tracking-code {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 3px;
    background: var(--hm-canvas);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: 0.04em;
}

.hm-slot-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: -12px 0 16px;
    font-size: 0.75rem;
    color: var(--hm-muted);
}

.hm-slot-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hm-slot-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px solid var(--hm-green);
}

.hm-slot-dot--full { background: var(--hm-green); }
.hm-slot-dot--morning { background: linear-gradient(to right, var(--hm-green) 50%, transparent 50%); }
.hm-slot-dot--afternoon { background: linear-gradient(to left, var(--hm-green) 50%, transparent 50%); }

.hm-panel-note {
    margin: 0 0 24px;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--hm-muted);
    word-break: keep-all;
}

.hm-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hm-panel-actions .hm-btn { height: 46px; padding: 0 22px; font-size: 0.9375rem; }

@media (max-width: 980px) {
    .hm-schedule-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   8. Section 06 — Books
   ========================================================================== */

.hm-books {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 2.6vw, 36px);
}

.hm-book {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hm-book-cover {
    position: relative;
    aspect-ratio: 1 / 1.42;
    border-radius: 2px 5px 5px 2px;
    overflow: hidden;
    background: var(--hm-surface-deep);
    box-shadow: 0 2px 4px rgba(17, 20, 24, 0.08), 0 14px 32px rgba(17, 20, 24, 0.14);
    transition: transform 0.42s var(--hm-ease), box-shadow 0.42s var(--hm-ease);
}

.hm-book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 책등 그림자 + 상단 광택으로 실물 책 느낌을 준다 */
.hm-book-cover::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 12px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.06) 55%, rgba(255, 255, 255, 0.16));
    pointer-events: none;
    z-index: 1;
}

.hm-book-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 34%);
    opacity: 0;
    transition: opacity 0.42s var(--hm-ease);
    pointer-events: none;
    z-index: 1;
}

.hm-book:hover .hm-book-cover {
    transform: translateY(-10px);
    box-shadow: 0 4px 8px rgba(17, 20, 24, 0.1), 0 28px 56px rgba(17, 20, 24, 0.22);
}

.hm-book:hover .hm-book-cover::after { opacity: 1; }

.hm-book-info {
    padding-top: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hm-book-meta {
    margin: 0 0 10px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hm-green);
}

.hm-book-info h3 {
    margin: 0 0 8px;
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.03em;
    color: var(--hm-ink);
    word-break: keep-all;
}

.hm-book-author {
    margin: 0 0 12px;
    font-size: 0.8125rem;
    color: var(--hm-muted-soft);
}

.hm-book-note {
    margin: auto 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--hm-line-soft);
    font-size: 0.875rem;
    line-height: 1.68;
    color: var(--hm-muted);
    word-break: keep-all;
}

@media (max-width: 980px) {
    .hm-books { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .hm-books { gap: 20px 16px; }
    .hm-book-info { padding-top: 16px; }
    .hm-book-info h3 { font-size: 0.9375rem; }
    .hm-book-note { font-size: 0.8125rem; }
}

/* ==========================================================================
   9. Section 07 — Lecture request
   ========================================================================== */

.hm-request {
    position: relative;
    padding: clamp(72px, 9vw, 132px) 0;
    background: linear-gradient(160deg, #0f4a38 0%, #0b3729 55%, #08281e 100%);
    color: #fff;
    overflow: hidden;
}

.hm-request::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 55vw;
    height: 55vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.07), transparent 62%);
    pointer-events: none;
}

.hm-request-inner {
    position: relative;
    width: var(--hm-shell);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(36px, 5vw, 72px);
    align-items: start;
}

.hm-request .hm-eyebrow { color: rgba(255, 255, 255, 0.72); }

.hm-request h2 {
    margin: 0 0 18px;
    font-size: clamp(1.875rem, 3.4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.24;
    letter-spacing: -0.035em;
    color: #fff;
    word-break: keep-all;
}

.hm-request-lead {
    margin: 0 0 32px;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.74);
    word-break: keep-all;
}

.hm-request-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hm-request-points li {
    position: relative;
    padding-left: 28px;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    word-break: keep-all;
}

.hm-request-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 14px;
    height: 8px;
    border-left: 1.5px solid rgba(255, 255, 255, 0.75);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.75);
    transform: rotate(-45deg);
}

.hm-form {
    background: var(--hm-canvas);
    border-radius: 6px;
    padding: clamp(28px, 3.4vw, 44px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.hm-form-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 26px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--hm-line-soft);
}

.hm-form-head h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--hm-ink);
}

.hm-form-head span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--hm-green-tint);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--hm-green-deep);
}

.hm-field-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 18px;
}

.hm-field { display: flex; flex-direction: column; gap: 8px; }
.hm-field--full { grid-column: 1 / -1; }

.hm-field label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--hm-ink);
}

.hm-field label i {
    font-style: normal;
    color: var(--hm-green);
    margin-left: 3px;
}

.hm-field input,
.hm-field textarea,
.hm-field select {
    width: 100%;
    box-sizing: border-box;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--hm-line);
    border-radius: 4px;
    background: var(--hm-canvas);
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--hm-ink);
    transition: border-color 0.2s var(--hm-ease), box-shadow 0.2s var(--hm-ease);
}

.hm-field textarea {
    height: auto;
    min-height: 108px;
    padding: 13px 14px;
    line-height: 1.65;
    resize: vertical;
}

.hm-field input:focus,
.hm-field textarea:focus,
.hm-field select:focus {
    outline: none;
    border-color: var(--hm-green);
    box-shadow: 0 0 0 3px rgba(23, 107, 81, 0.12);
}

.hm-field input::placeholder,
.hm-field textarea::placeholder { color: var(--hm-muted-soft); }

.hm-form-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.hm-form-foot p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--hm-muted);
}

.hm-form-foot .hm-btn { min-width: 190px; }

.hm-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 4px;
    font-size: 0.875rem;
    line-height: 1.6;
}

.hm-alert--success {
    background: var(--hm-green-tint);
    color: var(--hm-green-deep);
    border: 1px solid rgba(23, 107, 81, 0.2);
}

.hm-alert--error {
    background: #fdf0ef;
    color: #a83b32;
    border: 1px solid rgba(168, 59, 50, 0.2);
}

@media (max-width: 980px) {
    .hm-request-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .hm-field-grid { grid-template-columns: 1fr; }
    .hm-form-foot .hm-btn { width: 100%; }
}

/* ==========================================================================
   10. Footer
   ========================================================================== */

.site-footer {
    background: #0e1113;
    color: rgba(255, 255, 255, 0.68);
    padding: clamp(56px, 6vw, 84px) 0 40px;
}

.site-footer-inner {
    width: var(--hm-shell);
    margin: 0 auto;
}

.site-footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer-logo {
    margin: 0 0 20px;
    font-size: 1.625rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: #fff;
}

.site-footer-brand p {
    margin: 0 0 8px;
    font-size: 0.875rem;
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.56);
    max-width: 340px;
    word-break: keep-all;
}

.site-footer-col h4 {
    margin: 0 0 18px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.44);
}

.site-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer-col a,
.site-footer-col span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
    transition: color 0.2s var(--hm-ease);
}

.site-footer-col a:hover { color: #fff; }

.site-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 26px;
}

.site-footer-bottom p {
    margin: 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.42);
}

.site-footer-legal {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-footer-legal a {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.56);
    text-decoration: none;
}

.site-footer-legal a:hover { color: #fff; }

@media (max-width: 860px) {
    .site-footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 520px) {
    .site-footer-top { grid-template-columns: 1fr; }
}

/* ==========================================================================
   11. 공용 페이지 셸 (소개 / 일정 / 뉴스 / 채널)
   ========================================================================== */

.hm-page-hero {
    position: relative;
    padding: clamp(56px, 7vw, 96px) 0 clamp(44px, 5vw, 72px);
    background: var(--hm-canvas);
    border-bottom: 1px solid var(--hm-line-soft);
    overflow: hidden;
}

.hm-page-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -8%;
    width: 46vw;
    height: 46vw;
    max-width: 680px;
    max-height: 680px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(23, 107, 81, 0.09), rgba(23, 107, 81, 0) 62%);
    pointer-events: none;
}

.hm-page-hero-inner {
    position: relative;
    width: var(--hm-shell);
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hm-page-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.04em;
    color: var(--hm-ink);
    word-break: keep-all;
}

.hm-page-hero p.hm-page-hero-lead {
    margin: 0;
    max-width: 620px;
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.75;
    color: var(--hm-muted);
    word-break: keep-all;
}

.hm-page-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hm-page-hero-actions .hm-btn { height: 48px; padding: 0 24px; font-size: 0.9375rem; }

/* 경력 타임라인 */
.hm-career {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--hm-line-soft);
    border: 1px solid var(--hm-line-soft);
    border-radius: 4px;
    overflow: hidden;
}

.hm-career-col {
    background: var(--hm-canvas);
    padding: clamp(26px, 3vw, 38px) clamp(22px, 2.4vw, 32px);
}

.hm-career-period {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hm-green);
    margin-bottom: 16px;
}

.hm-career-period::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.hm-career-col h3 {
    margin: 0 0 18px;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--hm-ink);
}

.hm-career-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.hm-career-list li {
    position: relative;
    padding-left: 16px;
    font-size: 0.9375rem;
    line-height: 1.62;
    color: var(--hm-muted);
    word-break: keep-all;
}

.hm-career-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 1px;
    background: var(--hm-muted-soft);
}

.hm-career-list li strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--hm-ink);
    margin-bottom: 2px;
}

@media (max-width: 900px) {
    .hm-career { grid-template-columns: 1fr; }
}

/* 태그 목록 */
.hm-taglist {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hm-taglist span {
    padding: 8px 14px;
    border: 1px solid var(--hm-line);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--hm-ink-soft);
    background: var(--hm-canvas);
}

/* 인용 배너 */
.hm-quote {
    padding: clamp(40px, 5vw, 68px) clamp(28px, 4vw, 60px);
    border-radius: 6px;
    background: linear-gradient(160deg, #0f4a38, #08281e);
    color: #fff;
    text-align: center;
}

.hm-quote p.hm-quote-text {
    margin: 0 auto 18px;
    max-width: 780px;
    font-size: clamp(1.25rem, 2.4vw, 1.875rem);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.03em;
    color: #fff;
    word-break: keep-all;
}

.hm-quote p.hm-quote-sub {
    margin: 0 auto;
    max-width: 700px;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
    word-break: keep-all;
}

/* 유튜브 마크 (내비게이션 / 버튼) */
.yt-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 14px;
    margin-right: 7px;
    border-radius: 4px;
    background: #ff0000;
    vertical-align: -2px;
}

.yt-mark::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4px 0 4px 6px;
    border-color: transparent transparent transparent #fff;
    margin-left: 1px;
}

.site-nav a .yt-mark { transform: scale(0.92); }

/* ==========================================================================
   12. Hello AI News 페이지
   ========================================================================== */

.hm-btn--sm { height: 42px; padding: 0 20px; font-size: 0.875rem; }

.hm-panel-actions--center { justify-content: center; margin-top: 28px; }

.hm-admin-panel {
    margin-bottom: clamp(36px, 4vw, 56px);
    padding: clamp(24px, 2.8vw, 34px);
    background: var(--hm-canvas);
    border: 1px solid var(--hm-line);
    border-radius: 4px;
}

.hm-admin-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.hm-admin-panel-head h3 {
    margin: 6px 0 0;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--hm-ink);
}

.hm-admin-panel .news-form {
    margin-top: 26px;
    padding-top: 26px;
    border-top: 1px solid var(--hm-line-soft);
}

.hm-admin-panel .news-form.is-hidden { display: none; }

.hm-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--hm-ink);
    cursor: pointer;
}

.hm-checkbox input {
    width: 17px;
    height: 17px;
    accent-color: var(--hm-green);
}

.news-status { font-size: 0.8125rem; color: var(--hm-muted); }
.news-status.success { color: var(--hm-green); }
.news-status.error { color: #c0392b; }

.hm-news-card--static { cursor: default; }
.hm-news-card--static:hover { transform: none; box-shadow: var(--hm-shadow-sm); }

.hm-news-flag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(17, 20, 24, 0.78);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hm-news-admin-actions {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--hm-line-soft);
}

.hm-news-admin-actions button {
    flex: 1;
    height: 38px;
    border: 1px solid var(--hm-line);
    border-radius: 4px;
    background: var(--hm-canvas);
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--hm-ink-soft);
    cursor: pointer;
    transition: border-color 0.2s var(--hm-ease), color 0.2s var(--hm-ease), background 0.2s var(--hm-ease);
}

.hm-news-admin-actions button:hover {
    border-color: var(--hm-green);
    color: var(--hm-green);
    background: var(--hm-green-tint);
}

.hm-news-admin-actions .news-delete-btn:hover {
    border-color: #c0392b;
    color: #c0392b;
    background: #fdf0ef;
}

/* ==========================================================================
   13. 채널 Hello AI (YouTube)
   ========================================================================== */

.hm-channel-hero {
    position: relative;
    padding: clamp(56px, 7vw, 100px) 0 clamp(50px, 6vw, 84px);
    background: var(--hm-canvas);
    border-bottom: 1px solid var(--hm-line-soft);
    overflow: hidden;
}

.hm-channel-hero::before {
    content: '';
    position: absolute;
    top: -35%;
    right: -6%;
    width: 44vw;
    height: 44vw;
    max-width: 640px;
    max-height: 640px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 0, 0, 0.07), rgba(255, 0, 0, 0) 62%);
    pointer-events: none;
}

.hm-channel-hero-inner {
    position: relative;
    width: var(--hm-shell);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: clamp(32px, 4vw, 64px);
    align-items: center;
}

.hm-channel-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.04em;
    color: var(--hm-ink);
}

.hm-eyebrow--yt { color: #d40000; }
.hm-eyebrow--yt::before { display: none; }

.hm-btn--yt { background: #ff0000; color: #fff; }
.hm-btn--yt:hover { background: #d40000; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 0, 0, 0.22); }
.hm-btn--yt .yt-mark { background: rgba(255, 255, 255, 0.22); }

.hm-channel-card {
    padding: clamp(26px, 3vw, 36px);
    background: var(--hm-canvas);
    border: 1px solid var(--hm-line-soft);
    border-radius: 6px;
    box-shadow: var(--hm-shadow-sm);
}

.hm-channel-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--hm-surface);
    margin-bottom: 18px;
}

.hm-channel-avatar .yt-mark { margin: 0; width: 24px; height: 17px; }

.hm-channel-handle {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--hm-ink);
}

.hm-channel-desc {
    margin: 0 0 22px;
    font-size: 0.875rem;
    color: var(--hm-muted);
}

.hm-channel-topics {
    list-style: none;
    margin: 0;
    padding: 22px 0 0;
    border-top: 1px solid var(--hm-line-soft);
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.hm-channel-topics li {
    position: relative;
    padding-left: 16px;
    font-size: 0.9375rem;
    color: var(--hm-ink-soft);
}

.hm-channel-topics li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ff0000;
    opacity: 0.7;
}

.hm-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: clamp(20px, 2.4vw, 30px);
}

.hm-video-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: var(--hm-canvas);
    border: 1px solid var(--hm-line-soft);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.34s var(--hm-ease), box-shadow 0.34s var(--hm-ease), border-color 0.34s var(--hm-ease);
}

.hm-video-card:hover {
    transform: translateY(-6px);
    border-color: var(--hm-line);
    box-shadow: var(--hm-shadow-md);
}

.hm-video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--hm-surface-deep);
    overflow: hidden;
}

.hm-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s var(--hm-ease);
}

.hm-video-card:hover .hm-video-thumb img { transform: scale(1.05); }

.hm-video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 0, 0, 0.92);
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity 0.3s var(--hm-ease);
}

.hm-video-play::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 13px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
}

.hm-video-card:hover .hm-video-play { opacity: 1; }

.hm-video-body { padding: 20px 22px 24px; }

.hm-video-body h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.02em;
    color: var(--hm-ink);
    word-break: keep-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hm-video-body p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--hm-muted);
}

.hm-video-skeleton {
    aspect-ratio: 16 / 11;
    border-radius: 4px;
    background: linear-gradient(100deg, var(--hm-surface) 30%, var(--hm-surface-deep) 50%, var(--hm-surface) 70%);
    background-size: 220% 100%;
    animation: hm-shimmer 1.5s linear infinite;
}

@keyframes hm-shimmer {
    from { background-position: 180% 0; }
    to { background-position: -20% 0; }
}

.hm-video-fallback {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.hm-video-fallback p { margin: 0; }

.hm-newsletter-section { background: var(--hm-surface); }

.hm-newsletter-signup {
    max-width: 760px;
    margin: 0 auto 54px;
    padding: 24px 0;
    border-top: 1px solid var(--hm-line);
    border-bottom: 1px solid var(--hm-line);
}

.hm-newsletter-signup label {
    display: block;
    margin-bottom: 10px;
    color: var(--hm-ink);
    font-size: 0.875rem;
    font-weight: 650;
}

.hm-newsletter-signup-row { display: flex; gap: 10px; }

.hm-newsletter-signup input {
    min-width: 0;
    flex: 1;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--hm-line-strong);
    border-radius: 4px;
    background: var(--hm-canvas);
    color: var(--hm-ink);
    font: inherit;
}

.hm-newsletter-signup input:focus { outline: 2px solid var(--hm-green); outline-offset: 2px; }
.hm-newsletter-status { margin: 12px 0 0; color: var(--hm-green); font-size: 0.875rem; }

.hm-newsletter-archive { max-width: 900px; margin: 0 auto; }

.hm-newsletter-archive-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--hm-ink);
}

.hm-newsletter-archive-head h3 { margin: 0; color: var(--hm-ink); font-size: 1.25rem; }
.hm-newsletter-archive-head span, .hm-newsletter-date { color: var(--hm-muted); font-size: 0.8125rem; }

.hm-newsletter-item { padding: 24px 0; border-bottom: 1px solid var(--hm-line-soft); }
.hm-newsletter-item .hm-newsletter-date { margin: 0 0 8px; }
.hm-newsletter-item h4 { margin: 0 0 12px; color: var(--hm-ink); font-size: 1.125rem; }
.hm-newsletter-content { margin: 0; color: var(--hm-ink-soft); line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.hm-newsletter-preview { display: block; width: 100%; height: 620px; border: 1px solid var(--hm-line-soft); background: #fff; }
.hm-newsletter-empty { padding: 24px 0; color: var(--hm-muted); }

.newsletter-admin { max-width: 980px; }
.newsletter-admin-heading { margin-bottom: 22px; }
.newsletter-admin-heading h2, .newsletter-admin-history h3 { margin: 0 0 8px; color: var(--hm-ink); }
.newsletter-admin-heading p { margin: 0; color: var(--hm-muted); }
.newsletter-admin-status { padding: 12px 14px; border-left: 3px solid var(--hm-green); background: var(--hm-green-tint); color: var(--hm-ink); }
.newsletter-admin-form { max-width: 760px; padding: 22px; border: 1px solid var(--hm-line); border-radius: 4px; background: var(--hm-canvas); }
.newsletter-admin-form .form-group { margin-bottom: 18px; }
.newsletter-admin-form label { display: block; margin-bottom: 7px; color: var(--hm-ink); font-weight: 600; }
.newsletter-admin-form input, .newsletter-admin-form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--hm-line-strong); border-radius: 4px; background: var(--hm-canvas); color: var(--hm-ink); font: inherit; }
.newsletter-admin-form textarea { resize: vertical; line-height: 1.7; }
.newsletter-publish-button { min-height: 42px; padding: 0 18px; border: 0; border-radius: 4px; background: var(--hm-green); color: #fff; font: inherit; font-weight: 650; cursor: pointer; }
.newsletter-publish-button:hover { background: var(--hm-green-deep); }
.newsletter-admin-history { margin-top: 40px; }
.newsletter-admin-unsubscribes { margin-top: 40px; }
.newsletter-admin-unsubscribes h3 { display: flex; align-items: baseline; gap: 10px; }
.newsletter-admin-unsubscribes h3 span { color: var(--hm-muted); font-size: 0.8125rem; font-weight: 500; }
.newsletter-admin-table-wrap { overflow-x: auto; border-top: 1px solid var(--hm-line); }
.newsletter-admin-table { width: 100%; border-collapse: collapse; text-align: left; }
.newsletter-admin-table th, .newsletter-admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--hm-line-soft); color: var(--hm-ink-soft); font-size: 0.875rem; }
.newsletter-admin-table th { color: var(--hm-muted); font-weight: 600; }
.hm-newsletter-unsubscribe { max-width: 760px; }
.hm-newsletter-unsubscribe h1 { margin: 0 0 12px; color: var(--hm-ink); font-size: 1.75rem; }
.hm-newsletter-unsubscribe p:not(.hm-eyebrow) { margin: 0 0 24px; color: var(--hm-muted); line-height: 1.7; }
.newsletter-admin-item { padding: 18px 0; border-top: 1px solid var(--hm-line); }
.newsletter-admin-item-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.newsletter-admin-item h4 { margin: 0; color: var(--hm-ink); }
.newsletter-admin-item time { color: var(--hm-muted); font-size: 0.8125rem; white-space: nowrap; }
.newsletter-admin-item p { margin: 10px 0 0; color: var(--hm-ink-soft); line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }

@media (max-width: 600px) {
    .hm-newsletter-signup-row, .newsletter-admin-item-heading { align-items: stretch; flex-direction: column; }
    .hm-newsletter-signup-row .hm-btn { justify-content: center; }
    .newsletter-admin-form { padding: 16px; }
}

@media (max-width: 900px) {
    .hm-channel-hero-inner { grid-template-columns: 1fr; }
}

/* ==========================================================================
   14. 김영욱 소개 페이지
   ========================================================================== */

.hm-profile {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(32px, 4.5vw, 72px);
    align-items: center;
}

.hm-profile-portrait {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 6px;
    overflow: hidden;
    background: linear-gradient(165deg, var(--hm-surface-deep), var(--hm-surface));
    box-shadow: var(--hm-shadow-md);
}

.hm-profile-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
}

.hm-profile-portrait.photo-missing::after {
    content: 'Hello AI';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--hm-muted-soft);
}

.hm-profile-copy h2 {
    margin: 0 0 22px;
    font-size: clamp(1.5rem, 2.8vw, 2.25rem);
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -0.035em;
    color: var(--hm-ink);
    word-break: keep-all;
}

.hm-profile-copy p {
    margin: 0 0 18px;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--hm-muted);
    word-break: keep-all;
}

.hm-profile-copy .hm-taglist { margin-top: 28px; }

@media (max-width: 900px) {
    .hm-profile { grid-template-columns: 1fr; }
    .hm-profile-portrait { aspect-ratio: 4 / 3.4; }
}

/* 2단 패널 */
.hm-two-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 2.6vw, 32px);
    align-items: start;
}

.hm-check-list,
.hm-book-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hm-check-list li {
    position: relative;
    padding-left: 26px;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--hm-muted);
    word-break: keep-all;
}

.hm-check-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 6px;
    width: 12px;
    height: 7px;
    border-left: 1.5px solid var(--hm-green);
    border-bottom: 1.5px solid var(--hm-green);
    transform: rotate(-45deg);
}

.hm-book-list li {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--hm-line-soft);
}

.hm-book-list li:last-child { border-bottom: 0; padding-bottom: 0; }

.hm-book-list strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--hm-ink);
    margin-bottom: 5px;
    word-break: keep-all;
}

.hm-book-list span {
    font-size: 0.8125rem;
    color: var(--hm-muted);
}

.hm-panel .hm-panel-actions { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--hm-line-soft); }
.hm-quote .hm-panel-actions { border-top: 0; padding-top: 0; }

@media (max-width: 900px) {
    .hm-two-col { grid-template-columns: 1fr; }
}

/* ==========================================================================
   15. 일정 페이지 (달력)
   ========================================================================== */

.hm-section--flush { padding-bottom: clamp(48px, 5vw, 72px); }

.hm-calendar-panel {
    background: var(--hm-canvas);
    border: 1px solid var(--hm-line-soft);
    border-radius: 6px;
    padding: clamp(22px, 2.6vw, 34px);
    box-shadow: var(--hm-shadow-sm);
}

.hm-calendar-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--hm-line-soft);
}

.hm-calendar-title h2 {
    margin: 0 0 6px;
    font-size: clamp(1.375rem, 2.4vw, 1.875rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    color: var(--hm-ink);
}

.hm-calendar-title p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--hm-muted);
}

.hm-calendar-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hm-select {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 6px 0 14px;
    border: 1px solid var(--hm-line);
    border-radius: 999px;
    background: var(--hm-canvas);
}

.hm-select label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--hm-muted);
}

.hm-select select.selector {
    height: 40px;
    min-width: 74px;
    padding: 0 8px;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--hm-ink);
    cursor: pointer;
    outline: none;
    box-shadow: none;
}

.hm-calendar-mode {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--hm-green);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
}

.hm-calendar-legend {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 18px 0 22px;
    font-size: 0.8125rem;
    color: var(--hm-muted);
}

.hm-calendar-legend span { display: inline-flex; align-items: center; gap: 7px; }

.hm-calendar-legend .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.hm-calendar-legend .dot-planned { background: var(--hm-green); }
.hm-calendar-legend .dot-working { background: #FBBF24; }
.hm-calendar-legend .dot-done { background: var(--hm-muted-soft); }
.hm-calendar-legend .dot-private { background: var(--hm-line-strong); border: 1px solid var(--hm-muted-soft); }

.hm-calendar-legend-note { margin-left: auto; color: var(--hm-muted-soft); }

.hm-calendar-panel .calendar-view { overflow-x: auto; }

/* 달력 테이블 리파인 */
.hm-calendar-panel .calendar-table {
    border-radius: 4px;
    box-shadow: none;
    border: 1px solid var(--hm-line-soft);
}

.hm-calendar-panel .calendar-table th {
    background: var(--hm-surface);
    color: var(--hm-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 13px 10px;
    border-bottom: 1px solid var(--hm-line-soft);
}

.hm-calendar-panel .calendar-day {
    border-color: var(--hm-line-soft);
    padding: 10px;
}

.hm-calendar-panel .calendar-day:hover {
    background: var(--hm-green-tint);
    border-color: var(--hm-green);
}

.hm-calendar-panel .empty-day { background: var(--hm-surface); }

.hm-calendar-panel .day-number {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--hm-ink-soft);
    border-radius: 999px;
    min-width: 26px;
    text-align: center;
    padding: 4px 7px;
}

.hm-calendar-panel .today-marker { background: var(--hm-green); color: #fff; }

.hm-calendar-panel .event-item {
    border-radius: 4px;
    border-color: var(--hm-line-soft);
    background: var(--hm-surface);
}

.hm-calendar-panel .event-item:hover { border-color: var(--hm-green); }

@media (max-width: 760px) {
    .hm-calendar-toolbar { align-items: flex-start; }
    .hm-calendar-legend-note { margin-left: 0; width: 100%; }
}

.hm-career-more {
    display: flex;
    justify-content: flex-end;
    margin: 22px 0 clamp(44px, 5vw, 68px);
}

/* style.css 의 레거시 블루 계열 light-theme 오버라이드를 새 톤으로 되돌린다 */
html.light-theme .hm-calendar-panel .calendar-table,
body.light-theme .hm-calendar-panel .calendar-table {
    background: var(--hm-canvas) !important;
    box-shadow: none !important;
}

html.light-theme .hm-calendar-panel .calendar-day,
body.light-theme .hm-calendar-panel .calendar-day {
    background: var(--hm-canvas) !important;
    border-color: var(--hm-line-soft) !important;
}

html.light-theme .hm-calendar-panel .calendar-day:hover,
body.light-theme .hm-calendar-panel .calendar-day:hover {
    background: var(--hm-green-tint) !important;
    border-color: var(--hm-green) !important;
}

html.light-theme .hm-calendar-panel .empty-day,
body.light-theme .hm-calendar-panel .empty-day {
    background: var(--hm-surface) !important;
    border-color: var(--hm-line-soft) !important;
}

html.light-theme .hm-select .selector,
body.light-theme .hm-select .selector,
html:not(.light-theme) .hm-select .selector,
body:not(.light-theme) .hm-select .selector {
    -webkit-appearance: none;
    appearance: none;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--hm-ink) !important;
    padding-right: 26px;
    background-image: linear-gradient(45deg, transparent 50%, var(--hm-muted) 50%),
                      linear-gradient(135deg, var(--hm-muted) 50%, transparent 50%) !important;
    background-position: calc(100% - 13px) calc(50% + 1px), calc(100% - 8px) calc(50% + 1px) !important;
    background-size: 5px 5px, 5px 5px !important;
    background-repeat: no-repeat !important;
}

html.light-theme .hm-select label,
body.light-theme .hm-select label {
    color: var(--hm-muted) !important;
    font-weight: 600 !important;
}

/* 소개 페이지 저서 목록 — 표지 썸네일 */
.hm-book-list--cover li {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 16px;
    align-items: center;
    padding-bottom: 16px;
}

.hm-book-list--cover img {
    width: 54px;
    height: 77px;
    object-fit: cover;
    border-radius: 2px 3px 3px 2px;
    box-shadow: 0 1px 3px rgba(17, 20, 24, 0.14), 0 6px 14px rgba(17, 20, 24, 0.1);
}

/* Microsoft 인증 목록 — 시험 코드 + 자격 명칭 */
.hm-cert-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hm-cert-list li {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 14px;
    align-items: baseline;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hm-line-soft);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--hm-muted);
    word-break: keep-all;
}

.hm-cert-list li:last-child { border-bottom: 0; padding-bottom: 0; }

.hm-cert-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 0;
    border-radius: 4px;
    background: var(--hm-green-tint);
    color: var(--hm-green-deep);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-feature-settings: 'tnum';
}

.hm-panel-footnote {
    margin: 22px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--hm-line-soft);
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--hm-muted-soft);
    word-break: keep-all;
}

@media (max-width: 560px) {
    .hm-cert-list li { grid-template-columns: 68px 1fr; gap: 10px; font-size: 0.875rem; }
}

/* ==========================================================================
   16. 교육 프로그램 (/programs 목록 · /programs/<slug> 상세 · 홈 티저)
   ========================================================================== */

/* 과정 카드 — partials/program_card.html */
.hm-program--link {
    color: inherit;
    text-decoration: none;
}

.hm-program--link:focus-visible {
    outline: 2px solid var(--hm-green);
    outline-offset: -2px;
}

/* 트랙 구분은 기존 토큰만 사용: AX = 그린, Cloud = 중립 잉크 */
.hm-track-code {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.hm-track-code--ax { background: var(--hm-green-tint); color: var(--hm-green-deep); }
.hm-track-code--cloud { background: var(--hm-surface-deep); color: var(--hm-ink-soft); }

.hm-program-tools {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 6px;
    flex: 1;
    margin: 0 0 26px;
}

.hm-program-tools span {
    padding: 5px 11px;
    border: 1px solid var(--hm-line);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--hm-ink-soft);
}

.hm-program-more {
    margin-top: 22px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hm-green);
}

.hm-programs--two { grid-template-columns: repeat(2, 1fr); }

/* 상세 — 헤더 */
.hm-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 0.8125rem;
    color: var(--hm-muted-soft);
}

.hm-breadcrumb a { color: var(--hm-muted); text-decoration: none; }
.hm-breadcrumb a:hover { color: var(--hm-green); }

/* 상세 — 핵심 정보 요약 바 */
.hm-course-facts {
    padding: clamp(28px, 4vw, 44px) 0;
    background: var(--hm-surface);
}

.hm-facts {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    background: var(--hm-line-soft);
    border: 1px solid var(--hm-line-soft);
    border-radius: 4px;
    overflow: hidden;
}

.hm-facts > div {
    background: var(--hm-canvas);
    padding: 22px 22px 24px;
}

.hm-facts dt {
    margin-bottom: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--hm-green);
}

.hm-facts dd {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: -0.01em;
    color: var(--hm-ink);
    word-break: keep-all;
}

/* 상세 — 맞지 않는 경우는 체크 대신 대시 */
.hm-check-list--cross li::before {
    top: 11px;
    width: 10px;
    height: 0;
    border-left: 0;
    border-bottom: 1.5px solid var(--hm-muted-soft);
    transform: none;
}

/* 상세 — 차시표 */
.hm-kind-legend {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    font-size: 0.8125rem;
    color: var(--hm-muted);
}

.hm-kind {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.hm-kind--lab { background: var(--hm-green-tint); color: var(--hm-green-deep); }
.hm-kind--lecture { background: var(--hm-surface-deep); color: var(--hm-ink-soft); }

.hm-day + .hm-day { margin-top: clamp(32px, 4vw, 48px); }

.hm-day-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--hm-ink);
}

.hm-day-head h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--hm-ink);
}

.hm-day-head span { font-size: 0.8125rem; color: var(--hm-muted); }

.hm-module-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hm-module {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: start;
    padding: 22px 0;
    border-bottom: 1px solid var(--hm-line-soft);
}

.hm-module-no {
    padding-top: 2px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--hm-muted-soft);
    font-feature-settings: 'tnum';
}

.hm-module-body h4 {
    margin: 0 0 8px;
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--hm-ink);
    word-break: keep-all;
}

.hm-module-body ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hm-module-body li {
    position: relative;
    padding-left: 14px;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--hm-muted);
    word-break: keep-all;
}

.hm-module-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 1px;
    background: var(--hm-muted-soft);
}

.hm-module-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.hm-module-hours {
    min-width: 52px;
    text-align: right;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hm-ink-soft);
    font-feature-settings: 'tnum';
}

/* 상세 — 산출물 · 인증 · 진행 기관 */
.hm-outcomes { margin-bottom: 0; }

.hm-panel--narrow { max-width: 760px; }

.hm-client-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hm-client-row .hm-client-chip {
    gap: 12px;
    height: auto;
    min-height: 58px;
    padding: 14px 24px;
    white-space: normal;
}

.hm-client-row .hm-client-chip em {
    font-style: normal;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--hm-muted-soft);
}

.hm-client-row .hm-client-chip small {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--hm-muted);
}

/* 상세 — 자주 묻는 질문 */
.hm-faq {
    max-width: 880px;
    border-top: 1px solid var(--hm-line);
}

.hm-faq details { border-bottom: 1px solid var(--hm-line); }

.hm-faq summary {
    position: relative;
    padding: 22px 44px 22px 0;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.02em;
    color: var(--hm-ink);
    cursor: pointer;
    list-style: none;
    word-break: keep-all;
}

.hm-faq summary::-webkit-details-marker { display: none; }

.hm-faq summary::after {
    content: '+';
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--hm-green);
}

.hm-faq details[open] summary::after { content: '−'; }

.hm-faq summary:focus-visible { outline: 2px solid var(--hm-green); outline-offset: 4px; }

.hm-faq details p {
    margin: 0 0 24px;
    max-width: 760px;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--hm-muted);
    word-break: keep-all;
}

/* 홈 #programs — 트랙별 요약 티저 */
.hm-program-track + .hm-program-track { margin-top: clamp(40px, 5vw, 64px); }

.hm-program--compact .hm-program-tagline { flex: 1; margin-bottom: 0; }

/* 소개 페이지 — 교육 프로그램 안내 배너 (과정 내용은 /programs 한곳에만 둔다) */
.hm-programs-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px 40px;
    padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px);
    background: var(--hm-green-tint);
    border: 1px solid var(--hm-line-soft);
    border-radius: 6px;
}

.hm-programs-banner > div { max-width: 640px; }

.hm-programs-banner .hm-eyebrow { margin-bottom: 14px; }

.hm-programs-banner h2 {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--hm-ink);
}

.hm-programs-banner p:not(.hm-eyebrow) {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--hm-muted);
    word-break: keep-all;
}

@media (max-width: 980px) {
    .hm-programs--two { grid-template-columns: 1fr; }
    .hm-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hm-facts > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .hm-facts { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .hm-module { grid-template-columns: 36px minmax(0, 1fr); gap: 10px 12px; }
    .hm-module-meta { grid-column: 2; }
    .hm-module-hours { min-width: 0; text-align: left; }
}
