/* ── 강한선배 — Clickity-style 크림 + 파스텔 벤토 ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #FFFFFF;          /* 화이트 배경 */
  --card-cream: #F6F6F4;  /* 아주 옅은 뉴트럴 카드 */
  --ink: #141414;
  --mute: #5E5E5E;
  --faint: #9A9A9A;
  --line: #ECECEC;
  --yellow: #FBD24A;
  --yellow-soft: #FCE49A;
  --mint: #BCE6CB;
  --mint-soft: #D6F0DF;
  --lav: #CAC4F3;
  --lav-soft: #E1DEF9;
  --sky: #BFE1F4;
  --sky-soft: #DCEFFA;
  --purple: #E8552E;        /* 메인 액센트 — 따뜻한 코랄 (AI 보라 대체) */
  --brand-soft: #FBE7DE;    /* 코랄 틴트 칩 배경 */
  --radius: 26px;
  --radius-sm: 16px;
  --shadow: 0 14px 40px -18px rgba(20,20,20,0.20);
  --shadow-sm: 0 6px 20px -10px rgba(20,20,20,0.14);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard Variable','Pretendard',-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
  background: var(--bg); color: var(--ink);
  overflow-x: hidden; word-break: keep-all; -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
a { text-decoration: none; color: inherit; }

/* reveal */
.r { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.r.in { opacity: 1; transform: none; }
.d1 { transition-delay: 90ms; } .d2 { transition-delay: 180ms; }

/* pills */
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 11px 22px; border-radius: 999px; font-size: 14px; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; cursor: pointer; }
.pill svg { width: 15px; height: 15px; }
.pill-dark { background: var(--ink); color: #fff; }
.pill-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(0,0,0,.35); }
.pill-lav { background: var(--lav); color: #2B2350; }
.pill-lav:hover { transform: translateY(-2px); }
.pill.big { padding: 16px 30px; font-size: 16px; }
.logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; background: var(--purple); color: #fff; font-size: 14px; font-weight: 800; margin-right: 8px; }

/* NAV */
nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; }
.nav-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px 10px 22px; box-shadow: var(--shadow-sm); }
.nav-logo { display: flex; align-items: center; font-weight: 900; font-size: 19px; letter-spacing: -.03em; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--mute); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; gap: 8px; }

/* HERO */
.hero { position: relative; max-width: 860px; margin: 0 auto; padding: 150px 28px 56px; text-align: center; }
/* 히어로 데코 (Azuran-style 떠다니는 키워드 + 도형) */
.hero-deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.fp { position: absolute; font-size: 14px; font-weight: 800; padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow-sm); white-space: nowrap; }
.fp-coral { background: var(--purple); color: #fff; }
.fp-mint { background: var(--mint); color: #135B36; }
.fp-yellow { background: var(--yellow); color: #6B4E00; }
.fp-sky { background: var(--sky); color: #134B6B; }
.fp1 { top: 150px; left: -132px; transform: rotate(-8deg); }
.fp2 { top: 96px; right: -150px; transform: rotate(7deg); }
.fp3 { top: 300px; left: -176px; transform: rotate(6deg); }
.fp4 { top: 336px; right: -150px; transform: rotate(-6deg); animation-delay: .8s; }
.fp, .fs { animation: float-y 4.5s ease-in-out infinite; }
.fp2 { animation-delay: .6s; } .fp3 { animation-delay: 1.2s; } .fs-tri { animation-delay: .9s; } .fs-ring { animation-delay: 1.4s; }
@keyframes float-y { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.fs { position: absolute; }
.fs-circle { width: 26px; height: 26px; border-radius: 50%; background: var(--purple); top: 250px; left: -36px; }
.fs-tri { width: 0; height: 0; border-left: 16px solid transparent; border-right: 16px solid transparent; border-bottom: 28px solid var(--yellow); top: 60px; right: -54px; transform: rotate(14deg); }
.fs-ring { width: 34px; height: 34px; border-radius: 50%; border: 7px solid var(--mint); top: 420px; left: 30px; }
.fs-plus { font-size: 30px; font-weight: 800; color: var(--sky); top: 110px; left: 20px; }
@media (max-width: 1120px) { .hero-deco { display: none; } }
.kicker { font-size: 15px; font-weight: 600; color: var(--mute); margin-bottom: 18px; }
.hero-title { font-size: clamp(40px, 7vw, 82px); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; }
.hero-sub { font-size: clamp(15px, 2vw, 18px); color: var(--mute); line-height: 1.7; margin: 26px auto 0; max-width: 600px; }
.lead-bar { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 8px 8px 20px; margin: 36px auto 0; max-width: 620px; box-shadow: var(--shadow); }
.lead-ico { width: 20px; height: 20px; color: var(--faint); flex-shrink: 0; }
.lead-bar input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 15px; background: transparent; color: var(--ink); min-width: 0; }
.lead-bar input::placeholder { color: var(--faint); }
.lead-btn { background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 13px 24px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: transform .2s, box-shadow .2s; }
.lead-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -6px rgba(0,0,0,.3); }
.lead-btn.full { width: 100%; padding: 16px; margin-top: 8px; }
.hero-meta { font-size: 13px; color: var(--faint); margin-top: 16px; }

/* BENTO */
#program { margin-top: 20px; }
.prog-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.prog-intro .sec-title { font-size: clamp(22px,3vw,34px); }
.bento { display: grid; gap: 18px;
  grid-template-columns: 1fr 1.15fr 1fr;
  grid-template-areas: "att men grade" "rep men kakao"; }
.card { border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.c-yellow { background: var(--yellow); } .c-mint { background: var(--mint); } .c-lav { background: var(--lav); } .c-sky { background: var(--sky); } .c-cream { background: var(--card-cream); }
.card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.card-ico { font-size: 20px; }
.card-head h3 { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.card-lead { font-size: 14px; color: rgba(24,19,13,.7); line-height: 1.7; margin-bottom: 16px; }
.card-foot { font-size: 13px; color: rgba(24,19,13,.62); margin-top: 14px; line-height: 1.6; }
.card-cta { margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 700; color: var(--ink); }
.mock { background: #fff; border-radius: var(--radius-sm); padding: 16px; box-shadow: var(--shadow-sm); }
.mock-grow { flex: 1; display: flex; }

/* kakao mock */
.kakao { display: flex; flex-direction: column; gap: 10px; }
.kakao-row { display: flex; gap: 8px; align-items: flex-start; }
.kk-ava { width: 28px; height: 28px; border-radius: 9px; background: var(--purple); color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.kk-bubble { background: #FEE500; color: #1A1611; font-size: 13px; line-height: 1.5; padding: 9px 12px; border-radius: 4px 14px 14px 14px; }
.kk-bubble b { font-weight: 800; }

/* 생활 관리 기록 mock */
.log { display: flex; flex-direction: column; gap: 11px; }
.log-row { display: flex; align-items: center; gap: 10px; }
.log-row p { font-size: 13px; color: var(--ink); line-height: 1.4; }
.log-tag { flex-shrink: 0; font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 7px; white-space: nowrap; }
.log-tag.merit { background: #DCFCE7; color: #15803d; }
.log-tag.patrol { background: #E0EAFF; color: #3954c4; }
.log-tag.ment { background: var(--brand-soft); color: var(--purple); }

/* mentor mock */
.men-photo { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; min-height: 140px; }
.men-chat { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.mc-row { display: flex; flex-direction: column; max-width: 82%; }
.mc-in { align-self: flex-start; align-items: flex-start; }
.mc-out { align-self: flex-end; align-items: flex-end; }
.mc-who { font-size: 11px; font-weight: 700; color: var(--mute); margin: 0 0 3px 4px; }
.mc-bubble { font-size: 13px; line-height: 1.45; padding: 9px 12px; border-radius: 14px; background: var(--mint-soft); color: #135B36; border-bottom-left-radius: 4px; }
.mc-me { background: var(--brand-soft); color: var(--purple); border-radius: 14px; border-bottom-right-radius: 4px; }
.men-ava-stack { display: flex; }
.m-ava { width: 46px; height: 46px; border-radius: 50%; border: 3px solid #fff; margin-left: -12px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 16px; }
.m-ava:first-child { margin-left: 0; }
img.m-ava { object-fit: cover; background: #eee; }
.m-more { background: var(--brand-soft); color: var(--purple); }
.men-tag { font-size: 13px; color: var(--mute); } .men-tag b { color: #1F7A4F; font-weight: 800; }

/* report mock */
.report .rep-ttl { font-size: 12px; font-weight: 700; color: var(--mute); margin-bottom: 12px; }
.rep-row { display: flex; justify-content: space-between; font-size: 14px; padding: 7px 0; border-top: 1px solid #F0ECE0; }
.rep-row:first-of-type { border-top: 0; }
.rep-row b { font-weight: 800; } .up { color: #15803d; }

/* chart mock */
.chart { width: 100%; height: 90px; }
.chart-cap { font-size: 13px; color: var(--mute); margin-top: 8px; text-align: center; }

/* connect */
.connect-btn { margin-top: auto; display: flex; align-items: center; justify-content: space-between; background: #fff; border-radius: 999px; padding: 12px 12px 12px 20px; font-size: 14px; font-weight: 700; box-shadow: var(--shadow-sm); }
.connect-plus { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; }

/* 실적 그리드 */
.proof-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 40px; }
.proof { background: var(--card-cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.proof-ico { font-size: 26px; }
.proof b { font-size: 18px; font-weight: 800; letter-spacing: -.02em; margin: 12px 0 4px; }
.proof p { font-size: 14px; color: var(--mute); }
.uni-cloud { margin-top: 36px; text-align: center; }
.uni-label { display: block; font-size: 13px; font-weight: 700; color: var(--faint); margin-bottom: 18px; }
.uni-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.uni-track { display: flex; align-items: center; width: max-content; gap: 40px; animation: uni-scroll 28s linear infinite; }
.uni-marquee:hover .uni-track { animation-play-state: paused; }
.uni-logo { flex-shrink: 0; height: 38px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .62; transition: filter .25s, opacity .25s; }
.uni-logo:hover { filter: none; opacity: 1; }
.uni-chip { flex-shrink: 0; font-size: 16px; font-weight: 800; color: var(--ink); background: var(--card-cream); border: 1px solid var(--line); padding: 11px 24px; border-radius: 999px; letter-spacing: -.01em; }
@keyframes uni-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .uni-track { animation: none; flex-wrap: wrap; justify-content: center; } }

/* 실적 카드 그리드 (미니 그래픽) */
.proof2 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 40px; }
.pcard { grid-column: span 2; background: var(--card-cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; min-height: 230px; }
.pcard.wide { grid-column: span 3; flex-direction: row; align-items: center; gap: 28px; min-height: 0; }
.pcard h3 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.pcard p { font-size: 14px; color: var(--mute); line-height: 1.6; }
.pcard-left { flex: 1; }
.pg { margin-top: auto; padding-top: 24px; }
.pcard.wide .pg { margin-top: 0; padding-top: 0; flex-shrink: 0; }
/* stack mini card */
.pg-cards { position: relative; height: 96px; }
.mini-card { position: absolute; left: 0; right: 16px; bottom: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-sm); }
.mini-back { top: -8px; left: 16px; right: 4px; bottom: 22px; opacity: .55; }
.mini-ic { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.mini-txt b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.mini-txt span { font-size: 12px; color: var(--mute); }
/* line chart */
.pg-line { width: 100%; height: 90px; display: block; }
.pg-badge { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--mute); }
.pg-badge b { color: var(--purple); font-size: 17px; }
/* donut */
.pg-donut { display: flex; flex-direction: column; align-items: center; }
.donut { width: 116px; height: 116px; }
.pg-cap { font-size: 12.5px; color: var(--mute); margin-top: 10px; font-weight: 600; }
/* 반원 게이지 */
.pg-gauge svg { width: 200px; max-width: 46vw; height: auto; display: block; }
/* 카운트 바 */
.pg-counts { flex: 1; display: flex; flex-direction: column; gap: 16px; min-width: 240px; }
.count-row { display: flex; align-items: center; gap: 12px; }
.count-lbl { width: 78px; font-size: 13px; color: var(--mute); flex-shrink: 0; }
.count-num { width: 86px; font-size: 20px; font-weight: 800; flex-shrink: 0; letter-spacing: -.02em; }
.count-num i { font-size: 12px; font-weight: 600; color: var(--mute); font-style: normal; margin-left: 2px; }
.count-bar { flex: 1; height: 8px; background: #ECECEC; border-radius: 999px; overflow: hidden; }
.count-bar span { display: block; height: 100%; background: var(--purple); border-radius: 999px; }
@media (max-width: 920px) {
  .proof2 { grid-template-columns: 1fr 1fr; }
  .pcard, .pcard.wide { grid-column: span 1; }
  .pcard.wide { flex-direction: column; align-items: stretch; }
  .pcard.wide .pg-gauge { align-self: center; }
}
@media (max-width: 560px) { .proof2 { grid-template-columns: 1fr; } }

/* stats */
.stat-wrap { margin-top: 56px; }
.stats { position: relative; overflow: hidden; background: var(--ink); border-radius: var(--radius); padding: 44px 44px 48px; }
.stats-bg { position: absolute; left: 0; bottom: 0; width: 100%; height: 60%; }
.stats-head { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 36px; flex-wrap: wrap; }
.stats-title { font-size: clamp(18px,2.4vw,24px); font-weight: 700; color: #fff; letter-spacing: -.02em; }
.stats-title b { color: var(--yellow); font-weight: 800; }
.stats-date { font-size: 12px; color: rgba(255,255,255,.4); }
.stats-row { position: relative; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.stat { flex: 1; min-width: 160px; text-align: center; color: #fff; }
.stat-num { font-size: clamp(40px, 6vw, 64px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stat-num span { font-size: .42em; font-weight: 700; color: var(--yellow); margin-left: 2px; }
.stat p { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 12px; }

/* sections */
.sec { margin-top: 100px; }
.sec-label { display: inline-block; font-size: 13px; font-weight: 700; color: var(--purple); background: var(--brand-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.sec-title { font-size: clamp(26px, 4vw, 42px); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.sec-sub { font-size: 16px; color: var(--mute); line-height: 1.7; margin-top: 14px; max-width: 60ch; }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 36px; }
.svc { background: var(--card-cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 26px; }
.svc-emoji { font-size: 28px; }
.svc h4 { font-size: 17px; font-weight: 800; margin: 14px 0 8px; letter-spacing: -.02em; }
.svc p { font-size: 14px; color: var(--mute); line-height: 1.7; }

/* 교시제 시간표 */
.tt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.tt-card { background: var(--card-cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.tt-h { font-size: 18px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.tt-rows { display: flex; flex-direction: column; gap: 2px; }
.tt-row { display: flex; align-items: center; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink); }
.tt-row:first-child { border-top: 0; }
.tt-no { flex-shrink: 0; min-width: 64px; font-size: 12px; font-weight: 800; color: #fff; background: var(--purple); border-radius: 999px; padding: 4px 0; text-align: center; }
.tt-meal .tt-no { background: var(--brand-soft); color: var(--purple); }
.partner { display: flex; align-items: center; gap: 16px; margin-top: 20px; background: var(--brand-soft); border: 1px solid #F4D3C6; border-radius: var(--radius-sm); padding: 22px 26px; }
.partner-badge { flex-shrink: 0; font-size: 12px; font-weight: 800; color: #fff; background: var(--purple); padding: 6px 13px; border-radius: 999px; }
.partner p { font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
.partner b { font-weight: 800; }
@media (max-width: 700px) { .tt-grid { grid-template-columns: 1fr; } .partner { flex-direction: column; align-items: flex-start; gap: 10px; } }

/* 학습 공간 갤러리 */
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 36px; }
.gal-tile { display: flex; flex-direction: column; }
.gal-img { aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-2); }
.gal-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-img.g1 { background: linear-gradient(160deg,#E1DEF9,#C9C2F3); }
.gal-img.g2 { background: linear-gradient(160deg,#D6F0DF,#BCE6CB); }
.gal-img.g3 { background: linear-gradient(160deg,#FCE49A,#FBD24A); }
.gal-img.g4 { background: linear-gradient(160deg,#DCEFFA,#BFE1F4); }
.gal-cap { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-top: 12px; }
.gal-note { font-size: 12px; color: var(--faint); margin-top: 16px; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* 멘토 플립 카드 (앞: 사진+한 문장 / 호버 시 뒤집혀 약력) */
.mentor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; perspective: 1800px; }
.flip { height: 520px; perspective: 1200px; }
.flip-inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.16,1,.3,1); text-decoration: none; color: inherit; }
.flip:hover .flip-inner, .flip:focus-within .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }

/* 앞면 */
.flip-front { background: #fff; display: flex; flex-direction: column; }
.mf-photo { position: relative; height: 320px; display: flex; align-items: center; justify-content: center; }
.mf-photo img { width: 100%; height: 100%; object-fit: cover; }
.mf-init { font-size: 78px; font-weight: 800; color: rgba(255,255,255,.92); }
.mf-plus { position: absolute; left: 20px; top: 320px; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 23px; box-shadow: 0 5px 16px -4px rgba(0,0,0,.32); transition: transform .25s; }
.flip:hover .mf-plus { transform: translateY(-50%) rotate(135deg); }
.mf-body { flex: 1; padding: 22px 22px 24px; display: flex; flex-direction: column; }
.mf-badge { align-self: flex-start; font-size: 11.5px; font-weight: 800; color: var(--purple); background: var(--brand-soft); border-radius: 999px; padding: 4px 11px; margin-bottom: 11px; }
.mf-name { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.mf-role { font-size: 13px; color: var(--faint); margin: 3px 0 14px; }
.mf-line { font-size: 17px; font-weight: 700; line-height: 1.55; letter-spacing: -.01em; color: var(--ink); margin-top: auto; }

/* 뒷면 */
.flip-back { background: var(--ink); color: #fff; transform: rotateY(180deg); padding: 32px 28px; display: flex; flex-direction: column; }
.mb-name { font-size: 20px; font-weight: 800; }
.mb-role { font-size: 13px; color: rgba(255,255,255,.55); margin: 3px 0 22px; }
.mb-timeline { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.mb-timeline li { display: flex; gap: 14px; font-size: 13.5px; line-height: 1.5; }
.mb-timeline b { flex-shrink: 0; width: 42px; color: var(--yellow); font-weight: 800; }
.mb-timeline span { color: rgba(255,255,255,.82); }
.mb-subjects { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.mb-subjects span { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 5px 11px; }
.mb-more { margin-top: auto; padding-top: 22px; font-size: 14px; font-weight: 800; color: var(--yellow); }

/* featured (가운데, 레퍼런스 노란 Keynote 카드 느낌) */
.flip.feat .flip-front { background: var(--yellow); }
.flip.feat .mf-photo-feat { background:
  repeating-linear-gradient(135deg, rgba(0,0,0,.055) 0 22px, rgba(0,0,0,0) 22px 44px),
  linear-gradient(135deg, #FBD24A, #F2A93B); }
.flip.feat .mf-badge-feat { color: #6B4E00; background: rgba(255,255,255,.62); }
.flip.feat .mf-role { color: rgba(20,20,20,.52); }
.flip.feat .mf-plus-feat { background: var(--ink); color: var(--yellow); }
.mf-ribbon { position: absolute; top: 16px; right: 16px; z-index: 2; font-size: 11.5px; font-weight: 800; color: #6B4E00; background: rgba(255,255,255,.72); border-radius: 999px; padding: 5px 12px; }
@media (prefers-reduced-motion: reduce) { .flip-inner { transition: none; } }

/* 랜딩 멘토 — 풀블리드 가로 스크롤 스트립 (큰 카드 · 인물 사진용, 좌우로 넘쳐 스크롤) */
.mentor-strip { display: flex; gap: 18px; align-items: flex-start; justify-content: safe center; margin-top: 36px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; width: 100vw; margin-left: calc(50% - 50vw); padding: 14px 28px 28px; scrollbar-width: none; }
.mentor-strip::-webkit-scrollbar { display: none; }
.mentor-strip .flip { flex: 0 0 300px; scroll-snap-align: start; }
.mentor-strip .flip:nth-child(even) { margin-top: 44px; }
.mentors-cta { text-align: center; margin-top: 28px; }

/* 전체 멘토 페이지 그리드 */
.mentor-grid-all { grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; align-items: start; }
@media (max-width: 1100px) { .mentor-grid-all { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .mentor-grid-all { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .mentor-strip .flip { flex: 0 0 80vw; }
  .mentor-grid-all { grid-template-columns: 1fr; }
}

/* 총괄 카드 — 원장(대표) 카드와 동일 레이아웃, 실제 사진(컬러) */
.chief-card .leader-photo img { object-position: center 22%; filter: none; }

/* 운영진(조교) 카드 — 사진 영역 없는 텍스트 카드 */
.staff-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 28px 26px 24px; text-decoration: none; color: inherit; transition: box-shadow .2s ease, transform .2s ease; }
.staff-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.staff-card .mf-line { margin-top: 6px; }
.staff-subj { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.staff-subj span { font-size: 12px; font-weight: 600; color: var(--purple); background: var(--brand-soft); border-radius: 999px; padding: 5px 11px; }
.staff-more { font-size: 13px; font-weight: 800; color: var(--purple); margin-top: 20px; }
@media (max-width: 820px) { #team .mentor-grid { grid-template-columns: 1fr; } }

/* 대표 소개 티저 */
/* 대표 인사말 LEADERSHIP 밴드 (좌: 흑백 인물 / 우: 라벨·헤드라인·본문·서명·엠블럼) */
.leader { display: grid; grid-template-columns: 384px 1fr; gap: 56px; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.leader-photo { position: relative; min-height: 460px; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #EDEDEC, #D7D7D3); }
.leader-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: none; }
.lp-ph { font-size: 128px; font-weight: 800; color: rgba(20,20,20,.10); }
.leader:not(.chief-card) .leader-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.62) 0%, rgba(0,0,0,.15) 30%, rgba(0,0,0,0) 50%); pointer-events: none; }
.lp-name { position: absolute; left: 30px; bottom: 28px; z-index: 1; }
.lp-name p { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.82); }
.lp-name h4 { font-size: 25px; font-weight: 800; letter-spacing: .1em; color: #fff; margin-top: 2px; }
.lp-sign { display: block; width: 96px; height: 28px; margin-top: 6px; }
.leader-body { position: relative; padding: 54px 56px 50px 0; }
.leader-seal { position: absolute; top: 40px; right: 6px; width: 116px; height: 116px; opacity: .82; }
.leader-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .3em; color: var(--faint); margin-bottom: 20px; }
.leader-title { font-size: clamp(26px, 3vw, 40px); font-weight: 800; line-height: 1.28; letter-spacing: -.02em; margin-bottom: 30px; max-width: calc(100% - 120px); }
.leader-text p { font-size: 15.5px; line-height: 1.95; color: var(--mute); margin-bottom: 14px; max-width: 580px; }
.leader-text p b { color: var(--ink); font-weight: 700; }
.leader-text p:last-child { margin-bottom: 0; }
.leader-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.leader-sign { font-size: 15px; color: var(--mute); }
.leader-sign b { color: var(--ink); font-weight: 800; margin-left: 4px; }
.leader-more { font-size: 14px; font-weight: 800; color: var(--purple); white-space: nowrap; }
@media (max-width: 820px) {
  .leader { grid-template-columns: 1fr; gap: 0; }
  .leader-photo { min-height: 300px; }
  .leader-body { padding: 36px 28px 32px; }
  .leader-seal { width: 84px; height: 84px; top: 24px; right: 18px; }
  .leader-title { max-width: none; }
  .leader-foot { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* 후기 카드 (테스티모니얼) */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 36px; }
.testi { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; box-shadow: var(--shadow-sm); transition: transform .3s cubic-bezier(.16,1,.3,1); }
.testi:hover { transform: translateY(-4px); }
.t-coral { background: #FAD9CE; } .t-yellow { background: #FCE49A; } .t-mint { background: #CDEBD7; }
.t-sky { background: #CFE6F6; } .t-lav { background: #DCD7F7; } .t-pink { background: #F8D3E2; }
.testi-q { font-size: 15px; line-height: 1.75; color: rgba(20,20,20,.85); font-weight: 500; }
.testi-by { display: flex; align-items: center; gap: 12px; }
.testi-ava { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 17px; }
.testi-by b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.testi-by > div > span { font-size: 12.5px; color: rgba(20,20,20,.6); }
@media (max-width: 920px) { .testi-grid { grid-template-columns: 1fr; } }

/* 후기 2행 마퀴 */
.tm-wrap { margin-top: 8px; display: flex; flex-direction: column; gap: 18px; }
.tm-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tm-track { display: flex; width: max-content; gap: 18px; }
.tm-left { animation: tm-left var(--dur, 48s) linear infinite; }
.tm-right { animation: tm-right var(--dur, 56s) linear infinite; }
.tm-wrap:hover .tm-track { animation-play-state: paused; }
/* --shift(=한 세트 폭, px)는 landing.js 가 주입. 미주입 시 50% 폴백 */
@keyframes tm-left { from { transform: translateX(0); } to { transform: translateX(calc(-1 * var(--shift, 50%))); } }
@keyframes tm-right { from { transform: translateX(calc(-1 * var(--shift, 50%))); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .tm-track { animation: none; } }

/* 위 행: 학부모·학생 말풍선 후기 */
.msg-card { flex-shrink: 0; width: 384px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.msg-from { display: flex; align-items: center; gap: 11px; }
.msg-ava { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; font-size: 21px; }
.msg-id { flex: 1; min-width: 0; }
.msg-who { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.msg-meta { font-size: 12px; color: var(--faint); margin-top: 1px; }
.msg-tag { flex-shrink: 0; font-size: 11.5px; font-weight: 700; color: var(--purple); background: var(--brand-soft); border-radius: 999px; padding: 4px 11px; white-space: nowrap; }
.msg-bubble { position: relative; background: var(--card-cream); border-radius: 16px; padding: 16px 18px; }
.msg-bubble::before { content: ""; position: absolute; left: 16px; top: -5px; width: 12px; height: 12px; background: var(--card-cream); border-radius: 2px; transform: rotate(45deg); }
.msg-bubble p { position: relative; font-size: 14.5px; color: var(--ink); line-height: 1.75; }

/* 아래 행: 성적 상승 미니 그래프 카드 */
.rise-card { flex-shrink: 0; width: 360px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.rise-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.rise-name { font-size: 17px; font-weight: 800; }
.rise-sub { font-size: 12px; color: var(--faint); margin-top: 2px; }
.rise-badge { flex-shrink: 0; font-size: 13px; font-weight: 700; color: var(--mute); background: var(--brand-soft); border-radius: 999px; padding: 6px 13px; white-space: nowrap; }
.rise-badge b { color: var(--purple); }
.rise-chart { height: 72px; }
.rise-svg { display: block; width: 100%; height: 100%; }
.rise-subjects { display: flex; flex-wrap: wrap; gap: 7px; }
.rise-chip { font-size: 12.5px; font-weight: 600; color: var(--mute); background: var(--card-cream); border-radius: 8px; padding: 6px 10px; white-space: nowrap; }
.rise-chip b { color: var(--faint); font-weight: 700; }
.rise-chip b.up { color: var(--purple); }
@media (max-width: 600px) { .msg-card { width: 300px; } .rise-card { width: 290px; } }

/* voices (legacy) */
.voice-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 36px; }
.voice { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 28px; }
.voice-badge { display: inline-block; font-size: 12px; font-weight: 800; background: var(--brand-soft); color: var(--purple); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.voice-badge.up { background: #DCFCE7; color: #15803d; }
.voice p { font-size: 15px; line-height: 1.8; color: rgba(20,20,20,.82); margin-bottom: 18px; }
.voice-by { font-size: 13px; font-weight: 700; color: var(--mute); }

/* 차별점 / 페르소나 */
.diff-list { margin-top: 32px; }
.diff-item { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; padding: 28px 0; border-top: 1px solid var(--line); }
.diff-item:last-child { border-bottom: 1px solid var(--line); }
.diff-no { font-size: 22px; }
.diff-item h4 { font-size: clamp(18px,2.2vw,22px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.diff-item p { font-size: 15px; color: var(--mute); line-height: 1.75; }
.persona-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.persona-card h2 { font-size: clamp(24px,3.5vw,38px); font-weight: 800; letter-spacing: -.03em; line-height: 1.25; }
.persona-card h2 b { color: var(--yellow); }
.persona-checks { display: flex; flex-direction: column; gap: 14px; }
.persona-check { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.88); }
.persona-check .ck { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; }
@media (max-width: 760px) { .persona-card { grid-template-columns: 1fr; gap: 28px; padding: 32px 28px; } }

/* faq */
.faq-list { margin-top: 28px; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; font-size: clamp(16px,2vw,19px); font-weight: 700; letter-spacing: -.02em; }
.acc-pm { font-size: 24px; font-weight: 400; color: var(--purple); transition: transform .3s; flex-shrink: 0; }
.acc-item.open .acc-pm { transform: rotate(45deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.16,1,.3,1), padding .4s; padding: 0; }
.acc-item.open .acc-a { max-height: 240px; padding: 0 0 24px; }
.acc-a-inner { font-size: 15.5px; color: var(--mute); line-height: 1.8; max-width: 62ch; }

/* contact */
.contact-card { background: var(--card-cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 44px; box-shadow: var(--shadow-sm); }
.contact-title { font-size: clamp(26px,3.5vw,38px); font-weight: 800; letter-spacing: -.03em; margin: 14px 0 16px; }
.contact-desc { font-size: 15px; color: var(--mute); line-height: 1.8; }
.contact-points { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; font-size: 14px; color: var(--ink); }
.contact-form label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.contact-form .opt { color: var(--faint); font-weight: 400; }
.contact-form > div { margin-bottom: 14px; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { width: 100%; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; font: inherit; font-size: 15px; outline: none; transition: border-color .2s; }
.field:focus { border-color: var(--purple); }
.field::placeholder { color: var(--faint); }
.form-msg { font-size: 12px; text-align: center; color: var(--faint); margin-top: 12px; }
.form-msg a { color: var(--ink); font-weight: 600; }
.contact-cta { display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.contact-cta .cta-line { font-size: 15px; line-height: 1.6; color: var(--ink); margin-bottom: 6px; }
a.lead-btn { display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; }

/* footer */
footer { background: var(--ink); color: #fff; margin-top: 110px; border-radius: 40px 40px 0 0; padding: 80px 0 40px; }
.foot-cta { text-align: center; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-cta h2 { font-size: clamp(30px,6vw,60px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 28px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; padding: 56px 0 40px; }
.foot-logo { display: flex; align-items: center; font-weight: 900; font-size: 18px; margin-bottom: 14px; }
.foot-brand p:last-child { font-size: 14px; color: rgba(255,255,255,.4); line-height: 1.8; }
.foot-h { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.foot-grid a { display: block; font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 10px; transition: color .2s; }
.foot-grid a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; color: rgba(255,255,255,.35); }

/* floating CTA */
.fab-stack { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.fab { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; box-shadow: 0 12px 30px -8px rgba(20,20,20,.28); transition: transform .2s; }
.fab:hover { transform: translateY(-2px); }
.fab svg { width: 17px; height: 17px; }
.fab-main { background: var(--ink); color: #fff; }
.fab-kakao { background: #FEE500; color: #1A1611; }
.fab-tel { background: #fff; color: var(--ink); border: 1px solid var(--line); }

/* responsive */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "att men" "rep men" "grade kakao"; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .voice-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "att" "men" "rep" "grade" "kakao"; }
  .stats { flex-direction: column; gap: 32px; }
  .lead-bar { flex-wrap: wrap; border-radius: 24px; padding: 12px; }
  .lead-bar input { width: 100%; padding: 6px 8px; }
  .lead-btn { width: 100%; }
  .form-2col { grid-template-columns: 1fr; }
  .nav-right .pill-lav { display: none; }
  .fab .lbl { display: none; } .fab { padding: 13px; }
  .foot-grid { grid-template-columns: 1fr; }
}
