:root {
  --ink: #17223b;
  --muted: #5d677d;
  --orange: #f16632;
  --orange-dark: #d94d1d;
  --violet: #6754e9;
  --green: #8dbb21;
  --sky: #eaf7ff;
  --cream: #fff8ef;
  --paper: #ffffff;
  --line: #e6e8ee;
  --shadow: 0 24px 70px rgba(34, 45, 75, .12);
  --radius: 30px;
  --wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  line-height: 1.68;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -.035em; }
p { color: var(--muted); }
.container { width: var(--wrap); margin-inline: auto; }
.skip-link { position: fixed; top: -70px; left: 16px; z-index: 999; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 14px; }

.topbar { background: var(--ink); color: #fff; font-size: 13px; }
.topbar-inner { min-height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.topbar-links { display: flex; gap: 18px; color: #e6e9f1; }
.topbar a:hover { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(230,232,238,.8); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { height: 47px; }
.brand small { padding-left: 12px; border-left: 1px solid var(--line); color: var(--muted); font-size: 11px; letter-spacing: .12em; }
.main-nav { display: flex; align-items: center; gap: 14px; min-width: 0; font-size: 13px; font-weight: 750; }
.nav-page-links { display: flex; align-items: center; gap: 15px; min-width: 0; }
.main-nav a { position: relative; }
.nav-page-links a { padding: 27px 0; white-space: nowrap; }
.nav-page-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 21px; height: 3px; border-radius: 3px; background: var(--orange); transition: right .2s ease; }
.nav-page-links a:hover::after, .nav-page-links a.active::after { right: 0; }
.nav-service-links { display: flex; align-items: center; gap: 5px; flex: 0 0 auto; }
.nav-service-link { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 9px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 800; line-height: 1; white-space: nowrap; box-shadow: none; }
.nav-service-teacher { border-color: #f4b092; color: #c94b1f; background: #fff4ea; }
.nav-service-beta { border-color: #9bc8e9; color: #1c65a8; background: #eaf7ff; }
.nav-service-document { border-color: #b4cd7d; color: #4e7312; background: #f7fae2; }
.nav-actions { display: none; align-items: center; gap: 10px; flex: 0 0 auto; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font-size: 22px; cursor: pointer; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 800; box-shadow: 0 10px 24px rgba(241, 102, 50, .2); transition: transform .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); background: var(--orange-dark); }
.btn-secondary { background: var(--ink); box-shadow: 0 10px 24px rgba(23, 34, 59, .15); }
.btn-secondary:hover { background: #273654; }
.btn-ghost { color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--cream); }
.text-link { color: var(--orange-dark); font-weight: 800; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px; color: var(--orange-dark); font-weight: 850; font-size: 14px; letter-spacing: .04em; }
.eyebrow::before { content: ""; width: 30px; height: 3px; border-radius: 5px; background: var(--orange); }

.hero { overflow: hidden; position: relative; padding: 74px 0 92px; background: radial-gradient(circle at 85% 10%, #fff2d8 0 12%, transparent 38%), linear-gradient(135deg, #fff 0%, #fff9f2 56%, #f3f0ff 100%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(.2px); }
.hero::before { width: 170px; height: 170px; left: -70px; bottom: 40px; background: rgba(141,187,33,.14); }
.hero::after { width: 85px; height: 85px; right: 4%; top: 8%; border: 18px solid rgba(103,84,233,.11); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 670px; margin-bottom: 24px; font-size: clamp(44px, 6vw, 76px); letter-spacing: -.065em; }
.hero h1 span { color: var(--orange); }
.hero-copy > p { max-width: 600px; margin-bottom: 30px; font-size: 18px; }
.hero-note { display: flex; align-items: center; gap: 11px; margin-top: 26px; color: var(--muted); font-size: 14px; }
.hero-note strong { color: var(--ink); }
.hero-visual { position: relative; min-height: 520px; }
.hero-visual::before { content: ""; position: absolute; inset: 30px -22px -18px 34px; border-radius: 42% 58% 47% 53% / 51% 36% 64% 49%; background: var(--orange); transform: rotate(3deg); }
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; border-radius: 42% 58% 47% 53% / 51% 36% 64% 49%; box-shadow: var(--shadow); }
.float-card { position: absolute; z-index: 2; left: -35px; bottom: 28px; max-width: 240px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.8); border-radius: 20px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.float-card b { display: block; color: var(--violet); font-size: 24px; }
.float-card span { color: var(--muted); font-size: 13px; }

.stat-strip { position: relative; z-index: 4; width: var(--wrap); margin: -35px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.stat { padding: 24px 30px; display: flex; gap: 14px; align-items: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--cream); font-size: 25px; }
.stat b { display: block; font-size: 18px; }
.stat span { color: var(--muted); font-size: 13px; }

.section { padding: 108px 0; }
.section-sm { padding: 76px 0; }
.section-soft { background: var(--cream); }
.section-sky { background: var(--sky); }
.section-violet { color: #fff; background: var(--violet); }
.section-violet p { color: rgba(255,255,255,.82); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-bottom: 16px; font-size: clamp(34px, 4vw, 52px); }
.section-head p { max-width: 680px; font-size: 17px; }
.section-head.center p { margin-inline: auto; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 40px rgba(34,45,75,.06); }
.card h3 { margin-bottom: 12px; font-size: 23px; }
.card p:last-child { margin-bottom: 0; }
.icon-bubble { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 22px; border-radius: 20px; background: var(--cream); font-size: 28px; }
.card:nth-child(2n) .icon-bubble { background: #efedff; }
.card:nth-child(3n) .icon-bubble { background: #edf8d9; }
.tag { display: inline-flex; margin-bottom: 13px; padding: 6px 11px; border-radius: 999px; color: var(--violet); background: #efedff; font-size: 12px; font-weight: 850; }
.compact-stats { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; margin-top: 34px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.compact-stats > div { padding: 24px; text-align: center; }
.compact-stats > div + div { border-left: 1px solid var(--line); }
.compact-stats b { display: block; color: var(--violet); font-size: 31px; line-height: 1.2; }
.compact-stats span { color: var(--muted); font-size: 13px; }
.compare-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.compare-card { padding: 34px; border: 1px solid var(--line); border-radius: 28px; background: #fff; }
.compare-card.highlight { border-color: #d9d3ff; background: #f7f5ff; box-shadow: 0 18px 50px rgba(103,84,233,.12); }
.compare-flow { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.compare-flow span { padding: 7px 11px; border-radius: 999px; color: var(--muted); background: #f1f2f5; font-size: 12px; font-weight: 750; }
.compare-card.highlight .compare-flow span { color: var(--violet); background: #e8e4ff; }
.pill-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.pill-list span { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 750; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card { padding: 30px; border: 1px solid var(--line); border-radius: 26px; background: #fff; }
.testimonial-card::before { content: "“"; display: block; height: 38px; color: var(--orange); font: 68px/1 Georgia, serif; }
.testimonial-card p { min-height: 140px; }
.testimonial-card b { display: block; }
.testimonial-card small { color: var(--muted); }
.notice { padding: 20px 24px; border-left: 4px solid var(--orange); border-radius: 0 16px 16px 0; background: var(--cream); color: var(--muted); }
.career-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; padding: 0; margin: 24px 0 0; list-style: none; }
.career-list li { position: relative; padding-left: 20px; color: var(--muted); }
.career-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

.split { display: grid; grid-template-columns: .92fr 1.08fr; gap: 62px; align-items: center; }
.split.reverse { grid-template-columns: 1.08fr .92fr; }
.split-media { min-height: 520px; overflow: hidden; border-radius: 34px; background: #f1f1f1; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.split-content h2 { margin-bottom: 20px; font-size: clamp(34px, 4vw, 52px); }
.split-content p { font-size: 17px; }
.check-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 13px; }
.check-list li { position: relative; padding-left: 34px; font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 13px; }

.program-card { position: relative; overflow: hidden; padding: 34px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.program-card::after { content: attr(data-step); position: absolute; right: 18px; top: 4px; color: rgba(103,84,233,.07); font-size: 110px; font-weight: 950; line-height: 1; }
.program-card h3, .program-card p, .program-card ul { position: relative; z-index: 1; }
.program-card h3 { font-size: 26px; }
.program-card ul { padding-left: 19px; color: var(--muted); }

.process { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-item { position: relative; padding: 26px 22px; border-radius: 24px; color: #fff; background: var(--ink); }
.process-item:nth-child(2) { background: var(--violet); }
.process-item:nth-child(3) { background: var(--orange); }
.process-item:nth-child(4) { background: var(--green); }
.process-item::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 32px; color: rgba(255,255,255,.66); font-weight: 900; }
.process-item h3 { margin-bottom: 10px; }
.process-item p { color: rgba(255,255,255,.78); font-size: 14px; }

.quote { position: relative; max-width: 900px; margin: 0 auto; text-align: center; }
.quote::before { content: "“"; display: block; height: 62px; color: rgba(255,255,255,.25); font-family: Georgia, serif; font-size: 100px; line-height: 1; }
.quote blockquote { margin: 0 0 22px; font-size: clamp(24px, 3vw, 38px); font-weight: 850; line-height: 1.45; }
.quote cite { color: rgba(255,255,255,.75); font-style: normal; }

.gallery { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-auto-rows: 220px; gap: 14px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 22px; background: #eee; }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery figure:hover img { transform: scale(1.04); }

.cta-panel { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 52px; border-radius: 34px; color: #fff; background: linear-gradient(125deg, var(--violet), #8474f1); box-shadow: var(--shadow); }
.cta-panel h2 { margin-bottom: 10px; font-size: clamp(30px, 4vw, 46px); }
.cta-panel p { margin-bottom: 0; color: rgba(255,255,255,.82); }
.cta-actions { display: flex; flex: 0 0 auto; gap: 10px; }
.cta-panel .btn { background: #fff; color: var(--violet); box-shadow: none; }
.cta-panel .btn-secondary { background: var(--ink); color: #fff; }

.page-hero { position: relative; overflow: hidden; padding: 92px 0 82px; background: linear-gradient(135deg, #fff8ef, #f1efff); }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -100px; width: 320px; height: 320px; border: 52px solid rgba(241,102,50,.09); border-radius: 50%; }
.breadcrumb { margin-bottom: 18px; color: var(--muted); font-size: 14px; }
.breadcrumb a { color: var(--orange-dark); font-weight: 800; }
.page-hero h1 { max-width: 800px; margin-bottom: 16px; font-size: clamp(42px, 6vw, 70px); }
.page-hero p { max-width: 700px; margin-bottom: 0; font-size: 18px; }

.timeline { position: relative; margin-top: 30px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 9px; bottom: 12px; width: 2px; background: #dad7ff; }
.timeline-item { position: relative; display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding-bottom: 34px; }
.timeline-item::before { content: ""; position: absolute; left: -33px; top: 7px; width: 15px; height: 15px; border: 5px solid #fff; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 2px var(--violet); }
.timeline-year { color: var(--violet); font-size: 21px; font-weight: 900; }
.timeline-item p { margin: 0; }

.principle { display: grid; grid-template-columns: 86px 1fr; gap: 20px; align-items: start; padding: 25px 0; border-bottom: 1px solid var(--line); }
.principle-num { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 22px; color: #fff; background: var(--violet); font-size: 20px; font-weight: 900; }
.principle:nth-child(2) .principle-num { background: var(--orange); }
.principle:nth-child(3) .principle-num { background: var(--green); }
.principle:nth-child(4) .principle-num { background: var(--ink); }
.principle h3 { margin-bottom: 8px; font-size: 24px; }

.curriculum-table { overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: #fff; }
.curriculum-row { display: grid; grid-template-columns: 160px 1fr 1fr; }
.curriculum-row > div { padding: 22px 24px; border-bottom: 1px solid var(--line); }
.curriculum-row > div + div { border-left: 1px solid var(--line); }
.curriculum-row:last-child > div { border-bottom: 0; }
.curriculum-row.head { color: #fff; background: var(--ink); font-weight: 850; }
.curriculum-row.head > div { border-color: rgba(255,255,255,.18); }
.curriculum-row strong { color: var(--violet); }

.book-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.book-card { min-height: 410px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border-radius: 18px 34px 34px 18px; color: #fff; background: linear-gradient(150deg, var(--violet), #30237e); box-shadow: -8px 0 0 #ddd7ff, var(--shadow); }
.book-card:nth-child(2) { background: linear-gradient(150deg, var(--orange), #a6310c); box-shadow: -8px 0 0 #ffe0d2, var(--shadow); }
.book-card:nth-child(3) { background: linear-gradient(150deg, var(--green), #4f7600); box-shadow: -8px 0 0 #e5f2bd, var(--shadow); }
.book-card:nth-child(4) { background: linear-gradient(150deg, var(--ink), #32446c); box-shadow: -8px 0 0 #dbe0ec, var(--shadow); }
.book-card small { letter-spacing: .12em; opacity: .72; }
.book-card h3 { font-size: 30px; }
.book-card p { color: rgba(255,255,255,.76); }
.book-mark { width: 54px; height: 7px; border-radius: 9px; background: rgba(255,255,255,.8); }

.resource-card { display: flex; gap: 20px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: 26px; background: #fff; }
.resource-card .icon-bubble { flex: 0 0 auto; margin: 0; }
.resource-card h3 { margin-bottom: 4px; }
.resource-card p { margin-bottom: 10px; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: start; }
.contact-stack { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.contact-card .icon-bubble { flex: 0 0 auto; width: 50px; height: 50px; margin: 0; border-radius: 16px; }
.contact-card h3 { margin-bottom: 4px; font-size: 19px; }
.contact-card p { margin-bottom: 0; }
.contact-card a { color: var(--violet); font-weight: 800; }
.map-card { min-height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 48px; border-radius: 30px; color: #fff; background: linear-gradient(145deg, var(--ink), #31405f); }
.map-card p { color: rgba(255,255,255,.78); }
.map-card .btn { align-self: flex-start; }

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.faq summary { position: relative; padding: 22px 58px 22px 24px; cursor: pointer; list-style: none; font-weight: 850; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 17px; color: var(--violet); font-size: 26px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 24px 22px; margin: 0; }

.site-footer { position: relative; overflow: hidden; padding: 70px 0 22px; color: #fff; background: var(--ink); }
.site-footer::before { content: ""; position: absolute; width: 250px; height: 250px; right: -90px; top: -110px; border: 48px solid rgba(241,102,50,.15); border-radius: 50%; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .7fr .9fr; gap: 56px; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-brand img { filter: brightness(0) invert(1); }
.footer-copy { max-width: 440px; color: #cdd3df; }
.footer-title { margin-bottom: 18px; font-size: 16px; }
.footer-links { display: grid; gap: 10px; color: #dce1ea; }
.footer-links a:hover { color: #fff; }
.footer-meta { padding-top: 36px; margin-top: 50px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 30px; color: #98a3b8; font-size: 12px; }
.mobile-quick { display: none; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .hero-grid, .split, .split.reverse, .contact-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 740px; }
  .hero-visual { min-height: 480px; }
  .split-media, .split-media img { min-height: 420px; }
  .grid-4, .book-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1180px) {
  .nav-actions { display: flex; }
  .menu-toggle { display: grid; place-items: center; }
  .main-nav { position: absolute; left: 14px; right: 14px; top: 76px; display: none; padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
  .main-nav.open { display: grid; }
  .nav-page-links { display: grid; gap: 3px; }
  .nav-page-links a { padding: 12px 14px; border-radius: 12px; }
  .nav-page-links a:hover, .nav-page-links a.active { background: var(--cream); }
  .nav-page-links a::after { display: none; }
  .nav-service-links { grid-template-columns: repeat(3,minmax(0,1fr)); display: grid; gap: 6px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
  .nav-service-link { min-width: 0; min-height: 36px; padding-inline: 6px; font-size: 11px; }
}

@media (max-width: 780px) {
  :root { --wrap: min(100% - 28px, 680px); --radius: 24px; }
  body { padding-bottom: 72px; }
  .topbar { display: none; }
  .nav-wrap { min-height: 68px; }
  .brand small { display: none; }
  .hero { padding: 54px 0 70px; }
  .hero-grid { gap: 40px; }
  .hero h1 { font-size: clamp(40px, 12vw, 60px); }
  .hero-copy > p, .page-hero p { font-size: 16px; }
  .hero-visual { min-height: 390px; }
  .float-card { left: 12px; bottom: -18px; }
  .stat-strip { grid-template-columns: 1fr; margin-top: 0; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 78px 0; }
  .section-sm { padding: 58px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .compare-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .compact-stats { grid-template-columns: 1fr; }
  .compact-stats > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .section-head { margin-bottom: 32px; }
  .section-head h2, .split-content h2 { font-size: 36px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
  .cta-panel { align-items: flex-start; flex-direction: column; padding: 34px 26px; }
  .cta-actions { flex-wrap: wrap; }
  .page-hero { padding: 68px 0 60px; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
  .curriculum-row { grid-template-columns: 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .curriculum-row > div { padding: 7px 20px; border: 0; }
  .curriculum-row > div + div { border: 0; }
  .curriculum-row.head { display: none; }
  .curriculum-row:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-meta { flex-direction: column; }
  .mobile-quick { position: fixed; z-index: 95; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; background: #fff; box-shadow: 0 -10px 30px rgba(23,34,59,.12); }
  .mobile-quick a { min-height: 64px; display: grid; place-items: center; font-weight: 850; }
  .mobile-quick a:first-child { color: #fff; background: var(--orange); }
  .mobile-quick a:last-child { color: #fff; background: var(--ink); }
}

@media (max-width: 520px) {
  .hero-visual { min-height: 330px; }
  .grid-4, .book-grid, .process { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:first-child { grid-column: auto; }
  .principle { grid-template-columns: 58px 1fr; }
  .principle-num { width: 52px; height: 52px; border-radius: 16px; }
  .map-card { padding: 34px 26px; }
  .career-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Koinonia's warm, playful education identity */
:root {
  --ink: #0d0643;
  --muted: #4b5563;
  --orange: #f15f25;
  --orange-dark: #c84716;
  --violet: #6754e9;
  --green: #8dbb21;
  --sky: #eaf7ff;
  --cream: #fff4ea;
  --lime: #f7fae2;
  --lavender: #f4f1ff;
  --paper: #fff;
  --line: #e9e7f0;
  --shadow: 0 22px 60px rgba(13, 6, 67, .11);
  --radius: 30px;
}
body { font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif; color: var(--ink); font-size: 16px; }
h1, h2, h3, h4 { font-weight: 850; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #f15f25; outline-offset: 4px; }
.topbar { background: #0d0643; }
.site-header { background: rgba(255,255,255,.97); }
.nav-wrap { min-height: 76px; }
.main-nav a { font-weight: 800; }
.main-nav a:hover { color: var(--orange-dark); }
.btn { min-height: 48px; background: var(--orange); }
.btn:hover { background: var(--orange-dark); }
.btn-secondary { background: #0d0643; }
.hero { min-height: 570px; display: flex; align-items: center; padding: 80px 0 115px; color: #fff; background: linear-gradient(90deg,rgba(13,6,67,.89),rgba(13,6,67,.70) 47%,rgba(13,6,67,.12)), url('../img/hero/hero-slider-3.jpg') center 43%/cover no-repeat; }
.hero::before { width: 110px; height: 110px; left: auto; right: 5%; bottom: 15%; border: 12px solid rgba(255,255,255,.24); background: transparent; z-index: 1; }
.hero::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: auto; bottom: -1px; width: 100%; height: 86px; border: 0; border-radius: 0; background: url('../img/hero/bottom-shape.png') center bottom/100% 100% no-repeat; }
.hero-grid { display: block; }
.hero-copy { max-width: 710px; }
.hero .eyebrow { color: #ffd19c; }
.hero h1 { color: white; font-size: clamp(48px,6.2vw,78px); }
.hero h1 span { color: #ffab67; }
.hero-copy > p, .hero-note { color: rgba(255,255,255,.91); }
.hero-note strong { color: #fff; }
.hero-note > span { color: #ffab67; }
.hero-visual { display: none; }
.hero .btn-ghost { color: var(--ink); }
.stat-strip { margin-top: -34px; border: 0; border-radius: 28px; }
.stat:nth-child(1) .stat-icon { background: #f4f1ff; }
.stat:nth-child(2) .stat-icon { background: #fff4ea; }
.stat:nth-child(3) .stat-icon { background: #eaf7ff; }
.section { position: relative; padding: 96px 0; }
.section-soft { background: var(--lime); }
.section-sky { background: var(--sky); }
.section-violet { background: var(--violet); }
.section-head h2, .split-content h2 { color: var(--ink); }
.section-head.center .eyebrow { color: var(--orange-dark); }
.card, .compare-card, .testimonial-card, .resource-card, .contact-card { border: 0; border-radius: 28px 28px 28px 12px; box-shadow: 0 14px 38px rgba(13,6,67,.08); }
.grid-3 > :nth-child(3n+1).card { border-top: 5px solid var(--violet); }
.grid-3 > :nth-child(3n+2).card { border-top: 5px solid var(--orange); }
.grid-3 > :nth-child(3n).card { border-top: 5px solid #9abc28; }
.program-card { padding: 0 28px 28px; border: 0; border-radius: 24px 24px 24px 8px; box-shadow: var(--shadow); }
.program-card::after { z-index: 0; }
.program-card:nth-child(1) { background: #f4f1ff; }
.program-card:nth-child(2) { background: #fff4ea; }
.program-card:nth-child(3) { background: #eaf7ff; }
.program-card .program-media { display: block; height: 180px; margin: 0 -28px 22px; overflow: hidden; border-radius: 24px 24px 0 0; }
.program-media img { width: 100%; height: 100%; object-fit: cover; }
.icon-bubble { background: #f4f1ff; color: var(--violet); }
.process { position: relative; gap: 20px; }
.process-item { min-height: 220px; padding: 25px; border-radius: 24px 24px 24px 10px; background: #6754e9; }
.process-item:nth-child(2) { background: #f15f25; }
.process-item:nth-child(3) { color: var(--ink); background: #f2f7ce; }
.process-item:nth-child(3) p { color: #4b5563; }
.process-item:nth-child(4) { background: #0d0643; }
.process-item:not(:last-child)::after { content: ""; position: absolute; z-index: 3; top: 48%; right: -27px; width: 34px; height: 22px; background: url('../img/program/arrow-right.png') center/contain no-repeat; }
.process-item::before { margin-bottom: 22px; color: rgba(255,255,255,.74); }
.process-item h3 { font-size: 22px; }
.testimonial-card { position: relative; overflow: hidden; background: #f4f1ff; }
.testimonial-card:nth-child(2) { background: #fff4ea; }
.testimonial-card:nth-child(3) { background: #eaf7ff; }
.testimonial-card::before { color: var(--violet); }
.testimonial-card p { min-height: 124px; color: #3e3a51; }
.teacher-voices { margin-top: 54px; }
.teacher-voices .section-head { margin-bottom: 26px; }
.teacher-voice { padding: 26px; border-radius: 24px 24px 24px 8px; background: white; box-shadow: 0 12px 34px rgba(13,6,67,.08); }
.teacher-voice blockquote { margin: 0 0 14px; color: var(--ink); font-size: 20px; font-weight: 800; }
.teacher-voice p { margin: 0 0 15px; }
.teacher-voice cite { color: var(--violet); font-style: normal; font-weight: 800; }
.gallery figure { border-radius: 26px 26px 26px 8px; }
.gallery figure:hover img { filter: saturate(1.12); }
.cta-panel { position: relative; overflow: hidden; border-radius: 30px 30px 30px 10px; background: linear-gradient(125deg,#6754e9,#3d2db5); }
.cta-panel::after { content: ""; position: absolute; width: 150px; height: 150px; right: -34px; bottom: -55px; background: url('../img/footer/flower.png') center/contain no-repeat; opacity: .45; pointer-events: none; }
.page-hero { min-height: 360px; display: flex; align-items: center; padding: 80px 0 98px; color: white; background: #6754e9 url('../img/breadcrumb-bg.png') center/cover repeat; }
.page-hero::before { content: ""; position: absolute; inset: 0; width: 100%; height: 100%; background-image: url('../img/cloud.png'),url('../img/sun.png'); background-position: 90% 38%,78% 18%; background-size: 90px auto,46px auto; background-repeat: no-repeat; opacity: .68; pointer-events: none; }
.page-hero::after { top: auto; right: 0; bottom: -1px; width: 100%; height: 60px; border: 0; border-radius: 0; background: url('../img/breadcrumb-shape.png') center bottom/100% 100% no-repeat; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .container::before, .page-hero .container::after { content: ""; position: absolute; z-index: -1; pointer-events: none; background-repeat: no-repeat; background-position: center; background-size: contain; }
.page-hero .container::before { top: -18px; right: 17%; width: 54px; height: 68px; background-image: url('../img/perasute.png'); }
.page-hero .container::after { right: 1%; bottom: -24px; width: 76px; height: 96px; background-image: url('../img/tree.png'); }
.page-hero h1, .page-hero p { color: white; }
.page-hero h1 { font-size: clamp(42px,5.7vw,68px); }
.breadcrumb { color: rgba(255,255,255,.8); }
.breadcrumb a { color: #ffd49d; }
.page-hero .breadcrumb { position: relative; z-index: 1; }
.timeline-item p { line-height: 1.8; }
.timeline-year { white-space: nowrap; }
.book-card { position: relative; overflow: hidden; border-radius: 18px 32px 32px 12px; }
.book-card::after { content: ""; width: 90px; height: 90px; position: absolute; top: 55px; right: 18px; background: url('../img/program/book.png') center/contain no-repeat; opacity: .28; }
.book-card p { position: relative; z-index: 1; }
.resource-card:nth-child(1) { background: #f4f1ff; }
.resource-card:nth-child(2) { background: #fff4ea; }
.resource-card:nth-child(3) { background: #eaf7ff; }
.resource-card:nth-child(4) { background: #f7fae2; }
.resource-card:nth-child(5) { background: #fff; }
.contact-card:nth-child(2) { background: #fff4ea; }
.contact-card:nth-child(3) { background: #f4f1ff; }
.contact-card:nth-child(4) { background: #eaf7ff; }
.contact-svg { width: 27px; height: 27px; object-fit: contain; }
.contact-location { position: absolute; width: 110px; height: 110px; right: 26px; top: 28px; opacity: .42; }
.map-card { position: relative; overflow: hidden; }
.map-card > *:not(.contact-location) { position: relative; z-index: 1; }
.curriculum-banner { position: relative; overflow: hidden; height: 190px; margin: 0 0 30px; border-radius: 24px 24px 24px 8px; background: #6754e9; }
.curriculum-banner img { width: 100%; height: 100%; object-fit: cover; }
.curriculum-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(13,6,67,.74),transparent 82%); }
.curriculum-banner span { position: absolute; z-index: 1; left: 28px; bottom: 24px; max-width: 78%; color: white; font-size: clamp(18px,3vw,26px); font-weight: 850; }
.icon-image { overflow: hidden; padding: 8px; }
.icon-image img { width: 100%; height: 100%; object-fit: contain; }
.principle-num img { width: 44px; height: 44px; object-fit: contain; }
.map-card { border-radius: 30px 30px 30px 10px; background: linear-gradient(145deg,#0d0643,#342480); }
.site-footer { padding: 90px 0 120px; color: var(--ink); background: #faf5f2; }
.site-footer::before { content: ""; position: absolute; inset: auto 0 0; width: 100%; height: 92px; border: 0; border-radius: 0; background: url('../img/footer/footer-bg-03.png') center bottom/100% 92px no-repeat; pointer-events: none; }
.site-footer .container { position: relative; z-index: 1; }
.footer-ornament { position: absolute; pointer-events: none; object-fit: contain; }
.footer-sky { top: 28px; left: 8%; width: 130px; opacity: .8; }
.footer-flower { right: 12%; top: 42px; width: 80px; }
.footer-house { right: 3%; bottom: 22px; width: 130px; }
.footer-brand img { filter: none; }
.footer-copy { color: #4b5563; }
.footer-title { color: var(--violet); }
.footer-grid { grid-template-columns: 1.35fr .7fr .95fr .8fr; gap: 36px; }
.grid-2 > .notice { grid-column: 1 / -1; }
.footer-links { position: relative; z-index: 2; color: #3e3a51; }
.footer-links a:hover { color: var(--orange-dark); }
.footer-meta { color: #55596b; border-top: 1px solid rgba(13,6,67,.14); }
.mobile-quick a:first-child { background: var(--orange); }
.mobile-quick a:last-child { background: var(--violet); }
.about-collage { position: relative; min-height: 520px; }
.about-collage img { position: absolute; width: 57%; height: 60%; object-fit: cover; border: 9px solid white; border-radius: 42% 58% 46% 54% / 54% 43% 57% 46%; box-shadow: var(--shadow); }
.about-collage img:nth-child(1) { left: 3%; top: 4%; width: 58%; height: 72%; }
.about-collage img:nth-child(2) { right: 0; top: 0; width: 41%; height: 43%; }
.about-collage img:nth-child(3) { right: 1%; bottom: 1%; width: 42%; height: 43%; }
.memory-curve { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-top: 28px; }
.memory-step { padding: 24px 18px; border-radius: 22px 22px 22px 8px; text-align: center; background: #f4f1ff; }
.memory-step:nth-child(2) { background: #fff4ea; }
.memory-step:nth-child(3) { background: #eaf7ff; }
.memory-step:nth-child(4) { background: #f7fae2; }
.memory-step b { display: block; margin-bottom: 8px; color: var(--violet); font-size: 21px; }
.memory-step span { color: var(--muted); font-size: 14px; }
@media (max-width: 1020px) {
  .hero { min-height: 520px; background-position: 61% center; }
  .hero-copy { max-width: 640px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-item:not(:last-child)::after { right: -18px; width: 25px; }
}
@media (max-width: 780px) {
  .hero { min-height: 540px; padding: 68px 0 105px; background-position: 62% center; }
  .hero::after { height: 48px; }
  .page-hero { min-height: 280px; padding: 60px 0 76px; }
  .page-hero::after { height: 38px; }
  .page-hero::before { background-position: 90% 23%,76% 14%; background-size: 56px auto,30px auto; opacity: .48; }
  .page-hero .container::before, .page-hero .container::after { display: none; }
  .about-collage { min-height: 400px; }
  .memory-curve { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .process-item:not(:last-child)::after { display: none; }
  .curriculum-banner { height: 150px; }
  .contact-location { width: 70px; height: 70px; right: 14px; top: 18px; }
  .footer-sky, .footer-flower, .footer-house { opacity: .3; }
  .footer-house { width: 75px; }
}
@media (max-width: 520px) {
  .hero { min-height: 510px; background-position: 65% center; }
  .hero h1 { font-size: clamp(40px,11vw,55px); }
  .hero-copy > p { max-width: 94%; }
  .hero-note { align-items: flex-start; flex-wrap: wrap; }
  .page-hero { min-height: 265px; }
  .page-hero h1 { font-size: 39px; }
  .memory-curve { gap: 8px; }
  .memory-step { padding: 18px 12px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Carousel final cascade */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.brand { gap: 10px; }
.brand-symbol-image { display: block; flex: 0 0 auto; width: 46px; height: 46px; object-fit: contain; }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { color: #0d0643; font-size: 21px; font-weight: 850; line-height: 1.05; }
.brand-copy small { padding: 0; border: 0; color: #4b5563; font-size: 9px; letter-spacing: .12em; line-height: 1.1; }
.brand > img:not(.brand-symbol-image), .footer-brand > img:not(.brand-symbol-image) { display: none; }
.hero { position: relative; min-height: 570px; padding: 0; background: #0d0643; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; pointer-events: none; background-image: linear-gradient(90deg, rgba(13,6,67,.90), rgba(13,6,67,.69) 47%, rgba(13,6,67,.15)), var(--hero-image); background-position: center; background-size: cover; transition: opacity .7s ease, visibility .7s ease; }
.hero-slide-1 { --hero-image: url('../img/hero/hero-slider-3.jpg'); }
.hero-slide-2 { --hero-image: url('../img/hero/hero-slider-4.jpg'); }
.hero-slide-3 { --hero-image: url('../img/hero/hero-slider-5.jpg'); }
.hero-slide.is-active { visibility: visible; opacity: 1; pointer-events: auto; }
.hero-slide-inner { min-height: 570px; display: flex; align-items: center; position: relative; z-index: 1; }
.hero-slide h1 { max-width: 760px; font-size: clamp(46px, 6vw, 72px); line-height: 1.18; }
.hero-slide p { max-width: 660px; font-size: 19px; }
.hero-controls { position: absolute; z-index: 5; right: max(24px, calc((100% - 1180px) / 2)); bottom: 82px; display: flex; gap: 8px; }
.hero-controls button { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; color: #fff; background: rgba(13,6,67,.45); font-size: 22px; cursor: pointer; }
.hero-dots { position: absolute; z-index: 5; left: 50%; bottom: 88px; display: flex; gap: 8px; transform: translateX(-50%); }
.hero-dots button { width: 12px; height: 12px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.hero-dots button[aria-current="true"] { width: 30px; border-radius: 10px; background: #f15f25; }
.hero::after { top: auto; bottom: -1px; z-index: 3; }
@media (max-width: 780px) {
  .brand-symbol-image { width: 41px; height: 41px; }
  .brand-copy strong { font-size: 18px; }
  .brand-copy small { display: none; }
  .hero { min-height: 540px; }
  .hero-slide { background-position: 58% center; }
  .hero-slide-inner { min-height: 540px; padding-top: 12px; }
  .hero-slide h1 { max-width: 92%; font-size: clamp(34px, 8.8vw, 48px); }
  .hero-slide p { font-size: 16px; }
  .hero-controls { right: 16px; bottom: 66px; }
  .hero-dots { left: 26px; bottom: 83px; transform: none; }
}
@media (max-width: 520px) {
  .hero-slide h1 { font-size: clamp(34px, 9.6vw, 44px); }
  .hero-controls button { width: 44px; height: 44px; }
}
@media (max-width: 380px) {
}
.icon-bubble { width: 50px; height: 50px; margin-bottom: 18px; border-radius: 14px; box-shadow: none; }
.icon-label { display: inline-flex; align-items: center; justify-content: center; color: var(--ink); font-size: 13px; font-weight: 900; letter-spacing: .03em; line-height: 1; }
.stat-mark { color: var(--ink); font-size: 13px; font-weight: 850; letter-spacing: .03em; box-shadow: none; }
.icon-image { padding: 0; }
.icon-image img { width: 33px; height: 33px; object-fit: contain; }
.resource-icon { padding: 0; box-shadow: none; }
.resource-icon img { width: 29px; height: 29px; object-fit: contain; }
.resource-icon-teacher { background: #f15f25; }
.resource-icon-beta { background: #2378c8; }
.resource-icon-document { background: #5f8518; }
.resource-icon-share { background: #6754e9; }
.contact-card .icon-bubble { width: 50px; height: 50px; border-radius: 14px; box-shadow: none; }
.contact-card .contact-svg { width: 27px; height: 27px; }
.contact-icon-phone { background: #f15f25; }
.contact-icon-share { background: #6754e9; }
.grid-4 .card:nth-child(1) .icon-image { background: #6754e9; }
.grid-4 .card:nth-child(2) .icon-image { background: #f15f25; }
.grid-4 .card:nth-child(3) .icon-image { background: #5f8518; }
.grid-4 .card:nth-child(4) .icon-image { background: #0d0643; }
@media (max-width: 520px) {
  .icon-bubble, .contact-card .icon-bubble { width: 48px; height: 48px; }
  .icon-image img, .resource-icon img { width: 29px; height: 29px; }
}
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }
