/* =========================================================
   회화진담 · 영어진담 — 공통 스타일
   색: 짙은 그린 / 금색 / 밤색 / 아이보리
   ========================================================= */
:root {
  --green-950: #0B1C14;
  --green-900: #0F241A;
  --green-800: #12291F;
  --green-700: #1B3A2C;
  --green-600: #27503D;
  --gold: #C6A15B;
  --gold-300: #DFC48D;
  --gold-600: #A5823F;
  --brown-950: #22150D;
  --brown-900: #2E1C12;
  --brown-800: #3F281B;
  --brown-700: #5B3A29;
  --brown-600: #77503B;
  --ivory: #F5F0E6;
  --ivory-200: #ECE4D4;
  --paper: #FBF8F2;
  --ink: #1C1A16;
  --ink-soft: #4A463E;
  --muted: #7A7466;
  --line: rgba(28, 26, 22, .12);

  --serif-ko: "Noto Serif KR", "Nanum Myeongjo", "AppleMyungjo", serif;
  --serif-en: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;

  /* 페이지 테마 (기본 = 그린) */
  --primary: var(--green-800);
  --primary-deep: var(--green-900);
  --primary-mid: var(--green-700);
  --primary-soft: var(--green-600);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
.theme-english {
  --primary: var(--brown-700);
  --primary-deep: var(--brown-900);
  --primary-mid: var(--brown-800);
  --primary-soft: var(--brown-600);
}

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  animation: pageIn .9s var(--ease) both;
  transition: opacity .45s var(--ease);
}
body.is-leaving { opacity: 0; }
body.menu-open { overflow: hidden; }
@keyframes pageIn { from { opacity: 0; } }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif-ko); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--green-950); }
section[id] { scroll-margin-top: 64px; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.en { font-family: var(--serif-en); font-style: italic; letter-spacing: 0; }
.nums { font-variant-numeric: lining-nums; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--serif-en); font-size: 14px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.dark .eyebrow, .hero .eyebrow { color: var(--gold); }

.section { position: relative; padding: clamp(88px, 12vw, 160px) 0; }
.dark { background: var(--primary-deep); color: var(--ivory); }
.bg-sand { background: var(--ivory-200); }
.bg-paper { background: var(--paper); }

.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(28px, 4.2vw, 46px); margin-top: 22px; }
.section-title em, .accent { font-style: normal; color: var(--gold-600); }
.dark .section-title em, .dark .accent { color: var(--gold); }
.section-desc { margin-top: 22px; color: var(--ink-soft); font-size: clamp(15px, 1.6vw, 17px); }
.dark .section-desc { color: rgba(245, 240, 230, .7); }

/* 금빛 입자 느낌 (노이즈) */
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  opacity: .06; mix-blend-mode: overlay;
}

/* ---------- 버튼 ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px;
  font-size: 15px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  border: 1px solid transparent; border-radius: 999px;
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .arrow { transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: var(--green-950); }
.btn-gold:hover { background: var(--gold-300); }
.btn-gold::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg); transition: left .9s var(--ease);
}
.btn-gold:hover::after { left: 130%; }
.btn-ghost { border-color: rgba(245, 240, 230, .32); color: var(--ivory); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--primary); color: var(--ivory); }
.btn-dark:hover { background: var(--primary-deep); }
.btn-line { border-color: rgba(28, 26, 22, .22); color: var(--ink); }
.btn-line:hover { border-color: var(--gold-600); color: var(--gold-600); }

/* ---------- 헤더 ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--ivory); }
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: color-mix(in srgb, var(--primary-deep) 80%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(198, 161, 91, .2);
  opacity: 0; transition: opacity .6s var(--ease);
}
.site-header.is-scrolled::before { opacity: 1; }
.menu-open .site-header::before { opacity: 0; }
.site-header .inner {
  position: relative; height: 84px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: height .6s var(--ease);
}
.site-header.is-scrolled .inner { height: 68px; }

.logo { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 38px; height: 38px; color: var(--gold); flex: none; }
.logo-mark text { font-family: var(--serif-en); font-style: italic; font-size: 22px; fill: currentColor; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-family: var(--serif-ko); font-weight: 600; font-size: 16px; letter-spacing: .01em; }
.logo-text span { font-family: var(--serif-en); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { position: relative; font-size: 14px; color: rgba(245, 240, 230, .78); transition: color .3s var(--ease); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav a:hover { color: var(--ivory); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav .nav-cta { padding: 9px 20px; border: 1px solid rgba(198, 161, 91, .6); border-radius: 999px; color: var(--gold); transition: background .4s, color .4s; }
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--gold); color: var(--green-950); }

.menu-toggle { display: none; position: relative; z-index: 2; width: 44px; height: 44px; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ivory); transition: transform .45s var(--ease); }
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 26px;
    background: var(--primary-deep);
    opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  }
  .nav a { font-family: var(--serif-ko); font-size: 22px; opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), color .3s; }
  .nav .nav-cta { font-family: var(--sans); font-size: 16px; margin-top: 12px; padding: 12px 28px; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .nav a { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 60ms + 120ms); }
}

/* ---------- 첫 화면 (히어로) ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 140px 0 150px;
  background: var(--primary-deep); color: var(--ivory);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 700px at 85% 10%, color-mix(in srgb, var(--primary-soft) 60%, transparent), transparent 62%),
    radial-gradient(900px 600px at 0% 100%, rgba(198, 161, 91, .10), transparent 60%);
}
.hero-orb {
  position: absolute; width: 60vw; height: 60vw; right: -18vw; top: -22vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 161, 91, .16), transparent 64%);
  animation: orb 16s ease-in-out infinite alternate;
}
@keyframes orb { to { transform: translate(-7vw, 8vw) scale(1.12); } }
.hero-word-wrap { position: absolute; right: -2vw; bottom: 4vh; pointer-events: none; user-select: none; }
.hero-word {
  font-family: var(--serif-en); font-style: italic; font-weight: 400;
  font-size: clamp(150px, 26vw, 420px); line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(198, 161, 91, .24);
}
.hero-content { position: relative; z-index: 1; max-width: 900px; }
.crumb { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; font-size: 13px; color: rgba(245, 240, 230, .55); }
.crumb a:hover { color: var(--gold); }
.hero-title { margin-top: 28px; font-size: clamp(38px, 6.4vw, 84px); font-weight: 500; line-height: 1.22; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { font-style: normal; color: var(--gold); }
.hero-rule { width: 120px; height: 1px; margin: 40px 0; background: var(--gold); }
.hero-sub { max-width: 580px; font-size: clamp(15px, 1.7vw, 18px); color: rgba(245, 240, 230, .75); }
.hero .tags { margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }

.hero-meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; border-top: 1px solid rgba(198, 161, 91, .18); }
.hero-meta .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 13px; color: rgba(245, 240, 230, .6); }
.hero-meta ul { display: flex; flex-wrap: wrap; gap: 8px 44px; }
.hero-meta b { font-family: var(--serif-ko); font-weight: 500; color: var(--gold); margin-right: 10px; }
.scroll-cue { display: flex; align-items: center; gap: 14px; font-family: var(--serif-en); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; }
.scroll-cue i { display: block; width: 56px; height: 1px; background: rgba(198, 161, 91, .25); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: cue 2.6s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* 첫 화면 등장 애니메이션 (JS가 켜졌을 때만) */
.js .hero-title .line > span { transform: translateY(110%); transition: transform 1.4s var(--ease-out); }
.js .hero-title .line:nth-child(2) > span { transition-delay: .14s; }
.js .hero-title .line:nth-child(3) > span { transition-delay: .28s; }
.js .is-loaded .hero-title .line > span { transform: none; }
.js .hero-rule { transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-out) .55s; }
.js .is-loaded .hero-rule { transform: scaleX(1); }
.js .fade-in { opacity: 0; transform: translateY(22px); transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.js .is-loaded .fade-in { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .hero { padding: 120px 0 170px; }
  .hero-meta .container { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-meta ul { flex-direction: column; gap: 4px; }
  .scroll-cue { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- 태그 ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 5px 14px; border: 1px solid rgba(198, 161, 91, .42); border-radius: 999px; font-size: 13px; color: var(--gold-300); }

/* ---------- 흐르는 표현 띠 ---------- */
.marquee { overflow: hidden; padding: 22px 0; background: var(--ivory-200); border-block: 1px solid rgba(198, 161, 91, .35); }
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: flex; align-items: center; gap: 56px; padding-right: 56px; white-space: nowrap;
  font-family: var(--serif-en); font-style: italic; font-size: clamp(20px, 2.4vw, 28px); color: var(--primary);
}
.marquee-track span::after { content: "✦"; font-style: normal; font-size: 11px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 스크롤 등장 ---------- */
.js .reveal { opacity: 0; transform: translateY(44px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 원장 인사말 ---------- */
.intro-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.portrait-wrap { position: relative; isolation: isolate; }
.portrait-wrap::after { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--gold); z-index: -1; }
.portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; color: var(--ivory); background: linear-gradient(160deg, var(--green-700), var(--green-950)); }
.portrait::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(198, 161, 91, .4); }
.portrait-inner { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(36px, 4vw, 52px); }
.quote-mark { font-family: var(--serif-en); font-size: 150px; line-height: .8; height: 70px; color: var(--gold); }
.portrait-quote { font-family: var(--serif-en); font-style: italic; font-size: clamp(30px, 3vw, 42px); line-height: 1.15; }
.portrait-caption { font-family: var(--serif-en); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.intro-body { margin-top: 32px; color: var(--ink-soft); font-size: 17px; }
.intro-body p + p { margin-top: 20px; }
.signature { display: flex; align-items: center; gap: 16px; margin-top: 44px; }
.signature::before { content: ""; width: 44px; height: 1px; background: var(--gold); }
.signature strong { font-family: var(--serif-ko); font-weight: 500; font-size: 17px; color: var(--ink); }
@media (max-width: 880px) {
  .intro-grid { grid-template-columns: 1fr; }
  .portrait-wrap { max-width: 400px; margin-right: 28px; }
}

/* ---------- 수업 철학 3단계 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding: 48px 40px 8px 0; border-top: 1px solid rgba(198, 161, 91, .22); }
.step + .step { padding-left: 40px; border-left: 1px solid rgba(198, 161, 91, .14); }
.step::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-out) calc(var(--d, 0s) + .2s); }
.step.is-visible::before { transform: scaleX(1); }
.step-num { font-family: var(--serif-en); font-size: 64px; line-height: 1; color: var(--gold); font-variant-numeric: lining-nums; }
.step-en { margin-top: 6px; font-family: var(--serif-en); font-style: italic; font-size: 22px; color: rgba(245, 240, 230, .55); }
.step h3 { margin-top: 28px; font-size: 22px; }
.step p { margin-top: 14px; font-size: 15px; color: rgba(245, 240, 230, .7); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 40px 0 36px; border-left: 0; }
}

/* ---------- 두 브랜드 입구 ---------- */
.brand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.brand-grid > .reveal { display: flex; }
.brand-card {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden; flex: 1;
  display: flex; flex-direction: column;
  min-height: 580px; padding: clamp(36px, 4.4vw, 60px);
  color: var(--ivory);
  transition: transform .9s var(--ease-out);
}
.brand-card.green { background: var(--green-900); }
.brand-card.brown { background: var(--brown-900); }
.brand-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px circle at var(--mx) var(--my), rgba(198, 161, 91, .22), transparent 60%); opacity: 0; transition: opacity .7s; }
.brand-card::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(198, 161, 91, .24); pointer-events: none; transition: inset .9s var(--ease-out), border-color .9s; }
.brand-card:hover { transform: translateY(-6px); }
.brand-card:hover::before { opacity: 1; }
.brand-card:hover::after { inset: 22px; border-color: rgba(198, 161, 91, .6); }
.brand-letter { position: absolute; right: 0; bottom: -70px; z-index: -1; font-family: var(--serif-en); font-style: italic; font-size: 320px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(198, 161, 91, .22); transition: transform 1.4s var(--ease-out); }
.brand-card:hover .brand-letter { transform: translate(-18px, -14px); }
.brand-label { font-family: var(--serif-en); font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.brand-name { margin-top: 18px; font-size: clamp(40px, 5vw, 62px); }
.brand-for { margin-top: 10px; font-size: 16px; color: rgba(245, 240, 230, .72); }
.brand-card .tags { margin-top: 28px; }
.brand-desc { margin-top: auto; padding-top: 56px; max-width: 440px; color: rgba(245, 240, 230, .82); }
.brand-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 32px; font-weight: 600; color: var(--gold); }
.circle { width: 50px; height: 50px; border: 1px solid rgba(198, 161, 91, .6); border-radius: 50%; display: grid; place-items: center; transition: background .5s var(--ease), color .5s var(--ease); }
.circle svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.brand-card:hover .circle, .cross:hover .circle { background: var(--gold); color: var(--green-950); }
.brand-card:hover .circle svg, .cross:hover .circle svg { transform: translateX(3px); }
@media (max-width: 860px) {
  .brand-grid { grid-template-columns: 1fr; }
  .brand-card { min-height: 500px; }
}

/* ---------- 표현 뒤집기 카드 ---------- */
.flip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.flip { display: block; width: 100%; height: 100%; min-height: 320px; text-align: left; perspective: 1400px; }
.flip-inner { display: block; position: relative; width: 100%; height: 100%; min-height: 320px; transform-style: preserve-3d; transition: transform 1.05s var(--ease-out); }
.flip.is-flipped .flip-inner, .flip:focus-visible .flip-inner { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) { .flip:hover .flip-inner { transform: rotateY(180deg); } }
.flip:focus-visible { outline: none; }
.flip-face { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 34px 30px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.flip-front { background: var(--paper); border: 1px solid var(--line); }
.flip-back { background: var(--primary); color: var(--ivory); transform: rotateY(180deg); }
.flip-back::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(198, 161, 91, .35); pointer-events: none; }
.flip-kicker { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--muted); }
.flip-back .flip-kicker { color: var(--gold); }
.flip-ko { margin-top: 18px; font-family: var(--serif-ko); font-size: 22px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.flip-literal { margin-top: auto; font-family: var(--serif-en); font-style: italic; font-size: 19px; color: var(--muted); }
.flip-hint { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--gold-600); }
.flip-hint svg { width: 14px; height: 14px; }
.flip-native { margin-top: 18px; font-family: var(--serif-en); font-style: italic; font-size: clamp(26px, 2.5vw, 31px); line-height: 1.22; }
.flip-note { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(198, 161, 91, .3); font-size: 14px; line-height: 1.65; color: rgba(245, 240, 230, .78); }
.flip-note b { font-family: var(--serif-en); font-style: italic; font-weight: 500; font-size: 16px; color: var(--gold); }
@media (max-width: 1024px) { .flip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .flip-grid { grid-template-columns: 1fr; } .flip, .flip-inner { min-height: 290px; } }

/* ---------- 오시는 길 ---------- */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 96px); align-items: center; }
.loc-map { position: relative; border: 1px solid rgba(198, 161, 91, .28); background: radial-gradient(600px 400px at 60% 30%, rgba(198, 161, 91, .07), transparent 70%); }
.loc-map svg { width: 100%; height: auto; }
.loc-map text { font-family: var(--sans); font-size: 15px; fill: rgba(245, 240, 230, .88); }
.loc-map .t-gold { fill: var(--gold); font-weight: 600; }
.loc-map .t-en { font-family: var(--serif-en); font-style: italic; font-size: 14px; fill: rgba(245, 240, 230, .5); }
.loc-map .t-small { font-size: 12.5px; fill: var(--gold-300); }
.route { animation: dash 2.8s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -56; } }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.6s var(--ease) infinite; }
.pulse.two { animation-delay: 1.3s; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.map-note { display: block; padding: 0 16px 12px; text-align: right; font-size: 11.5px; color: rgba(245, 240, 230, .4); }
.loc-points { margin-top: 44px; border-top: 1px solid rgba(198, 161, 91, .2); }
.loc-points li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid rgba(198, 161, 91, .2); }
.loc-points li::before { content: ""; width: 7px; height: 7px; margin-top: 11px; border-radius: 50%; background: var(--gold); }
.loc-points strong { display: block; font-family: var(--serif-ko); font-size: 18px; font-weight: 500; color: var(--ivory); }
.loc-points span { font-size: 14.5px; color: rgba(245, 240, 230, .64); }
.loc-actions { margin-top: 36px; }
@media (max-width: 880px) { .loc-grid { grid-template-columns: 1fr; } }

/* ---------- 기업 출강 ---------- */
.biz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 96px); align-items: start; }
.biz-grid .section-head { margin-bottom: 0; }
.biz-grid .btn { margin-top: 40px; }
.biz-list { border-top: 1px solid var(--line); }
.biz-item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.biz-item::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-out); }
.biz-item:hover::after { transform: scaleX(1); }
.biz-num { font-family: var(--serif-en); font-style: italic; font-size: 24px; line-height: 1.3; color: var(--gold-600); font-variant-numeric: lining-nums; }
.biz-item h3 { font-size: 20px; }
.biz-item p { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }
.badge { display: inline-block; margin-left: 10px; padding: 2px 10px; vertical-align: middle; border: 1px solid rgba(165, 130, 63, .5); border-radius: 999px; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--gold-600); }
@media (max-width: 880px) { .biz-grid { grid-template-columns: 1fr; } }

/* ---------- 상담 (연락처) ---------- */
.contact { overflow: hidden; text-align: center; }
.contact .eyebrow { justify-content: center; }
.contact-ring { position: absolute; left: 50%; top: 50%; width: min(980px, 150vw); aspect-ratio: 1; border: 1px dashed rgba(198, 161, 91, .16); border-radius: 50%; transform: translate(-50%, -50%); animation: spin 90s linear infinite; pointer-events: none; }
.contact-ring.inner { width: min(680px, 110vw); border-style: solid; border-color: rgba(198, 161, 91, .1); animation-direction: reverse; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.contact .container { position: relative; z-index: 1; }
.contact-title { margin-top: 24px; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.35; }
.phone-big { position: relative; display: inline-block; margin-top: 48px; font-family: var(--serif-en); font-weight: 500; font-size: clamp(46px, 9vw, 112px); line-height: 1; letter-spacing: .01em; color: var(--gold); font-variant-numeric: lining-nums; }
.phone-big::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 1px; background: currentColor; transform: scaleX(.25); transition: transform .9s var(--ease-out); }
.phone-big:hover::after { transform: scaleX(1); }
.contact-sub { margin-top: 40px; font-size: 15px; letter-spacing: .04em; color: rgba(245, 240, 230, .64); }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* ---------- 푸터 ---------- */
.site-footer { padding: 72px 0 40px; background: var(--green-950); color: rgba(245, 240, 230, .6); font-size: 14px; border-top: 1px solid rgba(198, 161, 91, .18); }
.theme-english .site-footer { background: var(--brown-950); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-grid .logo { color: var(--ivory); }
.footer-about { margin-top: 20px; max-width: 360px; }
.footer-grid h4 { font-family: var(--serif-en); font-size: 13px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.footer-grid ul { margin-top: 18px; display: grid; gap: 10px; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(198, 161, 91, .14); font-size: 12.5px; color: rgba(245, 240, 230, .4); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- 떠 있는 전화 버튼 (휴대폰) ---------- */
.float-call {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 24px 0 18px;
  background: var(--gold); color: var(--green-950); border-radius: 999px;
  font-size: 15px; font-weight: 700;
  box-shadow: 0 14px 34px rgba(11, 28, 20, .38);
  transition: transform .7s var(--ease-out), opacity .7s var(--ease-out);
}
.float-call svg { width: 20px; height: 20px; }
.float-call .ping { position: absolute; left: 12px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--green-950); opacity: 0; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(1.5); opacity: 0; } }
.js .float-call { transform: translateY(130px); opacity: 0; }
.js .float-call.is-shown { transform: none; opacity: 1; }
@media (min-width: 961px) { .float-call { display: none; } }

/* =========================================================
   브랜드 페이지 공통
   ========================================================= */
.icon { width: 38px; height: 38px; fill: none; stroke: var(--gold-600); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.dark .icon { stroke: var(--gold); }

/* 이런 분께 맞아요 */
.persona-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.persona-grid > .reveal { display: flex; }
.persona { position: relative; flex: 1; padding: 38px 28px 42px; background: var(--paper); border: 1px solid var(--line); transition: transform .8s var(--ease-out), box-shadow .8s var(--ease-out); }
.persona::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out); }
.persona:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -28px rgba(28, 26, 22, .3); }
.persona:hover::before { transform: scaleX(1); }
.persona .icon { margin-bottom: 30px; }
.persona h3 { font-size: 20px; }
.persona-en { margin-top: 2px; font-family: var(--serif-en); font-style: italic; font-size: 16px; color: var(--gold-600); }
.persona p { margin-top: 14px; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 1024px) { .persona-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .persona-grid { grid-template-columns: 1fr; } }

/* 회화진담 모듈 */
.modules { border-top: 1px solid rgba(198, 161, 91, .3); }
.module { position: relative; display: grid; grid-template-columns: 110px 1fr 1.3fr; gap: 32px; align-items: baseline; padding: 38px 0; border-bottom: 1px solid rgba(198, 161, 91, .16); }
.module::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-out); }
.module:hover::after { transform: scaleX(1); }
.module-num { font-family: var(--serif-en); font-size: 44px; line-height: 1; color: var(--gold); font-variant-numeric: lining-nums; }
.module h3 { font-size: 23px; transition: color .5s; }
.module:hover h3 { color: var(--gold-300); }
.module-en { margin-top: 4px; font-family: var(--serif-en); font-style: italic; font-size: 18px; color: rgba(245, 240, 230, .5); }
.module p { font-size: 15.5px; color: rgba(245, 240, 230, .72); }
@media (max-width: 860px) { .module { grid-template-columns: 1fr; gap: 10px; padding: 32px 0; } .module-num { font-size: 34px; } }

/* 영어진담 타임라인 */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.timeline::before, .timeline::after { content: ""; position: absolute; top: 28px; left: 28px; right: 28px; height: 1px; background: rgba(198, 161, 91, .25); }
.timeline::after { background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 2.4s var(--ease-out) .2s; }
.timeline.is-visible::after { transform: scaleX(1); }
.t-dot { position: relative; z-index: 1; width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; background: var(--primary-deep); font-family: var(--serif-en); font-size: 21px; color: var(--gold); font-variant-numeric: lining-nums; }
.t-step h3 { margin-top: 28px; font-size: 20px; }
.t-en { font-family: var(--serif-en); font-style: italic; font-size: 17px; color: rgba(245, 240, 230, .5); }
.t-step p { margin-top: 12px; font-size: 14.5px; color: rgba(245, 240, 230, .72); }
@media (max-width: 960px) {
  .timeline { grid-template-columns: 1fr; gap: 36px; }
  .timeline::before, .timeline::after { top: 28px; bottom: 28px; left: 28px; right: auto; width: 1px; height: auto; }
  .timeline::after { transform: scaleY(0); transform-origin: top; }
  .timeline.is-visible::after { transform: scaleY(1); }
  .t-step { display: grid; grid-template-columns: 56px 1fr; gap: 24px; }
  .t-step h3 { margin-top: 10px; }
}

/* 학부모 공감 */
.worry-quote { max-width: 920px; margin: 26px auto 0; text-align: center; font-size: clamp(26px, 3.8vw, 44px); font-weight: 500; line-height: 1.45; }
.worry-quote em { font-style: normal; color: var(--primary); box-shadow: inset 0 -.38em 0 rgba(198, 161, 91, .32); }
.worry-list { max-width: 880px; margin: 64px auto 0; border-top: 1px solid var(--line); }
.worry { display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); }
.worry-num { font-family: var(--serif-en); font-style: italic; font-size: 28px; color: var(--gold-600); font-variant-numeric: lining-nums; }
.worry h3 { font-size: 19px; font-weight: 500; }
.worry p { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }
.worry-answer { max-width: 780px; margin: 64px auto 0; text-align: center; font-family: var(--serif-ko); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.75; color: var(--primary); }
.worry-answer strong { font-weight: 600; background: linear-gradient(rgba(198, 161, 91, .35), rgba(198, 161, 91, .35)) no-repeat 0 88% / 100% .42em; }
.js .worry-answer strong { background-size: 0 .42em; transition: background-size 1.6s var(--ease-out) .5s; }
.js .worry-answer.is-visible strong { background-size: 100% .42em; }

/* 수업 자료 미리 보기 */
.sample-layout { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 4vw, 56px); align-items: start; }
.sample-layout.even { grid-template-columns: 1fr 1fr; }
.sheet { position: relative; padding: clamp(28px, 4vw, 50px); background: #FFFDF8; color: var(--ink); box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 34px 60px -32px rgba(28, 26, 22, .4); transform: rotate(-.8deg); transition: transform 1s var(--ease-out); }
.sheet.tilt-right { transform: rotate(.8deg); }
.sheet:hover, .sheet.tilt-right:hover { transform: rotate(0) translateY(-4px); }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 2px solid var(--primary); }
.sheet-kicker { font-family: var(--serif-en); font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-600); }
.sheet-title { margin-top: 6px; font-size: 22px; }
.sheet-meta { margin-top: 4px; font-size: 13px; color: var(--muted); }
.stamp { position: relative; flex: none; width: 78px; height: 78px; display: grid; place-items: center; border: 1.5px solid var(--gold); border-radius: 50%; font-family: var(--serif-en); font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--gold-600); transform: rotate(12deg); }
.stamp::before { content: ""; position: absolute; inset: 5px; border: 1px dashed rgba(198, 161, 91, .6); border-radius: 50%; }
.sheet-row { display: grid; grid-template-columns: 104px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.sheet-label { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--primary); }
.sheet-row p { font-size: 15px; color: var(--ink-soft); }
.kx { padding: 8px 0; }
.kx + .kx { border-top: 1px dotted var(--line); }
.kx-en { font-family: var(--serif-en); font-style: italic; font-size: 21px; line-height: 1.3; color: var(--ink); }
.kx-ko { font-size: 13.5px; color: var(--muted); }
.think { display: flex; gap: 14px; margin-top: 24px; padding: 18px 22px; background: var(--primary); color: var(--ivory); font-size: 15px; }
.think b { flex: none; font-family: var(--serif-en); font-style: italic; font-size: 18px; font-weight: 500; color: var(--gold); }
@media (max-width: 960px) { .sample-layout, .sample-layout.even { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .sheet-row { grid-template-columns: 1fr; gap: 6px; } .think { flex-direction: column; gap: 4px; } .stamp { width: 64px; height: 64px; font-size: 11px; } }

/* 진단 리포트 */
.bars { display: grid; gap: 16px; margin-top: 28px; }
.bar-row { display: grid; grid-template-columns: 52px 1fr 78px; gap: 14px; align-items: center; font-size: 14px; }
.bar { height: 8px; overflow: hidden; border-radius: 99px; background: rgba(91, 58, 41, .1); }
.bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--brown-600), var(--gold)); }
.js .report .bar i { width: 0; transition: width 1.8s var(--ease-out) var(--d, 0s); }
.js .report.is-visible .bar i { width: var(--w); }
.bar-grade { text-align: right; font-size: 12.5px; color: var(--ink-soft); }
.bar-grade.low { font-weight: 700; color: var(--brown-700); }
.report-comment { margin-top: 28px; padding: 20px 22px; border-left: 2px solid var(--gold); background: rgba(198, 161, 91, .09); font-size: 15px; color: var(--ink-soft); }
.report-comment b { color: var(--ink); }

/* 원서 읽기 활동지 */
.ws-block { padding: 20px 0; border-bottom: 1px dashed var(--line); }
.ws-block:last-child { border-bottom: 0; padding-bottom: 0; }
.ws-q { display: flex; align-items: baseline; gap: 12px; font-size: 15px; font-weight: 600; }
.ws-q span { font-family: var(--serif-en); font-style: italic; font-size: 18px; font-weight: 500; color: var(--gold-600); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { padding: 1px 14px; border: 1px solid rgba(91, 58, 41, .25); border-radius: 99px; font-family: var(--serif-en); font-size: 18px; color: var(--primary); }
.smap { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 10px; margin-top: 14px; font-family: var(--serif-en); font-size: 23px; line-height: 1.2; }
.smap .w { display: flex; flex-direction: column; align-items: center; }
.smap .w small { margin-top: 5px; padding: 0 8px; border-radius: 99px; font-family: var(--sans); font-size: 11px; line-height: 1.7; color: var(--ivory); }
.smap .s small { background: var(--green-700); }
.smap .v small { background: var(--gold-600); }
.smap .o small { background: var(--brown-600); }
.write-lines { display: grid; gap: 22px; margin-top: 18px; }
.write-lines i { display: block; height: 1px; background: rgba(91, 58, 41, .25); }
.ws-native { margin-top: 10px; font-family: var(--serif-en); font-style: italic; font-size: 20px; color: var(--ink); }

/* 수업 사례 */
.cases { display: grid; gap: 16px; }
.cases.two { grid-template-columns: 1fr 1fr; }
.case { position: relative; overflow: hidden; height: 100%; padding: 36px 32px; background: var(--primary-deep); color: var(--ivory); }
.case::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(198, 161, 91, .18); pointer-events: none; }
.case-no { font-family: var(--serif-en); font-size: 12.5px; letter-spacing: .26em; color: var(--gold); }
.case h3 { margin-top: 12px; font-size: 21px; }
.case ol { display: grid; gap: 12px; margin-top: 24px; counter-reset: c; }
.case li { display: flex; gap: 14px; font-size: 14.5px; color: rgba(245, 240, 230, .8); counter-increment: c; }
.case li::before { content: counter(c, decimal-leading-zero); min-width: 22px; font-family: var(--serif-en); font-size: 15px; color: var(--gold); }
.note { margin-top: 18px; font-size: 13px; color: var(--muted); }
.sub-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin: clamp(72px, 9vw, 110px) 0 32px; }
.sub-head h3 { font-size: clamp(22px, 2.6vw, 28px); }
.sub-head p { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .cases.two { grid-template-columns: 1fr; } }

/* 수업 방식 */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); }
.feature { padding-top: 34px; border-top: 1px solid rgba(198, 161, 91, .3); }
.feature h3 { margin-top: 26px; font-size: 21px; }
.feature p { margin-top: 12px; font-size: 15px; color: rgba(245, 240, 230, .7); }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }

/* 다른 브랜드로 연결 */
.cross { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: clamp(40px, 5vw, 64px); color: var(--ivory); }
.cross.to-english { background: var(--brown-900); }
.cross.to-hwaehwa { background: var(--green-900); }
.cross::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(198, 161, 91, .25); pointer-events: none; transition: border-color .8s; }
.cross:hover::after { border-color: rgba(198, 161, 91, .6); }
.cross .brand-label { display: block; }
.cross h3 { margin-top: 12px; font-size: clamp(24px, 3vw, 34px); }
.cross p { margin-top: 10px; color: rgba(245, 240, 230, .72); }
.cross .circle { color: var(--gold); width: 64px; height: 64px; }
@media (max-width: 620px) { .cross { grid-template-columns: 1fr; } }

/* 기업 출강 띠 */
.band { padding: 44px 0; background: var(--ivory-200); border-top: 1px solid rgba(198, 161, 91, .3); }
.band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.band h3 { font-size: clamp(20px, 2.4vw, 26px); }
.band p { margin-top: 4px; font-size: 15px; color: var(--ink-soft); }

/* ---------- 움직임 줄이기 설정 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .fade-in { opacity: 1; transform: none; }
}

/* 영문 브랜드 표기 (conversationjindam / englishjindam) */
.handle { text-transform: none !important; letter-spacing: .04em !important; font-style: italic; }
.eyebrow.handle, .brand-label.handle { font-size: 17px; }
.logo-text .handle { font-size: 12.5px; }


/* 브랜드 전환(페이지 위쪽) */
.crumb a { transition: color .3s var(--ease); }
.crumb a:hover { color: var(--gold); }
.crumb a.is-current { color: var(--gold); font-weight: 600; }

/* 상담 버튼이 여러 개일 때 */
.contact-actions { max-width: 760px; margin-inline: auto; }
.contact-actions .btn { height: 52px; padding: 0 24px; }

/* 네이버플레이스 두 개는 한 줄에 */
.btn-pair { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 700px) { .btn-pair { width: 100%; } .btn-pair .btn { flex: 1 1 100%; } }

/* 번호 대신 한글로 크게 */
.phone-big.ko { font-family: var(--serif-ko); font-weight: 500; font-size: clamp(28px, 4.6vw, 60px); letter-spacing: -.02em; }
