/* Cafe24 이전본: Tailwind 빌드 없이도 같은 화면을 유지하는 최소 기본값 */
*, *::before, *::after { box-sizing: border-box; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; }
h1, h2, h3, p, blockquote, dl, dd, figure { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { margin: 0; color: inherit; }
button { border: 0; padding: 0; background: transparent; cursor: pointer; }
table { border-collapse: collapse; border-color: inherit; }
[hidden] { display: none !important; }

:root {
  --ink: #102d2c;
  --ink-deep: #08211f;
  --paper: #f3efe5;
  --paper-light: #faf8f2;
  --orange: #ea6c3b;
  --line: #d8d1c2;
  --muted: #65716e;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper-light);
  color: var(--ink);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.top-notice {
  height: 34px; background: var(--ink-deep); color: #e9ede9; display: flex; align-items: center;
  justify-content: center; gap: 24px; font-size: 10px; letter-spacing: .08em;
}
.top-notice span { color: #dd8b65; font-weight: 900; }
.top-notice a { font-weight: 800; }
.site-header {
  height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 clamp(24px, 5.4vw, 90px); border-bottom: 1px solid rgba(216,209,194,.9);
  background: rgba(250,248,242,.97); position: relative; z-index: 20;
}
.brand { display: flex; align-items: center; gap: 12px; width: max-content; }
.brand-symbol { width: 42px; height: 42px; object-fit: contain; flex: 0 0 auto; }
.brand-wordmark { display: flex; flex-direction: column; align-items: flex-start; font-family: Arial, Helvetica, sans-serif; font-weight: 900; letter-spacing: -.055em; overflow: visible; }
.brand-wordmark strong { display: block; color: var(--ink); font-size: 24px; line-height: .84; }
.brand-wordmark small { display: block; margin-top: 7px; padding: 0 1px 3px 0; background: linear-gradient(90deg, #ff8a00 0%, var(--orange) 48%, #ff5264 100%); background-clip: text; -webkit-background-clip: text; color: transparent; font-size: 15px; font-weight: 900; line-height: 1.08; letter-spacing: -.025em; text-transform: none; overflow: visible; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: white; font-family: Georgia, serif; font-size: 23px; flex: 0 0 auto;
}
.brand > span:not(.brand-wordmark) strong { display: block; font-family: Georgia, "Noto Serif KR", serif; font-size: 19px; letter-spacing: -.04em; }
.brand > span:not(.brand-wordmark) small { display: block; margin-top: 3px; font-size: 8px; letter-spacing: .12em; opacity: .62; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 2.2vw, 36px); font-size: 13px; font-weight: 800; }
.main-nav a { position: relative; padding: 30px 0; }
.main-nav a::after { content: ""; height: 2px; width: 0; background: var(--orange); position: absolute; left: 0; bottom: 22px; transition: width .2s; }
.main-nav a:hover::after { width: 100%; }
.account-links { justify-self: end; display: flex; align-items: center; gap: 14px; }
.admin-mini-link { font-size: 11px; color: var(--muted); font-weight: 800; }
.login-link { background: var(--ink); color: white; padding: 13px 19px; border-radius: 3px; font-size: 12px; font-weight: 900; }

.floating-contact {
  position: fixed; z-index: 60; right: clamp(17px, 2vw, 32px); top: 62%; transform: translateY(-50%);
  display: grid; gap: 12px;
}
.floating-contact-button {
  position: relative; justify-self: end; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 9px 25px rgba(8,33,31,.24); transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.floating-contact-button:hover { transform: translateY(-2px); box-shadow: 0 13px 30px rgba(8,33,31,.3); }
.floating-contact-button:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.kakao-contact {
  width: 152px; padding: 3px 18px 3px 3px; border: 1px solid rgba(8,33,31,.09); border-radius: 999px;
  grid-template-columns: 54px auto; justify-content: start; gap: 12px; background: white; color: #080808;
}
.kakao-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #fee500; }
.kakao-bubble {
  position: relative; display: block; width: 31px; height: 22px; border-radius: 50%; background: #080808;
}
.kakao-bubble::after {
  content: ""; position: absolute; left: 2px; bottom: -3px; width: 12px; height: 8px; background: #080808;
  clip-path: polygon(42% 0, 100% 0, 18% 100%, 0 78%);
}
.kakao-text { white-space: nowrap; font-size: 21px; font-weight: 900; letter-spacing: -.08em; }
.phone-contact { background: #56cf4b; color: white; }
.phone-symbol { display: block; font-size: 31px; line-height: 1; transform: rotate(-12deg); }
.floating-contact-label {
  position: absolute; right: calc(100% + 11px); top: 50%; transform: translate(5px,-50%); visibility: hidden;
  padding: 8px 10px; border-radius: 3px; background: var(--ink-deep); color: white; box-shadow: 0 5px 15px rgba(8,33,31,.18);
  white-space: nowrap; font-size: 9px; font-weight: 900; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.floating-contact-button:hover .floating-contact-label,
.floating-contact-button:focus-visible .floating-contact-label { visibility: visible; opacity: 1; transform: translate(0,-50%); }
.phone-contact.is-disabled { cursor: not-allowed; opacity: .72; }
.phone-contact.is-disabled:hover { transform: none; box-shadow: 0 9px 25px rgba(8,33,31,.24); }

.hero-carousel { height: clamp(590px, 69vh, 740px); position: relative; overflow: hidden; background: var(--ink); color: white; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide > img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.025); transition: transform 6s ease; }
.hero-slide.is-active > img { transform: scale(1); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,26,25,.86) 0%, rgba(7,30,29,.7) 33%, rgba(7,30,29,.18) 68%, rgba(7,30,29,.06) 100%); }
.hero-slide-copy { position: absolute; z-index: 2; left: clamp(28px, 8vw, 132px); top: 50%; transform: translateY(-52%); width: min(860px, 80vw); }
.hero-eyebrow { margin: 0 0 22px; color: #f59a70; font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.hero-slide-copy h1 { margin: 0; font-family: Georgia, "Noto Serif KR", serif; font-size: clamp(42px, 4.4vw, 70px); line-height: 1.18; letter-spacing: -.055em; font-weight: 500; word-break: keep-all; }
.hero-title-line { display: block; white-space: nowrap; }
.hero-slide-copy > p:not(.hero-eyebrow) { max-width: 570px; margin: 27px 0 0; font-size: 16px; line-height: 1.8; color: rgba(255,255,255,.78); word-break: keep-all; }
.carousel-action { display: inline-flex; align-items: center; justify-content: space-between; min-width: 202px; margin-top: 36px; padding: 16px 19px; border: 1px solid rgba(255,255,255,.65); color: white; font-size: 12px; font-weight: 900; transition: .2s; }
.carousel-action:hover { background: var(--orange); border-color: var(--orange); }
.carousel-action span { margin-left: 30px; font-size: 17px; }
.carousel-controls { position: absolute; z-index: 3; left: clamp(28px, 8vw, 132px); bottom: 44px; display: flex; align-items: center; gap: 14px; }
.carousel-controls > button { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.28); background: rgba(4,22,21,.2); color: white; cursor: pointer; }
.carousel-dots { display: flex; align-items: center; gap: 6px; margin: 0 6px; }
.carousel-dots button { width: 24px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: .25s; }
.carousel-dots button.is-active { width: 48px; background: var(--orange); }
.carousel-controls .pause-control { width: auto; padding: 0 10px; font-size: 9px; letter-spacing: .08em; }
.slide-counter { position: absolute; z-index: 3; right: clamp(28px, 5vw, 84px); bottom: 42px; margin: 0; font: 12px Georgia, serif; letter-spacing: .1em; }
.slide-counter strong { color: var(--orange); font-size: 26px; }

.fact-strip { display: grid; grid-template-columns: repeat(4,1fr); padding: 31px clamp(26px, 7vw, 114px); background: var(--paper); border-bottom: 1px solid var(--line); }
.fact-strip div { display: flex; justify-content: center; align-items: baseline; gap: 15px; border-right: 1px solid var(--line); }
.fact-strip div:last-child { border: 0; }
.fact-strip strong { font: 600 23px Georgia, serif; }
.fact-strip span { font-size: 11px; color: var(--muted); }

.section { padding: 120px clamp(28px, 7vw, 116px); }
.section-heading { display: grid; grid-template-columns: .8fr 1.2fr 1fr; align-items: end; gap: 42px; margin-bottom: 60px; }
.section-heading > p, .section-heading div > p, .method-intro > p, .resources-copy > p, .location-copy > p:first-child, .consult-heading > p, .portal-title p, .admin-heading p {
  margin: 0; color: var(--orange); font-size: 10px; font-weight: 900; letter-spacing: .2em;
}
.section-heading h2, .method-intro h2, .resources-copy h2, .location-copy h2, .consult-heading h2 {
  margin: 0; font: 500 clamp(32px, 3.3vw, 50px)/1.3 Georgia, "Noto Serif KR", serif; letter-spacing: -.045em; word-break: keep-all;
}
.section-heading > span, .section-heading.horizontal > span, .consult-heading > span { color: var(--muted); font-size: 14px; line-height: 1.9; word-break: keep-all; }
.program-section { background: var(--paper-light); }
.program-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--ink); }
.program-card { min-height: 365px; padding: 32px 34px; border-right: 1px solid var(--line); position: relative; display: block; cursor: pointer; transition: background .25s, color .25s, transform .2s; }
.program-card:last-child { border-right: 0; }
.program-card:hover { background: var(--ink); color: white; }
.program-card:focus-visible { z-index: 1; outline: 3px solid var(--orange); outline-offset: -3px; }
.program-card > div { display: flex; justify-content: space-between; align-items: center; }
.program-card > div span { font: italic 32px Georgia, serif; color: var(--orange); }
.program-card > div small { font-size: 9px; letter-spacing: .18em; opacity: .55; }
.program-card h3 { margin: 65px 0 20px; font: 500 28px Georgia, "Noto Serif KR", serif; letter-spacing: -.04em; }
.program-card p { margin: 0; max-width: 320px; color: var(--muted); font-size: 14px; line-height: 1.9; word-break: keep-all; }
.program-card:hover p { color: rgba(255,255,255,.68); }
.program-card > strong { position: absolute; left: 34px; bottom: 34px; font-size: 11px; letter-spacing: .05em; }
.program-detail-link { position: absolute; right: 34px; bottom: 33px; color: var(--orange); font-size: 10px; font-weight: 900; }
.program-card:hover .program-detail-link { color: #f49a74; }

.method-section { background: var(--ink-deep); color: white; padding: 120px clamp(28px, 8vw, 130px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 11vw; }
.method-intro h2 { margin-top: 30px; }
.method-intro blockquote { margin: 80px 0 0; padding-left: 22px; border-left: 2px solid var(--orange); font: italic 18px/1.7 Georgia, "Noto Serif KR", serif; color: #bdc9c6; }
.method-list { list-style: none; margin: 0; padding: 0; }
.method-list li { display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.16); }
.method-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.method-list > li > span { font: italic 21px Georgia, serif; color: var(--orange); }
.method-list strong { display: block; font-size: 18px; margin-bottom: 9px; }
.method-list p { margin: 0; color: #aebbb8; font-size: 13px; line-height: 1.75; }

.teacher-section { background: var(--paper); }
.section-heading.horizontal { grid-template-columns: 1.25fr .75fr; align-items: end; }
.section-heading.horizontal h2 { margin-top: 22px; }
.teacher-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.teacher-card { background: var(--paper-light); border: 1px solid var(--line); }
.teacher-portrait { height: auto; aspect-ratio: 4 / 4.65; position: relative; overflow: hidden; background: #dfe7df; }
.teacher-portrait > img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .45s ease; }
.teacher-card:hover .teacher-portrait > img { transform: scale(1.025); }
.teacher-portrait small { position: absolute; z-index: 1; left: 18px; top: 18px; padding: 7px 8px; background: rgba(8,33,31,.72); color: white; font-size: 7px; line-height: 1.5; letter-spacing: .16em; }
.teacher-portrait.tone-2 { background: #e8dece; }
.teacher-portrait.tone-3 { background: #d7dedf; }
.teacher-copy { padding: 28px; }
.teacher-copy > p { margin: 0; color: var(--orange); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.teacher-copy h3 { margin: 9px 0 26px; font: 500 23px Georgia, "Noto Serif KR", serif; }
.teacher-copy blockquote { min-height: 53px; margin: 0 0 25px; font-size: 13px; line-height: 1.75; color: #455754; word-break: keep-all; }
.teacher-copy > span { display: block; padding-top: 18px; border-top: 1px solid var(--line); font-size: 10px; color: var(--muted); }

.resources-section { padding: 120px clamp(28px, 8vw, 132px); background: var(--orange); color: white; display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; align-items: center; }
.resources-copy > p { color: var(--ink-deep); }
.resources-copy h2 { margin-top: 28px; }
.resources-copy > span { display: block; margin-top: 26px; font-size: 14px; line-height: 1.9; color: rgba(255,255,255,.8); }
.resources-actions { display: flex; align-items: center; gap: 22px; margin-top: 36px; }
.light-button { display: flex; justify-content: space-between; min-width: 210px; padding: 16px 20px; background: white; color: var(--ink); font-size: 12px; font-weight: 900; }
.signout-link { font-size: 11px; text-decoration: underline; }
.resources-preview { display: block; background: var(--paper-light); color: var(--ink); padding: 26px 30px 20px; position: relative; box-shadow: 18px 20px 0 rgba(8,33,31,.14); }
.folder-tab { position: absolute; left: 0; top: -28px; width: 130px; height: 28px; padding: 9px 16px; background: var(--paper-light); font-size: 8px; letter-spacing: .14em; }
.resources-preview article { display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.resources-preview article > span { font-size: 9px; color: var(--orange); font-weight: 900; }
.resources-preview article strong { font-size: 13px; }
.resources-preview article small { color: var(--muted); font-size: 9px; }
.resources-preview > p { margin: 18px 0 0; text-align: right; color: var(--muted); font-size: 9px; }

.location-section { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 590px; background: var(--paper-light); }
.location-map { position: relative; overflow: hidden; min-height: 540px; background: #dfe5dc; }
.naver-map-canvas { position: absolute; inset: 0; }
.naver-map-surface { width: 100%; height: 100%; }
.naver-map-loading, .naver-map-error { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; gap: 7px; padding: 30px; background: #e6e0d3; color: var(--ink); text-align: center; font-size: 11px; }
.naver-map-error span { color: var(--muted); }
.naver-map-badge { position: absolute; z-index: 3; left: 24px; top: 24px; display: grid; gap: 5px; width: min(270px, calc(100% - 48px)); padding: 16px 18px; background: rgba(250,248,242,.96); border: 1px solid rgba(16,45,44,.16); box-shadow: 0 10px 30px rgba(8,33,31,.15); pointer-events: none; }
.naver-map-badge small { width: max-content; padding: 4px 7px; background: var(--orange); color: white; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.naver-map-badge strong { margin-top: 3px; font: 600 18px Georgia, "Noto Serif KR", serif; }
.naver-map-badge span { color: var(--muted); font-size: 10px; }
.location-copy { padding: 100px clamp(30px, 6vw, 100px); background: var(--paper); }
.location-copy h2 { margin-top: 27px; }
.location-copy dl { margin: 48px 0 0; }
.location-copy dl div { display: grid; grid-template-columns: 55px 1fr; padding: 17px 0; border-top: 1px solid var(--line); font-size: 12px; }
.location-copy dl div:last-child { border-bottom: 1px solid var(--line); }
.location-copy dt { font-weight: 900; }
.location-copy dd { margin: 0; color: var(--muted); }
.location-address-link { display: inline-flex; align-items: center; gap: 7px; border-bottom: 1px solid rgba(101,113,110,.45); transition: color .2s, border-color .2s; }
.location-address-link:hover { color: var(--orange); border-color: var(--orange); }
.location-address-link span { color: #03a84d; font-size: 11px; font-weight: 900; }
.fictional-address { display: inline-flex; margin: 7px 0 0; padding: 4px 7px; background: rgba(234,108,59,.1); color: var(--orange); font-size: 8px; font-weight: 900; letter-spacing: .06em; }
.location-note { margin-top: 20px; font-size: 9px; color: #8a928f; }

.consult-section { padding: 115px clamp(28px, 8vw, 132px); display: grid; grid-template-columns: .85fr 1.15fr; gap: 9vw; background: var(--paper-light); }
.consult-heading h2 { margin-top: 28px; }
.consult-heading > span { display: block; margin-top: 24px; }
.consult-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.consult-form label, .post-form label { display: flex; flex-direction: column; gap: 9px; }
.consult-form label > span, .post-form label > span { font-size: 10px; font-weight: 900; }
.consult-form label small, .post-form label small { font-weight: 400; color: var(--muted); }
.consult-form input, .consult-form select, .consult-form textarea, .post-form input, .post-form select, .post-form textarea, .access-card input {
  width: 100%; border: 0; border-bottom: 1px solid #aeb6b2; border-radius: 0; background: transparent; color: var(--ink); padding: 12px 2px; outline: none; font-size: 13px;
}
.consult-form input:focus, .consult-form select:focus, .consult-form textarea:focus, .post-form input:focus, .post-form select:focus, .post-form textarea:focus { border-color: var(--orange); }
.consult-form textarea { min-height: 92px; resize: vertical; }
.wide-field { grid-column: 1 / -1; }
.consult-form > button { grid-column: 1 / -1; display: flex; justify-content: space-between; border: 0; background: var(--ink); color: white; padding: 17px 20px; font-size: 12px; font-weight: 900; cursor: pointer; }
.consult-form > button:disabled { opacity: .6; }
.form-message { grid-column: 1 / -1; margin: -8px 0 0; font-size: 11px; color: #2e7651; }
.form-message.error { color: #b53f2d; }

footer { padding: 52px clamp(28px, 7vw, 116px); background: var(--ink-deep); color: white; display: grid; grid-template-columns: .7fr 1fr 1.2fr; align-items: center; gap: 50px; }
.footer-brand .brand-mark { background: var(--orange); }
.footer-brand .brand-wordmark strong { color: #f7f4ec; }
footer > div p, footer > p { margin: 5px 0; font-size: 10px; color: #9aa9a5; line-height: 1.6; }
.demo-notice { text-align: right; }

/* Public detail pages */
.sub-hero { height: 570px; position: relative; overflow: hidden; background: var(--ink-deep); color: white; }
.sub-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.sub-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,27,25,.88) 0%, rgba(6,29,27,.64) 44%, rgba(6,29,27,.1) 76%); }
.sub-hero-copy { position: absolute; left: clamp(28px, 8vw, 132px); top: 50%; transform: translateY(-50%); z-index: 1; }
.sub-hero-copy > p, .routine-intro > p, .schedule-copy > p, .diagnosis-copy > p, .faq-heading > p, .detail-heading.centered > p {
  margin: 0 0 24px; color: #f29269; font-size: 10px; font-weight: 900; letter-spacing: .2em;
}
.sub-hero-copy h1 { margin: 0; font: 500 clamp(42px, 5vw, 70px)/1.22 Georgia, "Noto Serif KR", serif; letter-spacing: -.055em; word-break: keep-all; }
.sub-hero-copy > span { display: block; margin-top: 28px; color: rgba(255,255,255,.76); font-size: 14px; line-height: 1.9; word-break: keep-all; }
.admission-hero > img { object-position: center 38%; }
.page-anchor-nav { height: 70px; display: flex; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 74px); border-bottom: 1px solid var(--line); background: var(--paper-light); }
.page-anchor-nav a { position: relative; font-size: 11px; font-weight: 900; }
.page-anchor-nav a::before { content: ""; position: absolute; left: -14px; top: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); opacity: 0; }
.page-anchor-nav a:hover::before { opacity: 1; }
.detail-section { padding: 115px clamp(28px, 7vw, 116px); scroll-margin-top: 0; }
.detail-kicker { display: flex; align-items: center; gap: 16px; margin-bottom: 27px; }
.detail-kicker span { color: var(--orange); font: italic 24px Georgia, serif; }
.detail-kicker p { margin: 0; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.detail-heading { display: grid; grid-template-columns: .8fr 1.2fr; align-items: end; gap: 8vw; margin-bottom: 54px; }
.detail-heading h2 { margin: 0; font: 500 clamp(35px, 4vw, 54px)/1.25 Georgia, "Noto Serif KR", serif; letter-spacing: -.045em; }
.detail-heading > p { max-width: 710px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.95; word-break: keep-all; }
.course-detail-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--ink); }
.course-detail-card { min-height: 455px; padding: 32px 32px 28px; border-right: 1px solid var(--line); background: var(--paper-light); display: flex; flex-direction: column; }
.course-detail-card:last-child { border-right: 0; }
.course-detail-card > div { display: flex; align-items: center; justify-content: space-between; }
.course-detail-card > div strong { color: var(--orange); font: italic 30px Georgia, serif; }
.course-detail-card > div small { color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .16em; }
.course-detail-card h3 { margin: 50px 0 18px; font: 500 23px/1.45 Georgia, "Noto Serif KR", serif; letter-spacing: -.035em; word-break: keep-all; }
.course-detail-card > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.85; word-break: keep-all; }
.course-detail-card ul { margin: 25px 0 28px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; }
.course-detail-card li { position: relative; margin: 8px 0; padding-left: 14px; font-size: 11px; font-weight: 800; }
.course-detail-card li::before { content: ""; position: absolute; left: 0; top: 5px; width: 5px; height: 5px; background: var(--orange); }
.course-detail-card > span { margin-top: auto; font-size: 10px; font-weight: 900; letter-spacing: .04em; }
.high-detail { background: var(--paper); }
.high-detail .course-detail-card { background: #f8f5ee; }
.csat-detail { background: #e5e9e1; }
.csat-detail .course-detail-card { background: #f7f5ee; }
.routine-section { padding: 120px clamp(28px, 8vw, 132px); background: var(--ink-deep); color: white; display: grid; grid-template-columns: .78fr 1.22fr; gap: 10vw; scroll-margin-top: 0; }
.routine-intro h2, .schedule-copy h2, .diagnosis-copy h2, .faq-heading h2 { margin: 0; font: 500 clamp(34px, 3.8vw, 54px)/1.28 Georgia, "Noto Serif KR", serif; letter-spacing: -.05em; word-break: keep-all; }
.routine-intro > span, .schedule-copy > span, .diagnosis-copy > span { display: block; margin-top: 26px; color: #aebbb7; font-size: 13px; line-height: 1.9; word-break: keep-all; }
.routine-list { margin: 0; padding: 0; list-style: none; }
.routine-list li { display: grid; grid-template-columns: 50px 1fr 58px; gap: 18px; align-items: start; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.15); }
.routine-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
.routine-list > li > span { color: var(--orange); font: italic 20px Georgia, serif; }
.routine-list strong { font: 500 18px Georgia, "Noto Serif KR", serif; }
.routine-list p { margin: 8px 0 0; color: #aebbb7; font-size: 11px; line-height: 1.7; }
.routine-list small { padding-top: 3px; color: #f29269; font-size: 9px; text-align: right; }
.management-section { padding: 110px clamp(28px, 7vw, 116px); background: var(--paper-light); }
.detail-heading.compact { margin-bottom: 46px; }
.management-grid { display: grid; grid-template-columns: repeat(5,1fr); border-top: 1px solid var(--ink); }
.management-grid article { min-height: 245px; padding: 27px 24px; border-right: 1px solid var(--line); }
.management-grid article:last-child { border-right: 0; }
.management-grid b { color: var(--orange); font: italic 18px Georgia, serif; }
.management-grid h3 { margin: 52px 0 15px; font: 500 19px Georgia, "Noto Serif KR", serif; }
.management-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; word-break: keep-all; }
.schedule-section { padding: 105px clamp(28px, 8vw, 132px); display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; background: var(--paper); scroll-margin-top: 0; }
.schedule-copy > p, .diagnosis-copy > p { color: var(--orange); }
.schedule-copy > span { color: var(--muted); }
.dark-button { display: flex; justify-content: space-between; width: min(260px,100%); margin-top: 30px; padding: 16px 18px; background: var(--ink); color: white; font-size: 11px; font-weight: 900; }
.schedule-table-wrap { align-self: center; }
.schedule-table { width: 100%; border-collapse: collapse; background: var(--paper-light); font-size: 11px; }
.schedule-table th, .schedule-table td { padding: 20px 15px; border: 1px solid var(--line); text-align: center; }
.schedule-table thead th { background: var(--ink); color: white; font-size: 9px; letter-spacing: .08em; }
.schedule-table tbody th { color: var(--orange); font-weight: 900; }
.schedule-table-wrap > p { margin: 11px 0 0; color: var(--muted); font-size: 9px; text-align: right; }
.detail-cta { padding: 78px clamp(28px, 8vw, 132px); display: flex; align-items: center; justify-content: space-between; gap: 40px; background: var(--orange); color: white; }
.detail-cta p { margin: 0 0 15px; color: var(--ink-deep); font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.detail-cta h2 { margin: 0; font: 500 clamp(28px, 3vw, 42px)/1.35 Georgia, "Noto Serif KR", serif; letter-spacing: -.04em; }
.detail-cta > a { min-width: 250px; padding: 17px 20px; display: flex; justify-content: space-between; border: 1px solid rgba(255,255,255,.75); font-size: 11px; font-weight: 900; }
.admission-process { padding: 115px clamp(28px, 7vw, 116px); }
.detail-heading.centered { display: block; text-align: center; margin-bottom: 60px; }
.detail-heading.centered > p { color: var(--orange); }
.detail-heading.centered > span { display: block; margin-top: 20px; color: var(--muted); font-size: 13px; }
.admission-steps { display: grid; grid-template-columns: repeat(5,1fr); margin: 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.admission-steps li { min-height: 285px; padding: 27px 24px; border-right: 1px solid var(--line); }
.admission-steps li:last-child { border-right: 0; }
.admission-steps b { color: var(--orange); font: italic 21px Georgia, serif; }
.admission-steps h3 { margin: 52px 0 16px; font: 500 21px Georgia, "Noto Serif KR", serif; }
.admission-steps p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; word-break: keep-all; }
.diagnosis-section { padding: 110px clamp(28px, 8vw, 132px); display: grid; grid-template-columns: .75fr 1.25fr; gap: 9vw; background: var(--ink-deep); color: white; }
.diagnosis-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.2); }
.diagnosis-grid article { min-height: 190px; padding: 27px; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.diagnosis-grid article:nth-child(2n) { border-right: 0; }
.diagnosis-grid b { color: var(--orange); font-size: 8px; letter-spacing: .13em; }
.diagnosis-grid h3 { margin: 38px 0 11px; font: 500 20px Georgia, "Noto Serif KR", serif; }
.diagnosis-grid p { margin: 0; color: #aebbb7; font-size: 11px; line-height: 1.7; }
.placement-standard { padding: 110px clamp(28px, 7vw, 116px); background: var(--paper); }
.standard-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--ink); }
.standard-grid article { padding: 30px 28px; border-right: 1px solid var(--line); }
.standard-grid article:last-child { border-right: 0; }
.standard-grid strong { font: 500 19px Georgia, "Noto Serif KR", serif; }
.standard-grid p { margin: 14px 0 0; color: var(--muted); font-size: 11px; line-height: 1.75; }
.placement-note { margin: 24px 0 0; color: var(--muted); font-size: 10px; }
.faq-section { padding: 115px clamp(28px, 8vw, 132px); display: grid; grid-template-columns: .68fr 1.32fr; gap: 9vw; background: var(--paper-light); }
.faq-heading > p { color: var(--orange); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: grid; grid-template-columns: 45px 1fr 24px; align-items: center; padding: 23px 5px; list-style: none; cursor: pointer; font-size: 13px; font-weight: 900; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { color: var(--orange); font: italic 16px Georgia, serif; }
.faq-list summary > b { font-size: 18px; font-weight: 400; transition: transform .2s; }
.faq-list details[open] summary > b { transform: rotate(45deg); }
.faq-list details > p { margin: -4px 34px 23px 50px; color: var(--muted); font-size: 12px; line-height: 1.85; word-break: keep-all; }

/* Member board */
.portal-page, .admin-page { min-height: 100vh; background: #f5f2ea; }
.portal-header { height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 5vw, 76px); background: white; border-bottom: 1px solid var(--line); }
.portal-header nav { display: flex; gap: 24px; font-size: 11px; font-weight: 800; }
.portal-title { padding: 64px clamp(24px, 6vw, 96px) 46px; display: flex; align-items: flex-end; justify-content: space-between; border-bottom: 1px solid var(--line); }
.portal-title h1, .admin-heading h1 { margin: 14px 0 10px; font: 500 clamp(38px, 4.5vw, 62px) Georgia, "Noto Serif KR", serif; letter-spacing: -.05em; }
.portal-title > div > span { font-size: 12px; color: var(--muted); }
.member-chip { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: white; border: 1px solid var(--line); max-width: 290px; }
.member-chip > b { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: white; }
.member-chip span { overflow: hidden; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.member-chip small { display: block; color: var(--orange); font-size: 8px; margin-bottom: 4px; }
.board-layout { display: grid; grid-template-columns: minmax(430px,.9fr) minmax(460px,1.1fr); min-height: 620px; }
.board-list-panel { border-right: 1px solid var(--line); }
.board-tools { padding: 24px clamp(22px, 4vw, 58px); background: var(--paper); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.category-tabs { display: flex; gap: 4px; }
.category-tabs button { border: 0; background: transparent; padding: 8px 10px; color: var(--muted); font-size: 10px; font-weight: 800; cursor: pointer; }
.category-tabs button.active { background: var(--ink); color: white; }
.search-box { display: flex; align-items: center; width: 135px; border-bottom: 1px solid #9ca8a4; }
.search-box input { min-width: 0; width: 100%; border: 0; background: transparent; padding: 8px 0; outline: none; font-size: 10px; }
.post-list { padding: 0 clamp(22px, 4vw, 58px); }
.post-row { width: 100%; display: grid; grid-template-columns: 66px 1fr 74px; align-items: center; gap: 14px; text-align: left; padding: 24px 8px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.post-row:hover, .post-row.active { background: white; padding-left: 18px; padding-right: 18px; }
.post-category { font-size: 9px; color: var(--orange); font-weight: 900; }
.post-row-copy strong, .post-row-copy small { display: block; }
.post-row-copy strong { font-size: 13px; }
.post-row-copy small { margin-top: 7px; color: var(--muted); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-meta { text-align: right; color: var(--muted); font-size: 9px; }
.post-meta small { display: block; margin-top: 7px; }
.post-detail { padding: 60px clamp(34px, 6vw, 94px); background: #fcfbf7; }
.post-detail-heading > p { margin: 0 0 17px; color: var(--orange); font-size: 9px; font-weight: 900; }
.post-detail-heading h2 { margin: 0 0 14px; font: 500 clamp(27px, 3vw, 40px)/1.35 Georgia, "Noto Serif KR", serif; letter-spacing: -.045em; }
.post-detail-heading > span { color: var(--muted); font-size: 9px; }
.post-summary { margin: 38px 0 0; padding: 20px 22px; background: var(--paper); font-size: 12px; font-weight: 800; line-height: 1.7; }
.post-content { margin: 35px 0; font-size: 13px; line-height: 2.05; white-space: pre-line; color: #445451; }
.attachment-card { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); background: white; }
.file-icon { width: 42px; height: 42px; display: grid; place-items: center; background: var(--ink); color: white; }
.attachment-card strong, .attachment-card span { display: block; font-size: 11px; }
.attachment-card span { margin-top: 5px; color: var(--muted); font-size: 9px; }
.attachment-card a { padding: 10px 14px; background: var(--orange); color: white; font-size: 10px; font-weight: 900; }
.detail-note { margin-top: 26px; font-size: 9px; color: var(--muted); }
.empty-state { padding: 40px 10px; color: var(--muted); font-size: 12px; text-align: center; }

/* Admin */
.admin-header { background: var(--ink-deep); color: white; border-color: rgba(255,255,255,.1); }
.admin-header .brand-mark { background: var(--orange); }
.admin-account { display: flex; align-items: center; gap: 20px; font-size: 10px; }
.admin-account > span { max-width: 180px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.admin-account small { display: block; color: #aebbb8; margin-bottom: 3px; }
.admin-account a { color: #c7d1ce; }
.admin-shell { display: grid; grid-template-columns: 230px 1fr; min-height: calc(100vh - 78px); }
.admin-sidebar { background: #e9e4d9; padding: 42px 24px; border-right: 1px solid var(--line); }
.admin-sidebar > p { margin: 0 10px 22px; font-size: 8px; letter-spacing: .2em; color: var(--muted); }
.admin-sidebar > button { width: 100%; border: 0; background: transparent; display: grid; grid-template-columns: 25px 1fr auto; text-align: left; padding: 14px 12px; color: #53615e; font-size: 11px; cursor: pointer; }
.admin-sidebar > button.active { background: var(--ink); color: white; }
.admin-sidebar > button b { font-size: 9px; font-weight: 500; }
.admin-tip { margin-top: 48px; padding: 18px; border: 1px solid #cbc3b4; }
.admin-tip strong { font-size: 10px; }
.admin-tip p { margin: 8px 0 0; font-size: 9px; color: var(--muted); line-height: 1.7; }
.admin-content { padding: 54px clamp(28px, 6vw, 86px); max-width: 1250px; width: 100%; }
.admin-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; }
.admin-heading h1 { font-size: clamp(34px, 4vw, 52px); }
.admin-heading > span { padding-bottom: 12px; font-size: 11px; color: var(--muted); }
.post-form { padding: 30px; border: 1px solid var(--line); background: white; display: grid; gap: 20px; }
.sample-fill-bar { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--paper); border-left: 3px solid var(--orange); }
.sample-fill-bar span { color: var(--muted); font-size: 10px; line-height: 1.6; }
.sample-fill-bar strong { color: var(--ink); }
.sample-fill-bar button { flex: 0 0 auto; border: 0; background: var(--ink); color: white; padding: 10px 13px; font-size: 9px; font-weight: 900; cursor: pointer; }
.form-row.compact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post-form textarea { min-height: 125px; resize: vertical; }
.file-field input { border: 1px dashed #aeb6b2; padding: 18px; }
.post-options { display: flex; align-items: center; gap: 20px; }
.post-options label { flex-direction: row; align-items: center; font-size: 10px; }
.post-options input { width: auto; }
.post-options button { margin-left: auto; border: 0; background: var(--orange); color: white; padding: 14px 20px; font-size: 11px; font-weight: 900; cursor: pointer; }
.post-options button b { margin-left: 24px; }
.admin-notice { margin: -6px 0 0; color: #2e7651; font-size: 10px; }
.managed-posts, .consult-list { margin-top: 44px; }
.subheading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.subheading h2 { margin: 0; font: 500 21px Georgia,serif; }
.subheading span { font-size: 9px; color: var(--muted); }
.managed-posts article { display: grid; grid-template-columns: 80px 1fr auto; gap: 15px; align-items: center; padding: 18px 8px; border-bottom: 1px solid var(--line); }
.managed-category { color: var(--orange); font-size: 9px; font-weight: 900; }
.managed-posts article strong, .managed-posts article small { display: block; }
.managed-posts article strong { font-size: 12px; }
.managed-posts article small { margin-top: 6px; color: var(--muted); font-size: 9px; }
.managed-posts article button { border: 0; background: transparent; color: #a34939; font-size: 9px; cursor: pointer; }
.consult-list article { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.consult-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: white; font-weight: 900; }
.consult-list article small, .consult-list article strong, .consult-list article p { display: block; }
.consult-list article small { color: var(--orange); font-size: 8px; }
.consult-list article strong { margin-top: 6px; font-size: 13px; }
.consult-list article p { margin: 5px 0; color: var(--muted); font-size: 10px; }
.consult-list article blockquote { margin: 12px 0 0; padding: 12px; background: white; font-size: 11px; }
.access-page { min-height: 100vh; display: grid; place-items: center; background: var(--paper); padding: 24px; }
.access-card { width: min(450px,100%); padding: 44px; background: white; border: 1px solid var(--line); text-align: center; }
.access-card > .brand-mark { margin: 0 auto 28px; }
.access-card > .brand-symbol { width: 50px; height: 50px; margin: 0 auto 28px; }
.access-card > p { color: var(--orange); font-size: 9px; letter-spacing: .18em; font-weight: 900; }
.access-card h1 { margin: 12px 0; font: 500 32px Georgia,serif; }
.access-card > span { display: block; color: var(--muted); font-size: 11px; line-height: 1.8; }
.access-card label { display: block; margin-top: 26px; }
.access-card > button { width: 100%; margin-top: 14px; border: 0; background: var(--ink); color: white; padding: 15px; font-size: 11px; font-weight: 900; cursor: pointer; }
.access-card > button b { margin-left: 30px; }
.access-card > small { display: block; margin-top: 12px; color: #af3c2d; }
.access-card > a { display: inline-block; margin-top: 22px; color: var(--muted); font-size: 10px; text-decoration: underline; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; padding: 0 22px; }
  .main-nav { display: none; }
  .section-heading { grid-template-columns: 1fr; align-items: start; }
  .section-heading > p { margin-bottom: -20px; }
  .program-grid { grid-template-columns: 1fr; }
  .program-card { min-height: 260px; border-right: 0; border-bottom: 1px solid var(--line); }
  .program-card h3 { margin-top: 35px; }
  .method-section, .resources-section, .consult-section { grid-template-columns: 1fr; gap: 70px; }
  .method-intro blockquote { margin-top: 45px; }
  .teacher-grid { grid-template-columns: 1fr; }
  .teacher-card { display: grid; grid-template-columns: 240px 1fr; }
  .teacher-card .teacher-portrait { height: 100%; min-height: 330px; aspect-ratio: auto; }
  .location-section { grid-template-columns: 1fr; }
  .location-map { min-height: 430px; }
  footer { grid-template-columns: 1fr; gap: 22px; }
  .demo-notice { text-align: left; }
  .board-layout { grid-template-columns: 1fr; }
  .board-list-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { display: flex; gap: 8px; padding: 14px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-sidebar > p, .admin-tip { display: none; }
  .admin-sidebar > button { width: auto; grid-template-columns: 20px auto auto; gap: 7px; }
  .detail-heading { grid-template-columns: 1fr; gap: 20px; }
  .course-detail-grid { grid-template-columns: 1fr; }
  .course-detail-card { min-height: 350px; border-right: 0; border-bottom: 1px solid var(--line); }
  .routine-section, .schedule-section, .diagnosis-section, .faq-section { grid-template-columns: 1fr; gap: 60px; }
  .management-grid, .admission-steps { grid-template-columns: repeat(2,1fr); }
  .management-grid article, .admission-steps li { border-bottom: 1px solid var(--line); }
  .standard-grid { grid-template-columns: 1fr 1fr; }
  .standard-grid article:nth-child(2) { border-right: 0; }
  .standard-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 620px) {
  .top-notice { padding: 0 14px; justify-content: space-between; gap: 8px; }
  .site-header { height: 70px; }
  .brand small { display: none; }
  .brand-wordmark small { display: block; }
  .brand-wordmark strong { font-size: 21px; }
  .brand-wordmark small { margin-top: 6px; padding-bottom: 3px; font-size: 13px; line-height: 1.08; }
  .brand-symbol { width: 36px; height: 36px; }
  .brand-mark { width: 36px; height: 36px; font-size: 19px; }
  .admin-mini-link { display: none; }
  .login-link { padding: 11px 12px; }
  .floating-contact {
    right: 14px; top: auto; bottom: calc(18px + env(safe-area-inset-bottom)); transform: none; gap: 9px;
  }
  .floating-contact-button { width: 54px; height: 54px; }
  .floating-contact-label { display: none; }
  .kakao-contact { width: 128px; padding: 3px 14px 3px 3px; grid-template-columns: 46px auto; gap: 9px; }
  .kakao-icon { width: 46px; height: 46px; }
  .kakao-bubble { width: 27px; height: 19px; }
  .kakao-text { font-size: 18px; }
  .phone-symbol { font-size: 28px; }
  .hero-carousel { height: 640px; }
  .hero-slide > img { object-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,26,25,.86), rgba(5,26,25,.42)); }
  .hero-slide-copy { left: 24px; width: calc(100% - 48px); transform: translateY(-58%); }
  .hero-slide-copy h1 { font-size: 39px; }
  .hero-title-line { white-space: normal; }
  .hero-slide-copy > p:not(.hero-eyebrow) { font-size: 13px; }
  .carousel-controls { left: 24px; bottom: 30px; gap: 7px; }
  .carousel-dots button { width: 13px; }
  .carousel-dots button.is-active { width: 28px; }
  .slide-counter { display: none; }
  .fact-strip { grid-template-columns: 1fr 1fr; padding: 14px 20px; }
  .fact-strip div { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .fact-strip div:nth-child(2) { border-right: 0; }
  .fact-strip div:nth-child(n+3) { border-bottom: 0; }
  .fact-strip strong { font-size: 19px; }
  .fact-strip span { font-size: 9px; }
  .section, .method-section, .resources-section, .consult-section { padding: 80px 22px; }
  .section-heading { margin-bottom: 42px; }
  .section-heading.horizontal { grid-template-columns: 1fr; }
  .teacher-card { grid-template-columns: 1fr; }
  .teacher-card .teacher-portrait { height: auto; min-height: 0; aspect-ratio: 4 / 4.45; }
  .resources-preview article { grid-template-columns: 62px 1fr; }
  .resources-preview article small { display: none; }
  .location-copy { padding: 75px 22px; }
  .consult-form { grid-template-columns: 1fr; }
  .consult-form label, .wide-field, .consult-form > button, .form-message { grid-column: 1; }
  .portal-header { padding: 0 18px; }
  .portal-header nav { gap: 12px; }
  .portal-header nav a:nth-child(2) { display: none; }
  .portal-title { padding: 46px 20px 35px; align-items: flex-start; gap: 22px; flex-direction: column; }
  .board-tools { align-items: stretch; flex-direction: column; }
  .search-box { width: 100%; }
  .post-list { padding: 0 16px; }
  .post-row { grid-template-columns: 55px 1fr; }
  .post-meta { display: none; }
  .post-detail { padding: 44px 22px; }
  .admin-account > span { display: none; }
  .admin-content { padding: 42px 18px; }
  .admin-heading { align-items: flex-start; flex-direction: column; }
  .form-row.compact { grid-template-columns: 1fr; }
  .post-options { flex-wrap: wrap; }
  .post-options button { width: 100%; margin-left: 0; }
  .sample-fill-bar { align-items: stretch; flex-direction: column; }
  .sample-fill-bar button { width: 100%; }
  .managed-posts article { grid-template-columns: 64px 1fr auto; }
  .access-card { padding: 34px 24px; }
  .program-detail-link { right: 22px; }
  .sub-hero { height: 540px; }
  .sub-hero > img { object-position: 62% center; }
  .sub-hero-copy { left: 22px; width: calc(100% - 44px); }
  .sub-hero-copy h1 { font-size: 38px; }
  .sub-hero-copy > span { font-size: 12px; }
  .page-anchor-nav { height: auto; padding: 18px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 25px; }
  .page-anchor-nav a { padding-left: 12px; }
  .page-anchor-nav a::before { left: 0; opacity: 1; }
  .detail-section, .management-section, .admission-process, .placement-standard, .faq-section { padding: 78px 22px; }
  .course-detail-card { min-height: 385px; padding: 28px 22px; }
  .routine-section, .schedule-section, .diagnosis-section { padding: 78px 22px; }
  .routine-list li { grid-template-columns: 38px 1fr; }
  .routine-list small { display: none; }
  .management-grid, .admission-steps, .standard-grid, .diagnosis-grid { grid-template-columns: 1fr; }
  .management-grid article, .admission-steps li, .standard-grid article, .diagnosis-grid article { border-right: 0; border-bottom: 1px solid var(--line); min-height: auto; }
  .management-grid h3, .admission-steps h3 { margin-top: 32px; }
  .standard-grid article:nth-child(2) { border-right: 0; }
  .diagnosis-grid article { border-color: rgba(255,255,255,.15); }
  .schedule-table { min-width: 600px; }
  .schedule-table-wrap { overflow-x: auto; padding-bottom: 4px; }
  .detail-cta { padding: 65px 22px; align-items: stretch; flex-direction: column; }
  .detail-cta > a { min-width: 0; }
  .faq-list details > p { margin-left: 45px; margin-right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Public news */
.home-news-section { background: #e9e4d9; }
.home-news-section .section-heading a { display: inline-block; margin-top: 10px; color: var(--orange); font-size: 11px; font-weight: 900; }
.home-news-grid { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 1fr 1fr; gap: 18px; }
.home-news-card { min-height: 190px; display: grid; grid-template-columns: 1fr; background: var(--paper-light); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.home-news-card:first-child { grid-row: 1 / 3; }
.home-news-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(8,33,31,.1); }
.home-news-card > div:not(.news-visual) { padding: 28px 30px; }
.home-news-card > div > p { margin: 0; display: flex; justify-content: space-between; gap: 20px; color: var(--orange); font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.home-news-card time { color: var(--muted); font-weight: 500; letter-spacing: 0; }
.home-news-card h3 { margin: 22px 0 13px; font: 500 22px/1.45 Georgia, "Noto Serif KR", serif; letter-spacing: -.04em; word-break: keep-all; }
.home-news-card:first-child h3 { font-size: 26px; }
.home-news-card > div > span { display: block; color: var(--muted); font-size: 12px; line-height: 1.75; word-break: keep-all; }
.home-news-card > div > b { display: block; margin-top: 25px; color: var(--ink); font-size: 8px; letter-spacing: .14em; }

.news-visual { position: relative; min-height: 480px; overflow: hidden; color: var(--ink); isolation: isolate; }
.news-visual.is-compact { min-height: 255px; }
.academy-choice-visual { padding: clamp(30px, 5vw, 60px); background: #f7f3e8; }
.academy-choice-visual::before { content: ""; position: absolute; inset: 25px; border-top: 2px solid #334d37; border-bottom: 2px solid #334d37; z-index: -1; }
.academy-choice-visual > p, .onboarding-visual > p, .exam-visual > p, .growth-visual > p, .study-visual > p { margin: 0; font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.academy-choice-visual > strong { display: block; width: 72%; margin-top: 52px; color: #5f8fd1; font: 800 clamp(35px, 5vw, 68px)/1.25 Arial, "Noto Sans KR", sans-serif; letter-spacing: -.065em; word-break: keep-all; }
.academy-choice-visual > span { display: block; width: 52%; margin-top: 28px; font-size: 15px; line-height: 1.75; word-break: keep-all; }
.academy-choice-visual.is-compact { padding: 28px 32px; }
.academy-choice-visual.is-compact::before { inset: 15px; }
.academy-choice-visual.is-compact > strong { width: 72%; margin-top: 25px; font-size: 30px; }
.academy-choice-visual.is-compact > span { margin-top: 16px; font-size: 10px; }
.choice-illustration { position: absolute; z-index: -1; right: 7%; bottom: 25px; width: 35%; height: 47%; }
.choice-person { position: absolute; bottom: 0; border: 4px solid #101a18; background: #f7f3e8; }
.choice-person::before { content: ""; position: absolute; top: -31px; left: 50%; width: 40px; height: 40px; border: 4px solid #101a18; border-radius: 50%; background: #f7f3e8; transform: translateX(-50%); }
.choice-teacher { left: 0; width: 72px; height: 105px; border-radius: 40px 40px 5px 5px; }
.choice-student { right: 4px; width: 82px; height: 76px; border-radius: 35px 35px 5px 5px; background: #5f8fd1; }
.choice-book { position: absolute; left: 51%; bottom: 8px; width: 74px; height: 50px; border: 4px solid #101a18; border-radius: 5px; background: white; transform: skew(-8deg); }
.choice-bulb { position: absolute; right: 12%; top: -26px; width: 44px; height: 54px; display: grid; place-items: center; border: 4px solid #101a18; border-radius: 50% 50% 40% 40%; background: #5f8fd1; color: #101a18; font: 900 22px Arial; }
.is-compact .choice-illustration { right: 5%; bottom: 14px; transform: scale(.72); transform-origin: right bottom; }

.onboarding-visual { padding: clamp(30px, 5vw, 55px); background: #f5f1e8; border: 2px solid #f5c847; }
.onboarding-visual::before { content: ""; position: absolute; width: 390px; height: 390px; right: -70px; top: -100px; border: 7px solid #f7cc48; border-radius: 50%; z-index: -1; }
.onboarding-visual > p { font-family: Georgia, "Noto Serif KR", serif; font-style: italic; }
.onboarding-visual > strong { display: block; margin-top: 25px; font: 900 clamp(48px, 7vw, 86px)/.98 Georgia, serif; letter-spacing: -.06em; }
.onboarding-visual > strong em { color: #d9a91d; font-style: normal; }
.onboarding-visual > b { position: absolute; right: 11%; top: 23%; padding: 8px 18px; background: #101010; color: white; font-size: 28px; transform: rotate(-10deg); }
.onboarding-cards { position: absolute; left: 7%; right: 7%; bottom: 65px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.onboarding-cards span { padding: 15px 18px; border: 1px solid #d7ad2d; background: rgba(255,255,255,.8); font-size: 14px; font-weight: 900; }
.onboarding-cards small { display: block; margin-bottom: 5px; color: #b88713; font-size: 9px; }
.onboarding-contact { position: absolute; left: 0; right: 0; bottom: 0; padding: 15px 7%; background: #f7cc48; font-size: 11px; font-weight: 900; letter-spacing: .06em; }
.onboarding-visual.is-compact { padding: 27px 30px; }
.onboarding-visual.is-compact > strong { margin-top: 18px; font-size: 42px; }
.onboarding-visual.is-compact > b { top: 28%; font-size: 18px; }
.onboarding-visual.is-compact .onboarding-cards { bottom: 43px; gap: 8px; }
.onboarding-visual.is-compact .onboarding-cards span { padding: 9px 10px; font-size: 9px; }
.onboarding-visual.is-compact .onboarding-contact { padding: 10px 7%; font-size: 8px; }

.study-visual, .exam-visual, .growth-visual { padding: clamp(34px, 6vw, 70px); }
.study-visual { background: var(--ink-deep); color: white; }
.study-visual::before { content: ""; position: absolute; width: 330px; height: 330px; right: -55px; bottom: -100px; border: 70px solid var(--orange); border-radius: 50%; opacity: .9; z-index: -1; }
.study-visual > strong, .exam-visual > strong, .growth-visual > strong { display: block; margin-top: 45px; font: 500 clamp(40px, 5vw, 66px)/1.28 Georgia, "Noto Serif KR", serif; letter-spacing: -.05em; }
.study-visual > div { position: absolute; right: 8%; bottom: 8%; display: flex; align-items: center; gap: 8px; }
.study-visual > div span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--ink); font-weight: 900; }
.study-visual > div span:nth-child(2) { background: transparent; color: white; }
.exam-visual { background: var(--orange); color: white; }
.exam-visual > div { position: absolute; left: 8%; right: 8%; bottom: 8%; display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; }
.exam-visual > div span { padding: 18px; border-top: 1px solid rgba(255,255,255,.7); font: italic 19px Georgia, serif; }
.growth-visual { background: #dfe7dc; }
.growth-visual > div { position: absolute; right: 8%; bottom: 8%; width: 36%; height: 42%; display: flex; align-items: flex-end; gap: 9px; }
.growth-visual > div i { flex: 1; background: var(--ink); }
.growth-visual > div i:nth-child(1) { height: 22%; }
.growth-visual > div i:nth-child(2) { height: 46%; }
.growth-visual > div i:nth-child(3) { height: 70%; }
.growth-visual > div i:nth-child(4) { height: 100%; background: var(--orange); }
.study-visual.is-compact, .exam-visual.is-compact, .growth-visual.is-compact { padding: 30px; }
.study-visual.is-compact > strong, .exam-visual.is-compact > strong, .growth-visual.is-compact > strong { margin-top: 26px; font-size: 32px; }

.news-popup-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(8,20,19,.65); backdrop-filter: blur(2px); }
.news-popup { width: min(470px, calc(100vw - 36px)); max-height: calc(100vh - 48px); overflow: auto; border-radius: 5px; background: white; box-shadow: 0 24px 80px rgba(0,0,0,.35); }
.news-popup-content { display: block; }
.news-popup-copy { padding: 24px 27px 26px; }
.news-popup-copy > p { margin: 0; color: var(--orange); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.news-popup-copy h2 { margin: 10px 0; font: 500 25px/1.35 Georgia, "Noto Serif KR", serif; letter-spacing: -.04em; word-break: keep-all; }
.news-popup-copy > span { display: block; color: var(--muted); font-size: 11px; line-height: 1.7; }
.news-popup-copy > b { display: block; margin-top: 18px; font-size: 10px; }
.news-popup-controls { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 12px 9px 22px; border-top: 1px solid #dedede; }
.news-popup-controls label { display: flex; align-items: center; gap: 8px; font-size: 11px; cursor: pointer; }
.news-popup-controls input { width: 16px; height: 16px; accent-color: var(--ink); }
.news-popup-controls button { border: 0; border-radius: 3px; background: var(--ink); color: white; padding: 12px 17px; font-size: 11px; font-weight: 900; cursor: pointer; }

.news-page-hero { padding: 115px clamp(28px, 8vw, 132px); display: grid; grid-template-columns: .7fr 1.3fr; background: var(--ink-deep); color: white; }
.news-page-hero > p { margin: 7px 0 0; color: var(--orange); font-size: 10px; font-weight: 900; letter-spacing: .2em; }
.news-page-hero h1 { margin: 0; font: 500 clamp(40px, 5vw, 68px)/1.25 Georgia, "Noto Serif KR", serif; letter-spacing: -.055em; }
.news-page-hero > span { grid-column: 2; margin-top: 30px; color: #aebbb8; font-size: 13px; line-height: 1.9; }
.news-featured { padding: 90px clamp(28px, 7vw, 116px); display: grid; grid-template-columns: 1fr 1fr; gap: 22px; background: var(--paper); }
.news-featured-card { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 255px; background: var(--paper-light); border: 1px solid var(--line); transition: transform .2s; }
.news-featured-card:hover { transform: translateY(-3px); }
.news-featured-card > div:not(.news-visual) { padding: 27px; }
.news-featured-card > div > p { margin: 0; color: var(--orange); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.news-featured-card h2 { margin: 26px 0 14px; font: 500 22px/1.4 Georgia, "Noto Serif KR", serif; letter-spacing: -.04em; word-break: keep-all; }
.news-featured-card > div > span { display: block; color: var(--muted); font-size: 11px; line-height: 1.7; word-break: keep-all; }
.news-featured-card > div > small { display: block; margin-top: 28px; font-size: 8px; font-weight: 900; }
.news-board-section { padding: 100px clamp(28px, 8vw, 132px) 120px; background: var(--paper-light); }
.news-board-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 42px; }
.news-board-heading p { margin: 0 0 15px; color: var(--orange); font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.news-board-heading h2 { margin: 0; font: 500 42px Georgia, "Noto Serif KR", serif; }
.news-board-heading > span { color: var(--muted); font-size: 10px; }
.news-board { border-top: 1px solid var(--ink); }
.news-board-header, .news-board-row { display: grid; grid-template-columns: 75px 115px 1fr 110px; align-items: center; gap: 15px; }
.news-board-header { padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; font-weight: 900; }
.news-board-row { min-height: 74px; padding: 14px 18px; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; }
.news-board-row:hover { background: white; padding-left: 27px; padding-right: 27px; }
.news-board-row > span:first-child { color: var(--orange); font: italic 16px Georgia, serif; }
.news-board-row > span:nth-child(2) { color: var(--muted); font-size: 9px; font-weight: 800; }
.news-board-row strong { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; word-break: keep-all; }
.news-board-row strong b { padding: 4px 6px; background: var(--orange); color: white; font-size: 7px; }
.news-board-row time { color: var(--muted); font-size: 9px; text-align: right; }

.news-article { padding: 85px clamp(28px, 8vw, 132px) 120px; background: var(--paper-light); }
.news-article-header { max-width: 900px; margin: 0 auto 55px; text-align: center; }
.news-article-header > a { display: inline-block; margin-bottom: 45px; color: var(--muted); font-size: 10px; }
.news-article-header > p { margin: 0; color: var(--orange); font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.news-article-header h1 { margin: 18px 0 20px; font: 500 clamp(35px, 4.5vw, 58px)/1.32 Georgia, "Noto Serif KR", serif; letter-spacing: -.055em; word-break: keep-all; }
.news-article-header time { color: var(--muted); font-size: 10px; }
.news-article-visual { max-width: 980px; margin: 0 auto; }
.news-article-body { max-width: 760px; margin: 0 auto; padding: 70px 0; }
.news-article-lead { margin: 0 0 58px; padding: 24px 27px; border-left: 3px solid var(--orange); background: var(--paper); font-size: 16px; font-weight: 800; line-height: 1.8; word-break: keep-all; }
.news-article-body section { margin-top: 55px; }
.news-article-body section:first-of-type { margin-top: 0; }
.news-article-body h2 { margin: 0 0 22px; font: 500 27px Georgia, "Noto Serif KR", serif; letter-spacing: -.035em; }
.news-article-body section > p { margin: 0 0 17px; color: #425451; font-size: 14px; line-height: 2; word-break: keep-all; }
.news-article-body ul { margin: 20px 0 0; padding: 23px 28px 23px 48px; background: var(--paper); }
.news-article-body li { margin: 10px 0; padding-left: 5px; font-size: 13px; line-height: 1.7; }
.news-article-body li::marker { color: var(--orange); }
.news-facts { margin: 22px 0; border-top: 1px solid var(--ink); }
.news-facts div { display: grid; grid-template-columns: 105px 1fr; padding: 17px 8px; border-bottom: 1px solid var(--line); }
.news-facts dt { font-size: 11px; font-weight: 900; }
.news-facts dd { margin: 0; color: var(--muted); font-size: 12px; }
.news-article-contact { margin-top: 70px; padding: 30px; display: grid; grid-template-columns: 1fr auto; gap: 8px 30px; background: var(--ink-deep); color: white; }
.news-article-contact p { margin: 0; color: #aebbb8; font-size: 9px; letter-spacing: .12em; }
.news-article-contact strong { font: 500 25px Georgia, serif; }
.news-article-contact a { grid-column: 2; grid-row: 1 / 3; align-self: center; padding: 13px 16px; border: 1px solid rgba(255,255,255,.4); font-size: 10px; font-weight: 900; }
.news-article-contact small { grid-column: 1 / -1; margin-top: 12px; color: #81928e; font-size: 8px; }
.news-article-nav { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.news-article-nav > a { padding: 23px 25px; }
.news-article-nav > a:last-child { text-align: right; border-left: 1px solid var(--line); }
.news-article-nav small, .news-article-nav span { display: block; }
.news-article-nav small { margin-bottom: 8px; color: var(--orange); font-size: 8px; font-weight: 900; }
.news-article-nav span { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-list-button { width: max-content; margin: 38px auto 0; display: block; padding: 15px 24px; background: var(--ink); color: white; font-size: 10px; font-weight: 900; }

@media (max-width: 1100px) {
  .news-featured-card { grid-template-columns: 1fr; }
  .news-featured-card .news-visual { min-height: 230px; }
}

@media (max-width: 980px) {
  .home-news-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .home-news-card:first-child { grid-row: auto; }
  .news-page-hero { grid-template-columns: 1fr; gap: 25px; }
  .news-page-hero > span { grid-column: 1; margin-top: 0; }
  .news-featured { grid-template-columns: 1fr; }
  .news-featured-card { grid-template-columns: .85fr 1.15fr; }
  .news-board-header, .news-board-row { grid-template-columns: 58px 100px 1fr 90px; }
}

@media (max-width: 620px) {
  .home-news-card > div:not(.news-visual) { padding: 24px 22px; }
  .home-news-card h3, .home-news-card:first-child h3 { font-size: 21px; }
  .news-visual { min-height: 350px; }
  .news-visual.is-compact { min-height: 215px; }
  .academy-choice-visual { padding: 35px 30px; }
  .academy-choice-visual > strong { width: 90%; margin-top: 42px; font-size: 35px; }
  .academy-choice-visual > span { width: 78%; font-size: 12px; }
  .academy-choice-visual.is-compact { padding: 25px; }
  .academy-choice-visual.is-compact > strong { width: 76%; margin-top: 23px; font-size: 25px; }
  .academy-choice-visual.is-compact > span { display: none; }
  .choice-illustration { right: 3%; width: 43%; transform: scale(.72); transform-origin: right bottom; }
  .is-compact .choice-illustration { transform: scale(.52); }
  .onboarding-visual > strong { font-size: 46px; }
  .onboarding-visual > b { right: 8%; top: 27%; font-size: 19px; }
  .onboarding-cards { left: 6%; right: 6%; bottom: 56px; }
  .onboarding-cards span { padding: 11px; font-size: 10px; }
  .onboarding-visual.is-compact > strong { font-size: 34px; }
  .onboarding-visual.is-compact .onboarding-cards { display: none; }
  .study-visual > strong, .exam-visual > strong, .growth-visual > strong { font-size: 39px; }
  .study-visual.is-compact > strong, .exam-visual.is-compact > strong, .growth-visual.is-compact > strong { font-size: 27px; }
  .news-popup-backdrop { align-items: end; padding: 12px; }
  .news-popup { width: 100%; max-height: calc(100vh - 24px); }
  .news-popup-copy { padding: 20px 22px; }
  .news-popup-copy h2 { font-size: 21px; }
  .news-popup-controls { padding-left: 15px; }
  .news-page-hero { padding: 78px 22px; }
  .news-page-hero h1 { font-size: 38px; }
  .news-featured { padding: 60px 22px; }
  .news-featured-card { grid-template-columns: 1fr; }
  .news-board-section { padding: 70px 22px 90px; }
  .news-board-header { display: none; }
  .news-board-row { grid-template-columns: 42px 1fr auto; gap: 10px; padding: 18px 4px; }
  .news-board-row:hover { padding-left: 8px; padding-right: 8px; }
  .news-board-row > span:nth-child(2) { grid-column: 2; grid-row: 1; }
  .news-board-row strong { grid-column: 2 / -1; grid-row: 2; font-size: 12px; line-height: 1.55; }
  .news-board-row time { grid-column: 3; grid-row: 1; }
  .news-board-row > span:first-child { grid-row: 1 / 3; }
  .news-article { padding: 60px 22px 90px; }
  .news-article-header { margin-bottom: 38px; }
  .news-article-header > a { margin-bottom: 32px; }
  .news-article-header h1 { font-size: 34px; }
  .news-article-body { padding: 48px 0; }
  .news-article-lead { margin-bottom: 45px; padding: 20px; font-size: 14px; }
  .news-article-body section > p { font-size: 13px; line-height: 1.9; }
  .news-facts div { grid-template-columns: 70px 1fr; }
  .news-article-contact { grid-template-columns: 1fr; }
  .news-article-contact a { grid-column: 1; grid-row: auto; margin-top: 12px; text-align: center; }
  .news-article-contact small { grid-column: 1; }
  .news-article-nav { grid-template-columns: 1fr; }
  .news-article-nav > a:last-child { border-left: 0; border-top: 1px solid var(--line); text-align: left; }
}

/* 1단계에서 아직 서버 기능을 연결하지 않은 화면 */
.migration-placeholder {
  min-height: 560px; padding: clamp(90px, 12vw, 170px) clamp(24px, 8vw, 150px);
  background: var(--paper); color: var(--ink);
}
.migration-placeholder > p { color: var(--orange); font-size: 10px; font-weight: 900; letter-spacing: .22em; }
.migration-placeholder h1 { max-width: 830px; margin-top: 36px; font: 500 clamp(42px, 6vw, 78px)/1.18 Georgia, "Noto Serif KR", serif; letter-spacing: -.055em; }
.migration-placeholder > span { display: block; max-width: 760px; margin-top: 34px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.migration-placeholder .dark-button { display: flex; width: min(360px, 100%); margin-top: 42px; }
.member-placeholder { background: linear-gradient(135deg, var(--paper-light), var(--paper)); }
