/* 공연프로그램 시안 v02 — DRAFT · 승인 대기 (FINAL 아님) */
.draft-badge{position:fixed;right:14px;bottom:14px;z-index:3000;padding:7px 12px;border-radius:999px;
  background:rgba(52,48,74,.82);color:#fff;font-size:12px;font-weight:600;pointer-events:none}
.section-kicker{margin:0;font-size:19px;line-height:28px;font-weight:600;color:#764EB1}
.section-title{margin:6px 0 0;font-family:"PayboocFont",sans-serif;font-size:42px;line-height:52px;font-weight:800;color:#ED2B79}
.section-title span{color:#6F269F}
.pf-sec{padding:70px 72px 40px}
.pf-head{margin-bottom:36px}.pf-head.center{text-align:center}

/* ── 1. HERO (교육·회사소개와 같은 구조, 토리 키 340px) ── */
.pf-hero{position:relative;min-height:560px;background:url("./assets/education_v02/hero_starry_sky.jpg") center 40%/cover no-repeat}
.pf-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:120px;pointer-events:none;background:linear-gradient(to bottom,rgba(255,255,255,0),#fff)}
.pf-hero-inner{position:relative;z-index:2;max-width:1585px;margin:0 auto;min-height:560px;padding:40px 150px 70px 160px;
  display:flex;align-items:center;justify-content:space-between;gap:30px}
.pf-hero-copy{position:relative}
.pf-hero-copy::before{content:"";position:absolute;inset:-60px -90px -50px -110px;z-index:-1;
  background:radial-gradient(closest-side,rgba(255,255,255,.9),rgba(255,255,255,.6) 55%,rgba(255,255,255,0))}
.pf-kiki{display:block;width:210px;margin:0 0 18px}
.pf-hero-copy h1{margin:0}
.pf-line{display:block;font-family:"SchoolSafetyRoundedSmile",sans-serif;font-size:60px;line-height:70px;font-weight:700;letter-spacing:-2px}
.pf-line.dark{color:#29232C}.pf-line.purple{color:#782B90}.pf-line.pink{color:#ED0C6E}
.pf-hero-text{margin:20px 0 0;font-size:18px;line-height:31px;color:#4C464E}
/* 이 포즈는 가로로 넓음(높이=폭×0.67) → 토리 키 340/280/215px가 되도록 폭 계산 */
.pf-hero-art{flex:0 0 auto;width:var(--art-w,507px);max-width:86vw}
.pf-hero{--art-w-t:418px;--art-w-m:321px}
.pf-hero-art img{display:block;width:100%;filter:drop-shadow(0 18px 26px rgba(120,43,144,.2));animation:pf-float 5s ease-in-out infinite}
@keyframes pf-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}

/* ── 2. 3가지 ── */
.three-grid{display:flex;align-items:stretch;justify-content:center;gap:10px}
.three-card{--ink:#663AA0;flex:1;max-width:420px;text-align:center;padding:10px 18px 28px;border-radius:30px;
  background:linear-gradient(180deg,#fff,#F6F0FC);border:2px solid #fff;box-shadow:0 0 0 1px #EEDDF3,0 14px 30px rgba(120,43,144,.08)}
.t-table{--ink:#D75D2F;background:linear-gradient(180deg,#fff,#FFF2EA)}
.t-join{--ink:#1C8070;background:linear-gradient(180deg,#fff,#E8F7F2)}
.three-art{position:relative;width:78%;aspect-ratio:1;margin:0 auto 6px}
.three-art .st{position:absolute;inset:0;width:100%;height:100%}
.three-art .ch{position:absolute;transition:transform .25s ease}
.three-card:hover .ch{transform:translateY(-6px)}
.t-live .ch{left:13.25%;top:21.3%;width:73.5%;height:49%}
.t-table .ch{left:16.8%;top:24.9%;width:66.4%;height:49.8%}
.t-join .ch{left:11%;top:21.9%;width:77.9%;height:58.5%}
.three-card h3{margin:0;font-family:"SchoolSafeVaultingBox",sans-serif;font-size:28px;line-height:34px;font-weight:400;color:var(--ink)}
.three-sub{margin:6px 0 12px;font-size:15px;font-weight:600;color:#7A7385}
.three-card p:last-child{margin:0;font-size:15.5px;line-height:26px;color:#55505A}
.three-plus{align-self:center;flex:0 0 auto;width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#F25AA0,#C2187D);
  box-shadow:0 6px 14px rgba(237,12,110,.28),0 0 0 4px #fff;display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:26px;font-weight:800;line-height:1}

/* ── 3. 테마 탭 ── */
.theme-tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.theme-tab{--tint:#F3E8FB;--ink:#692DBE;position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:18px 14px 20px;
  border:0;border-radius:26px;cursor:pointer;font:inherit;background:linear-gradient(180deg,#fff,var(--tint));
  box-shadow:0 0 0 1px #EEDDF3,0 10px 22px rgba(120,43,144,.07);transition:.2s ease;color:#55505A}
.theme-tab.th-story{--tint:#FDE7F2;--ink:#C8285E}.theme-tab.th-eco{--tint:#E1F4EE;--ink:#15805F}.theme-tab.th-edu{--tint:#E3F1FC;--ink:#2563A8}
.theme-tab.th-fusion{--tint:#FFF1DC;--ink:#C0650A}
.theme-tab img{width:118px;height:118px;object-fit:contain;transition:transform .25s ease}
.theme-tab strong{font-family:"SchoolSafeVaultingBox",sans-serif;font-weight:400;font-size:23px;line-height:30px;color:var(--ink)}
.theme-tab strong,.theme-tab span{text-align:center;word-break:keep-all}
.theme-tab span{font-size:14px}
.theme-tab:hover{transform:translateY(-4px)}
.theme-tab:hover img{transform:scale(1.05)}
.theme-tab[aria-selected="true"]{box-shadow:0 0 0 3px var(--ink),0 14px 28px rgba(120,43,144,.14)}
.theme-tab[aria-selected="true"]::after{content:"";position:absolute;left:50%;bottom:-13px;transform:translateX(-50%) rotate(45deg);
  width:20px;height:20px;background:var(--tint);box-shadow:3px 3px 0 0 var(--ink)}
.theme-tab:focus-visible{outline:3px dashed var(--ink);outline-offset:4px}

.theme-panel{--tint:#F8F1FD;--ink:#692DBE;margin-top:26px;padding:30px 30px 34px;border-radius:30px;background:var(--tint);animation:pf-in .3s ease}
.theme-panel.th-story{--tint:#FFF3F8;--ink:#C8285E}.theme-panel.th-eco{--tint:#EEF9F5;--ink:#15805F}.theme-panel.th-edu{--tint:#EFF6FD;--ink:#2563A8}
.theme-panel.th-fusion{--tint:#FFF7EC;--ink:#C0650A}
/* 작품 준비 중 안내 카드 */
.work-soon{display:flex;align-items:center;gap:26px;padding:26px 32px;border-radius:22px;background:#fff;box-shadow:0 10px 22px rgba(60,40,90,.08)}
.work-soon > img{flex:0 0 auto;width:130px;height:130px;object-fit:contain}
.work-soon h3{margin:0 0 8px;font-size:20px;line-height:28px;color:#34304A}
.work-soon p{margin:0 0 16px;font-size:15.5px;line-height:26px;color:#636466}
.soon-cta{display:inline-flex;align-items:center;height:46px;padding:0 24px;border-radius:999px;background:var(--ink);color:#fff;font-weight:700;text-decoration:none}
.soon-cta:hover{filter:brightness(1.06)}
@keyframes pf-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.panel-lead{margin:0 0 22px;font-size:17px;line-height:28px;font-weight:600;color:var(--ink)}
.work-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.work{display:flex;flex-direction:column;border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 10px 22px rgba(60,40,90,.08);transition:transform .2s ease}
.work:hover{transform:translateY(-4px)}
.work > img,.work-ph{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.work-ph{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#fff,var(--tint))}
.work-ph img{height:72%;width:auto}
.work-body{display:flex;flex-direction:column;flex:1;padding:16px 18px 18px}
.work-body h3{margin:0 0 8px;font-size:17.5px;line-height:25px;font-weight:700;color:#34304A;word-break:keep-all}
.work-body p{margin:0 0 14px;font-size:14.5px;line-height:23px;color:#636466;word-break:keep-all;flex:1}
.tag{align-self:flex-start;height:28px;padding:0 12px;border-radius:999px;display:inline-flex;align-items:center;
  background:var(--tint);color:var(--ink);font-size:13px;font-weight:700}

/* ── RESPONSIVE ── */
@media (max-width:1300px){
  .pf-hero-inner{padding:40px 60px 70px 80px}
  .work-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:1100px){
  .three-grid{flex-direction:column;align-items:center}
  .three-card{width:100%;max-width:460px}
  .three-plus{margin:-2px 0}
  .theme-tabs{grid-template-columns:repeat(6,1fr)}
  .theme-tab{grid-column:span 2}
  .theme-tab:nth-child(4){grid-column:2 / span 2}  /* 3 + 2 배치, 아래 줄 가운데 정렬 */
  .theme-tab[aria-selected="true"]::after{display:none}
}
@media (max-width:900px){
  .pf-hero-inner{flex-direction:column;text-align:center;padding:46px 24px 60px}
  .pf-kiki{margin:0 auto 16px}
  .pf-hero-art{width:var(--art-w-t,310px)}
}
@media (max-width:700px){
  .section-kicker{font-size:15px;line-height:23px}
  .section-title{font-size:28px;line-height:37px}
  .pf-sec{padding:50px 20px 20px}
  .pf-head{margin-bottom:24px}
  .pf-kiki{width:160px}
  .pf-line{font-size:38px;line-height:46px;letter-spacing:-1px}
  .pf-hero-text{font-size:15.5px;line-height:26px}
  .pf-hero-text br,.three-card p br{display:none}
  .pf-hero-art{width:var(--art-w-m,240px)}
  .three-card h3{font-size:24px}
  .theme-tabs{gap:10px;grid-template-columns:repeat(2,1fr)}
  .theme-tab,.theme-tab:nth-child(4){grid-column:auto}
  .theme-tab:nth-child(5){grid-column:1 / -1}
  .work-soon{flex-direction:column;text-align:center;gap:12px;padding:22px 18px}
  .work-soon > img{width:96px;height:96px}
  .work-soon p br{display:none}
  .theme-tab{padding:12px 8px 14px;border-radius:20px}
  .theme-tab img{width:76px;height:76px}
  .theme-tab strong{font-size:18px;line-height:24px}
  .theme-tab span{font-size:12px;line-height:17px}
  .theme-panel{padding:20px 14px 22px;border-radius:22px;margin-top:16px}
  .panel-lead{font-size:15px;line-height:25px}
  .work-grid{grid-template-columns:1fr;gap:14px}
}
