/* 익사이팅에듀 — 디자인 토큰 (DESIGN-stripe.md 기반, PRD 10장) */
:root {
  --primary: #533afd;
  --primary-deep: #4434d4;
  --primary-press: #2e2b8c;
  --primary-soft: #665efd;
  --primary-subdued: #e8e6ff;
  --brand-dark: #1c1e54;
  --ink: #0d253d;
  --ink-secondary: #273951;
  --ink-mute: #64748d;
  --on-primary: #ffffff;
  --canvas: #ffffff;
  --canvas-soft: #f6f9fc;
  --canvas-cream: #f5e9d4;
  --hairline: #e3e8ee;
  --hairline-input: #a8c3de;
  --ruby: #ea2261;
  --magenta: #f96bee;
  --success: #0f9d6b;

  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-pill: 9999px;

  --shadow-1: 0 1px 3px rgba(0, 55, 112, 0.08);
  --shadow-2: 0 8px 24px rgba(0, 55, 112, 0.08), 0 2px 6px rgba(0, 55, 112, 0.04);

  --container: 1200px;
  --gutter: 24px;
  --section-y: 96px;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--primary-soft); outline-offset: 2px; border-radius: var(--r-xs); }
.num, .tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.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; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--soft { background: var(--canvas-soft); }
.section--cream { background: var(--canvas-cream); }
.section--dark { background: var(--brand-dark); color: var(--on-primary); }

/* 타이포그래피 */
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--primary); margin: 0 0 12px;
}
.section--dark .eyebrow { color: #b9b9f9; }
h1, h2, h3, h4 { margin: 0; color: inherit; font-weight: 600; letter-spacing: -0.02em; }
.display-xxl { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; }
.display-xl { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.22; }
.display-lg { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; }
.heading-md { font-size: 19px; line-height: 1.45; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-secondary); line-height: 1.7; margin: 16px 0 0; }
.section--dark .lead { color: rgba(255, 255, 255, 0.78); }
.muted { color: var(--ink-mute); }
.caption { font-size: 13px; color: var(--ink-mute); line-height: 1.55; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border-radius: var(--r-pill); border: 1px solid transparent;
  font: inherit; font-size: 16px; font-weight: 600; line-height: 1;
  cursor: pointer; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-deep); }
.btn--primary:active { background: var(--primary-press); }
.btn--secondary { background: var(--canvas); color: var(--primary); border-color: var(--primary); }
.btn--secondary:hover { background: var(--primary-subdued); }
.btn--ghost-light { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.3); }
.btn--sm { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* 태그·배지 */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--primary-subdued); color: var(--primary-deep);
  font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap;
}
.tag--granted { background: #dcf5ea; color: #0b7a53; }
.tag--filed { background: var(--primary-subdued); color: var(--primary-deep); }
.tag--pending { background: #eef1f5; color: var(--ink-mute); }
.tag--live { background: #ffe4ec; color: #b3164a; }
.tag--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* 헤더 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--hairline); background: rgba(255, 255, 255, 0.94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: baseline; gap: 8px; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
.logo small { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; color: var(--primary); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: var(--r-pill); color: var(--ink-secondary); font-size: 15px; font-weight: 500; }
.nav a:hover { background: var(--canvas-soft); color: var(--ink); text-decoration: none; }
.nav .btn { margin-left: 8px; color: #fff; }
.nav .btn:hover { background: var(--primary-deep); color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--r-md); cursor: pointer; color: var(--ink); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; margin: 0 auto; transition: transform .2s, background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* 히어로 + 그라디언트 메시 */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.mesh { position: absolute; inset: -20% -10% auto -10%; height: 680px; z-index: 0; pointer-events: none; filter: blur(60px); opacity: .85; }
.mesh span { position: absolute; border-radius: 50%; }
.mesh .b1 { width: 46%; height: 70%; left: -4%; top: 6%; background: #ffd7a8; }
.mesh .b2 { width: 40%; height: 64%; left: 24%; top: -6%; background: #c9b8ff; }
.mesh .b3 { width: 38%; height: 70%; left: 50%; top: 4%; background: var(--primary-soft); opacity: .75; }
.mesh .b4 { width: 32%; height: 56%; left: 74%; top: 10%; background: #ff8fb4; opacity: .8; }
.mesh .b5 { width: 30%; height: 40%; left: 60%; top: 46%; background: var(--magenta); opacity: .45; }
.mesh::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 45%; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; align-items: center; }
.hero-copy .eyebrow { background: rgba(255,255,255,.7); padding: 6px 12px; border-radius: var(--r-pill); color: var(--primary-deep); }
.hero-copy .lead { max-width: 560px; color: var(--ink-secondary); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; padding: 0; list-style: none; }
.hero-badges li { font-size: 15px; color: var(--ink-secondary); }
.hero-badges strong { color: var(--ink); font-size: 22px; font-weight: 700; margin-right: 4px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero-trust .tag { background: rgba(255,255,255,.75); color: var(--ink-secondary); border: 1px solid var(--hairline); }

.mock-stack { position: relative; min-height: 420px; padding-bottom: 120px; }
.mock {
  background: var(--canvas); border-radius: var(--r-xl); box-shadow: var(--shadow-2);
  border: 1px solid rgba(227, 232, 238, .8); padding: 22px;
}
.mock-main { position: relative; z-index: 2; margin-right: 40px; }
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.mock-head .dots { display: flex; gap: 6px; }
.mock-head .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--hairline); }
.mock-title { font-size: 13px; font-weight: 600; color: var(--ink-mute); }
.mock-patent { border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 16px; }
.mock-patent + .mock-patent { margin-top: 10px; }
.mock-patent .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mock-patent .name { font-weight: 600; font-size: 16px; }
.mock-patent .meta { font-size: 13px; color: var(--ink-mute); margin-top: 4px; }
.mock-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 12px; }
.mock-progress i { height: 4px; border-radius: 2px; background: var(--primary); }
.mock-progress i.off { background: var(--hairline); }
.mock-side {
  position: absolute; z-index: 3; right: 0; bottom: 0; width: 230px;
  background: var(--brand-dark); color: #fff; border: 0;
}
.mock-side .big { font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.mock-side .lbl { font-size: 13px; color: rgba(255,255,255,.7); }
.mock-bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; margin-top: 14px; }
.mock-bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(to top, var(--primary), var(--magenta)); }

/* 성과 수치 */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.stat { padding: 32px 24px; border-right: 1px solid var(--hairline); }
.stat:last-child { border-right: 0; }
.stat .value { font-size: clamp(40px, 4.4vw, 56px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.stat .value small { font-size: .42em; font-weight: 600; margin-left: 2px; letter-spacing: 0; }
.stat .label { margin-top: 12px; font-weight: 600; font-size: 17px; }
.stat .basis { margin-top: 6px; }
.stat-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.note-card { background: var(--canvas-soft); border-radius: var(--r-lg); padding: 20px 22px; }
.note-card strong { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.note-card span { font-size: 14px; color: var(--ink-secondary); }

/* 5단계 여정 */
.journey { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start; }
.journey-nav { position: sticky; top: 100px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.journey-nav li + li { margin-top: 4px; }
.journey-nav button {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 12px 14px; border: 0; border-radius: var(--r-lg); background: transparent;
  font: inherit; color: var(--ink-mute); cursor: pointer; transition: background .2s, color .2s;
}
.journey-nav button .n { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; border: 1px solid var(--hairline); background: #fff; }
.journey-nav button .t { font-weight: 600; }
.journey-nav button:hover { background: rgba(83, 58, 253, .05); color: var(--ink); }
.journey-nav button.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.journey-nav button.is-active .n { background: var(--primary); border-color: var(--primary); color: #fff; }
.journey-steps { display: grid; gap: 24px; }
.step {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-xl);
  padding: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center;
  scroll-margin-top: 100px;
}
.step-label { font-size: 13px; font-weight: 700; color: var(--primary); letter-spacing: .06em; }
.step h3 { margin-top: 8px; }
.step p { color: var(--ink-secondary); margin: 12px 0 0; }
.step-visual { background: var(--canvas-soft); border-radius: var(--r-lg); padding: 20px; min-height: 160px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.step-visual .quote { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 12px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--hairline); font-size: 14px; font-weight: 500; }
.spec-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; border-bottom: 1px dashed var(--hairline); padding: 8px 0; }
.spec-line:last-child { border-bottom: 0; }
.spec-line span:first-child { color: var(--ink-mute); }
.flow-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.flow-line i { font-style: normal; color: var(--ink-mute); }

/* 특허 원장 */
.ledger { background: var(--brand-dark); border-radius: var(--r-xl); padding: 28px; box-shadow: var(--shadow-2); color: #fff; }
.ledger-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.ledger-summary { display: flex; gap: 24px; flex-wrap: wrap; }
.ledger-summary div { font-size: 14px; color: rgba(255,255,255,.7); }
.ledger-summary strong { display: block; font-size: 28px; color: #fff; font-weight: 700; line-height: 1.2; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-group { display: flex; gap: 4px; padding: 4px; background: rgba(255,255,255,.07); border-radius: var(--r-pill); }
.filter-group button {
  border: 0; background: transparent; color: rgba(255,255,255,.75); font: inherit; font-size: 13px; font-weight: 600;
  padding: 7px 12px; border-radius: var(--r-pill); cursor: pointer; min-height: 32px;
}
.filter-group button:hover { color: #fff; }
.filter-group button[aria-pressed="true"] { background: #fff; color: var(--brand-dark); }
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); }
.ledger table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
.ledger th { text-align: left; font-weight: 600; font-size: 12px; letter-spacing: .04em; color: rgba(255,255,255,.55); padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.1); white-space: nowrap; }
.ledger td { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.06); vertical-align: middle; }
.ledger tr:last-child td { border-bottom: 0; }
.ledger td.idx { color: rgba(255,255,255,.45); width: 48px; }
.ledger td .name { font-weight: 600; }
.ledger td .sub { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 2px; }
.ledger .blank { color: rgba(255,255,255,.3); }
.ledger .tag--granted { background: rgba(15,157,107,.2); color: #6ee7b7; }
.ledger .tag--filed { background: rgba(185,185,249,.18); color: #c9c6ff; }
.ledger .tag--pending { background: rgba(255,255,255,.08); color: rgba(255,255,255,.55); }
.ledger tr.is-hidden { display: none; }
.swipe-hint { display: none; margin: 0 0 8px; font-size: 13px; color: rgba(255,255,255,.6); }
.swipe-hint--light { color: var(--ink-mute); }
.ledger-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.6); }
.ledger-foot a { color: #c9c6ff; }

/* 성공 사례 */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.case { background: #fff; border-radius: var(--r-xl); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.case-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.case h3 { font-size: clamp(22px, 2.2vw, 26px); line-height: 1.35; }
.case-figure {
  border-radius: var(--r-lg); background: var(--canvas-soft); border: 1px dashed #c9d3df;
  aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; padding: 16px; color: var(--ink-mute); font-size: 14px;
}
.case-figure--img { display: flex; flex-direction: column; gap: 10px; aspect-ratio: auto; padding: 16px; background: #fff; border: 1px solid var(--hairline); place-items: stretch; }
.case-figure--img img { width: 100%; height: auto; }
.case-figure--img figcaption { text-align: left; }
.case-desc { margin: 0; color: var(--ink-secondary); font-size: 15px; }
.step-visual--img { margin: 0; padding: 12px; background: #fff; border: 1px solid var(--hairline); }
.step-visual--img img { width: 100%; max-height: 320px; object-fit: contain; border-radius: var(--r-md); }
.step-quote { font-size: 17px; font-weight: 600; color: var(--ink) !important; letter-spacing: -0.01em; border-left: 3px solid var(--primary); padding-left: 14px; }
.case dl { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px 16px; margin: 0; font-size: 15px; }
.case dt { color: var(--ink-mute); font-weight: 600; }
.case dd { margin: 0; }
.case-timeline { display: flex; align-items: center; gap: 0; margin-top: auto; }
.case-timeline div { flex: 1; position: relative; padding-top: 18px; font-size: 13px; }
.case-timeline div::before { content: ""; position: absolute; top: 4px; left: 0; right: 0; height: 2px; background: var(--hairline); }
.case-timeline div::after { content: ""; position: absolute; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
.case-timeline div.done::after { background: var(--success); }
.case-timeline strong { display: block; font-size: 14px; }

/* 사업 영역 */
.growth-flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; padding: 0; list-style: none; }
.growth-flow li { padding: 10px 20px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--hairline); font-weight: 600; }
.growth-flow li.sep { padding: 0; border: 0; background: none; color: var(--ink-mute); }
.programs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.program {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 28px;
  color: var(--ink); transition: box-shadow .2s, transform .2s, border-color .2s;
}
.program:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); border-color: #d6dde6; text-decoration: none; }
.program--main { border-top: 3px solid var(--primary); }
.program .no { font-size: 13px; font-weight: 700; color: var(--ink-mute); }
.program h3 { font-size: 20px; }
.program p { margin: 0; color: var(--ink-secondary); font-size: 15px; }
.program dl { margin: 0; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 6px 12px; font-size: 14px; }
.program dt { color: var(--ink-mute); }
.program dd { margin: 0; }
.program .more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--primary); font-size: 15px; }

/* 운영 실적 */
.track-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-lg); }
.track-table { width: 100%; border-collapse: collapse; min-width: 860px; font-size: 15px; }
.track-table th { text-align: left; font-size: 13px; color: var(--ink-mute); font-weight: 600; padding: 16px 20px; background: var(--canvas-soft); border-bottom: 1px solid var(--hairline); white-space: nowrap; }
.track-table td { padding: 18px 20px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.track-table tr:last-child td { border-bottom: 0; }
.track-table .year { font-weight: 700; font-size: 17px; }
.track-table .course { font-weight: 600; }
.track-table tfoot td { background: var(--canvas-soft); font-weight: 700; }
.track-table .rate { font-weight: 700; color: var(--primary-deep); font-size: 17px; }
.partners { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.partners .lbl { font-size: 14px; font-weight: 600; color: var(--ink-mute); margin-right: 8px; }
.partners span.p { padding: 8px 14px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--hairline); color: var(--ink-secondary); font-size: 14px; filter: grayscale(1); }

/* 현장 영상 */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.video-grid + .video-grid { margin-top: 20px; }
.video-grid--feature { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.video-card { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #0b0d2e; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0b0d2e; }
.video-card--vertical .video-frame { aspect-ratio: auto; flex: 1; min-height: 0; }
.video-card--vertical .video-frame video { object-fit: contain; }
.video-grid--feature .video-card--vertical { min-height: 0; }
.video-card figcaption { display: grid; gap: 4px; }
.video-card figcaption .tag { justify-self: start; background: rgba(185,185,249,.18); color: #c9c6ff; }
.video-card figcaption strong { font-size: 17px; font-weight: 600; line-height: 1.4; }
.video-card figcaption .caption { color: rgba(255,255,255,.6); }

/* 현장 사진 */
.gallery-controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.gallery-tabs, .gallery-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.gallery-tabs button, .gallery-filter button {
  min-height: 40px; padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--hairline);
  background: #fff; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink-secondary); cursor: pointer;
}
.gallery-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery-filter button { font-size: 14px; min-height: 36px; padding: 6px 14px; }
.gallery-filter button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.gallery-desc { margin: 0 0 20px; font-size: 15px; color: var(--ink-mute); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gallery-item { position: relative; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; background: #e7ecf2; cursor: zoom-in; aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .kind { position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: var(--r-pill); background: rgba(13,37,61,.72); color: #fff; font-size: 12px; font-weight: 600; }
.gallery-more { display: flex; justify-content: center; margin-top: 28px; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 10, 30, .94); color: #fff; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(6, 10, 30, .94); }
.lightbox figure { margin: 0; max-width: min(1200px, 88vw); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: var(--r-md); object-fit: contain; }
.lightbox figcaption { font-size: 14px; color: rgba(255,255,255,.75); text-align: center; }
.lb-close, .lb-nav { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; border-radius: 50%; display: grid; place-items: center; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 20px; right: 20px; width: 44px; height: 44px; font-size: 28px; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 34px; line-height: 1; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

/* 강사진 */
.team-summary { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.team-summary div { padding: 14px 20px; border-radius: var(--r-lg); background: var(--canvas-soft); }
.team-summary strong { font-size: 24px; font-weight: 700; margin-right: 6px; letter-spacing: -0.02em; }
.team-group + .team-group { margin-top: 48px; }
.team-group h3 { margin-bottom: 20px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.team-group h3 small { font-size: 15px; font-weight: 500; color: var(--ink-mute); }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.member { background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.member-icon { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--primary-subdued); color: var(--primary-deep); display: grid; place-items: center; }
.member-icon svg { width: 24px; height: 24px; }
.member h4 { font-size: 17px; }
.member .field { font-size: 14px; color: var(--primary-deep); font-weight: 600; margin-top: -6px; }
.member ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink-secondary); line-height: 1.6; }
.member ul li + li { margin-top: 4px; }
.member .hours { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--ink-mute); }
.ai-principle { margin-top: 48px; padding: 32px; border-radius: var(--r-xl); background: var(--brand-dark); color: #fff; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; }
.ai-principle h3 { font-size: 18px; color: #b9b9f9; }
.ai-principle p { margin: 0; font-size: 18px; line-height: 1.7; }
.ai-principle .caption { color: rgba(255,255,255,.55); margin-top: 12px; display: block; }
.ai-principle .caption a { color: #c9c6ff; }

/* 언론 */
.press-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.press-item { background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 24px; }
.press-item .media { font-size: 14px; font-weight: 700; }
.press-item .date { font-size: 13px; color: var(--ink-mute); }
.press-item p { margin: 12px 0 0; font-size: 17px; font-weight: 600; line-height: 1.5; letter-spacing: -0.01em; }
a.press-item { display: flex; flex-direction: column; color: var(--ink); transition: box-shadow .2s, border-color .2s, transform .2s; }
a.press-item:hover { text-decoration: none; box-shadow: var(--shadow-2); border-color: #d6dde6; transform: translateY(-2px); }
.press-link { margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 600; color: var(--primary); }
.rate-note { display: block; font-size: 12px; font-weight: 500; color: var(--ink-mute); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; }
.faq-list { border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item h3 { font-size: inherit; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left;
  padding: 22px 4px; border: 0; background: transparent; font: inherit; font-size: 17px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.faq-q .plus { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--hairline); position: relative; transition: transform .25s, background .2s; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); border-radius: 1px; }
.faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .2s; }
.faq-q[aria-expanded="true"] .plus { background: var(--primary); border-color: var(--primary); }
.faq-q[aria-expanded="true"] .plus::before { background: #fff; }
.faq-q[aria-expanded="true"] .plus::after { opacity: 0; }
.faq-a { padding: 0 4px 24px; color: var(--ink-secondary); }
.faq-a p { margin: 0; }
.faq-a[hidden] { display: none; }

/* 문의 */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.contact-info .lead { color: rgba(255,255,255,.78); }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; font-size: 15px; }
.contact-list .k { color: rgba(255,255,255,.55); }
.contact-list a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
.cred { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.cred span { padding: 8px 14px; border-radius: var(--r-pill); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: 14px; font-weight: 600; }
.price-note { margin-top: 20px; font-size: 14px; color: rgba(255,255,255,.65); }
.form-card { background: #fff; color: var(--ink); border-radius: var(--r-xl); padding: 36px; box-shadow: var(--shadow-2); }
.form-card h3 { font-size: 22px; }
.form-card .caption { margin-top: 6px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin-top: 24px; }
.field-full { grid-column: 1 / -1; }
.form-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-field label .req { color: var(--ruby); margin-left: 2px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: var(--r-sm);
  border: 1px solid var(--hairline-input); background: #fff; color: var(--ink);
  font: inherit; font-size: 16px; line-height: 1.4; transition: border-color .15s, box-shadow .15s;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(83,58,253,.15); }
.form-field.has-error input, .form-field.has-error select { border-color: var(--ruby); }
.form-field .err { display: none; font-size: 13px; color: var(--ruby); margin-top: 4px; }
.form-field.has-error .err { display: block; }
.choice-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-group legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.choice-group legend .req { color: var(--ruby); margin-left: 2px; }
.choice-group .hint { font-weight: 400; color: var(--ink-mute); font-size: 13px; margin-left: 6px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px;
  border: 1px solid var(--hairline-input); border-radius: var(--r-pill);
  font-size: 15px; color: var(--ink-secondary); background: #fff; transition: background .15s, border-color .15s, color .15s;
}
.choice:hover span { border-color: var(--primary); }
.choice input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--primary-soft); outline-offset: 2px; }
.choice-group.has-error .choice span { border-color: var(--ruby); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-secondary); }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--primary); }
.consent-box { margin-top: 8px; padding: 14px 16px; background: var(--canvas-soft); border-radius: var(--r-md); font-size: 13px; color: var(--ink-mute); line-height: 1.6; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.form-status { font-size: 15px; font-weight: 600; }
.form-status.ok { color: var(--success); }
.form-status.warn { color: #b45309; }
.form-status.error { color: var(--ruby); }
.adult-note { font-size: 13px; color: var(--ink-mute); }
.closing { margin-top: 64px; text-align: center; font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -0.02em; }
.closing span { background: linear-gradient(90deg, #ffd7a8, #c9b8ff 45%, #ff8fb4); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 푸터 */
.site-footer { padding: 56px 0 40px; color: var(--ink-mute); font-size: 14px; border-top: 1px solid var(--hairline); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.footer-grid h4 { font-size: 14px; color: var(--ink); margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--ink-mute); }
.footer-grid a:hover { color: var(--ink); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--hairline); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }

/* 하위 페이지 */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 56px; }
.page-hero .mesh { height: 420px; opacity: .6; }
.breadcrumb { font-size: 14px; color: var(--ink-mute); margin-bottom: 16px; }
.breadcrumb a { color: var(--ink-mute); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.fact { background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 20px; }
.fact .k { font-size: 13px; color: var(--ink-mute); font-weight: 600; }
.fact .v { font-size: 17px; font-weight: 600; margin-top: 4px; }
.prose { max-width: 820px; }
.prose h2 { font-size: 24px; margin: 48px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink-secondary); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; }
.prose th, .prose td { border: 1px solid var(--hairline); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--canvas-soft); font-weight: 600; }
.curriculum { counter-reset: c; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.curriculum li { counter-increment: c; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-lg); }
.curriculum li::before { content: counter(c, decimal-leading-zero); font-weight: 700; color: var(--primary); font-size: 18px; }
.curriculum strong { display: block; font-size: 17px; }
.curriculum span { color: var(--ink-secondary); font-size: 15px; }
.cta-band { margin-top: 64px; padding: 40px; border-radius: var(--r-xl); background: var(--brand-dark); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: clamp(22px, 2.4vw, 28px); }
.cta-band p { margin: 8px 0 0; color: rgba(255,255,255,.75); }
.timeline-table td:first-child { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* 스크롤 등장 */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* 반응형 */
@media (max-width: 1080px) {
  .programs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .journey { grid-template-columns: 1fr; gap: 24px; }
  .journey-nav { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; scrollbar-width: none; }
  .journey-nav li + li { margin-top: 0; }
  .journey-nav button { white-space: nowrap; padding: 10px 14px; }
}
@media (max-width: 960px) {
  :root { --section-y: 72px; }
  .hero-grid, .contact-grid, .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .mock-stack { min-height: 0; max-width: 520px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
  .stat-notes, .press-list { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .video-grid--feature { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .step { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .ai-principle { grid-template-columns: 1fr; gap: 12px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--hairline); padding: 8px var(--gutter) 20px;
    box-shadow: var(--shadow-2); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--hairline); font-size: 16px; }
  .nav .btn { margin: 16px 0 0; border-bottom: 0; border-radius: var(--r-pill); }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --section-y: 64px; }
  .hero { padding: 40px 0 64px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .mock-stack { padding-bottom: 0; }
  .mock-main { margin-right: 0; }
  .mock-side { position: relative; right: auto; bottom: auto; width: auto; margin-top: 12px; }
  .stat { padding: 24px 16px; }
  .programs, .team-grid { grid-template-columns: 1fr; }
  .video-grid, .video-grid--feature { grid-template-columns: 1fr; }
  .video-card--vertical .video-frame { flex: none; aspect-ratio: 9 / 16; max-height: 70vh; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .gallery-controls { flex-direction: column; align-items: stretch; }
  .gallery-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .gallery-tabs button { white-space: nowrap; }
  .lb-nav { top: auto; bottom: 20px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .ledger { padding: 20px 16px; }
  .swipe-hint { display: block; }
  .case { padding: 24px; }
  .facts { grid-template-columns: 1fr; }
  .cta-band { padding: 28px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
