/* ============ WOODSOUND MUSIC ACADEMY ============ */
:root {
  --cream:   #F2EDE3;
  --cream-2: #E8E0CF;
  --amber:   #E0A32E;
  --amber-2: #C8862A;
  --amber-deep: #8F5C12;
  --brown:   #3E2B1A;
  --brown-2: #2C1E12;
  --ink:     #191410;
  --line:    rgba(25, 20, 16, .18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: clip; /* hidden은 position:sticky를 무력화하므로 clip 사용 */
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.display {
  font-family: Anton, "Pretendard Variable", sans-serif;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: .95;
  text-transform: uppercase;
}
.container { width: min(1240px, 92vw); margin: 0 auto; }

/* ---- pills ---- */
.pill {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .8em 1.6em;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  font-size: 13px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer; font-family: inherit; color: inherit;
  transition: background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.pill--solid { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.pill--solid:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.pill--dark { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.pill--dark:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.pill__arrow { font-weight: 400; }

/* ---- nav ---- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 18px clamp(16px, 3vw, 40px);
  transition: background .35s, box-shadow .35s;
}
.nav__menu-btn { font-size: 16px; padding: .85em 1.9em; letter-spacing: .16em; }
.nav a, .nav button { color: #fff; border-color: #fff; }
.nav .nav__cta { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.nav__logo {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  font-family: Anton, sans-serif; font-size: 20px; letter-spacing: .06em;
}
.nav__logo img { width: 38px; height: 38px; filter: invert(1); transition: filter .35s; }
.nav.is-scrolled {
  background: rgba(242, 237, 227, .97);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-scrolled a, .nav.is-scrolled button { color: var(--ink); border-color: var(--ink); }
.nav.is-scrolled .nav__cta { background: var(--amber); border-color: var(--amber); }
.nav.is-scrolled .nav__logo img { filter: none; }

/* ---- fullscreen menu ---- */
.menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(24px, 6vw, 80px);
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.menu.is-open { opacity: 1; pointer-events: auto; }
.menu__close { position: absolute; top: 20px; right: clamp(16px, 3vw, 40px); color: var(--cream); border-color: var(--cream); }
.menu__close:hover { background: var(--cream); color: var(--ink); }
.menu__list { display: flex; flex-direction: column; gap: 4px; }
.menu__item {
  font-family: Anton, "Pretendard Variable", sans-serif;
  font-size: clamp(40px, 8vw, 88px);
  line-height: 1.15; letter-spacing: .02em;
  display: flex; align-items: baseline; gap: 20px;
  transition: color .25s, transform .25s;
}
.menu__item em { font-size: 18px; font-style: normal; color: var(--amber); font-family: Pretendard, sans-serif; }
.menu__item i {
  font-style: normal; font-size: 15px; font-weight: 700;
  font-family: "Pretendard Variable", Pretendard, sans-serif;
  color: rgba(242,237,227,.45); letter-spacing: 0;
}
.menu__item:hover { color: var(--amber); transform: translateX(12px); }
.menu__foot { margin-top: 48px; display: flex; gap: 28px; font-weight: 700; letter-spacing: .08em; font-size: 14px; }
.menu__foot a:hover { color: var(--amber); }

/* ---- hero ---- */
:root { --tape-h: clamp(52px, 5.5vw, 80px); }
/* 히어로 고정(커튼): 스크롤하면 아래 콘텐츠가 영상 위로 덮이며 올라옴 (레퍼런스 방식) */
.hero {
  position: sticky; top: 0; z-index: 0;
  height: 100vh; height: 100svh; height: var(--svh, 100svh); /* JS가 px로 고정 — 인앱브라우저 바 애니메이션 무시 */
  min-height: 560px; display: flex; align-items: flex-end; color: #fff;
}
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
/* PC는 가로 영상(hero-pc.mp4), 모바일은 세로 영상 — 둘 다 화면비가 맞아 cover로 꽉 채움 */
.hero__bg img, .hero__bg video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(25,20,16,.15) 30%, rgba(25,20,16,.72) 100%);
}
.hero__content { position: relative; z-index: 2; padding: 0 clamp(16px, 4vw, 56px) clamp(48px, 8vh, 90px); }
.hero__title { font-size: clamp(56px, 11.5vw, 176px); }
.hero__sub { margin-top: 26px; }
.hero__sub-en {
  display: block; font-size: clamp(15px, 1.5vw, 21px);
  letter-spacing: .14em;
}
.hero__sub-kr {
  display: block; margin-top: 10px;
  font-size: clamp(14px, 1.2vw, 16px); font-weight: 600; opacity: .8;
}
.hero__scroll {
  position: absolute; right: clamp(16px, 4vw, 56px); bottom: 32px; z-index: 2;
  font-size: 13px; font-weight: 700; letter-spacing: .18em;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(8px); } }

/* ---- marquee: 투명 배경·수평 — 고정된 영상 위를 흰 글자가 가로로 지나감 ---- */
.marquee-clip {
  overflow: hidden; position: relative; z-index: 6;
  height: var(--tape-h);
  display: flex; align-items: center;
}
.marquee { overflow: hidden; width: 100%; flex: none; }
.marquee__track { display: flex; white-space: nowrap; animation: scroll 28s linear infinite; }
.marquee__track span {
  font-family: Anton, sans-serif; font-size: clamp(24px, 3.2vw, 40px);
  letter-spacing: .05em; color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---- sections common ---- */
section { padding: clamp(80px, 12vh, 150px) 0; }
.section-tag {
  font-size: 13px; font-weight: 800; letter-spacing: .22em;
  color: var(--ink); margin-bottom: 28px; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.section-tag::before { content: ""; width: 11px; height: 11px; background: var(--amber); }
.section-tag--light { color: var(--cream); }
.section-title {
  font-size: clamp(72px, 15.5vw, 224px); margin-bottom: 20px;
  margin-left: calc(50% - 50vw); padding-left: 2vw; width: 100vw;
}
.section-title--light { color: var(--cream); }

/* ---- about ---- */
.about { position: relative; z-index: 2; background: var(--cream); }
.about__lead {
  font-size: clamp(26px, 3.6vw, 46px); font-weight: 800; line-height: 1.4;
  margin-bottom: clamp(40px, 6vw, 72px); word-break: keep-all;
}
.about__lead strong { color: var(--amber-deep); }
.about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.about__text p { margin-bottom: 22px; font-size: clamp(16px, 1.4vw, 19px); word-break: keep-all; }
.about__text .pill { margin-top: 12px; }
.about__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about__imgs figure:nth-child(2) {
  margin-top: 64px;
  margin-bottom: calc(-1 * clamp(70px, 11vw, 160px));
  position: relative; z-index: 3;
}
.about__imgs img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

/* ---- big word ---- */
.bigword { overflow: hidden; padding: clamp(28px, 5vw, 64px) 0 0; position: relative; z-index: 1; background: var(--cream); }
.bigword span {
  display: block; font-size: clamp(80px, 16.5vw, 260px);
  line-height: .9; white-space: nowrap; text-align: center;
  color: var(--ink);
}

/* ---- lessons ---- */
.lessons { padding-bottom: clamp(30px, 5vh, 60px); position: relative; z-index: 2; background: var(--cream); }
.lessons__intro { font-size: clamp(17px, 1.6vw, 21px); margin-bottom: clamp(40px, 6vw, 64px); }
.lessons__intro strong { color: var(--amber-deep); }
.acc { border-top: 2px solid var(--ink); }
.acc__item { border-bottom: 2px solid var(--ink); }
.acc__head {
  width: 100%; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  padding: clamp(20px, 3vw, 32px) 0;
  background: none; border: 0; cursor: pointer;
  font-family: inherit; color: inherit; text-align: left;
}
.acc__num { font-size: 15px; font-weight: 800; color: var(--amber-2); min-width: 2.2em; }
.acc__name { flex: 1; display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.acc__name b { font-size: clamp(28px, 4.6vw, 58px); transition: color .25s; }
.acc__name i { font-style: normal; font-size: clamp(15px, 1.4vw, 18px); font-weight: 700; color: rgba(25,20,16,.55); }
.acc__head:hover .acc__name b { color: var(--amber-2); }
.acc__toggle {
  font-size: 28px; font-weight: 300; line-height: 1;
  transition: transform .35s;
}
.acc__item.is-open .acc__toggle { transform: rotate(45deg); }
.acc__body { max-height: 0; overflow: hidden; transition: max-height .5s cubic-bezier(.4,0,.2,1); }
.acc__inner {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 64px);
  padding: 8px 0 clamp(32px, 4vw, 48px);
  align-items: start;
}
.acc__hook { font-size: clamp(19px, 2vw, 26px); font-weight: 800; margin-bottom: 18px; word-break: keep-all; }
.acc__desc p:not(.acc__hook) { margin-bottom: 14px; color: rgba(25,20,16,.82); word-break: keep-all; }
.acc__media img { width: 100%; max-width: 440px; aspect-ratio: 1; object-fit: cover; }
.acc__media--type {
  background: var(--amber);
  width: 100%; max-width: 440px; aspect-ratio: 1;
  display: flex; align-items: center; overflow: hidden;
}
.acc__media--type span {
  color: var(--ink); font-size: clamp(110px, 13vw, 190px);
  line-height: .82; white-space: nowrap; margin-left: -0.05em;
}

/* ---- zoom-through (JS가 is-armed 부여 시에만 활성, 아니면 숨김) ---- */
.zoom { display: none; background: var(--cream); position: relative; z-index: 2; }
.zoom.is-armed { display: block; position: relative; padding: 0; }
/* 핀 구간은 바 접힌 상태(큰 뷰포트) 기준 100vh — 스크롤 중 화면을 정확히 채워 콘텐츠가 정중앙에 옴.
   모바일 100vh는 바 애니메이션과 무관한 고정값이라 저더 없음 */
.zoom.is-armed .zoom__sticky { height: 100vh; position: relative; overflow: hidden; padding: 0; }
.zoom__world {
  position: absolute; inset: 0; background: var(--amber);
  display: flex; align-items: center; justify-content: center;
}
.zoom__world-inner { text-align: center; }
.zoom__world-inner img { width: min(480px, 82vw); max-height: 54vh; aspect-ratio: 1; object-fit: cover; margin: 0 auto 36px; }
.zoom__world-tag { font-size: clamp(26px, 7vw, 42px); color: var(--ink); letter-spacing: .04em; }
.zoom__world-kr { margin-top: clamp(24px, 4vh, 44px); font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; color: rgba(25,20,16,.78); }
.zoom__world-arrow { display: inline-block; margin-top: clamp(24px, 4vh, 40px); font-size: 26px; font-weight: 800; animation: bob 2.2s ease-in-out infinite; }
.zoom__cover { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.zoom__bg { fill: var(--cream); }
.zoom__t { font-family: Anton, sans-serif; fill: var(--ink); text-anchor: middle; }
.zoom__t-o { fill: var(--amber-2); }

/* ---- branches ---- */
.branches { background: var(--amber); border-bottom: 2px solid var(--ink); position: relative; z-index: 2; }
.branches .section-tag::before { background: var(--ink); }
.branches__intro { font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; margin-bottom: clamp(40px, 6vw, 64px); }
.brows { border-top: 2px solid var(--ink); }
.brow {
  display: grid; grid-template-columns: 1.2fr 1.3fr auto;
  align-items: center; gap: clamp(16px, 3vw, 48px);
  padding: clamp(24px, 3.4vw, 40px) 0;
  border-bottom: 2px solid var(--ink);
}
.brow__name b { display: block; font-size: clamp(38px, 5vw, 76px); line-height: .95; transition: color .3s; }
.brow__name i { font-style: normal; font-size: 16px; font-weight: 800; }
.brow__addr { font-size: clamp(15px, 1.3vw, 17px); font-weight: 600; word-break: keep-all; }
.brow__addr small { display: block; font-size: 14px; font-weight: 500; opacity: .65; }
.brow:hover .brow__name b { color: var(--cream); transition: color .3s; }

/* ---- franchise ---- */
.franchise { background: var(--ink); color: var(--cream); padding-top: .5px; }
.franchise--page { padding-top: clamp(140px, 20vh, 220px); }
.section-title--straddle { margin-top: -0.42em; margin-bottom: clamp(40px, 6vw, 72px); position: relative; z-index: 3; }
.section-title--straddle span { display: block; }
.section-title--straddle .ta-r { text-align: right; padding-right: 4vw; }
.franchise__lead { font-size: clamp(18px, 2.2vw, 28px); font-weight: 600; line-height: 1.6; margin-bottom: 40px; word-break: keep-all; }
.franchise__lead strong { color: var(--amber); }
.franchise__types { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: clamp(48px, 7vw, 80px); }
.franchise__type {
  border: 1.5px solid var(--amber); color: var(--amber);
  border-radius: 999px; padding: .6em 1.4em; font-weight: 700; font-size: 15px;
}
.worry__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.worry { border-top: 2px solid var(--amber); padding-top: 24px; }
.worry h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 800; margin-bottom: 20px; line-height: 1.45; word-break: keep-all; }
.worry li { padding-left: 1.3em; position: relative; margin-bottom: 10px; color: rgba(242,237,227,.85); word-break: keep-all; }
.worry li::before { content: "—"; position: absolute; left: 0; color: var(--amber); }
.franchise__note { margin: 18px 0 clamp(56px, 8vw, 96px); font-size: 15px; color: rgba(242,237,227,.55); }
.why h3 { font-size: clamp(26px, 3.4vw, 42px); font-weight: 900; line-height: 1.35; margin-bottom: 28px; word-break: keep-all; }
.why__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px); }
.why li { padding-left: 1.3em; position: relative; margin-bottom: 10px; color: rgba(242,237,227,.85); word-break: keep-all; }
.why li::before { content: "✕"; position: absolute; left: 0; color: #E05C3A; font-weight: 700; }
.why__alert { font-weight: 900; color: var(--amber); letter-spacing: .04em; margin-bottom: 14px; }
.solve { margin-top: clamp(64px, 9vw, 110px); }
.solve__title {
  font-size: clamp(30px, 4.4vw, 56px); font-weight: 900;
  margin-bottom: 16px; word-break: keep-all;
  color: var(--amber);
}
.solve__sub { color: rgba(242,237,227,.7); margin-bottom: clamp(32px, 5vw, 56px); word-break: keep-all; }
.solve__list { border-top: 1px solid rgba(242,237,227,.25); }
.solve__list li {
  display: flex; align-items: baseline; gap: clamp(16px, 3vw, 40px);
  padding: clamp(18px, 2.4vw, 26px) 0;
  border-bottom: 1px solid rgba(242,237,227,.25);
  font-size: clamp(18px, 2.2vw, 28px); font-weight: 700; word-break: keep-all;
}
.solve__list em { font-style: normal; font-size: 15px; color: var(--amber); font-weight: 800; min-width: 2em; }

/* ---- franchise form ---- */
.fform { margin-top: clamp(64px, 9vw, 110px); border-top: 2px solid var(--amber); padding-top: clamp(28px, 4vw, 48px); }
.fform h3 { margin-bottom: 36px; color: var(--cream); }
.fform h3 .display { display: block; font-size: clamp(34px, 4.6vw, 64px); line-height: 1; }
.fform h3 small { display: block; margin-top: 10px; font-size: 14px; font-weight: 700; color: rgba(242,237,227,.5); letter-spacing: .08em; }
.fform label { display: block; font-weight: 700; font-size: 13px; letter-spacing: .08em; margin-bottom: 28px; color: rgba(242,237,227,.6); }
.fform input, .fform select, .fform textarea {
  display: block; width: 100%; margin-top: 6px;
  padding: 12px 0; font-size: 18px; font-family: inherit;
  border: 0; border-bottom: 1px solid rgba(242,237,227,.35);
  background: transparent; color: var(--cream);
  transition: border-color .25s;
}
.fform ::placeholder { color: rgba(242,237,227,.3); }
.fform select { color: var(--cream); }
.fform select option { color: var(--ink); background: var(--cream); }
.fform input:focus, .fform select:focus, .fform textarea:focus { outline: none; border-bottom-color: var(--amber); }
.fform__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.fform__submit { margin-top: 8px; font-size: 16px; }
.fform__result { margin-top: 14px; font-weight: 700; }
.fform__result.ok { color: var(--amber); }
.fform__result.err { color: #E05C3A; }

/* ---- footer ---- */
.footer { background: var(--brown-2); color: var(--cream); padding: clamp(48px, 7vw, 80px) 0 32px; overflow: hidden; position: relative; z-index: 2; }
.footer__big {
  font-size: clamp(64px, 13.5vw, 218px); text-align: center;
  color: var(--cream); opacity: .92;
  line-height: 1; margin-bottom: clamp(40px, 6vw, 72px);
  white-space: nowrap;
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; }
.footer__logo { width: 64px; filter: invert(1); opacity: .9; margin-bottom: 14px; }
.footer__brand p { font-size: 15px; color: rgba(242,237,227,.75); }
.footer__nav, .footer__sns { display: flex; flex-direction: column; gap: 10px; font-weight: 700; font-size: 15px; }
.footer__nav a:hover, .footer__sns a:hover { color: var(--amber); }
.footer__copy { text-align: center; margin-top: 48px; font-size: 13px; color: rgba(242,237,227,.45); }

/* ---- custom cursor (블렌드 없음 — difference는 전체 페이지 합성 비용) ---- */
.cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border-radius: 50%; border: 2px solid var(--amber-2);
  background: rgba(224, 163, 46, .18);
  pointer-events: none;
  transform: scale(.35);
}
@media (pointer: coarse) { .cursor-ring { display: none; } }

::selection { background: var(--amber); color: var(--ink); }

/* ---- reveal animation ---- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
}

/* ---- responsive ---- */
.br-m { display: none; }
@media (max-width: 900px) {
  .about__grid, .worry__grid, .why__cols { grid-template-columns: 1fr; }
  .about__imgs figure:nth-child(2) { margin-bottom: 0; margin-top: 40px; }
  .brow { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .brow .pill { justify-self: start; }
  .acc__inner { grid-template-columns: 1fr; }
  .acc__media img, .acc__media--type { max-width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .fform__row { grid-template-columns: 1fr; gap: 0; }
  .br-m { display: inline; }
  .about__lead br, .franchise__lead br, .worry h3 br, .why h3 br { display: none; }
  .nav__logo span { display: none; }
  .nav .pill { font-size: 11px; padding: .7em 1.2em; letter-spacing: .08em; }
  .section-title--straddle { margin-top: -0.5em; }
  .menu__item i { display: none; }
}
