/* GRACE ACADEMY public pages — typography and restrained motion. */
@font-face {
    font-family: 'Pretendard'; font-style: normal; font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/PretendardVariable.woff2') format('woff2');
}
@font-face {
    font-family: 'Noto Serif KR'; font-style: normal; font-weight: 600;
    font-display: swap;
    src: url('../fonts/NotoSerifKR-SemiBold.woff2') format('woff2');
    unicode-range: U+0020-024F,U+0300-036F,U+1100-11FF,U+2000-214F,U+2190-27FF,U+3000-303F,U+3130-318F,U+A960-A97F,U+AC00-D7FF,U+FF00-FFEF;
}
:root {
    --ga-font-body: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    --ga-font-heading: 'Noto Serif KR', 'AppleMyungjo', 'Batang', serif;
}
.ga-public { font-family: var(--ga-font-body); }
.ga-public button, .ga-public input, .ga-public select, .ga-public textarea { font-family: inherit; }
.ga-public .container h2, .ga-public .container h3, .ga-public .container h4 {
    font-family: var(--ga-font-heading); font-weight: 600;
}
.ga-public .culture-media-point h4 { font-family: var(--ga-font-body); font-weight: 700; }
/* About hero: one main statement and a quieter supporting line. */
.ga-public .about-hero .about-slogan {
    margin: 30px 0 0; font-family: var(--ga-font-heading); font-weight: 600;
    font-size: clamp(23px, 3vw, 30px); line-height: 1.7; letter-spacing: -.035em;
    color: #014339; word-break: keep-all; text-wrap: balance;
}
.ga-public .about-hero .about-sub-slogan {
    margin: 12px 0 0; font-family: var(--ga-font-body); font-weight: 400;
    font-size: 17px; line-height: 1.85; letter-spacing: -.02em; color: #607267;
}
/* S.T.A.R.S. retains the original circle marks, gradient and ornamental circles. */
.ga-public .star-label { color: #857044; font-size: 12px; letter-spacing: .16em; }
.ga-public .star-heading h3 { font-size: 32px; line-height: 1.5; }
.ga-public .star-heading p { color: #607267; font-size: 16px; line-height: 1.9; }
.ga-public .star-card {
    border-color: #dfe6dd; border-radius: 17px;
    box-shadow: 0 5px 16px rgba(1,67,57,.065);
}
.ga-public .star-card::before {
    height: 4px; background: linear-gradient(90deg, #014339, #aa9360);
}
.ga-public .star-card::after { background: rgba(1,67,57,.025); }
.ga-public .star-letter {
    color: #ddc995; background: #014339; font-family: Georgia, 'Times New Roman', serif;
    font-size: 29px; font-weight: 700; box-shadow: 0 4px 10px rgba(1,67,57,.12);
}
.ga-public .star-card h4 { font-family: var(--ga-font-heading); font-size: 25px; font-weight: 600; }
.ga-public .star-card .star-english { color: #657369; font-size: 14px; font-weight: 400; line-height: 1.7; }
.ga-public .star-card .star-korean { color: #314a3e; font-size: 17px; font-weight: 600; line-height: 1.8; }
.ga-public .star-card .star-korean::before { background: #aa9360; }
.ga-public .star-card:hover, .ga-public .star-card.is-visible:hover {
    transform: translateY(-4px); border-color: #bdcdbb; box-shadow: 0 10px 24px rgba(1,67,57,.09);
}
/* Index keeps the source wording and its established photo / video structure. */
.ga-public.home-page .core-values {
    font-family: Georgia, 'Times New Roman', serif; font-weight: 400;
    color: #857044; letter-spacing: .055em;
}
.ga-public.home-page .hero-text h2 {
    font-family: var(--ga-font-heading); font-size: 32px; font-weight: 600;
    line-height: 1.65; letter-spacing: -.04em; word-break: keep-all;
}
.ga-public.home-page .intro h2 {
    font-family: var(--ga-font-heading); font-size: 32px; font-weight: 600; line-height: 1.6;
}
.ga-public.home-page .intro p { font-size: 17px; line-height: 1.9; letter-spacing: -.02em; word-break: keep-all; }
.ga-public.home-page .intro .intro-registration { font-size: 15px; color: #607267; }
/* New animations use their own observer; the existing .reveal effects are untouched. */
.ga-public .ga-enter { opacity: 1; transform: none; }
.ga-public.ga-motion-ready .ga-enter {
    transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1);
}
.ga-public.ga-motion-ready .ga-enter:not(.is-visible) { opacity: 0; transform: translateY(18px); }
.ga-public.ga-motion-ready .gh-era.ga-enter.is-visible { transform: none; }
@media(min-width:769px) {
    .ga-public.home-page .core-values { font-size: clamp(38px,4.5vw,48px); line-height: 1.25; }
    .ga-public.ga-motion-ready .culture-grid > .ga-enter:nth-child(2) { transition-delay: .12s; }
}
@media(max-width:768px) {
    .ga-public .about-hero .about-slogan { margin-top: 25px; font-size: 23px; }
    .ga-public .about-hero .about-sub-slogan { margin-top: 10px; font-size: 15px; }
    .ga-public .star-heading h3 { font-size: 27px; }
    .ga-public .star-heading p { font-size: 15px; }
    .ga-public .star-card h4 { font-size: 24px; }
    .ga-public .star-card .star-english { font-size: 14px; }
    .ga-public .star-card .star-korean { font-size: 16px; }
    .ga-public.home-page .core-values { line-height: 1.45; letter-spacing: .07em; }
    .ga-public.home-page .hero-text h2 { font-size: clamp(23px,5.6vw,28px); line-height: 1.65; }
    .ga-public.home-page .intro h2 { font-size: 27px; }
    .ga-public.home-page .intro p { font-size: 16px; }
    .ga-public.home-page .intro .intro-registration { font-size: 14px; }
    .ga-public.ga-motion-ready .culture-grid > .ga-enter { transition-delay: 0s; }
}
@media(hover:none) {
    .ga-public .star-card:hover, .ga-public .star-card.is-visible:hover { transform: none; }
}
@media(prefers-reduced-motion:reduce) {
    .ga-public .reveal, .ga-public.ga-motion-ready .ga-enter,
    .ga-public.ga-motion-ready .ga-enter:not(.is-visible) {
        opacity: 1; transform: none; transition: none; transition-delay: 0s;
    }
    .ga-public .star-card, .ga-public .star-letter,
    .ga-public .star-card.is-visible .star-letter { animation: none; transition: none; }
    .ga-public .star-card:hover, .ga-public .star-card.is-visible:hover { transform: none; }
}
