/* U05 한빛대학교 대학원 입학 — 원형 A(풀블리드 슬라이드형): 투명→흰 헤더 + 메가메뉴 + 캠퍼스 슬라이드 + 겹친 모집 D-day 띠
   타이포: Pretendard + Archivo(D-day·숫자·영문 eyebrow만) / 컬러: 와인 #6b2737 1색 + 크림 면 #f7f3ee + 무채색 */
:root {
  --ailo-accent: #6b2737;
  --ailo-accent-ink: #fff;
  --ailo-fg: #1a1517;
  --ailo-muted: #5a5154;
  --ailo-line: #e7e1dc;
  --ailo-bg: #fff;
  --ailo-header-h: 88px;
  --ailo-eyebrow-size: 14px;
  --ailo-hero-h: clamp(620px, 96svh, 920px);
  --ailo-overlap: 72px;
  --u05-cream: #f7f3ee;
  --u05-en: "Archivo", var(--ailo-font);
}
main img { height: auto; }
body { font-size: 17px; }
.ailo-eyebrow { font-family: var(--u05-en); }
.ailo-wrap { max-width: 1320px; }

/* ---------- Header ---------- */
.hd__in { height: var(--ailo-header-h); display: flex; align-items: center; gap: 20px; }
.hd__logo { display: flex; align-items: center; gap: 12px; flex: none; }
.hd__seal { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%; font-family: var(--u05-en); font-weight: 700; font-size: 18px; }
.hd__logo span:last-child { display: grid; line-height: 1.2; }
.hd__logo b { font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.hd__logo small { font-family: var(--u05-en); font-size: 13px; letter-spacing: .1em; opacity: .8; }
.hd__mega { margin-inline: auto; }
.hd__cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 4px; background: var(--ailo-accent); color: #fff; font-size: 15px; font-weight: 700; flex: none; }
.hd__cta:hover { color: #fff; background: #561d2b; }

.mnav { background: #fff; padding: calc(68px + 16px) var(--ailo-gutter) 40px; }
.mnav__in { display: grid; }
.mnav__in a { padding: 15px 0; font-size: 20px; font-weight: 700; border-bottom: 1px solid var(--ailo-line); }
.mnav__in a.mnav__cta { margin-top: 24px; border: 0; border-radius: 4px; background: var(--ailo-accent); color: #fff; text-align: center; font-size: 17px; }
.mnav__dday { margin-top: 18px; font-family: var(--u05-en); font-weight: 700; color: var(--ailo-accent); text-align: center; }

/* ---------- Hero ---------- */
.hero .hero__mark { color: #f0d9d5; }
.hero .ailo-hero__btn:not(.ailo-hero__btn--ghost) { background: #fff; color: var(--ailo-accent); }
.hero .ailo-hero__btn:not(.ailo-hero__btn--ghost):hover { background: var(--u05-cream); }
.hero { --ailo-hero-dim: linear-gradient(90deg, rgba(40, 14, 21, .66) 0%, rgba(40, 14, 21, .4) 55%, rgba(0, 0, 0, .18) 100%); }

/* ---------- D-day 띠 ---------- */
.dday { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 3vw, 48px); border-radius: 4px; box-shadow: inset 0 3px 0 var(--ailo-accent), 0 20px 48px -16px rgba(0, 0, 0, .22); }
.dday__k { font-size: 16px; font-weight: 700; color: var(--ailo-muted); }
.dday__big { font-family: var(--u05-en); font-size: clamp(48px, 4vw + 16px, 80px); font-weight: 800; line-height: 1; color: var(--ailo-accent); letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: 4px; }
.dday__clock { display: flex; gap: 10px; justify-content: center; }
.dday__clock li { display: grid; justify-items: center; min-width: 76px; padding: 12px 8px; background: var(--u05-cream); border-radius: 4px; }
.dday__clock b { font-family: var(--u05-en); font-size: 32px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.dday__clock span { font-size: 14px; color: var(--ailo-muted); }
.dday__end { display: grid; gap: 10px; justify-items: end; text-align: right; }
.dday__date { font-size: 16px; font-weight: 700; }
.dday__link { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; font-size: 15px; font-weight: 700; color: var(--ailo-accent); border-bottom: 1px solid currentColor; }

/* ---------- 바로가기 ---------- */
.quick { padding: clamp(40px, 4vw, 64px) 0 0; }
.quick__in { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--ailo-line); border-bottom: 1px solid var(--ailo-line); }
.quick a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 8px; font-size: 16px; font-weight: 700; transition: color .2s, background-color .2s; }
.quick a + a { border-left: 1px solid var(--ailo-line); }
.quick i { font-size: 22px; color: var(--ailo-accent); }
.quick a:hover { background: var(--u05-cream); color: var(--ailo-accent); }

/* ---------- 섹션 공통 ---------- */
.sched, .majors, .scholar, .voices, .notice, .contacts { padding: clamp(80px, 8vw, 128px) 0; }
.shead { margin-bottom: clamp(32px, 3.4vw, 56px); }
.shead__en { font-family: var(--u05-en); font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ailo-accent); margin-bottom: 12px; }
.shead__en--light { color: #e7c6c0; }
.shead__ko { font-size: clamp(30px, 2vw + 18px, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1.22; }
.shead--sm .shead__ko { font-size: clamp(26px, 1.2vw + 18px, 36px); }
.shead__desc { margin-top: 16px; font-size: 17px; color: var(--ailo-muted); line-height: 1.7; }

/* 전형 일정 */
.tline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.tline li { position: relative; padding: 32px 22px 28px 0; border-top: 1px solid var(--ailo-line); }
.tline__dot { position: absolute; top: -7px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #b9adb0; }
.tline__date { font-family: var(--u05-en); font-size: 16px; font-weight: 700; color: var(--ailo-muted); font-variant-numeric: tabular-nums; }
.tline h3 { font-size: 21px; font-weight: 800; margin: 8px 0 6px; letter-spacing: -.02em; }
.tline li > p:last-child { font-size: 16px; color: var(--ailo-muted); line-height: 1.6; }
.tline li.is-done .tline__dot { background: #b9adb0; }
.tline li.is-now .tline__dot, .tline li.is-next .tline__dot { background: var(--ailo-accent); box-shadow: 0 0 0 5px rgba(107, 39, 55, .16); }
.tline li.is-now .tline__date, .tline li.is-now h3 { color: var(--ailo-accent); }
.tline li.is-now::after { content: "진행 중"; position: absolute; top: 28px; right: 16px; font-size: 13px; font-weight: 700; color: #fff; background: var(--ailo-accent); padding: 2px 8px; border-radius: 3px; }
.tline__bar { height: 1px; margin-top: -1px; position: relative; display: none; }
.tline__bar span { display: block; height: 100%; background: var(--ailo-accent); transform-origin: left; transform: scaleX(0); }

/* 왜 한빛 + 숫자 */
.why { background: var(--ailo-accent); color: #fff; padding: clamp(80px, 8vw, 128px) 0; }
.why__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 96px); }
.why__title { font-size: clamp(32px, 2.4vw + 16px, 54px); font-weight: 800; line-height: 1.2; letter-spacing: -.035em; }
.why__list { display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .25); }
.why__list li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.why__n { font-family: var(--u05-en); font-size: 32px; font-weight: 700; color: #e7c6c0; line-height: 1; }
.why__list h3 { font-size: 23px; font-weight: 800; margin-bottom: 8px; }
.why__list p { font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .84); }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 5vw, 80px); }
.nums li { display: grid; gap: 6px; padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .25); }
.nums b { font-family: var(--u05-en); font-size: clamp(36px, 2.6vw + 14px, 58px); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.nums li > span { font-size: 16px; color: rgba(255, 255, 255, .8); }

/* 학과·전공 */
.mtabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.mtabs button { min-height: 46px; padding: 0 22px; border: 1px solid var(--ailo-line); border-radius: 999px; background: #fff; font-size: 16px; font-weight: 700; color: var(--ailo-muted); }
.mtabs button.is-on { background: var(--ailo-accent); border-color: var(--ailo-accent); color: #fff; }
.mpanel { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; }
.mpanel[hidden] { display: none; }
.mlist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 1px solid var(--ailo-fg); align-content: start; }
.mlist li { display: flex; align-items: center; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--ailo-line); font-size: 17px; }
.mlist li span { margin-right: auto; font-weight: 600; }
.deg { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 3px; font-size: 13px; font-weight: 700; }
.deg--m { background: var(--u05-cream); color: var(--ailo-accent); }
.deg--d { background: var(--ailo-accent); color: #fff; }
.deg--i { background: #fff; color: var(--ailo-accent); box-shadow: inset 0 0 0 1px var(--ailo-accent); }
.mfeature { background: var(--u05-cream); border-radius: 4px; overflow: hidden; align-self: start; }
.mfeature img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.mfeature p { padding: 20px 22px; font-size: 16px; line-height: 1.65; }
.mfeature b { display: block; color: var(--ailo-accent); margin-bottom: 4px; }

/* 장학 */
.scholar { background: var(--u05-cream); }
.tickets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ticket { display: grid; align-content: space-between; gap: 32px; min-height: 260px; padding: 28px 24px; background: #fff; border-radius: 4px; }
.ticket__pct { font-family: var(--u05-en); font-size: clamp(44px, 2.6vw + 20px, 64px); font-weight: 800; color: var(--ailo-accent); line-height: 1; }
.ticket__pct small { font-size: .42em; margin-left: 4px; }
.ticket h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.ticket p:not(.ticket__pct) { font-size: 16px; color: var(--ailo-muted); line-height: 1.6; }
.ticket--wine { background: var(--ailo-accent); color: #fff; }
.ticket--wine .ticket__pct { color: #fff; }
.ticket--wine p:not(.ticket__pct) { color: rgba(255, 255, 255, .82); }

/* 재학생 이야기 */
.voices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.voice { margin: 0; }
.voice img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; background: var(--u05-cream); }
.voice blockquote { margin: 20px 0 12px; font-size: 18px; line-height: 1.7; font-weight: 500; }
.voice figcaption { font-size: 15px; color: var(--ailo-muted); }
.voice figcaption b { color: var(--ailo-fg); margin-right: 6px; font-size: 16px; }

/* 공지 + 학사일정 */
.notice { background: var(--u05-cream); }
.notice__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); }
.nlist { border-top: 1px solid var(--ailo-fg); }
.nlist a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 14px 4px; border-bottom: 1px solid var(--ailo-line); }
.nlist__new { flex: none; font-family: var(--u05-en); font-size: 13px; font-weight: 700; color: #fff; background: var(--ailo-accent); padding: 2px 7px; border-radius: 3px; }
.nlist__t { flex: 1; min-width: 0; font-size: 17px; font-weight: 500; }
.nlist a:hover .nlist__t { text-decoration: underline; text-underline-offset: 4px; }
.nlist time { flex: none; font-family: var(--u05-en); font-size: 15px; color: var(--ailo-muted); }
.acal { border-top: 1px solid var(--ailo-fg); }
.acal li { display: grid; grid-template-columns: 4.5em 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--ailo-line); font-size: 17px; }
.acal b { font-family: var(--u05-en); color: var(--ailo-accent); }

/* 문의 창구 */
.desk { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--ailo-line); border: 1px solid var(--ailo-line); }
.desk li { display: grid; gap: 6px; padding: 24px 20px; background: #fff; }
.desk__k { font-size: 14px; font-weight: 700; color: var(--ailo-accent); }
.desk b { font-size: 17px; }
.desk li > span { font-family: var(--u05-en); font-size: 18px; font-weight: 600; }
.partners { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: center; margin-top: 40px; font-size: 15px; font-weight: 700; color: var(--ailo-muted); }
.partners span { font-size: 17px; font-weight: 800; color: #9a9093; }

/* 상담 신청 */
.apply { position: relative; background: #2a1419; color: #fff; padding: clamp(80px, 8vw, 128px) 0; }
.apply__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.apply__title { font-size: clamp(32px, 2.4vw + 16px, 54px); font-weight: 800; letter-spacing: -.035em; line-height: 1.2; }
.apply__lead { margin-top: 20px; font-size: 17px; line-height: 1.75; color: rgba(255, 255, 255, .82); }
.apply__dday { margin-top: 24px; display: inline-block; padding: 8px 14px; background: rgba(255, 255, 255, .1); border-radius: 4px; font-family: var(--u05-en); font-weight: 700; color: #f0d9d5; }
.apply__dday:empty { display: none; }
.aform { background: #fff; color: var(--ailo-fg); border-radius: 4px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 16px; }
.aform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.aform__f { display: grid; gap: 6px; }
.aform__f span { font-size: 15px; font-weight: 700; }
.aform input[type="text"], .aform input[type="tel"], .aform select { width: 100%; padding: 12px 14px; border: 1px solid #d3cbc6; border-radius: 4px; font-size: 16px; background: #fff; }
.aform input:focus, .aform select:focus { outline: none; border-color: var(--ailo-accent); box-shadow: 0 0 0 3px rgba(107, 39, 55, .14); }
.aform__chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.aform__chips legend { float: none; width: 100%; font-size: 15px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.aform__chips label { position: relative; display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--ailo-line); border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer; }
.aform__chips input { position: absolute; opacity: 0; }
.aform__chips label:has(input:checked) { background: var(--ailo-accent); border-color: var(--ailo-accent); color: #fff; }
.aform__chips label:has(input:focus-visible) { outline: 2px solid var(--ailo-accent); outline-offset: 2px; }
.aform__agree { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ailo-muted); }
.aform__agree input { margin-top: 4px; accent-color: var(--ailo-accent); }
.cbtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 0; border-radius: 4px; font-size: 16px; font-weight: 700; }
.cbtn--wine { background: var(--ailo-accent); color: #fff; }
.cbtn--wine:hover { background: #561d2b; color: #fff; }

/* Footer */
.ft { background: #16181c; color: #b4b8bf; padding: 56px 0 40px; font-size: 14px; }
.ft__big { font-family: var(--u05-en); font-size: clamp(32px, 4vw, 60px); font-weight: 800; letter-spacing: -.02em; color: rgba(255, 255, 255, .1); line-height: 1; margin-bottom: 32px; }
.ft__row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ft__name { color: #fff; font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.ft__info { line-height: 1.8; }
.ft__links { display: flex; gap: 20px; flex-wrap: wrap; align-self: flex-start; }
.ft__links a:hover, .ft__links strong { color: #fff; }
.ft__copy { margin-top: 18px; font-size: 13px; color: #868b93; }

/* ---------- 반응형 ---------- */
@media (max-width: 1199.98px) {
  .hd__cta { display: none; }
  .tline { grid-template-columns: repeat(3, 1fr); row-gap: 8px; }
  .tickets { grid-template-columns: 1fr 1fr; }
  .desk { grid-template-columns: repeat(3, 1fr); }
  .dday { grid-template-columns: auto 1fr; }
  .dday__end { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; text-align: left; border-top: 1px solid var(--ailo-line); padding-top: 14px; }
}
@media (max-width: 991.98px) {
  :root { --ailo-header-h: 68px; }
  .hd .ailo-sitemap-btn { display: none; }
  .hd__in { justify-content: space-between; }
  .quick__in { grid-template-columns: repeat(3, 1fr); }
  .quick a:nth-child(4) { border-left: 0; }
  .quick a:nth-child(n+4) { border-top: 1px solid var(--ailo-line); }
  .why__grid, .mpanel, .notice__grid, .apply__grid { grid-template-columns: 1fr; }
  .voices__grid { grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
  .nums { grid-template-columns: 1fr 1fr; row-gap: 32px; }
}
@media (max-width: 767.98px) {
  .dday { grid-template-columns: 1fr; gap: 16px; }
  .dday__clock { justify-content: flex-start; }
  .dday__end { grid-auto-flow: row; justify-items: start; }
  .tline { grid-template-columns: 1fr 1fr; }
  .voices__grid { grid-template-columns: 1fr; }
  .voice img { aspect-ratio: 16 / 11; }
  .desk { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  body { font-size: 16px; }
  .sched, .majors, .scholar, .voices, .notice, .contacts, .why, .apply { padding: 68px 0; }
  .dday__clock li { min-width: 0; flex: 1; }
  .dday__clock b { font-size: 26px; }
  .quick a { font-size: 14px; padding: 18px 4px; }
  .tline { grid-template-columns: 1fr; }
  .tline li { padding-right: 0; }
  .mlist { grid-template-columns: 1fr; }
  .tickets, .desk { grid-template-columns: 1fr; }
  .why__list li { grid-template-columns: 44px 1fr; }
  .aform__row { grid-template-columns: 1fr; }
  .nums li { padding-left: 16px; }
}
