:root {
  color-scheme: light;
  --ink: #192a21;
  --muted: #526258;
  --paper: #fbfbf7;
  --surface: #fff;
  --tint: #eef1e8;
  --green: #172920;
  --lime: #d6ee95;
  --edge: #dce3d8;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", "Noto Sans KR", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  word-break: keep-all;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, p, figure, dl { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #63913a; outline-offset: 4px; }
section[id], #online, #main { scroll-margin-top: 6.25rem; }
.sr-only {
  position: absolute; clip-path: inset(50%); height: 1px; width: 1px;
  overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: fixed; top: 0; left: 1rem; transform: translateY(-140%);
  z-index: 5; padding: .5rem 1rem; background: var(--lime); color: var(--ink);
}
.skip-link:focus { transform: translateY(0); }
.wrap { width: min(100% - 5rem, 75rem); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 3; background: var(--paper);
  border-bottom: 1px solid var(--edge);
}
.site-nav { min-height: 4.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; }
.brand-symbol {
  display: grid; place-items: center; width: 2.35rem; height: 2.35rem;
  border-radius: .48rem; color: var(--lime); background: var(--green);
  font-size: 1.26rem; font-weight: 850; line-height: 1;
}
.brand-name { font-size: 1.18rem; font-weight: 820; letter-spacing: -.055em; white-space: nowrap; }
.site-nav nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.site-nav nav a { text-decoration: none; font-weight: 650; color: var(--muted); white-space: nowrap; }
.site-nav nav a[aria-current="page"], .site-nav nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .24em; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem;
  padding: .65rem 1.25rem; border: 1px solid transparent; border-radius: .48rem;
  font-size: .95rem; font-weight: 760; text-decoration: none; white-space: nowrap;
  transition: background-color .16s ease, border-color .16s ease;
}
.button-small { min-height: 2.6rem; padding-inline: 1rem; }
.button-dark { background: var(--green); color: var(--paper); }
.button-dark:hover { background: #284538; }
.button-lime { background: var(--lime); color: #1c2e19; }
.button-lime:hover { background: #e7fbaf; }
.button-outline { border-color: #759081; color: #fbfff6; }
.button-outline:hover { border-color: #d5e9dc; background: #ffffff14; }
.hero { background: var(--green); color: var(--paper); }
.hero-layout {
  display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: clamp(1.5rem, 4.6vw, 4rem);
  padding-block: clamp(3.1rem, 6.2vw, 5.5rem);
}
.eyebrow { font-size: .92rem; line-height: 1.5; font-weight: 760; letter-spacing: -.015em; }
.hero-eyebrow { color: #d9e5d8; margin-bottom: 1.15rem; }
.hero-eyebrow span { color: #9aac9e; margin-inline: .25rem; }
.hero h1 { font-size: clamp(3.1rem, 6vw, 6rem); font-weight: 850; line-height: 1.11; letter-spacing: -.075em; }
.hero h1 span { color: var(--lime); }
.hero-description { margin-top: 1.5rem; color: #e3ebe4; font-size: clamp(1.03rem, 1.6vw, 1.22rem); letter-spacing: -.025em; }
.button-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.8rem; }
.hero-credentials { margin-top: 1.45rem; color: #c1d3c5; font-size: .9rem; font-weight: 580; }
.hero-credentials span { margin-inline: .3rem; }
.hero-figure {
  min-width: 0; aspect-ratio: 1.12; overflow: hidden; border-radius: .65rem;
  background: #31493b; border: 1px solid #69817066;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 49% 51%; }
.section { padding-block: clamp(3rem, 6vw, 5.25rem); }
.section-heading { margin-bottom: 1.65rem; }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.24; font-weight: 820; letter-spacing: -.064em; }
.section-heading > p { margin-top: .65rem; color: var(--muted); font-size: 1.04rem; }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.course-card {
  display: flex; flex-direction: column; align-items: flex-start;
  border: 1px solid var(--edge); border-radius: .7rem; padding: clamp(1.15rem, 2.5vw, 2rem);
  background: var(--surface);
}
.course-upcoming { background: #f0f4e7; }
.course-top, .contact-title { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.grade { font-size: 1.09rem; font-weight: 830; color: #3d603d; }
.course-label {
  color: #37513b; background: #e9efe4; border: 1px solid #d2e1cf; border-radius: 999px;
  padding: .09rem .6rem; font-size: .86rem; font-weight: 650; white-space: nowrap;
}
.course-card h3, .contact-card h3, .video-card h3 {
  font-size: clamp(1.29rem, 2.1vw, 1.63rem); line-height: 1.35; font-weight: 810; letter-spacing: -.048em;
}
.course-card h3 { margin-top: .72rem; }
.course-card > p { margin-top: .65rem; margin-bottom: 1.15rem; color: var(--muted); }
.text-link { font-weight: 760; text-decoration: underline; text-underline-offset: .26em; }
.text-link:hover { color: #416943; }
.course-card .text-link { margin-top: auto; }
.section-tinted { background: var(--tint); }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.video-card {
  text-decoration: none; border: 1px solid var(--edge); border-radius: .7rem;
  overflow: hidden; background: var(--surface);
}
.video-art {
  display: grid; place-items: center; aspect-ratio: 2.07; background-color: #263d35;
  background-size: cover; background-position: center;
}
.video-yeongdong {
  background-image: linear-gradient(#13271d24,#11231a40), url("https://i.ytimg.com/vi/YnTsSh1GTzc/hqdefault.jpg"),
    repeating-linear-gradient(125deg, #294338 0 1px, #223b31 1px 22px);
}
.video-kyunggi {
  background-image: linear-gradient(#13271d24,#11231a40), url("https://i.ytimg.com/vi/qGZIXZy84Bw/hqdefault.jpg"),
    repeating-linear-gradient(55deg, #294338 0 1px, #223b31 1px 22px);
}
.play-icon {
  display: grid; place-items: center; width: 3.6rem; height: 3.6rem;
  border-radius: 50%; background: #fafff4; color: var(--green);
  box-shadow: 0 4px 24px #14271f52; transition: transform .16s ease;
}
.play-icon::before {
  content: ""; width: 0; height: 0; margin-left: .22rem;
  border-block: .56rem solid transparent; border-left: .83rem solid currentColor;
}
.video-card:hover .play-icon { transform: scale(1.1); }
.video-copy { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: 1rem 1.2rem 1.2rem; }
.video-type { margin-bottom: .25rem; color: #516450; font-size: .88rem; font-weight: 740; }
.video-action { color: var(--muted); font-size: .88rem; font-weight: 710; white-space: nowrap; }
.materials-layout {
  display: grid; grid-template-columns: .8fr 1fr; align-items: stretch; gap: clamp(1.5rem, 5vw, 4.5rem);
}
.workbook-figure {
  display: grid; place-items: center; min-height: 19rem; border-radius: .7rem;
  padding: 2rem; background: #e6ece0; overflow: hidden;
}
.workbook-figure img {
  display: block; width: auto; height: clamp(12rem, 24vw, 20rem); max-width: 100%; object-fit: contain;
  border-radius: .2rem; box-shadow: .5rem .7rem 1.8rem #203d2838; transform: rotate(-5deg);
}
.materials-copy { padding-block: .8rem; align-self: center; }
.materials-copy .eyebrow { color: #4a694e; margin-bottom: .45rem; }
.materials-copy > p:not(.eyebrow) { margin-top: .85rem; color: var(--muted); font-size: 1.05rem; }
.material-list { margin-top: 1.5rem; border-top: 1px solid var(--edge); }
.material-list div { display: grid; grid-template-columns: minmax(6.5rem, .45fr) 1fr; gap: .75rem; border-bottom: 1px solid var(--edge); padding-block: .65rem; }
.material-list dt { font-weight: 780; }
.material-list dd { color: var(--muted); margin: 0; }
.contact-section { background: var(--tint); }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.contact-card { padding: clamp(1.4rem, 3vw, 2.25rem); border: 1px solid var(--edge); border-radius: .7rem; background: var(--surface); }
.contact-local { background: var(--green); color: var(--paper); border-color: var(--green); }
.contact-card > p { margin-block: .65rem 1.35rem; color: var(--muted); max-width: 36ch; }
.contact-local > p { color: #d8e6da; }
.site-footer { background: var(--paper); }
.footer-layout { min-height: 6rem; padding-block: 1.1rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.brand-footer .brand-name { font-size: 1.04rem; }
.footer-layout > .text-link { font-size: .93rem; color: var(--muted); }
@media (max-width: 54rem) {
  .wrap { width: min(100% - 3rem, 75rem); }
  .hero-layout { gap: 1.5rem; }
  .wide-break { display: none; }
  .course-grid { gap: .65rem; }
}
@media (max-width: 43rem) {
  .wrap { width: calc(100% - 2.25rem); }
  .site-header { position: static; }
  .site-nav { min-height: 4.15rem; flex-wrap: wrap; column-gap: 1rem; row-gap: 0; }
  .site-nav nav { order: 3; flex-basis: 100%; gap: clamp(.75rem, 3.5vw, 1.5rem); flex-wrap: wrap; padding-block: .4rem .72rem; }
  .site-nav nav a { font-size: .93rem; }
  .site-nav .brand, .site-nav .button-small { margin-top: .62rem; }
  .hero-layout { grid-template-columns: 1fr; padding-block: 2.65rem 1.15rem; gap: 1.5rem; }
  .hero h1 { font-size: clamp(2.9rem, 11.4vw, 4.6rem); }
  .hero-figure { aspect-ratio: 1.58; }
  .hero-description { margin-top: 1.05rem; }
  .button-row { margin-top: 1.35rem; }
  .course-grid, .video-grid, .contact-grid, .materials-layout { grid-template-columns: 1fr; gap: .85rem; }
  .workbook-figure { min-height: 15rem; }
  .materials-copy { padding-bottom: 0; }
  section[id], #online, #main { scroll-margin-top: .6rem; }
}
@media (max-width: 22rem) {
  .button-row .button { flex: 1 1 100%; }
  .video-copy { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
