/* ============================================================
 * SPROUT & SKY · 별담 키즈 아카데미
 * Bright friendly KIDS English-Korean academy · Lenis + GSAP
 * ============================================================ */

:root {
    /* Background palette — cream sunlit */
    --bg-0: #fefcf7;          /* page cream */
    --bg-1: #fff7ea;          /* peach soft */
    --bg-2: #ffffff;          /* card pure */
    --bg-3: #fdf0e8;          /* card hover peachier */
    --bg-4: #f5e6d3;          /* subtle cream-sand */

    /* Lines */
    --line-1: #f0e0c8;
    --line-2: #d8c8a8;
    --line-3: #a89878;

    /* Ink (deep navy soft-black) */
    --ink-0: #2d3142;         /* heading */
    --ink-1: #4a5068;         /* body */
    --ink-2: #6a7088;         /* secondary */
    --ink-3: #8a90a8;         /* meta */
    --ink-4: #d8c8a8;         /* placeholder */

    /* Brand multi-color */
    --sage: #7fb069;          /* 자연·성장 (메인 brand) */
    --sage-soft: rgba(127, 176, 105, 0.10);
    --sage-glow: rgba(127, 176, 105, 0.28);
    --coral: #ee6c4d;         /* 활기·CTA (보조 brand) */
    --coral-soft: rgba(238, 108, 77, 0.10);
    --coral-glow: rgba(238, 108, 77, 0.28);
    --sky: #4ea5d9;           /* 꿈·창의 (액센트) */
    --sky-soft: rgba(78, 165, 217, 0.10);
    --sun: #f4b942;           /* 햇살·즐거움 (highlight) */
    --sun-soft: rgba(244, 185, 66, 0.10);

    /* Shadows */
    --shadow-soft: 0 8px 24px rgba(127, 176, 105, 0.12);
    --shadow-warm: 0 12px 32px rgba(238, 108, 77, 0.10);
    --shadow-lift: 0 24px 48px rgba(60, 50, 35, 0.08);

    /* Fonts */
    --display: "Quicksand", "Pretendard", "Noto Sans KR", sans-serif;
    --sans: "Pretendard", "Inter", "Noto Sans KR", -apple-system, sans-serif;
    --hand: "Caveat", "Sue Ellen Francisco", cursive;
    --mono: "JetBrains Mono", "SF Mono", monospace;

    /* Layout */
    --max-w: 1280px;
    --gap-section: 140px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    /* Easing */
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg-0); scroll-behavior: auto; }
body {
    background: var(--bg-0);
    color: var(--ink-1);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--sage); color: #fff; }

/* ===== Demo banner ===== */
.demo-banner {
    background: var(--bg-1);
    color: var(--ink-1);  /* ink-2 → ink-1 (contrast 강화) */
    border-bottom: 1px solid var(--line-1);
    padding: 12px 24px;
    display: flex; align-items: center; gap: 12px;
    font-size: 0.82rem;  /* 0.78 → 0.82 (가독성) */
    letter-spacing: 0.04em;
    position: relative; z-index: 90;
}
.demo-tag {
    background: #c8521f;  /* coral darker → 흰 텍스트와 4.5:1 이상 */
    color: #fff;
    padding: 4px 12px; font-weight: 700; font-size: 0.72rem;
    letter-spacing: 0.08em; border-radius: var(--radius-pill);
}
.demo-text { flex: 1; }
.demo-link {
    color: #c8521f;  /* coral darker — 베이지 배경에서 4.5:1 이상 */
    border-bottom: 1px solid currentColor;
    padding-bottom: 1px;
    font-weight: 700;  /* 600 → 700 굵게 */
}

/* ===== Site Header ===== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(254, 252, 247, 0.88);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line-1);
}
.nav {
    max-width: var(--max-w); margin: 0 auto;
    padding: 16px 32px;
    display: flex; align-items: center; gap: 36px;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.24rem;
    color: var(--ink-0);
    letter-spacing: -0.02em;
    flex-shrink: 0;
}
.logo-mark {
    width: 38px; height: 38px;
    background: var(--sage);
    color: #fff;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--display); font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow-soft);
}
.logo-amp { color: var(--coral); font-weight: 700; margin: 0 2px; }
.logo-sky { color: var(--sky); }
.nav-menu {
    flex: 1; display: flex; gap: 28px; list-style: none;
    font-family: var(--display);
    font-size: 0.94rem;
    font-weight: 600;
}
.nav-menu a {
    color: var(--ink-2);
    padding: 6px 0;
    position: relative;
    transition: color 0.2s;
    letter-spacing: -0.01em;
}
.nav-menu a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
    height: 2px; background: var(--sage);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s var(--spring);
    border-radius: 2px;
}
.nav-menu a:hover { color: var(--ink-0); }
.nav-menu a:hover::after { transform: scaleX(1); }
.nav-menu a.active { color: var(--sage); }
.nav-menu a.active::after { transform: scaleX(1); }

.nav-actions { display: flex; gap: 10px; flex-shrink: 0; align-items: center; }
.nav-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--ink-2);
    font-family: var(--display);
    font-size: 0.86rem;
    font-weight: 600;
    padding: 8px 4px;
    transition: color 0.2s;
}
.nav-link:hover { color: var(--ink-0); }
.nav-link svg { transition: transform 0.25s var(--spring); }
.nav-link:hover svg { transform: rotate(-8deg) scale(1.1); color: var(--coral); }
.nav-divider {
    width: 1px; height: 18px;
    background: var(--line-2);
    margin: 0 6px;
}
.nav-btn {
    padding: 11px 22px;
    font-family: var(--display);
    font-size: 0.88rem;
    font-weight: 700;
    transition: all 0.25s var(--spring);
    border-radius: var(--radius-pill);
    letter-spacing: -0.01em;
}
.nav-btn-ghost { color: var(--ink-1); border: 1.5px solid var(--line-2); background: transparent; }
.nav-btn-ghost:hover { background: var(--bg-3); border-color: var(--sage); color: var(--sage); transform: translateY(-1px); }
.nav-btn-primary { background: var(--coral); color: #fff; border: 0; box-shadow: var(--shadow-warm); }
.nav-btn-primary:hover { background: var(--ink-0); transform: translateY(-2px); box-shadow: var(--shadow-lift); }

/* ===== Hamburger toggle (mobile) ===== */
.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 44px; height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    margin-left: auto;
}
.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--sage);
    border-radius: 2px;
    transition: transform 0.3s var(--spring), opacity 0.2s;
    transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
    position: fixed;
    inset: 0;
    background: rgba(254, 252, 247, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 200;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-drawer.open { opacity: 1; pointer-events: auto; }
.mobile-drawer-close {
    position: absolute;
    top: 20px; right: 24px;
    background: transparent; border: 0;
    color: var(--coral);
    font-size: 2.6rem; font-weight: 300;
    line-height: 1;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
}
.mobile-drawer-nav {
    display: flex; flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 32px;
    width: 100%; max-width: 320px;
}
.mobile-drawer-nav a {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--ink-0);
    letter-spacing: -0.02em;
    transition: color 0.2s;
    padding: 6px 0;
    text-align: center;
    width: 100%;
}
.mobile-drawer-nav a:hover { color: var(--sage); }
.mobile-drawer-link {
    font-family: var(--sans) !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
    color: var(--ink-2) !important;
}
.mobile-drawer-divider {
    width: 64px; height: 1px;
    background: var(--line-2);
    margin: 6px 0;
}
.mobile-drawer-cta-ghost,
.mobile-drawer-cta-primary {
    font-family: var(--display) !important;
    font-weight: 700 !important;
    font-size: 0.94rem !important;
    padding: 14px 32px;
    width: 100%;
    text-align: center;
    border-radius: var(--radius-pill);
    margin-top: 4px;
}
.mobile-drawer-cta-ghost { color: var(--ink-0) !important; border: 1.5px solid var(--line-2); background: transparent; }
.mobile-drawer-cta-primary { background: var(--coral); color: #fff !important; border: 0; }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    display: flex; align-items: center;
    padding: 80px 0 100px;
}
.hero-bg {
    position: absolute; inset: -10%;
    background-image: var(--hero-img);
    background-size: cover;
    background-position: center;
    z-index: -3;
    will-change: transform;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(95deg,
        rgba(254, 252, 247, 0.78) 0%,
        rgba(254, 252, 247, 0.45) 35%,
        rgba(254, 252, 247, 0.10) 65%,
        transparent 100%);
    z-index: -1;
}
.hero-content {
    max-width: var(--max-w); width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    position: relative; z-index: 1;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--sage-soft);
    color: var(--sage);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-family: var(--display);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 28px;
    opacity: 0;
    animation: fade-up 0.8s 0.2s var(--spring) forwards;
}
.hero-eyebrow::before {
    content: "🌱";
    font-size: 1rem;
    line-height: 1;
}
.hero-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.8rem, 8vw, 6.4rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
    color: var(--ink-0);
    margin-bottom: 32px;
    max-width: 14ch;
    text-shadow:
        0 0 1px rgba(45, 49, 66, 0.4),
        0 2px 4px rgba(254, 252, 247, 0.95),
        0 0 32px rgba(254, 252, 247, 0.85);
}
.hero-title .accent-coral { color: var(--coral); position: relative; }
.hero-title .accent-sage { color: var(--sage); position: relative; }
.hero-title .accent-sky { color: var(--sky); position: relative; }
.hero-title .word {
    display: inline-block;
    overflow: hidden;
}
.hero-title .word > span {
    display: inline-block;
    transform: translateY(110%);
    will-change: transform;
}
.hero-desc {
    font-family: var(--sans);
    font-size: 1.18rem;
    line-height: 1.65;
    color: var(--ink-1);
    max-width: 560px;
    margin-bottom: 44px;
    font-weight: 500;
    opacity: 0;
    animation: fade-up 0.8s 1.6s var(--spring) forwards;
    text-shadow: 0 1px 2px rgba(254, 252, 247, 0.95), 0 0 16px rgba(254, 252, 247, 0.8);
}
.hero-actions {
    display: flex; gap: 14px; flex-wrap: wrap;
    margin-bottom: 56px;
    opacity: 0;
    animation: fade-up 0.8s 1.9s var(--spring) forwards;
}
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 32px;
    font-family: var(--display);
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: all 0.3s var(--spring);
    border: 0;
    border-radius: var(--radius-pill);
}
.btn-primary { background: var(--coral); color: #fff; box-shadow: var(--shadow-warm); }
.btn-primary:hover { background: var(--ink-0); transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.btn-ghost { background: transparent; color: var(--ink-0); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--sage); background: var(--bg-2); transform: translateY(-2px); }
.btn-arrow { display: inline-block; transition: transform 0.3s var(--spring); }
.btn:hover .btn-arrow { transform: translateX(6px); }

.hero-trust {
    display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
    opacity: 0;
    animation: fade-up 0.8s 2.2s var(--spring) forwards;
}
.hero-trust-item {
    display: flex; flex-direction: column; gap: 2px;
    font-family: var(--display);
}
.hero-trust-item strong {
    font-size: 1.6rem;
    color: var(--coral);
    font-weight: 700;
    letter-spacing: -0.02em;
}
.hero-trust-item span {
    font-size: 0.78rem;
    color: var(--ink-2);
    font-weight: 600;
}
.hero-trust-divider {
    width: 1px; height: 36px;
    background: var(--line-2);
}

.hero-scroll-cue {
    position: absolute;
    bottom: 24px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--ink-3);
    font-family: var(--display);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0;
    animation: fade-up 0.8s 2.4s forwards;
}
.hero-scroll-cue::after {
    content: "";
    width: 2px; height: 36px;
    background: linear-gradient(180deg, var(--sage), transparent);
    border-radius: 2px;
    animation: scroll-cue 2.4s ease-in-out infinite;
}

/* Mascot Bori (corner) */
.hero-mascot {
    position: absolute;
    bottom: 60px; right: 60px;
    width: 140px; height: 140px;
    z-index: 2;
    animation: bori-bounce 3s ease-in-out infinite;
    pointer-events: none;
}
.hero-mascot img { width: 100%; height: 100%; object-fit: contain; }

@keyframes scroll-cue {
    0%, 100% { transform: scaleY(0.3); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bori-bounce {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}

/* ===== Section Heads ===== */
.section-head {
    max-width: 920px; margin: 0 auto 72px;
    padding: 0 32px;
    text-align: center;
}
.eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--sage-soft);
    color: var(--sage);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-family: var(--display);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}
.eyebrow.coral { background: var(--coral-soft); color: var(--coral); }
.eyebrow.sky { background: var(--sky-soft); color: var(--sky); }
.eyebrow.sun { background: var(--sun-soft); color: var(--sun); }

.section-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: var(--ink-0);
    margin-bottom: 20px;
}
.section-title .accent-coral { color: var(--coral); }
.section-title .accent-sage { color: var(--sage); }
.section-title .accent-sky { color: var(--sky); }
.section-sub {
    font-size: 1.08rem;
    color: var(--ink-2);
    line-height: 1.65;
    max-width: 640px;
    margin: 0 auto;
    font-weight: 500;
}

/* ===== HERITAGE TIMELINE (Section 2) ===== */
.heritage {
    background: var(--bg-1);
    padding: 140px 0;
    overflow: hidden;
}
.heritage-track-wrap {
    height: 100vh;
    position: relative;
    overflow: hidden;
}
.heritage-track {
    display: flex;
    height: 100%;
    will-change: transform;
}
.heritage-card {
    flex: 0 0 80vw;
    max-width: 1080px;
    height: 100%;
    padding: 0 80px;
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: center;
}
.heritage-img {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lift);
    border: 1px solid var(--line-1);
}
.heritage-copy { display: flex; flex-direction: column; gap: 24px; }
.heritage-year {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(4rem, 9vw, 7.6rem);
    color: var(--coral);
    line-height: 0.92;
    letter-spacing: -0.05em;
}
.heritage-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.8rem, 2.4vw, 2.4rem);
    color: var(--ink-0);
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.heritage-body {
    font-size: 1.04rem;
    line-height: 1.7;
    color: var(--ink-1);
    max-width: 560px;
    font-weight: 500;
}
.heritage-meta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--sage-soft);
    color: var(--sage);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-family: var(--display);
    font-size: 0.86rem;
    font-weight: 700;
    width: fit-content;
}
.heritage-progress {
    position: absolute;
    bottom: 56px; left: 50%;
    transform: translateX(-50%);
    display: flex; align-items: center; gap: 14px;
    font-family: var(--display);
    font-size: 0.84rem;
    color: var(--ink-2);
    font-weight: 700;
    z-index: 10;
}
.heritage-progress-bar {
    width: 280px; height: 4px;
    background: var(--line-1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}
.heritage-progress-fill {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    background: linear-gradient(90deg, var(--sage), var(--coral));
    width: 0;
    border-radius: 2px;
    transition: width 0.1s linear;
}

/* HERITAGE 좌우 화살표 + dot indicator */
.heritage-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 11;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1.5px solid var(--line-1);
    color: var(--coral);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.10), 0 2px 6px rgba(238,108,77,0.14);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), background 0.3s, color 0.3s, opacity 0.3s, box-shadow 0.3s;
}
.heritage-nav:hover:not(:disabled) {
    background: var(--coral);
    color: #fff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 16px 40px rgba(238,108,77,0.36);
}
.heritage-nav:active:not(:disabled) { transform: translateY(-50%) scale(0.96); }
.heritage-nav:disabled { opacity: 0.32; cursor: not-allowed; }
.heritage-nav-prev { left: 24px; }
.heritage-nav-next { right: 24px; }
.heritage-nav svg { display: block; }

.heritage-dots {
    position: absolute;
    bottom: 24px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 12px;
    z-index: 10;
}
.heritage-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.16);
    border: 0;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s, width 0.3s;
    padding: 0;
}
.heritage-dot:hover { background: rgba(238,108,77,0.6); transform: scale(1.2); }
.heritage-dot.active {
    background: var(--coral);
    width: 32px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .heritage-nav { display: none; }
    .heritage-dots { display: none; }
}

/* ===== TEACHERS (Section 3) — drag horizontal ===== */
.teachers {
    background: var(--bg-0);
    padding: 140px 0 100px;
    position: relative;
}
.teachers-track-wrap {
    overflow: hidden;
    position: relative;
    cursor: grab;
}
.teachers-track-wrap.dragging { cursor: grabbing; }

/* 좌우 화살표 네비게이션 버튼 */
.teachers-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--line-1);
    color: var(--sage);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10), 0 2px 6px rgba(127,176,105,0.18);
    transition: transform 0.3s var(--spring), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, opacity 0.3s;
}
.teachers-nav:hover:not(:disabled) {
    background: var(--sage);
    color: #fff;
    border-color: var(--sage);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 12px 32px rgba(127,176,105,0.32);
}
.teachers-nav:active:not(:disabled) {
    transform: translateY(-50%) scale(0.96);
}
.teachers-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.teachers-nav-prev { left: 16px; }
.teachers-nav-next { right: 16px; }
.teachers-nav svg { display: block; }
@media (max-width: 768px) {
    .teachers-nav {
        width: 40px;
        height: 40px;
        box-shadow: 0 4px 14px rgba(0,0,0,0.18), 0 1px 3px rgba(127,176,105,0.22);
    }
    .teachers-nav svg { width: 18px; height: 18px; }
    .teachers-nav-prev { left: 8px; }
    .teachers-nav-next { right: 8px; }
}
.teachers-track {
    display: flex;
    gap: 28px;
    padding: 32px 64px 80px;
    will-change: transform;
}
.teacher-card {
    flex: 0 0 320px;
    background: var(--bg-2);
    border: 1px solid var(--line-1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.4s var(--spring), border-color 0.3s, box-shadow 0.4s;
    position: relative;
    user-select: none;
}
.teacher-card:hover {
    transform: translateY(-12px);
    border-color: var(--sage);
    box-shadow: var(--shadow-lift);
}
.teacher-img {
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s var(--spring);
    pointer-events: none;
}
.teacher-card:hover .teacher-img { transform: scale(1.04); }
.teacher-meta {
    padding: 24px 22px 26px;
    display: flex; flex-direction: column; gap: 6px;
    border-top: 1px solid var(--line-1);
}
.teacher-flag {
    font-family: var(--display);
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--sage);
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}
.teacher-flag.foreign { color: var(--sky); }
.teacher-name {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--ink-0);
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.teacher-role {
    font-size: 0.86rem;
    color: var(--ink-2);
    font-weight: 500;
}
.teacher-cert {
    margin-top: 12px;
    display: flex; flex-wrap: wrap; gap: 6px;
}
.teacher-cert span {
    font-family: var(--display);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ink-2);
    background: var(--bg-3);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
}
.teacher-quote {
    font-family: var(--hand);
    font-size: 1.18rem;
    color: var(--ink-1);
    border-left: 3px solid var(--coral);
    padding-left: 14px;
    margin-top: 12px;
    line-height: 1.4;
}
.teacher-years {
    position: absolute; top: 14px; right: 14px;
    background: rgba(254, 252, 247, 0.95);
    backdrop-filter: blur(8px);
    color: var(--coral);
    font-family: var(--display);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-soft);
}
.teachers-cue {
    display: flex; align-items: center; gap: 16px;
    justify-content: center;
    margin-top: 24px;
    font-family: var(--display);
    font-size: 0.78rem;
    color: var(--ink-3);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.teachers-cue-line {
    width: 64px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--ink-3), transparent);
}

/* ===== CLASSES (Section 4) — 6 grid ===== */
.classes {
    background: var(--bg-1);
    padding: 140px 0 120px;
    position: relative;
}
.classes-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.class-cell {
    background: var(--bg-2);
    border: 1px solid var(--line-1);
    border-radius: var(--radius-lg);
    padding: 36px 32px 32px;
    display: flex; flex-direction: column; gap: 16px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--spring), transform 0.7s var(--spring), border-color 0.3s, box-shadow 0.4s;
    cursor: pointer;
    min-height: 360px;
}
.class-cell.in { opacity: 1; transform: translateY(0); }
.class-cell:hover {
    border-color: var(--sage);
    box-shadow: var(--shadow-lift);
    transform: translateY(-6px);
}
.class-cell::before {
    content: "";
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    background-image: var(--cell-img);
    opacity: 0;
    transition: opacity 0.6s;
    z-index: 0;
}
.class-cell:hover::before { opacity: 0.10; }
.class-cell > * { position: relative; z-index: 1; }
.class-cell-num {
    font-family: var(--display);
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--coral);
    letter-spacing: 0.16em;
}
.class-cell-name {
    font-family: var(--display);
    font-weight: 700;
    font-size: 2rem;
    color: var(--ink-0);
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.class-cell-desc {
    font-size: 0.96rem;
    line-height: 1.6;
    color: var(--ink-1);
    flex: 1;
    font-weight: 500;
}
.class-cell-stats {
    display: flex; gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line-1);
    font-family: var(--display);
    font-size: 0.78rem;
    color: var(--ink-2);
    font-weight: 600;
    flex-wrap: wrap;
}
.class-cell-stats b {
    color: var(--coral);
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.04rem;
    margin-right: 4px;
}
.class-cell-price {
    font-family: var(--display);
    font-weight: 700;
    color: var(--ink-0);
    font-size: 1.14rem;
    letter-spacing: -0.01em;
}
.class-cell-price small {
    font-family: var(--sans);
    font-weight: 500;
    font-size: 0.74rem;
    color: var(--ink-3);
    margin-left: 4px;
}

/* ===== FACILITY (Section 5) — sticky cinematic ===== */
.facility {
    background: var(--bg-0);
}
.facility-sticky-wrap {
    height: 250vh; /* sticky 100vh + 4 transition × 37.5vh, round mapping → 마지막 frame=progress 1.0=sticky 끝, hold 0vh × 50vh transition, round mapping → progress 1.0 = 마지막 frame = sticky 끝, hold 0vh */
    position: relative;
}
.facility-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}
.facility-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transition: background-image 0.8s ease-out;
    transform: scale(1.04);
    will-change: background-image;
}
.facility-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg,
        transparent 0%,
        transparent 50%,
        rgba(254, 252, 247, 0.30) 75%,
        rgba(254, 252, 247, 0.92) 100%);
}
.facility-content {
    position: absolute;
    bottom: 80px; left: 0; right: 0;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 64px;
    z-index: 2;
}
.facility-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(127, 176, 105, 0.95);
    color: #fff;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-family: var(--display);
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 24px;
}
.facility-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
    color: var(--ink-0);
    margin-bottom: 20px;
    max-width: 16ch;
    text-shadow: 0 2px 12px rgba(254, 252, 247, 0.85);
}
.facility-desc {
    font-size: 1.14rem;
    line-height: 1.65;
    color: var(--ink-1);
    max-width: 580px;
    margin-bottom: 20px;
    font-weight: 500;
    text-shadow: 0 1px 8px rgba(254, 252, 247, 0.85);
}
.facility-meta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--bg-2);
    color: var(--coral);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-family: var(--display);
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--line-1);
}
.facility-progress {
    position: absolute;
    top: 56px; right: 64px;
    z-index: 3;
    display: flex; align-items: center; gap: 14px;
    background: var(--bg-2);
    border-radius: var(--radius-pill);
    padding: 12px 22px;
    border: 1px solid var(--line-1);
    box-shadow: var(--shadow-soft);
    font-family: var(--display);
    font-weight: 700;
    font-size: 0.84rem;
    color: var(--ink-2);
}
.facility-progress-bar {
    display: inline-block;
    width: 200px; height: 4px;
    background: var(--line-1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}
.facility-progress-fill {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    background: linear-gradient(90deg, var(--sage), var(--coral));
    width: 0;
    border-radius: 2px;
    transition: width 0.2s linear;
}

/* ===== ALUMNI (Section 6) ===== */
.alumni-section {
    background: var(--bg-1);
    padding: 140px 0 120px;
    overflow: hidden;
}
.alumni-marquee {
    overflow: hidden;
    margin-bottom: 80px;
    padding: 24px 0;
    background: var(--bg-2);
    border-top: 1px solid var(--line-1);
    border-bottom: 1px solid var(--line-1);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.alumni-marquee-track {
    display: flex;
    gap: 56px;
    white-space: nowrap;
    animation: alumni-scroll 60s linear infinite;
    will-change: transform;
}
.alumni-marquee-track:hover { animation-play-state: paused; }
.alumni-marquee-item {
    display: inline-flex; align-items: baseline; gap: 12px;
    font-family: var(--display);
    flex-shrink: 0;
    font-weight: 700;
}
.alumni-marquee-item .ay {
    color: var(--coral);
    font-size: 1.4rem;
    letter-spacing: -0.02em;
}
.alumni-marquee-item .as {
    color: var(--ink-1);
    font-size: 1rem;
    font-weight: 600;
}
.alumni-marquee-item .ac {
    color: var(--sage);
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 600;
}
@keyframes alumni-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.alumni-highlights {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.alumni-card {
    background: var(--bg-2);
    border: 1px solid var(--line-1);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    display: flex; flex-direction: column; gap: 16px;
    transition: border-color 0.3s, transform 0.3s var(--spring), box-shadow 0.4s;
}
.alumni-card:hover { border-color: var(--coral); transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.alumni-card-year {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--coral-soft);
    color: var(--coral);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-family: var(--display);
    font-size: 0.78rem;
    font-weight: 700;
    width: fit-content;
}
.alumni-card-name {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--ink-0);
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.alumni-card-school {
    font-size: 0.96rem;
    color: var(--ink-1);
    border-bottom: 1px solid var(--line-1);
    padding-bottom: 16px;
    font-weight: 500;
}
.alumni-card-current {
    font-family: var(--display);
    font-size: 0.84rem;
    color: var(--sage);
    font-weight: 700;
    letter-spacing: -0.01em;
}
.alumni-card-quote {
    font-family: var(--hand);
    font-size: 1.16rem;
    line-height: 1.4;
    color: var(--ink-1);
    border-left: 3px solid var(--coral);
    padding-left: 16px;
    margin-top: 8px;
}

/* ===== AWARDS (Section 7) ===== */
.awards {
    background: var(--bg-0);
    padding: 140px 0 120px;
}
.awards-stats {
    max-width: var(--max-w);
    margin: 0 auto 96px;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.award-stat {
    background: var(--bg-2);
    border: 1px solid var(--line-1);
    border-radius: var(--radius-lg);
    padding: 48px 24px;
    text-align: center;
    display: flex; flex-direction: column; gap: 12px;
    transition: transform 0.3s var(--spring), box-shadow 0.4s;
}
.award-stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.award-num {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(3.2rem, 6vw, 5rem);
    line-height: 1;
    color: var(--coral);
    letter-spacing: -0.04em;
    display: block;
}
.award-num small {
    font-family: var(--display);
    font-size: 0.5em;
    color: var(--ink-2);
    margin-left: 4px;
}
.award-label {
    font-family: var(--display);
    font-size: 0.86rem;
    color: var(--ink-2);
    font-weight: 700;
    letter-spacing: -0.01em;
}
.awards-list {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex; flex-direction: column;
}
.award-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 32px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line-1);
    align-items: baseline;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s var(--spring), transform 0.6s var(--spring);
}
.award-item.in { opacity: 1; transform: translateX(0); }
.award-item-year {
    font-family: var(--display);
    font-weight: 700;
    color: var(--coral);
    font-size: 1.6rem;
    letter-spacing: -0.02em;
}
.award-item-text {
    font-size: 1.04rem;
    color: var(--ink-1);
    line-height: 1.5;
    font-weight: 500;
}

/* ===== TRIAL PROCESS (Section 8) — 6 step pin ===== */
.process {
    background: var(--bg-1);
    padding: 140px 0 0;
}
.process-pin-wrap {
    height: 280vh; /* sticky 100vh + 5 transition × 36vh, round mapping → 마지막 step=progress 1.0=pin 끝, hold 0vh × 50vh transition, round mapping → progress 1.0 = 마지막 step = pin 끝, hold 0vh */
    position: relative;
}
.process-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    align-items: stretch;
    overflow: hidden;
}
.process-step-num {
    background: var(--bg-2);
    color: var(--coral);
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(7rem, 16vw, 14rem);
    line-height: 1;
    letter-spacing: -0.06em;
    display: flex; align-items: center; justify-content: center; gap: 16px;
    border-right: 1px solid var(--line-1);
    position: relative;
    padding: 32px;
}
.process-step-num small {
    font-family: var(--display);
    font-size: 1rem;
    color: var(--ink-3);
    font-weight: 700;
    letter-spacing: 0.16em;
    align-self: flex-end;
    margin-bottom: 32px;
}
.process-step-body {
    background: var(--bg-1);
    padding: 80px 64px;
    display: flex; flex-direction: column; justify-content: center; gap: 28px;
    max-width: 720px;
}
.process-step-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--ink-0);
}
.process-step-desc {
    font-size: 1.14rem;
    line-height: 1.7;
    color: var(--ink-1);
    max-width: 540px;
    font-weight: 500;
}
.process-step-meta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--sage-soft);
    color: var(--sage);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-family: var(--display);
    font-size: 0.86rem;
    font-weight: 700;
    width: fit-content;
}
.process-step-rail {
    position: absolute;
    top: 50%; right: 32px;
    transform: translateY(-50%);
    z-index: 5;
    display: flex; flex-direction: column; gap: 12px;
}
.process-rail-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--line-2);
    transition: all 0.4s var(--spring);
}
.process-rail-dot.active {
    background: var(--coral);
    transform: scale(1.6);
    box-shadow: 0 0 16px var(--coral-glow);
}

/* ===== SHOW CALENDAR (Section 9) ===== */
.show {
    background: var(--bg-0);
    padding: 140px 0 120px;
}
.show-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.show-card {
    background: var(--bg-2);
    border: 1px solid var(--line-1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform 0.4s var(--spring), border-color 0.3s, box-shadow 0.4s;
    opacity: 0;
    transform: translateY(30px);
}
.show-card.in { opacity: 1; transform: translateY(0); transition: opacity 0.7s var(--spring), transform 0.7s var(--spring); }
.show-card:hover {
    transform: translateY(-8px);
    border-color: var(--sage);
    box-shadow: var(--shadow-lift);
}
.show-img {
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--line-1);
    transition: transform 0.5s var(--spring);
}
.show-card:hover .show-img { transform: scale(1.04); }
.show-body {
    padding: 24px 24px 26px;
    display: flex; flex-direction: column; gap: 12px;
    flex: 1;
}
.show-date {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--sage-soft);
    color: var(--sage);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-family: var(--display);
    font-size: 0.82rem;
    font-weight: 700;
    width: fit-content;
}
.show-date strong {
    font-family: var(--display);
    font-weight: 700;
    color: var(--coral);
}
.show-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.36rem;
    color: var(--ink-0);
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.show-desc {
    font-size: 0.94rem;
    color: var(--ink-1);
    line-height: 1.5;
    font-weight: 500;
}
.show-venue {
    font-family: var(--display);
    font-size: 0.86rem;
    color: var(--ink-2);
    border-top: 1px solid var(--line-1);
    padding-top: 14px;
    margin-top: auto;
    font-weight: 600;
}

/* ===== PRESS (Section 10) ===== */
.press {
    background: var(--bg-1);
    padding: 140px 0 120px;
    overflow: hidden;
}
.press-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.press-marquee-track {
    display: flex; gap: 80px;
    will-change: scroll-position;
    align-items: stretch;
    padding: 16px 0;
}

/* PRESS 좌우 화살표 네비게이션 */
.press-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--line-1);
    color: var(--coral);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10), 0 2px 6px rgba(238,108,77,0.18);
    transition: transform 0.3s var(--spring), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, opacity 0.3s;
}
.press-nav:hover:not(:disabled) {
    background: var(--coral);
    color: #fff;
    border-color: var(--coral);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 12px 32px rgba(238,108,77,0.32);
}
.press-nav:active:not(:disabled) { transform: translateY(-50%) scale(0.96); }
.press-nav:disabled { opacity: 0.35; cursor: not-allowed; }
.press-nav-prev { left: 16px; }
.press-nav-next { right: 16px; }
.press-nav svg { display: block; }
@media (max-width: 768px) {
    .press-nav {
        width: 40px;
        height: 40px;
        box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    }
    .press-nav svg { width: 18px; height: 18px; }
    .press-nav-prev { left: 8px; }
    .press-nav-next { right: 8px; }
}
.press-card {
    flex: 0 0 480px;
    background: var(--bg-2);
    border: 1px solid var(--line-1);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    display: flex; flex-direction: column; gap: 16px;
    transition: border-color 0.3s, transform 0.3s var(--spring), box-shadow 0.4s;
}
.press-card:hover { border-color: var(--coral); transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.press-source {
    display: flex; justify-content: space-between; align-items: baseline;
    border-bottom: 1px solid var(--line-1);
    padding-bottom: 12px;
}
.press-source-name {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--ink-0);
    letter-spacing: -0.02em;
}
.press-year {
    font-family: var(--display);
    font-size: 0.82rem;
    color: var(--coral);
    font-weight: 700;
}
.press-headline {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.16rem;
    color: var(--ink-0);
    line-height: 1.3;
    letter-spacing: -0.02em;
}
.press-excerpt {
    font-family: var(--hand);
    font-size: 1.18rem;
    color: var(--ink-1);
    line-height: 1.5;
}
@keyframes press-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== CTA (Section 11) ===== */
.cta {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
    isolation: isolate;
    background: var(--bg-0);
}
.cta-bg {
    position: absolute; inset: 0;
    background-image: var(--cta-img);
    background-size: cover;
    background-position: center;
    filter: blur(8px) brightness(1.10) saturate(1.05);
    transform: scale(1.1);
    z-index: -2;
}
.cta-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(254, 252, 247, 0.78), rgba(254, 252, 247, 0.94));
    z-index: -1;
}
.cta-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 80px;
    align-items: start;
}
.cta-points {
    list-style: none;
    margin-top: 32px;
}
.cta-points li {
    padding: 18px 0 18px 36px;
    border-bottom: 1px solid var(--line-1);
    color: var(--ink-1);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
}
.cta-points li::before {
    content: "✓";
    position: absolute; left: 0; top: 18px;
    color: var(--sage);
    font-family: var(--display);
    font-weight: 700;
    background: var(--sage-soft);
    width: 24px; height: 24px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.86rem;
}
.cta-form {
    background: var(--bg-2);
    border: 1px solid var(--line-1);
    border-radius: var(--radius-lg);
    padding: 48px 44px;
    display: flex; flex-direction: column; gap: 20px;
    box-shadow: var(--shadow-lift);
}
.cta-field { display: flex; flex-direction: column; gap: 8px; }
.cta-field label {
    font-family: var(--display);
    font-size: 0.82rem;
    color: var(--ink-2);
    font-weight: 700;
    letter-spacing: -0.01em;
}
.cta-field label span { color: var(--coral); }
.cta-field input,
.cta-field select,
.cta-field textarea {
    background: var(--bg-2);
    border: 1.5px solid var(--line-1);
    color: var(--ink-0);
    font-family: var(--sans);
    /* 16px 명시: iOS Safari가 16px 미만 input에서 자동 zoom in 방지 */
    font-size: 16px;
    padding: 14px 16px;
    border-radius: var(--radius);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    font-weight: 500;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}
.cta-field input:focus,
.cta-field select:focus,
.cta-field textarea:focus {
    border-color: var(--sage);
    box-shadow: 0 0 0 3px var(--sage-soft);
}
.cta-field textarea { resize: vertical; min-height: 100px; }
.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cta-consent {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.86rem;
    color: var(--ink-2);
    line-height: 1.5;
    font-weight: 500;
}
.cta-consent input {
    accent-color: var(--sage);
    width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
}
.cta-submit {
    justify-content: center;
    margin-top: 8px;
    border: 0;
    width: 100%;
}
.cta-note {
    margin-top: 12px;
    padding: 16px 20px;
    background: var(--sage-soft);
    border-left: 4px solid var(--sage);
    border-radius: var(--radius);
    color: var(--ink-1);
    font-size: 0.94rem;
    line-height: 1.5;
    font-weight: 500;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--bg-1);
    padding: 96px 32px 32px;
    color: var(--ink-2);
}
.footer-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--line-1);
}
.footer-brand .logo { margin-bottom: 24px; }
.footer-tagline {
    font-family: var(--hand);
    font-size: 1.32rem;
    line-height: 1.4;
    color: var(--ink-1);
    margin-bottom: 24px;
    max-width: 320px;
}
.footer-social { display: flex; gap: 12px; }
.footer-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: var(--bg-2);
    border: 1px solid var(--line-1);
    border-radius: 50%;
    color: var(--ink-2);
    transition: all 0.25s var(--spring);
}
.footer-icon:hover { border-color: var(--sage); color: var(--sage); transform: translateY(-3px); }
.footer-col h4 {
    font-family: var(--display);
    font-size: 0.86rem;
    color: var(--coral);
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    font-weight: 700;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
    font-size: 0.94rem;
    color: var(--ink-2);
    transition: color 0.2s;
    font-weight: 500;
}
.footer-col a:hover { color: var(--ink-0); }
.footer-col address {
    font-style: normal;
    font-size: 0.94rem;
    color: var(--ink-2);
    line-height: 1.7;
    margin-bottom: 16px;
}
.footer-tel {
    display: inline-block;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.32rem;
    color: var(--ink-0);
    border-bottom: 2px solid var(--coral);
    padding-bottom: 2px;
}
.footer-tel:hover { color: var(--coral); }
.footer-bottom {
    max-width: var(--max-w);
    margin: 0 auto;
    padding-top: 32px;
    display: flex; justify-content: space-between; align-items: center; gap: 24px;
    flex-wrap: wrap;
    color: var(--ink-3);
    font-family: var(--display);
    font-size: 0.78rem;
    font-weight: 600;
}
.footer-meta { display: flex; gap: 24px; list-style: none; }
.footer-meta a { color: var(--ink-3); transition: color 0.2s; }
.footer-meta a:hover { color: var(--ink-0); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .heritage-card { grid-template-columns: 1fr; gap: 32px; padding: 0 32px; }
    .classes-grid { grid-template-columns: repeat(2, 1fr); }
    .alumni-highlights { grid-template-columns: repeat(2, 1fr); }
    .show-grid { grid-template-columns: repeat(2, 1fr); }
    .awards-stats { grid-template-columns: repeat(2, 1fr); }
    .process-stage { grid-template-columns: 1fr; }
    .process-step-num { border-right: 0; border-bottom: 1px solid var(--line-1); height: 35vh; font-size: clamp(5.6rem, 12vw, 9rem); }
    .process-step-body { padding: 48px 32px; }
    .cta-inner { grid-template-columns: 1fr; gap: 48px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}
@media (max-width: 768px) {
    .nav { padding: 14px 20px; gap: 16px; }
    .nav-menu, .nav-actions { display: none; }
    .nav-toggle { display: flex; }
    .demo-text { display: none; }
    .hero { padding: 56px 0 80px; }
    .hero-content { padding: 0 20px; }
    .hero-mascot { width: 80px; height: 80px; bottom: 16px; right: 16px; }
    .hero-trust { gap: 16px; }
    .hero-trust-item strong { font-size: 1.32rem; }

    .heritage { padding: 96px 0; }
    .heritage-track-wrap { height: auto; }
    .heritage-track { flex-direction: column; height: auto; }
    .heritage-card { flex: 0 0 auto; padding: 60px 20px; gap: 24px; }
    .heritage-img { aspect-ratio: 16/10; }
    .heritage-progress { display: none; }

    .teachers { padding: 96px 0 80px; }
    .teachers-track { padding: 24px 20px 60px; gap: 20px; }
    .teacher-card { flex: 0 0 280px; }

    .classes { padding: 96px 0 80px; }
    .classes-grid { grid-template-columns: 1fr; padding: 0 20px; gap: 16px; }
    .class-cell { padding: 32px 24px; min-height: auto; }

    .facility-content { padding: 0 24px; bottom: 60px; }
    .facility-progress { top: 24px; right: 24px; padding: 8px 14px; }
    .facility-progress-bar { width: 120px; }

    .alumni-section { padding: 96px 0 80px; }
    .alumni-highlights { grid-template-columns: 1fr; padding: 0 20px; }
    .alumni-marquee-item .ay { font-size: 1.16rem; }

    .awards { padding: 96px 0 80px; }
    .awards-stats { grid-template-columns: repeat(2, 1fr); margin-bottom: 56px; padding: 0 20px; }
    .award-stat { padding: 36px 16px; }
    .awards-list { padding: 0 20px; }
    .award-item { grid-template-columns: 80px 1fr; gap: 16px; padding: 20px 0; }

    .process { padding: 96px 0 0; }
    .process-pin-wrap { height: auto; }
    .process-stage { position: relative; height: auto; grid-template-columns: 1fr; }
    .process-step-rail { display: none; }

    .show { padding: 96px 0 80px; }
    .show-grid { grid-template-columns: 1fr; padding: 0 20px; }

    .press { padding: 96px 0 80px; }
    .press-card { flex: 0 0 320px; padding: 24px 22px; }
    .press-marquee-track { gap: 40px; }

    /* ===== CTA 모바일 최적화 ===== */
    .cta { padding: 80px 0 90px; }
    .cta-bg { filter: blur(4px) brightness(1.10) saturate(1.05); }  /* GPU 부담 약화 */
    .cta-inner { padding: 0 20px; gap: 36px; }
    .cta-copy .section-title { font-size: clamp(1.8rem, 8vw, 2.4rem); line-height: 1.2; }
    .cta-points { margin-top: 20px; }
    .cta-points li {
        padding: 14px 0 14px 30px;
        font-size: 0.95rem;
        line-height: 1.5;
    }
    .cta-points li::before {
        top: 14px;
        width: 22px; height: 22px;
        font-size: 0.78rem;
    }
    .cta-form {
        padding: 28px 22px;
        gap: 16px;
        border-radius: 16px;
    }
    .cta-row { grid-template-columns: 1fr; gap: 14px; }
    .cta-field input,
    .cta-field select,
    .cta-field textarea {
        padding: 13px 14px;
        font-size: 16px;  /* iOS zoom 방지 재확인 */
    }
    .cta-field label { font-size: 0.78rem; }
    .cta-consent { font-size: 0.82rem; gap: 8px; }
    .cta-submit { padding: 14px 18px; font-size: 0.95rem; }
    .cta-note { padding: 14px 16px; font-size: 0.88rem; }

    .site-footer { padding: 64px 20px 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
    .footer-meta { flex-wrap: wrap; gap: 16px; }
}


/* ===========================================
   RETROFIT v1.27 — motionsites integration
   slug: sprout-and-sky
   effects: U, R
   =========================================== */
/* === retrofit v1.27 motionsites scroll-driven-reveal (MIT) === */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section, [class*="-section"], .card, [class*="-card"], article {
      animation: rt-reveal-up linear forwards;
      animation-timeline: view();
      animation-range: entry 0% cover 30%;
    }
    @keyframes rt-reveal-up {
      from { opacity: 0; transform: translateY(28px); }
      to { opacity: 1; transform: translateY(0); }
    }
  }
}/* === retrofit v1.27 motionsites badge-orbit (MIT) === */
@media (prefers-reduced-motion: no-preference) {
  .stat-grid, .badge-row, [class*="-stats"], [class*="-badges"] {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .stat-grid:hover, .badge-row:hover, [class*="-stats"]:hover, [class*="-badges"]:hover {
    transform: rotate(0.5deg);
  }
}