/* 필로소피 AI 교육 — 강사 소개·프로그램·사례·후기·칼럼 공용 스타일
   딥 네이비·골드·크림 팔레트 (메인 페이지는 assets/brand-2026.css 로 같은 색을 맞춥니다). */
:root {
  /* 2026-11 브랜드 팔레트: 딥 네이비 · 골드(강조에만) · 크림 — 본문 대비 4.5:1 이상 */
  --navy: #162C43; --gold-brand: #C6A15B; --cream: #F8F5EE; --charcoal: #27313B;
  --bg: var(--cream); --bg-soft: #f1ece1; --surface: #ffffff; --line: #e6dfd0; --line-strong: #cdbf9f;
  --ink: var(--navy); --text: var(--charcoal); --muted: #5b6670;
  --primary: var(--navy); --primary-dark: #0d1d2e; --gold: #7a5c1e; --gold-soft: #f3ead6; --gold-line: #e1cc9f;
  --sage: #e9eef4; --lilac: #eee8f3; --peach: #f6e9dc;
  --radius: 18px; --radius-lg: 26px;
  --shadow: 0 10px 28px rgba(22, 44, 67, .07);
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.75; font-size: 16px; word-break: keep-all; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-dark); }
:is(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #766395; outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.4; letter-spacing: -.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; letter-spacing: -.04em; }
h2 { font-size: clamp(23px, 2.6vw, 31px); font-weight: 750; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
.narrow { max-width: 820px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.lead { font-size: 18px; color: var(--text); max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 245, 238, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; color: var(--primary); }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 8px 10px; font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none; border-radius: 999px; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--sage); color: var(--ink); }
.site-nav .nav-cta { background: var(--gold-brand); color: var(--navy); margin-left: 6px; padding-inline: 16px; }
.site-nav .nav-cta:hover { background: #d8b874; color: var(--navy); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s; }
@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 10px 16px 16px; }
  .site-nav a { padding: 12px 14px; font-size: 16px; }
  .site-nav .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--primary); color: #fffefa; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--sage); }
.btn-gold { background: var(--gold-soft); color: #5f4710; border-color: var(--gold-line); }
.btn-cta { background: var(--gold-brand); color: var(--navy); border-color: var(--gold-brand); }
.btn-cta:hover { background: #d8b874; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 32px; }
.page-hero { padding: 56px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.profile-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); text-align: center; }
.profile-card img { width: 168px; height: 168px; object-fit: cover; border-radius: 50%; margin: 0 auto 14px; border: 6px solid var(--gold-soft); }
.profile-card .role { font-size: 14px; color: var(--muted); }
.profile-card dl { text-align: left; margin: 16px 0 0; font-size: 14px; display: grid; gap: 8px; }
.profile-card dt { font-weight: 700; color: var(--ink); }
.profile-card dd { margin: 0; }
.img-note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.chips li { background: var(--gold-soft); color: #5f4710; border: 1px solid var(--gold-line); border-radius: 999px; padding: 4px 13px; font-size: 13.5px; font-weight: 600; }
.answer-box { background: var(--surface); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 0 0 24px; box-shadow: var(--shadow); }
.answer-box p:last-child { margin: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.stat b { display: block; font-size: 30px; color: var(--ink); line-height: 1.2; }
.stat span { font-size: 13px; color: var(--muted); }
.stat-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* Compare (tools vs systems) */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.compare > div { padding: 26px; }
.compare > div + div { background: var(--sage); border-left: 1px solid var(--line); }
.compare ul { margin: 0; padding-left: 20px; }
.compare li { margin-bottom: 6px; }

/* Timeline / history */
.history-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.history-item { display: grid; grid-template-columns: 130px 1fr; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.history-item time { font-weight: 700; color: var(--gold); font-size: 15px; }
.history-item h3 { font-size: 17px; margin-bottom: 4px; }
.history-item p { margin: 0; font-size: 15px; }
.kind { display: inline-block; font-size: 12px; font-weight: 700; color: var(--primary); background: var(--sage); border-radius: 999px; padding: 2px 10px; margin-left: 6px; vertical-align: middle; }

/* Programs */
.program { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 26px; scroll-margin-top: 90px; }
.program-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.program-head h2 { margin: 0; }
.status { font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 4px 12px; }
.status-delivered { background: var(--sage); color: var(--primary-dark); }
.status-partial { background: var(--gold-soft); color: #5f4710; }
.status-proposed { background: var(--lilac); color: #5a4670; }
.program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.program-grid h3 { font-size: 15px; color: var(--gold); margin-bottom: 6px; letter-spacing: 0; }
.program-grid ul { margin: 0; padding-left: 20px; }
.program-grid p { margin: 0; }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.fit div { border-radius: 14px; padding: 14px 18px; font-size: 15px; }
.fit .yes { background: var(--sage); }
.fit .no { background: var(--bg-soft); }
.fit b { display: block; color: var(--ink); margin-bottom: 4px; }

/* Case study */
.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 26px; scroll-margin-top: 90px; }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.case dl { display: grid; grid-template-columns: 210px 1fr; gap: 10px 18px; margin: 0 0 18px; }
.case dt { font-weight: 700; color: var(--ink); }
.case dd { margin: 0; }
.pending { color: var(--muted); font-style: normal; font-size: 14px; background: var(--bg-soft); border-radius: 8px; padding: 2px 8px; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 8px; }
.photos figure { margin: 0; }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--bg-soft); }
.photos figcaption { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--gold); font-weight: 800; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding-bottom: 16px; margin: 0; }

/* Article (insights) */
.article { padding: 40px 0 56px; }
.article-meta { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 24px; }
.article h2 { margin-top: 44px; }
.article h2 + p.one-line { font-weight: 700; color: var(--ink); }
.article .callout { background: var(--gold-soft); border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0; }
.article .callout p:last-child { margin: 0; }
.article ul, .article ol { padding-left: 22px; }
.related { list-style: none; padding: 0; display: grid; gap: 10px; }
.related a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; text-decoration: none; font-weight: 600; }
.related a:hover { border-color: var(--line-strong); }
.insight-list { list-style: none; padding: 0; display: grid; gap: 16px; }
.insight-list a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; text-decoration: none; color: inherit; }
.insight-list a:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.insight-list h2 { font-size: 20px; margin-bottom: 6px; color: var(--ink); }
.insight-list p { margin: 0; }

/* Crumbs */
.crumbs { padding-top: 18px; font-size: 13.5px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; color: var(--muted); }
.crumbs li + li::before { content: '›'; margin-right: 6px; }
.crumbs a { color: var(--muted); }

/* CTA band */
.cta-band { padding: 56px 0; }
.cta-inner { background: var(--navy); color: #e8edf3; border-radius: var(--radius-lg); padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { color: #fffefa; margin-bottom: 6px; }
.cta-inner p { margin: 0; }
.cta-inner .eyebrow { color: #e3c47f; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-inner .btn-primary { background: var(--gold-brand); color: var(--navy); }
.cta-inner .btn-primary:hover { background: #d8b874; color: var(--navy); }
.cta-inner .btn-ghost { color: #fffefa; border-color: rgba(255, 255, 255, .4); }
.cta-inner .btn-ghost:hover { background: rgba(255, 255, 255, .08); }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 44px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.footer-brand { font-weight: 800; font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.footer-brand span { font-weight: 500; color: var(--muted); font-size: 13px; margin-left: 4px; }
.footer-one { max-width: 460px; }
.footer-phil { color: var(--gold); font-weight: 600; }
.footer-h { font-size: 14px; margin-bottom: 8px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 16px; color: var(--muted); font-size: 13px; }

@media (max-width: 860px) {
  .hero-grid, .grid-2, .grid-3, .program-grid, .fit, .compare, .footer-grid { grid-template-columns: 1fr; }
  .compare > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .history-item { grid-template-columns: 1fr; gap: 4px; }
  .case dl { grid-template-columns: 1fr; gap: 2px 0; }
  .case dd { margin-bottom: 10px; }
  .section { padding: 52px 0; }
  .wrap { padding-inline: 16px; }
  .program, .case { padding: 22px 18px; }
  .cta-inner { padding: 26px 20px; }
  .profile-card { order: -1; }
}

/* 2026-11: 프로그램 비교 · 칼럼 분류 · 접근성 */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.program-letter { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 800; font-size: 18px; flex-shrink: 0; }
.program-purpose { font-size: 16.5px; color: var(--ink); background: var(--gold-soft); border-radius: 12px; padding: 12px 16px; }
.program-purpose b { color: var(--gold); margin-right: 6px; }
.program-cta { margin: 20px 0 0; }
.program-compare { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); margin: 8px 0 22px; font-size: 14.5px; }
.program-compare > * { display: grid; grid-template-columns: 1.1fr 1.4fr 1.1fr; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; }
.program-compare > a:hover { background: var(--sage); }
.program-compare .pc-head { border-top: 0; background: var(--navy); color: #fff; font-weight: 700; font-size: 13px; }
.program-compare b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--gold-brand); color: var(--navy); margin-right: 6px; font-size: 12.5px; }
.status-related { background: var(--sage); color: var(--primary-dark); }
.insight-group { margin-bottom: 40px; }
.insight-group > h2 { font-size: 21px; padding-bottom: 8px; border-bottom: 2px solid var(--gold-line); }
.insight-list h3 { font-size: 19px; margin-bottom: 6px; color: var(--ink); }
.planned-list { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.planned-list li { background: transparent; border: 1px dashed var(--line-strong); border-radius: 12px; padding: 12px 16px; color: var(--muted); font-size: 15px; }
.planned-badge { display: inline-block; font-size: 12px; font-weight: 700; background: var(--bg-soft); color: var(--muted); border-radius: 999px; padding: 1px 9px; margin-right: 6px; }
@media (max-width: 860px) {
  .program-compare > * { grid-template-columns: 1fr; gap: 4px; }
  .program-compare .pc-head { display: none; }
  .program-compare > a span:first-child { font-weight: 700; color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ===== 후기 근거 블록 (2026-11-10) ===== */
.review-stats { list-style: none; padding: 0; margin: 0 0 6px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.review-stats li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.review-stats b { display: block; font-size: 24px; color: var(--navy); }
.review-stats span { font-size: 13px; color: var(--muted); }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 18px 0 0; }
.quote-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold-brand); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.quote-card blockquote { margin: 0; }
.quote-card blockquote p { margin: 0; font-size: 15.5px; line-height: 1.75; color: var(--ink); font-weight: 600; }
.quote-card figcaption { font-size: 13px; color: var(--muted); margin-top: auto; }
.quote-card figcaption a { color: var(--navy); font-weight: 700; }
.rec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rec-grid .card p { font-size: 15px; }
.case-reviews { margin: 4px 0 18px; padding: 16px 18px; background: var(--bg); border-radius: 14px; }
.case-reviews h3 { font-size: 16px; }
.case-reviews h3 small { font-weight: 500; color: var(--muted); font-size: 12.5px; margin-left: 6px; }
.case-review-links { margin: 14px 0 0; padding-left: 18px; font-size: 14px; }
.review-summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 26px; }
.review-summary .rs-h { font-size: 20px; }
.rs-sub { font-size: 16px; margin: 22px 0 10px; }
.rs-sub small { font-weight: 500; color: var(--muted); font-size: 12.5px; margin-left: 6px; }
.rs-lectures, .rs-stories { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.rs-lectures li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.rs-lectures span { color: var(--muted); font-size: 13px; }
.rs-lectures b { margin-left: auto; color: var(--navy); }
.rs-stories li { background: var(--bg); border-radius: 12px; padding: 10px 14px; line-height: 1.7; }
.rs-before { color: var(--muted); }
.rs-arrow { color: var(--gold-brand); font-weight: 800; margin: 0 4px; }
.rs-after { color: var(--ink); font-weight: 600; }
.rs-stories a { font-size: 13px; margin-left: 6px; }
@media (max-width: 860px) {
  .review-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rec-grid { grid-template-columns: 1fr; }
  .rs-lectures b { margin-left: 0; }
}

/* ===== 대학 교수님 대상 강의 강조 ===== */
.prof-highlight { background: #162C43; color: #F8F5EE; border-radius: 22px; padding: 24px 26px; margin: 0 0 26px; border: 2px solid #C6A15B; }
.prof-highlight .prof-eyebrow { margin: 0 0 6px; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; color: #C6A15B; }
.prof-highlight .prof-title { margin: 0 0 6px; font-size: 22px; line-height: 1.35; color: #fff; }
.prof-highlight .prof-title b { color: #E9C77F; }
.prof-highlight .prof-title span { font-size: .8em; font-weight: 600; color: #d9dee4; }
.prof-highlight .prof-sub { margin: 0 0 14px; font-size: 14.5px; color: #d9dee4; }
.prof-highlight .prof-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.prof-highlight .prof-list li { background: rgba(255,255,255,.07); border: 1px solid rgba(198,161,91,.45); border-radius: 14px; padding: 12px 14px; }
.prof-highlight .prof-list time { display: block; font-size: 13px; font-weight: 800; color: #E9C77F; }
.prof-highlight .prof-list a { color: #fff; text-decoration: none; display: grid; gap: 2px; }
.prof-highlight .prof-list a:hover b { text-decoration: underline; }
.prof-highlight .prof-list b { font-size: 15.5px; }
.prof-highlight .prof-list span { font-size: 12.5px; color: #cfd6de; line-height: 1.5; }
@media (max-width: 760px) { .prof-highlight { padding: 20px 18px; } .prof-highlight .prof-list { grid-template-columns: 1fr; } .prof-highlight .prof-title { font-size: 19px; } }
.history-item.is-prof { border: 2px solid #C6A15B; background: #fffaf0; }
.kind-prof { background: #162C43 !important; color: #E9C77F !important; }
.prof-line { margin: 10px 0 0; font-size: 15px; }
.prof-line a { color: #162C43; text-decoration: none; border-bottom: 2px solid #C6A15B; }
