
:root {
  color-scheme: light;
  --ink: #0c203e;
  --navy: #002157;
  --blue: #054ec0;
  --cyan: #00aef0;
  --muted: #364b65;
  --line: #d8e1ec;
  --soft: #f1f5fa;
  --white: #ffffff;
  --warm: #f6f2ea;
  --header-height: 72px;
  --measure: 1216px;
  --gutter: clamp(20px, 4vw, 52px);
  font-family: "Pretendard Variable", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--white);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; font-size: 16px; line-height: 1.65; -webkit-text-size-adjust: 100%; }
main { display: block; min-height: 52vh; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol { margin: 0; }
ol { padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1.17; letter-spacing: -.055em; word-break: keep-all; }
p { word-break: keep-all; overflow-wrap: anywhere; }
a:focus-visible, summary:focus-visible { outline: 3px solid #0c75db; outline-offset: 4px; }

.container { width: min(100% - var(--gutter) * 2, var(--measure)); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; z-index: 20; inset: 8px auto auto 12px;
  padding: 10px 18px; color: white; background: var(--navy); border-radius: 4px;
}

.site-header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid #e5ebf3; }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 145px; height: auto; }
.desktop-nav { display: flex; align-items: stretch; align-self: stretch; gap: clamp(16px, 2.4vw, 36px); }
.desktop-nav a {
  position: relative; display: flex; align-items: center; white-space: nowrap;
  font-size: 15px; font-weight: 700; letter-spacing: -.035em;
}
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--blue); }
.desktop-nav a[aria-current]::after { content: ""; position: absolute; height: 3px; inset: auto 0 0; background: var(--blue); }
.header-action { display: flex; align-items: center; gap: 5px; color: var(--blue); font-size: 14px; font-weight: 800; white-space: nowrap; }
.header-action:hover { text-decoration: underline; text-underline-offset: 5px; }
.arrow { flex: 0 0 auto; }
.mobile-nav { display: none; }

.hero {
  background: linear-gradient(180deg, #f5f8fc 0%, #ffffff 97%);
  padding: clamp(34px, 5.15vw, 74px) 0 clamp(32px, 4.5vw, 62px);
}
.hero-inner { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(24px, 4vw, 66px); }
.eyebrow {
  display: flex; align-items: center; gap: 9px; color: var(--blue);
  font-size: 14px; font-weight: 800; letter-spacing: .015em;
}
.eyebrow-mark { height: 8px; width: 8px; background: var(--cyan); border-radius: 2px; }
.hero h1 { margin: 16px 0 22px; font-size: clamp(36px, 5vw, 72px); line-height: 1.14; letter-spacing: -.071em; font-weight: 850; }
.hero h1 span { color: var(--navy); }
.lead { max-width: 36em; color: var(--muted); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.7; letter-spacing: -.033em; }
.hero .lead { max-width: 27em; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button {
  display: inline-flex; min-height: 48px; justify-content: center; align-items: center;
  gap: 10px; padding: 10px 17px; border-radius: 5px; border: 1px solid transparent;
  font-weight: 800; font-size: 15px; line-height: 1.3; white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.button--primary { color: var(--navy); background: #dbe9fa; border-color: #a4bddc; }
.button--primary:hover { background: #cce0f8; border-color: #779cc7; }
.button--quiet { color: var(--navy); background: var(--white); border-color: #b9c8db; }
.button--quiet:hover { border-color: var(--blue); background: #eff6ff; }
.hero-art {
  position: relative; overflow: hidden; isolation: isolate; min-height: 300px; min-width: 0;
  aspect-ratio: 1.24; border-radius: 10px; background: #031c48;
  box-shadow: 0 18px 35px rgba(0, 33, 87, .13);
}
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }




.home-paths { padding: 0 0 52px; }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.path-card {
  display: flex; flex-direction: column; align-items: flex-start;
  min-width: 0; min-height: 198px; padding: clamp(22px, 3vw, 34px);
  border-radius: 7px; border: 1px solid transparent;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.path-card--exam { background: #e9f2ff; border-color: #dae8fa; }
.path-card--exam:hover { background: #deedff; border-color: #a4bfe3; }
.path-card--campus { background: #f6f2ea; border-color: #eee7d9; }
.path-card--campus:hover { background: #efe9db; border-color: #cfc2a8; }
.card-label { font-size: 13px; font-weight: 800; letter-spacing: -.01em; color: #274f86; }
.path-card--campus .card-label { color: #5e4c2d; }
.path-card h2 { margin: 7px 0 9px; font-size: clamp(25px, 3vw, 37px); }
.path-card p { color: #304966; font-size: 16px; margin-bottom: 21px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-size: 15px; font-weight: 800; }
a.text-link:hover, a.path-card:hover .text-link { text-decoration: underline; text-underline-offset: 5px; }
.path-card .text-link { margin-top: auto; }

.section { padding: clamp(46px, 7vw, 90px) 0; }
.section--method, .section--soft { background: var(--soft); }
.section-head { margin-bottom: clamp(24px, 3.1vw, 40px); }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; }
.section h2, .home-news h2, .link-band h2 { font-size: clamp(29px, 3.6vw, 49px); }
.section-head .eyebrow, .editorial-aside .eyebrow { margin-bottom: 10px; }
.section-head h2 + p { margin-top: 9px; color: var(--muted); }
.section-head--split > .text-link { margin-bottom: 2px; white-space: nowrap; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-grid li { padding: 22px 23px 25px; background: #fff; border-top: 2px solid #9ab5d7; }
.step-index { color: #2b568a; font-size: 14px; font-variant-numeric: tabular-nums; font-weight: 800; letter-spacing: .035em; }
.step-grid h3 { margin: 13px 0 10px; font-size: 23px; }
.step-grid p, .editorial-list p, .detail-steps p, .campus-classes p { color: var(--muted); font-size: 16px; }
.home-news { padding: 36px 0; }
.home-news-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.home-news h2 { font-size: clamp(23px, 2.5vw, 31px); }

.page-intro { padding: clamp(44px, 6vw, 82px) 0; background: #f0f5fc; }
.intro-inner { position: relative; }
.page-intro h1, .campus-intro h1 {
  font-size: clamp(37px, 6.2vw, 77px); line-height: 1.12;
  margin: 10px 0 18px; font-weight: 850; letter-spacing: -.065em;
}
.page-intro .button { margin-top: 24px; }
.page-intro--exam { background: linear-gradient(120deg, #e8f1fc, #f6f9fd); color: var(--ink); }
.page-intro--exam .eyebrow { color: #174b86; }
.page-intro--exam .lead { color: #304760; }
.page-intro--warm { background: var(--warm); }
.editorial-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 80px); }
.editorial-list article { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 24px 0; border-top: 1px solid var(--line); }
.editorial-list article:last-child { border-bottom: 1px solid var(--line); }
.editorial-list h3, .campus-classes h3 { font-size: 25px; margin-bottom: 8px; }
.link-band { background: #eaf2fc; padding: clamp(26px, 4.5vw, 54px) 0; }
.link-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.link-band h2 { font-size: clamp(25px, 3.2vw, 36px); }
.link-band p { margin-top: 7px; color: var(--muted); }

.detail-steps li {
  display: grid; grid-template-columns: .23fr 1fr .55fr; align-items: start;
  gap: clamp(14px, 4vw, 48px); padding: 29px 0; border-top: 1px solid var(--line);
}
.detail-steps li:last-child { border-bottom: 1px solid var(--line); }
.detail-number { color: #2d5c9c; font-weight: 850; font-size: clamp(26px, 4vw, 54px); line-height: 1; letter-spacing: -.055em; }
.detail-steps h2 { margin-bottom: 10px; font-size: clamp(26px, 3.3vw, 42px); }
.detail-steps .detail-check { align-self: center; color: var(--navy); font-weight: 800; background: #edf4fe; padding: 16px; border-radius: 5px; }

.jump-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.jump-links a {
  display: inline-flex; gap: 5px; align-items: center; justify-content: center;
  min-height: 44px; color: var(--blue); background: #f0f6ff; border: 1px solid #d7e6fb;
  border-radius: 5px; padding: 7px 12px; font-weight: 800; white-space: nowrap;
}
.jump-links a:hover { background: #dfedff; border-color: #b4ccec; }
.schedule-grid { display: grid; gap: 14px; }
.schedule-card { padding: clamp(17px, 2.6vw, 30px); border: 1px solid #cddaea; border-radius: 7px; background: #fff; }
.schedule-card:target { border-color: #2f6eb9; box-shadow: 0 0 0 2px #d4e7ff; }
.schedule-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.schedule-card-head h3 { font-size: clamp(21px, 2.6vw, 30px); }
.tag {
  display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center;
  padding: 4px 9px; border-radius: 3px; background: #edf4fe; color: #245182;
  font-size: 12px; line-height: 1.4; font-weight: 800; white-space: nowrap;
}
.schedule-empty { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; color: var(--muted); }
.status-dot { display: inline-block; flex: 0 0 6px; height: 6px; border-radius: 50%; background: #4977a9; align-self: center; }
.table-scroll { margin-top: 18px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
thead th { color: var(--navy); background: var(--soft); }

.campus-intro { padding: clamp(34px, 5.6vw, 80px) 0; background: var(--warm); }
.campus-intro-inner { display: grid; align-items: center; grid-template-columns: 1.15fr .85fr; gap: clamp(26px, 6vw, 78px); }
.breadcrumb { display: inline-block; margin-bottom: 22px; color: #574d3b; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.campus-intro .eyebrow { color: #64502e; }
.campus-location { margin-top: 8px; color: #574d3b; font-size: 15px; }
.campus-visual {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  width: 100%; min-width: 0; aspect-ratio: 1.27; min-height: 215px; padding: clamp(20px, 3vw, 36px);
  border: 1px solid #d3c6ad; border-radius: 7px;
  background: linear-gradient(125deg, #e9dec9, #f7f1e7); color: #2e3d54;
}
.campus-visual span { font-size: 12px; font-weight: 850; letter-spacing: .13em; }
.campus-visual strong { color: var(--navy); font-size: clamp(70px, 12vw, 180px); letter-spacing: -.08em; line-height: .86; }
.campus-classes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.campus-classes article { padding: 23px; border: 1px solid var(--line); border-radius: 7px; }

.news-list > a {
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(9px, 3vw, 30px);
  align-items: center; min-height: 108px; padding: 19px 0; border-top: 1px solid var(--line);
}
.news-list > a:last-child { border-bottom: 1px solid var(--line); }
.news-list > a:hover h2 { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
.news-list h2 { font-size: clamp(20px, 2.6vw, 29px); margin-bottom: 5px; }
.news-list p { color: var(--muted); }
.news-list .arrow { color: var(--blue); }

.site-footer { padding: 36px 0 16px; color: var(--ink); background: #edf3fa; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 24px; }
.footer-brand > a { font-size: 23px; font-weight: 850; letter-spacing: -.07em; }
.footer-brand p { font-size: 14px; color: #364b65; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 9px 22px; color: #17375e; font-size: 14px; }
.footer-inner nav a { padding-block: 6px; }
.footer-inner nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-end { padding-top: 13px; border-top: 1px solid #c1d2e8; color: #364b65; font-size: 13px; }

@media (min-width: 1100px) {
  .schedule-grid:not(:has(table)) { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1020px) {
  .header-action { display: none; }
  .desktop-nav { gap: clamp(16px, 3.2vw, 34px); }
}

@media (max-width: 790px) {
  :root { --header-height: 62px; }
  .desktop-nav { display: none; }
  .brand img { width: 135px; }
  .mobile-nav { display: block; }
  .mobile-nav summary {
    display: flex; min-height: 44px; align-items: center; gap: 8px; padding: 8px 2px 8px 9px;
    font-size: 15px; font-weight: 800; list-style: none; cursor: pointer;
  }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .menu-bars { width: 18px; height: 12px; border-block: 2px solid var(--navy); }
  .mobile-nav[open] .menu-bars { height: 3px; border-block: 0; background: var(--navy); }
  .mobile-nav nav {
    position: absolute; top: 100%; inset-inline: 0; display: grid;
    padding: 6px var(--gutter) 14px; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 12px 18px #00215712;
  }
  .mobile-nav nav a { display: flex; align-items: center; min-height: 46px; padding: 6px 2px; border-top: 1px solid #edf1f6; font-weight: 750; }
  .mobile-nav nav a[aria-current] { color: var(--blue); }
  .hero-inner { grid-template-columns: 1fr; gap: 29px; }
  .hero h1 { font-size: clamp(36px, 8.6vw, 64px); margin-block: 12px 14px; }
  .hero-art { min-height: 0; aspect-ratio: 1.83; }



  .hero-actions { margin-top: 21px; }
  .section-head--split { align-items: flex-start; flex-direction: column; gap: 13px; }
  .editorial-grid { grid-template-columns: 1fr; }
  .detail-steps li { grid-template-columns: 42px 1fr; }
  .detail-steps .detail-check { grid-column: 2; }
  .campus-intro-inner { grid-template-columns: 1fr; }
  .campus-visual { aspect-ratio: 2.05; min-height: 180px; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 580px) {
  .path-grid, .step-grid, .campus-classes { grid-template-columns: 1fr; }
  .path-card { min-height: 0; }
  .home-paths { padding-bottom: 36px; }
  .step-grid { gap: 10px; }
  .step-grid li { padding: 16px 19px 19px; }
  .step-grid h3 { margin: 6px 0; }
  .link-band-inner, .home-news-inner { align-items: flex-start; flex-direction: column; }
  .news-list > a { grid-template-columns: 1fr auto; align-items: start; }
  .news-list .tag { grid-column: 1 / -1; justify-self: start; }
  .news-list p { font-size: 14px; }
}

@media (max-width: 355px) {
  .hero h1 { font-size: 33px; }
  .button { padding-inline: 10px; gap: 4px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

.exam-intro-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, .52fr);
  grid-template-areas: "exam-copy exam-fee" "exam-actions exam-fee";
  gap: 24px clamp(24px, 5vw, 68px);
  align-items: center;
}
.exam-intro-copy { grid-area: exam-copy; align-self: end; }
.exam-fee { grid-area: exam-fee; }
.exam-intro-actions { grid-area: exam-actions; align-self: start; }
.exam-intro-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.exam-intro-actions .button { margin-top: 0; }
.exam-fee { background: #fff; color: var(--ink); border: 1px solid #c1d2e8; border-radius: 7px; padding: clamp(18px, 3vw, 28px); }
.exam-fee h2 { font-size: 19px; }
.exam-fee dl { display: grid; grid-template-columns: 1fr 1.22fr; gap: 12px; margin: 14px 0 0; }
.exam-fee dl > div { padding-top: 10px; border-top: 1px solid var(--line); }
.exam-fee dt { color: var(--muted); font-size: 14px; font-weight: 700; }
.exam-fee dd { margin: 3px 0 0; font-size: clamp(22px, 3vw, 34px); line-height: 1.28; font-weight: 850; letter-spacing: -.06em; }
.exam-fee dd span { font-size: 13px; color: var(--muted); letter-spacing: 0; }
.exam-fee p { margin-top: 14px; font-size: 14px; color: var(--muted); }
.exam-steps > li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.exam-steps > li:last-child { border-bottom: 1px solid var(--line); }

.mobile-exam-link { display: none; }

@media (max-width: 790px) {
  .header-inner { gap: 9px; }
  .brand { margin-inline-end: auto; }
  .brand img { width: clamp(108px, 33vw, 135px); }
  .mobile-exam-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding-inline: 9px;
    color: var(--blue);
    border: 1px solid #d6e3f4;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
  }
  .hero-art { display: none; }
  .hero-actions, .exam-intro-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero-actions .button, .exam-intro-actions .button { justify-content: space-between; }
  .exam-intro-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "exam-copy" "exam-fee" "exam-actions";
    gap: 17px;
  }
  .exam-fee p { line-height: 1.55; }
}

