@charset "utf-8";

/* 브랜드 소개 — 다크와 밝음을 번갈아 놓는다 */
.gr-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.gr-eyebrow,
.gr-label {
    display: inline-block;
    margin: 0 0 20px;
    padding: 7px 15px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.gr-eyebrow {
    border: 1px solid rgba(255, 255, 255, .24);
    color: rgba(255, 255, 255, .85);
}

.gr-label {
    border: 1px solid #d7e2e7;
    color: var(--point-mint-deep);
}

.gr-label.is-center { display: block; width: max-content; margin: 0 auto 20px; }

/* 1. 히어로 — 실제 공간 사진 위에 색을 덮는다 */
.gr-hero {
    position: relative;
    padding: 200px 0 110px;
    overflow: hidden;
    background: #0b1622;
    background-image: radial-gradient(1000px 560px at 12% 6%, rgba(0, 204, 198, .22), transparent 60%),
        radial-gradient(900px 620px at 88% 40%, rgba(6, 127, 255, .2), transparent 62%),
        linear-gradient(170deg, #0b1622 0%, #10263a 55%, #0b1622 100%);
}

/* 배경 사진은 아주 천천히 확대된다. 정지 화면처럼 보이지 않게 */
.gr-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    animation: grZoom 24s ease-in-out infinite alternate;
}

@keyframes grZoom {
    from { transform: scale(1); }
    to { transform: scale(1.12); }
}

/* 사진 위에 브랜드 색을 덮어 글씨가 읽히게 한다 */
.gr-hero-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(11, 22, 34, .92) 0%, rgba(6, 60, 92, .84) 45%, rgba(11, 22, 34, .94) 100%);
}

.gr-hero .gr-inner { position: relative; z-index: 3; }

.gr-hero-title {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -.04em;
    color: #fff;
    word-break: keep-all;
}

.gr-hero-title span { color: var(--point-mint); }

.gr-hero-figures {
    display: flex;
    flex-wrap: wrap;
    gap: 46px;
    margin-top: 54px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.gr-fig {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.gr-fig strong {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.04em;
    color: #fff;
}

.gr-fig span {
    font-size: .95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .5);
}

/* 2. 원장 인사말 */
.gr-message {
    padding: 120px 0;
    background: #fff;
}

.gr-message-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
    gap: 70px;
    align-items: center;
}

.gr-message-title {
    margin: 0 0 26px;
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -.04em;
    color: var(--text-dark);
    word-break: keep-all;
}

.gr-message-body p {
    margin: 0 0 16px;
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--text-gray);
    word-break: keep-all;
}

.gr-sign {
    margin-top: 30px !important;
    padding-top: 26px;
    border-top: 1px solid var(--line-color);
    font-size: .95rem !important;
    line-height: 1.7 !important;
}

.gr-sign strong {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -.03em;
    color: var(--text-dark);
}

/* 실제 공간 사진 — 크기를 달리해 겹쳐 놓는다 */
.gr-message-photos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 180px;
    gap: 12px;
}

.gr-photo {
    display: block;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    background-color: #eef4f6;
}

.gr-photo:nth-child(1) { grid-column: span 2; grid-row: span 1; }

/* 4. 강사진으로 */
.gr-next {
    padding: 120px 0;
    background: linear-gradient(135deg, #00CCC6 0%, #067FFF 100%);
    text-align: center;
}

.gr-next .gr-label {
    border-color: rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.gr-next-title {
    margin: 0;
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    font-weight: 900;
    line-height: 1.28;
    letter-spacing: -.04em;
    color: #fff;
    word-break: keep-all;
}

.gr-next-desc {
    margin: 18px 0 0;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .85);
}

/* 강사 얼굴 — 겹쳐 놓아 사람이 많다는 인상을 준다 */
.gr-faces {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}

.gr-face {
    width: 74px;
    height: 74px;
    margin-left: -16px;
    border: 3px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: #dceef1;
    transition: transform .25s;
}

.gr-face:first-child { margin-left: 0; }
.gr-face:hover { transform: translateY(-6px); }

.gr-next-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding: 19px 44px;
    border-radius: 999px;
    background: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0559B3;
    text-decoration: none;
    transition: background .2s, transform .2s;
}

.gr-next-btn::after {
    content: '';
    width: 7px;
    height: 7px;
    border-top: 2px solid #0559B3;
    border-right: 2px solid #0559B3;
    transform: rotate(45deg);
}

.gr-next-btn:hover { background: #eafcfb; transform: translateY(-2px); }

@media (max-width: 1080px) {
    .gr-inner { padding: 0 24px; }
    .gr-hero { padding: 160px 0 80px; }
    .gr-message-grid { grid-template-columns: 1fr; gap: 44px; }
    .gr-value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .gr-inner { padding: 0 16px; }
    .gr-hero { padding: 140px 0 60px; }
    .gr-hero-figures { gap: 26px; margin-top: 36px; padding-top: 28px; }
    .gr-fig strong { font-size: 1.9rem; }
    .gr-message,
    .gr-values,
    .gr-next { padding: 80px 0; }
    .gr-value-grid { grid-template-columns: 1fr; }
    .gr-message-photos { grid-auto-rows: 140px; }
    .gr-face { width: 56px; height: 56px; }
}


/* 가치 카드 아이콘 — 선으로만 그린 도형이라 가볍다 */
.gr-value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 6px;
    border-radius: 14px;
    background: rgba(0, 204, 198, .1);
    color: var(--point-mint-deep);
    transition: background .25s, color .25s, transform .25s;
}

.gr-value-icon svg { width: 24px; height: 24px; }

.gr-value:hover .gr-value-icon {
    background: var(--point-mint);
    color: #fff;
    transform: translateY(-3px) rotate(-4deg);
}

/* 잠수함은 히어로 안에서만 다니게 가둔다 */
.gr-hero .pass-subs {
    height: 100%;
    z-index: 2;
}

/* 히어로 보조 문구 */
.gr-hero-lead {
    margin: 22px 0 0;
    font-size: 1.08rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .72);
}

/* 교육 방식 설명 */
.gr-values-desc {
    margin: -34px 0 44px;
    font-size: 1.02rem;
    color: var(--text-gray);
}

/* 마무리 버튼 두 개 */
.gr-next-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.gr-next-btns .gr-next-btn { margin-top: 0; }

.gr-next-btn.is-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .55);
    color: #fff;
}

.gr-next-btn.is-ghost::after { border-color: #fff; }
.gr-next-btn.is-ghost:hover { background: rgba(255, 255, 255, .14); }

/* 3. 교육 방식 — 한 줄씩 크게 펼친다 */
.gr-ways {
    padding: 130px 0;
    background: #f4f8fa;
}

.gr-ways-head { margin-bottom: 70px; }

.gr-ways-title {
    margin: 0;
    font-size: clamp(2.2rem, 4.6vw, 3.8rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -.04em;
    color: var(--text-dark);
}

.gr-ways-desc {
    margin: 18px 0 0;
    font-size: 1.05rem;
    color: var(--text-gray);
}

/* 한 항목이 한 줄을 통째로 쓴다 */
.gr-way {
    display: grid;
    grid-template-columns: 120px 84px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
    padding: 52px 0;
    border-top: 1px solid #dde6ea;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .3, 1);
}

.animate-on-scroll.is-visible .gr-way {
    opacity: 1;
    transform: none;
}

.gr-way:nth-child(3) { transition-delay: .08s; }
.gr-way:nth-child(4) { transition-delay: .16s; }
.gr-way:nth-child(5) { transition-delay: .24s; }
.gr-way:nth-child(6) { transition-delay: .32s; }
.gr-way:nth-child(7) { transition-delay: .4s; }

.gr-way:last-child { border-bottom: 1px solid #dde6ea; }

.gr-way-no {
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.05em;
    color: #cfdce2;
    transition: color .3s;
}

.gr-way:hover .gr-way-no { color: var(--point-mint); }

.gr-way-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    border-radius: 22px;
    background: #fff;
    color: var(--point-mint-deep);
    box-shadow: 0 8px 20px rgba(15, 40, 55, .06);
    transition: background .3s, color .3s, transform .3s;
}

.gr-way-icon svg { width: 34px; height: 34px; }

.gr-way:hover .gr-way-icon {
    background: var(--point-mint);
    color: #fff;
    transform: translateY(-4px) rotate(-4deg);
}

.gr-way-body h3 {
    margin: 0;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 900;
    letter-spacing: -.035em;
    color: var(--text-dark);
    word-break: keep-all;
}

.gr-way-lead {
    margin: 14px 0 0;
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--point-mint-deep);
    word-break: keep-all;
}

.gr-way-text {
    margin: 12px 0 0;
    max-width: 760px;
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-gray);
    word-break: keep-all;
}

@media (max-width: 1080px) {
    .gr-way { grid-template-columns: 76px 60px minmax(0, 1fr); gap: 24px; padding: 40px 0; }
    .gr-way-no { font-size: 2.4rem; }
    .gr-way-icon { width: 60px; height: 60px; border-radius: 18px; }
    .gr-way-icon svg { width: 28px; height: 28px; }
}

@media (max-width: 640px) {
    .gr-ways { padding: 80px 0; }
    .gr-ways-head { margin-bottom: 40px; }
    .gr-way { grid-template-columns: 54px minmax(0, 1fr); gap: 16px; padding: 32px 0; }
    .gr-way-icon { display: none; }
    .gr-way-no { font-size: 2rem; }
    .gr-way-body h3 { font-size: 1.3rem; }
    .gr-way-lead { font-size: 1rem; }
}
