/* ==========================================================================
   시니어 챙겨 — 공개 사이트 스타일 (Editorial / Premium)
   팔레트: 아이보리 페이퍼 + 잉크 블랙 + 브라스(황동) + 딥 포레스트
   원칙: 헤어라인 보더 · 넉넉한 여백 · 세리프 헤드라인 · 최소한의 그림자
   ========================================================================== */

:root {
  /* 표면 */
  --paper: #fdfcf9;
  --paper-2: #f6f3ec;
  --paper-3: #f1ece2;
  --bone: #efeadf;
  --white: #ffffff;

  /* 잉크 */
  --ink: #14130f;
  --ink-2: #3f3b34;
  --ink-3: #7c766b;
  --ink-4: #a8a29a;

  /* 라인 */
  --line: #e3ddd1;
  --line-2: #d2c9b8;

  /* 액센트 */
  --brass: #8d6c34;
  --brass-2: #a8863f;
  --brass-3: #c9ab6b;
  --brass-soft: #f2ebdc;
  --brass-line: rgba(141, 108, 52, 0.3);
  --forest: #22322a;
  --forest-2: #172420;
  --forest-soft: #e6ece7;
  --clay: #a3573f;
  --clay-soft: #f7e9e3;
  --indigo: #3b4665;
  --indigo-soft: #e8eaf1;

  /* 구 변수명 호환 (관리자·포털 화면에서 사용) */
  --cream: #fdfcf9;
  --cream-2: #f6f3ec;
  --green: #22322a;
  --green-deep: #172420;
  --green-soft: #e6ece7;
  --terra: #a3573f;
  --terra-soft: #f7e9e3;
  --ochre: #8d6c34;
  --ochre-soft: #f2ebdc;

  /* 형태 */
  --r: 3px;
  --r-md: 5px;
  --r-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(20, 19, 15, 0.04);
  --shadow: 0 1px 3px rgba(20, 19, 15, 0.05), 0 18px 40px -28px rgba(20, 19, 15, 0.35);
  --shadow-lift: 0 1px 2px rgba(20, 19, 15, 0.04), 0 34px 64px -44px rgba(20, 19, 15, 0.5);

  /* 서체 */
  --serif: 'Noto Serif KR', 'Nanum Myeongjo', Georgia, 'Times New Roman', serif;
  --sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR',
    'Malgun Gothic', sans-serif;
  --latin: 'Cormorant Garamond', 'Noto Serif KR', Georgia, serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.78;
  letter-spacing: -0.008em;
  word-break: keep-all;
  overflow-wrap: break-word;
  font-feature-settings: 'kern' 1;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--brass-soft); color: var(--ink); }

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.26;
  margin: 0;
  letter-spacing: -0.032em;
  color: var(--ink);
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; }
.skip-link:focus {
  left: 12px; top: 12px; background: var(--ink); color: var(--white);
  padding: 10px 16px; border-radius: var(--r); font-size: 13px;
}

/* --------------------------------- 레이아웃 ------------------------------- */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 34px; }
.wrap-narrow { max-width: 780px; }

/* ------------------------------- 상단 정보 바 ----------------------------- */
.topbar {
  background: var(--ink);
  color: #b3ada0;
  font-size: 11px;
  letter-spacing: 0.085em;
  border-bottom: 1px solid rgba(201, 171, 107, 0.16);
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: 22px; justify-content: space-between;
  align-items: center; min-height: 38px; padding-top: 6px; padding-bottom: 6px;
}
.topbar a { transition: color 0.2s var(--ease); }
.topbar a:hover { color: var(--white); }
.topbar-left { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-right { display: flex; gap: 16px; align-items: center; }
.topbar .dot { opacity: 0.3; }
.topbar-right a:first-child { letter-spacing: 0.11em; color: #d5cdbc; }

/* ---------------------------------- 헤더 --------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(253, 252, 249, 0.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 78px; gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  position: relative;
  width: 38px; height: 38px; border-radius: 2px; display: grid; place-items: center;
  background: var(--forest);
  color: #e8dcc0;
  font-family: var(--serif); font-size: 14.5px; font-weight: 600;
  letter-spacing: -0.04em;
  transition: background 0.25s var(--ease);
}
.brand-mark::after {
  content: ''; position: absolute; inset: 5px; border: 1px solid rgba(232, 220, 192, 0.22);
  border-radius: 1px; pointer-events: none;
}
.brand:hover .brand-mark { background: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; gap: 1px; }
.brand-name {
  font-family: var(--serif); font-size: 18px; font-weight: 600;
  letter-spacing: -0.03em; color: var(--ink);
}
.brand-sub {
  font-family: var(--latin); font-size: 10px; color: var(--ink-4);
  letter-spacing: 0.19em; text-transform: uppercase; font-weight: 600;
}

.nav { display: flex; align-items: center; gap: 1px; }
.nav a {
  position: relative;
  padding: 10px 15px; font-size: 13.5px; color: var(--ink-2); font-weight: 500;
  letter-spacing: -0.004em; transition: color 0.2s var(--ease);
}
.nav a::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: 3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.active { color: var(--ink); font-weight: 600; }
.nav a.active::after { transform: scaleX(1); background: var(--brass); }

.nav a.nav-cta {
  margin-left: 14px; padding: 12px 22px;
  background: var(--ink); color: var(--white); font-weight: 600; font-size: 13px;
  letter-spacing: 0.01em;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(20, 19, 15, 0.14);
  transition: background 0.22s var(--ease), transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}
.nav a.nav-cta::after { display: none; }
.nav a.nav-cta:hover {
  background: var(--forest); color: var(--white); transform: translateY(-1px);
  box-shadow: 0 6px 18px -8px rgba(20, 19, 15, 0.5);
}

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-2);
  border-radius: var(--r); padding: 9px 11px; cursor: pointer; color: var(--ink);
}

/* --------------------------------- 버튼 --------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 2px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.005em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.btn svg { flex: 0 0 auto; transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--ink); color: var(--white);
  box-shadow: 0 1px 2px rgba(20, 19, 15, 0.14);
}
.btn-primary:hover { background: var(--forest); box-shadow: 0 10px 26px -14px rgba(20, 19, 15, 0.65); }

.btn-accent {
  background: var(--brass); color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 1px 2px rgba(20, 19, 15, 0.12);
}
.btn-accent:hover {
  background: var(--brass-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 28px -14px rgba(109, 82, 35, 0.72);
}

.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--ink-3); color: var(--ink); background: rgba(255, 255, 255, 0.6);
}

.btn-sm { padding: 11px 20px; font-size: 12.5px; letter-spacing: 0.01em; }
.btn-block { width: 100%; }

/* --------------------------------- 히어로 -------------------------------- */
.hero { position: relative; padding: 104px 0 92px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(820px 460px at 92% -14%, rgba(141, 108, 52, 0.11), transparent 66%),
    radial-gradient(720px 400px at 0% 2%, rgba(34, 50, 42, 0.06), transparent 64%);
}
.hero::after {
  content: ''; position: absolute; right: -160px; bottom: -220px; width: 560px; height: 560px;
  border-radius: 50%; border: 1px solid var(--line); opacity: 0.55; pointer-events: none;
}
.hero > .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.19fr 0.81fr; gap: 64px; align-items: start;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--brass); font-family: var(--sans);
}
.eyebrow::before {
  content: ''; width: 24px; height: 1px; background: currentColor; opacity: 0.7;
}

.hero h1 {
  font-size: clamp(34px, 4.05vw, 55px);
  line-height: 1.21; letter-spacing: -0.05em; font-weight: 500;
  margin: 24px 0 24px;
}
.hero h1 em {
  font-style: normal; color: var(--ink); position: relative; white-space: nowrap;
  font-weight: 600;
}
.hero h1 em::after {
  content: ''; position: absolute; left: -3px; right: -3px; bottom: 5px; height: 11px;
  background: linear-gradient(90deg, rgba(141, 108, 52, 0.26), rgba(141, 108, 52, 0.05));
  z-index: -1; border-radius: 1px;
}
.hero-lead {
  font-size: 16px; color: var(--ink-2); max-width: 30em; line-height: 1.86;
}
.hero-actions { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 36px; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: 52px; border-top: 1px solid var(--ink);
}
.hero-stat {
  padding: 20px 30px 0 0; margin-right: 30px; border-right: 1px solid var(--line);
}
.hero-stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hero-stat b {
  display: block; font-family: var(--serif); font-weight: 500;
  font-size: 26px; color: var(--ink); line-height: 1.14; letter-spacing: -0.035em;
}
.hero-stat span {
  display: block; margin-top: 6px;
  font-size: 11px; color: var(--ink-3); letter-spacing: 0.05em;
}

/* 히어로 우측 — 수업 원칙 + 프로그램 인덱스 */
.hero-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
  backdrop-filter: blur(2px);
  box-shadow: 0 40px 72px -62px rgba(20, 19, 15, 0.6);
  animation: rise 0.8s var(--ease) both;
}
.hero-panel::before {
  content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px;
  background: linear-gradient(90deg, var(--brass) 0%, rgba(141, 108, 52, 0.1) 62%, transparent 100%);
}

.hero-quote { position: relative; margin: 0; padding: 36px 34px 30px; }
.hero-quote p {
  font-family: var(--serif); font-size: clamp(19px, 1.75vw, 23px);
  line-height: 1.64; letter-spacing: -0.038em; color: var(--ink);
  font-weight: 500;
}
.hero-quote footer {
  display: flex; align-items: center; gap: 11px; margin-top: 22px;
  font-size: 10px; letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 700;
}
.hq-line { width: 20px; height: 1px; background: var(--brass); opacity: 0.85; }

.hero-index { border-top: 1px solid var(--line); padding: 0 34px 18px; }
.hero-index .hi-label {
  display: block; padding: 18px 0 6px;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-4);
}
.hero-index li a {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center; gap: 12px; padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.hero-index li:last-child a { border-bottom: none; }
.hi-no {
  font-family: var(--latin); font-size: 11px; font-weight: 600;
  letter-spacing: 0.13em; color: var(--ink-4);
}
.hi-title {
  font-family: var(--serif); font-size: 14.5px; font-weight: 600;
  letter-spacing: -0.022em; color: var(--ink);
  transition: color 0.22s var(--ease);
}
.hi-arrow {
  font-size: 11.5px; color: var(--ink-4);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}
.hero-index li a:hover .hi-title { color: var(--brass); }
.hero-index li a:hover .hi-arrow { transform: translateX(4px); color: var(--brass); }

.hero-panel-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 34px 14px; background: var(--paper-2); border-top: 1px solid var(--line);
  font-size: 10.5px; letter-spacing: 0.05em; color: var(--ink-3);
}
.hero-panel-foot strong { color: var(--ink); font-weight: 700; }
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* --------------------------------- 섹션 --------------------------------- */
.section { padding: 104px 0; position: relative; }
.section.tight { padding: 68px 0; }
.section-alt {
  background: var(--paper-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.section-dark { background: var(--forest-2); color: #cfd8d1; }
.section-dark .eyebrow { color: #b8a478; }
.section-dark .eyebrow::before { background: #b8a478; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .desc { color: #a9b5ad; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 {
  font-size: clamp(27px, 3.1vw, 39px); line-height: 1.26; letter-spacing: -0.042em;
  margin: 18px 0 16px; font-weight: 500;
}
.section-head .desc { color: var(--ink-2); font-size: 15.5px; line-height: 1.84; }

/* ------------------------------ 프로그램 카드 ---------------------------- */
.program-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  background: var(--line); border: 1px solid var(--line);
  box-shadow: 0 34px 60px -52px rgba(20, 19, 15, 0.5);
}
.program-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); padding: 40px 38px 32px;
  transition: background 0.3s var(--ease);
}
.program-card::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--pc, var(--brass)); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.program-card:hover { background: var(--white); }
.program-card:hover::before { transform: scaleX(1); }

.pc-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.pc-no {
  font-family: var(--latin); font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; color: var(--pc, var(--brass)); text-transform: uppercase;
}
.pc-icon {
  width: 42px; height: 42px; border-radius: 2px; display: grid; place-items: center;
  color: var(--pc, var(--brass)); border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.6);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    color 0.3s var(--ease), transform 0.3s var(--ease);
}
.pc-icon svg { width: 20px; height: 20px; }
.program-card:hover .pc-icon {
  background: var(--pc, var(--brass)); border-color: var(--pc, var(--brass)); color: var(--white);
  transform: translateY(-1px);
}
.program-card h3 {
  font-size: 24px; font-weight: 600; letter-spacing: -0.038em; margin-bottom: 8px;
}
.pc-sub {
  font-family: var(--serif); font-size: 13.5px; color: var(--pc, var(--brass));
  margin-bottom: 16px; font-weight: 500; line-height: 1.6;
}
.pc-summary { color: var(--ink-2); font-size: 14px; line-height: 1.84; }
.pc-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 24px; }
.pc-tag {
  font-size: 10.5px; padding: 4px 10px; border-radius: 2px;
  background: transparent; color: var(--ink-3); border: 1px solid var(--line);
  letter-spacing: 0.015em;
}
.pc-tag-req { color: var(--clay); border-color: rgba(163, 87, 63, 0.34); background: rgba(163, 87, 63, 0.03); }
.pc-req {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 12px; font-size: 10.5px; color: var(--ink-4); letter-spacing: 0.03em;
}
.pc-req span { display: inline-flex; align-items: center; gap: 7px; }
.pc-req span + span::before {
  content: ''; width: 1px; height: 8px; background: var(--line-2);
}
.pc-link {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); display: inline-flex; align-items: center; gap: 8px;
}
.pc-link span { transition: transform 0.25s var(--ease); display: inline-block; }
.program-card:hover .pc-link span { transform: translateX(5px); }
.program-card:hover .pc-link { color: var(--pc, var(--brass)); }

/* --------------------------- 차별점 / 프로세스 --------------------------- */
.diff-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line);
}
.diff-item {
  padding: 34px 30px 32px; border-right: 1px solid var(--line);
  position: relative; transition: background 0.3s var(--ease);
}
.diff-item:last-child { border-right: none; }
.diff-item:hover { background: rgba(255, 255, 255, 0.7); }
.diff-item::after {
  content: ''; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: var(--brass); transition: width 0.4s var(--ease);
}
.diff-item:hover::after { width: 100%; }
.diff-no {
  display: block; font-family: var(--latin); font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; color: var(--brass);
}
.diff-item h3 {
  font-size: 17px; font-weight: 600; margin: 14px 0 10px; letter-spacing: -0.03em;
  line-height: 1.45;
}
.diff-item p { font-size: 13px; color: var(--ink-2); line-height: 1.82; }

.process-list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line); background: var(--paper);
}
.process-item {
  padding: 32px 28px 30px; border-right: 1px solid var(--line);
  position: relative; transition: background 0.28s var(--ease);
}
.process-item:last-child { border-right: none; }
.process-item::after {
  content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: var(--forest); transform: scaleX(0); transform-origin: left;
  transition: transform 0.36s var(--ease);
}
.process-item:hover { background: var(--paper-2); }
.process-item:hover::after { transform: scaleX(1); }
.process-no {
  display: grid; place-items: center;
  font-family: var(--latin); font-size: 11.5px; font-weight: 700;
  color: var(--ink); width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--ink-2); margin-bottom: 18px;
  transition: background 0.28s var(--ease), color 0.28s var(--ease), border-color 0.28s var(--ease);
}
.process-item:hover .process-no { background: var(--ink); border-color: var(--ink); color: var(--white); }
.process-item h4 { font-size: 15.5px; font-weight: 600; margin-bottom: 9px; letter-spacing: -0.025em; }
.process-item p { font-size: 12.5px; color: var(--ink-2); line-height: 1.8; }

/* ------------------------------- 카드 공통 ------------------------------- */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.story-card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: 2px; padding: 28px 26px 26px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
    transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.story-card::before {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 2px;
  background: var(--sc, var(--brass)); transform: scaleX(0); transform-origin: left;
  transition: transform 0.36s var(--ease);
}
.story-card:hover {
  border-color: var(--line-2); background: var(--white);
  transform: translateY(-2px); box-shadow: 0 24px 44px -36px rgba(20, 19, 15, 0.55);
}
.story-card:hover::before { transform: scaleX(1); }
.story-card .sc-label {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.21em; text-transform: uppercase; color: var(--sc, var(--brass));
}
.story-card h4 {
  font-size: 16px; font-weight: 600; margin: 12px 0 10px;
  display: flex; align-items: center; gap: 8px; letter-spacing: -0.028em;
}
.story-card h4 svg { flex: 0 0 auto; color: var(--sc, var(--brass)); }
.story-card p { font-size: 13px; color: var(--ink-2); line-height: 1.82; }

/* 수업 흐름 */
.flow-step {
  display: grid; grid-template-columns: 104px 1fr; gap: 22px;
  padding: 20px 0; border-top: 1px solid var(--line);
}
.flow-step:last-child { border-bottom: 1px solid var(--line); }
.flow-step .fs-step {
  font-family: var(--latin); font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; color: var(--flow-accent, var(--brass));
  padding-top: 4px; white-space: nowrap;
}
.flow-step h4 { font-size: 15.5px; font-weight: 600; margin-bottom: 5px; letter-spacing: -0.025em; }
.flow-step p { font-size: 13px; color: var(--ink-2); line-height: 1.8; }

/* 수업 흐름 — 수업 성격별 그룹 헤더 */
.flow-group-head { margin-bottom: 18px; }
.flow-tag {
  display: inline-block; font-family: var(--sans);
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--pcolor, var(--brass));
  background: color-mix(in srgb, var(--pcolor, var(--brass)) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--pcolor, var(--brass)) 26%, transparent);
  border-radius: 2px; padding: 5px 10px;
}
.flow-group-head h3 {
  font-family: var(--serif); font-size: 18px; font-weight: 600;
  letter-spacing: -0.03em; margin: 10px 0 0;
}

/* -------------------------------- 갤러리 -------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--bone); border: 1px solid var(--line); border-radius: 2px;
  transition: box-shadow 0.4s var(--ease), border-color 0.3s var(--ease);
}
.gallery-item:hover {
  border-color: var(--line-2);
  box-shadow: 0 30px 56px -40px rgba(20, 19, 15, 0.6);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.75s var(--ease), filter 0.5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 36px 18px 14px; color: var(--white); font-size: 12.5px; font-weight: 500;
  background: linear-gradient(to top, rgba(14, 13, 10, 0.86), rgba(14, 13, 10, 0.3) 58%, transparent);
  letter-spacing: -0.012em; line-height: 1.55;
}
.gallery-empty {
  aspect-ratio: 4 / 3; border-radius: 2px;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--paper-2), var(--bone));
  display: grid; place-items: center; text-align: center; padding: 24px;
  color: var(--ink-4);
}
.gallery-empty .ge-icon { font-size: 22px; margin-bottom: 12px; opacity: 0.45; }
.gallery-empty p { font-size: 12.5px; line-height: 1.65; }

/* --------------------------------- FAQ --------------------------------- */
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); transition: background 0.25s var(--ease); }
.faq-item summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 24px 52px 24px 0;
  font-family: var(--serif); font-size: 16.5px; font-weight: 500;
  letter-spacing: -0.028em; transition: color 0.2s var(--ease); line-height: 1.5;
}
.faq-item summary:hover { color: var(--brass); }
.faq-item[open] summary { color: var(--brass); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; position: absolute; right: 8px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 1px solid var(--ink-2); border-bottom: 1px solid var(--ink-2);
  transform: rotate(45deg); transition: transform 0.3s var(--ease), border-color 0.2s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; border-color: var(--brass); }
.faq-item .faq-body {
  padding: 0 60px 26px 0; color: var(--ink-2); font-size: 14px; line-height: 1.88;
}

/* ------------------------------ CTA 밴드 ------------------------------- */
.cta-band {
  background: var(--forest-2); color: var(--white);
  border-radius: 2px; padding: 56px 52px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap; position: relative; overflow: hidden;
  box-shadow: 0 40px 70px -58px rgba(23, 36, 32, 0.9);
}
.cta-band::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--brass-3), rgba(201, 171, 107, 0.06) 70%, transparent);
}
.cta-band::after {
  content: ''; position: absolute; right: -110px; top: -110px;
  width: 320px; height: 320px; border-radius: 50%;
  border: 1px solid rgba(201, 171, 107, 0.18);
}
.cta-band h2 {
  font-size: clamp(22px, 2.5vw, 30px); color: var(--white);
  letter-spacing: -0.038em; line-height: 1.34; font-weight: 500;
}
.cta-band p { color: #a3b0a7; margin-top: 11px; font-size: 14px; line-height: 1.8; max-width: 40em; }
.cta-band .btn-ghost {
  background: var(--white); border-color: var(--white); color: var(--ink);
  position: relative; z-index: 1;
}
.cta-band .btn-ghost:hover {
  background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.45);
}

/* --------------------------------- 푸터 --------------------------------- */
.site-footer {
  background: var(--ink); color: #8a857c; padding: 68px 0 32px; font-size: 13px;
  position: relative;
}
.site-footer::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, rgba(201, 171, 107, 0.4), rgba(201, 171, 107, 0.03) 55%, transparent);
}
.footer-top {
  display: grid; grid-template-columns: 1.75fr 1fr 1fr; gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-brand .brand-mark { background: rgba(255, 255, 255, 0.07); color: #d9cba6; }
.footer-brand .brand-mark::after { border-color: rgba(217, 203, 166, 0.18); }
.footer-brand .brand-name { color: #f2efe8; }
.footer-brand .brand-sub { color: #6c675f; }
.footer-brand p { margin-top: 18px; color: #837e75; line-height: 1.85; max-width: 28em; font-size: 12.5px; }
.footer-col h5 {
  color: #c6c0b6; font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  margin: 0 0 16px; font-family: var(--sans);
}
.footer-col li { margin-bottom: 9px; font-size: 12.5px; }
.footer-col a { transition: color 0.2s var(--ease); }
.footer-col a:hover { color: #f2efe8; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-top: 26px; color: #625e57; font-size: 11px; line-height: 1.95;
  letter-spacing: 0.02em;
}

/* ------------------------------ 내부 페이지 ----------------------------- */
.page-head {
  position: relative; overflow: hidden;
  padding: 72px 0 56px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.page-head::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 320px at 88% -30%, rgba(141, 108, 52, 0.09), transparent 66%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent 60%);
}
.page-head::after {
  content: ''; position: absolute; right: -130px; top: -150px;
  width: 400px; height: 400px; border-radius: 50%;
  border: 1px solid var(--line-2); opacity: 0.45; pointer-events: none;
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head .eyebrow { margin-bottom: 18px; }
.page-head h1 {
  font-size: clamp(30px, 3.7vw, 46px); letter-spacing: -0.05em; line-height: 1.18;
  font-weight: 500;
}
.page-head .desc {
  margin-top: 18px; color: var(--ink-2); max-width: 40em; font-size: 15.5px; line-height: 1.86;
  padding-left: 20px; border-left: 1px solid var(--brass-line);
}
.crumb {
  font-size: 11px; color: var(--ink-4); margin-bottom: 26px; letter-spacing: 0.08em;
}
.crumb a { transition: color 0.2s var(--ease); }
.crumb a:hover { color: var(--brass); }

.prose p { margin-bottom: 18px; color: var(--ink-2); line-height: 1.92; font-size: 15.5px; }
.prose p:last-child { margin-bottom: 0; }

/* 프로그램 상세 */
.detail-hero { display: grid; grid-template-columns: 1.34fr 0.96fr; gap: 62px; align-items: start; }
.detail-points { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.detail-point {
  display: grid; grid-template-columns: 44px 1fr; gap: 20px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.dp-no {
  font-family: var(--latin); font-size: 12px; font-weight: 700;
  color: var(--pcolor); padding-top: 4px; letter-spacing: 0.14em;
}
.detail-point h4 { font-size: 16px; font-weight: 600; margin-bottom: 7px; letter-spacing: -0.028em; }
.detail-point p { font-size: 13.5px; color: var(--ink-2); line-height: 1.84; }

.week-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.week-table th, .week-table td {
  text-align: left; padding: 16px 16px; border-bottom: 1px solid var(--line);
  vertical-align: top; line-height: 1.8;
}
.week-table th {
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-3); font-weight: 700;
  border-bottom: 1px solid var(--ink); padding-bottom: 13px;
}
.week-table tbody tr { transition: background 0.2s var(--ease); }
.week-table tbody tr:hover { background: var(--paper-2); }
.week-table td:first-child {
  white-space: nowrap; font-family: var(--serif); font-weight: 600; color: var(--pcolor);
}

.chip-list { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line-2); border-radius: 2px;
  padding: 6px 13px; font-size: 12px; color: var(--ink-2); letter-spacing: -0.005em;
}
.effect-list { display: grid; gap: 10px; }
.effect-list li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 13px; color: var(--ink-2); line-height: 1.8;
}
.effect-list li::before {
  content: ''; flex: 0 0 auto; width: 4px; height: 4px; border-radius: 50%;
  background: var(--pcolor, var(--brass)); margin-top: 9px;
}

.side-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 2px; padding: 0 28px 28px;
  box-shadow: 0 30px 56px -50px rgba(20, 19, 15, 0.55);
}
.side-card h4 {
  font-size: 11px; font-weight: 700; margin: 0 -28px 18px;
  padding: 18px 28px 14px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
  border-bottom: 1px solid var(--line); background: var(--paper-2);
  font-family: var(--sans);
}
.side-card:hover h4 { color: var(--ink-2); }
.side-meta { display: grid; gap: 0; font-size: 13px; }
.side-meta div {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.side-meta div:last-child { border-bottom: none; padding-bottom: 0; }
.side-meta dt { color: var(--ink-3); letter-spacing: -0.005em; }
.side-meta dd { margin: 0; font-weight: 600; text-align: right; }

/* -------------------------------- 폼 ---------------------------------- */
.form-layout { display: grid; grid-template-columns: 1.38fr 1fr; gap: 52px; align-items: start; }
.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 2px; padding: 42px 40px;
  box-shadow: 0 34px 64px -58px rgba(20, 19, 15, 0.5);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; }
.field > label {
  display: block; font-size: 11.5px; font-weight: 700; margin-bottom: 8px;
  color: var(--ink); letter-spacing: 0.015em;
}
.field .req { color: var(--clay); margin-left: 2px; }
.field .hint, .hint { font-size: 11px; color: var(--ink-3); margin-top: 7px; line-height: 1.72; }
.hint.center { text-align: center; }
.side-card .hint { font-size: 11.5px; color: var(--ink-3); }

.input, .select, .textarea {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--white); font-size: 14.5px; color: var(--ink);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-3); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(20, 19, 15, 0.06);
}
.textarea { min-height: 110px; resize: vertical; line-height: 1.75; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath fill='none' stroke='%237c766b' stroke-width='1.3' d='M1 1l4.5 4.5L10 1'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px;
}

.file-input {
  padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: var(--r);
  background: var(--paper-2); width: 100%; font-size: 13px; color: var(--ink-2);
}
.file-input::file-selector-button {
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  padding: 7px 14px; margin-right: 12px; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--white); color: var(--ink);
  transition: border-color 0.18s var(--ease);
}
.file-input::file-selector-button:hover { border-color: var(--ink); }

.radio-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.radio-opt { position: relative; }
.radio-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-opt span {
  display: block; text-align: center; padding: 12px 10px;
  border: 1px solid var(--line-2); border-radius: var(--r);
  font-size: 13px; background: var(--white); color: var(--ink-2);
  transition: all 0.18s var(--ease); cursor: pointer; line-height: 1.5;
}
.radio-opt span:hover { border-color: var(--ink-3); }
.radio-opt input:checked + span {
  border-color: var(--ink); background: var(--ink); color: var(--white); font-weight: 600;
}
.radio-opt input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }

.check-line {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.check-line input {
  margin-top: 4px; width: 16px; height: 16px; accent-color: var(--ink); flex: 0 0 auto;
}
.check-line span { font-weight: 600; }

.alert {
  padding: 16px 20px; border-radius: var(--r); font-size: 13.5px;
  margin-bottom: 26px; line-height: 1.75; border-left-width: 2px; border-left-style: solid;
}
.alert strong { font-weight: 700; }
.alert-ok { background: var(--forest-soft); border-left-color: var(--forest); color: var(--forest-2); }
.alert-err { background: var(--clay-soft); border-left-color: var(--clay); color: #7e3a26; }
.alert-info { background: var(--brass-soft); border-left-color: var(--brass); color: #6c511f; }

.aside-note {
  background: transparent; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 32px 30px;
}
.aside-note {
  background: rgba(255, 255, 255, 0.6); border: 1px solid var(--line);
  border-radius: 2px; padding: 0 26px 26px;
}
.aside-note h4 {
  font-size: 11px; font-weight: 700; margin: 0 -26px 18px;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3);
  display: flex; align-items: center; gap: 8px;
  padding: 17px 26px 13px; border-bottom: 1px solid var(--line);
  background: var(--paper-2); font-family: var(--sans);
}
.aside-note ol { counter-reset: n; display: grid; gap: 15px; padding-top: 4px; }
.aside-note ol li {
  counter-increment: n; display: grid; grid-template-columns: 22px 1fr; gap: 11px;
  font-size: 12px; color: var(--ink-2); line-height: 1.78;
}
.aside-note ol li::before {
  content: counter(n, decimal-leading-zero);
  font-family: var(--latin); font-weight: 700; font-size: 10.5px;
  color: var(--brass); padding-top: 3px; letter-spacing: 0.06em;
}
.aside-contact {
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 12.5px; display: grid; gap: 7px;
}
.aside-contact a {
  font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; letter-spacing: -0.01em;
}
.aside-contact a:hover { color: var(--brass); }

/* -------------------------------- 로그인 -------------------------------- */
.auth-wrap {
  min-height: calc(100vh - 120px); display: grid; place-items: center;
  padding: 72px 24px; background: var(--paper-2);
  position: relative; overflow: hidden;
}
.auth-wrap::before {
  content: ''; position: absolute; right: -160px; top: -160px;
  width: 460px; height: 460px; border-radius: 50%;
  border: 1px solid var(--line-2); opacity: 0.35;
}
.auth-card {
  position: relative; width: 100%; max-width: 420px; background: var(--white);
  border: 1px solid var(--line); border-radius: 2px;
  padding: 42px 38px 38px;
  box-shadow: 0 40px 72px -60px rgba(20, 19, 15, 0.6);
}
.auth-card::before {
  content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px;
  background: linear-gradient(90deg, var(--brass), rgba(141, 108, 52, 0.08) 70%, transparent);
}
.auth-card h1 { font-size: 22px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.04em; }
.auth-card .sub { color: var(--ink-3); font-size: 13px; margin-bottom: 28px; line-height: 1.72; }
.demo-accounts {
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--ink-3); line-height: 2;
}
.demo-accounts strong { color: var(--ink-2); }
.demo-accounts code {
  background: var(--paper-2); padding: 2px 7px; border-radius: 2px;
  font-size: 11px; color: var(--ink-2); border: 1px solid var(--line);
}

/* --------------------------------- 유틸 --------------------------------- */
.muted { color: var(--ink-3); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 10px; } .mt-3 { margin-top: 18px; } .mt-4 { margin-top: 26px; } .mt-5 { margin-top: 38px; }
.mb-0 { margin-bottom: 0; } .mb-3 { margin-bottom: 18px; } .mb-4 { margin-bottom: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.divider { height: 1px; background: var(--line); margin: 60px 0; }

.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line);
}
.stat-cell { padding: 24px 20px 22px 0; border-right: 1px solid var(--line); }
.stat-cell:last-child { border-right: none; }
.stat-cell:not(:first-child) { padding-left: 20px; }
.stat-cell b {
  display: block; font-family: var(--serif); font-size: 25px; font-weight: 500;
  color: var(--ink); line-height: 1.2; letter-spacing: -0.035em;
}
.stat-cell span { display: block; margin-top: 5px; font-size: 11px; color: var(--ink-3); letter-spacing: 0.02em; }

.quote-block {
  position: relative; border-left: 2px solid var(--brass); padding: 6px 0 6px 26px;
  font-family: var(--serif); font-size: 18px; line-height: 1.8; color: var(--ink);
  font-weight: 400; letter-spacing: -0.03em;
}
.quote-block cite {
  display: block; margin-top: 16px; font-family: var(--sans); font-size: 10.5px;
  font-style: normal; color: var(--ink-3); letter-spacing: 0.13em; text-transform: uppercase;
  font-weight: 700;
}

/* 포털 내비 (구 스타일 호환) */
.portal-nav {
  display: flex; position: static; transform: none; background: none;
  border: none; box-shadow: none; padding: 0; flex-direction: row; gap: 2px;
}
.portal-nav a { font-size: 13.5px; }

/* -------------------------------- 반응형 -------------------------------- */
@media (max-width: 1080px) {
  .wrap { padding: 0 28px; }
  .hero { padding: 84px 0 74px; }
  .hero > .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero-panel { max-width: 620px; }
  .detail-hero, .form-layout, .two-col { grid-template-columns: 1fr; gap: 44px; }
  .diff-item { padding: 30px 20px 28px; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-item:nth-child(2n) { border-right: none; }
  .process-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .program-grid { grid-template-columns: 1fr; }
  .story-grid, .gallery-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--paper); padding: 14px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px -24px rgba(20, 19, 15, 0.28);
    transform: translateY(-130%); transition: transform 0.32s var(--ease);
  }
  .nav.open { transform: none; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a::after { display: none; }
  .nav a.nav-cta {
    margin: 16px 0 0; text-align: center; border-bottom: none; padding: 14px 20px;
  }
  .nav-toggle { display: inline-flex; }
  .topbar { display: none; }
  .hero { padding: 60px 0 56px; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 20px; }
  .section { padding: 64px 0; }
  .section.tight { padding: 50px 0; }
  .section-head { margin-bottom: 36px; }
  .site-header .wrap { min-height: 66px; }
  .nav { inset: 66px 0 auto 0; }
  .brand-mark { width: 33px; height: 33px; font-size: 13px; }
  .brand-mark::after { inset: 4px; }
  .brand-name { font-size: 16.5px; }
  .brand-sub { font-size: 9px; letter-spacing: 0.16em; }

  .hero h1 { font-size: clamp(29px, 8vw, 39px); letter-spacing: -0.045em; }
  .hero-lead { font-size: 15px; }
  .hero-actions { margin-top: 30px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { gap: 0; margin-top: 36px; }
  .hero-stat { flex: 1 1 50%; padding: 16px 16px 0 0; margin-right: 0; border-right: none; }
  .hero-stat:nth-child(even) { padding-right: 0; }
  .hero-stat:nth-child(n + 3) { margin-top: 12px; }
  .hero-stat b { font-size: 21px; }
  .hero-stat span { font-size: 10px; }

  .hero-quote { padding: 28px 22px 24px; }
  .hero-quote p { font-size: 18.5px; }
  .hero-index { padding: 0 22px 12px; }
  .hero-panel-foot { padding: 12px 22px; font-size: 10px; flex-wrap: wrap; gap: 6px; }

  .diff-grid, .process-list, .story-grid, .gallery-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .diff-item, .process-item { border-right: none; }
  .diff-item + .diff-item, .process-item + .process-item { border-top: 1px solid var(--line); }
  .stat-row { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--line); padding: 18px 0; }
  .stat-cell:not(:first-child) { padding-left: 0; }
  .stat-cell:last-child { border-bottom: none; }
  .cta-band { padding: 36px 24px; border-radius: 2px; }
  .form-card { padding: 28px 20px; }
  .aside-note { padding: 0 20px 20px; }
  .aside-note h4 { margin: 0 -20px 16px; padding: 15px 20px 12px; }
  .side-card { padding: 0 20px 20px; }
  .side-card h4 { margin: 0 -20px 16px; padding: 15px 20px 12px; }
  .form-row, .radio-group { grid-template-columns: 1fr; gap: 0; }
  .form-row .field:first-child { margin-bottom: 22px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .flow-step { grid-template-columns: 1fr; gap: 5px; }
  .flow-step .fs-step { padding-top: 0; }
  .page-head { padding: 48px 0 40px; }
  .page-head .desc { padding-left: 15px; font-size: 14.5px; }
  .page-head::after { width: 300px; height: 300px; right: -140px; }
  .program-card { padding: 28px 22px 24px; }
  .program-card h3 { font-size: 22px; }
  .week-table th:nth-child(n + 3), .week-table td:nth-child(n + 3) { display: none; }
}

@media print {
  .site-header, .topbar, .site-footer, .cta-band, .nav-toggle, .hero-index { display: none; }
  body { background: #fff; }
}

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