/* Anna English — brand tokens from logo + landing mockup */
:root {
  --cream: #fff9d0;
  --cream-soft: #fffdf2;
  --peach: #fffdf5;
  --peach-deep: #fff8e8;
  --coral: #f05a5a;
  --coral-deep: #e04545;
  --orange: #f08a4b;
  --green: #3cb88a;
  --ink: #1a1a1a;
  --ink-soft: #444;
  --muted: #777;
  --line: rgba(26, 26, 26, 0.08);
  --paper: #ffffff;
  --gray-bar: #f4f4f4;
  --shadow: 0 10px 32px rgba(26, 26, 26, 0.07);
  --radius: 22px;
  --radius-sm: 14px;
  --pill: 999px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-brand: "Montserrat", "Pretendard Variable", sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  overflow-y: auto;
  height: auto;
  min-height: 100%;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream-soft);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  overflow-y: visible;
  max-width: 100%;
  width: 100%;
  min-height: 100%;
  height: auto;
  overflow-wrap: anywhere;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -0.03em; }

main {
  overflow-x: clip;
  overflow-y: visible;
  max-width: 100%;
  width: 100%;
  min-width: 0;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.section-inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 1.15rem;
  box-sizing: border-box;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--coral);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--pill);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  border: 2px solid transparent;
}

.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 0.55rem 1.05rem; font-size: 0.88rem; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1rem; }

.btn-solid {
  background: var(--coral);
  color: #fff;
}
.btn-solid:hover { background: var(--coral-deep); color: #fff; }

.btn-outline {
  background: #fff;
  color: var(--coral);
  border-color: var(--coral);
}
.btn-outline:hover { background: var(--peach); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }

/* Header — sticky (iframe/임베드에서도 fixed보다 레이아웃이 안정적) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 clamp(0.85rem, 3vw, 2rem);
  background: rgba(255, 253, 242, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-sizing: border-box;
}

.logo {
  flex-shrink: 0;
  min-width: 0;
}

.logo img {
  height: 52px;
  width: auto;
  max-width: min(42vw, 168px);
  object-fit: contain;
  mix-blend-mode: multiply;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav a:hover,
.nav a.is-active { color: var(--coral); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 10px;
  border-radius: 10px;
  border: 1.5px solid rgba(26, 26, 26, 0.22);
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2.5px;
  flex: 0 0 auto;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  position: sticky;
  top: var(--header-h);
  z-index: 199;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 1.25rem 1.25rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav a { font-weight: 600; }

@media (max-width: 900px) {
  .nav, .site-header > .btn { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav:not([hidden]) { display: flex; }
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--peach) 0%, var(--cream) 55%, var(--cream-soft) 100%);
  padding: 3.5rem 0 3rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 800;
}

.hero-desc {
  margin: 1.1rem 0 0;
  max-width: 32rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero-visual {
  position: relative;
  min-height: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 22px;
}

.hero-photo {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-desk {
  position: relative;
  height: 100%;
  min-height: 320px;
  animation: floatIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.laptop {
  position: absolute;
  left: 8%;
  top: 12%;
  width: 58%;
  z-index: 1;
}

.laptop-screen {
  background: #2a2a2a;
  border-radius: 12px 12px 4px 4px;
  padding: 10px;
  aspect-ratio: 16/10;
  box-shadow: var(--shadow);
}

.call-ui {
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(145deg, #fff3d6, #ffe08a);
  display: grid;
  place-items: center;
  position: relative;
}

.call-avatar { font-size: 3.5rem; }
.call-live {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--coral);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
}

.laptop-base {
  height: 10px;
  margin: 0 auto;
  width: 70%;
  background: #3a3a3a;
  border-radius: 0 0 8px 8px;
}

.mascot-desk {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  z-index: 2;
  animation: scooter 3.5s ease-in-out infinite alternate;
}

@keyframes scooter {
  from { transform: translateX(0); }
  to { transform: translateX(8px); }
}

.mascot-img {
  width: 100%;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.08));
}

.speech-bubble {
  position: absolute;
  top: 4%;
  right: 4%;
  z-index: 3;
  background: #fff;
  padding: 0.65rem 1rem;
  border-radius: 16px 16px 16px 4px;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: var(--shadow);
  animation: pop 0.6s 0.4s both;
}

@keyframes pop {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 860px) {
  .hero {
    padding: 1.75rem 0 2rem;
    overflow: hidden;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .hero-copy {
    min-width: 0;
    max-width: 100%;
  }

  .hero-copy h1 {
    font-size: clamp(1.5rem, 7vw, 2rem);
    max-width: 100%;
  }

  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: 100%;
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    box-sizing: border-box;
  }

  .hero-visual {
    min-height: 0;
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    border-radius: 18px;
  }

  .hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
  }

  .speech-bubble {
    font-size: 0.68rem;
    padding: 0.35rem 0.5rem;
    max-width: 42%;
    right: 2%;
    top: 2%;
    white-space: normal;
  }

  .mascot-desk {
    width: 36%;
    max-width: 120px;
    right: 2%;
    bottom: 0;
  }

  .laptop {
    width: 58%;
    left: 6%;
    top: 10%;
    max-width: 190px;
  }
}

/* Curriculum cards */
.curriculum {
  padding: 4.5rem 0 4rem;
  background: #fff;
}

.curriculum-head {
  text-align: center;
  margin-bottom: 2.25rem;
}

.curriculum-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  font-weight: 800;
}

.curriculum-sub {
  margin: 0.85rem auto 0;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.curriculum-sub span {
  width: 36px;
  height: 1px;
  background: #cfcfcf;
}

/* Category tabs */
.cat-tabs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 0 1.35rem;
  padding: 0.15rem 0.15rem 0.55rem;
  scroll-padding-inline: 0.75rem;
}

.cat-tabs::-webkit-scrollbar {
  display: none;
}

.cat-tab {
  flex: 0 0 auto;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.cat-tab.is-active {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.cat-hint {
  margin: -0.5rem 0 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.curriculum-grid.is-idle .curr-card {
  display: none !important;
}

.curriculum-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  align-items: stretch;
  max-width: 720px;
  margin-inline: auto;
}

.curr-card {
  display: none;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(26, 26, 26, 0.06);
  min-height: 100%;
}

.curr-card.is-active {
  display: flex;
  animation: curr-in 0.28s ease;
}

@keyframes curr-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.curr-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1rem;
  background: var(--curr);
  color: #fff;
}

.curr-top h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.curr-card[style*="#FFD54F"] .curr-top {
  color: #4a3b00;
}

.curr-card[style*="#FFD54F"] .curr-top h3 {
  color: #4a3b00;
  text-shadow: none;
}

.curr-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  background: rgba(255,255,255,0.25);
  border-radius: 8px;
}

.curr-tagline {
  margin: 0;
  padding: 0.9rem 1.1rem 0.6rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
}

.curr-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin: 0;
  border-radius: 0;
  background: var(--curr-soft);
}

.curr-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.curr-media-slide img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.curr-media-slide img.is-active {
  opacity: 1;
  z-index: 1;
}

.curr-dots {
  position: absolute;
  left: 50%;
  bottom: 0.55rem;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.35rem;
}

.curr-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.curr-dots span.is-on {
  background: #fff;
}

.curr-body {
  padding: 1rem 1.1rem 1.25rem;
  background: linear-gradient(180deg, #fff 0%, var(--curr-soft) 100%);
  flex: 1;
}

.curr-body h4 {
  margin: 0.65rem 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--curr-ink);
}

.curr-body h4:first-child {
  margin-top: 0;
}

.curr-list,
.curr-targets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.curr-list li,
.curr-targets li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.curr-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--curr);
  font-size: 0.75rem;
  font-weight: 700;
}

.curr-targets li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.45em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--curr);
}

@media (max-width: 640px) {
  .section-inner {
    padding-inline: 1rem;
  }

  .curr-media {
    aspect-ratio: 4 / 3;
  }

  .curr-tagline {
    font-size: 1rem;
    padding: 0.95rem 1.1rem 0.65rem;
  }

  .curr-body {
    padding: 1rem 1.1rem 1.35rem;
  }

  .curr-body h4 {
    font-size: 0.95rem;
  }

  .curr-list li,
  .curr-targets li {
    font-size: 0.92rem;
    line-height: 1.5;
    padding-left: 1.25rem;
  }

  .profile-photo {
    aspect-ratio: 1 / 1;
  }

  .profile-img,
  .mentor-img,
  .best-img {
    object-fit: cover;
    object-position: center center;
  }

  .teacher-photo {
    width: min(58vw, 200px);
    height: min(58vw, 200px);
  }

  .best-photo,
  .mentor-photo {
    aspect-ratio: 1 / 1;
  }

  .best-card {
    width: min(78vw, 300px);
    max-width: 300px;
  }

  .marquee {
    mask-image: none;
  }

  .marquee-track {
    gap: 0.65rem;
    padding-inline: 0.5rem;
  }

  .profile-grid,
  .mentor-grid {
    max-width: none;
    width: 100%;
    margin-inline: 0;
    gap: 0.85rem;
  }

  .profile-card,
  .mentor-card,
  .best-card {
    border-radius: 14px;
  }

  .review-slider {
    max-width: 100%;
    gap: 0.15rem;
    padding: 0;
  }

  .review-nav {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 1.35rem;
  }

  .review-card {
    width: min(78vw, 300px);
    min-height: 240px;
  }
}

.other-curr-panel[hidden] {
  display: none !important;
}

.other-curr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
  max-width: 1080px;
  margin-inline: auto;
}

.other-curr-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 10px 28px rgba(26, 26, 26, 0.06);
  padding: 1.15rem 1.1rem 1.25rem;
  min-height: 100%;
}

.other-curr-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  padding: 0.55rem 0.95rem;
  border-radius: 12px;
  color: #fff;
  margin-bottom: 0.85rem;
}

.other-curr-badge h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.other-curr-badge-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.is-travel .other-curr-badge { background: #3b82f6; }
.is-senior .other-curr-badge { background: #22a06b; }
.is-advanced .other-curr-badge { background: #8b5cf6; }

.other-curr-tagline {
  margin: 0 0 0.95rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.other-curr-media {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
  margin-bottom: 1rem;
}

.other-curr-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.other-curr-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  margin-top: auto;
}

.other-curr-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.other-curr-point-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  line-height: 1;
  background: #eff6ff;
  color: #2563eb;
}

.is-senior .other-curr-point-icon {
  background: #ecfdf5;
  color: #059669;
}

.is-advanced .other-curr-point-icon {
  background: #f5f3ff;
  color: #7c3aed;
}

@media (max-width: 900px) {
  .other-curr-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

/* Page views — 홈 / 메뉴 5종 */
.page-section {
  scroll-margin-top: calc(var(--header-h) + 0.85rem);
}

.page-section.is-page-off {
  display: none !important;
}

.pillars {
  background: var(--gray-bar);
  padding: 1.75rem 0;
}

.pillars-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.pillar h2 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.pillar p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.pillar-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
}

.pillar-red { background: var(--coral); }
.pillar-orange { background: var(--orange); }
.pillar-green { background: var(--green); }

@media (max-width: 800px) {
  .pillars-row { grid-template-columns: 1fr; gap: 1.1rem; }
}

/* Main director spotlight (About) */
.director-spot {
  padding: 3.5rem 0 3.25rem;
  background: linear-gradient(180deg, #fff8ef 0%, #fff 70%);
}

.director-spot-inner {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 880px;
}

.director-spot-photo {
  aspect-ratio: 236 / 306;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(26, 26, 26, 0.08);
}

.director-spot-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  padding: 0;
}

.director-spot-copy .eyebrow {
  margin-bottom: 0.35rem;
}

.director-spot-copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.director-spot-copy > p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.65;
}

.director-spot-list {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.director-spot-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.95rem;
}

.director-spot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--coral);
}

.director-spot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

@media (max-width: 720px) {
  .director-spot-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .director-spot-photo {
    width: min(220px, 70vw);
    margin-inline: auto;
  }
  .director-spot-list li {
    text-align: left;
  }
  .director-spot-actions {
    justify-content: center;
  }
}

/* Teachers of the month */
.teachers {
  padding: 4.5rem 0 4rem;
  background: linear-gradient(180deg, #fffdf5 0%, #fff8e8 50%, #fff 100%);
}

.teachers-head {
  text-align: center;
  margin-bottom: 2.25rem;
}

.teachers-brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--coral);
}

.teachers-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  font-weight: 800;
}

.teachers-sub {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.teacher-card {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 1.5rem 1.25rem 1.4rem;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(26, 26, 26, 0.06);
  text-align: center;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.teacher-rank {
  position: absolute;
  top: 0.85rem;
  left: 0.95rem;
  font-size: 1.45rem;
  line-height: 1;
}

.teacher-photo {
  width: 132px;
  height: 132px;
  margin: 0.35rem auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ffe08a;
  box-shadow: 0 6px 18px rgba(240, 180, 40, 0.25);
  background: #fff4d0;
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.teacher-name {
  margin: 0 0 0.85rem;
  font-family: var(--font-brand);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.teacher-meta {
  margin: 0 0 0.9rem;
  text-align: left;
  display: grid;
  gap: 0.65rem;
}

.teacher-meta div {
  padding: 0.55rem 0.7rem;
  background: #fffaf0;
  border-radius: 12px;
}

.teacher-meta dt {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c49a1a;
  margin: 0 0 0.2rem;
}

.teacher-meta dd {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.4;
}

.teacher-bio {
  margin: 0;
  text-align: left;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: normal;
  max-width: 100%;
}

@media (max-width: 900px) {
  .teachers-grid {
    grid-template-columns: 1fr;
    max-width: min(100%, 420px);
    width: 100%;
    margin-inline: auto;
  }
}

/* Mentor story → MEET ANNA (핑크 philosophy 배너 영구 삭제) */
.philosophy,
.philosophy-inner,
.philo-side,
.philo-text {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
}

.mentor-story {
  padding: 4rem 0 0;
  background: var(--cream-soft);
}

.meet {
  padding: 2.25rem 0 4.5rem;
  background: var(--cream-soft);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.story-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.story-card h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
}

.story-card > p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.story-problem { background: linear-gradient(180deg, #fff 0%, #fffdf5 100%); }
.story-solution { background: linear-gradient(180deg, #fff 0%, #f5fff9 100%); }

.problem-illus {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.75rem;
  align-items: center;
}

.problem-illus img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.mini-bubbles {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mini-bubbles span {
  background: var(--peach-deep);
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.solution-illus {
  display: grid;
  gap: 1rem;
}

.solution-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
  display: block;
}

.solution-mascot {
  width: min(220px, 70%);
  margin-inline: auto;
  mix-blend-mode: multiply;
}

.mentor-roles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.mentor-roles li {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 650;
  padding: 0.65rem 0.35rem;
  background: #f0faf5;
  border-radius: 12px;
  color: var(--ink-soft);
}

@media (max-width: 800px) {
  .story-grid { grid-template-columns: 1fr; }
  .mentor-roles { grid-template-columns: repeat(2, 1fr); }
}

/* Mentor profiles */
.profiles {
  padding: 4.5rem 0 3.5rem;
  background: var(--cream-soft);
}

.profiles-title {
  margin: 0;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
}

.profiles-lead {
  margin: 0.5rem 0 1rem !important;
}

.profile-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

@media (max-width: 960px) {
  .profile-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .profile-grid { grid-template-columns: 1fr; }
}

.profile-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
}

.profile-card.is-pending {
  opacity: 0.92;
}

.profile-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--peach);
}

.profile-img,
.mentor-img,
.best-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.profile-img.is-mascot,
.mentor-img.is-mascot,
.best-img.is-mascot {
  object-fit: contain;
  object-position: center center;
  background: #fff6c8;
  padding: 0.2rem;
}

.profile-img.is-face,
.mentor-img.is-face,
.best-img.is-face {
  object-fit: cover;
  object-position: center 20%;
}

.profile-body {
  padding: 1.1rem 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
  min-width: 0;
}

.profile-owner {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.profile-body h3 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.profile-pending {
  display: inline-block;
  width: fit-content;
  margin: 0;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--coral);
  background: color-mix(in srgb, var(--coral) 12%, #fff);
  border-radius: 999px;
}

.profile-specialty {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--coral);
}

.profile-headline {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

.profile-desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
}

.profile-bullets {
  margin: 0.35rem 0 0.15rem;
}

.profile-bullets li {
  display: flex;
  gap: 0.35rem;
  align-items: flex-start;
  padding-left: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  min-width: 0;
}

.profile-bullets li::before {
  display: none;
}

.profile-bullets .check {
  flex-shrink: 0;
  color: var(--coral);
  font-weight: 800;
}

.faq-page-ellipsis {
  display: inline-grid;
  place-items: center;
  min-width: 1.2rem;
  height: 1.95rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
}

.profile-cta {
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* Meet Anna */
.meet-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: stretch;
}

.meet-copy h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.meet-visual {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1rem;
  align-items: center;
}

.meet-logo,
.meet-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.meet-logo {
  mix-blend-mode: multiply;
  aspect-ratio: auto;
}

.meet-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.meet-points li {
  padding: 0.75rem 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.meet-points strong {
  display: block;
  color: var(--coral);
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
}

.meet-points span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.meet-quote {
  background: linear-gradient(160deg, var(--cream), #fff);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.meet-quote p {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.quote-mascot {
  width: min(180px, 55%);
  margin-top: 1.25rem;
  border-radius: 14px;
  object-fit: cover;
}

@media (max-width: 860px) {
  .meet-grid { grid-template-columns: 1fr; }
  .meet-visual { grid-template-columns: 1fr; }
}

/* Stats */
.stats {
  padding: 1rem 0 4rem;
  background: var(--paper);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.stat-card {
  text-align: center;
  padding: 1.75rem 1rem;
  background: var(--cream-soft);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.stat-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.stat-red { background: #ffe0e0; }
.stat-orange { background: #ffe8d6; }
.stat-green { background: #dff5ea; }

.stat-num {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
}

.stat-num span { color: var(--coral); font-size: 0.7em; }
.stat-label { margin: 0.35rem 0 0; color: var(--muted); font-weight: 600; font-size: 0.92rem; }

@media (max-width: 640px) {
  .stats-row { grid-template-columns: 1fr; }
}

/* Find mentor — homepage first section */
.find {
  padding: 3.25rem 0 3rem;
  background: linear-gradient(180deg, var(--peach) 0%, var(--cream) 100%);
  text-align: center;
}

.find-inner { max-width: 680px; }

.find h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
}

.find-sub {
  margin: 0.85rem auto 0;
  color: var(--ink-soft);
  max-width: 26rem;
}

.search-wrap {
  position: relative;
  margin-top: 2rem;
  text-align: left;
}

.search-box {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.45rem 0.45rem 0.95rem;
  background: #fff;
  border-radius: var(--pill);
  box-shadow: 0 10px 30px rgba(240, 90, 90, 0.18);
  border: 1px solid var(--line);
}

.search-box .search-icon {
  flex-shrink: 0;
  font-size: 1.05rem;
}

.search-box .region-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.7rem 0.35rem;
  border-radius: 0;
  font-size: 0.95rem;
  box-shadow: none;
}

.search-box .region-input:focus {
  outline: none;
  border-color: transparent;
}

.search-go {
  flex-shrink: 0;
  border-radius: var(--pill) !important;
  padding: 0.75rem 1.15rem !important;
  white-space: nowrap;
}

.search-purposes {
  margin-top: 1.35rem;
  padding: 1.1rem 1rem 1.15rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.search-bar {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.5rem 0.5rem 1.1rem;
  background: #fff;
  border-radius: var(--pill);
  box-shadow: 0 10px 30px rgba(240, 90, 90, 0.18);
}

.search-summary {
  flex: 1;
  text-align: left;
  color: var(--muted);
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-summary.has-value {
  color: var(--ink);
  font-weight: 600;
}

.search-btn-label {
  flex-shrink: 0;
  padding: 0.8rem 1.25rem;
  border-radius: var(--pill);
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
}

.search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.7rem);
  z-index: 40;
  padding: 1.25rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  max-height: min(70vh, 540px);
  overflow-y: auto;
  animation: panelIn 0.25s ease both;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-step + .panel-step {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.panel-title {
  margin: 0 0 0.7rem;
  font-size: 0.98rem;
}

.panel-title .hint {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.82rem;
}

.panel-hint {
  margin: -0.25rem 0 0.7rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.place-box {
  margin-top: 0.35rem;
  padding: 0.7rem 0.8rem;
  background: var(--peach);
  border-radius: 12px;
}

.place-name {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 750;
  color: var(--ink);
}

.place-addr,
.place-zone,
.match-level {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.match-level {
  color: var(--coral);
  font-weight: 700;
}

.profile-area {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.profile-area strong {
  color: var(--coral);
  margin-right: 0.25rem;
}

.profile-place-count {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

.place-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.25rem 0 0.35rem;
}

.place-chip {
  display: inline-flex;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--ink-soft);
}

.place-chip:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.place-more {
  font-size: 0.72rem;
  color: var(--muted);
  align-self: center;
}

.best-area {
  margin: 0.35rem 0 0 !important;
  font-size: 0.75rem !important;
  color: var(--coral) !important;
  font-weight: 650;
}

.region-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--peach);
  font-size: 0.94rem;
  outline: none;
}

.region-input:focus { border-color: var(--coral); }

.region-list {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0.35rem;
  max-height: 220px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(26, 26, 26, 0.1);
  position: absolute;
  left: 0;
  right: 0;
  z-index: 50;
}

.region-list[hidden] {
  display: none !important;
}

.region-list li button {
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.region-list li button:hover,
.region-list li button.is-active {
  background: var(--peach);
  color: var(--ink);
  font-weight: 650;
}

.region-empty {
  padding: 0.75rem 0.9rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.selected-region {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: var(--coral);
  font-weight: 700;
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 0.55rem;
}

.purpose-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 0.4rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--cream-soft);
  transition: border-color 0.2s, background 0.2s;
}

.purpose-card.is-selected {
  border-color: var(--coral);
  background: #fff0f0;
  box-shadow: inset 0 0 0 1px var(--coral);
}

.purpose-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff;
  font-size: 1.05rem;
}

.purpose-label {
  font-size: 0.74rem;
  font-weight: 650;
  text-align: center;
  line-height: 1.3;
}

.panel-actions {
  margin-top: 1.15rem;
  display: flex;
  justify-content: flex-end;
}

/* Results */
.results {
  padding: 2.5rem 0 1rem;
  background: var(--cream);
}

.results[hidden] { display: none !important; }

.results.is-visible {
  animation: unfold 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes unfold {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.results-title {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
}

.mentor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

@media (max-width: 900px) {
  .mentor-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-inline: auto;
  }
}

.mentor-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.mentor-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(145deg, #ffd0c8, #ffe8a8 50%, #c8e8ff);
}

.mentor-photo .initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-brand);
  font-size: 2.6rem;
  font-weight: 800;
  color: rgba(255,255,255,0.9);
}

.heart {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: grid;
  place-items: center;
  color: var(--coral);
}

.mentor-body {
  padding: 1.1rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.mentor-name-row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.mentor-name { margin: 0; font-size: 1.15rem; font-weight: 800; }
.mentor-tag { font-size: 0.76rem; font-weight: 700; color: var(--coral); }
.mentor-headline { margin: 0; font-size: 0.86rem; font-weight: 650; color: var(--ink-soft); }

.mentor-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.stars { color: #e8a317; letter-spacing: 0.04em; }

.mentor-desc {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mentor-bullets {
  margin: 0.2rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.mentor-bullets li {
  position: relative;
  padding-left: 0.8rem;
  margin-bottom: 0.2rem;
}

.mentor-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
}

.mentor-cta {
  margin-top: auto;
  padding-top: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: #1e2a44;
  color: #fff;
  font-weight: 700;
}

.btn-navy:hover { background: #152038; color: #fff; }

.mentor-cta a.ghost {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.mentor-cta a.ghost:hover { color: var(--coral); }

/* Best / Reviews sliders */
.best, .reviews {
  padding: 3.5rem 0;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
}

.best { background: var(--cream-soft); }
.reviews { background: #fff; }

.best-head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.best-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.best-head p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.best-slider {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.35rem;
  max-width: min(100% - 0.5rem, 1200px);
  width: 100%;
  margin-inline: auto;
  padding: 0 0.25rem;
  box-sizing: border-box;
  min-width: 0;
}

.marquee {
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-y;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  overscroll-behavior-x: contain;
}

.marquee::-webkit-scrollbar {
  display: none;
}

.marquee.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding: 0.4rem 0 1rem;
  animation: none;
  user-select: none;
  -webkit-user-select: none;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.marquee-track .best-card {
  scroll-snap-align: center;
  flex-shrink: 0;
}

.marquee-track img {
  -webkit-user-drag: none;
  pointer-events: none;
}

@media (max-width: 640px) {
  .best-slider,
  .review-slider {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    max-width: 100%;
    padding: 0;
  }
  .best-nav,
  .review-nav {
    display: none !important;
  }
  .marquee,
  .review-viewport {
    touch-action: pan-y pinch-zoom;
  }
}

/* Reviews — click slide */
.review-slider {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.35rem;
  max-width: min(100% - 0.5rem, 1100px);
  width: 100%;
  margin-inline: auto;
  padding: 0 0.25rem;
  box-sizing: border-box;
  min-width: 0;
}

.review-viewport {
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  min-width: 0;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
}

.review-viewport::-webkit-scrollbar {
  display: none;
}

.review-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding: 0.35rem 0.15rem 1rem;
  animation: none;
}

.review-nav {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.review-nav:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  padding-bottom: 0.25rem;
}

.review-count {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.review-stack {
  display: none;
}

.best-card {
  width: clamp(210px, 22vw, 250px);
  flex-shrink: 0;
  background: #fff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

.best-card.is-clickable {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.best-card.is-clickable:hover,
.best-card.is-clickable:focus-visible {
  transform: translateY(-4px);
  border-color: var(--coral);
  box-shadow: 0 12px 28px rgba(233, 84, 84, 0.18);
  outline: none;
}

.best-cta {
  margin: 0.55rem 0 0 !important;
  font-size: 0.78rem !important;
  font-weight: 700;
  color: var(--coral) !important;
}

.profile-grid.is-focused {
  max-width: 420px;
  margin-inline: auto;
  grid-template-columns: 1fr;
}

.best-photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(160deg, #ffd0c8, #ffe8a8 45%, #c8e0ff);
  position: relative;
}

.best-photo .initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-brand);
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(255,255,255,0.92);
}

.best-body { padding: 0.95rem 1rem 1.1rem; }
.best-body h3 { margin: 0 0 0.3rem; font-size: 1rem; }
.best-body p { margin: 0; font-size: 0.82rem; color: var(--muted); }

.review-card {
  width: min(330px, 82vw);
  flex-shrink: 0;
  scroll-snap-align: center;
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 270px;
}

.review-card:nth-child(5n+1) { background: #fff3c4; }
.review-card:nth-child(5n+2) { background: #d4f0e4; }
.review-card:nth-child(5n+3) { background: #f0e6d8; }
.review-card:nth-child(5n+4) { background: #d6e8f7; }
.review-card:nth-child(5n+5) { background: #f8d9e4; }

.review-meta { font-size: 0.78rem; font-weight: 700; color: var(--ink-soft); }
.review-mentor { font-size: 0.76rem; color: var(--muted); }
.review-headline {
  margin: 0.15rem 0 0;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.review-body { margin: 0; font-size: 0.88rem; color: var(--ink-soft); flex: 1; }
.review-stars { color: #e8a317; letter-spacing: 0.06em; }
.review-concern { margin: 0; font-size: 0.76rem; color: var(--muted); }

/* Q&A — Q 원형 + 구분선 리스트 */
.faq {
  padding: 4.5rem 0 4.25rem;
  background: #fff;
}

.faq-title {
  margin: 0;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
}

.faq-lead {
  margin: 0.5rem 0 2rem !important;
}

.faq-list {
  max-width: 860px;
  border-top: 1px solid #e8e8e8;
}

.faq-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  max-width: 100%;
  margin: 1.5rem 0 0;
}

.faq-page-nums {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  max-width: 100%;
}

.faq-page-btn,
.faq-page-num {
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.faq-page-btn {
  font-size: 1.35rem;
  line-height: 1;
}

.faq-page-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.faq-page-num.is-active,
.faq-page-btn:not(:disabled):hover,
.faq-page-num:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.faq-item {
  border-bottom: 1px solid #e8e8e8;
  background: transparent;
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.2rem 0.15rem;
  cursor: pointer;
  list-style: none;
  line-height: 1.45;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-badge {
  flex-shrink: 0;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  background: #c8c8c8;
}

.faq-badge-a {
  background: var(--coral);
  margin-top: 0.15rem;
}

.faq-q {
  flex: 1;
  font-size: 0.98rem;
  font-weight: 500;
  color: #333;
}

.faq-item[open] .faq-q {
  font-weight: 650;
  color: #222;
}

.faq-a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 0 0.15rem 1.35rem;
  align-items: start;
}

.faq-a-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 0.1rem;
}

.faq-a p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #555;
}

.faq-schedule {
  margin-top: 0.15rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: #f6f6f6;
}

.faq-schedule-title {
  margin: 0 0 0.45rem !important;
  font-size: 0.86rem !important;
  font-weight: 700;
  color: #333 !important;
}

.faq-schedule ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.faq-schedule li {
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  padding-left: 0.85rem;
  position: relative;
}

.faq-schedule li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #999;
}

.faq-schedule-note {
  margin: 0.55rem 0 0 !important;
  font-size: 0.8rem !important;
  color: #888 !important;
}

@media (max-width: 560px) {
  .faq-item summary {
    gap: 0.7rem;
    padding: 1.05rem 0;
  }

  .faq-q {
    font-size: 0.92rem;
  }

  .faq-a {
    gap: 0.7rem;
    padding-bottom: 1.15rem;
  }
}

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, #2a2220 0%, #1a1412 100%);
  color: #fff;
  padding: 3.5rem 0;
  overflow: hidden;
}

.final-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.final-copy h2 {
  margin: 0 0 1.35rem;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  color: #fff;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.final-mascot {
  position: relative;
  width: min(220px, 40vw);
}

.final-mascot img {
  width: 100%;
  filter: brightness(1.05);
}

.final-bubble {
  position: absolute;
  top: -0.5rem;
  left: -1rem;
  background: #fff;
  color: var(--ink);
  padding: 0.5rem 0.85rem;
  border-radius: 14px 14px 4px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow);
}

@media (max-width: 700px) {
  .final-inner { grid-template-columns: 1fr; text-align: center; }
  .final-actions { justify-content: center; }
  .final-mascot { margin-inline: auto; }
  .final-bubble { left: 50%; transform: translateX(-50%); }
}

/* Apply */
.apply {
  padding: 4rem 0;
  background: var(--peach);
  text-align: center;
}

.apply-inner { max-width: 560px; }

.apply h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.apply p {
  margin: 0 0 1.4rem;
  color: var(--ink-soft);
}

.link-note {
  margin: 0.9rem 0 0 !important;
  font-size: 0.78rem !important;
  color: var(--muted) !important;
}

/* Footer */
.site-footer {
  padding: 2.75rem 1.25rem calc(2.2rem + env(safe-area-inset-bottom, 0px));
  background: #14110f;
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
  max-width: 100%;
  overflow-x: clip;
}

.footer-inner {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  margin: 0 auto;
  height: 48px;
  width: auto;
  filter: brightness(1.1);
}

.footer-biz,
.footer-cs {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
}

.footer-biz p,
.footer-cs p {
  margin: 0;
}

.footer-cs-title {
  margin-bottom: 0.2rem !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
}

.footer-cs a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
}

.footer-cs a:hover {
  color: #fff;
}

.footer-links {
  margin: 0.35rem 0 0.2rem;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  font-weight: 600;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.footer-links a:hover { color: #fff; }
.footer-copy { margin: 0; font-size: 0.75rem; color: rgba(255,255,255,0.35); }

@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .mascot-desk,
  .hero-desk { animation: none !important; }
  .review-viewport { scroll-behavior: auto; }
}

/* ========== Mobile readability & overflow harden ========== */
@media (max-width: 900px) {
  .site-header {
    padding-inline: 0.75rem;
  }

  .site-header .menu-toggle {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 5;
    background: #fff !important;
    border: 1.5px solid rgba(26, 26, 26, 0.28) !important;
  }

  .site-header .menu-toggle span {
    width: 20px !important;
    height: 2.5px !important;
    background: var(--ink) !important;
  }

  .site-header .nav,
  .site-header > .btn {
    display: none !important;
  }

  .mobile-nav:not([hidden]) {
    display: flex;
  }

  .profiles-lead,
  .section-lead,
  .find-sub,
  .teachers-sub,
  .faq-lead,
  .best-head p {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .profiles-title,
  .faq-title,
  .curriculum-head h2,
  .teachers-head h2,
  .best-head h2 {
    font-size: clamp(1.35rem, 6.2vw, 1.85rem);
  }

  .cat-tab {
    font-size: 0.9rem;
    padding: 0.62rem 1.05rem;
  }

  .cat-tabs {
    mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 1.75rem), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 1.75rem), transparent 100%);
  }

  .curriculum-grid,
  .other-curr-grid {
    width: 100%;
    max-width: 100%;
  }

  .curr-card,
  .other-curr-card {
    max-width: 100%;
    min-width: 0;
  }

  .curr-tagline {
    font-size: 1rem;
    padding-inline: 1rem;
  }

  .curr-body {
    padding-inline: 1rem;
  }

  .curr-body h4 {
    font-size: 0.98rem;
  }

  .curr-list li,
  .curr-targets li {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .search-box {
    flex-wrap: wrap;
    border-radius: 18px;
    padding: 0.55rem;
    gap: 0.45rem;
  }

  .search-box .region-input {
    flex: 1 1 140px;
    min-width: 0;
  }

  .search-go {
    flex: 1 1 100%;
    width: 100%;
  }

  .purpose-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .purpose-label {
    font-size: 0.7rem;
  }

  .faq-page-btn,
  .faq-page-num {
    min-width: 1.95rem;
    height: 1.95rem;
    padding: 0 0.4rem;
    font-size: 0.82rem;
  }

  .faq-q {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .faq-a-body,
  .faq-a-body p {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .teacher-meta {
    grid-template-columns: 1fr;
  }

  .best-slider,
  .review-slider {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .profile-cta {
    flex-wrap: wrap;
  }

  .profile-cta .btn,
  .profile-cta a {
    flex: 1 1 auto;
  }
}

@media (max-width: 560px) {
  :root {
    --header-h: 64px;
  }

  .logo img {
    height: 44px;
  }

  .curriculum {
    padding-top: 1.5rem;
  }

  .curriculum-head {
    margin-bottom: 1.35rem;
    padding-top: 0.35rem;
  }

  .profiles,
  .curriculum,
  .teachers,
  .faq,
  .find,
  .best,
  .reviews,
  .apply {
    padding-top: 2.75rem;
    padding-bottom: 2.5rem;
  }

  .profiles {
    padding-top: 2.25rem;
  }

  .profile-body h3 {
    font-size: 1.15rem;
  }

  .profile-headline {
    font-size: 0.92rem;
  }

  .profile-desc {
    font-size: 0.88rem;
  }

  .hero-actions .btn {
    font-size: 0.95rem;
    padding: 0.95rem 1.15rem;
  }

  .final-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .final-actions {
    justify-content: center;
  }
}
