/* =========================================================
   명지대학교 테크노아트대학원 AI 이커머스 학과
   ========================================================= */
:root {
  --blue: #0068f0;
  --sky: #009de8;
  --sky-dark: #0080c6;
  --violet: #453fe8;
  --ink: #1a1a1a;
  --text: #4a4a4a;
  --muted: #aaaaaa;
  --dark: #00070a;
  --dark-2: #1a1a1a;
  --dark-3: #2d2d2d;
  --gray-bg: #f5f5f5;
  --beige: #f6f6ef;
  --red: #dc5050;
  --green: #228b22;
  --container: 1340px;
  --container-narrow: 1168px;
  --header-h: 80px;
  --radius: 10px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: 20px; }
.container--narrow { max-width: calc(var(--container-narrow) + 40px); }
.container--mid { max-width: 1200px; }
.text-blue { color: var(--blue); }
.text-sky { color: var(--sky); }
.center { text-align: center; }
.br-pc { display: inline; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
  padding-inline: 50px;
}
.site-logo img { width: 200px; height: auto; }
.gnb { margin-left: auto; }
.gnb ul { display: flex; gap: 40px; }
.gnb a { font-size: 16px; font-weight: 500; color: #000; transition: color .2s; white-space: nowrap; }
.gnb a:hover,
.gnb a[aria-current="page"] { color: var(--violet); }

.menu-toggle {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  position: relative;
  flex-shrink: 0;
}
.menu-toggle span {
  position: absolute;
  right: 2px;
  height: 3px;
  background: #000;
  border-radius: 2px;
  transition: transform .3s, width .3s, opacity .3s;
}
.menu-toggle span:nth-child(1) { top: 11px; width: 32px; }
.menu-toggle span:nth-child(2) { top: 21px; width: 22px; }

/* Full-screen menu */
.fullmenu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--violet);
  color: #fff;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.fullmenu.is-open { opacity: 1; visibility: visible; }
.fullmenu__top {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 50px;
}
.fullmenu__top img { width: 200px; background: #fff; border-radius: 6px; padding: 4px 8px; }
.fullmenu__close {
  width: 40px; height: 40px; border: 0; background: transparent; position: relative;
}
.fullmenu__close::before,
.fullmenu__close::after {
  content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 3px; background: #fff; border-radius: 2px;
}
.fullmenu__close::before { transform: rotate(45deg); }
.fullmenu__close::after { transform: rotate(-45deg); }
.fullmenu nav { flex: 1; display: flex; align-items: center; padding-inline: 10vw; }
.fullmenu nav ul { display: flex; flex-direction: column; gap: 18px; }
.fullmenu nav a {
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 700;
  opacity: .75;
  transition: opacity .2s, padding-left .25s;
}
.fullmenu nav a:hover,
.fullmenu nav a[aria-current="page"] { opacity: 1; padding-left: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 28px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid transparent;
  transition: transform .2s, box-shadow .2s, background-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--white { background: #fff; color: var(--sky); }
.btn--white-blue { background: #fff; color: var(--blue); }
.btn--dark { background: var(--dark-3); color: #fff; }
.btn--outline { border-color: #fff; color: #fff; background: transparent; }
.btn--outline:hover { background: #fff; color: var(--sky); }

/* ---------- Video background ---------- */
.video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  container-type: size;
  background-size: cover;
  background-position: center;
}
.video-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100cqw, 177.78cqh);
  height: max(56.25cqw, 100cqh);
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}
.video-bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, var(--dim, .4)); }

/* ---------- Section commons ---------- */
.section { padding-block: 120px; }
.section-title { font-size: 38px; font-weight: 700; line-height: 1.35; }
.section-desc { font-size: 21px; margin-top: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: #000; color: #fff; padding: 40px 50px 30px; }
.site-footer__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.site-footer__name { font-size: 21px; font-weight: 700; margin-bottom: 18px; }
.site-footer__addr { font-size: 15px; font-weight: 300; opacity: .9; line-height: 1.7; }
.site-footer__links { display: flex; gap: 8px; margin-top: 12px; font-size: 14px; font-weight: 300; opacity: .8; }
.site-footer__sns { display: flex; gap: 14px; }
.site-footer__sns a {
  width: 40px; height: 40px; display: grid; place-items: center; color: #8a8a8a; transition: color .2s;
}
.site-footer__sns a:hover { color: #fff; }
.site-footer__sns svg { width: 34px; height: 34px; }
.site-footer__copy { text-align: right; font-size: 13px; font-weight: 300; opacity: .8; margin-top: 26px; }

/* ---------- CTA band (sub pages) ---------- */
.cta-band {
  background: linear-gradient(135deg, #00a3ee 0%, #0083c6 100%);
  color: #fff;
  text-align: center;
  padding-block: 90px;
}
.cta-band--blue { background: var(--blue); padding-block: 70px; }
.cta-band h2 { font-size: 36px; font-weight: 700; }
.cta-band--blue h2 { font-size: 28px; }
.cta-band p { font-size: 16px; margin-top: 14px; }
.cta-band__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.cta-band__btns .btn { min-width: 134px; }

/* ---------- Sub hero ---------- */
.sub-hero {
  position: relative;
  min-height: 400px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background: url("../img/sub-hero.jpg") center / cover no-repeat;
  padding: 60px 20px;
}
.sub-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.sub-hero > * { position: relative; }
.sub-hero h1 { font-size: 42px; font-weight: 800; }
.sub-hero p { font-size: 20px; margin-top: 16px; line-height: 1.6; }

/* ---------- Lab ops (shared by story & lab) ---------- */
.lab-ops { padding-block: 80px 60px; text-align: center; }
.lab-ops h2 { font-size: 32px; font-weight: 700; color: var(--ink); }
.lab-ops > .container > p { font-size: 16px; color: var(--text); margin-top: 20px; }
.lab-ops__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1160px; margin: 50px auto 0; }
.lab-ops__card { background: var(--gray-bg); border-radius: 5px; padding: 36px 28px; }
.lab-ops__card h3 { font-size: 20px; font-weight: 600; color: var(--sky); line-height: 1.5; }
.lab-ops__card p { font-size: 15px; color: var(--text); margin-top: 12px; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Video modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 300; background: rgba(0, 0, 0, .85);
  display: grid; place-items: center; padding: 20px;
}
.modal[hidden] { display: none; }
.modal__box { width: min(1280px, 100%); aspect-ratio: 16 / 9; position: relative; }
.modal__box iframe { width: 100%; height: 100%; border: 0; }
.modal__close {
  position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border: 0; background: transparent;
}
.modal__close::before,
.modal__close::after { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 3px; background: #fff; }
.modal__close::before { transform: rotate(45deg); }
.modal__close::after { transform: rotate(-45deg); }

/* =========================================================
   HOME
   ========================================================= */
.hero {
  position: relative;
  min-height: 1010px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: #003261;
  padding: 100px 20px;
}
.hero .video-bg { background-image: url("../img/hero-poster.jpg"); }
.hero__inner { position: relative; width: 100%; max-width: 1160px; }
.hero__title { font-size: 48px; font-weight: 800; line-height: 1.3; }
.hero__title small { display: block; font-size: 36px; font-weight: 700; margin-top: 4px; }
.hero__spacer { height: 380px; }
.hero__lead { font-size: 24px; }
.hero__lead b { color: var(--blue); }
.hero__text { font-size: 16px; margin-top: 24px; line-height: 1.75; }
.hero__cta { width: 100%; margin-top: 36px; min-height: 54px; font-size: 21px; }

.home-why { background: var(--dark-2); color: #fff; padding-block: 90px 130px; text-align: center; }
.home-why .section-desc { line-height: 1.75; }
.feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 1160px; margin: 60px auto 0; text-align: left;
}
.feature-card {
  display: block; background: #2a2a2a; border-radius: var(--radius); padding: 24px; transition: transform .25s, background-color .25s;
}
.feature-card:hover { transform: translateY(-4px); background: #313131; }
.feature-card__img { height: 160px; border-radius: 6px; background: #3c3c3c center / cover no-repeat; }
.feature-card h3 { font-size: 18px; font-weight: 600; margin-top: 18px; }
.feature-card p { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.7; }
.feature-card .more { display: inline-block; font-size: 12px; font-weight: 600; margin-top: 12px; }

.home-skills { background: var(--gray-bg); padding-block: 90px 130px; text-align: center; }
.home-skills .section-title { font-size: 30px; }
.home-skills .section-desc { color: var(--text); line-height: 1.5; margin-top: 18px; }
.skill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1160px; margin: 50px auto 0; }
.skill-card { background: #fff; border-radius: var(--radius); padding: 32px 24px 40px; box-shadow: 0 2px 10px rgba(0, 0, 0, .04); }
.skill-card img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 0 auto; }
.skill-card h3 { font-size: 27px; font-weight: 600; margin-top: 14px; }
.skill-card p { font-size: 20px; color: var(--text); margin-top: 16px; line-height: 1.55; }

.home-interview {
  position: relative; display: grid; place-items: center; min-height: 540px; color: #fff; text-align: center; background: #7a7a7a;
}
.home-interview .video-bg { --dim: .5; }
.home-interview__inner { position: relative; }
.home-interview h2 { font-size: 31px; font-weight: 700; }
.home-interview p { font-size: 20px; margin-top: 8px; }
.home-interview .btn { margin-top: 28px; }

.home-recruit { background: var(--blue); color: #fff; padding-block: 90px 80px; text-align: center; }
.home-recruit h2 { font-size: 36px; font-weight: 700; }
.recruit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 1120px; margin: 60px auto 0; text-align: left; }
.recruit-card { display: block; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 40px 72px; transition: transform .25s; }
a.recruit-card:hover { transform: translateY(-4px); }
.recruit-card h3 { font-size: 26px; font-weight: 700; }
.recruit-card .big { font-size: 23px; font-weight: 600; margin-top: 12px; }
.recruit-card .note { font-size: 16px; font-weight: 500; color: #ff6b6b; margin-top: 22px; }
.recruit-card .mail { font-size: 18px; font-weight: 500; color: var(--text); margin-top: 10px; }
.home-recruit .btn { margin-top: 50px; min-width: 244px; min-height: 64px; font-size: 20px; font-weight: 700; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-top { background: #000409; color: #fff; padding-block: 40px 0; }
.about-top__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1168 / 400; }
.about-top__photo img { width: 100%; height: 100%; object-fit: cover; }
.about-motto { background: #000409; color: #fff; text-align: center; padding-block: 190px 110px; }
.about-motto h1 { font-size: 37px; font-weight: 700; color: #dedede; }
.about-motto p { font-size: 24px; margin-top: 60px; }

.letter { padding-block: 80px; color: var(--text); font-size: 23px; line-height: 1.55; }
.letter h2 { font-size: 37px; font-weight: 700; color: var(--ink); text-align: center; margin-bottom: 90px; }
.letter p + p { margin-top: 1.6em; }
.letter .lead { font-size: 27px; font-weight: 700; }
.letter strong { font-weight: 700; }
.letter .emph { color: var(--blue); font-weight: 700; }
.letter .quote { color: var(--blue); font-weight: 700; font-style: italic; text-decoration: underline; }
.letter .sign { margin-top: 3em; }

.quote-band { background: var(--blue); color: #fff; text-align: center; padding-block: 70px; font-size: 29px; font-weight: 700; line-height: 1.45; }

.transform-band {
  position: relative; color: #fff; text-align: center; padding-block: 70px; font-size: 24px; line-height: 1.45;
  background: url("../img/about-students-bg.jpg") center / cover no-repeat;
}
.transform-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 40, 60, .45), rgba(0, 60, 90, .55)); mix-blend-mode: multiply; }
.transform-band::after { content: ""; position: absolute; inset: 0; background: rgba(0, 120, 170, .35); }
.transform-band > * { position: relative; z-index: 1; }
.transform-band p + p { margin-top: 1.1em; }

.overview { padding-block: 40px 60px; }
.overview > .container > h2 { font-size: 36px; font-weight: 700; }
.overview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.overview-card__img { aspect-ratio: 320 / 256; overflow: hidden; }
.overview-card__img img { width: 100%; height: 100%; object-fit: cover; }
.overview-card h3 { font-size: 26px; font-weight: 600; color: #1f1f1f; margin-top: 22px; line-height: 1.3; }
.overview-card .sub { font-size: 23px; color: #545454; margin-top: 2px; }
.overview-card p { font-size: 23px; font-weight: 300; color: #000; margin-top: 20px; line-height: 1.5; }

.faculty { padding-block: 60px 120px; text-align: center; }
.faculty h2 { font-size: 36px; font-weight: 700; }
.faculty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 70px 40px; max-width: 1000px; margin: 80px auto 0; }
.prof img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; margin: 0 auto; background: #eee; }
.prof h3 { font-size: 27px; font-weight: 600; margin-top: 22px; }
.prof .subject { font-size: 24px; font-weight: 500; color: var(--sky); margin-top: 4px; }
.prof .career { font-size: 21px; color: var(--text); margin-top: 4px; }

.campus { padding-block: 40px 30px; }
.campus h2 { font-size: 36px; font-weight: 700; }
.campus__map { margin-top: 24px; border-radius: var(--radius); overflow: hidden; height: 500px; background: #e9eef2; }
.campus__map iframe { width: 100%; height: 100%; border: 0; }
.campus__info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px; }
.campus__info h3 { font-size: 22px; font-weight: 700; }
.campus__info p { font-size: 16px; font-weight: 300; margin-top: 16px; }
.campus__info a { color: var(--sky); text-decoration: underline; }

/* =========================================================
   WHY
   ========================================================= */
.why-dark { background: var(--dark); color: #fff; text-align: center; }
.why-intro { min-height: 1059px; padding-block: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 140px; }
.why-intro .eyebrow { font-size: 23px; font-weight: 600; letter-spacing: .08em; opacity: .8; }
.why-intro h1 { font-size: 61px; font-weight: 800; line-height: 1.3; margin-top: 60px; }
.why-intro ul { font-size: 28px; line-height: 1.55; opacity: .9; }
.why-statement { min-height: 700px; display: flex; align-items: center; justify-content: center; padding: 80px 20px; }
.why-statement h2 { font-size: 61px; font-weight: 800; line-height: 1.35; }
.why-statement--italic h2 { font-size: 45px; font-weight: 700; font-style: italic; opacity: .8; }
.why-statement--sm h2 { font-size: 56px; }

.why-video { background: #fff; padding-inline: 40px; }
.why-video__btn {
  display: block; width: 100%; max-width: 1320px; margin: 0 auto; aspect-ratio: 1320 / 600; border: 0; padding: 0; position: relative;
  background: #111 center / cover no-repeat;
}
.why-video__btn::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 88px; height: 62px; transform: translate(-50%, -50%);
  border-radius: 16px; background: #f00 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 36px no-repeat;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35); transition: transform .2s;
}
.why-video__btn:hover::after { transform: translate(-50%, -50%) scale(1.1); }

.why-beige { background: var(--beige); }
.why-pillars { padding-block: 100px; text-align: center; font-size: 36px; line-height: 1.35; }
.why-pillars li + li { margin-top: 50px; }
.why-pillars b { display: block; font-weight: 700; }

.tracks { padding-block: 100px 110px; }
.tracks h2 { font-size: 36px; font-weight: 700; }
.tracks > .container > p { font-size: 21px; font-weight: 300; margin-top: 22px; line-height: 1.6; }
.track-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 80px; }
.track-card { position: relative; padding-bottom: 80px; }
.track-card img { width: 100%; aspect-ratio: 433 / 390; object-fit: cover; }
.track-card__box {
  position: absolute; left: 44px; right: 0; bottom: 0; background: #fff; padding: 28px 32px; min-height: 160px;
}
.track-card h3 { font-size: 22px; font-weight: 700; }
.track-card p { font-size: 17px; font-weight: 300; margin-top: 14px; line-height: 1.6; }

.steps { background: #000409; padding-block: 80px; }
.step {
  display: grid; grid-template-columns: 42% 1fr; background: #fff; border-radius: var(--radius); overflow: hidden;
  max-width: 1136px; margin: 0 auto;
}
.step + .step { margin-top: 40px; }
.step__img { min-height: 100%; }
.step__img img { width: 100%; height: 100%; object-fit: cover; }
.step__body { padding: 36px 40px; color: var(--text); }
.step__body h3 { font-size: 30px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.step__body .course { font-size: 28px; font-weight: 600; color: var(--sky); margin-top: 6px; }
.step__body blockquote {
  margin: 22px 0 0; padding: 12px 24px; background: #eef6fc; border-left: 4px solid var(--sky); border-radius: 4px;
  font-size: 25px; font-weight: 500; font-style: italic; color: #0080b3;
}
.step__body h4 { font-size: 30px; font-weight: 600; margin-top: 22px; }
.step__body ul { margin-top: 6px; }
.step__body li { font-size: 23px; font-weight: 300; padding-left: 18px; position: relative; line-height: 1.5; }
.step__body li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
.step__box { margin-top: 18px; padding: 14px 24px; border-radius: 6px; font-size: 23px; font-weight: 300; line-height: 1.45; }
.step__box strong { display: block; font-size: 30px; font-weight: 700; }
.step__box--problem { background: #fdeceb; }
.step__box--problem strong { color: var(--red); }
.step__box--answer { background: #eafbef; }
.step__box--answer strong { color: var(--green); }

/* =========================================================
   NOTICE (입학안내)
   ========================================================= */
.recruit-summary { padding-block: 70px; }
.recruit-summary__grid { display: grid; grid-template-columns: 580px 1fr; gap: 50px; align-items: center; max-width: 1160px; margin: 0 auto; }
.recruit-summary__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 580 / 400; }
.recruit-summary__img img { width: 100%; height: 100%; object-fit: cover; }
.recruit-summary h1 { font-size: 28px; font-weight: 700; }
.recruit-summary dl { margin: 20px 0 0; color: var(--text); font-size: 22px; line-height: 1.6; }
.recruit-summary dl div + div { margin-top: 24px; }
.recruit-summary dt { display: inline; font-weight: 700; font-size: 23px; }
.recruit-summary dt::after { content: ": "; font-weight: 400; }
.recruit-summary dd { display: inline; margin: 0; }

.faq-block { padding-block: 40px 0; }
.faq-block > .container > h2 { font-size: 36px; font-weight: 700; }
.faq-row { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: 60px; margin-top: 20px; }
.faq-row + .faq-row { margin-top: 0; }
.faq-row__img { position: relative; min-height: 400px; }
.faq-row__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.faq-list { padding-block: 10px; }
.faq-item { padding-block: 30px; border-bottom: 1px solid #e8e8e8; }
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 { font-size: 22px; font-weight: 600; line-height: 1.4; }
.faq-item h3 span { margin-right: 6px; }
.faq-item__a { padding-left: 34px; margin-top: 18px; font-size: 17px; font-weight: 300; color: #232425; line-height: 1.7; }
.faq-item__a h4 { font-size: 19px; font-weight: 700; color: #000; }
.faq-item__a h4 + * { margin-top: 2px; }
.faq-item__a * + h4 { margin-top: 22px; }
.faq-item__a .dots { list-style: disc; padding-left: 26px; }
.faq-item__a .dots li + li { margin-top: 4px; }
.faq-item__a strong { font-weight: 800; }
.faq-item__a p + p { margin-top: 10px; }

.compare { overflow-x: auto; margin-top: 4px; }
.compare table { border-collapse: collapse; min-width: 480px; font-size: 16px; text-align: left; }
.compare th,
.compare td { border: 1px solid #ddd; padding: 10px 12px; vertical-align: middle; }
.compare thead th { background: #f7f7f7; font-weight: 700; color: #000; }
.compare tbody th { font-weight: 700; color: #000; white-space: nowrap; }
.compare .stars { color: #f5b400; letter-spacing: 1px; font-size: 18px; display: block; line-height: 1.2; }
.compare small { font-size: 14px; font-weight: 600; color: #000; }

.admission-banner {
  background: linear-gradient(135deg, #00a3ee 0%, #0083c6 100%);
  color: #fff; text-align: center; padding-block: 90px; margin-top: 0;
}
.admission-banner h2 { font-size: 32px; font-weight: 700; }
.admission-banner p { font-size: 20px; margin-top: 18px; line-height: 1.55; }
.admission-banner .btn { margin-top: 34px; min-width: 180px; font-size: 20px; }

/* =========================================================
   CURRICULUM (교육과정)
   ========================================================= */
.cur-top { background: var(--dark); color: #fff; padding-block: 90px 140px; }
.cur-top__intro { font-size: 20px; font-weight: 600; }
.cur-top h1 { font-size: 28px; font-weight: 700; margin-top: 16px; line-height: 1.45; }
.cur-top .desc { font-size: 17px; font-weight: 300; margin-top: 30px; line-height: 1.7; }
.course-row { display: grid; grid-template-columns: 1fr 1fr; background: #fff; color: #000; margin-top: 30px; }
.course-row:first-of-type { margin-top: 70px; }
.course-row__img { aspect-ratio: 670 / 402; }
.course-row__img img { width: 100%; height: 100%; object-fit: cover; }
.course-row__body { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; }
.course-row__num {
  width: 28px; height: 28px; border-radius: 50%; background: #5b7f91; color: #fff; font-size: 15px; font-weight: 700; display: grid; place-items: center;
}
.course-row h2 { font-size: 30px; font-weight: 700; margin-top: 10px; }
.course-row .goal { font-size: 20px; font-weight: 600; color: var(--blue); margin-top: 12px; }
.course-row ul { font-size: 19px; font-weight: 300; margin-top: 18px; line-height: 1.6; }

.subjects { padding-block: 90px 20px; text-align: center; }
.subjects + .subjects { padding-block: 110px 90px; }
.subjects h2 { font-size: 32px; font-weight: 700; }
.subjects .sub { font-size: 20px; font-weight: 300; color: var(--text); margin-top: 6px; }
.subject-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1116px; margin: 50px auto 0; text-align: left; }
.subject-card { background: var(--gray-bg); border-radius: var(--radius); overflow: hidden; }
.subject-card img { width: 100%; height: 200px; object-fit: cover; }
.subject-card__body { padding: 22px 24px 30px; }
.subject-card h3 { font-size: 18px; font-weight: 600; line-height: 1.45; }
.subject-card h3 small { font-size: 13px; font-weight: 400; color: #444; }
.subject-card p { font-size: 16px; font-weight: 300; color: var(--text); margin-top: 8px; line-height: 1.7; }

/* =========================================================
   STORY (학과이야기) / LAB
   ========================================================= */
/* 블로그 목록 */
.blog { padding-block: 80px 100px; }
.blog__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.blog__head h2 { font-size: 36px; font-weight: 700; }
.blog__head p { font-size: 17px; font-weight: 300; color: var(--text); margin-top: 10px; }
.blog__write[hidden] { display: none; }
.blog__status { margin-top: 40px; font-size: 16px; color: var(--text); }
.blog__status.is-error { color: var(--red); }
.blog__status[hidden] { display: none; }
.blog-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; margin-top: 50px; }
.blog-card { animation: blog-in .6s ease both; }
.blog-card a { display: flex; flex-direction: column; height: 100%; }
.blog-card__thumb { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--gray-bg); }
.blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card__thumb.is-empty { background: linear-gradient(135deg, #00a3ee 0%, var(--blue) 100%); }
.blog-card a:hover img { transform: scale(1.04); }
.blog-card__body { padding-top: 18px; }
.blog-card time { font-size: 14px; font-weight: 600; color: var(--sky); }
.blog-card h3 { font-size: 21px; font-weight: 700; line-height: 1.4; margin-top: 6px; }
.blog-card a:hover h3 { color: var(--blue); }
.blog-card p {
  font-size: 15px; font-weight: 300; color: var(--text); margin-top: 8px; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
@keyframes blog-in { from { opacity: 0; transform: translateY(20px); } }
@media (prefers-reduced-motion: reduce) { .blog-card { animation: none; } }

/* 블로그 글 보기 */
.container--post { max-width: 860px; }
.post, .writer { padding-block: 60px 100px; }
.post__back { display: inline-block; font-size: 15px; color: var(--text); }
.post__back:hover { color: var(--blue); }
.post__head { margin-top: 30px; padding-bottom: 30px; border-bottom: 1px solid #e8e8e8; }
.post__head time { font-size: 16px; font-weight: 600; color: var(--sky); }
.post__head h1 { font-size: 38px; font-weight: 700; line-height: 1.35; margin-top: 10px; }
.post__admin { display: flex; gap: 8px; margin-top: 20px; }
.post__admin .btn { min-height: 40px; padding: 6px 20px; font-size: 15px; }
.post__head[hidden], .post__cover[hidden], .post__body[hidden], .post__admin[hidden] { display: none; }
.post__cover { margin: 40px 0 0; border-radius: var(--radius); overflow: hidden; }
.post__cover img { width: 100%; }
.post__body { margin-top: 40px; font-size: 17px; font-weight: 300; line-height: 1.85; color: #333; }
.post__body > * + * { margin-top: 1em; }
.post__body h2 { font-size: 26px; font-weight: 700; color: var(--ink); margin-top: 1.8em; line-height: 1.4; }
.post__body h3 { font-size: 21px; font-weight: 600; color: var(--ink); margin-top: 1.5em; line-height: 1.4; }
.post__body h4 { font-size: 18px; font-weight: 600; color: var(--ink); margin-top: 1.4em; }
.post__body strong, .post__body b { font-weight: 700; }
.post__body ul { list-style: disc; padding-left: 1.4em; }
.post__body ol { padding-left: 1.4em; }
.post__body li + li { margin-top: .3em; }
.post__body a { color: var(--blue); text-decoration: underline; }
.post__body img { margin-inline: auto; border-radius: 6px; }
.post__body blockquote { margin-inline: 0; padding: 14px 20px; background: #f2f8fe; border-left: 4px solid var(--sky); border-radius: 6px; }
.post__body hr { border: 0; border-top: 1px solid #e8e8e8; }
.btn--line { background: #fff; border-color: #d6d6d6; color: var(--ink); }

/* 블로그 글쓰기 (관리자) */
.writer__title { font-size: 32px; font-weight: 700; margin-top: 24px; }
.writer [hidden] { display: none !important; }
.writer input[type="text"], .writer input[type="email"], .writer input[type="password"], .writer input[type="date"], .writer textarea {
  display: block; width: 100%; margin-top: 8px; padding: 12px 14px; border: 1px solid #d6d6d6; border-radius: 6px;
  font: inherit; font-size: 16px; color: var(--ink); background: #fff;
}
.writer input:focus, .writer textarea:focus, .editor__area:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: transparent; }
.writer-login { max-width: 420px; margin-top: 36px; padding: 36px 32px; background: var(--gray-bg); border-radius: var(--radius); display: grid; gap: 16px; }
.writer-login h2 { font-size: 22px; font-weight: 700; }
.writer-login p { font-size: 15px; color: var(--text); }
.writer-login label { font-size: 15px; font-weight: 600; }
.writer-login__link { border: 0; background: none; padding: 0; font-size: 14px; color: var(--text); text-decoration: underline; justify-self: start; }
.writer-form { margin-top: 30px; display: grid; gap: 28px; }
.writer-form__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: var(--gray-bg); border-radius: 6px; font-size: 14px; }
.writer-field { display: block; font-size: 15px; font-weight: 600; }
.writer-field small { font-weight: 400; color: var(--muted); }
.writer-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; }
.writer-cover { display: flex; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.writer-cover img { width: 160px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.writer-cover__btns { display: flex; gap: 8px; }
.writer-cover .btn, .writer-form__actions .btn { min-height: 44px; padding: 8px 22px; font-size: 15px; }
.writer-cover label.btn { cursor: pointer; }
.editor { margin-top: 8px; border: 1px solid #d6d6d6; border-radius: 6px; font-weight: 400; }
.editor__toolbar { position: sticky; top: var(--header-h); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 8px; background: #fafafa; border-bottom: 1px solid #e8e8e8; border-radius: 6px 6px 0 0; }
.editor__toolbar button, .editor__img { min-width: 36px; height: 34px; padding: 0 10px; border: 1px solid transparent; border-radius: 4px; background: none; font-size: 14px; color: var(--ink); display: inline-flex; align-items: center; cursor: pointer; }
.editor__toolbar button:hover, .editor__img:hover { background: #fff; border-color: #d6d6d6; }
.editor__img { font-weight: 600; color: var(--blue); }
.editor__sep { width: 1px; height: 20px; background: #ddd; margin-inline: 4px; }
.editor__area { min-height: 420px; margin-top: 0; padding: 24px; border-radius: 0 0 6px 6px; }
.editor__area:empty::before { content: "내용을 입력하세요. 사진은 툴바의 '사진' 버튼으로 넣을 수 있습니다."; color: var(--muted); }
.writer-form__actions { display: flex; justify-content: flex-end; gap: 10px; }

.lab-book { padding-block: 40px 60px; }
.lab-book h2 { font-size: 22px; font-weight: 700; }
.lab-book > .container > p { font-size: 17px; font-weight: 300; margin-top: 30px; }
.lab-book__grid { display: grid; grid-template-columns: minmax(0, 640px) 1fr; gap: 60px; align-items: center; margin-top: 50px; }
.lab-book__grid ul { font-size: 17px; font-weight: 300; color: var(--text); line-height: 1.9; }

/* ---------- 404 ---------- */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 100px; }
.not-found__code { font-size: 96px; font-weight: 800; color: var(--blue); line-height: 1; }
.not-found h1 { font-size: 30px; font-weight: 700; margin-top: 20px; }
.not-found p:not(.not-found__code) { font-size: 17px; color: var(--text); margin-top: 12px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1280px) {
  .gnb ul { gap: 26px; }
  .site-header__inner { padding-inline: 30px; }
  .recruit-summary__grid { grid-template-columns: 1fr 1fr; }
  .blog-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview-card p, .overview-card .sub { font-size: 19px; }
  .overview-card h3 { font-size: 23px; }
}

@media (max-width: 1100px) {
  .gnb { display: none; }
  .menu-toggle { margin-left: auto; }
  .step__body blockquote, .step__body li, .step__box { font-size: 19px; }
  .step__body h3, .step__body h4, .step__box strong { font-size: 24px; }
  .step__body .course { font-size: 22px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .site-header__inner, .fullmenu__top { padding-inline: 20px; }
  .site-logo img, .fullmenu__top img { width: 150px; }
  .br-pc { display: none; }

  .hero { min-height: 100svh; padding-block: 80px; }
  .hero__title { font-size: 36px; }
  .hero__title small { font-size: 27px; }
  .hero__spacer { height: 45vh; }
  .hero__lead { font-size: 20px; }
  .hero__cta { font-size: 18px; }

  .section-title { font-size: 30px; }
  .section-desc { font-size: 17px; }
  .home-why, .home-skills { padding-block: 70px 80px; }
  .feature-grid, .skill-grid, .recruit-grid { grid-template-columns: 1fr; }
  .home-skills .section-title { font-size: 26px; }
  .skill-card h3 { font-size: 23px; }
  .skill-card p { font-size: 17px; }
  .home-interview { min-height: 360px; }
  .home-interview h2 { font-size: 26px; }
  .home-interview p { font-size: 16px; padding-inline: 20px; }
  .home-recruit h2 { font-size: 28px; }
  .recruit-card { padding: 30px 28px; }
  .recruit-card h3 { font-size: 22px; }
  .recruit-card .big { font-size: 19px; }

  .about-motto { padding-block: 100px 80px; }
  .about-motto h1 { font-size: 28px; }
  .about-motto p { font-size: 18px; margin-top: 30px; }
  .about-top__photo { aspect-ratio: 4 / 3; }
  .letter { font-size: 17px; padding-block: 60px; }
  .letter .lead { font-size: 20px; }
  .letter h2 { font-size: 28px; margin-bottom: 50px; }
  .quote-band { font-size: 21px; padding-block: 50px; }
  .transform-band { font-size: 18px; }
  .overview-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }
  .overview > .container > h2, .faculty h2, .campus h2 { font-size: 28px; }
  .overview-card h3 { font-size: 20px; }
  .overview-card .sub { font-size: 16px; }
  .overview-card p { font-size: 15px; margin-top: 12px; }
  .faculty-grid { grid-template-columns: repeat(2, 1fr); gap: 50px 20px; margin-top: 50px; }
  .prof img { width: 140px; height: 140px; }
  .prof h3 { font-size: 20px; }
  .prof .subject { font-size: 16px; }
  .prof .career { font-size: 15px; }
  .campus__map { height: 340px; }
  .campus__info { grid-template-columns: 1fr; gap: 20px; }

  .why-intro { min-height: 0; padding-block: 100px; gap: 80px; }
  .why-intro .eyebrow { font-size: 16px; }
  .why-intro h1 { font-size: 34px; margin-top: 30px; }
  .why-intro ul { font-size: 19px; }
  .why-statement { min-height: 420px; }
  .why-statement h2, .why-statement--sm h2 { font-size: 32px; }
  .why-statement--italic h2 { font-size: 28px; }
  .why-video { padding-inline: 0; }
  .why-video__btn { aspect-ratio: 16 / 9; }
  .why-pillars { font-size: 20px; padding-block: 70px; }
  .why-pillars li + li { margin-top: 30px; }
  .tracks { padding-block: 70px; }
  .tracks h2 { font-size: 26px; }
  .tracks > .container > p { font-size: 16px; }
  .track-grid { grid-template-columns: 1fr; gap: 30px; margin-top: 40px; }
  .step { grid-template-columns: 1fr; }
  .step__img { aspect-ratio: 16 / 10; }
  .step__body { padding: 26px 22px; }
  .step__body h3, .step__body h4, .step__box strong { font-size: 21px; }
  .step__body .course { font-size: 19px; }
  .step__body blockquote, .step__body li, .step__box { font-size: 16px; }

  .recruit-summary__grid, .faq-row, .lab-book__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .recruit-summary h1 { font-size: 24px; }
  .recruit-summary dl { font-size: 17px; }
  .recruit-summary dt { font-size: 17px; }
  .admission-banner h2 { font-size: 24px; }
  .admission-banner p { font-size: 16px; }
  .faq-block > .container > h2 { font-size: 26px; margin-top: 30px; }
  .faq-row__img { min-height: 0; aspect-ratio: 4 / 3; }
  .faq-row + .faq-row { margin-top: 20px; }
  .faq-item h3 { font-size: 19px; }
  .faq-item__a { padding-left: 0; font-size: 15px; }
  .faq-item__a h4 { font-size: 16px; }

  .cur-top { padding-block: 60px 80px; }
  .cur-top h1 { font-size: 22px; }
  .course-row { grid-template-columns: 1fr; }
  .course-row h2 { font-size: 24px; }
  .course-row .goal { font-size: 16px; }
  .course-row ul { font-size: 16px; }
  .subjects h2 { font-size: 26px; }
  .subjects .sub { font-size: 16px; }
  .subject-grid, .lab-ops__grid { grid-template-columns: 1fr; }

  .sub-hero { min-height: 300px; }
  .sub-hero h1 { font-size: 30px; }
  .sub-hero p { font-size: 16px; }
  .lab-ops h2 { font-size: 24px; }
  .blog { padding-block: 50px 70px; }
  .blog__head h2 { font-size: 26px; }
  .blog-list { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 32px; }
  .post__head h1 { font-size: 28px; }
  .post__body { font-size: 16px; }
  .post__body h2 { font-size: 22px; }
  .writer__title { font-size: 26px; }
  .writer-row { grid-template-columns: minmax(0, 1fr); }
  .editor__area { min-height: 320px; padding: 18px; }
  .cta-band { padding-block: 60px; }
  .cta-band h2 { font-size: 24px; }

  .site-footer { padding: 36px 20px 26px; }
  .site-footer__row { flex-direction: column; align-items: flex-start; }
  .site-footer__copy { text-align: left; }
}
