/* =========================================================
   손글씨 강조 서체 — 온글잎 오케이티콘 (자체 호스팅 · 서브셋)
   페이지에 쓰이는 글자만 담아 woff2 로 변환했습니다.
   문구를 크게 바꿀 때는 assets/fonts/README.md 의 재생성 방법을 참고하세요.
   ========================================================= */
@font-face {
  font-family: "Okticon";
  src: url("assets/fonts/okticon-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Okticon";
  src: url("assets/fonts/okticon-bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* =========================================================
   익힘 (Ikhim) — 랜딩 페이지 스타일
   팔레트는 브랜드 로고에서 추출: 종이 #F4F5F1 / 테라코타 #AB612D
   / 잉크 #1F323C / 그린 #3F6C53
   ========================================================= */

:root {
  --paper: #F4F5F1;
  --paper-2: #ECEBE3;
  --paper-3: #E1E0D6;
  --ink: #1F323C;
  --ink-2: #2A414C;
  --ink-3: #3C555F;
  --terra: #AB612D;
  --terra-dark: #8E4E21;
  --terra-text: #8E4E21; /* 작은 글씨용 (대비 5.3:1 이상) */
  --terra-soft: #C9843F;
  --green: #3F6C53;
  --text: #1F323C;
  --text-muted: #4E6068;
  --text-on-dark: rgba(244, 245, 241, 0.78);
  --line: rgba(31, 50, 60, 0.12);
  --shadow-sm: 0 2px 8px rgba(31, 50, 60, 0.06);
  --shadow-md: 0 14px 34px -18px rgba(31, 50, 60, 0.42);
  --shadow-lg: 0 34px 70px -32px rgba(31, 50, 60, 0.55);
  --radius: 18px;
  --radius-lg: 26px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 0.75, 0.3, 1);
  --font-hand: "Nanum Pen Script", "Yomogi", "Gaegu", "Pretendard Variable", Pretendard, cursive;
  --font-script: "Okticon", "Nanum Pen Script", "Yomogi", cursive;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: -0.015em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.3; font-weight: 800; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }

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

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px;
}
.skip-link:focus { top: 14px; }

.shell { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.shell-narrow { max-width: 820px; }
.dot { opacity: 0.45; margin: 0 2px; }

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

/* ── 버튼 ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-size: 16px; font-weight: 700; letter-spacing: -0.02em; cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--terra); color: #FFF9F3; box-shadow: 0 12px 26px -14px rgba(171, 97, 45, 0.9); }
.btn-primary:hover { background: var(--terra-dark); }
.btn-ghost { border-color: rgba(244, 245, 241, 0.38); color: var(--paper); }
.btn-ghost:hover { background: rgba(244, 245, 241, 0.1); border-color: rgba(244, 245, 241, 0.7); }
.btn-outline { border-color: rgba(31, 50, 60, 0.28); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: rgba(31, 50, 60, 0.05); }
.btn-sm { padding: 11px 20px; font-size: 15px; }
.btn-lg { padding: 18px 40px; font-size: 18px; }
.btn-block { display: flex; width: 100%; }

/* ── 헤더 ────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.header-inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 19px; font-weight: 800; letter-spacing: -0.04em; color: var(--paper); transition: color 0.3s; }
.brand-text em { font-style: normal; font-size: 11px; letter-spacing: 0.06em; color: rgba(244,245,241,0.6); transition: color 0.3s; }

.site-nav { display: flex; gap: 26px; }
.site-nav a {
  font-size: 15.5px; font-weight: 600; color: rgba(244, 245, 241, 0.82);
  transition: color 0.2s; padding: 6px 0;
}
.site-nav a:hover { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.site-header.is-stuck {
  background: rgba(244, 245, 241, 0.88);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -24px rgba(31, 50, 60, 0.7);
}
.site-header.is-stuck .brand-text strong { color: var(--ink); }
.site-header.is-stuck .brand-text em { color: var(--text-muted); }
.site-header.is-stuck .site-nav a { color: var(--text-muted); }
.site-header.is-stuck .site-nav a:hover { color: var(--ink); }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 0; border-radius: 12px;
  background: rgba(244, 245, 241, 0.12); cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--paper); border-radius: 2px; transition: transform 0.25s, opacity 0.2s; }
.site-header.is-stuck .nav-toggle { background: rgba(31, 50, 60, 0.08); }
.site-header.is-stuck .nav-toggle span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 히어로 ──────────────────────────────────────────── */
.hero {
  position: relative; background: var(--ink); color: var(--paper);
  padding-top: calc(var(--header-h) + 48px); overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto 40%; height: 120%;
  background: radial-gradient(52% 52% at 50% 40%, rgba(171, 97, 45, 0.34), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -12%; bottom: -30%; width: 60%; height: 80%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(63, 108, 83, 0.3), transparent 72%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 40px; align-items: end;
  padding-bottom: 20px;
}
.hero-copy { padding-bottom: 58px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  color: #E9B888; border: 1px solid rgba(233, 184, 136, 0.34);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 26px;
  background: rgba(171, 97, 45, 0.16);
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.28; margin-bottom: 26px;
}
.hero h1 .hl { color: #E9B888; }
.hero-lead { font-size: clamp(1rem, 1.6vw, 1.16rem); color: var(--text-on-dark); line-height: 1.85; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 20px; font-size: 14px; color: rgba(244, 245, 241, 0.62); }

.hero-visual { position: relative; align-self: end; }
.hero-photo { position: relative; max-width: 460px; margin: 0 0 0 auto; }
.hero-photo img {
  width: 100%; filter: grayscale(1) contrast(1.08) brightness(0.96);
  -webkit-mask-image: radial-gradient(50% 62% at 52% 42%, #000 38%, rgba(0, 0, 0, 0.5) 70%, transparent 97%);
  mask-image: radial-gradient(50% 62% at 52% 42%, #000 38%, rgba(0, 0, 0, 0.5) 70%, transparent 97%);
  mix-blend-mode: luminosity;
}
/* ── 손글씨 ─────────────────────────────────────────── */
.script {
  font-family: var(--font-script); font-weight: 700; letter-spacing: 0.005em;
}
.hand {
  font-family: var(--font-hand); font-weight: 400;
  font-size: 1.32em; letter-spacing: 0.01em; line-height: 1;
  position: relative; top: 0.06em;
}

.photo-caption {
  position: absolute; right: 6%; bottom: 6%; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  font-family: var(--font-hand); line-height: 1.3; text-align: right;
  transform: rotate(-4deg); transform-origin: right bottom;
  font-size: clamp(1.75rem, 2.4vw, 2.3rem);   /* 서명 기준 크기 */
  color: #E3E1DB;                              /* 흰색보다 살짝 어둡게 */
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}
.photo-quote { font-size: 0.42em; color: #D2D1CA; letter-spacing: 0.01em; }
.photo-sign { position: relative; display: inline-block; font-size: 1em; }
.photo-sign::after {
  content: ""; position: absolute; left: 4%; right: -6%; bottom: -0.14em; height: 2px;
  background: linear-gradient(to right, transparent, rgba(222, 219, 212, 0.9) 22%, rgba(222, 219, 212, 0.55) 78%, transparent);
  border-radius: 2px;
}
.teacher-photo .photo-caption, .profile-photo .photo-caption {
  right: 7%; bottom: 5%; font-size: clamp(1.5rem, 2vw, 1.95rem);
}

.float-card {
  position: absolute; margin: 0; padding: 13px 18px; border-radius: 14px;
  background: rgba(246, 245, 240, 0.56); color: var(--ink);
  -webkit-backdrop-filter: saturate(160%) blur(13px); backdrop-filter: saturate(160%) blur(13px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; line-height: 1.35;
  max-width: 218px; animation: floaty 6s ease-in-out infinite;
}
.float-card strong { font-size: 14px; font-weight: 800; letter-spacing: -0.03em; }
.float-card span { font-size: 12px; color: var(--terra-text); font-weight: 700; }
.float-card-a { left: -6px; top: 22%; }
.float-card-b { right: -4px; bottom: 30%; animation-delay: 1.6s; }
.float-card-c { left: 2px; bottom: 9%; animation-delay: 3.1s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.hero-strip { position: relative; z-index: 1; border-top: 1px solid rgba(244, 245, 241, 0.14); background: rgba(0, 0, 0, 0.14); }
.strip-inner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 14px; padding: 32px 22px; font-weight: 700; letter-spacing: -0.02em;
}
.strip-inner span { color: var(--paper); font-size: 16px; }
.strip-inner i { color: var(--terra-soft); font-style: normal; font-size: 15px; }

/* ── 섹션 공통 ───────────────────────────────────────── */
.section { padding: clamp(74px, 9vw, 122px) 0; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.kicker {
  font-size: 13.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--terra-text); margin-bottom: 14px;
}
.section h2 { font-size: clamp(1.75rem, 3.5vw, 2.7rem); line-height: 1.34; }
.section-lead { margin-top: 20px; font-size: clamp(1rem, 1.4vw, 1.1rem); color: var(--text-muted); }

/* ── 문제 제기 ───────────────────────────────────────── */
.problem { background: var(--paper-2); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card-num {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 0.1em;
  color: var(--terra-text); margin-bottom: 16px;
}
.card h3 { font-size: 1.22rem; margin-bottom: 12px; line-height: 1.45; }
.card p { color: var(--text-muted); font-size: 15.6px; }

.pull-quote {
  margin-top: 56px; text-align: center; font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  font-weight: 700; line-height: 1.6; letter-spacing: -0.035em;
}
.pull-quote strong { color: var(--terra); font-weight: 800; }

/* ── 러닝루프 ────────────────────────────────────────── */
.loop-grid { display: grid; grid-template-columns: minmax(260px, 400px) 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.loop-diagram svg { width: 100%; height: auto; overflow: visible; }
.loop-diagram .seg { fill: none; stroke-width: 15; stroke-linecap: round; stroke-dasharray: 117 587; }
.loop-diagram .seg1 { stroke: var(--terra); transform: rotate(15deg); }
.loop-diagram .seg2 { stroke: var(--green); transform: rotate(105deg); }
.loop-diagram .seg3 { stroke: var(--ink); transform: rotate(195deg); }
.loop-diagram .seg4 { stroke: var(--terra-soft); transform: rotate(285deg); }
.loop-diagram .seg { transform-origin: 160px 160px; }
.loop-diagram .node { animation: pulse 4.4s var(--ease) infinite; transform-origin: center; }
.loop-diagram .node1 { fill: var(--terra); }
.loop-diagram .node2 { fill: var(--green); animation-delay: 1.1s; }
.loop-diagram .node3 { fill: var(--ink); animation-delay: 2.2s; }
.loop-diagram .node4 { fill: var(--terra-soft); animation-delay: 3.3s; }
@keyframes pulse { 0%, 72%, 100% { opacity: 1; } 36% { opacity: 0.78; } }
.loop-diagram .node-label {
  fill: #FFF9F3; font-size: 14px; font-weight: 700; letter-spacing: -0.03em;
  text-anchor: middle; dominant-baseline: central;
}
.loop-diagram .ring-center-top, .loop-diagram .ring-center-bottom {
  fill: var(--ink); font-size: 27px; font-weight: 800; letter-spacing: -0.05em; text-anchor: middle;
}
.loop-diagram .ring-center-bottom { fill: var(--terra); }

.loop-steps { display: grid; gap: 14px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: 24px 26px; border-radius: var(--radius); background: var(--paper-2);
  border: 1px solid transparent; transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.step:hover { background: var(--paper); border-color: var(--line); transform: translateX(5px); }
.step-num {
  font-size: 14px; font-weight: 800; color: var(--paper); background: var(--ink);
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
}
.step:nth-child(1) .step-num { background: var(--terra); }
.step:nth-child(2) .step-num { background: var(--green); }
.step:nth-child(4) .step-num { background: var(--terra-soft); }
.step h3 { font-size: 1.14rem; margin-bottom: 8px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.step p { color: var(--text-muted); font-size: 15.6px; }

.chip {
  font-style: normal; font-size: 11.5px; font-weight: 800; letter-spacing: 0.01em;
  padding: 4px 11px; border-radius: 999px; white-space: nowrap;
}
.chip-ok { background: rgba(63, 108, 83, 0.14); color: var(--green); }
.chip-warn { background: rgba(171, 97, 45, 0.14); color: var(--terra-text); }
.chip-soon { background: rgba(31, 50, 60, 0.09); color: var(--text-muted); }

.loop-foot {
  margin-top: 54px; padding: 28px 32px; border-left: 4px solid var(--terra);
  background: var(--paper-2); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
}

/* ── 차별점 ──────────────────────────────────────────── */
.why { background: var(--paper-2); }
.card-accent h3.script {
  font-size: clamp(1.32rem, 2vw, 1.58rem); line-height: 1.5; margin-bottom: 12px;
}
.card-accent p {
  font-family: var(--font-script); font-weight: 400;
  font-size: clamp(1rem, 1.3vw, 1.1rem); line-height: 1.75; letter-spacing: 0;
}
.card-accent p strong { font-weight: 700; }
.card-accent .icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
}
.card-accent .icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-terra { background: rgba(171, 97, 45, 0.13); color: var(--terra); }
.icon-green { background: rgba(63, 108, 83, 0.13); color: var(--green); }
.icon-ink { background: rgba(31, 50, 60, 0.09); color: var(--ink); }
.card-accent strong { color: var(--ink); font-weight: 800; }

/* ── 강사 소개 ───────────────────────────────────────── */
.teacher { background: var(--ink); color: var(--paper); }
.teacher .kicker { color: var(--terra-soft); }
.teacher-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.teacher-photo { position: relative; }
.teacher-photo::before {
  content: ""; position: absolute; inset: 22px -18px -20px 24px;
  border: 2px solid rgba(201, 132, 63, 0.5); border-radius: var(--radius-lg);
}
.teacher-photo img {
  position: relative; z-index: 1; border-radius: var(--radius-lg); filter: grayscale(1) contrast(1.05);
  box-shadow: var(--shadow-lg);
}
.teacher h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 22px; }
.teacher-lead {
  font-family: var(--font-script); font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.62rem); line-height: 1.65; color: #E9B888; padding-bottom: 30px; margin-bottom: 30px;
  border-bottom: 1px solid rgba(244, 245, 241, 0.16);
}
.teacher-list { display: grid; gap: 22px; }
.teacher-list li { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.teacher-list span {
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; color: var(--terra-soft);
  border: 1px solid rgba(201, 132, 63, 0.4); border-radius: 8px; padding: 4px 9px; margin-top: 4px;
}
.teacher-list p { color: var(--text-on-dark); font-size: 15.8px; }
.teacher-list strong { color: var(--paper); font-size: 1.06rem; font-weight: 700; }

/* ── 추천 대상 ───────────────────────────────────────── */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.check-grid li {
  display: flex; align-items: flex-start; gap: 14px; padding: 20px 24px;
  background: var(--paper-2); border-radius: var(--radius); font-size: 16.2px; font-weight: 500;
}
.check-grid li::before {
  content: "✓"; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 14px; font-weight: 800;
  display: grid; place-items: center; margin-top: 2px;
}
.check-grid strong { color: var(--terra); font-weight: 800; }

/* ── 커리큘럼 ────────────────────────────────────────── */
.curriculum { background: var(--paper-2); }
.road { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.road-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.road-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.road-item h3 { font-size: 1.14rem; margin: 14px 0 8px; }
.road-item p { color: var(--text-muted); font-size: 15.2px; }

/* ── 이용권 ──────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px;
}
.plan-live { background: var(--paper); border: 2px solid var(--terra); box-shadow: var(--shadow-md); }
.plan-tag {
  align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: 0.02em;
  background: var(--terra); color: #FFF9F3; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.plan-tag-soon { background: rgba(31, 50, 60, 0.1); color: var(--text-muted); }
.plan h3 { font-size: 1.2rem; margin-bottom: 12px; }
.plan-price { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1.2; margin-bottom: 24px; }
.plan-price em { font-style: normal; font-size: 1.1rem; font-weight: 700; margin-left: 3px; }
.plan ul { display: grid; gap: 11px; margin-bottom: 30px; }
.plan li { position: relative; padding-left: 22px; font-size: 15.4px; color: var(--text-muted); }
.plan li::before {
  content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--terra);
}
.plan .btn { margin-top: auto; }
.plan-note {
  margin-top: 30px; font-size: 14.4px; color: var(--text-muted); line-height: 1.85;
  padding: 22px 26px; background: var(--paper-2); border-radius: var(--radius);
}
.plan-note strong { color: var(--ink); }

/* ── FAQ ─────────────────────────────────────────────── */
.faq { background: var(--paper-2); }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow 0.3s;
}
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 26px; font-size: 1.05rem; font-weight: 700; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: 0 0 auto; width: 13px; height: 13px;
  border-right: 2.4px solid var(--terra); border-bottom: 2.4px solid var(--terra);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq-body { padding: 0 26px 26px; color: var(--text-muted); font-size: 15.8px; }

/* ── 마지막 CTA ──────────────────────────────────────── */
.final-cta {
  background: var(--ink); color: var(--paper); text-align: center;
  padding: clamp(78px, 9vw, 122px) 0; position: relative; overflow: hidden;
}
.final-cta::before {
  content: ""; position: absolute; inset: auto 0 -55% 0; height: 110%;
  background: radial-gradient(45% 55% at 50% 50%, rgba(171, 97, 45, 0.32), transparent 70%);
}
.final-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final-inner img { width: 66px; height: 66px; border-radius: 18px; margin-bottom: 26px; }
.final-cta h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.38; margin-bottom: 18px; }
.final-cta p { color: var(--text-on-dark); max-width: 560px; margin-bottom: 34px; }
.final-note { margin-top: 16px; font-size: 13.6px; color: rgba(244, 245, 241, 0.5); }

/* ── 푸터 ────────────────────────────────────────────── */
.site-footer { background: #182831; color: rgba(244, 245, 241, 0.62); padding: 66px 0 40px; font-size: 15px; }
.footer-brand { display: flex; gap: 18px; align-items: flex-start; max-width: 720px; margin-bottom: 40px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto; }
.footer-brand strong { color: var(--paper); font-weight: 800; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; padding: 28px 0; border-top: 1px solid rgba(244, 245, 241, 0.12); }
.footer-links a { font-weight: 600; transition: color 0.2s; }
.footer-links a:hover { color: var(--paper); }
.footer-legal { font-size: 13.6px; color: rgba(244, 245, 241, 0.42); }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; }
.footer-legal .sep { margin: 0 8px; opacity: 0.4; }

/* ── 모바일 하단 CTA ─────────────────────────────────── */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: none;
  align-items: center; gap: 14px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(244, 245, 241, 0.95); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); transform: translateY(105%); transition: transform 0.35s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta-text { display: flex; flex-direction: column; line-height: 1.3; margin-right: auto; }
.mobile-cta-text strong { font-size: 15px; font-weight: 800; }
.mobile-cta-text span { font-size: 12.5px; color: var(--text-muted); }

/* ── 반응형 ──────────────────────────────────────────── */
@media (max-width: 1040px) {
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 14.5px; }
  .float-card-a { left: -10px; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--ink); padding: 8px 22px 22px; transform: translateY(-120%);
    transition: transform 0.35s var(--ease); box-shadow: var(--shadow-lg);
  }
  .site-nav.is-open { transform: none; }
  .site-nav a { padding: 15px 0; border-bottom: 1px solid rgba(244, 245, 241, 0.1); color: rgba(244,245,241,0.85); }
  .site-header.is-stuck .site-nav a { color: rgba(244, 245, 241, 0.85); }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }

  .hero-inner { grid-template-columns: 1fr; gap: 6px; }
  .hero-copy { padding-bottom: 8px; }
  .hero-photo { max-width: 300px; margin: 0 auto; }
  .hero-visual { margin-top: 8px; }
  .float-card-a { left: 0; top: 10%; }
  .float-card-b { right: 0; bottom: 34%; }
  .float-card-c { left: 0; bottom: 6%; max-width: 186px; }

  .cards-3, .road, .plans { grid-template-columns: 1fr; }
  .loop-grid { grid-template-columns: 1fr; gap: 40px; }
  .loop-diagram { max-width: 330px; margin: 0 auto; }
  .teacher-inner { grid-template-columns: 1fr; }
  .teacher-photo { max-width: 380px; }
  .teacher-photo::before { inset: 18px -12px -14px 18px; }
  .check-grid { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; }
  .site-footer { padding-bottom: 104px; }
}

@media (max-width: 560px) {
  .shell { padding: 0 18px; }
  .hero { padding-top: calc(var(--header-h) + 34px); }
  .hero-cta .btn { flex: 1 1 100%; }
  .strip-inner { gap: 10px; padding: 26px 18px; font-size: 14px; }
  .strip-inner span { font-size: 14.5px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 38px; }
  .card, .plan { padding: 28px 24px; }
  .step { padding: 20px; gap: 14px; }
  .photo-caption { font-size: 1.55rem; right: 5%; bottom: 5%; }
  .float-card { padding: 9px 13px; }
  .float-card-a { left: -6px; top: 12%; }
  .float-card-b { right: -6px; bottom: 30%; }
  .float-card strong { font-size: 12.5px; }
  .loop-foot { padding: 22px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   쇼타쌤 소개 페이지 (teacher.html)
   ========================================================= */

/* ── 프로필 히어로 ───────────────────────────────────── */
.profile-hero {
  position: relative; background: var(--ink); color: var(--paper);
  padding: calc(var(--header-h) + 66px) 0 84px; overflow: hidden;
}
.profile-hero::before {
  content: ""; position: absolute; inset: -30% -20% auto -10%; height: 130%;
  background: radial-gradient(45% 45% at 28% 42%, rgba(171, 97, 45, 0.3), transparent 70%);
  pointer-events: none;
}
.profile-hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(34px, 5vw, 70px); align-items: center;
}
.profile-photo { position: relative; }
.profile-photo::before {
  content: ""; position: absolute; inset: 20px -16px -18px 22px;
  border: 2px solid rgba(201, 132, 63, 0.5); border-radius: var(--radius-lg);
}
.profile-photo img {
  position: relative; z-index: 1; border-radius: var(--radius-lg);
  filter: grayscale(1) contrast(1.05); box-shadow: var(--shadow-lg);
}
.profile-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 22px;
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px;
}
.name-en {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem); font-weight: 500; letter-spacing: 0.04em;
  color: rgba(244, 245, 241, 0.45);
}
.profile-tagline {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem); line-height: 1.8; color: var(--text-on-dark);
  padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid rgba(244, 245, 241, 0.16);
}
.profile-tagline strong { color: #E9B888; font-weight: 700; }

.profile-facts { display: grid; gap: 14px; margin-bottom: 32px; }
.profile-facts li { display: grid; grid-template-columns: 62px 1fr; gap: 16px; align-items: baseline; }
.profile-facts span {
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.04em; color: var(--terra-soft);
}
.profile-facts p { color: var(--text-on-dark); font-size: 15.8px; }

.profile-sns { display: flex; flex-wrap: wrap; gap: 10px; }
.sns-btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 999px;
  border: 1.5px solid rgba(244, 245, 241, 0.3); font-size: 15px; font-weight: 700; color: var(--paper);
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.sns-btn:hover { background: rgba(244, 245, 241, 0.1); border-color: rgba(244, 245, 241, 0.65); transform: translateY(-2px); }
.sns-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }

/* ── 인물 소개 본문 ──────────────────────────────────── */
.bio-body { display: grid; gap: 20px; }
.bio-body p { font-size: clamp(1rem, 1.4vw, 1.08rem); color: var(--text-muted); line-height: 1.95; }
.bio-body blockquote {
  margin: 14px 0 0; padding: 26px 30px; border-left: 4px solid var(--terra);
  background: var(--paper-2); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-script); font-weight: 700;
  font-size: clamp(1.26rem, 1.9vw, 1.55rem); line-height: 1.65; color: var(--ink);
}

/* ── 학력 · 경력 ─────────────────────────────────────── */
/* ── 저서 (표지 이미지) ─────────────────────────────── */
.book-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: start; }
.book { display: flex; flex-direction: column; }
.book-link { display: flex; flex-direction: column; color: inherit; }
.book-link h3 { transition: color 0.2s; }
.book-link:hover h3 { color: var(--terra-text); text-decoration: underline; text-underline-offset: 3px; }
.lead-hint { font-size: 14.4px; color: var(--terra-text); }
.book-feature {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 4vw, 56px);
  align-items: center; padding: 34px 36px; margin-bottom: 34px;
  background: var(--paper-2); border-radius: var(--radius-lg);
}
.book-feature-text h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.45; }
.book-feature-text .book-sub { font-size: 15.2px; line-height: 1.8; margin-top: 12px; }
.book-note { display: block; margin-top: 6px; font-style: normal; color: var(--terra-text); font-size: 14.4px; }
.book-stack { display: flex; align-items: flex-end; }
.book-stack .book-cover { width: 31%; flex: 0 0 auto; }
.book-stack .book-cover + .book-cover { margin-left: -8%; }
.book-stack .book-cover[data-label]::after {
  left: auto; right: 10px; max-width: 64%; text-align: right; font-size: 12.5px;
}
.book-stack .book-cover:nth-child(1) { z-index: 4; }
.book-stack .book-cover:nth-child(2) { z-index: 3; }
.book-stack .book-cover:nth-child(3) { z-index: 2; }
.book-stack .book-cover:nth-child(4) { z-index: 1; }
.book-stack .book-cover:hover { transform: translateY(-10px); z-index: 5; box-shadow: var(--shadow-lg); }
.book-sub { color: var(--text-muted); font-size: 13.6px; margin-top: 5px; }
.book-feature .book-cover { box-shadow: 0 18px 32px -16px rgba(31, 50, 60, 0.75); }
.book-more-note {
  margin-top: 28px; color: var(--text-muted); font-size: 14.6px;
  padding-top: 20px; border-top: 1px solid var(--paper-3);
}
a.book-cover { text-decoration: none; }
.book-cover {
  position: relative; aspect-ratio: 3 / 4.1; margin-bottom: 14px;
  border-radius: 3px 9px 9px 3px; overflow: hidden;
  background: linear-gradient(145deg, var(--ink-3), var(--ink));
  box-shadow: 0 14px 26px -14px rgba(31, 50, 60, 0.7);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: grid; place-items: center; padding: 14px 12px 14px 20px;
}
.book:nth-child(4n+1) > .book-cover { background: linear-gradient(145deg, #C07440, var(--terra-dark)); }
.book:nth-child(4n+2) > .book-cover { background: linear-gradient(145deg, #4F7F62, var(--green)); }
.book:nth-child(4n) > .book-cover { background: linear-gradient(145deg, #9A6B45, #6E4423); }
.book-stack .book-cover:nth-child(1) { background: linear-gradient(145deg, #C07440, var(--terra-dark)); }
.book-stack .book-cover:nth-child(2) { background: linear-gradient(145deg, #4F7F62, var(--green)); }
.book-stack .book-cover:nth-child(3) { background: linear-gradient(145deg, #55707D, var(--ink)); }
.book-stack .book-cover:nth-child(4) { background: linear-gradient(145deg, #9A6B45, #6E4423); }
/* 책등 */
.book-cover::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 9px; z-index: 2;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.04));
}
/* 표지 이미지가 없을 때 보이는 제목 */
.book-cover[data-label]::after {
  content: attr(data-label); position: absolute; inset: auto 10px 14px 20px;
  font-size: 13.5px; font-weight: 800; line-height: 1.4; letter-spacing: -0.03em;
  color: rgba(255, 253, 250, 0.96); text-align: left; word-break: keep-all;
}
.book-cover img {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; object-fit: cover;
}
.book:hover > .book-cover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.book-tag {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em;
  color: var(--terra-text); margin-bottom: 5px;
}
.book h3 { font-size: 0.95rem; line-height: 1.5; letter-spacing: -0.03em; }
.book-more .book-cover-more {
  background: none; border: 1.5px dashed var(--paper-3); box-shadow: none;
}
.book-more .book-cover-more span { font-size: 26px; color: var(--text-muted); opacity: 0.6; }
.book-more .book-cover-more::before { display: none; }
.book-more p { color: var(--text-muted); font-size: 13.6px; margin-top: 4px; }

/* ── 링크 모음 ───────────────────────────────────────── */
.profile-links { background: var(--paper-2); }
.link-list { display: grid; gap: 12px; }
.link-list a {
  display: flex; align-items: center; gap: 18px; padding: 20px 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.link-list a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(171, 97, 45, 0.5); }
.link-icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
.link-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-red { background: rgba(196, 48, 43, 0.12); color: #B8352F; }
.link-text { display: flex; flex-direction: column; line-height: 1.45; margin-right: auto; }
.link-text strong { font-size: 1.04rem; font-weight: 700; }
.link-text em { font-style: normal; font-size: 14.2px; color: var(--text-muted); }
.link-arrow { color: var(--terra); font-size: 19px; transition: transform 0.25s var(--ease); }
.link-list a:hover .link-arrow { transform: translateX(4px); }

.back-link {
  margin-top: 22px; font-size: 14.6px; font-weight: 600; color: rgba(244, 245, 241, 0.6);
  transition: color 0.2s;
}
.back-link:hover { color: var(--paper); }

/* ── 랜딩 페이지 강사 섹션의 더보기 영역 ─────────────── */
.teacher-sub {
  font-size: 15px; color: rgba(244, 245, 241, 0.62); margin: -10px 0 22px; line-height: 1.7;
}
.teacher-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.teacher-actions .sns-btn { padding: 10px 17px; font-size: 14.5px; }

@media (max-width: 900px) {
  .profile-hero { padding: calc(var(--header-h) + 40px) 0 62px; }
  .profile-hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .profile-photo { max-width: 240px; margin: 0 auto; }
  .profile-photo::before { inset: 14px -10px -12px 14px; }
  .profile-hero-inner { gap: 30px; }
  .book-grid { grid-template-columns: repeat(3, 1fr); }
  .book-feature { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
}

@media (max-width: 620px) {
  .book-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .book-feature { padding: 22px; }
  .profile-facts li { grid-template-columns: 54px 1fr; gap: 12px; }
  .link-list a { padding: 16px 18px; gap: 14px; }
  .link-icon { width: 40px; height: 40px; border-radius: 12px; }
  .bio-body blockquote { padding: 22px 24px; }
  .sns-btn, .teacher-actions .sns-btn { flex: 1 1 auto; justify-content: center; }
}
