@font-face {
  font-family: "Ajou";
  src: url("./AjouTTF.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #04172f;
  --navy-900: #071f3d;
  --gold: #bc9347;
  --paper: #f7f4ef;
  --ink: #17233a;
  --muted: #657083;
  --line: rgba(20, 38, 66, 0.12);
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(4, 23, 47, 0.13);
  --max: 1180px;
  --font-gothic: "Pretendard", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Ajou", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.skip {
  position: absolute;
  left: -999px;
  top: auto;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 23, 47, 0.86);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(var(--max), calc(100% - 48px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}

.brand img {
  width: 164px;
  height: auto;
}

.brand-suffix {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.38);
  color: var(--white);
  font-family: var(--font-gothic);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-gothic);
  font-size: 15px;
}

.nav-links a {
  white-space: nowrap;
}

/* ============================================
   BUTTONS
   ============================================ */

.nav-cta,
.btn,
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 700;
}

.nav-cta,
.btn.gold,
.submit-btn {
  background: var(--gold);
  color: var(--navy-950);
}

.btn.navy {
  background: var(--navy-900);
  color: var(--white);
}

.btn.line {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
}

.btn.light-line {
  color: var(--navy-900);
  border-color: rgba(7, 31, 61, 0.18);
  background: rgba(255, 255, 255, 0.55);
}

/* ============================================
   QUICK LINKS (floating)
   ============================================ */

.quick-links {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(4, 23, 47, 0.24);
  font-family: var(--font-gothic);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.quick-link--inquiry {
  background: var(--white);
  color: var(--navy-900);
  border: 1px solid rgba(4, 23, 47, 0.1);
}

.quick-link--apply {
  background: var(--gold);
  color: var(--navy-950);
}

/* ============================================
   SHARED SECTION ELEMENTS
   ============================================ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}

.section-title {
  margin: 16px 0 0;
  color: var(--navy-900);
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.12;
  font-weight: 800;
}

.section-title em,
.accent {
  color: var(--gold);
  font-style: normal;
}

.section-copy {
  margin: 18px 0 0;
  color: var(--muted);
  font-family: var(--font-gothic);
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
}

.section {
  padding: 120px 0;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* ============================================
   HERO
   ============================================ */

.hero-a {
  padding: 118px 0 48px;
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(4, 23, 47, 0.98), rgba(7, 31, 61, 0.94) 47%, rgba(7, 31, 61, 0.72)),
    radial-gradient(circle at 78% 24%, rgba(188, 147, 71, 0.22), transparent 34%),
    var(--navy-950);
}

.hero-a-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.75fr);
  gap: 64px;
  align-items: center;
}

.hero-a-grid > *,
.split > * {
  min-width: 0;
}

.hero-title {
  margin: 20px 0 0;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--white);
  word-break: keep-all;
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.hero-title-text {
  display: inline-block;
}

.hero-title .kick {
  display: inline-block;
  margin-left: 0.08em;
  font-size: 2.2em;
  font-weight: 900;
  font-style: italic;
  line-height: 0.9;
  color: var(--gold);
  letter-spacing: -0.04em;
}

.hero-copy {
  width: min(620px, 100%);
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-gothic);
  font-size: 18px;
  line-height: 1.8;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-video-card,
.video-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.hero-video-card iframe,
.video-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.stat {
  padding: 28px 34px 0 0;
}

.stat strong {
  display: block;
  color: var(--gold);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================
   FEATURE GRID (Strength)
   ============================================ */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 52px;
  background: var(--white);
  border: 1px solid var(--line);
}

.feature-card {
  min-height: 236px;
  padding: 34px;
  border-right: 1px solid var(--line);
}

.feature-card:last-child {
  border-right: 0;
}

.feature-card small {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.feature-card h3 {
  margin: 22px 0 12px;
  color: var(--navy-900);
  font-size: 25px;
  line-height: 1.35;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

/* ============================================
   DARK SECTION (Majors / Videos)
   ============================================ */

.dark-section {
  color: var(--white);
  background: var(--navy-950);
}

.dark-section .section-title {
  color: var(--white);
}

.dark-section .section-copy {
  color: rgba(255, 255, 255, 0.72);
}

/* ============================================
   MAJOR GRID
   ============================================ */

.major-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-top: 44px;
}

.major-chip {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.84);
  text-align: center;
  font-size: 15px;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.major-chip:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

/* ============================================
   ADMISSION (split layout + table)
   ============================================ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.admission-table {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.admission-row {
  display: grid;
  grid-template-columns: 154px 1fr;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
}

.admission-row:last-child {
  border-bottom: 0;
}

.admission-row b,
.admission-row span {
  display: flex;
  align-items: center;
  padding: 18px 22px;
  line-height: 1.5;
}

.admission-row b {
  color: var(--navy-900);
  background: #faf9f6;
}

.admission-row span {
  color: #3d4758;
}

/* ============================================
   VIDEO GRID
   ============================================ */

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.video-card {
  background: var(--white);
  box-shadow: none;
  border-color: rgba(7, 31, 61, 0.12);
}

.video-card h3 {
  margin: 0;
  padding: 18px 20px 20px;
  color: var(--navy-900);
  font-size: 18px;
  line-height: 1.42;
}

.video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(135deg, rgba(7, 31, 61, 0.04) 0 14px, rgba(7, 31, 61, 0) 14px 28px),
    #efece6;
  color: var(--muted);
  font-family: var(--font-gothic);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

/* ============================================
   INQUIRY FORM
   ============================================ */

.form-panel {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 48px;
  background: var(--white);
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--navy-900);
  font-family: var(--font-gothic);
  font-size: 14px;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(7, 31, 61, 0.16);
  border-radius: 0;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-gothic);
}

.form-field textarea {
  min-height: 116px;
  resize: vertical;
}

.privacy {
  grid-column: 1 / -1;
  padding: 18px;
  color: #5e6573;
  background: #f7f5f1;
  font-family: var(--font-gothic);
  font-size: 13px;
  line-height: 1.7;
  word-break: keep-all;
}

.privacy strong {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--navy-900);
}

.check-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #333c4d;
  font-size: 14px;
  line-height: 1.55;
}

.submit-btn {
  grid-column: 1 / -1;
  width: 100%;
  border: 0;
  background: var(--navy-900);
  color: var(--white);
}

.submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  padding: 60px 0 40px;
  color: rgba(255, 255, 255, 0.7);
  background: var(--navy-950);
  font-family: var(--font-gothic);
  font-size: 13px;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}

.footer-brand img {
  width: 164px;
  height: auto;
}

.footer-brand-suffix {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.38);
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer-sns {
  list-style: none;
  margin: 6px 0 4px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.footer-sns a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
}

.footer-sns a:hover {
  color: var(--gold);
}

.sns-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--white);
  flex-shrink: 0;
}

.sns-icon svg {
  width: 16px;
  height: 16px;
}

.sns-youtube { background: #ff0000; }
.sns-blog    { background: #03c75a; }
.sns-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.sns-facebook { background: #1877f2; }

.footer-address {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.footer-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  font-size: 14px;
}

.footer-contacts li {
  color: rgba(255, 255, 255, 0.78);
}

.footer-contacts a {
  color: var(--gold);
  font-weight: 600;
}

.footer-contacts a:hover {
  color: #d8b06e;
}

.footer-contacts .qna-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.footer-contacts .qna-link:hover {
  color: var(--gold);
}

.footer-copyright {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* ============================================
   BOARD PAGE (입학문의 게시판)
   ============================================ */

.board-page {
  padding: 140px 0 100px;
  background: var(--paper);
}

.board-head {
  text-align: left;
  margin-bottom: 56px;
}

.board-title {
  margin: 18px 0 0;
  color: var(--navy-900);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.board-copy {
  margin: 16px 0 0;
  color: var(--muted);
  font-family: var(--font-gothic);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
}

.board-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.board-stats {
  font-family: var(--font-gothic);
  color: var(--muted);
  font-size: 14px;
}

.board-stats strong {
  color: var(--navy-900);
  font-weight: 800;
}

.board-search {
  display: inline-flex;
  align-items: stretch;
  gap: 6px;
}

.board-search select,
.board-search input {
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(7, 31, 61, 0.18);
  background: var(--white);
  font-family: var(--font-gothic);
  font-size: 14px;
  color: var(--ink);
}

.board-search input {
  width: 240px;
}

.board-search-btn {
  height: 42px;
  padding: 0 22px;
  border: 0;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border-radius: var(--radius);
}

.board-search-btn:hover {
  background: var(--navy-950);
}

.board-table-wrap {
  overflow-x: auto;
}

.board-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--navy-900);
  font-family: var(--font-gothic);
  font-size: 14px;
  background: var(--white);
}

.board-table th,
.board-table td {
  padding: 16px 14px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.board-table th {
  color: var(--navy-900);
  font-weight: 800;
  background: #faf8f3;
  border-bottom: 1px solid rgba(7, 31, 61, 0.18);
}

.board-table .col-num     { width: 88px; }
.board-table .col-author  { width: 110px; }
.board-table .col-date    { width: 120px; }
.board-table .col-view    { width: 72px; }
.board-table .col-status  { width: 110px; }

.board-row td {
  color: var(--ink);
}

.board-row:hover {
  background: #fbfaf6;
}

.board-row--notice {
  background: #fbf7eb;
}

.board-row--notice:hover {
  background: #f7f0db;
}

.board-subject {
  text-align: left !important;
}

.board-subject a {
  color: var(--navy-900);
  font-weight: 600;
}

.board-subject a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.comment-count {
  color: var(--gold);
  font-weight: 700;
  margin-left: 6px;
  font-size: 13px;
}

.lock-icon {
  display: inline-block;
  margin-right: 6px;
  color: var(--muted);
  font-size: 13px;
  vertical-align: middle;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-gothic);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.badge-notice {
  background: var(--gold);
  color: var(--white);
}

.badge-done {
  background: rgba(7, 31, 61, 0.08);
  color: var(--navy-900);
}

.badge-wait {
  background: rgba(188, 147, 71, 0.18);
  color: #8a6b32;
}

.board-bottom {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.board-write {
  min-height: 46px;
  padding: 0 28px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 50px;
}

.pagination .page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-gothic);
  font-size: 14px;
}

.pagination .page:hover {
  border-color: var(--navy-900);
  color: var(--navy-900);
}

.pagination .page.is-active {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
  font-weight: 700;
}

.pagination .page-prev,
.pagination .page-next {
  font-size: 18px;
  color: var(--muted);
}

/* ============================================
   BOARD - VIEW (글 상세)
   ============================================ */

.board-page--view .board-head,
.board-page--write .board-head {
  margin-bottom: 36px;
}

.post-view {
  background: var(--white);
  border-top: 2px solid var(--navy-900);
  border-bottom: 1px solid var(--line);
}

.post-head {
  padding: 28px 32px 24px;
  border-bottom: 1px solid var(--line);
}

.post-head-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.post-title {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.35;
  word-break: keep-all;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin: 16px 0 0;
  padding: 0;
  font-family: var(--font-gothic);
  font-size: 13px;
}

.post-meta div {
  display: flex;
  gap: 8px;
}

.post-meta dt {
  color: var(--muted);
}

.post-meta dd {
  margin: 0;
  color: var(--navy-900);
  font-weight: 600;
}

.post-body {
  padding: 36px 32px;
  color: var(--ink);
  font-family: var(--font-gothic);
  font-size: 15px;
  line-height: 1.85;
  word-break: keep-all;
}

.post-body p {
  margin: 0 0 14px;
}

.post-body p:last-child {
  margin-bottom: 0;
}

.post-reply {
  margin: 0 32px 24px;
  padding: 24px 26px;
  background: #fbf7eb;
  border-left: 3px solid var(--gold);
}

.post-reply-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.post-reply-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-gothic);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.post-reply-date {
  font-family: var(--font-gothic);
  font-size: 13px;
  color: var(--muted);
}

.post-reply-body {
  color: var(--ink);
  font-family: var(--font-gothic);
  font-size: 14px;
  line-height: 1.85;
  word-break: keep-all;
}

.post-reply-body p {
  margin: 0 0 10px;
}

.post-reply-body p:last-child {
  margin-bottom: 0;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.post-nav-right {
  display: flex;
  gap: 8px;
}

.btn.line-soft {
  min-height: 42px;
  padding: 0 16px;
  background: var(--white);
  color: var(--navy-900);
  border-color: rgba(7, 31, 61, 0.18);
  font-size: 14px;
  font-weight: 700;
}

.btn.line-soft:hover {
  background: #faf8f3;
}

.post-nav-list {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.post-nav-row {
  display: grid;
  grid-template-columns: 110px 1fr 110px;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-gothic);
  font-size: 14px;
  align-items: center;
}

.post-nav-row:last-child {
  border-bottom: 0;
}

.post-nav-row:hover {
  background: #fbfaf6;
}

.post-nav-row-key {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.post-nav-row-title {
  color: var(--navy-900);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-nav-row:hover .post-nav-row-title {
  color: var(--gold);
}

.post-nav-row-date {
  color: var(--muted);
  text-align: right;
  font-size: 13px;
}

/* ============================================
   BOARD - WRITE (글쓰기)
   ============================================ */

.form-panel.wide {
  width: 100%;
  max-width: 880px;
}

.post-form .check-row {
  font-family: var(--font-gothic);
}

.check-row--secret {
  padding: 14px 16px;
  background: #fbf7eb;
  border-left: 3px solid var(--gold);
  color: var(--navy-900);
}

.check-row--secret strong {
  color: var(--navy-900);
  font-weight: 800;
}

.post-form-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

.submit-btn.submit-btn--auto {
  grid-column: auto;
  width: auto;
  min-width: 140px;
  padding: 0 32px;
}

@media (max-width: 720px) {
  .board-page {
    padding: 134px 0 80px;
  }

  .board-head,
  .board-page--view .board-head,
  .board-page--write .board-head {
    margin-bottom: 28px;
  }

  .board-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .board-search {
    flex-wrap: wrap;
  }

  .board-search select {
    flex: 0 0 110px;
  }

  .board-search input {
    flex: 1;
    width: auto;
    min-width: 0;
  }

  .board-table {
    font-size: 13px;
  }

  .board-table th,
  .board-table td {
    padding: 12px 8px;
  }

  .board-table .col-author,
  .board-table .col-view,
  .board-table .col-status,
  .board-table thead th:nth-child(3),
  .board-table thead th:nth-child(5),
  .board-table thead th:nth-child(6),
  .board-table tbody td:nth-child(3),
  .board-table tbody td:nth-child(5),
  .board-table tbody td:nth-child(6) {
    display: none;
  }

  .post-head,
  .post-body,
  .post-nav {
    padding-left: 20px;
    padding-right: 20px;
  }

  .post-reply {
    margin: 0 20px 20px;
    padding: 20px;
  }

  .post-nav-row {
    grid-template-columns: 70px 1fr;
    gap: 6px 14px;
    padding: 14px 18px;
  }

  .post-nav-row-date {
    display: none;
  }

  .post-form-actions {
    flex-direction: column-reverse;
  }

  .post-form-actions .btn,
  .post-form-actions .submit-btn--auto {
    width: 100%;
  }
}

/* ============================================
   SUCCESS MODAL
   ============================================ */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 23, 47, 0.82);
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px);
}

.modal-overlay.show {
  display: flex;
  animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  width: 100%;
  max-width: 480px;
  padding: 56px 40px;
  background: var(--white);
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow);
  text-align: center;
  animation: modalRise 0.3s ease;
}

@keyframes modalRise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-950);
  font-size: 32px;
  font-weight: 700;
}

.modal-title {
  margin: 0 0 12px;
  color: var(--navy-900);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
}

.modal-body {
  margin: 0 0 32px;
  color: var(--muted);
  font-family: var(--font-gothic);
  font-size: 15px;
  line-height: 1.7;
}

.modal-btn {
  min-height: 48px;
  padding: 0 32px;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.modal-btn:hover {
  background: var(--navy-950);
}

/* ============================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================ */

@media (max-width: 1024px) {
  .nav-links {
    gap: 14px;
    font-size: 13px;
  }

  /* Hero: 2열 유지, 텍스트 영역 더 크게 + 영상 작게 */
  .hero-a-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
    gap: 36px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .major-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-card:last-child {
    border-bottom: 0;
  }

  .hero-title {
    font-size: clamp(34px, 4.4vw, 50px);
  }

  .hero-title .kick {
    font-size: 2em;
  }

  .hero-copy {
    font-size: 16px;
  }
}

/* ============================================
   RESPONSIVE — MOBILE (≤ 720px)
   ============================================ */

@media (max-width: 720px) {
  /* Header: two-row layout with menu visible */
  .site-header {
    background: rgba(4, 23, 47, 0.94);
  }

  .header-inner {
    width: min(100% - 28px, var(--max));
    min-height: 0;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px 0 12px;
  }

  .brand img {
    width: 138px;
  }

  .brand-suffix {
    font-size: 17px;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    font-size: 13px;
  }

  .nav-cta {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }

  /* Container & section spacing */
  .container {
    width: min(100% - 30px, var(--max));
  }

  .section {
    padding: 80px 0;
  }

  /* Hero */
  .hero-a {
    padding: 160px 0 70px;
  }

  .hero-a-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-title {
    font-size: 36px;
    line-height: 1.18;
    overflow-wrap: anywhere;
    flex-wrap: wrap;
  }

  .hero-title .kick {
    font-size: 1.8em;
    margin-left: 0;
  }

  .hero-copy,
  .section-copy {
    font-size: 15px;
    word-break: keep-all;
  }

  .section-title {
    overflow-wrap: anywhere;
  }

  .stat-strip {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .stat {
    padding: 22px 0 0;
  }

  /* Majors */
  .major-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Admission */
  .admission-row {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .admission-row b,
  .admission-row span {
    padding: 12px 18px;
  }

  /* Videos */
  .video-grid {
    grid-template-columns: 1fr;
  }

  /* Inquiry form (메인) */
  .form-panel {
    padding: 28px 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  /* Quick links */
  .quick-links {
    right: 14px;
    bottom: 14px;
    gap: 8px;
  }

  .quick-links a {
    min-width: 112px;
    min-height: 44px;
    padding: 0 16px;
    font-size: 13px;
  }

  /* Footer */
  .site-footer {
    padding: 48px 0 32px;
  }

  .footer-brand img {
    width: 138px;
  }

  .footer-brand-suffix {
    font-size: 17px;
  }

  .footer-sns {
    gap: 12px 18px;
  }

  .footer-sns a {
    font-size: 13px;
  }

  .footer-contacts {
    gap: 6px 18px;
    font-size: 13px;
  }

  /* Modal */
  .modal {
    padding: 40px 24px;
  }

  .modal-title {
    font-size: 22px;
  }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================ */

@media (max-width: 480px) {
  .header-inner {
    width: calc(100% - 24px);
  }

  .nav-links {
    gap: 8px 12px;
  }

  .container {
    width: calc(100% - 24px);
  }

  .hero-a {
    padding: 170px 0 56px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-title .kick {
    font-size: 1.7em;
  }

  .stat strong {
    font-size: 30px;
  }

  .section-title {
    font-size: clamp(26px, 7vw, 34px);
  }

  .major-grid {
    grid-template-columns: 1fr;
  }

  .video-card iframe,
  .hero-video-card iframe {
    aspect-ratio: 16 / 10;
  }

  /* Footer wraps tighter */
  .footer-brand {
    flex-wrap: wrap;
    gap: 8px;
  }

  .footer-brand-suffix {
    padding-left: 10px;
    font-size: 15px;
  }

  /* Board pagination — show fewer page numbers */
  .pagination .page {
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    font-size: 13px;
  }
}
